| 12 |
- /*! For license information please see clusterActivity.fff5d3527b4c5eedb340.js.LICENSE.txt */
- !function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.Airflow=e():(t.Airflow=t.Airflow||{},t.Airflow.clusterActivity=e())}(self,(()=>(()=>{var t,e,n={3472:(t,e,n)=>{"use strict";const r=n(8089),i=n(2729),a=n(7392),o=new a({maxSize:1e5}),s=t=>!("object"!=typeof t||null===t||t instanceof RegExp||t instanceof Error||t instanceof Date),u=(t,e)=>{if(!s(t))return t;e={deep:!1,pascalCase:!1,...e};const{exclude:n,pascalCase:a,stopPaths:u,deep:c}=e,l=new Set(u),h=t=>(e,u)=>{if(c&&s(u)){const n=void 0===t?e:`${t}.${e}`;l.has(n)||(u=r(u,h(n)))}if(!n||!((t,e)=>t.some((t=>"string"==typeof t?t===e:(t.lastIndex=0,t.test(e)))))(n,e)){const t=a?`${e}_`:e;if(o.has(t))e=o.get(t);else{const n=i(e,{pascalCase:a});e.length<100&&o.set(t,n),e=n}}return[e,u]};return r(t,h(void 0))};t.exports=(t,e)=>Array.isArray(t)?Object.keys(t).map((n=>u(t[n],e))):u(t,e)},2729:t=>{"use strict";const e=(t,e)=>{if("string"!=typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");if(e={pascalCase:!1,preserveConsecutiveUppercase:!1,...e},0===(t=Array.isArray(t)?t.map((t=>t.trim())).filter((t=>t.length)).join("-"):t.trim()).length)return"";if(1===t.length)return e.pascalCase?t.toLocaleUpperCase(e.locale):t.toLocaleLowerCase(e.locale);return t!==t.toLocaleLowerCase(e.locale)&&(t=((t,e)=>{let n=!1,r=!1,i=!1;for(let a=0;a<t.length;a++){const o=t[a];n&&/[\p{Lu}]/u.test(o)?(t=t.slice(0,a)+"-"+t.slice(a),n=!1,i=r,r=!0,a++):r&&i&&/[\p{Ll}]/u.test(o)?(t=t.slice(0,a-1)+"-"+t.slice(a-1),i=r,r=!1,n=!0):(n=o.toLocaleLowerCase(e)===o&&o.toLocaleUpperCase(e)!==o,i=r,r=o.toLocaleUpperCase(e)===o&&o.toLocaleLowerCase(e)!==o)}return t})(t,e.locale)),t=t.replace(/^[_.\- ]+/,""),t=e.preserveConsecutiveUppercase?(t=>t.replace(/^[\p{Lu}](?![\p{Lu}])/gu,(t=>t.toLowerCase())))(t):t.toLocaleLowerCase(),e.pascalCase&&(t=t.charAt(0).toLocaleUpperCase(e.locale)+t.slice(1)),((t,e)=>t.replace(/[_.\- ]+([\p{Alpha}\p{N}_]|$)/gu,((t,n)=>n.toLocaleUpperCase(e.locale))).replace(/\d+([\p{Alpha}\p{N}_]|$)/gu,(t=>t.toLocaleUpperCase(e.locale))))(t,e)};t.exports=e,t.exports.default=e},2905:t=>{t.exports=function(){function t(e,n,r){function i(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var c=n[o]={exports:{}};e[o][0].call(c.exports,(function(t){return i(e[o][1][t]||t)}),c,c.exports,t,e,n,r)}return n[o].exports}for(var a=void 0,o=0;o<r.length;o++)i(r[o]);return i}return t}()({1:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var r=function(){function t(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}}();function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=n.defaultLayoutOptions,a=void 0===r?{}:r,s=n.algorithms,u=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,c=n.workerFactory,l=n.workerUrl;if(i(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===l&&void 0===c)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=c;void 0!==l&&void 0===c&&(h=function(t){return new Worker(t)});var f=h(l);if("function"!=typeof f.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new o(f),this.worker.postMessage({cmd:"register",algorithms:u}).then((function(t){return e.initialized=!0})).catch(console.err)}return r(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,r=void 0===n?this.defaultLayoutOptions:n,i=e.logging,a=void 0!==i&&i,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:r,options:{logging:a,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),t}();n.default=a;var o=function(){function t(e){var n=this;if(i(this,t),void 0===e)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=e,this.worker.onmessage=function(t){setTimeout((function(){n.receive(n,t)}),0)}}return r(t,[{key:"postMessage",value:function(t){var e=this.id||0;this.id=e+1,t.id=e;var n=this;return new Promise((function(r,i){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),i(t)):r(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,r=t.resolvers[n.id];r&&(delete t.resolvers[n.id],n.error?r(n.error):r(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(t){if(t){var e=t.__java$exception;e&&(e.cause&&e.cause.backingJsObject&&(t.cause=e.cause.backingJsObject,this.convertGwtStyleError(t.cause)),delete t.__java$exception)}}}]),t}()},{}],2:[function(t,e,n){"use strict";var r=t("./elk-api.js").default;Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=r,r.default=r},{"./elk-api.js":1}]},{},[2])(2)},5877:(t,e,n)=>{var r;function a(){}function s(){}function u(){}function c(){}function l(){}function h(){}function f(){}function d(){}function p(){}function b(){}function v(){}function m(){}function y(){}function w(){}function x(){}function _(){}function S(){}function k(){}function I(){}function M(){}function C(){}function T(){}function A(){}function E(){}function P(){}function D(){}function O(){}function L(){}function R(){}function N(){}function j(){}function F(){}function B(){}function z(){}function $(){}function V(){}function H(){}function W(){}function G(){}function U(){}function X(){}function q(){}function Y(){}function K(){}function Z(){}function Q(){}function J(){}function tt(){}function et(){}function nt(){}function rt(){}function it(){}function at(){}function ot(){}function st(){}function ut(){}function ct(){}function lt(){}function ht(){}function ft(){}function dt(){}function pt(){}function gt(){}function bt(){}function vt(){}function mt(){}function yt(){}function wt(){}function xt(){}function _t(){}function St(){}function kt(){}function It(){}function Mt(){}function Ct(){}function Tt(){}function At(){}function Et(){}function Pt(){}function Dt(){}function Ot(){}function Lt(){}function Rt(){}function Nt(){}function jt(){}function Ft(){}function Bt(){}function zt(){}function $t(){}function Vt(){}function Ht(){}function Wt(){}function Gt(){}function Ut(){}function Xt(){}function qt(){}function Yt(){}function Kt(){}function Zt(){}function Qt(){}function Jt(){}function te(){}function ee(){}function ne(){}function re(){}function ie(){}function ae(){}function oe(){}function se(){}function ue(){}function ce(){}function le(){}function he(){}function fe(){}function de(){}function pe(){}function ge(){}function be(){}function ve(){}function me(){}function ye(){}function we(){}function xe(){}function _e(){}function Se(){}function ke(){}function Ie(){}function Me(){}function Ce(){}function Te(){}function Ae(){}function Ee(){}function Pe(){}function De(){}function Oe(){}function Le(){}function Re(){}function Ne(){}function je(){}function Fe(){}function Be(){}function ze(){}function $e(){}function Ve(){}function He(){}function We(){}function Ge(){}function Ue(){}function Xe(){}function qe(){}function Ye(){}function Ke(){}function Ze(){}function Qe(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function un(){}function cn(){}function ln(){}function hn(){}function fn(){}function dn(){}function pn(){}function gn(){}function bn(){}function vn(){}function mn(){}function yn(){}function wn(){}function xn(){}function _n(){}function Sn(){}function kn(){}function In(){}function Mn(){}function Cn(){}function Tn(){}function An(){}function En(){}function Pn(){}function Dn(){}function On(){}function Ln(){}function Rn(){}function Nn(){}function jn(){}function Fn(){}function Bn(){}function zn(){}function $n(){}function Vn(){}function Hn(){}function Wn(){}function Gn(){}function Un(){}function Xn(){}function qn(){}function Yn(){}function Kn(){}function Zn(){}function Qn(){}function Jn(){}function tr(){}function er(){}function nr(){}function rr(){}function ir(){}function ar(){}function or(){}function sr(){}function ur(){}function cr(){}function lr(){}function hr(){}function fr(){}function dr(){}function pr(){}function gr(){}function br(){}function vr(){}function mr(){}function yr(){}function wr(){}function xr(){}function _r(){}function Sr(){}function kr(){}function Ir(){}function Mr(){}function Cr(){}function Tr(){}function Ar(){}function Er(){}function Pr(){}function Dr(){}function Or(){}function Lr(){}function Rr(){}function Nr(){}function jr(){}function Fr(){}function Br(){}function zr(){}function $r(){}function Vr(){}function Hr(){}function Wr(){}function Gr(){}function Ur(){}function Xr(){}function qr(){}function Yr(){}function Kr(){}function Zr(){}function Qr(){}function Jr(){}function ti(){}function ei(){}function ni(){}function ri(){}function ii(){}function ai(){}function oi(){}function si(){}function ui(){}function ci(){}function li(){}function hi(){}function fi(){}function di(){}function pi(){}function gi(){}function bi(){}function vi(){}function mi(){}function yi(){}function wi(){}function xi(){}function _i(){}function Si(){}function ki(){}function Ii(){}function Mi(){}function Ci(){}function Ti(){}function Ai(){}function Ei(){}function Pi(){}function Di(){}function Oi(){}function Li(){}function Ri(){}function Ni(){}function ji(){}function Fi(){}function Bi(){}function zi(){}function $i(){}function Vi(){}function Hi(){}function Wi(){}function Gi(){}function Ui(){}function Xi(){}function qi(){}function Yi(){}function Ki(){}function Zi(){}function Qi(){}function Ji(){}function ta(){}function ea(){}function na(){}function ra(){}function ia(){}function aa(){}function oa(){}function sa(){}function ua(){}function ca(){}function la(){}function ha(){}function fa(){}function da(){}function pa(){}function ga(){}function ba(){}function va(){}function ma(){}function ya(){}function wa(){}function xa(){}function _a(){}function Sa(){}function ka(){}function Ia(){}function Ma(){}function Ca(){}function Ta(){}function Aa(){}function Ea(){}function Pa(){}function Da(){}function Oa(){}function La(){}function Ra(){}function Na(){}function ja(){}function Fa(){}function Ba(){}function za(){}function $a(){}function Va(){}function Ha(){}function Wa(){}function Ga(){}function Ua(){}function Xa(){}function qa(){}function Ya(){}function Ka(){}function Za(){}function Qa(){}function Ja(){}function to(){}function eo(){}function no(){}function ro(){}function io(){}function ao(){}function oo(){}function so(){}function uo(){}function co(){}function lo(){}function ho(){}function fo(){}function po(){}function go(){}function bo(){}function vo(){}function mo(){}function yo(){}function wo(){}function xo(){}function _o(){}function So(){}function ko(){}function Io(){}function Mo(){}function Co(){}function To(){}function Ao(){}function Eo(){}function Po(){}function Do(){}function Oo(){}function Lo(){}function Ro(){}function No(){}function jo(){}function Fo(){}function Bo(){}function zo(){}function $o(){}function Vo(){}function Ho(){}function Wo(){}function Go(){}function Uo(){}function Xo(){}function qo(){}function Yo(){}function Ko(){}function Zo(){}function Qo(){}function Jo(){}function ts(){}function es(){}function ns(){}function rs(){}function is(){}function as(){}function os(){}function ss(){}function us(){}function cs(){}function ls(){}function hs(){}function fs(){}function ds(){}function ps(){}function gs(){}function bs(){}function vs(){}function ms(){}function ys(){}function ws(){}function xs(){}function _s(){}function Ss(){}function ks(){}function Is(){}function Ms(){}function Cs(){}function Ts(){}function As(){}function Es(){}function Ps(){}function Ds(){}function Os(){}function Ls(){}function Rs(){}function Ns(){}function js(){}function Fs(){}function Bs(){}function zs(){}function $s(){}function Vs(){}function Hs(){}function Ws(){}function Gs(){}function Us(){}function Xs(){}function qs(){}function Ys(){}function Ks(){}function Zs(){}function Qs(){}function Js(){}function tu(){}function eu(){}function nu(){}function ru(){}function iu(){}function au(){}function ou(){}function su(){}function uu(){}function cu(){}function lu(){}function hu(){}function fu(){}function du(){}function pu(){}function gu(){}function bu(){}function vu(){}function mu(){}function yu(){}function wu(){}function xu(){}function _u(){}function Su(){}function ku(){}function Iu(){}function Mu(){}function Cu(){}function Tu(){}function Au(){}function Eu(){}function Pu(){}function Du(){}function Ou(){}function Lu(){}function Ru(){}function Nu(){}function ju(){}function Fu(){}function Bu(){}function zu(){}function $u(){}function Vu(){}function Hu(){}function Wu(){}function Gu(){}function Uu(){}function Xu(){}function qu(){}function Yu(){}function Ku(){}function Zu(){}function Qu(){}function Ju(){}function tc(){}function ec(){}function nc(){}function rc(){}function ic(){}function ac(){}function oc(){}function sc(){}function uc(){}function cc(){}function lc(){}function hc(){}function fc(){}function dc(){}function pc(){}function gc(){}function bc(){}function vc(){}function mc(){}function yc(){}function wc(){}function xc(){}function _c(){}function Sc(){}function kc(){}function Ic(){}function Mc(){}function Cc(){}function Tc(){}function Ac(){}function Ec(){}function Pc(){}function Dc(){}function Oc(){}function Lc(){}function Rc(){}function Nc(){}function jc(){}function Fc(){}function Bc(){}function zc(){}function $c(){}function Vc(){}function Hc(){}function Wc(){}function Gc(){}function Uc(){}function Xc(){}function qc(){}function Yc(){}function Kc(){}function Zc(){}function Qc(){}function Jc(){}function tl(){}function el(){}function nl(){}function rl(){}function il(){}function al(){}function ol(){}function sl(){}function ul(){}function cl(){}function ll(){}function hl(){}function fl(){}function dl(){}function pl(){}function gl(){}function bl(){}function vl(){}function ml(){}function yl(){}function wl(){}function xl(){}function _l(){}function Sl(){}function kl(){}function Il(){}function Ml(){}function Cl(){}function Tl(){}function Al(){}function El(){}function Pl(){}function Dl(){}function Ol(){}function Ll(){zm()}function Rl(){xit()}function Nl(){H5()}function jl(){Cet()}function Fl(){Cst()}function Bl(){fdt()}function zl(){Vrt()}function $l(){Yet()}function Vl(){AS()}function Hl(){CS()}function Wl(){aR()}function Gl(){TS()}function Ul(){j0()}function Xl(){IY()}function ql(){W4()}function Yl(){PS()}function Kl(){Qot()}function Zl(){xW()}function Ql(){xK()}function Jl(){pxt()}function th(){Zwt()}function eh(){g0()}function nh(){KG()}function rh(){b0()}function ih(){m0()}function ah(){SW()}function oh(){Xrt()}function sh(){qK()}function uh(){XW()}function ch(){g4()}function lh(){OS()}function hh(){cht()}function fh(){Yut()}function dh(){IW()}function ph(){Ygt()}function gh(){B2()}function bh(){_st()}function vh(){Got()}function mh(){$5()}function yh(){fht()}function wh(){V5()}function xh(){Wot()}function _h(){Npt()}function Sh(){Ent()}function kh(){YK()}function Ih(){fxt()}function Mh(){D7()}function Ch(){Fvt()}function Th(){kL()}function Ah(){d2()}function Eh(){Pbt()}function Ph(t){wz(t)}function Dh(t){this.a=t}function Oh(t){this.a=t}function Lh(t){this.a=t}function Rh(t){this.a=t}function Nh(t){this.a=t}function jh(t){this.a=t}function Fh(t){this.a=t}function Bh(t){this.a=t}function zh(t){this.a=t}function $h(t){this.a=t}function Vh(t){this.a=t}function Hh(t){this.a=t}function Wh(t){this.a=t}function Gh(t){this.a=t}function Uh(t){this.a=t}function Xh(t){this.a=t}function qh(t){this.a=t}function Yh(t){this.a=t}function Kh(t){this.a=t}function Zh(t){this.a=t}function Qh(t){this.a=t}function Jh(t){this.a=t}function tf(t){this.a=t}function ef(t){this.a=t}function nf(t){this.a=t}function rf(t){this.a=t}function af(t){this.a=t}function of(t){this.a=t}function sf(t){this.a=t}function uf(t){this.a=t}function cf(t){this.a=t}function lf(t){this.a=t}function hf(t){this.c=t}function ff(t){this.b=t}function df(){this.a=[]}function pf(t,e){t.a=e}function gf(t,e){t.j=e}function bf(t,e){t.c=e}function vf(t,e){t.d=e}function mf(t,e){t.k=e}function yf(t,e){t.d=e}function wf(t,e){t.a=e}function xf(t,e){t.a=e}function _f(t,e){t.c=e}function Sf(t,e){t.a=e}function kf(t,e){t.f=e}function If(t,e){t.e=e}function Mf(t,e){t.g=e}function Cf(t,e){t.e=e}function Tf(t,e){t.f=e}function Af(t,e){t.i=e}function Ef(t,e){t.i=e}function Pf(t,e){t.b=e}function Df(t,e){t.o=e}function Of(t,e){t.n=e}function Lf(t){t.b=t.a}function Rf(t){t.c=t.d.d}function Nf(t){this.d=t}function jf(t){this.a=t}function Ff(t){this.a=t}function Bf(t){this.a=t}function zf(t){this.a=t}function $f(t){this.a=t}function Vf(t){this.a=t}function Hf(t){this.a=t}function Wf(t){this.a=t}function Gf(t){this.a=t}function Uf(t){this.a=t}function Xf(t){this.a=t}function qf(t){this.a=t}function Yf(t){this.a=t}function Kf(t){this.a=t}function Zf(t){this.a=t}function Qf(t){this.b=t}function Jf(t){this.b=t}function td(t){this.b=t}function ed(t){this.c=t}function nd(t){this.c=t}function rd(t){this.a=t}function id(t){this.a=t}function ad(t){this.a=t}function od(t){this.a=t}function sd(t){this.a=t}function ud(t){this.a=t}function cd(t){this.a=t}function ld(t){this.a=t}function hd(t){this.a=t}function fd(t){this.a=t}function dd(t){this.a=t}function pd(t){this.a=t}function gd(t){this.a=t}function bd(t){this.a=t}function vd(t){this.a=t}function md(t){this.a=t}function yd(t){this.a=t}function wd(t){this.a=t}function xd(t){this.a=t}function _d(t){this.a=t}function Sd(t){this.a=t}function kd(t){this.a=t}function Id(t){this.a=t}function Md(t){this.a=t}function Cd(t){this.a=t}function Td(t){this.a=t}function Ad(t){this.a=t}function Ed(t){this.a=t}function Pd(t){this.a=t}function Dd(t){this.a=t}function Od(t){this.a=t}function Ld(t){this.a=t}function Rd(t){this.a=t}function Nd(t){this.a=t}function jd(t){this.c=t}function Fd(t){this.a=t}function Bd(t){this.a=t}function zd(t){this.a=t}function $d(t){this.a=t}function Vd(t){this.a=t}function Hd(t){this.a=t}function Wd(t){this.a=t}function Gd(t){this.a=t}function Ud(t){this.a=t}function Xd(t){this.a=t}function qd(t){this.a=t}function Yd(t){this.a=t}function Kd(t){this.a=t}function Zd(t){this.e=t}function Qd(t){this.a=t}function Jd(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function rp(t){this.a=t}function ip(t){this.a=t}function ap(t){this.a=t}function op(t){this.a=t}function sp(t){this.a=t}function up(t){this.a=t}function cp(t){this.a=t}function lp(t){this.a=t}function hp(t){this.a=t}function fp(t){this.a=t}function dp(t){this.a=t}function pp(t){this.a=t}function gp(t){this.a=t}function bp(t){this.a=t}function vp(t){this.a=t}function mp(t){this.a=t}function yp(t){this.a=t}function wp(t){this.a=t}function xp(t){this.a=t}function _p(t){this.a=t}function Sp(t){this.a=t}function kp(t){this.a=t}function Ip(t){this.a=t}function Mp(t){this.a=t}function Cp(t){this.a=t}function Tp(t){this.a=t}function Ap(t){this.a=t}function Ep(t){this.a=t}function Pp(t){this.a=t}function Dp(t){this.a=t}function Op(t){this.a=t}function Lp(t){this.a=t}function Rp(t){this.a=t}function Np(t){this.a=t}function jp(t){this.a=t}function Fp(t){this.a=t}function Bp(t){this.a=t}function zp(t){this.a=t}function $p(t){this.a=t}function Vp(t){this.a=t}function Hp(t){this.a=t}function Wp(t){this.a=t}function Gp(t){this.a=t}function Up(t){this.a=t}function Xp(t){this.a=t}function qp(t){this.a=t}function Yp(t){this.a=t}function Kp(t){this.a=t}function Zp(t){this.a=t}function Qp(t){this.c=t}function Jp(t){this.b=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function rg(t){this.a=t}function ig(t){this.a=t}function ag(t){this.a=t}function og(t){this.a=t}function sg(t){this.a=t}function ug(t){this.a=t}function cg(t){this.a=t}function lg(t){this.a=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function pg(t){this.a=t}function gg(t){this.a=t}function bg(t){this.a=t}function vg(t){this.a=t}function mg(t){this.a=t}function yg(t){this.a=t}function wg(t){this.a=t}function xg(t){this.a=t}function _g(t){this.a=t}function Sg(t){this.a=t}function kg(t){this.a=t}function Ig(t){this.a=t}function Mg(t){this.a=t}function Cg(t){this.a=t}function Tg(t){this.a=t}function Ag(t){this.a=t}function Eg(t){this.a=t}function Pg(t){this.a=t}function Dg(t){this.a=t}function Og(t){this.a=t}function Lg(t){this.a=t}function Rg(t){this.a=t}function Ng(t){this.a=t}function jg(t){this.a=t}function Fg(t){this.a=t}function Bg(t){this.a=t}function zg(t){this.a=t}function $g(t){this.f=t}function Vg(t){this.a=t}function Hg(t){this.a=t}function Wg(t){this.a=t}function Gg(t){this.a=t}function Ug(t){this.a=t}function Xg(t){this.a=t}function qg(t){this.a=t}function Yg(t){this.a=t}function Kg(t){this.a=t}function Zg(t){this.a=t}function Qg(t){this.a=t}function Jg(t){this.a=t}function tb(t){this.a=t}function eb(t){this.a=t}function nb(t){this.a=t}function rb(t){this.a=t}function ib(t){this.a=t}function ab(t){this.a=t}function ob(t){this.a=t}function sb(t){this.a=t}function ub(t){this.a=t}function cb(t){this.a=t}function lb(t){this.a=t}function hb(t){this.a=t}function fb(t){this.a=t}function db(t){this.a=t}function pb(t){this.a=t}function gb(t){this.a=t}function bb(t){this.a=t}function vb(t){this.b=t}function mb(t){this.a=t}function yb(t){this.a=t}function wb(t){this.a=t}function xb(t){this.a=t}function _b(t){this.a=t}function Sb(t){this.a=t}function kb(t){this.a=t}function Ib(t){this.a=t}function Mb(t){this.a=t}function Cb(t){this.a=t}function Tb(t){this.b=t}function Ab(t){this.c=t}function Eb(t){this.e=t}function Pb(t){this.a=t}function Db(t){this.a=t}function Ob(t){this.a=t}function Lb(t){this.a=t}function Rb(t){this.d=t}function Nb(t){this.a=t}function jb(t){this.a=t}function Fb(t){this.a=t}function Bb(t){this.e=t}function zb(){this.a=0}function $b(){aA(this)}function Vb(){oA(this)}function Hb(){JF(this)}function Wb(){r$(this)}function Gb(){}function Ub(){this.c=rie}function Xb(t,e){t.b+=e}function qb(t){return t.a}function Yb(t){return t.a}function Kb(t){return t.a}function Zb(t){return t.a}function Qb(t){return t.a}function Jb(t){return t.e}function tv(){return null}function ev(){return null}function nv(t,e){e.$c(t.a)}function rv(t,e){t.a=e-t.a}function iv(t,e){t.b=e-t.b}function av(t,e){t.e=e,e.b=t}function ov(t){EV(),Wjt.be(t)}function sv(t){CL(),this.a=t}function uv(t){CL(),this.a=t}function cv(t){CL(),this.a=t}function lv(t){zz(),this.a=t}function hv(){this.a=this}function fv(){this.Bb|=256}function dv(){WE.call(this)}function pv(){WE.call(this)}function gv(){dv.call(this)}function bv(){dv.call(this)}function vv(){dv.call(this)}function mv(){dv.call(this)}function yv(){dv.call(this)}function wv(){dv.call(this)}function xv(){dv.call(this)}function _v(){dv.call(this)}function Sv(){dv.call(this)}function kv(){dv.call(this)}function Iv(){dv.call(this)}function Mv(t){Slt(t.c,t.b)}function Cv(t,e){Y2(t.e,e)}function Tv(t,e){LR(t.a,e)}function Av(t,e){t.length=e}function Ev(){this.b=new aT}function Pv(){this.a=new Hb}function Dv(){this.a=new Hb}function Ov(){this.a=new Vb}function Lv(){this.a=new Vb}function Rv(){this.a=new Vb}function Nv(){this.a=new mt}function jv(){this.a=new dY}function Fv(){this.a=new le}function Bv(){this.a=new rS}function zv(){this.a=new cW}function $v(){this.a=new TO}function Vv(){this.a=new IG}function Hv(){this.a=new Vb}function Wv(){this.a=new Vb}function Gv(){this.a=new Vb}function Uv(){this.a=new Vb}function Xv(){this.d=new Vb}function qv(){this.a=new Pv}function Yv(){this.b=new Hb}function Kv(){this.a=new Hb}function Zv(){this.a=new Kl}function Qv(){this.b=new Vb}function Jv(){this.e=new Vb}function tm(t){this.a=function(t){var e;if((e=gst(t))>34028234663852886e22)return RSt;if(e<-34028234663852886e22)return NSt;return e}(t)}function em(){this.d=new Vb}function nm(){nm=S,new Hb}function rm(){gv.call(this)}function im(){Ov.call(this)}function am(){DO.call(this)}function om(){Gb.call(this)}function sm(){Gb.call(this)}function um(){om.call(this)}function cm(){sm.call(this)}function lm(){Vb.call(this)}function hm(){YV.call(this)}function fm(){YV.call(this)}function dm(){Hm.call(this)}function pm(){Hm.call(this)}function gm(){Hm.call(this)}function bm(){Um.call(this)}function vm(){sS.call(this)}function mm(){eu.call(this)}function ym(){eu.call(this)}function wm(){Km.call(this)}function xm(){Km.call(this)}function _m(){Hb.call(this)}function Sm(){Hb.call(this)}function km(){Hb.call(this)}function Im(){Pv.call(this)}function Mm(){D1.call(this)}function Cm(){fv.call(this)}function Tm(){RE.call(this)}function Am(){RE.call(this)}function Em(){Hb.call(this)}function Pm(){Hb.call(this)}function Dm(){Hb.call(this)}function Om(){mu.call(this)}function Lm(){mu.call(this)}function Rm(){Om.call(this)}function Nm(){Pl.call(this)}function jm(t){M_.call(this,t)}function Fm(t){jm.call(this,t)}function Bm(t){M_.call(this,t)}function zm(){zm=S,vjt=new s}function $m(){$m=S,kjt=new tw}function Vm(){Vm=S,Ijt=new ew}function Hm(){this.a=new Pv}function Wm(){this.a=new Vb}function Gm(){this.j=new Vb}function Um(){this.a=new Hb}function Xm(){this.a=new sS}function qm(){this.a=new Go}function Ym(){this.a=new Qx}function Km(){this.a=new fu}function Zm(){Zm=S,Ejt=new XA}function Qm(t){jm.call(this,t)}function Jm(t){jm.call(this,t)}function ty(t){CX.call(this,t)}function ey(t){CX.call(this,t)}function ny(t){_L.call(this,t)}function ry(t){D_.call(this,t)}function iy(t){O_.call(this,t)}function ay(t){O_.call(this,t)}function oy(t){yst.call(this,t)}function sy(t){rB.call(this,t)}function uy(t){sy.call(this,t)}function cy(){lf.call(this,{})}function ly(){ly=S,Kjt=new x}function hy(){hy=S,jjt=new a}function fy(){fy=S,zjt=new f}function dy(){dy=S,Ujt=new m}function py(t,e){t.a=e,function(t){var e,n,i;for(function(t){var e,n,i;for(n=new ed(t.a.a.b);n.a<n.c.c.length;)e=RR(xG(n),79),wz(0),(i=0)>0&&((!RT(t.a.c)||!e.n.d)&&(!NT(t.a.c)||!e.n.b)&&(e.g.d-=r.Math.max(0,i/2-.5)),(!RT(t.a.c)||!e.n.a)&&(!NT(t.a.c)||!e.n.c)&&(e.g.a+=r.Math.max(0,i-1)))}(t),i=new Vb,n=new ed(t.a.a.b);n.a<n.c.c.length;)LR(i,new Gk(e=RR(xG(n),79),!0)),LR(i,new Gk(e,!1));(function(t){var e,n;for(ky(t.b.a),t.a=hK(xHt,zxt,79,t.c.a.a.b.c.length,0,1),e=0,n=new ed(t.c.a.a.b);n.a<n.c.c.length;)RR(xG(n),79).i=e++})(t.c),qG(i,t.b,new $y(X3(uw(MHt,1),zxt,366,0,[t.c]))),function(t){var e,n,i;for(n=new ed(t.a.a.b);n.a<n.c.c.length;)e=RR(xG(n),79),wz(0),(i=0)>0&&((!RT(t.a.c)||!e.n.d)&&(!NT(t.a.c)||!e.n.b)&&(e.g.d+=r.Math.max(0,i/2-.5)),(!RT(t.a.c)||!e.n.a)&&(!NT(t.a.c)||!e.n.c)&&(e.g.a-=i-1))}(t)}(t)}function gy(t,e,n){t.a[e.g]=n}function by(t,e,n){!function(t,e,n){var r,i;for(WT(t,t.j+e,t.k+n),i=new SE((!t.a&&(t.a=new fE(Jee,t,5)),t.a));i.e!=i.i.gc();)zT(r=RR(Htt(i),463),r.a+e,r.b+n);HT(t,t.b+e,t.c+n)}(n,t,e)}function vy(t,e){!function(t,e){RT(t.f)?function(t,e){var n,r,i,a,o;for(a=t.g.a,o=t.g.b,r=new ed(t.d);r.a<r.c.c.length;)i=(n=RR(xG(r),69)).n,t.a==(S3(),$Gt)||t.i==(dwt(),Dte)?i.a=a:t.a==VGt||t.i==(dwt(),Qte)?i.a=a+t.j.a-n.o.a:i.a=a+(t.j.a-n.o.a)/2,i.b=o,zO(i,e),o+=n.o.b+t.e}(t,e):function(t,e){var n,r,i,a,o;for(a=t.g.a,o=t.g.b,r=new ed(t.d);r.a<r.c.c.length;)(i=(n=RR(xG(r),69)).n).a=a,t.i==(dwt(),Ote)?i.b=o+t.j.b-n.o.b:i.b=o,zO(i,e),a+=n.o.a+t.e}(t,e)}(e.i,t.n)}function my(t,e){(function(t){if(LR(t.c,(h4(),M6t)),AJ(t.a,Dy(VD(bet((U9(),qJt))))))return new Gs;return new jg(t)})(t).td(e)}function yy(t){FE(),this.a=t}function wy(t){l2(),this.a=t}function xy(t){IL(),this.a=t}function _y(t){Mj(),this.f=t}function Sy(t){Mj(),this.f=t}function ky(t){t.b=null,t.c=0}function Iy(t){sy.call(this,t)}function My(t){sy.call(this,t)}function Cy(t){sy.call(this,t)}function Ty(t){rB.call(this,t)}function Ay(t){return wz(t),t}function Ey(t){return new cf(t)}function Py(t){return new xB(t)}function Dy(t){return wz(t),t}function Oy(t){return wz(t),t}function Ly(t,e){return t.g-e.g}function Ry(t){sy.call(this,t)}function Ny(t){sy.call(this,t)}function jy(t){sy.call(this,t)}function Fy(t){sy.call(this,t)}function By(t){sy.call(this,t)}function zy(t){sy.call(this,t)}function $y(t){wz(t),this.a=t}function Vy(t){uB(t,t.length)}function Hy(t){return t.b==t.c}function Wy(t){return!!t&&t.b}function Gy(t){return wz(t),t}function Uy(t){return r5(t),t}function Xy(t){sy.call(this,t)}function qy(t){sy.call(this,t)}function Yy(t){sy.call(this,t)}function Ky(t){sy.call(this,t)}function Zy(t){sy.call(this,t)}function Qy(t){DP.call(this,t,0)}function Jy(){JW.call(this,12,3)}function tw(){Uh.call(this,null)}function ew(){Uh.call(this,null)}function nw(){throw Jb(new _v)}function rw(){throw Jb(new _v)}function iw(){this.a=HD(wB(Fxt))}function aw(t){CL(),this.a=wB(t)}function ow(t){N1(t),av(t.a,t.a)}function sw(t,e){t.Td(e),e.Sd(t)}function uw(t,e){return oW(t,e)}function cw(t){My.call(this,t)}function lw(t){My.call(this,t)}function hw(t){Ny.call(this,t)}function fw(){Bf.call(this,"")}function dw(){Bf.call(this,"")}function pw(){Bf.call(this,"")}function gw(){Bf.call(this,"")}function bw(t){Qf.call(this,t)}function vw(t){bw.call(this,t)}function mw(t){QE.call(this,t)}function yw(t,e){return HK(t,e)}function ww(t){return t.a?t.b:0}function xw(t){return t.a?t.b:0}function _w(t,e){return t.c=e,t}function Sw(t,e){return t.f=e,t}function kw(t,e){return t.a=e,t}function Iw(t,e){return t.f=e,t}function Mw(t,e){return t.k=e,t}function Cw(t,e){return t.a=e,t}function Tw(t,e){t.b=!0,t.d=e}function Aw(t,e){return t.e=e,t}function Ew(t,e){return t?0:e-1}function Pw(t){F$.call(this,t)}function Dw(t){F$.call(this,t)}function Ow(t){L9.call(this,t)}function Lw(){HA.call(this,"")}function Rw(){Rw=S,oBt=function(){function t(){try{return(new Map).entries().next().done}catch(t){return!1}}return typeof Map===Oxt&&Map.prototype.entries&&t()?Map:function(){function t(){this.obj=this.createObject()}t.prototype.createObject=function(t){return Object.create(null)},t.prototype.get=function(t){return this.obj[t]},t.prototype.set=function(t,e){this.obj[t]=e},t.prototype[ekt]=function(t){delete this.obj[t]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var t=this.keys(),e=this,n=0;return{next:function(){if(n>=t.length)return{done:!0};var r=t[n++];return{value:[r,e.get(r)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);if(void 0!==e[t])return!1;if(0!=Object.getOwnPropertyNames(e).length)return!1;if(e[t]=42,42!==e[t])return!1;if(0==Object.getOwnPropertyNames(e).length)return!1;return!0}()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(t){return this.obj[":"+t]},t.prototype.set=function(t,e){this.obj[":"+t]=e},t.prototype[ekt]=function(t){delete this.obj[":"+t]},t.prototype.keys=function(){var t=[];for(var e in this.obj)58==e.charCodeAt(0)&&t.push(e.substring(1));return t});return t}()}()}function Nw(){Nw=S,EV()}function jw(){throw Jb(new _v)}function Fw(){throw Jb(new _v)}function Bw(){throw Jb(new _v)}function zw(){throw Jb(new _v)}function $w(){throw Jb(new _v)}function Vw(){this.b=0,this.a=0}function Hw(t,e){return t.b=e,t}function Ww(t,e){return t.a=e,t}function Gw(t,e){return t.a=e,t}function Uw(t,e){return t.c=e,t}function Xw(t,e){return t.c=e,t}function qw(t,e){return t.d=e,t}function Yw(t,e){return t.e=e,t}function Kw(t,e){return t.f=e,t}function Zw(t,e){return t.b=e,t}function Qw(t,e){return t.b=e,t}function Jw(t,e){return t.c=e,t}function tx(t,e){return t.d=e,t}function ex(t,e){return t.e=e,t}function nx(t,e){return t.g=e,t}function rx(t,e){return t.a=e,t}function ix(t,e){return t.i=e,t}function ax(t,e){return t.j=e,t}function ox(t,e){return t.k=e,t}function sx(t,e,n){!function(t,e,n){cB(t,new Ik(e.a,n.a))}(t.a,e,n)}function ux(t){NL.call(this,t)}function cx(t){WQ.call(this,t)}function lx(t){oV.call(this,t)}function hx(t){oV.call(this,t)}function fx(){this.a=0,this.b=0}function dx(){throw Jb(new _v)}function px(){throw Jb(new _v)}function gx(){throw Jb(new _v)}function bx(){throw Jb(new _v)}function vx(){throw Jb(new _v)}function mx(){throw Jb(new _v)}function yx(){throw Jb(new _v)}function wx(){throw Jb(new _v)}function xx(){throw Jb(new _v)}function _x(){throw Jb(new _v)}function Sx(){Sx=S,Fee=function(){var t,e;Fvt();try{if(e=RR(nat((QS(),pre),oOt),1983))return e}catch(e){if(!zA(e=m3(e),102))throw Jb(e);t=e,_F((pA(),t))}return new ru}()}function kx(){var t;kx=S,Bee=vne?RR(Vht((QS(),pre),oOt),1985):(t=RR(zA(IH((QS(),pre),oOt),549)?IH(pre,oOt):new Xlt,549),vne=!0,function(t){t.q||(t.q=!0,t.p=t3(t,0),t.a=t3(t,1),N0(t.a,0),t.f=t3(t,2),N0(t.f,1),R0(t.f,2),t.n=t3(t,3),R0(t.n,3),R0(t.n,4),R0(t.n,5),R0(t.n,6),t.g=t3(t,4),N0(t.g,7),R0(t.g,8),t.c=t3(t,5),N0(t.c,7),N0(t.c,8),t.i=t3(t,6),N0(t.i,9),N0(t.i,10),N0(t.i,11),N0(t.i,12),R0(t.i,13),t.j=t3(t,7),N0(t.j,9),t.d=t3(t,8),N0(t.d,3),N0(t.d,4),N0(t.d,5),N0(t.d,6),R0(t.d,7),R0(t.d,8),R0(t.d,9),R0(t.d,10),t.b=t3(t,9),R0(t.b,0),R0(t.b,1),t.e=t3(t,10),R0(t.e,1),R0(t.e,2),R0(t.e,3),R0(t.e,4),N0(t.e,5),N0(t.e,6),N0(t.e,7),N0(t.e,8),N0(t.e,9),N0(t.e,10),R0(t.e,11),t.k=t3(t,11),R0(t.k,0),R0(t.k,1),t.o=e3(t,12),t.s=e3(t,13))}(t),function(t){var e,n,r,i,a,o,s;t.r||(t.r=!0,D0(t,"graph"),O0(t,"graph"),L0(t,oOt),D3(t.o,"T"),EK(KV(t.a),t.p),EK(KV(t.f),t.a),EK(KV(t.n),t.f),EK(KV(t.g),t.n),EK(KV(t.c),t.n),EK(KV(t.i),t.c),EK(KV(t.j),t.c),EK(KV(t.d),t.f),EK(KV(t.e),t.a),zG(t.p,P$t,TIt,!0,!0,!1),o=w5(t.p,t.p,"setProperty"),s=H3(o),e=z$(t.o),n=new Ub,EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),r=$$(s),yat(n,r),eat(o,e,sOt),e=$$(s),eat(o,e,uOt),o=w5(t.p,null,"getProperty"),s=H3(o),e=z$(t.o),n=$$(s),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),eat(o,e,sOt),e=$$(s),!!(a=dot(o,e,null))&&a.Ai(),o=w5(t.p,t.wb.e,"hasProperty"),e=z$(t.o),n=new Ub,EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),eat(o,e,sOt),Brt(o=w5(t.p,t.p,"copyProperties"),t.p,cOt),o=w5(t.p,null,"getAllProperties"),e=z$(t.wb.P),n=z$(t.o),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),r=new Ub,EK((!n.d&&(n.d=new fE(vre,n,1)),n.d),r),n=z$(t.wb.M),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),!!(i=dot(o,e,null))&&i.Ai(),zG(t.a,Qee,PDt,!0,!1,!0),Rrt(RR(sJ(kV(t.a),0),17),t.k,null,lOt,0,-1,Qee,!1,!1,!0,!0,!1,!1,!1),zG(t.f,tne,ODt,!0,!1,!0),Rrt(RR(sJ(kV(t.f),0),17),t.g,RR(sJ(kV(t.g),0),17),"labels",0,-1,tne,!1,!1,!0,!0,!1,!1,!1),G0(RR(sJ(kV(t.f),1),32),t.wb._,hOt,null,0,1,tne,!1,!1,!0,!1,!0,!1),zG(t.n,ene,"ElkShape",!0,!1,!0),G0(RR(sJ(kV(t.n),0),32),t.wb.t,fOt,USt,1,1,ene,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.n),1),32),t.wb.t,dOt,USt,1,1,ene,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.n),2),32),t.wb.t,"x",USt,1,1,ene,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.n),3),32),t.wb.t,"y",USt,1,1,ene,!1,!1,!0,!1,!0,!1),Brt(o=w5(t.n,null,"setDimensions"),t.wb.t,dOt),Brt(o,t.wb.t,fOt),Brt(o=w5(t.n,null,"setLocation"),t.wb.t,"x"),Brt(o,t.wb.t,"y"),zG(t.g,cne,BDt,!1,!1,!0),Rrt(RR(sJ(kV(t.g),0),17),t.f,RR(sJ(kV(t.f),0),17),pOt,0,1,cne,!1,!1,!0,!1,!1,!1,!1),G0(RR(sJ(kV(t.g),1),32),t.wb._,gOt,"",0,1,cne,!1,!1,!0,!1,!0,!1),zG(t.c,nne,LDt,!0,!1,!0),Rrt(RR(sJ(kV(t.c),0),17),t.d,RR(sJ(kV(t.d),1),17),"outgoingEdges",0,-1,nne,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.c),1),17),t.d,RR(sJ(kV(t.d),2),17),"incomingEdges",0,-1,nne,!1,!1,!0,!1,!0,!1,!1),zG(t.i,lne,zDt,!1,!1,!0),Rrt(RR(sJ(kV(t.i),0),17),t.j,RR(sJ(kV(t.j),0),17),"ports",0,-1,lne,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.i),1),17),t.i,RR(sJ(kV(t.i),2),17),bOt,0,-1,lne,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.i),2),17),t.i,RR(sJ(kV(t.i),1),17),pOt,0,1,lne,!1,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.i),3),17),t.d,RR(sJ(kV(t.d),0),17),"containedEdges",0,-1,lne,!1,!1,!0,!0,!1,!1,!1),G0(RR(sJ(kV(t.i),4),32),t.wb.e,vOt,null,0,1,lne,!0,!0,!1,!1,!0,!0),zG(t.j,hne,$Dt,!1,!1,!0),Rrt(RR(sJ(kV(t.j),0),17),t.i,RR(sJ(kV(t.i),0),17),pOt,0,1,hne,!1,!1,!0,!1,!1,!1,!1),zG(t.d,rne,RDt,!1,!1,!0),Rrt(RR(sJ(kV(t.d),0),17),t.i,RR(sJ(kV(t.i),3),17),"containingNode",0,1,rne,!1,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.d),1),17),t.c,RR(sJ(kV(t.c),0),17),mOt,0,-1,rne,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.d),2),17),t.c,RR(sJ(kV(t.c),1),17),yOt,0,-1,rne,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.d),3),17),t.e,RR(sJ(kV(t.e),5),17),wOt,0,-1,rne,!1,!1,!0,!0,!1,!1,!1),G0(RR(sJ(kV(t.d),4),32),t.wb.e,"hyperedge",null,0,1,rne,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.d),5),32),t.wb.e,vOt,null,0,1,rne,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.d),6),32),t.wb.e,"selfloop",null,0,1,rne,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.d),7),32),t.wb.e,"connected",null,0,1,rne,!0,!0,!1,!1,!0,!0),zG(t.b,Jee,DDt,!1,!1,!0),G0(RR(sJ(kV(t.b),0),32),t.wb.t,"x",USt,1,1,Jee,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.b),1),32),t.wb.t,"y",USt,1,1,Jee,!1,!1,!0,!1,!0,!1),Brt(o=w5(t.b,null,"set"),t.wb.t,"x"),Brt(o,t.wb.t,"y"),zG(t.e,ine,NDt,!1,!1,!0),G0(RR(sJ(kV(t.e),0),32),t.wb.t,"startX",null,0,1,ine,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.e),1),32),t.wb.t,"startY",null,0,1,ine,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.e),2),32),t.wb.t,"endX",null,0,1,ine,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.e),3),32),t.wb.t,"endY",null,0,1,ine,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.e),4),17),t.b,null,xOt,0,-1,ine,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.e),5),17),t.d,RR(sJ(kV(t.d),3),17),pOt,0,1,ine,!1,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.e),6),17),t.c,null,_Ot,0,1,ine,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.e),7),17),t.c,null,SOt,0,1,ine,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.e),8),17),t.e,RR(sJ(kV(t.e),9),17),kOt,0,-1,ine,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.e),9),17),t.e,RR(sJ(kV(t.e),8),17),IOt,0,-1,ine,!1,!1,!0,!1,!0,!1,!1),G0(RR(sJ(kV(t.e),10),32),t.wb._,hOt,null,0,1,ine,!1,!1,!0,!1,!0,!1),Brt(o=w5(t.e,null,"setStartLocation"),t.wb.t,"x"),Brt(o,t.wb.t,"y"),Brt(o=w5(t.e,null,"setEndLocation"),t.wb.t,"x"),Brt(o,t.wb.t,"y"),zG(t.k,Sjt,"ElkPropertyToValueMapEntry",!1,!1,!1),e=z$(t.o),n=new Ub,EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),Alt(RR(sJ(kV(t.k),0),32),e,"key",Sjt,!1,!1,!0,!1),G0(RR(sJ(kV(t.k),1),32),t.s,uOt,null,0,1,Sjt,!1,!1,!0,!1,!0,!1),v$(t.o,L6t,"IProperty",!0),v$(t.s,gjt,"PropertyValue",!0),x6(t,oOt))}(t),Lrt(t),mW(pre,oOt,t),t)}function Ix(){Ix=S,Sre=function(){var t,e;Fvt();try{if(e=RR(nat((QS(),pre),LRt),1913))return e}catch(e){if(!zA(e=m3(e),102))throw Jb(e);t=e,_F((pA(),t))}return new Fu}()}function Mx(){Mx=S,Fie=function(){var t,e;tZ();try{if(e=RR(nat((QS(),pre),hNt),1993))return e}catch(e){if(!zA(e=m3(e),102))throw Jb(e);t=e,_F((pA(),t))}return new Pc}()}function Cx(){var t;Cx=S,Bie=vae?RR(Vht((QS(),pre),hNt),1917):(pT(jie,new Wc),pT(lae,new el),pT(hae,new fl),pT(fae,new Sl),pT(MFt,new Cl),pT(uw(aoe,1),new Tl),pT(oFt,new Al),pT(cFt,new El),pT(MFt,new Ec),pT(MFt,new Rc),pT(MFt,new Nc),pT(fFt,new jc),pT(MFt,new Fc),pT(_jt,new Bc),pT(_jt,new zc),pT(MFt,new $c),pT(dFt,new Vc),pT(MFt,new Hc),pT(MFt,new Gc),pT(MFt,new Uc),pT(MFt,new Xc),pT(MFt,new qc),pT(uw(aoe,1),new Yc),pT(MFt,new Kc),pT(MFt,new Zc),pT(_jt,new Qc),pT(_jt,new Jc),pT(MFt,new tl),pT(bFt,new nl),pT(MFt,new rl),pT(mFt,new il),pT(MFt,new al),pT(MFt,new ol),pT(MFt,new sl),pT(MFt,new ul),pT(_jt,new cl),pT(_jt,new ll),pT(MFt,new hl),pT(MFt,new dl),pT(MFt,new pl),pT(MFt,new gl),pT(MFt,new bl),pT(MFt,new vl),pT(kFt,new ml),pT(MFt,new yl),pT(MFt,new wl),pT(MFt,new xl),pT(kFt,new _l),pT(mFt,new kl),pT(MFt,new Il),pT(bFt,new Ml),t=RR(zA(IH((QS(),pre),hNt),577)?IH(pre,hNt):new Uz,577),vae=!0,function(t){t.N||(t.N=!0,t.b=t3(t,0),R0(t.b,0),R0(t.b,1),R0(t.b,2),t.bb=t3(t,1),R0(t.bb,0),R0(t.bb,1),t.fb=t3(t,2),R0(t.fb,3),R0(t.fb,4),N0(t.fb,5),t.qb=t3(t,3),R0(t.qb,0),N0(t.qb,1),N0(t.qb,2),R0(t.qb,3),R0(t.qb,4),N0(t.qb,5),R0(t.qb,6),t.a=e3(t,4),t.c=e3(t,5),t.d=e3(t,6),t.e=e3(t,7),t.f=e3(t,8),t.g=e3(t,9),t.i=e3(t,10),t.j=e3(t,11),t.k=e3(t,12),t.n=e3(t,13),t.o=e3(t,14),t.p=e3(t,15),t.q=e3(t,16),t.s=e3(t,17),t.r=e3(t,18),t.t=e3(t,19),t.u=e3(t,20),t.v=e3(t,21),t.w=e3(t,22),t.B=e3(t,23),t.A=e3(t,24),t.C=e3(t,25),t.D=e3(t,26),t.F=e3(t,27),t.G=e3(t,28),t.H=e3(t,29),t.J=e3(t,30),t.I=e3(t,31),t.K=e3(t,32),t.M=e3(t,33),t.L=e3(t,34),t.P=e3(t,35),t.Q=e3(t,36),t.R=e3(t,37),t.S=e3(t,38),t.T=e3(t,39),t.U=e3(t,40),t.V=e3(t,41),t.X=e3(t,42),t.W=e3(t,43),t.Y=e3(t,44),t.Z=e3(t,45),t.$=e3(t,46),t._=e3(t,47),t.ab=e3(t,48),t.cb=e3(t,49),t.db=e3(t,50),t.eb=e3(t,51),t.gb=e3(t,52),t.hb=e3(t,53),t.ib=e3(t,54),t.jb=e3(t,55),t.kb=e3(t,56),t.lb=e3(t,57),t.mb=e3(t,58),t.nb=e3(t,59),t.ob=e3(t,60),t.pb=e3(t,61))}(t),function(t){var e;t.O||(t.O=!0,D0(t,"type"),O0(t,"ecore.xml.type"),L0(t,hNt),e=RR(Vht((QS(),pre),hNt),1917),EK(KV(t.fb),t.b),zG(t.b,jie,"AnyType",!1,!1,!0),G0(RR(sJ(kV(t.b),0),32),t.wb.D,SRt,null,0,-1,jie,!1,!1,!0,!1,!1,!1),G0(RR(sJ(kV(t.b),1),32),t.wb.D,"any",null,0,-1,jie,!0,!0,!0,!1,!1,!0),G0(RR(sJ(kV(t.b),2),32),t.wb.D,"anyAttribute",null,0,-1,jie,!1,!1,!0,!1,!1,!1),zG(t.bb,lae,bNt,!1,!1,!0),G0(RR(sJ(kV(t.bb),0),32),t.gb,"data",null,0,1,lae,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),1),32),t.gb,NOt,null,1,1,lae,!1,!1,!0,!1,!0,!1),zG(t.fb,hae,vNt,!1,!1,!0),G0(RR(sJ(kV(t.fb),0),32),e.gb,"rawValue",null,0,1,hae,!0,!0,!0,!1,!0,!0),G0(RR(sJ(kV(t.fb),1),32),e.a,uOt,null,0,1,hae,!0,!0,!0,!1,!0,!0),Rrt(RR(sJ(kV(t.fb),2),17),t.wb.q,null,"instanceType",1,1,hae,!1,!1,!0,!1,!1,!1,!1),zG(t.qb,fae,mNt,!1,!1,!0),G0(RR(sJ(kV(t.qb),0),32),t.wb.D,SRt,null,0,-1,null,!1,!1,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.qb),1),17),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.qb),2),17),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),G0(RR(sJ(kV(t.qb),3),32),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),G0(RR(sJ(kV(t.qb),4),32),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Rrt(RR(sJ(kV(t.qb),5),17),t.bb,null,WNt,0,-2,null,!0,!0,!0,!0,!1,!1,!0),G0(RR(sJ(kV(t.qb),6),32),t.gb,gOt,null,0,-2,null,!0,!0,!0,!1,!1,!0),v$(t.a,gjt,"AnySimpleType",!0),v$(t.c,MFt,"AnyURI",!0),v$(t.d,uw(aoe,1),"Base64Binary",!0),v$(t.e,roe,"Boolean",!0),v$(t.f,oFt,"BooleanObject",!0),v$(t.g,aoe,"Byte",!0),v$(t.i,cFt,"ByteObject",!0),v$(t.j,MFt,"Date",!0),v$(t.k,MFt,"DateTime",!0),v$(t.n,VFt,"Decimal",!0),v$(t.o,ooe,"Double",!0),v$(t.p,fFt,"DoubleObject",!0),v$(t.q,MFt,"Duration",!0),v$(t.s,_jt,"ENTITIES",!0),v$(t.r,_jt,"ENTITIESBase",!0),v$(t.t,MFt,kNt,!0),v$(t.u,soe,"Float",!0),v$(t.v,dFt,"FloatObject",!0),v$(t.w,MFt,"GDay",!0),v$(t.B,MFt,"GMonth",!0),v$(t.A,MFt,"GMonthDay",!0),v$(t.C,MFt,"GYear",!0),v$(t.D,MFt,"GYearMonth",!0),v$(t.F,uw(aoe,1),"HexBinary",!0),v$(t.G,MFt,"ID",!0),v$(t.H,MFt,"IDREF",!0),v$(t.J,_jt,"IDREFS",!0),v$(t.I,_jt,"IDREFSBase",!0),v$(t.K,noe,"Int",!0),v$(t.M,XFt,"Integer",!0),v$(t.L,bFt,"IntObject",!0),v$(t.P,MFt,"Language",!0),v$(t.Q,ioe,"Long",!0),v$(t.R,mFt,"LongObject",!0),v$(t.S,MFt,"Name",!0),v$(t.T,MFt,INt,!0),v$(t.U,XFt,"NegativeInteger",!0),v$(t.V,MFt,RNt,!0),v$(t.X,_jt,"NMTOKENS",!0),v$(t.W,_jt,"NMTOKENSBase",!0),v$(t.Y,XFt,"NonNegativeInteger",!0),v$(t.Z,XFt,"NonPositiveInteger",!0),v$(t.$,MFt,"NormalizedString",!0),v$(t._,MFt,"NOTATION",!0),v$(t.ab,MFt,"PositiveInteger",!0),v$(t.cb,MFt,"QName",!0),v$(t.db,uoe,"Short",!0),v$(t.eb,kFt,"ShortObject",!0),v$(t.gb,MFt,H_t,!0),v$(t.hb,MFt,"Time",!0),v$(t.ib,MFt,"Token",!0),v$(t.jb,uoe,"UnsignedByte",!0),v$(t.kb,kFt,"UnsignedByteObject",!0),v$(t.lb,ioe,"UnsignedInt",!0),v$(t.mb,mFt,"UnsignedIntObject",!0),v$(t.nb,XFt,"UnsignedLong",!0),v$(t.ob,noe,"UnsignedShort",!0),v$(t.pb,bFt,"UnsignedShortObject",!0),x6(t,hNt),function(t){Zht(t.a,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"anySimpleType"])),Zht(t.b,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"anyType",IRt,SRt])),Zht(RR(sJ(kV(t.b),0),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,iNt,zOt,":mixed"])),Zht(RR(sJ(kV(t.b),1),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,iNt,lNt,fNt,zOt,":1",xNt,"lax"])),Zht(RR(sJ(kV(t.b),2),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,nNt,lNt,fNt,zOt,":2",xNt,"lax"])),Zht(t.c,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"anyURI",cNt,aNt])),Zht(t.d,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"base64Binary",cNt,aNt])),Zht(t.e,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,Ext,cNt,aNt])),Zht(t.f,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"boolean:Object",jRt,Ext])),Zht(t.g,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,hRt])),Zht(t.i,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"byte:Object",jRt,hRt])),Zht(t.j,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"date",cNt,aNt])),Zht(t.k,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"dateTime",cNt,aNt])),Zht(t.n,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"decimal",cNt,aNt])),Zht(t.o,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,dRt,cNt,aNt])),Zht(t.p,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"double:Object",jRt,dRt])),Zht(t.q,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"duration",cNt,aNt])),Zht(t.s,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"ENTITIES",jRt,_Nt,SNt,"1"])),Zht(t.r,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,_Nt,oNt,kNt])),Zht(t.t,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,kNt,jRt,INt])),Zht(t.u,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,pRt,cNt,aNt])),Zht(t.v,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"float:Object",jRt,pRt])),Zht(t.w,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"gDay",cNt,aNt])),Zht(t.B,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"gMonth",cNt,aNt])),Zht(t.A,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"gMonthDay",cNt,aNt])),Zht(t.C,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"gYear",cNt,aNt])),Zht(t.D,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"gYearMonth",cNt,aNt])),Zht(t.F,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"hexBinary",cNt,aNt])),Zht(t.G,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"ID",jRt,INt])),Zht(t.H,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"IDREF",jRt,INt])),Zht(t.J,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"IDREFS",jRt,MNt,SNt,"1"])),Zht(t.I,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,MNt,oNt,"IDREF"])),Zht(t.K,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,gRt])),Zht(t.M,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,CNt])),Zht(t.L,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"int:Object",jRt,gRt])),Zht(t.P,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"language",jRt,TNt,ANt,ENt])),Zht(t.Q,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,bRt])),Zht(t.R,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"long:Object",jRt,bRt])),Zht(t.S,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"Name",jRt,TNt,ANt,PNt])),Zht(t.T,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,INt,jRt,"Name",ANt,DNt])),Zht(t.U,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"negativeInteger",jRt,ONt,LNt,"-1"])),Zht(t.V,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,RNt,jRt,TNt,ANt,"\\c+"])),Zht(t.X,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"NMTOKENS",jRt,NNt,SNt,"1"])),Zht(t.W,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,NNt,oNt,RNt])),Zht(t.Y,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,jNt,jRt,CNt,FNt,"0"])),Zht(t.Z,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,ONt,jRt,CNt,LNt,"0"])),Zht(t.$,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,BNt,jRt,Dxt,cNt,"replace"])),Zht(t._,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"NOTATION",cNt,aNt])),Zht(t.ab,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"positiveInteger",jRt,jNt,FNt,"1"])),Zht(t.bb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"processingInstruction_._type",IRt,"empty"])),Zht(RR(sJ(kV(t.bb),0),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,eNt,zOt,"data"])),Zht(RR(sJ(kV(t.bb),1),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,eNt,zOt,NOt])),Zht(t.cb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"QName",cNt,aNt])),Zht(t.db,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,vRt])),Zht(t.eb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"short:Object",jRt,vRt])),Zht(t.fb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"simpleAnyType",IRt,tNt])),Zht(RR(sJ(kV(t.fb),0),32),kRt,X3(uw(MFt,1),u_t,2,6,[zOt,":3",IRt,tNt])),Zht(RR(sJ(kV(t.fb),1),32),kRt,X3(uw(MFt,1),u_t,2,6,[zOt,":4",IRt,tNt])),Zht(RR(sJ(kV(t.fb),2),17),kRt,X3(uw(MFt,1),u_t,2,6,[zOt,":5",IRt,tNt])),Zht(t.gb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,Dxt,cNt,"preserve"])),Zht(t.hb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"time",cNt,aNt])),Zht(t.ib,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,TNt,jRt,BNt,cNt,aNt])),Zht(t.jb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,zNt,LNt,"255",FNt,"0"])),Zht(t.kb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"unsignedByte:Object",jRt,zNt])),Zht(t.lb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,$Nt,LNt,"4294967295",FNt,"0"])),Zht(t.mb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"unsignedInt:Object",jRt,$Nt])),Zht(t.nb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"unsignedLong",jRt,jNt,LNt,VNt,FNt,"0"])),Zht(t.ob,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,HNt,LNt,"65535",FNt,"0"])),Zht(t.pb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"unsignedShort:Object",jRt,HNt])),Zht(t.qb,kRt,X3(uw(MFt,1),u_t,2,6,[zOt,"",IRt,SRt])),Zht(RR(sJ(kV(t.qb),0),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,iNt,zOt,":mixed"])),Zht(RR(sJ(kV(t.qb),1),17),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,eNt,zOt,"xmlns:prefix"])),Zht(RR(sJ(kV(t.qb),2),17),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,eNt,zOt,"xsi:schemaLocation"])),Zht(RR(sJ(kV(t.qb),3),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,rNt,zOt,"cDATA",sNt,uNt])),Zht(RR(sJ(kV(t.qb),4),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,rNt,zOt,"comment",sNt,uNt])),Zht(RR(sJ(kV(t.qb),5),17),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,rNt,zOt,WNt,sNt,uNt])),Zht(RR(sJ(kV(t.qb),6),32),kRt,X3(uw(MFt,1),u_t,2,6,[IRt,rNt,zOt,gOt,sNt,uNt]))}(t))}(t),t$((JS(),_re),t,new Lc),Lrt(t),mW(pre,hNt,t),t)}function Tx(){Tx=S,Nne=I1()}function Ax(t,e){t.b=0,e1(t,e)}function Ex(t,e){for(;t.sd(e););}function Px(t,e){return M6(t.b,e)}function Dx(t,e){return A5(t,e)>0}function Ox(t,e){return A5(t,e)<0}function Lx(t){return t.l|t.m<<22}function Rx(t){return t.e&&t.e()}function Nx(t){return t?t.d:null}function jx(t){return t.b!=t.d.c}function Fx(t){return FD(t),t.o}function Bx(t){return Nz(t),t.a}function zx(t,e){return t.a+=e,t}function $x(t,e){return t.a+=e,t}function Vx(t,e){return t.a+=e,t}function Hx(t,e){return t.a+=e,t}function Wx(t,e,n){t.splice(e,n)}function Gx(t,e){for(;t.ye(e););}function Ux(t,e){return t.d[e.p]}function Xx(t){this.a=new aS(t)}function qx(t){this.a=new wF(t)}function Yx(){this.a=new Bft(B3t)}function Kx(){this.b=new Bft(L2t)}function Zx(){this.b=new Bft(w5t)}function Qx(){this.b=new Bft(w5t)}function Jx(t){this.a=new n_(t)}function t_(t){this.a=0,this.b=t}function e_(t){cwt(),function(t,e){var n,r,i,a,o,s,u,c;if(n=0,o=0,a=e.length,s=null,c=new gw,o<a&&(AW(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(AW(o,e.length),43==e.charCodeAt(o)||(AW(o,e.length),45==e.charCodeAt(o)))))throw Jb(new hw(LSt+e+'"'));for(;o<a&&(AW(o,e.length),46!=e.charCodeAt(o))&&(AW(o,e.length),101!=e.charCodeAt(o))&&(AW(o,e.length),69!=e.charCodeAt(o));)++o;if(c.a+=""+BP(null==e?Hxt:(wz(e),e),n,o),o<a&&(AW(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(AW(o,e.length),101!=e.charCodeAt(o))&&(AW(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,c.a+=""+BP(null==e?Hxt:(wz(e),e),n,o)}else t.e=0;if(o<a&&(AW(o,e.length),101==e.charCodeAt(o)||(AW(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(AW(o,e.length),43==e.charCodeAt(o))&&++o<a&&(AW(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-Wgt(s,B_t,Lxt),t.e!=CH(t.e)))throw Jb(new hw("Scale out of range."));if((u=c.a).length<16){if(t.f=(null==RFt&&(RFt=new RegExp("^[+-]?\\d*$","i")),RFt.test(u)?parseInt(u,10):NaN),isNaN(t.f))throw Jb(new hw(LSt+e+'"'));t.a=kct(t.f)}else!function(t,e){var n;t.c=e,t.a=function(t){var e,n;if(0==t.e)return 0;e=t.d<<5,n=t.a[t.d-1],t.e<0&&g2(t)==t.d-1&&(--n,n|=0);return e-=tlt(n)}(e),t.a<54&&(t.f=(n=e.d>1?kH(xN(e.a[1],32),SH(e.a[0],WSt)):SH(e.a[0],WSt),WG(o8(e.e,n))))}(t,new tA(u));for(t.d=c.a.length,i=0;i<c.a.length&&(45==(r=d$(c.a,i))||48==r);++i)--t.d;0==t.d&&(t.d=1)}(this,t)}function n_(t){!function(t,e,n){var r;t.b=e,t.a=n,r=512==(512&t.a)?new Nm:new Pl,t.c=function(t,e,n){var r,i,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,16==(16&t.e)&&(t.i=function(t){var e,n,r,i,a;r=t.length,e=new dw,a=0;for(;a<r;)if(9!=(n=d$(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&a<r?35==(AW(a,t.length),i=t.charCodeAt(a))||9==i||10==i||12==i||13==i||32==i?(rz(e,i&Y_t),++a):(e.a+="\\",rz(e,i&Y_t),++a):rz(e,n&Y_t);else for(;a<r&&13!=(n=d$(t,a++))&&10!=n;);return e.a}(t.i)),t.j=t.i.length,axt(t),a=ltt(t),t.d!=t.j)throw Jb(new Zy(xxt((pA(),QOt))));if(t.g){for(r=0;r<t.g.a.c.length;r++)if(i=RR(Bz(t.g,r),575),t.f<=i.a)throw Jb(new Zy(xxt((pA(),JOt))));t.g.a.c=hK(gjt,zxt,1,0,5,1)}return a}(r,t.b,t.a)}(this,t,function(){var t,e,n;for(e=0,t=0;t<"X".length;t++){if(0==(n=Flt((AW(t,"X".length),"X".charCodeAt(t)))))throw Jb(new Zy("Unknown Option: "+"X".substr(t)));e|=n}return e}())}function r_(t){return!t||Iz(t)}function i_(t,e){return function(t,e){var n,r;if(h4(),n=Dq(I1(),e.og())){if(r=n.j,zA(t,238))return function(t){return!t.a&&(t.a=new FF(lne,t,10,11)),t.a.i>0}(RR(t,34))?oP(r,(pet(),j6t))||oP(r,F6t):oP(r,(pet(),j6t));if(zA(t,349))return oP(r,(pet(),R6t));if(zA(t,199))return oP(r,(pet(),B6t));if(zA(t,351))return oP(r,(pet(),N6t))}return!0}(t,e)}function a_(t,e){IE.call(this,t,e)}function o_(t,e){a_.call(this,t,e)}function s_(t,e){this.b=t,this.c=e}function u_(t,e){this.e=t,this.d=e}function c_(t,e){this.a=t,this.b=e}function l_(t,e){this.a=t,this.b=e}function h_(t,e){this.a=t,this.b=e}function f_(t,e){this.a=t,this.b=e}function d_(t,e){this.a=t,this.b=e}function p_(t,e){this.a=t,this.b=e}function g_(t,e){this.a=t,this.b=e}function b_(t,e){this.b=t,this.a=e}function v_(t,e){this.b=t,this.a=e}function m_(t,e){this.b=t,this.a=e}function y_(t,e){this.b=t,this.a=e}function w_(t,e){this.b=t,this.a=e}function x_(t,e){this.a=t,this.b=e}function __(t,e){this.g=t,this.i=e}function S_(t,e){this.f=t,this.g=e}function k_(t,e){this.a=t,this.b=e}function I_(t,e){this.a=t,this.f=e}function M_(t){YA(t.dc()),this.c=t}function C_(t){t.c?lpt(t):hpt(t)}function T_(){null==Ixt&&(Ixt=[])}function A_(t){this.b=RR(wB(t),84)}function E_(t){this.a=RR(wB(t),84)}function P_(t){this.a=RR(wB(t),14)}function D_(t){this.a=RR(wB(t),14)}function O_(t){this.b=RR(wB(t),49)}function L_(t,e){this.b=t,this.c=e}function R_(t,e){this.a=t,this.b=e}function N_(t,e){this.a=t,this.b=e}function j_(t,e){this.a=t,this.b=e}function F_(t,e){return KF(t.b,e)}function B_(t,e){return 0==A5(t,e)}function z_(t,e){return 0!=A5(t,e)}function $_(t,e){return t>e&&e<A_t}function V_(t,e){return t.b.Fc(e)}function H_(t,e){return t.b.Gc(e)}function W_(t,e){return t.b.Oc(e)}function G_(t,e){return t.b.Fc(e)}function U_(t,e){return t.c.sc(e)}function X_(t,e){return u8(t.c,e)}function q_(t,e){return t.a._b(e)}function Y_(t){return t.f.c+t.g.c}function K_(t){return-1!=mae[t]}function Z_(t){return $B(),t?Yjt:qjt}function Q_(){Q_=S,CFt=new k}function J_(){J_=S,QFt=new D}function tS(){tS=S,fBt=new sT}function eS(){eS=S,dBt=new oT}function nS(){nS=S,MBt=new Q}function rS(){wF.call(this,null)}function iS(){mK.call(this,null)}function aS(t){m4.call(this,t,0)}function oS(t){this.c=t,_Q(this)}function sS(){QA(this),sV(this)}function uS(t,e){Nz(t),t.a.Nb(e)}function cS(t,e){return t.Ec(e),t}function lS(t,e){return t.a.f=e,t}function hS(t,e){return t.a.d=e,t}function fS(t,e){return t.a.g=e,t}function dS(t,e){return t.a.j=e,t}function pS(t,e){return t.a.a=e,t}function gS(t,e){return t.a.d=e,t}function bS(t,e){return t.a.e=e,t}function vS(t,e){return t.a.g=e,t}function mS(t,e){return t.a.f=e,t}function yS(){yS=S,wHt=new Se}function wS(){wS=S,kHt=new Xj}function xS(){xS=S,BBt=new st}function _S(){_S=S,qBt=new ft}function SS(){SS=S,BHt=new xe}function kS(){kS=S,H$t=new XP}function IS(){IS=S,mHt=new ve}function MS(){MS=S,$Ht=new Le}function CS(){CS=S,cWt=new cn}function TS(){TS=S,_Gt=new Xn}function AS(){AS=S,uWt=new fx}function ES(){ES=S,NGt=new Ai}function PS(){PS=S,mUt=new ta}function DS(){DS=S,XJt=new Ws}function OS(){OS=S,L3t=new wU}function LS(){LS=S,x5t=new BS}function RS(){v0(),this.c=new Jy}function NS(){NS=S,S5t=new lD}function jS(){jS=S,m6t=new Xz}function FS(){0!=$jt&&($jt=0),Hjt=-1}function BS(){S_.call(this,OCt,0)}function zS(t,e,n,r){!function(t,e,n,r){var i,a,o,s,u,c;for(o=t.j.c.length,u=hK($zt,nIt,304,o,0,1),s=0;s<o;s++)(a=RR(JN(t.j,s),11)).p=s,u[s]=$ct(eht(a),n,r);for(function(t,e,n,r,i){var a,o,s,u;for(a=RR(Rx(oee),9),u=new GL(a,RR(wO(a,a.length),9),0),s=new ed(t.j);s.a<s.c.c.length;)e[(o=RR(xG(s),11)).p]&&(_wt(o,e[o.p],r),l0(u,o.j));i?(Dat(t,e,(dwt(),Dte),2*n,r),Dat(t,e,Qte,2*n,r)):(Dat(t,e,(dwt(),Ote),2*n,r),Dat(t,e,Kte,2*n,r))}(t,u,n,e,r),c=new Hb,i=0;i<u.length;i++)u[i]&&t$(c,RR(JN(t.j,i),11),u[i]);c.f.c+c.g.c!=0&&(S4(t,(dxt(),cqt),c),function(t,e){var n,r,i,a,o,s,u;for(o=t.d,u=t.o,s=new j$(-o.b,-o.d,o.b+u.a+o.c,o.d+u.b+o.a),i=0,a=(r=e).length;i<a;++i)(n=r[i])&&mut(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-u.a,o.a=s.a-o.d-u.b}(t,u))}(r,t,e,n)}function $S(t,e,n,i){!function(t,e,n,i){var a,o,s,u,c,l,h,f,d,p,g;if(d=Dy(VD(Bot(t,(Zwt(),TJt)))),f=Dy(VD(Bot(t,MJt))),u=t.o,o=RR(JN(t.j,0),11),s=o.n,g=function(t,e){var n,i,a;if(0==t.f.c.length)return null;for(a=new YT,n=new ed(t.f);n.a<n.c.c.length;)i=RR(xG(n),69).o,a.b=r.Math.max(a.b,i.a),a.a+=i.b;return a.a+=(t.f.c.length-1)*e,a}(o,f),!g)return;if(e.Fc((aot(),Mte)))switch(RR(Bot(t,(dxt(),pqt)),61).g){case 1:g.c=(u.a-g.b)/2-s.a,g.d=d;break;case 3:g.c=(u.a-g.b)/2-s.a,g.d=-d-g.a;break;case 2:n&&0==o.e.c.length&&0==o.g.c.length?(h=i?g.a:RR(JN(o.f,0),69).o.b,g.d=(u.b-h)/2-s.b):g.d=u.b+d-s.b,g.c=-d-g.b;break;case 4:n&&0==o.e.c.length&&0==o.g.c.length?(h=i?g.a:RR(JN(o.f,0),69).o.b,g.d=(u.b-h)/2-s.b):g.d=u.b+d-s.b,g.c=d}else if(e.Fc(Tte))switch(RR(Bot(t,(dxt(),pqt)),61).g){case 1:case 3:g.c=s.a+d;break;case 2:case 4:n&&!o.c?(h=i?g.a:RR(JN(o.f,0),69).o.b,g.d=(u.b-h)/2-s.b):g.d=s.b+d}for(a=g.d,l=new ed(o.f);l.a<l.c.c.length;)(p=(c=RR(xG(l),69)).n).a=g.c,p.b=a,a+=c.o.b+f}(i,t,e,n)}function VS(t,e,n,r){!function(t,e,n,r){var i,a;if(a=e.Ye((fxt(),c9t))?RR(e.Xe(c9t),21):t.j,i=function(t){var e,n,r,i;for(vxt(),n=fet(),r=0,i=n.length;r<i;++r)if(-1!=mZ((e=n[r]).a,t,0))return e;return p$t}(a),i==(vxt(),p$t))return;if(n&&!gtt(i))return;Gst(function(t,e,n){var r,i,a;if(!(i=RR(h$(t.i,e),304)))if(i=new XQ(t.d,e,n),Aj(t.i,e,i),gtt(e))!function(t,e,n,r){nz(t.a[e.g],n.g,r)}(t.a,e.c,e.b,i);else switch(a=function(t){switch(t.g){case 0:case 1:case 2:return dwt(),Ote;case 3:case 4:case 5:return dwt(),Kte;case 6:case 7:case 8:return dwt(),Qte;case 9:case 10:case 11:return dwt(),Dte;default:return dwt(),Zte}}(e),r=RR(h$(t.p,a),243),a.g){case 1:case 3:i.j=!0,gy(r,e.b,i);break;case 4:case 2:i.k=!0,gy(r,e.c,i)}return i}(t,i,r),e)}(t,r,e,n)}function HS(t,e,n){mW(t.d,e.f,n)}function WS(t,e){set(t.c.b,e.c,e)}function GS(t,e){set(t.c.c,e.b,e)}function US(t,e){return function(t,e){var n,i,a;if(i=new ak,a=new T4(i.q.getFullYear()-o_t,i.q.getMonth(),i.q.getDate()),n=function(t,e,n){var i,a,o,s,u,c,l,h,f;for(s=new Eit,l=X3(uw(noe,1),uSt,24,15,[0]),a=-1,o=0,i=0,c=0;c<t.b.c.length;++c){if(!((h=RR(JN(t.b,c),427)).b>0)){if(a=-1,32==d$(h.c,0)){if(f=l[0],$Z(e,l),l[0]>f)continue}else if(eH(e,h.c,l[0])){l[0]+=h.c.length;continue}return 0}if(a<0&&h.a&&(a=c,o=l[0],i=0),a>=0){if(u=h.b,c==a&&0==(u-=i++))return 0;if(!mwt(e,l,h,u,s)){c=a-1,l[0]=o;continue}}else if(a=-1,!mwt(e,l,h,0,s))return 0}if(!function(t,e){var n,i,a,o,s,u;0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>B_t&&fX(e,t.p-o_t),s=e.q.getDate(),FH(e,1),t.k>=0&&function(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),bvt(t,n)}(e,t.k),t.c>=0?FH(e,t.c):t.k>=0?(i=35-new T4(e.q.getFullYear()-o_t,e.q.getMonth(),35).q.getDate(),FH(e,r.Math.min(i,s))):FH(e,s);t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),function(t,e){t.q.setHours(e),bvt(t,e)}(e,24==t.f&&t.g?0:t.f),t.j>=0&&function(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),bvt(t,n)}(e,t.j),t.n>=0&&function(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),bvt(t,n)}(e,t.n),t.i>=0&&eT(e,a8(o8(dit(C2(e.q.getTime()),L_t),L_t),t.i)),t.a&&(fX(a=new ak,a.q.getFullYear()-o_t-80),Ox(C2(e.q.getTime()),C2(a.q.getTime()))&&fX(e,a.q.getFullYear()-o_t+100));if(t.d>=0)if(-1==t.c)(n=(7+t.d-e.q.getDay())%7)>3&&(n-=7),u=e.q.getMonth(),FH(e,e.q.getDate()+n),e.q.getMonth()!=u&&FH(e,e.q.getDate()+(n>0?-7:7));else if(e.q.getDay()!=t.d)return!1;t.o>B_t&&(o=e.q.getTimezoneOffset(),eT(e,a8(C2(e.q.getTime()),60*(t.o-o)*L_t)));return!0}(s,n))return 0;return l[0]}(t,e,a),0==n||n<e.length)throw Jb(new Ny(e));return a}(t.a,e)}function XS(){XS=S,iie=new GA}function qS(){qS=S,aie=new UA}function YS(){YS=S,fne=new pu}function KS(){KS=S,ore=new Sm}function ZS(){ZS=S,xre=new km}function QS(){QS=S,pre=new Em}function JS(){JS=S,_re=new Dm}function tk(){tk=S,Tie=new Ac}function ek(){ek=S,Eie=new Dc}function nk(){nk=S,Vne=new Hb}function rk(){rk=S,mie=new Vb}function ik(){ik=S,Qae=new Ol}function ak(){this.q=new r.Date}function ok(t){this.a=RR(wB(t),222)}function sk(t,e){this.d=t,this.e=e}function uk(t,e){lW.call(this,t,e)}function ck(t){$z(),_L.call(this,t)}function lk(t,e){return t.a.get(e)}function hk(t,e){return KF(t.e,e)}function fk(t,e){return Nj(t.a,e)}function dk(t){return wz(t),!1}function pk(t){return t.b<t.d.gc()}function gk(t,e){Oj(t,t.length,e)}function bk(t,e){OB(t,t.length,e)}function vk(t,e){S_.call(this,t,e)}function mk(t,e){S_.call(this,t,e)}function yk(t){ZW.call(this,t,21)}function wk(t,e){this.b=t,this.a=e}function xk(t,e){this.a=t,this.b=e}function _k(t,e){this.a=t,this.b=e}function Sk(t,e){this.a=t,this.b=e}function kk(t,e){this.a=t,this.b=e}function Ik(t,e){this.a=t,this.b=e}function Mk(t,e){this.b=t,this.a=e}function Ck(t,e){this.b=t,this.a=e}function Tk(t,e){S_.call(this,t,e)}function Ak(t,e){S_.call(this,t,e)}function Ek(t,e){S_.call(this,t,e)}function Pk(t,e){S_.call(this,t,e)}function Dk(t,e){S_.call(this,t,e)}function Ok(t,e){S_.call(this,t,e)}function Lk(t,e){S_.call(this,t,e)}function Rk(t,e){S_.call(this,t,e)}function Nk(t,e){this.b=t,this.a=e}function jk(t,e){this.b=t,this.a=e}function Fk(t,e){S_.call(this,t,e)}function Bk(t,e){S_.call(this,t,e)}function zk(t,e){S_.call(this,t,e)}function $k(t,e){S_.call(this,t,e)}function Vk(){return Rw(),new oBt}function Hk(t){return function(t,e){var n,r,i;for(n=new ed(t.a.a);n.a<n.c.c.length;)RR(xG(n),189).g=!0;for(i=new ed(t.a.b);i.a<i.c.c.length;)(r=RR(xG(i),79)).k=Ay($D(t.e.Kb(new KM(r,e)))),r.d.g=r.d.g&Ay($D(t.e.Kb(new KM(r,e))))}(t,t.c),t}function Wk(t,e){return t.a=e.g,t}function Gk(t,e){this.b=t,this.a=e}function Uk(t,e){this.c=t,this.d=e}function Xk(t,e){this.e=t,this.d=e}function qk(t,e){this.a=t,this.b=e}function Yk(t,e){S_.call(this,t,e)}function Kk(t,e){S_.call(this,t,e)}function Zk(t,e){S_.call(this,t,e)}function Qk(t,e){S_.call(this,t,e)}function Jk(t,e){S_.call(this,t,e)}function tI(t,e){this.a=t,this.b=e}function eI(t,e){this.a=t,this.b=e}function nI(t,e){this.a=t,this.b=e}function rI(t,e){this.a=t,this.b=e}function iI(t,e){this.a=t,this.b=e}function aI(t,e){this.a=t,this.b=e}function oI(t,e){this.a=t,this.b=e}function sI(t,e){this.a=t,this.b=e}function uI(t,e){this.b=t,this.a=e}function cI(t,e){this.b=t,this.a=e}function lI(t,e){this.b=t,this.a=e}function hI(t,e){this.b=e,this.c=t}function fI(t,e){this.b=t,this.a=e}function dI(t,e){this.a=t,this.b=e}function pI(t,e){S_.call(this,t,e)}function gI(t,e){S_.call(this,t,e)}function bI(t,e){S_.call(this,t,e)}function vI(t,e){S_.call(this,t,e)}function mI(t,e){S_.call(this,t,e)}function yI(t,e){S_.call(this,t,e)}function wI(t,e){S_.call(this,t,e)}function xI(t,e){S_.call(this,t,e)}function _I(t,e){S_.call(this,t,e)}function SI(t,e){S_.call(this,t,e)}function kI(t,e){S_.call(this,t,e)}function II(t,e){S_.call(this,t,e)}function MI(t,e){S_.call(this,t,e)}function CI(t,e){S_.call(this,t,e)}function TI(t,e){S_.call(this,t,e)}function AI(t,e){S_.call(this,t,e)}function EI(t,e){S_.call(this,t,e)}function PI(t,e){S_.call(this,t,e)}function DI(t,e){S_.call(this,t,e)}function OI(t,e){S_.call(this,t,e)}function LI(t,e){S_.call(this,t,e)}function RI(t,e){S_.call(this,t,e)}function NI(t,e){S_.call(this,t,e)}function jI(t,e){S_.call(this,t,e)}function FI(t,e){S_.call(this,t,e)}function BI(t,e){S_.call(this,t,e)}function zI(t,e){S_.call(this,t,e)}function $I(t,e){S_.call(this,t,e)}function VI(t,e){S_.call(this,t,e)}function HI(t,e){S_.call(this,t,e)}function WI(t,e){S_.call(this,t,e)}function GI(t,e){S_.call(this,t,e)}function UI(t,e){S_.call(this,t,e)}function XI(t,e){this.b=t,this.a=e}function qI(t,e){this.a=t,this.b=e}function YI(t,e){this.a=t,this.b=e}function KI(t,e){this.a=t,this.b=e}function ZI(t,e){S_.call(this,t,e)}function QI(t,e){S_.call(this,t,e)}function JI(t,e){this.a=t,this.b=e}function tM(t,e){this.b=t,this.d=e}function eM(t,e){!function(t,e){oR(),LR(t,new KM(e,k8(e.e.c.length+e.g.c.length)))}(t.a,RR(e,11))}function nM(t,e,n){t.splice(e,0,n)}function rM(t,e){S_.call(this,t,e)}function iM(t,e){S_.call(this,t,e)}function aM(t,e){S_.call(this,t,e)}function oM(t,e){S_.call(this,t,e)}function sM(t,e){S_.call(this,t,e)}function uM(t,e){S_.call(this,t,e)}function cM(t,e){S_.call(this,t,e)}function lM(t,e){S_.call(this,t,e)}function hM(t,e){S_.call(this,t,e)}function fM(t,e){S_.call(this,t,e)}function dM(t,e){S_.call(this,t,e)}function pM(t,e){S_.call(this,t,e)}function gM(t,e){S_.call(this,t,e)}function bM(t,e){S_.call(this,t,e)}function vM(t,e){S_.call(this,t,e)}function mM(t,e){S_.call(this,t,e)}function yM(t,e){S_.call(this,t,e)}function wM(t,e){S_.call(this,t,e)}function xM(t,e){S_.call(this,t,e)}function _M(t,e){S_.call(this,t,e)}function SM(t,e){S_.call(this,t,e)}function kM(t,e){S_.call(this,t,e)}function IM(t,e){S_.call(this,t,e)}function MM(t,e){S_.call(this,t,e)}function CM(t,e){S_.call(this,t,e)}function TM(t,e){S_.call(this,t,e)}function AM(t,e){S_.call(this,t,e)}function EM(t,e){S_.call(this,t,e)}function PM(t,e){S_.call(this,t,e)}function DM(t,e){S_.call(this,t,e)}function OM(t,e){S_.call(this,t,e)}function LM(t,e){S_.call(this,t,e)}function RM(t,e){S_.call(this,t,e)}function NM(t,e){S_.call(this,t,e)}function jM(t,e){S_.call(this,t,e)}function FM(t,e){S_.call(this,t,e)}function BM(t,e){this.a=t,this.b=e}function zM(t,e){this.a=t,this.b=e}function $M(t,e){this.a=t,this.b=e}function VM(t,e){this.a=t,this.b=e}function HM(t,e){this.a=t,this.b=e}function WM(t,e){this.a=t,this.b=e}function GM(t,e){this.a=t,this.b=e}function UM(t,e){this.a=t,this.b=e}function XM(t,e){this.a=t,this.b=e}function qM(t,e){this.a=t,this.b=e}function YM(t,e){this.a=t,this.b=e}function KM(t,e){this.a=t,this.b=e}function ZM(t,e){this.a=t,this.b=e}function QM(t,e){this.a=t,this.b=e}function JM(t,e){this.a=t,this.b=e}function tC(t,e){this.a=t,this.b=e}function eC(t,e){this.a=t,this.b=e}function nC(t,e){this.a=t,this.b=e}function rC(t,e){this.b=t,this.a=e}function iC(t,e){this.b=t,this.a=e}function aC(t,e){this.b=t,this.a=e}function oC(t,e){this.b=t,this.a=e}function sC(t,e){this.a=t,this.b=e}function uC(t,e){this.a=t,this.b=e}function cC(t,e){this.a=t,this.b=e}function lC(t,e){this.a=t,this.b=e}function hC(t,e){this.f=t,this.c=e}function fC(t,e){S_.call(this,t,e)}function dC(t,e){S_.call(this,t,e)}function pC(t,e){return w7(t.a,e)}function gC(t,e){return oP(t.g,e)}function bC(t,e){t.i=null,i0(t,e)}function vC(t,e){!function(t,e){if(zA(e,238))return function(t,e){var n;if(null==(n=lJ(t.i,e)))throw Jb(new Yy("Node did not exist in input."));return w2(e,n),null}(t,RR(e,34));if(zA(e,199))return function(t,e){var n;if(null==(n=oz(t.k,e)))throw Jb(new Yy("Port did not exist in input."));return w2(e,n),null}(t,RR(e,122));if(zA(e,351))return function(t,e){var n;return n=oz(t.f,e),w2(e,n),null}(t,RR(e,137));if(zA(e,349))return function(t,e){var n,r,i,a,o,s,u;if(!(s=RR(oz(t.c,e),185)))throw Jb(new Yy("Edge did not exist in input."));i=att(s),r=r_((!e.a&&(e.a=new FF(ine,e,6,6)),e.a)),!r&&(n=new lR(t,i,u=new df),function(t,e){!function(t,e){var n;n=0;for(;t.e!=t.i.gc();)PN(e,Htt(t),k8(n)),n!=Lxt&&++n}(new SE(t),e)}((!e.a&&(e.a=new FF(ine,e,6,6)),e.a),n),pQ(s,wOt,u));fK(e,(fxt(),r9t))&&!(!(a=RR(_ht(e,r9t),74))||Iz(a))&&(yq(a,new ob(o=new df)),pQ(s,"junctionPoints",o));return null}(t,RR(e,80));if(e)return null;throw Jb(new Ny(EOt+Uot(new $y(X3(uw(gjt,1),zxt,1,5,[e])))))}(t.a,RR(e,55))}function mC(t,e){this.a=t,this.b=e}function yC(t,e){this.a=t,this.b=e}function wC(t,e){this.a=t,this.b=e}function xC(t,e){this.a=t,this.b=e}function _C(t,e){this.a=t,this.b=e}function SC(t,e){this.i=t,this.g=e}function kC(t,e){this.d=t,this.e=e}function IC(t,e){this.d=t,this.b=e}function MC(t,e){this.e=t,this.a=e}function CC(t,e){this.b=t,this.c=e}function TC(){MW(),this.b=new Pv}function AC(){gdt(),this.a=new Pv}function EC(t){return x7(t.c,t.b)}function PC(t){return t?t.bd():null}function DC(t){return null==t?null:t}function OC(t){return typeof t===Ext}function LC(t){return typeof t===Pxt}function RC(t){return typeof t===Dxt}function NC(t){return typeof t===Pxt}function jC(t){return""+(wz(t),t)}function FC(t,e){return function(t,e){wB(e);for(;t.Ob();)if(!h3(RR(t.Pb(),10)))return!1;return!0}(t.Ic(),e)}function BC(t,e){return t.Hd().Xb(e)}function zC(t,e){return t.substr(e)}function $C(t,e){return t.a+=""+e,t}function VC(t,e){return t.a+=""+e,t}function HC(t,e){return t.a+=""+e,t}function WC(t,e){return t.a+=""+e,t}function GC(t,e){return t.a+=""+e,t}function UC(t,e){return t.a+=""+e,t}function XC(t){return aN(null==t),t}function qC(t){return TW(t,0),null}function YC(t){return R9(t),t.d.gc()}function KC(t,e){jX(t,e,t.a,t.a.a)}function ZC(t,e){jX(t,e,t.c.b,t.c)}function QC(t,e){vF.call(this,t,e)}function JC(t,e){vF.call(this,t,e)}function tT(t,e){vF.call(this,t,e)}function eT(t,e){t.q.setTime(WG(e))}function nT(t){return t.a=0,t.b=0,t}function rT(){rT=S,g$t=t6(fet())}function iT(){iT=S,wGt=t6(Fft())}function aT(){this.b=new aS(HQ(12))}function oT(){this.b=0,this.a=!1}function sT(){this.b=0,this.a=!1}function uT(t){JF(this),p2(this,t)}function cT(t,e){JD.call(this,t,e)}function lT(t,e){GO.call(this,t,e)}function hT(t,e){SC.call(this,t,e)}function fT(t,e){u3.call(this,t,e)}function dT(t,e){AP.call(this,t,e)}function pT(t,e){nk(),t$(Vne,t,e)}function gT(t){return function(t){return vV(),rW(Dot(t))==rW(Rot(t))}(RR(t,80))}function bT(t,e){return DC(t)===DC(e)}function vT(t,e){return BP(t.a,0,e)}function mT(t,e){return t.a.a.a.cc(e)}function yT(t){return AA(t.l,t.m,t.h)}function wT(t){return CH((wz(t),t))}function xT(t){return t<10?"0"+t:""+t}function _T(t,e){return t==e?0:t?1:-1}function ST(t,e){return t.indexOf(e)}function kT(t,e){return TA(t.g,e.g)}function IT(t){this.a=Vk(),this.b=t}function MT(t){this.a=Vk(),this.b=t}function CT(t){this.a=t,Ll.call(this)}function TT(t){this.a=t,Ll.call(this)}function AT(t,e){hZ(t,0,t.length,e)}function ET(t,e){return LR(t.a,e),e}function PT(t,e){return P2(t.a,e),t}function DT(t){return mZ(t.b.b,t,0)}function OT(t){return P2(new wU,t)}function LT(t){return t==i1t||t==r1t}function RT(t){return t==h7t||t==f7t}function NT(t){return t==p7t||t==l7t}function jT(t){return t!=xte&&t!=_te}function FT(t){return t.Gg()&&t.Hg()}function BT(t){return g$(RR(t,122))}function zT(t,e,n){JJ(t,e),YJ(t,n)}function $T(t,e,n){GJ(t,e),WJ(t,n)}function VT(t,e,n){UJ(t,e),XJ(t,n)}function HT(t,e,n){KJ(t,e),ZJ(t,n)}function WT(t,e,n){qJ(t,e),QJ(t,n)}function GT(t,e){j5(t,e),r1(t,t.D)}function UT(t,e){return new u3(e,t)}function XT(){ud.call(this,new FX)}function qT(){dj.call(this,0,0,0,0)}function YT(){j$.call(this,0,0,0,0)}function KT(t){hC.call(this,t,!0)}function ZT(t,e,n){ED.call(this,t,e,n)}function QT(){vk.call(this,"Head",1)}function JT(){vk.call(this,"Tail",3)}function tA(t){rpt(),u2.call(this,t)}function eA(t){return null!=t?p5(t):0}function nA(t,e){return A5(t,e)>0?t:e}function rA(t){return t.b&&Hvt(t),t.a}function iA(t){return t.b&&Hvt(t),t.c}function aA(t){t.a=hK(gjt,zxt,1,8,5,1)}function oA(t){t.c=hK(gjt,zxt,1,0,5,1)}function sA(t){dj.call(this,t,t,t,t)}function uA(t){this.a=t.a,this.b=t.b}function cA(t){return function(t,e){return wB(t),wB(e),new w_(t,e)}(t.b.Ic(),t.a)}function lA(t,e){JD.call(this,t.b,e)}function hA(t,e,n){nz(t.c[e.g],e.g,n)}function fA(t,e,n){return nz(t,e,n),n}function dA(){dA=S,nm(),Gjt=new Hb}function pA(){pA=S,new gA,new Vb}function gA(){new Hb,new Hb,new Hb}function bA(){bA=S,e2t=new x9(O7t)}function vA(){vA=S,YS(),uie=fne}function mA(){mA=S,r.Math.log(2)}function yA(t){t.j=hK(IFt,u_t,308,0,0,1)}function wA(t){this.a=t,CR.call(this,t)}function xA(t){this.a=t,A_.call(this,t)}function _A(t){this.a=t,A_.call(this,t)}function SA(t){bxt(),Bb.call(this,t)}function kA(t,e){Cj(t.c,t.c.length,e)}function IA(t){return t.a<t.c.c.length}function MA(t){return t.a<t.c.a.length}function CA(t,e){return t.a?t.b:e.De()}function TA(t,e){return t<e?-1:t>e?1:0}function AA(t,e,n){return{l:t,m:e,h:n}}function EA(t,e,n){return G7(e,n,t.c)}function PA(t,e,n){return function(t,e,n){var r,i,a,o,s,u,c,l;for(u=new Vb,s=new ed(e.a);s.a<s.c.c.length;)for(l=i9(RR(xG(s),10),(dwt(),Dte)).Ic();l.Ob();)for(i=new ed(RR(l.Pb(),11).g);i.a<i.c.c.length;)!Nq(r=RR(xG(i),18))&&r.c.i.c==r.d.i.c||Nq(r)||r.d.i.c!=n||(u.c[u.c.length]=r);for(o=T2(n.a).Ic();o.Ob();)for(l=i9(RR(o.Pb(),10),(dwt(),Qte)).Ic();l.Ob();)for(i=new ed(RR(l.Pb(),11).e);i.a<i.c.c.length;)if((Nq(r=RR(xG(i),18))||r.c.i.c!=r.d.i.c)&&!Nq(r)&&r.c.i.c==e){for(MP((c=new tU(u,u.c.length)).b>0),a=RR(c.a.Xb(c.c=--c.b),18);a!=r&&c.b>0;)t.a[a.p]=!0,t.a[r.p]=!0,MP(c.b>0),a=RR(c.a.Xb(c.c=--c.b),18);c.b>0&&n$(c)}}(t,e,n),n}function DA(t){LW(t,null),RW(t,null)}function OA(t,e){null!=t.a&&eM(e,t.a)}function LA(t){return new YM(t.a,t.b)}function RA(t){return new YM(t.c,t.d)}function NA(t){return new YM(t.c,t.d)}function jA(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l,h;!n&&(n=function(t){var e;return(e=new y).a=t,e.b=function(t){var e;if(0==t)return"Etc/GMT";t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+";return e+sQ(t)}(t),e.c=hK(MFt,u_t,2,2,6,1),e.c[0]=Q0(t),e.c[1]=Q0(t),e}(e.q.getTimezoneOffset())),i=6e4*(e.q.getTimezoneOffset()-n.a),s=new lO(a8(C2(e.q.getTime()),i)),u=s,s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(i>0?i-=864e5:i+=864e5,u=new lO(a8(C2(e.q.getTime()),i)));for(l=new gw,c=t.a.length,a=0;a<c;)if((r=d$(t.a,a))>=97&&r<=122||r>=65&&r<=90){for(o=a+1;o<c&&d$(t.a,o)==r;++o);lxt(l,r,o-a,s,u,n),a=o}else if(39==r){if(++a<c&&39==d$(t.a,a)){l.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<c&&39!=d$(t.a,o);)++o;if(o>=c)throw Jb(new Ny("Missing trailing '"));o+1<c&&39==d$(t.a,o+1)?++o:h=!0,UC(l,BP(t.a,a,o)),a=o+1}}else l.a+=String.fromCharCode(r),++a;return l.a}(t.a,e,null)}function FA(t,e){Omt(t),t.Ec(RR(e,14))}function BA(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l;if(0==n.gc())return!1;if(ek(),s=RR(e,65).Jj(),a=s?n:new WQ(n.gc()),Cdt(t.e,e)){if(e.ci())for(c=n.Ic();c.Ob();)tvt(t,e,u=c.Pb(),zA(e,97)&&0!=(RR(e,17).Bb&BSt))||(i=cX(e,u),a.Fc(i)||a.Dc(i));else if(!s)for(c=n.Ic();c.Ob();)i=cX(e,u=c.Pb()),a.Dc(i)}else{if(n.gc()>1)throw Jb(new Ny(pNt));for(l=sdt(t.e.Og(),e),r=RR(t.g,118),o=0;o<t.i;++o)if(i=r[o],l.ml(i.Xj())){if(n.Fc(s?i:i.bd()))return!1;for(c=n.Ic();c.Ob();)u=c.Pb(),RR(Net(t,o,s?RR(u,71):cX(e,u)),71);return!0}s||(i=cX(e,n.Ic().Pb()),a.Dc(i))}return QB(t,a)}(t.c,t.b,e)}function zA(t,e){return null!=t&&Get(t,e)}function $A(t){this.b=t,this.a=new Vb}function VA(t){this.b=new Jt,this.a=t}function HA(t){CO.call(this),this.a=t}function WA(){vk.call(this,"Range",2)}function GA(){AP.call(this,null,null)}function UA(){EP.call(this,null,null)}function XA(){S_.call(this,"INSTANCE",0)}function qA(){Pit(),this.a=new Bft(yHt)}function YA(t){if(!t)throw Jb(new yv)}function KA(t){if(!t)throw Jb(new wv)}function ZA(t){if(!t)throw Jb(new vv)}function QA(t){t.a=new $,t.c=new $}function JA(t){return utt(t,0,t.length)}function tE(t,e){return-1!=function(t,e){var n,r;for(K$(e,"predicate"),r=0;t.Ob();r++)if(n=t.Pb(),e.Lb(n))return r;return-1}(t.Ic(),e)}function eE(t){return t.Ob()?t.Pb():null}function nE(t,e){return null!=t.a.zc(e)}function rE(t,e,n){return t.a[e.g][n.g]}function iE(t,e){t.c&&(bN(e),TH(e))}function aE(t,e,n){t.a=1502^e,t.b=n^ikt}function oE(t,e){return t.e[e.c.p][e.p]}function sE(t,e){return t.a[e.c.p][e.p]}function uE(t,e){return t.a[e.c.p][e.p]}function cE(t,e){return t.j[e.p]=function(t){var e,n,r,i;for(e=0,n=0,i=new ed(t.j);i.a<i.c.c.length;)if(e=QN(a8(e,aY(_$(new lj(null,new ZW((r=RR(xG(i),11)).e,16)),new Xa)))),n=QN(a8(n,aY(_$(new lj(null,new ZW(r.g,16)),new qa)))),e>1||n>1)return 2;if(e+n==1)return 2;return 0}(e)}function lE(t,e){return t.a*=e,t.b*=e,t}function hE(t,e,n){return nz(t.g,e,n),n}function fE(t,e,n){tN.call(this,t,e,n)}function dE(t,e,n){fE.call(this,t,e,n)}function pE(t,e,n){eN.call(this,t,e,n)}function gE(t,e,n){eN.call(this,t,e,n)}function bE(t,e,n){pE.call(this,t,e,n)}function vE(t,e,n){fE.call(this,t,e,n)}function mE(t,e,n){dE.call(this,t,e,n)}function yE(t,e,n){tN.call(this,t,e,n)}function wE(t,e,n){tN.call(this,t,e,n)}function xE(t,e,n){yE.call(this,t,e,n)}function _E(t){this.a=t,Hb.call(this)}function SE(t){this.i=t,this.f=this.i.j}function kE(t){this.c=t,this.a=this.c.a}function IE(t,e){this.a=t,A_.call(this,e)}function ME(t,e){this.a=t,Qy.call(this,e)}function CE(t,e){this.a=t,Qy.call(this,e)}function TE(t){this.b=(mV(),new nd(t))}function AE(t,e){return function(t,e,n){var r;try{!function(t,e,n){if(wB(e),n.Ob())for($C(e,GB(n.Pb()));n.Ob();)$C(e,t.a),$C(e,GB(n.Pb()))}(t,e,n)}catch(t){throw zA(t=m3(t),588)?(r=t,Jb(new Aq(r))):Jb(t)}return e}(t,new pw,e).a}function EE(t,e){this.a=t,Qy.call(this,e)}function PE(t){this.a=t,hf.call(this,t.d)}function DE(t,e){this.a=e,Qy.call(this,t)}function OE(t,e){this.a=e,CX.call(this,t)}function LE(t,e){this.a=t,CX.call(this,e)}function RE(){this.Bb|=256,this.Bb|=512}function NE(){NE=S,tk(),Aie=new Eh}function jE(){(jE=S)(),vBt=new et}function FE(){FE=S,hBt=new yy(null)}function BE(t,e){return new Cut(t.a,t.b,e)}function zE(t,e){return wB(e),new $E(t,e)}function $E(t,e){this.a=e,O_.call(this,t)}function VE(t,e){this.a=e,O_.call(this,t)}function HE(t){this.b=t,this.a=this.b.a.e}function WE(){yA(this),cV(this),this._d()}function GE(t){t.b.Qb(),--t.d.f.d,_j(t.d)}function UE(t){t.a=RR(n3(t.b.a,4),124)}function XE(t){t.a=RR(n3(t.b.a,4),124)}function qE(t){Bf.call(this,(wz(t),t))}function YE(t){Bf.call(this,(wz(t),t))}function KE(t){Uh.call(this,RR(wB(t),36))}function ZE(t){Uh.call(this,RR(wB(t),36))}function QE(t){Qf.call(this,t),this.a=t}function JE(t){Jf.call(this,t),this.a=t}function tP(t){bw.call(this,t),this.a=t}function eP(t){ud.call(this,new bK(t))}function nP(t){return null==t?Hxt:P9(t)}function rP(t){return null!=t.a?t.a:null}function iP(t,e){return t.lastIndexOf(e)}function aP(t,e,n){return t.indexOf(e,n)}function oP(t,e){return!!e&&t.b[e.g]==e}function sP(t,e){return null!=AH(t.a,e)}function uP(t){return t.$H||(t.$H=++HBt)}function cP(t){this.a=t,td.call(this,t)}function lP(t){return MP(null!=t.a),t.a}function hP(t,e){return LR(e.a,t.a),t.a}function fP(t,e){return LR(e.b,t.a),t.a}function dP(t,e){return LR(e.a,t.a),t.a}function pP(t,e){return++t.b,LR(t.a,e)}function gP(t,e){return++t.b,yZ(t.a,e)}function bP(t,e){return RR(Kq(t.a,e),14)}function vP(t){return IA(t.a)||IA(t.b)}function mP(t){var e;e=t.a,t.a=t.b,t.b=e}function yP(t,e){Ntt.call(this,t,e,null)}function wP(t,e){e.$modCount=t.$modCount}function xP(){xP=S,m$t=new JD(dIt,0)}function _P(){_P=S,rFt=!1,iFt=!0}function SP(t){if(!t)throw Jb(new Sv)}function kP(t){if(!t)throw Jb(new yv)}function IP(t){if(!t)throw Jb(new wv)}function MP(t){if(!t)throw Jb(new vv)}function CP(t,e,n){return WU(t,e,n,t.c)}function TP(t,e,n){RR(dZ(t,e),21).Dc(n)}function AP(t,e){XS(),this.a=t,this.b=e}function EP(t,e){qS(),this.b=t,this.c=e}function PP(t,e){Mj(),this.f=e,this.d=t}function DP(t,e){zq(e,t),this.d=t,this.c=e}function OP(){ES(),this.b=new Ep(this)}function LP(t){this.d=t,SE.call(this,t)}function RP(t){this.c=t,SE.call(this,t)}function NP(t){this.c=t,LP.call(this,t)}function jP(t,e,n,r){rF.call(this,t,e,n,r)}function FP(t,e,n){return aP(t,mot(e),n)}function BP(t,e,n){return t.substr(e,n-e)}function zP(t,e){return new aL(t,t.gc(),e)}function $P(t){return EV(),parseInt(t)||-1}function VP(t){return k1(t,E_t),new RY(t)}function HP(t){return MP(0!=t.b),t.c.b.c}function WP(t){return MP(0!=t.b),t.a.a.c}function GP(t){zA(t,150)&&RR(t,150).Bh()}function UP(t){DR.call(this,t,null,null)}function XP(){S_.call(this,"POLYOMINO",0)}function qP(t){tS(),this.b=t,this.a=!0}function YP(t){eS(),this.b=t,this.a=!0}function KP(t){this.c=t,this.a=1,this.b=1}function ZP(t,e){return!!t.q&&KF(t.q,e)}function QP(t){return t.b=RR(lV(t.a),43)}function JP(t){return null!=t.f?t.f:""+t.g}function tD(t){return DB(t.c,t.c.length)}function eD(t,e,n){return t.a*=e,t.b*=n,t}function nD(t,e,n){return t.a+=e,t.b+=n,t}function rD(t,e,n){return t.a-=e,t.b-=n,t}function iD(t,e){return t.a=e.a,t.b=e.b,t}function aD(t){return t.a=-t.a,t.b=-t.b,t}function oD(t){t.d=new UP(t),t.e=new Hb}function sD(){this.a=new yH,this.b=new yH}function uD(t){this.c=t,UJ(t,0),XJ(t,0)}function cD(t){sS.call(this),y1(this,t)}function lD(){S_.call(this,"GROW_TREE",0)}function hD(t,e,n){MK.call(this,t,e,n,2)}function fD(t,e){XS(),AP.call(this,t,e)}function dD(t,e){qS(),EP.call(this,t,e)}function pD(t,e){qS(),EP.call(this,t,e)}function gD(t,e){qS(),dD.call(this,t,e)}function bD(t,e){vA(),hj.call(this,t,e)}function vD(t,e){vA(),bD.call(this,t,e)}function mD(t,e){vA(),bD.call(this,t,e)}function yD(t,e){vA(),mD.call(this,t,e)}function wD(t,e){vA(),hj.call(this,t,e)}function xD(t,e){vA(),hj.call(this,t,e)}function _D(t,e){vA(),wD.call(this,t,e)}function SD(t,e,n){return bmt(jZ(t,e),n)}function kD(t,e){return P6(t.e,RR(e,48))}function ID(t){return null==t?null:function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g;if(Bbt(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=hK(eoe,q_t,24,4*(0!=(s=h%24)?f+1:f),15,1),c=0,l=0,e=0,n=0,r=0,o=0,i=0,u=0;u<f;u++)e=t[i++],l=(15&(n=t[i++]))<<24>>24,c=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,p=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,g=0==(-128&(r=t[i++]))?r>>6<<24>>24:(r>>6^252)<<24>>24,a[o++]=yae[d],a[o++]=yae[p|c<<4],a[o++]=yae[l<<2|g],a[o++]=yae[63&r];8==s?(c=(3&(e=t[i]))<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,a[o++]=yae[d],a[o++]=yae[c<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[i],l=(15&(n=t[i+1]))<<24>>24,c=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,p=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,a[o++]=yae[d],a[o++]=yae[p|c<<4],a[o++]=yae[l<<2],a[o++]=61);return utt(a,0,a.length)}(t)}function MD(t){return null==t?null:function(t){var e,n,r,i;if(ppt(),null==t)return null;for(r=t.length,e=hK(eoe,q_t,24,2*r,15,1),n=0;n<r;n++)(i=t[n])<0&&(i+=256),e[2*n]=xae[i>>4],e[2*n+1]=xae[15&i];return utt(e,0,e.length)}(t)}function CD(){CD=S,$ne=new wm,new xm}function TD(){TD=S,R3t=new vb("root")}function AD(t,e,n){t.Xc(e).Rb(n)}function ED(t,e,n){wY.call(this,t,e,n,null)}function PD(t,e,n){wY.call(this,t,e,n,null)}function DD(t,e){this.c=t,u_.call(this,t,e)}function OD(t,e){this.a=t,DD.call(this,t,e)}function LD(t,e){this.d=t,Rf(this),this.b=e}function RD(t,e){mK.call(this,t),this.a=e}function ND(t,e){mK.call(this,t),this.a=e}function jD(){D1.call(this),this.Bb|=BSt}function FD(t){null==t.o&&function(t){if(t.pe()){var e=t.c;return e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",void(t.k=e.oe()+"[]")}var n=t.j,r=t.d;r=r.split("/"),t.o=stt(".",[n,stt("$",r)]),t.b=stt(".",[n,stt(".",r)]),t.k=r[r.length-1]}(t)}function BD(t,e){PBt||LR(t.a,e)}function zD(t){return t>8?0:t+1}function $D(t){return aN(null==t||OC(t)),t}function VD(t){return aN(null==t||LC(t)),t}function HD(t){return aN(null==t||RC(t)),t}function WD(t,e){return yz(e,aIt),t.f=e,t}function GD(t,e){return RR(aQ(t.b,e),149)}function UD(t,e){return RR(aQ(t.c,e),227)}function XD(t){return RR(JN(t.a,t.b),286)}function qD(t){return new YM(t.c,t.d+t.a)}function YD(t){return kW(),LT(RR(t,196))}function KD(t,e,n){++t.j,t.Ci(e,t.ji(e,n))}function ZD(t,e,n){++t.j,t.Fi(),cK(t,e,n)}function QD(t,e){e.a?function(t,e){var n,r,i,a;if(!CB(t.a,e.b))throw Jb(new jy("Invalid hitboxes for scanline overlap calculation."));for(a=!1,n=new _O(new cP(new Xf(t.a.a).a).b),i=new Hf(n);pk(i.a.a);)if(r=RR(QP(i.a).ad(),63),u4(e.b,r))sx(t.b.a,e.b,r),a=!0;else if(a)break}(t,e):sP(t.a,e.b)}function JD(t,e){vb.call(this,t),this.a=e}function tO(t){F7.call(this,0,0),this.f=t}function eO(t,e,n){return n=tbt(t,e,3,n)}function nO(t,e,n){return n=tbt(t,e,6,n)}function rO(t,e,n){return n=tbt(t,e,9,n)}function iO(t,e,n){t.Xc(e).Rb(n)}function aO(t,e,n){return Uvt(t.c,t.b,e,n)}function oO(t,e){return(e&Lxt)%t.d.length}function sO(t,e){this.c=t,WQ.call(this,e)}function uO(t,e){this.a=t,Tb.call(this,e)}function cO(t,e){this.a=t,Tb.call(this,e)}function lO(t){this.q=new r.Date(WG(t))}function hO(t){this.a=(k1(t,E_t),new RY(t))}function fO(t){this.a=(k1(t,E_t),new RY(t))}function dO(t){return R2(function(t){return AA(~t.l&kSt,~t.m&kSt,~t.h&ISt)}(NC(t)?a3(t):t))}function pO(t){return String.fromCharCode(t)}function gO(t,e,n){return Aj(t,RR(e,22),n)}function bO(t,e,n){return t.a+=utt(e,0,n),t}function vO(t,e){var n;return n=t.e,t.e=e,n}function mO(t,e){t[ekt].call(t,e)}function yO(t,e){t.a.Tc(t.b,e),++t.b,t.c=-1}function wO(t,e){return yw(new Array(e),t)}function xO(){xO=S,v$t=a9((ott(),lee))}function _O(t){s3.call(this,t,(ZK(),yBt))}function SO(t,e){Ab.call(this,t),this.a=e}function kO(t,e){Ab.call(this,t),this.a=e}function IO(){DO.call(this),this.a=new fx}function MO(){this.d=new fx,this.e=new fx}function CO(){this.n=new fx,this.o=new fx}function TO(){this.b=new fx,this.c=new Vb}function AO(){this.a=new Vb,this.b=new Vb}function EO(){this.a=new le,this.b=new Ev}function PO(){this.a=new Wv,this.c=new De}function DO(){this.n=new sm,this.i=new YT}function OO(){this.a=new Yl,this.b=new ra}function LO(){this.b=new Pv,this.a=new Pv}function RO(){this.a=new Vb,this.d=new Vb}function NO(){this.b=new Kx,this.a=new ho}function jO(){this.b=new Hb,this.a=new Hb}function FO(){FO=S,$Bt=new a,VBt=new a}function BO(t){return!t.a&&(t.a=new w),t.a}function zO(t,e){return t.a+=e.a,t.b+=e.b,t}function $O(t,e){return t.a-=e.a,t.b-=e.b,t}function VO(t,e,n){return n=tbt(t,e,11,n)}function HO(t,e,n,r){dj.call(this,t,e,n,r)}function WO(t,e,n,r){FF.call(this,t,e,n,r)}function GO(t,e){My.call(this,zLt+t+GOt+e)}function UO(t,e){return null==t$(t.a,e,"")}function XO(t){JF(t.e),t.d.b=t.d,t.d.a=t.d}function qO(t){t.b?qO(t.b):t.f.c.xc(t.e,t.d)}function YO(t,e,n,r){FF.call(this,t,e,n,r)}function KO(t,e,n,r){YO.call(this,t,e,n,r)}function ZO(t,e,n,r){zF.call(this,t,e,n,r)}function QO(t,e,n,r){zF.call(this,t,e,n,r)}function JO(t,e,n,r){zF.call(this,t,e,n,r)}function tL(t,e,n,r){QO.call(this,t,e,n,r)}function eL(t,e,n,r){QO.call(this,t,e,n,r)}function nL(t,e,n,r){JO.call(this,t,e,n,r)}function rL(t,e,n,r){eL.call(this,t,e,n,r)}function iL(t,e,n,r){$F.call(this,t,e,n,r)}function aL(t,e,n){this.a=t,DP.call(this,e,n)}function oL(t,e,n){this.c=e,this.b=n,this.a=t}function sL(t,e,n){return t.lastIndexOf(e,n)}function uL(t,e){return t.vj().Ih().Dh(t,e)}function cL(t,e){return t.vj().Ih().Fh(t,e)}function lL(t,e){return wz(t),DC(t)===DC(e)}function hL(t,e){return wz(t),DC(t)===DC(e)}function fL(t,e){return Nx(q7(t.a,e,!1))}function dL(t,e){return Nx(Y7(t.a,e,!1))}function pL(t,e){return t.b.sd(new kk(t,e))}function gL(t){return t.c?mZ(t.c.a,t,0):-1}function bL(t){return t==vte||t==yte||t==mte}function vL(t){this.a=t,Q_(),C2(Date.now())}function mL(t){this.c=t,tT.call(this,f_t,0)}function yL(t,e){this.c=t,SB.call(this,t,e)}function wL(t,e){ER.call(this,t,t.length,e)}function xL(t,e){if(!t)throw Jb(new Ny(e))}function _L(t){CL(),this.a=(mV(),new bw(t))}function SL(t){oR(),this.d=t,this.a=new $b}function kL(){kL=S,Zre=hK(gjt,zxt,1,0,5,1)}function IL(){IL=S,Bne=hK(gjt,zxt,1,0,5,1)}function ML(){ML=S,Qre=hK(gjt,zxt,1,0,5,1)}function CL(){CL=S,new sv((mV(),mV(),YFt))}function TL(t,e){return!!s5(t,e)}function AL(t,e){return zA(e,14)&&_pt(t.c,e)}function EL(t,e,n){return RR(t.c,67).hk(e,n)}function PL(t,e,n){return function(t,e,n){return e.Mk(t.e,t.c,n)}(t,RR(e,330),n)}function DL(t,e,n){return function(t,e,n){var r,i,a;return r=e.Xj(),a=e.bd(),i=r.Vj()?lH(t,4,r,a,null,xvt(t,r,a,zA(r,97)&&0!=(RR(r,17).Bb&BSt)),!0):lH(t,r.Fj()?2:1,r,a,r.uj(),-1,!0),n?n.zi(i):n=i,n}(t,RR(e,330),n)}function OL(t,e){return null==e?null:e6(t.b,e)}function LL(t){return LC(t)?(wz(t),t):t.ke()}function RL(t){return!isNaN(t)&&!isFinite(t)}function NL(t){QA(this),sV(this),W0(this,t)}function jL(t){oA(this),OR(this.c,0,t.Nc())}function FL(t){n$(t.a),dK(t.c,t.b),t.b=null}function BL(){BL=S,cBt=new V,lBt=new H}function zL(t,e){if(!t)throw Jb(new Ny(e))}function $L(t,e){if(!t)throw Jb(new Cy(e))}function VL(t){var e;return(e=new Xv).b=t,e}function HL(t){var e;return(e=new It).e=t,e}function WL(t,e,n){this.d=t,this.b=n,this.a=e}function GL(t,e,n){this.a=t,this.b=e,this.c=n}function UL(t,e,n){this.a=t,this.b=e,this.c=n}function XL(t,e,n){this.a=t,this.b=e,this.c=n}function qL(t,e,n){this.a=t,this.b=e,this.c=n}function YL(t,e,n){this.a=t,this.b=e,this.c=n}function KL(t,e,n){this.a=t,this.b=e,this.c=n}function ZL(t,e,n){this.b=t,this.a=e,this.c=n}function QL(t,e,n){this.b=t,this.a=e,this.c=n}function JL(t,e,n){this.b=t,this.c=e,this.a=n}function tR(t,e,n){this.e=e,this.b=t,this.d=n}function eR(t){dj.call(this,t.d,t.c,t.a,t.b)}function nR(t){dj.call(this,t.d,t.c,t.a,t.b)}function rR(t){return!t.e&&(t.e=new Vb),t.e}function iR(){iR=S,jGt=new pi,FGt=new gi}function aR(){aR=S,pWt=new En,gWt=new Pn}function oR(){oR=S,dwt(),A0t=Qte,E0t=Dte}function sR(t,e,n){this.a=t,this.b=e,this.c=n}function uR(t,e,n){this.a=t,this.b=e,this.c=n}function cR(t,e,n){this.a=t,this.b=e,this.c=n}function lR(t,e,n){this.a=t,this.b=e,this.c=n}function hR(t,e,n){this.a=t,this.b=e,this.c=n}function fR(t,e,n){this.e=t,this.a=e,this.c=n}function dR(t,e){this.c=t,this.a=e,this.b=e-t}function pR(t,e,n){vA(),vH.call(this,t,e,n)}function gR(t,e,n){vA(),Ez.call(this,t,e,n)}function bR(t,e,n){vA(),gR.call(this,t,e,n)}function vR(t,e,n){vA(),gR.call(this,t,e,n)}function mR(t,e,n){vA(),vR.call(this,t,e,n)}function yR(t,e,n){vA(),Ez.call(this,t,e,n)}function wR(t,e,n){vA(),Ez.call(this,t,e,n)}function xR(t,e,n){vA(),yR.call(this,t,e,n)}function _R(t,e,n){vA(),wR.call(this,t,e,n)}function SR(t,e){return wB(t),wB(e),new hN(t,e)}function kR(t,e){return wB(t),wB(e),new l_(t,e)}function IR(t){return MP(0!=t.b),uJ(t,t.a.a)}function MR(t){return MP(0!=t.b),uJ(t,t.c.b)}function CR(t){this.d=t,Rf(this),this.b=function(t){return zA(t,14)?RR(t,14).Wc():t.Ic()}(t.d)}function TR(t,e){this.c=t,this.b=e,this.a=!1}function AR(){this.a=";,;",this.b="",this.c=""}function ER(t,e,n){mF.call(this,e,n),this.a=t}function PR(t,e,n){this.b=t,QC.call(this,e,n)}function DR(t,e,n){this.c=t,sk.call(this,e,n)}function OR(t,e,n){pct(n,0,t,e,n.length,!1)}function LR(t,e){return t.c[t.c.length]=e,!0}function RR(t,e){return aN(null==t||Get(t,e)),t}function NR(t){var e;return iQ(e=new Vb,t),e}function jR(t){var e;return B0(e=new sS,t),e}function FR(t){var e;return B0(e=new Bv,t),e}function BR(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function zR(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function $R(t,e,n,r,i){t.b=e,t.c=n,t.d=r,t.a=i}function VR(t,e,n,r,i){t.d=e,t.c=n,t.a=r,t.b=i}function HR(t,e,n,r,i){t.c=e,t.d=n,t.b=r,t.a=i}function WR(t,e){return function(t){var e;(e=r.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=e,t.b/=e)}(t),t.a*=e,t.b*=e,t}function GR(t){return new YM(t.c+t.b,t.d+t.a)}function UR(t){return null!=t&&!B9(t,nre,rre)}function XR(t){return xS(),hK(gjt,zxt,1,t,5,1)}function qR(t,e){return(N8(t)<<4|N8(e))&Y_t}function YR(t,e){var n;t.n&&(n=e,LR(t.f,n))}function KR(t,e,n){pQ(t,e,new xB(n))}function ZR(t,e,n){this.a=t,hT.call(this,e,n)}function QR(t,e,n){this.a=t,hT.call(this,e,n)}function JR(t,e,n){Uk.call(this,t,e),this.b=n}function tN(t,e,n){kC.call(this,t,e),this.c=n}function eN(t,e,n){kC.call(this,t,e),this.c=n}function nN(t){ML(),mu.call(this),this.oh(t)}function rN(){EY(),Vz.call(this,(QS(),pre))}function iN(){iN=S,mV(),Pie=new Zf(fNt)}function aN(t){if(!t)throw Jb(new Ry(null))}function oN(t){if(t.c.e!=t.a)throw Jb(new Sv)}function sN(t){if(t.e.c!=t.b)throw Jb(new Sv)}function uN(t){return bxt(),new mj(0,t)}function cN(t){Kwt(),this.a=new Jy,Z2(this,t)}function lN(t){this.b=t,this.a=uF(this.b.a).Ed()}function hN(t,e){this.b=t,this.a=e,Ll.call(this)}function fN(t,e){this.a=t,this.b=e,Ll.call(this)}function dN(){this.b=Dy(VD(bet((fdt(),BVt))))}function pN(){pN=S,new Jet((Vm(),Ijt),($m(),kjt))}function gN(){gN=S,pFt=hK(bFt,u_t,20,256,0,1)}function bN(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function vN(t,e){return jX(t,e,t.c.b,t.c),!0}function mN(t,e){return t.g=e<0?-1:e,t}function yN(t,e){mF.call(this,e,1040),this.a=t}function wN(t,e){return R2(rht(NC(t)?a3(t):t,e))}function xN(t,e){return R2(wst(NC(t)?a3(t):t,e))}function _N(t,e){return R2(function(t,e){var n,r,i,a;e&=63,n=t.h&ISt,e<22?(a=n>>>e,i=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(a=0,i=n>>>e-22,r=t.m>>e-22|t.h<<44-e):(a=0,i=0,r=n>>>e-44);return AA(r&kSt,i&kSt,a&ISt)}(NC(t)?a3(t):t,e))}function SN(t,e){return sat(t,new Uk(e.a,e.b))}function kN(t){return 0==t||isNaN(t)?t:t<0?-1:1}function IN(t){return t.b.c.length-t.e.c.length}function MN(t){return t.e.c.length-t.g.c.length}function CN(t){return t.e.c.length+t.g.c.length}function TN(t){var e;return e=t.n,t.a.b+e.d+e.a}function AN(t){var e;return e=t.n,t.e.b+e.d+e.a}function EN(t){var e;return e=t.n,t.e.a+e.b+e.c}function PN(t,e,n){!function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;null==(y=oz(t.e,r))&&(d=RR(y=new cy,185),f=new xB(e+"_s"+i),pQ(d,TOt,f));m=RR(y,185),Sz(n,m),xV(x=new cy,"x",r.j),xV(x,"y",r.k),pQ(m,POt,x),xV(b=new cy,"x",r.b),xV(b,"y",r.c),pQ(m,"endPoint",b),h=r_((!r.a&&(r.a=new fE(Jee,r,5)),r.a)),!h&&(a=new ib(g=new df),yq((!r.a&&(r.a=new fE(Jee,r,5)),r.a),a),pQ(m,xOt,g));u=mnt(r),!!u&&xot(t.a,m,SOt,Sut(t,mnt(r))),p=ynt(r),!!p&&xot(t.a,m,_Ot,Sut(t,ynt(r))),c=0==(!r.e&&(r.e=new nL(ine,r,10,9)),r.e).i,!c&&(o=new cC(t,v=new df),yq((!r.e&&(r.e=new nL(ine,r,10,9)),r.e),o),pQ(m,IOt,v));l=0==(!r.g&&(r.g=new nL(ine,r,9,10)),r.g).i,!l&&(s=new lC(t,w=new df),yq((!r.g&&(r.g=new nL(ine,r,9,10)),r.g),s),pQ(m,kOt,w))}(t.a,t.b,t.c,RR(e,201),n)}function DN(t,e,n,r){Z1.call(this,t,e,n,r,0,0)}function ON(t,e){CC.call(this,t,e),this.a=this}function LN(t){ML(),nN.call(this,t),this.a=-1}function RN(t,e){return++t.j,t.Oi(e)}function NN(t,e){var n;return(n=ez(t,e)).i=2,n}function jN(t,e,n){return t.a=-1,TP(t,e.g,n),t}function FN(t,e,n,r,i,a){return iat(t,e,n,r,i,0,a)}function BN(t,e,n){return new oL(function(t){if(0>=t)return new iS;return function(t){if(0>t)return new iS;return new ND(null,new gq(t+1,t))}(t-1)}(t).Ie(),n,e)}function zN(t){return t.e.Hd().gc()*t.c.Hd().gc()}function $N(t){this.c=t,this.b=this.c.d.tc().Ic()}function VN(t){for(wB(t);t.Ob();)t.Pb(),t.Qb()}function HN(t){zz(),this.a=(mV(),new Zf(wB(t)))}function WN(){$R(this,!1,!1,!1,!1)}function GN(){GN=S,sFt=hK(cFt,u_t,215,256,0,1)}function UN(){UN=S,lFt=hK(hFt,u_t,172,128,0,1)}function XN(){XN=S,vFt=hK(mFt,u_t,162,256,0,1)}function qN(){qN=S,SFt=hK(kFt,u_t,186,256,0,1)}function YN(t){this.a=new aS(t.gc()),W0(this,t)}function KN(t){ud.call(this,new FX),W0(this,t)}function ZN(t){this.c=t,this.a=new oS(this.c.a)}function QN(t){return NC(t)?0|t:Lx(t)}function JN(t,e){return TW(e,t.c.length),t.c[e]}function tj(t,e){return TW(e,t.a.length),t.a[e]}function ej(t,e){return t.a+=utt(e,0,e.length),t}function nj(t,e){return function(t,e){return mtt(a8(mtt(t.a).a,e.a))}(RR(t,162),RR(e,162))}function rj(t){return t.c-RR(JN(t.a,t.b),286).b}function ij(t){return t.q?t.q:(mV(),mV(),KFt)}function aj(t,e){return t?0:r.Math.max(0,e-1)}function oj(t){return t.c?t.c.f:t.e.b}function sj(t){return t.c?t.c.g:t.e.a}function uj(t,e){return null==t.a&&jpt(t),t.a[e]}function cj(t){var e;return(e=fat(t))?cj(e):t}function lj(t,e){xS(),mK.call(this,t),this.a=e}function hj(t,e){vA(),Eb.call(this,e),this.a=t}function fj(t,e,n){this.a=t,fE.call(this,e,n,2)}function dj(t,e,n,r){VR(this,t,e,n,r)}function pj(t){WQ.call(this,t.gc()),QB(this,t)}function gj(t){this.a=t,this.c=new Hb,function(t){var e,n,r,i;for(n=t.a,r=0,i=n.length;r<i;++r)j4(t,e=n[r],(dwt(),Kte)),j4(t,e,Ote)}(this)}function bj(t){this.b=new sS,this.a=t,this.c=-1}function vj(t){DP.call(this,0,0),this.a=t,this.b=0}function mj(t,e){bxt(),Bb.call(this,t),this.a=e}function yj(t,e){return bxt(),new _B(t,e)}function wj(t,e){return null==t?null==e:hL(t,e)}function xj(t){return Array.isArray(t)&&t.dm===_}function _j(t){t.b?_j(t.b):t.d.dc()&&t.f.c.zc(t.e)}function Sj(t){if(t.e.j!=t.d)throw Jb(new Sv)}function kj(){this.d=new YM(0,0),this.e=new Pv}function Ij(){Ij=S,Ajt=new vj(hK(gjt,zxt,1,0,5,1))}function Mj(){Mj=S,jee=new lA((fxt(),D9t),0)}function Cj(t,e,n){W5(0,e,t.length),hZ(t,0,e,n)}function Tj(t,e,n){WH(e,t.c.length),nM(t.c,e,n)}function Aj(t,e,n){return l0(t.a,e),lB(t,e.g,n)}function Ej(t){return NC(t)?""+t:wpt(t)}function Pj(t,e){return!t&&(t=[]),t[t.length]=e,t}function Dj(t,e){var n;return E4(n=a9(t),e),n}function Oj(t,e,n){var r;for(r=0;r<e;++r)t[r]=n}function Lj(t,e,n){var r;t&&((r=t.i).d=e,r.a=n)}function Rj(t,e,n){var r;t&&((r=t.i).c=e,r.b=n)}function Nj(t,e){return zA(e,22)&&oP(t,RR(e,22))}function jj(t,e){return zA(e,22)&&function(t,e){if(e&&t.b[e.g]==e)return nz(t.b,e.g,null),--t.c,!0;return!1}(t,RR(e,22))}function Fj(t){return Ght(t,26)*nkt+Ght(t,27)*rkt}function Bj(t,e){return function(t,e,n){return xZ(t,new wd(e),new ot,new xd(n),X3(uw(FBt,1),P_t,132,0,[]))}(new W,new bd(t),e)}function zj(t,e){$j(t,$O(new YM(e.a,e.b),t.c))}function $j(t,e){zO(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function Vj(t,e){this.b=new sS,this.a=t,this.c=e}function Hj(t,e){this.a=new Vb,this.d=t,this.e=e}function Wj(){_W(),this.e=new sS,this.d=new sS}function Gj(){kW(),this.k=new Hb,this.d=new Pv}function Uj(){this.d=new bt,this.e=new LV(this)}function Xj(){this.b=new Me,this.c=new RV(this)}function qj(t,e){if(t<0||t>=e)throw Jb(new rm)}function Yj(t,e){return function(t){var e;return t.b||function(t,e){t.c=e,t.b=!0}(t,(e=function(t,e){return e.Ch(t.a)}(t.e,t.a),!e||!hL(UPt,M7((!e.b&&(e.b=new hD((mxt(),Wre),oie,e)),e.b),"qualified")))),t.c}(jZ(t,e))?e.Lh():null}function Kj(t,e,n){return n=tbt(t,RR(e,48),7,n)}function Zj(t,e,n){return n=tbt(t,RR(e,48),3,n)}function Qj(t,e,n){return t.a=-1,TP(t,e.g+1,n),t}function Jj(t,e,n){this.a=t,dE.call(this,e,n,22)}function tF(t,e,n){this.a=t,dE.call(this,e,n,14)}function eF(t,e,n,r){vA(),NG.call(this,t,e,n,r)}function nF(t,e,n,r){vA(),NG.call(this,t,e,n,r)}function rF(t,e,n,r){this.a=t,wY.call(this,t,e,n,r)}function iF(t){ik(),this.a=0,this.b=t-1,this.c=1}function aF(t){return bxt(),new bH(10,t,0)}function oF(t){return t.i||(t.i=t.bc())}function sF(t){return t.c||(t.c=t.Dd())}function uF(t){return t.c?t.c:t.c=t.Id()}function cF(t){return t.d?t.d:t.d=t.Jd()}function lF(t,e){return wB(e),t.a.Ad(e)&&!t.b.Ad(e)}function hF(t){return null!=t&&QF(t)&&!(t.dm===_)}function fF(t){return!Array.isArray(t)&&t.dm===_}function dF(t){return t.Oc(hK(gjt,zxt,1,t.gc(),5,1))}function pF(t,e){return function(t,e){return _P(),t==e?0:t?1:-1}((wz(t),t),(wz(e),e))}function gF(t,e){return j8((wz(t),t),(wz(e),e))}function bF(t,e){return A5(t,e)<0?-1:A5(t,e)>0?1:0}function vF(t,e){this.e=t,this.d=0!=(64&e)?e|c_t:e}function mF(t,e){this.c=0,this.d=t,this.b=64|e|c_t}function yF(t){this.b=new RY(11),this.a=(yV(),t)}function wF(t){this.b=null,this.a=(yV(),t||JFt)}function xF(t){this.a=(Ij(),Ajt),this.d=RR(wB(t),49)}function _F(t){t?frt(t,(Q_(),CFt),""):Q_()}function SF(t){return f2(),0!=RR(t,11).e.c.length}function kF(t){return f2(),0!=RR(t,11).g.c.length}function IF(t,e){return i8(t,(wz(e),new dd(e)))}function MF(t,e){return i8(t,(wz(e),new pd(e)))}function CF(t,e){if(null==t)throw Jb(new By(e))}function TF(t){if(!t)throw Jb(new vv);return t.d}function AF(t){return t.e?vY(t.e):null}function EF(t,e,n){return tpt(),x2(t,e)&&x2(t,n)}function PF(t){return aot(),!t.Fc(Mte)&&!t.Fc(Tte)}function DF(t){return new YM(t.c+t.b/2,t.d+t.a/2)}function OF(t){this.a=Qet(t.a),this.b=new jL(t.b)}function LF(t){this.b=t,LP.call(this,t),UE(this)}function RF(t){this.b=t,NP.call(this,t),XE(this)}function NF(t,e,n,r,i){CK.call(this,t,e,n,r,i,-1)}function jF(t,e,n,r,i){TK.call(this,t,e,n,r,i,-1)}function FF(t,e,n,r){fE.call(this,t,e,n),this.b=r}function BF(t){hC.call(this,t,!1),this.a=!1}function zF(t,e,n,r){tN.call(this,t,e,n),this.b=r}function $F(t,e,n,r){this.b=t,fE.call(this,e,n,r)}function VF(t,e,n){this.a=t,WO.call(this,e,n,5,6)}function HF(t){t.d||(t.d=t.b.Ic(),t.c=t.b.gc())}function WF(t,e){for(wz(e);t.Ob();)e.td(t.Pb())}function GF(t){var e;for(e=t;e.f;)e=e.f;return e}function UF(t,e){var n;return zq(e,n=t.a.gc()),n-e}function XF(t,e,n,r){var i;(i=t.i).i=e,i.a=n,i.b=r}function qF(t,e){return e.fh()?P6(t.b,RR(e,48)):e}function YF(t,e){return hL(t.substr(0,e.length),e)}function KF(t,e){return RC(e)?TV(t,e):!!rH(t.f,e)}function ZF(t){return new xF(new DE(t.a.length,t.a))}function QF(t){return typeof t===Axt||typeof t===Oxt}function JF(t){t.f=new IT(t),t.g=new MT(t),tH(t)}function tB(t){IP(-1!=t.b),tY(t.c,t.a=t.b),t.b=-1}function eB(t,e){this.b=t,hf.call(this,t.b),this.a=e}function nB(t,e,n){rpt(),this.e=t,this.d=e,this.a=n}function rB(t){yA(this),this.g=t,cV(this),this._d()}function iB(t,e){zz(),R_.call(this,t,$6(new $y(e)))}function aB(t,e){return bxt(),new Pz(t,e,0)}function oB(t,e){return bxt(),new Pz(6,t,e)}function sB(t,e,n,r){W5(e,n,t.length),function(t,e,n,r){var i;for(i=e;i<n;++i)t[i]=r}(t,e,n,r)}function uB(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function cB(t,e){return null==t.a.xc(e,t)}function lB(t,e,n){var r;return r=t.b[e],t.b[e]=n,r}function hB(t){var e;return MP(null!=(e=D4(t))),e}function fB(t){var e;return e=function(t){var e;if(null==(e=t.a[t.c-1&t.a.length-1]))return null;return t.c=t.c-1&t.a.length-1,nz(t.a,t.c,null),e}(t),MP(null!=e),e}function dB(t,e,n){return function(t,e,n){if(e<0)throw Jb(new My(BPt+e));e<t.j.c.length?bq(t.j,e,n):(GU(t,e),LR(t.j,n))}(t,e.g,n),l0(t.c,e),t}function pB(t){return!t.j&&function(t,e){t.j=e}(t,function(t,e){var n,r,i,a,o,s,u;if((n=e.Ch(t.a))&&null!=(u=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),lNt)))){for(r=new Vb,o=0,s=(a=xgt(u,"\\w")).length;o<s;++o)hL(i=a[o],"##other")?LR(r,"!##"+Yj(t,bJ(e.Cj()))):hL(i,"##local")?r.c[r.c.length]=null:hL(i,uNt)?LR(r,Yj(t,bJ(e.Cj()))):r.c[r.c.length]=i;return r}return mV(),mV(),YFt}(t.g,t.b)),t.j}function gB(t,e){return!!e&&W0(t,e)}function bB(t,e,n){return cmt(t,RR(e,46),RR(n,167))}function vB(t,e){return RR(sF(uF(t.a)).Xb(e),43).ad()}function mB(t){return new lj(null,function(t,e){return function(t,e){if(0>t||t>e)throw Jb(new cw("fromIndex: 0, toIndex: "+t+ukt+e))}(e,t.length),new yN(t,e)}(t,t.length))}function yB(t){t.a=null,t.e=null,JF(t.b),t.d=0,++t.c}function wB(t){if(null==t)throw Jb(new xv);return t}function xB(t){if(null==t)throw Jb(new xv);this.a=t}function _B(t,e){Bb.call(this,1),this.a=t,this.b=e}function SB(t,e){this.d=t,SE.call(this,t),this.e=e}function kB(t,e,n){this.c=t,this.a=e,mV(),this.b=n}function IB(t){this.d=(wz(t),t),this.a=0,this.c=f_t}function MB(t,e){jX(t.d,e,t.b.b,t.b),++t.a,t.c=null}function CB(t,e){return null==P4(t.a,e,(_P(),rFt))}function TB(t,e){FA(t,zA(e,152)?e:RR(e,1909).bl())}function AB(t,e){uS(S$(t.Mc(),new Li),new Bp(e))}function EB(t,e){return t.c?EB(t.c,e):LR(t.b,e),t}function PB(t,e,n){var r;return r=cQ(t,e),bX(t,e,n),r}function DB(t,e){return HK(t.slice(0,e),t)}function OB(t,e,n){var r;for(r=0;r<e;++r)nz(t,r,n)}function LB(t,e,n,r,i){for(;e<n;)r[i++]=d$(t,e++)}function RB(t,e,n,r,i){Mat(t,RR(Kq(e.k,n),14),n,r,i)}function NB(t){t.s=NaN,t.c=NaN,Blt(t,t.e),Blt(t,t.j)}function jB(t){return r.Math.abs(t.d.e-t.e.e)-t.a}function FB(t){MO.call(this),this.a=t,LR(t.a,this)}function BB(t,e){this.d=function(t){switch(t){case 0:return new gm;case 1:return new dm;case 2:return new pm;default:throw Jb(new yv)}}(t),this.c=e,this.a=.5*e}function zB(){FX.call(this),this.a=!0,this.b=!0}function $B(){$B=S,qjt=new uf(!1),Yjt=new uf(!0)}function VB(){var t;VB=S,rk(),kre=yie?RR(Vht((QS(),pre),LRt),1911):(pT(Sjt,new Sc),pT(lre,new Ku),pT(sre,new sc),pT(fre,new mc),pT(hre,new kc),pT(dre,new Ic),pT(gre,new Mc),pT(bre,new Cc),pT(one,new Tc),pT(ane,new zu),pT(sne,new $u),pT(Zee,new Vu),pT(mre,new Hu),pT(une,new Wu),pT(yre,new Gu),pT(wre,new Uu),pT(cre,new Xu),pT(ure,new qu),pT(oie,new Yu),pT(vre,new Zu),pT(qre,new Qu),pT(oFt,new Ju),pT(uw(aoe,1),new tc),pT(cFt,new ec),pT(hFt,new nc),pT(Xjt,new rc),pT(loe,new ic),pT(fFt,new ac),pT(Ene,new oc),pT(Hne,new uc),pT(Cie,new cc),pT(Kre,new lc),pT(dFt,new hc),pT(bFt,new fc),pT(bjt,new dc),pT(mFt,new pc),pT(yjt,new gc),pT(wie,new bc),pT(hoe,new vc),pT(kFt,new yc),pT(MFt,new wc),pT(Dne,new xc),pT(foe,new _c),t=RR(zA(IH((QS(),pre),LRt),540)?IH(pre,LRt):new Gz,540),yie=!0,function(t){t.gb||(t.gb=!0,t.b=t3(t,0),R0(t.b,18),N0(t.b,19),t.a=t3(t,1),R0(t.a,1),N0(t.a,2),N0(t.a,3),N0(t.a,4),N0(t.a,5),t.o=t3(t,2),R0(t.o,8),R0(t.o,9),N0(t.o,10),N0(t.o,11),N0(t.o,12),N0(t.o,13),N0(t.o,14),N0(t.o,15),N0(t.o,16),N0(t.o,17),N0(t.o,18),N0(t.o,19),N0(t.o,20),N0(t.o,21),N0(t.o,22),N0(t.o,23),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),YQ(t.o),t.p=t3(t,3),R0(t.p,2),R0(t.p,3),R0(t.p,4),R0(t.p,5),N0(t.p,6),N0(t.p,7),YQ(t.p),YQ(t.p),t.q=t3(t,4),R0(t.q,8),t.v=t3(t,5),N0(t.v,9),YQ(t.v),YQ(t.v),YQ(t.v),t.w=t3(t,6),R0(t.w,2),R0(t.w,3),R0(t.w,4),N0(t.w,5),t.B=t3(t,7),N0(t.B,1),YQ(t.B),YQ(t.B),YQ(t.B),t.Q=t3(t,8),N0(t.Q,0),YQ(t.Q),t.R=t3(t,9),R0(t.R,1),t.S=t3(t,10),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),YQ(t.S),t.T=t3(t,11),N0(t.T,10),N0(t.T,11),N0(t.T,12),N0(t.T,13),N0(t.T,14),YQ(t.T),YQ(t.T),t.U=t3(t,12),R0(t.U,2),R0(t.U,3),N0(t.U,4),N0(t.U,5),N0(t.U,6),N0(t.U,7),YQ(t.U),t.V=t3(t,13),N0(t.V,10),t.W=t3(t,14),R0(t.W,18),R0(t.W,19),R0(t.W,20),N0(t.W,21),N0(t.W,22),N0(t.W,23),t.bb=t3(t,15),R0(t.bb,10),R0(t.bb,11),R0(t.bb,12),R0(t.bb,13),R0(t.bb,14),R0(t.bb,15),R0(t.bb,16),N0(t.bb,17),YQ(t.bb),YQ(t.bb),t.eb=t3(t,16),R0(t.eb,2),R0(t.eb,3),R0(t.eb,4),R0(t.eb,5),R0(t.eb,6),R0(t.eb,7),N0(t.eb,8),N0(t.eb,9),t.ab=t3(t,17),R0(t.ab,0),R0(t.ab,1),t.H=t3(t,18),N0(t.H,0),N0(t.H,1),N0(t.H,2),N0(t.H,3),N0(t.H,4),N0(t.H,5),YQ(t.H),t.db=t3(t,19),N0(t.db,2),t.c=e3(t,20),t.d=e3(t,21),t.e=e3(t,22),t.f=e3(t,23),t.i=e3(t,24),t.g=e3(t,25),t.j=e3(t,26),t.k=e3(t,27),t.n=e3(t,28),t.r=e3(t,29),t.s=e3(t,30),t.t=e3(t,31),t.u=e3(t,32),t.fb=e3(t,33),t.A=e3(t,34),t.C=e3(t,35),t.D=e3(t,36),t.F=e3(t,37),t.G=e3(t,38),t.I=e3(t,39),t.J=e3(t,40),t.L=e3(t,41),t.M=e3(t,42),t.N=e3(t,43),t.O=e3(t,44),t.P=e3(t,45),t.X=e3(t,46),t.Y=e3(t,47),t.Z=e3(t,48),t.$=e3(t,49),t._=e3(t,50),t.cb=e3(t,51),t.K=e3(t,52))}(t),function(t){var e,n,r,i,a,o,s;t.hb||(t.hb=!0,D0(t,"ecore"),O0(t,"ecore"),L0(t,LRt),D3(t.fb,"E"),D3(t.L,"T"),D3(t.P,"K"),D3(t.P,"V"),D3(t.cb,"E"),EK(KV(t.b),t.bb),EK(KV(t.a),t.Q),EK(KV(t.o),t.p),EK(KV(t.p),t.R),EK(KV(t.q),t.p),EK(KV(t.v),t.q),EK(KV(t.w),t.R),EK(KV(t.B),t.Q),EK(KV(t.R),t.Q),EK(KV(t.T),t.eb),EK(KV(t.U),t.R),EK(KV(t.V),t.eb),EK(KV(t.W),t.bb),EK(KV(t.bb),t.eb),EK(KV(t.eb),t.R),EK(KV(t.db),t.R),zG(t.b,lre,ZLt,!1,!1,!0),G0(RR(sJ(kV(t.b),0),32),t.e,"iD",null,0,1,lre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.b),1),17),t.q,null,"eAttributeType",1,1,lre,!0,!0,!1,!1,!0,!1,!0),zG(t.a,sre,qLt,!1,!1,!0),G0(RR(sJ(kV(t.a),0),32),t._,cOt,null,0,1,sre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.a),1),17),t.ab,null,"details",0,-1,sre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.a),2),17),t.Q,RR(sJ(kV(t.Q),0),17),"eModelElement",0,1,sre,!0,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.a),3),17),t.S,null,"contents",0,-1,sre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.a),4),17),t.S,null,"references",0,-1,sre,!1,!1,!0,!1,!0,!1,!1),zG(t.o,fre,"EClass",!1,!1,!0),G0(RR(sJ(kV(t.o),0),32),t.e,"abstract",null,0,1,fre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.o),1),32),t.e,"interface",null,0,1,fre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.o),2),17),t.o,null,"eSuperTypes",0,-1,fre,!1,!1,!0,!1,!0,!0,!1),Rrt(RR(sJ(kV(t.o),3),17),t.T,RR(sJ(kV(t.T),0),17),"eOperations",0,-1,fre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.o),4),17),t.b,null,"eAllAttributes",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),5),17),t.W,null,"eAllReferences",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),6),17),t.W,null,"eReferences",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),7),17),t.b,null,"eAttributes",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),8),17),t.W,null,"eAllContainments",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),9),17),t.T,null,"eAllOperations",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),10),17),t.bb,null,"eAllStructuralFeatures",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),11),17),t.o,null,"eAllSuperTypes",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.o),12),17),t.b,null,"eIDAttribute",0,1,fre,!0,!0,!1,!1,!1,!1,!0),Rrt(RR(sJ(kV(t.o),13),17),t.bb,RR(sJ(kV(t.bb),7),17),"eStructuralFeatures",0,-1,fre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.o),14),17),t.H,null,"eGenericSuperTypes",0,-1,fre,!1,!1,!0,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.o),15),17),t.H,null,"eAllGenericSuperTypes",0,-1,fre,!0,!0,!1,!1,!0,!1,!0),Brt(s=S1(RR(sJ(SV(t.o),0),58),t.e,"isSuperTypeOf"),t.o,"someClass"),S1(RR(sJ(SV(t.o),1),58),t.I,"getFeatureCount"),Brt(s=S1(RR(sJ(SV(t.o),2),58),t.bb,FRt),t.I,"featureID"),Brt(s=S1(RR(sJ(SV(t.o),3),58),t.I,BRt),t.bb,zRt),Brt(s=S1(RR(sJ(SV(t.o),4),58),t.bb,FRt),t._,"featureName"),S1(RR(sJ(SV(t.o),5),58),t.I,"getOperationCount"),Brt(s=S1(RR(sJ(SV(t.o),6),58),t.T,"getEOperation"),t.I,"operationID"),Brt(s=S1(RR(sJ(SV(t.o),7),58),t.I,$Rt),t.T,VRt),Brt(s=S1(RR(sJ(SV(t.o),8),58),t.T,"getOverride"),t.T,VRt),Brt(s=S1(RR(sJ(SV(t.o),9),58),t.H,"getFeatureType"),t.bb,zRt),zG(t.p,hre,QLt,!0,!1,!0),G0(RR(sJ(kV(t.p),0),32),t._,"instanceClassName",null,0,1,hre,!1,!0,!0,!0,!0,!1),e=z$(t.L),n=hU(),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),Alt(RR(sJ(kV(t.p),1),32),e,"instanceClass",hre,!0,!0,!1,!0),G0(RR(sJ(kV(t.p),2),32),t.M,HRt,null,0,1,hre,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.p),3),32),t._,"instanceTypeName",null,0,1,hre,!1,!0,!0,!0,!0,!1),Rrt(RR(sJ(kV(t.p),4),17),t.U,RR(sJ(kV(t.U),3),17),"ePackage",0,1,hre,!0,!1,!1,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.p),5),17),t.db,null,WRt,0,-1,hre,!1,!1,!0,!0,!0,!1,!1),Brt(s=S1(RR(sJ(SV(t.p),0),58),t.e,GRt),t.M,Axt),S1(RR(sJ(SV(t.p),1),58),t.I,"getClassifierID"),zG(t.q,dre,"EDataType",!1,!1,!0),G0(RR(sJ(kV(t.q),0),32),t.e,"serializable",GPt,0,1,dre,!1,!1,!0,!1,!0,!1),zG(t.v,gre,"EEnum",!1,!1,!0),Rrt(RR(sJ(kV(t.v),0),17),t.w,RR(sJ(kV(t.w),3),17),"eLiterals",0,-1,gre,!1,!1,!0,!0,!1,!1,!1),Brt(s=S1(RR(sJ(SV(t.v),0),58),t.w,URt),t._,zOt),Brt(s=S1(RR(sJ(SV(t.v),1),58),t.w,URt),t.I,uOt),Brt(s=S1(RR(sJ(SV(t.v),2),58),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),zG(t.w,bre,JLt,!1,!1,!0),G0(RR(sJ(kV(t.w),0),32),t.I,uOt,null,0,1,bre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.w),1),32),t.A,"instance",null,0,1,bre,!0,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.w),2),32),t._,"literal",null,0,1,bre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.w),3),17),t.v,RR(sJ(kV(t.v),0),17),"eEnum",0,1,bre,!0,!1,!1,!1,!1,!1,!1),zG(t.B,one,"EFactory",!1,!1,!0),Rrt(RR(sJ(kV(t.B),0),17),t.U,RR(sJ(kV(t.U),2),17),"ePackage",1,1,one,!0,!1,!0,!1,!1,!1,!1),Brt(s=S1(RR(sJ(SV(t.B),0),58),t.S,"create"),t.o,"eClass"),Brt(s=S1(RR(sJ(SV(t.B),1),58),t.M,"createFromString"),t.q,"eDataType"),Brt(s,t._,"literalValue"),Brt(s=S1(RR(sJ(SV(t.B),2),58),t._,"convertToString"),t.q,"eDataType"),Brt(s,t.M,"instanceValue"),zG(t.Q,ane,jDt,!0,!1,!0),Rrt(RR(sJ(kV(t.Q),0),17),t.a,RR(sJ(kV(t.a),2),17),"eAnnotations",0,-1,ane,!1,!1,!0,!0,!1,!1,!1),Brt(s=S1(RR(sJ(SV(t.Q),0),58),t.a,"getEAnnotation"),t._,cOt),zG(t.R,sne,FDt,!0,!1,!0),G0(RR(sJ(kV(t.R),0),32),t._,zOt,null,0,1,sne,!1,!1,!0,!1,!0,!1),zG(t.S,Zee,"EObject",!1,!1,!0),S1(RR(sJ(SV(t.S),0),58),t.o,"eClass"),S1(RR(sJ(SV(t.S),1),58),t.e,"eIsProxy"),S1(RR(sJ(SV(t.S),2),58),t.X,"eResource"),S1(RR(sJ(SV(t.S),3),58),t.S,"eContainer"),S1(RR(sJ(SV(t.S),4),58),t.bb,"eContainingFeature"),S1(RR(sJ(SV(t.S),5),58),t.W,"eContainmentFeature"),s=S1(RR(sJ(SV(t.S),6),58),null,"eContents"),e=z$(t.fb),n=z$(t.S),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),!!(i=dot(s,e,null))&&i.Ai(),s=S1(RR(sJ(SV(t.S),7),58),null,"eAllContents"),e=z$(t.cb),n=z$(t.S),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),!!(a=dot(s,e,null))&&a.Ai(),s=S1(RR(sJ(SV(t.S),8),58),null,"eCrossReferences"),e=z$(t.fb),n=z$(t.S),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),!!(o=dot(s,e,null))&&o.Ai(),Brt(s=S1(RR(sJ(SV(t.S),9),58),t.M,"eGet"),t.bb,zRt),Brt(s=S1(RR(sJ(SV(t.S),10),58),t.M,"eGet"),t.bb,zRt),Brt(s,t.e,"resolve"),Brt(s=S1(RR(sJ(SV(t.S),11),58),null,"eSet"),t.bb,zRt),Brt(s,t.M,"newValue"),Brt(s=S1(RR(sJ(SV(t.S),12),58),t.e,"eIsSet"),t.bb,zRt),Brt(s=S1(RR(sJ(SV(t.S),13),58),null,"eUnset"),t.bb,zRt),Brt(s=S1(RR(sJ(SV(t.S),14),58),t.M,"eInvoke"),t.T,VRt),e=z$(t.fb),n=hU(),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),eat(s,e,"arguments"),function(t,e){EK((!t.a&&(t.a=new cO(t,t)),t.a),e)}(s,t.K),zG(t.T,mre,eRt,!1,!1,!0),Rrt(RR(sJ(kV(t.T),0),17),t.o,RR(sJ(kV(t.o),3),17),XRt,0,1,mre,!0,!1,!1,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.T),1),17),t.db,null,WRt,0,-1,mre,!1,!1,!0,!0,!0,!1,!1),Rrt(RR(sJ(kV(t.T),2),17),t.V,RR(sJ(kV(t.V),0),17),"eParameters",0,-1,mre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.T),3),17),t.p,null,"eExceptions",0,-1,mre,!1,!1,!0,!1,!0,!0,!1),Rrt(RR(sJ(kV(t.T),4),17),t.H,null,"eGenericExceptions",0,-1,mre,!1,!1,!0,!0,!1,!0,!1),S1(RR(sJ(SV(t.T),0),58),t.I,$Rt),Brt(s=S1(RR(sJ(SV(t.T),1),58),t.e,"isOverrideOf"),t.T,"someOperation"),zG(t.U,une,"EPackage",!1,!1,!0),G0(RR(sJ(kV(t.U),0),32),t._,"nsURI",null,0,1,une,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.U),1),32),t._,"nsPrefix",null,0,1,une,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.U),2),17),t.B,RR(sJ(kV(t.B),0),17),"eFactoryInstance",1,1,une,!0,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.U),3),17),t.p,RR(sJ(kV(t.p),4),17),"eClassifiers",0,-1,une,!1,!1,!0,!0,!0,!1,!1),Rrt(RR(sJ(kV(t.U),4),17),t.U,RR(sJ(kV(t.U),5),17),"eSubpackages",0,-1,une,!1,!1,!0,!0,!0,!1,!1),Rrt(RR(sJ(kV(t.U),5),17),t.U,RR(sJ(kV(t.U),4),17),"eSuperPackage",0,1,une,!0,!1,!1,!1,!0,!1,!1),Brt(s=S1(RR(sJ(SV(t.U),0),58),t.p,"getEClassifier"),t._,zOt),zG(t.V,yre,nRt,!1,!1,!0),Rrt(RR(sJ(kV(t.V),0),17),t.T,RR(sJ(kV(t.T),2),17),"eOperation",0,1,yre,!0,!1,!1,!1,!1,!1,!1),zG(t.W,wre,rRt,!1,!1,!0),G0(RR(sJ(kV(t.W),0),32),t.e,"containment",null,0,1,wre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.W),1),32),t.e,"container",null,0,1,wre,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.W),2),32),t.e,"resolveProxies",GPt,0,1,wre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.W),3),17),t.W,null,"eOpposite",0,1,wre,!1,!1,!0,!1,!0,!1,!1),Rrt(RR(sJ(kV(t.W),4),17),t.o,null,"eReferenceType",1,1,wre,!0,!0,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.W),5),17),t.b,null,"eKeys",0,-1,wre,!1,!1,!0,!1,!0,!1,!1),zG(t.bb,cre,KLt,!0,!1,!0),G0(RR(sJ(kV(t.bb),0),32),t.e,"changeable",GPt,0,1,cre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),1),32),t.e,"volatile",null,0,1,cre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),2),32),t.e,"transient",null,0,1,cre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),3),32),t._,"defaultValueLiteral",null,0,1,cre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),4),32),t.M,HRt,null,0,1,cre,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.bb),5),32),t.e,"unsettable",null,0,1,cre,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.bb),6),32),t.e,"derived",null,0,1,cre,!1,!1,!0,!1,!0,!1),Rrt(RR(sJ(kV(t.bb),7),17),t.o,RR(sJ(kV(t.o),13),17),XRt,0,1,cre,!0,!1,!1,!1,!1,!1,!1),S1(RR(sJ(SV(t.bb),0),58),t.I,BRt),s=S1(RR(sJ(SV(t.bb),1),58),null,"getContainerClass"),e=z$(t.L),n=hU(),EK((!e.d&&(e.d=new fE(vre,e,1)),e.d),n),!!(r=dot(s,e,null))&&r.Ai(),zG(t.eb,ure,YLt,!0,!1,!0),G0(RR(sJ(kV(t.eb),0),32),t.e,"ordered",GPt,0,1,ure,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.eb),1),32),t.e,"unique",GPt,0,1,ure,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.eb),2),32),t.I,"lowerBound",null,0,1,ure,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.eb),3),32),t.I,"upperBound","1",0,1,ure,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.eb),4),32),t.e,"many",null,0,1,ure,!0,!0,!1,!1,!0,!0),G0(RR(sJ(kV(t.eb),5),32),t.e,"required",null,0,1,ure,!0,!0,!1,!1,!0,!0),Rrt(RR(sJ(kV(t.eb),6),17),t.p,null,"eType",0,1,ure,!1,!0,!0,!1,!0,!0,!1),Rrt(RR(sJ(kV(t.eb),7),17),t.H,null,"eGenericType",0,1,ure,!1,!0,!0,!0,!1,!0,!1),zG(t.ab,Sjt,"EStringToStringMapEntry",!1,!1,!1),G0(RR(sJ(kV(t.ab),0),32),t._,"key",null,0,1,Sjt,!1,!1,!0,!1,!0,!1),G0(RR(sJ(kV(t.ab),1),32),t._,uOt,null,0,1,Sjt,!1,!1,!0,!1,!0,!1),zG(t.H,vre,tRt,!1,!1,!0),Rrt(RR(sJ(kV(t.H),0),17),t.H,null,"eUpperBound",0,1,vre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.H),1),17),t.H,null,"eTypeArguments",0,-1,vre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.H),2),17),t.p,null,"eRawType",1,1,vre,!0,!1,!1,!1,!0,!1,!0),Rrt(RR(sJ(kV(t.H),3),17),t.H,null,"eLowerBound",0,1,vre,!1,!1,!0,!0,!1,!1,!1),Rrt(RR(sJ(kV(t.H),4),17),t.db,null,"eTypeParameter",0,1,vre,!1,!1,!0,!1,!1,!1,!1),Rrt(RR(sJ(kV(t.H),5),17),t.p,null,"eClassifier",0,1,vre,!1,!1,!0,!1,!0,!1,!1),Brt(s=S1(RR(sJ(SV(t.H),0),58),t.e,GRt),t.M,Axt),zG(t.db,qre,iRt,!1,!1,!0),Rrt(RR(sJ(kV(t.db),0),17),t.H,null,"eBounds",0,-1,qre,!1,!1,!0,!0,!1,!1,!1),v$(t.c,VFt,"EBigDecimal",!0),v$(t.d,XFt,"EBigInteger",!0),v$(t.e,roe,"EBoolean",!0),v$(t.f,oFt,"EBooleanObject",!0),v$(t.i,aoe,"EByte",!0),v$(t.g,uw(aoe,1),"EByteArray",!0),v$(t.j,cFt,"EByteObject",!0),v$(t.k,eoe,"EChar",!0),v$(t.n,hFt,"ECharacterObject",!0),v$(t.r,Xjt,"EDate",!0),v$(t.s,loe,"EDiagnosticChain",!1),v$(t.t,ooe,"EDouble",!0),v$(t.u,fFt,"EDoubleObject",!0),v$(t.fb,Ene,"EEList",!1),v$(t.A,Hne,"EEnumerator",!1),v$(t.C,Cie,"EFeatureMap",!1),v$(t.D,Kre,"EFeatureMapEntry",!1),v$(t.F,soe,"EFloat",!0),v$(t.G,dFt,"EFloatObject",!0),v$(t.I,noe,"EInt",!0),v$(t.J,bFt,"EIntegerObject",!0),v$(t.L,bjt,"EJavaClass",!0),v$(t.M,gjt,"EJavaObject",!0),v$(t.N,ioe,"ELong",!0),v$(t.O,mFt,"ELongObject",!0),v$(t.P,yjt,"EMap",!1),v$(t.X,wie,"EResource",!1),v$(t.Y,hoe,"EResourceSet",!1),v$(t.Z,uoe,"EShort",!0),v$(t.$,kFt,"EShortObject",!0),v$(t._,MFt,"EString",!0),v$(t.cb,Dne,"ETreeIterator",!1),v$(t.K,foe,"EInvocationTargetException",!1),x6(t,LRt))}(t),t$((JS(),_re),t,new Bu),mW(pre,LRt,t),t),mxt(),Mre&&function(){var t;for(rk(),function(t){Zht(t.c,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#decimal"])),Zht(t.d,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#integer"])),Zht(t.e,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#boolean"])),Zht(t.f,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EBoolean",zOt,"EBoolean:Object"])),Zht(t.i,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#byte"])),Zht(t.g,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#hexBinary"])),Zht(t.j,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EByte",zOt,"EByte:Object"])),Zht(t.n,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EChar",zOt,"EChar:Object"])),Zht(t.t,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#double"])),Zht(t.u,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EDouble",zOt,"EDouble:Object"])),Zht(t.F,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#float"])),Zht(t.G,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EFloat",zOt,"EFloat:Object"])),Zht(t.I,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#int"])),Zht(t.J,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EInt",zOt,"EInt:Object"])),Zht(t.N,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#long"])),Zht(t.O,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"ELong",zOt,"ELong:Object"])),Zht(t.Z,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#short"])),Zht(t.$,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"EShort",zOt,"EShort:Object"])),Zht(t._,kRt,X3(uw(MFt,1),u_t,2,6,[jRt,"http://www.w3.org/2001/XMLSchema#string"]))}((VB(),kre)),function(t){Zht(t.b,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"ConsistentTransient"])),Zht(t.a,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"WellFormedSourceURI"])),Zht(t.o,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),Zht(t.p,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),Zht(t.v,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),Zht(t.R,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"WellFormedName"])),Zht(t.T,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),Zht(t.U,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),Zht(t.W,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),Zht(t.bb,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"ValidDefaultValueLiteral"])),Zht(t.eb,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),Zht(t.H,LRt,X3(uw(MFt,1),u_t,2,6,[NRt,"ConsistentType ConsistentBounds ConsistentArguments"]))}(kre),Lrt(kre),mxt(),rie=Rre,t=new ed(mie);t.a<t.c.c.length;)Lyt(RR(xG(t),240),Rre,null)}()}function HB(t){return(null==t.i&&Zbt(t),t.i).length}function WB(t){return zA(t,97)&&0!=(RR(t,17).Bb&KDt)}function GB(t){return wB(t),zA(t,469)?RR(t,469):P9(t)}function UB(t){return t.j||(t.j=new jh(t))}function XB(t){return t.j||(t.j=new jh(t))}function qB(t){return t.f||(t.f=new PE(t))}function YB(t,e,n){return bxt(),new cG(t,e,n)}function KB(t,e){return VG(e,t.c.b.c.gc()),new c_(t,e)}function ZB(t,e){return e=t.ik(null,e),uot(t,null,e)}function QB(t,e){return t.ci()&&(e=ZH(t,e)),t.Rh(e)}function JB(t,e){var n;return VG(e,n=t.a.gc()),n-1-e}function tz(t,e,n){var r;return l1(n,r=ez(t,e)),r}function ez(t,e){var n;return(n=new C4).j=t,n.d=e,n}function nz(t,e,n){return function(t){if(!t)throw Jb(new bv)}(null==n||function(t,e){var n;switch(wQ(t)){case 6:return RC(e);case 7:return LC(e);case 8:return OC(e);case 3:return Array.isArray(e)&&!((n=wQ(e))>=14&&n<=16);case 11:return null!=e&&typeof e===Oxt;case 12:return null!=e&&(typeof e===Axt||typeof e==Oxt);case 0:return Get(e,t.__elementTypeId$);case 2:return QF(e)&&!(e.dm===_);case 1:return QF(e)&&!(e.dm===_)||Get(e,t.__elementTypeId$);default:return!0}}(t,n)),t[e]=n}function rz(t,e){return t.a+=String.fromCharCode(e),t}function iz(t,e){return t.a+=String.fromCharCode(e),t}function az(t,e){++t.j,Gat(t,t.i,e),function(t,e){var n,r,i,a;t.j=-1,FT(t.e)?(n=t.i,a=0!=t.i,Gq(t,e),r=new LZ(t.e,3,t.c,null,e,n,a),i=e.Lk(t.e,t.c,null),(i=Sat(t,e,i))?(i.zi(r),i.Ai()):Y2(t.e,r)):(Gq(t,e),(i=e.Lk(t.e,t.c,null))&&i.Ai())}(t,RR(e,330))}function oz(t,e){return RC(e)?IH(t,e):PC(rH(t.f,e))}function sz(t,e){for(wz(e);t.c<t.d;)t.ze(e,t.c++)}function uz(t,e){console[t].call(console,e)}function cz(t){return t.d||(t.d=new qh(t))}function lz(t){return zA(t,594)?t:new gH(t)}function hz(t,e,n,r){return 0==n||(n-r)/n<t.e||e>=t.g}function fz(t,e,n){return qpt(t,k0(t,e,n))}function dz(t){MO.call(this),this.a=new fx,this.c=t}function pz(t){this.b=new Vb,this.a=new Vb,this.c=t}function gz(t){this.a=new Vb,this.c=new Vb,this.e=t}function bz(t){this.c=new fx,this.a=new Vb,this.b=t}function vz(t){this.c=t,this.a=new sS,this.b=new sS}function mz(t){nm(),this.b=new Vb,this.a=t,function(t,e){var n,r,i,a,o;for(n=new gw,o=!1,a=0;a<e.length;a++)if(AW(a,e.length),32!=(r=e.charCodeAt(a)))o?39==r?a+1<e.length&&(AW(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(r),++a):o=!1:n.a+=String.fromCharCode(r):ST("GyMLdkHmsSEcDahKzZv",mot(r))>0?(Det(t,n,0),n.a+=String.fromCharCode(r),Det(t,n,i=xtt(e,a)),a+=i-1):39==r?a+1<e.length&&(AW(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(r);else for(Det(t,n,0),n.a+=" ",Det(t,n,0);a+1<e.length&&(AW(a+1,e.length),32==e.charCodeAt(a+1));)++a;Det(t,n,0),function(t){var e,n,r;for(e=!1,r=t.b.c.length,n=0;n<r;n++)Q4(RR(JN(t.b,n),427))?!e&&n+1<r&&Q4(RR(JN(t.b,n+1),427))&&(e=!0,RR(JN(t.b,n),427).a=!0):e=!1}(t)}(this,t)}function yz(t,e){if(!t)throw Jb(new By(e));return t}function wz(t){if(null==t)throw Jb(new xv);return t}function xz(t){return!t.a&&(t.a=new fE(Zee,t,4)),t.a}function _z(t){return!t.d&&(t.d=new fE(vre,t,1)),t.d}function Sz(t,e){var n;cQ(t,n=t.a.length),bX(t,n,e)}function kz(t,e){var n;++t.j,n=t.Qi(),t.Di(t.ji(n,e))}function Iz(t){return t?t.dc():!t.Ic().Ob()}function Mz(t){return r.Math.sqrt(t.a*t.a+t.b*t.b)}function Cz(t,e){return DC(t)===DC(e)||null!=t&&u8(t,e)}function Tz(t,e,n){this.a=t,qU.call(this,8,e,null,n)}function Az(t,e,n){this.a=t,Ab.call(this,e),this.b=n}function Ez(t,e,n){Eb.call(this,e),this.a=t,this.b=n}function Pz(t,e,n){Bb.call(this,t),this.a=e,this.b=n}function Dz(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function Oz(t){this.c=t,this.b=t.a.d.a,wP(t.a.e,this)}function Lz(t){B$(t.a),t.b=hK(gjt,zxt,1,t.b.length,5,1)}function Rz(t){t.c?t.c.He():(t.d=!0,function(t){var e,n,r,i,a;if(a=new Vb,cJ(t.b,new Ed(a)),t.b.c=hK(gjt,zxt,1,0,5,1),0!=a.c.length){for(TW(0,a.c.length),e=RR(a.c[0],78),n=1,r=a.c.length;n<r;++n)TW(n,a.c.length),(i=RR(a.c[n],78))!=e&&got(e,i);if(zA(e,59))throw Jb(RR(e,59));if(zA(e,288))throw Jb(RR(e,288))}}(t))}function Nz(t){t.c?Nz(t.c):(H8(t),t.d=!0)}function jz(t){return!t.a&&t.c?t.c.b:t.a}function Fz(t){return t.c.i.c==t.d.i.c}function Bz(t,e){return qj(e,t.a.c.length),JN(t.a,e)}function zz(){zz=S,CL(),Mjt=new pH((mV(),mV(),YFt))}function $z(){$z=S,CL(),Rjt=new ck((mV(),mV(),ZFt))}function Vz(t){this.a=(wz(kRt),kRt),this.b=t,new Em}function Hz(t,e){this.b=t,SB.call(this,t,e),UE(this)}function Wz(t,e){this.b=t,yL.call(this,t,e),XE(this)}function Gz(){var t;Pot.call(this,LRt,(Ix(),Sre)),(t=this).b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function Uz(){var t;Pot.call(this,hNt,(Mx(),Fie)),(t=this).b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function Xz(){S_.call(this,"DELAUNAY_TRIANGULATION",0)}function qz(t,e,n,r){__.call(this,t,n),this.a=e,this.f=r}function Yz(t,e,n,r){__.call(this,t,e),this.d=n,this.a=r}function Kz(t,e){TE.call(this,function(t,e){var n;return mV(),n=new aS(1),RC(t)?mW(n,t,e):ect(n.f,t,e),new nd(n)}(wB(t),wB(e))),this.a=e}function Zz(t){return-2==t.c&&function(t,e){t.c=e}(t,function(t,e){var n,r,i;if((n=e.Ch(t.a))&&null!=(i=M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),IRt)))for(r=1;r<(yut(),_ie).length;++r)if(hL(_ie[r],i))return r;return 0}(t.g,t.b)),t.c}function Qz(t){return!t.b&&(t.b=new Db(new Pm)),t.b}function Jz(t,e){return pN(),new Jet(new ZE(t),new KE(e))}function t$(t,e,n){return RC(e)?mW(t,e,n):ect(t.f,e,n)}function e$(t,e,n,r){t.a=BP(t.a,0,e)+""+r+zC(t.a,n)}function n$(t){IP(-1!=t.c),t.d.Yc(t.c),t.b=t.c,t.c=-1}function r$(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function i$(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function a$(t){return!t.a&&(t.a=new vw(t.c.tc())),t.a}function o$(t){return!t.b&&(t.b=new bw(t.c.ec())),t.b}function s$(t){return!t.d&&(t.d=new Qf(t.c.Ac())),t.d}function u$(t,e){var n;return(n=ez("",t)).n=e,n.i=1,n}function c$(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function l$(t,e){return DC(t)===DC(e)||null!=t&&u8(t,e)}function h$(t,e){return Nj(t.a,e)?t.b[RR(e,22).g]:null}function f$(t){return String.fromCharCode.apply(null,t)}function d$(t,e){return AW(e,t.length),t.charCodeAt(e)}function p$(t,e){t.t.Fc((aot(),Mte))&&function(t,e){var n,i,a,o;for(o=RR(h$(t.b,e),121),n=o.a,a=RR(RR(Kq(t.r,e),21),81).Ic();a.Ob();)(i=RR(a.Pb(),110)).c&&(n.a=r.Math.max(n.a,EN(i.c)));if(n.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}(t,e),function(t,e){var n;t.B&&((n=RR(h$(t.b,e),121).n).d=t.B.d,n.a=t.B.a)}(t,e)}function g$(t){return!t.n&&(t.n=new FF(cne,t,1,7)),t.n}function b$(t){return!t.c&&(t.c=new FF(hne,t,9,9)),t.c}function v$(t,e,n,r){return y2(t,e,n,!1),y8(t,r),t}function m$(t,e){c9(t,Dy(a1(e,"x")),Dy(a1(e,"y")))}function y$(t,e){c9(t,Dy(a1(e,"x")),Dy(a1(e,"y")))}function w$(t){return mV(),t?t.ve():(yV(),yV(),eBt)}function x$(){x$=S,Cjt=new oy(X3(uw(Sjt,1),w_t,43,0,[]))}function _$(t,e){return H8(t),new lj(t,new WK(e,t.a))}function S$(t,e){return H8(t),new lj(t,new lY(e,t.a))}function k$(t,e){return H8(t),new RD(t,new cY(e,t.a))}function I$(t,e){return H8(t),new ND(t,new uY(e,t.a))}function M$(t,e,n){!function(t,e){var n,r,i,a,o,s;a=!t.A.Fc((Vgt(),fee)),o=t.A.Fc(gee),t.a=new j7(o,a,t.c),!!t.n&&uV(t.a.n,t.n),gy(t.g,(nJ(),Ezt),t.a),e||((r=new Btt(1,a,t.c)).n.a=t.k,Aj(t.p,(dwt(),Ote),r),(i=new Btt(1,a,t.c)).n.d=t.k,Aj(t.p,Kte,i),(s=new Btt(0,a,t.c)).n.c=t.k,Aj(t.p,Qte,s),(n=new Btt(0,a,t.c)).n.b=t.k,Aj(t.p,Dte,n))}(t,e),cJ(t.e.uf(),new JL(t,e,n))}function C$(t,e){this.b=t,this.c=e,this.a=new oS(this.b)}function T$(t,e,n){this.a=X_t,this.d=t,this.b=e,this.c=n}function A$(t,e){this.d=(wz(t),t),this.a=16449,this.c=e}function E$(t,e,n){!function(t,e){var n,r,i,a;for(function(t){var e;for(e=0;e<t.c.length;e++)(TW(e,t.c.length),RR(t.c[e],11)).p=e}(e.b.j),uS(S$(new lj(null,new ZW(e.d,16)),new ea),new na),a=new ed(e.d);a.a<a.c.c.length;){switch((i=RR(xG(a),101)).e.g){case 0:n=RR(JN(i.j,0),112).d.j,xf(i,RR(lP(MF(RR(Kq(i.k,n),14).Mc(),mUt)),112)),_f(i,RR(lP(IF(RR(Kq(i.k,n),14).Mc(),mUt)),112));break;case 1:r=Grt(i),xf(i,RR(lP(MF(RR(Kq(i.k,r[0]),14).Mc(),mUt)),112)),_f(i,RR(lP(IF(RR(Kq(i.k,r[1]),14).Mc(),mUt)),112));break;case 2:Nut(t,i);break;case 3:Yft(i);break;case 4:edt(t,i)}fJ(i)}t.a=null}(t.a,n),function(t){var e,n;for(function(t){var e,n,r,i,a,o,s,u,c,l,h;n=null,s=null,(i=RR(Bot(t.b,(Zwt(),aQt)),374))==(CY(),G1t)&&(n=new Vb,s=new Vb);for(o=new ed(t.d);o.a<o.c.c.length;)if((a=RR(xG(o),101)).i)switch(a.e.g){case 0:e=RR(mX(new oS(a.b)),61),i==G1t&&e==(dwt(),Ote)?n.c[n.c.length]=a:i==G1t&&e==(dwt(),Kte)?s.c[s.c.length]=a:ort(a,e);break;case 1:u=a.a.d.j,c=a.c.d.j,u==(dwt(),Ote)?XF(a,Ote,(S3(),$Gt),a.a):c==Ote?XF(a,Ote,(S3(),VGt),a.c):u==Kte?XF(a,Kte,(S3(),VGt),a.a):c==Kte&&XF(a,Kte,(S3(),$Gt),a.c);break;case 2:case 3:oP(r=a.b,(dwt(),Ote))?oP(r,Kte)?oP(r,Qte)?oP(r,Dte)||XF(a,Ote,(S3(),VGt),a.c):XF(a,Ote,(S3(),$Gt),a.a):XF(a,Ote,(S3(),zGt),null):XF(a,Kte,(S3(),zGt),null);break;case 4:l=a.a.d.j,h=a.a.d.j,l==(dwt(),Ote)||h==Ote?XF(a,Kte,(S3(),zGt),null):XF(a,Ote,(S3(),zGt),null)}n&&(0==n.c.length||rvt(n,(dwt(),Ote)),0==s.c.length||rvt(s,(dwt(),Kte)))}(t),n=new ed(t.d);n.a<n.c.c.length;)(e=RR(xG(n),101)).i&&Ust(e)}(n),function(t,e){var n,i;n=function(t){var e,n,r,i,a,o,s,u,c,l;for(n=0,s=new ed(t.d);s.a<s.c.c.length;)(o=RR(xG(s),101)).i&&(o.i.c=n++);for(e=FN(roe,[u_t,Zkt],[177,24],16,[n,n],2),l=t.d,i=0;i<l.c.length;i++)if(TW(i,l.c.length),(u=RR(l.c[i],101)).i)for(a=i+1;a<l.c.length;a++)TW(a,l.c.length),(c=RR(l.c[a],101)).i&&(r=kot(u,c),e[u.i.c][c.i.c]=r,e[c.i.c][u.i.c]=r);return e}(e),function(t,e,n){var r,i,a,o,s,u,c;for(c=e.d,t.a=new RY(c.c.length),t.c=new Hb,s=new ed(c);s.a<s.c.c.length;)o=RR(xG(s),101),a=new p3(null),LR(t.a,a),t$(t.c,o,a);for(t.b=new Hb,function(t,e){var n,r,i,a,o,s,u;for(u=e.d,i=e.b.j,s=new ed(u);s.a<s.c.c.length;)for(o=RR(xG(s),101),a=hK(roe,Zkt,24,i.c.length,16,1),t$(t.b,o,a),n=o.a.d.p-1,r=o.c.d.p;n!=r;)a[n=(n+1)%i.c.length]=!0}(t,e),r=0;r<c.c.length-1;r++)for(u=RR(JN(e.d,r),101),i=r+1;i<c.c.length;i++)Cft(t,u,RR(JN(e.d,i),101),n)}(t,e,n),Wat(t.a,RR(Bot(jz(e.b),(dxt(),Wqt)),228)),function(t){var e,n,i,a,o,s;for(o=new sS,a=new ed(t.a);a.a<a.c.c.length;)yf(i=RR(xG(a),111),i.f.c.length),Ef(i,i.k.c.length),0==i.i&&(i.o=0,jX(o,i,o.c.b,o.c));for(;0!=o.b;)for(n=(i=RR(0==o.b?null:(MP(0!=o.b),uJ(o,o.a.a)),111)).o+1,e=new ed(i.f);e.a<e.c.c.length;)Df(s=RR(xG(e),129).a,r.Math.max(s.o,n)),Ef(s,s.i-1),0==s.i&&jX(o,s,o.c.b,o.c)}(t),function(t,e){var n,r,i,a;for(i=new ed(e.d);i.a<i.c.c.length;)for(r=RR(xG(i),101),a=RR(oz(t.c,r),111).o,n=new oS(r.b);n.a<n.c.a.length;)NK(r,RR(mX(n),61),a)}(t,e),i=hK(noe,uSt,24,e.b.j.c.length,15,1),Nyt(t,e,(dwt(),Ote),i,n),Nyt(t,e,Dte,i,n),Nyt(t,e,Kte,i,n),Nyt(t,e,Qte,i,n),t.a=null,t.c=null,t.b=null}(t.b,n),function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(o=e.b,l=o.o,u=o.d,r=Dy(VD(Aet(o,(Zwt(),wJt)))),i=Dy(VD(Aet(o,_Jt))),c=Dy(VD(Aet(o,PJt))),VR(s=new um,u.d,u.c,u.a,u.b),f=function(t,e,n,r){var i,a,o,s,u;for(u=hK(ooe,u_t,103,(dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length,0,2),a=X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte]),o=0,s=a.length;o<s;++o)u[(i=a[o]).g]=hK(ooe,$St,24,t.c[i.g],15,1);return Sit(u,t,Ote),Sit(u,t,Kte),srt(u,t,Ote,e,n,r),srt(u,t,Dte,e,n,r),srt(u,t,Kte,e,n,r),srt(u,t,Qte,e,n,r),u}(e,r,i,c),v=new ed(e.d);v.a<v.c.c.length;){for(p=(b=RR(xG(v),101)).f.a.ec().Ic();p.Ob();)a=(d=RR(p.Pb(),404)).a,h=not(d),m=new vm,Zat(d,d.c,f,m),Jot(d,h,f,m),Zat(d,d.d,f,m),n=m,n=t.Rf(d,h,n),sV(a.a),W0(a.a,n),uS(new lj(null,new ZW(n,16)),new lI(l,s));(g=b.i)&&(Xat(b,g,f,i),Ctt(l,s,y=new uA(g.g)),zO(y,g.j),Ctt(l,s,y))}VR(u,s.d,s.c,s.a,s.b)}(e,n)}function P$(t,e,n,r){S_.call(this,t,e),this.a=n,this.b=r}function D$(t,e,n,r){this.a=t,this.e=e,this.d=n,this.c=r}function O$(t,e,n,r){this.a=t,this.c=e,this.b=n,this.d=r}function L$(t,e,n,r){this.c=t,this.b=e,this.a=n,this.d=r}function R$(t,e,n,r){this.c=t,this.b=e,this.d=n,this.a=r}function N$(t,e,n,r){this.a=t,this.d=e,this.c=n,this.b=r}function j$(t,e,n,r){this.c=t,this.d=e,this.b=n,this.a=r}function F$(t){this.a=new Vb,this.e=hK(noe,u_t,47,t,0,2)}function B$(t){var e;for(e=t.Ic();e.Ob();)e.Pb(),e.Qb()}function z$(t){var e;return mJ(e=new Ub,t),e}function $$(t){var e;return Yot(e=new Ub,t),e}function V$(t){var e;return e=function(t){var e;if(zA(e=Bot(t,(dxt(),Oqt)),160))return s7(RR(e,160));return null}(t),e||null}function H$(t,e){var n,r;return(n=t/e)>(r=CH(n))&&++r,r}function W$(t,e,n){var r;return r=vwt(t),e.Fh(n,r)}function G$(t){return t.e==dNt&&function(t,e){t.e=e}(t,function(t,e){var n,r;if((n=e.Ch(t.a))&&null!=(r=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),zOt))))return r;return e.ne()}(t.g,t.b)),t.e}function U$(t){return t.f==dNt&&function(t,e){t.f=e}(t,function(t,e){var n,r;return(n=e.Ch(t.a))?(r=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),sNt)),hL(uNt,r)?Yj(t,bJ(e.Cj())):r):null}(t.g,t.b)),t.f}function X$(t){return!t.b&&(t.b=new FF(rne,t,12,3)),t.b}function q$(t){if(R9(t.d),t.d.d!=t.c)throw Jb(new Sv)}function Y$(t){return aN(null==t||QF(t)&&!(t.dm===_)),t}function K$(t,e){if(null==t)throw Jb(new By(e));return t}function Z$(t,e){this.a=t,LD.call(this,t,RR(t.d,14).Xc(e))}function Q$(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function J$(t,e,n,r){this.a=t,this.c=e,this.d=n,this.b=r}function tV(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function eV(t,e,n,r){this.a=t,this.b=e,this.c=n,this.d=r}function nV(t,e,n,r){this.e=t,this.a=e,this.c=n,this.d=r}function rV(t,e,n,r){vA(),Uq.call(this,e,n,r),this.a=t}function iV(t,e,n,r){vA(),Uq.call(this,e,n,r),this.a=t}function aV(t,e,n,r){this.b=t,this.c=r,tT.call(this,e,n)}function oV(t){this.f=t,this.c=this.f.e,t.f>0&&Lit(this)}function sV(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function uV(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function cV(t){return t.n&&(t.e!==z_t&&t._d(),t.j=null),t}function lV(t){return MP(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function hV(t,e,n){n.a?XJ(t,e.b-t.f/2):UJ(t,e.a-t.g/2)}function fV(t,e){t.d&&!t.d.a&&(Xb(t.d,e),fV(t.d,e))}function dV(t,e){t.e&&!t.e.a&&(Xb(t.e,e),dV(t.e,e))}function pV(t,e){return Y6(t.j,e.s,e.c)+Y6(e.e,t.s,t.c)}function gV(t,e){new sS,this.a=new vm,this.b=t,this.c=e}function bV(t){this.b=new Vb,R3(this.b,this.b),this.a=t}function vV(){vV=S,hVt=new Vb,lVt=new Hb,cVt=new Vb}function mV(){mV=S,YFt=new P,KFt=new O,ZFt=new L}function yV(){yV=S,JFt=new I,tBt=new I,eBt=new C}function wV(){wV=S,YBt=new dt,ZBt=new Uj,KBt=new pt}function xV(t,e,n){pQ(t,e,new cf(LL(n)))}function _V(t){return!t.a&&(t.a=new FF(lne,t,10,11)),t.a}function SV(t){return!t.q&&(t.q=new FF(mre,t,11,10)),t.q}function kV(t){return!t.s&&(t.s=new FF(cre,t,21,17)),t.s}function IV(){pst(this,new Ch),this.wb=(VB(),kre),Ix()}function MV(t){return zA(t,15)?new YN(RR(t,15)):function(t){var e;return iQ(e=new Pv,t),e}(t.Ic())}function CV(t){return wB(t),Rnt(new xF(zE(t.a.Ic(),new p)))}function TV(t,e){return null==e?!!rH(t.f,null):function(t,e){return!(void 0===t.a.get(e))}(t.g,e)}function AV(t){return mV(),zA(t,53)?new mw(t):new QE(t)}function EV(){var t,e;EV=S,e=!function(){if(Error.stackTraceLimit>0)return r.Error.stackTraceLimit=Error.stackTraceLimit=64,!0;return"stack"in new Error}(),t=new h,Wjt=e?new d:t}function PV(t){Nw(),r.setTimeout((function(){throw t}),0)}function DV(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function OV(t){this.b=t,this.a=new qx(RR(wB(new Qt),62))}function LV(t){this.c=t,this.b=new qx(RR(wB(new gt),62))}function RV(t){this.c=t,this.b=new qx(RR(wB(new Ie),62))}function NV(){this.a=new vm,this.b=(k1(3,E_t),new RY(3))}function jV(t){return t&&t.hashCode?t.hashCode():uP(t)}function FV(t,e){var n;return(n=nE(t.a,e))&&(e.d=null),n}function BV(t,e){return t.a=BP(t.a,0,e)+""+zC(t.a,e+1),t}function zV(t,e,n){return!!t.f&&t.f.Ne(e,n)}function $V(t,e,n,r,i,a){TK.call(this,t,e,n,r,i,a?-2:-1)}function VV(t,e,n,r){kC.call(this,e,n),this.b=t,this.a=r}function HV(t,e){Fm.call(this,new wF(t)),this.a=t,this.b=e}function WV(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function GV(t,e){this.g=t,this.d=X3(uw(ZHt,1),KMt,10,0,[e])}function UV(t,e,n,r,i,a){this.a=t,P1.call(this,e,n,r,i,a)}function XV(t,e,n,r,i,a){this.a=t,P1.call(this,e,n,r,i,a)}function qV(t,e){this.e=t,this.a=gjt,this.b=Upt(e),this.c=e}function YV(){this.b=new Pv,this.d=new sS,this.e=new im}function KV(t){return t.u||($q(t),t.u=new uO(t,t)),t.u}function ZV(t){return RR(n3(t,16),26)||t.uh()}function QV(t,e){var n;return n=Fx(t.bm),null==e?n:n+": "+e}function JV(t,e){var n;return PX(n=t.b.Oc(e),t.b.gc()),n}function tH(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1}function eH(t,e,n){return n>=0&&hL(t.substr(n,e.length),e)}function nH(t,e){return zA(e,146)&&hL(t.b,RR(e,146).og())}function rH(t,e){return i6(t,e,function(t,e){var n;return null==(n=t.a.get(e))?new Array:n}(t,null==e?0:t.b.se(e)))}function iH(t,e){amt(t,RR(_ht(e,(TD(),R3t)),34))}function aH(t,e){!function(t,e){t.a=e}(this,new YM(t.a,t.b)),function(t,e){t.b=e}(this,jR(e))}function oH(){oH=S,I2t=new iM(rIt,0),M2t=new iM(iIt,1)}function sH(){sH=S,X0t=new ZI(iIt,0),U0t=new ZI(rIt,1)}function uH(t,e,n,r){nz(t.c[e.g],n.g,r),nz(t.c[n.g],e.g,r)}function cH(t,e,n,r){nz(t.c[e.g],e.g,n),nz(t.b[e.g],e.g,r)}function lH(t,e,n,r,i,a,o){return new MX(t.e,e,n,r,i,a,o)}function hH(t,e,n,r){return n>=0?t.eh(e,n,r):t.Ng(null,n,r)}function fH(t){return 0==t.b.b?t.a._e():IR(t.b)}function dH(t){return DC(t.a)===DC((d2(),eie))&&function(t){var e,n,r,i,a,o,s,u,c,l;for(e=new wu,n=new wu,c=hL(SRt,(i=abt(t.b,kRt))?HD(M7((!i.b&&(i.b=new hD((mxt(),Wre),oie,i)),i.b),IRt)):null),u=0;u<t.i;++u)zA(s=RR(t.g[u],170),97)?0!=((o=RR(s,17)).Bb&KDt)?(0==(o.Bb&c_t)||!c&&null==((a=abt(o,kRt))?HD(M7((!a.b&&(a.b=new hD((mxt(),Wre),oie,a)),a.b),BOt)):null))&&EK(e,o):(l=wnt(o))&&0!=(l.Bb&KDt)||(0==(o.Bb&c_t)||!c&&null==((r=abt(o,kRt))?HD(M7((!r.b&&(r.b=new hD((mxt(),Wre),oie,r)),r.b),BOt)):null))&&EK(n,o):(ek(),RR(s,65).Jj()&&(s.Ej()||(EK(e,s),EK(n,s))));Y5(e),Y5(n),t.a=RR(e.g,246),RR(n.g,246)}(t),t.a}function pH(t){this.a=(mV(),zA(t,53)?new mw(t):new QE(t))}function gH(t){this.a=RR(wB(t),270),this.b=(mV(),new tP(t))}function bH(t,e,n){bxt(),Bb.call(this,t),this.b=e,this.a=n}function vH(t,e,n){vA(),Eb.call(this,e),this.a=t,this.b=n}function mH(t,e){DO.call(this),_J(this),this.a=t,this.c=e}function yH(){Jm.call(this,new aS(HQ(12))),YA(!0),this.a=2}function wH(t,e){return K$(t,"set1"),K$(e,"set2"),new N_(t,e)}function xH(t,e){if(null==e)throw Jb(new xv);return function(t,e){var n,r=t.a;e=String(e),r.hasOwnProperty(e)&&(n=r[e]);var i=(v4(),Zjt)[typeof n];return i?i(n):B6(typeof n)}(t,e)}function _H(t,e){return gX(e),function(t,e,n){var i,a;return a=t.length,i=r.Math.min(n,a),pct(t,0,e,0,i,!0),e}(t,hK(noe,uSt,24,e,15,1),e)}function SH(t,e){return R2(function(t,e){return AA(t.l&e.l,t.m&e.m,t.h&e.h)}(NC(t)?a3(t):t,NC(e)?a3(e):e))}function kH(t,e){return R2(function(t,e){return AA(t.l|e.l,t.m|e.m,t.h|e.h)}(NC(t)?a3(t):t,NC(e)?a3(e):e))}function IH(t,e){return null==e?PC(rH(t.f,null)):lk(t.g,e)}function MH(t){return 0==t.b?null:(MP(0!=t.b),uJ(t,t.a.a))}function CH(t){return 0|Math.max(Math.min(t,Lxt),-2147483648)}function TH(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function AH(t,e){var n;return Ayt(t,e,n=new B),n.d}function EH(t,e){var n;return n=function(t,e){return $O(LA(RR(oz(t.g,e),8)),RA(RR(oz(t.f,e),454).b))}(t.f,e),zO(aD(n),t.f.d)}function PH(t,e,n){var r;(r=t.Tg(e))>=0?t.nh(r,n):cft(t,e,n)}function DH(t,e,n,r){var i;i=new IO,e.a[n.g]=i,Aj(t.b,r,i)}function OH(t,e,n){this.c=new Vb,this.e=t,this.f=e,this.b=n}function LH(t,e,n){this.i=new Vb,this.b=t,this.g=e,this.a=n}function RH(t){DO.call(this),_J(this),this.a=t,this.c=!0}function NH(t,e,n){CW(),t&&t$(Lne,t,e),t&&t$(One,t,n)}function jH(t,e){var n;for(wB(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function FH(t,e){var n;n=t.q.getHours(),t.q.setDate(e),bvt(t,n)}function BH(t){var e;return E4(e=new Xx(HQ(t.length)),t),e}function zH(t){function e(){}return e.prototype=t||{},new e}function $H(t){return t.Db>>16!=3?null:RR(t.Cb,34)}function VH(t){return t.Db>>16!=9?null:RR(t.Cb,34)}function HH(t){return t.Db>>16!=6?null:RR(t.Cb,80)}function WH(t,e){if(t<0||t>e)throw Jb(new My(wkt+t+xkt+e))}function GH(t,e){return R2(function(t,e){return AA(t.l^e.l,t.m^e.m,t.h^e.h)}(NC(t)?a3(t):t,NC(e)?a3(e):e))}function UH(t,e){return r.Math.abs(t)<r.Math.abs(e)?t:e}function XH(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function qH(t,e,n){var r;r=z4(t,e,n),t.b=new P0(r.c.length)}function YH(){YH=S,Y0t=new QI(gIt,0),K0t=new QI("UP",1)}function KH(){KH=S,S3t=new sM(PEt,0),k3t=new sM("FAN",1)}function ZH(t,e){var n;return Iot(n=new KN(e),t),new jL(n)}function QH(t){var e;return e=t.d,e=t.ni(t.f),EK(t,e),e.Ob()}function JH(t,e){var n;return(n=t.Tg(e))>=0?t.gh(n):Uct(t,e)}function tW(t){return t.Db>>16!=7?null:RR(t.Cb,234)}function eW(t){return t.Db>>16!=7?null:RR(t.Cb,160)}function nW(t){return t.Db>>16!=3?null:RR(t.Cb,147)}function rW(t){return t.Db>>16!=11?null:RR(t.Cb,34)}function iW(t){return t.Db>>16!=17?null:RR(t.Cb,26)}function aW(t){return t.Db>>16!=6?null:RR(t.Cb,234)}function oW(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function sW(t,e,n,r,i,a){return new LZ(t.e,e,t.Xi(),n,r,i,a)}function uW(t){this.a=t,this.b=hK(T0t,u_t,1916,t.e.length,0,2)}function cW(){this.a=new XT,this.e=new Pv,this.g=0,this.i=0}function lW(t,e){yA(this),this.f=e,this.g=t,cV(this),this._d()}function hW(t){return ZA(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function fW(t){return ZA(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function dW(t,e,n){return t.a=BP(t.a,0,e)+""+n+zC(t.a,e),t}function pW(t,e,n){return LR(t.a,(x$(),tnt(e,n),new __(e,n))),t}function gW(t,e,n){this.a=e,this.c=t,this.b=(wB(n),new jL(n))}function bW(t,e){this.a=t,this.c=LA(this.a),this.b=new WV(e)}function vW(t,e,n){this.a=e,this.c=t,this.b=(wB(n),new jL(n))}function mW(t,e,n){return null==e?ect(t.f,null,n):h9(t.g,e,n)}function yW(t,e){return jj(t.a,e)?lB(t,RR(e,22).g,null):null}function wW(){wW=S,Djt=t6((Zm(),X3(uw(Ojt,1),P_t,532,0,[Ejt])))}function xW(){xW=S,l0t=Qj(new wU,(zot(),bHt),(gxt(),hGt))}function _W(){_W=S,f0t=Qj(new wU,(zot(),bHt),(gxt(),hGt))}function SW(){SW=S,N0t=jN(new wU,(zot(),bHt),(gxt(),jWt))}function kW(){kW=S,$0t=jN(new wU,(zot(),bHt),(gxt(),jWt))}function IW(){IW=S,G0t=jN(new wU,(zot(),bHt),(gxt(),jWt))}function MW(){MW=S,t2t=jN(new wU,(zot(),bHt),(gxt(),jWt))}function CW(){var t,e;CW=S,Lne=new Hb,One=new Hb,t=iBt,e=new cu,t&&t$(One,t,e)}function TW(t,e){if(t<0||t>=e)throw Jb(new My(wkt+t+xkt+e))}function AW(t,e){if(t<0||t>=e)throw Jb(new lw(wkt+t+xkt+e))}function EW(t,e){t.d&&yZ(t.d.e,t),t.d=e,t.d&&LR(t.d.e,t)}function PW(t,e){t.c&&yZ(t.c.g,t),t.c=e,t.c&&LR(t.c.g,t)}function DW(t,e){t.c&&yZ(t.c.a,t),t.c=e,t.c&&LR(t.c.a,t)}function OW(t,e){t.i&&yZ(t.i.j,t),t.i=e,t.i&&LR(t.i.j,t)}function LW(t,e){t.a&&yZ(t.a.k,t),t.a=e,t.a&&LR(t.a.k,t)}function RW(t,e){t.b&&yZ(t.b.f,t),t.b=e,t.b&&LR(t.b.f,t)}function NW(t,e){!function(t,e,n){RR(e.b,63),cJ(e.a,new uR(t,n,e))}(t,t.b,t.c),RR(t.b.b,63),e&&RR(e.b,63).b}function jW(t,e){var n;return n=new bz(t),e.c[e.c.length]=n,n}function FW(t){this.c=new sS,this.b=t.b,this.d=t.c,this.a=t.a}function BW(t){this.a=r.Math.cos(t),this.b=r.Math.sin(t)}function zW(t,e,n,r){this.c=t,this.d=r,LW(this,e),RW(this,n)}function $W(t,e){zA(t.Cb,87)&&uct($q(RR(t.Cb,87)),4),D0(t,e)}function VW(t,e){zA(t.Cb,179)&&(RR(t.Cb,179).tb=null),D0(t,e)}function HW(t){var e;return Ix(),mJ(e=new Ub,t),e}function WW(t){var e;return Ix(),mJ(e=new Ub,t),e}function GW(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function UW(t){var e;e=function(t){switch(t.g){case 1:return new Lo;case 2:return new sD;default:throw Jb(new Ny(WEt+(null!=t.f?t.f:""+t.g)))}}(RR(_ht(t,(V5(),f4t)),377)),e.cg(t)}function XW(){XW=S,E3t=Qj(new wU,(qrt(),D2t),(Mut(),j2t))}function qW(t){return H8(t),yV(),yV(),JQ(t,tBt)}function YW(t,e,n){var r;F6(e,n,t.c.length),r=n-e,Wx(t.c,e,r)}function KW(t,e,n){F6(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function ZW(t,e){this.b=(wz(t),t),this.a=0==(e&jSt)?64|e|c_t:e}function QW(t,e){if(cB(t.a,e),e.d)throw Jb(new sy(Ckt));e.d=t}function JW(t,e){Bm.call(this,new aS(HQ(t))),k1(e,s_t),this.a=e}function tG(t,e){return ek(),rQ(e)?new ON(e,t):new CC(e,t)}function eG(t){return $4(X3(uw(t8t,1),u_t,8,0,[t.i.n,t.n,t.a]))}function nG(t,e){return function(t,e,n){var r,i,a,o,s,u;if(o=new su,s=sdt(t.e.Og(),e),r=RR(t.g,118),ek(),RR(e,65).Jj())for(a=0;a<t.i;++a)i=r[a],s.ml(i.Xj())&&EK(o,i);else for(a=0;a<t.i;++a)i=r[a],s.ml(i.Xj())&&(u=i.bd(),EK(o,n?Xct(t,e,a,o.i,u):u));return aX(o)}(t,e,zA(e,97)&&0!=(RR(e,17).Bb&BSt))}function rG(t,e,n){var r;(r=new eo).b=e,r.a=n,++e.b,LR(t.d,r)}function iG(t){return t.d==(EY(),Mie)&&function(t,e){t.d=e}(t,function(t,e){var n,r,i,a,o,s;if((n=e.Ch(t.a))&&null!=(s=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),BOt))))switch(i=iP(s,mot(35)),r=e.Cj(),-1==i?(o=Yj(t,bJ(r)),a=s):0==i?(o=null,a=s.substr(1)):(o=s.substr(0,i),a=s.substr(i+1)),Zz(FZ(t,e))){case 2:case 3:return function(t,e,n,r){var i;if(!(i=Dht(t,e,n,r))&&(i=function(t,e,n){var r,i,a;if(i=Vht(t.b,e),(a=i)&&(r=RR(bmt(jZ(t,a),""),26)))return Dht(t,r,e,n);return null}(t,n,r),i&&!Xmt(t,e,i)))return null;return i}(t,r,o,a);case 0:case 4:case 5:case 6:return function(t,e,n,r){var i;if(!(i=Oht(t,e,n,r))&&(i=T8(t,n,r))&&!Xmt(t,e,i))return null;return i}(t,r,o,a)}return null}(t.g,t.b)),t.d}function aG(t){return t.a==(EY(),Mie)&&function(t,e){t.a=e}(t,function(t,e){var n,r,i;if((n=e.Ch(t.a))&&null!=(i=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),"affiliation"))))return-1==(r=iP(i,mot(35)))?T8(t,Yj(t,bJ(e.Cj())),i):0==r?T8(t,null,i.substr(1)):T8(t,i.substr(0,r),i.substr(r+1));return null}(t.g,t.b)),t.a}function oG(t,e){LR(t.a,e),t.b=r.Math.max(t.b,e.d),t.d+=e.r}function sG(t){aA(this),Av(this.a,y4(r.Math.max(8,t))<<1)}function uG(t){bxt(),Bb.call(this,t),this.c=!1,this.a=!1}function cG(t,e,n){Bb.call(this,25),this.b=t,this.a=e,this.c=n}function lG(t,e){var n,r;return r=UF(t,e),n=t.a.Xc(r),new L_(t,n)}function hG(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function fG(t){return wB(t),zA(t,15)?new jL(RR(t,15)):NR(t.Ic())}function dG(t,e){return t&&t.equals?t.equals(e):DC(t)===DC(e)}function pG(t){return new RY((k1(t,O_t),uQ(a8(a8(5,t),t/10|0))))}function gG(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function bG(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function vG(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function mG(t,e){var n;return n=BZ(e),RR(oz(t.c,n),20).a}function yG(t,e){return 0==e?!!t.o&&0!=t.o.f:Iet(t,e)}function wG(t,e){if(e.$modCount!=t.$modCount)throw Jb(new Sv)}function xG(t){return MP(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function _G(t,e,n){var r;r=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=r}function SG(t,e,n){var r;t.n&&e&&n&&(r=new Ks,LR(t.e,r))}function kG(){h4(),this.b=new Hb,this.a=new Hb,this.c=new Vb}function IG(){this.c=new qA,this.a=new PO,this.b=new Yv,MS()}function MG(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function CG(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function TG(t,e,n,r,i,a){p1.call(this,t,e,n,r,i),a&&(this.o=-2)}function AG(t,e,n,r,i,a){g1.call(this,t,e,n,r,i),a&&(this.o=-2)}function EG(t,e,n,r,i,a){Cq.call(this,t,e,n,r,i),a&&(this.o=-2)}function PG(t,e,n,r,i,a){m1.call(this,t,e,n,r,i),a&&(this.o=-2)}function DG(t,e,n,r,i,a){Tq.call(this,t,e,n,r,i),a&&(this.o=-2)}function OG(t,e,n,r,i,a){b1.call(this,t,e,n,r,i),a&&(this.o=-2)}function LG(t,e,n,r,i,a){v1.call(this,t,e,n,r,i),a&&(this.o=-2)}function RG(t,e,n,r,i,a){Mq.call(this,t,e,n,r,i),a&&(this.o=-2)}function NG(t,e,n,r){Eb.call(this,n),this.b=t,this.c=e,this.d=r}function jG(t,e){this.f=t,this.a=(EY(),Iie),this.c=Iie,this.b=e}function FG(t,e){this.g=t,this.d=(EY(),Mie),this.a=Mie,this.b=e}function BG(t,e){!t.c&&(t.c=new k2(t,0)),umt(t.c,(Kmt(),nae),e)}function zG(t,e,n,r,i,a){return y2(t,e,n,a),m8(t,r),v8(t,i),t}function $G(t,e,n,r){return t.a+=""+BP(null==e?Hxt:P9(e),n,r),t}function VG(t,e){if(t<0||t>=e)throw Jb(new My(function(t,e){if(t<0)return Xpt(Bxt,X3(uw(gjt,1),zxt,1,5,["index",k8(t)]));if(e<0)throw Jb(new Ny($xt+e));return Xpt("%s (%s) must be less than size (%s)",X3(uw(gjt,1),zxt,1,5,["index",k8(t),k8(e)]))}(t,e)));return t}function HG(t,e,n){if(t<0||e<t||e>n)throw Jb(new My(function(t,e,n){if(t<0||t>n)return Gut(t,n,"start index");if(e<0||e>n)return Gut(e,n,"end index");return Xpt("end index (%s) must not be less than start index (%s)",X3(uw(gjt,1),zxt,1,5,[k8(e),k8(t)]))}(t,e,n)))}function WG(t){var e;return NC(t)?-0==(e=t)?0:e:function(t){if(wit(t,(rJ(),nFt))<0)return-function(t){return t.l+t.m*CSt+t.h*TSt}(w4(t));return t.l+t.m*CSt+t.h*TSt}(t)}function GG(t){return MP(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function UG(t,e){var n;return n=1-e,t.a[n]=d0(t.a[n],n),d0(t,e)}function XG(t,e,n){wB(t),function(t){var e,n,r;for(mV(),kA(t.c,t.a),r=new ed(t.c);r.a<r.c.c.length;)for(n=xG(r),e=new ed(t.b);e.a<e.c.c.length;)RR(xG(e),667).Ke(n)}(new gW(new jL(t),e,n))}function qG(t,e,n){wB(t),function(t){var e,n,r;for(mV(),kA(t.c,t.a),r=new ed(t.c);r.a<r.c.c.length;)for(n=xG(r),e=new ed(t.b);e.a<e.c.c.length;)RR(xG(e),366).Ke(n)}(new vW(new jL(t),e,n))}function YG(){YG=S,C3t=new uM("DFS",0),M3t=new uM("BFS",1)}function KG(){KG=S,v0t=Jz(k8(1),k8(4)),b0t=Jz(k8(1),k8(2))}function ZG(t){return BN(t.e.Hd().gc()*t.c.Hd().gc(),16,new $h(t))}function QG(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function JG(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function tU(t,e){this.a=t,Nf.call(this,t),WH(e,t.gc()),this.b=e}function eU(t,e){var n;t.e=new qm,kA(n=Qdt(e),t.c),opt(t,n,0)}function nU(t,e,n,r){var i;(i=new gs).a=e,i.b=n,i.c=r,vN(t.a,i)}function rU(t,e,n,r){var i;(i=new gs).a=e,i.b=n,i.c=r,vN(t.b,i)}function iU(t,e,n){var i;i=function(){var t;0!=$jt&&(t=function(){if(Date.now)return Date.now();return(new Date).getTime()}())-Vjt>2e3&&(Vjt=t,Hjt=r.setTimeout(FS,10));if(0==$jt++)return function(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=Jst(e,n)}while(t.a);t.a=n}}((fy(),zjt)),!0;return!1}();try{return function(t,e,n){return t.apply(e,n)}(t,e,n)}finally{!function(t){t&&function(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=Jst(e,n)}while(t.b);t.b=n}}((fy(),zjt)),--$jt,t&&-1!=Hjt&&(!function(t){r.clearTimeout(t)}(Hjt),Hjt=-1)}(i)}}function aU(t){return ES(),zA(t.g,10)?RR(t.g,10):null}function oU(t,e){return!!zA(e,43)&&trt(t.a,RR(e,43))}function sU(t,e){return!!zA(e,43)&&trt(t.a,RR(e,43))}function uU(t,e){return!!zA(e,43)&&trt(t.a,RR(e,43))}function cU(t){var e;return Nz(t),e=new T,Gx(t.a,new kd(e)),e}function lU(t){var e,n;return n=Hgt(e=new zB,t),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;for(h=new Oz(new cd(t));h.b!=h.c.a.d;)for(s=RR((l=_K(h)).d,55),e=RR(l.e,55),g=0,w=(null==(o=s.Og()).i&&Zbt(o),o.i).length;g<w;++g)if(null==o.i&&Zbt(o),a=o.i,(c=g>=0&&g<a.length?a[g]:null).Dj()&&!c.Ej())if(zA(c,97))0==((u=RR(c,17)).Bb&KDt)&&(!(_=wnt(u))||0==(_.Bb&KDt))&&_vt(t,u,s,e);else if(ek(),RR(c,65).Jj()&&(n=RR((x=c)?RR(e,48).sh(x):null,152)))for(d=RR(s.Xg(c),152),r=n.gc(),b=0,p=d.gc();b<p;++b)if(zA(f=d.dl(b),97)){if(null==(i=aQ(t,y=d.el(b)))&&null!=y){if(m=RR(f,17),!t.b||0!=(m.Bb&KDt)||wnt(m))continue;i=y}if(!n.$k(f,i))for(v=0;v<r;++v)if(n.dl(v)==f&&DC(n.el(v))===DC(i)){n.di(n.gc()-1,v),--r;break}}else n.$k(d.dl(b),d.el(b))}(e),n}function hU(){var t,e;return t=new Ub,LR(mie,e=t),e}function fU(t){var e;return Nz(t),e=new z,Gx(t.a,new Id(e)),e}function dU(t){return t.j.c=hK(gjt,zxt,1,0,5,1),B$(t.c),function(t){t.j.c=hK(gjt,zxt,1,0,5,1),t.a=-1}(t.a),t}function pU(t,e,n){t.d&&yZ(t.d.e,t),t.d=e,t.d&&Tj(t.d.e,n,t)}function gU(t){return RR(eet(t,hK(VHt,YMt,18,t.c.length,0,1)),468)}function bU(t){return RR(eet(t,hK(ZHt,KMt,10,t.c.length,0,1)),213)}function vU(t){return RR(eet(t,hK(sWt,ZMt,11,t.c.length,0,1)),1915)}function mU(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function yU(t,e,n){this.b=new Kp(this),this.c=t,this.f=e,this.d=n}function wU(){Gm.call(this),this.j.c=hK(gjt,zxt,1,0,5,1),this.a=-1}function xU(){xU=S,I5t=t6((NS(),X3(uw(T5t,1),P_t,546,0,[S5t])))}function _U(){_U=S,_5t=t6((LS(),X3(uw(k5t,1),P_t,476,0,[x5t])))}function SU(){SU=S,y6t=t6((jS(),X3(uw(_6t,1),P_t,523,0,[m6t])))}function kU(){kU=S,W$t=t6((kS(),X3(uw(K$t,1),P_t,475,0,[H$t])))}function IU(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;if(y=0,0==e.f.a)for(v=new ed(t);v.a<v.c.c.length;)g=RR(xG(v),10),y=r.Math.max(y,g.n.a+g.o.a+g.d.c);else y=e.f.a-e.c.a;for(y-=e.c.a,b=new ed(t);b.a<b.c.c.length;){switch(rv((g=RR(xG(b),10)).n,y-g.o.a),BR(g.f),vrt(g),(g.q?g.q:(mV(),mV(),KFt))._b((Zwt(),cJt))&&rv(RR(Bot(g,cJt),8),y-g.o.a),RR(Bot(g,AZt),247).g){case 1:S4(g,AZt,(ant(),a8t));break;case 2:S4(g,AZt,(ant(),i8t))}for(m=g.o,x=new ed(g.j);x.a<x.c.c.length;){for(rv((w=RR(xG(x),11)).n,m.a-w.o.a),rv(w.a,w.o.a),vct(w,i2(w.j)),(s=RR(Bot(w,rJt),20))&&S4(w,rJt,k8(-s.a)),o=new ed(w.g);o.a<o.c.c.length;){for(i=het((a=RR(xG(o),18)).a,0);i.b!=i.d.c;)(n=RR(zU(i),8)).a=y-n.a;if(l=RR(Bot(a,yQt),74))for(c=het(l,0);c.b!=c.d.c;)(u=RR(zU(c),8)).a=y-u.a;for(d=new ed(a.b);d.a<d.c.c.length;)rv((h=RR(xG(d),69)).n,y-h.o.a)}for(p=new ed(w.f);p.a<p.c.c.length;)rv((h=RR(xG(p),69)).n,w.o.a-h.o.a)}for(g.k==(vst(),UHt)&&(S4(g,(dxt(),pqt),i2(RR(Bot(g,pqt),61))),sst(g)),f=new ed(g.b);f.a<f.c.c.length;)vrt(h=RR(xG(f),69)),rv(h.n,m.a-h.o.a)}}(e,t),BR(t.d),BR(RR(Bot(t,(Zwt(),DQt)),205))}function MU(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;if(y=0,0==e.f.b)for(v=new ed(t);v.a<v.c.c.length;)g=RR(xG(v),10),y=r.Math.max(y,g.n.b+g.o.b+g.d.a);else y=e.f.b-e.c.b;for(y-=e.c.b,b=new ed(t);b.a<b.c.c.length;){switch(iv((g=RR(xG(b),10)).n,y-g.o.b),zR(g.f),mrt(g),(g.q?g.q:(mV(),mV(),KFt))._b((Zwt(),cJt))&&iv(RR(Bot(g,cJt),8),y-g.o.b),RR(Bot(g,AZt),247).g){case 3:S4(g,AZt,(ant(),n8t));break;case 4:S4(g,AZt,(ant(),o8t))}for(m=g.o,x=new ed(g.j);x.a<x.c.c.length;){for(iv((w=RR(xG(x),11)).n,m.b-w.o.b),iv(w.a,w.o.b),vct(w,a2(w.j)),(s=RR(Bot(w,rJt),20))&&S4(w,rJt,k8(-s.a)),o=new ed(w.g);o.a<o.c.c.length;){for(i=het((a=RR(xG(o),18)).a,0);i.b!=i.d.c;)(n=RR(zU(i),8)).b=y-n.b;if(l=RR(Bot(a,yQt),74))for(c=het(l,0);c.b!=c.d.c;)(u=RR(zU(c),8)).b=y-u.b;for(d=new ed(a.b);d.a<d.c.c.length;)iv((h=RR(xG(d),69)).n,y-h.o.b)}for(p=new ed(w.f);p.a<p.c.c.length;)iv((h=RR(xG(p),69)).n,w.o.b-h.o.b)}for(g.k==(vst(),UHt)&&(S4(g,(dxt(),pqt),a2(RR(Bot(g,pqt),61))),s9(g)),f=new ed(g.b);f.a<f.c.c.length;)mrt(h=RR(xG(f),69)),iv(h.n,m.b-h.o.b)}}(e,t),zR(t.d),zR(RR(Bot(t,(Zwt(),DQt)),205))}function CU(t,e){var n,r;return r=null,(n=xH(t,e))&&(r=n.fe()),r}function TU(t,e){var n,r;return r=null,(n=xH(t,e))&&(r=n.ie()),r}function AU(t,e){var n,r;return r=null,(n=cQ(t,e))&&(r=n.ie()),r}function EU(t,e){var n,r;return r=null,(n=xH(t,e))&&(r=hut(n)),r}function PU(t){if(t.e.g!=t.b)throw Jb(new Sv);return!!t.c&&t.d>0}function DU(t){return zA(t,15)?RR(t,15).dc():!t.Ic().Ob()}function OU(t){var e;for(e=0;t.Ob();)t.Pb(),e=a8(e,1);return uQ(e)}function LU(t){var e;e=t.Rg(),this.a=zA(e,67)?RR(e,67).Uh():e.Ic()}function RU(t){return new ZW(t.g||(t.g=new Nh(t)),17)}function NU(t,e,n,r){return zA(n,53)?new jP(t,e,n,r):new rF(t,e,n,r)}function jU(t){Jat(),aE(this,QN(SH(wN(t,24),skt)),QN(SH(t,skt)))}function FU(t,e){wz(e),t.b=t.b-1&t.a.length-1,nz(t.a,t.b,e),Crt(t)}function BU(t,e){wz(e),nz(t.a,t.c,e),t.c=t.c+1&t.a.length-1,Crt(t)}function zU(t){return MP(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function $U(t){return ES(),zA(t.g,145)?RR(t.g,145):null}function VU(t,e){return RR(lP(IF(RR(Kq(t.k,e),14).Mc(),mUt)),112)}function HU(t,e){return RR(lP(MF(RR(Kq(t.k,e),14).Mc(),mUt)),112)}function WU(t,e,n,r){var i;return i=r[e.g][n.g],Dy(VD(Bot(t.a,i)))}function GU(t,e){var n;for(n=t.j.c.length;n<e;n++)LR(t.j,t.mg())}function UU(t,e,n,r,i){this.a=t,this.e=e,this.f=n,this.b=r,this.g=i}function XU(t,e,n,r,i){this.i=t,this.a=e,this.e=n,this.j=r,this.f=i}function qU(t,e,n,r){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1}function YU(t,e,n,r){this.e=r,this.d=null,this.c=t,this.a=e,this.b=n}function KU(){KU=S,O0t=new UI("UPPER",0),D0t=new UI("LOWER",1)}function ZU(){ZU=S,YXt=new PI(tIt,0),KXt=new PI("TOP_LEFT",1)}function QU(t,e,n){return e<0?Uct(t,n):RR(n,65).Ij().Nj(t,t.th(),e)}function JU(t,e,n){return tvt(t,e,n,zA(e,97)&&0!=(RR(e,17).Bb&BSt))}function tX(t,e,n){return function(t,e,n,r){var i,a,o,s,u,c;if(s=new su,u=sdt(t.e.Og(),e),i=RR(t.g,118),ek(),RR(e,65).Jj())for(o=0;o<t.i;++o)a=i[o],u.ml(a.Xj())&&EK(s,a);else for(o=0;o<t.i;++o)a=i[o],u.ml(a.Xj())&&(c=a.bd(),EK(s,r?Xct(t,e,o,s.i,c):c));return _7(s,n)}(t,e,n,zA(e,97)&&0!=(RR(e,17).Bb&BSt))}function eX(t,e){return DC(e)===DC(t)?"(this Map)":null==e?Hxt:P9(e)}function nX(t,e){var n;return nk(),!(n=RR(oz(Vne,t),54))||n.rj(e)}function rX(t,e,n){var r;return r=att(n),fgt(t.j,r,e),t$(t.k,e,n),e}function iX(t){var e;return Sx(),e=new Qs,t&&wft(e,t),e}function aX(t){var e;return e=t.mi(t.i),t.i>0&&Yvt(t.g,0,e,0,t.i),e}function oX(t,e,n){var r;return r=att(n),t$(t.b,r,e),t$(t.c,e,n),e}function sX(t,e){var n;for(n=e;n;)nD(t,n.i,n.j),n=rW(n);return t}function uX(t,e){var n;return n=new gw,t.xd(n),n.a+="..",e.yd(n),n.a}function cX(t,e){var n;return ek(),function(t,e){var n;if(null!=e&&!t.c.Tj().rj(e))throw n=zA(e,55)?RR(e,55).Og().zb:Fx(g5(e)),Jb(new Ry(WDt+t.c.ne()+"'s type '"+t.c.Tj().ne()+"' does not permit a value of type '"+n+"'"))}(n=RR(t,65).Hj(),e),n.Jk(e)}function lX(t,e,n,r,i){var a;a=function(t,e,n){var r,i,a,o,s,u;for(a=-1,s=-1,o=0;o<e.c.length&&(TW(o,e.c.length),!((i=RR(e.c[o],327)).c>t.c));o++)i.a>=t.s&&(a<0&&(a=o),s=o);u=(t.s+t.c)/2,a>=0&&(r=function(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p;if(a=n,n<r)for(d=new p3(t.p),p=new p3(t.p),W0(d.e,t.e),d.q=t.q,d.r=p,NB(d),W0(p.j,t.j),p.r=d,NB(p),h=RR((f=new KM(d,p)).a,111),l=RR(f.b,111),TW(a,e.c.length),o=upt(t,h,l,i=RR(e.c[a],327)),c=n+1;c<=r;c++)TW(c,e.c.length),Wet(s=RR(e.c[c],327),u=upt(t,h,l,s),i,o)&&(i=s,o=u);return a}(t,e,a,s),u=function(t){return(t.c+t.a)/2}((TW(r,e.c.length),RR(e.c[r],327))),function(t,e,n){var r,i,a,o,s,u;TW(e,t.c.length),s=RR(t.c[e],327),tY(t,e),s.b/2>=n&&(r=e,a=(u=(s.c+s.a)/2)-n,s.c<=u-n&&Tj(t,r++,new dR(s.c,a)),(o=u+n)<=s.a&&(i=new dR(o,s.a),WH(r,t.c.length),nM(t.c,r,i)))}(e,r,n));return u}(i,n,r),LR(e,function(t,e){t.r=new p3(t.p),function(t,e){t.r=e}(t.r,t),W0(t.r.j,t.j),sV(t.j),vN(t.j,e),vN(t.r.e,e),NB(t),NB(t.r);for(;0!=t.f.c.length;)DA(RR(JN(t.f,0),129));for(;0!=t.k.c.length;)DA(RR(JN(t.k,0),129));return t.r}(i,a)),function(t,e,n){var r,i,a,o;for(a=e.q,o=e.r,new zW((MY(),b2t),e,a,1),new zW(b2t,a,o,1),i=new ed(n);i.a<i.c.c.length;)(r=RR(xG(i),111))!=a&&r!=e&&r!=o&&(nmt(t.a,r,e),nmt(t.a,r,o))}(t,i,e)}function hX(t,e,n){t.i=0,t.e=0,e!=n&&(l5(t,e,n),c5(t,e,n))}function fX(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+o_t),bvt(t,n)}function dX(t,e){var n;return n=AV(NR(new vZ(t,e))),VN(new vZ(t,e)),n}function pX(t){return t.n||($q(t),t.n=new Jj(t,vre,t),KV(t)),t.n}function gX(t){if(t<0)throw Jb(new Fy("Negative array size: "+t))}function bX(t,e,n){if(n){var r=n.ee();n=r(n)}else n=void 0;t.a[e]=n}function vX(t,e){var n;return W4(),0!=(n=t.j.g-e.j.g)?n:0}function mX(t){return MP(t.a<t.c.a.length),t.b=t.a,_Q(t),t.c.b[t.b]}function yX(t){t.b!=t.c&&(t.a=hK(gjt,zxt,1,8,5,1),t.b=0,t.c=0)}function wX(t,e){LR(t.a,e),e.q=t,t.c=r.Math.max(t.c,e.r),t.b+=e.d}function xX(t,e){MO.call(this),this.a=t,this.b=e,LR(this.a.b,this)}function _X(t,e){bxt(),Bb.call(this,t),this.a=e,this.c=-1,this.b=-1}function SX(t,e,n,r){MG.call(this,1,n,r),this.c=t,this.b=e}function kX(t,e,n,r){CG.call(this,1,n,r),this.c=t,this.b=e}function IX(t,e,n){this.e=t,this.a=gjt,this.b=Upt(e),this.c=e,this.d=n}function MX(t,e,n,r,i,a,o){P1.call(this,e,r,i,a,o),this.c=t,this.a=n}function CX(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function TX(t){this.c=t,this.a=RR(fit(t),148),this.b=this.a.vj().Ih()}function AX(t){this.b=new Hb,this.c=new Hb,this.d=new Hb,this.a=t}function EX(t){var e;return t?new KN(t):(B0(e=new XT,t),e)}function PX(t,e){var n;for(n=0;n<e;++n)nz(t,n,new id(RR(t[n],43)))}function DX(t,e){return XC(null!=e?IH(t,e):PC(rH(t.f,e)))}function OX(t,e){return XC(null!=e?IH(t,e):PC(rH(t.f,e)))}function LX(t){return t.c&&t.d?gG(t.c)+"->"+gG(t.d):"e_"+uP(t)}function RX(t,e){return t==(vst(),YHt)&&e==YHt?4:t==YHt||e==YHt?8:32}function NX(t,e){return e.b.Kb(RZ(t,e.c.Ee(),new Ad(e)))}function jX(t,e,n,r){var i;(i=new $).c=e,i.b=n,i.a=r,r.b=n.a=i,++t.b}function FX(){Hb.call(this),oD(this),this.d.b=this.d,this.d.a=this.d}function BX(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function zX(t){if(!t.c.Sb())throw Jb(new vv);return t.a=!0,t.c.Ub()}function $X(t,e){return wz(e),null!=t.a?function(t){return null==t?hBt:new yy(wz(t))}(e.Kb(t.a)):hBt}function VX(){VX=S,PUt=new yI("LAYER_SWEEP",0),EUt=new yI(DCt,1)}function HX(){HX=S,OUt=t6((VX(),X3(uw(jUt,1),P_t,333,0,[PUt,EUt])))}function WX(){WX=S,XUt=t6((FQ(),X3(uw(ZUt,1),P_t,413,0,[WUt,GUt])))}function GX(){GX=S,q1t=t6((CY(),X3(uw(Y1t,1),P_t,374,0,[U1t,G1t])))}function UX(){UX=S,L1t=t6((PZ(),X3(uw(F1t,1),P_t,415,0,[P1t,D1t])))}function XX(){XX=S,QXt=t6((ZU(),X3(uw(oYt,1),P_t,414,0,[YXt,KXt])))}function qX(){qX=S,AUt=t6((sK(),X3(uw(DUt,1),P_t,417,0,[MUt,CUt])))}function YX(){YX=S,lXt=t6((uZ(),X3(uw(vXt,1),P_t,473,0,[uXt,sXt])))}function KX(){KX=S,m2t=t6((MY(),X3(uw(y2t,1),P_t,513,0,[v2t,b2t])))}function ZX(){ZX=S,R0t=t6((KU(),X3(uw(j0t,1),P_t,516,0,[O0t,D0t])))}function QX(){QX=S,q0t=t6((sH(),X3(uw(Z0t,1),P_t,509,0,[X0t,U0t])))}function JX(){JX=S,Q0t=t6((YH(),X3(uw(J0t,1),P_t,508,0,[Y0t,K0t])))}function tq(){tq=S,C2t=t6((oH(),X3(uw(T2t,1),P_t,448,0,[I2t,M2t])))}function eq(){eq=S,I3t=t6((KH(),X3(uw(T3t,1),P_t,474,0,[S3t,k3t])))}function nq(){nq=S,A3t=t6((YG(),X3(uw(P3t,1),P_t,419,0,[C3t,M3t])))}function rq(){rq=S,F3t=t6((w0(),X3(uw(B3t,1),P_t,487,0,[N3t,j3t])))}function iq(){iq=S,S6t=t6((I3(),X3(uw(k6t,1),P_t,423,0,[x6t,w6t])))}function aq(){aq=S,X3t=t6((KK(),X3(uw(Z3t,1),P_t,420,0,[G3t,U3t])))}function oq(){oq=S,A5t=t6((TY(),X3(uw(R5t,1),P_t,424,0,[C5t,M5t])))}function sq(){sq=S,ezt=t6((yet(),X3(uw(izt,1),P_t,422,0,[tzt,JBt])))}function uq(){uq=S,azt=t6((NQ(),X3(uw(dzt,1),P_t,421,0,[nzt,rzt])))}function cq(){cq=S,SVt=t6((jQ(),X3(uw(zVt,1),P_t,418,0,[xVt,_Vt])))}function lq(){lq=S,fWt=t6((x0(),X3(uw(dWt,1),P_t,504,0,[hWt,lWt])))}function hq(){hq=S,PBt=!0,ABt=!1,EBt=!1,OBt=!1,DBt=!1}function fq(t){t.i=0,bk(t.b,null),bk(t.c,null),t.a=null,t.e=null,++t.g}function dq(t){if(Qlt(t))return t.c=t.a,t.a.Pb();throw Jb(new vv)}function pq(t){hq(),PBt||(this.c=t,this.e=!0,this.a=new Vb)}function gq(t,e){this.c=0,this.b=e,JC.call(this,t,17493),this.a=this.c}function bq(t,e,n){var r;return TW(e,t.c.length),r=t.c[e],t.c[e]=n,r}function vq(t,e){var n,r;for(n=e,r=0;n>0;)r+=t.a[n],n-=n&-n;return r}function mq(t,e){var n;for(n=e;n;)nD(t,-n.i,-n.j),n=rW(n);return t}function yq(t,e){var n,r;for(wz(e),r=t.Ic();r.Ob();)n=r.Pb(),e.td(n)}function wq(t,e){var n;return new __(n=e.ad(),t.e.nc(n,RR(e.bd(),15)))}function xq(t,e){return(H8(t),Bx(new lj(t,new WK(e,t.a)))).sd(BBt)}function _q(){oA(this),this.b=new YM(RSt,RSt),this.a=new YM(NSt,NSt)}function Sq(t){this.b=t,SE.call(this,t),this.a=RR(n3(this.b.a,4),124)}function kq(t){this.b=t,RP.call(this,t),this.a=RR(n3(this.b.a,4),124)}function Iq(t,e,n,r,i){Xq.call(this,e,r,i),this.c=t,this.b=n}function Mq(t,e,n,r,i){Xq.call(this,e,r,i),this.c=t,this.a=n}function Cq(t,e,n,r,i){MG.call(this,e,r,i),this.c=t,this.a=n}function Tq(t,e,n,r,i){CG.call(this,e,r,i),this.c=t,this.a=n}function Aq(t){uk.call(this,null==t?Hxt:P9(t),zA(t,78)?RR(t,78):null)}function Eq(t){var e;return t.c||zA(e=t.r,87)&&(t.c=RR(e,26)),t.c}function Pq(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function Dq(t,e){return RR(aQ(t.d,e),23)||RR(aQ(t.e,e),23)}function Oq(t,e){var n,r;n=RR(function(t,e){wB(t);try{return t.zc(e)}catch(t){if(zA(t=m3(t),203)||zA(t,173))return null;throw Jb(t)}}(t.c,e),15),n&&(r=n.gc(),n.$b(),t.d-=r)}function Lq(t){return AA(t&kSt,t>>22&kSt,t<0?ISt:0)}function Rq(t,e){var n;return!!(n=s5(t,e.ad()))&&l$(n.e,e.bd())}function Nq(t){return!(!t.c||!t.d)&&(!!t.c.i&&t.c.i==t.d.i)}function jq(t,e){return 0==e||0==t.e?t:e>0?J7(t,e):Idt(t,-e)}function Fq(t,e){return 0==e||0==t.e?t:e>0?Idt(t,e):J7(t,-e)}function Bq(t,e){return!!zA(e,149)&&hL(t.c,RR(e,149).c)}function zq(t,e){if(t<0||t>e)throw Jb(new My(Gut(t,e,"index")));return t}function $q(t){return t.t||(t.t=new Sb(t),J6(new xy(t),0,t.t)),t.t}function Vq(t){var e;return l3(e=new NV,t),S4(e,(Zwt(),yQt),null),e}function Hq(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(vst(),UHt)&&n.k==UHt}function Wq(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.$h(n,e),t.Zh()}function Gq(t,e){t.li(t.i+1),hE(t,t.i,t.ji(t.i,e)),t.Yh(t.i++,e),t.Zh()}function Uq(t,e,n){Eb.call(this,n),this.b=t,this.c=e,this.d=(P7(),bie)}function Xq(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function qq(t,e,n){var r;p2(r=new _E(t.a),t.a.a),ect(r.f,e,n),t.a.a=r}function Yq(t,e,n){var r;return(r=t.Tg(e))>=0?t.Wg(r,n,!0):nlt(t,e,n)}function Kq(t,e){var n;return!(n=RR(t.c.vc(e),15))&&(n=t.ic(e)),t.nc(e,n)}function Zq(t,e){var n,r;return wz(t),n=t,wz(e),n==(r=e)?0:n<r?-1:1}function Qq(t){var e;return wB(t),But(e=t?new jL(t):NR(t.Ic())),$6(e)}function Jq(t){var e,n;return wB(t),e=function(t){return k1(t,O_t),uQ(a8(a8(5,t),t/10|0))}(t.length),E4(n=new RY(e),t),n}function tY(t,e){var n;return TW(e,t.c.length),n=t.c[e],Wx(t.c,e,1),n}function eY(t,e,n,r){var i;return function(t,e,n,r,i){var a,o;for(a=0,o=0;o<i;o++)a=a8(a,s8(SH(e[o],WSt),SH(r[o],WSt))),t[o]=QN(a),a=wN(a,32);for(;o<n;o++)a=a8(a,SH(e[o],WSt)),t[o]=QN(a),a=wN(a,32)}(i=hK(noe,uSt,24,e,15,1),t,e,n,r),i}function nY(t,e,n,r){var i;for(i=0;i<jzt;i++)Lj(t.a[e.g][i],n,r[e.g])}function rY(t,e,n,r){var i;for(i=0;i<Fzt;i++)Rj(t.a[i][e.g],n,r[e.g])}function iY(t){var e;return e=t.e+t.f,isNaN(e)&&RL(t.d)?t.d:e}function aY(t){var e;for(Nz(t),e=0;t.a.sd(new ut);)e=a8(e,1);return e}function oY(t,e){return t.a?UC(t.a,t.b):t.a=new YE(t.d),WC(t.a,e),t}function sY(t,e){return RC(e)?null==e?Jlt(t.f,null):y3(t.g,e):Jlt(t.f,e)}function uY(t,e){JC.call(this,e.rd(),-6&e.qd()),wz(t),this.a=t,this.b=e}function cY(t,e){QC.call(this,e.rd(),-6&e.qd()),wz(t),this.a=t,this.b=e}function lY(t,e){tT.call(this,e.rd(),-6&e.qd()),wz(t),this.a=t,this.b=e}function hY(t){this.c=t,this.a=new ed(this.c.a),this.b=new ed(this.c.b)}function fY(){this.e=new Vb,this.c=new Vb,this.d=new Vb,this.b=new Vb}function dY(){this.g=new Rv,this.b=new Rv,this.a=new Vb,this.k=new Vb}function pY(t,e,n){this.a=t,this.c=e,this.d=n,LR(e.e,this),LR(n.b,this)}function gY(t,e,n){var r,i;for(r=0,i=0;i<e.length;i++)r+=t.Wf(e[i],r,n)}function bY(t,e){var n;return n=function(t,e){var n,r,i,a,o,s,u,c,l,h;for(l=new Vb,h=new $b,a=null,i=0,r=0;r<e.length;++r)switch(R5(a,n=e[r])&&(i=U7(t,h,l,E0t,i)),ZP(n,(dxt(),_qt))&&(a=RR(Bot(n,_qt),10)),n.k.g){case 0:for(u=cA(SR(i9(n,(dwt(),Ote)),new Va));t0(u);)o=RR(pZ(u),11),t.d[o.p]=i++,l.c[l.c.length]=o;for(i=U7(t,h,l,E0t,i),c=cA(SR(i9(n,Kte),new Va));t0(c);)o=RR(pZ(c),11),t.d[o.p]=i++,l.c[l.c.length]=o;break;case 3:i9(n,A0t).dc()||(o=RR(i9(n,A0t).Xb(0),11),t.d[o.p]=i++,l.c[l.c.length]=o),i9(n,E0t).dc()||FU(h,n);break;case 1:for(s=i9(n,(dwt(),Qte)).Ic();s.Ob();)o=RR(s.Pb(),11),t.d[o.p]=i++,l.c[l.c.length]=o;i9(n,Dte).Hc(new XI(h,n))}return U7(t,h,l,E0t,i),l}(t,e),t.b=new P0(n.c.length),function(t,e){var n,r,i,a,o,s,u;for(n=0,u=new Vb,a=new ed(e);a.a<a.c.c.length;){switch(i=RR(xG(a),11),q5(t.b,t.d[i.p]),u.c=hK(gjt,zxt,1,0,5,1),i.i.k.g){case 0:cJ(RR(Bot(i,(dxt(),$qt)),10).j,new ug(u));break;case 1:OA(Z4(_$(new lj(null,new ZW(i.i.j,16)),new cg(i))),new lg(u));break;case 3:LR(u,new KM(RR(Bot(i,(dxt(),Oqt)),11),k8(i.e.c.length+i.g.c.length)))}for(s=new ed(u);s.a<s.c.c.length;)o=RR(xG(s),46),(r=Ux(t,RR(o.a,11)))>t.d[i.p]&&(n+=vq(t.b,r)*RR(o.b,20).a,FU(t.a,k8(r)));for(;!Hy(t.a);)lQ(t.b,RR(hB(t.a),20).a)}return n}(t,n)}function vY(t){return t.a?t.e?vY(t.e):null:t}function mY(t){var e;return t.a||zA(e=t.r,148)&&(t.a=RR(e,148)),t.a}function yY(t,e,n){this.a=t,this.b=e,this.c=n,LR(t.t,this),LR(e.i,this)}function wY(t,e,n,r){this.f=t,this.e=e,this.d=n,this.b=r,this.c=r?r.d:null}function xY(t,e){rpt(),this.e=t,this.d=1,this.a=X3(uw(noe,1),uSt,24,15,[e])}function _Y(t,e,n){return VG(e,t.e.Hd().gc()),VG(n,t.c.Hd().gc()),t.a[e][n]}function SY(t,e){return!!KF(t.a,e)&&(sY(t.a,e),!0)}function kY(t,e){return wz(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function IY(){IY=S,kGt=new JD("separateLayerConnections",(d4(),TGt))}function MY(){MY=S,v2t=new rM("REGULAR",0),b2t=new rM("CRITICAL",1)}function CY(){CY=S,U1t=new $I("STACKED",0),G1t=new $I("SEQUENCED",1)}function TY(){TY=S,C5t=new pM("FIXED",0),M5t=new pM("CENTER_NODE",1)}function AY(){AY=S,Z6t=new vb("org.eclipse.elk.labels.labelManager")}function EY(){var t,e;EY=S,Ix(),e=new fv,Iie=e,t=new Mm,Mie=t}function PY(){this.b=new sS,this.a=new sS,this.b=new sS,this.a=new sS}function DY(t){var e,n,r,i;i=t.d,e=t.a,n=t.b,r=t.c,t.d=n,t.a=r,t.b=i,t.c=e}function OY(t,e,n){if(t<0||e>n||e<t)throw Jb(new lw(vkt+t+ykt+e+ukt+n))}function LY(t){if(!t)throw Jb(new jy("Unable to add element to queue"))}function RY(t){oA(this),zL(t>=0,"Initial capacity must not be negative")}function NY(){NY=S,sHt=t6((EZ(),X3(uw(uHt,1),P_t,376,0,[aHt,iHt,oHt])))}function jY(){jY=S,Dzt=t6((nJ(),X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])))}function FY(){FY=S,Bzt=t6((JK(),X3(uw(zzt,1),P_t,455,0,[Rzt,Lzt,Nzt])))}function BY(){BY=S,Gzt=t6((QZ(),X3(uw(Uzt,1),P_t,456,0,[Wzt,Hzt,Vzt])))}function zY(){zY=S,jBt=t6((B5(),X3(uw(FBt,1),P_t,132,0,[LBt,RBt,NBt])))}function $Y(){$Y=S,E1t=t6((G4(),X3(uw(O1t,1),P_t,372,0,[C1t,M1t,T1t])))}function VY(){VY=S,W1t=t6((V2(),X3(uw(X1t,1),P_t,373,0,[z1t,$1t,V1t])))}function HY(){HY=S,B1t=t6((M1(),X3(uw(H1t,1),P_t,446,0,[j1t,R1t,N1t])))}function WY(){WY=S,J1t=t6((d6(),X3(uw(r0t,1),P_t,334,0,[K1t,Z1t,Q1t])))}function GY(){GY=S,i0t=t6((h2(),X3(uw(u0t,1),P_t,336,0,[n0t,t0t,e0t])))}function UY(){UY=S,c0t=t6((k3(),X3(uw(h0t,1),P_t,375,0,[o0t,s0t,a0t])))}function XY(){XY=S,FUt=t6((C1(),X3(uw(VUt,1),P_t,335,0,[LUt,NUt,RUt])))}function qY(){qY=S,HUt=t6((eJ(),X3(uw(UUt,1),P_t,416,0,[zUt,BUt,$Ut])))}function YY(){YY=S,QUt=t6((f4(),X3(uw(aXt,1),P_t,444,0,[YUt,qUt,KUt])))}function KY(){KY=S,M0t=t6((T1(),X3(uw(C0t,1),P_t,447,0,[S0t,k0t,I0t])))}function ZY(){ZY=S,H3t=t6((W9(),X3(uw(W3t,1),P_t,436,0,[V3t,z3t,$3t])))}function QY(){QY=S,y5t=t6((D8(),X3(uw(w5t,1),P_t,430,0,[b5t,v5t,m5t])))}function JY(){JY=S,qXt=t6((JZ(),X3(uw(ZXt,1),P_t,301,0,[GXt,UXt,WXt])))}function tK(){tK=S,HXt=t6(($2(),X3(uw(XXt,1),P_t,292,0,[zXt,$Xt,BXt])))}function eK(){eK=S,A4t=t6((z2(),X3(uw(E4t,1),P_t,293,0,[M4t,C4t,I4t])))}function nK(){nK=S,Q3t=t6((z5(),X3(uw(l4t,1),P_t,377,0,[q3t,Y3t,K3t])))}function rK(){rK=S,R4t=t6((G9(),X3(uw(G4t,1),P_t,378,0,[O4t,L4t,D4t])))}function iK(){iK=S,oUt=t6((_0(),X3(uw(sUt,1),P_t,358,0,[aUt,iUt,rUt])))}function aK(){aK=S,w7t=t6((VJ(),X3(uw(I7t,1),P_t,271,0,[b7t,v7t,m7t])))}function oK(){oK=S,U7t=t6((P8(),X3(uw(Z7t,1),P_t,332,0,[W7t,H7t,G7t])))}function sK(){sK=S,MUt=new mI("QUADRATIC",0),CUt=new mI("SCANLINE",1)}function uK(t){return!t.g&&(t.g=new nu),!t.g.c&&(t.g.c=new _b(t)),t.g.c}function cK(t,e,n){var r,i;if(null!=n)for(r=0;r<e;++r)i=n[r],t.ai(r,i)}function lK(t,e,n,r){var i;return function(t,e,n,r,i){var a,o;if(a=a8(SH(e[0],WSt),SH(r[0],WSt)),t[0]=QN(a),a=wN(a,32),n>=i){for(o=1;o<i;o++)a=a8(a,a8(SH(e[o],WSt),SH(r[o],WSt))),t[o]=QN(a),a=wN(a,32);for(;o<n;o++)a=a8(a,SH(e[o],WSt)),t[o]=QN(a),a=wN(a,32)}else{for(o=1;o<n;o++)a=a8(a,a8(SH(e[o],WSt),SH(r[o],WSt))),t[o]=QN(a),a=wN(a,32);for(;o<i;o++)a=a8(a,SH(r[o],WSt)),t[o]=QN(a),a=wN(a,32)}0!=A5(a,0)&&(t[o]=QN(a))}(i=hK(noe,uSt,24,e+1,15,1),t,e,n,r),i}function hK(t,e,n,r,i,a){var o;return o=drt(i,r),10!=i&&X3(uw(t,a),e,n,i,o),o}function fK(t,e){return!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),w7(t.o,e)}function dK(t,e){var n;return(n=new B).c=!0,n.d=e.bd(),Ayt(t,e.ad(),n)}function pK(t){var e;return 0==(e=t.b).b?null:RR(met(e,0),188).b}function gK(t,e,n){RR(t.b,63),RR(t.b,63),RR(t.b,63),cJ(t.a,new XL(n,e,t))}function bK(t){m4.call(this,t,0),oD(this),this.d.b=this.d,this.d.a=this.d}function vK(t,e){sk.call(this,t,e),this.a=hK(mBt,w_t,429,2,0,1),this.b=!0}function mK(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Vb)}function yK(t,e,n){var r;(r=t.b[n.c.p][n.p]).b+=e.b,r.c+=e.c,r.a+=e.a,++r.a}function wK(t,e){var n,i;return n=t.a-e.a,i=t.b-e.b,r.Math.sqrt(n*n+i*i)}function xK(){xK=S,d0t=Qj(jN(new wU,(zot(),fHt),(gxt(),HWt)),bHt,hGt)}function _K(t){return wG(t.c.a.e,t),MP(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function SK(t){var e;return t.a||-1==t.b||(e=t.c.Og(),t.a=$Q(e,t.b)),t.a}function kK(t){var e;return NC(t)&&(e=0-t,!isNaN(e))?e:R2(w4(t))}function IK(t,e,n,r){return wz(t),wz(e),wz(n),wz(r),new kB(t,e,new Z)}function MK(t,e,n,r){this.mj(),this.a=e,this.b=t,this.c=new $F(this,e,n,r)}function CK(t,e,n,r,i,a){qU.call(this,e,r,i,a),this.c=t,this.b=n}function TK(t,e,n,r,i,a){qU.call(this,e,r,i,a),this.c=t,this.a=n}function AK(t,e,n){var r;return bxt(),r=Awt(t,e),n&&r&&function(t){return!!Xae&&TV(Xae,t)}(t)&&(r=null),r}function EK(t,e){return(!t.ci()||!t.Fc(e))&&(t.Th(e),!0)}function PK(t,e){return yz(e,"Horizontal alignment cannot be null"),t.b=e,t}function DK(t){IP(!!t.c),wG(t.e,t),t.c.Qb(),t.c=null,t.b=z3(t),wP(t.e,t)}function OK(t,e){var n;for(n=e.Ic();n.Ob();)Tgt(t,RR(n.Pb(),38),0,0)}function LK(t,e,n){var r;for(r=t.Ic();r.Ob();)ogt(RR(r.Pb(),38),e,n)}function RK(t,e,n){var r;return(r=Vht(t.b,e))?bmt(jZ(t,r),n):null}function NK(t,e,n){var i;t.d[e.g]=n,(i=t.g.c)[e.g]=r.Math.max(i[e.g],n+1)}function jK(t,e){var n;return(n=t.Tg(e))>=0?t.Wg(n,!0,!0):nlt(t,e,!0)}function FK(t,e){return hk(t.e,e)||set(t.e,e,new Set(e)),RR(aQ(t.e,e),112)}function BK(t){for(;!t.a;)if(!pL(t.c,new Md(t)))return!1;return!0}function zK(t){return wB(t),zA(t,197)?RR(t,197):new Kh(t)}function $K(t,e){if(null==t.g||e>=t.i)throw Jb(new lT(e,t.i));return t.g[e]}function VK(t,e,n){if(o5(t,n),null!=n&&!t.rj(n))throw Jb(new bv);return n}function HK(t,e){return 10!=wQ(e)&&X3(g5(e),e.cm,e.__elementTypeId$,wQ(e),t),t}function WK(t,e){tT.call(this,e.rd(),-16449&e.qd()),wz(t),this.a=t,this.c=e}function GK(t,e){if(e.a)throw Jb(new sy(Ckt));cB(t.a,e),e.a=t,!t.j&&(t.j=e)}function UK(t){t.e>0&&t.d>0&&(t.a=t.e*t.d,t.b=t.e/t.d,t.j=function(t,e,n){return r.Math.min(n/t,1/e)}(t.e,t.d,t.c))}function XK(t){t.a=hK(noe,uSt,24,t.b+1,15,1),t.c=hK(noe,uSt,24,t.b,15,1),t.d=0}function qK(){qK=S,D3t=_tt(_tt(Wk(new wU,(qrt(),E2t)),(Mut(),V2t)),F2t)}function YK(){var t,e,n,r;YK=S,A6t=new ls,P6t=new hs,fxt(),t=N9t,e=A6t,n=b9t,r=P6t,x$(),E6t=new oy(X3(uw(Sjt,1),w_t,43,0,[(tnt(t,e),new __(t,e)),(tnt(n,r),new __(n,r))]))}function KK(){KK=S,G3t=new fM("LEAF_NUMBER",0),U3t=new fM("NODE_SIZE",1)}function ZK(){ZK=S,yBt=new vk("All",0),wBt=new QT,xBt=new WA,_Bt=new JT}function QK(){QK=S,kBt=t6((ZK(),X3(uw(SBt,1),P_t,297,0,[yBt,wBt,xBt,_Bt])))}function JK(){JK=S,Rzt=new Dk(rIt,0),Lzt=new Dk(tIt,1),Nzt=new Dk(iIt,2)}function tZ(){tZ=S,Fvt(),pae=RSt,dae=NSt,bae=new Vf(RSt),gae=new Vf(NSt)}function eZ(){eZ=S,S$t=t6((f3(),X3(uw(k$t,1),P_t,401,0,[_$t,y$t,w$t,x$t])))}function nZ(){nZ=S,A$t=t6(($et(),X3(uw(E$t,1),P_t,322,0,[M$t,I$t,C$t,T$t])))}function rZ(){rZ=S,$$t=t6((Vet(),X3(uw(V$t,1),P_t,390,0,[F$t,j$t,B$t,z$t])))}function iZ(){iZ=S,DHt=t6((p4(),X3(uw(FHt,1),P_t,400,0,[CHt,EHt,THt,AHt])))}function aZ(){aZ=S,AGt=t6((d4(),X3(uw(EGt,1),P_t,357,0,[TGt,MGt,CGt,IGt])))}function oZ(){oZ=S,WGt=t6((S3(),X3(uw(GGt,1),P_t,406,0,[zGt,$Gt,VGt,HGt])))}function sZ(){sZ=S,u1t=t6((int(),X3(uw(p1t,1),P_t,196,0,[a1t,o1t,i1t,r1t])))}function uZ(){uZ=S,uXt=new II(mCt,0),sXt=new II("IMPROVE_STRAIGHTNESS",1)}function cZ(t,e){var n,r;return r=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),_Y(t,r,n)}function lZ(t,e){var n;return gX(e),(n=HK(t.slice(0,e),t)).length=e,n}function hZ(t,e,n,r){yV(),r=r||JFt,Jut(t.slice(e,n),t,e,n,-e,r)}function fZ(t,e,n,r,i){return e<0?nlt(t,n,r):RR(n,65).Ij().Kj(t,t.th(),e,r,i)}function dZ(t,e){if(e<0)throw Jb(new My(BPt+e));return GU(t,e+1),JN(t.j,e)}function pZ(t){var e;if(!t0(t))throw Jb(new vv);return t.e=1,e=t.d,t.d=null,e}function gZ(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function bZ(t){var e;null!=(e=t.vi())&&-1!=t.d&&RR(e,91).Ig(t),t.i&&t.i.Ai()}function vZ(t,e){var n;this.f=t,this.b=e,n=RR(oz(t.b,e),282),this.c=n?n.b:null}function mZ(t,e,n){for(;n<t.c.length;++n)if(l$(e,t.c[n]))return n;return-1}function yZ(t,e){var n;return-1!=(n=mZ(t,e,0))&&(tY(t,n),!0)}function wZ(t,e){var n;return(n=RR(sY(t.e,e),382))?(bN(n),n.e):null}function xZ(t,e,n,r,i){return wz(t),wz(e),wz(n),wz(r),wz(i),new kB(t,e,r)}function _Z(t,e,n,r){if(!t)throw Jb(new Ny(Xpt(e,X3(uw(gjt,1),zxt,1,5,[n,r]))))}function SZ(){SZ=S,M7t=t6((V9(),X3(uw(O7t,1),P_t,216,0,[k7t,_7t,x7t,S7t])))}function kZ(){kZ=S,Q7t=t6((Krt(),X3(uw(ute,1),P_t,284,0,[K7t,X7t,q7t,Y7t])))}function IZ(){IZ=S,hee=t6((ott(),X3(uw(xee,1),P_t,371,0,[cee,lee,uee,see])))}function MZ(){MZ=S,k4t=t6((irt(),X3(uw(T4t,1),P_t,337,0,[S4t,x4t,_4t,w4t])))}function CZ(){CZ=S,O2t=t6((qrt(),X3(uw(L2t,1),P_t,389,0,[A2t,E2t,P2t,D2t])))}function TZ(){TZ=S,Tee=t6((E7(),X3(uw(Aee,1),P_t,309,0,[Cee,kee,Mee,Iee])))}function AZ(){AZ=S,Ree=t6((F5(),X3(uw(Nee,1),P_t,392,0,[Dee,Oee,Pee,Lee])))}function EZ(){EZ=S,aHt=new zk("XY",0),iHt=new zk("X",1),oHt=new zk("Y",2)}function PZ(){PZ=S,P1t=new FI("INPUT_ORDER",0),D1t=new FI("PORT_DEGREE",1)}function DZ(){iR(),this.b=new Hb,this.f=new Hb,this.g=new Hb,this.e=new Hb}function OZ(t){yA(this),this.g=t?QV(t,t.$d()):null,this.f=t,cV(this),this._d()}function LZ(t,e,n,r,i,a,o){P1.call(this,e,r,i,a,o),this.c=t,this.b=n}function RZ(t,e,n){var r;return Nz(t),(r=new tt).a=e,t.a.Nb(new Mk(r,n)),r.a}function NZ(t){return t.b||(t.b=new tF(t,vre,t),!t.a&&(t.a=new cO(t,t))),t.b}function jZ(t,e){var n,r;return!(r=(n=RR(e,663)).Jh())&&n.Mh(r=new MC(t,e)),r}function FZ(t,e){var n,r;return!(r=(n=RR(e,665)).kk())&&n.ok(r=new FG(t,e)),r}function BZ(t){var e;return e=RR(JN(t.j,0),11),RR(Bot(e,(dxt(),Oqt)),11)}function zZ(t){var e,n;return LB(t,0,n=t.length,e=hK(eoe,q_t,24,n,15,1),0),e}function $Z(t,e){for(;e[0]<t.length&&ST(" \t\r\n",mot(d$(t,e[0])))>=0;)++e[0]}function VZ(t,e){O$t=new te,L$t=e,RR((D$t=t).b,63),gK(D$t,O$t,null),Dmt(D$t)}function HZ(t,e){return l$(e,JN(t.f,0))||l$(e,JN(t.f,1))||l$(e,JN(t.f,2))}function WZ(t,e){var n,r;return ES(),n=$U(t),r=$U(e),!!n&&!!r&&!Pet(n.k,r.k)}function GZ(t,e,n){var r,i;for(r=10,i=0;i<n-1;i++)e<r&&(t.a+="0"),r*=10;t.a+=e}function UZ(t,e){var n;return(n=c7(t.d,e))>=0?Xet(t,n,!0,!0):nlt(t,e,!0)}function XZ(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--RR(JN(t.c.a,e),10).p}function qZ(t){var e;return null==(e=xJ(n3(t,32)))&&(Ett(t),e=xJ(n3(t,32))),e}function YZ(t){var e;return t.Zg()||(e=HB(t.Og())-t.vh(),t.kh().Yj(e)),t.Kg()}function KZ(t){(this.q?this.q:(mV(),mV(),KFt)).yc(t.q?t.q:(mV(),mV(),KFt))}function ZZ(t,e){if(!t)throw Jb(new Ny(function(t,e){var n,r,i,a;t=null==t?Hxt:(wz(t),t),n=new gw,a=0,r=0;for(;r<e.length&&-1!=(i=t.indexOf("%s",a));)UC(n,t.substr(a,i-a)),GC(n,e[r++]),a=i+2;if(UC(n,t.substr(a)),r<e.length){for(n.a+=" [",GC(n,e[r++]);r<e.length;)n.a+=Fxt,GC(n,e[r++]);n.a+="]"}return n.a}("Enum constant undefined: %s",e)))}function QZ(){QZ=S,Wzt=new Ok("TOP",0),Hzt=new Ok(tIt,1),Vzt=new Ok(oIt,2)}function JZ(){JZ=S,GXt=new EI(mCt,0),UXt=new EI("TOP",1),WXt=new EI(oIt,2)}function tQ(t,e,n){t.a.c=hK(gjt,zxt,1,0,5,1),function(t,e,n){var i,a,o,s,u,c,l,h,f;t.c=0,t.b=0,i=2*e.c.a.c.length+1;t:for(l=n.Ic();l.Ob();){if(f=0,s=(c=RR(l.Pb(),11)).j==(dwt(),Ote)||c.j==Kte){if(!(h=RR(Bot(c,(dxt(),$qt)),10)))continue;f+=Ept(t,i,c,h)}else{for(u=new ed(c.g);u.a<u.c.c.length;){if((a=RR(xG(u),18).d).i.c==e.c){LR(t.a,c);continue t}f+=t.g[a.p]}for(o=new ed(c.e);o.a<o.c.c.length;){if((a=RR(xG(o),18).c).i.c==e.c){LR(t.a,c);continue t}f-=t.g[a.p]}}c.e.c.length+c.g.c.length>0?(t.f[c.p]=f/(c.e.c.length+c.g.c.length),t.c=r.Math.min(t.c,t.f[c.p]),t.b=r.Math.max(t.b,t.f[c.p])):s&&(t.f[c.p]=f)}}(t,e,n),0==t.a.c.length||function(t,e){var n,r,i,a,o,s,u,c,l,h;for(c=t.e[e.c.p][e.p]+1,u=e.c.a.c.length+1,s=new ed(t.a);s.a<s.c.c.length;){for(o=RR(xG(s),11),h=0,a=0,i=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(o),new tp(o)])));Qlt(i);)(r=RR(dq(i),11)).i.c==e.c&&(h+=oE(t,r.i)+1,++a);n=h/a,(l=o.j)==(dwt(),Dte)?t.f[o.p]=n<c?t.c-n:t.b+(u-n):l==Qte&&(t.f[o.p]=n<c?t.b+n:t.c-(u-n))}}(t,e)}function eQ(t,e,n){var r;return r=t.g[e],hE(t,e,t.ji(e,n)),t.bi(e,n,r),t.Zh(),r}function nQ(t,e){var n;return(n=t.Vc(e))>=0&&(t.Yc(n),!0)}function rQ(t){var e;return t.d!=t.r&&(e=fit(t),t.e=!!e&&e.xj()==uRt,t.d=e),t.e}function iQ(t,e){var n;for(wB(t),wB(e),n=!1;e.Ob();)n|=t.Dc(e.Pb());return n}function aQ(t,e){var n;return(n=RR(oz(t.e,e),382))?(iE(t,n),n.e):null}function oQ(t,e){return H8(t),new lj(t,new mL(new lY(e,t.a)))}function sQ(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function uQ(t){return A5(t,Lxt)>0?Lxt:A5(t,B_t)<0?B_t:QN(t)}function cQ(t,e){var n=t.a[e],r=(v4(),Zjt)[typeof n];return r?r(n):B6(typeof n)}function lQ(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function hQ(t,e){var n;return wz(e),ZZ(!!(n=t[":"+e]),X3(uw(gjt,1),zxt,1,5,[e])),n}function fQ(t){var e;return null!=(e=0==t.b.c.length?null:JN(t.b,0))&&f0(t,0),e}function dQ(t){var e,n;return e=t+128,!(n=(GN(),sFt)[e])&&(n=sFt[e]=new zf(t)),n}function pQ(t,e,n){var r;if(null==e)throw Jb(new xv);return r=xH(t,e),function(t,e,n){if(n){var r=n.ee();t.a[e]=r(n)}else delete t.a[e]}(t,e,n),r}function gQ(t,e,n,r){bxt(),Bb.call(this,26),this.c=t,this.a=e,this.d=n,this.b=r}function bQ(t,e){this.e=e,this.a=j2(t),this.a<54?this.f=WG(t):this.c=vtt(t)}function vQ(t,e){return 0==e.e||0==t.e?$Ft:(blt(),Gft(t,e))}function mQ(t,e){return e==(BL(),BL(),lBt)?t.toLocaleLowerCase():t.toLowerCase()}function yQ(t,e){return!!Z0(t,e,QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15))))}function wQ(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function xQ(t,e){var n,r;for(n=(r=e.c)+1;n<=e.f;n++)t.a[n]>t.a[r]&&(r=n);return r}function _Q(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function SQ(t){var e;return!!(e=RR(Bot(t,(dxt(),eqt)),303))&&e.a==t}function kQ(t){var e;return!!(e=RR(Bot(t,(dxt(),eqt)),303))&&e.i==t}function IQ(){IQ=S,tee=t6((dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])))}function MQ(){MQ=S,g1t=t6((Mnt(),X3(uw(k1t,1),P_t,312,0,[d1t,l1t,h1t,c1t,f1t])))}function CQ(){CQ=S,p5t=t6((Eft(),X3(uw(g5t,1),P_t,352,0,[c5t,u5t,h5t,l5t,f5t])))}function TQ(){TQ=S,ZGt=t6((Iat(),X3(uw(nUt,1),P_t,360,0,[XGt,YGt,KGt,qGt,UGt])))}function AQ(){AQ=S,sYt=t6((H9(),X3(uw(TZt,1),P_t,165,0,[aYt,eYt,nYt,rYt,iYt])))}function EQ(){EQ=S,z6t=t6((pet(),X3(uw(Y6t,1),P_t,175,0,[F6t,j6t,R6t,B6t,N6t])))}function PQ(){PQ=S,N5t=t6((jst(),X3(uw(Y5t,1),P_t,313,0,[E5t,P5t,L5t,D5t,O5t])))}function DQ(){DQ=S,bte=t6((get(),X3(uw(Ste,1),P_t,248,0,[fte,pte,lte,hte,dte])))}function OQ(){OQ=S,Pte=t6((aot(),X3(uw(Jte,1),P_t,291,0,[Tte,Mte,Cte,Ite,Ate])))}function LQ(){LQ=S,g7t=t6((E8(),X3(uw(y7t,1),P_t,108,0,[d7t,f7t,h7t,l7t,p7t])))}function RQ(){RQ=S,vHt=t6((zot(),X3(uw(yHt,1),P_t,353,0,[fHt,dHt,pHt,gHt,bHt])))}function NQ(){NQ=S,nzt=new Ak("BY_SIZE",0),rzt=new Ak("BY_SIZE_AND_SHAPE",1)}function jQ(){jQ=S,xVt=new Bk("EADES",0),_Vt=new Bk("FRUCHTERMAN_REINGOLD",1)}function FQ(){FQ=S,WUt=new _I("READING_DIRECTION",0),GUt=new _I("ROTATION",1)}function BQ(){BQ=S,RHt=new _e,NHt=new we,OHt=new Ce,LHt=new Te,jHt=new Ae}function zQ(t,e){var n;return(n=RR(oz(t.a,e),134))||(n=new Kt,t$(t.a,e,n)),n}function $Q(t,e){var n;return null==t.i&&Zbt(t),n=t.i,e>=0&&e<n.length?n[e]:null}function VQ(t,e){return wz(e),HF(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function HQ(t){return t<3?(k1(t,T_t),t+1):t<A_t?CH(t/.75+1):Lxt}function WQ(t){if(t<0)throw Jb(new Ny("Illegal Capacity: "+t));this.g=this.mi(t)}function GQ(t){this.b=new Vb,this.a=new Vb,this.c=new Vb,this.d=new Vb,this.e=t}function UQ(t){this.g=t,this.f=new Vb,this.a=r.Math.min(this.g.c.c,this.g.d.c)}function XQ(t,e,n){DO.call(this),_J(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function qQ(t,e){var n;if(!(n=Uft(t.Og(),e)))throw Jb(new Ny(WDt+e+XDt));return n}function YQ(t){var e;e=new Tm,EK((!t.q&&(t.q=new FF(mre,t,11,10)),t.q),e)}function KQ(t){this.d=t,this.c=t.c.tc().Ic(),this.b=null,this.a=null,this.e=(Zm(),Ejt)}function ZQ(t){return t.a>=-.01&&t.a<=cIt&&(t.a=0),t.b>=-.01&&t.b<=cIt&&(t.b=0),t}function QQ(t){var e;IP(!!t.c),e=t.c.a,uJ(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function JQ(t,e){var n;return H8(t),n=new aV(t,t.a.rd(),4|t.a.qd(),e),new lj(t,n)}function tJ(t,e,n,r,i,a){var o;PW(o=Vq(r),i),EW(o,a),Kct(t.a,r,new ZL(o,e,n.f))}function eJ(){eJ=S,zUt=new xI("GREEDY",0),BUt=new xI(OCt,1),$Ut=new xI(DCt,2)}function nJ(){nJ=S,Azt=new Pk("BEGIN",0),Ezt=new Pk(tIt,1),Pzt=new Pk("END",2)}function rJ(){rJ=S,Jjt=AA(kSt,kSt,524287),tFt=AA(0,0,MSt),eFt=Lq(1),Lq(2),nFt=Lq(0)}function iJ(t){var e;return(e=Dy(VD(Bot(t,(Zwt(),uQt)))))<0&&S4(t,uQt,e=0),e}function aJ(t,e){var n;for(n=t.Ic();n.Ob();)S4(RR(n.Pb(),69),(dxt(),Iqt),e)}function oJ(t,e){var n;for(n=t;rW(n);)if((n=rW(n))==e)return!0;return!1}function sJ(t,e){if(null==t.g||e>=t.i)throw Jb(new lT(e,t.i));return t.gi(e,t.g[e])}function uJ(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function cJ(t,e){var n,r,i,a;for(wz(e),i=0,a=(r=t.c).length;i<a;++i)n=r[i],e.td(n)}function lJ(t,e){return function(t){return t?t.i:null}(K0(t,e,QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15)))))}function hJ(t){return(0!=(2&t.i)?"interface ":0!=(1&t.i)?"":"class ")+(FD(t),t.o)}function fJ(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)l0(t.b,e),e=$8(e);l0(t.b,e)}function dJ(t,e){var n,r,i,a;for(i=0,a=(r=t.d).length;i<a;++i)n=r[i],uE(t.g,n).a=e}function pJ(t,e,n){var r,i;r=e;do{i=Dy(t.p[r.p])+n,t.p[r.p]=i,r=t.a[r.p]}while(r!=e)}function gJ(t,e){var n;for(n=het(t,0);n.b!=n.d.c;)zO(RR(zU(n),8),e);return t}function bJ(t){var e;return t.w?t.w:(e=function(t){return t.Db>>16!=6?null:RR(Hlt(t),234)}(t),e&&!e.fh()&&(t.w=e),e)}function vJ(t,e,n){if(o5(t,n),!t.wk()&&null!=n&&!t.rj(n))throw Jb(new bv);return n}function mJ(t,e){var n,r;r=t.a,n=function(t,e,n){var r,i;i=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,5,i,t.a),n?Tat(n,r):n=r);return n}(t,e,null),r!=e&&!t.e&&(n=Lyt(t,e,n)),n&&n.Ai()}function yJ(t){var e;return null==t?null:function(t,e){var n,r,i,a,o;if(null==t)return null;for(o=hK(eoe,q_t,24,2*e,15,1),r=0,i=0;r<e;++r)n=t[r]>>4&15,a=15&t[r],o[i++]=pne[n],o[i++]=pne[a];return utt(o,0,o.length)}(e=RR(t,190),e.length)}function wJ(t,e,n){var r=function(){return t.apply(r,arguments)};return e.apply(r,n),r}function xJ(t){var e;return aN(null==t||Array.isArray(t)&&!((e=wQ(t))>=14&&e<=16)),t}function _J(t){t.b=(JK(),Lzt),t.f=(QZ(),Hzt),t.d=(k1(2,E_t),new RY(2)),t.e=new fx}function SJ(t){this.b=(wB(t),new jL(t)),this.a=new Vb,this.d=new Vb,this.e=new fx}function kJ(t){var e;return wG(t.e,t),MP(t.b),t.c=t.a,e=RR(t.a.Pb(),43),t.b=z3(t),e}function IJ(t){if(!(t>=0))throw Jb(new Ny("tolerance ("+t+") must be >= 0"));return t}function MJ(t,e,n){var r,i;return i=e>>5,r=31&e,SH(_N(t.n[n][i],QN(xN(r,1))),3)}function CJ(t,e){return function(t){return t?t.g:null}(Z0(t.a,e,QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15)))))}function TJ(t,e){return mA(),IJ(F_t),r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)}function AJ(t,e){return mA(),IJ(F_t),r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)}function EJ(){EJ=S,oXt=t6((xst(),X3(uw(cXt,1),P_t,274,0,[tXt,JUt,nXt,eXt,iXt,rXt])))}function PJ(){PJ=S,mXt=t6((Qit(),X3(uw(IXt,1),P_t,272,0,[pXt,dXt,bXt,fXt,gXt,hXt])))}function DJ(){DJ=S,MXt=t6((ust(),X3(uw(jXt,1),P_t,273,0,[SXt,wXt,kXt,_Xt,xXt,yXt])))}function OJ(){OJ=S,IUt=t6((_ut(),X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])))}function LJ(){LJ=S,H2t=t6((Mut(),X3(uw(W2t,1),P_t,325,0,[V2t,F2t,z2t,B2t,$2t,j2t])))}function RJ(){RJ=S,L7t=t6((wot(),X3(uw(V7t,1),P_t,310,0,[P7t,A7t,D7t,C7t,E7t,T7t])))}function NJ(){NJ=S,n1t=t6((rot(),X3(uw(s1t,1),P_t,311,0,[t1t,QJt,KJt,ZJt,e1t,JJt])))}function jJ(){jJ=S,u8t=t6((ant(),X3(uw(x8t,1),P_t,247,0,[e8t,i8t,a8t,o8t,n8t,r8t])))}function FJ(){FJ=S,T8t=t6((bat(),X3(uw(c7t,1),P_t,290,0,[C8t,M8t,I8t,S8t,_8t,k8t])))}function BJ(){BJ=S,kte=t6((Fat(),X3(uw(Ete,1),P_t,100,0,[_te,xte,wte,vte,yte,mte])))}function zJ(){zJ=S,QHt=t6((vst(),X3(uw(JHt,1),P_t,266,0,[YHt,qHt,UHt,KHt,XHt,GHt])))}function $J(){$J=S,Fzt=(nJ(),X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])).length,jzt=Fzt}function VJ(){VJ=S,b7t=new MM(tIt,0),v7t=new MM("HEAD",1),m7t=new MM("TAIL",2)}function HJ(t,e){return t.n=e,t.n?(t.f=new Vb,t.e=new Vb):(t.f=null,t.e=null),t}function WJ(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,3,n,t.f))}function GJ(t,e){var n;n=t.g,t.g=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,4,n,t.g))}function UJ(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,5,n,t.i))}function XJ(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,6,n,t.j))}function qJ(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,1,n,t.j))}function YJ(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,1,n,t.b))}function KJ(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,3,n,t.b))}function ZJ(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,4,n,t.c))}function QJ(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,2,n,t.k))}function JJ(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new SX(t,0,n,t.a))}function t1(t,e){var n;n=t.s,t.s=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new kX(t,4,n,t.s))}function e1(t,e){var n;n=t.t,t.t=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new kX(t,5,n,t.t))}function n1(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new kX(t,2,n,t.d))}function r1(t,e){var n;n=t.F,t.F=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,5,n,e))}function i1(t,e){var n;if(n=t.gc(),e<0||e>n)throw Jb(new GO(e,n));return new yL(t,e)}function a1(t,e){var n;return e in t.a&&(n=xH(t,e).he())?n.a:null}function o1(t,e){var n,r;return Sx(),r=new iu,!!e&&zft(r,e),V1(n=r,t),n}function s1(t,e){var n;return(n=RR(oz((nk(),Vne),t),54))?n.sj(e):hK(gjt,zxt,1,e,5,1)}function u1(t){var e,n,r;for(n=0,r=(e=t).length;n<r;++n)wB(e[n]);return new TT(t)}function c1(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||G_t}function l1(t,e){if(t){e.n=t;var n=function(t){if(t.qe())return null;var e=t.n;return kxt[e]}(e);n?n.bm=e:kxt[t]=[e]}}function h1(t,e,n,r,i,a){var o;return l1(n,o=ez(t,e)),o.i=i?8:0,o.f=r,o.e=i,o.g=a,o}function f1(t,e){var n,r,i,a;for(i=0,a=(r=e).length;i<a;++i)n=r[i],GK(t.a,n);return t}function d1(t,e,n){var r,i;for(i=e.Ic();i.Ob();)r=RR(i.Pb(),80),cB(t,RR(n.Kb(r),34))}function p1(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=1,this.c=t,this.a=n}function g1(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=2,this.c=t,this.a=n}function b1(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=6,this.c=t,this.a=n}function v1(t,e,n,r,i){this.d=e,this.k=r,this.f=i,this.o=-1,this.p=7,this.c=t,this.a=n}function m1(t,e,n,r,i){this.d=e,this.j=r,this.e=i,this.o=-1,this.p=4,this.c=t,this.a=n}function y1(t,e){var n,r,i;for(r=0,i=(n=e).length;r<i;++r)jX(t,n[r],t.c.b,t.c)}function w1(t){IP(t.c>=0),function(t,e){var n,r,i,a;return r=t.a.length-1,n=e-t.b&r,a=t.c-e&r,i=t.c-t.b&r,SP(n<i),n>=a?(function(t,e){var n,r;n=t.a.length-1,t.c=t.c-1&n;for(;e!=t.c;)r=e+1&n,nz(t.a,e,t.a[r]),e=r;nz(t.a,t.c,null)}(t,e),-1):(function(t,e){var n,r;n=t.a.length-1;for(;e!=t.b;)r=e-1&n,nz(t.a,e,t.a[r]),e=r;nz(t.a,t.b,null),t.b=t.b+1&n}(t,e),1)}(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function x1(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=z6(t.f)),t.c).e}function _1(t,e){var n;return zA(e,43)?t.c.Kc(e):(n=w7(t,e),ctt(t,e),n)}function S1(t,e,n){return g6(t,e),D0(t,n),t1(t,0),e1(t,1),b8(t,!0),w8(t,!0),t}function k1(t,e){if(t<0)throw Jb(new Ny(e+" cannot be negative but was: "+t));return t}function I1(){return O6t||_5(O6t=new Gpt,X3(uw(pzt,1),zxt,130,0,[new Ih])),O6t}function M1(){M1=S,j1t=new BI(uIt,0),R1t=new BI("INPUT",1),N1t=new BI("OUTPUT",2)}function C1(){C1=S,LUt=new wI("ARD",0),NUt=new wI("MSD",1),RUt=new wI("MANUAL",2)}function T1(){T1=S,S0t=new GI("BARYCENTER",0),k0t=new GI(dCt,1),I0t=new GI(pCt,2)}function A1(){A1=S,gFt=X3(uw(noe,1),uSt,24,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function E1(t,e,n,r){this.mj(),this.a=e,this.b=t,this.c=null,this.c=new iL(this,e,n,r)}function P1(t,e,n,r,i){this.d=t,this.n=e,this.g=n,this.o=r,this.p=-1,i||(this.o=-2-r-1)}function D1(){RE.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=GLt}function O1(t){IS(),this.g=new Hb,this.f=new Hb,this.b=new Hb,this.c=new yH,this.i=t}function L1(){this.f=new fx,this.d=new cm,this.c=new fx,this.a=new Vb,this.b=new Vb}function R1(t,e){qat(e,"Hierarchical port constraint processing",1),function(t){var e;if(!bL(RR(Bot(t,(Zwt(),nJt)),100)))return;clt((TW(0,(e=t.b).c.length),RR(e.c[0],29))),clt(RR(JN(e,e.c.length-1),29))}(t),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k,I,M,C;if(!((_=RR(Bot(t,(Zwt(),nJt)),100))!=(Fat(),xte)&&_!=_te))return;for(d=t.b,f=d.c.length,c=new RY((k1(f+2,O_t),uQ(a8(a8(5,f+2),(f+2)/10|0)))),g=new RY((k1(f+2,O_t),uQ(a8(a8(5,f+2),(f+2)/10|0)))),LR(c,new Hb),LR(c,new Hb),LR(g,new Vb),LR(g,new Vb),x=new Vb,e=0;e<f;e++)for(TW(e,d.c.length),n=RR(d.c[e],29),TW(e,c.c.length),S=RR(c.c[e],84),b=new Hb,c.c[c.c.length]=b,TW(e,g.c.length),I=RR(g.c[e],14),m=new Vb,g.c[g.c.length]=m,i=new ed(n.a);i.a<i.c.c.length;)if(I8(r=RR(xG(i),10)))x.c[x.c.length]=r;else{for(u=new xF(zE(p9(r).a.Ic(),new p));Qlt(u);)I8(M=(o=RR(dq(u),18)).c.i)&&((k=RR(S.vc(Bot(M,(dxt(),Oqt))),10))||(k=Act(t,M),S.xc(Bot(M,Oqt),k),I.Dc(k)),PW(o,RR(JN(k.j,1),11)));for(s=new xF(zE(g9(r).a.Ic(),new p));Qlt(s);)I8(C=(o=RR(dq(s),18)).d.i)&&((v=RR(oz(b,Bot(C,(dxt(),Oqt))),10))||(v=Act(t,C),t$(b,Bot(C,Oqt),v),m.c[m.c.length]=v),EW(o,RR(JN(v.j,0),11)))}for(l=0;l<g.c.length;l++)if(TW(l,g.c.length),!(y=RR(g.c[l],14)).dc())for(h=null,0==l?(h=new bz(t),WH(0,d.c.length),nM(d.c,0,h)):l==c.c.length-1?(h=new bz(t),d.c[d.c.length]=h):(TW(l-1,d.c.length),h=RR(d.c[l-1],29)),a=y.Ic();a.Ob();)DW(RR(a.Pb(),10),h);for(w=new ed(x);w.a<w.c.c.length;)DW(RR(xG(w),10),null);S4(t,(dxt(),fqt),x)}(t),Sst(e)}function N1(t){var e;for(e=t.c.Ac().Ic();e.Ob();)RR(e.Pb(),15).$b();t.c.$b(),t.d=0}function j1(t,e){var n,r;for(n=0,r=t.gc();n<r;++n)if(l$(e,t.Xb(n)))return n;return-1}function F1(t,e){var n,r;return n=t.c,(r=e.e[t.p])>0?RR(JN(n.a,r-1),10):null}function B1(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,2,n,t.k))}function z1(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,8,n,t.f))}function $1(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,7,n,t.i))}function V1(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,8,n,t.a))}function H1(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,0,n,t.b))}function W1(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,1,n,t.c))}function G1(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,1,n,t.d))}function U1(t,e){var n;n=t.D,t.D=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,2,n,t.D))}function X1(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,4,n,t.c))}function q1(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,0,n,t.b))}function Y1(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,1,n,t.c))}function K1(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&K1(t.i,e/t.r*t.i.d))}function Z1(t,e,n,r,i,a){this.c=t,this.e=e,this.d=n,this.i=r,this.f=i,this.g=a,UK(this)}function Q1(t){var e,n;if(0==t)return 32;for(n=0,e=1;0==(e&t);e<<=1)++n;return n}function J1(t){var e;return(t=r.Math.max(t,2))>(e=y4(t))?(e<<=1)>0?e:A_t:e}function t0(t){switch(KA(3!=t.e),t.e){case 2:return!1;case 0:return!0}return function(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}(t)}function e0(t,e){return Cdt(t.e,e)?(ek(),rQ(e)?new ON(e,t):new CC(e,t)):new _C(e,t)}function n0(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,11,n,t.d))}function r0(t,e){var n,r;for(r=e.tc().Ic();r.Ob();)$it(t,(n=RR(r.Pb(),43)).ad(),n.bd())}function i0(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,13,n,t.j))}function a0(t,e){var n;return!!zA(e,8)&&(n=RR(e,8),t.a==n.a&&t.b==n.b)}function o0(t){return null==t.b?(qS(),qS(),aie):t.Gk()?t.Fk():t.Ek()}function s0(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,21,n,t.b))}function u0(t,e){var n=t.a,r=0;for(var i in n)n.hasOwnProperty(i)&&(e[r++]=i);return e}function c0(t,e,n){var r,i,a;for(a=t.a.length-1,i=t.b,r=0;r<n;i=i+1&a,++r)nz(e,r,t.a[i])}function l0(t,e){var n;return wz(e),n=e.g,!t.b[n]&&(nz(t.b,n,e),++t.c,!0)}function h0(t,e){var n;return!((n=null==e?-1:mZ(t.b,e,0))<0)&&(f0(t,n),!0)}function f0(t,e){var n;n=tY(t.b,t.b.c.length-1),e<t.b.c.length&&(bq(t.b,e,n),dct(t,e))}function d0(t,e){var n,r;return n=1-e,r=t.a[n],t.a[n]=r.a[e],r.a[e]=t,t.b=!0,r.b=!1,r}function p0(t,e){var n,r;for(r=e.Ic();r.Ob();)n=RR(r.Pb(),265),t.b=!0,cB(t.e,n),n.b=t}function g0(){g0=S,g0t=jN(jN(jN(new wU,(zot(),fHt),(gxt(),CWt)),dHt,QWt),pHt,ZWt)}function b0(){b0=S,m0t=jN(jN(jN(new wU,(zot(),fHt),(gxt(),CWt)),dHt,QWt),pHt,ZWt)}function v0(){v0=S,p0t=jN(jN(jN(new wU,(zot(),fHt),(gxt(),CWt)),dHt,QWt),pHt,ZWt)}function m0(){m0=S,x0t=Qj(jN(jN(new wU,(zot(),pHt),(gxt(),eGt)),gHt,GWt),bHt,tGt)}function y0(){y0=S,HVt=new vb(SMt),WVt=new vb(kMt),VVt=new vb(IMt),$Vt=new vb(MMt)}function w0(){w0=S,N3t=new cM("P1_NODE_PLACEMENT",0),j3t=new cM("P2_EDGE_ROUTING",1)}function x0(){x0=S,hWt=new Qk("TO_INTERNAL_LTR",0),lWt=new Qk("TO_INPUT_DIRECTION",1)}function _0(){_0=S,aUt=new bI("START",0),iUt=new bI("MIDDLE",1),rUt=new bI("END",2)}function S0(t,e){var n;return(n=RR(oz(t.c,e),452))||((n=new em).c=e,t$(t.c,n.c,n)),n}function k0(t,e,n){var r;return wdt(t,e,r=new Vb,n,!0,!0),t.b=new P0(r.c.length),r}function I0(t,e){var n,r;for(hZ(n=t.Nc(),0,n.length,e),r=0;r<n.length;r++)t.Zc(r,n[r])}function M0(t){var e,n;for(n=new SE(t);n.e!=n.i.gc();)UJ(e=RR(Htt(n),34),0),XJ(e,0)}function C0(t){var e,n;for(n=t.c.a.ec().Ic();n.Ob();)Sf(e=RR(n.Pb(),231),new OF(e.f))}function T0(t){var e,n;for(n=t.c.a.ec().Ic();n.Ob();)kf(e=RR(n.Pb(),231),new est(e.e))}function A0(){this.c=new t_(0),this.b=new t_(MEt),this.d=new t_(IEt),this.a=new t_(KIt)}function E0(t){this.e=t,this.d=new Xx(HQ(oF(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function P0(t){this.b=t,this.a=hK(noe,uSt,24,t+1,15,1),this.c=hK(noe,uSt,24,t,15,1),this.d=0}function D0(t,e){var n;n=t.zb,t.zb=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,1,n,t.zb))}function O0(t,e){var n;n=t.xb,t.xb=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,3,n,t.xb))}function L0(t,e){var n;n=t.yb,t.yb=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,2,n,t.yb))}function R0(t,e){var n;(n=new Mm).n=e,EK((!t.s&&(t.s=new FF(cre,t,21,17)),t.s),n)}function N0(t,e){var n;(n=new jD).n=e,EK((!t.s&&(t.s=new FF(cre,t,21,17)),t.s),n)}function j0(){j0=S,SGt=new JD("edgelabelcenterednessanalysis.includelabel",(_P(),rFt))}function F0(t){Uj.call(this),this.b=Dy(VD(Bot(t,(Zwt(),wJt)))),this.a=RR(Bot(t,eQt),216)}function B0(t,e){var n;return zA(e,15)?(n=RR(e,15),t.Ec(n)):iQ(t,RR(wB(e),19).Ic())}function z0(t){var e;return B_((e=cU(t)).a,0)?(tS(),tS(),fBt):(tS(),new qP(e.c))}function $0(t){var e;return B_((e=cU(t)).a,0)?(tS(),tS(),fBt):(tS(),new qP(e.b))}function V0(t){var e;return B_((e=fU(t)).a,0)?(eS(),eS(),dBt):(eS(),new YP(e.b))}function H0(t){var e,n,r;for(e=0,r=t.Ic();r.Ob();)e=~~(e+=null!=(n=r.Pb())?p5(n):0);return e}function W0(t,e){var n,r,i;for(wz(e),n=!1,i=e.Ic();i.Ob();)r=i.Pb(),n|=t.Dc(r);return n}function G0(t,e,n,r,i,a,o,s,u,c,l,h,f){return Zut(t,e,n,r,i,a,o,s,u,c,l,h,f),t9(t,!1),t}function U0(t,e){return Dy(VD(lP(i8(S$(new lj(null,new ZW(t.c.b,16)),new Gp(t)),e))))}function X0(t,e){return Dy(VD(lP(i8(S$(new lj(null,new ZW(t.c.b,16)),new Wp(t)),e))))}function q0(t,e,n){var r,i;for(i=het(t,0);i.b!=i.d.c;)(r=RR(zU(i),8)).a+=e,r.b+=n;return t}function Y0(t,e,n){var r,i;return!!(r=RR((i=t.f,i||(t.f=new u_(t,t.c))).vc(e),15))&&r.Kc(n)}function K0(t,e,n){var r;for(r=t.b[n&t.f];r;r=r.b)if(n==r.a&&Cz(e,r.g))return r;return null}function Z0(t,e,n){var r;for(r=t.c[n&t.f];r;r=r.d)if(n==r.f&&Cz(e,r.i))return r;return null}function Q0(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+sQ(t))}function J0(t,e){return mA(),IJ(cIt),r.Math.abs(0-e)<=cIt||0==e||isNaN(0)&&isNaN(e)?0:t/e}function t2(t,e,n,r,i,a,o){S_.call(this,t,e),this.d=n,this.e=r,this.c=i,this.b=a,this.a=Jq(o)}function e2(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null)}function n2(t){return t.b.c.i.k==(vst(),UHt)?RR(Bot(t.b.c.i,(dxt(),Oqt)),11):t.b.c}function r2(t){return t.b.d.i.k==(vst(),UHt)?RR(Bot(t.b.d.i,(dxt(),Oqt)),11):t.b.d}function i2(t){switch(t.g){case 2:return dwt(),Qte;case 4:return dwt(),Dte;default:return t}}function a2(t){switch(t.g){case 1:return dwt(),Kte;case 3:return dwt(),Ote;default:return t}}function o2(t,e){var n;return t.b?null:(n=function(t,e){var n;return n=e>0?e-1:e,ox(function(t,e){return t.j=e,t}(HJ(mN(new Xm,n),t.n),t.j),t.k)}(t,t.g),vN(t.a,n),n.i=t,t.d=e,n)}function s2(t,e){var n;return Wct(new YM((n=lot(t)).c,n.d),new YM(n.b,n.a),t.pf(),e,t.Ef())}function u2(t){if(wz(t),0==t.length)throw Jb(new hw("Zero length BigInteger"));!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;d=e.length,u=d,AW(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0);for(a=(Zvt(),WFt)[10],i=d/a|0,0!=(b=d%a)&&++i,s=hK(noe,uSt,24,i,15,1),n=HFt[8],o=0,p=f+(0==b?a:b),g=f;g<u;p=(g=p)+a)r=Wgt(e.substr(g,p-g),B_t,Lxt),blt(),c=uet(s,s,o,n),c+=F9(s,o,r),s[o++]=c;l=o,t.e=h,t.d=l,t.a=s,JG(t)}(this,t)}function c2(t){if(!t)throw Jb(new jy("no calls to next() since the last call to remove()"))}function l2(){var t,e;l2=S,_0t=_tt((t=jN(jN(new wU,(zot(),pHt),(gxt(),eGt)),gHt,GWt),e=bHt,t.a=e.g+1,t),tGt)}function h2(){h2=S,n0t=new HI("NO",0),t0t=new HI("GREEDY",1),e0t=new HI("LOOK_BACK",2)}function f2(){f2=S,iWt=new je,nWt=new Ne,rWt=new Fe,eWt=new Be,aWt=new ze,oWt=new $e}function d2(){d2=S,Jre=new Im,eie=X3(uw(cre,1),yRt,170,0,[]),tie=X3(uw(mre,1),wRt,58,0,[])}function p2(t,e){var n,r;for(wz(e),r=e.tc().Ic();r.Ob();)n=RR(r.Pb(),43),t.xc(n.ad(),n.bd())}function g2(t){var e;if(-2==t.b){if(0==t.e)e=-1;else for(e=0;0==t.a[e];e++);t.b=e}return t.b}function b2(t,e){t.a=a8(t.a,1),t.c=r.Math.min(t.c,e),t.b=r.Math.max(t.b,e),t.d=a8(t.d,e)}function v2(t,e){return _P(),RC(t)?Zq(t,HD(e)):LC(t)?gF(t,VD(e)):OC(t)?pF(t,$D(e)):t.wd(e)}function m2(t,e,n){qat(n,"DFS Treeifying phase",1),function(t,e){var n,r,i;for(i=e.b.b,t.a=new sS,t.b=hK(noe,uSt,24,i,15,1),n=0,r=het(e.b,0);r.b!=r.d.c;)RR(zU(r),83).g=n++}(t,e),function(t,e){var n,r,i,a,o;for(o=RR(Bot(e,(_st(),y3t)),419),a=het(e.b,0);a.b!=a.d.c;)if(i=RR(zU(a),83),0==t.b[i.g]){switch(o.g){case 0:Vnt(t,i);break;case 1:vht(t,i)}t.b[i.g]=2}for(r=het(t.a,0);r.b!=r.d.c;)u7((n=RR(zU(r),188)).b.d,n,!0),u7(n.c.b,n,!0);S4(e,(qmt(),i3t),t.a)}(t,e),t.a=null,t.b=null,Sst(n)}function y2(t,e,n,r){zA(t.Cb,179)&&(RR(t.Cb,179).tb=null),D0(t,n),e&&function(t,e){var n,r,i;if(e)if(0!=(4&e.i))for(r="[]",n=e.c;;n=n.c){if(0==(4&n.i)){U1(t,i=Gy((FD(n),n.o+r))),r1(t,i);break}r+="[]"}else U1(t,i=Gy((FD(e),e.o))),r1(t,i);else U1(t,null),r1(t,null);t.tk(e)}(t,e),r&&t.sk(!0)}function w2(t,e){var n;xV(n=RR(e,185),"x",t.i),xV(n,"y",t.j),xV(n,dOt,t.g),xV(n,fOt,t.f)}function x2(t,e){var n,r,i,a;return i=t.c,n=t.c+t.b,a=t.d,r=t.d+t.a,e.a>i&&e.a<n&&e.b>a&&e.b<r}function _2(t,e){zA(e,84)?(RR(t.c,76).Sj(),r0(t,RR(e,84))):RR(t.c,76).Wb(e)}function S2(t,e){var n,r;for(wz(e),r=t.tc().Ic();r.Ob();)n=RR(r.Pb(),43),e.Od(n.ad(),n.bd())}function k2(t,e){eN.call(this,sie,t,e),this.b=this,this.a=sdt(t.Og(),$Q(this.e.Og(),this.c))}function I2(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Vb,function(t){var e,n,r,i,a;for(a=l8(t.d,t.e),i=a.Ic();i.Ob();)for(r=RR(i.Pb(),11),n=new ed(t.e==(dwt(),Qte)?r.e:r.g);n.a<n.c.c.length;)Nq(e=RR(xG(n),18))||e.c.i.c==e.d.i.c||(Bst(t,e),++t.f,++t.c)}(this),mV(),kA(this.a,null)}function M2(t){this.i=t.gc(),this.i>0&&(this.g=this.mi(this.i+(this.i/8|0)+1),t.Oc(this.g))}function C2(t){return ESt<t&&t<TSt?t<0?r.Math.ceil(t):r.Math.floor(t):R2(function(t){var e,n,r,i,a;if(isNaN(t))return rJ(),nFt;if(t<-0x8000000000000000)return rJ(),tFt;if(t>=0x8000000000000000)return rJ(),Jjt;i=!1,t<0&&(i=!0,t=-t);r=0,t>=TSt&&(t-=(r=CH(t/TSt))*TSt);n=0,t>=CSt&&(t-=(n=CH(t/CSt))*CSt);return e=CH(t),a=AA(e,n,r),i&&B4(a),a}(t))}function T2(t){return zA(t,151)?Qq(RR(t,151)):zA(t,131)?RR(t,131).a:zA(t,53)?new ry(t):new D_(t)}function A2(t,e){return xZ(new vd(t),new md(e),new yd(e),new Y,X3(uw(FBt,1),P_t,132,0,[]))}function E2(){var t;return TBt||(TBt=new Dv,function(t,e){PBt||(t.b=e)}(t=new pq(""),(nS(),MBt)),function(t,e){0==(hq(),PBt?null:e.c).length&&BD(e,new K),mW(t.a,PBt?null:e.c,e)}(TBt,t)),TBt}function P2(t,e){var n;for(n=0;n<e.j.c.length;n++)RR(dZ(t,n),21).Ec(RR(dZ(e,n),15));return t}function D2(t,e){var n,r;for(r=new ed(e.b);r.a<r.c.c.length;)n=RR(xG(r),29),t.a[n.p]=ost(n)}function O2(t,e,n){var r,i;return i=RR(OL(t.d,e),20),r=RR(OL(t.b,n),20),i&&r?_Y(t,i.a,r.a):null}function L2(t,e){var n;return!!(n=ngt(I1(),t))&&(Bet(e,(fxt(),G9t),n),!0)}function R2(t){var e;return 0==(e=t.h)?t.l+t.m*CSt:e==ISt?t.l+t.m*CSt-TSt:t}function N2(t){return xO(),t.w.Fc((ott(),see))&&!t.A.Fc((Vgt(),bee))?k7(t):null}function j2(t){var e;return A5(t,0)<0&&(t=dO(t)),64-(0!=(e=QN(wN(t,32)))?tlt(e):tlt(QN(t))+32)}function F2(){this.a=RR(bet((fdt(),CVt)),20).a,this.c=Dy(VD(bet(FVt))),this.b=Dy(VD(bet(LVt)))}function B2(){B2=S,KH(),f3t=new cT(DEt,d3t=S3t),YG(),l3t=new cT(OEt,h3t=C3t)}function z2(){z2=S,M4t=new vM(mCt,0),C4t=new vM("POLAR_COORDINATE",1),I4t=new vM("ID",2)}function $2(){$2=S,zXt=new AI("ONE_SIDED",0),$Xt=new AI("TWO_SIDED",1),BXt=new AI("OFF",2)}function V2(){V2=S,z1t=new zI("EQUALLY",0),$1t=new zI(vIt,1),V1t=new zI("NORTH_SOUTH",2)}function H2(){H2=S,R$t=new JD("debugSVG",(_P(),!1)),N$t=new JD("overlapsExisted",!0)}function W2(){W2=S,Tne=t6((qlt(),X3(uw(Ane,1),P_t,237,0,[Cne,kne,Ine,Sne,Mne,xne,wne,_ne])))}function G2(){G2=S,bUt=t6((Jdt(),X3(uw(vUt,1),P_t,269,0,[cUt,fUt,uUt,gUt,hUt,lUt,pUt,dUt])))}function U2(){U2=S,I1t=t6((Lft(),X3(uw(A1t,1),P_t,259,0,[_1t,v1t,w1t,m1t,y1t,b1t,x1t,S1t])))}function X2(){X2=S,K6t=t6((vut(),X3(uw(J6t,1),P_t,275,0,[q6t,$6t,G6t,X6t,V6t,H6t,W6t,U6t])))}function q2(t,e){var n,r,i;for(n=t.c.Ee(),i=e.Ic();i.Ob();)r=i.Pb(),t.a.Od(n,r);return t.b.Kb(n)}function Y2(t,e){var n,r,i;if(null!=(n=t.Eg())&&t.Hg())for(r=0,i=n.length;r<i;++r)n[r].pi(e)}function K2(t,e){var n,r;for(r=jz(n=t).e;r;){if((n=r)==e)return!0;r=jz(n).e}return!1}function Z2(t,e){return!!function(t,e){var n,r,i,a;for(n=RR(Bot(e,(dxt(),hqt)),21),a=RR(Kq(zHt,n),21),i=a.Ic();i.Ob();)if(r=RR(i.Pb(),21),!RR(Kq(t.a,r),14).dc())return!1;return!0}(t,e)&&(Kct(t.a,RR(Bot(e,(dxt(),hqt)),21),e),!0)}function Q2(t,e){var n,r;r=new Vb,n=e;do{r.c[r.c.length]=n,n=RR(oz(t.k,n),18)}while(n);return r}function J2(t,e){var n;qat(e,"Edge and layer constraint edge reversal",1),n=function(t){var e,n,r,i,a;for(a=new RY(t.a.c.length),i=new ed(t.a);i.a<i.c.c.length;){switch(r=RR(xG(i),10),e=null,(n=RR(Bot(r,(Zwt(),_Qt)),165)).g){case 1:case 2:f4(),e=KUt;break;case 3:case 4:f4(),e=qUt}e?(S4(r,(dxt(),uqt),(f4(),KUt)),e==qUt?qft(r,n,(M1(),R1t)):e==KUt&&qft(r,n,(M1(),N1t))):a.c[a.c.length]=r}return a}(t),function(t){var e,n,r,i,a,o,s,u,c,l,h;for(c=new ed(t);c.a<c.c.c.length;){switch(u=RR(xG(c),10),a=null,(o=RR(Bot(u,(Zwt(),_Qt)),165)).g){case 1:case 2:f4(),a=KUt;break;case 3:case 4:f4(),a=qUt}if(a)S4(u,(dxt(),uqt),(f4(),KUt)),a==qUt?qft(u,o,(M1(),R1t)):a==KUt&&qft(u,o,(M1(),N1t));else if(jT(RR(Bot(u,nJt),100))&&0!=u.j.c.length){for(e=!0,h=new ed(u.j);h.a<h.c.c.length;){if(!((l=RR(xG(h),11)).j==(dwt(),Dte)&&l.e.c.length-l.g.c.length>0||l.j==Qte&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(i=new ed(l.g);i.a<i.c.c.length;)if(n=RR(xG(i),18),(s=RR(Bot(n.d.i,_Qt),165))==(H9(),rYt)||s==iYt){e=!1;break}for(r=new ed(l.e);r.a<r.c.c.length;)if(n=RR(xG(r),18),(s=RR(Bot(n.c.i,_Qt),165))==(H9(),eYt)||s==nYt){e=!1;break}}e&&qft(u,o,(M1(),j1t))}}}(n),Sst(e)}function t3(t,e){var n;return(n=new Ah).G=e,!t.rb&&(t.rb=new VF(t,hre,t)),EK(t.rb,n),n}function e3(t,e){var n;return(n=new fv).G=e,!t.rb&&(t.rb=new VF(t,hre,t)),EK(t.rb,n),n}function n3(t,e){var n;return 0!=(t.Db&e)?-1==(n=crt(t,e))?t.Eb:xJ(t.Eb)[n]:null}function r3(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw Jb(new vv)}function i3(t){var e;null==t.d?(++t.e,t.f=0,U6(null)):(++t.e,e=t.d,t.d=null,t.f=0,U6(e))}function a3(t){var e,n,r;return n=0,(r=t)<0&&(r+=TSt,n=ISt),e=CH(r/CSt),AA(CH(r-e*CSt),e,n)}function o3(t){var e,n,r;for(r=0,n=new oS(t.a);n.a<n.c.a.length;)e=mX(n),t.b.Fc(e)&&++r;return r}function s3(t,e){var n;this.c=t,qnt(t,n=new Vb,e,t.b,null,!1,null,!1),this.a=new tU(n,0)}function u3(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(ek(),RR(t,65).Jj()),this.k=sdt(e.e.Og(),t)}function c3(t,e,n){this.b=(wz(t),t),this.d=(wz(e),e),this.e=(wz(n),n),this.c=this.d+""+this.e}function l3(t,e){var n;return e?((n=e.We()).dc()||(t.q?p2(t.q,n):t.q=new uT(n)),t):t}function h3(t){var e;return e=RR(Bot(t,(dxt(),pqt)),61),t.k==(vst(),UHt)&&(e==(dwt(),Qte)||e==Dte)}function f3(){f3=S,_$t=new Lk("UP",0),y$t=new Lk(gIt,1),w$t=new Lk(rIt,2),x$t=new Lk(iIt,3)}function d3(t){t.r=new Pv,t.w=new Pv,t.t=new Vb,t.i=new Vb,t.d=new Pv,t.a=new YT,t.c=new Hb}function p3(t){this.n=new Vb,this.e=new sS,this.j=new sS,this.k=new Vb,this.f=new Vb,this.p=t}function g3(t){switch(t.a.g){case 1:return new AC;case 3:return new Irt;default:return new ph}}function b3(t,e){switch(e){case 1:return!!t.n&&0!=t.n.i;case 2:return null!=t.k}return yG(t,e)}function v3(t){if(zA(t,199))return RR(t,122);if(t)return null;throw Jb(new By($Ot))}function m3(t){var e;return zA(t,78)?t:((e=t&&t.__java$exception)||ov(e=new h6(t)),e)}function y3(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(!function(t,e){t[ekt].call(t,e)}(t.a,e),--t.c,tH(t.b)),n}function w3(t,e,n){var r,i;(i=RR(Bot(t,(Zwt(),yQt)),74))&&(U5(r=new vm,0,i),gJ(r,n),W0(e,r))}function x3(t,e,n){var r,i,a,o;r=(o=jz(t)).d,i=o.c,a=t.n,e&&(a.a=a.a-r.b-i.a),n&&(a.b=a.b-r.d-i.b)}function _3(t,e,n,r,i){nz(t.c[e.g],n.g,r),nz(t.c[n.g],e.g,r),nz(t.b[e.g],n.g,i),nz(t.b[n.g],e.g,i)}function S3(){S3=S,zGt=new pI(tIt,0),$Gt=new pI(rIt,1),VGt=new pI(iIt,2),HGt=new pI("TOP",3)}function k3(){k3=S,o0t=new WI("OFF",0),s0t=new WI("SINGLE_EDGE",1),a0t=new WI("MULTI_EDGE",2)}function I3(){I3=S,x6t=new wM("MINIMUM_SPANNING_TREE",0),w6t=new wM("MAXIMUM_SPANNING_TREE",1)}function M3(){M3=S,cte=t6((kht(),X3(uw(gte,1),P_t,92,0,[tte,J7t,nte,ste,ote,ate,rte,ite,ete])))}function C3(){C3=S,_ee=t6((Vgt(),X3(uw(See,1),P_t,258,0,[pee,bee,dee,vee,mee,wee,yee,gee,fee])))}function T3(){T3=S,kzt=t6((Cpt(),X3(uw(Izt,1),P_t,249,0,[Szt,mzt,yzt,vzt,xzt,_zt,wzt,bzt,gzt])))}function A3(t,e){if(!t)throw Jb(new Ny(Xpt("value already present: %s",X3(uw(gjt,1),zxt,1,5,[e]))))}function E3(t,e,n){return!(t>=128)&&z_(t<64?SH(xN(1,t),n):SH(xN(1,t-64),e),0)}function P3(t,e,n,r){return 1==n?(!t.n&&(t.n=new FF(cne,t,1,7)),jet(t.n,e,r)):dst(t,e,n,r)}function D3(t,e){var n;return D0(n=new ju,e),EK((!t.A&&(t.A=new vE(qre,t,7)),t.A),n),n}function O3(t,e,n){var r,i;return null,i=CU(e,bOt),function(t,e,n){var r,i,a;if(n)for(a=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);a.Ob();)(i=AU(n,RR(a.Pb(),20).a))&&Oct(t,i,e)}((r=new ZM(t,n)).a,r.b,i),i}function L3(t,e){var n,r;if(r=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)r=kH(r,xN(1,n));return r}function R3(t,e){var n;return 0!=(n=e.Nc()).length&&(OR(t.c,t.c.length,n),!0)}function N3(t,e){var n,r;for(wz(e),r=e.Ic();r.Ob();)if(n=r.Pb(),!t.Fc(n))return!1;return!0}function j3(t,e){var n;for(n=new ed(t.b);n.a<n.c.c.length;)S4(RR(xG(n),69),(dxt(),Iqt),e)}function F3(t,e){return!(!t||!e||t==e)&&(ptt(t.d.c,e.d.c+e.d.b)&&ptt(e.d.c,t.d.c+t.d.b))}function B3(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(u8(e,A6(t)))return!0;return!1}function z3(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new mU(t.e.f),t.a.Ob())}function $3(){return hq(),PBt?new pq(null):Elt(E2(),"com.google.common.base.Strings")}function V3(t,e){var n;return n=VP(e.a.gc()),uS(JQ(new lj(null,new ZW(e,1)),t.i),new qM(t,n)),n}function H3(t){var e;return D0(e=new ju,"T"),EK((!t.d&&(t.d=new vE(qre,t,11)),t.d),e),e}function W3(t){var e,n,r,i;for(e=1,n=0,i=t.gc();n<i;++n)e=31*e+(null==(r=t.fi(n))?0:p5(r));return e}function G3(t){var e;return(!t.a||0==(1&t.Bb)&&t.a.fh())&&zA(e=fit(t),148)&&(t.a=RR(e,148)),t.a}function U3(t,e,n,r){var i;return VG(e,t.e.Hd().gc()),VG(n,t.c.Hd().gc()),i=t.a[e][n],nz(t.a[e],n,r),i}function X3(t,e,n,r,i){return i.bm=t,i.cm=e,i.dm=_,i.__elementTypeId$=n,i.__elementTypeCategory$=r,i}function q3(t,e,n,i,a){return tpt(),r.Math.min(Iyt(t,e,n,i,a),Iyt(n,i,t,e,aD(new YM(a.a,a.b))))}function Y3(t){var e;return t<128?(!(e=(UN(),lFt)[t])&&(e=lFt[t]=new $f(t)),e):new $f(t)}function K3(t){var e,n;for(e=new sS,n=het(t.d,0);n.b!=n.d.c;)vN(e,RR(zU(n),188).c);return e}function Z3(t){var e,n;for(n=new Vb,e=t.Ic();e.Ob();)R3(n,Qdt(RR(e.Pb(),34)));return n}function Q3(t,e){var n,r;return n=t.c,(r=e.e[t.p])<n.a.c.length-1?RR(JN(n.a,r+1),10):null}function J3(t,e){var n,r,i;return n=t.l-e.l,r=t.m-e.m+(n>>22),i=t.h-e.h+(r>>22),AA(n&kSt,r&kSt,i&ISt)}function t4(t,e,n){var r;JF(t.a),cJ(n.i,new Pg(t)),Ott(t,r=new $A(RR(oz(t.a,e.b),63)),e),n.f=r}function e4(t,e,n){var r;if(e>(r=t.gc()))throw Jb(new GO(e,r));return t.ci()&&(n=ZH(t,n)),t.Qh(e,n)}function n4(t,e){if(0===e)return!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),void t.o.c.$b();iut(t,e)}function r4(t){switch(t.g){case 1:return q7t;case 2:return X7t;case 3:return Y7t;default:return K7t}}function i4(t){switch(RR(Bot(t,(Zwt(),_Qt)),165).g){case 2:case 4:return!0;default:return!1}}function a4(t){var e;return Sx(),e=new Zs,t&&EK((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),e),e}function o4(t){var e,n,r;for(mV(),r=0,n=t.Ic();n.Ob();)r+=null!=(e=n.Pb())?p5(e):0,r|=0;return r}function s4(t){var e,n,r;return n=t.n,r=t.o,e=t.d,new j$(n.a-e.b,n.b-e.d,r.a+(e.b+e.c),r.b+(e.d+e.a))}function u4(t,e){return!(!t||!e||t==e)&&(q9(t.b.c,e.b.c+e.b.b)<0&&q9(e.b.c,t.b.c+t.b.b)<0)}function c4(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function l4(t,e,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=e;a<=r;a++)cnt(t,a,o)||Fpt(t,a,o,!0,!1)}function h4(){h4=S,new vb("org.eclipse.elk.addLayoutConfig"),M6t=new ns,I6t=new Jo,new rs}function f4(){f4=S,YUt=new SI(mCt,0),qUt=new SI("INCOMING_ONLY",1),KUt=new SI("OUTGOING_ONLY",2)}function d4(){d4=S,TGt=new Jk(mCt,0),MGt=new Jk(yCt,1),CGt=new Jk(wCt,2),IGt=new Jk("BOTH",3)}function p4(){p4=S,CHt=new Yk("Q1",0),EHt=new Yk("Q4",1),THt=new Yk("Q2",2),AHt=new Yk("Q3",3)}function g4(){g4=S,O3t=jN(_tt(_tt(Wk(jN(new wU,(qrt(),E2t),(Mut(),V2t)),P2t),B2t),z2t),D2t,$2t)}function b4(){b4=S,FXt=t6((Zdt(),X3(uw(VXt,1),P_t,255,0,[TXt,EXt,PXt,DXt,OXt,LXt,NXt,CXt,AXt,RXt])))}function v4(){v4=S,Zjt={boolean:Z_,number:Ey,string:Py,object:rct,function:rct,undefined:ev}}function m4(t,e){zL(t>=0,"Negative initial capacity"),zL(e>=0,"Non-positive load factor"),JF(this)}function y4(t){var e;if(t<0)return B_t;if(0==t)return 0;for(e=A_t;0==(e&t);e>>=1);return e}function w4(t){var e,n;return AA(e=1+~t.l&kSt,n=~t.m+(0==e?1:0)&kSt,~t.h+(0==e&&0==n?1:0)&ISt)}function x4(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function _4(t){var e,n;return l3(n=new fY,t),S4(n,(y0(),HVt),t),function(t,e,n){var i,a,o,s,u;for(i=0,o=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=RR(Htt(o),34)).n&&(a.n=new FF(cne,a,1,7)),a.n).i||(s=RR(sJ((!a.n&&(a.n=new FF(cne,a,1,7)),a.n),0),137).a),l3(u=new dz(s),a),S4(u,(y0(),HVt),a),u.b=i++,u.d.a=a.i+a.g/2,u.d.b=a.j+a.f/2,u.e.a=r.Math.max(a.g,1),u.e.b=r.Math.max(a.f,1),LR(e.e,u),ect(n.f,a,u),RR(_ht(a,(fdt(),PVt)),100)==(Fat(),_te)&&xte}(t,n,e=new Hb),function(t,e,n){var i,a,o,s,u,c,l,h;for(c=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));c.e!=c.i.gc();)for(a=new xF(zE(uft(u=RR(Htt(c),34)).a.Ic(),new p));Qlt(a);){if(!(i=RR(dq(a),80)).b&&(i.b=new nL(nne,i,4,7)),!(i.b.i<=1&&(!i.c&&(i.c=new nL(nne,i,5,8)),i.c.i<=1)))throw Jb(new qy("Graph must not contain hyperedges."));if(!zlt(i)&&u!=Yat(RR(sJ((!i.c&&(i.c=new nL(nne,i,5,8)),i.c),0),93)))for(l3(l=new AO,i),S4(l,(y0(),HVt),i),bf(l,RR(PC(rH(n.f,u)),144)),vf(l,RR(oz(n,Yat(RR(sJ((!i.c&&(i.c=new nL(nne,i,5,8)),i.c),0),93))),144)),LR(e.c,l),s=new SE((!i.n&&(i.n=new FF(cne,i,1,7)),i.n));s.e!=s.i.gc();)l3(h=new xX(l,(o=RR(Htt(s),137)).a),o),S4(h,HVt,o),h.e.a=r.Math.max(o.g,1),h.e.b=r.Math.max(o.f,1),Nvt(h),LR(e.d,h)}}(t,n,e),n}function S4(t,e,n){return null==n?(!t.q&&(t.q=new Hb),sY(t.q,e)):(!t.q&&(t.q=new Hb),t$(t.q,e,n)),t}function k4(t,e,n){return null==n?(!t.q&&(t.q=new Hb),sY(t.q,e)):(!t.q&&(t.q=new Hb),t$(t.q,e,n)),t}function I4(t,e){this.b=t,hT.call(this,(RR(sJ(kV((VB(),kre).o),10),17),e.i),e.g),this.a=(d2(),eie)}function M4(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function C4(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function T4(t,e,n){this.q=new r.Date,this.q.setFullYear(t+o_t,e,n),this.q.setHours(0,0,0,0),bvt(this,0)}function A4(t,e){var n,r,i;for(n=!1,r=t.a[e].length,i=0;i<r-1;i++)n|=X7(t,e,i,i+1);return n}function E4(t,e){var n,r,i,a,o;for(mV(),o=!1,i=0,a=(r=e).length;i<a;++i)n=r[i],o|=t.Dc(n);return o}function P4(t,e,n){var r,i;return r=new vK(e,n),i=new B,t.b=Ndt(t,t.b,r,i),i.b||++t.c,t.b.b=!1,i.d}function D4(t){var e;return null==(e=t.a[t.b])?null:(nz(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function O4(t){var e,n;return 32==(n=tlt(t.h))?32==(e=tlt(t.m))?tlt(t.l)+32:e+20-10:n-12}function L4(t){var e;return(!t.c||0==(1&t.Bb)&&0!=(64&t.c.Db))&&zA(e=fit(t),87)&&(t.c=RR(e,26)),t.c}function R4(t){var e,n;for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),56)).d.c=-e.d.c-e.d.b;Nft(t)}function N4(t){var e,n;for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),79)).g.c=-e.g.c-e.g.b;jft(t)}function j4(t,e,n){var r,i,a;for(a=0,i=l8(e,n).Ic();i.Ob();)r=RR(i.Pb(),11),t$(t.c,r,k8(a++))}function F4(t){var e,n;for(null==t.j&&(t.j=(EV(),function(t){var e,n,i,a;for(e="Ey",n="Sx",a=r.Math.min(t.length,5),i=a-1;i>=0;i--)if(hL(t[i].d,e)||hL(t[i].d,n)){t.length>=i+1&&t.splice(0,i+1);break}return t}(Wjt.ce(t)))),e=0,n=t.j.length;e<n;++e);}function B4(t){var e,n,r;e=1+~t.l&kSt,n=~t.m+(0==e?1:0)&kSt,r=~t.h+(0==e&&0==n?1:0)&ISt,t.l=e,t.m=n,t.h=r}function z4(t,e,n){var r;return wdt(t,e,r=new Vb,(dwt(),Dte),!0,!1),wdt(t,n,r,Qte,!1,!1),r}function $4(t){var e,n,r,i,a;for(e=new fx,i=0,a=(r=t).length;i<a;++i)n=r[i],e.a+=n.a,e.b+=n.b;return e}function V4(t){var e,n;for(tpt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function H4(t,e,n){var r,i;return null,i=CU(e,"labels"),function(t,e,n){var r,i,a,o;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);i.Ob();)(a=AU(n,RR(i.Pb(),20).a))&&(o=o1(EU(a,gOt),e),t$(t.f,o,a),TOt in a.a&&B1(o,EU(a,TOt)),oot(a,o),sct(a,o))}((r=new sC(t,n)).a,r.b,i),i}function W4(){W4=S,LGt=new mr,RGt=new yr,OGt=new wr,DGt=new xr,wz(new _r),PGt=new M}function G4(){G4=S,C1t=new jI(mCt,0),M1t=new jI("NODES_AND_EDGES",1),T1t=new jI("PREFER_EDGES",2)}function U4(t){if(0===t.g)return new es;throw Jb(new Ny(yPt+(null!=t.f?t.f:""+t.g)))}function X4(t){if(0===t.g)return new is;throw Jb(new Ny(yPt+(null!=t.f?t.f:""+t.g)))}function q4(t,e){switch(e){case 7:return!!t.e&&0!=t.e.i;case 8:return!!t.d&&0!=t.d.i}return g7(t,e)}function Y4(t,e){var n;return n=a8(t,e),Ox(GH(t,e),0)|function(t,e){return A5(t,e)>=0}(GH(t,n),0)?n:a8(f_t,GH(_N(n,63),1))}function K4(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!RR(tj(t.a,n),169).Lb(e))return!1;return!0}function Z4(t){var e;return Nz(t),e=new tt,t.a.sd(e)?(FE(),new yy(wz(e.a))):(FE(),FE(),hBt)}function Q4(t){var e;return!(t.b<=0)&&((e=ST("MLydhHmsSDkK",mot(d$(t.c,0))))>1||e>=0&&t.b<3)}function J4(t){var e,n,r;for(mV(),r=1,n=t.Ic();n.Ob();)r=31*r+(null!=(e=n.Pb())?p5(e):0),r|=0;return r}function t5(t,e,n,r,i){var a;return a=rht(t,e),n&&B4(a),i&&(t=function(t,e){var n,r,i;e<=22?(n=t.l&(1<<e)-1,r=i=0):e<=44?(n=t.l,r=t.m&(1<<e-22)-1,i=0):(n=t.l,r=t.m,i=t.h&(1<<e-44)-1);return AA(n,r,i)}(t,e),Qjt=r?w4(t):AA(t.l,t.m,t.h)),a}function e5(t,e,n){var r,i;return zA(e,144)&&n?(r=RR(e,144),i=n,t.a[r.b][i.b]+t.a[i.b][r.b]):0}function n5(t,e,n){var r;for(r=n-1;r>=0&&t[r]===e[r];r--);return r<0?0:Ox(SH(t[r],WSt),SH(e[r],WSt))?-1:1}function r5(t){var e;for(e=new ed(t.a.b);e.a<e.c.c.length;)RR(xG(e),79).f.$b();py(t.b,t),Jft(t)}function i5(t){var e,n;for(e=new vm,n=het(t,0);n.b!=n.d.c;)AD(e,0,new uA(RR(zU(n),8)));return e}function a5(t){for(;!t.d||!t.d.Ob();){if(!t.b||Hy(t.b))return null;t.d=RR(hB(t.b),49)}return t.d}function o5(t,e){if(!t.Xh()&&null==e)throw Jb(new Ny("The 'no null' constraint is violated"));return e}function s5(t,e){var n,r,i;for(i=t.b;i;){if(0==(n=t.a.ue(e,i.d)))return i;r=n<0?0:1,i=i.a[r]}return null}function u5(){var t;return bxt(),qae||(t=function(t){return new _X(3,t)}(Awt("M",!0)),t=yj(Awt("M",!1),t),qae=t)}function c5(t,e,n){t.g=xut(t,e,(dwt(),Dte),t.b),t.d=xut(t,n,Dte,t.b),0!=t.g.c&&0!=t.d.c&&ist(t)}function l5(t,e,n){t.g=xut(t,e,(dwt(),Qte),t.j),t.d=xut(t,n,Qte,t.j),0!=t.g.c&&0!=t.d.c&&ist(t)}function h5(t,e,n){if(0===e)return!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),void _2(t.o,n);Vut(t,e,n)}function f5(t){switch(t.g){case 1:return IEt;default:case 2:return 0;case 3:return KIt;case 4:return MEt}}function d5(t){return PBt?hK(CBt,dkt,564,0,0,1):RR(eet(t.a,hK(CBt,dkt,564,t.a.c.length,0,1)),821)}function p5(t){return RC(t)?snt(t):LC(t)?wT(t):OC(t)?(wz(t),t?1231:1237):fF(t)?t.Hb():xj(t)?uP(t):jV(t)}function g5(t){return RC(t)?MFt:LC(t)?fFt:OC(t)?oFt:fF(t)||xj(t)?t.bm:t.bm||Array.isArray(t)&&uw(Bjt,1)||Bjt}function b5(t){this.e=t,this.d=new BX(this.e.g),this.a=this.d,this.b=z3(this),this.$modCount=t.$modCount}function v5(t,e,n,r){this.b=new Vb,this.n=new Vb,this.i=r,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function m5(t,e,n){this.g=t,this.e=new fx,this.f=new fx,this.d=new sS,this.b=new sS,this.a=e,this.c=n}function y5(t,e,n){var r,i;this.g=t,this.c=e,this.a=this,this.d=this,i=J1(n),r=hK(Ljt,C_t,328,i,0,1),this.b=r}function w5(t,e,n){var r;return S1(r=new Tm,e,n),EK((!t.q&&(t.q=new FF(mre,t,11,10)),t.q),r),r}function x5(t){var e,n,r,i;for(i=function(t,e){return e.split(t)}(gne,t),n=i.length,r=hK(MFt,u_t,2,n,6,1),e=0;e<n;++e)r[e]=i[e];return r}function _5(t,e){var n,r,i,a,o;for(i=0,a=(r=e).length;i<a;++i)n=r[i],o=new vz(t),n.Qe(o),Ovt(o);JF(t.f)}function S5(t,e){var n;2*e+1>=t.b.c.length||(S5(t,2*e+1),(n=2*e+2)<t.b.c.length&&S5(t,n),dct(t,e))}function k5(t,e){var n;return e===t||!!zA(e,222)&&(n=RR(e,222),u8(t.Zb(),n.Zb()))}function I5(t,e,n,r,i){var a,o;for(o=n;o<=i;o++)for(a=e;a<=r;a++)if(cnt(t,a,o))return!0;return!1}function M5(t,e){var n,r;return r=RR(n3(t.a,4),124),n=hK(jne,$Lt,410,e,0,1),null!=r&&Yvt(r,0,n,0,r.length),n}function C5(t,e){var n;return n=new Ppt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function T5(t,e,n){var r,i,a,o;for(wz(n),o=!1,a=t.Xc(e),i=n.Ic();i.Ob();)r=i.Pb(),a.Rb(r),o=!0;return o}function A5(t,e){var n;return NC(t)&&NC(e)&&(n=t-e,!isNaN(n))?n:wit(NC(t)?a3(t):t,NC(e)?a3(e):e)}function E5(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.kl()}}function P5(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ll()}}function D5(t){var e;if((e=t.a.c.length)>0)return qj(e-1,t.a.c.length),tY(t.a,e-1);throw Jb(new kv)}function O5(t,e,n){var r,i;for(i=n.Ic();i.Ob();)if(r=RR(i.Pb(),43),t.re(e,r.bd()))return!0;return!1}function L5(t,e,n){return t.d[e.p][n.p]||(!function(t,e,n){if(t.e)switch(t.b){case 1:!function(t,e,n){t.i=0,t.e=0,e!=n&&c5(t,e,n)}(t.c,e,n);break;case 0:!function(t,e,n){t.i=0,t.e=0,e!=n&&l5(t,e,n)}(t.c,e,n)}else hX(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function R5(t,e){return!(!t||t==e||!ZP(e,(dxt(),_qt)))&&RR(Bot(e,(dxt(),_qt)),10)!=t}function N5(t,e){var n;if(0!=e.c.length){for(;Xot(t,e);)Lht(t,e,!1);n=Z3(e),t.a&&(t.a.gg(n),N5(t,n))}}function j5(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),U1(t,null==e?null:(wz(e),e)),t.C&&t.tk(null)}function F5(){F5=S,Dee=new fC("ELK",0),Oee=new fC("JSON",1),Pee=new fC("DOT",2),Lee=new fC("SVG",3)}function B5(){B5=S,LBt=new mk("CONCURRENT",0),RBt=new mk("IDENTITY_FINISH",1),NBt=new mk("UNORDERED",2)}function z5(){z5=S,q3t=new dM(mCt,0),Y3t=new dM("RADIAL_COMPACTION",1),K3t=new dM("WEDGE_COMPACTION",2)}function $5(){$5=S,z7t=new sA(15),B7t=new lA((fxt(),y9t),z7t),$7t=V9t,R7t=O8t,N7t=h9t,F7t=p9t,j7t=d9t}function V5(){V5=S,fxt(),g4t=V9t,m4t=i7t,fht(),h4t=J3t,f4t=t4t,d4t=n4t,p4t=i4t,b4t=a4t,v4t=o4t,y4t=u4t}function H5(){H5=S,kS(),U$t=new cT(BIt,X$t=H$t),G$t=new vb(zIt),q$t=new vb($It),Y$t=new vb(VIt)}function W5(t,e,n){if(t>e)throw Jb(new Ny(vkt+t+mkt+e));if(t<0||e>n)throw Jb(new cw(vkt+t+ykt+e+ukt+n))}function G5(t,e,n,i,a){i?function(t,e){var n,r;for(r=new ed(e);r.a<r.c.c.length;)n=RR(xG(r),10),t.a[n.c.p][n.p].a=Fj(t.f),t.a[n.c.p][n.p].d=Dy(t.a[n.c.p][n.p].a),t.a[n.c.p][n.p].b=1}(t,e):(function(t,e,n){var r,i,a;for(a=new ed(e);a.a<a.c.c.length;)r=RR(xG(a),10),t.a[r.c.p][r.p].e=!1;for(i=new ed(e);i.a<i.c.c.length;)Kyt(t,r=RR(xG(i),10),n)}(t,e,a),function(t,e,n){var i,a,o,s,u,c,l,h,f,d;if(n)for(i=-1,h=new tU(e,0);h.b<h.d.gc();){if(MP(h.b<h.d.gc()),u=RR(h.d.Xb(h.c=h.b++),10),null==(f=t.a[u.c.p][u.p].a)){for(s=i+1,o=new tU(e,h.b);o.b<o.d.gc();)if(null!=(d=sE(t,(MP(o.b<o.d.gc()),RR(o.d.Xb(o.c=o.b++),10))).a)){wz(d),s=d;break}f=(i+s)/2,t.a[u.c.p][u.p].a=f,t.a[u.c.p][u.p].d=(wz(f),f),t.a[u.c.p][u.p].b=1}wz(f),i=f}else{for(a=0,l=new ed(e);l.a<l.c.c.length;)u=RR(xG(l),10),null!=t.a[u.c.p][u.p].a&&(a=r.Math.max(a,Dy(t.a[u.c.p][u.p].a)));for(a+=2,c=new ed(e);c.a<c.c.c.length;)u=RR(xG(c),10),null==t.a[u.c.p][u.p].a&&(f=Ght(t.f,24)*akt*a-1,t.a[u.c.p][u.p].a=f,t.a[u.c.p][u.p].d=f,t.a[u.c.p][u.p].b=1)}}(t,e,n)),e.c.length>1&&(mV(),kA(e,t.b),function(t,e){t.c&&(zgt(t,e,!0),uS(new lj(null,new ZW(e,16)),new Zp(t))),zgt(t,e,!1)}(t.c,e))}function U5(t,e,n){var r,i;for(r=new sS,i=het(n,0);i.b!=i.d.c;)vN(r,new uA(RR(zU(i),8)));T5(t,e,r)}function X5(t){var e;return!t.a&&(t.a=new FF(bre,t,9,5)),0!=(e=t.a).i?function(t){return t.b?t.b:t.a}(RR(sJ(e,0),666)):null}function q5(t,e){var n,r;if(0!=(r=t.c[e]))for(t.c[e]=0,t.d-=r,n=e+1;n<t.a.length;)t.a[n]-=r,n+=n&-n}function Y5(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.mi(t.i),Yvt(e,0,t.g,0,t.i))}function K5(t,e,n){var r;return WH(e,t.c.length),0!=(r=n.Nc()).length&&(OR(t.c,e,r),!0)}function Z5(t,e){return LR(t.c,e),UJ(e,t.e+t.d),XJ(e,t.f),t.a=r.Math.max(t.a,e.f+t.b),t.d+=e.g+t.b,!0}function Q5(t,e){var n,r,i;for(n=t,i=0;;){if(n==e)return i;if(!(r=n.e))throw Jb(new yv);n=jz(r),++i}}function J5(t){var e,n,r,i,a;for(a=1,r=0,i=(n=t).length;r<i;++r)a=31*a+(null!=(e=n[r])?p5(e):0),a|=0;return a}function t6(t){var e,n,r,i,a;for(e={},i=0,a=(r=t).length;i<a;++i)e[":"+(null!=(n=r[i]).f?n.f:""+n.g)]=n;return e}function e6(t,e){wB(t);try{return t.vc(e)}catch(t){if(zA(t=m3(t),203)||zA(t,173))return null;throw Jb(t)}}function n6(t,e){return t?e&&!t.j||zA(t,121)&&0==RR(t,121).a.b?0:t.Re():0}function r6(t,e){return t?e&&!t.k||zA(t,121)&&0==RR(t,121).a.a?0:t.Se():0}function i6(t,e,n){var r,i,a,o;for(a=0,o=(i=n).length;a<o;++a)if(r=i[a],t.b.re(e,r.ad()))return r;return null}function a6(t){var e,n,r;for(r=0,n=new xF(zE(t.a.Ic(),new p));Qlt(n);)(e=RR(dq(n),18)).c.i==e.d.i||++r;return r}function o6(t,e){var n,r,i;for(i=e-t.e,r=new ed(t.c);r.a<r.c.c.length;)W7(n=RR(xG(r),437),n.d,n.e+i);t.e=e}function s6(t,e,n){return r.Math.abs(e-t)<kEt||r.Math.abs(n-t)<kEt||(e-t>kEt?t-n>kEt:n-t>kEt)}function u6(t){if(!t.a||0==(8&t.a.i))throw Jb(new jy("Enumeration class expected for layout option "+t.f))}function c6(t){lW.call(this,"The given string does not match the expected format for individual spacings.",t)}function l6(){Qm.call(this,new bK(HQ(16))),k1(2,s_t),this.b=2,this.a=new Yz(null,null,0,null),av(this.a,this.a)}function h6(t){hy(),yA(this),cV(this),this.e=t,kdt(this,t),this.g=null==t?Hxt:P9(t),this.a="",this.b=t,this.a=""}function f6(){this.a=new Zo,this.f=new kg(this),this.b=new Ig(this),this.i=new Mg(this),this.e=new Cg(this)}function d6(){d6=S,K1t=new VI("CONSERVATIVE",0),Z1t=new VI("CONSERVATIVE_SOFT",1),Q1t=new VI("SLOPPY",2)}function p6(){p6=S,_Ht=BH(X3(uw(y7t,1),P_t,108,0,[(E8(),h7t),f7t])),SHt=BH(X3(uw(y7t,1),P_t,108,0,[p7t,l7t]))}function g6(t,e){var n,r;n=t.ik(e,null),r=null,e&&(Ix(),mJ(r=new Ub,t.r)),(n=dot(t,r,n))&&n.Ai()}function b6(t,e){var n;for(n=0;n<e.length;n++)if(t==(AW(n,e.length),e.charCodeAt(n)))return!0;return!1}function v6(t,e){return e<t.length&&(AW(e,t.length),63!=t.charCodeAt(e))&&(AW(e,t.length),35!=t.charCodeAt(e))}function m6(t,e,n,r){var i,a;t.a=e,a=r?0:1,t.f=(i=new Xst(t.c,t.a,n,a),new Tpt(n,t.a,i,t.e,t.b,t.c==(T1(),k0t)))}function y6(t,e){var n,r,i;return r=!1,n=e.q.c,e.d<t.b&&(i=Rft(e.q,t.b),e.q.c>i&&(mat(e.q,i),r=n!=e.q.c)),r}function w6(t,e){var n,i,a,o,s;return o=e.i,s=e.j,i=o-(n=t.f).i,a=s-n.j,r.Math.sqrt(i*i+a*a)}function x6(t,e){var n;return(n=wtt(t))||(!bne&&(bne=new Iu),lmt(),EK((n=new Rb(Fut(e))).Qk(),t)),n}function _6(t){var e;if(0!=t.c)return t.c;for(e=0;e<t.a.length;e++)t.c=33*t.c+(-1&t.a[e]);return t.c=t.c*t.e,t.c}function S6(t,e){var n;for(n=0;n<e.length;n++)if(t==(AW(n,e.length),e.charCodeAt(n)))return!0;return!1}function k6(t,e,n){var r;for(r=e.a.a.ec().Ic();r.Ob();)if(zV(t,RR(r.Pb(),56),n))return!0;return!1}function I6(t,e){wB(t);try{return t.Fc(e)}catch(t){if(zA(t=m3(t),203)||zA(t,173))return!1;throw Jb(t)}}function M6(t,e){wB(t);try{return t._b(e)}catch(t){if(zA(t=m3(t),203)||zA(t,173))return!1;throw Jb(t)}}function C6(t){var e,n;for(n=new ed(t.r);n.a<n.c.c.length;)if(e=RR(xG(n),10),t.n[e.p]<=0)return e;return null}function T6(t){var e;return l3(e=new HA(t.a),t),S4(e,(dxt(),Oqt),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function A6(t){var e;return MP(t.a!=t.b),e=t.d.a[t.a],SP(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function E6(t,e){var n,r;return(n=RR(t.c.zc(e),15))?((r=t.hc()).Ec(n),t.d-=n.gc(),n.$b(),t.kc(r)):t.jc()}function P6(t,e){var n,r,i,a;return(a=Wut((r=e,(i=t?wtt(t):null)&&i.Sk(),r)))==e&&(n=wtt(t))&&n.Sk(),a}function D6(t,e,n){var r,i;return i=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,1,i,e),n?n.zi(r):n=r),n}function O6(t,e,n){var r;r=new ylt(t,e),Kct(t.r,e.Ef(),r),n&&!PF(t.t)&&(r.c=new RH(t.d),cJ(e.uf(),new Nd(r)))}function L6(t,e,n){var r,i;return i=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,3,i,e),n?n.zi(r):n=r),n}function R6(t,e,n){var r,i;return i=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,0,i,e),n?n.zi(r):n=r),n}function N6(t,e,n,r){var i,a;for(a=t.Ic();a.Ob();)(i=RR(a.Pb(),69)).n.a=e.a+(r.a-i.o.a)/2,i.n.b=e.b,e.b+=i.o.b+n}function j6(t,e,n,r,i){0!=e&&0!=r&&(1==e?i[r]=uet(i,n,r,t[0]):1==r?i[e]=uet(i,t,e,n[0]):function(t,e,n,r,i){var a,o,s,u;if(DC(t)===DC(e)&&r==i)return void Dgt(t,r,n);for(s=0;s<r;s++){for(o=0,a=t[s],u=0;u<i;u++)o=a8(a8(o8(SH(a,WSt),SH(e[u],WSt)),SH(n[s+u],WSt)),SH(QN(o),WSt)),n[s+u]=QN(o),o=_N(o,32);n[s+i]=QN(o)}}(t,n,i,e,r))}function F6(t,e,n){if(t<0||e>n)throw Jb(new My(vkt+t+ykt+e+", size: "+n));if(t>e)throw Jb(new Ny(vkt+t+mkt+e))}function B6(t){throw v4(),Jb(new uy("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function z6(t){return rpt(),t<0?-1!=t?new zet(-1,-t):NFt:t<=10?FFt[CH(t)]:new zet(1,t)}function $6(t){switch(t.gc()){case 0:return Mjt;case 1:return new HN(wB(t.Xb(0)));default:return new pH(t)}}function V6(t){switch(CL(),t.gc()){case 0:return $z(),Rjt;case 1:return new aw(t.Ic().Pb());default:return new ck(t)}}function H6(t){switch(CL(),t.c){case 0:return $z(),Rjt;case 1:return new aw(mct(new oS(t)));default:return new ny(t)}}function W6(t,e){switch(e){case 1:return!t.n&&(t.n=new FF(cne,t,1,7)),void Omt(t.n);case 2:return void B1(t,null)}n4(t,e)}function G6(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}function U6(t){var e,n,r,i;if(null!=t)for(n=0;n<t.length;++n)if(e=t[n])for(RR(e.g,364),i=e.i,r=0;r<i;++r);}function X6(t){var e;return(e=new pw).a+="VerticalSegment ",GC(e,t.e),e.a+=" ",UC(e,AE(new iw,new ed(t.k))),e.a}function q6(t,e){var n,r;for(n=0,r=i9(t,e).Ic();r.Ob();)n+=null!=Bot(RR(r.Pb(),11),(dxt(),$qt))?1:0;return n}function Y6(t,e,n){var r,i,a;for(r=0,a=het(t,0);a.b!=a.d.c&&!((i=Dy(VD(zU(a))))>n);)i>=e&&++r;return r}function K6(t){var e;return(e=RR(aQ(t.c.c,""),227))||(e=new FW(Xw(Zw(new ps,""),"Other")),set(t.c.c,"",e)),e}function Z6(t){var e;return 0!=(64&t.Db)?Fht(t):((e=new qE(Fht(t))).a+=" (name: ",HC(e,t.zb),e.a+=")",e.a)}function Q6(t,e,n){var r,i;return i=t.sb,t.sb=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,4,i,e),n?n.zi(r):n=r),n}function J6(t,e,n){var r;if(e>(r=t.gc()))throw Jb(new GO(e,r));if(t.ci()&&t.Fc(n))throw Jb(new Ny(HOt));t.Sh(e,n)}function t8(t,e,n){if(e<0)_ct(t,n);else{if(!n.Dj())throw Jb(new Ny(WDt+n.ne()+GDt));RR(n,65).Ij().Qj(t,t.th(),e)}}function e8(t,e,n){var r;t.li(t.i+1),r=t.ji(e,n),e!=t.i&&Yvt(t.g,e,t.g,e+1,t.i-e),nz(t.g,e,r),++t.i,t.Yh(e,n),t.Zh()}function n8(t,e,n){var r,i;return i=t.r,t.r=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,8,i,t.r),n?n.zi(r):n=r),n}function r8(t,e){var n,r;return!(r=(n=RR(e,664)).qk())&&n.rk(r=zA(e,87)?new IC(t,RR(e,26)):new jG(t,RR(e,148))),r}function i8(t,e){var n;return n=new tt,t.a.sd(n)?(FE(),new yy(wz(RZ(t,n.a,e)))):(Nz(t),FE(),FE(),hBt)}function a8(t,e){var n;return NC(t)&&NC(e)&&ESt<(n=t+e)&&n<TSt?n:R2(function(t,e){var n,r,i;return n=t.l+e.l,r=t.m+e.m+(n>>22),i=t.h+e.h+(r>>22),AA(n&kSt,r&kSt,i&ISt)}(NC(t)?a3(t):t,NC(e)?a3(e):e))}function o8(t,e){var n;return NC(t)&&NC(e)&&ESt<(n=t*e)&&n<TSt?n:R2(function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;n=8191&t.l,r=t.l>>13|(15&t.m)<<9,i=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,s=8191&e.l,u=e.l>>13|(15&e.m)<<9,c=e.m>>4&8191,l=e.m>>17|(255&e.h)<<5,h=(1048320&e.h)>>8,b=r*s,v=i*s,m=a*s,y=o*s,0!=u&&(b+=n*u,v+=r*u,m+=i*u,y+=a*u);0!=c&&(v+=n*c,m+=r*c,y+=i*c);0!=l&&(m+=n*l,y+=r*l);return 0!=h&&(y+=n*h),d=((g=n*s)>>22)+(b>>9)+((262143&v)<<4)+((31&m)<<17),p=(v>>18)+(m>>5)+((4095&y)<<8),p+=(d+=(f=(g&kSt)+((511&b)<<13))>>22)>>22,AA(f&=kSt,d&=kSt,p&=ISt)}(NC(t)?a3(t):t,NC(e)?a3(e):e))}function s8(t,e){var n;return NC(t)&&NC(e)&&ESt<(n=t-e)&&n<TSt?n:R2(J3(NC(t)?a3(t):t,NC(e)?a3(e):e))}function u8(t,e){return RC(t)?hL(t,e):LC(t)?lL(t,e):OC(t)?(wz(t),DC(t)===DC(e)):fF(t)?t.Fb(e):xj(t)?bT(t,e):dG(t,e)}function c8(t){return(dwt(),Wte).Fc(t.j)?Dy(VD(Bot(t,(dxt(),Kqt)))):$4(X3(uw(t8t,1),u_t,8,0,[t.i.n,t.n,t.a])).b}function l8(t,e){switch(e.g){case 2:case 1:return i9(t,e);case 3:case 4:return T2(i9(t,e))}return mV(),mV(),YFt}function h8(t,e,n,r){switch(e){case 1:return!t.n&&(t.n=new FF(cne,t,1,7)),t.n;case 2:return t.k}return Ort(t,e,n,r)}function f8(t,e){var n;0!=t.c.length&&(AT(n=RR(eet(t,hK(ZHt,KMt,10,t.c.length,0,1)),213),new Mn),ilt(n,e))}function d8(t,e){var n;0!=t.c.length&&(AT(n=RR(eet(t,hK(ZHt,KMt,10,t.c.length,0,1)),213),new Cn),ilt(n,e))}function p8(t){var e;return 0!=(64&t.Db)?Fht(t):((e=new qE(Fht(t))).a+=" (source: ",HC(e,t.d),e.a+=")",e.a)}function g8(t,e){var n;if(zA(n=Uft(t,e),321))return RR(n,32);throw Jb(new Ny(WDt+e+"' is not a valid attribute"))}function b8(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,3,n,e))}function v8(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,9,n,e))}function m8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,8,n,e))}function y8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,8,n,e))}function w8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,2,n,e))}function x8(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Bj(),t.b=n?t.c.Sg(t.a.Xi(),n):c7(t.c.Og(),t.a)),t.c.Jg(t.b,e)}function _8(t,e){var n,r;for(r=new SE(t);r.e!=r.i.gc();)if(n=RR(Htt(r),26),DC(e)===DC(n))return!0;return!1}function S8(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(qN(),SFt)[e])&&(n=SFt[e]=new Kf(t)),n):new Kf(t)}function k8(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(gN(),pFt)[e])&&(n=pFt[e]=new qf(t)),n):new qf(t)}function I8(t){var e;return t.k==(vst(),UHt)&&((e=RR(Bot(t,(dxt(),pqt)),61))==(dwt(),Ote)||e==Kte)}function M8(t){var e;t.g&&(Adt((e=t.c.Of()?t.f:t.a).a,t.o,!0),Adt(e.a,t.o,!1),S4(t.o,(Zwt(),nJt),(Fat(),vte)))}function C8(t){var e;if(!t.a)throw Jb(new jy("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,fV(t,e),dV(t,e)}function T8(t,e,n){var r,i;return(i=Vht(t.b,e))&&(r=RR(bmt(jZ(t,i),""),26))?Oht(t,r,e,n):null}function A8(t,e){var n,r;for(r=new SE(t);r.e!=r.i.gc();)if(n=RR(Htt(r),138),DC(e)===DC(n))return!0;return!1}function E8(){E8=S,d7t=new IM(uIt,0),f7t=new IM(iIt,1),h7t=new IM(rIt,2),l7t=new IM(gIt,3),p7t=new IM("UP",4)}function P8(){P8=S,W7t=new AM("INHERIT",0),H7t=new AM("INCLUDE_CHILDREN",1),G7t=new AM("SEPARATE_CHILDREN",2)}function D8(){D8=S,b5t=new yM("P1_STRUCTURE",0),v5t=new yM("P2_PROCESSING_ORDER",1),m5t=new yM("P3_EXECUTION",2)}function O8(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function L8(t){var e,n,r;for(e=new Vb,r=new ed(t.b);r.a<r.c.c.length;)n=RR(xG(r),585),R3(e,RR(n.kf(),15));return e}function R8(t){var e,n;for(n=t.p.a.ec().Ic();n.Ob();)if((e=RR(n.Pb(),211)).f&&t.b[e.c]<-1e-10)return e;return null}function N8(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function j8(t,e){return t<e?-1:t>e?1:t==e?0==t?j8(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function F8(t){switch(t.g){case 2:return f7t;case 1:return h7t;case 4:return l7t;case 3:return p7t;default:return d7t}}function B8(t){switch(t.g){case 1:return Qte;case 2:return Ote;case 3:return Dte;case 4:return Kte;default:return Zte}}function z8(t){switch(t.g){case 1:return Kte;case 2:return Qte;case 3:return Ote;case 4:return Dte;default:return Zte}}function $8(t){switch(t.g){case 1:return Dte;case 2:return Kte;case 3:return Qte;case 4:return Ote;default:return Zte}}function V8(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new j$(e.d,0,e.a,e.b);default:return null}}function H8(t){if(t.c)H8(t.c);else if(t.d)throw Jb(new jy("Stream already terminated, can't be modified or used"))}function W8(t,e){var n;n=0!=(t.Bb&jSt),e?t.Bb|=jSt:t.Bb&=-4097,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,12,n,e))}function G8(t,e){var n;n=0!=(t.Bb&GLt),e?t.Bb|=GLt:t.Bb&=-1025,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,10,n,e))}function U8(t,e){var n;n=0!=(t.Bb&lRt),e?t.Bb|=lRt:t.Bb&=-2049,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,11,n,e))}function X8(t,e){var n;n=0!=(t.Bb&cRt),e?t.Bb|=cRt:t.Bb&=-8193,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,15,n,e))}function q8(t,e){var n,r,i;null==t.d?(++t.e,--t.f):(i=e.ad(),function(t,e,n){++t.e,--t.f,RR(t.d[e].Yc(n),133).bd()}(t,r=((n=e.Nh())&Lxt)%t.d.length,$ht(t,r,n,i)))}function Y8(t,e,n){var r,i;return t._i()?(i=t.aj(),r=qct(t,e,n),t.Vi(t.Ui(7,k8(n),r,e,i)),r):qct(t,e,n)}function K8(t,e){var n;for(n=new ed(t.a);n.a<n.c.c.length;)if(Z2(RR(xG(n),503),e))return;LR(t.a,new cN(e))}function Z8(t,e){var n,r;for(r=new ed(e);r.a<r.c.c.length;)n=RR(xG(r),46),yZ(t.b.b,n.b),FV(RR(n.a,189),RR(n.b,79))}function Q8(t,e,n){var r;if(t.c)Aot(t.c,e,n);else for(r=new ed(t.b);r.a<r.c.c.length;)Q8(RR(xG(r),157),e,n)}function J8(t){var e,n;for(n=Xht(bJ(t)).Ic();n.Ob();)if(abt(t,e=HD(n.Pb())))return DX((KS(),ore),e);return null}function t9(t,e){var n;n=0!=(t.Bb&KDt),e?t.Bb|=KDt:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,18,n,e))}function e9(t,e){var n;n=0!=(t.Bb&KDt),e?t.Bb|=KDt:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,18,n,e))}function n9(t,e){var n;n=0!=(t.Bb&c_t),e?t.Bb|=c_t:t.Bb&=-16385,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,16,n,e))}function r9(t,e){var n;n=0!=(t.Bb&BSt),e?t.Bb|=BSt:t.Bb&=-65537,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new Iq(t,1,20,n,e))}function i9(t,e){var n;return t.i||Mct(t),(n=RR(h$(t.g,e),46))?new KW(t.j,RR(n.a,20).a,RR(n.b,20).a):(mV(),mV(),YFt)}function a9(t){var e,n,r,i;return l0(n=new GL(e=RR(Rx((i=(r=t.bm).f)==Pjt?r:i),9),RR(wO(e,e.length),9),0),t),n}function o9(t){var e;return(e=RR(Bot(t,(Zwt(),qZt)),108))==(E8(),d7t)?Dy(VD(Bot(t,PZt)))>=1?f7t:l7t:e}function s9(t){switch(RR(Bot(t,(dxt(),xqt)),301).g){case 1:S4(t,xqt,(JZ(),WXt));break;case 2:S4(t,xqt,(JZ(),UXt))}}function u9(t,e,n){var r,i;for(i=t.a.ec().Ic();i.Ob();)if(r=RR(i.Pb(),10),N3(n,RR(JN(e,r.p),15)))return r;return null}function c9(t,e,n){var r;return Sx(),JJ(r=new tu,e),YJ(r,n),t&&EK((!t.a&&(t.a=new fE(Jee,t,5)),t.a),r),r}function l9(t,e,n,r){var i,a;return wz(r),wz(n),null==(a=null==(i=t.vc(e))?n:cS(RR(i,14),RR(n,15)))?t.zc(e):t.xc(e,a),a}function h9(t,e,n){var r;return r=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===r?(++t.c,tH(t.b)):++t.d,r}function f9(t){var e;return 0!=(64&t.Db)?Fht(t):((e=new qE(Fht(t))).a+=" (identifier: ",HC(e,t.k),e.a+=")",e.a)}function d9(t){var e,n;for(e=new Vb,n=new ed(t.j);n.a<n.c.c.length;)LR(e,RR(xG(n),11).b);return wB(e),new CT(e)}function p9(t){var e,n;for(e=new Vb,n=new ed(t.j);n.a<n.c.c.length;)LR(e,RR(xG(n),11).e);return wB(e),new CT(e)}function g9(t){var e,n;for(e=new Vb,n=new ed(t.j);n.a<n.c.c.length;)LR(e,RR(xG(n),11).g);return wB(e),new CT(e)}function b9(t){var e;return e=hK(eoe,q_t,24,2,15,1),t-=BSt,e[0]=(t>>10)+zSt&Y_t,e[1]=56320+(1023&t)&Y_t,utt(e,0,e.length)}function v9(t){var e,n;for(n=function(t){var e,n,r,i,a,o,s;if((e=t.Ch(LRt))&&null!=(s=HD(M7((!e.b&&(e.b=new hD((mxt(),Wre),oie,e)),e.b),"settingDelegates")))){for(n=new Vb,a=0,o=(i=xgt(s,"\\w+")).length;a<o;++a)r=i[a],n.c[n.c.length]=r;return n}return mV(),mV(),YFt}(bJ(iW(t))).Ic();n.Ob();)if(abt(t,e=HD(n.Pb())))return OX((ZS(),xre),e);return null}function m9(t){var e,n,r;for(e=new fO(t.Hd().gc()),r=0,n=zK(t.Hd().Ic());n.Ob();)pW(e,n.Pb(),k8(r++));return function(t){var e;switch(x$(),t.c.length){case 0:return Cjt;case 1:return function(t,e){return x$(),tnt(t,e),new Kz(t,e)}((e=RR(mct(new ed(t)),43)).ad(),e.bd());default:return new oy(RR(eet(t,hK(Sjt,w_t,43,t.c.length,0,1)),164))}}(e.a)}function y9(){var t,e,n;Jat(),n=bBt+++Date.now(),t=CH(r.Math.floor(n*akt))&skt,e=CH(n-t*okt),this.a=1502^t,this.b=e^ikt}function w9(t,e,n,r,i,a){this.e=new Vb,this.f=(M1(),j1t),LR(this.e,t),this.d=e,this.a=n,this.b=r,this.f=i,this.c=a}function x9(t){var e;this.a=new GL(e=RR(t.e&&t.e(),9),RR(wO(e,e.length),9),0),this.b=hK(gjt,zxt,1,this.a.a.length,5,1)}function _9(t,e){var n;switch(n=RR(h$(t.b,e),121).n,e.g){case 1:n.d=t.s;break;case 3:n.a=t.s}t.B&&(n.b=t.B.b,n.c=t.B.c)}function S9(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function k9(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw Jb(new Ny("Node "+e+" not part of edge "+t))}function I9(t,e,n,r){if(e<0)cft(t,n,r);else{if(!n.Dj())throw Jb(new Ny(WDt+n.ne()+GDt));RR(n,65).Ij().Oj(t,t.th(),e,r)}}function M9(t,e){var n,r;for(n=het(t,0);n.b!=n.d.c;){if((r=Oy(VD(zU(n))))==e)return;if(r>e){GG(n);break}}MB(n,e)}function C9(t,e){var n,r;for(r=0,n=RR(e.Kb(t),19).Ic();n.Ob();)Ay($D(Bot(RR(n.Pb(),18),(dxt(),Uqt))))||++r;return r}function T9(t,e){var n,r,i,a,o;if(n=e.f,set(t.c.d,n,e),null!=e.g)for(a=0,o=(i=e.g).length;a<o;++a)r=i[a],set(t.c.e,r,e)}function A9(t,e){0==t.n.c.length&&LR(t.n,new OH(t.s,t.t,t.i)),LR(t.b,e),Z5(RR(JN(t.n,t.n.c.length-1),209),e),Rpt(t,e)}function E9(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=hK(gjt,zxt,1,0,5,1),R3(t.a,t.b),R3(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function P9(t){return Array.isArray(t)&&t.dm===_?Fx(g5(t))+"@"+(p5(t)>>>0).toString(16):t.toString()}function D9(t,e,n,r){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return h8(t,e,n,r)}function O9(t){return t.k==(vst(),YHt)&&xq(new lj(null,new IB(new xF(zE(g9(t).a.Ic(),new p)))),new Hi)}function L9(t){var e,n,r;for(this.a=new XT,r=new ed(t);r.a<r.c.c.length;)n=RR(xG(r),15),p0(e=new kj,n),cB(this.a,e)}function R9(t){var e;if(t.b){if(R9(t.b),t.b.d!=t.c)throw Jb(new Sv)}else t.d.dc()&&(e=RR(t.f.c.vc(t.e),15))&&(t.d=e)}function N9(t,e){var n,i,a;for(i=function(t,e){var n,i,a,o,s,u,c,l,h,f,d;for(c=jz(e.a),a=2*Dy(VD(Bot(c,(Zwt(),kJt)))),h=Dy(VD(Bot(c,EJt))),l=r.Math.max(a,h),o=hK(ooe,$St,24,e.f-e.c+1,15,1),i=-l,n=0,u=e.b.Ic();u.Ob();)s=RR(u.Pb(),10),i+=t.a[s.c.p]+l,o[n++]=i;for(i+=t.a[e.a.c.p]+l,o[n++]=i,d=new ed(e.e);d.a<d.c.c.length;)f=RR(xG(d),10),i+=t.a[f.c.p]+l,o[n++]=i;return o}(t,e),a=i[i.length-1]/2,n=0;n<i.length;n++)if(i[n]>=a)return e.c+n;return e.c+e.b.gc()}function j9(t,e){var n,r;for(r=t.e.a.ec().Ic();r.Ob();)if(fst(e,(n=RR(r.Pb(),265)).d)||oct(e,n.d))return!0;return!1}function F9(t,e,n){var r,i;for(r=SH(n,WSt),i=0;0!=A5(r,0)&&i<e;i++)r=a8(r,SH(t[i],WSt)),t[i]=QN(r),r=wN(r,32);return QN(r)}function B9(t,e,n){var r,i;for(r=0,i=t.length;r<i;r++)if(E3((AW(r,t.length),t.charCodeAt(r)),e,n))return!0;return!1}function z9(t,e){var n;return NC(t)&&NC(e)&&ESt<(n=t%e)&&n<TSt?n:R2(($mt(NC(t)?a3(t):t,NC(e)?a3(e):e,!0),Qjt))}function $9(t,e,n){var i;!(i=n)&&(i=mN(new Xm,0)),qat(i,RMt,2),gnt(t.b,e,o2(i,1)),function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g;for(u=function(t){var e,n,r,i,a;e=new $b,n=new $b,FU(e,t),FU(n,t);for(;n.b!=n.c;)for(a=new ed(RR(hB(n),38).a);a.a<a.c.c.length;)(i=RR(xG(a),10)).e&&(FU(e,r=i.e),FU(n,r));return e}(e),(p=RR(Bot(e,(Zwt(),GZt)),333))!=(VX(),PUt)&&yq(u,new Gd(p)),g=RR(Bot(e,BZt),292),yq(u,new Ud(g)),d=0,c=new Vb,i=new i$(u);i.a!=i.b;)r=RR(A6(i),38),xyt(t.c,r),d+=(h=RR(Bot(r,(dxt(),Hqt)),14)).gc(),LR(c,new KM(r,h.Ic()));qat(n,"Recursive hierarchical layout",d),0,f=RR(RR(JN(c,c.c.length-1),46).b,49);for(;f.Ob();)for(s=new ed(c);s.a<s.c.c.length;)for(o=RR(xG(s),46),h=RR(o.b,49),a=RR(o.a,38);h.Ob();){if(zA(l=RR(h.Pb(),52),499)){if(a.e)break;l.nf(a,o2(n,1));break}l.nf(a,o2(n,1))}Sst(n)}(t,e,o2(i,1)),function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M;for(qat(e,"Compound graph postprocessor",1),n=Ay($D(Bot(t,(Zwt(),RJt)))),u=RR(Bot(t,(dxt(),oqt)),222),h=new Pv,m=u.ec().Ic();m.Ob();){for(v=RR(m.Pb(),18),s=new jL(u.cc(v)),mV(),kA(s,new Yd(t)),_=n2((TW(0,s.c.length),RR(s.c[0],242))),k=r2(RR(JN(s,s.c.length-1),242)),w=_.i,y=K2(k.i,w)?w.e:jz(w),f=Eet(v,s),sV(v.a),d=null,o=new ed(s);o.a<o.c.c.length;)a=RR(xG(o),242),wut(b=new fx,a.a,y),p=a.b,U5(i=new vm,0,p.a),gJ(i,b),x=new uA(eG(p.c)),S=new uA(eG(p.d)),zO(x,b),zO(S,b),d&&(0==i.b?g=S:(MP(0!=i.b),g=RR(i.a.a.c,8)),I=r.Math.abs(d.a-g.a)>lMt,M=r.Math.abs(d.b-g.b)>lMt,(!n&&I&&M||n&&(I||M))&&vN(v.a,x)),W0(v.a,i),0==i.b?d=x:(MP(0!=i.b),d=RR(i.c.b.c,8)),w3(p,f,b),r2(a)==k&&(jz(k.i)!=a.a&&wut(b=new fx,jz(k.i),y),S4(v,Jqt,b)),Est(p,v,y),h.a.xc(p,h);PW(v,_),EW(v,k)}for(l=h.a.ec().Ic();l.Ob();)PW(c=RR(l.Pb(),18),null),EW(c,null);Sst(e)}(e,o2(i,1)),Sst(i)}function V9(){V9=S,k7t=new CM(uIt,0),_7t=new CM("POLYLINE",1),x7t=new CM("ORTHOGONAL",2),S7t=new CM("SPLINES",3)}function H9(){H9=S,aYt=new DI(mCt,0),eYt=new DI("FIRST",1),nYt=new DI(yCt,2),rYt=new DI("LAST",3),iYt=new DI(wCt,4)}function W9(){W9=S,V3t=new lM("OVERLAP_REMOVAL",0),z3t=new lM("COMPACTION",1),$3t=new lM("GRAPH_SIZE_CALCULATION",2)}function G9(){G9=S,O4t=new hM("ASPECT_RATIO_DRIVEN",0),L4t=new hM("MAX_SCALE_DRIVEN",1),D4t=new hM("AREA_DRIVEN",2)}function U9(){U9=S,DS(),Zwt(),qJt=AJt,YJt=Jq(X3(uw(L6t,1),oEt,146,0,[yJt,wJt,_Jt,SJt,MJt,CJt,TJt,PJt,OJt,xJt,kJt,EJt]))}function X9(t){U9(),this.c=Jq(X3(uw(T6t,1),zxt,810,0,[XJt])),this.b=new Hb,this.a=t,t$(this.b,qJt,1),cJ(YJt,new Ng(this))}function q9(t,e){return mA(),IJ(F_t),r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:_T(isNaN(t),isNaN(e))}function Y9(t,e){t.hj();try{t.d.Tc(t.e++,e),t.f=t.d.j,t.g=-1}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}}function K9(t){switch(dwt(),t.g){case 4:return Ote;case 1:return Dte;case 3:return Kte;case 2:return Qte;default:return Zte}}function Z9(t){switch(t.g){case 0:return new $o;case 1:return new Wo;default:throw Jb(new Ny(gCt+(null!=t.f?t.f:""+t.g)))}}function Q9(t){switch(t.g){case 0:return new Um;case 1:return new bm;default:throw Jb(new Ny(yPt+(null!=t.f?t.f:""+t.g)))}}function J9(t,e){var n;return t.d?KF(t.b,e)?RR(oz(t.b,e),52):(n=e.Hf(),t$(t.b,e,n),n):e.Hf()}function t7(t,e){var n;return DC(t)===DC(e)||!!zA(e,90)&&(n=RR(e,90),t.e==n.e&&t.d==n.d&&function(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}(t,n.a))}function e7(t,e){var n,r;for(r=new ed(e);r.a<r.c.c.length;)n=RR(xG(r),46),LR(t.b.b,RR(n.b,79)),QW(RR(n.a,189),RR(n.b,79))}function n7(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)AW(n,t.length),(e=t.charCodeAt(n))<64&&(i=kH(i,xN(1,e)));return i}function r7(t,e){var n,r,i,a,o,s;for(r=0,n=0,o=0,s=(a=e).length;o<s;++o)(i=a[o])>0&&(r+=i,++n);return n>1&&(r+=t.d*(n-1)),r}function i7(t){var e,n,r;for((r=new fw).a+="[",e=0,n=t.gc();e<n;)HC(r,nP(t.fi(e))),++e<n&&(r.a+=Fxt);return r.a+="]",r.a}function a7(t){var e,n;for(n=Dy(VD(t.a.Xe((fxt(),n7t)))),e=new ed(t.a.vf());e.a<e.c.c.length;)Twt(t,RR(xG(e),816),n)}function o7(t){this.e=hK(noe,uSt,24,t.length,15,1),this.c=hK(roe,Zkt,24,t.length,16,1),this.b=hK(roe,Zkt,24,t.length,16,1),this.f=0}function s7(t){var e,n,r;return(n=t.ug())?zA(e=t.Pg(),160)&&null!=(r=s7(RR(e,160)))?r+"."+n:n:null}function u7(t,e,n){var r,i;for(i=t.Ic();i.Ob();)if(r=i.Pb(),DC(e)===DC(r)||null!=e&&u8(e,r))return n&&i.Qb(),!0;return!1}function c7(t,e){var n,r,i;if(null==t.i&&Zbt(t),n=t.i,-1!=(r=e.Xi()))for(i=n.length;r<i;++r)if(n[r]==e)return r;return-1}function l7(t){var e,n,r;for(e=new df,r=new Jf(t.b.Ic());r.b.Ob();)n=Wst(RR(r.b.Pb(),673)),PB(e,e.a.length,n);return e.a}function h7(t){var e;return!t.c&&(t.c=new Tt),kA(t.d,new Dt),function(t){var e,n,r,i,a,o,s;for(a=new qx(RR(wB(new Ot),62)),s=NSt,n=new ed(t.d);n.a<n.c.c.length;){for(s=(e=RR(xG(n),220)).c.c;0!=a.a.c&&(o=RR(TF(gZ(a.a)),220)).c.c+o.c.b<s;)AH(a.a,o);for(i=new Hf(new _O(new cP(new Xf(a.a).a).b));pk(i.a.a);)vN((r=RR(QP(i.a).ad(),220)).b,e),vN(e.b,r);P4(a.a,e,(_P(),rFt))}}(t),e=function(t){var e,n,i,a,o,s,u,c,l,h;for(o=t.a,e=new Pv,l=0,i=new ed(t.d);i.a<i.c.c.length;){for(h=0,I0((n=RR(xG(i),220)).b,new Pt),u=het(n.b,0);u.b!=u.d.c;)s=RR(zU(u),220),e.a._b(s)&&(a=n.c,h<(c=s.c).d+c.a+o&&h+a.a+o>c.d&&(h=c.d+c.a+o));n.c.d=h,e.a.xc(n,e),l=r.Math.max(l,n.c.d+n.c.a)}return l}(t),uS(new lj(null,new ZW(t.d,16)),new Fd(t)),e}function f7(t){var e;return 0!=(64&t.Db)?Z6(t):((e=new qE(Z6(t))).a+=" (instanceClassName: ",HC(e,t.D),e.a+=")",e.a)}function d7(t,e,n){var r,i;if(++t.j,n.dc())return!1;for(i=n.Ic();i.Ob();)r=i.Pb(),t.Ci(e,t.ji(e,r)),++e;return!0}function p7(t,e){var n;if(e){for(n=0;n<t.i;++n)if(RR(t.g[n],363).yi(e))return!1;return EK(t,e)}return!1}function g7(t,e){switch(e){case 3:return 0!=t.f;case 4:return 0!=t.g;case 5:return 0!=t.i;case 6:return 0!=t.j}return b3(t,e)}function b7(t,e){switch(e){case 3:return void WJ(t,0);case 4:return void GJ(t,0);case 5:return void UJ(t,0);case 6:return void XJ(t,0)}W6(t,e)}function v7(t,e){switch(e.g){case 1:return SR(t.j,(f2(),nWt));case 2:return SR(t.j,(f2(),iWt));default:return mV(),mV(),YFt}}function m7(t){var e;switch(zz(),(e=t.Nc()).length){case 0:return Mjt;case 1:return new HN(wB(e[0]));default:return new pH(function(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw Jb(new By("at index "+e));return new $y(t)}(e))}}function y7(t,e){var n,i;t.a=a8(t.a,1),t.c=r.Math.min(t.c,e),t.b=r.Math.max(t.b,e),t.d+=e,n=e-t.f,i=t.e+n,t.f=i-t.e-n,t.e=i}function w7(t,e){var n;return t.f>0&&(t.lj(),-1!=$ht(t,((n=null==e?0:p5(e))&Lxt)%t.d.length,n,e))}function x7(t,e){var n,r,i,a;for(a=sdt(t.e.Og(),e),n=RR(t.g,118),i=0;i<t.i;++i)if(r=n[i],a.ml(r.Xj()))return!1;return!0}function _7(t,e){return t.i>0&&(e.length<t.i&&(e=s1(g5(e).c,t.i)),Yvt(t.g,0,e,0,t.i)),e.length>t.i&&nz(e,t.i,null),e}function S7(t,e){var n,r;return dA(),r=null,e==(n=BO((dy(),dy(),Ujt)))&&(r=RR(IH(Gjt,t),605)),r||(r=new mz(t),e==n&&mW(Gjt,t,r)),r}function k7(t){var e;return xO(),e=new uA(RR(t.e.Xe((fxt(),p9t)),8)),t.A.Fc((Vgt(),pee))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function I7(t,e,n){var r,i,a;return t._i()?(r=t.i,a=t.aj(),e8(t,r,e),i=t.Ui(3,null,e,r,a),n?n.zi(i):n=i):e8(t,t.i,e),n}function M7(t,e){var n,r;return t.f>0&&(t.lj(),n=olt(t,((r=null==e?0:p5(e))&Lxt)%t.d.length,r,e))?n.bd():null}function C7(t,e){var n,r,i;return!!zA(e,43)&&(r=(n=RR(e,43)).ad(),Cz(i=e6(t.Pc(),r),n.bd())&&(null!=i||t.Pc()._b(r)))}function T7(t){return int(),(t.q?t.q:(mV(),mV(),KFt))._b((Zwt(),FQt))?RR(Bot(t,FQt),196):RR(Bot(jz(t),BQt),196)}function A7(t,e){var n,r;return r=null,ZP(t,(Zwt(),IJt))&&(n=RR(Bot(t,IJt),94)).Ye(e)&&(r=n.Xe(e)),null==r&&(r=Bot(jz(t),e)),r}function E7(){E7=S,Cee=new FM("SIMPLE",0),kee=new FM("GROUP_DEC",1),Mee=new FM("GROUP_MIXED",2),Iee=new FM("GROUP_INC",3)}function P7(){P7=S,bie=new Cu,cie=new Tu,lie=new Au,hie=new Eu,fie=new Pu,die=new Du,pie=new Ou,gie=new Lu,vie=new Ru}function D7(){D7=S,ree=new sA(15),nee=new lA((fxt(),y9t),ree),aee=new lA(i7t,15),iee=new lA(W9t,k8(0)),eee=new lA(D8t,dMt)}function O7(t,e){var n,r;for(r=e.length,n=0;n<r;n+=2)Bdt(t,(AW(n,e.length),e.charCodeAt(n)),(AW(n+1,e.length),e.charCodeAt(n+1)))}function L7(t){var e,n,i,a;for(i=0,a=0,n=new ed(t.a);n.a<n.c.c.length;)e=RR(xG(n),181),a=r.Math.max(a,e.r),i+=e.d;t.b=i,t.c=a}function R7(t){var e,n;e=t.d==(_ut(),wUt),n=kat(t),S4(t.a,(Zwt(),AZt),e&&!n||!e&&n?(ant(),a8t):(ant(),i8t))}function N7(t,e){var n;!function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p;for(f=new ed(t);f.a<f.c.c.length;){for(mP((h=RR(xG(f),10)).n),mP(h.o),DY(h.f),igt(h),Opt(h),p=new ed(h.j);p.a<p.c.c.length;){for(mP((d=RR(xG(p),11)).n),mP(d.a),mP(d.o),vct(d,Gnt(d.j)),(i=RR(Bot(d,(Zwt(),rJt)),20))&&S4(d,rJt,k8(-i.a)),r=new ed(d.g);r.a<r.c.c.length;){for(e=het((n=RR(xG(r),18)).a,0);e.b!=e.d.c;)mP(RR(zU(e),8));if(o=RR(Bot(n,yQt),74))for(a=het(o,0);a.b!=a.d.c;)mP(RR(zU(a),8));for(c=new ed(n.b);c.a<c.c.c.length;)mP((s=RR(xG(c),69)).n),mP(s.o)}for(l=new ed(d.f);l.a<l.c.c.length;)mP((s=RR(xG(l),69)).n),mP(s.o)}for(h.k==(vst(),UHt)&&(S4(h,(dxt(),pqt),Gnt(RR(Bot(h,pqt),61))),ddt(h)),u=new ed(h.b);u.a<u.c.c.length;)igt(s=RR(xG(u),69)),mP(s.o),mP(s.n)}}(e),(n=RR(Bot(t,(Zwt(),tQt)),274))&&S4(t,tQt,function(t){switch(t.g){case 0:return JUt;case 1:return tXt;case 2:return eXt;case 3:return nXt;case 4:return rXt;case 5:return iXt;default:return null}}(n)),mP(t.c),mP(t.f),DY(t.d),DY(RR(Bot(t,DQt),205))}function j7(t,e,n){$J(),am.call(this),this.a=FN(Tzt,[u_t,nIt],[586,210],0,[Fzt,jzt],2),this.c=new YT,this.g=t,this.f=e,this.d=n}function F7(t,e){this.n=FN(ioe,[u_t,FSt],[361,24],14,[e,CH(r.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function B7(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!RR(t.b,48).Ug())return!0;return t.b=null,!1}return!0}function z7(t,e){var n;if(zA(e,244)){n=RR(e,244);try{return 0==t.vd(n)}catch(t){if(!zA(t=m3(t),203))throw Jb(t)}}return!1}function $7(t,e){return mA(),mA(),IJ(F_t),(r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:_T(isNaN(t),isNaN(e)))>0}function V7(t,e){return mA(),mA(),IJ(F_t),(r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:_T(isNaN(t),isNaN(e)))<0}function H7(t){var e;0!=t.c&&(1==(e=RR(JN(t.a,t.b),286)).b?(++t.b,t.b<t.a.c.length&&Lf(RR(JN(t.a,t.b),286))):--e.b,--t.c)}function W7(t,e,n){var r,i,a,o;for(a=e-t.d,o=n-t.e,i=new ed(t.a);i.a<i.c.c.length;)bnt(r=RR(xG(i),181),r.s+a,r.t+o);t.d=e,t.e=n}function G7(t,e,n){var i,a,o,s,u;return s=t.k,u=e.k,a=VD(A7(t,i=n[s.g][u.g])),o=VD(A7(e,i)),r.Math.max((wz(a),a),(wz(o),o))}function U7(t,e,n,r,i){var a,o,s;for(o=i;e.b!=e.c;)a=RR(hB(e),10),s=RR(i9(a,r).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function X7(t,e,n,r){var i,a,o;return i=!1,function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;if(f=t.c[e],d=t.c[n],(p=RR(Bot(f,(dxt(),Sqt)),14))&&0!=p.gc()&&p.Fc(d)||(g=f.k!=(vst(),qHt)&&d.k!=qHt,b=RR(Bot(f,_qt),10),v=RR(Bot(d,_qt),10),m=b!=v,y=!!b&&b!=f||!!v&&v!=d,w=Hnt(f,(dwt(),Ote)),x=Hnt(d,Kte),y|=Hnt(f,Kte)||Hnt(d,Ote),_=y&&m||w||x,g&&_)||f.k==(vst(),KHt)&&d.k==YHt||d.k==(vst(),KHt)&&f.k==YHt)return!1;l=t.c[e],a=t.c[n],i=Nit(t.e,l,a,(dwt(),Qte)),u=Nit(t.i,l,a,Dte),function(t,e,n){t.d=0,t.b=0,e.k==(vst(),KHt)&&n.k==KHt&&RR(Bot(e,(dxt(),Oqt)),10)==RR(Bot(n,Oqt),10)&&(BZ(e).j==(dwt(),Ote)?Uht(t,e,n):Uht(t,n,e)),e.k==KHt&&n.k==qHt?BZ(e).j==(dwt(),Ote)?t.d=1:t.b=1:n.k==KHt&&e.k==qHt&&(BZ(n).j==(dwt(),Ote)?t.b=1:t.d=1),function(t,e,n){e.k==(vst(),YHt)&&n.k==qHt&&(t.d=q6(e,(dwt(),Kte)),t.b=q6(e,Ote));n.k==YHt&&e.k==qHt&&(t.d=q6(n,(dwt(),Ote)),t.b=q6(n,Kte))}(t,e,n)}(t.f,l,a),c=L5(t.b,l,a)+RR(i.a,20).a+RR(u.a,20).a+t.f.d,s=L5(t.b,a,l)+RR(i.b,20).a+RR(u.b,20).a+t.f.b,t.a&&(h=RR(Bot(l,Oqt),11),o=RR(Bot(a,Oqt),11),c+=RR((r=Urt(t.g,h,o)).a,20).a,s+=RR(r.b,20).a);return c>s}(t.f,n,r)&&(!function(t,e,n){var r,i;Tot(t.e,e,n,(dwt(),Qte)),Tot(t.i,e,n,Dte),t.a&&(i=RR(Bot(e,(dxt(),Oqt)),11),r=RR(Bot(n,Oqt),11),_G(t.g,i,r))}(t.f,t.a[e][n],t.a[e][r]),o=(a=t.a[e])[r],a[r]=a[n],a[n]=o,i=!0),i}function q7(t,e,n){var r,i,a;for(i=null,a=t.b;a;){if(r=t.a.ue(e,a.d),n&&0==r)return a;r>=0?a=a.a[1]:(i=a,a=a.a[0])}return i}function Y7(t,e,n){var r,i,a;for(i=null,a=t.b;a;){if(r=t.a.ue(e,a.d),n&&0==r)return a;r<=0?a=a.a[0]:(i=a,a=a.a[1])}return i}function K7(t,e,n){var r,i,a;for(i=RR(oz(t.b,n),177),r=0,a=new ed(e.j);a.a<a.c.c.length;)i[RR(xG(a),112).d.p]&&++r;return r}function Z7(t){var e,n,i,a;for(a=0,i=NSt,n=new ed(t.a);n.a<n.c.c.length;)a+=(e=RR(xG(n),181)).r,i=r.Math.max(i,e.d);t.d=a,t.b=i}function Q7(t,e){var n;for(n=new xF(zE(g9(t).a.Ic(),new p));Qlt(n);)if(RR(dq(n),18).d.i.c==e)return!1;return!0}function J7(t,e){var n,r,i,a;return n=e>>5,e&=31,i=t.d+n+(0==e?0:1),function(t,e,n,r){var i,a,o;if(0==r)Yvt(e,0,t,n,t.length-n);else for(o=32-r,t[t.length-1]=0,a=t.length-1;a>n;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<<r;for(i=0;i<n;i++)t[i]=0}(r=hK(noe,uSt,24,i,15,1),t.a,n,e),JG(a=new nB(t.e,i,r)),a}function ttt(t,e,n){var r,i;r=RR(IH(Mae,e),117),i=RR(IH(Cae,e),117),n?(mW(Mae,t,r),mW(Cae,t,i)):(mW(Cae,t,r),mW(Mae,t,i))}function ett(t){var e,n;return null!=(e=RR(n3(t.a,4),124))?(Yvt(e,0,n=hK(jne,$Lt,410,e.length,0,1),0,e.length),n):Bne}function ntt(t){var e,n,r,i;if(null==t)return null;for(i=new Vb,n=0,r=(e=x5(t)).length;n<r;++n)LR(i,jvt(e[n],!0));return i}function rtt(t){var e,n,r,i;if(null==t)return null;for(i=new Vb,n=0,r=(e=x5(t)).length;n<r;++n)LR(i,jvt(e[n],!0));return i}function itt(t){var e,n,r,i;if(null==t)return null;for(i=new Vb,n=0,r=(e=x5(t)).length;n<r;++n)LR(i,jvt(e[n],!0));return i}function att(t){if(null,!(TOt in t.a))throw Jb(new Yy("Every element must have an id."));return Dct(xH(t,TOt))}function ott(){ott=S,cee=new NM("PORTS",0),lee=new NM("PORT_LABELS",1),uee=new NM("NODE_LABELS",2),see=new NM("MINIMUM_SIZE",3)}function stt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var r=e[n++];n<e.length;n++)e[n]&&""!=e[n]&&(r+=t+e[n]);return r}function utt(t,e,n){var i,a,o,s;for(OY(e,o=e+n,t.length),s="",a=e;a<o;)i=r.Math.min(a+1e4,o),s+=f$(t.slice(a,i)),a=i;return s}function ctt(t,e){var n,r;return t.lj(),(n=olt(t,((r=null==e?0:p5(e))&Lxt)%t.d.length,r,e))?(_1(t,n),n.bd()):null}function ltt(t){var e,n;for(n=out(t),e=null;2==t.c;)axt(t),e||(bxt(),bxt(),Tmt(e=new SA(2),n),n=e),n.Vl(out(t));return n}function htt(t){return CW(),zA(t,156)?RR(oz(One,iBt),287).qg(t):KF(One,g5(t))?RR(oz(One,g5(t)),287).qg(t):null}function ftt(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*n5(t.a,e.a,t.d)}function dtt(t){return t>=48&&t<48+r.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function ptt(t,e){return mA(),mA(),IJ(F_t),(r.Math.abs(t-e)<=F_t||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:_T(isNaN(t),isNaN(e)))<=0}function gtt(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function btt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Jb(new Ny("Input edge is not connected to the input port."))}function vtt(t){return rpt(),A5(t,0)<0?0!=A5(t,-1)?new aat(-1,kK(t)):NFt:A5(t,10)<=0?FFt[QN(t)]:new aat(1,t)}function mtt(t){var e,n;return A5(t,-129)>0&&A5(t,128)<0?(e=QN(t)+128,!(n=(XN(),vFt)[e])&&(n=vFt[e]=new Yf(t)),n):new Yf(t)}function ytt(t,e){var n;return DC(e)===DC(t)||!!zA(e,21)&&((n=RR(e,21)).gc()==t.gc()&&t.Gc(n))}function wtt(t){var e,n,r;if(!(r=t.Ug()))for(e=0,n=t.$g();n;n=n.$g()){if(++e>VSt)return n._g();if((r=n.Ug())||n==t)break}return r}function xtt(t,e){var n,r;for(AW(e,t.length),n=t.charCodeAt(e),r=e+1;r<t.length&&(AW(r,t.length),t.charCodeAt(r)==n);)++r;return r-e}function _tt(t,e){if(t.a<0)throw Jb(new jy("Did not call before(...) or after(...) before calling add(...)."));return TP(t,t.a,e),t}function Stt(t,e){var n,r,i;if(t.c)WJ(t.c,e);else for(n=e-oj(t),i=new ed(t.a);i.a<i.c.c.length;)Stt(r=RR(xG(i),157),oj(r)+n)}function ktt(t,e){var n,r,i;if(t.c)GJ(t.c,e);else for(n=e-sj(t),i=new ed(t.d);i.a<i.c.c.length;)ktt(r=RR(xG(i),157),sj(r)+n)}function Itt(t){var e,n;for(0,e=new ed(t.g);e.a<e.c.c.length;)RR(xG(e),555);(function(t){var e,n,r,i,a,o,s,u;if(0===(s=t.b,e=t.a,RR(Bot(t,(xit(),czt)),421).g))kA(s,new od(new $t));else kA(s,new od(new Vt));if(1===RR(Bot(t,szt),422).g)kA(s,new zt),kA(s,new Ht),kA(s,new Lt);else kA(s,new zt),kA(s,new Ft);switch(RR(Bot(t,hzt),249).g){case 0:u=new qt;break;case 1:u=new Ut;break;case 2:u=new Xt;break;case 3:u=new Gt;break;case 5:u=new Bd(new Xt);break;case 4:u=new Bd(new Ut);break;case 7:u=new Nk(new Bd(new Ut),new Bd(new Xt));break;case 8:u=new Nk(new Bd(new Gt),new Bd(new Xt));break;default:u=new Bd(new Gt)}for(o=new ed(s);o.a<o.c.c.length;){for(a=RR(xG(o),167),i=0,n=new KM(k8(r=0),k8(i));fbt(e,a,r,i);)n=RR(u.Ce(n,a),46),r=RR(n.a,20).a,i=RR(n.b,20).a;Qpt(e,a,r,i)}})(n=new mdt(t.g,Dy(t.a),t.c)),t.g=n.b,t.d=n.a}function Mtt(t,e){var n,i,a;for(yZ(t.a,e),t.d-=e.r,a=BEt,i=new ed(t.a);i.a<i.c.c.length;)n=RR(xG(i),181),a=r.Math.max(a,n.d);t.b=a}function Ctt(t,e,n){e.b=r.Math.max(e.b,-n.a),e.c=r.Math.max(e.c,n.a-t.a),e.d=r.Math.max(e.d,-n.b),e.a=r.Math.max(e.a,n.b-t.b)}function Ttt(t,e,n,r){var i,a;0!=e.c.length&&(i=function(t,e){var n,r,i,a,o;for(n=new Vb,i=oQ(new lj(null,new ZW(t,16)),new wo),a=oQ(new lj(null,new ZW(t,16)),new xo),o=function(t){var e;return Nz(t),e=hK(ooe,$St,24,0,15,1),Gx(t.a,new Sd(e)),e}(function(t){return H8(t),new RD(t,new PR(t,t.a.e,4|t.a.d))}(k$(function(t){var e,n,r,i,a,o,s,u;for(!1,e=336,n=0,i=new hO(t.length),s=0,u=(o=t).length;s<u;++s)H8(a=o[s]),!1,Nz(a),r=a.a,LR(i.a,wB(r)),e&=r.qd(),n=Y4(n,r.rd());return RR(RR(EB(new lj(null,pot(new ZW((zz(),m7(i.a)),16),new v,e,n)),new of(t)),658),812)}(X3(uw(zBt,1),zxt,812,0,[i,a])),new _o))),r=1;r<o.length;r++)o[r]-o[r-1]>=2*e&&LR(n,new dR(o[r-1]+e,o[r]-e));return n}(n,r),a=function(t){var e,n,r,i,a,o,s;for(a=new XT,n=new ed(t);n.a<n.c.c.length;)o=(e=RR(xG(n),129)).a,s=e.b,a.a._b(o)||a.a._b(s)||(i=o,r=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(i=s,r=o),a.a.xc(i,a),i.q=r);return a}(e),uS(JQ(new lj(null,new ZW(a,1)),new yo),new N$(t,n,i,r)))}function Att(t,e,n){var r;0!=(t.Db&e)?null==n?function(t,e){var n,r,i,a,o,s,u;if(1==(r=O8(254&t.Db)))t.Eb=null;else if(a=xJ(t.Eb),2==r)i=crt(t,e),t.Eb=a[0==i?1:0];else{for(o=hK(gjt,zxt,1,r-1,5,1),n=2,s=0,u=0;n<=128;n<<=1)n==e?++s:0!=(t.Db&n)&&(o[u++]=a[s++]);t.Eb=o}t.Db&=~e}(t,e):-1==(r=crt(t,e))?t.Eb=n:nz(xJ(t.Eb),r,n):null!=n&&function(t,e,n){var r,i,a,o,s,u;if(0==(i=O8(254&t.Db)))t.Eb=n;else{if(1==i)o=hK(gjt,zxt,1,2,5,1),0==crt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=hK(gjt,zxt,1,i+1,5,1),a=xJ(t.Eb),r=2,s=0,u=0;r<=128;r<<=1)r==e?o[u++]=n:0!=(t.Db&r)&&(o[u++]=a[s++]);t.Eb=o}t.Db|=e}(t,e,n)}function Ett(t){var e;return 0==(32&t.Db)&&0!=(e=HB(RR(n3(t,16),26)||t.uh())-HB(t.uh()))&&Att(t,32,hK(gjt,zxt,1,e,5,1)),t}function Ptt(t,e,n){var r;r=RR(fH(e.f),207);try{r.$e(t,n),function(t,e){t.c<0||t.b.b<t.c?ZC(t.b,e):t.a.af(e)}(e.f,r)}catch(t){throw zA(t=m3(t),102)?Jb(t):Jb(t)}}function Dtt(t,e){return wz(t),null!=e&&(!!hL(t,e)||t.length==e.length&&hL(t.toLowerCase(),e.toLowerCase()))}function Ott(t,e,n){var r,i,a;for(a=new ed(n.a);a.a<a.c.c.length;)i=RR(xG(a),219),r=new $A(RR(oz(t.a,i.b),63)),LR(e.a,r),Ott(t,r,i)}function Ltt(t,e){var n,r;for(MW(),r=new xF(zE(d9(t).a.Ic(),new p));Qlt(r);)if((n=RR(dq(r),18)).d.i==e||n.c.i==e)return n;return null}function Rtt(t,e){var n,r;return(n=e.Ch(t.a))&&null!=(r=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),zOt)))?r:e.ne()}function Ntt(t,e,n){this.c=t,this.f=new Vb,this.e=new fx,this.j=new WN,this.n=new WN,this.b=e,this.g=new j$(e.c,e.d,e.b,e.a),this.a=n}function jtt(t){var e,n,r,i;for(this.a=new XT,this.d=new Pv,this.e=0,r=0,i=(n=t).length;r<i;++r)e=n[r],!this.f&&(this.f=e),QW(this,e)}function Ftt(t){rpt(),0==t.length?(this.e=0,this.d=1,this.a=X3(uw(noe,1),uSt,24,15,[0])):(this.e=1,this.d=t.length,this.a=t,JG(this))}function Btt(t,e,n){am.call(this),this.a=hK(Tzt,nIt,210,(nJ(),X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])).length,0,1),this.b=t,this.d=e,this.c=n}function ztt(t){var e,n,r,i;for(S4(i=RR(Bot(t,(dxt(),Oqt)),11),Kqt,t.i.n.b),n=0,r=(e=gU(t.e)).length;n<r;++n)EW(e[n],i)}function $tt(t){var e,n,r,i;for(S4(e=RR(Bot(t,(dxt(),Oqt)),11),Kqt,t.i.n.b),r=0,i=(n=gU(t.g)).length;r<i;++r)PW(n[r],e)}function Vtt(t,e){var n,r,i;if(LR(hVt,t),e.Dc(t),n=RR(oz(lVt,t),21))for(i=n.Ic();i.Ob();)r=RR(i.Pb(),34),-1!=mZ(hVt,r,0)||Vtt(r,e)}function Htt(t){var e;try{return e=t.i.Xb(t.e),t.hj(),t.g=t.e++,e}catch(e){throw zA(e=m3(e),73)?(t.hj(),Jb(new vv)):Jb(e)}}function Wtt(t){var e;try{return e=t.c.fi(t.e),t.hj(),t.g=t.e++,e}catch(e){throw zA(e=m3(e),73)?(t.hj(),Jb(new vv)):Jb(e)}}function Gtt(t){var e;if(null==t)return null;if(e=function(t){var e,n,r,i,a,o,s;if(ppt(),null==t)return null;if((i=t.length)%2!=0)return null;for(e=zZ(t),n=hK(aoe,iOt,24,a=i/2|0,15,1),r=0;r<a;r++){if(-1==(o=wae[e[2*r]]))return null;if(-1==(s=wae[e[2*r+1]]))return null;n[r]=(o<<4|s)<<24>>24}return n}(jvt(t,!0)),null==e)throw Jb(new Ky("Invalid hexBinary value: '"+t+"'"));return e}function Utt(t,e,n){var r;(ABt?(function(t){var e,n;if(t.b)return t.b;for(n=PBt?null:t.d;n;){if(e=PBt?null:n.b)return e;n=PBt?null:n.d}nS()}(t),1):EBt||OBt?(nS(),1):DBt&&(nS(),0))&&((r=new vL(e)).b=n,function(t,e){var n,r,i,a,o,s;for(n=d5(t),i=0,o=n.length;i<o;++i)Fot(e);s=!PBt&&t.e?PBt?null:t.d:null;for(;s;){for(r=0,a=d5(s).length;r<a;++r)Fot(e);s=!PBt&&s.e?PBt?null:s.d:null}}(t,r))}function Xtt(t,e){var n;n=!t.w.Fc((ott(),lee))||t.q==(Fat(),mte),t.t.Fc((aot(),Mte))?n?function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;if(d=RR(RR(Kq(t.r,e),21),81),e==(dwt(),Dte)||e==Qte)return void owt(t,e);for(o=e==Ote?(f3(),y$t):(f3(),_$t),x=e==Ote?(QZ(),Wzt):(QZ(),Vzt),n=RR(h$(t.b,e),121),i=n.i,a=i.c+V4(X3(uw(ooe,1),$St,24,15,[n.n.b,t.B.b,t.k])),m=i.c+i.b-V4(X3(uw(ooe,1),$St,24,15,[n.n.c,t.B.c,t.k])),s=Cw(VL(o),t.s),y=e==Ote?NSt:RSt,f=d.Ic();f.Ob();)!(l=RR(f.Pb(),110)).c||l.c.d.c.length<=0||(v=l.b.pf(),b=l.e,(g=(p=l.c).i).b=(c=p.n,p.e.a+c.b+c.c),g.a=(u=p.n,p.e.b+u.d+u.a),yz(x,aIt),p.f=x,PK(p,(JK(),Nzt)),g.c=b.a-(g.b-v.a)/2,_=r.Math.min(a,b.a),S=r.Math.max(m,b.a+v.a),g.c<_?g.c=_:g.c+g.b>S&&(g.c=S-g.b),LR(s.d,new Vj(g,V8(s,g))),y=e==Ote?r.Math.max(y,b.b+l.b.pf().b):r.Math.min(y,b.b));for(y+=e==Ote?t.s:-t.s,(w=h7((s.e=y,s)))>0&&(RR(h$(t.b,e),121).a.b=w),h=d.Ic();h.Ob();)!(l=RR(h.Pb(),110)).c||l.c.d.c.length<=0||((g=l.c.i).c-=l.e.a,g.d-=l.e.b)}(t,e):owt(t,e):t.t.Fc(Tte)&&(n?function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;if((h=RR(RR(Kq(t.r,e),21),81)).gc()<=2||e==(dwt(),Dte)||e==(dwt(),Qte))return void kwt(t,e);for(b=t.t.Fc((aot(),Ate)),n=e==(dwt(),Ote)?(f3(),_$t):(f3(),y$t),m=e==Ote?(QZ(),Vzt):(QZ(),Wzt),i=Cw(VL(n),t.s),v=e==Ote?RSt:NSt,l=h.Ic();l.Ob();)!(u=RR(l.Pb(),110)).c||u.c.d.c.length<=0||(g=u.b.pf(),p=u.e,(d=(f=u.c).i).b=(o=f.n,f.e.a+o.b+o.c),d.a=(s=f.n,f.e.b+s.d+s.a),b?(d.c=p.a-(a=f.n,f.e.a+a.b+a.c)-t.s,b=!1):d.c=p.a+g.a+t.s,yz(m,aIt),f.f=m,PK(f,(JK(),Nzt)),LR(i.d,new Vj(d,V8(i,d))),v=e==Ote?r.Math.min(v,p.b):r.Math.max(v,p.b+u.b.pf().b));for(v+=e==Ote?-t.s:t.s,h7((i.e=v,i)),c=h.Ic();c.Ob();)!(u=RR(c.Pb(),110)).c||u.c.d.c.length<=0||((d=u.c.i).c-=u.e.a,d.d-=u.e.b)}(t,e):kwt(t,e))}function qtt(t){var e;DC(_ht(t,(fxt(),K8t)))===DC((P8(),W7t))&&(rW(t)?(e=RR(_ht(rW(t),K8t),332),Bet(t,K8t,e)):Bet(t,K8t,G7t))}function Ytt(t,e,n){return new j$(r.Math.min(t.a,e.a)-n/2,r.Math.min(t.b,e.b)-n/2,r.Math.abs(t.a-e.a)+n,r.Math.abs(t.b-e.b)+n)}function Ktt(t,e,n){var r,i,a;r=e.c.p,a=e.p,t.b[r][a]=new GV(t,e),n&&(t.a[r][a]=new Qp(e),(i=RR(Bot(e,(dxt(),_qt)),10))&&Kct(t.d,i,e))}function Ztt(t,e,n){var r;if(!n[e.d])for(n[e.d]=!0,r=new ed(E9(e));r.a<r.c.c.length;)Ztt(t,k9(RR(xG(r),211),e),n)}function Qtt(t){var e,n,i,a;for(e=0,n=0,a=new ed(t.c);a.a<a.c.c.length;)L7(i=RR(xG(a),437)),e=r.Math.max(e,i.b),n+=i.c;t.b=e,t.d=n}function Jtt(t){var e,n,r,i;for(i=0,n=0,r=t.length;n<r;n++)AW(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(i=kH(i,xN(1,e-64)));return i}function tet(t,e,n,r){var i;if(e>=(i=t.length))return i;for(e=e>0?e:0;e<i&&!E3((AW(e,t.length),t.charCodeAt(e)),n,r);e++);return e}function eet(t,e){var n,r;for(r=t.c.length,e.length<r&&(e=yw(new Array(r),e)),n=0;n<r;++n)nz(e,n,t.c[n]);return e.length>r&&nz(e,r,null),e}function net(t,e){var n,r;for(r=t.a.length,e.length<r&&(e=yw(new Array(r),e)),n=0;n<r;++n)nz(e,n,t.a[n]);return e.length>r&&nz(e,r,null),e}function ret(t){this.d=new Vb,this.e=new FX,this.c=hK(noe,uSt,24,(dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length,15,1),this.b=t}function iet(t){var e;this.d=new Vb,this.j=new fx,this.g=new fx,e=t.g.b,this.f=RR(Bot(jz(e),(Zwt(),qZt)),108),this.e=Dy(VD(Aet(e,MJt)))}function aet(t,e,n){var r;switch(r=n[t.g][e],t.g){case 1:case 3:return new YM(0,r);case 2:case 4:return new YM(r,0);default:return null}}function oet(t,e,n){var r,i,a,o;return null,r=null,(a=lyt(I1(),e))&&(null,i=null,null!=(o=Zmt(a,n))&&(i=t.Ze(a,o)),r=i),r}function set(t,e,n){var r,i,a;return(i=RR(oz(t.e,e),382))?(a=vO(i,n),iE(t,i),a):(r=new DR(t,e,n),t$(t.e,e,r),TH(r),null)}function uet(t,e,n,r){var i,a;for(blt(),i=0,a=0;a<n;a++)i=a8(o8(SH(e[a],WSt),SH(r,WSt)),SH(QN(i),WSt)),t[a]=QN(i),i=_N(i,32);return QN(i)}function cet(t,e){var n,r;++t.j,null!=e&&function(t,e){var n,r,i;if(DC(t)===DC(e))return!0;if(null==t||null==e)return!1;if(t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(r=t[n],i=e[n],!(DC(r)===DC(i)||null!=r&&u8(r,i)))return!1;return!0}(e,n=zA(r=t.a.Cb,96)?RR(r,96).Eg():null)?Att(t.a,4,n):Att(t.a,4,RR(e,124))}function het(t,e){var n,r;if(WH(e,t.b),e>=t.b>>1)for(r=t.c,n=t.b;n>e;--n)r=r.b;else for(r=t.a.a,n=0;n<e;++n)r=r.a;return new WL(t,e,r)}function fet(){return vxt(),X3(uw(b$t,1),P_t,159,0,[f$t,h$t,d$t,r$t,n$t,i$t,s$t,o$t,a$t,l$t,c$t,u$t,t$t,Jzt,e$t,Zzt,Kzt,Qzt,qzt,Xzt,Yzt,p$t])}function det(t,e){var n,i,a,o;for(n=0,a=new ed(e.a);a.a<a.c.c.length;)o=(i=RR(xG(a),10)).o.a+i.d.c+i.d.b+t.j,n=r.Math.max(n,o);return n}function pet(){pet=S,F6t=new xM("PARENTS",0),j6t=new xM("NODES",1),R6t=new xM("EDGES",2),B6t=new xM("PORTS",3),N6t=new xM("LABELS",4)}function get(){get=S,fte=new DM("DISTRIBUTED",0),pte=new DM("JUSTIFIED",1),lte=new DM("BEGIN",2),hte=new DM(tIt,3),dte=new DM("END",4)}function bet(t){var e;if(zA(t.a,4)){if(null==(e=htt(t.a)))throw Jb(new jy(XPt+t.b+"'. "+HPt+(FD(Rne),Rne.k)+WPt));return e}return t.a}function vet(t){var e;if(null==t)return null;if(e=function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;if(Bbt(),null==t)return null;if(a=zZ(t),p=function(t){var e,n,r;for(r=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[r++]=t[e]);return r}(a),p%4!=0)return null;if(0==(g=p/4|0))return hK(aoe,iOt,24,0,15,1);for(h=null,e=0,n=0,r=0,i=0,o=0,s=0,u=0,c=0,d=0,f=0,l=0,h=hK(aoe,iOt,24,3*g,15,1);d<g-1;d++){if(!(K_(o=a[l++])&&K_(s=a[l++])&&K_(u=a[l++])&&K_(c=a[l++])))return null;e=mae[o],n=mae[s],r=mae[u],i=mae[c],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|r>>2&15)<<24>>24,h[f++]=(r<<6|i)<<24>>24}if(!K_(o=a[l++])||!K_(s=a[l++]))return null;if(e=mae[o],n=mae[s],u=a[l++],c=a[l++],-1==mae[u]||-1==mae[c])return 61==u&&61==c?0!=(15&n)?null:(Yvt(h,0,b=hK(aoe,iOt,24,3*d+1,15,1),0,3*d),b[f]=(e<<2|n>>4)<<24>>24,b):61!=u&&61==c?0!=(3&(r=mae[u]))?null:(Yvt(h,0,b=hK(aoe,iOt,24,3*d+2,15,1),0,3*d),b[f++]=(e<<2|n>>4)<<24>>24,b[f]=((15&n)<<4|r>>2&15)<<24>>24,b):null;r=mae[u],i=mae[c],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|r>>2&15)<<24>>24,h[f++]=(r<<6|i)<<24>>24;return h}(jvt(t,!0)),null==e)throw Jb(new Ky("Invalid base64Binary value: '"+t+"'"));return e}function met(t,e){var n;n=t.Xc(e);try{return n.Pb()}catch(t){throw zA(t=m3(t),114)?Jb(new My("Can't get element "+e)):Jb(t)}}function yet(){yet=S,tzt=new Tk("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),JBt=new Tk("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function wet(t){switch(t.g){case 1:return E8(),p7t;case 4:return E8(),h7t;case 2:return E8(),f7t;case 3:return E8(),l7t}return E8(),d7t}function xet(t){var e,n,r;for(n=function(t){var e,n,r,i;for(n=new Hb,i=new ed(t.d);i.a<i.c.c.length;)r=RR(xG(i),183),e=RR(r.Xe((dxt(),lqt)),18),rH(n.f,e)||t$(n,e,new bV(e)),LR(RR(PC(rH(n.f,e)),449).b,r);return new jL(new Gf(n))}(t),kA(n,cWt),(r=t.d).c=hK(gjt,zxt,1,0,5,1),e=new ed(n);e.a<e.c.c.length;)R3(r,RR(xG(e),449).b)}function _et(t,e,n){var r;if(t.c)UJ(t.c,t.c.i+e),XJ(t.c,t.c.j+n);else for(r=new ed(t.b);r.a<r.c.c.length;)_et(RR(xG(r),157),e,n)}function Set(t){this.b=new Vb,this.e=new Vb,this.d=t,this.a=!Bx(_$(new lj(null,new IB(new hY(t.b))),new gd(new Wi))).sd((xS(),BBt))}function ket(t,e){var n,r,i;(r=(i=e.d.i).k)!=(vst(),YHt)&&r!=GHt&&Qlt(n=new xF(zE(g9(i).a.Ic(),new p)))&&t$(t.k,e,RR(dq(n),18))}function Iet(t,e){var n,r,i;return r=$Q(t.Og(),e),(n=e-t.vh())<0?(i=t.Tg(r))>=0?t.gh(i):Uct(t,r):n<0?Uct(t,r):RR(r,65).Ij().Nj(t,t.th(),n)}function Met(t){var e,n;for(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),e=(n=t.o).c.Ic();e.e!=e.i.gc();)RR(e.ij(),43).bd();return uK(n)}function Cet(){Cet=S,fxt(),uVt=K9t,nVt=X8t,Z$t=D8t,rVt=y9t,xit(),oVt=czt,aVt=szt,sVt=hzt,iVt=ozt,H5(),J$t=U$t,Q$t=G$t,tVt=q$t,eVt=Y$t}function Tet(t){switch(SS(),this.c=new Vb,this.d=t,t.g){case 0:case 2:this.a=w$(BHt),this.b=RSt;break;case 3:case 1:this.a=BHt,this.b=NSt}}function Aet(t,e){var n,r;return r=null,ZP(t,(fxt(),t7t))&&(n=RR(Bot(t,t7t),94)).Ye(e)&&(r=n.Xe(e)),null==r&&jz(t)&&(r=Bot(jz(t),e)),r}function Eet(t,e){var n;return n=RR(Bot(t,(Zwt(),yQt)),74),tE(e,$Ht)?n?sV(n):(n=new vm,S4(t,yQt,n)):n&&S4(t,yQt,null),n}function Pet(t,e){var n,r,i,a;for(mV(),n=t,a=e,zA(t,21)&&!zA(e,21)&&(n=e,a=t),i=n.Ic();i.Ob();)if(r=i.Pb(),a.Fc(r))return!1;return!0}function Det(t,e,n){var r;e.a.length>0&&(LR(t.b,new TR(e.a,n)),0<(r=e.a.length)?e.a=e.a.substr(0,0):0>r&&(e.a+=JA(hK(eoe,q_t,24,-r,15,1))))}function Oet(t,e){var n,r,i;for(n=t.o,i=RR(RR(Kq(t.r,e),21),81).Ic();i.Ob();)(r=RR(i.Pb(),110)).e.a=Trt(r,n.a),r.e.b=n.b*Dy(VD(r.b.Xe(m$t)))}function Let(t){var e;return(e=new pw).a+="n",t.k!=(vst(),YHt)&&UC(UC((e.a+="(",e),JP(t.k).toLowerCase()),")"),UC((e.a+="_",e),Art(t)),e.a}function Ret(t,e,n,r){var i;return n>=0?t.bh(e,n,r):(t.$g()&&(r=(i=t.Qg())>=0?t.Lg(r):t.$g().dh(t,-1-i,null,r)),t.Ng(e,n,r))}function Net(t,e,n){var r,i;if(e>=(i=t.gc()))throw Jb(new GO(e,i));if(t.ci()&&(r=t.Vc(n))>=0&&r!=e)throw Jb(new Ny(HOt));return t.hi(e,n)}function jet(t,e,n){var r,i,a,o;return-1!=(r=t.Vc(e))&&(t._i()?(a=t.aj(),o=Nrt(t,r),i=t.Ui(4,o,null,r,a),n?n.zi(i):n=i):Nrt(t,r)),n}function Fet(t,e){switch(e){case 7:return!t.e&&(t.e=new nL(rne,t,7,4)),void Omt(t.e);case 8:return!t.d&&(t.d=new nL(rne,t,8,5)),void Omt(t.d)}b7(t,e)}function Bet(t,e,n){return null==n?(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),ctt(t.o,e)):(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),$it(t.o,e,n)),t}function zet(t,e){this.e=t,e<GSt?(this.d=1,this.a=X3(uw(noe,1),uSt,24,15,[0|e])):(this.d=2,this.a=X3(uw(noe,1),uSt,24,15,[e%GSt|0,e/GSt|0]))}function $et(){$et=S,M$t=new Rk(vIt,0),I$t=new Rk(mIt,1),C$t=new Rk(yIt,2),T$t=new Rk(wIt,3),M$t.a=!1,I$t.a=!0,C$t.a=!1,T$t.a=!0}function Vet(){Vet=S,F$t=new Fk(vIt,0),j$t=new Fk(mIt,1),B$t=new Fk(yIt,2),z$t=new Fk(wIt,3),F$t.a=!1,j$t.a=!0,B$t.a=!1,z$t.a=!0}function Het(t){var e,n,r;if(n=0,0==(r=Qdt(t)).c.length)return 1;for(e=new ed(r);e.a<e.c.c.length;)n+=Het(RR(xG(e),34));return n}function Wet(t,e,n,r){if(e.a<r.a)return!0;if(e.a==r.a){if(e.b<r.b)return!0;if(e.b==r.b&&t.b>n.b)return!0}return!1}function Get(t,e){return RC(t)?!!Txt[e]:t.cm?!!t.cm[e]:LC(t)?!!Cxt[e]:!!OC(t)&&!!Mxt[e]}function Uet(t){var e;if(E5(t))return Sj(t),t.Gk()&&(e=Xct(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw Jb(new vv)}function Xet(t,e,n,r){var i,a,o;return a=$Q(t.Og(),e),(i=e-t.vh())<0?(o=t.Tg(a))>=0?t.Wg(o,n,!0):nlt(t,a,n):RR(a,65).Ij().Kj(t,t.th(),i,n,r)}function qet(t,e,n,r){var i,a;n.hh(e)&&(ek(),rQ(e)?function(t,e){var n,r,i,a;for(r=0,i=e.gc();r<i;++r)zA(n=e.dl(r),97)&&0!=(RR(n,17).Bb&KDt)&&null!=(a=e.el(r))&&Hgt(t,RR(a,55))}(t,RR(n.Xg(e),152)):(i=(a=e)?RR(r,48).sh(a):null)&&function(t,e){e.Wb(t)}(n.Xg(e),i))}function Yet(){Yet=S,fxt(),eHt=e9t,new lA(V8t,(_P(),!0)),rHt=new sA(10),new lA(y9t,rHt),Vrt(),tHt=YVt,QVt=UVt,JVt=qVt,nHt=KVt,ZVt=GVt}function Ket(t){switch(typeof t){case Dxt:return snt(t);case Pxt:return CH(t);case Ext:return _P(),t?1231:1237;default:return null==t?0:uP(t)}}function Zet(t){switch(t.g){case 0:return null;case 1:return new A0;case 2:return new qm;default:throw Jb(new Ny(WEt+(null!=t.f?t.f:""+t.g)))}}function Qet(t){var e,n;if(null==t)return null;for(n=hK(ZHt,u_t,213,t.length,0,2),e=0;e<n.length;e++)n[e]=RR(lZ(t[e],t[e].length),213);return n}function Jet(t,e){if(this.a=RR(wB(t),244),this.b=RR(wB(e),244),t.vd(e)>0||t==($m(),kjt)||e==(Vm(),Ijt))throw Jb(new Ny("Invalid range: "+uX(t,e)))}function tnt(t,e){if(null==t)throw Jb(new By("null key in entry: null="+e));if(null==e)throw Jb(new By("null value in entry: "+t+"=null"))}function ent(t,e){var n,r;if((r=Zrt(t,e))>=0)return r;if(t.Ak())for(n=0;n<t.i;++n)if(DC(t.Bk(RR(t.g[n],55)))===DC(e))return n;return-1}function nnt(t){var e,n;for(this.b=new Vb,this.c=t,this.a=!1,n=new ed(t.a);n.a<n.c.c.length;)e=RR(xG(n),10),this.a=this.a|e.k==(vst(),YHt)}function rnt(t,e,n){var r,i,a;for(i=new xF(zE((e?p9(t):g9(t)).a.Ic(),new p));Qlt(i);)r=RR(dq(i),18),(a=e?r.c.i:r.d.i).k==(vst(),XHt)&&DW(a,n)}function int(){int=S,a1t=new LI(mCt,0),o1t=new LI("PORT_POSITION",1),i1t=new LI("NODE_SIZE_WHERE_SPACE_PERMITS",2),r1t=new LI("NODE_SIZE",3)}function ant(){ant=S,e8t=new SM("AUTOMATIC",0),i8t=new SM(rIt,1),a8t=new SM(iIt,2),o8t=new SM("TOP",3),n8t=new SM(oIt,4),r8t=new SM(tIt,5)}function ont(t,e){var n,r;if(kP(e>0),(e&-e)==e)return CH(e*Ght(t,31)*4.656612873077393e-10);do{r=(n=Ght(t,31))%e}while(n-r+(e-1)<0);return CH(r)}function snt(t){var e,n,r;return FO(),null!=(r=VBt[n=":"+t])?CH((wz(r),r)):(e=null==(r=$Bt[n])?function(t){var e,n,r,i;e=0,r=t.length,i=r-4,n=0;for(;n<i;)AW(n+3,t.length),e=t.charCodeAt(n+3)+(AW(n+2,t.length),31*(t.charCodeAt(n+2)+(AW(n+1,t.length),31*(t.charCodeAt(n+1)+(AW(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<r;)e=31*e+d$(t,n++);return e|=0}(t):CH((wz(r),r)),256==WBt&&($Bt=VBt,VBt=new a,WBt=0),++WBt,VBt[n]=e,e)}function unt(t,e,n){var i,a;for(a=0,i=0;i<jzt;i++)a=r.Math.max(a,n6(t.a[e.g][i],n));return e==(nJ(),Ezt)&&t.b&&(a=r.Math.max(a,t.b.b)),a}function cnt(t,e,n){try{return B_(MJ(t,e,n),1)}catch(r){throw zA(r=m3(r),318)?Jb(new My(SIt+t.o+"*"+t.p+kIt+e+Fxt+n+IIt)):Jb(r)}}function lnt(t,e,n){try{return B_(MJ(t,e,n),0)}catch(r){throw zA(r=m3(r),318)?Jb(new My(SIt+t.o+"*"+t.p+kIt+e+Fxt+n+IIt)):Jb(r)}}function hnt(t,e,n){try{return B_(MJ(t,e,n),2)}catch(r){throw zA(r=m3(r),318)?Jb(new My(SIt+t.o+"*"+t.p+kIt+e+Fxt+n+IIt)):Jb(r)}}function fnt(t,e,n){try{return cnt(t,e+t.j,n+t.k)}catch(t){throw zA(t=m3(t),73)?Jb(new My(t.g+MIt+e+Fxt+n+").")):Jb(t)}}function dnt(t,e,n){try{return lnt(t,e+t.j,n+t.k)}catch(t){throw zA(t=m3(t),73)?Jb(new My(t.g+MIt+e+Fxt+n+").")):Jb(t)}}function pnt(t,e,n){try{return hnt(t,e+t.j,n+t.k)}catch(t){throw zA(t=m3(t),73)?Jb(new My(t.g+MIt+e+Fxt+n+").")):Jb(t)}}function gnt(t,e,n){qat(n,"Compound graph preprocessor",1),t.a=new yH,Yyt(t,e,null),function(t,e){var n,r,i,a,o,s,u;for(o=oF(t.a).Ic();o.Ob();){if((a=RR(o.Pb(),18)).b.c.length>0)for(r=new jL(RR(Kq(t.a,a),21)),mV(),kA(r,new Yd(e)),i=new tU(a.b,0);i.b<i.d.gc();){switch(MP(i.b<i.d.gc()),n=RR(i.d.Xb(i.c=i.b++),69),s=-1,RR(Bot(n,(Zwt(),JZt)),271).g){case 1:s=r.c.length-1;break;case 0:s=uat(r);break;case 2:s=0}-1!=s&&(TW(s,r.c.length),LR((u=RR(r.c[s],242)).b.b,n),RR(Bot(jz(u.b.c.i),(dxt(),vqt)),21).Dc((Zdt(),AXt)),RR(Bot(jz(u.b.c.i),vqt),21).Dc(CXt),n$(i),S4(n,Nqt,a))}PW(a,null),EW(a,null)}}(t,e),function(t){var e,n,r,i;for(r=new b5(new jf(t.b).a);r.b;)i=RR((n=kJ(r)).ad(),11),S4(e=RR(n.bd(),10),(dxt(),Oqt),i),S4(i,$qt,e),S4(i,wqt,(_P(),!0)),vct(i,RR(Bot(e,pqt),61)),Bot(e,pqt),S4(i.i,(Zwt(),nJt),(Fat(),wte)),RR(Bot(jz(i.i),vqt),21).Dc((Zdt(),OXt))}(t),S4(e,(dxt(),oqt),t.a),t.a=null,JF(t.b),Sst(n)}function bnt(t,e,n){var r,i;for(function(t,e,n){var r,i;for(i=new ed(t.b);i.a<i.c.c.length;)VT(r=RR(xG(i),34),r.i+e,r.j+n)}(t,e-t.s,n-t.t),i=new ed(t.n);i.a<i.c.c.length;)Cf(r=RR(xG(i),209),r.e+e-t.s),Tf(r,r.f+n-t.t);t.s=e,t.t=n}function vnt(t){var e,n,r,i;for(n=0,r=new ed(t.a);r.a<r.c.c.length;)RR(xG(r),119).d=n++;return e=function(t){var e,n,r,i;for(e=new Vb,uB(n=hK(roe,Zkt,24,t.a.c.length,16,1),n.length),i=new ed(t.a);i.a<i.c.c.length;)n[(r=RR(xG(i),119)).d]||(e.c[e.c.length]=r,Ztt(t,r,n));return e}(t),i=null,e.c.length>1&&(i=function(t,e){var n,r,i;for(n=dP(new jv,t),i=new ed(e);i.a<i.c.c.length;)r=RR(xG(i),119),Kft(bS(gS(vS(pS(new Nv,0),0),n),r));return n}(t,e)),i}function mnt(t){var e;return t.f&&t.f.fh()&&(e=RR(t.f,48),t.f=RR(P6(t,e),93),t.f!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,8,e,t.f))),t.f}function ynt(t){var e;return t.i&&t.i.fh()&&(e=RR(t.i,48),t.i=RR(P6(t,e),93),t.i!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,7,e,t.i))),t.i}function wnt(t){var e;return t.b&&0!=(64&t.b.Db)&&(e=t.b,t.b=RR(P6(t,e),17),t.b!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,21,e,t.b))),t.b}function xnt(t,e){var n,r,i;null==t.d?(++t.e,++t.f):(r=e.Nh(),function(t,e){var n,r,i,a,o,s,u,c,l,h;if(++t.e,e>(u=null==t.d?0:t.d.length)){for(l=t.d,t.d=hK(Pne,HLt,60,2*u+4,0,1),a=0;a<u;++a)if(c=l[a])for(r=c.g,h=c.i,s=0;s<h;++s)o=oO(t,(i=RR(r[s],133)).Nh()),!(n=t.d[o])&&(n=t.d[o]=t.pj()),n.Dc(i);return!0}}(t,t.f+1),i=(r&Lxt)%t.d.length,!(n=t.d[i])&&(n=t.d[i]=t.pj()),n.Dc(e),++t.f)}function _nt(t,e,n){var r;return!e.Fj()&&(-2!=e.Uj()?null==(r=e.uj())?null==n:u8(r,n):e.Cj()==t.e.Og()&&null==n)}function Snt(){var t;k1(16,T_t),t=J1(16),this.b=hK(Tjt,C_t,314,t,0,1),this.c=hK(Tjt,C_t,314,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function knt(t){CO.call(this),this.k=(vst(),YHt),this.j=(k1(6,E_t),new RY(6)),this.b=(k1(2,E_t),new RY(2)),this.d=new um,this.f=new cm,this.a=t}function Int(t){var e,n;t.c.length<=1||(fut(t,RR((e=ept(t,(dwt(),Kte))).a,20).a,RR(e.b,20).a),fut(t,RR((n=ept(t,Qte)).a,20).a,RR(n.b,20).a))}function Mnt(){Mnt=S,d1t=new RI("SIMPLE",0),l1t=new RI(DCt,1),h1t=new RI("LINEAR_SEGMENTS",2),c1t=new RI("BRANDES_KOEPF",3),f1t=new RI(sEt,4)}function Cnt(t,e,n,r){var i;for(i=RR(Kq(r?t.a:t.b,e),21).Ic();i.Ob();)if(bpt(t,n,RR(i.Pb(),34)))return!0;return!1}function Tnt(t){var e,n;for(n=new SE(t);n.e!=n.i.gc();)if((e=RR(Htt(n),86)).e||0!=(!e.d&&(e.d=new fE(vre,e,1)),e.d).i)return!0;return!1}function Ant(t){var e,n;for(n=new SE(t);n.e!=n.i.gc();)if((e=RR(Htt(n),86)).e||0!=(!e.d&&(e.d=new fE(vre,e,1)),e.d).i)return!0;return!1}function Ent(){Ent=S,Npt(),v6t=h6t,g6t=new sA(8),new lA((fxt(),y9t),g6t),new lA(i7t,8),b6t=c6t,d6t=J5t,p6t=t6t,f6t=new lA(B8t,(_P(),!1))}function Pnt(t,e,n,r){switch(e){case 7:return!t.e&&(t.e=new nL(rne,t,7,4)),t.e;case 8:return!t.d&&(t.d=new nL(rne,t,8,5)),t.d}return D9(t,e,n,r)}function Dnt(t,e){if(-1==t.g)throw Jb(new wv);t.hj();try{t.d.Zc(t.g,e),t.f=t.d.j}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}}function Ont(t){var e;return t.a&&t.a.fh()&&(e=RR(t.a,48),t.a=RR(P6(t,e),138),t.a!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,5,e,t.a))),t.a}function Lnt(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function Rnt(t){var e;if(e=function(t){var e;for(wB(t),xL(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&Qlt(t);e++)dq(t);return e}(t),!Qlt(t))throw Jb(new My("position (0) must be less than the number of elements that remained ("+e+")"));return dq(t)}function Nnt(t,e){var n;return n=X3(uw(ooe,1),$St,24,15,[n6(t.a[0],e),n6(t.a[1],e),n6(t.a[2],e)]),t.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function jnt(t,e){var n;return n=X3(uw(ooe,1),$St,24,15,[r6(t.a[0],e),r6(t.a[1],e),r6(t.a[2],e)]),t.d&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function Fnt(t,e,n){bL(RR(Bot(e,(Zwt(),nJt)),100))||(tQ(t,e,Fst(e,n)),tQ(t,e,Fst(e,(dwt(),Kte))),tQ(t,e,Fst(e,Ote)),mV(),kA(e.j,new Yp(t)))}function Bnt(t){var e,n;for(t.c||function(t){var e,n,i,a,o,s;if(a=new tU(t.e,0),i=new tU(t.a,0),t.d)for(n=0;n<t.b;n++)MP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(n=0;n<t.b-1;n++)MP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),n$(a);e=Dy((MP(a.b<a.d.gc()),VD(a.d.Xb(a.c=a.b++))));for(;t.f-e>xEt;){for(o=e,s=0;r.Math.abs(e-o)<xEt;)++s,e=Dy((MP(a.b<a.d.gc()),VD(a.d.Xb(a.c=a.b++)))),MP(i.b<i.d.gc()),i.d.Xb(i.c=i.b++);s<t.b&&(MP(a.b>0),a.a.Xb(a.c=--a.b),Gbt(t,t.b-s,o,i,a),MP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),MP(i.b>0),i.a.Xb(i.c=--i.b)}if(!t.d)for(n=0;n<t.b-1;n++)MP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),n$(a);t.d=!0,t.c=!0}(t),n=new vm,xG(e=new ed(t.a));e.a<e.c.c.length;)vN(n,RR(xG(e),402).a);return MP(0!=n.b),uJ(n,n.c.b),n}function znt(t,e,n){var r,i,a,o;for(o=0,r=n/t.a.c.length,a=new ed(t.a);a.a<a.c.c.length;)bnt(i=RR(xG(a),181),i.s,i.t+o*r),$nt(i,t.c-i.r+e,r),++o}function $nt(t,e,n){var r,i,a,o;for(o=t.r+e,t.r+=e,t.d+=n,r=n/t.n.c.length,i=0,a=new ed(t.n);a.a<a.c.c.length;)zht(RR(xG(a),209),o,r,i),++i}function Vnt(t,e){var n,r,i;for(t.b[e.g]=1,r=het(e.d,0);r.b!=r.d.c;)i=(n=RR(zU(r),188)).c,1==t.b[i.g]?vN(t.a,n):2==t.b[i.g]?t.b[i.g]=1:Vnt(t,i)}function Hnt(t,e){var n,r;for(r=i9(t,e).Ic();r.Ob();)if(null!=Bot(n=RR(r.Pb(),11),(dxt(),$qt))||vP(new hY(n.b)))return!0;return!1}function Wnt(t,e,n){qat(n,"Shrinking tree compaction",1),Ay($D(Bot(e,(H2(),R$t))))?(!function(t,e){var n;n=new te,RR(e.b,63),RR(e.b,63),RR(e.b,63),cJ(e.a,new cR(t,n,e))}(t,e.f),VZ(e.f,e.c)):VZ(e.f,e.c),Sst(n)}function Gnt(t){switch(t.g){case 1:return dwt(),Qte;case 4:return dwt(),Ote;case 3:return dwt(),Dte;case 2:return dwt(),Kte;default:return dwt(),Zte}}function Unt(t,e){var n,r,i,a,o,s;for(i=e.length-1,o=0,s=0,r=0;r<=i;r++)a=e[r],n=hst(i,r)*G6(1-t,i-r)*G6(t,r),o+=a.a*n,s+=a.b*n;return new YM(o,s)}function Xnt(t,e){var n,r,i,a,o;for(n=e.gc(),t.li(t.i+n),a=e.Ic(),o=t.i,t.i+=n,r=o;r<t.i;++r)i=a.Pb(),hE(t,r,t.ji(r,i)),t.Yh(r,i),t.Zh();return 0!=n}function qnt(t,e,n,r,i,a,o,s){var u,c;r&&((u=r.a[0])&&qnt(t,e,n,u,i,a,o,s),function(t,e,n,r,i,a,o){var s,u;if(e.Ae()&&((u=t.a.ue(n,r))<0||!i&&0==u))return!1;if(e.Be()&&((s=t.a.ue(n,a))>0||!o&&0==s))return!1;return!0}(t,n,r.d,i,a,o,s)&&e.Dc(r),(c=r.a[1])&&qnt(t,e,n,c,i,a,o,s))}function Ynt(t,e,n){try{Fpt(t,e+t.j,n+t.k,!1,!0)}catch(t){throw zA(t=m3(t),73)?Jb(new My(t.g+MIt+e+Fxt+n+").")):Jb(t)}}function Knt(t,e,n){try{Fpt(t,e+t.j,n+t.k,!0,!1)}catch(t){throw zA(t=m3(t),73)?Jb(new My(t.g+MIt+e+Fxt+n+").")):Jb(t)}}function Znt(t,e,n){qat(n,"Linear segments node placement",1),t.b=RR(Bot(e,(dxt(),qqt)),302),function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P,D;for(E=new Vb,p=new ed(e.b);p.a<p.c.c.length;)for(x=new ed(RR(xG(p),29).a);x.a<x.c.c.length;){for((w=RR(xG(x),10)).p=-1,f=B_t,k=B_t,M=new ed(w.j);M.a<M.c.c.length;){for(a=new ed((I=RR(xG(M),11)).e);a.a<a.c.c.length;)n=RR(xG(a),18),C=RR(Bot(n,(Zwt(),dJt)),20).a,f=r.Math.max(f,C);for(i=new ed(I.g);i.a<i.c.c.length;)n=RR(xG(i),18),C=RR(Bot(n,(Zwt(),dJt)),20).a,k=r.Math.max(k,C)}S4(w,B0t,k8(f)),S4(w,z0t,k8(k))}for(v=0,d=new ed(e.b);d.a<d.c.c.length;)for(x=new ed(RR(xG(d),29).a);x.a<x.c.c.length;)(w=RR(xG(x),10)).p<0&&((A=new Jv).b=v++,Vpt(t,w,A),E.c[E.c.length]=A);for(S=VP(E.c.length),h=VP(E.c.length),s=0;s<E.c.length;s++)LR(S,new Vb),LR(h,k8(0));for(function(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;for(d=e.c.length,f=0,h=new ed(t.b);h.a<h.c.c.length;)if(0!=(v=(l=RR(xG(h),29)).a).c.length){for(c=0,m=null,i=RR(xG(b=new ed(v)),10),a=null;i;){if((a=RR(JN(e,i.p),256)).c>=0){for(u=null,s=new tU(l.a,c+1);s.b<s.d.gc()&&(MP(s.b<s.d.gc()),o=RR(s.d.Xb(s.c=s.b++),10),!((u=RR(JN(e,o.p),256)).d==a.d&&u.c<a.c));)u=null;u&&(m&&(bq(r,i.p,k8(RR(JN(r,i.p),20).a-1)),RR(JN(n,m.p),14).Kc(a)),a=Qat(a,i,d++),e.c[e.c.length]=a,LR(n,new Vb),m?(RR(JN(n,m.p),14).Dc(a),LR(r,k8(1))):LR(r,k8(0)))}p=null,b.a<b.c.c.length&&(p=RR(xG(b),10),g=RR(JN(e,p.p),256),RR(JN(n,i.p),14).Dc(g),bq(r,p.p,k8(RR(JN(r,p.p),20).a+1))),a.d=f,a.c=c++,m=i,i=p}++f}}(e,E,S,h),P=RR(eet(E,hK(V0t,gEt,256,E.c.length,0,1)),819),_=RR(eet(S,hK(_jt,QIt,14,S.c.length,0,1)),192),l=hK(noe,uSt,24,h.c.length,15,1),u=0;u<l.length;u++)l[u]=(TW(u,h.c.length),RR(h.c[u],20)).a;for(m=0,y=new Vb,c=0;c<P.length;c++)0==l[c]&&LR(y,P[c]);b=hK(noe,uSt,24,P.length,15,1);for(;0!=y.c.length;)for(b[(A=RR(tY(y,0),256)).b]=m++;!_[A.b].dc();)--l[(D=RR(_[A.b].Yc(0),256)).b],0==l[D.b]&&(y.c[y.c.length]=D);for(t.a=hK(V0t,gEt,256,P.length,0,1),o=0;o<P.length;o++)for(g=P[o],T=b[o],t.a[T]=g,g.b=T,x=new ed(g.e);x.a<x.c.c.length;)(w=RR(xG(x),10)).p=T;t.a}(t,e),function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b;for(u=hK(noe,uSt,24,e.b.c.length,15,1),l=hK(JHt,P_t,266,e.b.c.length,0,1),c=hK(ZHt,KMt,10,e.b.c.length,0,1),f=t.a,d=0,p=f.length;d<p;++d){for(b=0,s=new ed((h=f[d]).e);s.a<s.c.c.length;)++u[i=DT((a=RR(xG(s),10)).c)],g=Dy(VD(Bot(e,(Zwt(),wJt)))),u[i]>0&&c[i]&&(g=EA(t.b,c[i],a)),b=r.Math.max(b,a.c.c.b+g);for(o=new ed(h.e);o.a<o.c.c.length;)(a=RR(xG(o),10)).n.b=b+a.d.d,(n=a.c).c.b=b+a.d.d+a.o.b+a.d.a,l[mZ(n.b.b,n,0)]=a.k,c[mZ(n.b.b,n,0)]=a}}(t,e),function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;i=Dy(VD(Bot(e,(Zwt(),jQt)))),x=RR(Bot(e,LJt),20).a,f=4,a=3,_=20/x,d=!1,c=0,s=Lxt;do{for(o=1!=c,h=0!=c,S=0,m=0,w=(b=t.a).length;m<w;++m)(p=b[m]).f=null,Qyt(t,p,o,h,i),S+=r.Math.abs(p.a);do{u=bbt(t,e)}while(u);for(v=0,y=(g=t.a).length;v<y;++v)if(0!=(n=GF(p=g[v]).a))for(l=new ed(p.e);l.a<l.c.c.length;)RR(xG(l),10).n.b+=n;0==c||1==c?--f<=0&&(S<s||-f>x)?(c=2,s=Lxt):0==c?(c=1,s=S):(c=0,s=S):(d=S>=s||s-S<_,s=S,d&&--a)}while(!(d&&a<=0))}(t,e),function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M;for(y=t.a,w=0,x=y.length;w<x;++w){for(m=y[w],c=Lxt,l=Lxt,p=new ed(m.e);p.a<p.c.c.length;)(o=(f=RR(xG(p),10)).c?mZ(f.c.a,f,0):-1)>0?(h=RR(JN(f.c.a,o-1),10),k=EA(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+k)):b=f.n.b-f.d.d,c=r.Math.min(b,c),o<f.c.a.c.length-1?(h=RR(JN(f.c.a,o+1),10),k=EA(t.b,f,h),v=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+k)):v=2*f.n.b,l=r.Math.min(v,l);for(u=Lxt,a=!1,M=new ed((i=RR(JN(m.e,0),10)).j);M.a<M.c.c.length;)for(I=RR(xG(M),11),g=i.n.b+I.n.b+I.a.b,n=new ed(I.e);n.a<n.c.c.length;)e=(_=RR(xG(n),18).c).i.n.b+_.n.b+_.a.b-g,r.Math.abs(e)<r.Math.abs(u)&&r.Math.abs(e)<(e<0?c:l)&&(u=e,a=!0);for(S=new ed((s=RR(JN(m.e,m.e.c.length-1),10)).j);S.a<S.c.c.length;)for(_=RR(xG(S),11),g=s.n.b+_.n.b+_.a.b,n=new ed(_.g);n.a<n.c.c.length;)e=(I=RR(xG(n),18).d).i.n.b+I.n.b+I.a.b-g,r.Math.abs(e)<r.Math.abs(u)&&r.Math.abs(e)<(e<0?c:l)&&(u=e,a=!0);if(a&&0!=u)for(d=new ed(m.e);d.a<d.c.c.length;)(f=RR(xG(d),10)).n.b+=u}}(t),t.a=null,t.b=null,Sst(n)}function Qnt(t,e){var n,r;if(n=RR(lJ(t.g,e),34))return n;if(r=RR(lJ(t.j,e),122))return r;throw Jb(new Yy("Referenced shape does not exist: "+e))}function Jnt(t,e){var n,r,i,a;for(a=t.gc(),e.length<a&&(e=yw(new Array(a),e)),i=e,r=t.Ic(),n=0;n<a;++n)nz(i,n,r.Pb());return e.length>a&&nz(e,a,null),e}function trt(t,e){var n,r,i;return n=e.ad(),i=e.bd(),r=t.vc(n),!!(DC(i)===DC(r)||null!=i&&u8(i,r))&&!(null==r&&!t._b(n))}function ert(t,e,n,r){var i,a;this.a=e,this.c=r,function(t,e){t.b=e}(this,new YM(-(i=t.a).c,-i.d)),zO(this.b,n),a=r/2,e.a?rD(this.b,0,a):rD(this.b,a,0),LR(t.c,this)}function nrt(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Jb(new Ny("Node 'one' must be either source or target of edge 'edge'."))}function rrt(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw Jb(new Ny("Node "+e+" is neither source nor target of edge "+t))}function irt(){irt=S,S4t=new bM(mCt,0),x4t=new bM(LCt,1),_4t=new bM("EDGE_LENGTH_BY_POSITION",2),w4t=new bM("CROSSING_MINIMIZATION_BY_POSITION",3)}function art(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=function(t){var e,n,r,i;if(n=null!=t.D?t.D:t.B,-1!=(e=ST(n,mot(91)))){r=n.substr(0,e),i=new fw;do{i.a+="["}while(-1!=(e=FP(n,91,++e)));hL(r,Ext)?i.a+="Z":hL(r,hRt)?i.a+="B":hL(r,fRt)?i.a+="C":hL(r,dRt)?i.a+="D":hL(r,pRt)?i.a+="F":hL(r,gRt)?i.a+="I":hL(r,bRt)?i.a+="J":hL(r,vRt)?i.a+="S":(i.a+="L",i.a+=""+r,i.a+=";");try{return null}catch(t){if(!zA(t=m3(t),59))throw Jb(t)}}else if(-1==ST(n,mot(46))){if(hL(n,Ext))return roe;if(hL(n,hRt))return aoe;if(hL(n,fRt))return eoe;if(hL(n,dRt))return ooe;if(hL(n,pRt))return soe;if(hL(n,gRt))return noe;if(hL(n,bRt))return ioe;if(hL(n,vRt))return uoe}return null}(t),e)t.tk(e);else try{t.tk(null)}catch(t){if(!zA(t=m3(t),59))throw Jb(t)}return t.C}function ort(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),XF(t,e,(S3(),HGt),n);break;case 1:case 3:XF(t,e,(S3(),zGt),null)}}function srt(t,e,n,r,i,a){var o,s,u,c,l;for(o=function(t,e,n){var r,i;switch(i=t.b,r=i.d,e.g){case 1:return-r.d-n;case 2:return i.o.a+r.c+n;case 3:return i.o.b+r.a+n;case 4:return-r.b-n;default:return-1}}(e,n,a),s=n==(dwt(),Ote)||n==Qte?-1:1,c=t[n.g],l=0;l<c.length;l++)(u=c[l])>0&&(u+=i),c[l]=o,o+=s*(u+r)}function urt(t){var e,n,r;for(r=t.f,t.n=hK(ooe,$St,24,r,15,1),t.d=hK(ooe,$St,24,r,15,1),e=0;e<r;e++)n=RR(JN(t.c.b,e),29),t.n[e]=det(t,n),t.d[e]=Tft(t,n)}function crt(t,e){var n,r,i;for(i=0,r=2;r<e;r<<=1)0!=(t.Db&r)&&++i;if(0==i){for(n=e<<=1;n<=128;n<<=1)if(0!=(t.Db&n))return 0;return-1}return i}function lrt(t,e){var n,r,i,a,o;for(o=sdt(t.e.Og(),e),a=null,n=RR(t.g,118),i=0;i<t.i;++i)r=n[i],o.ml(r.Xj())&&(!a&&(a=new su),EK(a,r));a&&Owt(t,a)}function hrt(t){var e,n;if(!t)return null;if(t.dc())return"";for(n=new fw,e=t.Ic();e.Ob();)HC(n,HD(e.Pb())),n.a+=" ";return vT(n,n.a.length-1)}function frt(t,e,n){var r,i,a,o;for(F4(t),null==t.k&&(t.k=hK(Njt,u_t,78,0,0,1)),i=0,a=(r=t.k).length;i<a;++i)frt(r[i],e,"\t"+n);(o=t.f)&&frt(o,e,n)}function drt(t,e){var n,r=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return r}for(var i=0;i<e;++i)r[i]=n;return r}function prt(t){var e;for(e=new ed(t.a.b);e.a<e.c.c.length;)RR(xG(e),56).c.$b();cJ(RT(t.d)?t.a.c:t.a.d,new Od(t)),t.c.Me(t),Odt(t)}function grt(t){var e,n,r;for(n=new ed(t.e.c);n.a<n.c.c.length;){for(r=new ed((e=RR(xG(n),281)).b);r.a<r.c.c.length;)Nvt(RR(xG(r),441));bct(e)}}function brt(t,e){var n;return n=X3(uw(ooe,1),$St,24,15,[unt(t,(nJ(),Azt),e),unt(t,Ezt,e),unt(t,Pzt,e)]),t.f&&(n[0]=r.Math.max(n[0],n[2]),n[2]=n[0]),n}function vrt(t){var e;ZP(t,(Zwt(),OQt))&&((e=RR(Bot(t,OQt),21)).Fc((kht(),tte))?(e.Kc(tte),e.Dc(nte)):e.Fc(nte)&&(e.Kc(nte),e.Dc(tte)))}function mrt(t){var e;ZP(t,(Zwt(),OQt))&&((e=RR(Bot(t,OQt),21)).Fc((kht(),ste))?(e.Kc(ste),e.Dc(ate)):e.Fc(ate)&&(e.Kc(ate),e.Dc(ste)))}function yrt(t,e,n,r){var i,a;for(i=e;i<t.c.length;i++){if(TW(i,t.c.length),a=RR(t.c[i],11),!n.Mb(a))return i;r.c[r.c.length]=a}return t.c.length}function wrt(t,e,n,r){var i,a,o;return null==t.a&&function(t,e){var n,r,i,a;for(a=e.b.j,t.a=hK(noe,uSt,24,a.c.length,15,1),i=0,r=0;r<a.c.length;r++)TW(r,a.c.length),0==(n=RR(a.c[r],11)).e.c.length&&0==n.g.c.length?i+=1:i+=3,t.a[r]=i}(t,e),o=e.b.j.c.length,a=n.d.p,(i=r.d.p-1)<0&&(i=o-1),a<=i?t.a[i]-t.a[a]:t.a[o-1]-t.a[a]+t.a[i]}function xrt(t){var e,n;if(!t.a)for(t.a=pG(_V(RR(t.f,34)).i),n=new SE(_V(RR(t.f,34)));n.e!=n.i.gc();)e=RR(Htt(n),34),LR(t.a,new PP(t,e));return t.a}function _rt(t,e){var n,i,a;for(a=new fx,i=t.Ic();i.Ob();)ogt(n=RR(i.Pb(),38),a.a,0),a.a+=n.f.a+e,a.b=r.Math.max(a.b,n.f.b);return a.b>0&&(a.b+=e),a}function Srt(t,e){var n,i,a;for(a=new fx,i=t.Ic();i.Ob();)ogt(n=RR(i.Pb(),38),0,a.b),a.b+=n.f.b+e,a.a=r.Math.max(a.a,n.f.a);return a.a>0&&(a.a+=e),a}function krt(t,e){var n,r;if(0==e.length)return 0;for(n=fz(t.a,e[0],(dwt(),Qte)),n+=fz(t.a,e[e.length-1],Dte),r=0;r<e.length;r++)n+=nst(t,r,e);return n}function Irt(){bdt(),this.c=new Vb,this.i=new Vb,this.e=new XT,this.f=new XT,this.g=new XT,this.j=new Vb,this.a=new Vb,this.b=new Hb,this.k=new Hb}function Mrt(t,e){var n;return t.Db>>16==6?t.Cb.dh(t,5,une,e):(n=wnt(RR($Q(RR(n3(t,16),26)||t.uh(),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function Crt(t){var e,n,i;t.b==t.c&&(i=t.a.length,n=y4(r.Math.max(8,i))<<1,0!=t.b?(c0(t,e=wO(t.a,n),i),t.a=e,t.b=0):Av(t.a,n),t.c=i)}function Trt(t,e){var n;return(n=t.b).Ye((fxt(),D9t))?n.Ef()==(dwt(),Qte)?-n.pf().a-Dy(VD(n.Xe(D9t))):e+Dy(VD(n.Xe(D9t))):n.Ef()==(dwt(),Qte)?-n.pf().a:e}function Art(t){var e;return 0!=t.b.c.length&&RR(JN(t.b,0),69).a?RR(JN(t.b,0),69).a:null!=(e=V$(t))?e:""+(t.c?mZ(t.c.a,t,0):-1)}function Ert(t){var e;return 0!=t.f.c.length&&RR(JN(t.f,0),69).a?RR(JN(t.f,0),69).a:null!=(e=V$(t))?e:""+(t.i?mZ(t.i.j,t,0):-1)}function Prt(t,e){var n,r;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(r=RR(t.Xb(n),128),n==t.gc()-1||!r.o)return new KM(k8(n),r);return null}function Drt(t,e,n){var r,i,a,o;for(a=t.c,r=n?t:e,i=(n?e:t).p+1;i<r.p;++i)if((o=RR(JN(a.a,i),10)).k!=(vst(),GHt)&&!bit(o))return!1;return!0}function Ort(t,e,n,r){return 0==e?r?(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),t.o):(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),uK(t.o)):Xet(t,e,n,r)}function Lrt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)GP(sJ(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)GP(sJ(t.vb,e));Yj((yut(),Sie),t),t.Bb|=1}function Rrt(t,e,n,r,i,a,o,s,u,c,l,h,f,d){return Zut(t,e,r,null,i,a,o,s,u,c,f,!0,d),e9(t,l),zA(t.Cb,87)&&uct($q(RR(t.Cb,87)),2),n&&s0(t,n),r9(t,h),t}function Nrt(t,e){var n,r;if(e>=t.i)throw Jb(new lT(e,t.i));return++t.j,n=t.g[e],(r=t.i-e-1)>0&&Yvt(t.g,e+1,t.g,e,r),nz(t.g,--t.i,null),t.ai(e,n),t.Zh(),n}function jrt(t,e){var n,r;n=t.Xc(e);try{return r=n.Pb(),n.Qb(),r}catch(t){throw zA(t=m3(t),114)?Jb(new My("Can't remove element "+e)):Jb(t)}}function Frt(t,e){var n,r,i;return!((i=t.h-e.h)<0)&&(n=t.l-e.l,!((i+=(r=t.m-e.m+(n>>22))>>22)<0)&&(t.l=n&kSt,t.m=r&kSt,t.h=i&ISt,!0))}function Brt(t,e,n){var r,i;return g6(i=new Am,e),D0(i,n),EK((!t.c&&(t.c=new FF(yre,t,12,10)),t.c),i),t1(r=i,0),e1(r,1),b8(r,!0),w8(r,!0),r}function zrt(t,e){var n;return t.Db>>16==17?t.Cb.dh(t,21,fre,e):(n=wnt(RR($Q(RR(n3(t,16),26)||t.uh(),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function $rt(t){var e,n,r,i,a;for(i=Lxt,a=null,r=new ed(t.d);r.a<r.c.c.length;)(n=RR(xG(r),211)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<i&&(i=e,a=n);return a}function Vrt(){Vrt=S,YVt=new cT(CMt,(_P(),!1)),GVt=new cT(TMt,100),EZ(),UVt=new cT(AMt,XVt=aHt),qVt=new cT(EMt,lMt),KVt=new cT(PMt,k8(Lxt))}function Hrt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw Jb(new Ny("index must be >= 0 and <= layer node count"));t.c&&yZ(t.c.a,t),t.c=n,n&&Tj(n.a,e,t)}function Wrt(t,e,n){var r,i,a,o,s,u;for(u=0,i=0,a=(r=t.a[e]).length;i<a;++i)for(s=l8(r[i],n).Ic();s.Ob();)o=RR(s.Pb(),11),t$(t.f,o,k8(u++))}function Grt(t){var e;return Qot(),hZ(e=RR(Jnt(oF(t.k),hK(oee,VMt,61,2,0,1)),120),0,e.length,null),e[0]==(dwt(),Ote)&&e[1]==Qte&&(nz(e,0,Qte),nz(e,1,Ote)),e}function Urt(t,e,n){var r,i,a;return i=function(t,e,n){var r,i,a,o,s,u,c;for(c=new qx(new sg(t)),o=X3(uw(sWt,1),ZMt,11,0,[e,n]),s=0,u=o.length;s<u;++s)for(a=o[s],P4(c.a,a,(_P(),rFt)),i=new hY(a.b);IA(i.a)||IA(i.b);)(r=RR(IA(i.a)?xG(i.a):xG(i.b),18)).c==r.d||CB(c,a==r.c?r.d:r.c);return wB(c),new jL(c)}(t,e,n),a=qdt(t,i),XK(t.b),_G(t,e,n),mV(),kA(i,new ig(t)),r=qdt(t,i),XK(t.b),_G(t,n,e),new KM(k8(a),k8(r))}function Xrt(){Xrt=S,F0t=jN(new wU,(zot(),bHt),(gxt(),jWt)),B0t=new JD("linearSegments.inputPrio",k8(0)),z0t=new JD("linearSegments.outputPrio",k8(0))}function qrt(){qrt=S,A2t=new aM("P1_TREEIFICATION",0),E2t=new aM("P2_NODE_ORDERING",1),P2t=new aM("P3_NODE_PLACEMENT",2),D2t=new aM("P4_EDGE_ROUTING",3)}function Yrt(t,e){var n,r;n=RR(_ht(e,(TD(),R3t)),34),t.f=n,t.a=Zet(RR(_ht(e,(V5(),v4t)),293)),Mf(t,(wz(r=VD(_ht(e,(fxt(),i7t)))),r)),N5(t,Qdt(n))}function Krt(){Krt=S,K7t=new EM("UNKNOWN",0),X7t=new EM("ABOVE",1),q7t=new EM("BELOW",2),Y7t=new EM("INLINE",3),new JD("org.eclipse.elk.labelSide",K7t)}function Zrt(t,e){var n;if(t.ii()&&null!=e){for(n=0;n<t.i;++n)if(u8(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(DC(t.g[n])===DC(e))return n;return-1}function Qrt(t,e){var n,r,i;for(r=new xF(zE(d9(t).a.Ic(),new p));Qlt(r);)return n=RR(dq(r),18),new Oh(wB((i=RR(e.Kb(n),10)).n.b+i.o.b/2));return zm(),zm(),vjt}function Jrt(t,e){this.c=new Hb,this.a=t,this.b=e,this.d=RR(Bot(t,(dxt(),qqt)),302),DC(Bot(t,(Zwt(),LQt)))===DC((uZ(),sXt))?this.e=new fm:this.e=new hm}function tit(t,e){var n,r;return r=null,t.Ye((fxt(),t7t))&&(n=RR(t.Xe(t7t),94)).Ye(e)&&(r=n.Xe(e)),null==r&&t.wf()&&(r=t.wf().Xe(e)),null==r&&(r=bet(e)),r}function eit(t,e){var n,r,i;for(wz(e),kP(e!=t),i=t.b.c.length,r=e.Ic();r.Ob();)n=r.Pb(),LR(t.b,wz(n));return i!=t.b.c.length&&(S5(t,0),!0)}function nit(t,e,n,r){var i,a,o;for(DW(e,RR(r.Xb(0),29)),o=r._c(1,r.gc()),a=RR(n.Kb(e),19).Ic();a.Ob();)nit(t,(i=RR(a.Pb(),18)).c.i==e?i.d.i:i.c.i,n,o)}function rit(t,e){var n;return t.Db>>16==6?t.Cb.dh(t,6,rne,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(Wwt(),Hee),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function iit(t,e){var n;return t.Db>>16==7?t.Cb.dh(t,1,tne,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(Wwt(),Gee),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function ait(t,e){var n;return t.Db>>16==9?t.Cb.dh(t,9,lne,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(Wwt(),Xee),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function oit(t,e){var n;return t.Db>>16==5?t.Cb.dh(t,9,gre,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(mxt(),Dre),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function sit(t,e){var n;return t.Db>>16==7?t.Cb.dh(t,6,une,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(mxt(),$re),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function uit(t,e){var n;return t.Db>>16==3?t.Cb.dh(t,0,ane,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(mxt(),Ire),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function cit(t,e){var n;return t.Db>>16==3?t.Cb.dh(t,12,lne,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(Wwt(),Vee),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function lit(){this.a=new ou,this.g=new Snt,this.j=new Snt,this.b=new Hb,this.d=new Snt,this.i=new Snt,this.k=new Hb,this.c=new Hb,this.e=new Hb,this.f=new Hb}function hit(t,e){var n,r;if(e){if(e==t)return!0;for(n=0,r=RR(e,48).$g();r&&r!=e;r=r.$g()){if(++n>VSt)return hit(t,r);if(r==t)return!0}}return!1}function fit(t){var e;return 0==(1&t.Bb)&&t.r&&t.r.fh()&&(e=RR(t.r,48),t.r=RR(P6(t,e),138),t.r!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,8,e,t.r))),t.r}function dit(t,e){var n;return NC(t)&&NC(e)&&ESt<(n=t/e)&&n<TSt?n<0?r.Math.ceil(n):r.Math.floor(n):R2($mt(NC(t)?a3(t):t,NC(e)?a3(e):e,!1))}function pit(t,e,n){var i;return i=X3(uw(ooe,1),$St,24,15,[Sot(t,(nJ(),Azt),e,n),Sot(t,Ezt,e,n),Sot(t,Pzt,e,n)]),t.f&&(i[0]=r.Math.max(i[0],i[2]),i[2]=i[0]),i}function git(t,e){var n,r,i;if(i=function(t,e){var n,r,i;for(i=new RY(e.gc()),r=e.Ic();r.Ob();)(n=RR(r.Pb(),285)).c==n.f?uut(t,n,n.c):eut(t,n)||(i.c[i.c.length]=n);return i}(t,e),0!=i.c.length)for(kA(i,new Zn),n=i.c.length,r=0;r<n;r++)uut(t,(TW(r,i.c.length),RR(i.c[r],285)),npt(t,i,r))}function bit(t){var e,n;if(t.k==(vst(),qHt))for(n=new xF(zE(d9(t).a.Ic(),new p));Qlt(n);)if(!Nq(e=RR(dq(n),18))&&t.c==Uit(e,t).c)return!0;return!1}function vit(t,e){var n;return t.Db>>16==11?t.Cb.dh(t,10,lne,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(Wwt(),Uee),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function mit(t,e){var n;return t.Db>>16==10?t.Cb.dh(t,11,fre,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(mxt(),Bre),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function yit(t,e){var n;return t.Db>>16==10?t.Cb.dh(t,12,mre,e):(n=wnt(RR($Q(RR(n3(t,16),26)||(mxt(),Vre),t.Db>>16),17)),t.Cb.dh(t,n.n,n.f,e))}function wit(t,e){var n,r,i,a,o,s;return(o=t.h>>19)!=(s=e.h>>19)?s-o:(r=t.h)!=(a=e.h)?r-a:(n=t.m)!=(i=e.m)?n-i:t.l-e.l}function xit(){xit=S,Cpt(),hzt=new cT(Wkt,fzt=xzt),NQ(),czt=new cT(Gkt,lzt=rzt),yet(),szt=new cT(Ukt,uzt=tzt),ozt=new cT(Xkt,(_P(),!0))}function _it(t,e,n){var r,i;r=e*n,zA(t.g,145)?(i=$U(t)).f.d?i.f.a||(t.d.a+=r+cIt):(t.d.d-=r+cIt,t.d.a+=r+cIt):zA(t.g,10)&&(t.d.d-=r,t.d.a+=2*r)}function Sit(t,e,n){var i,a,o,s,u;for(a=t[n.g],u=new ed(e.d);u.a<u.c.c.length;)(o=(s=RR(xG(u),101)).i)&&o.i==n&&(a[i=s.d[n.g]]=r.Math.max(a[i],o.j.b))}function kit(t){var e,n,i,a;for(a=0,e=0,i=new ed(t.c);i.a<i.c.c.length;)UJ(n=RR(xG(i),34),t.e+a),XJ(n,t.f),a+=n.g+t.b,e=r.Math.max(e,n.f+t.b);t.d=a,t.a=e}function Iit(t){var e,n;if(t.k==(vst(),qHt))for(n=new xF(zE(d9(t).a.Ic(),new p));Qlt(n);)if(!Nq(e=RR(dq(n),18))&&e.c.i.c==e.d.i.c)return!0;return!1}function Mit(t){var e,n,r;if(r=t.b,$_(t.i,r.length)){for(n=2*r.length,t.b=hK(Tjt,C_t,314,n,0,1),t.c=hK(Tjt,C_t,314,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)Sct(t,e,e);++t.g}}function Cit(t){var e,n;return(n=RR(rP(Z4(_$(new lj(null,new ZW(t.j,16)),new ca))),11))&&(e=RR(JN(n.e,0),18))?RR(Bot(e,(dxt(),Dqt)),20).a:Lxt}function Tit(t,e,n){var r;(r=e.c.i).k==(vst(),qHt)?(S4(t,(dxt(),Tqt),RR(Bot(r,Tqt),11)),S4(t,Aqt,RR(Bot(r,Aqt),11))):(S4(t,(dxt(),Tqt),e.c),S4(t,Aqt,n.d))}function Ait(t,e,n){var i,a,o,s,u,c;return tpt(),s=e/2,o=n/2,u=1,c=1,(i=r.Math.abs(t.a))>s&&(u=s/i),(a=r.Math.abs(t.b))>o&&(c=o/a),lE(t,r.Math.min(u,c)),t}function Eit(){ak.call(this),this.e=-1,this.a=!1,this.p=B_t,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=B_t}function Pit(){Pit=S,cHt=Qj(jN(jN(jN(new wU,(zot(),gHt),(gxt(),VWt)),gHt,UWt),bHt,JWt),bHt,EWt),hHt=jN(jN(new wU,gHt,wWt),gHt,PWt),lHt=Qj(new wU,bHt,OWt)}function Dit(t,e){var n,r,i,a;for(a=new Hb,e.e=null,e.f=null,r=new ed(e.i);r.a<r.c.c.length;)n=RR(xG(r),63),i=RR(oz(t.g,n.a),46),n.a=DF(n.b),t$(a,n.a,i);t.g=a}function Oit(t,e,n){var r,i,a,o,s;for(i=(e-t.d)/t.c.c.length,a=0,s=new ed(t.c);s.a<s.c.c.length;)o=RR(xG(s),437),r=t.b-o.b+n,W7(o,o.d+a*i,o.e),znt(o,i,r),++a}function Lit(t){var e;if(t.f.lj(),-1!=t.b){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if((e=t.f.d[t.a])&&0!=e.i)return void(t.b=0);t.b=-1}function Rit(t,e){var n,r,i;for(n=function(t,e){var n,r,i;if(i=0,e.length>0)try{i=Wgt(e,B_t,Lxt)}catch(t){throw zA(t=m3(t),127)?(r=t,Jb(new OZ(r))):Jb(t)}return!t.a&&(t.a=new Lb(t)),n=t.a,i<n.i&&i>=0?RR(sJ(n,i),55):null}(t,0==(i=e.c.length)?"":(TW(0,e.c.length),HD(e.c[0]))),r=1;r<i&&n;++r)n=RR(n,48).jh((TW(r,e.c.length),HD(e.c[r])));return n}function Nit(t,e,n,r){var i,a,o;return a=function(t,e,n,r){var i,a,o,s,u,c,l,h;for(h=new qx(new og(t)),o=X3(uw(ZHt,1),KMt,10,0,[e,n]),s=0,u=o.length;s<u;++s)for(l=l8(o[s],r).Ic();l.Ob();)for(a=new hY((c=RR(l.Pb(),11)).b);IA(a.a)||IA(a.b);)Nq(i=RR(IA(a.a)?xG(a.a):xG(a.b),18))||(P4(h.a,c,(_P(),rFt)),Fz(i)&&CB(h,c==i.c?i.d:i.c));return wB(h),new jL(h)}(t,e,n,r),o=qpt(t,a),Tot(t,e,n,r),XK(t.b),mV(),kA(a,new ag(t)),i=qpt(t,a),Tot(t,n,e,r),XK(t.b),new KM(k8(o),k8(i))}function jit(t){if(t<0)throw Jb(new Ny("The input must be positive"));return t<Q6t.length?WG(Q6t[t]):r.Math.sqrt(FEt*t)*(function(t,e){var n,r,i;for(i=1,n=t,r=e>=0?e:-e;r>0;)r%2==0?(n*=n,r=r/2|0):(i*=n,r-=1);return e<0?1/i:i}(t,t)/G6(2.718281828459045,t))}function Fit(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new nL(rne,t,7,4)),I7(t.e,e,r);case 8:return!t.d&&(t.d=new nL(rne,t,8,5)),I7(t.d,e,r)}return hot(t,e,n,r)}function Bit(t,e,n,r){switch(n){case 7:return!t.e&&(t.e=new nL(rne,t,7,4)),jet(t.e,e,r);case 8:return!t.d&&(t.d=new nL(rne,t,8,5)),jet(t.d,e,r)}return P3(t,e,n,r)}function zit(t){if(-1==t.g)throw Jb(new wv);t.hj();try{t.i.Yc(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}}function $it(t,e,n){var r,i,a;return t.lj(),a=null==e?0:p5(e),t.f>0&&(i=olt(t,(a&Lxt)%t.d.length,a,e))?i.cd(n):(r=t.oj(a,e,n),t.c.Dc(r),null)}function Vit(t,e){var n,r,i,a;switch(r8(t,e).Wk()){case 3:case 2:for(i=0,a=(n=Wvt(e)).i;i<a;++i)if(5==Zz(FZ(t,r=RR(sJ(n,i),32))))return r}return null}function Hit(t){var e,n,r;return A5(t,0)>=0?(n=dit(t,ASt),r=z9(t,ASt)):(n=dit(e=_N(t,1),5e8),r=a8(xN(r=z9(e,5e8),1),SH(t,1))),kH(xN(r,32),SH(n,WSt))}function Wit(t,e){var n,i,a,o;for(o=0,a=RR(RR(Kq(t.r,e),21),81).Ic();a.Ob();)i=RR(a.Pb(),110),o=r.Math.max(o,i.e.a+i.b.pf().a);(n=RR(h$(t.b,e),121)).n.b=0,n.a.a=o}function Git(t,e){var n,i,a,o;for(n=0,o=RR(RR(Kq(t.r,e),21),81).Ic();o.Ob();)a=RR(o.Pb(),110),n=r.Math.max(n,a.e.b+a.b.pf().b);(i=RR(h$(t.b,e),121)).n.d=0,i.a.b=n}function Uit(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw Jb(new Ny("'node' must either be the source node or target node of the edge."))}function Xit(t,e){var n;if(n=!1,RC(e)&&(n=!0,Sz(t,new xB(HD(e)))),n||zA(e,236)&&(n=!0,Sz(t,new cf(LL(RR(e,236))))),!n)throw Jb(new Ty(COt))}function qit(t,e){var n;if(t.ii()&&null!=e){for(n=0;n<t.i;++n)if(u8(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(DC(t.g[n])===DC(e))return!0;return!1}function Yit(t,e){var n,r;for(n=new xF(zE((e?g9(t):p9(t)).a.Ic(),new p));Qlt(n);)if((r=Uit(RR(dq(n),18),t)).k==(vst(),qHt)&&r.c!=t.c)return r;return null}function Kit(t,e,n){var i,a;(i=Y6(e.j,n.s,n.c)+Y6(n.e,e.s,e.c))==(a=Y6(n.j,e.s,e.c)+Y6(e.e,n.s,n.c))?i>0&&(t.b+=2,t.a+=i):(t.b+=1,t.a+=r.Math.min(i,a))}function Zit(t){var e,n;switch(RR(Bot(jz(t),(Zwt(),mQt)),414).g){case 0:return e=t.n,n=t.o,new YM(e.a+n.a/2,e.b+n.b/2);case 1:return new uA(t.n);default:return null}}function Qit(){Qit=S,pXt=new MI(mCt,0),dXt=new MI("LEFTUP",1),bXt=new MI("RIGHTUP",2),fXt=new MI("LEFTDOWN",3),gXt=new MI("RIGHTDOWN",4),hXt=new MI("BALANCED",5)}function Jit(t,e,n){switch(e){case 1:return!t.n&&(t.n=new FF(cne,t,1,7)),Omt(t.n),!t.n&&(t.n=new FF(cne,t,1,7)),void QB(t.n,RR(n,15));case 2:return void B1(t,HD(n))}h5(t,e,n)}function tat(t,e,n){switch(e){case 3:return void WJ(t,Dy(VD(n)));case 4:return void GJ(t,Dy(VD(n)));case 5:return void UJ(t,Dy(VD(n)));case 6:return void XJ(t,Dy(VD(n)))}Jit(t,e,n)}function eat(t,e,n){var r,i;(r=dot(i=new Am,e,null))&&r.Ai(),D0(i,n),EK((!t.c&&(t.c=new FF(yre,t,12,10)),t.c),i),t1(i,0),e1(i,1),b8(i,!0),w8(i,!0)}function nat(t,e){var n,r;return zA(n=lk(t.g,e),234)?((r=RR(n,234)).Lh(),r.Ih()):zA(n,490)?r=RR(n,1910).b:null}function rat(t,e,n,r){var i,a;return wB(e),wB(n),_Z(!!(a=RR(OL(t.d,e),20)),"Row %s not in %s",e,t.e),_Z(!!(i=RR(OL(t.b,n),20)),"Column %s not in %s",n,t.c),U3(t,a.a,i.a,r)}function iat(t,e,n,r,i,a,o){var s,u,c,l,h;if(h=drt(s=(c=a==o-1)?r:0,l=i[a]),10!=r&&X3(uw(t,o-a),e[a],n[a],s,h),!c)for(++a,u=0;u<l;++u)h[u]=iat(t,e,n,r,i,a,o);return h}function aat(t,e){this.e=t,B_(SH(e,-4294967296),0)?(this.d=1,this.a=X3(uw(noe,1),uSt,24,15,[QN(e)])):(this.d=2,this.a=X3(uw(noe,1),uSt,24,15,[QN(e),QN(wN(e,32))]))}function oat(t,e){t.d=RR(_ht(e,(TD(),R3t)),34),t.c=Dy(VD(_ht(e,(V5(),b4t)))),t.e=Zet(RR(_ht(e,v4t),293)),t.a=function(t){switch(t.g){case 0:return new Vo;case 1:return new Ho;default:throw Jb(new Ny(WEt+(null!=t.f?t.f:""+t.g)))}}(RR(_ht(e,y4t),420)),t.b=function(t){switch(t.g){case 1:return new No;case 2:return new jo;case 3:return new Ro;case 0:return null;default:throw Jb(new Ny(WEt+(null!=t.f?t.f:""+t.g)))}}(RR(_ht(e,d4t),337)),function(t){var e,n,r,i,a;if(r=0,i=ZIt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,Rgt(t,t.d,0,0,FEt,n),(a=t.b.dg(t.d))<i&&(r=n,i=a);Rgt(t,t.d,0,0,FEt,r)}(t)}function sat(t,e){return t.b.a=r.Math.min(t.b.a,e.c),t.b.b=r.Math.min(t.b.b,e.d),t.a.a=r.Math.max(t.a.a,e.c),t.a.b=r.Math.max(t.a.b,e.d),t.c[t.c.length]=e,!0}function uat(t){var e,n,r;for(r=-1,n=0,e=new ed(t);e.a<e.c.c.length;){if(RR(xG(e),242).c==(M1(),R1t)){r=0==n?0:n-1;break}n==t.c.length-1&&(r=n),n+=1}return r}function cat(t){var e,n,r;for(n=new ed(t.a.b);n.a<n.c.c.length;)r=(e=RR(xG(n),56)).d.c,e.d.c=e.d.d,e.d.d=r,r=e.d.b,e.d.b=e.d.a,e.d.a=r,r=e.b.a,e.b.a=e.b.b,e.b.b=r;Nft(t)}function lat(t){var e,n,r;for(n=new ed(t.a.b);n.a<n.c.c.length;)r=(e=RR(xG(n),79)).g.c,e.g.c=e.g.d,e.g.d=r,r=e.g.b,e.g.b=e.g.a,e.g.a=r,r=e.e.a,e.e.a=e.e.b,e.e.b=r;jft(t)}function hat(t,e){var n,i;for(yZ(t.b,e),i=new ed(t.n);i.a<i.c.c.length;)if(-1!=mZ((n=RR(xG(i),209)).c,e,0)){yZ(n.c,e),kit(n),0==n.c.c.length&&yZ(t.n,n);break}!function(t){var e,n,i,a,o,s,u;for(n=0,e=0,u=new sS,s=new ed(t.n);s.a<s.c.c.length;)0==(o=RR(xG(s),209)).c.c.length?jX(u,o,u.c.b,u.c):(n=r.Math.max(n,o.d),e+=o.a);for(function(t,e){var n,r;for(wz(e),n=!1,r=new ed(t);r.a<r.c.c.length;)u7(e,xG(r),!1)&&(tB(r),n=!0)}(t.n,u),t.d=e,t.r=n,t.g=0,t.f=0,t.e=0,t.o=RSt,t.p=RSt,a=new ed(t.b);a.a<a.c.c.length;)i=RR(xG(a),34),t.p=r.Math.min(t.p,i.g+t.i),t.g=r.Math.max(t.g,i.g+t.i),t.f=r.Math.max(t.f,i.f+t.i),t.o=r.Math.min(t.o,i.f+t.i),t.e+=i.f+t.i;t.a=t.e/t.b.c.length,Z7(t.j)}(t)}function fat(t){var e,n;return DU(n=sft(t))?null:(wB(n),e=RR(Rnt(new xF(zE(n.a.Ic(),new p))),80),Yat(RR(sJ((!e.b&&(e.b=new nL(nne,e,4,7)),e.b),0),93)))}function dat(t){return t.o||(t.Gj()?t.o=new Az(t,t,null):t.mk()?t.o=new SO(t,null):1==Zz(FZ((yut(),Sie),t))?t.o=new TX(t):t.o=new kO(t,null)),t.o}function pat(t,e,n,r){var i,a,o,s,u;n.hh(e)&&(i=(o=e)?RR(r,48).sh(o):null)&&(u=n.Xg(e),(s=e.t)>1||-1==s?(a=RR(u,14),i.Wb(function(t,e){var n,r,i;for(r=new RY(e.gc()),n=e.Ic();n.Ob();)(i=Hgt(t,RR(n.Pb(),55)))&&(r.c[r.c.length]=i);return r}(t,a))):i.Wb(Hgt(t,RR(u,55))))}function gat(t){switch(RR(Bot(t.b,(Zwt(),iQt)),373).g){case 1:uS(S$(oQ(new lj(null,new ZW(t.d,16)),new $i),new Vi),new Ui);break;case 2:!function(t){var e,n,r,i,a,o,s;for(r=0,s=0,o=new ed(t.d);o.a<o.c.c.length;)a=RR(xG(o),101),i=RR(NX(_$(new lj(null,new ZW(a.j,16)),new Yi),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14),n=null,r<=s?(dwt(),n=Ote,r+=i.gc()):s<r&&(dwt(),n=Kte,s+=i.gc()),e=n,uS(S$(i.Mc(),new Xi),new $p(e))}(t);break;case 0:!function(t){var e,n,r,i;for(kA(i=new jL(t.d),new Gi),Jdt(),e=X3(uw(vUt,1),P_t,269,0,[cUt,fUt,uUt,gUt,hUt,lUt,pUt,dUt]),n=0,r=new ed(i);r.a<r.c.c.length;)xlt(RR(xG(r),101),e[n%e.length]),++n}(t)}}function bat(){bat=S,C8t=new kM("V_TOP",0),M8t=new kM("V_CENTER",1),I8t=new kM("V_BOTTOM",2),S8t=new kM("H_LEFT",3),_8t=new kM("H_CENTER",4),k8t=new kM("H_RIGHT",5)}function vat(t){var e;return 0!=(64&t.Db)?f7(t):((e=new qE(f7(t))).a+=" (abstract: ",Vx(e,0!=(256&t.Bb)),e.a+=", interface: ",Vx(e,0!=(512&t.Bb)),e.a+=")",e.a)}function mat(t,e){var n,i,a,o,s;for(s=t.e,a=0,o=0,i=new ed(t.a);i.a<i.c.c.length;)bnt(n=RR(xG(i),181),t.d,s),gvt(n,e,!0),o=r.Math.max(o,n.r),a=s+=n.d;t.c=o,t.b=a}function yat(t,e){var n;e!=t.b?(n=null,t.b&&(n=hH(t.b,t,-4,n)),e&&(n=Ret(e,t,-4,n)),(n=L6(t,e,n))&&n.Ai()):0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,3,e,e))}function wat(t,e){var n;e!=t.f?(n=null,t.f&&(n=hH(t.f,t,-1,n)),e&&(n=Ret(e,t,-1,n)),(n=R6(t,e,n))&&n.Ai()):0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,0,e,e))}function xat(t){var e,n,r;if(null==t)return null;if((n=RR(t,14)).dc())return"";for(r=new fw,e=n.Ic();e.Ob();)HC(r,(Kmt(),HD(e.Pb()))),r.a+=" ";return vT(r,r.a.length-1)}function _at(t){var e,n,r;if(null==t)return null;if((n=RR(t,14)).dc())return"";for(r=new fw,e=n.Ic();e.Ob();)HC(r,(Kmt(),HD(e.Pb()))),r.a+=" ";return vT(r,r.a.length-1)}function Sat(t,e,n){var r,i,a;return r=e.Xj(),a=e.bd(),i=r.Vj()?lH(t,3,r,null,a,xvt(t,r,a,zA(r,97)&&0!=(RR(r,17).Bb&BSt)),!0):lH(t,1,r,r.uj(),a,-1,!0),n?n.zi(i):n=i,n}function kat(t){var e,n;return e=RR(dq(new xF(zE(p9(t.a).a.Ic(),new p))),18),n=RR(dq(new xF(zE(g9(t.a).a.Ic(),new p))),18),Ay($D(Bot(e,(dxt(),Uqt))))||Ay($D(Bot(n,Uqt)))}function Iat(){Iat=S,XGt=new gI("ONE_SIDE",0),YGt=new gI("TWO_SIDES_CORNER",1),KGt=new gI("TWO_SIDES_OPPOSING",2),qGt=new gI("THREE_SIDES",3),UGt=new gI("FOUR_SIDES",4)}function Mat(t,e,n,r,i){var a,o;a=RR(NX(_$(e.Mc(),new Ni),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14),o=RR(O2(t.b,n,r),14),0==i?o.Uc(0,a):o.Ec(a)}function Cat(t,e){var n,r,i;for(r=new ed(e.a);r.a<r.c.c.length;)for(n=new xF(zE(p9(RR(xG(r),10)).a.Ic(),new p));Qlt(n);)i=RR(dq(n),18).c.i.p,t.n[i]=t.n[i]-1}function Tat(t,e){return!!e&&(!t.yi(e)&&(t.i?t.i.zi(e):zA(e,142)?(t.i=RR(e,142),!0):(t.i=new lu,t.i.zi(e))))}function Aat(t,e,n){var r,i,a;for(i=t.tc().Ic();i.Ob();)if(a=(r=RR(i.Pb(),43)).ad(),DC(e)===DC(a)||null!=e&&u8(e,a))return n&&(r=new sk(r.ad(),r.bd()),i.Qb()),r;return null}function Eat(t,e,n,i){var a,o,s;for(s=r.Math.min(n,nvt(RR(t.b,63),e,n,i)),o=new ed(t.a);o.a<o.c.c.length;)(a=RR(xG(o),219))!=e&&(s=r.Math.min(s,Eat(a,e,s,i)));return s}function Pat(t){var e,n,r;for(r=hK(ZHt,u_t,213,t.b.c.length,0,2),n=new tU(t.b,0);n.b<n.d.gc();)MP(n.b<n.d.gc()),e=RR(n.d.Xb(n.c=n.b++),29),r[n.b-1]=bU(e.a);return r}function Dat(t,e,n,r,i){var a,o,s,u;for(o=function(t,e){return t.e=e,t}(Cw(VL(function(t){switch(t.g){case 1:return f3(),_$t;case 3:return f3(),y$t;case 2:return f3(),x$t;case 4:return f3(),w$t;default:return null}}(n)),r),function(t,e,n){var r,i;switch(i=t.o,r=t.d,e.g){case 1:return-r.d-n;case 3:return i.b+r.a+n;case 2:return i.a+r.c+n;case 4:return-r.b-n;default:return 0}}(t,n,i)),u=Fst(t,n).Ic();u.Ob();)e[(s=RR(u.Pb(),11)).p]&&(a=e[s.p].i,LR(o.d,new Vj(a,V8(o,a))));h7(o)}function Oat(t,e){this.f=new Hb,this.b=new Hb,this.j=new Hb,this.a=t,this.c=e,this.c>0&&Wrt(this,this.c-1,(dwt(),Dte)),this.c<this.a.length-1&&Wrt(this,this.c+1,(dwt(),Qte))}function Lat(t){t.length>0&&t[0].length>0&&(this.c=Ay($D(Bot(jz(t[0][0]),(dxt(),kqt))))),this.a=hK(y0t,u_t,1987,t.length,0,2),this.b=hK(w0t,u_t,1988,t.length,0,2),this.d=new l6}function Rat(t){return 0!=t.c.length&&((TW(0,t.c.length),RR(t.c[0],18)).c.i.k==(vst(),qHt)||xq(S$(new lj(null,new ZW(t,16)),new Ta),new Aa))}function Nat(t,e,n){return qat(n,"Tree layout",1),dU(t.b),dB(t.b,(qrt(),A2t),A2t),dB(t.b,E2t,E2t),dB(t.b,P2t,P2t),dB(t.b,D2t,D2t),t.a=Vmt(t.b,e),function(t,e,n){var r,i,a;if(!(i=n)&&(i=new Xm),qat(i,"Layout",t.a.c.length),Ay($D(Bot(e,(_st(),g3t)))))for(Q_(),r=0;r<t.a.c.length;r++)(r<10?"0":"")+r++,Fx(g5(RR(JN(t.a,r),52)));for(a=new ed(t.a);a.a<a.c.c.length;)RR(xG(a),52).nf(e,o2(i,1));Sst(i)}(t,e,o2(n,1)),Sst(n),e}function jat(t,e){var n,i,a,o,s,u;for(s=Qdt(e),a=e.f,u=e.g,o=r.Math.sqrt(a*a+u*u),i=0,n=new ed(s);n.a<n.c.c.length;)i+=jat(t,RR(xG(n),34));return r.Math.max(i,o)}function Fat(){Fat=S,_te=new OM(uIt,0),xte=new OM("FREE",1),wte=new OM("FIXED_SIDE",2),vte=new OM("FIXED_ORDER",3),yte=new OM("FIXED_RATIO",4),mte=new OM("FIXED_POS",5)}function Bat(t){var e,n,r,i;if(null==t)return Hxt;for(i=new c3(Fxt,"[","]"),n=0,r=(e=t).length;n<r;++n)oY(i,""+e[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function zat(t){var e,n,r,i;if(null==t)return Hxt;for(i=new c3(Fxt,"[","]"),n=0,r=(e=t).length;n<r;++n)oY(i,""+e[n]);return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function $at(t){var e,n,r;for(r=new c3(Fxt,"{","}"),n=t.tc().Ic();n.Ob();)oY(r,eX(t,(e=RR(n.Pb(),43)).ad())+"="+eX(t,e.bd()));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Vat(t,e){var n,r,i;for(n=null,i=RR(e.Kb(t),19).Ic();i.Ob();)if(r=RR(i.Pb(),18),n){if((r.c.i==t?r.d.i:r.c.i)!=n)return!1}else n=r.c.i==t?r.d.i:r.c.i;return!0}function Hat(t,e){var n,i;i=function(t){var e,n;n=null,e=RR(JN(t.g,0),18);do{if(ZP(n=e.d.i,(dxt(),Aqt)))return RR(Bot(n,Aqt),11).i;if(n.k!=(vst(),YHt)&&Qlt(new xF(zE(g9(n).a.Ic(),new p))))e=RR(dq(new xF(zE(g9(n).a.Ic(),new p))),18);else if(n.k!=YHt)return null}while(n&&n.k!=(vst(),YHt));return n}(e),S4(e,(dxt(),Eqt),i),i&&(n=Lxt,rH(t.f,i)&&(n=RR(PC(rH(t.f,i)),20).a),t$(t,i,k8(r.Math.min(RR(Bot(RR(JN(e.g,0),18),Dqt),20).a,n))))}function Wat(t,e){var n,r,i;for(r=new ed(Aft(t,!1,e));r.a<r.c.c.length;)0==(n=RR(xG(r),129)).d?(LW(n,null),RW(n,null)):(i=n.a,LW(n,n.b),RW(n,i))}function Gat(t,e,n){var r,i;if(0==t.j)return n;if(i=RR(vJ(t,0,n),71),!(r=n.Xj()).Dj()||!t.a.ml(r))throw Jb(new sy("Invalid entry feature '"+r.Cj().zb+"."+r.ne()+"'"));return i}function Uat(t){var e,n,r,i;for(function(t){var e,n,r;if((n=RR(Bot(t,(Zwt(),_Qt)),165))==(H9(),nYt)){for(e=new xF(zE(p9(t).a.Ic(),new p));Qlt(e);)if(!Hq(RR(dq(e),18)))throw Jb(new Xy(vCt+Art(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==iYt)for(r=new xF(zE(g9(t).a.Ic(),new p));Qlt(r);)if(!Hq(RR(dq(r),18)))throw Jb(new Xy(vCt+Art(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}(t),n=new xF(zE(d9(t).a.Ic(),new p));Qlt(n);)i=(r=(e=RR(dq(n),18)).c.i==t)?e.d:e.c,r?EW(e,null):PW(e,null),S4(e,(dxt(),jqt),i),Ult(t,i.i)}function Xat(t,e,n,r){var i,a;switch(i=n[(a=e.i).g][t.d[a.g]],a.g){case 1:i-=r+e.j.b,e.g.b=i;break;case 3:i+=r,e.g.b=i;break;case 4:i-=r+e.j.a,e.g.a=i;break;case 2:i+=r,e.g.a=i}}function qat(t,e,n){if(t.b)throw Jb(new jy("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(Q_(),o8(C2(Date.now()),L_t))),!0)}function Yat(t){if(zA(t,238))return RR(t,34);if(zA(t,199))return VH(RR(t,122));throw Jb(t?new zy("Only support nodes and ports."):new By($Ot))}function Kat(t,e,n){var r;switch(MP(0!=e.b),r=RR(uJ(e,e.a.a),8),n.g){case 0:r.b=0;break;case 2:r.b=t.f;break;case 3:r.a=0;break;default:r.a=t.g}return MB(het(e,0),r),e}function Zat(t,e,n,r){var i,a,o,s,u;switch(u=t.b,s=aet(o=(a=e.d).j,u.d[o.g],n),i=zO(LA(a.n),a.a),a.j.g){case 1:case 3:s.a+=i.a;break;case 2:case 4:s.b+=i.b}jX(r,s,r.c.b,r.c)}function Qat(t,e,n){var r,i,a,o;for(o=mZ(t.e,e,0),(a=new Jv).b=n,r=new tU(t.e,o);r.b<r.d.gc();)MP(r.b<r.d.gc()),(i=RR(r.d.Xb(r.c=r.b++),10)).p=n,LR(a.e,i),n$(r);return a}function Jat(){var t,e,n,r;for(Jat=S,pBt=hK(ooe,$St,24,25,15,1),gBt=hK(ooe,$St,24,33,15,1),r=152587890625e-16,e=32;e>=0;e--)gBt[e]=r,r*=.5;for(n=1,t=24;t>=0;t--)pBt[t]=n,n*=.5}function tot(t){var e,n;if(Ay($D(_ht(t,(Zwt(),gQt)))))for(n=new xF(zE(uft(t).a.Ic(),new p));Qlt(n);)if(Jct(e=RR(dq(n),80))&&Ay($D(_ht(e,bQt))))return!0;return!1}function eot(t,e){var n,r,i;cB(t.f,e)&&(e.b=t,r=e.c,-1!=mZ(t.j,r,0)||LR(t.j,r),i=e.d,-1!=mZ(t.j,i,0)||LR(t.j,i),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new iet(t)),function(t,e){var n,r;for(r=new ed(e);r.a<r.c.c.length;)n=RR(xG(r),69),LR(t.d,n),Zot(t,n)}(t.i,n)))}function not(t){var e,n,r,i;return(n=(e=t.c.d).j)==(i=(r=t.d.d).j)?e.p<r.p?0:1:$8(n)==i?0:B8(n)==i?1:oP(t.b.b,$8(n))?0:1}function rot(){rot=S,t1t=new OI(sEt,0),QJt=new OI("LONGEST_PATH",1),KJt=new OI("COFFMAN_GRAHAM",2),ZJt=new OI(DCt,3),e1t=new OI("STRETCH_WIDTH",4),JJt=new OI("MIN_WIDTH",5)}function iot(t){var e;this.d=new Hb,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new bj(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new GL(e=RR(Rx(Ane),9),RR(wO(e,e.length),9),0)}function aot(){aot=S,Tte=new LM("OUTSIDE",0),Mte=new LM("INSIDE",1),Cte=new LM("NEXT_TO_PORT_IF_POSSIBLE",2),Ite=new LM("ALWAYS_SAME_SIDE",3),Ate=new LM("SPACE_EFFICIENT",4)}function oot(t,e){var n,r,i,a;!(i=TU(r=t,"layoutOptions"))&&(i=TU(r,lOt)),i&&(n=null,(a=i)&&(n=new j_(a,u0(a,hK(MFt,u_t,2,0,6,1)))),n&&yq(n,new aC(a,e)))}function sot(t){var e;return e=new cy,null!=t.og()&&KR(e,TOt,t.og()),null!=t.ne()&&KR(e,zOt,t.ne()),null!=t.ng()&&KR(e,"description",t.ng()),e}function uot(t,e,n){var r,i,a;return a=t.q,t.q=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new NF(t,1,9,a,e),n?n.zi(i):n=i),e?(r=e.c)!=t.r&&(n=t.ik(r,n)):t.r&&(n=t.ik(null,n)),n}function cot(t,e){var n,r,i,a;for(a=new Vb,i=0,r=e.Ic();r.Ob();){for(n=k8(RR(r.Pb(),20).a+i);n.a<t.f&&!uj(t,n.a);)n=k8(n.a+1),++i;if(n.a>=t.f)break;a.c[a.c.length]=n}return a}function lot(t){var e,n,r,i;for(e=null,i=new ed(t.uf());i.a<i.c.c.length;)n=new j$((r=RR(xG(i),183)).of().a,r.of().b,r.pf().a,r.pf().b),e?mut(e,n):e=n;return!e&&(e=new YT),e}function hot(t,e,n,r){return 1==n?(!t.n&&(t.n=new FF(cne,t,1,7)),I7(t.n,e,r)):RR($Q(RR(n3(t,16),26)||t.uh(),n),65).Ij().Lj(t,Ett(t),n-HB(t.uh()),e,r)}function fot(t,e,n){var r,i,a,o,s;for(r=n.gc(),t.li(t.i+r),(s=t.i-e)>0&&Yvt(t.g,e,t.g,e+r,s),o=n.Ic(),t.i+=r,i=0;i<r;++i)a=o.Pb(),hE(t,e,t.ji(e,a)),t.Yh(e,a),t.Zh(),++e;return 0!=r}function dot(t,e,n){var r;return e!=t.q?(t.q&&(n=hH(t.q,t,-10,n)),e&&(n=Ret(e,t,-10,n)),n=uot(t,e,n)):0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,9,e,e),n?n.zi(r):n=r),n}function pot(t,e,n,r){return xL(0==(n&c_t),"flatMap does not support SUBSIZED characteristic"),xL(0==(4&n),"flatMap does not support SORTED characteristic"),wB(t),wB(e),new YU(t,n,r,e)}function got(t,e){CF(e,"Cannot suppress a null exception."),zL(e!=t,"Exception can not suppress itself."),t.i||(null==t.k?t.k=X3(uw(Njt,1),u_t,78,0,[e]):t.k[t.k.length]=e)}function bot(t,e,n,r){var i,a,o,s,u,c;for(o=n.length,a=0,i=-1,c=mQ(t.substr(e),(BL(),cBt)),s=0;s<o;++s)(u=n[s].length)>a&&YF(c,mQ(n[s],cBt))&&(i=s,a=u);return i>=0&&(r[0]=e+a),i}function vot(t,e,n){qat(n,"Grow Tree",1),t.b=e.f,Ay($D(Bot(e,(H2(),R$t))))?(t.c=new te,NW(t,null)):t.c=new te,t.a=!1,Qft(t,e.f),S4(e,N$t,(_P(),!!t.a)),Sst(n)}function mot(t){var e,n;return t>=BSt?(e=zSt+(t-BSt>>10&1023)&Y_t,n=56320+(t-BSt&1023)&Y_t,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&Y_t)}function yot(t,e,n,r,i){var a,o,s;for(a=Wdt(t,e,n,r,i),s=!1;!a;)Lht(t,i,!0),s=!0,a=Wdt(t,e,n,r,i);s&&Lht(t,i,!1),0!=(o=Z3(i)).c.length&&(t.d&&t.d.gg(o),yot(t,i,n,r,o))}function wot(){wot=S,P7t=new TM(mCt,0),A7t=new TM("DIRECTED",1),D7t=new TM("UNDIRECTED",2),C7t=new TM("ASSOCIATION",3),E7t=new TM("GENERALIZATION",4),T7t=new TM("DEPENDENCY",5)}function xot(t,e,n,r){var i;if(i=!1,RC(r)&&(i=!0,KR(e,n,HD(r))),i||OC(r)&&(i=!0,xot(t,e,n,r)),i||zA(r,236)&&(i=!0,xV(e,n,RR(r,236))),!i)throw Jb(new Ty(COt))}function _ot(t,e){var n,r;for(wz(e),r=t.b.c.length,LR(t.b,e);r>0;){if(n=r,r=(r-1)/2|0,t.a.ue(JN(t.b,r),e)<=0)return bq(t.b,n,e),!0;bq(t.b,n,JN(t.b,r))}return bq(t.b,r,e),!0}function Sot(t,e,n,i){var a,o;if(a=0,n)a=r6(t.a[n.g][e.g],i);else for(o=0;o<Fzt;o++)a=r.Math.max(a,r6(t.a[o][e.g],i));return e==(nJ(),Ezt)&&t.b&&(a=r.Math.max(a,t.b.a)),a}function kot(t,e){var n,r,i,a,o;return r=t.i,i=e.i,!(!r||!i)&&(r.i==i.i&&r.i!=(dwt(),Dte)&&r.i!=(dwt(),Qte)&&(n=(a=r.g.a)+r.j.a,a<=(o=i.g.a)+i.j.a&&n>=o))}function Iot(t,e){var n,r,i,a;if(wz(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Ic();n.Ob();)r=n.Pb(),e.Fc(r)&&n.Qb();else for(i=e.Ic();i.Ob();)r=i.Pb(),t.a.zc(r);return a!=t.a.gc()}function Mot(t){var e,n;switch(n=LA($4(X3(uw(t8t,1),u_t,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function Cot(t){var e;for(j0(),e=RR(dq(new xF(zE(p9(t).a.Ic(),new p))),18).c.i;e.k==(vst(),qHt);)S4(e,(dxt(),Mqt),(_P(),!0)),e=RR(dq(new xF(zE(p9(e).a.Ic(),new p))),18).c.i}function Tot(t,e,n,r){var i,a,o;for(o=l8(e,r).Ic();o.Ob();)i=RR(o.Pb(),11),t.d[i.p]=t.d[i.p]+t.c[n.p];for(a=l8(n,r).Ic();a.Ob();)i=RR(a.Pb(),11),t.d[i.p]=t.d[i.p]-t.c[e.p]}function Aot(t,e,n){var r,i;for(i=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));i.e!=i.i.gc();)VT(r=RR(Htt(i),34),r.i+e,r.j+n);yq((!t.b&&(t.b=new FF(rne,t,12,3)),t.b),new VM(e,n))}function Eot(t,e,n){var r,i,a;if(++t.j,e>=(i=t.Qi())||e<0)throw Jb(new My(WOt+e+GOt+i));if(n>=i||n<0)throw Jb(new My(UOt+n+GOt+i));return e!=n?(a=t.Oi(n),t.Ci(e,a),r=a):r=t.Ji(n),r}function Pot(t,e){zA(IH((QS(),pre),t),490)?mW(pre,t,new wC(this,e)):mW(pre,t,this),pst(this,e),e==(Ix(),Sre)?(this.wb=RR(this,1911),RR(e,1913)):this.wb=(VB(),kre)}function Dot(t){if(1!=(!t.b&&(t.b=new nL(nne,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new nL(nne,t,5,8)),t.c).i)throw Jb(new Ny(VOt));return Yat(RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93))}function Oot(t){if(1!=(!t.b&&(t.b=new nL(nne,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new nL(nne,t,5,8)),t.c).i)throw Jb(new Ny(VOt));return v3(RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93))}function Lot(t){if(1!=(!t.b&&(t.b=new nL(nne,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new nL(nne,t,5,8)),t.c).i)throw Jb(new Ny(VOt));return v3(RR(sJ((!t.c&&(t.c=new nL(nne,t,5,8)),t.c),0),93))}function Rot(t){if(1!=(!t.b&&(t.b=new nL(nne,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new nL(nne,t,5,8)),t.c).i)throw Jb(new Ny(VOt));return Yat(RR(sJ((!t.c&&(t.c=new nL(nne,t,5,8)),t.c),0),93))}function Not(t){var e,n,r;if(r=t,t)for(e=0,n=t.Pg();n;n=n.Pg()){if(++e>VSt)return Not(n);if(r=n,n==t)throw Jb(new jy("There is a cycle in the containment hierarchy of "+t))}return r}function jot(){jot=S,nBt=X3(uw(MFt,1),u_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),rBt=X3(uw(MFt,1),u_t,2,6,["Jan","Feb","Mar","Apr",tSt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Fot(t){var e,n;(e=hL(typeof e,pkt)?null:new ct)&&(nS(),900,uz(n=900>=L_t?"error":"warn",t.a),t.b&&Xft(e,n,t.b,"Exception: ",!0))}function Bot(t,e){var n,r;return!t.q&&(t.q=new Hb),null!=(r=oz(t.q,e))?r:(zA(n=e.rg(),4)&&(null==n?(!t.q&&(t.q=new Hb),sY(t.q,e)):(!t.q&&(t.q=new Hb),t$(t.q,e,n))),n)}function zot(){zot=S,fHt=new $k("P1_CYCLE_BREAKING",0),dHt=new $k("P2_LAYERING",1),pHt=new $k("P3_NODE_ORDERING",2),gHt=new $k("P4_NODE_PLACEMENT",3),bHt=new $k("P5_EDGE_ROUTING",4)}function $ot(t,e){var n,r,i,a;for(r=(1==e?SHt:_Ht).a.ec().Ic();r.Ob();)for(n=RR(r.Pb(),108),a=RR(Kq(t.f.c,n),21).Ic();a.Ob();)i=RR(a.Pb(),46),yZ(t.b.b,i.b),yZ(t.b.a,RR(i.b,79).d)}function Vot(t,e){var n;if(BQ(),t.c==e.c){if(t.b==e.b||function(t,e){return p4(),t==CHt&&e==EHt||t==EHt&&e==CHt||t==AHt&&e==THt||t==THt&&e==AHt}(t.b,e.b)){if(n=function(t){return t==CHt||t==EHt}(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return TA(t.b.g,e.b.g)}return j8(t.c,e.c)}function Hot(t,e){var n,r;if(Xot(t,e))return!0;for(r=new ed(e);r.a<r.c.c.length;){if(bpt(t,n=RR(xG(r),34),fat(n)))return!0;if(w6(t,n)-t.g<=t.a)return!0}return!1}function Wot(){Wot=S,Npt(),q5t=h6t,G5t=s6t,W5t=a6t,V5t=e6t,H5t=r6t,$5t=new sA(8),z5t=new lA((fxt(),y9t),$5t),U5t=new lA(i7t,8),X5t=c6t,j5t=K5t,F5t=Q5t,B5t=new lA(B8t,(_P(),!1))}function Got(){Got=S,m8t=new sA(15),v8t=new lA((fxt(),y9t),m8t),w8t=new lA(i7t,15),y8t=new lA(H9t,k8(0)),f8t=Y8t,p8t=h9t,b8t=b9t,c8t=new lA(D8t,KPt),d8t=e9t,g8t=p9t,l8t=L8t,h8t=j8t}function Uot(t){var e,n,r;for(r=new c3(Fxt,"[","]"),n=t.Ic();n.Ob();)oY(r,DC(e=n.Pb())===DC(t)?"(this Collection)":null==e?Hxt:P9(e));return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Xot(t,e){var n,r;if(r=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?r|=bpt(t,RR(e.Xb(n),34),RR(e.Xb(n+1),34)):r|=bpt(t,RR(e.Xb(n),34),RR(e.Xb(0),34));return r}function qot(t,e){var n;e!=t.a?(n=null,t.a&&(n=RR(t.a,48).dh(t,4,une,n)),e&&(n=RR(e,48).ah(t,4,une,n)),(n=D6(t,e,n))&&n.Ai()):0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,1,e,e))}function Yot(t,e){var n;e!=t.e?(t.e&&SY(Qz(t.e),t),e&&(!e.b&&(e.b=new Db(new Pm)),UO(e.b,t)),n=function(t,e,n){var r,i;return i=t.e,t.e=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new NF(t,1,4,i,e),n?n.zi(r):n=r),i!=e&&(n=Lyt(t,e?hft(t,e):t.a,n)),n}(t,e,null),n&&n.Ai()):0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,4,e,e))}function Kot(t){var e,n,r;for(n=t.length,r=0;r<n&&(AW(r,t.length),t.charCodeAt(r)<=32);)++r;for(e=n;e>r&&(AW(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return r>0||e<n?t.substr(r,e-r):t}function Zot(t,e){var n;n=e.o,RT(t.f)?(t.j.a=r.Math.max(t.j.a,n.a),t.j.b+=n.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=n.a,t.j.b=r.Math.max(t.j.b,n.b),t.d.c.length>1&&(t.j.a+=t.e))}function Qot(){Qot=S,JGt=X3(uw(oee,1),VMt,61,0,[(dwt(),Ote),Dte,Kte]),QGt=X3(uw(oee,1),VMt,61,0,[Dte,Kte,Qte]),tUt=X3(uw(oee,1),VMt,61,0,[Kte,Qte,Ote]),eUt=X3(uw(oee,1),VMt,61,0,[Qte,Ote,Dte])}function Jot(t,e,n,r){var i,a,o,s,u;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(u=t.b,i=a.j,s=null;i!=o.j;)s=0==e?$8(i):B8(i),vN(r,zO(aet(i,u.d[i.g],n),aet(s,u.d[s.g],n))),i=s}function tst(t,e,n,r){var i,a,o,s,u;return s=RR((o=Urt(t.a,e,n)).a,20).a,a=RR(o.b,20).a,r&&(u=RR(Bot(e,(dxt(),$qt)),10),i=RR(Bot(n,$qt),10),u&&i&&(hX(t.b,u,i),s+=t.b.i,a+=t.b.e)),s>a}function est(t){var e,n,r,i,a,o,s,u;for(this.a=Qet(t),this.b=new Vb,r=0,i=(n=t).length;r<i;++r)for(e=n[r],a=new Vb,LR(this.b,a),s=0,u=(o=e).length;s<u;++s)LR(a,new jL(o[s].j))}function nst(t,e,n){var i,a,o;return o=0,i=n[e],e<n.length-1&&(a=n[e+1],t.b[e]?(o=function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P,D,O,L,R,N,j,F,B,z,$,V,H,W,G,U,X,q,Y,K,Z,Q,J,tt,et,nt,rt,it,at,ot,st;for(Q=0,O=0,N=(E=e).length;O<N;++O)for(W=new ed((T=E[O]).j);W.a<W.c.c.length;){for(U=0,u=new ed((H=RR(xG(W),11)).g);u.a<u.c.c.length;)s=RR(xG(u),18),T.c!=s.d.i.c&&++U;U>0&&(t.a[H.p]=Q++)}for(rt=0,L=0,j=(P=n).length;L<j;++L){for(F=0,W=new ed((T=P[L]).j);W.a<W.c.c.length&&(H=RR(xG(W),11)).j==(dwt(),Ote);)for(u=new ed(H.e);u.a<u.c.c.length;)if(s=RR(xG(u),18),T.c!=s.c.i.c){++F;break}for(z=0,X=new tU(T.j,T.j.c.length);X.b>0;){for(MP(X.b>0),U=0,u=new ed((H=RR(X.a.Xb(X.c=--X.b),11)).e);u.a<u.c.c.length;)s=RR(xG(u),18),T.c!=s.c.i.c&&++U;U>0&&(H.j==(dwt(),Ote)?(t.a[H.p]=rt,++rt):(t.a[H.p]=rt+F+z,++z))}rt+=z}for(G=new Hb,g=new XT,D=0,R=(A=e).length;D<R;++D)for(et=new ed((T=A[D]).j);et.a<et.c.c.length;)for(u=new ed((tt=RR(xG(et),11)).g);u.a<u.c.c.length;)if(at=(s=RR(xG(u),18)).d,T.c!=at.i.c)if(J=RR(PC(rH(G.f,tt)),461),it=RR(PC(rH(G.f,at)),461),J||it)if(J)if(it)if(J==it)LR(J.a,s);else{for(LR(J.a,s),V=new ed(it.d);V.a<V.c.c.length;)$=RR(xG(V),11),ect(G.f,$,J);R3(J.a,it.a),R3(J.d,it.d),g.a.zc(it)}else LR(J.a,s),LR(J.d,at),ect(G.f,at,J);else LR(it.a,s),LR(it.d,tt),ect(G.f,tt,it);else p=new RO,g.a.xc(p,g),LR(p.a,s),LR(p.d,tt),ect(G.f,tt,p),LR(p.d,at),ect(G.f,at,p);for(b=RR(Jnt(g,hK(P0t,{3:1,4:1,5:1,1918:1},461,g.a.gc(),0,1)),1918),C=e[0].c,Z=n[0].c,f=0,d=(h=b).length;f<d;++f)for((l=h[f]).e=Q,l.f=rt,W=new ed(l.d);W.a<W.c.c.length;)H=RR(xG(W),11),q=t.a[H.p],H.i.c==C?(q<l.e&&(l.e=q),q>l.b&&(l.b=q)):H.i.c==Z&&(q<l.f&&(l.f=q),q>l.c&&(l.c=q));for(hZ(b,0,b.length,null),nt=hK(noe,uSt,24,b.length,15,1),i=hK(noe,uSt,24,rt+1,15,1),m=0;m<b.length;m++)nt[m]=b[m].f,i[nt[m]]=1;for(o=0,y=0;y<i.length;y++)1==i[y]?i[y]=o:--o;for(Y=0,w=0;w<nt.length;w++)nt[w]+=i[nt[w]],Y=r.Math.max(Y,nt[w]+1);c=1;for(;c<Y;)c*=2;for(st=2*c-1,c-=1,ot=hK(noe,uSt,24,st,15,1),a=0,I=0;I<nt.length;I++)for(++ot[k=nt[I]+c];k>0;)k%2>0&&(a+=ot[k+1]),++ot[k=(k-1)/2|0];for(M=hK(L0t,zxt,359,2*b.length,0,1),x=0;x<b.length;x++)M[2*x]=new O$(b[x],b[x].e,b[x].b,(KU(),O0t)),M[2*x+1]=new O$(b[x],b[x].b,b[x].e,D0t);for(hZ(M,0,M.length,null),B=0,_=0;_<M.length;_++)switch(M[_].d.g){case 0:++B;break;case 1:a+=--B}for(K=hK(L0t,zxt,359,2*b.length,0,1),S=0;S<b.length;S++)K[2*S]=new O$(b[S],b[S].f,b[S].c,(KU(),O0t)),K[2*S+1]=new O$(b[S],b[S].c,b[S].f,D0t);for(hZ(K,0,K.length,null),B=0,v=0;v<K.length;v++)switch(K[v].d.g){case 0:++B;break;case 1:a+=--B}return a}(t.d,i,a),o+=fz(t.a,i,(dwt(),Dte)),o+=fz(t.a,a,Qte)):o=function(t,e,n){var r;return r=z4(t,e,n),t.b=new P0(r.c.length),qdt(t,r)}(t.a,i,a)),t.c[e]&&(o+=bY(t.a,i)),o}function rst(t,e,n,r,i){var a,o,s,u;for(u=null,s=new ed(r);s.a<s.c.c.length;)if((o=RR(xG(s),435))!=n&&-1!=mZ(o.e,i,0)){u=o;break}PW(a=Vq(i),n.b),EW(a,u.b),Kct(t.a,i,new ZL(a,e,n.f))}function ist(t){for(;0!=t.g.c&&0!=t.d.c;)XD(t.g).c>XD(t.d).c?(t.i+=t.g.c,H7(t.d)):XD(t.d).c>XD(t.g).c?(t.e+=t.d.c,H7(t.g)):(t.i+=rj(t.g),t.e+=rj(t.d),H7(t.g),H7(t.d))}function ast(t,e,n,i){t.a.d=r.Math.min(e,n),t.a.a=r.Math.max(e,i)-t.a.d,e<n?(t.b=.5*(e+n),t.g=SEt*t.b+.9*e,t.f=SEt*t.b+.9*n):(t.b=.5*(e+i),t.g=SEt*t.b+.9*i,t.f=SEt*t.b+.9*e)}function ost(t){var e,n,i,a;if(NT(RR(Bot(t.b,(Zwt(),qZt)),108)))return 0;for(e=0,i=new ed(t.a);i.a<i.c.c.length;)(n=RR(xG(i),10)).k==(vst(),YHt)&&(a=n.o.a,e=r.Math.max(e,a));return e}function sst(t){switch(RR(Bot(t,(Zwt(),_Qt)),165).g){case 1:S4(t,_Qt,(H9(),rYt));break;case 2:S4(t,_Qt,(H9(),iYt));break;case 3:S4(t,_Qt,(H9(),eYt));break;case 4:S4(t,_Qt,(H9(),nYt))}}function ust(){ust=S,SXt=new CI(mCt,0),wXt=new CI(rIt,1),kXt=new CI(iIt,2),_Xt=new CI("LEFT_RIGHT_CONSTRAINT_LOCKING",3),xXt=new CI("LEFT_RIGHT_CONNECTION_LOCKING",4),yXt=new CI(LCt,5)}function cst(t,e,n){var i,a,o,s,u,c,l;u=n.a/2,o=n.b/2,c=1,l=1,(i=r.Math.abs(e.a-t.a))>u&&(c=u/i),(a=r.Math.abs(e.b-t.b))>o&&(l=o/a),s=r.Math.min(c,l),t.a+=s*(e.a-t.a),t.b+=s*(e.b-t.b)}function lst(t,e,n,r,i){var a,o;for(o=!1,a=RR(JN(n.b,0),34);mvt(t,e,a,r,i)&&(o=!0,hat(n,a),0!=n.b.c.length);)a=RR(JN(n.b,0),34);return 0==n.b.c.length&&Mtt(n.j,n),o&&L7(e.q),o}function hst(t,e){if(t<0||e<0)throw Jb(new Ny("k and n must be positive"));if(e>t)throw Jb(new Ny("k must be smaller than n"));return 0==e||e==t?1:0==t?0:jit(t)/(jit(e)*jit(t-e))}function fst(t,e){var n,r,i,a;if(tpt(),e.b<2)return!1;for(r=n=RR(zU(a=het(e,0)),8);a.b!=a.d.c;){if(Dft(t,r,i=RR(zU(a),8)))return!0;r=i}return!!Dft(t,r,n)}function dst(t,e,n,r){return 0==n?(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),EL(t.o,e,r)):RR($Q(RR(n3(t,16),26)||t.uh(),n),65).Ij().Mj(t,Ett(t),n-HB(t.uh()),e,r)}function pst(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=RR(t.sb,48).dh(t,1,one,n)),e&&(n=RR(e,48).ah(t,1,one,n)),(n=Q6(t,e,n))&&n.Ai()):0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,4,e,e))}function gst(t){if(null==aFt&&(aFt=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!aFt.test(t))throw Jb(new hw(LSt+t+'"'));return parseFloat(t)}function bst(t,e){var n,r;r=RR(Bot(e,(Zwt(),nJt)),100),S4(e,(dxt(),Fqt),r),(n=e.e)&&(uS(new lj(null,new ZW(n.a,16)),new Xd(t)),uS(oQ(new lj(null,new ZW(n.b,16)),new de),new qd(t)))}function vst(){vst=S,YHt=new Zk("NORMAL",0),qHt=new Zk("LONG_EDGE",1),UHt=new Zk("EXTERNAL_PORT",2),KHt=new Zk("NORTH_SOUTH_PORT",3),XHt=new Zk("LABEL",4),GHt=new Zk("BREAKING_POINT",5)}function mst(t,e,n){var r;qat(n,"Self-Loop routing",1),r=function(t){switch(RR(Bot(t,(Zwt(),eQt)),216).g){case 1:return new Ji;case 3:return new ia;default:return new Qi}}(e),XC(Bot(e,(AY(),Z6t))),uS(S$(_$(_$(oQ(new lj(null,new ZW(e.b,16)),new $r),new Vr),new Hr),new Wr),new tI(t,r)),Sst(n)}function yst(t){var e,n,r,i,a,o;for(e=new FX,i=0,a=(r=t).length;i<a;++i)if(null!=set(e,o=wB((n=r[i]).ad()),wB(n.bd())))throw Jb(new Ny("duplicate key: "+o));this.b=(mV(),new nd(e))}function wst(t,e){var n,r,i;return(e&=63)<22?(n=t.l<<e,r=t.m<<e|t.l>>22-e,i=t.h<<e|t.m>>22-e):e<44?(n=0,r=t.l<<e-22,i=t.m<<e-22|t.l>>44-e):(n=0,r=0,i=t.l<<e-44),AA(n&kSt,r&kSt,i&ISt)}function xst(){xst=S,tXt=new kI("ALWAYS_UP",0),JUt=new kI("ALWAYS_DOWN",1),nXt=new kI("DIRECTION_UP",2),eXt=new kI("DIRECTION_DOWN",3),iXt=new kI("SMART_UP",4),rXt=new kI("SMART_DOWN",5)}function _st(){_st=S,v3t=new sA(20),b3t=new lA((fxt(),y9t),v3t),x3t=new lA(i7t,20),p3t=new lA(D8t,dMt),m3t=new lA(H9t,k8(1)),w3t=new lA(X9t,(_P(),!0)),g3t=B8t,B2(),_3t=f3t,y3t=l3t}function Sst(t){var e;if(null==t.p)throw Jb(new jy("The task has not begun yet."));t.b||(t.k&&(Q_(),e=o8(C2(Date.now()),L_t),t.q=1e-9*WG(s8(e,t.o))),t.c<t.r&&K1(t,t.r-t.c),t.b=!0)}function kst(t,e){var n,r,i,a;for(n=new KT(t);null!=n.g||n.c?null==n.g||0!=n.i&&RR(n.g[n.i-1],49).Ob():QH(n);)if(zA(a=RR(rft(n),55),160))for(r=RR(a,160),i=0;i<e.length;i++)e[i].jg(r)}function Ist(t){var e;return 0!=(64&t.Db)?f9(t):((e=new qE(f9(t))).a+=" (height: ",zx(e,t.f),e.a+=", width: ",zx(e,t.g),e.a+=", x: ",zx(e,t.i),e.a+=", y: ",zx(e,t.j),e.a+=")",e.a)}function Mst(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],oY(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function Cst(){Cst=S,jQ(),pVt=new cT(oMt,gVt=_Vt),k8(1),dVt=new cT(sMt,k8(300)),k8(0),mVt=new cT(uMt,k8(0)),new zb,yVt=new cT(cMt,lMt),new zb,bVt=new cT(hMt,5),wVt=_Vt,vVt=xVt}function Tst(t,e){var n,r,i,a;for(r=(1==e?SHt:_Ht).a.ec().Ic();r.Ob();)for(n=RR(r.Pb(),108),a=RR(Kq(t.f.c,n),21).Ic();a.Ob();)i=RR(a.Pb(),46),LR(t.b.b,RR(i.b,79)),LR(t.b.a,RR(i.b,79).d)}function Ast(t){var e,n;return n=r.Math.sqrt((null==t.k&&(t.k=X0(t,new ya)),Dy(t.k)/(t.b*(null==t.g&&(t.g=U0(t,new ma)),Dy(t.g))))),e=QN(C2(r.Math.round(n))),e=r.Math.min(e,t.f)}function Est(t,e,n){var r,i;for(i=new tU(t.b,0);i.b<i.d.gc();)MP(i.b<i.d.gc()),DC(Bot(r=RR(i.d.Xb(i.c=i.b++),69),(dxt(),Nqt)))===DC(e)&&(wut(r.n,jz(t.c.i),n),n$(i),LR(e.b,r))}function Pst(t,e){var n;if(DC(t)===DC(e))return!0;if(zA(e,21)){n=RR(e,21);try{return t.gc()==n.gc()&&t.Gc(n)}catch(t){if(zA(t=m3(t),173)||zA(t,203))return!1;throw Jb(t)}}return!1}function Dst(){f2(),CO.call(this),this.j=(dwt(),Zte),this.a=new fx,new um,this.f=(k1(2,E_t),new RY(2)),this.e=(k1(4,E_t),new RY(4)),this.g=(k1(4,E_t),new RY(4)),this.b=new qk(this.e,this.g)}function Ost(t,e){var n;return!Ay($D(Bot(e,(dxt(),Uqt))))&&(n=e.c.i,(t!=(H9(),eYt)||n.k!=(vst(),XHt))&&RR(Bot(n,(Zwt(),_Qt)),165)!=nYt)}function Lst(t,e){var n;return!Ay($D(Bot(e,(dxt(),Uqt))))&&(n=e.d.i,(t!=(H9(),rYt)||n.k!=(vst(),XHt))&&RR(Bot(n,(Zwt(),_Qt)),165)!=iYt)}function Rst(t,e){if(e.a)switch(RR(Bot(e.b,(dxt(),Fqt)),100).g){case 0:case 1:gat(e);case 2:uS(new lj(null,new ZW(e.d,16)),new Ar),function(t,e){var n;(function(t){var e,n,r,i,a,o,s,u;for(t.b=new plt(new $y((dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte]))),new $y((_0(),X3(uw(sUt,1),P_t,358,0,[aUt,iUt,rUt])))),o=X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte]),s=0,u=o.length;s<u;++s)for(a=o[s],r=0,i=(n=X3(uw(sUt,1),P_t,358,0,[aUt,iUt,rUt])).length;r<i;++r)e=n[r],rat(t.b,a,e,new Vb)})(t),t.a=(n=new Jy,uS(new lj(null,new ZW(e.d,16)),new zp(n)),n),function(t,e){var n,r,i,a,o;for(i=RR(Kq(t.a,(Iat(),XGt)),14).Ic();i.Ob();)switch(r=RR(i.Pb(),101),n=RR(JN(r.j,0),112).d.j,kA(a=new jL(r.j),new Ri),e.g){case 1:Mat(t,a,n,(_0(),iUt),1);break;case 0:Mat(t,new KW(a,0,o=_ft(a)),n,(_0(),iUt),0),Mat(t,new KW(a,o,a.c.length),n,iUt,1)}}(t,RR(Bot(e.b,(Zwt(),aQt)),374)),function(t){var e,n,r;for(r=RR(Kq(t.a,(Iat(),YGt)),14).Ic();r.Ob();)RB(t,n=RR(r.Pb(),101),(e=Grt(n))[0],(_0(),rUt),0),RB(t,n,e[1],aUt,1)}(t),function(t){var e,n,r,i;for(i=RR(Kq(t.a,(Iat(),qGt)),14).Ic();i.Ob();)RB(t,r=RR(i.Pb(),101),(n=(e=oF(r.k)).Fc((dwt(),Ote))?e.Fc(Dte)?e.Fc(Kte)?e.Fc(Qte)?null:JGt:eUt:tUt:QGt)[0],(_0(),rUt),0),RB(t,r,n[1],iUt,1),RB(t,r,n[2],aUt,1)}(t),function(t){var e,n,r;for(r=RR(Kq(t.a,(Iat(),UGt)),14).Ic();r.Ob();)for(e=oF((n=RR(r.Pb(),101)).k).Ic();e.Ob();)RB(t,n,RR(e.Pb(),61),(_0(),iUt),1)}(t),function(t){var e,n,r;for(r=RR(Kq(t.a,(Iat(),KGt)),14).Ic();r.Ob();)RB(t,n=RR(r.Pb(),101),(e=Grt(n))[0],(_0(),rUt),0),RB(t,n,e[1],aUt,1)}(t),function(t,e){var n,r,i,a;n=e.b,a=new jL(n.j),i=0,(r=n.j).c=hK(gjt,zxt,1,0,5,1),AB(RR(O2(t.b,(dwt(),Ote),(_0(),aUt)),14),n),i=yrt(a,i,new ji,r),AB(RR(O2(t.b,Ote,iUt),14),n),i=yrt(a,i,new Ei,r),AB(RR(O2(t.b,Ote,rUt),14),n),AB(RR(O2(t.b,Dte,aUt),14),n),AB(RR(O2(t.b,Dte,iUt),14),n),i=yrt(a,i,new Fi,r),AB(RR(O2(t.b,Dte,rUt),14),n),AB(RR(O2(t.b,Kte,aUt),14),n),i=yrt(a,i,new Bi,r),AB(RR(O2(t.b,Kte,iUt),14),n),i=yrt(a,i,new zi,r),AB(RR(O2(t.b,Kte,rUt),14),n),AB(RR(O2(t.b,Qte,aUt),14),n),i=yrt(a,i,new Oi,r),AB(RR(O2(t.b,Qte,iUt),14),n),AB(RR(O2(t.b,Qte,rUt),14),n)}(t,e),uS(oQ(new lj(null,ZG(function(t){return t.i||(t.i=new Bh(t))}(t.b).a)),new Pi),new Di),e.a=!1,t.a=null}(t.a,e)}else uS(new lj(null,new ZW(e.d,16)),new Ar)}function Nst(t){switch(t.g){case 0:return new wy((T1(),S0t));case 1:return new ih;default:throw Jb(new Ny("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function jst(){jst=S,E5t=new gM("CENTER_DISTANCE",0),P5t=new gM("CIRCLE_UNDERLAP",1),L5t=new gM("RECTANGLE_UNDERLAP",2),D5t=new gM("INVERTED_OVERLAP",3),O5t=new gM("MINIMUM_ROOT_DISTANCE",4)}function Fst(t,e){switch(e.g){case 1:return SR(t.j,(f2(),rWt));case 2:return SR(t.j,(f2(),eWt));case 3:return SR(t.j,(f2(),aWt));case 4:return SR(t.j,(f2(),oWt));default:return mV(),mV(),YFt}}function Bst(t,e){var n,r,i;n=function(t,e){return e==(dwt(),Qte)?t.c:t.d}(e,t.e),r=RR(oz(t.g.f,n),20).a,i=t.a.c.length-1,0!=t.a.c.length&&RR(JN(t.a,i),286).c==r?(++RR(JN(t.a,i),286).a,++RR(JN(t.a,i),286).b):LR(t.a,new KP(r))}function zst(t,e,n){var r,i,a,o;if(0!=e.b){for(r=new sS,o=het(e,0);o.b!=o.d.c;)W0(r,K3(a=RR(zU(o),83))),(i=a.e).a=RR(Bot(a,(qmt(),u3t)),20).a,i.b=RR(Bot(a,c3t),20).a;zst(t,r,o2(n,r.b/t.a|0))}}function $st(t,e){var n,r,i,a,o;if(t.e<=e)return t.g;if(function(t,e,n){var r;return(r=gvt(t,e,!1)).b<=e&&r.a<=n}(t,t.g,e))return t.g;for(a=t.r,r=t.g,o=t.r,i=(a-r)/2+r;r+1<a;)(n=gvt(t,i,!1)).b<=i&&n.a<=e?(o=i,a=i):r=i,i=(a-r)/2+r;return o}function Vst(t,e,n,r,i){if(r<e||i<n)throw Jb(new Ny("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>r&&(t.a=r),t.b<n?t.b=n:t.b>i&&(t.b=i),t}function Hst(t){var e,n,r;for(vN(r=new vm,new YM(t.j,t.k)),n=new SE((!t.a&&(t.a=new fE(Jee,t,5)),t.a));n.e!=n.i.gc();)vN(r,new YM((e=RR(Htt(n),463)).a,e.b));return vN(r,new YM(t.b,t.c)),r}function Wst(t){if(zA(t,149))return function(t){var e,n,r,i,a,o,s,u;u=sot(t),e=t.a,null!=e&&KR(u,"category",t.a),i=r_(new Ff(t.d)),!i&&(pQ(u,"knownOptions",o=new df),n=new fb(o),yq(new Ff(t.d),n));a=r_(t.g),!a&&(pQ(u,"supportedFeatures",s=new df),r=new db(s),yq(t.g,r));return u}(RR(t,149));if(zA(t,227))return function(t){var e,n,r;return r=sot(t),!r_(t.c)&&(pQ(r,"knownLayouters",n=new df),e=new pb(n),yq(t.c,e)),r}(RR(t,227));if(zA(t,23))return function(t){var e,n,r;return r=sot(t),null!=t.e&&KR(r,BOt,t.e),!!t.k&&KR(r,"type",JP(t.k)),!r_(t.j)&&(n=new df,pQ(r,yOt,n),e=new gb(n),yq(t.j,e)),r}(RR(t,23));throw Jb(new Ny(EOt+Uot(new $y(X3(uw(gjt,1),zxt,1,5,[t])))))}function Gst(t,e){var n;LR(t.d,e),n=e.pf(),t.c?(t.e.a=r.Math.max(t.e.a,n.a),t.e.b+=n.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=n.a,t.e.b=r.Math.max(t.e.b,n.b),t.d.c.length>1&&(t.e.a+=t.a))}function Ust(t){var e,n,r,i;switch(e=(i=t.i).b,r=i.j,n=i.g,i.a.g){case 0:n.a=(t.g.b.o.a-r.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-r.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function Xst(t,e,n,r){var i;this.b=r,this.e=t==(T1(),k0t),i=e[n],this.d=FN(roe,[u_t,Zkt],[177,24],16,[i.length,i.length],2),this.a=FN(noe,[u_t,uSt],[47,24],15,[i.length,i.length],2),this.c=new Oat(e,n)}function qst(t,e,n,r){var i,a;if(e.k==(vst(),qHt))for(a=new xF(zE(p9(e).a.Ic(),new p));Qlt(a);)if((i=RR(dq(a),18)).c.i.k==qHt&&t.c.a[i.c.i.c.p]==r&&t.c.a[e.c.p]==n)return!0;return!1}function Yst(t){var e,n;return RR(_ht(t,(fxt(),h9t)),21).Fc((ott(),see))?(n=RR(_ht(t,b9t),21),e=RR(_ht(t,p9t),8),n.Fc((Vgt(),pee))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new fx}function Kst(t){var e,n,r;for(t.k=new JW((dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length,t.j.c.length),r=new ed(t.j);r.a<r.c.c.length;)e=(n=RR(xG(r),112)).d.j,Kct(t.k,e,n);t.e=function(t){var e,n;if(Iat(),t.Fc((dwt(),Zte)))throw Jb(new Ny("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return XGt;case 2:return e=t.Fc(Dte)&&t.Fc(Qte),n=t.Fc(Ote)&&t.Fc(Kte),e||n?KGt:YGt;case 3:return qGt;case 4:return UGt;default:return null}}(oF(t.k))}function Zst(t){switch(t.g){case 0:return new Wj;case 1:return new Zl;case 2:return new Ql;default:throw Jb(new Ny("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function Qst(t,e){var n,r,i;cB(t.d,e),n=new fo,t$(t.c,e,n),n.f=c8(e.c),n.a=c8(e.d),n.d=(bdt(),(i=e.c.i.k)==(vst(),YHt)||i==GHt),n.e=(r=e.d.i.k)==YHt||r==GHt,n.b=e.c.j==(dwt(),Qte),n.c=e.d.j==Dte}function Jst(t,e){var n,r,i,a;for(r=0,i=t.length;r<i;r++){a=t[r];try{a[1]?a[0].em()&&(e=Pj(e,a)):a[0].em()}catch(t){if(!zA(t=m3(t),78))throw Jb(t);n=t,Nw(),PV(zA(n,471)?RR(n,471).ae():n)}}return e}function tut(t){var e,n,r,i,a;for(a=Lxt,i=Lxt,r=new ed(E9(t));r.a<r.c.c.length;)e=(n=RR(xG(r),211)).e.e-n.d.e,n.e==t&&e<i?i=e:e<a&&(a=e);return i==Lxt&&(i=-1),a==Lxt&&(a=-1),new KM(k8(i),k8(a))}function eut(t,e){var n,r,i;for(n=e.a.o.a,i=new Nf(new KW(jz(e.a).b,e.c,e.f+1));i.b<i.d.gc();)if(MP(i.b<i.d.gc()),(r=RR(i.d.Xb(i.c=i.b++),29)).c.a>=n)return uut(t,e,r.p),!0;return!1}function nut(t,e,n){var r,i,a,o,s;for(s=sdt(t.e.Og(),e),i=RR(t.g,118),r=0,o=0;o<t.i;++o)if(a=i[o],s.ml(a.Xj())){if(r==n)return Kdt(t,o),ek(),RR(e,65).Jj()?a:a.bd();++r}throw Jb(new My(zLt+n+GOt+r))}function rut(t,e,n){var r,i,a,o,s,u;for(u=sdt(t.e.Og(),e),r=0,s=t.i,i=RR(t.g,118),o=0;o<t.i;++o)if(a=i[o],u.ml(a.Xj())){if(n==r)return o;++r,s=o+1}if(n==r)return s;throw Jb(new My(zLt+n+GOt+r))}function iut(t,e){var n,r,i;if(r=$Q(t.Og(),e),(n=e-t.vh())<0){if(!r)throw Jb(new Ny(qDt+e+YDt));if(!r.Dj())throw Jb(new Ny(WDt+r.ne()+GDt));(i=t.Tg(r))>=0?t.wh(i):_ct(t,r)}else t8(t,n,r)}function aut(t){var e;return 0!=(64&t.Db)?Ist(t):(e=new YE(BDt),!t.a||UC(UC((e.a+=' "',e),t.a),'"'),UC(Hx(UC(Hx(UC(Hx(UC(Hx((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function out(t){var e,n,r;if(2==(e=t.c)||7==e||1==e)return bxt(),bxt(),Dae;for(r=Gwt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(bxt(),bxt(),Tmt(n=new SA(1),r),r=n),Tmt(n,Gwt(t));return r}function sut(t,e,n){var r,i,a,o;for(qat(n,"ELK Force",1),function(t){var e,n;(e=RR(Bot(t,(fdt(),OVt)),20))?(n=e.a,S4(t,(y0(),WVt),0==n?new y9:new jU(n))):S4(t,(y0(),WVt),new jU(1))}(o=_4(e)),function(t,e){switch(e.g){case 0:zA(t.b,621)||(t.b=new F2);break;case 1:zA(t.b,622)||(t.b=new dN)}}(t,RR(Bot(o,(fdt(),TVt)),418)),i=(a=Xbt(t.a,o)).Ic();i.Ob();)r=RR(i.Pb(),229),Igt(t.b,r,o2(n,1/a.gc()));gwt(o=Iwt(a)),Sst(n)}function uut(t,e,n){var i,a;for(n!=e.c+e.b.gc()&&function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I;for(w=t.c,x=e.c,n=mZ(w.a,t,0),r=mZ(x.a,e,0),m=RR(v7(t,(M1(),R1t)).Ic().Pb(),11),k=RR(v7(t,N1t).Ic().Pb(),11),y=RR(v7(e,R1t).Ic().Pb(),11),I=RR(v7(e,N1t).Ic().Pb(),11),b=gU(m.e),_=gU(k.g),v=gU(y.e),S=gU(I.g),Hrt(t,r,x),c=0,d=(a=v).length;c<d;++c)EW(a[c],m);for(l=0,p=(o=S).length;l<p;++l)PW(o[l],k);for(Hrt(e,n,w),h=0,g=(s=b).length;h<g;++h)EW(s[h],y);for(u=0,f=(i=_).length;u<f;++u)PW(i[u],I)}(e.a,function(t,e){return e<t.b.gc()?RR(t.b.Xb(e),10):e==t.b.gc()?t.a:RR(JN(t.e,e-t.b.gc()-1),10)}(e,n-e.c)),a=e.a.c.p,t.a[a]=r.Math.max(t.a[a],e.a.o.a),i=RR(Bot(e.a,(dxt(),Gqt)),14).Ic();i.Ob();)S4(RR(i.Pb(),69),SGt,(_P(),!0))}function cut(t,e,n){var r,i,a,o;for(e.p=-1,o=v7(e,(M1(),N1t)).Ic();o.Ob();)for(i=new ed(RR(o.Pb(),11).g);i.a<i.c.c.length;)e!=(a=(r=RR(xG(i),18)).d.i)&&(a.p<0?n.Dc(r):a.p>0&&cut(t,a,n));e.p=0}function lut(t){var e;this.c=new sS,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=new GL(e=RR(Rx(Y6t),9),RR(wO(e,e.length),9),0),this.g=t.f}function hut(t){var e,n;if(n=null,e=!1,zA(t,202)&&(e=!0,n=RR(t,202).a),e||zA(t,257)&&(e=!0,n=""+RR(t,257).a),e||zA(t,477)&&(e=!0,n=""+RR(t,477).a),!e)throw Jb(new Ty(COt));return n}function fut(t,e,n){var r,i,a;if(!(n<=e+2))for(i=(n-e)/2|0,r=0;r<i;++r)TW(e+r,t.c.length),a=RR(t.c[e+r],11),bq(t,e+r,(TW(n-r-1,t.c.length),RR(t.c[n-r-1],11))),TW(n-r-1,t.c.length),t.c[n-r-1]=a}function dut(t){var e;this.j=new Vb,this.f=new Pv,this.b=new GL(e=RR(Rx(oee),9),RR(wO(e,e.length),9),0),this.d=hK(noe,uSt,24,(dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length,15,1),this.g=t}function put(t,e){var n,r,i;if(0!=e.c.length){for(n=Hot(t,e),i=!1;!n;)Lht(t,e,!0),i=!0,n=Hot(t,e);i&&Lht(t,e,!1),r=Z3(e),t.b&&t.b.gg(r),t.a=w6(t,(TW(0,e.c.length),RR(e.c[0],34))),put(t,r)}}function gut(t,e){var n,r;if(t.f){for(;e.Ob();)if(zA(r=(n=RR(e.Pb(),71)).Xj(),97)&&0!=(RR(r,17).Bb&KDt)&&(!t.e||r.Bj()!=Qee||0!=r.Xi())&&null!=n.bd())return e.Ub(),!0;return!1}return e.Ob()}function but(t,e){var n,r;if(t.f){for(;e.Sb();)if(zA(r=(n=RR(e.Ub(),71)).Xj(),97)&&0!=(RR(r,17).Bb&KDt)&&(!t.e||r.Bj()!=Qee||0!=r.Xi())&&null!=n.bd())return e.Pb(),!0;return!1}return e.Sb()}function vut(){vut=S,q6t=new _M(uIt,0),$6t=new _M("BOOLEAN",1),G6t=new _M("INT",2),X6t=new _M("STRING",3),V6t=new _M("DOUBLE",4),H6t=new _M("ENUM",5),W6t=new _M("ENUMSET",6),U6t=new _M("OBJECT",7)}function mut(t,e){var n,i,a,o,s;i=r.Math.min(t.c,e.c),o=r.Math.min(t.d,e.d),(a=r.Math.max(t.c+t.b,e.c+e.b))<i&&(n=i,i=a,a=n),(s=r.Math.max(t.d+t.a,e.d+e.a))<o&&(n=o,o=s,s=n),HR(t,i,o,a-i,s-o)}function yut(){yut=S,_ie=X3(uw(MFt,1),u_t,2,6,[JRt,tNt,eNt,nNt,rNt,iNt,BOt]),xie=X3(uw(MFt,1),u_t,2,6,[JRt,"empty",tNt,SRt,"elementOnly"]),kie=X3(uw(MFt,1),u_t,2,6,[JRt,"preserve","replace",aNt]),Sie=new rN}function wut(t,e,n){var r,i,a;if(e!=n){r=e;do{zO(t,r.c),(i=r.e)&&(nD(t,(a=r.d).b,a.d),zO(t,i.n),r=jz(i))}while(i);r=n;do{$O(t,r.c),(i=r.e)&&(rD(t,(a=r.d).b,a.d),$O(t,i.n),r=jz(i))}while(i)}}function xut(t,e,n,r){var i,a,o,s,u;if(r.f.c+r.g.c==0)for(s=0,u=(o=t.a[t.c]).length;s<u;++s)t$(r,a=o[s],new I2(t,a,n));return(i=RR(PC(rH(r.f,e)),651)).b=0,i.c=i.f,0==i.c||Lf(RR(JN(i.a,i.b),286)),i}function _ut(){_ut=S,xUt=new vI("MEDIAN_LAYER",0),SUt=new vI("TAIL_LAYER",1),wUt=new vI("HEAD_LAYER",2),_Ut=new vI("SPACE_EFFICIENT_LAYER",3),kUt=new vI("WIDEST_LAYER",4),yUt=new vI("CENTER_LAYER",5)}function Sut(t,e){if(zA(e,238))return function(t,e){return CJ(cz(t.g),e)}(t,RR(e,34));if(zA(e,199))return function(t,e){return CJ(cz(t.j),e)}(t,RR(e,122));if(zA(e,432))return function(t,e){return CJ(cz(t.d),e)}(t,RR(e,201));throw Jb(new Ny(EOt+Uot(new $y(X3(uw(gjt,1),zxt,1,5,[e])))))}function kut(t,e){var n;return 0!=t.c.length&&(n=T7((TW(0,t.c.length),RR(t.c[0],18)).c.i),kW(),n==(int(),i1t)||n==r1t||xq(S$(new lj(null,new ZW(t,16)),new Ea),new fg(e)))}function Iut(t,e,n){var r,i,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(r=n)&&(r=new PY),vN(r.b,e),a=t.a[e.g].Ic();a.Ob();)(i=RR(a.Pb(),188)).b!=e&&Iut(t,i.b,r),i.c!=e&&Iut(t,i.c,r),vN(r.a,i);return r}return null}function Mut(){Mut=S,V2t=new oM("ROOT_PROC",0),F2t=new oM("FAN_PROC",1),z2t=new oM("NEIGHBORS_PROC",2),B2t=new oM("LEVEL_HEIGHT",3),$2t=new oM("NODE_POSITION_PROC",4),j2t=new oM("DETREEIFYING_PROC",5)}function Cut(t,e,n){var r,i;if(this.f=t,zq(n,i=(r=RR(oz(t.b,e),282))?r.a:0),n>=(i/2|0))for(this.e=r?r.c:null,this.d=i;n++<i;)fW(this);else for(this.c=r?r.b:null;n-- >0;)hW(this);this.b=e,this.a=null}function Tut(t,e){var n,r;e.a?function(t,e){var n;if(!CB(t.b,e.b))throw Jb(new jy("Invalid hitboxes for scanline constraint calculation."));(F3(e.b,RR(function(t,e){return Nx(Y7(t.a,e,!0))}(t.b,e.b),56))||F3(e.b,RR(function(t,e){return Nx(q7(t.a,e,!0))}(t.b,e.b),56)))&&(Q_(),e.b),t.a[e.b.f]=RR(dL(t.b,e.b),56),(n=RR(fL(t.b,e.b),56))&&(t.a[n.f]=e.b)}(t,e):(!!(n=RR(dL(t.b,e.b),56))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Dc(e.b),!!(r=RR(fL(t.b,e.b),56))&&t.a[r.f]==e.b&&!!r.a&&r.a!=e.b.a&&e.b.c.Dc(r),sP(t.b,e.b))}function Aut(t,e){var n,r;if(n=RR(h$(t.b,e),121),RR(RR(Kq(t.r,e),21),81).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.B.b,n.n.c=t.B.c,t.w.Fc((ott(),lee))&&vpt(t,e),r=function(t,e){var n,r,i;for(i=0,r=RR(RR(Kq(t.r,e),21),81).Ic();r.Ob();)i+=(n=RR(r.Pb(),110)).d.b+n.b.pf().a+n.d.c,r.Ob()&&(i+=t.v);return i}(t,e),ipt(t,e)==(get(),fte)&&(r+=2*t.v),n.a.a=r}function Eut(t,e){var n,r;if(n=RR(h$(t.b,e),121),RR(RR(Kq(t.r,e),21),81).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.B.d,n.n.a=t.B.a,t.w.Fc((ott(),lee))&&mpt(t,e),r=function(t,e){var n,r,i;for(i=0,r=RR(RR(Kq(t.r,e),21),81).Ic();r.Ob();)i+=(n=RR(r.Pb(),110)).d.d+n.b.pf().b+n.d.a,r.Ob()&&(i+=t.v);return i}(t,e),ipt(t,e)==(get(),fte)&&(r+=2*t.v),n.a.b=r}function Put(t,e){var n,r,i,a;for(a=new Vb,r=new ed(e);r.a<r.c.c.length;)LR(a,new jk(n=RR(xG(r),63),!0)),LR(a,new jk(n,!1));ky((i=new OV(t)).a.a),XG(a,t.b,new $y(X3(uw(UBt,1),zxt,667,0,[i])))}function Dut(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p;return s=t.a,h=t.b,u=e.a,f=e.b,c=n.a,d=n.b,new YM(((a=s*f-h*u)*(c-(l=r.a))-(o=c*(p=r.b)-d*l)*(s-u))/(i=(s-u)*(d-p)-(h-f)*(c-l)),(a*(d-p)-o*(h-f))/i)}function Out(t,e){var n,r,i;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,r=new xF(zE(g9(e).a.Ic(),new p));Qlt(r);)Nq(n=RR(dq(r),18))||(i=n.d.i,t.a[i.p]?LR(t.b,n):Out(t,i));t.a[e.p]=!1}}function Lut(t,e,n){var r,i,a;for(n.xc(e,t),LR(t.n,e),a=t.p._f(e),e.j==t.p.ag()?M9(t.e,a):M9(t.j,a),NB(t),i=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(e),new tp(e)])));Qlt(i);)r=RR(dq(i),11),n._b(r)||Lut(t,r,n)}function Rut(t){var e,n,r;if(!t.b){for(r=new Su,n=new RP(Lvt(t));n.e!=n.i.gc();)0!=((e=RR(Wtt(n),17)).Bb&KDt)&&EK(r,e);Y5(r),t.b=new hT((RR(sJ(kV((VB(),kre).o),8),17),r.i),r.g),$q(t).b&=-9}return t.b}function Nut(t,e){var n,r,i,a,o,s;o=RR(Jnt(oF(e.k),hK(oee,VMt,61,2,0,1)),120),wrt(t,s=e.g,n=HU(e,o[0]),r=VU(e,o[1]))<=wrt(t,s,i=HU(e,o[1]),a=VU(e,o[0]))?(e.a=n,e.c=r):(e.a=i,e.c=a)}function jut(t,e,n){var r,i,a;for(qat(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,i=null,r=het(e.b,0);!i&&r.b!=r.d.c;)Ay($D(Bot(a=RR(zU(r),83),(qmt(),s3t))))&&(i=a);i&&cpt(t,new _g(i),n),Sst(n)}function Fut(t){var e,n,r,i;return lmt(),e=-1==(r=ST(t,mot(35)))?t:t.substr(0,r),n=-1==r?null:t.substr(r+1),i=function(t,e){return RR(null==e?PC(rH(t.f,null)):lk(t.g,e),279)}(Une,e),i?null!=n&&(i=C5(i,(wz(n),n))):(i=function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d;o=!0,h=null,r=null,i=null,e=!1,d=Wne,c=null,a=null,(u=tet(t,s=0,tre,ere))<t.length&&(AW(u,t.length),58==t.charCodeAt(u))&&(h=t.substr(s,u-s),s=u+1);if(n=null!=h&&V_(Gne,h.toLowerCase())){if(-1==(u=t.lastIndexOf("!/")))throw Jb(new Ny("no archive separator"));o=!0,r=BP(t,s,++u),s=u}else s>=0&&hL(t.substr(s,"//".length),"//")?(u=tet(t,s+=2,nre,rre),r=t.substr(s,u-s),s=u):null==h||s!=t.length&&(AW(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(u=aP(t,mot(35),s))&&(u=t.length),r=t.substr(s,u-s),s=u);!n&&s<t.length&&(AW(s,t.length),47==t.charCodeAt(s))&&(u=tet(t,s+1,nre,rre),(l=t.substr(s+1,u-(s+1))).length>0&&58==d$(l,l.length-1)&&(i=l,s=u));s<t.length&&(AW(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0);if(s<t.length&&(AW(s,t.length),63!=t.charCodeAt(s))&&(AW(s,t.length),35!=t.charCodeAt(s))){for(f=new Vb;s<t.length&&(AW(s,t.length),63!=t.charCodeAt(s))&&(AW(s,t.length),35!=t.charCodeAt(s));)u=tet(t,s,nre,rre),LR(f,t.substr(s,u-s)),(s=u)<t.length&&(AW(s,t.length),47==t.charCodeAt(s))&&(v6(t,++s)||(f.c[f.c.length]=""));eet(f,d=hK(MFt,u_t,2,f.c.length,6,1))}s<t.length&&(AW(s,t.length),63==t.charCodeAt(s))&&(-1==(u=FP(t,35,++s))&&(u=t.length),c=t.substr(s,u-s),s=u);return s<t.length&&(a=zC(t,++s)),function(t,e,n,r,i,a){var o;if(null!=e&&B9(e,tre,ere))throw Jb(new Ny("invalid scheme: "+e));if(!(t||null!=n&&-1==ST(n,mot(35))&&n.length>0&&(AW(0,n.length),47!=n.charCodeAt(0))))throw Jb(new Ny("invalid opaquePart: "+n));if(t&&(null==e||!V_(Gne,e.toLowerCase()))&&null!=n&&B9(n,nre,rre))throw Jb(new Ny(XLt+n));if(t&&null!=e&&V_(Gne,e.toLowerCase())&&!function(t){if(null!=t&&t.length>0&&33==d$(t,t.length-1))try{return null==Fut(BP(t,0,t.length-1)).e}catch(t){if(!zA(t=m3(t),31))throw Jb(t)}return!1}(n))throw Jb(new Ny(XLt+n));if(!function(t){var e;return null==t||(e=t.length)>0&&(AW(e-1,t.length),58==t.charCodeAt(e-1))&&!B9(t,nre,rre)}(r))throw Jb(new Ny("invalid device: "+r));if(!function(t){var e,n;if(null==t)return!1;for(e=0,n=t.length;e<n;e++)if(!UR(t[e]))return!1;return!0}(i))throw o=null==i?"invalid segments: null":"invalid segment: "+function(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!UR(t[e]))return t[e];return null}(i),Jb(new Ny(o));if(null!=a&&-1!=ST(a,mot(35)))throw Jb(new Ny("invalid query: "+a))}(o,h,r,i,d,c),new Ppt(o,h,r,i,e,d,c,a)}(e),function(t,e,n){RR(null==e?ect(t.f,null,n):h9(t.g,e,n),279)}(Une,e,i),null!=n&&(i=C5(i,n))),i}function But(t){var e,n,r,i,a,o,s;if(mV(),zA(t,53))for(a=0,i=t.gc()-1;a<i;++a,--i)e=t.Xb(a),t.Zc(a,t.Xb(i)),t.Zc(i,e);else for(n=t.Wc(),o=t.Xc(t.gc());n.Tb()<o.Vb();)r=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(r)}function zut(t,e){var n,r,i,a,o,s;for(s=0,FU(a=new $b,e);a.b!=a.c;)for(s+=krt((o=RR(hB(a),231)).d,o.e),i=new ed(o.b);i.a<i.c.c.length;)r=RR(xG(i),38),(n=RR(JN(t.b,r.p),231)).s||(s+=zut(t,n));return s}function $ut(t,e,n){var i,a;d3(this),e==(oH(),I2t)?cB(this.r,t.c):cB(this.w,t.c),cB(n==I2t?this.r:this.w,t.d),Qst(this,t),ast(this,i=c8(t.c),a=c8(t.d),a),this.o=(bdt(),r.Math.abs(i-a)<.2)}function Vut(t,e,n){var r,i,a;if(i=$Q(t.Og(),e),(r=e-t.vh())<0){if(!i)throw Jb(new Ny(qDt+e+YDt));if(!i.Dj())throw Jb(new Ny(WDt+i.ne()+GDt));(a=t.Tg(i))>=0?t.nh(a,n):cft(t,i,n)}else I9(t,r,i,n)}function Hut(t,e,n){var r,i,a,o,s;if(null!=(o=RR(n3(t.a,8),1908)))for(i=0,a=o.length;i<a;++i)null.em();r=n,0==(1&t.a.Db)&&(s=new Tz(t,n,e),r.pi(s)),zA(r,660)?RR(r,660).ri(t.a):r.oi()==t.a&&r.qi(null)}function Wut(t){var e,n,r,i,a;if(n=RR(t,48).lh())try{if(r=null,(e=Vht((QS(),pre),ebt(null==(a=n).e?a:(!a.c&&(a.c=new Ppt(0!=(256&a.f),a.i,a.a,a.d,0!=(16&a.f),a.j,a.g,null)),a.c))))&&(i=e.mh())&&(r=i.Rk(function(t){return wz(t),t}(n.e))),r&&r!=t)return Wut(r)}catch(a){if(!zA(a=m3(a),59))throw Jb(a)}return t}function Gut(t,e,n){if(t<0)return Xpt(Bxt,X3(uw(gjt,1),zxt,1,5,[n,k8(t)]));if(e<0)throw Jb(new Ny($xt+e));return Xpt("%s (%s) must not be greater than size (%s)",X3(uw(gjt,1),zxt,1,5,[n,k8(t),k8(e)]))}function Uut(t,e){var n,r,i,a,o;for(r=new sG(t.j.c.length),n=null,a=new ed(t.j);a.a<a.c.c.length;)(i=RR(xG(a),11)).j!=n&&(r.b==r.c||Wht(r,n,e),yX(r),n=i.j),(o=eht(i))&&BU(r,o);r.b==r.c||Wht(r,n,e)}function Xut(t){var e,n,i;for(e=OU(new xF(zE(g9(t).a.Ic(),new p))),n=new xF(zE(p9(t).a.Ic(),new p));Qlt(n);)i=OU(new xF(zE(g9(RR(dq(n),18).c.i).a.Ic(),new p))),e=r.Math.max(e,i);return k8(e)}function qut(t,e,n){var r,i,a,o;for(qat(n,"Processor arrange node",1),i=null,a=new sS,r=het(e.b,0);!i&&r.b!=r.d.c;)Ay($D(Bot(o=RR(zU(r),83),(qmt(),s3t))))&&(i=o);jX(a,i,a.c.b,a.c),nwt(t,a,o2(n,1)),Sst(n)}function Yut(){Yut=S,U4t=new lA((fxt(),D8t),1.3),K4t=Y8t,i5t=new sA(15),r5t=new lA(y9t,i5t),o5t=new lA(i7t,15),X4t=j8t,cht(),n5t=$4t,t5t=B4t,e5t=z4t,a5t=H4t,Z4t=F4t,Q4t=e9t,J4t=n9t,Y4t=j4t,q4t=N4t,s5t=W4t}function Kut(t,e,n){var r,i,a;r=RR(_ht(t,(fxt(),j8t)),21),i=0,a=0,e.a>n.a&&(r.Fc((bat(),_8t))?i=(e.a-n.a)/2:r.Fc(k8t)&&(i=e.a-n.a)),e.b>n.b&&(r.Fc((bat(),M8t))?a=(e.b-n.b)/2:r.Fc(I8t)&&(a=e.b-n.b)),Aot(t,i,a)}function Zut(t,e,n,r,i,a,o,s,u,c,l,h,f){zA(t.Cb,87)&&uct($q(RR(t.Cb,87)),4),D0(t,n),t.f=o,W8(t,s),U8(t,u),G8(t,c),X8(t,l),b8(t,h),n9(t,f),w8(t,!0),t1(t,i),t.jk(a),g6(t,e),null!=r&&(t.i=null,i0(t,r))}function Qut(t){var e,n;if(t.f){for(;t.n>0;){if(zA(n=(e=RR(t.k.Xb(t.n-1),71)).Xj(),97)&&0!=(RR(n,17).Bb&KDt)&&(!t.e||n.Bj()!=Qee||0!=n.Xi())&&null!=e.bd())return!0;--t.n}return!1}return t.n>0}function Jut(t,e,n,r,i,a){var o,s,u;if(r-n<7)!function(t,e,n,r){var i,a,o;for(i=e+1;i<n;++i)for(a=i;a>e&&r.ue(t[a-1],t[a])>0;--a)o=t[a],nz(t,a,t[a-1]),nz(t,a-1,o)}(e,n,r,a);else if(Jut(e,t,s=n+i,u=s+((o=r+i)-s>>1),-i,a),Jut(e,t,u,o,-i,a),a.ue(t[u-1],t[u])<=0)for(;n<r;)nz(e,n++,t[s++]);else!function(t,e,n,r,i,a,o,s){var u;for(u=n;a<o;)u>=r||e<n&&s.ue(t[e],t[u])<=0?nz(i,a++,t[e++]):nz(i,a++,t[u++])}(t,s,u,o,e,n,r,a)}function tct(t,e){var n,r,i;for(i=new Vb,r=new ed(t.c.a.b);r.a<r.c.c.length;)n=RR(xG(r),56),e.Lb(n)&&(LR(i,new Ck(n,!0)),LR(i,new Ck(n,!1)));!function(t){var e,n;for(ky(t.b.a),t.a=hK(XBt,zxt,56,t.c.c.a.b.c.length,0,1),e=0,n=new ed(t.c.c.a.b);n.a<n.c.c.length;)RR(xG(n),56).f=e++}(t.e),XG(i,t.d,new $y(X3(uw(UBt,1),zxt,667,0,[t.e])))}function ect(t,e,n){var r,i,a,o;if(o=null==e?0:t.b.se(e),0==(i=null==(r=t.a.get(o))?new Array:r).length)t.a.set(o,i);else if(a=i6(t,e,i))return a.cd(n);return nz(i,i.length,new sk(e,n)),++t.c,tH(t.b),null}function nct(t,e){var n;return dU(t.a),dB(t.a,(w0(),N3t),N3t),dB(t.a,j3t,j3t),jN(n=new wU,j3t,(W9(),V3t)),DC(_ht(e,(V5(),f4t)))!==DC((z5(),q3t))&&jN(n,j3t,z3t),jN(n,j3t,$3t),PT(t.a,n),Vmt(t.a,e)}function rct(t){if(!t)return ly(),Kjt;var e=t.valueOf?t.valueOf():t;if(e!==t){var n=Zjt[typeof e];return n?n(e):B6(typeof e)}return t instanceof Array||t instanceof r.Array?new sf(t):new lf(t)}function ict(t,e,n){var i,a,o;switch(o=t.o,(a=(i=RR(h$(t.p,n),243)).i).b=zct(i),a.a=Bct(i),a.b=r.Math.max(a.b,o.a),a.b>o.a&&!e&&(a.b=o.a),a.c=-(a.b-o.a)/2,n.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}Ubt(i),Qbt(i)}function act(t,e,n){var i,a,o;switch(o=t.o,(a=(i=RR(h$(t.p,n),243)).i).b=zct(i),a.a=Bct(i),a.a=r.Math.max(a.a,o.b),a.a>o.b&&!e&&(a.a=o.b),a.d=-(a.a-o.b)/2,n.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}Ubt(i),Qbt(i)}function oct(t,e){var n,r,i,a;if(tpt(),e.b<2)return!1;for(r=n=RR(zU(a=het(e,0)),8);a.b!=a.d.c;){if(i=RR(zU(a),8),!x2(t,r)||!x2(t,i))return!1;r=i}return!(!x2(t,r)||!x2(t,n))}function sct(t,e){var n,r,i,a,o;return null,n=a1(o=t,"x"),function(t,e){UJ(t,null==e||RL((wz(e),e))||isNaN((wz(e),e))?0:(wz(e),e))}(new Jg(e).a,n),r=a1(o,"y"),function(t,e){XJ(t,null==e||RL((wz(e),e))||isNaN((wz(e),e))?0:(wz(e),e))}(new tb(e).a,r),i=a1(o,dOt),function(t,e){GJ(t,null==e||RL((wz(e),e))||isNaN((wz(e),e))?0:(wz(e),e))}(new eb(e).a,i),a=a1(o,fOt),function(t,e){WJ(t,null==e||RL((wz(e),e))||isNaN((wz(e),e))?0:(wz(e),e))}(new nb(e).a,a),a}function uct(t,e){Bpt(t,e),0!=(1&t.b)&&(t.a.a=null),0!=(2&t.b)&&(t.a.f=null),0!=(4&t.b)&&(t.a.g=null,t.a.i=null),0!=(16&t.b)&&(t.a.d=null,t.a.e=null),0!=(8&t.b)&&(t.a.b=null),0!=(32&t.b)&&(t.a.j=null,t.a.c=null)}function cct(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?UC(a.a,a.b):a.a=new YE(a.d),WC(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function lct(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?UC(a.a,a.b):a.a=new YE(a.d),WC(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function hct(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?UC(a.a,a.b):a.a=new YE(a.d),WC(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function fct(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?UC(a.a,a.b):a.a=new YE(a.d),WC(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function dct(t,e){var n,r,i,a,o,s;for(n=t.b.c.length,i=JN(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(JN(t.b,o),JN(t.b,a))<0&&(s=o),r=s,!(t.a.ue(i,JN(t.b,r))<0));)bq(t.b,e,JN(t.b,r)),e=r;bq(t.b,e,i)}function pct(t,e,n,i,a,o){var s,u,c,l,h;for(DC(t)===DC(n)&&(t=t.slice(e,e+a),e=0),c=n,u=e,l=e+a;u<l;)a=(s=r.Math.min(u+1e4,l))-u,(h=t.slice(u,s)).splice(0,0,i,o?a:0),Array.prototype.splice.apply(c,h),u=s,i+=a}function gct(t,e,n){var r,i;return r=n.d,i=n.e,t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]&&t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]?!(t.i[r.d]<t.i[i.d]):t.i[r.d]<t.i[i.d]}function bct(t){var e,n,r,i,a,o,s;if((r=t.a.c.length)>0)for(o=t.c.d,i=lE($O(new YM((s=t.d.d).a,s.b),o),1/(r+1)),a=new YM(o.a,o.b),n=new ed(t.a);n.a<n.c.c.length;)(e=RR(xG(n),552)).d.a=a.a,e.d.b=a.b,zO(a,i)}function vct(t,e){if(!e)throw Jb(new xv);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function mct(t){var e,n,r;if(e=t.Pb(),!t.Ob())return e;for(r=GC(UC(new pw,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)GC((r.a+=Fxt,r),t.Pb());throw t.Ob()&&(r.a+=", ..."),r.a+=">",Jb(new Ny(r.a))}function yct(t,e,n){var i,a,o,s,u,c;for(c=RSt,o=new ed(Sft(t.b));o.a<o.c.c.length;)for(a=RR(xG(o),168),u=new ed(Sft(e.b));u.a<u.c.c.length;)s=RR(xG(u),168),i=q3(a.a,a.b,s.a,s.b,n),c=r.Math.min(c,i);return c}function wct(t,e){var n,r;if(e.dc())return mV(),mV(),YFt;for(LR(r=new Vb,k8(B_t)),n=1;n<t.f;++n)null==t.a&&jpt(t),t.a[n]&&LR(r,k8(n));return 1==r.c.length?(mV(),mV(),YFt):(LR(r,k8(Lxt)),function(t,e){var n,r,i,a,o,s;i=new Vb,a=0,n=0,o=0;for(;a<e.c.length-1&&n<t.gc();){for(r=RR(t.Xb(n),20).a+o;(TW(a+1,e.c.length),RR(e.c[a+1],20)).a<r;)++a;for(s=0,r-(TW(a,e.c.length),RR(e.c[a],20)).a>(TW(a+1,e.c.length),RR(e.c[a+1],20)).a-r&&++s,LR(i,(TW(a+s,e.c.length),RR(e.c[a+s],20))),o+=(TW(a+s,e.c.length),RR(e.c[a+s],20)).a-r,++n;n<t.gc()&&RR(t.Xb(n),20).a+o<=(TW(a+s,e.c.length),RR(e.c[a+s],20)).a;)++n;a+=1+s}return i}(e,r))}function xct(t,e){var n,r,i,a,o,s;n=function(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw Jb(new Ny("'port' must be either the source port or target port of the edge."))}(e,s=e.c.i.k!=(vst(),YHt)?e.d:e.c).i,i=RR(oz(t.k,s),119),r=t.i[n.p].a,gL(s.i)<(n.c?mZ(n.c.a,n,0):-1)?(a=i,o=r):(a=r,o=i),Kft(bS(gS(vS(pS(new Nv,0),4),a),o))}function _ct(t,e){var n,r,i;if(!(i=Xmt((yut(),Sie),t.Og(),e)))throw Jb(new Ny(WDt+e.ne()+GDt));ek(),RR(i,65).Jj()||(i=iG(FZ(Sie,i))),r=RR((n=t.Tg(i))>=0?t.Wg(n,!0,!0):nlt(t,i,!0),152),RR(r,212).jl(e)}function Sct(t,e,n){var r,i;r=e.a&t.f,e.b=t.b[r],t.b[r]=e,i=e.f&t.f,e.d=t.c[i],t.c[i]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function kct(t){var e,n;return t>-0x800000000000&&t<0x800000000000?0==t?0:((e=t<0)&&(t=-t),n=CH(r.Math.floor(r.Math.log(t)/.6931471805599453)),(!e||t!=r.Math.pow(2,n))&&++n,n):j2(C2(t))}function Ict(t,e,n){var r,i;for(r=e.d,i=n.d;r.a-i.a==0&&r.b-i.b==0;)r.a+=Ght(t,26)*nkt+Ght(t,27)*rkt-.5,r.b+=Ght(t,26)*nkt+Ght(t,27)*rkt-.5,i.a+=Ght(t,26)*nkt+Ght(t,27)*rkt-.5,i.b+=Ght(t,26)*nkt+Ght(t,27)*rkt-.5}function Mct(t){var e,n,r,i;for(t.g=new x9(RR(wB(oee),289)),r=0,dwt(),n=Ote,e=0;e<t.j.c.length;e++)(i=RR(JN(t.j,e),11)).j!=n&&(r!=e&&Aj(t.g,n,new KM(k8(r),k8(e))),n=i.j,r=e);Aj(t.g,n,new KM(k8(r),k8(e)))}function Cct(t){var e,n,r,i,a;for(n=0,e=new ed(t.b);e.a<e.c.c.length;)for(i=new ed(RR(xG(e),29).a);i.a<i.c.c.length;)for((r=RR(xG(i),10)).p=n++,a=new ed(r.j);a.a<a.c.c.length;)RR(xG(a),11).p=n++}function Tct(t,e,n,r,i){var a,o,s,u;if(e)for(o=e.Ic();o.Ob();)for(u=Dpt(RR(o.Pb(),10),(M1(),N1t),n).Ic();u.Ob();)s=RR(u.Pb(),11),(a=RR(PC(rH(i.f,s)),111))||(a=new p3(t.d),r.c[r.c.length]=a,Lut(a,s,i))}function Act(t,e){var n,r,i;return l3(r=new knt(t),e),S4(r,(dxt(),dqt),e),S4(r,(Zwt(),nJt),(Fat(),mte)),S4(r,AZt,(ant(),r8t)),mf(r,(vst(),UHt)),OW(n=new Dst,r),vct(n,(dwt(),Qte)),OW(i=new Dst,r),vct(i,Dte),r}function Ect(t,e){var n,r,i,a;for(t.c[e.p]=!0,LR(t.a,e),a=new ed(e.j);a.a<a.c.c.length;)for(n=new hY((i=RR(xG(a),11)).b);IA(n.a)||IA(n.b);)r=btt(i,RR(IA(n.a)?xG(n.a):xG(n.b),18)).i,t.c[r.p]||Ect(t,r)}function Pct(t){var e,n,i,a,o,s,u;for(s=0,n=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));n.e!=n.i.gc();)u=(e=RR(Htt(n),34)).g,a=e.f,i=r.Math.sqrt(u*u+a*a),s=r.Math.max(i,s),o=Pct(e),s=r.Math.max(o,s);return s}function Dct(t){var e;if(e=!1,zA(t,202))return e=!0,RR(t,202).a;if(!e&&zA(t,257)&&RR(t,257).a%1==0)return e=!0,k8(function(t){return CH((wz(t),t))}(RR(t,257).a));throw Jb(new Yy("Id must be a string or an integer: '"+t+"'."))}function Oct(t,e,n){var r,i,a,o;return r=function(t,e,n){var r;return r=att(n),fgt(t.g,r,e),fgt(t.i,e,n),e}(t,(Sx(),i=new mm,!!n&&Pft(i,n),i),e),B1(r,EU(e,TOt)),oot(e,r),function(t,e){var n,r,i,a,o;(a=TU(t,"individualSpacings"))&&(!fK(e,(fxt(),t7t))&&(n=new qs,Bet(e,t7t,n)),i=RR(_ht(e,t7t),370),r=null,(o=a)&&(r=new j_(o,u0(o,hK(MFt,u_t,2,0,6,1)))),r&&yq(r,new oC(o,i)))}(e,r),sct(e,r),g=null,a=CU(e,"ports"),dft((o=new uC(t,r)).a,o.b,a),H4(t,e,r),O3(t,e,r),r}function Lct(t){var e,n,r,i,a;if(null==t)return Hxt;for(a=new c3(Fxt,"[","]"),r=0,i=(n=t).length;r<i;++r)e=n[r],a.a?UC(a.a,a.b):a.a=new YE(a.d),WC(a.a,""+Ej(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function Rct(t,e){var n,i,a;for(a=Lxt,i=new ed(E9(e));i.a<i.c.c.length;)(n=RR(xG(i),211)).f&&!t.c[n.c]&&(t.c[n.c]=!0,a=r.Math.min(a,Rct(t,k9(n,e))));return t.i[e.d]=t.j,t.g[e.d]=r.Math.min(a,t.j++),t.g[e.d]}function Nct(t,e){var n,r,i;for(i=RR(RR(Kq(t.r,e),21),81).Ic();i.Ob();)(r=RR(i.Pb(),110)).e.b=(n=r.b).Ye((fxt(),D9t))?n.Ef()==(dwt(),Ote)?-n.pf().b-Dy(VD(n.Xe(D9t))):Dy(VD(n.Xe(D9t))):n.Ef()==(dwt(),Ote)?-n.pf().b:0}function jct(t,e){var n,r,i;try{return i=function(t,e){var n;return kP(!!(n=(wz(t),t).g)),wz(e),n(e)}(t.a,e),i}catch(i){if(zA(i=m3(i),31)){try{if(r=Wgt(e,B_t,Lxt),n=Rx(t.a),r>=0&&r<n.length)return n[r]}catch(t){if(!zA(t=m3(t),127))throw Jb(t)}return null}throw Jb(i)}}function Fct(t,e){var n,r,i,a;if(axt(t),0!=t.c||123!=t.a)throw Jb(new Zy(xxt((pA(),hLt))));if(a=112==e,r=t.d,(n=FP(t.i,125,r))<0)throw Jb(new Zy(xxt((pA(),fLt))));return i=BP(t.i,r,n),t.d=n+1,AK(i,a,512==(512&t.e))}function Bct(t){var e,n,r,i,a,o;if(o=0,0==t.b){for(e=0,i=0,a=(r=Nnt(t,!0)).length;i<a;++i)(n=r[i])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=ww($0(k$(_$(mB(t.a),new _t),new yt)));return o>0?o+t.n.d+t.n.a:0}function zct(t){var e,n,r,i,a,o;if(o=0,0==t.b)o=ww($0(k$(_$(mB(t.a),new wt),new xt)));else{for(e=0,i=0,a=(r=jnt(t,!0)).length;i<a;++i)(n=r[i])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}return o>0?o+t.n.b+t.n.c:0}function $ct(t,e,n){var r,i,a,o,s;if(!t||0==t.c.length)return null;for(i=new mH(e,!n),r=new ed(t);r.a<r.c.c.length;)Gst(i,new Zd(RR(xG(r),69)));return(a=i.i).a=(s=i.n,i.e.b+s.d+s.a),a.b=(o=i.n,i.e.a+o.b+o.c),i}function Vct(t){switch(t.g){case 0:return new uh;case 1:return new sh;case 2:return new ch;case 3:return new lh;default:throw Jb(new Ny("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function Hct(t){var e,n;return(n=new pw).a+="e_",e=function(t){return 0!=t.b.c.length&&RR(JN(t.b,0),69).a?RR(JN(t.b,0),69).a:V$(t)}(t),null!=e&&(n.a+=""+e),t.c&&t.d&&(UC((n.a+=" ",n),Ert(t.c)),UC(GC((n.a+="[",n),t.c.i),"]"),UC((n.a+=XMt,n),Ert(t.d)),UC(GC((n.a+="[",n),t.d.i),"]")),n.a}function Wct(t,e,n,i,a){var o;switch(o=0,a.g){case 1:o=r.Math.max(0,e.b+t.b-(n.b+i));break;case 3:o=r.Math.max(0,-t.b-i);break;case 2:o=r.Math.max(0,-t.a-i);break;case 4:o=r.Math.max(0,e.a+t.a-(n.a+i))}return o}function Gct(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=fit(t))&&(ek(),e.xj()==uRt)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function Uct(t,e){var n,r,i;if(i=Xmt((yut(),Sie),t.Og(),e))return ek(),RR(i,65).Jj()||(i=iG(FZ(Sie,i))),r=RR((n=t.Tg(i))>=0?t.Wg(n,!0,!0):nlt(t,i,!0),152),RR(r,212).gl(e);throw Jb(new Ny(WDt+e.ne()+XDt))}function Xct(t,e,n,r,i){var a,o,s,u;return DC(u=kD(t,RR(i,55)))!==DC(i)?(s=RR(t.g[n],71),hE(t,n,Gat(t,0,a=cX(e,u))),FT(t.e)&&(Tat(o=lH(t,9,a.Xj(),i,u,r,!1),new LZ(t.e,9,t.c,s,a,r,!1)),bZ(o)),u):i}function qct(t,e,n){var r;if(++t.j,e>=t.i)throw Jb(new My(WOt+e+GOt+t.i));if(n>=t.i)throw Jb(new My(UOt+n+GOt+t.i));return r=t.g[n],e!=n&&(e<n?Yvt(t.g,e,t.g,e+1,n-e):Yvt(t.g,n+1,t.g,n,e-n),nz(t.g,e,r),t._h(e,r,n),t.Zh()),r}function Yct(t,e){var n,r,i,a;for(function(t,e){aE(t,QN(SH(wN(e,24),skt)),QN(SH(e,skt)))}(t.d,t.e),t.c.a.$b(),n=Lxt,DC(Bot(e.j,(Zwt(),NZt)))!==DC((G4(),C1t))&&S4(e.j,(dxt(),bqt),(_P(),!0)),a=RR(Bot(e.j,LJt),20).a,i=0;i<a&&!((r=Hft(t,e))<n&&(n=r,C0(t),0==n));i++);}function Kct(t,e,n){var r;if(r=RR(t.c.vc(e),15))return!!r.Dc(n)&&(++t.d,!0);if((r=t.ic(e)).Dc(n))return++t.d,t.c.xc(e,r),!0;throw Jb(new Aq("New Collection violated the Collection spec"))}function Zct(t,e){var n,r,i;if(i=0,(r=e[0])>=t.length)return-1;for(AW(r,t.length),n=t.charCodeAt(r);n>=48&&n<=57&&(i=10*i+(n-48),!(++r>=t.length));)AW(r,t.length),n=t.charCodeAt(r);return r>e[0]?e[0]=r:i=-1,i}function Qct(t,e,n){var r,i,a,o;a=t.c,o=t.d,i=($4(X3(uw(t8t,1),u_t,8,0,[a.i.n,a.n,a.a])).b+$4(X3(uw(t8t,1),u_t,8,0,[o.i.n,o.n,o.a])).b)/2,r=null,r=a.j==(dwt(),Dte)?new YM(e+a.i.c.c.a+n,i):new YM(e-n,i),AD(t.a,0,r)}function Jct(t){var e,n,r;for(e=null,n=ZF(u1(X3(uw(wjt,1),zxt,19,0,[(!t.b&&(t.b=new nL(nne,t,4,7)),t.b),(!t.c&&(t.c=new nL(nne,t,5,8)),t.c)])));Qlt(n);)if(r=Yat(RR(dq(n),93)),e){if(e!=r)return!1}else e=r;return!0}function tlt(t){var e,n,r;return t<0?0:0==t?32:(n=16-(e=(r=-(t>>16))>>16&16),n+=e=(r=(t>>=e)-256)>>16&8,n+=e=(r=(t<<=e)-jSt)>>16&4,(n+=e=(r=(t<<=e)-c_t)>>16&2)+2-(e=(r=(t<<=e)>>14)&~(r>>1)))}function elt(t){var e,n,r,i;for(vV(),hVt=new Vb,lVt=new Hb,cVt=new Vb,!t.a&&(t.a=new FF(lne,t,10,11)),function(t){var e,n,r,i,a,o,s,u,c,l;for(e=new Hb,o=new SE(t);o.e!=o.i.gc();){for(a=RR(Htt(o),34),n=new Pv,t$(lVt,a,n),l=new ie,r=RR(NX(new lj(null,new IB(new xF(zE(sft(a).a.Ic(),new p)))),Bj(l,IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)])))),84),d1(n,RR(r.vc((_P(),!0)),15),new ae),i=RR(NX(_$(RR(r.vc(!1),14).Jc(),new oe),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[RBt]))),14).Ic();i.Ob();)(c=Oot(RR(i.Pb(),80)))&&((s=RR(PC(rH(e.f,c)),21))||(s=Mdt(c),ect(e.f,c,s)),W0(n,s));for(r=RR(NX(new lj(null,new IB(new xF(zE(uft(a).a.Ic(),new p)))),Bj(l,IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[RBt])))),84),d1(n,RR(r.vc(!0),15),new se),u=RR(NX(_$(RR(r.vc(!1),14).Jc(),new ue),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[RBt]))),14).Ic();u.Ob();)(c=Lot(RR(u.Pb(),80)))&&((s=RR(PC(rH(e.f,c)),21))||(s=Mdt(c),ect(e.f,c,s)),W0(n,s))}}(e=t.a),i=new SE(e);i.e!=i.i.gc();)r=RR(Htt(i),34),-1==mZ(hVt,r,0)&&(n=new Vb,LR(cVt,n),Vtt(r,n));return cVt}function nlt(t,e,n){var r,i,a;if(a=Xmt((yut(),Sie),t.Og(),e))return ek(),RR(a,65).Jj()||(a=iG(FZ(Sie,a))),i=RR((r=t.Tg(a))>=0?t.Wg(r,!0,!0):nlt(t,a,!0),152),RR(i,212).cl(e,n);throw Jb(new Ny(WDt+e.ne()+XDt))}function rlt(t,e){var n;if(e<0)throw Jb(new Iy("Negative exponent"));if(0==e)return jFt;if(1==e||t7(t,jFt)||t7(t,$Ft))return t;if(!Wlt(t,0)){for(n=1;!Wlt(t,n);)++n;return vQ(function(t){var e,n,r;return t<zFt.length?zFt[t]:(e=31&t,(r=hK(noe,uSt,24,1+(n=t>>5),15,1))[n]=1<<e,new nB(1,n+1,r))}(n*e),rlt(Fq(t,n),e))}return function(t,e){var n,r;for(blt(),rpt(),r=jFt,n=t;e>1;e>>=1)0!=(1&e)&&(r=vQ(r,n)),n=1==n.d?vQ(n,n):new Ftt(Dgt(n.a,n.d,hK(noe,uSt,24,n.d<<1,15,1)));return vQ(r,n)}(t,e)}function ilt(t,e){var n,i,a,o,s,u,c,l;for(l=Dy(VD(Bot(e,(Zwt(),OJt)))),c=t[0].n.a+t[0].o.a+t[0].d.c+l,u=1;u<t.length;u++)i=t[u].n,a=t[u].o,n=t[u].d,(o=i.a-n.b-c)<0&&(i.a-=o),(s=e.f).a=r.Math.max(s.a,i.a+a.a),c=i.a+a.a+n.c+l}function alt(t,e){var n,i,a,o,s,u;return i=RR(RR(oz(t.g,e.a),46).a,63),a=RR(RR(oz(t.g,e.b),46).a,63),n=function(t,e){var n,i,a,o,s,u;if(tpt(),o=e.c-(t.c+t.b),a=t.c-(e.c+e.b),s=t.d-(e.d+e.a),n=e.d-(t.d+t.a),i=r.Math.max(a,o),u=r.Math.max(s,n),mA(),IJ(bEt),(r.Math.abs(i)<=bEt||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:_T(isNaN(i),isNaN(0)))>=0^(IJ(bEt),(r.Math.abs(u)<=bEt||0==u||isNaN(u)&&isNaN(0)?0:u<0?-1:u>0?1:_T(isNaN(u),isNaN(0)))>=0))return r.Math.max(u,i);if(IJ(bEt),(r.Math.abs(i)<=bEt||0==i||isNaN(i)&&isNaN(0)?0:i<0?-1:i>0?1:_T(isNaN(i),isNaN(0)))>0)return r.Math.sqrt(u*u+i*i);return-r.Math.sqrt(u*u+i*i)}(o=i.b,s=a.b),n>=0?n:(u=Mz($O(new YM(s.c+s.b/2,s.d+s.a/2),new YM(o.c+o.b/2,o.d+o.a/2))),-(mbt(o,s)-1)*u)}function olt(t,e,n,r){var i,a,o,s,u;if(i=t.d[e])if(a=i.g,u=i.i,null!=r){for(s=0;s<u;++s)if((o=RR(a[s],133)).Nh()==n&&u8(r,o.ad()))return o}else for(s=0;s<u;++s)if(DC((o=RR(a[s],133)).ad())===DC(r))return o;return null}function slt(t){var e,n,r;for(wS(),this.b=kHt,this.c=(E8(),d7t),this.f=(yS(),wHt),this.a=t,Aw(this,new ke),jft(this),r=new ed(t.b);r.a<r.c.c.length;)(n=RR(xG(r),79)).d||(e=new jtt(X3(uw(xHt,1),zxt,79,0,[n])),LR(t.a,e))}function ult(t){if(this.a=t,t.c.i.k==(vst(),UHt))this.c=t.c,this.d=RR(Bot(t.c.i,(dxt(),pqt)),61);else{if(t.d.i.k!=UHt)throw Jb(new Ny("Edge "+t+" is not an external edge."));this.c=t.d,this.d=RR(Bot(t.d.i,(dxt(),pqt)),61)}}function clt(t){var e,n,r,i,a,o,s;for(AT(s=bU(t.a),new Sn),n=null,a=0,o=(i=s).length;a<o&&(r=i[a]).k==(vst(),UHt);++a)(e=RR(Bot(r,(dxt(),pqt)),61))!=(dwt(),Qte)&&e!=Dte||(n&&RR(Bot(n,Sqt),14).Dc(r),n=r)}function llt(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=RR(t.g[t.i-1],49)}else t.d=t.ni(t.f),EK(t,t.d),e=t.d;return e==t.b&&null.fm>=null.em()?(rft(t),llt(t)):e.Ob()}function hlt(t,e,n){var i,a,o,s;if(!(s=n)&&(s=mN(new Xm,0)),qat(s,RMt,1),xyt(t.c,e),o=function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;if(t.b=t.c,d=$D(Bot(e,(Zwt(),gJt))),f=null==d||(wz(d),d),a=RR(Bot(e,(dxt(),vqt)),21).Fc((Zdt(),EXt)),i=RR(Bot(e,nJt),100),n=!(i==(Fat(),vte)||i==yte||i==mte),!f||!n&&a)h=new $y(X3(uw(HHt,1),HMt,38,0,[e]));else{for(l=new ed(e.a);l.a<l.c.c.length;)RR(xG(l),10).p=0;for(h=new Vb,c=new ed(e.a);c.a<c.c.c.length;)if(r=ibt(t,RR(xG(c),10),null)){for(l3(u=new L1,e),S4(u,hqt,RR(r.b,21)),uV(u.d,e.d),S4(u,VQt,null),s=RR(r.a,14).Ic();s.Ob();)o=RR(s.Pb(),10),LR(u.a,o),o.a=u;h.Dc(u)}a&&(t.b=t.a)}return DC(Bot(e,NZt))!==DC((G4(),C1t))&&(mV(),h.$c(new Pe)),h}(t.a,e),1==o.gc())Imt(RR(o.Xb(0),38),s);else for(a=1/o.gc(),i=o.Ic();i.Ob();)Imt(RR(i.Pb(),38),o2(s,a));!function(t,e,n){t.b.mf(e,n)}(t.a,o,e),function(t){var e,n,i,a,o;a=RR(Bot(t,(Zwt(),$Qt)),21),o=RR(Bot(t,HQt),21),n=new YM(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new uA(n),a.Fc((ott(),see))&&(i=RR(Bot(t,VQt),8),o.Fc((Vgt(),pee))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=r.Math.max(n.a,i.a),e.b=r.Math.max(n.b,i.b));!function(t,e,n){var r,i,a,o,s;if(r=RR(Bot(t,(Zwt(),jZt)),21),n.a>e.a&&(r.Fc((bat(),_8t))?t.c.a+=(n.a-e.a)/2:r.Fc(k8t)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Fc((bat(),M8t))?t.c.b+=(n.b-e.b)/2:r.Fc(I8t)&&(t.c.b+=n.b-e.b)),RR(Bot(t,(dxt(),vqt)),21).Fc((Zdt(),EXt))&&(n.a>e.a||n.b>e.b))for(s=new ed(t.a);s.a<s.c.c.length;)(o=RR(xG(s),10)).k==(vst(),UHt)&&((i=RR(Bot(o,pqt),61))==(dwt(),Dte)?o.n.a+=n.a-e.a:i==Kte&&(o.n.b+=n.b-e.b));a=t.d,t.f.a=n.a-a.b-a.c,t.f.b=n.b-a.d-a.a}(t,n,e)}(e),Sst(s)}function flt(t,e){var n,r,i;i=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,3,i,t.b)),e?e!=t&&(D0(t,e.zb),n1(t,e.d),X1(t,null==(n=null==(r=e.c)?e.zb:r)||hL(n,e.zb)?null:n)):(D0(t,null),n1(t,0),X1(t,null))}function dlt(t){var e,n;if(t.f){for(;t.n<t.o;){if(zA(n=(e=RR(t.j?t.j.ki(t.n):t.k.Xb(t.n),71)).Xj(),97)&&0!=(RR(n,17).Bb&KDt)&&(!t.e||n.Bj()!=Qee||0!=n.Xi())&&null!=e.bd())return!0;++t.n}return!1}return t.n<t.o}function plt(t,e){var n;this.e=(zz(),wB(t),zz(),m7(t)),this.c=(wB(e),m7(e)),YA(this.e.Hd().dc()==this.c.Hd().dc()),this.d=m9(this.e),this.b=m9(this.c),n=FN(gjt,[u_t,zxt],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,function(t){var e,n,r,i;for(r=0,i=(n=t.a).length;r<i;++r)OB(e=n[r],e.length,null)}(this)}function glt(t){!Fjt&&((e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"])[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",Fjt=e);var e,n=t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(t){return function(t,e){var n=Fjt[t.charCodeAt(0)];return null==n?t:n}(t)}));return'"'+n+'"'}function blt(){var t,e;for(blt=S,GFt=hK(XFt,u_t,90,32,0,1),UFt=hK(XFt,u_t,90,32,0,1),t=1,e=0;e<=18;e++)GFt[e]=vtt(t),UFt[e]=vtt(xN(t,e)),t=o8(t,5);for(;e<UFt.length;e++)GFt[e]=vQ(GFt[e-1],GFt[1]),UFt[e]=vQ(UFt[e-1],(rpt(),BFt))}function vlt(t){var e,n;for(wV(),this.b=YBt,this.c=ZBt,this.g=(_S(),qBt),this.d=(E8(),d7t),this.a=t,Nft(this),n=new ed(t.b);n.a<n.c.c.length;)!(e=RR(xG(n),56)).a&&hP(f1(new zv,X3(uw(XBt,1),zxt,56,0,[e])),t),e.e=new WV(e.d)}function mlt(){mlt=S,Rie=RR(sJ(kV((Cx(),Bie).qb),6),32),Die=RR(sJ(kV(Bie.qb),3),32),Oie=RR(sJ(kV(Bie.qb),4),32),Lie=RR(sJ(kV(Bie.qb),5),17),dat(Rie),dat(Die),dat(Oie),dat(Lie),Nie=new $y(X3(uw(cre,1),yRt,170,0,[Rie,Die]))}function ylt(t,e){var n;this.d=new om,this.b=e,this.e=new uA(e.of()),n=t.t.Fc((aot(),Cte)),t.t.Fc(Mte)?t.C?this.a=n&&!e.Ff():this.a=!0:t.t.Fc(Tte)?this.a=!!n&&!(e.xf().Ic().Ob()||e.zf().Ic().Ob()):this.a=!1}function wlt(t,e){var n,r,i,a;for(n=t.o.a,a=RR(RR(Kq(t.r,e),21),81).Ic();a.Ob();)(i=RR(a.Pb(),110)).e.a=(r=i.b).Ye((fxt(),D9t))?r.Ef()==(dwt(),Qte)?-r.pf().a-Dy(VD(r.Xe(D9t))):n+Dy(VD(r.Xe(D9t))):r.Ef()==(dwt(),Qte)?-r.pf().a:n}function xlt(t,e){var n,r,i,a,o;for(o=t.j,e.a!=e.b&&kA(o,new qi),i=o.c.length/2|0,r=0;r<i;r++)TW(r,o.c.length),(a=RR(o.c[r],112)).c&&vct(a.d,e.a);for(n=i;n<o.c.length;n++)TW(n,o.c.length),(a=RR(o.c[n],112)).c&&vct(a.d,e.b)}function _lt(t,e){var n,r,i,a;t._i()?(n=t.Qi(),a=t.aj(),++t.j,t.Ci(n,t.ji(n,e)),r=t.Ui(3,null,e,n,a),t.Yi()&&(i=t.Zi(e,null))?(i.zi(r),i.Ai()):t.Vi(r)):(kz(t,e),t.Yi()&&(i=t.Zi(e,null))&&i.Ai())}function Slt(t,e){var n,r,i,a,o;for(o=sdt(t.e.Og(),e),i=new su,n=RR(t.g,118),a=t.i;--a>=0;)r=n[a],o.ml(r.Xj())&&EK(i,r);!Owt(t,i)&&FT(t.e)&&Cv(t,e.Vj()?lH(t,6,e,(mV(),YFt),null,-1,!1):lH(t,e.Fj()?2:1,e,null,null,-1,!1))}function klt(t,e){var n,r,i;n=RR(Bot(t,(Zwt(),qZt)),108),i=RR(_ht(e,sJt),61),(r=RR(Bot(t,nJt),100))!=(Fat(),xte)&&r!=_te?i==(dwt(),Zte)&&(i=zbt(e,n))==Zte&&(i=K9(n)):i=kmt(e)>0?K9(n):z8(K9(n)),Bet(e,sJt,i)}function Ilt(t,e){var n,r,i,a;return t.a==(ust(),SXt)||(i=e.a.c,n=e.a.c+e.a.b,!(e.j&&(a=(r=e.A).c.c.a-r.o.a/2,i-(r.n.a+r.o.a)>a))&&!(e.q&&(a=(r=e.C).c.c.a-r.o.a/2,r.n.a-n>a)))}function Mlt(t){var e,n,r,i,a,o;for(MW(),n=new FX,r=new ed(t.e.b);r.a<r.c.c.length;)for(a=new ed(RR(xG(r),29).a);a.a<a.c.c.length;)i=RR(xG(a),10),(e=RR(aQ(n,o=t.g[i.p]),14))||set(n,o,e=new Vb),e.Dc(i);return n}function Clt(t){var e;return 0!=(64&t.Db)?Fht(t):((e=new qE(Fht(t))).a+=" (startX: ",zx(e,t.j),e.a+=", startY: ",zx(e,t.k),e.a+=", endX: ",zx(e,t.b),e.a+=", endY: ",zx(e,t.c),e.a+=", identifier: ",HC(e,t.d),e.a+=")",e.a)}function Tlt(t){var e;return 0!=(64&t.Db)?Z6(t):((e=new qE(Z6(t))).a+=" (ordered: ",Vx(e,0!=(256&t.Bb)),e.a+=", unique: ",Vx(e,0!=(512&t.Bb)),e.a+=", lowerBound: ",$x(e,t.s),e.a+=", upperBound: ",$x(e,t.t),e.a+=")",e.a)}function Alt(t,e,n,r,i,a,o,s){var u;return zA(t.Cb,87)&&uct($q(RR(t.Cb,87)),4),D0(t,n),t.f=r,W8(t,i),U8(t,a),G8(t,o),X8(t,!1),b8(t,!0),n9(t,s),w8(t,!0),t1(t,0),t.b=0,e1(t,1),(u=dot(t,e,null))&&u.Ai(),t9(t,!1),t}function Elt(t,e){var n,i;return RR(IH(t.a,e),505)||(n=new pq(e),hq(),function(t,e){PBt||e&&(t.d=e)}(n,Elt(t,BP(i=PBt?null:n.c,0,r.Math.max(0,iP(i,mot(46)))))),0==(PBt?null:n.c).length&&BD(n,new K),mW(t.a,PBt?null:n.c,n),n)}function Plt(t,e){var n;t.b=e,t.g=new Vb,n=function(t){var e,n,i,a,o,s,u,c,l,h,f;for(h=0,l=0,a=t.a,u=a.a.gc(),i=a.a.ec().Ic();i.Ob();)(n=RR(i.Pb(),554)).b&&Hvt(n),h+=(f=(e=n.a).a)+(s=e.b),l+=f*s;if(c=r.Math.sqrt(400*u*l-4*l+h*h)+h,0==(o=2*(100*u-1)))return c;return c/o}(t.b),t.e=n,t.f=n,t.c=Ay($D(Bot(t.b,(xit(),ozt)))),t.a=VD(Bot(t.b,(fxt(),D8t))),null==t.a&&(t.a=1),Dy(t.a)>1?t.e*=Dy(t.a):t.f/=Dy(t.a),function(t){var e,n;for(e=t.b.a.a.ec().Ic();e.Ob();)n=new Qht(RR(e.Pb(),554),t.e,t.f),LR(t.g,n)}(t),Itt(t),function(t){var e,n,i,a,o,s,u,c,l,h;for(n=function(t){var e,n,i,a,o,s,u,c,l,h;for(n=t.o,e=t.p,s=Lxt,a=B_t,u=Lxt,o=B_t,l=0;l<n;++l)for(h=0;h<e;++h)cnt(t,l,h)&&(s=r.Math.min(s,l),a=r.Math.max(a,l),u=r.Math.min(u,h),o=r.Math.max(o,h));return c=a-s+1,i=o-u+1,new Q$(k8(s),k8(u),k8(c),k8(i))}(t.d),a=RR(Bot(t.b,(Cet(),rVt)),115),o=a.b+a.c,s=a.d+a.a,c=n.d.a*t.e+o,u=n.b.a*t.f+s,function(t,e){t.b=e}(t.b,new YM(c,u)),h=new ed(t.g);h.a<h.c.c.length;)e=zO(eD(new YM((l=RR(xG(h),555)).g-n.a.a,l.i-n.c.a),l.a,l.b),lE(rD(LA(rA(l.e)),l.d*l.a,l.c*l.b),-.5)),i=iA(l.e),Tw(l.e,$O(e,i))}(t),S4(t.b,(Cet(),eVt),t.g)}function Dlt(t,e,n){var r,i,a,o,s;for(r=0,s=n,e||(r=n*(t.c.length-1),s*=-1),a=new ed(t);a.a<a.c.c.length;){for(S4(i=RR(xG(a),10),(Zwt(),AZt),(ant(),r8t)),i.o.a=r,o=Fst(i,(dwt(),Dte)).Ic();o.Ob();)RR(o.Pb(),11).n.a=r;r+=s}}function Olt(t,e,n){var r,i,a;t._i()?(a=t.aj(),e8(t,e,n),r=t.Ui(3,null,n,e,a),t.Yi()?(i=t.Zi(n,null),t.dj()&&(i=t.ej(n,i)),i?(i.zi(r),i.Ai()):t.Vi(r)):t.Vi(r)):(e8(t,e,n),t.Yi()&&(i=t.Zi(n,null))&&i.Ai())}function Llt(t,e,n){var r,i,a,o,s,u;return(s=t.Bk(n))!=n?(o=t.g[e],u=s,hE(t,e,t.ji(e,u)),a=o,t.bi(e,u,a),t.mk()&&(r=n,i=t.$i(r,null),!RR(s,48).$g()&&(i=t.Zi(u,i)),i&&i.Ai()),FT(t.e)&&Cv(t,t.Ui(9,n,s,e,!1)),s):n}function Rlt(t){var e,n,r,i,a;if(n=new GL(e=RR(Rx(oee),9),RR(wO(e,e.length),9),0),a=RR(Bot(t,(dxt(),$qt)),10))for(i=new ed(a.j);i.a<i.c.c.length;)DC(Bot(r=RR(xG(i),11),Oqt))===DC(t)&&vP(new hY(r.b))&&l0(n,r.j);return n}function Nlt(t,e,n){var r,i,a,o;if(!t.d[n.p]){for(r=new xF(zE(g9(n).a.Ic(),new p));Qlt(r);){for(a=new xF(zE(p9(o=RR(dq(r),18).d.i).a.Ic(),new p));Qlt(a);)(i=RR(dq(a),18)).c.i==e&&(t.a[i.p]=!0);Nlt(t,e,o)}t.d[n.p]=!0}}function jlt(t){var e;if(!t.a)throw Jb(new jy("IDataType class expected for layout option "+t.f));if(e=function(t){return CW(),KF(Lne,t)?RR(oz(Lne,t),329).pg():null}(t.a),null==e)throw Jb(new jy("Couldn't create new instance of property '"+t.f+"'. "+HPt+(FD(Rne),Rne.k)+WPt));return RR(e,409)}function Flt(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=GLt}return e}function Blt(t,e){0!=e.b&&(isNaN(t.s)?t.s=Dy((MP(0!=e.b),VD(e.a.a.c))):t.s=r.Math.min(t.s,Dy((MP(0!=e.b),VD(e.a.a.c)))),isNaN(t.c)?t.c=Dy((MP(0!=e.b),VD(e.c.b.c))):t.c=r.Math.max(t.c,Dy((MP(0!=e.b),VD(e.c.b.c)))))}function zlt(t){var e,n,r;for(e=null,n=ZF(u1(X3(uw(wjt,1),zxt,19,0,[(!t.b&&(t.b=new nL(nne,t,4,7)),t.b),(!t.c&&(t.c=new nL(nne,t,5,8)),t.c)])));Qlt(n);)if(r=Yat(RR(dq(n),93)),e){if(e!=rW(r))return!0}else e=rW(r);return!1}function $lt(t,e){var n,r,i,a;t._i()?(n=t.i,a=t.aj(),Gq(t,e),r=t.Ui(3,null,e,n,a),t.Yi()?(i=t.Zi(e,null),t.dj()&&(i=t.ej(e,i)),i?(i.zi(r),i.Ai()):t.Vi(r)):t.Vi(r)):(Gq(t,e),t.Yi()&&(i=t.Zi(e,null))&&i.Ai())}function Vlt(t,e,n){var r,i,a;t._i()?(a=t.aj(),++t.j,t.Ci(e,t.ji(e,n)),r=t.Ui(3,null,n,e,a),t.Yi()&&(i=t.Zi(n,null))?(i.zi(r),i.Ai()):t.Vi(r)):(++t.j,t.Ci(e,t.ji(e,n)),t.Yi()&&(i=t.Zi(n,null))&&i.Ai())}function Hlt(t){var e,n,r,i,a;return(a=t.$g())&&a.fh()&&(i=P6(t,a))!=a?(n=t.Qg(),r=(e=t.Qg())>=0?t.Lg(null):t.$g().dh(t,-1-e,null,null),t.Mg(RR(i,48),n),r&&r.Ai(),t.Gg()&&t.Hg()&&n>-1&&Y2(t,new NF(t,9,n,a,i)),i):a}function Wlt(t,e){var n,r,i;if(0==e)return 0!=(1&t.a[0]);if(e<0)throw Jb(new Iy("Negative bit address"));if((i=e>>5)>=t.d)return t.e<0;if(n=t.a[i],e=1<<(31&e),t.e<0){if(i<(r=g2(t)))return!1;n=r==i?-n:~n}return 0!=(n&e)}function Glt(t){var e,n,r,i,a,o,s;for(a=0,i=t.f.e,n=0;n<i.c.length;++n)for(TW(n,i.c.length),o=RR(i.c[n],144),r=n+1;r<i.c.length;++r)TW(r,i.c.length),s=RR(i.c[r],144),e=wK(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function Ult(t,e){var n;if(!ZP(e,(Zwt(),_Qt))&&(n=function(t,e){switch(t.g){case 0:return e==(H9(),nYt)?MGt:CGt;case 1:return e==(H9(),nYt)?MGt:IGt;case 2:return e==(H9(),nYt)?IGt:CGt;default:return IGt}}(RR(Bot(e,kGt),357),RR(Bot(t,_Qt),165)),S4(e,kGt,n),!Qlt(new xF(zE(d9(e).a.Ic(),new p)))))switch(n.g){case 1:S4(e,_Qt,(H9(),eYt));break;case 2:S4(e,_Qt,(H9(),rYt))}}function Xlt(){Pot.call(this,oOt,(Sx(),Fee)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function qlt(){qlt=S,Cne=new dC(RCt,0),kne=new dC("INSIDE_SELF_LOOPS",1),Ine=new dC("MULTI_EDGES",2),Sne=new dC("EDGE_LABELS",3),Mne=new dC("PORTS",4),xne=new dC("COMPOUND",5),wne=new dC("CLUSTERS",6),_ne=new dC("DISCONNECTED",7)}function Ylt(t,e){var n,r,i,a;for(n=(a=QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15))))&t.b.length-1,i=null,r=t.b[n];r;i=r,r=r.a)if(r.d==a&&Cz(r.i,e))return i?i.a=r.a:t.b[n]=r.a,sw(r.c,r.f),av(r.b,r.e),--t.f,++t.e,!0;return!1}function Klt(t,e){var n,r,i,a,o,s,u;if(a=e.e)for(n=Hlt(a),r=RR(t.g,662),o=0;o<t.i;++o)if(Ont(u=r[o])==n&&(!u.d&&(u.d=new fE(vre,u,1)),i=u.d,(s=RR(n.Xg(vgt(a,a.Cb,a.Db>>16)),14).Vc(a))<i.i))return Klt(t,RR(sJ(i,s),86));return e}function Zlt(t,e,n){var r,i=kxt,a=i[t],o=a instanceof Array?a[0]:null;a&&!o?Sxt=a:(!(r=e&&e.prototype)&&(r=kxt[e]),(Sxt=zH(r)).cm=n,!e&&(Sxt.dm=_),i[t]=Sxt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=Sxt;o&&(Sxt.bm=o)}function Qlt(t){for(var e;!RR(wB(t.a),49).Ob();){if(t.d=a5(t),!t.d)return!1;if(t.a=RR(t.d.Pb(),49),zA(t.a,40)){if(e=RR(t.a,40),t.a=e.a,!t.b&&(t.b=new $b),FU(t.b,t.d),e.b)for(;!Hy(e.b);)FU(t.b,RR(fB(e.b),49));t.d=e.d}}return!0}function Jlt(t,e){var n,r,i,a,o;for(a=null==e?0:t.b.se(e),r=null==(n=t.a.get(a))?new Array:n,o=0;o<r.length;o++)if(i=r[o],t.b.re(e,i.ad()))return 1==r.length?(r.length=0,mO(t.a,a)):r.splice(o,1),--t.c,tH(t.b),i.bd();return null}function tht(t,e){var n,r,i,a;for(i=1,e.j=!0,a=null,r=new ed(E9(e));r.a<r.c.c.length;)n=RR(xG(r),211),t.c[n.c]||(t.c[n.c]=!0,a=k9(n,e),n.f?i+=tht(t,a):a.j||n.a!=n.e.e-n.d.e||(n.f=!0,cB(t.p,n),i+=tht(t,a)));return i}function eht(t){var e,n,i,a,o;if(o=cbt(t,a=new Vb),e=RR(Bot(t,(dxt(),$qt)),10))for(i=new ed(e.j);i.a<i.c.c.length;)DC(Bot(n=RR(xG(i),11),Oqt))===DC(t)&&(o=r.Math.max(o,cbt(n,a)));return 0==a.c.length||S4(t,Pqt,o),-1!=o?a:null}function nht(t,e,n){var r,i,a,o,s,u;i=(r=(a=RR(JN(e.e,0),18).c).i).k,s=(o=(u=RR(JN(n.g,0),18).d).i).k,i==(vst(),qHt)?S4(t,(dxt(),Tqt),RR(Bot(r,Tqt),11)):S4(t,(dxt(),Tqt),a),S4(t,(dxt(),Aqt),s==qHt?RR(Bot(o,Aqt),11):u)}function rht(t,e){var n,r,i,a,o;return e&=63,(r=0!=((n=t.h)&MSt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(o=r?ISt:0,a=n>>e-22,i=t.m>>e-22|n<<44-e):(o=r?ISt:0,a=r?kSt:0,i=n>>e-44),AA(i&kSt,a&kSt,o&ISt)}function iht(t){var e,n,i,a,o,s;for(this.c=new Vb,this.d=t,i=RSt,a=RSt,e=NSt,n=NSt,s=het(t,0);s.b!=s.d.c;)o=RR(zU(s),8),i=r.Math.min(i,o.a),a=r.Math.min(a,o.b),e=r.Math.max(e,o.a),n=r.Math.max(n,o.b);this.a=new j$(i,a,e-i,n-a)}function aht(t,e){var n,r,i,a;for(r=new ed(t.b);r.a<r.c.c.length;)for(a=new ed(RR(xG(r),29).a);a.a<a.c.c.length;)for((i=RR(xG(a),10)).k==(vst(),XHt)&&Abt(i,e),n=new xF(zE(g9(i).a.Ic(),new p));Qlt(n);)j3(RR(dq(n),18),e)}function oht(t){var e,n,r;this.c=t,r=RR(Bot(t,(Zwt(),qZt)),108),e=Dy(VD(Bot(t,PZt))),n=Dy(VD(Bot(t,jJt))),r==(E8(),h7t)||r==f7t||r==d7t?this.b=e*n:this.b=1/(e*n),this.j=Dy(VD(Bot(t,EJt))),this.e=Dy(VD(Bot(t,AJt))),this.f=t.b.c.length}function sht(t,e){var n,r,i,a,o,s,u,c,l;if(t.a.f>0&&zA(e,43)&&(t.a.lj(),a=null==(u=(c=RR(e,43)).ad())?0:p5(u),o=oO(t.a,a),n=t.a.d[o]))for(r=RR(n.g,364),l=n.i,s=0;s<l;++s)if((i=r[s]).Nh()==a&&i.Fb(c))return sht(t,c),!0;return!1}function uht(t){switch(t.g){case 0:return new dh;case 1:return new ah;case 2:return new oh;case 3:return new TC;case 4:return new Gj;default:throw Jb(new Ny("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function cht(){cht=S,G9(),$4t=new cT(uPt,V4t=L4t),B4t=new cT(cPt,(_P(),!0)),k8(-1),N4t=new cT(lPt,k8(-1)),k8(-1),j4t=new cT(hPt,k8(-1)),z4t=new cT(fPt,!1),H4t=new cT(dPt,!0),F4t=new cT(pPt,!1),W4t=new cT(gPt,-1)}function lht(t,e,n){switch(e){case 7:return!t.e&&(t.e=new nL(rne,t,7,4)),Omt(t.e),!t.e&&(t.e=new nL(rne,t,7,4)),void QB(t.e,RR(n,15));case 8:return!t.d&&(t.d=new nL(rne,t,8,5)),Omt(t.d),!t.d&&(t.d=new nL(rne,t,8,5)),void QB(t.d,RR(n,15))}tat(t,e,n)}function hht(t,e){var n,r,i,a,o;if(DC(e)===DC(t))return!0;if(!zA(e,14))return!1;if(o=RR(e,14),t.gc()!=o.gc())return!1;for(a=o.Ic(),r=t.Ic();r.Ob();)if(n=r.Pb(),i=a.Pb(),!(DC(n)===DC(i)||null!=n&&u8(n,i)))return!1;return!0}function fht(){fht=S,i4t=new cT(UEt,k8(0)),a4t=new cT(XEt,0),z5(),t4t=new cT(qEt,e4t=q3t),k8(0),J3t=new cT(YEt,k8(1)),z2(),o4t=new cT(KEt,s4t=M4t),KK(),u4t=new cT(ZEt,c4t=U3t),irt(),n4t=new cT(QEt,r4t=S4t)}function dht(t,e,n){var r;r=null,e&&(r=e.d),sat(t,new Uk(e.n.a-r.b+n.a,e.n.b-r.d+n.b)),sat(t,new Uk(e.n.a-r.b+n.a,e.n.b+e.o.b+r.a+n.b)),sat(t,new Uk(e.n.a+e.o.a+r.c+n.a,e.n.b-r.d+n.b)),sat(t,new Uk(e.n.a+e.o.a+r.c+n.a,e.n.b+e.o.b+r.a+n.b))}function pht(t,e,n){var r,i,a;for(e.p=n,a=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(e),new tp(e)])));Qlt(a);)-1==(r=RR(dq(a),11)).p&&pht(t,r,n);if(e.i.k==(vst(),qHt))for(i=new ed(e.i.j);i.a<i.c.c.length;)(r=RR(xG(i),11))!=e&&-1==r.p&&pht(t,r,n)}function ght(t){var e,n;if(2!=t.c.length)throw Jb(new jy("Order only allowed for two paths."));TW(0,t.c.length),e=RR(t.c[0],18),TW(1,t.c.length),n=RR(t.c[1],18),e.d.i!=n.c.i&&(t.c=hK(gjt,zxt,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function bht(t){var e,n,i,a,o;if(a=RR(NX(function(t){return H8(t),_$(t,new Cd(new Pv))}(qW(t)),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14),i=ZIt,a.gc()>=2)for(e=VD((n=a.Ic()).Pb());n.Ob();)o=e,e=VD(n.Pb()),i=r.Math.min(i,(wz(e),e-(wz(o),o)));return i}function vht(t,e){var n,r,i,a,o;jX(r=new sS,e,r.c.b,r.c);do{for(MP(0!=r.b),n=RR(uJ(r,r.a.a),83),t.b[n.g]=1,a=het(n.d,0);a.b!=a.d.c;)o=(i=RR(zU(a),188)).c,1==t.b[o.g]?vN(t.a,i):2==t.b[o.g]?t.b[o.g]=1:jX(r,o,r.c.b,r.c)}while(0!=r.b)}function mht(t,e){var n,r,i;if(DC(e)===DC(wB(t)))return!0;if(!zA(e,14))return!1;if(r=RR(e,14),(i=t.gc())!=r.gc())return!1;if(zA(r,53)){for(n=0;n<i;n++)if(!Cz(t.Xb(n),r.Xb(n)))return!1;return!0}return function(t,e){for(var n,r;t.Ob();){if(!e.Ob())return!1;if(n=t.Pb(),r=e.Pb(),!(DC(n)===DC(r)||null!=n&&u8(n,r)))return!1}return!e.Ob()}(t.Ic(),r.Ic())}function yht(t,e){var n;if(0!=t.c.length){if(2==t.c.length)Abt((TW(0,t.c.length),RR(t.c[0],10)),(Krt(),X7t)),Abt((TW(1,t.c.length),RR(t.c[1],10)),q7t);else for(n=new ed(t);n.a<n.c.c.length;)Abt(RR(xG(n),10),e);t.c=hK(gjt,zxt,1,0,5,1)}}function wht(t,e,n){var r,i,a,o,s;if(!(i=t.f)&&(i=RR(t.a.a.ec().Ic().Pb(),56)),_it(i,e,n),1!=t.a.a.gc())for(r=e*n,o=t.a.a.ec().Ic();o.Ob();)(a=RR(o.Pb(),56))!=i&&((s=$U(a)).f.d?(a.d.d+=r+cIt,a.d.a-=r+cIt):s.f.a&&(a.d.a-=r+cIt))}function xht(t,e,n,i,a){var o,s,u,c,l,h,f,d,p;return s=n-t,u=i-e,c=(o=r.Math.atan2(s,u))+KIt,l=o-KIt,h=a*r.Math.sin(c)+t,d=a*r.Math.cos(c)+e,f=a*r.Math.sin(l)+t,p=a*r.Math.cos(l)+e,Jq(X3(uw(t8t,1),u_t,8,0,[new YM(h,d),new YM(f,p)]))}function _ht(t,e){var n,r;return!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),null!=(r=M7(t.o,e))?r:(zA(n=e.rg(),4)&&(null==n?(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),ctt(t.o,e)):(!t.o&&(t.o=new MK((Wwt(),qee),yne,t,0)),$it(t.o,e,n))),n)}function Sht(t,e){var n,r,i,a,o,s,u;if(!e.f)throw Jb(new Ny("The input edge is not a tree edge."));for(a=null,i=Lxt,r=new ed(t.d);r.a<r.c.c.length;)s=(n=RR(xG(r),211)).d,u=n.e,gct(t,s,e)&&!gct(t,u,e)&&(o=u.e-s.e-n.a)<i&&(i=o,a=n);return a}function kht(){kht=S,tte=new PM("H_LEFT",0),J7t=new PM("H_CENTER",1),nte=new PM("H_RIGHT",2),ste=new PM("V_TOP",3),ote=new PM("V_CENTER",4),ate=new PM("V_BOTTOM",5),rte=new PM("INSIDE",6),ite=new PM("OUTSIDE",7),ete=new PM("H_PRIORITY",8)}function Iht(t){var e,n,r,i,a,o;if(!(t.f.e.c.length<=1)){e=0,i=Glt(t),n=RSt;do{for(e>0&&(i=n),o=new ed(t.f.e);o.a<o.c.c.length;)Ay($D(Bot(a=RR(xG(o),144),(Yet(),tHt))))||(r=wbt(t,a),zO(nT(a.d),r));n=Glt(t)}while(!hz(t,e++,i,n))}}function Mht(t,e,n,r){var i,a,o,s;for(o=(s=e.e).length,a=e.q.Xf(s,n?0:o-1,n),a|=zpt(t,s[n?0:o-1],n,r),i=n?1:o-2;n?i<o:i>=0;i+=n?1:-1)a|=e.c.Pf(s,i,n,r&&!Ay($D(Bot(e.j,(dxt(),bqt))))),a|=e.q.Xf(s,i,n),a|=zpt(t,s[i],n,r);return cB(t.c,e),a}function Cht(t,e,n){var r,i,a,o;for(qat(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,r=het(e.b,0);!a&&r.b!=r.d.c;)Ay($D(Bot(o=RR(zU(r),83),(qmt(),s3t))))&&(a=o,(i=o.e).a=RR(Bot(o,u3t),20).a,i.b=0);zst(t,K3(a),o2(n,1)),Sst(n)}function Tht(t,e,n){var r,i,a;for(qat(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,i=null,r=het(e.b,0);!i&&r.b!=r.d.c;)Ay($D(Bot(a=RR(zU(r),83),(qmt(),s3t))))&&(i=a);i&&$dt(t,Jq(X3(uw(N2t,1),JIt,83,0,[i])),n),Sst(n)}function Aht(t,e){var n,r,i,a,o,s;return null,a=null,(jOt in(o=t).a||FOt in o.a||xOt in o.a)&&(null,s=a4(e),r=TU(o,jOt),function(t,e){var n,r;e&&(n=a1(e,"x"),qJ(new ab(t).a,(wz(n),n)),r=a1(e,"y"),QJ(new sb(t).a,(wz(r),r)))}(new Qg(s).a,r),i=TU(o,FOt),function(t,e){var n,r;e&&(n=a1(e,"x"),KJ(new cb(t).a,(wz(n),n)),r=a1(e,"y"),ZJ(new lb(t).a,(wz(r),r)))}(new ub(s).a,i),n=CU(o,xOt),function(t,e){var n,r,i;if(e)for(i=((n=new iF(e.a.length)).b-n.a)*n.c<0?(ik(),Qae):new kE(n);i.Ob();)r=AU(e,RR(i.Pb(),20).a),m$(new Vg(t).a,r)}(new hb(s).a,n),a=n),a}function Eht(t,e){var n,i,a,o,s;return s=(o=e.a).c.i==e.b?o.d:o.c,i=o.c.i==e.b?o.c:o.d,a=function(t,e,n){var r;return r=Dy(t.p[e.i.p])+Dy(t.d[e.i.p])+e.n.b+e.a.b,Dy(t.p[n.i.p])+Dy(t.d[n.i.p])+n.n.b+n.a.b-r}(t.a,s,i),a>0&&a<ZIt?(n=function(t,e,n,i){var a,o,s,u,c,l,h,f;a=n,o=h=e;do{o=t.a[o.p],f=t.g[o.p],u=Dy(t.p[f.p])+Dy(t.d[o.p])-o.d.d,(c=F1(o,i))&&(l=t.g[c.p],s=Dy(t.p[l.p])+Dy(t.d[c.p])+c.o.b+c.d.a,a=r.Math.min(a,u-(s+EA(t.k,o,c))))}while(h!=o);return a}(t.a,i.i,a,t.c),pJ(t.a,i.i,-n),n>0):a<0&&-a<ZIt&&(n=function(t,e,n,i){var a,o,s,u,c,l,h,f;a=n,o=h=e;do{o=t.a[o.p],f=t.g[o.p],s=Dy(t.p[f.p])+Dy(t.d[o.p])+o.o.b+o.d.a,(c=Q3(o,i))&&(l=t.g[c.p],u=Dy(t.p[l.p])+Dy(t.d[c.p])-c.d.d,a=r.Math.min(a,u-(s+EA(t.k,o,c))))}while(h!=o);return a}(t.a,i.i,-a,t.c),pJ(t.a,i.i,n),n>0)}function Pht(t){var e,n,i,a,o,s,u;for(i=RSt,n=NSt,e=new ed(t.e.b);e.a<e.c.c.length;)for(o=new ed(RR(xG(e),29).a);o.a<o.c.c.length;)a=RR(xG(o),10),s=(u=Dy(t.p[a.p]))+Dy(t.b[t.g[a.p].p]),i=r.Math.min(i,u),n=r.Math.max(n,s);return n-i}function Dht(t,e,n,r){var i,a,o,s,u,c;for(u=null,s=0,c=(i=_gt(t,e)).gc();s<c;++s)if(hL(r,G$(FZ(t,a=RR(i.Xb(s),170)))))if(o=U$(FZ(t,a)),null==n){if(null==o)return a;!u&&(u=a)}else{if(hL(n,o))return a;null==o&&!u&&(u=a)}return null}function Oht(t,e,n,r){var i,a,o,s,u,c;for(u=null,s=0,c=(i=Sgt(t,e)).gc();s<c;++s)if(hL(r,G$(FZ(t,a=RR(i.Xb(s),170)))))if(o=U$(FZ(t,a)),null==n){if(null==o)return a;!u&&(u=a)}else{if(hL(n,o))return a;null==o&&!u&&(u=a)}return null}function Lht(t,e,n){var i,a,o,s,u,c,l,h;for(o=e.Ic();o.Ob();)c=(a=RR(o.Pb(),34)).i+a.g/2,h=a.j+a.f/2,u=c-((s=t.f).i+s.g/2),l=h-(s.j+s.f/2),i=r.Math.sqrt(u*u+l*l),u*=t.e/i,l*=t.e/i,n?(c-=u,h-=l):(c+=u,h+=l),UJ(a,c-a.g/2),XJ(a,h-a.f/2)}function Rht(t){var e,n,r;if(!t.c&&null!=t.b){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(r=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=r,r=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=r);t.c=!0}}function Nht(t){var e,n,r;if(t.e)throw Jb(new jy((FD(QBt),Akt+QBt.k+Ekt)));for(t.d==(E8(),d7t)&&Gyt(t,h7t),n=new ed(t.a.a);n.a<n.c.c.length;)(e=RR(xG(n),305)).g=e.i;for(r=new ed(t.a.b);r.a<r.c.c.length;)RR(xG(r),56).i=NSt;return t.b.Le(t),t}function jht(t,e){var n,r,i,a,o,s;for(a=(1==e?SHt:_Ht).a.ec().Ic();a.Ob();)for(i=RR(a.Pb(),108),s=RR(Kq(t.f.c,i),21).Ic();s.Ob();)switch(o=RR(s.Pb(),46),r=RR(o.b,79),n=RR(o.a,189).c,i.g){case 2:case 1:r.g.d+=n;break;case 4:case 3:r.g.c+=n}}function Fht(t){var e;return(e=new YE(Fx(t.bm))).a+="@",UC(e,(p5(t)>>>0).toString(16)),t.fh()?(e.a+=" (eProxyURI: ",GC(e,t.lh()),t.Vg()&&(e.a+=" eClass: ",GC(e,t.Vg())),e.a+=")"):t.Vg()&&(e.a+=" (eClass: ",GC(e,t.Vg()),e.a+=")"),e.a}function Bht(t,e){var n,r,i,a,o;if(a=e,!(o=RR(CJ(cz(t.i),a),34)))throw Jb(new Yy("Unable to find elk node for json object '"+EU(a,TOt)+"' Panic!"));r=CU(a,"edges"),function(t,e,n){var r,i,a;if(n)for(a=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);a.Ob();)i=AU(n,RR(a.Pb(),20).a),mOt in i.a||yOt in i.a?ugt(t,i,e):zwt(t,i,e)}((n=new QM(t,o)).a,n.b,r),i=CU(a,bOt),function(t,e){var n,r,i;if(e)for(i=((n=new iF(e.a.length)).b-n.a)*n.c<0?(ik(),Qae):new kE(n);i.Ob();)(r=AU(e,RR(i.Pb(),20).a))&&Bht(t,r)}(new Wg(t).a,i)}function zht(t,e,n,r){var i,a,o,s,u,c;for(i=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,c=new ed(t.c);c.a<c.c.c.length;)s=(u=RR(xG(c),34)).g,o=u.f,UJ(u,u.i+a*i),XJ(u,u.j+r*n),GJ(u,u.g+i),WJ(u,t.a-t.b),++a,Kut(u,new YM(u.g,u.f),new YM(s,o))}function $ht(t,e,n,r){var i,a,o,s,u;if(null!=r){if(i=t.d[e])for(a=i.g,u=i.i,s=0;s<u;++s)if((o=RR(a[s],133)).Nh()==n&&u8(r,o.ad()))return s}else if(i=t.d[e])for(a=i.g,u=i.i,s=0;s<u;++s)if(DC((o=RR(a[s],133)).ad())===DC(r))return s;return-1}function Vht(t,e){var n,r;return zA(n=null==e?PC(rH(t.f,null)):lk(t.g,e),234)?((r=RR(n,234)).Lh(),r):zA(n,490)?((r=RR(n,1910).a)&&(null==r.yb||(null==e?ect(t.f,null,r):h9(t.g,e,r))),r):null}function Hht(t,e){var n,i,a,o,s,u;if((i=t.b[e.p])>=0)return i;for(a=1,o=new ed(e.j);o.a<o.c.c.length;)for(n=new ed(RR(xG(o),11).g);n.a<n.c.c.length;)e!=(u=RR(xG(n),18).d.i)&&(s=Hht(t,u),a=r.Math.max(a,s+1));return function(t,e,n){var r,i;for(r=(i=t.a.b).c.length;r<n;r++)Tj(i,0,new bz(t.a));DW(e,RR(JN(i,i.c.length-n),29)),t.b[e.p]=n}(t,e,a),a}function Wht(t,e,n){var r;if(2==(t.c-t.b&t.a.length-1))e==(dwt(),Ote)||e==Dte?(aJ(RR(D4(t),14),(Krt(),X7t)),aJ(RR(D4(t),14),q7t)):(aJ(RR(D4(t),14),(Krt(),q7t)),aJ(RR(D4(t),14),X7t));else for(r=new i$(t);r.a!=r.b;)aJ(RR(A6(r),14),n)}function Ght(t,e){var n,i,a,o;return a=t.a*ikt+1502*t.b,o=t.b*ikt+11,a+=n=r.Math.floor(o*akt),o-=n*okt,a%=okt,t.a=a,t.b=o,e<=24?r.Math.floor(t.a*pBt[e]):((i=t.a*(1<<e-24)+r.Math.floor(t.b*gBt[e]))>=2147483648&&(i-=GSt),i)}function Uht(t,e,n){var r,i,a,o;mG(t,e)>mG(t,n)?(r=i9(n,(dwt(),Dte)),t.d=r.dc()?0:CN(RR(r.Xb(0),11)),o=i9(e,Qte),t.b=o.dc()?0:CN(RR(o.Xb(0),11))):(i=i9(n,(dwt(),Qte)),t.d=i.dc()?0:CN(RR(i.Xb(0),11)),a=i9(e,Dte),t.b=a.dc()?0:CN(RR(a.Xb(0),11)))}function Xht(t){var e,n,r,i,a,o,s;if(t&&(e=t.Ch(LRt))&&null!=(o=HD(M7((!e.b&&(e.b=new hD((mxt(),Wre),oie,e)),e.b),"conversionDelegates")))){for(s=new Vb,i=0,a=(r=xgt(o,"\\w+")).length;i<a;++i)n=r[i],s.c[s.c.length]=n;return s}return mV(),mV(),YFt}function qht(t){var e,n;try{return null==t?Hxt:P9(t)}catch(r){if(zA(r=m3(r),102))return e=r,n=Fx(g5(t))+"@"+(Q_(),(Ket(t)>>>0).toString(16)),Utt($3(),(nS(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+Fx(e.bm)+">";throw Jb(r)}}function Yht(t,e){var n,r,i,a;for(n=t.o.a,a=RR(RR(Kq(t.r,e),21),81).Ic();a.Ob();)(i=RR(a.Pb(),110)).e.a=n*Dy(VD(i.b.Xe(m$t))),i.e.b=(r=i.b).Ye((fxt(),D9t))?r.Ef()==(dwt(),Ote)?-r.pf().b-Dy(VD(r.Xe(D9t))):Dy(VD(r.Xe(D9t))):r.Ef()==(dwt(),Ote)?-r.pf().b:0}function Kht(t){var e,n,r,i,a,o,s,u;e=!0,i=null,a=null;t:for(u=new ed(t.a);u.a<u.c.c.length;)for(r=new xF(zE(p9(s=RR(xG(u),10)).a.Ic(),new p));Qlt(r);){if(n=RR(dq(r),18),i&&i!=s){e=!1;break t}if(i=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o}return e}function Zht(t,e,n){var r,i,a,o,s;for(G1(i=new yu,(wz(e),e)),!i.b&&(i.b=new hD((mxt(),Wre),oie,i)),s=i.b,o=1;o<n.length;o+=2)$it(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new FF(sre,t,0,3)),r=t.Ab,a=0;a<0;++a)r=xz(RR(sJ(r,r.i-1),581));EK(r,i)}function Qht(t,e,n){var i,a,o;for(tO.call(this,new Vb),this.a=e,this.b=n,this.e=t,t.b&&Hvt(t),i=t.a,this.d=H$(i.a,this.a),this.c=H$(i.b,this.b),function(t,e,n){t.n=FN(ioe,[u_t,FSt],[361,24],14,[n,CH(r.Math.ceil(e/32))],2),t.o=e,t.p=n,t.j=e-1>>1,t.k=n-1>>1}(this,this.d,this.c),function(t){var e,n,r,i,a,o,s;for(n=iA(t.e),a=lE(rD(LA(rA(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,i=n.b-a.b,s=0;s<t.c;s++){for(r=e,o=0;o<t.d;o++)j9(t.e,new j$(r,i,t.a,t.b))&&Fpt(t,o,s,!1,!0),r+=t.a;i+=t.b}}(this),o=this.e.e.a.ec().Ic();o.Ob();)(a=RR(o.Pb(),265)).c.c.length>0&&Umt(this,a)}function Jht(t,e,n,r,i,a){var o,s,u;if(!i[e.b]){for(i[e.b]=!0,!(o=r)&&(o=new fY),LR(o.e,e),u=a[e.b].Ic();u.Ob();)(s=RR(u.Pb(),281)).d!=n&&s.c!=n&&(s.c!=e&&Jht(t,s.c,e,o,i,a),s.d!=e&&Jht(t,s.d,e,o,i,a),LR(o.c,s),R3(o.d,s.b));return o}return null}function tft(t){var e,n,r;for(e=0,n=new ed(t.e);n.a<n.c.c.length;)xq(new lj(null,new ZW(RR(xG(n),18).b,16)),new dn)&&++e;for(r=new ed(t.g);r.a<r.c.c.length;)xq(new lj(null,new ZW(RR(xG(r),18).b,16)),new pn)&&++e;return e>=2}function eft(t){switch(t.g){case 0:return new rh;case 1:return new eh;case 2:return new RS;case 3:return new ka;case 4:return new LO;case 5:return new nh;default:throw Jb(new Ny("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function nft(t,e,n){var r,i,a;for(a=new ed(t.t);a.a<a.c.c.length;)(r=RR(xG(a),267)).b.s<0&&r.c>0&&(r.b.n-=r.c,r.b.n<=0&&r.b.u>0&&vN(e,r.b));for(i=new ed(t.i);i.a<i.c.c.length;)(r=RR(xG(i),267)).a.s<0&&r.c>0&&(r.a.u-=r.c,r.a.u<=0&&r.a.n>0&&vN(n,r.a))}function rft(t){var e,n,r;if(null==t.g&&(t.d=t.ni(t.f),EK(t,t.d),t.c))return t.f;if(r=(e=RR(t.g[t.i-1],49)).Pb(),t.e=e,(n=t.ni(r)).Ob())t.d=n,EK(t,n);else for(t.d=null;!e.Ob()&&(nz(t.g,--t.i,null),0!=t.i);)e=RR(t.g[t.i-1],49);return r}function ift(t,e,n,i){var a,o,s;for(mf(a=new knt(t),(vst(),XHt)),S4(a,(dxt(),Oqt),e),S4(a,Gqt,i),S4(a,(Zwt(),nJt),(Fat(),mte)),S4(a,Tqt,e.c),S4(a,Aqt,e.d),Rdt(e,a),s=r.Math.floor(n/2),o=new ed(a.j);o.a<o.c.c.length;)RR(xG(o),11).n.b=s;return a}function aft(t){var e,n,i,a,o,s;for(e=0,n=new ed(t.a);n.a<n.c.c.length;)for(a=new xF(zE(g9(RR(xG(n),10)).a.Ic(),new p));Qlt(a);)t==(i=RR(dq(a),18)).d.i.c&&i.c.j==(dwt(),Qte)&&(o=eG(i.c).b,s=eG(i.d).b,e=r.Math.max(e,r.Math.abs(s-o)));return e}function oft(t,e,n){switch(n.g){case 1:return new YM(e.a,r.Math.min(t.d.b,e.b));case 2:return new YM(r.Math.max(t.c.a,e.a),e.b);case 3:return new YM(e.a,r.Math.max(t.c.b,e.b));case 4:return new YM(r.Math.min(e.a,t.d.a),e.b)}return new YM(e.a,e.b)}function sft(t){var e,n,r;for(LR(e=VP(1+(!t.c&&(t.c=new FF(hne,t,9,9)),t.c).i),(!t.d&&(t.d=new nL(rne,t,8,5)),t.d)),r=new SE((!t.c&&(t.c=new FF(hne,t,9,9)),t.c));r.e!=r.i.gc();)LR(e,(!(n=RR(Htt(r),122)).d&&(n.d=new nL(rne,n,8,5)),n.d));return wB(e),new CT(e)}function uft(t){var e,n,r;for(LR(e=VP(1+(!t.c&&(t.c=new FF(hne,t,9,9)),t.c).i),(!t.e&&(t.e=new nL(rne,t,7,4)),t.e)),r=new SE((!t.c&&(t.c=new FF(hne,t,9,9)),t.c));r.e!=r.i.gc();)LR(e,(!(n=RR(Htt(r),122)).e&&(n.e=new nL(rne,n,7,4)),n.e));return wB(e),new CT(e)}function cft(t,e,n){var r,i,a;if(!(a=Xmt((yut(),Sie),t.Og(),e)))throw Jb(new Ny(WDt+e.ne()+GDt));if(ek(),!RR(a,65).Jj()&&!(a=iG(FZ(Sie,a))))throw Jb(new Ny(WDt+e.ne()+GDt));i=RR((r=t.Tg(a))>=0?t.Wg(r,!0,!0):nlt(t,a,!0),152),RR(i,212).hl(e,n)}function lft(t,e){var n,r,i;if(qat(e,"Breaking Point Processor",1),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v;c=t.b,yO(u=new tU(c,0),new bz(t)),b=!1,a=1;for(;u.b<u.d.gc();){for(MP(u.b<u.d.gc()),s=RR(u.d.Xb(u.c=u.b++),29),TW(a,c.c.length),d=RR(c.c[a],29),g=(p=fG(s.a)).c.length,f=new ed(p);f.a<f.c.c.length;)DW(l=RR(xG(f),10),d);if(b){for(h=lG(new ry(p),0);h.c.Sb();)for(i=new ed(fG(p9(l=RR(zX(h),10))));i.a<i.c.c.length;)uvt(r=RR(xG(i),18),!0),S4(t,(dxt(),sqt),(_P(),!0)),n=eyt(t,r,g),e=RR(Bot(l,eqt),303),v=RR(JN(n,n.c.length-1),18),e.k=v.c.i,e.n=v,e.b=r.d.i,e.c=r;b=!1}else 0!=p.c.length&&(TW(0,p.c.length),RR(p.c[0],10).k==(vst(),GHt)&&(b=!0,a=-1));++a}o=new tU(t.b,0);for(;o.b<o.d.gc();)MP(o.b<o.d.gc()),0==RR(o.d.Xb(o.c=o.b++),29).a.c.length&&n$(o)}(t),Ay($D(Bot(t,(Zwt(),HJt))))){for(r=new ed(t.b);r.a<r.c.c.length;)for(n=0,i=new ed(RR(xG(r),29).a);i.a<i.c.c.length;)RR(xG(i),10).p=n++;!function(t){var e,n,r,i,a,o,s;for(r=new ed(t.b);r.a<r.c.c.length;)for(a=new ed(fG(RR(xG(r),29).a));a.a<a.c.c.length;)if(kQ(i=RR(xG(a),10))&&!(n=RR(Bot(i,(dxt(),eqt)),303)).g&&n.d)for(e=n,s=n.d;s;)Apt(s.i,s.k,!1,!0),XZ(e.a),XZ(s.i),XZ(s.k),XZ(s.b),EW(s.c,e.c.d),EW(e.c,null),DW(e.a,null),DW(s.i,null),DW(s.k,null),DW(s.b,null),(o=new XU(e.i,s.a,e.e,s.j,s.f)).k=e.k,o.n=e.n,o.b=e.b,o.c=s.c,o.g=e.g,o.d=s.d,S4(e.i,eqt,o),S4(s.a,eqt,o),s=s.d,e=o}(t),Ldt(t,!0),Ldt(t,!1)}Sst(e)}function hft(t,e){var n,r,i,a;if(e){for(a=!(i=zA(t.Cb,87)||zA(t.Cb,97))&&zA(t.Cb,321),n=new SE((!e.a&&(e.a=new fj(e,vre,e)),e.a));n.e!=n.i.gc();)if(r=Dbt(RR(Htt(n),86)),i?zA(r,87):a?zA(r,148):r)return r;return i?(mxt(),Fre):(mxt(),Rre)}return null}function fft(t,e,n,r){var i,a,o,s,u,c;for($O(s=new YM(n,r),RR(Bot(e,(qmt(),U2t)),8)),c=het(e.b,0);c.b!=c.d.c;)zO((u=RR(zU(c),83)).e,s),vN(t.b,u);for(o=het(e.a,0);o.b!=o.d.c;){for(i=het((a=RR(zU(o),188)).a,0);i.b!=i.d.c;)zO(RR(zU(i),8),s);vN(t.a,a)}}function dft(t,e,n){var r,a,o,s,u;if(n)for(o=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);o.Ob();)(a=AU(n,RR(o.Pb(),20).a))&&(i=null,B1(s=rX(t,(Sx(),u=new ym,!!e&&xft(u,e),u),a),EU(a,TOt)),oot(a,s),sct(a,s),H4(t,a,s))}function pft(t){var e,n,r,i;if(!t.j){if(i=new ku,null==(e=Jre).a.xc(t,e)){for(r=new SE(KV(t));r.e!=r.i.gc();)QB(i,pft(n=RR(Htt(r),26))),EK(i,n);e.a.zc(t)}Y5(i),t.j=new hT((RR(sJ(kV((VB(),kre).o),11),17),i.i),i.g),$q(t).b&=-33}return t.j}function gft(t){var e,n,r,i,a;if(r=fit(t),null==(a=t.j)&&r)return t.Vj()?null:r.uj();if(zA(r,148)){if((n=r.vj())&&(i=n.Ih())!=t.i){if((e=RR(r,148)).zj())try{t.g=i.Fh(e,a)}catch(e){if(!zA(e=m3(e),78))throw Jb(e);t.g=null}t.i=i}return t.g}return null}function bft(t,e){var n,r,i,a,o;for(i=e.a&t.f,a=null,r=t.b[i];;r=r.b){if(r==e){a?a.b=e.b:t.b[i]=e.b;break}a=r}for(o=e.f&t.f,a=null,n=t.c[o];;n=n.d){if(n==e){a?a.d=e.d:t.c[o]=e.d;break}a=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function vft(t,e){var n,r,i,a;for(MP((a=new tU(t,0)).b<a.d.gc()),n=RR(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)MP(a.b<a.d.gc()),i=new JR((r=RR(a.d.Xb(a.c=a.b++),140)).c,n.d,e),MP(a.b>0),a.a.Xb(a.c=--a.b),yO(a,i),MP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),i.a=!1,n=r}function mft(t){var e,n,r,i,a;for(r=RR(Bot(t,(dxt(),nqt)),11),a=new ed(t.j);a.a<a.c.c.length;){for(n=new ed((i=RR(xG(a),11)).g);n.a<n.c.c.length;)return EW(RR(xG(n),18),r),i;for(e=new ed(i.e);e.a<e.c.c.length;)return PW(RR(xG(e),18),r),i}return null}function yft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=6&&e){if(hit(t,e))throw Jb(new Ny(tOt+Clt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?rit(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=Ret(e,t,6,r)),(r=nO(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,6,e,e))}function wft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(hit(t,e))throw Jb(new Ny(tOt+tmt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?cit(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=Ret(e,t,12,r)),(r=eO(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,3,e,e))}function xft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=9&&e){if(hit(t,e))throw Jb(new Ny(tOt+tgt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?ait(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=Ret(e,t,9,r)),(r=rO(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,9,e,e))}function _ft(t){var e,n;for(n=0;n<t.c.length&&!(IN((TW(n,t.c.length),RR(t.c[n],112)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(IN((TW(e,t.c.length),RR(t.c[e],112)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function Sft(t){var e;return LR(e=new Vb,new Ik(new YM(t.c,t.d),new YM(t.c+t.b,t.d))),LR(e,new Ik(new YM(t.c,t.d),new YM(t.c,t.d+t.a))),LR(e,new Ik(new YM(t.c+t.b,t.d+t.a),new YM(t.c+t.b,t.d))),LR(e,new Ik(new YM(t.c+t.b,t.d+t.a),new YM(t.c,t.d+t.a))),e}function kft(t,e,n,r){var i,a,o;if(o=Uit(e,n),r.c[r.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return r;for(t.j[o.p]=-1,a=new xF(zE(d9(o).a.Ic(),new p));Qlt(a);)if(!Nq(i=RR(dq(a),18))&&(Nq(i)||i.c.i.c!=i.d.i.c)&&i!=e)return kft(t,i,o,r);return r}function Ift(t,e,n){var r,i;for(i=e.a.ec().Ic();i.Ob();)r=RR(i.Pb(),80),!RR(oz(t.b,r),265)&&(rW(Dot(r))==rW(Rot(r))?Hdt(t,r,n):Dot(r)==rW(Rot(r))?null==oz(t.c,r)&&null!=oz(t.b,Rot(r))&&Oyt(t,r,n,!1):null==oz(t.d,r)&&null!=oz(t.b,Dot(r))&&Oyt(t,r,n,!0))}function Mft(t,e){var n,r,i,a,o,s,u;for(i=t.Ic();i.Ob();)for(r=RR(i.Pb(),10),OW(s=new Dst,r),vct(s,(dwt(),Dte)),S4(s,(dxt(),zqt),(_P(),!0)),o=e.Ic();o.Ob();)a=RR(o.Pb(),10),OW(u=new Dst,a),vct(u,Qte),S4(u,zqt,!0),S4(n=new NV,zqt,!0),PW(n,s),EW(n,u)}function Cft(t,e,n,r){var i,a,o,s;i=K7(t,e,n),a=K7(t,n,e),o=RR(oz(t.c,e),111),s=RR(oz(t.c,n),111),i<a?new zW((MY(),v2t),o,s,a-i):a<i?new zW((MY(),v2t),s,o,i-a):(0!=i||e.i&&n.i&&r[e.i.c][n.i.c])&&(new zW((MY(),v2t),o,s,0),new zW(v2t,s,o,0))}function Tft(t,e){var n,r,i,a,o,s;for(i=0,o=new ed(e.a);o.a<o.c.c.length;)for(i+=(a=RR(xG(o),10)).o.b+a.d.a+a.d.d+t.e,r=new xF(zE(p9(a).a.Ic(),new p));Qlt(r);)(n=RR(dq(r),18)).c.i.k==(vst(),KHt)&&(i+=(s=RR(Bot(n.c.i,(dxt(),Oqt)),10)).o.b+s.d.a+s.d.d);return i}function Aft(t,e,n){var r,i,a,o,s,u,c;for(a=new Vb,function(t,e,n,r){var i,a,o,s,u,c,l;for(s=-1,l=new ed(t);l.a<l.c.c.length;)(c=RR(xG(l),111)).g=s--,o=i=QN(fU(I$(_$(new lj(null,new ZW(c.f,16)),new ao),new oo)).d),u=a=QN(fU(I$(_$(new lj(null,new ZW(c.k,16)),new so),new uo)).d),r||(o=QN(fU(I$(new lj(null,new ZW(c.f,16)),new co)).d),u=QN(fU(I$(new lj(null,new ZW(c.k,16)),new lo)).d)),c.d=o,c.a=i,c.i=u,c.b=a,0==u?jX(n,c,n.c.b,n.c):0==o&&jX(e,c,e.c.b,e.c)}(t,c=new sS,o=new sS,e),function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;y=FR(t),u=new Vb,a=t.c.length,c=a-1,l=a+1;for(;0!=y.a.c;){for(;0!=n.b;)MP(0!=n.b),v=RR(uJ(n,n.a.a),111),AH(y.a,v),v.g=c--,Hbt(v,e,n,r);for(;0!=e.b;)MP(0!=e.b),m=RR(uJ(e,e.a.a),111),AH(y.a,m),m.g=l++,Hbt(m,e,n,r);for(s=B_t,g=new Hf(new _O(new cP(new Xf(y.a).a).b));pk(g.a.a);){if(p=RR(QP(g.a).ad(),111),!r&&p.b>0&&p.a<=0){u.c=hK(gjt,zxt,1,0,5,1),u.c[u.c.length]=p;break}(d=p.i-p.d)>=s&&(d>s&&(u.c=hK(gjt,zxt,1,0,5,1),s=d),u.c[u.c.length]=p)}0!=u.c.length&&(o=RR(JN(u,ont(i,u.c.length)),111),AH(y.a,o),o.g=l++,Hbt(o,e,n,r),u.c=hK(gjt,zxt,1,0,5,1))}for(b=t.c.length+1,f=new ed(t);f.a<f.c.c.length;)(h=RR(xG(f),111)).g<a&&(h.g=h.g+b)}(t,c,o,e,n),u=new ed(t);u.a<u.c.c.length;)for(i=new ed((s=RR(xG(u),111)).k);i.a<i.c.c.length;)r=RR(xG(i),129),(!e||r.c==(MY(),b2t))&&s.g>r.b.g&&(a.c[a.c.length]=r);return a}function Eft(){Eft=S,c5t=new mM("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),u5t=new mM("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),h5t=new mM("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),l5t=new mM("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),f5t=new mM("WHOLE_DRAWING",4)}function Pft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=11&&e){if(hit(t,e))throw Jb(new Ny(tOt+Jpt(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?vit(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=Ret(e,t,10,r)),(r=VO(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,11,e,e))}function Dft(t,e,n){return tpt(),(!x2(t,e)||!x2(t,n))&&(Hyt(new YM(t.c,t.d),new YM(t.c+t.b,t.d),e,n)||Hyt(new YM(t.c+t.b,t.d),new YM(t.c+t.b,t.d+t.a),e,n)||Hyt(new YM(t.c+t.b,t.d+t.a),new YM(t.c,t.d+t.a),e,n)||Hyt(new YM(t.c,t.d+t.a),new YM(t.c,t.d),e,n))}function Oft(t,e){var n,r,i,a;if(!t.dc())for(n=0,r=t.gc();n<r;++n)if(null==(a=HD(t.Xb(n)))?null==e:hL(a.substr(0,3),"!##")?null!=e&&(i=e.length,!hL(a.substr(a.length-i,i),e)||a.length!=e.length+3)&&!hL(hNt,e):hL(a,fNt)&&!hL(hNt,e)||hL(a,e))return!0;return!1}function Lft(){Lft=S,_1t=new NI(mCt,0),v1t=new NI("NIKOLOV",1),w1t=new NI("NIKOLOV_PIXEL",2),m1t=new NI("NIKOLOV_IMPROVED",3),y1t=new NI("NIKOLOV_IMPROVED_PIXEL",4),b1t=new NI("DUMMYNODE_PERCENTAGE",5),x1t=new NI("NODECOUNT_PERCENTAGE",6),S1t=new NI("NO_BOUNDARY",7)}function Rft(t,e){var n,i,a,o,s,u,c;if(1==t.a.c.length)return $st(RR(JN(t.a,0),181),e);for(a=function(t){var e,n,i;for(i=0,n=new ed(t.a);n.a<n.c.c.length;)e=RR(xG(n),181),i=r.Math.max(i,e.g);return i}(t),s=0,u=t.c,i=a,c=t.c,o=(u-i)/2+i;i+1<u;){for(s=0,n=new ed(t.a);n.a<n.c.c.length;)s+=gvt(RR(xG(n),181),o,!1).a;s<e?(c=o,u=o):i=o,o=(u-i)/2+i}return c}function Nft(t){var e,n,r,i,a;for(n=new ed(t.a.a);n.a<n.c.c.length;){for((e=RR(xG(n),305)).j=null,a=e.a.a.ec().Ic();a.Ob();)nT((r=RR(a.Pb(),56)).b),(!e.j||r.d.c<e.j.d.c)&&(e.j=r);for(i=e.a.a.ec().Ic();i.Ob();)(r=RR(i.Pb(),56)).b.a=r.d.c-e.j.d.c,r.b.b=r.d.d-e.j.d.d}return t}function jft(t){var e,n,r,i,a;for(n=new ed(t.a.a);n.a<n.c.c.length;){for((e=RR(xG(n),189)).f=null,a=e.a.a.ec().Ic();a.Ob();)nT((r=RR(a.Pb(),79)).e),(!e.f||r.g.c<e.f.g.c)&&(e.f=r);for(i=e.a.a.ec().Ic();i.Ob();)(r=RR(i.Pb(),79)).e.a=r.g.c-e.f.g.c,r.e.b=r.g.d-e.f.g.d}return t}function Fft(){return gxt(),X3(uw(xGt,1),P_t,77,0,[MWt,SWt,CWt,HWt,uGt,XWt,pGt,QWt,oGt,FWt,nGt,ZWt,sGt,LWt,bGt,vWt,eGt,lGt,WWt,cGt,mGt,iGt,mWt,aGt,yGt,fGt,vGt,GWt,PWt,UWt,VWt,gGt,xWt,AWt,YWt,wWt,KWt,zWt,RWt,JWt,jWt,kWt,_Wt,$Wt,NWt,tGt,dGt,yWt,rGt,BWt,qWt,DWt,EWt,hGt,TWt,OWt,IWt])}function Bft(t){var e;if(Gm.call(this),this.i=new cs,this.g=t,this.f=RR(t.e&&t.e(),9).length,0==this.f)throw Jb(new Ny("There must be at least one phase in the phase enumeration."));this.c=new GL(e=RR(Rx(this.g),9),RR(wO(e,e.length),9),0),this.a=new wU,this.b=new Hb}function zft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=7&&e){if(hit(t,e))throw Jb(new Ny(tOt+aut(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?iit(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=RR(e,48).ah(t,1,tne,r)),(r=Kj(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,7,e,e))}function $ft(t,e){var n,r;if(e!=t.Cb||t.Db>>16!=3&&e){if(hit(t,e))throw Jb(new Ny(tOt+p8(t)));r=null,t.Cb&&(r=(n=t.Db>>16)>=0?uit(t,r):t.Cb.dh(t,-1-n,null,r)),e&&(r=RR(e,48).ah(t,0,ane,r)),(r=Zj(t,e,r))&&r.Ai()}else 0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,3,e,e))}function Vft(t,e){var n;t.d&&(e.c!=t.e.c||function(t,e){return p4(),t==CHt&&e==THt||t==CHt&&e==AHt||t==EHt&&e==AHt||t==EHt&&e==THt}(t.e.b,e.b))&&(LR(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),!function(t){return t==CHt||t==THt}(e.b)?t.b=e:t.c=e,(e.b==(p4(),CHt)&&!e.a||e.b==THt&&e.a||e.b==AHt&&e.a||e.b==EHt&&!e.a)&&t.c&&t.b&&(n=new j$(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function Hft(t,e){var n,r,i;r=0!=Ght(t.d,1),Ay($D(Bot(e.j,(dxt(),bqt))))&&DC(Bot(e.j,(Zwt(),NZt)))!==DC((G4(),C1t))?r=!0:e.c.Qf(e.e,r),Mht(t,e,r,!0),S4(e.j,bqt,(_P(),!1)),n=zut(t,e);do{if(T0(t),0==n)return 0;i=n,Mht(t,e,r=!r,!1),n=zut(t,e)}while(i>n);return i}function Wft(t,e,n){var r,i,a,o,s;for(o=l8(t,n),s=hK(ZHt,KMt,10,e.length,0,1),r=0,a=o.Ic();a.Ob();)Ay($D(Bot(i=RR(a.Pb(),11),(dxt(),wqt))))&&(s[r++]=RR(Bot(i,$qt),10));if(r<e.length)throw Jb(new jy("Expected "+e.length+" hierarchical ports, but found only "+r+"."));return s}function Gft(t,e){var n,r,i,a,o,s,u,c,l;return blt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?function(t,e){var n,r,i,a,o,s,u,c,l,h,f;if(r=t.d,a=e.d,s=r+a,u=t.e!=e.e?-1:1,2==s)return f=QN(l=o8(SH(t.a[0],WSt),SH(e.a[0],WSt))),0==(h=QN(_N(l,32)))?new xY(u,f):new nB(u,2,X3(uw(noe,1),uSt,24,15,[f,h]));return n=t.a,i=e.a,o=hK(noe,uSt,24,s,15,1),j6(n,r,i,a,o),JG(c=new nB(u,s,o)),c}(t,e):(c=Fq(t,o=(-2&t.d)<<4),l=Fq(e,o),r=svt(t,jq(c,o)),i=svt(e,jq(l,o)),u=Gft(c,l),n=Gft(r,i),a=jq(a=hmt(hmt(a=Gft(svt(c,r),svt(i,l)),u),n),o),hmt(hmt(u=jq(u,o<<1),a),n))}function Uft(t,e){var n,r,i,a,o;if((null==t.i&&Zbt(t),t.i).length,!t.p){for(o=new aS(1+(3*t.g.i/2|0)),i=new RP(t.g);i.e!=i.i.gc();)r=RR(Wtt(i),170),(n=RR(null==(a=r.ne())?ect(o.f,null,r):h9(o.g,a,r),170))&&(null==a?ect(o.f,null,n):h9(o.g,a,n));t.p=o}return RR(IH(t.p,e),170)}function Xft(t,e,n,r,i){var a,o,s,u;for(function(t,e){(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,t)}(r+QV(n,n.$d()),i),uz(e,function(t){var e,n=t.e;return n&&(n.stack||((e=t[U_t])&&0!=e.length?"\t"+e.join("\n\t"):""))}(n)),(a=n.f)&&Xft(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=hK(Njt,u_t,78,0,0,1)),s=0,u=(o=n.k).length;s<u;++s)Xft(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function qft(t,e,n){var r,i,a,o,s,u,c,l;for(c=0,l=(u=vU(t.j)).length;c<l;++c){if(s=u[c],n==(M1(),R1t)||n==j1t)for(a=0,o=(i=gU(s.g)).length;a<o;++a)Lst(e,r=i[a])&&uvt(r,!0);if(n==N1t||n==j1t)for(a=0,o=(i=gU(s.e)).length;a<o;++a)Ost(e,r=i[a])&&uvt(r,!0)}}function Yft(t){var e,n;switch(e=null,n=null,function(t){var e,n,r,i,a;for(a=oF(t.k),dwt(),r=0,i=(n=X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length;r<i;++r)if((e=n[r])!=Zte&&!a.Fc(e))return e;return null}(t).g){case 1:dwt(),e=Dte,n=Qte;break;case 2:dwt(),e=Kte,n=Ote;break;case 3:dwt(),e=Qte,n=Dte;break;case 4:dwt(),e=Ote,n=Kte}xf(t,RR(lP(MF(RR(Kq(t.k,e),14).Mc(),mUt)),112)),_f(t,RR(lP(IF(RR(Kq(t.k,n),14).Mc(),mUt)),112))}function Kft(t){if(!t.a.d||!t.a.e)throw Jb(new jy((FD(Mzt),Mzt.k+" must have a source and target "+(FD(Czt),Czt.k+" specified."))));if(t.a.d==t.a.e)throw Jb(new jy("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return pP(t.a.d.g,t.a),pP(t.a.e.b,t.a),t.a}function Zft(t){var e,n,r,i,a,o;if((i=RR(JN(t.j,0),11)).e.c.length+i.g.c.length==0)t.n.a=0;else{for(o=0,r=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(i),new tp(i)])));Qlt(r);)o+=(n=RR(dq(r),11)).i.n.a+n.n.a+n.a.a;a=(e=RR(Bot(t,(Zwt(),tJt)),8))?e.a:0,t.n.a=o/(i.e.c.length+i.g.c.length)-a}}function Qft(t,e){var n,r,i;for(r=new ed(e.a);r.a<r.c.c.length;)n=RR(xG(r),219),$j(RR(n.b,63),$O(LA(RR(e.b,63).c),RR(e.b,63).a)),(i=mbt(RR(e.b,63).b,RR(n.b,63).b))>1&&(t.a=!0),zj(RR(n.b,63),zO(LA(RR(e.b,63).c),lE($O(LA(RR(n.b,63).a),RR(e.b,63).a),i))),NW(t,e),Qft(t,n)}function Jft(t){var e,n,r,i,a,o;for(i=new ed(t.a.a);i.a<i.c.c.length;)(n=RR(xG(i),189)).e=0,n.d.a.$b();for(r=new ed(t.a.a);r.a<r.c.c.length;)for(e=(n=RR(xG(r),189)).a.a.ec().Ic();e.Ob();)for(o=RR(e.Pb(),79).f.Ic();o.Ob();)(a=RR(o.Pb(),79)).d!=n&&(cB(n.d,a),++a.d.e)}function tdt(t){var e,n,r,i,a,o,s,u;for(n=0,e=u=t.j.c.length,i=2*u,s=new ed(t.j);s.a<s.c.c.length;)switch((o=RR(xG(s),11)).j.g){case 2:case 4:o.p=-1;break;case 1:case 3:r=o.e.c.length,a=o.g.c.length,o.p=r>0&&a>0?e++:r>0?n++:a>0?i++:n++}mV(),kA(t.j,new cr)}function edt(t,e){var n,r,i,a,o,s,u,c,l;for(s=e.j,o=e.g,u=RR(JN(s,s.c.length-1),112),TW(0,s.c.length),c=wrt(t,o,u,l=RR(s.c[0],112)),a=1;a<s.c.length;a++)TW(a-1,s.c.length),n=RR(s.c[a-1],112),TW(a,s.c.length),(r=wrt(t,o,n,i=RR(s.c[a],112)))>c&&(u=n,l=i,c=r);e.a=l,e.c=u}function ndt(t,e,n){var r,i,a,o,s,u;if(r=0,0!=e.b&&0!=n.b){a=het(e,0),o=het(n,0),s=Dy(VD(zU(a))),u=Dy(VD(zU(o))),i=!0;do{if(s>u-t.b&&s<u+t.b)return-1;s>u-t.a&&s<u+t.a&&++r,s<=u&&a.b!=a.d.c?s=Dy(VD(zU(a))):u<=s&&o.b!=o.d.c?u=Dy(VD(zU(o))):i=!1}while(i)}return r}function rdt(t){var e;for(e=new xF(zE(g9(t).a.Ic(),new p));Qlt(e);)if(RR(dq(e),18).d.i.k!=(vst(),XHt))throw Jb(new Xy(vCt+Art(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function idt(t,e,n,i){var a,o,s,u,c,l,h;for(u=0,c=new ed(t.a);c.a<c.c.c.length;){for(s=0,o=new xF(zE(p9(RR(xG(c),10)).a.Ic(),new p));Qlt(o);)l=eG((a=RR(dq(o),18)).c).b,h=eG(a.d).b,s=r.Math.max(s,r.Math.abs(h-l));u=r.Math.max(u,s)}return i*r.Math.min(1,e/n)*u}function adt(t){var e;return e=new dw,0!=(256&t)&&(e.a+="F"),0!=(128&t)&&(e.a+="H"),0!=(512&t)&&(e.a+="X"),0!=(2&t)&&(e.a+="i"),0!=(8&t)&&(e.a+="m"),0!=(4&t)&&(e.a+="s"),0!=(32&t)&&(e.a+="u"),0!=(64&t)&&(e.a+="w"),0!=(16&t)&&(e.a+="x"),0!=(t&GLt)&&(e.a+=","),Gy(e.a)}function odt(t,e){var n,i,a;for(qat(e,"Resize child graph to fit parent.",1),i=new ed(t.b);i.a<i.c.c.length;)n=RR(xG(i),29),R3(t.a,n.a),n.a.c=hK(gjt,zxt,1,0,5,1);for(a=new ed(t.a);a.a<a.c.c.length;)DW(RR(xG(a),10),null);t.b.c=hK(gjt,zxt,1,0,5,1),function(t){var e,n,i,a,o;a=RR(Bot(t,(Zwt(),$Qt)),21),o=RR(Bot(t,HQt),21),n=new YM(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),e=new uA(n),a.Fc((ott(),see))&&(i=RR(Bot(t,VQt),8),o.Fc((Vgt(),pee))&&(i.a<=0&&(i.a=20),i.b<=0&&(i.b=20)),e.a=r.Math.max(n.a,i.a),e.b=r.Math.max(n.b,i.b));!function(t,e,n){var r,i,a,o,s;if(r=RR(Bot(t,(Zwt(),jZt)),21),n.a>e.a&&(r.Fc((bat(),_8t))?t.c.a+=(n.a-e.a)/2:r.Fc(k8t)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(r.Fc((bat(),M8t))?t.c.b+=(n.b-e.b)/2:r.Fc(I8t)&&(t.c.b+=n.b-e.b)),RR(Bot(t,(dxt(),vqt)),21).Fc((Zdt(),EXt))&&(n.a>e.a||n.b>e.b))for(o=new ed(t.a);o.a<o.c.c.length;)(a=RR(xG(o),10)).k==(vst(),UHt)&&((i=RR(Bot(a,pqt),61))==(dwt(),Dte)?a.n.a+=n.a-e.a:i==Kte&&(a.n.b+=n.b-e.b));s=t.d,t.f.a=n.a-s.b-s.c,t.f.b=n.b-s.d-s.a}(t,n,e)}(t),t.e&&function(t,e){var n,r,i,a,o,s;for(i=new ed(e.a);i.a<i.c.c.length;)zA(a=Bot(r=RR(xG(i),10),(dxt(),Oqt)),11)&&(s=Nbt(e,r,(o=RR(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,vct(o,RR(Bot(r,pqt),61)));n=new YM(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),RR(Bot(e,(dxt(),vqt)),21).Fc((Zdt(),EXt))?(S4(t,(Zwt(),nJt),(Fat(),mte)),RR(Bot(jz(t),vqt),21).Dc(OXt),uyt(t,n,!1)):uyt(t,n,!0)}(t.e,t),Sst(e)}function sdt(t,e){var n,r,i,a;return ek(),e?e==(Kmt(),sae)||(e==Hie||e==$ie||e==Vie)&&t!=zie?new swt(t,e):((n=(r=RR(e,665)).kk())||(G$(FZ((yut(),Sie),e)),n=r.kk()),!n.i&&(n.i=new Hb),!(i=RR(PC(rH((a=n.i).f,t)),1914))&&t$(a,t,i=new swt(t,e)),i):Eie}function udt(t,e){var n,r,i,a,o,s,u,c;for(s=RR(Bot(t,(dxt(),Oqt)),11),u=$4(X3(uw(t8t,1),u_t,8,0,[s.i.n,s.n,s.a])).a,c=t.i.n.b,i=0,a=(r=gU(t.e)).length;i<a;++i)EW(n=r[i],s),ZC(n.a,new YM(u,c)),e&&((o=RR(Bot(n,(Zwt(),yQt)),74))||(o=new vm,S4(n,yQt,o)),vN(o,new YM(u,c)))}function cdt(t,e){var n,r,i,a,o,s,u,c;for(r=RR(Bot(t,(dxt(),Oqt)),11),u=$4(X3(uw(t8t,1),u_t,8,0,[r.i.n,r.n,r.a])).a,c=t.i.n.b,o=0,s=(a=gU(t.g)).length;o<s;++o)PW(i=a[o],r),KC(i.a,new YM(u,c)),e&&((n=RR(Bot(i,(Zwt(),yQt)),74))||(n=new vm,S4(i,yQt,n)),vN(n,new YM(u,c)))}function ldt(t){var e,n,r,i,a,o,s;if(i=(r=t.b).e,a=bL(RR(Bot(r,(Zwt(),nJt)),100)),n=!!i&&RR(Bot(i,(dxt(),vqt)),21).Fc((Zdt(),EXt)),!a&&!n)for(s=new Uf(new Gf(t.e).a.tc().Ic());s.a.Ob();)e=RR(s.a.Pb(),43),(o=RR(e.bd(),112)).a&&(OW(o.d,null),o.c=!0,t.a=!0)}function hdt(t,e){var n,r,i,a,o;for(t.b=new Vb,t.d=RR(Bot(e,(dxt(),Wqt)),228),t.e=function(t){return a8(xN(C2(Ght(t,32)),32),C2(Ght(t,32)))}(t.d),a=new sS,i=Jq(X3(uw(HHt,1),HMt,38,0,[e])),o=0;o<i.c.length;)TW(o,i.c.length),(r=RR(i.c[o],38)).p=o++,R3(i,(n=new dmt(r,t.a,t.b)).b),LR(t.b,n),n.s&&MB(het(a,0),n);return t.c=new Pv,a}function fdt(){fdt=S,DVt=new lA((fxt(),H9t),k8(1)),FVt=new lA(i7t,80),jVt=new lA(Q9t,5),kVt=new lA(D8t,dMt),OVt=new lA(W9t,k8(1)),NVt=new lA(X9t,(_P(),!0)),EVt=new sA(50),AVt=new lA(y9t,EVt),MVt=e9t,PVt=O9t,IVt=new lA(V8t,!1),Cst(),TVt=pVt,BVt=yVt,CVt=dVt,LVt=bVt,RVt=mVt}function ddt(t){var e,n;n=RR(Bot(t,(Zwt(),_Qt)),165),e=RR(Bot(t,(dxt(),xqt)),301),n==(H9(),nYt)?(S4(t,_Qt,aYt),S4(t,xqt,(JZ(),UXt))):n==iYt?(S4(t,_Qt,aYt),S4(t,xqt,(JZ(),WXt))):e==(JZ(),UXt)?(S4(t,_Qt,nYt),S4(t,xqt,GXt)):e==WXt&&(S4(t,_Qt,iYt),S4(t,xqt,GXt))}function pdt(t){var e;for(e=new xF(zE(p9(t).a.Ic(),new p));Qlt(e);)if(RR(dq(e),18).c.i.k!=(vst(),XHt))throw Jb(new Xy(vCt+Art(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function gdt(){gdt=S,p2t=new io,l2t=jN(new wU,(zot(),pHt),(gxt(),WWt)),d2t=Qj(jN(new wU,pHt,iGt),bHt,rGt),g2t=_tt(_tt(Wk(Qj(jN(new wU,fHt,pGt),bHt,dGt),gHt),fGt),gGt),h2t=Qj(jN(jN(jN(new wU,dHt,XWt),gHt,YWt),gHt,KWt),bHt,qWt),f2t=Qj(jN(jN(new wU,gHt,KWt),gHt,AWt),bHt,TWt)}function bdt(){bdt=S,w2t=jN(Qj(new wU,(zot(),bHt),(gxt(),DWt)),pHt,WWt),k2t=_tt(_tt(Wk(Qj(jN(new wU,fHt,pGt),bHt,dGt),gHt),fGt),gGt),x2t=Qj(jN(jN(jN(new wU,dHt,XWt),gHt,YWt),gHt,KWt),bHt,qWt),S2t=jN(jN(new wU,pHt,iGt),bHt,rGt),_2t=Qj(jN(jN(new wU,gHt,KWt),gHt,AWt),bHt,TWt)}function vdt(t,e,n,r,i){var a,o;(Nq(e)||e.c.i.c!=e.d.i.c)&&a0($4(X3(uw(t8t,1),u_t,8,0,[i.i.n,i.n,i.a])),n)||Nq(e)||(e.c==i?AD(e.a,0,new uA(n)):vN(e.a,new uA(n)),r&&!q_(t.a,n)&&((o=RR(Bot(e,(Zwt(),yQt)),74))||(o=new vm,S4(e,yQt,o)),jX(o,a=new uA(n),o.c.b,o.c),cB(t.a,a)))}function mdt(t,e,n){var i,a,o,s;for(this.b=new Vb,a=0,i=0,s=new ed(t);s.a<s.c.c.length;)o=RR(xG(s),167),n&&Rvt(o),LR(this.b,o),a+=o.o,i+=o.p;this.b.c.length>0&&(a+=(o=RR(JN(this.b,0),167)).o,i+=o.p),a*=2,i*=2,e>1?a=CH(r.Math.ceil(a*e)):i=CH(r.Math.ceil(i/e)),this.a=new F7(a,i)}function ydt(t,e,n,i,a,o){var s,u,c,l,h,f,d,p,g,b;for(l=i,e.j&&e.o?(g=(d=RR(oz(t.f,e.A),56)).d.c+d.d.b,--l):g=e.a.c+e.a.b,h=a,n.q&&n.o?(c=(d=RR(oz(t.f,n.C),56)).d.c,++h):c=n.a.c,p=g+(u=(c-g)/r.Math.max(2,h-l)),f=l;f<h;++f)b=(s=RR(o.Xb(f),128)).a.b,s.a.c=p-b/2,p+=u}function wdt(t,e,n,r,i,a){var o,s,u,c,l,h;for(c=n.c.length,a&&(t.c=hK(noe,uSt,24,e.length,15,1)),o=i?0:e.length-1;i?o<e.length:o>=0;o+=i?1:-1){for(s=e[o],u=r==(dwt(),Dte)?i?i9(s,r):T2(i9(s,r)):i?T2(i9(s,r)):i9(s,r),a&&(t.c[s.p]=u.gc()),h=u.Ic();h.Ob();)l=RR(h.Pb(),11),t.d[l.p]=c++;R3(n,u)}}function xdt(t,e,n){var r,i,a,o,s,u,c,l;for(a=Dy(VD(t.b.Ic().Pb())),c=Dy(VD(function(t){var e;if(t){if((e=t).dc())throw Jb(new vv);return e.Xb(e.gc()-1)}return GW(t.Ic())}(e.b))),r=lE(LA(t.a),c-n),i=lE(LA(e.a),n-a),lE(l=zO(r,i),1/(c-a)),this.a=l,this.b=new Vb,s=!0,(o=t.b.Ic()).Pb();o.Ob();)u=Dy(VD(o.Pb())),s&&u-n>xEt&&(this.b.Dc(n),s=!1),this.b.Dc(u);s&&this.b.Dc(n)}function _dt(t,e,n,r){var i,a,o,s,u;if(ek(),s=RR(e,65).Jj(),Cdt(t.e,e)){if(e.ci()&&tvt(t,e,r,zA(e,97)&&0!=(RR(e,17).Bb&BSt)))throw Jb(new Ny(HOt))}else for(u=sdt(t.e.Og(),e),i=RR(t.g,118),o=0;o<t.i;++o)if(a=i[o],u.ml(a.Xj()))throw Jb(new Ny(pNt));J6(t,rut(t,e,n),s?RR(r,71):cX(e,r))}function Sdt(t){var e,n,i,a;if(function(t,e){var n,i,a,o,s,u,c;for(a=hK(noe,uSt,24,t.e.a.c.length,15,1),s=new ed(t.e.a);s.a<s.c.c.length;)a[(o=RR(xG(s),119)).d]+=o.b.a.c.length;u=jR(e);for(;0!=u.b;)for(i=zK(new ed((o=RR(0==u.b?null:(MP(0!=u.b),uJ(u,u.a.a)),119)).g.a));i.Ob();)(c=(n=RR(i.Pb(),211)).e).e=r.Math.max(c.e,o.e+n.a),--a[c.d],0==a[c.d]&&jX(u,c,u.c.b,u.c)}(t,t.n),t.d.c.length>0){for(Vy(t.c);tht(t,RR(xG(new ed(t.e.a)),119))<t.e.a.c.length;){for(a=(e=$rt(t)).e.e-e.d.e-e.a,e.e.j&&(a=-a),i=new ed(t.e.a);i.a<i.c.c.length;)(n=RR(xG(i),119)).j&&(n.e+=a);Vy(t.c)}Vy(t.c),Rct(t,RR(xG(new ed(t.e.a)),119)),cyt(t)}}function kdt(t,e){if(e instanceof Object)try{if(e.__java$exception=t,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(t){}}function Idt(t,e){var n,r,i,a,o;if(r=e>>5,e&=31,r>=t.d)return t.e<0?(rpt(),NFt):(rpt(),$Ft);if(a=t.d-r,function(t,e,n,r,i){var a,o,s;for(a=!0,o=0;o<r;o++)a&=0==n[o];if(0==i)Yvt(n,r,t,0,e),o=e;else{for(s=32-i,a&=n[o]<<s==0,o=0;o<e-1;o++)t[o]=n[o+r]>>>i|n[o+r+1]<<s;t[o]=n[o+r]>>>i,++o}}(i=hK(noe,uSt,24,a+1,15,1),a,t.a,r,e),t.e<0){for(n=0;n<r&&0==t.a[n];n++);if(n<r||e>0&&t.a[n]<<32-e!=0){for(n=0;n<a&&-1==i[n];n++)i[n]=0;n==a&&++a,++i[n]}}return JG(o=new nB(t.e,a,i)),o}function Mdt(t){var e,n,r,i;return n=new $d(i=VH(t)),r=new Vd(i),R3(e=new Vb,(!t.d&&(t.d=new nL(rne,t,8,5)),t.d)),R3(e,(!t.e&&(t.e=new nL(rne,t,7,4)),t.e)),RR(NX(S$(_$(new lj(null,new ZW(e,16)),n),r),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[(B5(),NBt),RBt]))),21)}function Cdt(t,e){var n,r,i;return ek(),!!e.Vj()||-2==e.Uj()&&(e==(mlt(),Rie)||e==Die||e==Oie||e==Lie||!(c7(i=t.Og(),e)>=0)&&(!(n=Xmt((yut(),Sie),i,e))||((r=n.Uj())>1||-1==r)&&3!=Zz(FZ(Sie,n))))}function Tdt(t,e,n,r){var i,a,o,s,u;return s=Yat(RR(sJ((!e.b&&(e.b=new nL(nne,e,4,7)),e.b),0),93)),u=Yat(RR(sJ((!e.c&&(e.c=new nL(nne,e,5,8)),e.c),0),93)),rW(s)==rW(u)||oJ(u,s)?null:(o=$H(e))==n?r:(a=RR(oz(t.a,o),10))&&(i=a.e)?i:null}function Adt(t,e,n){var r,i,a,o,s,u;if(r=function(t,e){return t?e-1:0}(n,t.length),(o=t[r])[0].k==(vst(),UHt))for(a=Ew(n,o.length),u=e.j,i=0;i<u.c.length;i++)TW(i,u.c.length),s=RR(u.c[i],11),(n?s.j==(dwt(),Dte):s.j==(dwt(),Qte))&&Ay($D(Bot(s,(dxt(),wqt))))&&(bq(u,i,RR(Bot(o[a],(dxt(),Oqt)),11)),a+=n?1:-1)}function Edt(t,e){var n,r,i,a,o;o=new Vb,n=e;do{(a=RR(oz(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=RR(oz(t.k,n),18)}while(n);return TW(0,o.c.length),(r=RR(o.c[0],128)).j=!0,r.A=RR(r.d.a.ec().Ic().Pb(),18).c.i,(i=RR(JN(o,o.c.length-1),128)).q=!0,i.C=RR(i.d.a.ec().Ic().Pb(),18).d.i,o}function Pdt(t){if(null==t.g)switch(t.p){case 0:t.g=function(t){if(0!=t.p)throw Jb(new wv);return z_(t.f,0)}(t)?(_P(),iFt):(_P(),rFt);break;case 1:t.g=dQ(function(t){if(1!=t.p)throw Jb(new wv);return QN(t.f)<<24>>24}(t));break;case 2:t.g=Y3(function(t){if(2!=t.p)throw Jb(new wv);return QN(t.f)&Y_t}(t));break;case 3:t.g=function(t){if(3!=t.p)throw Jb(new wv);return t.e}(t);break;case 4:t.g=new Vf(function(t){if(4!=t.p)throw Jb(new wv);return t.e}(t));break;case 6:t.g=mtt(function(t){if(6!=t.p)throw Jb(new wv);return t.f}(t));break;case 5:t.g=k8(function(t){if(5!=t.p)throw Jb(new wv);return QN(t.f)}(t));break;case 7:t.g=S8(function(t){if(7!=t.p)throw Jb(new wv);return QN(t.f)<<16>>16}(t))}return t.g}function Ddt(t){if(null==t.n)switch(t.p){case 0:t.n=function(t){if(0!=t.p)throw Jb(new wv);return z_(t.k,0)}(t)?(_P(),iFt):(_P(),rFt);break;case 1:t.n=dQ(function(t){if(1!=t.p)throw Jb(new wv);return QN(t.k)<<24>>24}(t));break;case 2:t.n=Y3(function(t){if(2!=t.p)throw Jb(new wv);return QN(t.k)&Y_t}(t));break;case 3:t.n=function(t){if(3!=t.p)throw Jb(new wv);return t.j}(t);break;case 4:t.n=new Vf(function(t){if(4!=t.p)throw Jb(new wv);return t.j}(t));break;case 6:t.n=mtt(function(t){if(6!=t.p)throw Jb(new wv);return t.k}(t));break;case 5:t.n=k8(function(t){if(5!=t.p)throw Jb(new wv);return QN(t.k)}(t));break;case 7:t.n=S8(function(t){if(7!=t.p)throw Jb(new wv);return QN(t.k)<<16>>16}(t))}return t.n}function Odt(t){var e,n,r,i,a,o;for(i=new ed(t.a.a);i.a<i.c.c.length;)(n=RR(xG(i),305)).g=0,n.i=0,n.e.a.$b();for(r=new ed(t.a.a);r.a<r.c.c.length;)for(e=(n=RR(xG(r),305)).a.a.ec().Ic();e.Ob();)for(o=RR(e.Pb(),56).c.Ic();o.Ob();)(a=RR(o.Pb(),56)).a!=n&&(cB(n.e,a),++a.a.g,++a.a.i)}function Ldt(t,e){var n,r,i,a,o,s,u,c;i=e?new da:new pa,a=!1;do{for(a=!1,o=(e?T2(t.b):t.b).Ic();o.Ob();)for(c=fG(RR(o.Pb(),29).a),e||new ry(c),u=new ed(c);u.a<u.c.c.length;)s=RR(xG(u),10),i.Mb(s)&&(r=s,n=RR(Bot(s,(dxt(),eqt)),303),a=Apt(r,e?n.b:n.k,e,!1))}while(a)}function Rdt(t,e){var n,i,a,o,s,u;return o=t.d,(u=Dy(VD(Bot(t,(Zwt(),uQt)))))<0&&S4(t,uQt,u=0),e.o.b=u,s=r.Math.floor(u/2),vct(i=new Dst,(dwt(),Qte)),OW(i,e),i.n.b=s,vct(a=new Dst,Dte),OW(a,e),a.n.b=s,EW(t,i),l3(n=new NV,t),S4(n,yQt,null),PW(n,a),EW(n,o),function(t,e,n){var r,i;r=e.c.i,i=n.d.i,r.k==(vst(),qHt)?(S4(t,(dxt(),Tqt),RR(Bot(r,Tqt),11)),S4(t,Aqt,RR(Bot(r,Aqt),11)),S4(t,Cqt,$D(Bot(r,Cqt)))):r.k==XHt?(S4(t,(dxt(),Tqt),RR(Bot(r,Tqt),11)),S4(t,Aqt,RR(Bot(r,Aqt),11)),S4(t,Cqt,(_P(),!0))):i.k==XHt?(S4(t,(dxt(),Tqt),RR(Bot(i,Tqt),11)),S4(t,Aqt,RR(Bot(i,Aqt),11)),S4(t,Cqt,(_P(),!0))):(S4(t,(dxt(),Tqt),e.c),S4(t,Aqt,n.d))}(e,t,n),function(t,e){var n,r;for(r=new tU(t.b,0);r.b<r.d.gc();)MP(r.b<r.d.gc()),n=RR(r.d.Xb(r.c=r.b++),69),RR(Bot(n,(Zwt(),JZt)),271)==(VJ(),v7t)&&(n$(r),LR(e.b,n),ZP(n,(dxt(),lqt))||S4(n,lqt,t))}(t,n),n}function Ndt(t,e,n,r){var i,a;return e?0==(i=t.a.ue(n.d,e.d))?(r.d=vO(e,n.e),r.b=!0,e):(a=i<0?0:1,e.a[a]=Ndt(t,e.a[a],n,r),Wy(e.a[a])&&(Wy(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Wy(e.a[a].a[a])?e=d0(e,1-a):Wy(e.a[a].a[1-a])&&(e=UG(e,1-a))),e):n}function jdt(t,e,n){var i,a,o,s;a=t.i,i=t.n,rY(t,(nJ(),Azt),a.c+i.b,n),rY(t,Pzt,a.c+a.b-i.c-n[2],n),s=a.b-i.b-i.c,n[0]>0&&(n[0]+=t.d,s-=n[0]),n[2]>0&&(n[2]+=t.d,s-=n[2]),o=r.Math.max(0,s),n[1]=r.Math.max(n[1],s),rY(t,Ezt,a.c+i.b+n[0]-(n[1]-s)/2,n),e==Ezt&&(t.c.b=o,t.c.c=a.c+i.b+(o-s)/2)}function Fdt(){this.c=hK(ooe,$St,24,(dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])).length,15,1),this.b=hK(ooe,$St,24,X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte]).length,15,1),this.a=hK(ooe,$St,24,X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte]).length,15,1),gk(this.c,RSt),gk(this.b,NSt),gk(this.a,NSt)}function Bdt(t,e,n){var r,i,a,o;if(e<=n?(i=e,a=n):(i=n,a=e),r=0,null==t.b)t.b=hK(noe,uSt,24,2,15,1),t.b[0]=i,t.b[1]=a,t.c=!0;else{if(r=t.b.length,t.b[r-1]+1==i)return void(t.b[r-1]=a);o=hK(noe,uSt,24,r+2,15,1),Yvt(t.b,0,o,0,r),t.b=o,t.b[r-1]>=i&&(t.c=!1,t.a=!1),t.b[r++]=i,t.b[r]=a,t.c||Rht(t)}}function zdt(t,e){var n,i,a;rW(t)&&(a=RR(Bot(e,(Zwt(),$Qt)),174),DC(_ht(t,nJt))===DC((Fat(),_te))&&Bet(t,nJt,xte),i=Dyt(new _y(rW(t)),new PP(rW(t)?new _y(rW(t)):null,t),!1,!0),l0(a,(ott(),see)),(n=RR(Bot(e,VQt),8)).a=r.Math.max(i.a,n.a),n.b=r.Math.max(i.b,n.b))}function $dt(t,e,n){var r,i,a,o,s,u;if(!DU(e)){for(qat(u=o2(n,(zA(e,15)?RR(e,15).gc():OU(e.Ic()))/t.a|0),EEt,1),s=new Mo,o=0,a=e.Ic();a.Ob();)r=RR(a.Pb(),83),s=u1(X3(uw(wjt,1),zxt,19,0,[s,new _g(r)])),o<r.f.b&&(o=r.f.b);for(i=e.Ic();i.Ob();)S4(r=RR(i.Pb(),83),(qmt(),J2t),o);Sst(u),$dt(t,s,n)}}function Vdt(t,e){var n,i,a,o,s,u,c;for(n=NSt,vst(),u=YHt,a=new ed(e.a);a.a<a.c.c.length;)(o=(i=RR(xG(a),10)).k)!=YHt&&(null==(s=VD(Bot(i,(dxt(),Rqt))))?(n=r.Math.max(n,0),i.n.b=n+CP(t.a,o,u)):i.n.b=(wz(s),s)),c=CP(t.a,o,u),i.n.b<n+c+i.d.d&&(i.n.b=n+c+i.d.d),n=i.n.b+i.o.b+i.d.a,u=o}function Hdt(t,e,n){var r,i,a;for(l3(a=new iht(ixt(Hst(Udt(e,!1,!1)),Dy(VD(_ht(e,(Cet(),nVt))))+t.a)),e),t$(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new FF(cne,e,1,7)),i=new SE(e.n);i.e!=i.i.gc();)r=rgt(t,RR(Htt(i),137),!0,0,0),n.c[n.c.length]=r;return a}function Wdt(t,e,n,r,i){var a,o,s;if(t.d&&t.d.gg(i),Cnt(t,n,RR(i.Xb(0),34),!1))return!0;if(Cnt(t,r,RR(i.Xb(i.gc()-1),34),!0))return!0;if(Xot(t,i))return!0;for(s=i.Ic();s.Ob();)for(o=RR(s.Pb(),34),a=e.Ic();a.Ob();)if(bpt(t,o,RR(a.Pb(),34)))return!0;return!1}function Gdt(t,e,n,r){var i,a,o,s;for(i=RR(Fst(e,(dwt(),Qte)).Ic().Pb(),11),a=RR(Fst(e,Dte).Ic().Pb(),11),s=new ed(t.j);s.a<s.c.c.length;){for(o=RR(xG(s),11);0!=o.e.c.length;)EW(RR(JN(o.e,0),18),i);for(;0!=o.g.c.length;)PW(RR(JN(o.g,0),18),a)}n||S4(e,(dxt(),Tqt),null),r||S4(e,(dxt(),Aqt),null)}function Udt(t,e,n){var r,i;if(0==(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i)return a4(t);if(r=RR(sJ((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),0),201),e&&(Omt((!r.a&&(r.a=new fE(Jee,r,5)),r.a)),qJ(r,0),QJ(r,0),KJ(r,0),ZJ(r,0)),n)for(!t.a&&(t.a=new FF(ine,t,6,6)),i=t.a;i.i>1;)Kdt(i,i.i-1);return r}function Xdt(t,e){var n,r,i,a,o,s;for(n=new $b,i=new ed(t.b);i.a<i.c.c.length;){for(s=!0,r=0,o=new ed(RR(xG(i),29).a);o.a<o.c.c.length;)switch((a=RR(xG(o),10)).k.g){case 4:++r;case 1:BU(n,a);break;case 0:Uut(a,e);default:n.b==n.c||Zgt(n,r,s,!1,e),s=!1,r=0}n.b==n.c||Zgt(n,r,s,!0,e)}}function qdt(t,e){var n,r,i,a,o,s;for(n=0,s=new ed(e);s.a<s.c.c.length;){for(o=RR(xG(s),11),q5(t.b,t.d[o.p]),i=new hY(o.b);IA(i.a)||IA(i.b);)(a=Ux(t,o==(r=RR(IA(i.a)?xG(i.a):xG(i.b),18)).c?r.d:r.c))>t.d[o.p]&&(n+=vq(t.b,a),FU(t.a,k8(a)));for(;!Hy(t.a);)lQ(t.b,RR(hB(t.a),20).a)}return n}function Ydt(t,e,n){var r,i,a,o;for(a=(!e.a&&(e.a=new FF(lne,e,10,11)),e.a).i,i=new SE((!e.a&&(e.a=new FF(lne,e,10,11)),e.a));i.e!=i.i.gc();)0==(!(r=RR(Htt(i),34)).a&&(r.a=new FF(lne,r,10,11)),r.a).i||(a+=Ydt(t,r,!1));if(n)for(o=rW(e);o;)a+=(!o.a&&(o.a=new FF(lne,o,10,11)),o.a).i,o=rW(o);return a}function Kdt(t,e){var n,r,i,a;return t._i()?(r=null,i=t.aj(),t.dj()&&(r=t.fj(t.ki(e),null)),n=t.Ui(4,a=Nrt(t,e),null,e,i),t.Yi()&&null!=a?(r=t.$i(a,r))?(r.zi(n),r.Ai()):t.Vi(n):r?(r.zi(n),r.Ai()):t.Vi(n),a):(a=Nrt(t,e),t.Yi()&&null!=a&&(r=t.$i(a,null))&&r.Ai(),a)}function Zdt(){Zdt=S,TXt=new TI("COMMENTS",0),EXt=new TI("EXTERNAL_PORTS",1),PXt=new TI("HYPEREDGES",2),DXt=new TI("HYPERNODES",3),OXt=new TI("NON_FREE_PORTS",4),LXt=new TI("NORTH_SOUTH_PORTS",5),NXt=new TI(RCt,6),CXt=new TI("CENTER_LABELS",7),AXt=new TI("END_LABELS",8),RXt=new TI("PARTITIONS",9)}function Qdt(t){var e,n,r,i,a;for(i=new Vb,e=new YN((!t.a&&(t.a=new FF(lne,t,10,11)),t.a)),r=new xF(zE(uft(t).a.Ic(),new p));Qlt(r);)zA(sJ((!(n=RR(dq(r),80)).b&&(n.b=new nL(nne,n,4,7)),n.b),0),199)||(a=Yat(RR(sJ((!n.c&&(n.c=new nL(nne,n,5,8)),n.c),0),93)),e.a._b(a)||(i.c[i.c.length]=a));return i}function Jdt(){Jdt=S,cUt=new P$(vIt,0,(dwt(),Ote),Ote),fUt=new P$(yIt,1,Kte,Kte),uUt=new P$(mIt,2,Dte,Dte),gUt=new P$(wIt,3,Qte,Qte),hUt=new P$("NORTH_WEST_CORNER",4,Qte,Ote),lUt=new P$("NORTH_EAST_CORNER",5,Ote,Dte),pUt=new P$("SOUTH_WEST_CORNER",6,Kte,Qte),dUt=new P$("SOUTH_EAST_CORNER",7,Dte,Kte)}function tpt(){tpt=S,Q6t=X3(uw(ioe,1),FSt,24,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),r.Math.pow(2,-65)}function ept(t,e){var n,r,i,a,o;if(0==t.c.length)return new KM(k8(0),k8(0));for(n=(TW(0,t.c.length),RR(t.c[0],11)).j,o=0,a=e.g,r=e.g+1;o<t.c.length-1&&n.g<a;)n=(TW(++o,t.c.length),RR(t.c[o],11)).j;for(i=o;i<t.c.length-1&&n.g<r;)++i,n=(TW(o,t.c.length),RR(t.c[o],11)).j;return new KM(k8(o),k8(i))}function npt(t,e,n){var i,a,o,s,u,c,l,h,f,d;for(o=e.c.length,TW(n,e.c.length),u=(s=RR(e.c[n],285)).a.o.a,f=s.c,d=0,l=s.c;l<=s.f;l++){if(u<=t.a[l])return l;for(h=t.a[l],c=null,a=n+1;a<o;a++)TW(a,e.c.length),(i=RR(e.c[a],285)).c<=l&&i.f>=l&&(c=i);c&&(h=r.Math.max(h,c.a.o.a)),h>d&&(f=l,d=h)}return f}function rpt(){var t;for(rpt=S,jFt=new xY(1,1),BFt=new xY(1,10),$Ft=new xY(0,0),NFt=new xY(-1,1),FFt=X3(uw(XFt,1),u_t,90,0,[$Ft,jFt,new xY(1,2),new xY(1,3),new xY(1,4),new xY(1,5),new xY(1,6),new xY(1,7),new xY(1,8),new xY(1,9),BFt]),zFt=hK(XFt,u_t,90,32,0,1),t=0;t<zFt.length;t++)zFt[t]=vtt(xN(1,t))}function ipt(t,e){var n;switch(n=null,e.g){case 1:t.e.Ye((fxt(),T9t))&&(n=RR(t.e.Xe(T9t),248));break;case 3:t.e.Ye((fxt(),A9t))&&(n=RR(t.e.Xe(A9t),248));break;case 2:t.e.Ye((fxt(),C9t))&&(n=RR(t.e.Xe(C9t),248));break;case 4:t.e.Ye((fxt(),E9t))&&(n=RR(t.e.Xe(E9t),248))}return!n&&(n=RR(t.e.Xe((fxt(),I9t)),248)),n}function apt(t,e,n){var r,i,a,o,s,u;for(e.p=1,i=e.c,u=v7(e,(M1(),N1t)).Ic();u.Ob();)for(r=new ed(RR(u.Pb(),11).g);r.a<r.c.c.length;)e!=(s=RR(xG(r),18).d.i)&&s.c.p<=i.p&&((a=i.p+1)==n.b.c.length?((o=new bz(n)).p=a,LR(n.b,o),DW(s,o)):DW(s,o=RR(JN(n.b,a),29)),apt(t,s,n))}function opt(t,e,n){var i,a,o,s,u,c;for(a=n,o=0,u=new ed(e);u.a<u.c.c.length;)Bet(s=RR(xG(u),34),(V5(),p4t),k8(a++)),c=Qdt(s),i=r.Math.atan2(s.j+s.f/2,s.i+s.g/2),(i+=i<0?FEt:0)<.7853981633974483||i>nPt?kA(c,t.b):i<=nPt&&i>rPt?kA(c,t.d):i<=rPt&&i>iPt?kA(c,t.c):i<=iPt&&kA(c,t.a),o=opt(t,c,o);return a}function spt(t,e,n,r,i,a){var o,s,u,c;for(s=!Bx(_$(t.Mc(),new gd(new qn))).sd((xS(),BBt)),o=t,a==(E8(),p7t)&&(o=zA(o,151)?Qq(RR(o,151)):zA(o,131)?RR(o,131).a:zA(o,53)?new ry(o):new D_(o)),c=o.Ic();c.Ob();)(u=RR(c.Pb(),69)).n.a=e.a,u.n.b=s?e.b+(r.b-u.o.b)/2:i?e.b:e.b+r.b-u.o.b,e.a+=u.o.a+n}function upt(t,e,n,r){var i,a,o,s,u;for(i=(r.c+r.a)/2,sV(e.j),vN(e.j,i),sV(n.e),vN(n.e,i),u=new Vw,o=new ed(t.f);o.a<o.c.c.length;)Kit(u,e,s=RR(xG(o),129).a),Kit(u,n,s);for(a=new ed(t.k);a.a<a.c.c.length;)Kit(u,e,s=RR(xG(a),129).b),Kit(u,n,s);return u.b+=2,u.a+=pV(e,t.q),u.a+=pV(t.q,n),u}function cpt(t,e,n){var r,i,a,o,s;if(!DU(e)){for(qat(s=o2(n,(zA(e,15)?RR(e,15).gc():OU(e.Ic()))/t.a|0),EEt,1),o=new To,a=null,i=e.Ic();i.Ob();)r=RR(i.Pb(),83),o=u1(X3(uw(wjt,1),zxt,19,0,[o,new _g(r)])),a&&(S4(a,(qmt(),a3t),r),S4(r,Z2t,a),pK(r)==pK(a)&&(S4(a,o3t,r),S4(r,Q2t,a))),a=r;Sst(s),cpt(t,o,n)}}function lpt(t){var e,n,r,i,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(QZ(),Hzt)?s+=(n.a-t.e.b)/2:t.f==Vzt&&(s+=n.a-t.e.b),i=new ed(t.d);i.a<i.c.c.length;){switch(o=(r=RR(xG(i),183)).pf(),(a=new fx).b=s,s+=o.b+t.a,t.b.g){case 0:a.a=n.c+e.b;break;case 1:a.a=n.c+e.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-e.c-o.a}r.rf(a)}}function hpt(t){var e,n,r,i,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(JK(),Lzt)?s+=(n.b-t.e.a)/2:t.b==Nzt&&(s+=n.b-t.e.a),i=new ed(t.d);i.a<i.c.c.length;){switch(o=(r=RR(xG(i),183)).pf(),(a=new fx).a=s,s+=o.a+t.a,t.f.g){case 0:a.b=n.d+e.d;break;case 1:a.b=n.d+e.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-e.a-o.b}r.rf(a)}}function fpt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;c=n.a.c,o=n.a.c+n.a.b,f=(a=RR(oz(n.c,e),453)).f,d=a.a,s=new YM(c,f),l=new YM(o,d),i=c,n.p||(i+=t.c),u=new YM(i+=n.F+n.v*t.b,f),h=new YM(i,d),y1(e.a,X3(uw(t8t,1),u_t,8,0,[s,u])),n.d.a.gc()>1&&(r=new YM(i,n.b),vN(e.a,r)),y1(e.a,X3(uw(t8t,1),u_t,8,0,[h,l]))}function dpt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,IDt),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Bs))),rU(t,IDt,qIt,ree),rU(t,IDt,bMt,15),rU(t,IDt,mMt,k8(0)),rU(t,IDt,XIt,dMt)}function ppt(){var t,e,n,r,i,a;for(ppt=S,wae=hK(aoe,iOt,24,255,15,1),xae=hK(eoe,q_t,24,16,15,1),e=0;e<255;e++)wae[e]=-1;for(n=57;n>=48;n--)wae[n]=n-48<<24>>24;for(r=70;r>=65;r--)wae[r]=r-65+10<<24>>24;for(i=102;i>=97;i--)wae[i]=i-97+10<<24>>24;for(a=0;a<10;a++)xae[a]=48+a&Y_t;for(t=10;t<=15;t++)xae[t]=65+t-10&Y_t}function gpt(t){var e;if(10!=t.c)throw Jb(new Zy(xxt((pA(),tLt))));switch(e=t.a){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw Jb(new Zy(xxt((pA(),ELt))))}return e}function bpt(t,e,n){var r,i,a,o,s,u,c,l;return s=e.i-t.g/2,u=n.i-t.g/2,c=e.j-t.g/2,l=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,r=e.f+t.g/2,i=n.f+t.g/2,s<u+o&&u<s&&c<l+i&&l<c||(u<s+a&&s<u&&l<c+r&&c<l||(s<u+o&&u<s&&c<l&&l<c+r||u<s+a&&s<u&&c<l+i&&l<c))}function vpt(t,e){var n,i,a,o,s,u,c,l,h;if(o=RR(RR(Kq(t.r,e),21),81),s=t.t.Fc((aot(),Tte)),n=t.t.Fc(Ite),c=t.t.Fc(Ate),h=t.A.Fc((Vgt(),wee)),l=!n&&(c||2==o.gc()),function(t,e){var n,r,i,a,o,s;for(o=RR(RR(Kq(t.r,e),21),81).Ic();o.Ob();)(n=(a=RR(o.Pb(),110)).c?EN(a.c):0)>0?a.a?n>(s=a.b.pf().a)&&(i=(n-s)/2,a.d.b=i,a.d.c=i):a.d.c=t.s+n:PF(t.t)&&((r=lot(a.b)).c<0&&(a.d.b=-r.c),r.c+r.b>a.b.pf().a&&(a.d.c=r.c+r.b-a.b.pf().a))}(t,e),i=null,u=null,s){for(u=i=RR((a=o.Ic()).Pb(),110);a.Ob();)u=RR(a.Pb(),110);i.d.b=0,u.d.c=0,l&&!i.a&&(i.d.c=0)}h&&(!function(t){var e,n,i,a,o;for(e=0,n=0,o=t.Ic();o.Ob();)i=RR(o.Pb(),110),e=r.Math.max(e,i.d.b),n=r.Math.max(n,i.d.c);for(a=t.Ic();a.Ob();)(i=RR(a.Pb(),110)).d.b=e,i.d.c=n}(o),s&&(i.d.b=0,u.d.c=0))}function mpt(t,e){var n,i,a,o,s,u,c,l,h;if(o=RR(RR(Kq(t.r,e),21),81),s=t.t.Fc((aot(),Tte)),n=t.t.Fc(Ite),u=t.t.Fc(Ate),h=t.A.Fc((Vgt(),wee)),c=!n&&(u||2==o.gc()),function(t,e){var n,i,a,o,s,u,c;for(u=RR(RR(Kq(t.r,e),21),81).Ic();u.Ob();)(i=(s=RR(u.Pb(),110)).c?AN(s.c):0)>0?s.a?i>(c=s.b.pf().b)&&(t.u||1==s.c.d.c.length?(o=(i-c)/2,s.d.d=o,s.d.a=o):(n=(RR(JN(s.c.d,0),183).pf().b-c)/2,s.d.d=r.Math.max(0,n),s.d.a=i-n-c)):s.d.a=t.s+i:PF(t.t)&&((a=lot(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.pf().b&&(s.d.a=a.d+a.a-s.b.pf().b))}(t,e),l=null,i=null,s){for(i=l=RR((a=o.Ic()).Pb(),110);a.Ob();)i=RR(a.Pb(),110);l.d.d=0,i.d.a=0,c&&!l.a&&(l.d.a=0)}h&&(!function(t){var e,n,i,a,o;for(n=0,e=0,o=t.Ic();o.Ob();)i=RR(o.Pb(),110),n=r.Math.max(n,i.d.d),e=r.Math.max(e,i.d.a);for(a=t.Ic();a.Ob();)(i=RR(a.Pb(),110)).d.d=n,i.d.a=e}(o),s&&(l.d.d=0,i.d.a=0))}function ypt(t){var e,n,r,i,a;if(!t.c){if(a=new bu,null==(e=Jre).a.xc(t,e)){for(r=new SE(pX(t));r.e!=r.i.gc();)zA(i=Dbt(n=RR(Htt(r),86)),87)&&QB(a,ypt(RR(i,26))),EK(a,n);e.a.zc(t),e.a.gc()}!function(t){var e,n,r,i;for(n=RR(t.g,662),r=t.i-1;r>=0;--r)for(e=n[r],i=0;i<r;++i)if(Rbt(t,e,n[i])){Nrt(t,r);break}}(a),Y5(a),t.c=new hT((RR(sJ(kV((VB(),kre).o),15),17),a.i),a.g),$q(t).b&=-33}return t.c}function wpt(t){var e,n,r,i;if(0==t.l&&0==t.m&&0==t.h)return"0";if(t.h==MSt&&0==t.m&&0==t.l)return"-9223372036854775808";if(t.h>>19!=0)return"-"+wpt(w4(t));for(n=t,r="";0!=n.l||0!=n.m||0!=n.h;){if(n=$mt(n,Lq(ASt),!0),e=""+Lx(Qjt),0!=n.l||0!=n.m||0!=n.h)for(i=9-e.length;i>0;i--)e="0"+e;r=e+r}return r}function xpt(t,e,n,i){var a,o,s,u;if(OU((aR(),new xF(zE(d9(e).a.Ic(),new p))))>=t.a)return-1;if(!Vat(e,n))return-1;if(DU(RR(i.Kb(e),19)))return 1;for(a=0,s=RR(i.Kb(e),19).Ic();s.Ob();){if(-1==(u=xpt(t,(o=RR(s.Pb(),18)).c.i==e?o.d.i:o.c.i,n,i)))return-1;if((a=r.Math.max(a,u))>t.c-1)return-1}return a+1}function _pt(t,e){var n,r,i,a,o,s;if(DC(e)===DC(t))return!0;if(!zA(e,14))return!1;if(r=RR(e,14),s=t.gc(),r.gc()!=s)return!1;if(o=r.Ic(),t.ii()){for(n=0;n<s;++n)if(i=t.fi(n),a=o.Pb(),null==i?null!=a:!u8(i,a))return!1}else for(n=0;n<s;++n)if(i=t.fi(n),a=o.Pb(),DC(i)!==DC(a))return!1;return!0}function Spt(t,e){var n,r,i,a,o,s;if(t.f>0)if(t.lj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(r=RR(n.g,364),s=n.i,o=0;o<s;++o)if(u8(e,(i=r[o]).bd()))return!0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(r=RR(n.g,364),s=n.i,o=0;o<s;++o)if(i=r[o],DC(e)===DC(i.bd()))return!0;return!1}function kpt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw Jb(new hw("Invalid hexadecimal"))}}function Ipt(t,e,n){var i,a,o,s;qat(n,"Orthogonally routing hierarchical port edges",1),t.a=0,i=function(t){var e,n,r,i,a,o,s,u,c,l,h;if(u=new Vb,!ZP(t,(dxt(),fqt)))return u;for(r=RR(Bot(t,fqt),14).Ic();r.Ob();)Smt(e=RR(r.Pb(),10),t),u.c[u.c.length]=e;for(i=new ed(t.b);i.a<i.c.c.length;)for(o=new ed(RR(xG(i),29).a);o.a<o.c.c.length;)(a=RR(xG(o),10)).k==(vst(),UHt)&&(s=RR(Bot(a,dqt),10))&&(OW(c=new Dst,a),vct(c,RR(Bot(a,pqt),61)),l=RR(JN(s.j,0),11),PW(h=new NV,c),EW(h,l));for(n=new ed(u);n.a<n.c.c.length;)DW(e=RR(xG(n),10),RR(JN(t.b,t.b.c.length-1),29));return u}(e),function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b;for(n=RR(Bot(t,(Zwt(),nJt)),100),s=t.f,o=t.d,u=s.a+o.b+o.c,c=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new Vb,f=new Vb,a=new ed(e);a.a<a.c.c.length;){switch(i=RR(xG(a),10),n.g){case 1:case 2:case 3:Zft(i);break;case 4:p=(d=RR(Bot(i,tJt),8))?d.a:0,i.n.a=u*Dy(VD(Bot(i,(dxt(),Vqt))))-p,x3(i,!0,!1);break;case 5:b=(g=RR(Bot(i,tJt),8))?g.a:0,i.n.a=Dy(VD(Bot(i,(dxt(),Vqt))))-b,x3(i,!0,!1),s.a=r.Math.max(s.a,i.n.a+i.o.a/2)}switch(RR(Bot(i,(dxt(),pqt)),61).g){case 1:i.n.b=c,l.c[l.c.length]=i;break;case 3:i.n.b=h,f.c[f.c.length]=i}}switch(n.g){case 1:case 2:f8(l,t),f8(f,t);break;case 3:d8(l,t),d8(f,t)}}(e,i),function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;for(u=new XT,c=new XT,f=new XT,d=new XT,s=Dy(VD(Bot(e,(Zwt(),AJt)))),i=Dy(VD(Bot(e,wJt))),o=new ed(n);o.a<o.c.c.length;)if(a=RR(xG(o),10),(l=RR(Bot(a,(dxt(),pqt)),61))==(dwt(),Ote))for(c.a.xc(a,c),r=new xF(zE(p9(a).a.Ic(),new p));Qlt(r);)cB(u,RR(dq(r),18).c.i);else if(l==Kte)for(d.a.xc(a,d),r=new xF(zE(p9(a).a.Ic(),new p));Qlt(r);)cB(f,RR(dq(r),18).c.i);0!=u.a.gc()&&(h=wyt(new BB(2,i),e,u,c,-s-e.c.b))>0&&(t.a=s+(h-1)*i,e.c.b+=t.a,e.f.b+=t.a);0!=f.a.gc()&&(h=wyt(new BB(1,i),e,f,d,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(h-1)*i)}(t,e,i),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k;for(y=new Vb,h=new ed(t.b);h.a<h.c.c.length;)for(p=new ed(RR(xG(h),29).a);p.a<p.c.c.length;)if((f=RR(xG(p),10)).k==(vst(),UHt)&&ZP(f,(dxt(),dqt))){for(g=null,v=null,b=null,_=new ed(f.j);_.a<_.c.c.length;)switch((x=RR(xG(_),11)).j.g){case 4:g=x;break;case 2:v=x;break;default:b=x}for(c=new ux((m=RR(JN(b.g,0),18)).a),zO(u=new uA(b.n),f.n),MB(het(c,0),u),w=i5(m.a),zO(l=new uA(b.n),f.n),jX(w,l,w.c.b,w.c),S=RR(Bot(f,dqt),10),k=RR(JN(S.j,0),11),a=0,s=(r=RR(eet(g.e,hK(VHt,YMt,18,0,0,1)),468)).length;a<s;++a)EW(e=r[a],k),U5(e.a,e.a.b,c);for(i=0,o=(n=gU(v.g)).length;i<o;++i)PW(e=n[i],k),U5(e.a,0,w);PW(m,null),EW(m,null),y.c[y.c.length]=f}for(d=new ed(y);d.a<d.c.c.length;)DW(f=RR(xG(d),10),null)}(e),a=RR(Bot(e,(Zwt(),nJt)),100),Xyt((TW(0,(o=e.b).c.length),RR(o.c[0],29)),a,e),Xyt(RR(JN(o,o.c.length-1),29),a,e),Ivt((TW(0,(s=e.b).c.length),RR(s.c[0],29))),Ivt(RR(JN(s,s.c.length-1),29)),Sst(n)}function Mpt(t,e,n){var r,i,a,o;for(qat(n,"Processor order nodes",2),t.a=Dy(VD(Bot(e,(_st(),x3t)))),i=new sS,o=het(e.b,0);o.b!=o.d.c;)Ay($D(Bot(a=RR(zU(o),83),(qmt(),s3t))))&&jX(i,a,i.c.b,i.c);MP(0!=i.b),mmt(t,r=RR(i.a.a.c,83)),!n.b&&K1(n,1),Ypt(t,r,0-Dy(VD(Bot(r,(qmt(),J2t))))/2,0),!n.b&&K1(n,1),Sst(n)}function Cpt(){Cpt=S,Szt=new Ek("SPIRAL",0),mzt=new Ek("LINE_BY_LINE",1),yzt=new Ek("MANHATTAN",2),vzt=new Ek("JITTER",3),xzt=new Ek("QUADRANTS_LINE_BY_LINE",4),_zt=new Ek("QUADRANTS_MANHATTAN",5),wzt=new Ek("QUADRANTS_JITTER",6),bzt=new Ek("COMBINE_LINE_BY_LINE_MANHATTAN",7),gzt=new Ek("COMBINE_JITTER_MANHATTAN",8)}function Tpt(t,e,n,r,i,a){if(this.b=n,this.d=i,t>=e.length)throw Jb(new My("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new SL(r),k0(this.e,this.c,(dwt(),Qte)),this.i=new SL(r),k0(this.i,this.c,Dte),this.f=new gj(this.c),this.a=!a&&i.i&&!i.s&&this.c[0].k==(vst(),UHt),this.a&&function(t,e,n){var r,i,a,o,s,u,c;s=(a=t.d.p).e,u=a.r,t.g=new SL(u),r=(o=t.d.o.c.p)>0?s[o-1]:hK(ZHt,KMt,10,0,0,1),i=s[o],c=o<s.length-1?s[o+1]:hK(ZHt,KMt,10,0,0,1),e==n-1?qH(t.g,i,c):qH(t.g,r,i)}(this,t,e.length)}function Apt(t,e,n,r){var i,a,o,s,u,c;for(u=Yit(t,n),c=Yit(e,n),i=!1;u&&c&&(r||Drt(u,c,n));)o=Yit(u,n),s=Yit(c,n),XZ(e),XZ(t),a=u.c,nyt(u,!1),nyt(c,!1),n?(Hrt(e,c.p,a),e.p=c.p,Hrt(t,u.p+1,a),t.p=u.p):(Hrt(t,u.p,a),t.p=u.p,Hrt(e,c.p+1,a),e.p=c.p),DW(u,null),DW(c,null),u=o,c=s,i=!0;return i}function Ept(t,e,n,r){var i,a,o,s,u;for(i=!1,a=!1,s=new ed(r.j);s.a<s.c.c.length;)DC(Bot(o=RR(xG(s),11),(dxt(),Oqt)))===DC(n)&&(0==o.g.c.length?0==o.e.c.length||(i=!0):a=!0);return u=0,i&&i^a?u=n.j==(dwt(),Ote)?-t.e[r.c.p][r.p]:e-t.e[r.c.p][r.p]:a&&i^a?u=t.e[r.c.p][r.p]+1:i&&a&&(u=n.j==(dwt(),Ote)?0:e/2),u}function Ppt(t,e,n,r,i,a,o,s){var u,c,l;for(u=0,null!=e&&(u^=snt(e.toLowerCase())),null!=n&&(u^=snt(n)),null!=r&&(u^=snt(r)),null!=o&&(u^=snt(o)),null!=s&&(u^=snt(s)),c=0,l=a.length;c<l;c++)u^=snt(a[c]);t?u|=256:u&=-257,i?u|=16:u&=-17,this.f=u,this.i=null==e?null:(wz(e),e),this.a=n,this.d=r,this.j=a,this.g=o,this.e=s}function Dpt(t,e,n){var r,i;switch(i=null,e.g){case 1:f2(),i=nWt;break;case 2:f2(),i=iWt}switch(r=null,n.g){case 1:f2(),r=rWt;break;case 2:f2(),r=eWt;break;case 3:f2(),r=aWt;break;case 4:f2(),r=oWt}return i&&r?SR(t.j,new Dh(new $y(X3(uw(mjt,1),zxt,169,0,[RR(wB(i),169),RR(wB(r),169)])))):(mV(),mV(),YFt)}function Opt(t){var e,n,r;switch(e=RR(Bot(t,(Zwt(),VQt)),8),S4(t,VQt,new YM(e.b,e.a)),RR(Bot(t,AZt),247).g){case 1:S4(t,AZt,(ant(),o8t));break;case 2:S4(t,AZt,(ant(),n8t));break;case 3:S4(t,AZt,(ant(),i8t));break;case 4:S4(t,AZt,(ant(),a8t))}(t.q?t.q:(mV(),mV(),KFt))._b(cJt)&&(r=(n=RR(Bot(t,cJt),8)).a,n.a=n.b,n.b=r)}function Lpt(t){var e,n,i;switch((e=RR(Bot(t.d,(Zwt(),eQt)),216)).g){case 2:n=function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,g,b;for(g=new Vb,h=new ed(t.d.b);h.a<h.c.c.length;)for(d=new ed(RR(xG(h),29).a);d.a<d.c.c.length;){for(f=RR(xG(d),10),i=RR(oz(t.f,f),56),u=new xF(zE(g9(f).a.Ic(),new p));Qlt(u);)if(c=!0,l=null,(r=het((o=RR(dq(u),18)).a,0)).b!=r.d.c){for(e=RR(zU(r),8),n=null,o.c.j==(dwt(),Ote)&&((b=new Tvt(e,new YM(e.a,i.d.d),i,o)).f.a=!0,b.a=o.c,g.c[g.c.length]=b),o.c.j==Kte&&((b=new Tvt(e,new YM(e.a,i.d.d+i.d.a),i,o)).f.d=!0,b.a=o.c,g.c[g.c.length]=b);r.b!=r.d.c;)n=RR(zU(r),8),TJ(e.b,n.b)||(l=new Tvt(e,n,null,o),g.c[g.c.length]=l,c&&(c=!1,n.b<i.d.d?l.f.a=!0:n.b>i.d.d+i.d.a?l.f.d=!0:(l.f.d=!0,l.f.a=!0))),r.b!=r.d.c&&(e=n);l&&(a=RR(oz(t.f,o.d.i),56),e.b<a.d.d?l.f.a=!0:e.b>a.d.d+a.d.a?l.f.d=!0:(l.f.d=!0,l.f.a=!0))}for(s=new xF(zE(p9(f).a.Ic(),new p));Qlt(s);)0!=(o=RR(dq(s),18)).a.b&&(e=RR(HP(o.a),8),o.d.j==(dwt(),Ote)&&((b=new Tvt(e,new YM(e.a,i.d.d),i,o)).f.a=!0,b.a=o.d,g.c[g.c.length]=b),o.d.j==Kte&&((b=new Tvt(e,new YM(e.a,i.d.d+i.d.a),i,o)).f.d=!0,b.a=o.d,g.c[g.c.length]=b))}return g}(t);break;case 3:i=new Vb,uS(_$(S$(oQ(oQ(new lj(null,new ZW(t.d.b,16)),new Mi),new Ci),new Ti),new di),new Fp(i)),n=i;break;default:throw Jb(new jy("Compaction not supported for "+e+" edges."))}!function(t,e){var n,i,a,o,s,u,c;if(0==e.c.length)return;mV(),Cj(e.c,e.c.length,null),a=new ed(e),i=RR(xG(a),145);for(;a.a<a.c.c.length;)n=RR(xG(a),145),!TJ(i.e.c,n.e.c)||V7(qD(i.e).b,n.e.d)||V7(qD(n.e).b,i.e.d)?(Sbt(t,i),i=n):(R3(i.k,n.k),R3(i.b,n.b),R3(i.c,n.c),W0(i.i,n.i),R3(i.d,n.d),R3(i.j,n.j),o=r.Math.min(i.e.c,n.e.c),s=r.Math.min(i.e.d,n.e.d),u=r.Math.max(i.e.c+i.e.b,n.e.c+n.e.b)-o,c=r.Math.max(i.e.d+i.e.a,n.e.d+n.e.a)-s,HR(i.e,o,s,u,c),hG(i.f,n.f),!i.a&&(i.a=n.a),R3(i.g,n.g),LR(i.g,n));Sbt(t,i)}(t,n),yq(new Ff(t.g),new Np(t))}function Rpt(t,e){var n,i,a;for(a=RR(JN(t.n,t.n.c.length-1),209).d,t.p=r.Math.min(t.p,e.g+t.i),t.r=r.Math.max(t.r,a),t.g=r.Math.max(t.g,e.g+t.i),t.o=r.Math.min(t.o,e.f+t.i),t.e+=e.f+t.i,t.f=r.Math.max(t.f,e.f+t.i),i=0,n=new ed(t.n);n.a<n.c.c.length;)i+=RR(xG(n),209).a;t.d=i,t.a=t.e/t.b.c.length,Z7(t.j)}function Npt(){Npt=S,h6t=new vb(SPt),jS(),c6t=new cT(TPt,l6t=m6t),I3(),s6t=new cT(kPt,u6t=x6t),jst(),a6t=new cT(IPt,o6t=P5t),e6t=new cT(MPt,null),TY(),r6t=new cT(CPt,i6t=M5t),LS(),K5t=new cT(APt,Z5t=x5t),Q5t=new cT(EPt,(_P(),!1)),J5t=new cT(PPt,k8(64)),t6t=new cT(DPt,!0),n6t=C5t}function jpt(t){var e,n,r,i,a;if(null==t.a)if(t.a=hK(roe,Zkt,24,t.c.b.c.length,16,1),t.a[0]=!1,ZP(t.c,(Zwt(),GJt)))for(n=RR(Bot(t.c,GJt),14).Ic();n.Ob();)(e=RR(n.Pb(),20).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new ed(t.c.b)).a<a.c.c.length&&xG(a),r=1;a.a<a.c.c.length;)i=RR(xG(a),29),t.a[r++]=Kht(i)}function Fpt(t,e,n,r,i){var a,o;try{if(e>=t.o)throw Jb(new rm);o=e>>5,a=xN(1,QN(xN(31&e,1))),t.n[n][o]=i?kH(t.n[n][o],a):SH(t.n[n][o],dO(a)),a=xN(a,1),t.n[n][o]=r?kH(t.n[n][o],a):SH(t.n[n][o],dO(a))}catch(r){throw zA(r=m3(r),318)?Jb(new My(SIt+t.o+"*"+t.p+kIt+e+Fxt+n+IIt)):Jb(r)}}function Bpt(t,e){var n,r;switch(r=t.b,e){case 1:t.b|=1,t.b|=4,t.b|=8;break;case 2:t.b|=2,t.b|=4,t.b|=8;break;case 4:t.b|=1,t.b|=2,t.b|=4,t.b|=8;break;case 3:t.b|=16,t.b|=8;break;case 0:t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4}if(t.b!=r&&t.c)for(n=new SE(t.c);n.e!=n.i.gc();)uct($q(RR(Htt(n),467)),e)}function zpt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d;for(i=!1,s=0,u=(o=e).length;s<u;++s)a=o[s],Ay((_P(),!!a.e))&&!RR(JN(t.b,a.e.p),231).s&&(i|=(c=a.e,(h=(l=RR(JN(t.b,c.p),231)).e)[f=Ew(n,h.length)][0].k==(vst(),UHt)?h[f]=Wft(a,h[f],n?(dwt(),Qte):(dwt(),Dte)):l.c.Qf(h,n),d=Mht(t,l,n,r),Adt(l.e,l.o,n),d));return i}function $pt(t,e){var n,r,i,a,o;for(a=(!e.a&&(e.a=new FF(lne,e,10,11)),e.a).i,i=new SE((!e.a&&(e.a=new FF(lne,e,10,11)),e.a));i.e!=i.i.gc();)DC(_ht(r=RR(Htt(i),34),(fxt(),K8t)))!==DC((P8(),G7t))&&((o=RR(_ht(e,G9t),149))==(n=RR(_ht(r,G9t),149))||o&&Bq(o,n))&&0!=(!r.a&&(r.a=new FF(lne,r,10,11)),r.a).i&&(a+=$pt(t,r));return a}function Vpt(t,e,n){var r,i,a,o,s;if(r=e.k,e.p>=0)return!1;if(e.p=n.b,LR(n.e,e),r==(vst(),qHt)||r==KHt)for(i=new ed(e.j);i.a<i.c.c.length;)for(s=new ep(new ed(new tp(RR(xG(i),11)).a.g));IA(s.a);)if(o=(a=RR(xG(s.a),18).d.i).k,e.c!=a.c&&(o==qHt||o==KHt)&&Vpt(t,a,n))return!0;return!0}function Hpt(t){var e;return 0!=(64&t.Db)?Tlt(t):((e=new qE(Tlt(t))).a+=" (changeable: ",Vx(e,0!=(t.Bb&GLt)),e.a+=", volatile: ",Vx(e,0!=(t.Bb&lRt)),e.a+=", transient: ",Vx(e,0!=(t.Bb&jSt)),e.a+=", defaultValueLiteral: ",HC(e,t.j),e.a+=", unsettable: ",Vx(e,0!=(t.Bb&cRt)),e.a+=", derived: ",Vx(e,0!=(t.Bb&c_t)),e.a+=")",e.a)}function Wpt(t,e,n,r){var i,a,o,s,u,c;if(null==n)for(i=RR(t.g,118),s=0;s<t.i;++s)if((o=i[s]).Xj()==e)return jet(t,o,r);return ek(),a=RR(e,65).Jj()?RR(n,71):cX(e,n),FT(t.e)?(c=!x7(t,e),r=I7(t,a,r),u=e.Vj()?lH(t,3,e,null,n,xvt(t,e,n,zA(e,97)&&0!=(RR(e,17).Bb&BSt)),c):lH(t,1,e,e.uj(),n,-1,c),r?r.zi(u):r=u):r=I7(t,a,r),r}function Gpt(){this.b=new FX,this.d=new FX,this.e=new FX,this.c=new FX,this.a=new Hb,this.f=new Hb,NH(t8t,new bs,new vs),NH(s8t,new Ts,new As),NH(WHt,new Es,new Ps),NH(tWt,new Ds,new Os),NH(Eee,new Ls,new Rs),NH(qFt,new ms,new ys),NH(uBt,new ws,new xs),NH(aBt,new _s,new Ss),NH(sBt,new ks,new Is),NH(IBt,new Ms,new Cs)}function Upt(t){var e,n,r,i,a,o;return a=0,(e=fit(t)).wj()&&(a|=4),0!=(t.Bb&cRt)&&(a|=2),zA(t,97)?(i=wnt(n=RR(t,17)),0!=(n.Bb&KDt)&&(a|=32),i&&(HB(iW(i)),a|=8,((o=i.t)>1||-1==o)&&(a|=16),0!=(i.Bb&KDt)&&(a|=64)),0!=(n.Bb&BSt)&&(a|=lRt),a|=GLt):zA(e,450)?a|=512:(r=e.wj())&&0!=(1&r.i)&&(a|=256),0!=(512&t.Bb)&&(a|=128),a}function Xpt(t,e){var n,r,i,a,o;for(t=null==t?Hxt:(wz(t),t),i=0;i<e.length;i++)e[i]=qht(e[i]);for(n=new gw,o=0,r=0;r<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+BP(null==t?Hxt:(wz(t),t),o,a),GC(n,e[r++]),o=a+2;if($G(n,t,o,t.length),r<e.length){for(n.a+=" [",GC(n,e[r++]);r<e.length;)n.a+=Fxt,GC(n,e[r++]);n.a+="]"}return n.a}function qpt(t,e){var n,r,i,a,o,s,u;for(n=0,u=new ed(e);u.a<u.c.c.length;){for(s=RR(xG(u),11),q5(t.b,t.d[s.p]),o=0,i=new hY(s.b);IA(i.a)||IA(i.b);)Fz(r=RR(IA(i.a)?xG(i.a):xG(i.b),18))?(a=Ux(t,s==r.c?r.d:r.c))>t.d[s.p]&&(n+=vq(t.b,a),FU(t.a,k8(a))):++o;for(n+=t.b.d*o;!Hy(t.a);)lQ(t.b,RR(hB(t.a),20).a)}return n}function Ypt(t,e,n,i){var a,o;e&&(a=Dy(VD(Bot(e,(qmt(),r3t))))+i,o=n+Dy(VD(Bot(e,J2t)))/2,S4(e,u3t,k8(QN(C2(r.Math.round(a))))),S4(e,c3t,k8(QN(C2(r.Math.round(o))))),0==e.d.b||Ypt(t,RR(eE(new Sg(het(new _g(e).a.d,0))),83),n+Dy(VD(Bot(e,J2t)))+t.a,i+Dy(VD(Bot(e,t3t)))),null!=Bot(e,o3t)&&Ypt(t,RR(Bot(e,o3t),83),n,i))}function Kpt(t){var e,n,r,i,a,o,s;for(s=new Hb,r=new ed(t.a.b);r.a<r.c.c.length;)t$(s,e=RR(xG(r),56),new Vb);for(i=new ed(t.a.b);i.a<i.c.c.length;)for((e=RR(xG(i),56)).i=NSt,o=e.c.Ic();o.Ob();)a=RR(o.Pb(),56),RR(PC(rH(s.f,a)),14).Dc(e);for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),56)).c.$b(),e.c=RR(PC(rH(s.f,e)),14);Odt(t)}function Zpt(t){var e,n,r,i,a,o,s;for(s=new Hb,r=new ed(t.a.b);r.a<r.c.c.length;)t$(s,e=RR(xG(r),79),new Vb);for(i=new ed(t.a.b);i.a<i.c.c.length;)for((e=RR(xG(i),79)).o=NSt,o=e.f.Ic();o.Ob();)a=RR(o.Pb(),79),RR(PC(rH(s.f,a)),14).Dc(e);for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),79)).f.$b(),e.f=RR(PC(rH(s.f,e)),14);Jft(t)}function Qpt(t,e,n,r){var i,a;for(function(t,e,n,r){var i,a,o,s;for(i=0;i<e.o;i++)for(a=i-e.j+n,o=0;o<e.p;o++)s=o-e.k+r,cnt(e,i,o)?pnt(t,a,s)||Ynt(t,a,s):hnt(e,i,o)&&(fnt(t,a,s)||Knt(t,a,s))}(t,e,n,r),function(t,e){t.g=e}(e,t.j-e.j+n),function(t,e){t.i=e}(e,t.k-e.k+r),a=new ed(e.f);a.a<a.c.c.length;)switch((i=RR(xG(a),323)).a.g){case 0:l4(t,e.g+i.b.a,0,e.g+i.c.a,e.i-1);break;case 1:l4(t,e.g+e.o,e.i+i.b.a,t.o-1,e.i+i.c.a);break;case 2:l4(t,e.g+i.b.a,e.i+e.p,e.g+i.c.a,t.p-1);break;default:l4(t,0,e.i+i.b.a,e.g-1,e.i+i.c.a)}}function Jpt(t){var e,n,r;return 0!=(64&t.Db)?Ist(t):(e=new YE(zDt),(n=t.k)?UC(UC((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new FF(cne,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new FF(cne,t,1,7)),RR(sJ(t.n,0),137)).a)||UC(UC((e.a+=' "',e),r),'"'))),UC(Hx(UC(Hx(UC(Hx(UC(Hx((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function tgt(t){var e,n,r;return 0!=(64&t.Db)?Ist(t):(e=new YE($Dt),(n=t.k)?UC(UC((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new FF(cne,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new FF(cne,t,1,7)),RR(sJ(t.n,0),137)).a)||UC(UC((e.a+=' "',e),r),'"'))),UC(Hx(UC(Hx(UC(Hx(UC(Hx((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function egt(t){if(0==(!t.b&&(t.b=new nL(nne,t,4,7)),t.b).i)throw Jb(new qy("Edges must have a source."));if(0==(!t.c&&(t.c=new nL(nne,t,5,8)),t.c).i)throw Jb(new qy("Edges must have a target."));if(!t.b&&(t.b=new nL(nne,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new nL(nne,t,5,8)),t.c.i<=1)))throw Jb(new qy("Hyperedges are not supported."))}function ngt(t,e){var n,r,i,a,o,s;if(null==e||0==e.length)return null;if(!(i=RR(IH(t.a,e),149))){for(r=new Uf(new Gf(t.b).a.tc().Ic());r.a.Ob();)if(a=RR(r.a.Pb(),43),o=(n=RR(a.bd(),149)).c,s=e.length,hL(o.substr(o.length-s,s),e)&&(e.length==o.length||46==d$(o,o.length-e.length-1))){if(i)return null;i=n}i&&mW(t.a,e,i)}return i}function rgt(t,e,n,r,i){var a,o,s,u,c,l,h;if(!(zA(e,238)||zA(e,351)||zA(e,199)))throw Jb(new Ny("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,u=e.i+r-o,l=e.j+i-o,c=u+e.g+t.a,h=l+e.f+t.a,vN(a=new vm,new YM(u,l)),vN(a,new YM(u,h)),vN(a,new YM(c,h)),vN(a,new YM(c,l)),l3(s=new iht(a),e),n&&t$(t.b,e,s),s}function igt(t){var e,n,r;ZP(t,(Zwt(),OQt))&&((r=RR(Bot(t,OQt),21)).dc()||(n=new GL(e=RR(Rx(gte),9),RR(wO(e,e.length),9),0),r.Fc((kht(),rte))?l0(n,rte):l0(n,ite),r.Fc(ete)||l0(n,ete),r.Fc(tte)?l0(n,ste):r.Fc(J7t)?l0(n,ote):r.Fc(nte)&&l0(n,ate),r.Fc(ste)?l0(n,tte):r.Fc(ote)?l0(n,J7t):r.Fc(ate)&&l0(n,nte),S4(t,OQt,n)))}function agt(t){var e,n,r,i,a,o,s;for(i=RR(Bot(t,(dxt(),_qt)),10),TW(0,(r=t.j).c.length),n=RR(r.c[0],11),o=new ed(i.j);o.a<o.c.c.length;)if(DC(a=RR(xG(o),11))===DC(Bot(n,Oqt))){a.j==(dwt(),Ote)&&t.p>i.p?(vct(a,Kte),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==Kte&&i.p>t.p&&(vct(a,Ote),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return i}function ogt(t,e,n){var r,i,a,o,s,u,c,l;for(a=new YM(e,n),c=new ed(t.a);c.a<c.c.c.length;)for(zO((u=RR(xG(c),10)).n,a),l=new ed(u.j);l.a<l.c.c.length;)for(i=new ed(RR(xG(l),11).g);i.a<i.c.c.length;)for(gJ((r=RR(xG(i),18)).a,a),(o=RR(Bot(r,(Zwt(),yQt)),74))&&gJ(o,a),s=new ed(r.b);s.a<s.c.c.length;)zO(RR(xG(s),69).n,a)}function sgt(t,e,n){var r,i,a,o,s,u,c,l;for(a=new YM(e,n),c=new ed(t.a);c.a<c.c.c.length;)for(zO((u=RR(xG(c),10)).n,a),l=new ed(u.j);l.a<l.c.c.length;)for(i=new ed(RR(xG(l),11).g);i.a<i.c.c.length;)for(gJ((r=RR(xG(i),18)).a,a),(o=RR(Bot(r,(Zwt(),yQt)),74))&&gJ(o,a),s=new ed(r.b);s.a<s.c.c.length;)zO(RR(xG(s),69).n,a)}function ugt(t,e,n){var r,i,a,o,s,u,c;if(null,c=e,B1(u=oX(t,iX(n),c),EU(c,TOt)),o=CU(c,mOt),function(t,e,n){var r,i,a;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);i.Ob();)(a=Qnt(t,Dct(cQ(n,RR(i.Pb(),20).a))))&&(!e.b&&(e.b=new nL(nne,e,4,7)),EK(e.b,a))}((r=new JM(t,u)).a,r.b,o),s=CU(c,yOt),function(t,e,n){var r,i,a;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);i.Ob();)(a=Qnt(t,Dct(cQ(n,RR(i.Pb(),20).a))))&&(!e.c&&(e.c=new nL(nne,e,5,8)),EK(e.c,a))}((i=new tC(t,u)).a,i.b,s),0==(!u.b&&(u.b=new nL(nne,u,4,7)),u.b).i||0==(!u.c&&(u.c=new nL(nne,u,5,8)),u.c).i)throw a=EU(c,TOt),Jb(new Yy(DOt+a+OOt));return oot(c,u),function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;for(d=e,f=new yH,p=new yH,s=CU(d,wOt),function(t,e,n,r,i){var a,o,s,u;if(i)for(u=((a=new iF(i.a.length)).b-a.a)*a.c<0?(ik(),Qae):new kE(a);u.Ob();)s=AU(i,RR(u.Pb(),20).a),sbt((o=new eV(t,e,n,r)).a,o.b,o.c,o.d,s)}((r=new tV(t,n,f,p)).a,r.b,r.c,r.d,s),v=f.i,a=v||(f.i=new IE(f,f.c)),y=a.Ic();y.Ob();)for(m=RR(y.Pb(),201),c=RR(Kq(f,m),21).Ic();c.Ob();){if(u=c.Pb(),!(g=RR(lJ(t.d,u),201)))throw i=EU(d,TOt),Jb(new Yy(LOt+u+ROt+i+OOt));!m.e&&(m.e=new nL(ine,m,10,9)),EK(m.e,g)}for(b=p.i,o=b||(p.i=new IE(p,p.c)),x=o.Ic();x.Ob();)for(w=RR(x.Pb(),201),h=RR(Kq(p,w),21).Ic();h.Ob();){if(l=h.Pb(),!(g=RR(lJ(t.d,l),201)))throw i=EU(d,TOt),Jb(new Yy(LOt+l+ROt+i+OOt));!w.g&&(w.g=new nL(ine,w,9,10)),EK(w.g,g)}!n.b&&(n.b=new nL(nne,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new nL(nne,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new nL(nne,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new nL(nne,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new FF(ine,n,6,6)),n.a).i&&(mnt(_=RR(sJ((!n.a&&(n.a=new FF(ine,n,6,6)),n.a),0),201))||ynt(_)||(z1(_,RR(sJ((!n.b&&(n.b=new nL(nne,n,4,7)),n.b),0),93)),$1(_,RR(sJ((!n.c&&(n.c=new nL(nne,n,5,8)),n.c),0),93))))}(t,c,u),H4(t,c,u)}function cgt(t,e,n,r,i,a,o){if(t.c=r.of().a,t.d=r.of().b,i&&(t.c+=i.of().a,t.d+=i.of().b),t.b=e.pf().a,t.a=e.pf().b,i)switch(i.Ef().g){case 0:case 2:t.c+=i.pf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.pf().a;break;case 1:t.c+=i.pf().a+o,t.d-=o+a.b+o+e.pf().b;break;case 3:t.c+=i.pf().a+o,t.d+=i.pf().b+o+a.b+o}else n?t.c-=o+e.pf().a:t.c+=r.pf().a+o}function lgt(t,e){var n,r;for(this.b=new Vb,this.e=new Vb,this.a=t,this.d=e,function(t){var e;e=t.a;do{(e=RR(dq(new xF(zE(p9(e).a.Ic(),new p))),18).c.i).k==(vst(),qHt)&&t.b.Dc(e)}while(e.k==(vst(),qHt));t.b=T2(t.b)}(this),function(t){var e;e=t.a;do{(e=RR(dq(new xF(zE(g9(e).a.Ic(),new p))),18).d.i).k==(vst(),qHt)&&LR(t.e,e)}while(e.k==(vst(),qHt))}(this),this.b.dc()?this.c=t.c.p:this.c=RR(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=RR(JN(this.e,this.e.c.length-1),10).c.p,r=RR(Bot(t,(dxt(),Gqt)),14).Ic();r.Ob();)if(ZP(n=RR(r.Pb(),69),(Zwt(),ZZt))){this.d=RR(Bot(n,ZZt),225);break}}function hgt(t,e){var n,i,a;switch(qat(e,"Breaking Point Insertion",1),i=new oht(t),RR(Bot(t,(Zwt(),zJt)),335).g){case 2:a=new wa;case 0:a=new la;break;default:a=new xa}if(n=a.Sf(t,i),Ay($D(Bot(t,VJt)))&&(n=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x;for(f=new Vb,a=new Vb,b=null,s=e.Ic();s.Ob();)o=new Jp(RR(s.Pb(),20).a),a.c[a.c.length]=o,b&&(o.d=b,b.e=o),b=o;for(w=function(t){var e,n,r,i,a,o,s,u,c;for(c=hK(noe,uSt,24,t.b.c.length+1,15,1),u=new Pv,r=0,a=new ed(t.b);a.a<a.c.c.length;){for(i=RR(xG(a),29),c[r++]=u.a.gc(),s=new ed(i.a);s.a<s.c.c.length;)for(n=new xF(zE(g9(RR(xG(s),10)).a.Ic(),new p));Qlt(n);)e=RR(dq(n),18),u.a.xc(e,u);for(o=new ed(i.a);o.a<o.c.c.length;)for(n=new xF(zE(p9(RR(xG(o),10)).a.Ic(),new p));Qlt(n);)e=RR(dq(n),18),u.a.zc(e)}return c}(t),l=0;l<a.c.length;++l){for(d=null,v=vY((TW(0,a.c.length),RR(a.c[0],641))),n=null,i=RSt,h=1;h<t.b.c.length;++h)m=v?r.Math.abs(v.b-h):r.Math.abs(h-d.b)+1,(g=d?r.Math.abs(h-d.b):m+1)<m?(c=d,u=g):(c=v,u=m),x=Dy(VD(Bot(t,(Zwt(),$Jt)))),(y=w[h]+r.Math.pow(u,x))<i&&(i=y,(n=c).c=h),v&&h==v.b&&(d=v,v=AF(v));n&&(LR(f,k8(n.c)),n.a=!0,C8(n))}return mV(),Cj(f.c,f.c.length,null),f}(t,n)),!a.Tf()&&ZP(t,UJt))switch(RR(Bot(t,UJt),336).g){case 2:n=wct(i,n);break;case 1:n=cot(i,n)}n.dc()||function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A;m=new tU(t.b,0),l=e.Ic(),g=0,c=RR(l.Pb(),20).a,x=0,n=new Pv,S=new XT;for(;m.b<m.d.gc();){for(MP(m.b<m.d.gc()),w=new ed(RR(m.d.Xb(m.c=m.b++),29).a);w.a<w.c.c.length;){for(d=new xF(zE(g9(y=RR(xG(w),10)).a.Ic(),new p));Qlt(d);)h=RR(dq(d),18),S.a.xc(h,S);for(f=new xF(zE(p9(y).a.Ic(),new p));Qlt(f);)h=RR(dq(f),18),S.a.zc(h)}if(g+1==c){for(yO(m,i=new bz(t)),yO(m,a=new bz(t)),I=S.a.ec().Ic();I.Ob();)k=RR(I.Pb(),18),n.a._b(k)||(++x,n.a.xc(k,n)),S4(o=new knt(t),(Zwt(),nJt),(Fat(),wte)),DW(o,i),mf(o,(vst(),GHt)),OW(b=new Dst,o),vct(b,(dwt(),Qte)),OW(M=new Dst,o),vct(M,Dte),S4(r=new knt(t),nJt,wte),DW(r,a),mf(r,GHt),OW(v=new Dst,r),vct(v,Qte),OW(C=new Dst,r),vct(C,Dte),PW(_=new NV,k.c),EW(_,b),PW(A=new NV,M),EW(A,v),PW(k,C),s=new XU(o,r,_,A,k),S4(o,(dxt(),eqt),s),S4(r,eqt,s),(T=_.c.i).k==GHt&&((u=RR(Bot(T,eqt),303)).d=s,s.g=u);if(!l.Ob())break;c=RR(l.Pb(),20).a}++g}k8(x)}(t,n),Sst(e)}function fgt(t,e,n){var r,i,a,o;if(r=QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15))),o=QN(o8(I_t,c$(QN(o8(null==n?0:p5(n),M_t)),15))),(a=K0(t,e,r))&&o==a.f&&Cz(n,a.i))return n;if(Z0(t,n,o))throw Jb(new Ny("value already present: "+n));return i=new qz(e,r,n,o),a?(bft(t,a),Sct(t,i,a),a.e=null,a.c=null,a.i):(Sct(t,i,null),Mit(t),null)}function dgt(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return RR(Ddt(t),20).a==t.o;case 1:case 2:if(-2==t.o)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return B_(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:u8(t.n,t.g)}default:return!1}}function pgt(t){var e,n,i,a,o,s,u,c,l,h,f;for(n=B_t,a=Lxt,u=new ed(t.e.a);u.a<u.c.c.length;)o=RR(xG(u),119),a=r.Math.min(a,o.e),n=r.Math.max(n,o.e);for(e=hK(noe,uSt,24,n-a+1,15,1),s=new ed(t.e.a);s.a<s.c.c.length;)(o=RR(xG(s),119)).e-=a,++e[o.e];if(i=0,null!=t.k)for(h=0,f=(l=t.k).length;h<f&&(c=l[h],e[i++]+=c,e.length!=i);++h);return e}function ggt(t,e,n,r,i,a,o){var s;return s=!1,gvt(n,a-n.s,!1).a+gvt(r,a-n.s,!1).a<=e.b&&(gvt(n,a-n.s,!0),n.c=!0,gvt(r,a-n.s,!0),bnt(r,n.s,n.t+n.d),r.k=!0,wX(n.q,r),s=!0,i&&(oG(e,r),r.j=e,t.c.length>o&&(Mtt((TW(o,t.c.length),RR(t.c[o],180)),r),0==(TW(o,t.c.length),RR(t.c[o],180)).a.c.length&&tY(t,o)))),s}function bgt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,kDt),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Fs))),rU(t,kDt,qIt,z7t),rU(t,kDt,eEt,bet($7t)),rU(t,kDt,eDt,bet(R7t)),rU(t,kDt,DAt,bet(N7t)),rU(t,kDt,UAt,bet(F7t)),rU(t,kDt,dDt,bet(j7t))}function vgt(t,e,n){var r,i,a,o,s,u;if(e){if(n<=-1){if(zA(r=$Q(e.Og(),-1-n),97))return RR(r,17);for(s=0,u=(o=RR(e.Xg(r),152)).gc();s<u;++s)if(DC(o.el(s))===DC(t)&&zA(i=o.dl(s),97)&&0!=((a=RR(i,17)).Bb&KDt))return a;throw Jb(new jy("The containment feature could not be located"))}return wnt(RR($Q(t.Og(),n),17))}return null}function mgt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;c=n.a.c,o=n.a.c+n.a.b,f=(a=RR(oz(n.c,e),453)).f,d=a.a,s=a.b?new YM(o,f):new YM(c,f),l=a.c?new YM(c,d):new YM(o,d),i=c,n.p||(i+=t.c),u=new YM(i+=n.F+n.v*t.b,f),h=new YM(i,d),y1(e.a,X3(uw(t8t,1),u_t,8,0,[s,u])),n.d.a.gc()>1&&(r=new YM(i,n.b),vN(e.a,r)),y1(e.a,X3(uw(t8t,1),u_t,8,0,[h,l]))}function ygt(t,e){var n,r,i,a;if(qat(e,"Node and Port Label Placement and Node Sizing",1),function(t){cJ(Kbt(t),new Ld(t))}(new D$(t,!0,!0,new Gn)),RR(Bot(t,(dxt(),vqt)),21).Fc((Zdt(),EXt)))for(r=(i=RR(Bot(t,(Zwt(),aJt)),21)).Fc((aot(),Cte)),a=Ay($D(Bot(t,oJt))),n=new ed(t.b);n.a<n.c.c.length;)uS(_$(new lj(null,new ZW(RR(xG(n),29).a,16)),new Un),new QL(i,r,a));Sst(e)}function wgt(t,e,n,r){var i,a,o;return o=new I_(e,n),t.a?r?(++(i=RR(oz(t.b,e),282)).a,o.d=r.d,o.e=r.e,o.b=r,o.c=r,r.e?r.e.c=o:RR(oz(t.b,e),282).b=o,r.d?r.d.b=o:t.a=o,r.d=o,r.e=o):(t.e.b=o,o.d=t.e,t.e=o,(i=RR(oz(t.b,e),282))?(++i.a,(a=i.c).c=o,o.e=a,i.c=o):(t$(t.b,e,i=new DV(o)),++t.c)):(t.a=t.e=o,t$(t.b,e,new DV(o)),++t.c),++t.d,o}function xgt(t,e){var n,r,i,a,o,s,u,c;for(n=new RegExp(e,"g"),u=hK(MFt,u_t,2,0,6,1),r=0,c=t,a=null;;){if(null==(s=n.exec(c))||""==c){u[r]=c;break}o=s.index,u[r]=c.substr(0,o),c=BP(c,o+s[0].length,c.length),n.lastIndex=0,a==c&&(u[r]=c.substr(0,1),c=c.substr(1)),a=c,++r}if(t.length>0){for(i=u.length;i>0&&""==u[i-1];)--i;i<u.length&&(u.length=i)}return u}function _gt(t,e){var n,r,i,a,o,s,u,c;for(s=null,i=!1,a=0,u=pX((c=KV(e)).a).i;a<u;++a)(n=_gt(t,RR(tyt(c,a,zA(o=RR(sJ(pX(c.a),a),86).c,87)?RR(o,26):(mxt(),Fre)),26))).dc()||(s?(i||(i=!0,s=new pj(s)),s.Ec(n)):s=n);return r=function(t,e){var n,r,i,a,o;for(!e.s&&(e.s=new FF(cre,e,21,17)),a=null,i=0,o=(r=e.s).i;i<o;++i)switch(Zz(FZ(t,n=RR(sJ(r,i),170)))){case 2:case 3:!a&&(a=new Vb),a.c[a.c.length]=n}return a||(mV(),mV(),YFt)}(t,e),r.dc()?s||(mV(),mV(),YFt):s?(i||(s=new pj(s)),s.Ec(r),s):r}function Sgt(t,e){var n,r,i,a,o,s,u,c;for(s=null,r=!1,a=0,u=pX((c=KV(e)).a).i;a<u;++a)(n=Sgt(t,RR(tyt(c,a,zA(o=RR(sJ(pX(c.a),a),86).c,87)?RR(o,26):(mxt(),Fre)),26))).dc()||(s?(r||(r=!0,s=new pj(s)),s.Ec(n)):s=n);return i=function(t,e){var n,r,i,a,o;for(!e.s&&(e.s=new FF(cre,e,21,17)),a=null,i=0,o=(r=e.s).i;i<o;++i)switch(Zz(FZ(t,n=RR(sJ(r,i),170)))){case 4:case 5:case 6:!a&&(a=new Vb),a.c[a.c.length]=n}return a||(mV(),mV(),YFt)}(t,e),i.dc()?s||(mV(),mV(),YFt):s?(r||(s=new pj(s)),s.Ec(i),s):i}function kgt(t,e,n){var r,i,a,o,s,u;if(zA(e,71))return jet(t,e,n);for(s=null,a=null,r=RR(t.g,118),o=0;o<t.i;++o)if(u8(e,(i=r[o]).bd())&&zA(a=i.Xj(),97)&&0!=(RR(a,17).Bb&KDt)){s=i;break}return s&&(FT(t.e)&&(u=a.Vj()?lH(t,4,a,e,null,xvt(t,a,e,zA(a,97)&&0!=(RR(a,17).Bb&BSt)),!0):lH(t,a.Fj()?2:1,a,e,a.uj(),-1,!0),n?n.zi(u):n=u),n=kgt(t,s,n)),n}function Igt(t,e,n){var r,i,a,o,s,u,c,l;for(qat(n,iMt,1),t.cf(e),a=0;t.ef(a);){for(l=new ed(e.e);l.a<l.c.c.length;)for(u=RR(xG(l),144),s=ZF(u1(X3(uw(wjt,1),zxt,19,0,[e.e,e.d,e.b])));Qlt(s);)(o=RR(dq(s),354))!=u&&(i=t.bf(o,u))&&zO(u.a,i);for(c=new ed(e.e);c.a<c.c.c.length;)Vst(r=(u=RR(xG(c),144)).a,-t.d,-t.d,t.d,t.d),zO(u.d,r),nT(r);t.df(),++a}Sst(n)}function Mgt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,RPt),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new as))),rU(t,RPt,SPt,bet(v6t)),rU(t,RPt,qIt,g6t),rU(t,RPt,bMt,8),rU(t,RPt,TPt,bet(b6t)),rU(t,RPt,PPt,bet(d6t)),rU(t,RPt,DPt,bet(p6t)),rU(t,RPt,TAt,(_P(),!1))}function Cgt(t){var e,n,i,a,o;if(t.d)throw Jb(new jy((FD(IHt),Akt+IHt.k+Ekt)));for(t.c==(E8(),d7t)&&Uyt(t,h7t),e=new ed(t.a.a);e.a<e.c.c.length;)RR(xG(e),189).e=0;for(a=new ed(t.a.b);a.a<a.c.c.length;)for((i=RR(xG(a),79)).o=NSt,n=i.f.Ic();n.Ob();)++RR(n.Pb(),79).d.e;for(function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b;for(l=RSt,i=new ed(t.a.b);i.a<i.c.c.length;)e=RR(xG(i),79),l=r.Math.min(l,e.d.f.g.c+e.e.a);for(p=new sS,s=new ed(t.a.a);s.a<s.c.c.length;)(o=RR(xG(s),189)).i=l,0==o.e&&jX(p,o,p.c.b,p.c);for(;0!=p.b;){for(a=(o=RR(0==p.b?null:(MP(0!=p.b),uJ(p,p.a.a)),189)).f.g.c,d=o.a.a.ec().Ic();d.Ob();)h=RR(d.Pb(),79),b=o.i+h.e.a,h.d.g||h.g.c<b?h.o=b:h.o=h.g.c;for(a-=o.f.o,o.b+=a,t.c==(E8(),f7t)||t.c==l7t?o.c+=a:o.c-=a,f=o.a.a.ec().Ic();f.Ob();)for(c=(h=RR(f.Pb(),79)).f.Ic();c.Ob();)u=RR(c.Pb(),79),g=RT(t.c)?t.f.ff(h,u):t.f.gf(h,u),u.d.i=r.Math.max(u.d.i,h.o+h.g.b+g-u.e.a),u.k||(u.d.i=r.Math.max(u.d.i,u.g.c-u.e.a)),--u.d.e,0==u.d.e&&vN(p,u.d)}for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),79)).g.c=e.o}(t),o=new ed(t.a.b);o.a<o.c.c.length;)RR(xG(o),79).k=!0;return t}function Tgt(t,e,n,r){var i,a,o,s,u,c,l,h;for(o=nD(e.c,n,r),l=new ed(e.a);l.a<l.c.c.length;){for(zO((c=RR(xG(l),10)).n,o),h=new ed(c.j);h.a<h.c.c.length;)for(a=new ed(RR(xG(h),11).g);a.a<a.c.c.length;)for(gJ((i=RR(xG(a),18)).a,o),(s=RR(Bot(i,(Zwt(),yQt)),74))&&gJ(s,o),u=new ed(i.b);u.a<u.c.c.length;)zO(RR(xG(u),69).n,o);LR(t.a,c),c.a=t}}function Agt(t,e,n){var r,i,a,o,s;if(ek(),o=RR(e,65).Jj(),Cdt(t.e,e)){if(e.ci()&&tvt(t,e,n,zA(e,97)&&0!=(RR(e,17).Bb&BSt)))return!1}else for(s=sdt(t.e.Og(),e),r=RR(t.g,118),a=0;a<t.i;++a)if(i=r[a],s.ml(i.Xj()))return!(o?u8(i,n):null==n?null==i.bd():u8(n,i.bd()))&&(RR(Net(t,a,o?RR(n,71):cX(e,n)),71),!0);return EK(t,o?RR(n,71):cX(e,n))}function Egt(t,e){var n,r,i,a,o,s,u,c;for(s=new dut(t),jX(n=new sS,e,n.c.b,n.c);0!=n.b;){for((r=RR(0==n.b?null:(MP(0!=n.b),uJ(n,n.a.a)),112)).d.p=1,o=new ed(r.e);o.a<o.c.c.length;)eot(s,i=RR(xG(o),404)),0==(c=i.d).d.p&&jX(n,c,n.c.b,n.c);for(a=new ed(r.b);a.a<a.c.c.length;)eot(s,i=RR(xG(a),404)),0==(u=i.c).d.p&&jX(n,u,n.c.b,n.c)}return s}function Pgt(t){var e,n,r,i,a;if(1!=(r=Dy(VD(_ht(t,(fxt(),U9t))))))for($T(t,r*t.g,r*t.f),n=function(t){return wB(t),new CT(t)}(function(t,e){return wB(t),wB(e),new fN(t,e)}((!t.c&&(t.c=new FF(hne,t,9,9)),t.c),new Xs)),a=ZF(u1(X3(uw(wjt,1),zxt,19,0,[(!t.n&&(t.n=new FF(cne,t,1,7)),t.n),(!t.c&&(t.c=new FF(hne,t,9,9)),t.c),n])));Qlt(a);)(i=RR(dq(a),464)).Bg(r*i.yg(),r*i.zg()),i.Ag(r*i.xg(),r*i.wg()),(e=RR(i.Xe(P9t),8))&&(e.a*=r,e.b*=r)}function Dgt(t,e,n){var r,i,a,o,s;for(a=0;a<e;a++){for(r=0,s=a+1;s<e;s++)r=a8(a8(o8(SH(t[a],WSt),SH(t[s],WSt)),SH(n[a+s],WSt)),SH(QN(r),WSt)),n[a+s]=QN(r),r=_N(r,32);n[a+e]=QN(r)}for(function(t,e,n){var r,i,a;for(r=0,i=0;i<n;i++)a=e[i],t[i]=a<<1|r,r=a>>>31;0!=r&&(t[n]=r)}(n,n,e<<1),r=0,i=0,o=0;i<e;++i,o++)r=a8(a8(o8(SH(t[i],WSt),SH(t[i],WSt)),SH(n[o],WSt)),SH(QN(r),WSt)),n[o]=QN(r),r=a8(r=_N(r,32),SH(n[++o],WSt)),n[o]=QN(r),r=_N(r,32);return n}function Ogt(t,e,n,r){this.e=t,this.k=RR(Bot(t,(dxt(),qqt)),302),this.g=hK(ZHt,KMt,10,e,0,1),this.b=hK(fFt,u_t,331,e,7,1),this.a=hK(ZHt,KMt,10,e,0,1),this.d=hK(fFt,u_t,331,e,7,1),this.j=hK(ZHt,KMt,10,e,0,1),this.i=hK(fFt,u_t,331,e,7,1),this.p=hK(fFt,u_t,331,e,7,1),this.n=hK(oFt,u_t,470,e,8,1),bk(this.n,(_P(),!1)),this.f=hK(oFt,u_t,470,e,8,1),bk(this.f,!0),this.o=n,this.c=r}function Lgt(t,e){var n,r,i;if(!e.dc())if(RR(e.Xb(0),285).d==(_ut(),_Ut))git(t,e);else for(r=e.Ic();r.Ob();){switch((n=RR(r.Pb(),285)).d.g){case 5:uut(t,n,N9(t,n));break;case 0:uut(t,n,(i=(n.f-n.c+1-1)/2|0,n.c+i));break;case 4:uut(t,n,xQ(t,n));break;case 2:R7(n),uut(t,n,kat(n)?n.c:n.f);break;case 1:R7(n),uut(t,n,kat(n)?n.f:n.c)}Cot(n.a)}}function Rgt(t,e,n,i,a,o){var s,u,c,l,h,f,d,p,g,b,v,m,y;for(u=(i+a)/2+o,b=n*r.Math.cos(u),v=n*r.Math.sin(u),m=b-e.g/2,y=v-e.f/2,UJ(e,m),XJ(e,y),f=t.a.eg(e),(g=2*r.Math.acos(n/n+t.c))<a-i?(d=g/f,s=(i+a-g)/2):(d=(a-i)/f,s=i),p=Qdt(e),t.e&&(t.e.fg(t.d),t.e.gg(p)),l=new ed(p);l.a<l.c.c.length;)c=RR(xG(l),34),h=t.a.eg(c),Rgt(t,c,n+t.c,s,s+d*h,o),s+=d*h}function Ngt(t,e){var n,r,i,a;if(qat(e,"Network simplex",1),t.e.a.c.length<1)Sst(e);else{for(i=new ed(t.e.a);i.a<i.c.c.length;)RR(xG(i),119).e=0;for((a=t.e.a.c.length>=40)&&function(t){var e,n,r,i,a,o,s;for(t.o=new $b,r=new sS,o=new ed(t.e.a);o.a<o.c.c.length;)1==E9(a=RR(xG(o),119)).c.length&&jX(r,a,r.c.b,r.c);for(;0!=r.b;)0!=E9(a=RR(0==r.b?null:(MP(0!=r.b),uJ(r,r.a.a)),119)).c.length&&(e=RR(JN(E9(a),0),211),n=a.g.a.c.length>0,s=k9(e,a),gP(n?s.b:s.g,e),1==E9(s).c.length&&jX(r,s,r.c.b,r.c),i=new KM(a,e),FU(t.o,i),yZ(t.e.a,a))}(t),function(t){var e,n,r,i,a,o,s,u,c,l;for(c=t.e.a.c.length,a=new ed(t.e.a);a.a<a.c.c.length;)RR(xG(a),119).j=!1;for(t.i=hK(noe,uSt,24,c,15,1),t.g=hK(noe,uSt,24,c,15,1),t.n=new Vb,i=0,l=new Vb,s=new ed(t.e.a);s.a<s.c.c.length;)(o=RR(xG(s),119)).d=i++,0==o.b.a.c.length&&LR(t.n,o),R3(l,o.g);for(e=0,r=new ed(l);r.a<r.c.c.length;)(n=RR(xG(r),211)).c=e++,n.f=!1;u=l.c.length,null==t.b||t.b.length<u?(t.b=hK(ooe,$St,24,u,15,1),t.c=hK(roe,Zkt,24,u,16,1)):Vy(t.c);t.d=l,t.p=new eP(HQ(t.d.c.length)),t.j=1}(t),Sdt(t),n=R8(t),r=0;n&&r<t.f;)Bgt(t,n,Sht(t,n)),n=R8(t),++r;a&&function(t){for(var e,n,r,i;!Hy(t.o);)n=RR(hB(t.o),46),r=RR(n.a,119),i=k9(e=RR(n.b,211),r),e.e==r?(pP(i.g,e),r.e=i.e+e.a):(pP(i.b,e),r.e=i.e-e.a),LR(t.e.a,r)}(t),t.a?function(t,e){var n,r,i,a,o;for(o=null,a=new ed(t.e.a);a.a<a.c.c.length;)if((i=RR(xG(a),119)).b.a.c.length==i.g.a.c.length){for(r=i.e,o=tut(i),n=i.e-RR(o.a,20).a+1;n<i.e+RR(o.b,20).a;n++)e[n]<e[r]&&(r=n);e[r]<e[i.e]&&(--e[i.e],++e[r],i.e=r)}}(t,pgt(t)):pgt(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,Sst(e)}}function jgt(t,e,n,r){var i,a,o,s,u,c,l,h;for($O(s=new YM(n,r),RR(Bot(e,(y0(),VVt)),8)),h=new ed(e.e);h.a<h.c.c.length;)zO((l=RR(xG(h),144)).d,s),LR(t.e,l);for(o=new ed(e.c);o.a<o.c.c.length;){for(i=new ed((a=RR(xG(o),281)).a);i.a<i.c.c.length;)zO(RR(xG(i),552).d,s);LR(t.c,a)}for(c=new ed(e.d);c.a<c.c.c.length;)zO((u=RR(xG(c),441)).d,s),LR(t.d,u)}function Fgt(t,e){var n,r,i,a,o,s,u,c;for(u=new ed(e.j);u.a<u.c.c.length;)for(i=new hY((s=RR(xG(u),11)).b);IA(i.a)||IA(i.b);)e!=(a=(n=(r=RR(IA(i.a)?xG(i.a):xG(i.b),18)).c==s?r.d:r.c).i)&&((c=RR(Bot(r,(Zwt(),hJt)),20).a)<0&&(c=0),o=a.p,0==t.b[o]&&(r.d==n?(t.a[o]-=c+1,t.a[o]<=0&&t.c[o]>0&&vN(t.e,a)):(t.c[o]-=c+1,t.c[o]<=0&&t.a[o]>0&&vN(t.d,a))))}function Bgt(t,e,n){var r,i,a;if(!e.f)throw Jb(new Ny("Given leave edge is no tree edge."));if(n.f)throw Jb(new Ny("Given enter edge is a tree edge already."));for(e.f=!1,nE(t.p,e),n.f=!0,cB(t.p,n),r=n.e.e-n.d.e-n.a,gct(t,n.e,e)||(r=-r),a=new ed(t.e.a);a.a<a.c.c.length;)gct(t,i=RR(xG(a),119),e)||(i.e+=r);t.j=1,Vy(t.c),Rct(t,RR(xG(new ed(t.e.a)),119)),cyt(t)}function zgt(t,e,n){var r,i,a,o,s,u,c,l,h;for(a=new RY(e.c.length),c=new ed(e);c.a<c.c.c.length;)o=RR(xG(c),10),LR(a,t.b[o.c.p][o.p]);for(!function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;for(s=new ed(e);s.a<s.c.c.length;)(a=RR(xG(s),232)).e=null,a.c=0;for(u=null,o=new ed(e);o.a<o.c.c.length;)if(h=(a=RR(xG(o),232)).d[0],!n||h.k==(vst(),YHt)){for(d=RR(Bot(h,(dxt(),Sqt)),14).Ic();d.Ob();)f=RR(d.Pb(),10),n&&f.k!=(vst(),YHt)||((!a.e&&(a.e=new Vb),a.e).Dc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(vst(),YHt)){if(u)for(l=RR(Kq(t.d,u),21).Ic();l.Ob();)for(c=RR(l.Pb(),10),i=RR(Kq(t.d,h),21).Ic();i.Ob();)r=RR(i.Pb(),10),rR(t.b[c.c.p][c.p]).Dc(t.b[r.c.p][r.p]),++t.b[r.c.p][r.p].c;u=h}}}(t,a,n),h=null;h=Eyt(a);)cvt(t,RR(h.a,232),RR(h.b,232),a);for(e.c=hK(gjt,zxt,1,0,5,1),i=new ed(a);i.a<i.c.c.length;)for(u=0,l=(s=(r=RR(xG(i),232)).d).length;u<l;++u)o=s[u],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=uE(r.g,r.d[0]).a}function $gt(t,e){var n,r,i,a;if(0<(zA(t,15)?RR(t,15).gc():OU(t.Ic()))){if(1<(i=e)){for(--i,a=new go,r=t.Ic();r.Ob();)n=RR(r.Pb(),83),a=u1(X3(uw(wjt,1),zxt,19,0,[a,new _g(n)]));return $gt(a,i)}if(i<0){for(a=new bo,r=t.Ic();r.Ob();)n=RR(r.Pb(),83),a=u1(X3(uw(wjt,1),zxt,19,0,[a,new _g(n)]));if(0<(zA(a,15)?RR(a,15).gc():OU(a.Ic())))return $gt(a,i)}}return RR(eE(t.Ic()),83)}function Vgt(){Vgt=S,pee=new jM("DEFAULT_MINIMUM_SIZE",0),bee=new jM("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),dee=new jM("COMPUTE_PADDING",2),vee=new jM("OUTSIDE_NODE_LABELS_OVERHANG",3),mee=new jM("PORTS_OVERHANG",4),wee=new jM("UNIFORM_PORT_SPACING",5),yee=new jM("SPACE_EFFICIENT_PORT_LABELS",6),gee=new jM("FORCE_TABULAR_NODE_LABELS",7),fee=new jM("ASYMMETRICAL",8)}function Hgt(t,e){var n,r,i,a,o,s,u,c;if(e){if(n=(a=e.Og())?bJ(a).Ih().Eh(a):null){for(set(t,e,n),u=0,c=(null==(i=e.Og()).i&&Zbt(i),i.i).length;u<c;++u)null==i.i&&Zbt(i),r=i.i,(s=u>=0&&u<r.length?r[u]:null).Dj()&&!s.Ej()&&(zA(s,321)?qet(t,RR(s,32),e,n):0!=((o=RR(s,17)).Bb&KDt)&&pat(t,o,e,n));e.fh()&&RR(n,48).qh(RR(e,48).lh())}return n}return null}function Wgt(t,e,n){var r,i,a,o;if(null==t)throw Jb(new hw(Hxt));for(r=(a=t.length)>0&&(AW(0,t.length),45==t.charCodeAt(0)||(AW(0,t.length),43==t.charCodeAt(0)))?1:0;r<a;r++)if(-1==dtt((AW(r,t.length),t.charCodeAt(r))))throw Jb(new hw(LSt+t+'"'));if(i=(o=parseInt(t,10))<e,isNaN(o))throw Jb(new hw(LSt+t+'"'));if(i||o>n)throw Jb(new hw(LSt+t+'"'));return o}function Ggt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d;if(function(t,e,n){var r,i,a;for(i=e[n],r=0;r<i.length;r++)a=i[r],t.e[a.c.p][a.p]=r}(t,e,n),a=e[n],d=r?(dwt(),Qte):(dwt(),Dte),function(t,e,n){return n?0!=e:e!=t-1}(e.length,n,r)){for(gY(t,i=e[r?n-1:n+1],r?(M1(),N1t):(M1(),R1t)),l=0,f=(u=a).length;l<f;++l)Fnt(t,o=u[l],d);for(gY(t,a,r?(M1(),R1t):(M1(),N1t)),c=0,h=(s=i).length;c<h;++c)(o=s[c]).e||Fnt(t,o,z8(d))}else for(c=0,h=(s=a).length;c<h;++c)Fnt(t,o=s[c],d);return!1}function Ugt(t,e,n,r){var i,a,o,s,u;s=i9(e,n),(n==(dwt(),Kte)||n==Qte)&&(s=zA(s,151)?Qq(RR(s,151)):zA(s,131)?RR(s,131).a:zA(s,53)?new ry(s):new D_(s)),o=!1;do{for(i=!1,a=0;a<s.gc()-1;a++)tst(t,RR(s.Xb(a),11),RR(s.Xb(a+1),11),r)&&(o=!0,_G(t.a,RR(s.Xb(a),11),RR(s.Xb(a+1),11)),u=RR(s.Xb(a+1),11),s.Zc(a+1,RR(s.Xb(a),11)),s.Zc(a,u),i=!0)}while(i);return o}function Xgt(t,e){var n,r,i,a,o,s;if((s=RR(Bot(e,(Zwt(),nJt)),100))==(Fat(),yte)||s==mte)for(i=new YM(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new ed(t.a);o.a<o.c.c.length;)(a=RR(xG(o),10)).k==(vst(),UHt)&&((n=RR(Bot(a,(dxt(),pqt)),61))!=(dwt(),Dte)&&n!=Qte||(r=Dy(VD(Bot(a,Vqt))),s==yte&&(r*=i),a.n.b=r-RR(Bot(a,tJt),8).b,x3(a,!1,!0)))}function qgt(t){var e,n,i,a,o,s,u,c;for(c=new Hb,e=new Lv,s=t.Ic();s.Ob();)a=RR(s.Pb(),10),u=dP(mS(new jv,a),e),ect(c.f,a,u);for(o=t.Ic();o.Ob();)for(i=new xF(zE(g9(a=RR(o.Pb(),10)).a.Ic(),new p));Qlt(i);)Nq(n=RR(dq(i),18))||Kft(bS(gS(pS(vS(new Nv,r.Math.max(1,RR(Bot(n,(Zwt(),fJt)),20).a)),1),RR(oz(c,n.c.i),119)),RR(oz(c,n.d.i),119)));return e}function Ygt(){Ygt=S,a2t=jN(new wU,(zot(),gHt),(gxt(),zWt)),s2t=jN(new wU,pHt,WWt),u2t=Qj(jN(new wU,pHt,iGt),bHt,rGt),i2t=Qj(jN(jN(new wU,pHt,LWt),gHt,RWt),bHt,NWt),c2t=_tt(_tt(Wk(Qj(jN(new wU,fHt,pGt),bHt,dGt),gHt),fGt),gGt),o2t=Qj(new wU,bHt,$Wt),n2t=Qj(jN(jN(jN(new wU,dHt,XWt),gHt,YWt),gHt,KWt),bHt,qWt),r2t=Qj(jN(jN(new wU,gHt,KWt),gHt,AWt),bHt,TWt)}function Kgt(t){switch(t){case 100:return wxt(qNt,!0);case 68:return wxt(qNt,!1);case 119:return wxt(YNt,!0);case 87:return wxt(YNt,!1);case 115:return wxt(KNt,!0);case 83:return wxt(KNt,!1);case 99:return wxt(ZNt,!0);case 67:return wxt(ZNt,!1);case 105:return wxt(QNt,!0);case 73:return wxt(QNt,!1);default:throw Jb(new sy(XNt+t.toString(16)))}}function Zgt(t,e,n,r,i){n&&(!r||(t.c-t.b&t.a.length-1)>1)&&1==e&&RR(t.a[t.b],10).k==(vst(),XHt)?Abt(RR(t.a[t.b],10),(Krt(),X7t)):r&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&RR(t.a[t.c-1&t.a.length-1],10).k==(vst(),XHt)?Abt(RR(t.a[t.c-1&t.a.length-1],10),(Krt(),q7t)):2==(t.c-t.b&t.a.length-1)?(Abt(RR(D4(t),10),(Krt(),X7t)),Abt(RR(D4(t),10),q7t)):function(t,e){var n,r,i,a,o,s,u,c,l;for(u=VP(t.c-t.b&t.a.length-1),c=null,l=null,a=new i$(t);a.a!=a.b;)i=RR(A6(a),10),n=(s=RR(Bot(i,(dxt(),Tqt)),11))?s.i:null,r=(o=RR(Bot(i,Aqt),11))?o.i:null,c==n&&l==r||(yht(u,e),c=n,l=r),u.c[u.c.length]=i;yht(u,e)}(t,i),yX(t)}function Qgt(t,e,n){var r,i,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(d$(t,e[0])){case 43:i=1;break;case 45:i=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=Zct(t,e))&&e[0]==a)return!1;if(e[0]<t.length&&58==d$(t,e[0])){if(r=60*o,++e[0],a=e[0],0==(o=Zct(t,e))&&e[0]==a)return!1;r+=o}else(r=o)<24&&e[0]-a<=2?r*=60:r=r%100+60*(r/100|0);return r*=i,n.o=-r,!0}function Jgt(t){var e,n,r,i,a,o,s;for(i=new Vb,r=new xF(zE(g9(t.b).a.Ic(),new p));Qlt(r);)Nq(n=RR(dq(r),18))&&LR(i,new pY(n,FK(t,n.c),FK(t,n.d)));for(s=new Uf(new Gf(t.e).a.tc().Ic());s.a.Ob();)e=RR(s.a.Pb(),43),(a=RR(e.bd(),112)).d.p=0;for(o=new Uf(new Gf(t.e).a.tc().Ic());o.a.Ob();)e=RR(o.a.Pb(),43),0==(a=RR(e.bd(),112)).d.p&&LR(t.d,Egt(t,a))}function tbt(t,e,n,r){var i,a,o,s,u;return o=t.$g(),i=null,(u=t.Ug())?e&&0==(vgt(t,e,n).Bb&BSt)?(r=jet(u.Qk(),t,r),t.ph(null),i=e._g()):u=null:(o&&(u=o._g()),e&&(i=e._g())),u!=i&&u&&u.Uk(t),s=t.Qg(),t.Mg(e,n),u!=i&&i&&i.Tk(t),t.Gg()&&t.Hg()&&(o&&s>=0&&s!=n&&(a=new NF(t,1,s,o,null),r?r.zi(a):r=a),n>=0&&(a=new NF(t,1,n,s==n?o:null,e),r?r.zi(a):r=a)),r}function ebt(t){var e,n,r;if(null==t.b){if(r=new fw,null!=t.i&&(HC(r,t.i),r.a+=":"),0!=(256&t.f)){for(0!=(256&t.f)&&null!=t.a&&(function(t){return null!=t&&V_(Gne,t.toLowerCase())}(t.i)||(r.a+="//"),HC(r,t.a)),null!=t.d&&(r.a+="/",HC(r,t.d)),0!=(16&t.f)&&(r.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(r.a+="/"),HC(r,t.j[e]);null!=t.g&&(r.a+="?",HC(r,t.g))}else HC(r,t.a);null!=t.e&&(r.a+="#",HC(r,t.e)),t.b=r.a}return t.b}function nbt(t,e,n){var r,i,a,o,s;qat(n,"Minimize Crossings "+t.a,1),r=0==e.b.c.length||!Bx(_$(new lj(null,new ZW(e.b,16)),new gd(new La))).sd((xS(),BBt)),s=1==e.b.c.length&&1==RR(JN(e.b,0),29).a.c.length,a=DC(Bot(e,(Zwt(),lQt)))===DC((P8(),H7t)),r||s&&!a||(function(t,e){var n,r;for(r=het(t,0);r.b!=r.d.c;)(n=RR(zU(r),231)).e.length>0&&(e.td(n),n.i&&M8(n))}(i=hdt(t,e),(o=RR(met(i,0),231)).c.Of()?o.c.If()?new ng(t):new rg(t):new eg(t)),function(t){var e,n,r;for(r=new ed(t.b);r.a<r.c.c.length;)(e=(n=RR(xG(r),231)).c.Of()?n.f:n.a)&&jmt(e,n.j)}(t)),Sst(n)}function rbt(t,e,n){var i,a,o,s,u,c,l,h;if(!DU(e)){for(c=Dy(VD(A7(n.c,(Zwt(),OJt)))),!(l=RR(A7(n.c,DJt),141))&&(l=new om),i=n.a,a=null,u=e.Ic();u.Ob();)s=RR(u.Pb(),11),h=0,a?(h=c,h+=a.o.b):h=l.d,o=dP(mS(new jv,s),t.f),t$(t.k,s,o),Kft(bS(gS(pS(vS(new Nv,0),CH(r.Math.ceil(h))),i),o)),a=s,i=o;Kft(bS(gS(pS(vS(new Nv,0),CH(r.Math.ceil(l.a+a.o.b))),i),n.d))}}function ibt(t,e,n){var r,i,a,o,s;if(0==e.p){for(e.p=1,(i=n)||(i=new KM(new Vb,new GL(r=RR(Rx(oee),9),RR(wO(r,r.length),9),0))),RR(i.a,14).Dc(e),e.k==(vst(),UHt)&&RR(i.b,21).Dc(RR(Bot(e,(dxt(),pqt)),61)),o=new ed(e.j);o.a<o.c.c.length;)for(a=RR(xG(o),11),s=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(a),new tp(a)])));Qlt(s);)ibt(t,RR(dq(s),11).i,i);return i}return null}function abt(t,e){var n,r,i,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(i=RR(t.Ab.g,1906),null==e){for(a=0;a<o;++a)if(null==(n=i[a]).d)return n}else for(a=0;a<o;++a)if(hL(e,(n=i[a]).d))return n}else if(null==e){for(r=new SE(t.Ab);r.e!=r.i.gc();)if(null==(n=RR(Htt(r),581)).d)return n}else for(r=new SE(t.Ab);r.e!=r.i.gc();)if(hL(e,(n=RR(Htt(r),581)).d))return n;return null}function obt(t,e){var n,r,i,a,o,s,u;if(null==(u=$D(Bot(e,(_st(),w3t))))||(wz(u),u)){for(function(t,e){var n,r,i,a,o;for(i=e.b.b,t.a=hK(_jt,QIt,14,i,0,1),t.b=hK(roe,Zkt,24,i,16,1),o=het(e.b,0);o.b!=o.d.c;)a=RR(zU(o),83),t.a[a.g]=new sS;for(r=het(e.a,0);r.b!=r.d.c;)n=RR(zU(r),188),t.a[n.b.g].Dc(n),t.a[n.c.g].Dc(n)}(t,e),i=new Vb,s=het(e.b,0);s.b!=s.d.c;)(n=Iut(t,RR(zU(s),83),null))&&(l3(n,e),i.c[i.c.length]=n);if(t.a=null,t.b=null,i.c.length>1)for(r=new ed(i);r.a<r.c.c.length;)for(a=0,o=het((n=RR(xG(r),135)).b,0);o.b!=o.d.c;)RR(zU(o),83).g=a++;return i}return Jq(X3(uw(R2t,1),JIt,135,0,[e]))}function sbt(t,e,n,r,i){var a,s,u,c,l,h,f,d,p,g,b,v,m;p=function(t,e,n){var r;return r=att(n),fgt(t.d,r,e),t$(t.e,e,n),e}(t,a4(e),i),n0(p,EU(i,TOt)),o=null,b=TU(g=i,POt),function(t,e){var n,r;if(!e)throw Jb(new Yy("All edge sections need a start point."));n=a1(e,"x"),qJ(new Gg(t).a,(wz(n),n)),r=a1(e,"y"),QJ(new Ug(t).a,(wz(r),r))}(new Hg(p).a,b),v=TU(g,"endPoint"),function(t,e){var n,r;if(!e)throw Jb(new Yy("All edge sections need an end point."));n=a1(e,"x"),KJ(new qg(t).a,(wz(n),n)),r=a1(e,"y"),ZJ(new Yg(t).a,(wz(r),r))}(new Xg(p).a,v),m=CU(g,xOt),function(t,e){var n,r,i;if(e)for(i=((n=new iF(e.a.length)).b-n.a)*n.c<0?(ik(),Qae):new kE(n);i.Ob();)r=AU(e,RR(i.Pb(),20).a),y$(new Zg(t).a,r)}(new Kg(p).a,m),f=EU(i,SOt),function(t,e,n){null!=n&&z1(e,Qnt(t,n))}((a=new eC(t,p)).a,a.b,f),d=EU(i,_Ot),function(t,e,n){null!=n&&$1(e,Qnt(t,n))}((s=new nC(t,p)).a,s.b,d),l=CU(i,IOt),function(t,e,n){var r,i;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);i.Ob();)Kct(t,e,Dct(cQ(n,RR(i.Pb(),20).a)))}((u=new rC(n,p)).b,u.a,l),h=CU(i,kOt),function(t,e,n){var r,i;if(n)for(i=((r=new iF(n.a.length)).b-r.a)*r.c<0?(ik(),Qae):new kE(r);i.Ob();)Kct(t,e,Dct(cQ(n,RR(i.Pb(),20).a)))}((c=new iC(r,p)).b,c.a,h)}function ubt(t,e,n){var r,i,a,o,s;switch(s=null,e.g){case 1:for(i=new ed(t.j);i.a<i.c.c.length;)if(Ay($D(Bot(r=RR(xG(i),11),(dxt(),yqt)))))return r;S4(s=new Dst,(dxt(),yqt),(_P(),!0));break;case 2:for(o=new ed(t.j);o.a<o.c.c.length;)if(Ay($D(Bot(a=RR(xG(o),11),(dxt(),Bqt)))))return a;S4(s=new Dst,(dxt(),Bqt),(_P(),!0))}return s&&(OW(s,t),vct(s,n),function(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}(s.n,t.o,n)),s}function cbt(t,e){var n,i,a,o,s,u;for(u=-1,s=new sS,i=new hY(t.b);IA(i.a)||IA(i.b);){for(n=RR(IA(i.a)?xG(i.a):xG(i.b),18),u=r.Math.max(u,Dy(VD(Bot(n,(Zwt(),uQt))))),n.c==t?uS(_$(new lj(null,new ZW(n.b,16)),new sn),new lp(s)):uS(_$(new lj(null,new ZW(n.b,16)),new un),new hp(s)),o=het(s,0);o.b!=o.d.c;)ZP(a=RR(zU(o),69),(dxt(),lqt))||S4(a,lqt,n);R3(e,s),sV(s)}return u}function lbt(t,e,n,r,i){var a,o,s,u;mf(a=new knt(t),(vst(),KHt)),S4(a,(Zwt(),nJt),(Fat(),mte)),S4(a,(dxt(),Oqt),e.c.i),S4(o=new Dst,Oqt,e.c),vct(o,i),OW(o,a),S4(e.c,$qt,a),mf(s=new knt(t),KHt),S4(s,nJt,mte),S4(s,Oqt,e.d.i),S4(u=new Dst,Oqt,e.d),vct(u,i),OW(u,s),S4(e.d,$qt,s),PW(e,o),EW(e,u),WH(0,n.c.length),nM(n.c,0,a),r.c[r.c.length]=s,S4(a,aqt,k8(1)),S4(s,aqt,k8(1))}function hbt(t,e,n,i,a){var o,s,u,c,l;u=a?i.b:i.a,q_(t.a,i)||(l=u>n.s&&u<n.c,c=!1,0!=n.e.b&&0!=n.j.b&&(c|=r.Math.abs(u-Dy(VD(WP(n.e))))<lMt&&r.Math.abs(u-Dy(VD(WP(n.j))))<lMt,c|=r.Math.abs(u-Dy(VD(HP(n.e))))<lMt&&r.Math.abs(u-Dy(VD(HP(n.j))))<lMt),(l||c)&&((s=RR(Bot(e,(Zwt(),yQt)),74))||(s=new vm,S4(e,yQt,s)),jX(s,o=new uA(i),s.c.b,s.c),cB(t.a,o)))}function fbt(t,e,n,r){var i,a,o,s,u,c,l;if(function(t,e,n,r){var i,a,o,s,u,c;for(i=0;i<e.o;i++)for(a=i-e.j+n,o=0;o<e.p;o++)if(u=a,c=s=o-e.k+r,u+=t.j,c+=t.k,u>=0&&c>=0&&u<t.o&&c<t.p&&(!lnt(e,i,o)&&fnt(t,a,s)||cnt(e,i,o)&&!dnt(t,a,s)))return!0;return!1}(t,e,n,r))return!0;for(o=new ed(e.f);o.a<o.c.c.length;){switch(a=RR(xG(o),323),s=!1,c=(u=t.j-e.j+n)+e.o,i=(l=t.k-e.k+r)+e.p,a.a.g){case 0:s=I5(t,u+a.b.a,0,u+a.c.a,l-1);break;case 1:s=I5(t,c,l+a.b.a,t.o-1,l+a.c.a);break;case 2:s=I5(t,u+a.b.a,i,u+a.c.a,t.p-1);break;default:s=I5(t,0,l+a.b.a,u-1,l+a.c.a)}if(s)return!0}return!1}function dbt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,ZPt),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new js))),rU(t,ZPt,qIt,m8t),rU(t,ZPt,bMt,15),rU(t,ZPt,gMt,k8(0)),rU(t,ZPt,bPt,bet(f8t)),rU(t,ZPt,DAt,bet(p8t)),rU(t,ZPt,OAt,bet(b8t)),rU(t,ZPt,XIt,KPt),rU(t,ZPt,wMt,bet(d8t)),rU(t,ZPt,UAt,bet(g8t)),rU(t,ZPt,QPt,bet(l8t)),rU(t,ZPt,GAt,bet(h8t))}function pbt(t,e){var n,r,i,a,o,s,u,c,l;if(o=(i=t.i).o.a,a=i.o.b,o<=0&&a<=0)return dwt(),Zte;switch(c=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(c<0)return dwt(),Qte;if(c+s>o)return dwt(),Dte;break;case 4:case 3:if(l<0)return dwt(),Ote;if(l+n>a)return dwt(),Kte}return(u=(c+s/2)/o)+(r=(l+n/2)/a)<=1&&u-r<=0?(dwt(),Qte):u+r>=1&&u-r>=0?(dwt(),Dte):r<.5?(dwt(),Ote):(dwt(),Kte)}function gbt(t){var e,n,i,a,o,s;return l3(i=new L1,t),DC(Bot(i,(Zwt(),qZt)))===DC((E8(),d7t))&&S4(i,qZt,o9(i)),null==Bot(i,(AY(),Z6t))&&(s=RR(Not(t),160),S4(i,Z6t,XC(s.Xe(Z6t)))),S4(i,(dxt(),Oqt),t),S4(i,vqt,new GL(e=RR(Rx(VXt),9),RR(wO(e,e.length),9),0)),a=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(M$(f=new twt(t),!0,!(e==(E8(),p7t)||e==l7t)),h=f.a,d=new sm,nJ(),a=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt]),s=0,c=a.length;s<c;++s)n=a[s],(l=rE(h,Azt,n))&&(d.d=r.Math.max(d.d,l.Re()));for(i=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt]),o=0,u=i.length;o<u;++o)n=i[o],(l=rE(h,Pzt,n))&&(d.a=r.Math.max(d.a,l.Re()));for(g=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt]),v=0,y=g.length;v<y;++v)(l=rE(h,g[v],Azt))&&(d.b=r.Math.max(d.b,l.Se()));for(p=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt]),b=0,m=p.length;b<m;++b)(l=rE(h,p[b],Pzt))&&(d.c=r.Math.max(d.c,l.Se()));d.d>0&&(d.d+=h.n.d,d.d+=h.d);d.a>0&&(d.a+=h.n.a,d.a+=h.d);d.b>0&&(d.b+=h.n.b,d.b+=h.d);d.c>0&&(d.c+=h.n.c,d.c+=h.d);return d}((rW(t)&&new _y(rW(t)),new PP(rW(t)?new _y(rW(t)):null,t)),f7t),o=RR(Bot(i,GQt),115),XH(n=i.d,o),XH(n,a),i}function bbt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;for(n=!1,u=Dy(VD(Bot(e,(Zwt(),AJt)))),f=F_t*u,i=new ed(e.b);i.a<i.c.c.length;)for(r=RR(xG(i),29),a=RR(xG(s=new ed(r.a)),10),c=GF(t.a[a.p]);s.a<s.c.c.length;)o=RR(xG(s),10),c!=(l=GF(t.a[o.p]))&&(h=EA(t.b,a,o),a.n.b+a.o.b+a.d.a+c.a+h>o.n.b-o.d.d+l.a+f&&(d=c.g+l.g,l.a=(l.g*l.a+c.g*c.a)/d,l.g=d,c.f=l,n=!0)),a=o,c=l;return n}function vbt(t,e,n,r,i,a,o){var s,u,c,l,h;for(h=new YT,u=e.Ic();u.Ob();)for(l=new ed(RR(u.Pb(),818).uf());l.a<l.c.c.length;)DC((c=RR(xG(l),183)).Xe((fxt(),H8t)))===DC((VJ(),m7t))&&(cgt(h,c,!1,r,i,a,o),mut(t,h));for(s=n.Ic();s.Ob();)for(l=new ed(RR(s.Pb(),818).uf());l.a<l.c.c.length;)DC((c=RR(xG(l),183)).Xe((fxt(),H8t)))===DC((VJ(),v7t))&&(cgt(h,c,!0,r,i,a,o),mut(t,h))}function mbt(t,e){var n,i,a,o;return i=r.Math.min(r.Math.abs(t.c-(e.c+e.b)),r.Math.abs(t.c+t.b-e.c)),o=r.Math.min(r.Math.abs(t.d-(e.d+e.a)),r.Math.abs(t.d+t.a-e.d)),(n=r.Math.abs(t.c+t.b/2-(e.c+e.b/2)))>t.b/2+e.b/2||(a=r.Math.abs(t.d+t.a/2-(e.d+e.a/2)))>t.a/2+e.a/2?1:0==n&&0==a?0:0==n?o/a+1:0==a?i/n+1:r.Math.min(i/n,o/a)+1}function ybt(t,e){var n,i,a,o,s,u;return(a=x1(t))==(u=x1(e))?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(i=t.e-e.e,(n=(t.d>0?t.d:r.Math.floor((t.a-1)*HSt)+1)-(e.d>0?e.d:r.Math.floor((e.a-1)*HSt)+1))>i+1?a:n<i-1?-a:(!t.c&&(t.c=z6(t.f)),o=t.c,!e.c&&(e.c=z6(e.f)),s=e.c,i<0?o=vQ(o,yvt(-i)):i>0&&(s=vQ(s,yvt(i))),ftt(o,s))):a<u?-1:1}function wbt(t,e){var n,r,i,a,o,s,u;for(a=0,s=0,u=0,i=new ed(t.f.e);i.a<i.c.c.length;)e!=(r=RR(xG(i),144))&&(a+=o=t.i[e.b][r.b],(n=wK(e.d,r.d))>0&&t.d!=(EZ(),oHt)&&(s+=o*(r.d.a+t.a[e.b][r.b]*(e.d.a-r.d.a)/n)),n>0&&t.d!=(EZ(),iHt)&&(u+=o*(r.d.b+t.a[e.b][r.b]*(e.d.b-r.d.b)/n)));switch(t.d.g){case 1:return new YM(s/a,e.d.b);case 2:return new YM(e.d.a,u/a);default:return new YM(s/a,u/a)}}function xbt(t){var e,n,r,i,a;for(LR(a=new RY((!t.a&&(t.a=new fE(Jee,t,5)),t.a).i+2),new YM(t.j,t.k)),uS(new lj(null,(!t.a&&(t.a=new fE(Jee,t,5)),new ZW(t.a,16))),new Fg(a)),LR(a,new YM(t.b,t.c)),e=1;e<a.c.length-1;)TW(e-1,a.c.length),n=RR(a.c[e-1],8),TW(e,a.c.length),r=RR(a.c[e],8),TW(e+1,a.c.length),i=RR(a.c[e+1],8),n.a==r.a&&r.a==i.a||n.b==r.b&&r.b==i.b?tY(a,e):++e;return a}function _bt(){var t;for(_bt=S,yFt=X3(uw(noe,1),uSt,24,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),wFt=hK(noe,uSt,24,37,15,1),xFt=X3(uw(noe,1),uSt,24,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),_Ft=hK(ioe,FSt,24,37,14,1),t=2;t<=36;t++)wFt[t]=CH(r.Math.pow(t,yFt[t])),_Ft[t]=dit(f_t,wFt[t])}function Sbt(t,e){var n,r,i,a,o,s,u;for(n=fP(dS(hS(fS(new $v,e),new WV(e.e)),FGt),t.a),0==e.j.c.length||GK(RR(JN(e.j,0),56).a,n),u=new Wb,t$(t.e,n,u),o=new Pv,s=new Pv,a=new ed(e.k);a.a<a.c.c.length;)cB(o,(i=RR(xG(a),18)).c),cB(s,i.d);(r=o.a.gc()-s.a.gc())<0?(c4(u,!0,(E8(),h7t)),c4(u,!1,f7t)):r>0&&(c4(u,!1,(E8(),h7t)),c4(u,!0,f7t)),cJ(e.g,new sI(t,n)),t$(t.g,e,n)}function kbt(t){var e;if(1!=(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i)throw Jb(new Ny(CDt+(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i));return e=new vm,v3(RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93))&&W0(e,rxt(t,v3(RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93)),!1)),v3(RR(sJ((!t.c&&(t.c=new nL(nne,t,5,8)),t.c),0),93))&&W0(e,rxt(t,v3(RR(sJ((!t.c&&(t.c=new nL(nne,t,5,8)),t.c),0),93)),!0)),e}function Ibt(t,e){var n,r,i;for(i=!1,r=new xF(zE((e.d?t.a.c==(sH(),X0t)?p9(e.b):g9(e.b):t.a.c==(sH(),U0t)?p9(e.b):g9(e.b)).a.Ic(),new p));Qlt(r);)if(n=RR(dq(r),18),(Ay(t.a.f[t.a.g[e.b.p].p])||Nq(n)||n.c.i.c!=n.d.i.c)&&!Ay(t.a.n[t.a.g[e.b.p].p])&&!Ay(t.a.n[t.a.g[e.b.p].p])&&(i=!0,q_(t.b,t.a.g[rrt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=i,e.a=null,e}function Mbt(t,e,n){var r,i,a,o,s,u,c;if(0==(r=n.gc()))return!1;if(t._i())if(u=t.aj(),d7(t,e,n),o=1==r?t.Ui(3,null,n.Ic().Pb(),e,u):t.Ui(5,null,n,e,u),t.Yi()){for(s=r<100?null:new cx(r),a=e+r,i=e;i<a;++i)c=t.Ji(i),s=t.Zi(c,s);s?(s.zi(o),s.Ai()):t.Vi(o)}else t.Vi(o);else if(d7(t,e,n),t.Yi()){for(s=r<100?null:new cx(r),a=e+r,i=e;i<a;++i)s=t.Zi(t.Ji(i),s);s&&s.Ai()}return!0}function Cbt(t,e,n){var r,i,a,o;return t._i()?(i=null,a=t.aj(),r=t.Ui(1,o=t.Pi(e,t.ji(e,n)),n,e,a),t.Yi()&&!(t.ii()&&o?u8(o,n):DC(o)===DC(n))?(o&&(i=t.$i(o,i)),(i=t.Zi(n,i))?(i.zi(r),i.Ai()):t.Vi(r)):i?(i.zi(r),i.Ai()):t.Vi(r),o):(o=t.Pi(e,t.ji(e,n)),t.Yi()&&!(t.ii()&&o?u8(o,n):DC(o)===DC(n))&&(i=null,o&&(i=t.$i(o,null)),(i=t.Zi(n,i))&&i.Ai()),o)}function Tbt(t,e){var n,i,a,o,s,u,c,l;if(t.e=e,t.f=RR(Bot(e,(y0(),WVt)),228),function(t){var e,n,r;for(r=t.e.c.length,t.a=FN(noe,[u_t,uSt],[47,24],15,[r,r],2),n=new ed(t.c);n.a<n.c.c.length;)e=RR(xG(n),281),t.a[e.c.b][e.d.b]+=RR(Bot(e,(fdt(),DVt)),20).a}(e),t.d=r.Math.max(16*e.e.c.length+e.c.c.length,256),!Ay($D(Bot(e,(fdt(),MVt)))))for(l=t.e.e.c.length,u=new ed(e.e);u.a<u.c.c.length;)(c=RR(xG(u),144).d).a=Fj(t.f)*l,c.b=Fj(t.f)*l;for(n=e.b,o=new ed(e.c);o.a<o.c.c.length;)if(a=RR(xG(o),281),(i=RR(Bot(a,RVt),20).a)>0){for(s=0;s<i;s++)LR(n,new FB(a));bct(a)}}function Abt(t,e){var n,i,a,o,s;if(t.k==(vst(),XHt)&&(n=Bx(_$(RR(Bot(t,(dxt(),Gqt)),14).Mc(),new gd(new tr))).sd((xS(),BBt))?e:(Krt(),Y7t),S4(t,Iqt,n),n!=(Krt(),q7t)))for(i=RR(Bot(t,Oqt),18),s=Dy(VD(Bot(i,(Zwt(),uQt)))),o=0,n==X7t?o=t.o.b-r.Math.ceil(s/2):n==Y7t&&(t.o.b-=Dy(VD(Bot(jz(t),_Jt))),o=(t.o.b-r.Math.ceil(s))/2),a=new ed(t.j);a.a<a.c.c.length;)RR(xG(a),11).n.b=o}function Ebt(t,e,n,r){var i,a,o,s,u,c,l,h;if(Cdt(t.e,e)){for(h=sdt(t.e.Og(),e),a=RR(t.g,118),l=null,u=-1,s=-1,i=0,c=0;c<t.i;++c)o=a[c],h.ml(o.Xj())&&(i==n&&(u=c),i==r&&(s=c,l=o.bd()),++i);if(-1==u)throw Jb(new My(WOt+n+GOt+i));if(-1==s)throw Jb(new My(UOt+r+GOt+i));return Y8(t,u,s),FT(t.e)&&Cv(t,lH(t,7,e,k8(r),l,n,!0)),l}throw Jb(new Ny("The feature must be many-valued to support move"))}function Pbt(){Pbt=S,tk(),Zae=new Dl,X3(uw(Yre,2),u_t,365,0,[X3(uw(Yre,1),sjt,583,0,[new Jx(ENt)])]),X3(uw(Yre,2),u_t,365,0,[X3(uw(Yre,1),sjt,583,0,[new Jx(PNt)])]),X3(uw(Yre,2),u_t,365,0,[X3(uw(Yre,1),sjt,583,0,[new Jx(DNt)]),X3(uw(Yre,1),sjt,583,0,[new Jx(PNt)])]),new tA("-1"),X3(uw(Yre,2),u_t,365,0,[X3(uw(Yre,1),sjt,583,0,[new Jx("\\c+")])]),new tA("0"),new tA("0"),new tA("1"),new tA("0"),new tA(VNt)}function Dbt(t){var e,n;return t.c&&t.c.fh()&&(n=RR(t.c,48),t.c=RR(P6(t,n),138),t.c!=n&&(0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,9,2,n,t.c)),zA(t.Cb,395)?t.Db>>16==-15&&t.Cb.ih()&&bZ(new CK(t.Cb,9,13,n,t.c,ent(NZ(RR(t.Cb,58)),t))):zA(t.Cb,87)&&t.Db>>16==-23&&t.Cb.ih()&&(zA(e=t.c,87)||(mxt(),e=Fre),zA(n,87)||(mxt(),n=Fre),bZ(new CK(t.Cb,9,10,n,e,ent(pX(RR(t.Cb,26)),t)))))),t.c}function Obt(t,e,n){var r,i,a,o,s,u,c,l;for(qat(n,"Hyperedge merging",1),function(t,e){var n,r,i,a;for((a=RR(NX(oQ(oQ(new lj(null,new ZW(e.b,16)),new On),new Ln),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14)).Hc(new Rn),n=0,i=a.Ic();i.Ob();)-1==(r=RR(i.Pb(),11)).p&&pht(t,r,n++)}(t,e),s=new tU(e.b,0);s.b<s.d.gc();)if(MP(s.b<s.d.gc()),0!=(c=RR(s.d.Xb(s.c=s.b++),29).a).c.length)for(r=null,i=null,a=null,o=null,u=0;u<c.c.length;u++)TW(u,c.c.length),(i=(r=RR(c.c[u],10)).k)==(vst(),qHt)&&o==qHt&&(l=Jvt(r,a)).a&&(Gdt(r,a,l.b,l.c),TW(u,c.c.length),Wx(c.c,u,1),--u,r=a,i=o),a=r,o=i;Sst(n)}function Lbt(t,e){var n,r;if(null!=e)if(r=art(t)){if(0==(1&r.i))return nk(),!(n=RR(oz(Vne,r),54))||n.rj(e);if(r==roe)return OC(e);if(r==noe)return zA(e,20);if(r==soe)return zA(e,155);if(r==aoe)return zA(e,215);if(r==eoe)return zA(e,172);if(r==ooe)return LC(e);if(r==uoe)return zA(e,186);if(r==ioe)return zA(e,162)}else if(zA(e,55))return t.pk(RR(e,55));return!1}function Rbt(t,e,n){var r,i,a,o,s,u,c;if(e==n)return!0;if(e=Klt(t,e),n=Klt(t,n),r=Ont(e)){if((u=Ont(n))!=r)return!!u&&((o=r.yj())==u.yj()&&null!=o);if(!e.d&&(e.d=new fE(vre,e,1)),i=(a=e.d).i,!n.d&&(n.d=new fE(vre,n,1)),i==(c=n.d).i)for(s=0;s<i;++s)if(!Rbt(t,RR(sJ(a,s),86),RR(sJ(c,s),86)))return!1;return!0}return e.e==n.e}function Nbt(t,e,n,r){var i,a,o,s,u;switch((u=new uA(e.n)).a+=e.o.a/2,u.b+=e.o.b/2,s=Dy(VD(Bot(e,(Zwt(),eJt)))),a=t.f,o=t.d,i=t.c,RR(Bot(e,(dxt(),pqt)),61).g){case 1:u.a+=o.b+i.a-n/2,u.b=-r-s,e.n.b=-(o.d+s+i.b);break;case 2:u.a=a.a+o.b+o.c+s,u.b+=o.d+i.b-r/2,e.n.a=a.a+o.c+s-i.a;break;case 3:u.a+=o.b+i.a-n/2,u.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-i.b;break;case 4:u.a=-n-s,u.b+=o.d+i.b-r/2,e.n.a=-(o.b+s+i.a)}return u}function jbt(t,e){var n,i,a,o;return i=r.Math.abs(DF(t.b).a-DF(e.b).a),o=r.Math.abs(DF(t.b).b-DF(e.b).b),0,0,n=1,a=1,i>t.b.b/2+e.b.b/2&&(n=1-r.Math.min(r.Math.abs(t.b.c-(e.b.c+e.b.b)),r.Math.abs(t.b.c+t.b.b-e.b.c))/i),o>t.b.a/2+e.b.a/2&&(a=1-r.Math.min(r.Math.abs(t.b.d-(e.b.d+e.b.a)),r.Math.abs(t.b.d+t.b.a-e.b.d))/o),(1-r.Math.min(n,a))*r.Math.sqrt(i*i+o*o)}function Fbt(t){var e,n,i;for(awt(t,t.e,t.f,(oH(),I2t),!0,t.c,t.i),awt(t,t.e,t.f,I2t,!1,t.c,t.i),awt(t,t.e,t.f,M2t,!0,t.c,t.i),awt(t,t.e,t.f,M2t,!1,t.c,t.i),function(t,e,n,r,i){var a,o,s,u,c,l,h;for(o=new ed(e);o.a<o.c.c.length;){if(u=(a=RR(xG(o),18)).c,n.a._b(u))oH(),c=I2t;else{if(!r.a._b(u))throw Jb(new Ny("Source port must be in one of the port sets."));oH(),c=M2t}if(l=a.d,n.a._b(l))oH(),h=I2t;else{if(!r.a._b(l))throw Jb(new Ny("Target port must be in one of the port sets."));oH(),h=M2t}s=new $ut(a,c,h),t$(t.b,a,s),i.c[i.c.length]=s}}(t,t.c,t.e,t.f,t.i),n=new tU(t.i,0);n.b<n.d.gc();)for(MP(n.b<n.d.gc()),e=RR(n.d.Xb(n.c=n.b++),128),i=new tU(t.i,n.b);i.b<i.d.gc();)MP(i.b<i.d.gc()),Gmt(e,RR(i.d.Xb(i.c=i.b++),128));!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C;for(I=new sS,_=new sS,b=-1,u=new ed(t);u.a<u.c.c.length;){for((o=RR(xG(u),128)).s=b--,l=0,y=0,a=new ed(o.t);a.a<a.c.c.length;)y+=(r=RR(xG(a),267)).c;for(i=new ed(o.i);i.a<i.c.c.length;)l+=(r=RR(xG(i),267)).c;o.n=l,o.u=y,0==y?jX(_,o,_.c.b,_.c):0==l&&jX(I,o,I.c.b,I.c)}C=EX(t),h=t.c.length,g=h+1,v=h-1,d=new Vb;for(;0!=C.a.gc();){for(;0!=_.b;)MP(0!=_.b),x=RR(uJ(_,_.a.a),128),C.a.zc(x),x.s=v--,nft(x,I,_);for(;0!=I.b;)MP(0!=I.b),S=RR(uJ(I,I.a.a),128),C.a.zc(S),S.s=g++,nft(S,I,_);for(p=B_t,c=C.a.ec().Ic();c.Ob();)(m=(o=RR(c.Pb(),128)).u-o.n)>=p&&(m>p&&(d.c=hK(gjt,zxt,1,0,5,1),p=m),d.c[d.c.length]=o);0!=d.c.length&&(f=RR(JN(d,ont(e,d.c.length)),128),C.a.zc(f),f.s=g++,nft(f,I,_),d.c=hK(gjt,zxt,1,0,5,1))}for(w=t.c.length+1,s=new ed(t);s.a<s.c.c.length;)(o=RR(xG(s),128)).s<h&&(o.s+=w);for(k=new ed(t);k.a<k.c.c.length;)for(n=new tU((S=RR(xG(k),128)).t,0);n.b<n.d.gc();)MP(n.b<n.d.gc()),M=(r=RR(n.d.Xb(n.c=n.b++),267)).b,S.s>M.s&&(n$(n),yZ(M.i,r),r.c>0&&(r.a=M,LR(M.t,r),r.b=S,LR(S.i,r)))}(t.i,RR(Bot(t.d,(dxt(),Wqt)),228)),function(t){var e,n,i,a,o,s,u,c,l;for(c=new sS,s=new sS,a=new ed(t);a.a<a.c.c.length;)(n=RR(xG(a),128)).v=0,n.n=n.i.c.length,n.u=n.t.c.length,0==n.n&&jX(c,n,c.c.b,c.c),0==n.u&&0==n.r.a.gc()&&jX(s,n,s.c.b,s.c);o=-1;for(;0!=c.b;)for(e=new ed((n=RR(jrt(c,0),128)).t);e.a<e.c.c.length;)(l=RR(xG(e),267).b).v=r.Math.max(l.v,n.v+1),o=r.Math.max(o,l.v),--l.n,0==l.n&&jX(c,l,c.c.b,c.c);if(o>-1){for(i=het(s,0);i.b!=i.d.c;)(n=RR(zU(i),128)).v=o;for(;0!=s.b;)for(e=new ed((n=RR(jrt(s,0),128)).i);e.a<e.c.c.length;)0==(u=RR(xG(e),267).a).r.a.gc()&&(u.v=r.Math.min(u.v,n.v-1),--u.u,0==u.u&&jX(s,u,s.c.b,s.c))}}(t.i)}function Bbt(){var t,e,n,r,i,a,o,s,u;for(Bbt=S,mae=hK(aoe,iOt,24,255,15,1),yae=hK(eoe,q_t,24,64,15,1),e=0;e<255;e++)mae[e]=-1;for(n=90;n>=65;n--)mae[n]=n-65<<24>>24;for(r=122;r>=97;r--)mae[r]=r-97+26<<24>>24;for(i=57;i>=48;i--)mae[i]=i-48+52<<24>>24;for(mae[43]=62,mae[47]=63,a=0;a<=25;a++)yae[a]=65+a&Y_t;for(o=26,u=0;o<=51;++o,u++)yae[o]=97+u&Y_t;for(t=52,s=0;t<=61;++t,s++)yae[t]=48+s&Y_t;yae[62]=43,yae[63]=47}function zbt(t,e){var n,r,i,a,o,s,u;if(!VH(t))throw Jb(new jy(MDt));if(a=(r=VH(t)).g,i=r.f,a<=0&&i<=0)return dwt(),Zte;switch(s=t.i,u=t.j,e.g){case 2:case 1:if(s<0)return dwt(),Qte;if(s+t.g>a)return dwt(),Dte;break;case 4:case 3:if(u<0)return dwt(),Ote;if(u+t.f>i)return dwt(),Kte}return(o=(s+t.g/2)/a)+(n=(u+t.f/2)/i)<=1&&o-n<=0?(dwt(),Qte):o+n>=1&&o-n>=0?(dwt(),Dte):n<.5?(dwt(),Ote):(dwt(),Kte)}function $bt(t){var e,n,r,i,a,o;if(bxt(),4!=t.e&&5!=t.e)throw Jb(new Ny("Token#complementRanges(): must be RANGE: "+t.e));for(Rht(a=t),_mt(a),r=a.b.length+2,0==a.b[0]&&(r-=2),(n=a.b[a.b.length-1])==UNt&&(r-=2),(i=new uG(4)).b=hK(noe,uSt,24,r,15,1),o=0,a.b[0]>0&&(i.b[o++]=0,i.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)i.b[o++]=a.b[e]+1,i.b[o++]=a.b[e+1]-1;return n!=UNt&&(i.b[o++]=n+1,i.b[o]=UNt),i.a=!0,i}function Vbt(t,e,n){var r,i,a,o,s,u,c,l;if(0==(r=n.gc()))return!1;if(t._i())if(c=t.aj(),fot(t,e,n),o=1==r?t.Ui(3,null,n.Ic().Pb(),e,c):t.Ui(5,null,n,e,c),t.Yi()){for(s=r<100?null:new cx(r),a=e+r,i=e;i<a;++i)l=t.g[i],s=t.Zi(l,s),s=t.ej(l,s);s?(s.zi(o),s.Ai()):t.Vi(o)}else t.Vi(o);else if(fot(t,e,n),t.Yi()){for(s=r<100?null:new cx(r),a=e+r,i=e;i<a;++i)u=t.g[i],s=t.Zi(u,s);s&&s.Ai()}return!0}function Hbt(t,e,n,r){var i,a,o,s,u;for(o=new ed(t.k);o.a<o.c.c.length;)i=RR(xG(o),129),r&&i.c!=(MY(),b2t)||(u=i.b).g<0&&i.d>0&&(yf(u,u.d-i.d),i.c==(MY(),b2t)&&wf(u,u.a-i.d),u.d<=0&&u.i>0&&jX(e,u,e.c.b,e.c));for(a=new ed(t.f);a.a<a.c.c.length;)i=RR(xG(a),129),r&&i.c!=(MY(),b2t)||(s=i.a).g<0&&i.d>0&&(Ef(s,s.i-i.d),i.c==(MY(),b2t)&&Pf(s,s.b-i.d),s.i<=0&&s.d>0&&jX(n,s,n.c.b,n.c))}function Wbt(t,e,n){var r,i,a,o,s,u,c,l;for(qat(n,"Processor compute fanout",1),JF(t.b),JF(t.a),s=null,a=het(e.b,0);!s&&a.b!=a.d.c;)Ay($D(Bot(c=RR(zU(a),83),(qmt(),s3t))))&&(s=c);for(jX(u=new sS,s,u.c.b,u.c),pwt(t,u),l=het(e.b,0);l.b!=l.d.c;)o=HD(Bot(c=RR(zU(l),83),(qmt(),K2t))),i=null!=IH(t.b,o)?RR(IH(t.b,o),20).a:0,S4(c,Y2t,k8(i)),r=1+(null!=IH(t.a,o)?RR(IH(t.a,o),20).a:0),S4(c,X2t,k8(r));Sst(n)}function Gbt(t,e,n,r,i){var a,o,s,u,c,l,h,f,d;for(h=function(t,e){var n,r,i;for(i=new tU(t.e,0),n=0;i.b<i.d.gc();){if((r=Dy((MP(i.b<i.d.gc()),VD(i.d.Xb(i.c=i.b++))))-e)>xEt)return n;r>-1e-6&&++n}return n}(t,n),s=0;s<e;s++){for(yO(i,n),f=new Vb,MP(r.b<r.d.gc()),d=RR(r.d.Xb(r.c=r.b++),402),c=h+s;c<t.b;c++)o=d,MP(r.b<r.d.gc()),LR(f,new xdt(o,d=RR(r.d.Xb(r.c=r.b++),402),n));for(l=h+s;l<t.b;l++)MP(r.b>0),r.a.Xb(r.c=--r.b),l>h+s&&n$(r);for(a=new ed(f);a.a<a.c.c.length;)yO(r,RR(xG(a),402));if(s<e-1)for(u=h+s;u<t.b;u++)MP(r.b>0),r.a.Xb(r.c=--r.b)}}function Ubt(t){var e,n,i,a,o,s,u,c,l,h,f,d,p;if(n=t.i,e=t.n,0==t.b)for(p=n.c+e.b,d=n.b-e.b-e.c,c=0,h=(s=t.a).length;c<h;++c)Rj(a=s[c],p,d);else i=jnt(t,!1),Rj(t.a[0],n.c+e.b,i[0]),Rj(t.a[2],n.c+n.b-e.c-i[2],i[2]),f=n.b-e.b-e.c,i[0]>0&&(f-=i[0]+t.c,i[0]+=t.c),i[2]>0&&(f-=i[2]+t.c),i[1]=r.Math.max(i[1],f),Rj(t.a[1],n.c+e.b+i[0]-(i[1]-f)/2,i[1]);for(u=0,l=(o=t.a).length;u<l;++u)zA(a=o[u],324)&&RR(a,324).Te()}function Xbt(t,e){var n,r,i,a,o,s,u,c,l;if(null==(c=$D(Bot(e,(fdt(),NVt))))||(wz(c),c)){for(l=hK(roe,Zkt,24,e.e.c.length,16,1),o=function(t){var e,n,r,i,a;for(i=t.e.c.length,r=hK(_jt,QIt,14,i,0,1),a=new ed(t.e);a.a<a.c.c.length;)r[RR(xG(a),144).b]=new sS;for(n=new ed(t.c);n.a<n.c.c.length;)r[(e=RR(xG(n),281)).c.b].Dc(e),r[e.d.b].Dc(e);return r}(e),i=new sS,u=new ed(e.e);u.a<u.c.c.length;)(n=Jht(t,RR(xG(u),144),null,null,l,o))&&(l3(n,e),jX(i,n,i.c.b,i.c));if(i.b>1)for(r=het(i,0);r.b!=r.d.c;)for(a=0,s=new ed((n=RR(zU(r),229)).e);s.a<s.c.c.length;)RR(xG(s),144).b=a++;return i}return Jq(X3(uw(fVt,1),JIt,229,0,[e]))}function qbt(t,e){var n,r,i,a;if(W4(),a=RR(Bot(t.i,(Zwt(),nJt)),100),0!=t.j.g-e.j.g||a!=(Fat(),vte)&&a!=yte&&a!=mte)return 0;if(a==(Fat(),vte)&&(n=RR(Bot(t,rJt),20),r=RR(Bot(e,rJt),20),n&&r&&0!=(i=n.a-r.a)))return i;switch(t.j.g){case 1:return j8(t.n.a,e.n.a);case 2:return j8(t.n.b,e.n.b);case 3:return j8(e.n.a,t.n.a);case 4:return j8(e.n.b,t.n.b);default:throw Jb(new jy("Port side is undefined"))}}function Ybt(t){var e,n,r,i,a,o,s,u,c,l,h;for((h=new no).d=0,o=new ed(t.b);o.a<o.c.c.length;)a=RR(xG(o),29),h.d+=a.a.c.length;for(r=0,i=0,h.a=hK(noe,uSt,24,t.b.c.length,15,1),c=0,l=0,h.e=hK(noe,uSt,24,h.d,15,1),n=new ed(t.b);n.a<n.c.c.length;)for((e=RR(xG(n),29)).p=r++,h.a[e.p]=i++,l=0,u=new ed(e.a);u.a<u.c.c.length;)(s=RR(xG(u),10)).p=c++,h.e[s.p]=l++;return h.c=new wg(h),h.b=VP(h.d),function(t,e){var n,r,i,a,o,s,u,c;for(a=new ed(e.b);a.a<a.c.c.length;)for(u=new ed(RR(xG(a),29).a);u.a<u.c.c.length;){for(s=RR(xG(u),10),c=new Vb,o=0,r=new xF(zE(p9(s).a.Ic(),new p));Qlt(r);)Nq(n=RR(dq(r),18))||!Nq(n)&&n.c.i.c==n.d.i.c||((i=RR(Bot(n,(Zwt(),dJt)),20).a)>o&&(o=i,c.c=hK(gjt,zxt,1,0,5,1)),i==o&&LR(c,new KM(n.c.i,n)));mV(),kA(c,t.c),Tj(t.b,s.p,c)}}(h,t),h.f=VP(h.d),function(t,e){var n,r,i,a,o,s,u,c;for(a=new ed(e.b);a.a<a.c.c.length;)for(u=new ed(RR(xG(a),29).a);u.a<u.c.c.length;){for(s=RR(xG(u),10),c=new Vb,o=0,r=new xF(zE(g9(s).a.Ic(),new p));Qlt(r);)Nq(n=RR(dq(r),18))||!Nq(n)&&n.c.i.c==n.d.i.c||((i=RR(Bot(n,(Zwt(),dJt)),20).a)>o&&(o=i,c.c=hK(gjt,zxt,1,0,5,1)),i==o&&LR(c,new KM(n.d.i,n)));mV(),kA(c,t.c),Tj(t.f,s.p,c)}}(h,t),h}function Kbt(t){var e,n,r,i,a;if(!t.b)for(t.b=new Vb,r=new ed(t.a.b);r.a<r.c.c.length;)for(a=new ed(RR(xG(r),29).a);a.a<a.c.c.length;)if(i=RR(xG(a),10),t.c.Mb(i)&&(LR(t.b,new tR(t,i,t.e)),t.d)){if(ZP(i,(dxt(),tYt)))for(n=RR(Bot(i,tYt),14).Ic();n.Ob();)e=RR(n.Pb(),10),LR(t.b,new tR(t,e,!1));if(ZP(i,tqt))for(n=RR(Bot(i,tqt),14).Ic();n.Ob();)e=RR(n.Pb(),10),LR(t.b,new tR(t,e,!1))}return t.b}function Zbt(t){var e,n,r,i,a;if(!t.g){if(a=new wu,null==(e=Jre).a.xc(t,e)){for(n=new SE(KV(t));n.e!=n.i.gc();)QB(a,Zbt(RR(Htt(n),26)));e.a.zc(t),e.a.gc()}for(r=a.i,!t.s&&(t.s=new FF(cre,t,21,17)),i=new SE(t.s);i.e!=i.i.gc();++r)Of(RR(Htt(i),443),r);QB(a,(!t.s&&(t.s=new FF(cre,t,21,17)),t.s)),Y5(a),t.g=new I4(t,a),t.i=RR(a.g,246),null==t.i&&(t.i=eie),t.p=null,$q(t).b&=-5}return t.g}function Qbt(t){var e,n,i,a,o,s,u,c,l,h,f,d,p;if(i=t.i,n=t.n,0==t.b)e=Nnt(t,!1),Lj(t.a[0],i.d+n.d,e[0]),Lj(t.a[2],i.d+i.a-n.a-e[2],e[2]),f=i.a-n.d-n.a,e[0]>0&&(e[0]+=t.c,f-=e[0]),e[2]>0&&(f-=e[2]+t.c),e[1]=r.Math.max(e[1],f),Lj(t.a[1],i.d+n.d+e[0]-(e[1]-f)/2,e[1]);else for(p=i.d+n.d,d=i.a-n.d-n.a,c=0,h=(s=t.a).length;c<h;++c)Lj(a=s[c],p,d);for(u=0,l=(o=t.a).length;u<l;++u)zA(a=o[u],324)&&RR(a,324).Ue()}function Jbt(t,e,n,r){var i,a,o,s,u,c;if(c=sdt(t.e.Og(),e),o=RR(t.g,118),Cdt(t.e,e)){if(e.ci()&&(a=xvt(t,e,r,zA(e,97)&&0!=(RR(e,17).Bb&BSt)))>=0&&a!=n)throw Jb(new Ny(HOt));for(i=0,u=0;u<t.i;++u)if(s=o[u],c.ml(s.Xj())){if(i==n)return RR(Net(t,u,(ek(),RR(e,65).Jj()?RR(r,71):cX(e,r))),71);++i}throw Jb(new My(zLt+n+GOt+i))}for(u=0;u<t.i;++u)if(s=o[u],c.ml(s.Xj()))return ek(),RR(e,65).Jj()?s:s.bd();return null}function tvt(t,e,n,r){var i,a,o,s,u;if(u=sdt(t.e.Og(),e),i=RR(t.g,118),ek(),RR(e,65).Jj()){for(o=0;o<t.i;++o)if(a=i[o],u.ml(a.Xj())&&u8(a,n))return!0}else if(null!=n){for(s=0;s<t.i;++s)if(a=i[s],u.ml(a.Xj())&&u8(n,a.bd()))return!0;if(r)for(o=0;o<t.i;++o)if(a=i[o],u.ml(a.Xj())&&DC(n)===DC(kD(t,RR(a.bd(),55))))return!0}else for(o=0;o<t.i;++o)if(a=i[o],u.ml(a.Xj())&&null==a.bd())return!1;return!1}function evt(t,e){var n,r,i,a,o,s;if(t.b<2)throw Jb(new Ny("The vector chain must contain at least a source and a target point."));for(MP(0!=t.b),WT(e,(r=RR(t.a.a.c,8)).a,r.b),s=new LP((!e.a&&(e.a=new fE(Jee,e,5)),e.a)),a=het(t,1);a.a<t.b-1;)o=RR(zU(a),8),s.e!=s.i.gc()?n=RR(Htt(s),463):(Sx(),Y9(s,n=new tu)),zT(n,o.a,o.b);for(;s.e!=s.i.gc();)Htt(s),zit(s);MP(0!=t.b),HT(e,(i=RR(t.c.b.c,8)).a,i.b)}function nvt(t,e,n,i){var a,o,s,u;for(u=n,s=new ed(e.a);s.a<s.c.c.length;){if(o=RR(xG(s),219),a=RR(o.b,63),q9(t.b.c,a.b.c+a.b.b)<=0&&q9(a.b.c,t.b.c+t.b.b)<=0&&q9(t.b.d,a.b.d+a.b.a)<=0&&q9(a.b.d,t.b.d+t.b.a)<=0){if(0==q9(a.b.c,t.b.c+t.b.b)&&i.a<0||0==q9(a.b.c+a.b.b,t.b.c)&&i.a>0||0==q9(a.b.d,t.b.d+t.b.a)&&i.b<0||0==q9(a.b.d+a.b.a,t.b.d)&&i.b>0){u=0;break}}else u=r.Math.min(u,yct(t,a,i));u=r.Math.min(u,nvt(t,o,u,i))}return u}function rvt(t,e){var n,r,i,a,o,s,u,c;for(n=0,r=new ed((TW(0,t.c.length),RR(t.c[0],101)).g.b.j);r.a<r.c.c.length;)RR(xG(r),11).p=n++;for(e==(dwt(),Ote)?kA(t,new Ki):kA(t,new Zi),o=0,c=t.c.length-1;o<c;)TW(o,t.c.length),a=RR(t.c[o],101),TW(c,t.c.length),u=RR(t.c[c],101),i=e==Ote?a.c:a.a,s=e==Ote?u.a:u.c,XF(a,e,(S3(),VGt),i),XF(u,e,$Gt,s),++o,--c;o==c&&XF((TW(o,t.c.length),RR(t.c[o],101)),e,(S3(),zGt),null)}function ivt(t,e,n){var r,i,a,o,s,u,c,l,h,f;return l=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new YM(e.i+e.g/2,e.j+e.f/2),(u=RR(_ht(e,(fxt(),V9t)),8)).a=u.a+l,u.b=u.b+h,i=(o.b-u.b)/(o.a-u.a),r=o.b-i*o.a,s=new YM(n.i+n.g/2,n.j+n.f/2),(c=RR(_ht(n,V9t),8)).a=c.a+l,c.b=c.b+h,a=(s.b-c.b)/(s.a-c.a),f=(r-(s.b-a*s.a))/(a-i),!(u.a<f&&o.a<f||f<u.a&&f<o.a)&&!(c.a<f&&s.a<f||f<c.a&&f<s.a)}function avt(t,e,n){var r,i,a,o,s,u;this.a=t,this.b=e,this.c=n,this.e=Jq(X3(uw(GBt,1),zxt,168,0,[new Ik(t,e),new Ik(e,n),new Ik(n,t)])),this.f=Jq(X3(uw(t8t,1),u_t,8,0,[t,e,n])),this.d=(r=$O(LA(this.b),this.a),i=$O(LA(this.c),this.a),a=$O(LA(this.c),this.b),o=r.a*(this.a.a+this.b.a)+r.b*(this.a.b+this.b.b),s=i.a*(this.a.a+this.c.a)+i.b*(this.a.b+this.c.b),u=2*(r.a*a.b-r.b*a.a),new YM((i.b*o-r.b*s)/u,(r.a*s-i.a*o)/u))}function ovt(t,e,n,r){var i,a,o,s,u,c,l,h,f;if(h=new xB(t.p),pQ(e,zOt,h),n&&!(t.f?AV(t.f):null).a.dc())for(pQ(e,"logs",c=new df),s=0,f=new Jf((t.f?AV(t.f):null).b.Ic());f.b.Ob();)l=new xB(HD(f.b.Pb())),cQ(c,s),bX(c,s,l),++s;if(r&&pQ(e,"executionTime",new cf(t.q)),!AV(t.a).a.dc())for(o=new df,pQ(e,bOt,o),s=0,a=new Jf(AV(t.a).b.Ic());a.b.Ob();)i=RR(a.b.Pb(),1921),u=new cy,cQ(o,s),bX(o,s,u),ovt(i,u,n,r),++s}function svt(t,e){var n,r,i,a,o,s,u,c,l,h;if(o=t.e,0==(u=e.e))return t;if(0==o)return 0==e.e?e:new nB(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=SH(t.a[0],WSt),r=SH(e.a[0],WSt),o<0&&(n=kK(n)),u<0&&(r=kK(r)),vtt(s8(n,r));if(-1==(i=a!=s?a>s?1:-1:n5(t.a,e.a,a)))h=-u,l=o==u?eY(e.a,s,t.a,a):lK(e.a,s,t.a,a);else if(h=o,o==u){if(0==i)return rpt(),$Ft;l=eY(t.a,a,e.a,s)}else l=lK(t.a,a,e.a,s);return JG(c=new nB(h,l.length,l)),c}function uvt(t,e){var n,r,i,a,o,s;for(a=t.c,o=t.d,PW(t,null),EW(t,null),e&&Ay($D(Bot(o,(dxt(),yqt))))?PW(t,ubt(o.i,(M1(),N1t),(dwt(),Dte))):PW(t,o),e&&Ay($D(Bot(a,(dxt(),Bqt))))?EW(t,ubt(a.i,(M1(),R1t),(dwt(),Qte))):EW(t,a),r=new ed(t.b);r.a<r.c.c.length;)n=RR(xG(r),69),(i=RR(Bot(n,(Zwt(),JZt)),271))==(VJ(),m7t)?S4(n,JZt,v7t):i==v7t&&S4(n,JZt,m7t);s=Ay($D(Bot(t,(dxt(),Uqt)))),S4(t,Uqt,(_P(),!s)),t.a=i5(t.a)}function cvt(t,e,n,r){var i,a,o,s,u,c;for(o=new oyt(t,e,n),u=new tU(r,0),i=!1;u.b<u.d.gc();)MP(u.b<u.d.gc()),(s=RR(u.d.Xb(u.c=u.b++),232))==e||s==n?n$(u):!i&&Dy(uE(s.g,s.d[0]).a)>Dy(uE(o.g,o.d[0]).a)?(MP(u.b>0),u.a.Xb(u.c=--u.b),yO(u,o),i=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Vb),s.e).Kc(e),c=(!s.e&&(s.e=new Vb),s.e).Kc(n),(a||c)&&((!s.e&&(s.e=new Vb),s.e).Dc(o),++o.c));i||(r.c[r.c.length]=o)}function lvt(t){var e,n,r,i,a,o;for(this.e=new Vb,this.a=new Vb,n=t.b-1;n<3;n++)AD(t,0,RR(met(t,0),8));if(t.b<4)throw Jb(new Ny("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(t,e){var n,r,i,a,o;if(e<2*t.b)throw Jb(new Ny("The knot vector must have at least two time the dimension elements."));for(t.f=1,i=0;i<t.b;i++)LR(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)LR(t.e,a/n);if(t.d)for(r=0;r<t.b;r++)LR(t.e,1)}(this,t.b+this.b-1),o=new Vb,a=new ed(this.e),e=0;e<this.b-1;e++)LR(o,VD(xG(a)));for(i=het(t,0);i.b!=i.d.c;)r=RR(zU(i),8),LR(o,VD(xG(a))),LR(this.a,new aH(r,o)),TW(0,o.c.length),o.c.splice(0,1)}function hvt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&Y_t);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=t<32?"\\x"+BP(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=BSt?"\\v"+BP(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&Y_t)}return n}function fvt(t){var e,n,r;if(jT(RR(Bot(t,(Zwt(),nJt)),100)))for(n=new ed(t.j);n.a<n.c.c.length;)(e=RR(xG(n),11)).j==(dwt(),Zte)&&((r=RR(Bot(e,(dxt(),$qt)),10))?vct(e,RR(Bot(r,pqt),61)):e.e.c.length-e.g.c.length<0?vct(e,Dte):vct(e,Qte));else{for(n=new ed(t.j);n.a<n.c.c.length;)e=RR(xG(n),11),(r=RR(Bot(e,(dxt(),$qt)),10))?vct(e,RR(Bot(r,pqt),61)):e.e.c.length-e.g.c.length<0?vct(e,(dwt(),Dte)):vct(e,(dwt(),Qte));S4(t,nJt,(Fat(),wte))}}function dvt(t,e){var n,r,i,a,o,s,u;for(i=new ed(t.b);i.a<i.c.c.length;)for(o=new ed(RR(xG(i),29).a);o.a<o.c.c.length;)for((a=RR(xG(o),10)).k==(vst(),XHt)&&(s=RR(dq(new xF(zE(p9(a).a.Ic(),new p))),18),u=RR(dq(new xF(zE(g9(a).a.Ic(),new p))),18),Abt(a,Ay($D(Bot(s,(dxt(),Uqt))))&&Ay($D(Bot(u,Uqt)))?r4(e):e)),r=new xF(zE(g9(a).a.Ic(),new p));Qlt(r);)j3(n=RR(dq(r),18),Ay($D(Bot(n,(dxt(),Uqt))))?r4(e):e)}function pvt(t,e,n){var r,i,a,o;return t._i()?(i=null,a=t.aj(),r=t.Ui(1,o=eQ(t,e,n),n,e,a),t.Yi()&&!(t.ii()&&null!=o?u8(o,n):DC(o)===DC(n))?(null!=o&&(i=t.$i(o,i)),i=t.Zi(n,i),t.dj()&&(i=t.gj(o,n,i)),i?(i.zi(r),i.Ai()):t.Vi(r)):(t.dj()&&(i=t.gj(o,n,i)),i?(i.zi(r),i.Ai()):t.Vi(r)),o):(o=eQ(t,e,n),t.Yi()&&!(t.ii()&&null!=o?u8(o,n):DC(o)===DC(n))&&(i=null,null!=o&&(i=t.$i(o,null)),(i=t.Zi(n,i))&&i.Ai()),o)}function gvt(t,e,n){var i,a,o,s,u,c,l,h,f;for(o=0,s=t.t,a=0,i=0,u=0,f=0,h=0,n&&(t.n.c=hK(gjt,zxt,1,0,5,1),LR(t.n,new OH(t.s,t.t,t.i))),l=new ed(t.b);l.a<l.c.c.length;)o+(c=RR(xG(l),34)).g+t.i>e&&u>0&&(o=0,s+=u,a=r.Math.max(a,f),i+=u,u=0,f=0,n&&(++h,LR(t.n,new OH(t.s,s,t.i)))),f+=c.g+t.i,u=r.Math.max(u,c.f+t.i),n&&Z5(RR(JN(t.n,h),209),c),o+=c.g+t.i;return a=r.Math.max(a,f),i+=u,n&&(t.r=a,t.d=i,Z7(t.j)),new j$(t.s,t.t,a,i)}function bvt(t,e){var n,i,a,o,s,u,c;e%=24,t.q.getHours()!=e&&((n=new r.Date(t.q.getTime())).setDate(n.getDate()+1),(s=t.q.getTimezoneOffset()-n.getTimezoneOffset())>0&&(u=s/60|0,c=s%60,i=t.q.getDate(),t.q.getHours()+u>=24&&++i,a=new r.Date(t.q.getFullYear(),t.q.getMonth(),i,e+u,t.q.getMinutes()+c,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=e&&t.q.setTime(o)}function vvt(t,e){var n,r,i,a;if(qat(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(i=new oht(t)).i&&(i.i=X0(i,new va)),n=Dy(i.i)*i.f/(null==i.i&&(i.i=X0(i,new va)),Dy(i.i)),i.b>n)Sst(e);else{switch(RR(Bot(t,(Zwt(),zJt)),335).g){case 2:a=new wa;break;case 0:a=new la;break;default:a=new xa}if(r=a.Sf(t,i),!a.Tf())switch(RR(Bot(t,UJt),336).g){case 2:r=wct(i,r);break;case 1:r=cot(i,r)}!function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;if(n.dc())return;o=0,l=0,r=n.Ic(),f=RR(r.Pb(),20).a;for(;o<e.f;){if(o==f&&(l=0,f=r.Ob()?RR(r.Pb(),20).a:e.f+1),o!=l)for(d=RR(JN(t.b,o),29),h=RR(JN(t.b,l),29),c=new ed(fG(d.a));c.a<c.c.c.length;)if(Hrt(u=RR(xG(c),10),h.a.c.length,h),0==l)for(a=new ed(fG(p9(u)));a.a<a.c.c.length;)uvt(i=RR(xG(a),18),!0),S4(t,(dxt(),sqt),(_P(),!0)),eyt(t,i,1);++l,++o}s=new tU(t.b,0);for(;s.b<s.d.gc();)MP(s.b<s.d.gc()),0==RR(s.d.Xb(s.c=s.b++),29).a.c.length&&n$(s)}(t,i,r),Sst(e)}else Sst(e)}function mvt(t,e,n,r,i){var a,o;if(n.f+i>=e.o&&n.f+i<=e.f||.5*e.a<=n.f+i&&1.5*e.a>=n.f+i){if(n.g+i<=r-((a=RR(JN(e.n,e.n.c.length-1),209)).e+a.d)&&(RR(JN(e.n,e.n.c.length-1),209).f-t.e+n.f+i<=t.b||1==t.a.c.length))return A9(e,n),!0;if(n.g<=r-e.s&&(e.d+n.f+i<=t.b||1==t.a.c.length))return LR(e.b,n),o=RR(JN(e.n,e.n.c.length-1),209),LR(e.n,new OH(e.s,o.f+o.a,e.i)),Z5(RR(JN(e.n,e.n.c.length-1),209),n),Rpt(e,n),!0}return!1}function yvt(t){var e,n,r,i;if(blt(),e=CH(t),t<UFt.length)return UFt[e];if(t<=50)return rlt((rpt(),BFt),e);if(t<=L_t)return jq(rlt(GFt[1],e),e);if(t>1e6)throw Jb(new Iy("power of ten too big"));if(t<=Lxt)return jq(rlt(GFt[1],e),e);for(i=r=rlt(GFt[1],Lxt),n=C2(t-Lxt),e=CH(t%Lxt);A5(n,Lxt)>0;)i=vQ(i,r),n=s8(n,Lxt);for(i=jq(i=vQ(i,rlt(GFt[1],e)),Lxt),n=C2(t-Lxt);A5(n,Lxt)>0;)i=jq(i,Lxt),n=s8(n,Lxt);return i=jq(i,e)}function wvt(t){var e,n,r,i,a;if(!t.d){if(a=new _u,null==(e=Jre).a.xc(t,e)){for(n=new SE(KV(t));n.e!=n.i.gc();)QB(a,wvt(RR(Htt(n),26)));e.a.zc(t),e.a.gc()}for(i=a.i,!t.q&&(t.q=new FF(mre,t,11,10)),r=new SE(t.q);r.e!=r.i.gc();++i)RR(Htt(r),395);QB(a,(!t.q&&(t.q=new FF(mre,t,11,10)),t.q)),Y5(a),t.d=new hT((RR(sJ(kV((VB(),kre).o),9),17),a.i),a.g),t.e=RR(a.g,661),null==t.e&&(t.e=tie),$q(t).b&=-17}return t.d}function xvt(t,e,n,r){var i,a,o,s,u,c;if(c=sdt(t.e.Og(),e),u=0,i=RR(t.g,118),ek(),RR(e,65).Jj()){for(o=0;o<t.i;++o)if(a=i[o],c.ml(a.Xj())){if(u8(a,n))return u;++u}}else if(null!=n){for(s=0;s<t.i;++s)if(a=i[s],c.ml(a.Xj())){if(u8(n,a.bd()))return u;++u}if(r)for(u=0,o=0;o<t.i;++o)if(a=i[o],c.ml(a.Xj())){if(DC(n)===DC(kD(t,RR(a.bd(),55))))return u;++u}}else for(o=0;o<t.i;++o)if(a=i[o],c.ml(a.Xj())){if(null==a.bd())return u;++u}return-1}function _vt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g;if(n.hh(e)&&(l=(d=e)?RR(r,48).sh(d):null))if(g=n.Yg(e,t.a),(p=e.t)>1||-1==p)if(h=RR(g,67),f=RR(l,67),h.dc())f.$b();else for(o=!!wnt(e),a=0,s=t.a?h.Ic():h.Uh();s.Ob();)c=RR(s.Pb(),55),(i=RR(aQ(t,c),55))?(o?-1==(u=f.Vc(i))?f.Sh(a,i):a!=u&&f.ei(a,i):f.Sh(a,i),++a):t.b&&!o&&(f.Sh(a,c),++a);else null==g?l.Wb(null):null==(i=aQ(t,g))?t.b&&!wnt(e)&&l.Wb(g):l.Wb(i)}function Svt(t,e){var n,i,a,o,s,u,c,l;for(n=new An,a=new xF(zE(p9(e).a.Ic(),new p));Qlt(a);)if(!Nq(i=RR(dq(a),18))&&Vat(u=i.c.i,gWt)){if(-1==(l=xpt(t,u,gWt,pWt)))continue;n.b=r.Math.max(n.b,l),!n.a&&(n.a=new Vb),LR(n.a,u)}for(s=new xF(zE(g9(e).a.Ic(),new p));Qlt(s);)if(!Nq(o=RR(dq(s),18))&&Vat(c=o.d.i,pWt)){if(-1==(l=xpt(t,c,pWt,gWt)))continue;n.d=r.Math.max(n.d,l),!n.c&&(n.c=new Vb),LR(n.c,c)}return n}function kvt(t,e){var n,r,i,a,o;qat(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(TW(0,o.c.length),function(t,e,n,r,i){var a,o,s,u,c,l;for(a=new ed(t.b);a.a<a.c.c.length;)for(c=0,l=(u=bU(RR(xG(a),29).a)).length;c<l;++c)switch(RR(Bot(s=u[c],(Zwt(),_Qt)),165).g){case 1:pdt(s),DW(s,e),rnt(s,!0,r);break;case 3:rdt(s),DW(s,n),rnt(s,!1,i)}for(o=new tU(t.b,0);o.b<o.d.gc();)0==(MP(o.b<o.d.gc()),RR(o.d.Xb(o.c=o.b++),29)).a.c.length&&n$(o)}(t,RR(o.c[0],29),RR(JN(o,o.c.length-1),29),n=new bz(t),i=new bz(t)),0==n.a.c.length||(WH(0,o.c.length),nM(o.c,0,n)),0==i.a.c.length||(o.c[o.c.length]=i)),ZP(t,(dxt(),mqt))&&(function(t,e,n){var r,i,a,o,s,u;for(o=RR(Bot(t,(dxt(),mqt)),14).Ic();o.Ob();){switch(a=RR(o.Pb(),10),RR(Bot(a,(Zwt(),_Qt)),165).g){case 2:DW(a,e);break;case 4:DW(a,n)}for(i=new xF(zE(d9(a).a.Ic(),new p));Qlt(i);)(r=RR(dq(i),18)).c&&r.d||(s=!r.d,u=RR(Bot(r,jqt),11),s?EW(r,u):PW(r,u))}}(t,r=new bz(t),a=new bz(t)),0==r.a.c.length||(WH(0,o.c.length),nM(o.c,0,r)),0==a.a.c.length||(o.c[o.c.length]=a)),Sst(e)}function Ivt(t){var e,n,r,i,a,o,s,u;for(o=new ed(t.a);o.a<o.c.c.length;)if((a=RR(xG(o),10)).k==(vst(),UHt)&&((i=RR(Bot(a,(dxt(),pqt)),61))==(dwt(),Dte)||i==Qte))for(r=new xF(zE(d9(a).a.Ic(),new p));Qlt(r);)0!=(e=(n=RR(dq(r),18)).a).b&&((s=n.c).i==a&&(MP(0!=e.b),RR(e.a.a.c,8).b=$4(X3(uw(t8t,1),u_t,8,0,[s.i.n,s.n,s.a])).b),(u=n.d).i==a&&(MP(0!=e.b),RR(e.c.b.c,8).b=$4(X3(uw(t8t,1),u_t,8,0,[u.i.n,u.n,u.a])).b))}function Mvt(t,e,n){var r,i,a,o,s,u,c,l,h,f;for(l=new yF(new Wd(n)),uB(s=hK(roe,Zkt,24,t.f.e.c.length,16,1),s.length),n[e.b]=0,c=new ed(t.f.e);c.a<c.c.c.length;)(u=RR(xG(c),144)).b!=e.b&&(n[u.b]=Lxt),LY(_ot(l,u));for(;0!=l.b.c.length;)for(s[(h=RR(fQ(l),144)).b]=!0,a=BE(new k_(t.b,h),0);a.c;)s[(f=nrt(i=RR(hW(a),281),h)).b]||(o=ZP(i,(Yet(),ZVt))?Dy(VD(Bot(i,ZVt))):t.c,(r=n[h.b]+o)<n[f.b]&&(n[f.b]=r,h0(l,f),LY(_ot(l,f))))}function Cvt(t,e){var n,r,i;if(i=gbt(e),uS(new lj(null,(!e.c&&(e.c=new FF(hne,e,9,9)),new ZW(e.c,16))),new np(i)),function(t,e){var n,r,i,a,o,s,u,c,l,h,f;o=Ay($D(_ht(t,(Zwt(),gQt)))),f=RR(_ht(t,aJt),21),u=!1,c=!1,h=new SE((!t.c&&(t.c=new FF(hne,t,9,9)),t.c));for(;!(h.e==h.i.gc()||u&&c);){for(a=RR(Htt(h),122),s=0,i=ZF(u1(X3(uw(wjt,1),zxt,19,0,[(!a.d&&(a.d=new nL(rne,a,8,5)),a.d),(!a.e&&(a.e=new nL(rne,a,7,4)),a.e)])));Qlt(i)&&(r=RR(dq(i),80),l=o&&Jct(r)&&Ay($D(_ht(r,bQt))),n=Nmt((!r.b&&(r.b=new nL(nne,r,4,7)),r.b),a)?t==rW(Yat(RR(sJ((!r.c&&(r.c=new nL(nne,r,5,8)),r.c),0),93))):t==rW(Yat(RR(sJ((!r.b&&(r.b=new nL(nne,r,4,7)),r.b),0),93))),!((l||n)&&++s>1)););(s>0||f.Fc((aot(),Mte))&&(!a.n&&(a.n=new FF(cne,a,1,7)),a.n).i>0)&&(u=!0),s>1&&(c=!0)}u&&e.Dc((Zdt(),EXt)),c&&e.Dc((Zdt(),PXt))}(e,r=RR(Bot(i,(dxt(),vqt)),21)),r.Fc((Zdt(),EXt)))for(n=new SE((!e.c&&(e.c=new FF(hne,e,9,9)),e.c));n.e!=n.i.gc();)Zyt(t,e,i,RR(Htt(n),122));return 0!=RR(_ht(e,(Zwt(),$Qt)),174).gc()&&zdt(e,i),Ay($D(Bot(i,XQt)))&&r.Dc(RXt),ZP(i,bJt)&&my(new X9(Dy(VD(Bot(i,bJt)))),i),DC(_ht(e,lQt))===DC((P8(),H7t))?function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;o=new sS,v=RR(Bot(n,(Zwt(),qZt)),108),W0(o,(!e.a&&(e.a=new FF(lne,e,10,11)),e.a));for(;0!=o.b;)!Ay($D(_ht(c=RR(0==o.b?null:(MP(0!=o.b),uJ(o,o.a.a)),34),WQt)))&&(h=0!=(!c.a&&(c.a=new FF(lne,c,10,11)),c.a).i,d=tot(c),f=DC(_ht(c,lQt))===DC((P8(),H7t)),g=null,(S=!fK(c,(fxt(),A8t))||hL(HD(_ht(c,A8t)),iCt))&&f&&(h||d)&&(S4(g=gbt(c),qZt,v),ZP(g,bJt)&&my(new X9(Dy(VD(Bot(g,bJt)))),g),0!=RR(_ht(c,$Qt),174).gc()&&(l=g,uS(new lj(null,(!c.c&&(c.c=new FF(hne,c,9,9)),new ZW(c.c,16))),new rp(l)),zdt(c,g))),m=n,(y=RR(oz(t.a,rW(c)),10))&&(m=y.e),p=$yt(t,c,m),g&&(p.e=g,g.e=p,W0(o,(!c.a&&(c.a=new FF(lne,c,10,11)),c.a))));jX(o,e,o.c.b,o.c);for(;0!=o.b;){for(u=new SE((!(a=RR(0==o.b?null:(MP(0!=o.b),uJ(o,o.a.a)),34)).b&&(a.b=new FF(rne,a,12,3)),a.b));u.e!=u.i.gc();)egt(s=RR(Htt(u),80)),x=Yat(RR(sJ((!s.b&&(s.b=new nL(nne,s,4,7)),s.b),0),93)),_=Yat(RR(sJ((!s.c&&(s.c=new nL(nne,s,5,8)),s.c),0),93)),Ay($D(_ht(s,WQt)))||Ay($D(_ht(x,WQt)))||Ay($D(_ht(_,WQt)))||(b=a,Jct(s)&&Ay($D(_ht(x,gQt)))&&Ay($D(_ht(s,bQt)))||oJ(_,x)?b=x:oJ(x,_)&&(b=_),m=n,(y=RR(oz(t.a,b),10))&&(m=y.e),S4(hxt(t,s,b,m),(dxt(),iqt),Tdt(t,s,e,n)));if(f=DC(_ht(a,lQt))===DC((P8(),H7t)))for(i=new SE((!a.a&&(a.a=new FF(lne,a,10,11)),a.a));i.e!=i.i.gc();)S=!fK(r=RR(Htt(i),34),(fxt(),A8t))||hL(HD(_ht(r,A8t)),iCt),w=DC(_ht(r,lQt))===DC(H7t),S&&w&&jX(o,r,o.c.b,o.c)}}(t,e,i):function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g;for(h=0,i=new SE((!e.a&&(e.a=new FF(lne,e,10,11)),e.a));i.e!=i.i.gc();)Ay($D(_ht(r=RR(Htt(i),34),(Zwt(),WQt))))||(DC(_ht(e,NZt))!==DC((G4(),C1t))&&(Bet(r,(dxt(),Dqt),k8(h)),++h),$yt(t,r,n));for(h=0,c=new SE((!e.b&&(e.b=new FF(rne,e,12,3)),e.b));c.e!=c.i.gc();)s=RR(Htt(c),80),DC(_ht(e,(Zwt(),NZt)))!==DC((G4(),C1t))&&(Bet(s,(dxt(),Dqt),k8(h)),++h),p=Dot(s),g=Rot(s),l=Ay($D(_ht(p,gQt))),d=!Ay($D(_ht(s,WQt))),f=l&&Jct(s)&&Ay($D(_ht(s,bQt))),a=rW(p)==e&&rW(p)==rW(g),o=(rW(p)==e&&g==e)^(rW(g)==e&&p==e),d&&!f&&(o||a)&&hxt(t,s,e,n);if(rW(e))for(u=new SE(X$(rW(e)));u.e!=u.i.gc();)(p=Dot(s=RR(Htt(u),80)))==e&&Jct(s)&&(f=Ay($D(_ht(p,(Zwt(),gQt))))&&Ay($D(_ht(s,bQt))))&&hxt(t,s,e,n)}(t,e,i),i}function Tvt(t,e,n,i){var a,o,s;if(this.j=new Vb,this.k=new Vb,this.b=new Vb,this.c=new Vb,this.e=new YT,this.i=new vm,this.f=new Wb,this.d=new Vb,this.g=new Vb,LR(this.b,t),LR(this.b,e),this.e.c=r.Math.min(t.a,e.a),this.e.d=r.Math.min(t.b,e.b),this.e.b=r.Math.abs(t.a-e.a),this.e.a=r.Math.abs(t.b-e.b),a=RR(Bot(i,(Zwt(),yQt)),74))for(s=het(a,0);s.b!=s.d.c;)TJ((o=RR(zU(s),8)).a,t.a)&&vN(this.i,o);n&&LR(this.j,n),LR(this.k,i)}function Avt(t,e,n){var r,i,a,o,s,u,c,l,h;for(i=!0,o=new ed(t.b);o.a<o.c.c.length;){for(a=RR(xG(o),29),c=NSt,l=null,u=new ed(a.a);u.a<u.c.c.length;){if(s=RR(xG(u),10),h=Dy(e.p[s.p])+Dy(e.d[s.p])-s.d.d,r=Dy(e.p[s.p])+Dy(e.d[s.p])+s.o.b+s.d.a,!(h>c&&r>c)){i=!1,n.n&&YR(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,c=Dy(e.p[s.p])+Dy(e.d[s.p])+s.o.b+s.d.a}if(!i)break}return n.n&&YR(n,e+" is feasible: "+i),i}function Evt(t,e,n,r){var i,a,o,s,u,c,l;if(n.d.i!=e.i){for(mf(i=new knt(t),(vst(),qHt)),S4(i,(dxt(),Oqt),n),S4(i,(Zwt(),nJt),(Fat(),mte)),r.c[r.c.length]=i,OW(o=new Dst,i),vct(o,(dwt(),Qte)),OW(s=new Dst,i),vct(s,Dte),l=n.d,EW(n,o),l3(a=new NV,n),S4(a,yQt,null),PW(a,s),EW(a,l),c=new tU(n.b,0);c.b<c.d.gc();)MP(c.b<c.d.gc()),DC(Bot(u=RR(c.d.Xb(c.c=c.b++),69),JZt))===DC((VJ(),v7t))&&(S4(u,lqt,n),n$(c),LR(a.b,u));nht(i,o,s)}}function Pvt(t,e,n,r){var i,a,o,s,u,c;if(n.c.i!=e.i)for(mf(i=new knt(t),(vst(),qHt)),S4(i,(dxt(),Oqt),n),S4(i,(Zwt(),nJt),(Fat(),mte)),r.c[r.c.length]=i,OW(o=new Dst,i),vct(o,(dwt(),Qte)),OW(s=new Dst,i),vct(s,Dte),EW(n,o),l3(a=new NV,n),S4(a,yQt,null),PW(a,s),EW(a,e),nht(i,o,s),c=new tU(n.b,0);c.b<c.d.gc();)MP(c.b<c.d.gc()),u=RR(c.d.Xb(c.c=c.b++),69),RR(Bot(u,JZt),271)==(VJ(),v7t)&&(ZP(u,lqt)||S4(u,lqt,n),n$(c),LR(a.b,u))}function Dvt(t,e,n,i,a){var o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(f=new Vb,v=EX(i),b=e*t.a,0,p=0,o=new Pv,s=new Pv,u=new Vb,m=0,y=0,d=0,g=0,l=0,h=0;0!=v.a.gc();)(c=u9(v,a,s))&&(v.a.zc(c),u.c[u.c.length]=c,o.a.xc(c,o),p=t.f[c.p],m+=t.e[c.p]-p*t.b,y+=t.c[c.p]*t.b,h+=p*t.b,g+=t.e[c.p]),(!c||0==v.a.gc()||m>=b&&t.e[c.p]>p*t.b||y>=n*b)&&(f.c[f.c.length]=u,u=new Vb,W0(s,o),o.a.$b(),l-=h,d=r.Math.max(d,l*t.b+g),l+=y,m=y,y=0,h=0,g=0);return new KM(d,f)}function Ovt(t){var e,n,r,i,a,o,s,u,c,l,h,f;for(n=new Uf(new Gf(t.c.b).a.tc().Ic());n.a.Ob();)s=RR(n.a.Pb(),43),null==(i=(e=RR(s.bd(),149)).a)&&(i=""),!(r=UD(t.c,i))&&0==i.length&&(r=K6(t)),r&&!u7(r.c,e,!1)&&vN(r.c,e);for(o=het(t.a,0);o.b!=o.d.c;)a=RR(zU(o),472),c=Dq(t.c,a.a),f=Dq(t.c,a.b),c&&f&&vN(c.c,new KM(f,a.c));for(sV(t.a),h=het(t.b,0);h.b!=h.d.c;)l=RR(zU(h),472),e=GD(t.c,l.a),u=Dq(t.c,l.b),e&&u&&HS(e,u,l.c);sV(t.b)}function Lvt(t){var e,n,r,i,a,o;if(!t.f){if(o=new gu,a=new gu,null==(e=Jre).a.xc(t,e)){for(i=new SE(KV(t));i.e!=i.i.gc();)QB(o,Lvt(RR(Htt(i),26)));e.a.zc(t),e.a.gc()}for(!t.s&&(t.s=new FF(cre,t,21,17)),r=new SE(t.s);r.e!=r.i.gc();)zA(n=RR(Htt(r),170),97)&&EK(a,RR(n,17));Y5(a),t.r=new QR(t,(RR(sJ(kV((VB(),kre).o),6),17),a.i),a.g),QB(o,t.r),Y5(o),t.f=new hT((RR(sJ(kV(kre.o),5),17),o.i),o.g),$q(t).b&=-3}return t.f}function Rvt(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p;for(o=t.o,r=hK(noe,uSt,24,o,15,1),i=hK(noe,uSt,24,o,15,1),n=t.p,e=hK(noe,uSt,24,n,15,1),a=hK(noe,uSt,24,n,15,1),c=0;c<o;c++){for(h=0;h<n&&!cnt(t,c,h);)++h;r[c]=h}for(l=0;l<o;l++){for(h=n-1;h>=0&&!cnt(t,l,h);)--h;i[l]=h}for(d=0;d<n;d++){for(s=0;s<o&&!cnt(t,s,d);)++s;e[d]=s}for(p=0;p<n;p++){for(s=o-1;s>=0&&!cnt(t,s,p);)--s;a[p]=s}for(u=0;u<o;u++)for(f=0;f<n;f++)u<a[f]&&u>e[f]&&f<i[u]&&f>r[u]&&Fpt(t,u,f,!1,!0)}function Nvt(t){var e,n,r,i,a,o,s,u;n=Ay($D(Bot(t,(fdt(),IVt)))),a=t.a.c.d,s=t.a.d.d,n?(o=lE($O(new YM(s.a,s.b),a),.5),u=lE(LA(t.e),.5),e=$O(zO(new YM(a.a,a.b),o),u),iD(t.d,e)):(i=Dy(VD(Bot(t.a,jVt))),r=t.d,a.a>=s.a?a.b>=s.b?(r.a=s.a+(a.a-s.a)/2+i,r.b=s.b+(a.b-s.b)/2-i-t.e.b):(r.a=s.a+(a.a-s.a)/2+i,r.b=a.b+(s.b-a.b)/2+i):a.b>=s.b?(r.a=a.a+(s.a-a.a)/2+i,r.b=s.b+(a.b-s.b)/2+i):(r.a=a.a+(s.a-a.a)/2+i,r.b=a.b+(s.b-a.b)/2-i-t.e.b))}function jvt(t,e){var n,r,i,a,o,s,u;if(null==t)return null;if(0==(a=t.length))return"";for(u=hK(eoe,q_t,24,a,15,1),OY(0,a,t.length),OY(0,a,u.length),LB(t,0,a,u,0),n=null,s=e,i=0,o=0;i<a;i++)r=u[i],_xt(),r<=32&&0!=(2&_ae[r])?s?(!n&&(n=new qE(t)),BV(n,i-o++)):(s=e,32!=r&&(!n&&(n=new qE(t)),e$(n,i-o,i-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?BP(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function Fvt(){Fvt=S,pne=X3(uw(eoe,1),q_t,24,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),gne=new RegExp("[ \t\n\r\f]+");try{dne=X3(uw(nie,1),zxt,1984,0,[new Mb((dA(),S7("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",BO((dy(),dy(),Ujt))))),new Mb(S7("yyyy-MM-dd'T'HH:mm:ss'.'SSS",BO(Ujt))),new Mb(S7("yyyy-MM-dd'T'HH:mm:ss",BO(Ujt))),new Mb(S7("yyyy-MM-dd'T'HH:mm",BO(Ujt))),new Mb(S7("yyyy-MM-dd",BO(Ujt)))])}catch(t){if(!zA(t=m3(t),78))throw Jb(t)}}function Bvt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,WIt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new re))),rU(t,WIt,GIt,bet(uVt)),rU(t,WIt,UIt,bet(nVt)),rU(t,WIt,XIt,bet(Z$t)),rU(t,WIt,qIt,bet(rVt)),rU(t,WIt,Gkt,bet(oVt)),rU(t,WIt,Ukt,bet(aVt)),rU(t,WIt,Wkt,bet(sVt)),rU(t,WIt,Xkt,bet(iVt)),rU(t,WIt,BIt,bet(J$t)),rU(t,WIt,zIt,bet(Q$t)),rU(t,WIt,$It,bet(tVt)),rU(t,WIt,VIt,bet(eVt))}function zvt(t,e,n,r){var i,a,o,s,u,c,l;if(mf(a=new knt(t),(vst(),KHt)),S4(a,(Zwt(),nJt),(Fat(),mte)),i=0,e){for(S4(o=new Dst,(dxt(),Oqt),e),S4(a,Oqt,e.i),vct(o,(dwt(),Qte)),OW(o,a),c=0,l=(u=gU(e.e)).length;c<l;++c)EW(u[c],o);S4(e,$qt,a),++i}if(n){for(s=new Dst,S4(a,(dxt(),Oqt),n.i),S4(s,Oqt,n),vct(s,(dwt(),Dte)),OW(s,a),c=0,l=(u=gU(n.g)).length;c<l;++c)PW(u[c],s);S4(n,$qt,a),++i}return S4(a,(dxt(),aqt),k8(i)),r.c[r.c.length]=a,a}function $vt(t,e,n,i){var a,o,s,u,c,l,h,f,d;return l=(c=$O(new YM(n.a,n.b),t)).a*e.b-c.b*e.a,h=e.a*i.b-e.b*i.a,f=(c.a*i.b-c.b*i.a)/h,d=l/h,0==h?0==l?(o=wK(t,a=zO(new YM(n.a,n.b),lE(new YM(i.a,i.b),.5))),s=wK(zO(new YM(t.a,t.b),e),a),u=.5*r.Math.sqrt(i.a*i.a+i.b*i.b),o<s&&o<=u?new YM(t.a,t.b):s<=u?zO(new YM(t.a,t.b),e):null):null:f>=0&&f<=1&&d>=0&&d<=1?zO(new YM(t.a,t.b),lE(new YM(e.a,e.b),f)):null}function Vvt(t){var e,n,i,a,o,s,u,c,l,h;for(c=new Wf(new Ff(Mlt(t)).a.tc().Ic());c.a.Ob();){for(i=RR(c.a.Pb(),43),l=0,h=0,l=(u=RR(i.ad(),10)).d.d,h=u.o.b+u.d.a,t.d[u.p]=0,e=u;(a=t.a[e.p])!=u;)n=Ltt(e,a),s=0,s=t.c==(sH(),U0t)?n.d.n.b+n.d.a.b-n.c.n.b-n.c.a.b:n.c.n.b+n.c.a.b-n.d.n.b-n.d.a.b,o=Dy(t.d[e.p])+s,t.d[a.p]=o,l=r.Math.max(l,a.d.d-o),h=r.Math.max(h,o+a.o.b+a.d.a),e=a;e=u;do{t.d[e.p]=Dy(t.d[e.p])+l,e=t.a[e.p]}while(e!=u);t.b[u.p]=l+h}}function Hvt(t){var e,n,i,a,o,s,u,c,l,h,f;for(t.b=!1,h=RSt,u=NSt,f=RSt,c=NSt,n=t.e.a.ec().Ic();n.Ob();)for(i=(e=RR(n.Pb(),265)).a,h=r.Math.min(h,i.c),u=r.Math.max(u,i.c+i.b),f=r.Math.min(f,i.d),c=r.Math.max(c,i.d+i.a),o=new ed(e.c);o.a<o.c.c.length;)(a=RR(xG(o),391)).a.a?(s=(l=i.d+a.b.b)+a.c,f=r.Math.min(f,l),c=r.Math.max(c,s)):(s=(l=i.c+a.b.a)+a.c,h=r.Math.min(h,l),u=r.Math.max(u,s));t.a=new YM(u-h,c-f),t.c=new YM(h+t.d.a,f+t.d.b)}function Wvt(t){var e,n,r,i,a,o;if(!t.a){if(t.o=null,o=new kb(t),e=new xu,null==(n=Jre).a.xc(t,n)){for(a=new SE(KV(t));a.e!=a.i.gc();)QB(o,Wvt(RR(Htt(a),26)));n.a.zc(t),n.a.gc()}for(!t.s&&(t.s=new FF(cre,t,21,17)),i=new SE(t.s);i.e!=i.i.gc();)zA(r=RR(Htt(i),170),321)&&EK(e,RR(r,32));Y5(e),t.k=new ZR(t,(RR(sJ(kV((VB(),kre).o),7),17),e.i),e.g),QB(o,t.k),Y5(o),t.a=new hT((RR(sJ(kV(kre.o),4),17),o.i),o.g),$q(t).b&=-2}return t.a}function Gvt(t,e,n,i,a,o,s){var u,c,l,h,f,d,p,g;switch(p=0,g=0,c=a.e,u=a.d,h=n.f,d=n.g,e.g){case 0:p=i.i+i.g+s,g=t.c?function(t,e,n,r){var i,a,o,s,u;for(a=null,i=0,s=new ed(e);s.a<s.c.c.length;)u=(o=RR(xG(s),34)).j+o.f,t<o.i+o.g+r&&(a?n.j-u<n.j-i&&(a=o):a=o,i=a.j+a.f);return a?i+r:0}(p,o,i,s):i.j,f=r.Math.max(c,p+d),l=r.Math.max(u,g+h);break;case 1:g=i.j+i.f+s,p=t.c?function(t,e,n,r){var i,a,o,s,u;for(i=null,a=0,s=new ed(e);s.a<s.c.c.length;)u=(o=RR(xG(s),34)).i+o.g,t<o.j+o.f+r&&(i?n.i-u<n.i-a&&(i=o):i=o,a=i.i+i.g);return i?a+r:0}(g,o,i,s):i.i,f=r.Math.max(c,p+d),l=r.Math.max(u,g+h);break;case 2:p=c+s,g=0,f=c+s+d,l=r.Math.max(u,h);break;case 3:p=0,g=u+s,f=r.Math.max(c,d),l=u+s+h;break;default:throw Jb(new Ny("IllegalPlacementOption."))}return new Z1(t.a,f,l,e,p,g)}function Uvt(t,e,n,r){var i,a,o,s,u,c,l;if(l=sdt(t.e.Og(),e),i=0,a=RR(t.g,118),u=null,ek(),RR(e,65).Jj()){for(s=0;s<t.i;++s)if(o=a[s],l.ml(o.Xj())){if(u8(o,n)){u=o;break}++i}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],l.ml(o.Xj())){if(u8(n,o.bd())){u=o;break}++i}}else for(s=0;s<t.i;++s)if(o=a[s],l.ml(o.Xj())){if(null==o.bd()){u=o;break}++i}return u&&(FT(t.e)&&(c=e.Vj()?new MX(t.e,4,e,n,null,i,!0):lH(t,e.Fj()?2:1,e,n,e.uj(),-1,!0),r?r.zi(c):r=c),r=kgt(t,u,r)),r}function Xvt(t,e,n,r){var i,a,o,s,u,c;if(u=sdt(t.e.Og(),e),a=RR(t.g,118),Cdt(t.e,e)){for(i=0,s=0;s<t.i;++s)if(o=a[s],u.ml(o.Xj())){if(i==n)return ek(),RR(e,65).Jj()?o:(null!=(c=o.bd())&&r&&zA(e,97)&&0!=(RR(e,17).Bb&BSt)&&(c=Xct(t,e,s,i,c)),c);++i}throw Jb(new My(zLt+n+GOt+i))}for(i=0,s=0;s<t.i;++s){if(o=a[s],u.ml(o.Xj()))return ek(),RR(e,65).Jj()?o:(null!=(c=o.bd())&&r&&zA(e,97)&&0!=(RR(e,17).Bb&BSt)&&(c=Xct(t,e,s,i,c)),c);++i}return e.uj()}function qvt(t,e,n){var r,i,a,o,s,u,c,l;if(i=RR(t.g,118),Cdt(t.e,e))return ek(),RR(e,65).Jj()?new ON(e,t):new CC(e,t);for(c=sdt(t.e.Og(),e),r=0,s=0;s<t.i;++s){if(o=(a=i[s]).Xj(),c.ml(o)){if(ek(),RR(e,65).Jj())return a;if(o==(mlt(),Rie)||o==Die){for(u=new YE(P9(a.bd()));++s<t.i;)((o=(a=i[s]).Xj())==Rie||o==Die)&&UC(u,P9(a.bd()));return cL(RR(e.Tj(),148),u.a)}return null!=(l=a.bd())&&n&&zA(e,97)&&0!=(RR(e,17).Bb&BSt)&&(l=Xct(t,e,s,r,l)),l}++r}return e.uj()}function Yvt(t,e,n,r,i){var a,o,s,u,c,l,h,f,d;if(Q_(),CF(t,"src"),CF(n,"dest"),f=g5(t),u=g5(n),$L(0!=(4&f.i),"srcType is not an array"),$L(0!=(4&u.i),"destType is not an array"),h=f.c,o=u.c,$L(0!=(1&h.i)?h==o:0==(1&o.i),"Array types don't match"),d=t.length,c=n.length,e<0||r<0||i<0||e+i>d||r+i>c)throw Jb(new gv);if(0==(1&h.i)&&f!=u)if(l=xJ(t),a=xJ(n),DC(t)===DC(n)&&e<r)for(e+=i,s=r+i;s-- >r;)nz(a,s,l[--e]);else for(s=r+i;r<s;)nz(a,r++,l[e++]);else i>0&&pct(t,e,n,r,i,!0)}function Kvt(t,e,n,r,i,a){var o,s,u,c;return u=!1,o=Rft(n.q,e.e+e.b-n.q.e),!((c=i-(n.q.d+o))<r.g)&&(s=gvt(r,c,!1).a,(1==(TW(a,t.c.length),RR(t.c[a],180)).a.c.length||s<=e.b)&&(1==(TW(a,t.c.length),RR(t.c[a],180)).a.c.length?(n.d=s,gvt(n,$st(n,s),!0)):(mat(n.q,o),n.c=!0),gvt(r,i-(n.s+n.r),!0),bnt(r,n.q.d+n.q.c,e.e),oG(e,r),t.c.length>a&&(Mtt((TW(a,t.c.length),RR(t.c[a],180)),r),0==(TW(a,t.c.length),RR(t.c[a],180)).a.c.length&&tY(t,a)),u=!0),u)}function Zvt(){Zvt=S,HFt=X3(uw(noe,1),uSt,24,15,[B_t,1162261467,A_t,1220703125,362797056,1977326743,A_t,387420489,ASt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,A_t,1291467969,1544804416,1838265625,60466176]),WFt=X3(uw(noe,1),uSt,24,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function Qvt(t,e){var n,r,i,a,o;if(o=RR(e,136),Rht(t),Rht(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=hK(noe,uSt,24,o.b.length,15,1),void Yvt(o.b,0,t.b,0,o.b.length);for(a=hK(noe,uSt,24,t.b.length+o.b.length,15,1),n=0,r=0,i=0;n<t.b.length||r<o.b.length;)n>=t.b.length?(a[i++]=o.b[r++],a[i++]=o.b[r++]):r>=o.b.length?(a[i++]=t.b[n++],a[i++]=t.b[n++]):o.b[r]<t.b[n]||o.b[r]===t.b[n]&&o.b[r+1]<t.b[n+1]?(a[i++]=o.b[r++],a[i++]=o.b[r++]):(a[i++]=t.b[n++],a[i++]=t.b[n++]);t.b=a}}function Jvt(t,e){var n,r,i,a,o,s,u,c,l,h;return n=Ay($D(Bot(t,(dxt(),Cqt)))),s=Ay($D(Bot(e,Cqt))),r=RR(Bot(t,Tqt),11),u=RR(Bot(e,Tqt),11),i=RR(Bot(t,Aqt),11),c=RR(Bot(e,Aqt),11),l=!!r&&r==u,h=!!i&&i==c,n||s?(a=(!Ay($D(Bot(t,Cqt)))||Ay($D(Bot(t,Mqt))))&&(!Ay($D(Bot(e,Cqt)))||Ay($D(Bot(e,Mqt)))),o=!(Ay($D(Bot(t,Cqt)))&&Ay($D(Bot(t,Mqt)))||Ay($D(Bot(e,Cqt)))&&Ay($D(Bot(e,Mqt)))),new KL(l&&a||h&&o,l,h)):new KL(RR(xG(new ed(t.j)),11).p==RR(xG(new ed(e.j)),11).p,l,h)}function tmt(t){var e,n,r,i;return 0!=(64&t.Db)?f9(t):(e=new YE(RDt),(r=t.k)?UC(UC((e.a+=' "',e),r),'"'):(!t.n&&(t.n=new FF(cne,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new FF(cne,t,1,7)),RR(sJ(t.n,0),137)).a)||UC(UC((e.a+=' "',e),i),'"'))),!t.b&&(t.b=new nL(nne,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new nL(nne,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",UC(e,AE(new iw,new SE(t.b))),n&&(e.a+="]"),e.a+=XMt,n&&(e.a+="["),UC(e,AE(new iw,new SE(t.c))),n&&(e.a+="]"),e.a)}function emt(t,e){var n,r,i,a,o,s,u;if(t.a){if(u=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.yj())&&(-1!=(a=ST(o,mot(91)))?(u=o.substr(a),e.a+=""+BP(null==o?Hxt:(wz(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(i=!0,e.a+="<",r=new SE(t.d);r.e!=r.i.gc();)n=RR(Htt(r),86),i?i=!1:e.a+=Fxt,emt(n,e);e.a+=">"}null!=u&&(e.a+=""+u)}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",emt(t.b,e)):t.f&&(e.a+=" extends ",emt(t.f,e)))}function nmt(t,e,n){var i,a,o,s,u,c,l;return r.Math.abs(e.s-e.c)<lMt||r.Math.abs(n.s-n.c)<lMt?0:(i=ndt(t,e.j,n.e),a=ndt(t,n.j,e.e),o=0,-1==i||-1==a?(-1==i&&(new zW((MY(),b2t),n,e,1),++o),-1==a&&(new zW((MY(),b2t),e,n,1),++o)):(s=Y6(e.j,n.s,n.c),s+=Y6(n.e,e.s,e.c),u=Y6(n.j,e.s,e.c),(c=i+16*s)<(l=a+16*(u+=Y6(e.e,n.s,n.c)))?new zW((MY(),v2t),e,n,l-c):c>l?new zW((MY(),v2t),n,e,c-l):c>0&&l>0&&(new zW((MY(),v2t),e,n,0),new zW(v2t,n,e,0))),o)}function rmt(t,e,n,r){var i,a,o,s,u,c;if(a=o9(r),!Ay($D(Bot(r,(Zwt(),EQt))))&&!Ay($D(Bot(t,pQt)))||jT(RR(Bot(t,nJt),100)))switch(OW(s=new Dst,t),e?((c=s.n).a=e.a-t.n.a,c.b=e.b-t.n.b,Vst(c,0,0,t.o.a,t.o.b),vct(s,pbt(s,a))):(i=K9(a),vct(s,n==(M1(),N1t)?i:z8(i))),o=RR(Bot(r,(dxt(),vqt)),21),u=s.j,a.g){case 2:case 1:(u==(dwt(),Ote)||u==Kte)&&o.Dc((Zdt(),LXt));break;case 4:case 3:(u==(dwt(),Dte)||u==Qte)&&o.Dc((Zdt(),LXt))}else i=K9(a),s=ubt(t,n,n==(M1(),N1t)?i:z8(i));return s}function imt(t,e){var n,i,a,o,s;for(s=new b5(new jf(t.f.b).a);s.b;){if(a=RR((o=kJ(s)).ad(),585),1==e){if(a.hf()!=(E8(),p7t)&&a.hf()!=l7t)continue}else if(a.hf()!=(E8(),h7t)&&a.hf()!=f7t)continue;switch(i=RR(RR(o.bd(),46).b,79),n=RR(RR(o.bd(),46).a,189).c,a.hf().g){case 2:i.g.c=t.e.a,i.g.b=r.Math.max(1,i.g.b+n);break;case 1:i.g.c=i.g.c+n,i.g.b=r.Math.max(1,i.g.b-n);break;case 4:i.g.d=t.e.b,i.g.a=r.Math.max(1,i.g.a+n);break;case 3:i.g.d=i.g.d+n,i.g.a=r.Math.max(1,i.g.a-n)}}}function amt(t,e){var n,r,i,a,o,s,u,c,l,h,f;for(r=new xF(zE(uft(e).a.Ic(),new p));Qlt(r);)zA(sJ((!(n=RR(dq(r),80)).b&&(n.b=new nL(nne,n,4,7)),n.b),0),199)||(u=Yat(RR(sJ((!n.c&&(n.c=new nL(nne,n,5,8)),n.c),0),93)),zlt(n)||(o=e.i+e.g/2,s=e.j+e.f/2,l=u.i+u.g/2,h=u.j+u.f/2,(f=new fx).a=l-o,f.b=h-s,Ait(a=new YM(f.a,f.b),e.g,e.f),f.a-=a.a,f.b-=a.b,o=l-f.a,s=h-f.b,Ait(c=new YM(f.a,f.b),u.g,u.f),f.a-=c.a,f.b-=c.b,l=o+f.a,h=s+f.b,qJ(i=Udt(n,!0,!0),o),QJ(i,s),KJ(i,l),ZJ(i,h),amt(t,u)))}function omt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,_Pt),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new Qo))),rU(t,_Pt,SPt,bet(q5t)),rU(t,_Pt,kPt,bet(G5t)),rU(t,_Pt,IPt,bet(W5t)),rU(t,_Pt,MPt,bet(V5t)),rU(t,_Pt,CPt,bet(H5t)),rU(t,_Pt,qIt,$5t),rU(t,_Pt,bMt,8),rU(t,_Pt,TPt,bet(X5t)),rU(t,_Pt,APt,bet(j5t)),rU(t,_Pt,EPt,bet(F5t)),rU(t,_Pt,TAt,(_P(),!1))}function smt(t,e,n){var r,i,a,o,s,u,c,l;return r=t.a.o==(YH(),K0t)?RSt:NSt,!(s=Ibt(t,new tM(e,n))).a&&s.c?(vN(t.d,s),r):s.a?(i=s.a.c,u=s.a.d,n?(c=t.a.c==(sH(),X0t)?u:i,a=t.a.c==X0t?i:u,o=t.a.g[a.i.p],l=Dy(t.a.p[o.p])+Dy(t.a.d[a.i.p])+a.n.b+a.a.b-Dy(t.a.d[c.i.p])-c.n.b-c.a.b):(c=t.a.c==(sH(),U0t)?u:i,a=t.a.c==U0t?i:u,l=Dy(t.a.p[t.a.g[a.i.p].p])+Dy(t.a.d[a.i.p])+a.n.b+a.a.b-Dy(t.a.d[c.i.p])-c.n.b-c.a.b),t.a.n[t.a.g[i.i.p].p]=(_P(),!0),t.a.n[t.a.g[u.i.p].p]=!0,l):r}function umt(t,e,n){var r,i,a,o,s,u,c;if(Cdt(t.e,e))ek(),Slt((s=RR(e,65).Jj()?new ON(e,t):new CC(e,t)).c,s.b),BA(s,RR(n,15));else{for(c=sdt(t.e.Og(),e),r=RR(t.g,118),a=0;a<t.i;++a)if(i=r[a].Xj(),c.ml(i)){if(i==(mlt(),Rie)||i==Die){for(o=a,(u=_nt(t,e,n))?Kdt(t,a):++a;a<t.i;)(i=r[a].Xj())==Rie||i==Die?Kdt(t,a):++a;u||RR(Net(t,o,cX(e,n)),71)}else _nt(t,e,n)?Kdt(t,a):RR(Net(t,a,(ek(),RR(e,65).Jj()?RR(n,71):cX(e,n))),71);return}_nt(t,e,n)||EK(t,(ek(),RR(e,65).Jj()?RR(n,71):cX(e,n)))}}function cmt(t,e,n){var r,i,a,o,s,u,c,l;return u8(n,t.b)||(t.b=n,a=new Yt,o=RR(NX(S$(new lj(null,new ZW(n.f,16)),a),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[(B5(),NBt),RBt]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,i=o.Fc(($et(),M$t)),r=o.Fc(C$t),i&&!r&&(t.f=!1),!i&&r&&(t.d=!1),i=o.Fc(I$t),r=o.Fc(T$t),i&&!r&&(t.c=!1),!i&&r&&(t.e=!1)),l=RR(t.a.Ce(e,n),46),u=RR(l.a,20).a,c=RR(l.b,20).a,s=!1,u<0?t.c||(s=!0):t.e||(s=!0),c<0?t.d||(s=!0):t.f||(s=!0),s?cmt(t,l,n):l}function lmt(){var t;lmt=S,Une=new _m,Wne=hK(MFt,u_t,2,0,6,1),Yne=kH(L3(33,58),L3(1,26)),Kne=kH(L3(97,122),L3(65,90)),Zne=L3(48,57),Xne=kH(Yne,0),qne=kH(Kne,Zne),Qne=kH(kH(0,L3(1,6)),L3(33,38)),Jne=kH(kH(Zne,L3(65,70)),L3(97,102)),ire=kH(Xne,Jtt("-_.!~*'()")),are=kH(qne,n7("-_.!~*'()")),Jtt(ULt),n7(ULt),kH(ire,Jtt(";:@&=+$,")),kH(are,n7(";:@&=+$,")),tre=Jtt(":/?#"),ere=n7(":/?#"),nre=Jtt("/?#"),rre=n7("/?#"),(t=new Pv).a.xc("jar",t),t.a.xc("zip",t),t.a.xc("archive",t),mV(),Gne=new bw(t)}function hmt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p;if(o=t.e,u=e.e,0==o)return e;if(0==u)return t;if((a=t.d)+(s=e.d)==2)return n=SH(t.a[0],WSt),r=SH(e.a[0],WSt),o==u?(p=QN(l=a8(n,r)),0==(d=QN(_N(l,32)))?new xY(o,p):new nB(o,2,X3(uw(noe,1),uSt,24,15,[p,d]))):vtt(o<0?s8(r,n):s8(n,r));if(o==u)f=o,h=a>=s?lK(t.a,a,e.a,s):lK(e.a,s,t.a,a);else{if(0==(i=a!=s?a>s?1:-1:n5(t.a,e.a,a)))return rpt(),$Ft;1==i?(f=o,h=eY(t.a,a,e.a,s)):(f=u,h=eY(e.a,s,t.a,a))}return JG(c=new nB(f,h.length,h)),c}function fmt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;for(l=0;l<e.length;l++){for(o=t.Ic();o.Ob();)RR(o.Pb(),235).Lf(l,e);for(h=0;h<e[l].length;h++){for(s=t.Ic();s.Ob();)RR(s.Pb(),235).Mf(l,h,e);for(d=e[l][h].j,f=0;f<d.c.length;f++){for(u=t.Ic();u.Ob();)RR(u.Pb(),235).Nf(l,h,f,e);for(TW(f,d.c.length),n=0,i=new hY(RR(d.c[f],11).b);IA(i.a)||IA(i.b);)for(r=RR(IA(i.a)?xG(i.a):xG(i.b),18),c=t.Ic();c.Ob();)RR(c.Pb(),235).Kf(l,h,f,n++,r,e)}}}for(a=t.Ic();a.Ob();)RR(a.Pb(),235).Jf()}function dmt(t,e,n){var r,i,a,o;this.j=t,this.e=Pat(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?RR(JN(n,jz(this.o).p),231):null,i=RR(Bot(t,(dxt(),vqt)),21),this.g=i.Fc((Zdt(),EXt)),this.b=new Vb,this.d=new o7(this.e),o=RR(Bot(this.j,Wqt),228),this.q=function(t,e,n){return t==(T1(),I0t)?new Oa:0!=Ght(e,1)?new Dw(n.length):new Pw(n.length)}(e,o,this.e),this.k=new uW(this),a=Jq(X3(uw(BGt,1),zxt,235,0,[this,this.d,this.k,this.q])),e==(T1(),S0t)?(r=new Lat(this.e),a.c[a.c.length]=r,this.c=new yU(r,o,RR(this.q,451))):this.c=new hI(e,this),LR(a,this.c),fmt(a,this.e),this.s=function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S;if((n=Dy(VD(Bot(t.a.j,(Zwt(),$Zt)))))<-1||!t.a.i||bL(RR(Bot(t.a.o,nJt),100))||i9(t.a.o,(dwt(),Dte)).gc()<2&&i9(t.a.o,Qte).gc()<2)return!0;if(t.a.c.Of())return!1;for(w=0,y=0,m=new Vb,s=t.a.e,u=0,c=s.length;u<c;++u){for(f=0,g=(h=s[u]).length;f<g;++f)if((l=h[f]).k!=(vst(),KHt)){for(r=t.b[l.c.p][l.p],l.k==UHt?(r.b=1,RR(Bot(l,(dxt(),Oqt)),11).j==(dwt(),Dte)&&(y+=r.a)):(S=i9(l,(dwt(),Qte))).dc()||!tE(S,new $a)?r.c=1:((i=i9(l,Dte)).dc()||!tE(i,new za))&&(w+=r.a),o=new xF(zE(g9(l).a.Ic(),new p));Qlt(o);)a=RR(dq(o),18),w+=r.c,y+=r.b,yK(t,r,a.d.i);for(_=new xF(new DE((b=u1(X3(uw(wjt,1),zxt,19,0,[i9(l,(dwt(),Ote)),i9(l,Kte)]))).a.length,b.a));Qlt(_);)x=RR(dq(_),11),(v=RR(Bot(x,(dxt(),$qt)),10))&&(w+=r.c,y+=r.b,yK(t,r,v))}else m.c[m.c.length]=l;for(d=new ed(m);d.a<d.c.c.length;)for(l=RR(xG(d),10),r=t.b[l.c.p][l.p],o=new xF(zE(g9(l).a.Ic(),new p));Qlt(o);)a=RR(dq(o),18),w+=r.c,y+=r.b,yK(t,r,a.d.i);m.c=hK(gjt,zxt,1,0,5,1)}return(0==(e=w+y)?RSt:(w-y)/e)>=n}(this.k)}function pmt(t,e){var n,r,i,a,o;for(t.b=Dy(VD(Bot(e,(Zwt(),xJt)))),t.c=Dy(VD(Bot(e,kJt))),t.d=RR(Bot(e,oQt),334),t.a=RR(Bot(e,RZt),273),function(t){var e,n,r;for(n=new ed(t.b);n.a<n.c.c.length;)for(e=0,r=new ed(RR(xG(n),29).a);r.a<r.c.c.length;)RR(xG(r),10).p=e++}(e),i=(a=RR(NX(_$(_$(oQ(oQ(new lj(null,new ZW(e.b,16)),new bn),new vn),new mn),new yn),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14)).Ic();i.Ob();)n=RR(i.Pb(),18),RR(Bot(n,(dxt(),Zqt)),14).Hc(new fp(t)),S4(n,Zqt,null);for(r=a.Ic();r.Ob();)n=RR(r.Pb(),18),o=RR(Bot(n,(dxt(),Qqt)),18),Jwt(t,RR(Bot(n,Yqt),14),o),S4(n,Yqt,null)}function gmt(t){var e,n,r,i,a;if(t.k!=(vst(),YHt))return!1;if(t.j.c.length<=1)return!1;if(RR(Bot(t,(Zwt(),nJt)),100)==(Fat(),mte))return!1;if(int(),(r=(t.q?t.q:(mV(),mV(),KFt))._b(FQt)?RR(Bot(t,FQt),196):RR(Bot(jz(t),BQt),196))==a1t)return!1;if(r!=i1t&&r!=r1t){if(i=Dy(VD(A7(t,OJt))),!(e=RR(Bot(t,DJt),141))&&(e=new HO(i,i,i,i)),a=i9(t,(dwt(),Qte)),e.d+e.a+(a.gc()-1)*i>t.o.b)return!1;if(n=i9(t,Dte),e.d+e.a+(n.gc()-1)*i>t.o.b)return!1}return!0}function bmt(t,e){var n,r,i,a,o,s,u,c,l,h;if(l=null,t.d&&(l=RR(IH(t.d,e),138)),!l){if(h=(a=t.a.Hh()).i,!t.d||Y_(t.d)!=h){for(u=new Hb,t.d&&p2(u,t.d),s=c=u.f.c+u.g.c;s<h;++s)r=RR(sJ(a,s),138),(n=RR(null==(i=r8(t.e,r).ne())?ect(u.f,null,r):h9(u.g,i,r),138))&&n!=r&&(null==i?ect(u.f,null,n):h9(u.g,i,n));if(u.f.c+u.g.c!=h)for(o=0;o<c;++o)r=RR(sJ(a,o),138),(n=RR(null==(i=r8(t.e,r).ne())?ect(u.f,null,r):h9(u.g,i,r),138))&&n!=r&&(null==i?ect(u.f,null,n):h9(u.g,i,n));t.d=u}l=RR(IH(t.d,e),138)}return l}function vmt(t,e,n,i,a,o,s){var u,c,l,h,f,d,p;return f=Ay($D(Bot(e,(Zwt(),PQt)))),d=null,o==(M1(),R1t)&&i.c.i==n?d=i.c:o==N1t&&i.d.i==n&&(d=i.d),(l=s)&&f&&!d?(LR(l.e,i),p=r.Math.max(Dy(VD(Bot(l.d,uQt))),Dy(VD(Bot(i,uQt)))),S4(l.d,uQt,p)):(dwt(),h=Zte,d?h=d.j:jT(RR(Bot(n,nJt),100))&&(h=o==R1t?Qte:Dte),c=function(t,e,n,r,i,a){var o,s,u,c,l,h,f;o=null,c=r==(M1(),R1t)?a.c:a.d,u=o9(e),c.i==n?(o=RR(oz(t.b,c),10))||(S4(o=jwt(c,RR(Bot(n,(Zwt(),nJt)),100),i,r==R1t?-1:1,null,c.n,c.o,u,e),(dxt(),Oqt),c),t$(t.b,c,o)):(l=Dy(VD(Bot(a,(Zwt(),uQt)))),s=function(t,e,n){var r,i;switch(r=o9(jz(e)),OW(i=new Dst,e),n.g){case 1:vct(i,z8(K9(r)));break;case 2:vct(i,K9(r))}return S4(i,(Zwt(),eJt),VD(Bot(t,eJt))),i}(o=jwt((h=new Kt,f=Dy(VD(Bot(e,wJt)))/2,k4(h,eJt,f),h),RR(Bot(n,nJt),100),i,r==R1t?-1:1,null,new fx,new YM(l,l),u,e),n,r),S4(o,(dxt(),Oqt),s),t$(t.b,s,o));return RR(Bot(e,(dxt(),vqt)),21).Dc((Zdt(),EXt)),jT(RR(Bot(e,(Zwt(),nJt)),100))?S4(e,nJt,(Fat(),wte)):S4(e,nJt,(Fat(),xte)),o}(t,e,n,o,h,i),u=Vq((jz(n),i)),o==R1t?(PW(u,RR(JN(c.j,0),11)),EW(u,a)):(PW(u,a),EW(u,RR(JN(c.j,0),11))),l=new w9(i,u,c,RR(Bot(c,(dxt(),Oqt)),11),o,!d)),Kct(t.a,i,new ZL(l.d,e,o)),l}function mmt(t,e){var n,r,i,a,o,s;if(S4(e,(qmt(),t3t),0),i=RR(Bot(e,Q2t),83),0==e.d.b)i?(o=Dy(VD(Bot(i,r3t)))+t.a+Pq(i,e),S4(e,r3t,o)):S4(e,r3t,0);else{for(n=new Sg(het(new _g(e).a.d,0));jx(n.a);)mmt(t,RR(zU(n.a),188).c);r=RR(eE(new Sg(het(new _g(e).a.d,0))),83),s=RR(function(t){return jx(t.a)?GW(t):null}(new Sg(het(new _g(e).a.d,0))),83),a=(Dy(VD(Bot(s,r3t)))+Dy(VD(Bot(r,r3t))))/2,i?(o=Dy(VD(Bot(i,r3t)))+t.a+Pq(i,e),S4(e,r3t,o),S4(e,t3t,Dy(VD(Bot(e,r3t)))-a),function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;c=RR(eE(new Sg(het(new _g(e).a.d,0))),83),f=c?RR(Bot(c,(qmt(),Z2t)),83):null,i=1;for(;c&&f;){for(o=0,m=0,n=c,r=f,a=0;a<i;a++)n=pK(n),r=pK(r),m+=Dy(VD(Bot(n,(qmt(),t3t)))),o+=Dy(VD(Bot(r,t3t)));if(v=Dy(VD(Bot(f,(qmt(),r3t)))),b=Dy(VD(Bot(c,r3t))),l=Pq(c,f),0<(h=v+o+t.a+l-b-m)){for(s=e,u=0;s&&s!=r;)++u,s=RR(Bot(s,Q2t),83);if(!s)return;for(g=h/u,s=e;s!=r;)p=Dy(VD(Bot(s,r3t)))+h,S4(s,r3t,p),d=Dy(VD(Bot(s,t3t)))+h,S4(s,t3t,d),h-=g,s=RR(Bot(s,Q2t),83)}++i,f=(c=0==c.d.b?$gt(new _g(e),i):RR(eE(new Sg(het(new _g(c).a.d,0))),83))?RR(Bot(c,Z2t),83):null}}(t,e)):S4(e,r3t,a)}}function ymt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;s=0,d=0,u=_H(t.f,t.f.length),a=t.d,o=t.i,r=t.a,i=t.b;do{for(f=0,c=new ed(t.p);c.a<c.c.c.length;)h=yyt(t,RR(xG(c),10)),n=!0,(t.q==(Lft(),v1t)||t.q==w1t)&&(n=Ay($D(h.b))),RR(h.a,20).a<0&&n?(++f,u=_H(t.f,t.f.length),t.d=t.d+RR(h.a,20).a,d+=a-t.d,a=t.d+RR(h.a,20).a,o=t.i,r=fG(t.a),i=fG(t.b)):(t.f=_H(u,u.length),t.d=a,t.a=(wB(r),r?new jL(r):NR(new ed(r))),t.b=(wB(i),i?new jL(i):NR(new ed(i))),t.i=o);++s,l=0!=f&&Ay($D(e.Kb(new KM(k8(d),k8(s)))))}while(l)}function wmt(t){WS(t,new iot(Kw(Ww(Yw(Hw(qw(Uw(new fs,REt),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Po),NEt),a9((qlt(),_ne))))),rU(t,REt,qIt,v3t),rU(t,REt,bMt,20),rU(t,REt,XIt,dMt),rU(t,REt,gMt,k8(1)),rU(t,REt,yMt,(_P(),!0)),rU(t,REt,TAt,bet(g3t)),rU(t,REt,DEt,bet(_3t)),rU(t,REt,OEt,bet(y3t))}function xmt(t,e){var n,r,i,a,o,s,u,c,l;if(!(e.e.c.length<=1)){for(t.f=e,t.d=RR(Bot(t.f,(Yet(),QVt)),376),t.g=RR(Bot(t.f,nHt),20).a,t.e=Dy(VD(Bot(t.f,JVt))),t.c=Dy(VD(Bot(t.f,ZVt))),yB(t.b),i=new ed(t.f.c);i.a<i.c.c.length;)r=RR(xG(i),281),wgt(t.b,r.c,r,null),wgt(t.b,r.d,r,null);for(s=t.f.e.c.length,t.a=FN(ooe,[u_t,$St],[103,24],15,[s,s],2),c=new ed(t.f.e);c.a<c.c.c.length;)Mvt(t,u=RR(xG(c),144),t.a[u.b]);for(t.i=FN(ooe,[u_t,$St],[103,24],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)l=1/((n=t.a[a][o])*n),t.i[a][o]=l}}function _mt(t){var e,n,r,i;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,i=0;i<t.b.length;){for(e!=i?(t.b[e]=t.b[i++],t.b[e+1]=t.b[i++]):i+=2,n=t.b[e+1];i<t.b.length&&!(n+1<t.b[i]);)if(n+1==t.b[i])t.b[e+1]=t.b[i+1],n=t.b[e+1],i+=2;else if(n>=t.b[i+1])i+=2;else{if(!(n<t.b[i+1]))throw Jb(new sy("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[i]+","+t.b[i+1]+"]"));t.b[e+1]=t.b[i+1],n=t.b[e+1],i+=2}e+=2}e!=t.b.length&&(r=hK(noe,uSt,24,e,15,1),Yvt(t.b,0,r,0,e),t.b=r),t.a=!0}}function Smt(t,e){var n,r,i,a,o,s,u,c,l;if(c=RR(Bot(t,(dxt(),pqt)),61),r=RR(JN(t.j,0),11),c==(dwt(),Ote)?vct(r,Kte):c==Kte&&vct(r,Ote),RR(Bot(e,(Zwt(),$Qt)),174).Fc((ott(),lee))){if(u=Dy(VD(Bot(t,TJt))),o=Dy(VD(Bot(t,MJt))),(s=RR(Bot(e,aJt),21)).Fc((aot(),Mte)))for(n=u,l=t.o.a/2-r.n.a,a=new ed(r.f);a.a<a.c.c.length;)(i=RR(xG(a),69)).n.b=n,i.n.a=l-i.o.a/2,n+=i.o.b+o;else if(s.Fc(Tte))for(a=new ed(r.f);a.a<a.c.c.length;)(i=RR(xG(a),69)).n.a=u+t.o.a-r.n.a;!function(t,e){var n;n=Dy(VD(t.a.Xe((fxt(),n7t)))),Twt(t,e,n)}(new Rd(new D$(e,!1,!1,new Re)),new tR(null,t,!1))}}function kmt(t){var e,n,r,i,a,o,s,u,c,l,h,f;for(a=Ay($D(_ht(e=VH(t),(Zwt(),gQt)))),l=0,i=0,c=new SE((!t.e&&(t.e=new nL(rne,t,7,4)),t.e));c.e!=c.i.gc();)o=(s=Jct(u=RR(Htt(c),80)))&&a&&Ay($D(_ht(u,bQt))),f=Yat(RR(sJ((!u.c&&(u.c=new nL(nne,u,5,8)),u.c),0),93)),s&&o?++i:s&&!o?++l:rW(f)==e||f==e?++i:++l;for(r=new SE((!t.d&&(t.d=new nL(rne,t,8,5)),t.d));r.e!=r.i.gc();)o=(s=Jct(n=RR(Htt(r),80)))&&a&&Ay($D(_ht(n,bQt))),h=Yat(RR(sJ((!n.b&&(n.b=new nL(nne,n,4,7)),n.b),0),93)),s&&o?++l:s&&!o?++i:rW(h)==e||h==e?++l:++i;return l-i}function Imt(t,e){var n,r,i,a,o,s,u,c,l;if((o=null!=e.p&&!e.b)||qat(e,iMt,1),a=1/(n=RR(Bot(t,(dxt(),Hqt)),14)).gc(),e.n)for(YR(e,"ELK Layered uses the following "+n.gc()+" modules:"),l=0,c=n.Ic();c.Ob();)YR(e," Slot "+((l<10?"0":"")+l++)+": "+Fx(g5(RR(c.Pb(),52))));for(0,u=n.Ic();u.Ob();)RR(u.Pb(),52).nf(t,o2(e,a));for(i=new ed(t.b);i.a<i.c.c.length;)r=RR(xG(i),29),R3(t.a,r.a),r.a.c=hK(gjt,zxt,1,0,5,1);for(s=new ed(t.a);s.a<s.c.c.length;)DW(RR(xG(s),10),null);t.b.c=hK(gjt,zxt,1,0,5,1),o||Sst(e)}function Mmt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p;for(p=new Hb,a=t.a.ec().Ic();a.Ob();)t$(p,r=RR(a.Pb(),168),n.Je(r));for(wB(t),kA(o=t?new jL(t):NR(t.a.ec().Ic()),new Dd(p)),s=EX(o),u=new $A(e),ect((d=new Hb).f,e,u);0!=s.a.gc();){for(c=null,l=null,h=null,i=s.a.ec().Ic();i.Ob();)if(r=RR(i.Pb(),168),Dy(VD(PC(rH(p.f,r))))<=RSt){if(KF(d,r.a)&&!KF(d,r.b)){l=r.b,h=r.a,c=r;break}if(KF(d,r.b)&&!KF(d,r.a)){l=r.a,h=r.b,c=r;break}}if(!c)break;f=new $A(l),LR(RR(PC(rH(d.f,h)),219).a,f),ect(d.f,l,f),s.a.zc(c)}return u}function Cmt(t){var e,n,r,i,a;return null!=t.g?t.g:t.a<32?(t.g=function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g;if(Zvt(),(u=A5(t,0)<0)&&(t=kK(t)),0==A5(t,0))switch(e){case 0:return"0";case 1:return USt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new pw).a+=e<0?"0E+":"0E",d.a+=e==B_t?"2147483648":""+-e,d.a}h=hK(eoe,q_t,24,1+(l=18),15,1),n=l,g=t;do{c=g,g=dit(g,10),h[--n]=QN(a8(48,s8(c,o8(g,10))))&Y_t}while(0!=A5(g,0));if(i=s8(s8(s8(l,n),e),1),0==e)return u&&(h[--n]=45),utt(h,n,l-n);if(e>0&&A5(i,-6)>=0){if(A5(i,0)>=0){for(a=n+QN(i),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,u&&(h[--n]=45),utt(h,n,l-n+1)}for(o=2;Ox(o,a8(kK(i),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,u&&(h[--n]=45),utt(h,n,l-n)}p=n+1,r=l,f=new gw,u&&(f.a+="-"),r-p>=1?(iz(f,h[n]),f.a+=".",f.a+=utt(h,n+1,l-n-1)):f.a+=utt(h,n,l-n);return f.a+="E",A5(i,0)>0&&(f.a+="+"),f.a+=""+Ej(i),f.a}(C2(t.f),CH(t.e)),t.g):(i=ext((!t.c&&(t.c=z6(t.f)),t.c),0),0==t.e?i:(e=(!t.c&&(t.c=z6(t.f)),t.c).e<0?2:1,n=i.length,r=-t.e+n-e,(a=new pw).a+=""+i,t.e>0&&r>=-6?r>=0?dW(a,n-CH(t.e),String.fromCharCode(46)):(a.a=BP(a.a,0,e-1)+"0."+zC(a.a,e-1),dW(a,e+1,utt(AFt,0,-CH(r)-1))):(n-e>=1&&(dW(a,e,String.fromCharCode(46)),++n),dW(a,n,String.fromCharCode(69)),r>0&&dW(a,++n,String.fromCharCode(43)),dW(a,++n,""+Ej(C2(r)))),t.g=a.a,t.g))}function Tmt(t,e){var n,r,i,a,o;if(e)if(!t.a&&(t.a=new Ov),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=RR(Bz(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?Tv(t.a,e):(0==e.e?2:e.Yl().length,0==a.e?(n=new dw,(r=a.Wl())>=BSt?HC(n,b9(r)):rz(n,r&Y_t),a=new bH(10,null,0),function(t,e,n){qj(n,t.a.c.length),bq(t.a,n,e)}(t.a,a,o-1)):(a.Yl().length,HC(n=new dw,a.Yl())),0==e.e?(r=e.Wl())>=BSt?HC(n,b9(r)):rz(n,r&Y_t):HC(n,e.Yl()),RR(a,514).b=n.a):Tv(t.a,e);else for(i=0;i<e._l();i++)Tmt(t,e.Xl(i));else Tv(t.a,e)}function Amt(t,e,n,i,a,o,s){var u,c,l,h;switch(u=Jq(X3(uw(d5t,1),zxt,218,0,[e,n,i,a])),h=null,t.b.g){case 1:h=Jq(X3(uw(P4t,1),zxt,519,0,[new Yo,new Xo,new qo]));break;case 0:h=Jq(X3(uw(P4t,1),zxt,519,0,[new qo,new Xo,new Yo]));break;case 2:h=Jq(X3(uw(P4t,1),zxt,519,0,[new Xo,new Yo,new qo]))}for(l=new ed(h);l.a<l.c.c.length;)c=RR(xG(l),519),u.c.length>1&&(u=c.hg(u,t.a));return 1==u.c.length?RR(JN(u,u.c.length-1),218):2==u.c.length?function(t,e,n,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;return o=t.i,f=e.i,s=o==(Eft(),u5t)||o==l5t,u=o==c5t||o==h5t,d=f==c5t||f==h5t,c=o==c5t||o==u5t,p=f==c5t||f==u5t,!s||f!=u5t&&f!=l5t?u&&d?t.i==h5t?t:e:c&&p?(o==c5t?(h=t,l=e):(h=e,l=t),g=n.j+n.f,b=h.g+i.f,v=r.Math.max(g,b)-r.Math.min(n.j,h.g),a=(h.f+i.g-n.i)*v,m=n.i+n.g,y=l.f+i.g,a<=(r.Math.max(m,y)-r.Math.min(n.i,l.f))*(l.g+i.f-n.j)?t.i==c5t?t:e:t.i==u5t?t:e):t:t.i==l5t?t:e}((TW(0,u.c.length),RR(u.c[0],218)),(TW(1,u.c.length),RR(u.c[1],218)),s,o):null}function Emt(t,e,n){var i,a,o;if((a=RR(Bot(e,(Zwt(),RZt)),273))!=(ust(),SXt)){if(qat(n,"Horizontal Compaction",1),t.a=e,i=new vlt(((o=new DZ).d=e,o.c=RR(Bot(o.d,eQt),216),function(t){var e,n,r,i,a,o,s;for(e=!1,n=0,i=new ed(t.d.b);i.a<i.c.c.length;)for((r=RR(xG(i),29)).p=n++,o=new ed(r.a);o.a<o.c.c.length;)a=RR(xG(o),10),!e&&!DU(d9(a))&&(e=!0);s=Dj((E8(),d7t),X3(uw(y7t,1),P_t,108,0,[h7t,f7t])),e||(l0(s,p7t),l0(s,l7t)),t.a=new GQ(s),JF(t.f),JF(t.b),JF(t.e),JF(t.g)}(o),function(t){var e,n,r,i,a,o,s,u,c,l;for(a=new ed(t.d.b);a.a<a.c.c.length;)for(s=new ed(RR(xG(a),29).a);s.a<s.c.c.length;)!Ay($D(Bot(o=RR(xG(s),10),(Zwt(),DZt))))||DU(d9(o))?(i=new j$(o.n.a-o.d.b,o.n.b-o.d.d,o.o.a+o.d.b+o.d.c,o.o.b+o.d.d+o.d.a),e=fP(dS(hS(fS(new $v,o),i),jGt),t.a),hP(lS(f1(new zv,X3(uw(XBt,1),zxt,56,0,[e])),e),t.a),u=new Wb,t$(t.e,e,u),(n=OU(new xF(zE(p9(o).a.Ic(),new p)))-OU(new xF(zE(g9(o).a.Ic(),new p))))<0?c4(u,!0,(E8(),h7t)):n>0&&c4(u,!0,(E8(),f7t)),o.k==(vst(),UHt)&&r$(u),t$(t.f,o,e)):((c=(r=RR(CV(d9(o)),18)).c.i)==o&&(c=r.d.i),l=new KM(c,$O(LA(o.n),c.n)),t$(t.b,o,l))}(o),Lpt(o),o.a)),function(t,e){t.g=e}(i,t.b),1===RR(Bot(e,LZt),417).g)_w(i,new F0(t.a));else _w(i,(wV(),KBt));switch(a.g){case 1:Nht(i);break;case 2:Nht(Gyt(i,(E8(),f7t)));break;case 3:Nht(Sw(Gyt(Nht(i),(E8(),f7t)),new fi));break;case 4:Nht(Sw(Gyt(Nht(i),(E8(),f7t)),new Pp(o)));break;case 5:Nht(function(t,e){return t.b=e,t}(i,NGt))}Gyt(i,(E8(),h7t)),i.e=!0,function(t){var e,n,i,a;uS(_$(new lj(null,new ZW(t.a.b,16)),new bi),new vi),function(t){var e,n,r,i,a;for(r=new b5(new jf(t.b).a);r.b;)e=RR((n=kJ(r)).ad(),10),a=RR(RR(n.bd(),46).a,10),i=RR(RR(n.bd(),46).b,8),zO(nT(e.n),zO(LA(a.n),i))}(t),uS(_$(new lj(null,new ZW(t.a.b,16)),new mi),new yi),t.c==(V9(),S7t)&&(uS(_$(oQ(new lj(null,new ZW(new Ff(t.f),1)),new wi),new xi),new Rp(t)),uS(_$(S$(oQ(oQ(new lj(null,new ZW(t.d.b,16)),new _i),new Si),new ki),new Ii),new jp(t)));for(a=new YM(RSt,RSt),e=new YM(NSt,NSt),i=new ed(t.a.b);i.a<i.c.c.length;)n=RR(xG(i),56),a.a=r.Math.min(a.a,n.d.c),a.b=r.Math.min(a.b,n.d.d),e.a=r.Math.max(e.a,n.d.c+n.d.b),e.b=r.Math.max(e.b,n.d.d+n.d.a);zO(nT(t.d.c),aD(new YM(a.a,a.b))),zO(nT(t.d.f),$O(new YM(e.a,e.b),a)),function(t,e,n){var r,i;for(r=new ed(t.a.b);r.a<r.c.c.length;)if((i=aU(RR(xG(r),56)))&&i.k==(vst(),UHt))switch(RR(Bot(i,(dxt(),pqt)),61).g){case 4:i.n.a=e.a;break;case 2:i.n.a=n.a-(i.o.a+i.d.c);break;case 1:i.n.b=e.b;break;case 3:i.n.b=n.b-(i.o.b+i.d.a)}}(t,a,e),JF(t.f),JF(t.b),JF(t.g),JF(t.e),t.a.a.c=hK(gjt,zxt,1,0,5,1),t.a.b.c=hK(gjt,zxt,1,0,5,1),t.a=null,t.d=null}(o),Sst(n)}}function Pmt(t){WS(t,new iot(Ww(Yw(Hw(qw(Uw(new fs,DMt),OMt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pe),pMt))),rU(t,DMt,wMt,bet(eHt)),rU(t,DMt,_Mt,(_P(),!0)),rU(t,DMt,qIt,rHt),rU(t,DMt,CMt,bet(tHt)),rU(t,DMt,AMt,bet(QVt)),rU(t,DMt,EMt,bet(JVt)),rU(t,DMt,PMt,bet(nHt)),rU(t,DMt,TMt,bet(ZVt))}function Dmt(t){var e,n,i,a,o,s;for(cJ(t.a,new Zt),n=new ed(t.a);n.a<n.c.c.length;)e=RR(xG(n),219),i=$O(LA(RR(t.b,63).c),RR(e.b,63).c),L$t?(s=RR(t.b,63).b,o=RR(e.b,63).b,r.Math.abs(i.a)>=r.Math.abs(i.b)?(i.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&WR(i,r.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(i.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&WR(i,r.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):WR(i,jbt(RR(t.b,63),RR(e.b,63))),a=r.Math.sqrt(i.a*i.a+i.b*i.b),WR(i,a=Eat(D$t,e,a,i)),$j(RR(e.b,63),i),cJ(e.a,new zd(i)),RR(D$t.b,63),gK(D$t,O$t,e)}function Omt(t){var e,n,r,i,a,o,s,u,c;if(t._i())if(u=t.aj(),t.i>0){if(e=new SC(t.i,t.g),a=(n=t.i)<100?null:new cx(n),t.dj())for(r=0;r<t.i;++r)o=t.g[r],a=t.fj(o,a);if(Wq(t),i=1==n?t.Ui(4,sJ(e,0),null,0,u):t.Ui(6,e,null,-1,u),t.Yi()){for(r=new RP(e);r.e!=r.i.gc();)a=t.$i(Wtt(r),a);a?(a.zi(i),a.Ai()):t.Vi(i)}else a?(a.zi(i),a.Ai()):t.Vi(i)}else Wq(t),t.Vi(t.Ui(6,(mV(),YFt),null,-1,u));else if(t.Yi())if(t.i>0){for(s=t.g,c=t.i,Wq(t),a=c<100?null:new cx(c),r=0;r<c;++r)o=s[r],a=t.$i(o,a);a&&a.Ai()}else Wq(t);else Wq(t)}function Lmt(t,e,n){var i,a,o,s,u,c,l,h,f;for(d3(this),n==(oH(),I2t)?cB(this.r,t):cB(this.w,t),h=RSt,l=NSt,s=e.a.ec().Ic();s.Ob();)a=RR(s.Pb(),46),u=RR(a.a,448),(c=(i=RR(a.b,18)).c)==t&&(c=i.d),cB(u==I2t?this.r:this.w,c),f=(dwt(),Wte).Fc(c.j)?Dy(VD(Bot(c,(dxt(),Kqt)))):$4(X3(uw(t8t,1),u_t,8,0,[c.i.n,c.n,c.a])).b,h=r.Math.min(h,f),l=r.Math.max(l,f);for(ast(this,(dwt(),Wte).Fc(t.j)?Dy(VD(Bot(t,(dxt(),Kqt)))):$4(X3(uw(t8t,1),u_t,8,0,[t.i.n,t.n,t.a])).b,h,l),o=e.a.ec().Ic();o.Ob();)a=RR(o.Pb(),46),Qst(this,RR(a.b,18));this.o=!1}function Rmt(t){var e,n,i,a,o,s,u;if(0!=(u=RR(JN(t.j,0),11)).g.c.length&&0!=u.e.c.length)throw Jb(new jy("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=u.g.c.length){for(o=RSt,n=new ed(u.g);n.a<n.c.c.length;)e=RR(xG(n),18),i=RR(Bot(s=e.d.i,(Zwt(),AQt)),141),o=r.Math.min(o,s.n.a-i.b);return new Oh(wB(o))}if(0!=u.e.c.length){for(a=NSt,n=new ed(u.e);n.a<n.c.c.length;)e=RR(xG(n),18),i=RR(Bot(s=e.c.i,(Zwt(),AQt)),141),a=r.Math.max(a,s.n.a+s.o.a+i.c);return new Oh(wB(a))}return zm(),zm(),vjt}function Nmt(t,e){var n,r,i,a,o,s;if(t.Ak()){if(t.i>4){if(!t.rj(e))return!1;if(t.mk()){if(s=(n=(r=RR(e,48)).Pg())==t.e&&(t.yk()?r.Jg(r.Qg(),t.uk())==t.vk():-1-r.Qg()==t.Xi()),t.zk()&&!s&&!n&&r.Ug())for(i=0;i<t.i;++i)if(DC(t.Bk(RR(t.g[i],55)))===DC(e))return!0;return s}if(t.yk()&&!t.xk()){if(DC(a=RR(e,55).Xg(wnt(RR(t.Xj(),17))))===DC(t.e))return!0;if(null==a||!RR(a,55).fh())return!1}}if(o=qit(t,e),t.zk()&&!o)for(i=0;i<t.i;++i)if(DC(r=t.Bk(RR(t.g[i],55)))===DC(e))return!0;return o}return qit(t,e)}function jmt(t,e){var n,r,i,a,o,s,u,c,l,h,f;for(l=new Vb,f=new Pv,o=e.b,i=0;i<o.c.length;i++){for(c=(TW(i,o.c.length),RR(o.c[i],29)).a,l.c=hK(gjt,zxt,1,0,5,1),a=0;a<c.c.length;a++)(s=t.a[i][a]).p=a,s.k==(vst(),KHt)&&(l.c[l.c.length]=s),bq(RR(JN(e.b,i),29).a,a,s),s.j.c=hK(gjt,zxt,1,0,5,1),R3(s.j,RR(RR(JN(t.b,i),14).Xb(a),15)),bL(RR(Bot(s,(Zwt(),nJt)),100))||S4(s,nJt,(Fat(),vte));for(r=new ed(l);r.a<r.c.c.length;)h=agt(n=RR(xG(r),10)),f.a.xc(h,f),f.a.xc(n,f)}for(u=f.a.ec().Ic();u.Ob();)s=RR(u.Pb(),10),mV(),kA(s.j,(W4(),PGt)),s.i=!0,Mct(s)}function Fmt(t){var e,n,r,i,a,o,s,u,c,l;if(t._i())if(l=t.Qi(),u=t.aj(),l>0)if(e=new M2(t.Bi()),a=(n=l)<100?null:new cx(n),ZD(t,n,e.g),i=1==n?t.Ui(4,sJ(e,0),null,0,u):t.Ui(6,e,null,-1,u),t.Yi()){for(r=new SE(e);r.e!=r.i.gc();)a=t.$i(Htt(r),a);a?(a.zi(i),a.Ai()):t.Vi(i)}else a?(a.zi(i),a.Ai()):t.Vi(i);else ZD(t,t.Qi(),t.Ri()),t.Vi(t.Ui(6,(mV(),YFt),null,-1,u));else if(t.Yi())if((l=t.Qi())>0){for(s=t.Ri(),c=l,ZD(t,l,s),a=c<100?null:new cx(c),r=0;r<c;++r)o=s[r],a=t.$i(o,a);a&&a.Ai()}else ZD(t,t.Qi(),t.Ri());else ZD(t,t.Qi(),t.Ri())}function Bmt(t,e,n,i){var a,o,s,u,c,l,h,f,d,p;for((h=new uA(RR(_ht(t,(Got(),g8t)),8))).a=r.Math.max(h.a-n.b-n.c,0),h.b=r.Math.max(h.b-n.d-n.a,0),(null==(a=VD(_ht(t,c8t)))||(wz(a),a<=0))&&(a=1.3),s=new Vb,f=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));f.e!=f.i.gc();)o=new uD(RR(Htt(f),34)),s.c[s.c.length]=o;switch(RR(_ht(t,l8t),309).g){case 3:p=function(t,e,n,r,i){var a,o,s,u,c,l,h;for(mV(),kA(t,new Hs),s=new tU(t,0),h=new Vb,a=0;s.b<s.d.gc();)MP(s.b<s.d.gc()),o=RR(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&sj(o)*oj(o)>2*a?(l=new SJ(h),c=sj(o)/oj(o),u=Fwt(l,e,new sm,n,r,i,c),zO(nT(l.e),u),h.c=hK(gjt,zxt,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=sj(l)*oj(l)+sj(o)*oj(o)):(h.c[h.c.length]=o,a+=sj(o)*oj(o));return h}(s,e,h.a,h.b,(c=i,wz(a),c));break;case 1:p=function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d;for(mV(),kA(t,new $s),o=jR(t),d=new Vb,f=new Vb,s=null,u=0;0!=o.b;)a=RR(0==o.b?null:(MP(0!=o.b),uJ(o,o.a.a)),157),!s||sj(s)*oj(s)/2<sj(a)*oj(a)?(s=a,d.c[d.c.length]=a):(u+=sj(a)*oj(a),f.c[f.c.length]=a,f.c.length>1&&(u>sj(s)*oj(s)/2||0==o.b)&&(h=new SJ(f),l=sj(s)/oj(s),c=Fwt(h,e,new sm,n,r,i,l),zO(nT(h.e),c),s=h,d.c[d.c.length]=h,u=0,f.c=hK(gjt,zxt,1,0,5,1)));return R3(d,f),d}(s,e,h.a,h.b,(l=i,wz(a),l));break;default:p=function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d;s=hK(ooe,$St,24,t.c.length,15,1),eit(f=new yF(new Vs),t),c=0,d=new Vb;for(;0!=f.b.c.length;)if(o=RR(0==f.b.c.length?null:JN(f.b,0),157),c>1&&sj(o)*oj(o)/2>s[0]){for(a=0;a<d.c.length-1&&sj(o)*oj(o)/2>s[a];)++a;h=new SJ(new KW(d,0,a+1)),l=sj(o)/oj(o),u=Fwt(h,e,new sm,n,r,i,l),zO(nT(h.e),u),LY(_ot(f,h)),eit(f,new KW(d,a+1,d.c.length)),d.c=hK(gjt,zxt,1,0,5,1),c=0,Oj(s,s.length,0)}else null!=(0==f.b.c.length?null:JN(f.b,0))&&f0(f,0),c>0&&(s[c]=s[c-1]),s[c]+=sj(o)*oj(o),++c,d.c[d.c.length]=o;return d}(s,e,h.a,h.b,(u=i,wz(a),u))}wwt(t,(d=Fwt(new SJ(p),e,n,h.a,h.b,i,(wz(a),a))).a,d.b,!1,!0)}function zmt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v;for(a=0,o=0,c=new ed(t.a);c.a<c.c.c.length;)s=RR(xG(c),10),a=r.Math.max(a,s.d.b),o=r.Math.max(o,s.d.c);for(u=new ed(t.a);u.a<u.c.c.length;){switch(s=RR(xG(u),10),RR(Bot(s,(Zwt(),AZt)),247).g){case 1:p=0;break;case 2:p=1;break;case 5:p=.5;break;default:for(n=0,h=0,d=new ed(s.j);d.a<d.c.c.length;)0==(f=RR(xG(d),11)).e.c.length||++n,0==f.g.c.length||++h;p=n+h==0?.5:h/(n+h)}b=t.c,l=s.o.a,v=(b.a-l)*p,p>.5?v-=2*o*(p-.5):p<.5&&(v+=2*a*(.5-p)),v<(i=s.d.b)&&(v=i),g=s.d.c,v>b.a-g-l&&(v=b.a-g-l),s.n.a=e+v}}function $mt(t,e,n){var r,i,a,o,s,u;if(0==e.l&&0==e.m&&0==e.h)throw Jb(new Iy("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(Qjt=AA(0,0,0)),AA(0,0,0);if(e.h==MSt&&0==e.m&&0==e.l)return function(t,e){return t.h==MSt&&0==t.m&&0==t.l?(e&&(Qjt=AA(0,0,0)),yT((rJ(),eFt))):(e&&(Qjt=AA(t.l,t.m,t.h)),AA(0,0,0))}(t,n);if(u=!1,e.h>>19!=0&&(e=w4(e),u=!u),o=function(t){var e,n,r;return 0!=((n=t.l)&n-1)||0!=((r=t.m)&r-1)||0!=((e=t.h)&e-1)||0==e&&0==r&&0==n?-1:0==e&&0==r&&0!=n?Q1(n):0==e&&0!=r&&0==n?Q1(r)+22:0!=e&&0==r&&0==n?Q1(e)+44:-1}(e),a=!1,i=!1,r=!1,t.h==MSt&&0==t.m&&0==t.l){if(i=!0,a=!0,-1!=o)return s=rht(t,o),u&&B4(s),n&&(Qjt=AA(0,0,0)),s;t=yT((rJ(),Jjt)),r=!0,u=!u}else t.h>>19!=0&&(a=!0,t=w4(t),r=!0,u=!u);return-1!=o?t5(t,o,u,a,n):wit(t,e)<0?(n&&(Qjt=a?w4(t):AA(t.l,t.m,t.h)),AA(0,0,0)):function(t,e,n,r,i,a){var o,s,u,c,l,h;for(o=wst(e,u=O4(e)-O4(t)),s=AA(0,0,0);u>=0&&(!Frt(t,o)||(u<22?s.l|=1<<u:u<44?s.m|=1<<u-22:s.h|=1<<u-44,0!=t.l||0!=t.m||0!=t.h));)c=o.m,l=o.h,h=o.l,o.h=l>>>1,o.m=c>>>1|(1&l)<<21,o.l=h>>>1|(1&c)<<21,--u;return n&&B4(s),a&&(r?(Qjt=w4(t),i&&(Qjt=J3(Qjt,(rJ(),eFt)))):Qjt=AA(t.l,t.m,t.h)),s}(r?t:AA(t.l,t.m,t.h),e,u,a,i,n)}function Vmt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p;if(t.e&&t.c.c<t.f)throw Jb(new jy("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(l=RR(Rx(t.g),9),d=VP(t.f),s=0,c=(a=l).length;s<c;++s)(h=RR(dZ(t,(r=a[s]).g),245))?LR(d,RR(J9(t,h),126)):d.c[d.c.length]=null;for(p=new wU,uS(_$(S$(_$(new lj(null,new ZW(d,16)),new ss),new Dg(e)),new us),new Og(p)),P2(p,t.a),n=new Vb,o=0,u=(i=l).length;o<u;++o)R3(n,V3(t,MV(RR(dZ(p,(r=i[o]).g),19)))),(f=RR(JN(d,r.g),126))&&(n.c[n.c.length]=f);return R3(n,V3(t,MV(RR(dZ(p,l[l.length-1].g+1),19)))),n}function Hmt(t,e){var n,r,i,a,o,s,u,c,l;return c="",0==e.length?t.de(X_t,G_t,-1,-1):(hL((l=Kot(e)).substr(0,3),"at ")&&(l=l.substr(3)),-1==(o=(l=l.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=l.indexOf("@"))?(c=l,l=""):(c=Kot(l.substr(o+1)),l=Kot(l.substr(0,o))):(n=l.indexOf(")",o),c=l.substr(o+1,n-(o+1)),l=Kot(l.substr(0,o))),-1!=(o=ST(l,mot(46)))&&(l=l.substr(o+1)),(0==l.length||hL(l,"Anonymous function"))&&(l=G_t),s=iP(c,mot(58)),i=sL(c,mot(58),s-1),u=-1,r=-1,a=X_t,-1!=s&&-1!=i&&(a=c.substr(0,i),u=$P(c.substr(i+1,s-(i+1))),r=$P(c.substr(s+1))),t.de(a,l,u,r))}function Wmt(t,e){var n,r,i,a,o,s,u,c;if(AW(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=ST(e,mot(91)))>=0)return i=function(t,e){var n;if(zA(n=Uft(t.Og(),e),97))return RR(n,17);throw Jb(new Ny(WDt+e+"' is not a valid reference"))}(t,e.substr(1,a-1)),function(t,e,n){var r,i,a,o,s,u,c,l,h,f;for(u=new Vb,h=e.length,o=L4(n),c=0;c<h;++c){switch(l=aP(e,mot(61),c),a=(i=G3(r=g8(o,e.substr(c,l-c)))).vj().Ih(),d$(e,++l)){case 39:s=FP(e,39,++l),LR(u,new mC(r,W$(e.substr(l,s-l),a,i))),c=s+1;break;case 34:s=FP(e,34,++l),LR(u,new mC(r,W$(e.substr(l,s-l),a,i))),c=s+1;break;case 91:LR(u,new mC(r,f=new Vb));t:for(;;){switch(d$(e,++l)){case 39:s=FP(e,39,++l),LR(f,W$(e.substr(l,s-l),a,i)),l=s+1;break;case 34:s=FP(e,34,++l),LR(f,W$(e.substr(l,s-l),a,i)),l=s+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Jb(new sy(UDt));f.c[f.c.length]=null,l+=3}if(!(l<h))break;switch(AW(l,e.length),e.charCodeAt(l)){case 44:break;case 93:break t;default:throw Jb(new sy("Expecting , or ]"))}}c=l+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Jb(new sy(UDt));LR(u,new mC(r,null)),c=l+3}if(!(c<h))break;if(AW(c,e.length),44!=e.charCodeAt(c))throw Jb(new sy("Expecting ,"))}return function(t,e,n){var r,i,a,o,s,u,c,l,h;h=e.c.length;t:for(a=RR((c=t.Tg(n))>=0?t.Wg(c,!1,!0):nlt(t,n,!1),57).Ic();a.Ob();){for(i=RR(a.Pb(),55),l=0;l<h;++l)if(TW(l,e.c.length),u=(o=RR(e.c[l],71)).bd(),s=o.Xj(),r=i.Yg(s,!1),null==u?null!=r:!u8(u,r))continue t;return i}return null}(t,u,n)}(t,e.substr(a+1,s-(a+1)),i)}else{if(n=-1,null==uFt&&(uFt=new RegExp("\\d")),uFt.test(String.fromCharCode(o))&&(n=sL(e,mot(46),s-1))>=0){r=RR(Yq(t,qQ(t,e.substr(1,n-1)),!1),57),u=0;try{u=Wgt(e.substr(n+1),B_t,Lxt)}catch(t){throw zA(t=m3(t),127)?Jb(new OZ(t)):Jb(t)}if(u<r.gc())return zA(c=r.Xb(u),71)&&(c=RR(c,71).bd()),RR(c,55)}if(n<0)return RR(Yq(t,qQ(t,e.substr(1)),!1),55)}return null}function Gmt(t,e){var n,r,i,a,o,s,u;if(!(t.g>e.f||e.g>t.f)){for(n=0,r=0,o=t.w.a.ec().Ic();o.Ob();)i=RR(o.Pb(),11),s6($4(X3(uw(t8t,1),u_t,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Ic();s.Ob();)i=RR(s.Pb(),11),s6($4(X3(uw(t8t,1),u_t,8,0,[i.i.n,i.n,i.a])).b,e.g,e.f)&&--n;for(u=e.w.a.ec().Ic();u.Ob();)i=RR(u.Pb(),11),s6($4(X3(uw(t8t,1),u_t,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&++r;for(a=e.r.a.ec().Ic();a.Ob();)i=RR(a.Pb(),11),s6($4(X3(uw(t8t,1),u_t,8,0,[i.i.n,i.n,i.a])).b,t.g,t.f)&&--r;n<r?new yY(t,e,r-n):r<n?new yY(e,t,n-r):(new yY(e,t,0),new yY(t,e,0))}}function Umt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;for(c=e.c,i=iA(t.e),h=lE(rD(LA(rA(t.e)),t.d*t.a,t.c*t.b),-.5),n=i.a-h.a,r=i.b-h.b,n=(o=e.a).c-n,r=o.d-r,u=new ed(c);u.a<u.c.c.length;){switch(d=n+(f=(s=RR(xG(u),391)).b).a,b=r+f.b,p=CH(d/t.a),v=CH(b/t.b),(a=s.a).g){case 0:$et(),l=M$t;break;case 1:$et(),l=I$t;break;case 2:$et(),l=C$t;break;default:$et(),l=T$t}a.a?(m=CH((b+s.c)/t.b),LR(t.f,new qL(l,k8(v),k8(m))),a==(Vet(),z$t)?l4(t,0,v,p,m):l4(t,p,v,t.d-1,m)):(g=CH((d+s.c)/t.a),LR(t.f,new qL(l,k8(p),k8(g))),a==(Vet(),F$t)?l4(t,p,0,g,v):l4(t,p,v,g,t.c-1))}}function Xmt(t,e,n){var r,i,a,o,s,u,c;if(c7(e,n)>=0)return n;switch(Zz(FZ(t,n))){case 2:if(hL("",r8(t,n.Cj()).ne())){if(u=Dht(t,e,s=U$(FZ(t,n)),G$(FZ(t,n))))return u;for(o=0,c=(i=_gt(t,e)).gc();o<c;++o)if(Oft(pB(FZ(t,u=RR(i.Xb(o),170))),s))return u}return null;case 4:if(hL("",r8(t,n.Cj()).ne())){for(r=n;r;r=aG(FZ(t,r)))if(u=Oht(t,e,U$(FZ(t,r)),G$(FZ(t,r))))return u;if(s=U$(FZ(t,n)),hL(hNt,s))return Vit(t,e);for(o=0,c=(a=Sgt(t,e)).gc();o<c;++o)if(Oft(pB(FZ(t,u=RR(a.Xb(o),170))),s))return u}return null;default:return null}}function qmt(){qmt=S,e3t=new vb(SMt),new vb(kMt),new JD("DEPTH",k8(0)),Y2t=new JD("FAN",k8(0)),X2t=new JD(PEt,k8(0)),s3t=new JD("ROOT",(_P(),!1)),Z2t=new JD("LEFTNEIGHBOR",null),a3t=new JD("RIGHTNEIGHBOR",null),Q2t=new JD("LEFTSIBLING",null),o3t=new JD("RIGHTSIBLING",null),q2t=new JD("DUMMY",!1),new JD("LEVEL",k8(0)),i3t=new JD("REMOVABLE_EDGES",new sS),u3t=new JD("XCOOR",k8(0)),c3t=new JD("YCOOR",k8(0)),J2t=new JD("LEVELHEIGHT",0),K2t=new JD("ID",""),n3t=new JD("POSITION",k8(0)),r3t=new JD("PRELIM",0),t3t=new JD("MODIFIER",0),U2t=new vb(IMt),G2t=new vb(MMt)}function Ymt(t,e,n,i){var a,o,s,u,c,l,h,f,d,p;for(h=n+e.c.c.a,p=new ed(e.j);p.a<p.c.c.length;){if(d=RR(xG(p),11),a=$4(X3(uw(t8t,1),u_t,8,0,[d.i.n,d.n,d.a])),e.k==(vst(),KHt)&&(u=RR(Bot(d,(dxt(),Oqt)),11),a.a=$4(X3(uw(t8t,1),u_t,8,0,[u.i.n,u.n,u.a])).a,e.n.a=a.a),s=new YM(0,a.b),d.j==(dwt(),Dte))s.a=h;else{if(d.j!=Qte)continue;s.a=n}if(!(r.Math.abs(a.a-s.a)<=i)||Iit(e))for(o=d.g.c.length+d.e.c.length>1,l=new hY(d.b);IA(l.a)||IA(l.b);)f=(c=RR(IA(l.a)?xG(l.a):xG(l.b),18)).c==d?c.d:c.c,r.Math.abs($4(X3(uw(t8t,1),u_t,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&vdt(t,c,s,o,d)}}function Kmt(){Kmt=S,zie=(Cx(),Bie).b,Hie=RR(sJ(kV(Bie.b),0),32),$ie=RR(sJ(kV(Bie.b),1),32),Vie=RR(sJ(kV(Bie.b),2),32),Jie=Bie.bb,RR(sJ(kV(Bie.bb),0),32),RR(sJ(kV(Bie.bb),1),32),eae=Bie.fb,nae=RR(sJ(kV(Bie.fb),0),32),RR(sJ(kV(Bie.fb),1),32),RR(sJ(kV(Bie.fb),2),17),iae=Bie.qb,sae=RR(sJ(kV(Bie.qb),0),32),RR(sJ(kV(Bie.qb),1),17),RR(sJ(kV(Bie.qb),2),17),aae=RR(sJ(kV(Bie.qb),3),32),oae=RR(sJ(kV(Bie.qb),4),32),cae=RR(sJ(kV(Bie.qb),6),32),uae=RR(sJ(kV(Bie.qb),5),17),Wie=Bie.j,Gie=Bie.k,Uie=Bie.q,Xie=Bie.w,qie=Bie.B,Yie=Bie.A,Kie=Bie.C,Zie=Bie.D,Qie=Bie._,tae=Bie.cb,rae=Bie.hb}function Zmt(t,e){var n;if(null==e||hL(e,Hxt))return null;if(0==e.length&&t.k!=(vut(),W6t))return null;switch(t.k.g){case 1:return Dtt(e,GPt)?(_P(),iFt):Dtt(e,UPt)?(_P(),rFt):null;case 2:try{return k8(Wgt(e,B_t,Lxt))}catch(t){if(zA(t=m3(t),127))return null;throw Jb(t)}case 4:try{return gst(e)}catch(t){if(zA(t=m3(t),127))return null;throw Jb(t)}case 3:return e;case 5:return u6(t),jct(t,e);case 6:return u6(t),function(t,e,n){var r,i,a,o,s,u,c;for(c=new GL(r=RR(e.e&&e.e(),9),RR(wO(r,r.length),9),0),o=0,s=(a=xgt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=Kot(i=a[o]).length){if(null==(u=jct(t,i)))return null;l0(c,RR(u,22))}return c}(t,t.a,e);case 7:try{return(n=jlt(t)).Gf(e),n}catch(t){if(zA(t=m3(t),31))return null;throw Jb(t)}default:throw Jb(new jy("Invalid type set for this layout option."))}}function Qmt(t,e){var n,r,i,a;a=t.F,null==e?(t.F=null,j5(t,null)):(t.F=(wz(e),e),-1!=(r=ST(e,mot(60)))?(i=e.substr(0,r),-1==ST(e,mot(46))&&!hL(i,Ext)&&!hL(i,hRt)&&!hL(i,fRt)&&!hL(i,dRt)&&!hL(i,pRt)&&!hL(i,gRt)&&!hL(i,bRt)&&!hL(i,vRt)&&(i=mRt),-1!=(n=iP(e,mot(62)))&&(i+=""+e.substr(n+1)),j5(t,i)):(i=e,-1==ST(e,mot(46))&&(-1!=(r=ST(e,mot(91)))&&(i=e.substr(0,r)),hL(i,Ext)||hL(i,hRt)||hL(i,fRt)||hL(i,dRt)||hL(i,pRt)||hL(i,gRt)||hL(i,bRt)||hL(i,vRt)?i=e:(i=mRt,-1!=r&&(i+=""+e.substr(r)))),j5(t,i),i==e&&(t.F=t.D))),0!=(4&t.Db)&&0==(1&t.Db)&&Y2(t,new NF(t,1,5,a,e))}function Jmt(t){var e;switch(t.d){case 1:if(t.cj())return-2!=t.o;break;case 2:if(t.cj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.bj(),t.p){case 0:return null!=e&&Ay($D(e))!=z_(t.k,0);case 1:return null!=e&&RR(e,215).a!=QN(t.k)<<24>>24;case 2:return null!=e&&RR(e,172).a!=(QN(t.k)&Y_t);case 6:return null!=e&&z_(RR(e,162).a,t.k);case 5:return null!=e&&RR(e,20).a!=QN(t.k);case 7:return null!=e&&RR(e,186).a!=QN(t.k)<<16>>16;case 3:return null!=e&&Dy(VD(e))!=t.j;case 4:return null!=e&&RR(e,155).a!=t.j;default:return null==e?null!=t.n:!u8(e,t.n)}}function tyt(t,e,n){var r,i,a,o;return t.Ak()&&t.zk()&&DC(o=qF(t,RR(n,55)))!==DC(n)?(t.Ji(e),t.Pi(e,VK(t,0,o)),t.mk()&&(i=RR(n,48),a=t.yk()?t.wk()?i.dh(t.b,wnt(RR($Q(ZV(t.b),t.Xi()),17)).n,RR($Q(ZV(t.b),t.Xi()).Tj(),26).wj(),null):i.dh(t.b,c7(i.Og(),wnt(RR($Q(ZV(t.b),t.Xi()),17))),null,null):i.dh(t.b,-1-t.Xi(),null,null),!RR(o,48).$g()&&(r=RR(o,48),a=t.yk()?t.wk()?r.ah(t.b,wnt(RR($Q(ZV(t.b),t.Xi()),17)).n,RR($Q(ZV(t.b),t.Xi()).Tj(),26).wj(),a):r.ah(t.b,c7(r.Og(),wnt(RR($Q(ZV(t.b),t.Xi()),17))),null,a):r.ah(t.b,-1-t.Xi(),null,a)),a&&a.Ai()),FT(t.b)&&t.Vi(t.Ui(9,n,o,e,!1)),o):n}function eyt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;for(h=Dy(VD(Bot(t,(Zwt(),SJt)))),i=Dy(VD(Bot(t,NJt))),S4(d=new qs,SJt,h+i),m=(l=e).d,b=l.c.i,y=l.d.i,v=DT(b.c),w=DT(y.c),a=new Vb,f=v;f<=w;f++)mf(u=new knt(t),(vst(),qHt)),S4(u,(dxt(),Oqt),l),S4(u,nJt,(Fat(),mte)),S4(u,IJt,d),p=RR(JN(t.b,f),29),f==v?Hrt(u,p.a.c.length-n,p):DW(u,p),(x=Dy(VD(Bot(l,uQt))))<0&&S4(l,uQt,x=0),u.o.b=x,g=r.Math.floor(x/2),vct(s=new Dst,(dwt(),Qte)),OW(s,u),s.n.b=g,vct(c=new Dst,Dte),OW(c,u),c.n.b=g,EW(l,s),l3(o=new NV,l),S4(o,yQt,null),PW(o,c),EW(o,m),Tit(u,l,o),a.c[a.c.length]=o,l=o;return a}function nyt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;for(s=RR(Fst(t,(dwt(),Qte)).Ic().Pb(),11).e,h=RR(Fst(t,Dte).Ic().Pb(),11).g,o=s.c.length,b=eG(RR(JN(t.j,0),11));o-- >0;){for(TW(0,s.c.length),d=RR(s.c[0],18),TW(0,h.c.length),i=mZ((r=RR(h.c[0],18)).d.e,r,0),pU(d,r.d,i),PW(r,null),EW(r,null),f=d.a,e&&vN(f,new uA(b)),n=het(r.a,0);n.b!=n.d.c;)vN(f,new uA(RR(zU(n),8)));for(g=d.b,l=new ed(r.b);l.a<l.c.c.length;)c=RR(xG(l),69),g.c[g.c.length]=c;if(p=RR(Bot(d,(Zwt(),yQt)),74),a=RR(Bot(r,yQt),74))for(p||(p=new vm,S4(d,yQt,p)),u=het(a,0);u.b!=u.d.c;)vN(p,new uA(RR(zU(u),8)))}}function ryt(t){var e;this.a=t,e=(vst(),X3(uw(JHt,1),P_t,266,0,[YHt,qHt,UHt,KHt,XHt,GHt])).length,this.b=FN(L6t,[u_t,oEt],[584,146],0,[e,e],2),this.c=FN(L6t,[u_t,oEt],[584,146],0,[e,e],2),cH(this,YHt,(Zwt(),AJt),EJt),_3(this,YHt,qHt,SJt,kJt),uH(this,YHt,KHt,SJt),uH(this,YHt,UHt,SJt),_3(this,YHt,XHt,AJt,EJt),cH(this,qHt,wJt,xJt),uH(this,qHt,KHt,wJt),uH(this,qHt,UHt,wJt),_3(this,qHt,XHt,SJt,kJt),hA(this,KHt,wJt),uH(this,KHt,UHt,wJt),uH(this,KHt,XHt,CJt),hA(this,UHt,OJt),uH(this,UHt,XHt,TJt),cH(this,XHt,wJt,wJt),cH(this,GHt,wJt,xJt),_3(this,GHt,YHt,SJt,kJt),_3(this,GHt,XHt,SJt,kJt),_3(this,GHt,qHt,SJt,kJt)}function iyt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p;if(n=RR(h$(t.b,e),121),(c=RR(RR(Kq(t.r,e),21),81)).dc())return n.n.b=0,void(n.n.c=0);for(l=t.t.Fc((aot(),Mte)),s=0,u=c.Ic(),h=null,f=0,d=0;u.Ob();)a=Dy(VD((i=RR(u.Pb(),110)).b.Xe((xP(),m$t)))),o=i.b.pf().a,t.w.Fc((ott(),lee))&&vpt(t,e),h?(p=d+h.d.c+t.v+i.d.b,s=r.Math.max(s,(mA(),IJ(cIt),r.Math.abs(f-a)<=cIt||f==a||isNaN(f)&&isNaN(a)?0:p/(a-f)))):t.B&&t.B.b>0&&(s=r.Math.max(s,J0(t.B.b+i.d.b,a))),h=i,f=a,d=o;t.B&&t.B.c>0&&(p=d+t.B.c,l&&(p+=h.d.c),s=r.Math.max(s,(mA(),IJ(cIt),r.Math.abs(f-1)<=cIt||1==f||isNaN(f)&&isNaN(1)?0:p/(1-f)))),n.n.b=0,n.a.a=s}function ayt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p;if(n=RR(h$(t.b,e),121),(c=RR(RR(Kq(t.r,e),21),81)).dc())return n.n.d=0,void(n.n.a=0);for(l=t.t.Fc((aot(),Mte)),s=0,t.w.Fc((ott(),lee))&&mpt(t,e),u=c.Ic(),h=null,d=0,f=0;u.Ob();)o=Dy(VD((i=RR(u.Pb(),110)).b.Xe((xP(),m$t)))),a=i.b.pf().b,h?(p=f+h.d.a+t.v+i.d.d,s=r.Math.max(s,(mA(),IJ(cIt),r.Math.abs(d-o)<=cIt||d==o||isNaN(d)&&isNaN(o)?0:p/(o-d)))):t.B&&t.B.d>0&&(s=r.Math.max(s,J0(t.B.d+i.d.d,o))),h=i,d=o,f=a;t.B&&t.B.a>0&&(p=f+t.B.a,l&&(p+=h.d.a),s=r.Math.max(s,(mA(),IJ(cIt),r.Math.abs(d-1)<=cIt||1==d||isNaN(d)&&isNaN(1)?0:p/(1-d)))),n.n.d=0,n.a.b=s}function oyt(t,e,n){var r,i,a,o,s,u;for(this.g=t,s=e.d.length,u=n.d.length,this.d=hK(ZHt,KMt,10,s+u,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<u;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=jR(e.e),this.e.Kc(n),n.e)for(i=n.e.Ic();i.Ob();)(r=RR(i.Pb(),232))!=e&&(this.e.Fc(r)?--r.c:this.e.Dc(r))}else n.e&&(this.e=jR(n.e),this.e.Kc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?dJ(this,this.f/this.a):null!=uE(e.g,e.d[0]).a&&null!=uE(n.g,n.d[0]).a?dJ(this,(Dy(uE(e.g,e.d[0]).a)+Dy(uE(n.g,n.d[0]).a))/2):null!=uE(e.g,e.d[0]).a?dJ(this,uE(e.g,e.d[0]).a):null!=uE(n.g,n.d[0]).a&&dJ(this,uE(n.g,n.d[0]).a)}function syt(t,e){var n,r,i,a,o,s,u,c,l;for(t.a=new pz(function(t){var e;return new GL(e=RR(t.e&&t.e(),9),RR(DB(e,e.length),9),e.length)}(y7t)),r=new ed(e.a);r.a<r.c.c.length;){for(n=RR(xG(r),820),o=new jtt(X3(uw(xHt,1),zxt,79,0,[])),LR(t.a.a,o),u=new ed(n.d);u.a<u.c.c.length;)kyt(c=new yP(t,s=RR(xG(u),109)),RR(Bot(n.c,(dxt(),hqt)),21)),KF(t.g,n)||(t$(t.g,n,new YM(s.c,s.d)),t$(t.f,n,c)),LR(t.a.b,c),QW(o,c);for(a=new ed(n.b);a.a<a.c.c.length;)c=new yP(t,(i=RR(xG(a),585)).lf()),t$(t.b,i,new KM(o,c)),kyt(c,RR(Bot(n.c,(dxt(),hqt)),21)),i.jf()&&(kyt(l=new Ntt(t,i.jf(),1),RR(Bot(n.c,hqt),21)),QW(new jtt(X3(uw(xHt,1),zxt,79,0,[])),l),Kct(t.c,i.hf(),new KM(o,l)))}return t.a}function uyt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v;if(f=new uA(t.o),v=e.a/f.a,s=e.b/f.b,g=e.a-f.a,a=e.b-f.b,n)for(i=DC(Bot(t,(Zwt(),nJt)))===DC((Fat(),mte)),p=new ed(t.j);p.a<p.c.c.length;)switch((d=RR(xG(p),11)).j.g){case 1:i||(d.n.a*=v);break;case 2:d.n.a+=g,i||(d.n.b*=s);break;case 3:i||(d.n.a*=v),d.n.b+=a;break;case 4:i||(d.n.b*=s)}for(c=new ed(t.b);c.a<c.c.c.length;)l=(u=RR(xG(c),69)).n.a+u.o.a/2,h=u.n.b+u.o.b/2,(b=l/f.a)+(o=h/f.b)>=1&&(b-o>0&&h>=0?(u.n.a+=g,u.n.b+=a*o):b-o<0&&l>=0&&(u.n.a+=g*b,u.n.b+=a));t.o.a=e.a,t.o.b=e.b,S4(t,(Zwt(),$Qt),(ott(),new GL(r=RR(Rx(xee),9),RR(wO(r,r.length),9),0)))}function cyt(t){var e,n,r,i,a,o,s,u,c,l;for(r=new Vb,o=new ed(t.e.a);o.a<o.c.c.length;){for(l=0,(i=RR(xG(o),119)).k.c=hK(gjt,zxt,1,0,5,1),n=new ed(E9(i));n.a<n.c.c.length;)(e=RR(xG(n),211)).f&&(LR(i.k,e),++l);1==l&&(r.c[r.c.length]=i)}for(a=new ed(r);a.a<a.c.c.length;)for(i=RR(xG(a),119);1==i.k.c.length;){for(c=RR(xG(new ed(i.k)),211),t.b[c.c]=c.g,s=c.d,u=c.e,n=new ed(E9(i));n.a<n.c.c.length;)u8(e=RR(xG(n),211),c)||(e.f?s==e.d||u==e.e?t.b[c.c]-=t.b[e.c]-e.g:t.b[c.c]+=t.b[e.c]-e.g:i==s?e.d==i?t.b[c.c]+=e.g:t.b[c.c]-=e.g:e.d==i?t.b[c.c]-=e.g:t.b[c.c]+=e.g);yZ(s.k,c),yZ(u.k,c),i=s==i?c.e:c.d}}function lyt(t,e){var n,r,i,a,o,s,u,c,l,h,f;if(null==e||0==e.length)return null;if(!(a=RR(IH(t.f,e),23))){for(i=new Uf(new Gf(t.d).a.tc().Ic());i.a.Ob();)if(o=RR(i.a.Pb(),43),s=(n=RR(o.bd(),23)).f,f=e.length,hL(s.substr(s.length-f,f),e)&&(e.length==s.length||46==d$(s,s.length-e.length-1))){if(a)return null;a=n}if(!a)for(r=new Uf(new Gf(t.d).a.tc().Ic());r.a.Ob();)if(o=RR(r.a.Pb(),43),null!=(h=(n=RR(o.bd(),23)).g))for(c=0,l=(u=h).length;c<l;++c)if(s=u[c],f=e.length,hL(s.substr(s.length-f,f),e)&&(e.length==s.length||46==d$(s,s.length-e.length-1))){if(a)return null;a=n}a&&mW(t.f,e,a)}return a}function hyt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v;if(qat(n,"Network simplex layering",1),t.b=e,v=4*RR(Bot(e,(Zwt(),LJt)),20).a,(b=t.b.a).c.length<1)Sst(n);else{for(o=function(t,e){var n,r,i,a,o;for(null==t.c||t.c.length<e.c.length?t.c=hK(roe,Zkt,24,e.c.length,16,1):Vy(t.c),t.a=new Vb,r=0,o=new ed(e);o.a<o.c.c.length;)(i=RR(xG(o),10)).p=r++;for(n=new sS,a=new ed(e);a.a<a.c.c.length;)i=RR(xG(a),10),t.c[i.p]||(Ect(t,i),0==n.b||(MP(0!=n.b),RR(n.a.a.c,14)).gc()<t.a.c.length?KC(n,t.a):ZC(n,t.a),t.a=new Vb);return n}(t,b),g=null,a=het(o,0);a.b!=a.d.c;){for(i=RR(zU(a),14),u=v*CH(r.Math.sqrt(i.gc())),Ngt(kw(Mw(Iw(HL(s=qgt(i)),u),g),!0),o2(n,1)),f=t.b.b,p=new ed(s.a);p.a<p.c.c.length;){for(d=RR(xG(p),119);f.c.length<=d.e;)Tj(f,f.c.length,new bz(t.b));DW(RR(d.f,10),RR(JN(f,d.e),29))}if(o.b>1)for(g=hK(noe,uSt,24,t.b.b.c.length,15,1),h=0,l=new ed(t.b.b);l.a<l.c.c.length;)c=RR(xG(l),29),g[h++]=c.a.c.length}b.c=hK(gjt,zxt,1,0,5,1),t.a=null,t.b=null,t.c=null,Sst(n)}}function fyt(t){var e,n,i,a,o,s,u;for(e=0,o=new ed(t.b.a);o.a<o.c.c.length;)(i=RR(xG(o),189)).b=0,i.c=0;for(Tst(t,0),e7(t,t.g),jft(t.c),Uy(t.c),E8(),n=h7t,Cgt(Hk(Uyt(Cgt(Hk(Uyt(Cgt(Uyt(t.c,n)),F8(n)))),n))),Uyt(t.c,h7t),Z8(t,t.g),$ot(t,0),imt(t,0),jht(t,1),Tst(t,1),e7(t,t.d),jft(t.c),s=new ed(t.b.a);s.a<s.c.c.length;)i=RR(xG(s),189),e+=r.Math.abs(i.c);for(u=new ed(t.b.a);u.a<u.c.c.length;)(i=RR(xG(u),189)).b=0,i.c=0;for(n=p7t,Cgt(Hk(Uyt(Cgt(Hk(Uyt(Cgt(Uy(Uyt(t.c,n))),F8(n)))),n))),Uyt(t.c,h7t),Z8(t,t.d),$ot(t,1),imt(t,1),jht(t,0),Uy(t.c),a=new ed(t.b.a);a.a<a.c.c.length;)i=RR(xG(a),189),e+=r.Math.abs(i.c);return e}function dyt(t,e){var n,r,i,a,o,s,u,c,l;if(null!=(c=e).b&&null!=t.b){for(Rht(t),_mt(t),Rht(c),_mt(c),n=hK(noe,uSt,24,t.b.length+c.b.length,15,1),l=0,r=0,o=0;r<t.b.length&&o<c.b.length;)if(i=t.b[r],a=t.b[r+1],s=c.b[o],u=c.b[o+1],a<s)r+=2;else if(a>=s&&i<=u)s<=i&&a<=u?(n[l++]=i,n[l++]=a,r+=2):s<=i?(n[l++]=i,n[l++]=u,t.b[r]=u+1,o+=2):a<=u?(n[l++]=s,n[l++]=a,r+=2):(n[l++]=s,n[l++]=u,t.b[r]=u+1);else{if(!(u<i))throw Jb(new sy("Token#intersectRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] & ["+c.b[o]+","+c.b[o+1]+"]"));o+=2}for(;r<t.b.length;)n[l++]=t.b[r++],n[l++]=t.b[r++];t.b=hK(noe,uSt,24,l,15,1),Yvt(n,0,t.b,0,l)}}function pyt(t){var e,n,i,a,o,s,u;for(e=new Vb,t.g=new Vb,t.d=new Vb,s=new b5(new jf(t.f.b).a);s.b;)LR(e,RR(RR((o=kJ(s)).bd(),46).b,79)),RT(RR(o.ad(),585).hf())?LR(t.d,RR(o.bd(),46)):LR(t.g,RR(o.bd(),46));for(e7(t,t.d),e7(t,t.g),t.c=new slt(t.b),function(t,e){t.f=e}(t.c,(IS(),mHt)),Z8(t,t.d),Z8(t,t.g),R3(e,t.c.a.b),t.e=new YM(RSt,RSt),t.a=new YM(NSt,NSt),i=new ed(e);i.a<i.c.c.length;)n=RR(xG(i),79),t.e.a=r.Math.min(t.e.a,n.g.c),t.e.b=r.Math.min(t.e.b,n.g.d),t.a.a=r.Math.max(t.a.a,n.g.c+n.g.b),t.a.b=r.Math.max(t.a.b,n.g.d+n.g.a);Aw(t.c,new fe),u=0;do{a=fyt(t),++u}while((u<2||a>F_t)&&u<10);Aw(t.c,new ye),fyt(t),function(t){Uyt(t,(E8(),h7t)),t.d=!0}(t.c),function(t){var e,n,i,a,o,s,u,c;for(o=new ed(t.a.b);o.a<o.c.c.length;)(a=RR(xG(o),79)).b.c=a.g.c,a.b.d=a.g.d;for(c=new YM(RSt,RSt),e=new YM(NSt,NSt),i=new ed(t.a.b);i.a<i.c.c.length;)n=RR(xG(i),79),c.a=r.Math.min(c.a,n.g.c),c.b=r.Math.min(c.b,n.g.d),e.a=r.Math.max(e.a,n.g.c+n.g.b),e.b=r.Math.max(e.b,n.g.d+n.g.a);for(u=UB(t.c).a.lc();u.Ob();)s=RR(u.Pb(),46),n=RR(s.b,79),c.a=r.Math.min(c.a,n.g.c),c.b=r.Math.min(c.b,n.g.d),e.a=r.Math.max(e.a,n.g.c+n.g.b),e.b=r.Math.max(e.b,n.g.d+n.g.a);t.d=aD(new YM(c.a,c.b)),t.e=$O(new YM(e.a,e.b),c),t.a.a.c=hK(gjt,zxt,1,0,5,1),t.a.b.c=hK(gjt,zxt,1,0,5,1)}(t.f)}function gyt(t,e,n){var r,i,a,o,s,u,c,l,h,f;if(Ay($D(Bot(n,(Zwt(),gQt)))))for(i=new ed(n.j);i.a<i.c.c.length;)for(s=0,u=(o=gU(RR(xG(i),11).g)).length;s<u;++s)(a=o[s]).d.i==n&&Ay($D(Bot(a,bQt)))&&(l=a.c,(c=RR(oz(t.b,l),10))||(S4(c=jwt(l,(Fat(),xte),l.j,-1,null,null,l.o,RR(Bot(e,qZt),108),e),(dxt(),Oqt),l),t$(t.b,l,c),LR(e.a,c)),f=a.d,(h=RR(oz(t.b,f),10))||(S4(h=jwt(f,(Fat(),xte),f.j,1,null,null,f.o,RR(Bot(e,qZt),108),e),(dxt(),Oqt),f),t$(t.b,f,h),LR(e.a,h)),PW(r=Vq(a),RR(JN(c.j,0),11)),EW(r,RR(JN(h.j,0),11)),Kct(t.a,a,new ZL(r,e,(M1(),N1t))),RR(Bot(e,(dxt(),vqt)),21).Dc((Zdt(),EXt)))}function byt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p;for(qat(n,"Label dummy switching",1),r=RR(Bot(e,(Zwt(),ZZt)),225),function(t){var e,n;for(n=0,e=new ed(t.b);e.a<e.c.c.length;)RR(xG(e),29).p=n,++n}(e),i=function(t,e){var n,r,i,a;for(n=new x9(TUt),_ut(),i=0,a=(r=X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])).length;i<a;++i)gO(n,r[i],new Vb);return uS(S$(_$(oQ(new lj(null,new ZW(t.b,16)),new Yn),new Kn),new xp(e)),new _p(n)),n}(e,r),t.a=hK(ooe,$St,24,e.b.c.length,15,1),_ut(),l=0,d=(s=X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])).length;l<d;++l)if(((a=s[l])==kUt||a==yUt||a==_Ut)&&!RR(oP(i.a,a)?i.b[a.g]:null,14).dc()){D2(t,e);break}for(h=0,p=(u=X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])).length;h<p;++h)(a=u[h])==kUt||a==yUt||a==_Ut||Lgt(t,RR(oP(i.a,a)?i.b[a.g]:null,14));for(c=0,f=(o=X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])).length;c<f;++c)((a=o[c])==kUt||a==yUt||a==_Ut)&&Lgt(t,RR(oP(i.a,a)?i.b[a.g]:null,14));t.a=null,Sst(n)}function vyt(t,e){var n,r,i,a,o,s,u,c,l,h,f;switch(t.k.g){case 1:if(r=RR(Bot(t,(dxt(),Oqt)),18),(n=RR(Bot(r,Lqt),74))?Ay($D(Bot(r,Uqt)))&&(n=i5(n)):n=new vm,c=RR(Bot(t,Tqt),11)){if(e<=(l=$4(X3(uw(t8t,1),u_t,8,0,[c.i.n,c.n,c.a]))).a)return l.b;jX(n,l,n.a,n.a.a)}if(h=RR(Bot(t,Aqt),11)){if((f=$4(X3(uw(t8t,1),u_t,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;jX(n,f,n.c.b,n.c)}if(n.b>=2){for(o=RR(zU(u=het(n,0)),8),s=RR(zU(u),8);s.a<e&&u.b!=u.d.c;)o=s,s=RR(zU(u),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(i=(a=RR(Bot(RR(JN(t.j,0),11),(dxt(),Oqt)),11)).i,a.j.g){case 1:return i.n.b;case 3:return i.n.b+i.o.b}}return Zit(t).b}function myt(t,e,n){var i,a,o,s,u,c,l,h;switch(qat(n,"Node promotion heuristic",1),t.g=e,function(t){var e,n,i,a,o,s,u,c,l,h,f,d,g,b,v;for(t.n=Dy(VD(Bot(t.g,(Zwt(),AJt)))),t.e=Dy(VD(Bot(t.g,kJt))),t.i=t.g.b.c.length,u=t.i-1,d=0,t.j=0,t.k=0,t.a=Jq(hK(bFt,u_t,20,t.i,0,1)),t.b=Jq(hK(fFt,u_t,331,t.i,7,1)),s=new ed(t.g.b);s.a<s.c.c.length;){for((a=RR(xG(s),29)).p=u,f=new ed(a.a);f.a<f.c.c.length;)(h=RR(xG(f),10)).p=d,++d;--u}for(t.f=hK(noe,uSt,24,d,15,1),t.c=FN(noe,[u_t,uSt],[47,24],15,[d,3],2),t.o=new Vb,t.p=new Vb,e=0,t.d=0,o=new ed(t.g.b);o.a<o.c.c.length;){for(u=(a=RR(xG(o),29)).p,i=0,v=0,c=a.a.c.length,l=0,f=new ed(a.a);f.a<f.c.c.length;)d=(h=RR(xG(f),10)).p,t.f[d]=h.c.p,l+=h.o.b+t.n,n=OU(new xF(zE(p9(h).a.Ic(),new p))),b=OU(new xF(zE(g9(h).a.Ic(),new p))),t.c[d][0]=b-n,t.c[d][1]=n,t.c[d][2]=b,i+=n,v+=b,n>0&&LR(t.p,h),LR(t.o,h);g=c+(e-=i),l+=e*t.e,bq(t.a,u,k8(g)),bq(t.b,u,l),t.j=r.Math.max(t.j,g),t.k=r.Math.max(t.k,l),t.d+=e,e+=v}}(t),t.q=RR(Bot(e,(Zwt(),CQt)),259),h=RR(Bot(t.g,MQt),20).a,o=new or,t.q.g){case 2:case 1:default:ymt(t,o);break;case 3:for(t.q=(Lft(),S1t),ymt(t,o),c=0,u=new ed(t.a);u.a<u.c.c.length;)s=RR(xG(u),20),c=r.Math.max(c,s.a);c>t.j&&(t.q=v1t,ymt(t,o));break;case 4:for(t.q=(Lft(),S1t),ymt(t,o),l=0,a=new ed(t.b);a.a<a.c.c.length;)i=VD(xG(a)),l=r.Math.max(l,(wz(i),i));l>t.k&&(t.q=w1t,ymt(t,o));break;case 6:ymt(t,new mp(CH(r.Math.ceil(t.f.length*h/100))));break;case 5:ymt(t,new yp(CH(r.Math.ceil(t.d*h/100))))}!function(t,e){var n,r,i,a,o,s;for(i=new Vb,n=0;n<=t.i;n++)(r=new bz(e)).p=t.i-n,i.c[i.c.length]=r;for(s=new ed(t.o);s.a<s.c.c.length;)DW(o=RR(xG(s),10),RR(JN(i,t.i-t.f[o.p]),29));for(a=new ed(i);a.a<a.c.c.length;)0==RR(xG(a),29).a.c.length&&tB(a);e.b.c=hK(gjt,zxt,1,0,5,1),R3(e.b,i)}(t,e),Sst(n)}function yyt(t,e){var n,r,i,a,o,s,u,c,l;for(s=!0,i=0,u=t.f[e.p],c=e.o.b+t.n,n=t.c[e.p][2],bq(t.a,u,k8(RR(JN(t.a,u),20).a-1+n)),bq(t.b,u,Dy(VD(JN(t.b,u)))-c+n*t.e),++u>=t.i?(++t.i,LR(t.a,k8(1)),LR(t.b,c)):(r=t.c[e.p][1],bq(t.a,u,k8(RR(JN(t.a,u),20).a+1-r)),bq(t.b,u,Dy(VD(JN(t.b,u)))+c-r*t.e)),(t.q==(Lft(),v1t)&&(RR(JN(t.a,u),20).a>t.j||RR(JN(t.a,u-1),20).a>t.j)||t.q==w1t&&(Dy(VD(JN(t.b,u)))>t.k||Dy(VD(JN(t.b,u-1)))>t.k))&&(s=!1),a=new xF(zE(p9(e).a.Ic(),new p));Qlt(a);)o=RR(dq(a),18).c.i,t.f[o.p]==u&&(i+=RR((l=yyt(t,o)).a,20).a,s=s&&Ay($D(l.b)));return t.f[e.p]=u,new KM(k8(i+=t.c[e.p][0]),(_P(),!!s))}function wyt(t,e,n,i,a){var o,s,u,c,l,h,f,d,p,g,b,v,m;for(f=new Hb,s=new Vb,Tct(t,n,t.d.ag(),s,f),Tct(t,i,t.d.bg(),s,f),t.b=.2*(b=bht(oQ(new lj(null,new ZW(s,16)),new So)),v=bht(oQ(new lj(null,new ZW(s,16)),new ko)),r.Math.min(b,v)),o=0,u=0;u<s.c.length-1;u++)for(TW(u,s.c.length),c=RR(s.c[u],111),g=u+1;g<s.c.length;g++)o+=nmt(t,c,(TW(g,s.c.length),RR(s.c[g],111)));for(d=RR(Bot(e,(dxt(),Wqt)),228),o>=2&&(m=Aft(s,!0,d),!t.e&&(t.e=new xg(t)),Ttt(t.e,m,s,t.b)),Wat(s,d),function(t){var e,n,i,a,o,s,u,c,l;for(c=new Vb,s=new Vb,o=new ed(t);o.a<o.c.c.length;)yf(i=RR(xG(o),111),i.f.c.length),Ef(i,i.k.c.length),0==i.d&&(c.c[c.c.length]=i),0==i.i&&0==i.e.b&&(s.c[s.c.length]=i);n=-1;for(;0!=c.c.length;)for(e=new ed((i=RR(tY(c,0),111)).k);e.a<e.c.c.length;)Df(l=RR(xG(e),129).b,r.Math.max(l.o,i.o+1)),n=r.Math.max(n,l.o),yf(l,l.d-1),0==l.d&&(c.c[c.c.length]=l);if(n>-1){for(a=new ed(s);a.a<a.c.c.length;)(i=RR(xG(a),111)).o=n;for(;0!=s.c.length;)for(e=new ed((i=RR(tY(s,0),111)).f);e.a<e.c.c.length;)(u=RR(xG(e),129).a).e.b>0||(Df(u,r.Math.min(u.o,i.o-1)),Ef(u,u.i-1),0==u.i&&(s.c[s.c.length]=u))}}(s),p=-1,h=new ed(s);h.a<h.c.c.length;)l=RR(xG(h),111),r.Math.abs(l.s-l.c)<lMt||(p=r.Math.max(p,l.o),t.d.$f(l,a,t.c));return t.d.a.a.$b(),p+1}function xyt(t,e){var n,r;Dy(VD(Bot(e,(Zwt(),wJt))))<2&&S4(e,wJt,2),RR(Bot(e,qZt),108)==(E8(),d7t)&&S4(e,qZt,o9(e)),0==(n=RR(Bot(e,pJt),20)).a?S4(e,(dxt(),Wqt),new y9):S4(e,(dxt(),Wqt),new jU(n.a)),null==$D(Bot(e,NQt))&&S4(e,NQt,(_P(),DC(Bot(e,eQt))===DC((V9(),x7t)))),uS(new lj(null,new ZW(e.a,16)),new Xd(t)),uS(oQ(new lj(null,new ZW(e.b,16)),new de),new qd(t)),r=new ryt(e),S4(e,(dxt(),qqt),r),dU(t.a),dB(t.a,(zot(),fHt),RR(Bot(e,UZt),245)),dB(t.a,dHt,RR(Bot(e,TQt),245)),dB(t.a,pHt,RR(Bot(e,GZt),245)),dB(t.a,gHt,RR(Bot(e,zQt),245)),dB(t.a,bHt,function(t){var e;return bA(),fk(e2t,t)||((e=new ro).a=t,gO(e2t,t,e)),RR(h$(e2t,t),625)}(RR(Bot(e,eQt),216))),PT(t.a,function(t){var e,n,r;switch(n=RR(Bot(t,(dxt(),vqt)),21),e=OT(cHt),RR(Bot(t,(Zwt(),lQt)),332)==(P8(),H7t)&&P2(e,lHt),Ay($D(Bot(t,cQt)))?jN(e,(zot(),fHt),(gxt(),lGt)):jN(e,(zot(),pHt),(gxt(),lGt)),null!=Bot(t,(AY(),Z6t))&&P2(e,hHt),Ay($D(Bot(t,vQt)))&&Qj(e,(zot(),bHt),(gxt(),kWt)),RR(Bot(t,qZt),108).g){case 2:case 3:case 4:Qj(jN(e,(zot(),fHt),(gxt(),MWt)),bHt,IWt)}n.Fc((Zdt(),TXt))&&Qj(jN(jN(e,(zot(),fHt),(gxt(),SWt)),gHt,xWt),bHt,_Wt),DC(Bot(t,CQt))!==DC((Lft(),_1t))&&jN(e,(zot(),pHt),(gxt(),nGt)),n.Fc(RXt)&&(jN(e,(zot(),fHt),(gxt(),uGt)),jN(e,dHt,oGt),jN(e,pHt,sGt));DC(Bot(t,RZt))!==DC((ust(),SXt))&&DC(Bot(t,eQt))!==DC((V9(),_7t))&&Qj(e,(zot(),bHt),(gxt(),BWt)),Ay($D(Bot(t,fQt)))&&jN(e,(zot(),pHt),(gxt(),FWt)),Ay($D(Bot(t,WZt)))&&jN(e,(zot(),pHt),(gxt(),bGt)),function(t){var e,n,r,i;return DC(Bot(t,(Zwt(),lQt)))===DC((P8(),H7t))?!t.e&&DC(Bot(t,BZt))!==DC(($2(),BXt)):(r=RR(Bot(t,zZt),292),i=Ay($D(Bot(t,WZt)))||DC(Bot(t,GZt))===DC((VX(),EUt)),e=RR(Bot(t,FZt),20).a,n=t.a.c.length,!i&&r!=($2(),BXt)&&(0==e||e>n))}(t)&&(r=(DC(Bot(t,lQt))===DC(H7t)?RR(Bot(t,BZt),292):RR(Bot(t,zZt),292))==($2(),zXt)?(gxt(),aGt):(gxt(),yGt),jN(e,(zot(),gHt),r));switch(RR(Bot(t,WJt),375).g){case 1:jN(e,(zot(),gHt),(gxt(),vGt));break;case 2:Qj(jN(jN(e,(zot(),pHt),(gxt(),vWt)),gHt,mWt),bHt,yWt)}return DC(Bot(t,NZt))!==DC((G4(),C1t))&&jN(e,(zot(),pHt),(gxt(),mGt)),e}(e)),S4(e,Hqt,Vmt(t.a,e))}function _yt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(l=RSt,h=RSt,u=NSt,c=NSt,d=new ed(e.i);d.a<d.c.c.length;)f=RR(xG(d),63),VT(a=RR(RR(oz(t.g,f.a),46).b,34),f.b.c,f.b.d),l=r.Math.min(l,a.i),h=r.Math.min(h,a.j),u=r.Math.max(u,a.i+a.g),c=r.Math.max(c,a.j+a.f);for(p=RR(_ht(t.c,(Wot(),z5t)),115),wwt(t.c,u-l+(p.b+p.c),c-h+(p.d+p.a),!0,!0),Aot(t.c,-l+p.b,-h+p.d),i=new SE(X$(t.c));i.e!=i.i.gc();)s=Udt(n=RR(Htt(i),80),!0,!0),g=Dot(n),v=Rot(n),b=new YM(g.i+g.g/2,g.j+g.f/2),o=new YM(v.i+v.g/2,v.j+v.f/2),Ait(m=$O(new YM(o.a,o.b),b),g.g,g.f),zO(b,m),Ait(y=$O(new YM(b.a,b.b),o),v.g,v.f),zO(o,y),WT(s,b.a,b.b),HT(s,o.a,o.b)}function Syt(t,e,n){var r,i,a,o,s,u,c,l,h;if(t.a!=e.vj())throw Jb(new Ny(eOt+e.ne()+nOt));if(r=r8((yut(),Sie),e).Vk())return r.vj().Ih().Dh(r,n);if(o=r8(Sie,e).Xk()){if(null==n)return null;if((s=RR(n,14)).dc())return"";for(h=new fw,a=s.Ic();a.Ob();)i=a.Pb(),HC(h,o.vj().Ih().Dh(o,i)),h.a+=" ";return vT(h,h.a.length-1)}if(!(l=r8(Sie,e).Yk()).dc()){for(c=l.Ic();c.Ob();)if((u=RR(c.Pb(),148)).rj(n))try{if(null!=(h=u.vj().Ih().Dh(u,n)))return h}catch(t){if(!zA(t=m3(t),102))throw Jb(t)}throw Jb(new Ny("Invalid value: '"+n+"' for datatype :"+e.ne()))}return RR(e,813).Aj(),null==n?null:zA(n,172)?""+RR(n,172).a:g5(n)==Xjt?jA(dne[0],RR(n,198)):P9(n)}function kyt(t,e){e.dc()&&$R(t.j,!0,!0,!0,!0),u8(e,(dwt(),Bte))&&$R(t.j,!0,!0,!0,!1),u8(e,Lte)&&$R(t.j,!1,!0,!0,!0),u8(e,Xte)&&$R(t.j,!0,!0,!1,!0),u8(e,Yte)&&$R(t.j,!0,!1,!0,!0),u8(e,zte)&&$R(t.j,!1,!0,!0,!1),u8(e,Rte)&&$R(t.j,!1,!0,!1,!0),u8(e,qte)&&$R(t.j,!0,!1,!1,!0),u8(e,Ute)&&$R(t.j,!0,!1,!0,!1),u8(e,Wte)&&$R(t.j,!0,!0,!0,!0),u8(e,jte)&&$R(t.j,!0,!0,!0,!0),u8(e,Wte)&&$R(t.j,!0,!0,!0,!0),u8(e,Nte)&&$R(t.j,!0,!0,!0,!0),u8(e,Gte)&&$R(t.j,!0,!0,!0,!0),u8(e,Hte)&&$R(t.j,!0,!0,!0,!0),u8(e,Vte)&&$R(t.j,!0,!0,!0,!0)}function Iyt(t,e,n,i,a){var o,s,u,c;return c=RSt,s=!1,o=!!(u=$vt(t,$O(new YM(e.a,e.b),t),zO(new YM(n.a,n.b),a),$O(new YM(i.a,i.b),n)))&&!(r.Math.abs(u.a-t.a)<=qPt&&r.Math.abs(u.b-t.b)<=qPt||r.Math.abs(u.a-e.a)<=qPt&&r.Math.abs(u.b-e.b)<=qPt),(u=$vt(t,$O(new YM(e.a,e.b),t),n,a))&&((r.Math.abs(u.a-t.a)<=qPt&&r.Math.abs(u.b-t.b)<=qPt)==(r.Math.abs(u.a-e.a)<=qPt&&r.Math.abs(u.b-e.b)<=qPt)||o?c=r.Math.min(c,Mz($O(u,n))):s=!0),(u=$vt(t,$O(new YM(e.a,e.b),t),i,a))&&(s||(r.Math.abs(u.a-t.a)<=qPt&&r.Math.abs(u.b-t.b)<=qPt)==(r.Math.abs(u.a-e.a)<=qPt&&r.Math.abs(u.b-e.b)<=qPt)||o)&&(c=r.Math.min(c,Mz($O(u,i)))),c}function Myt(t,e,n,i,a,o){var s,u,c,l,h,f,d,p,g,b,v,m;if(b=function(t,e,n){var r,i,a,o,s,u,c;for(c=new Vb,i=0,oG(u=new gz(0),new v5(0,0,u,n)),s=new SE(t);s.e!=s.i.gc();){if(o=RR(Htt(s),34),u.d+o.g>e){if(mvt(u,RR(JN(u.a,u.a.c.length-1),181),o,e,n))continue;i+=u.b,c.c[c.c.length]=u,oG(u=new gz(i),new v5(0,u.e,u,n))}0==(r=RR(JN(u.a,u.a.c.length-1),181)).b.c.length||o.f+n>=r.o&&o.f+n<=r.f||.5*r.a<=o.f+n&&1.5*r.a>=o.f+n?A9(r,o):(oG(u,a=new v5(r.s+r.r,u.e,u,n)),A9(a,o))}return c.c[c.c.length]=u,c}(e,n,t.g),a.n&&a.n&&o&&SG(a,lU(o),(F5(),Dee)),t.b)for(g=0;g<b.c.length;g++)TW(g,b.c.length),l=RR(b.c[g],180),0!=g&&(TW(g-1,b.c.length),o6(l,(f=RR(b.c[g-1],180)).e+f.b)),qwt(g,b,n,t.g),Qtt(l);else for(p=new ed(b);p.a<p.c.c.length;)for(c=new ed((d=RR(xG(p),180)).a);c.a<c.c.c.length;)wX(v=new Hj((u=RR(xG(c),181)).s,u.t),u),LR(d.c,v);return function(t,e){var n,i,a,o;for(n=0,i=0,o=new ed(e);o.a<o.c.c.length;)a=RR(xG(o),180),n=r.Math.max(n,a.d),i+=a.b;t.c=i-t.g,t.d=n-t.g}(t,b),a.n&&a.n&&o&&SG(a,lU(o),(F5(),Dee)),m=r.Math.max(t.d,i.a),s=(h=r.Math.max(t.c,i.b))-t.c,t.e&&t.f&&(m/h<t.a?m=h*t.a:s+=m/t.a-h),t.e&&function(t,e,n){var r,i,a,o;for(r=n/t.c.length,i=0,o=new ed(t);o.a<o.c.c.length;)o6(a=RR(xG(o),180),a.e+r*i),Oit(a,e,r),++i}(b,m+t.g,s),a.n&&a.n&&o&&SG(a,lU(o),(F5(),Dee)),new DN(t.a,m,t.c+s,(Eft(),f5t))}function Cyt(t,e){var n,r,i,a,o,s,u,c,l;if(5!=e.e){if(null!=(c=e).b&&null!=t.b){for(Rht(t),_mt(t),Rht(c),_mt(c),n=hK(noe,uSt,24,t.b.length+c.b.length,15,1),l=0,r=0,o=0;r<t.b.length&&o<c.b.length;)if(i=t.b[r],a=t.b[r+1],s=c.b[o],u=c.b[o+1],a<s)n[l++]=t.b[r++],n[l++]=t.b[r++];else if(a>=s&&i<=u)s<=i&&a<=u?r+=2:s<=i?(t.b[r]=u+1,o+=2):a<=u?(n[l++]=i,n[l++]=s-1,r+=2):(n[l++]=i,n[l++]=s-1,t.b[r]=u+1,o+=2);else{if(!(u<i))throw Jb(new sy("Token#subtractRanges(): Internal Error: ["+t.b[r]+","+t.b[r+1]+"] - ["+c.b[o]+","+c.b[o+1]+"]"));o+=2}for(;r<t.b.length;)n[l++]=t.b[r++],n[l++]=t.b[r++];t.b=hK(noe,uSt,24,l,15,1),Yvt(n,0,t.b,0,l)}}else dyt(t,e)}function Tyt(t){WS(t,new iot(Ww(Yw(Hw(qw(Uw(new fs,JEt),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Bo),JEt))),rU(t,JEt,eEt,bet(g4t)),rU(t,JEt,bMt,bet(m4t)),rU(t,JEt,YEt,bet(h4t)),rU(t,JEt,qEt,bet(f4t)),rU(t,JEt,QEt,bet(d4t)),rU(t,JEt,UEt,bet(p4t)),rU(t,JEt,XEt,bet(b4t)),rU(t,JEt,KEt,bet(v4t)),rU(t,JEt,ZEt,bet(y4t))}function Ayt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;if(!t.b)return!1;for(o=null,f=null,i=1,(u=new vK(null,null)).a[1]=t.b,h=u;h.a[i];)c=i,s=f,f=h,h=h.a[i],i=(r=t.a.ue(e,h.d))<0?0:1,0==r&&(!n.c||l$(h.e,n.d))&&(o=h),h&&h.b||Wy(h.a[i])||(Wy(h.a[1-i])?f=f.a[c]=d0(h,i):Wy(h.a[1-i])||(d=f.a[1-c])&&(Wy(d.a[1-c])||Wy(d.a[c])?(a=s.a[1]==f?1:0,Wy(d.a[c])?s.a[a]=UG(f,c):Wy(d.a[1-c])&&(s.a[a]=d0(f,c)),h.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1):(f.b=!1,d.b=!0,h.b=!0)));return o&&(n.b=!0,n.d=o.e,h!=o&&(function(t,e,n,r){var i,a;for(i=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[i]!=n;)a=a.a[i],i=t.a.ue(n.d,a.d)>0?1:0;a.a[i]=r,r.b=n.b,r.a[0]=n.a[0],r.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}(t,u,o,l=new vK(h.d,h.e)),f==o&&(f=l)),f.a[f.a[1]==h?1:0]=h.a[h.a[0]?0:1],--t.c),t.b=u.a[1],t.b&&(t.b.b=!1),n.b}function Eyt(t){var e,n,r,i,a,o,s,u;for(e=null,r=new ed(t);r.a<r.c.c.length;)Dy(uE((n=RR(xG(r),232)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new Vb),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=RR(tY(e,0),232)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Vb),a=new ed(n.b);a.a<a.c.c.length;)if(Oy(uE((i=RR(xG(a),232)).g,i.d[0]).a)==Oy(uE(n.g,n.d[0]).a)){if(mZ(t,i,0)>mZ(t,n,0))return new KM(i,n)}else if(Dy(uE(i.g,i.d[0]).a)>Dy(uE(n.g,n.d[0]).a))return new KM(i,n);for(s=(!n.e&&(n.e=new Vb),n.e).Ic();s.Ob();)!(o=RR(s.Pb(),232)).b&&(o.b=new Vb),WH(0,(u=o.b).c.length),nM(u.c,0,n),o.c==u.c.length&&(e.c[e.c.length]=o)}return null}function Pyt(t,e){var n,r,i,a,o,s;if(null==t)return Hxt;if(null!=e.a.xc(t,e))return"[...]";for(n=new c3(Fxt,"[","]"),a=0,o=(i=t).length;a<o;++a)null!=(r=i[a])&&0!=(4&g5(r).i)?!Array.isArray(r)||(s=wQ(r))>=14&&s<=16?zA(r,177)?oY(n,fct(RR(r,177))):zA(r,190)?oY(n,Bat(RR(r,190))):zA(r,194)?oY(n,Mst(RR(r,194))):zA(r,1981)?oY(n,zat(RR(r,1981))):zA(r,47)?oY(n,hct(RR(r,47))):zA(r,361)?oY(n,Lct(RR(r,361))):zA(r,811)?oY(n,lct(RR(r,811))):zA(r,103)&&oY(n,cct(RR(r,103))):e.a._b(r)?(n.a?UC(n.a,n.b):n.a=new YE(n.d),WC(n.a,"[...]")):oY(n,Pyt(xJ(r),new YN(e))):oY(n,null==r?Hxt:P9(r));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function Dyt(t,e,n,i){var a,o,s;return function(t,e){var n,r,i,a;for(n=!e||!t.t.Fc((aot(),Mte)),a=0,i=new ed(t.e.Af());i.a<i.c.c.length;){if((r=RR(xG(i),817)).Ef()==(dwt(),Zte))throw Jb(new Ny("Label and node size calculator can only be used with ports that have port sides assigned."));r.tf(a++),O6(t,r,n)}}(o=new twt(e),i),M$(o,!1,!t||RT(RR(t.Xe((fxt(),z8t)),108))),DH(o,o.f,(nJ(),Azt),(dwt(),Ote)),DH(o,o.f,Pzt,Kte),DH(o,o.g,Azt,Qte),DH(o,o.g,Pzt,Dte),_9(o,Ote),_9(o,Kte),p$(o,Dte),p$(o,Qte),xO(),(a=o.w.Fc((ott(),see))&&o.A.Fc((Vgt(),bee))?k7(o):null)&&function(t,e){t.b=new uA(e)}(o.a,a),function(t){var e,n,i,a,o,s,u;for(xO(),i=t.f.n,s=XB(t.r).a.lc();s.Ob();){if(a=0,(o=RR(s.Pb(),110)).b.Ye((fxt(),D9t))&&(a=Dy(VD(o.b.Xe(D9t))))<0)switch(o.b.Ef().g){case 1:i.d=r.Math.max(i.d,-a);break;case 3:i.a=r.Math.max(i.a,-a);break;case 2:i.c=r.Math.max(i.c,-a);break;case 4:i.b=r.Math.max(i.b,-a)}if(PF(t.t))switch(e=s2(o.b,a),u=!RR(t.e.Xe(b9t),174).Fc((Vgt(),fee)),n=!1,o.b.Ef().g){case 1:n=e>i.d,i.d=r.Math.max(i.d,e),u&&n&&(i.d=r.Math.max(i.d,i.a),i.a=i.d+a);break;case 3:n=e>i.a,i.a=r.Math.max(i.a,e),u&&n&&(i.a=r.Math.max(i.a,i.d),i.d=i.a+a);break;case 2:n=e>i.c,i.c=r.Math.max(i.c,e),u&&n&&(i.c=r.Math.max(i.b,i.c),i.b=i.c+a);break;case 4:n=e>i.b,i.b=r.Math.max(i.b,e),u&&n&&(i.b=r.Math.max(i.b,i.c),i.c=i.b+a)}}}(o),function(t){switch(t.q.g){case 5:Wit(t,(dwt(),Ote)),Wit(t,Kte);break;case 4:iyt(t,(dwt(),Ote)),iyt(t,Kte);break;default:Aut(t,(dwt(),Ote)),Aut(t,Kte)}}(o),function(t){switch(t.q.g){case 5:Git(t,(dwt(),Dte)),Git(t,Qte);break;case 4:ayt(t,(dwt(),Dte)),ayt(t,Qte);break;default:Eut(t,(dwt(),Dte)),Eut(t,Qte)}}(o),function(t){var e,n,r,i,a,o,s;if(!t.w.dc()){if(t.w.Fc((ott(),cee))&&(RR(h$(t.b,(dwt(),Ote)),121).k=!0,RR(h$(t.b,Kte),121).k=!0,e=t.q!=(Fat(),yte)&&t.q!=mte,gf(RR(h$(t.b,Dte),121),e),gf(RR(h$(t.b,Qte),121),e),gf(t.g,e),t.w.Fc(lee)&&(RR(h$(t.b,Ote),121).j=!0,RR(h$(t.b,Kte),121).j=!0,RR(h$(t.b,Dte),121).k=!0,RR(h$(t.b,Qte),121).k=!0,t.g.k=!0)),t.w.Fc(uee))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.A.Fc((Vgt(),vee)),a=0,o=(i=fet()).length;a<o;++a)r=i[a],(n=RR(h$(t.i,r),304))&&(gtt(r)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.w.Fc(see)&&t.A.Fc((Vgt(),bee))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}(o),function(t){var e,n,i,a;i=t.o,xO(),t.w.dc()||u8(t.w,v$t)?a=i.a:(a=zct(t.f),t.w.Fc((ott(),uee))&&!t.A.Fc((Vgt(),vee))&&(a=r.Math.max(a,zct(RR(h$(t.p,(dwt(),Ote)),243))),a=r.Math.max(a,zct(RR(h$(t.p,Kte),243)))),(e=N2(t))&&(a=r.Math.max(a,e.a))),i.a=a,(n=t.f.i).c=0,n.b=a,Ubt(t.f)}(o),function(t){switch(xP(),t.q.g){case 5:Nct(t,(dwt(),Ote)),Nct(t,Kte);break;case 4:Yht(t,(dwt(),Ote)),Yht(t,Kte);break;default:hwt(t,(dwt(),Ote)),hwt(t,Kte)}}(o),Xtt(o,Ote),Xtt(o,Kte),function(t){var e,n,i,a,o,s;t.q!=(Fat(),yte)&&t.q!=mte&&(a=t.f.n.d+TN(RR(h$(t.b,(dwt(),Ote)),121))+t.c,e=t.f.n.a+TN(RR(h$(t.b,Kte),121))+t.c,i=RR(h$(t.b,Dte),121),s=RR(h$(t.b,Qte),121),o=r.Math.max(0,i.n.d-a),o=r.Math.max(o,s.n.d-a),n=r.Math.max(0,i.n.a-e),n=r.Math.max(n,s.n.a-e),i.n.d=o,s.n.d=o,i.n.a=n,s.n.a=n)}(o),function(t){var e,n,i,a;a=t.o,xO(),t.w.dc()||u8(t.w,v$t)?e=a.b:(e=Bct(t.f),t.w.Fc((ott(),uee))&&!t.A.Fc((Vgt(),vee))&&(e=r.Math.max(e,Bct(RR(h$(t.p,(dwt(),Dte)),243))),e=r.Math.max(e,Bct(RR(h$(t.p,Qte),243)))),(n=N2(t))&&(e=r.Math.max(e,n.b)),t.w.Fc(cee)&&(t.q!=(Fat(),yte)&&t.q!=mte||(e=r.Math.max(e,TN(RR(h$(t.b,(dwt(),Dte)),121))),e=r.Math.max(e,TN(RR(h$(t.b,Qte),121)))))),a.b=e,(i=t.f.i).d=0,i.a=e,Qbt(t.f)}(o),n?(function(t){var e,n;for(xO(),e=t.o.b,n=RR(RR(Kq(t.r,(dwt(),Kte)),21),81).Ic();n.Ob();)RR(n.Pb(),110).e.b+=e}(o),function(t){switch(xP(),t.q.g){case 5:wlt(t,(dwt(),Dte)),wlt(t,Qte);break;case 4:Oet(t,(dwt(),Dte)),Oet(t,Qte);break;default:fwt(t,(dwt(),Dte)),fwt(t,Qte)}}(o),Xtt(o,Dte),Xtt(o,Qte),s=o.A.Fc((Vgt(),vee)),ict(o,s,Ote),ict(o,s,Kte),act(o,s,Dte),act(o,s,Qte),uS(new lj(null,new ZW(new Gf(o.i),0)),new Mt),uS(_$(new lj(null,XB(o.r).a.mc()),new Ct),new At),function(t){var e,n,r;xO(),t.A.Fc((Vgt(),dee))&&(r=t.f.i,e=new WV(t.a.c),(n=new sm).b=e.c-r.c,n.d=e.d-r.d,n.c=r.c+r.b-(e.c+e.b),n.a=r.d+r.a-(e.d+e.a),t.e.Df(n))}(o),o.e.sf(o.o),uS(new lj(null,XB(o.r).a.mc()),new Et),o.o):o.o}function Oyt(t,e,n,i){var a,o,s,u,c,l,h,f,d,p,g,b;for(p=Hst(Udt(e,!1,!1)),i&&(p=i5(p)),b=Dy(VD(_ht(e,(Cet(),nVt)))),MP(0!=p.b),d=RR(p.a.a.c,8),l=RR(met(p,1),8),p.b>2?(R3(c=new Vb,new KW(p,1,p.b)),l3(g=new iht(ixt(c,b+t.a)),e),n.c[n.c.length]=g):g=RR(oz(t.b,i?Dot(e):Rot(e)),265),s=Dot(e),i&&(s=Rot(e)),o=function(t,e){var n,i,a;return a=ZIt,Vet(),i=F$t,a=r.Math.abs(t.b),(n=r.Math.abs(e.f-t.b))<a&&(a=n,i=B$t),(n=r.Math.abs(t.a))<a&&(a=n,i=z$t),(n=r.Math.abs(e.g-t.a))<a&&(a=n,i=j$t),i}(d,s),u=b+t.a,o.a?(u+=r.Math.abs(d.b-l.b),f=new YM(l.a,(l.b+d.b)/2)):(u+=r.Math.abs(d.a-l.a),f=new YM((l.a+d.a)/2,l.b)),t$(i?t.d:t.c,e,new ert(g,o,f,u)),t$(t.b,e,g),!e.n&&(e.n=new FF(cne,e,1,7)),h=new SE(e.n);h.e!=h.i.gc();)a=rgt(t,RR(Htt(h),137),!0,0,0),n.c[n.c.length]=a}function Lyt(t,e,n){var r,i,a,o,s;if(s=t.c,!e&&(e=rie),t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&(o=new NF(t,1,2,s,t.c),n?n.zi(o):n=o),s!=e)if(zA(t.Cb,283))t.Db>>16==-10?n=RR(t.Cb,283).ik(e,n):t.Db>>16==-15&&(!e&&(mxt(),e=Rre),!s&&(mxt(),s=Rre),t.Cb.ih()&&(o=new LZ(t.Cb,1,13,s,e,ent(NZ(RR(t.Cb,58)),t),!1),n?n.zi(o):n=o));else if(zA(t.Cb,87))t.Db>>16==-23&&(zA(e,87)||(mxt(),e=Fre),zA(s,87)||(mxt(),s=Fre),t.Cb.ih()&&(o=new LZ(t.Cb,1,10,s,e,ent(pX(RR(t.Cb,26)),t),!1),n?n.zi(o):n=o));else if(zA(t.Cb,438))for(!(a=RR(t.Cb,814)).b&&(a.b=new Db(new Pm)),i=new Ob(new b5(new jf(a.b.a).a));i.a.b;)n=Lyt(r=RR(kJ(i.a).ad(),86),hft(r,a),n);return n}function Ryt(t){var e,n,i,a,o,s,u,c,l,h,f,d;if((d=RR(_ht(t,(fxt(),h9t)),21)).dc())return null;if(u=0,s=0,d.Fc((ott(),cee))){for(h=RR(_ht(t,O9t),100),i=2,n=2,a=2,o=2,e=rW(t)?RR(_ht(rW(t),z8t),108):RR(_ht(t,z8t),108),l=new SE((!t.c&&(t.c=new FF(hne,t,9,9)),t.c));l.e!=l.i.gc();)if(c=RR(Htt(l),122),(f=RR(_ht(c,z9t),61))==(dwt(),Zte)&&(f=zbt(c,e),Bet(c,z9t,f)),h==(Fat(),mte))switch(f.g){case 1:i=r.Math.max(i,c.i+c.g);break;case 2:n=r.Math.max(n,c.j+c.f);break;case 3:a=r.Math.max(a,c.i+c.g);break;case 4:o=r.Math.max(o,c.j+c.f)}else switch(f.g){case 1:i+=c.g+2;break;case 2:n+=c.f+2;break;case 3:a+=c.g+2;break;case 4:o+=c.f+2}u=r.Math.max(i,a),s=r.Math.max(n,o)}return wwt(t,u,s,!0,!0)}function Nyt(t,e,n,i,a){var o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;for(y=RR(NX(JQ(_$(new lj(null,new ZW(e.d,16)),new Vp(n)),new Hp(n)),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14),f=Lxt,h=B_t,c=new ed(e.b.j);c.a<c.c.c.length;)(u=RR(xG(c),11)).j==n&&(f=r.Math.min(f,u.p),h=r.Math.max(h,u.p));if(f==Lxt)for(s=0;s<y.gc();s++)NK(RR(y.Xb(s),101),n,s);else for(function(t,e){var n;for(n=0;n<e;++n)t[n]=-1}(w=hK(noe,uSt,24,a.length,15,1),w.length),m=y.Ic();m.Ob();){for(v=RR(m.Pb(),101),o=RR(oz(t.b,v),177),l=0,b=f;b<=h;b++)o[b]&&(l=r.Math.max(l,i[b]));if(v.i){for(p=v.i.c,x=new Pv,d=0;d<a.length;d++)a[p][d]&&cB(x,k8(w[d]));for(;q_(x,k8(l));)++l}for(NK(v,n,l),g=f;g<=h;g++)o[g]&&(i[g]=l+1);v.i&&(w[v.i.c]=l)}}function jyt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g;for(a=null,i=new ed(e.a);i.a<i.c.c.length;)gmt(n=RR(xG(i),10))?(l=new L$(n,!0,u=dP(mS(new jv,n),t.f),c=dP(mS(new jv,n),t.f)),h=n.o.b,int(),d=1e4,(f=(n.q?n.q:(mV(),mV(),KFt))._b((Zwt(),FQt))?RR(Bot(n,FQt),196):RR(Bot(jz(n),BQt),196))==r1t&&(d=1),p=Kft(bS(gS(pS(vS(new Nv,d),CH(r.Math.ceil(h))),u),c)),f==i1t&&cB(t.d,p),rbt(t,T2(i9(n,(dwt(),Qte))),l),rbt(t,i9(n,Dte),l),o=l):(g=dP(mS(new jv,n),t.f),uS(_$(new lj(null,new ZW(n.j,16)),new Pa),new YI(t,g)),o=new L$(n,!1,g,g)),t.i[n.p]=o,a&&(s=a.c.d.a+EA(t.n,a.c,n)+n.d.d,a.b||(s+=a.c.o.b),Kft(bS(gS(vS(pS(new Nv,CH(r.Math.ceil(s))),0),a.d),o.a))),a=o}function Fyt(t,e,n,i){var a,s,u,c,l,h,f,d,p,g;for(d=function(t,e,n){var r,i,a,o,s,u,c,l,h;for(r=n.c,i=n.d,s=eG(e.c),u=eG(e.d),r==e.c?(s=oft(t,s,i),u=Mot(e.d)):(s=Mot(e.c),u=oft(t,u,i)),jX(c=new ux(e.a),s,c.a,c.a.a),jX(c,u,c.c.b,c.c),o=e.c==r,h=new Uv,a=0;a<c.b-1;++a)l=new KM(RR(met(c,a),8),RR(met(c,a+1),8)),o&&0==a||!o&&a==c.b-2?h.b=l:LR(h.a,l);return h}(t,e,s=new ult(e)),g=r.Math.max(Dy(VD(Bot(e,(Zwt(),uQt)))),1),f=new ed(d.a);f.a<f.c.c.length;)h=RR(xG(f),46),l=Ytt(RR(h.a,8),RR(h.b,8),g),o=!0,o&=SN(n,new YM(l.c,l.d)),o&=SN(n,nD(new YM(l.c,l.d),l.b,0)),o&=SN(n,nD(new YM(l.c,l.d),0,l.a)),o,SN(n,nD(new YM(l.c,l.d),l.b,l.a));switch(p=s.d,c=Ytt(RR(d.b.a,8),RR(d.b.b,8),g),p==(dwt(),Qte)||p==Dte?(i.c[p.g]=r.Math.min(i.c[p.g],c.d),i.b[p.g]=r.Math.max(i.b[p.g],c.d+c.a)):(i.c[p.g]=r.Math.min(i.c[p.g],c.c),i.b[p.g]=r.Math.max(i.b[p.g],c.c+c.b)),a=NSt,u=s.c.i.d,p.g){case 4:a=u.c;break;case 2:a=u.b;break;case 1:a=u.a;break;case 3:a=u.d}return i.a[p.g]=r.Math.max(i.a[p.g],a),s}function Byt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k;s=RR(oz(e.c,t),453),b=e.a.c,u=e.a.c+e.a.b,o=(S=s.f)<(k=s.a),d=new YM(b,S),v=new YM(u,k),p=new YM(i=(b+u)/2,S),m=new YM(i,k),a=function(t,e,n){var r,i,a;if(r=0,i=0,t.c)for(a=new ed(t.d.i.j);a.a<a.c.c.length;)r+=RR(xG(a),11).e.c.length;else r=1;if(t.d)for(a=new ed(t.c.i.j);a.a<a.c.c.length;)i+=RR(xG(a),11).g.c.length;else i=1;return(n+e)/2+.4*CH(kN(i-r))*(n-e)}(t,S,k),w=eG(e.B),x=new YM(i,a),_=eG(e.D),n=function(t){var e,n,r;for(tpt(),n=hK(t8t,u_t,8,2,0,1),r=0,e=0;e<2;e++)r+=.5,n[e]=Unt(r,t);return n}(X3(uw(t8t,1),u_t,8,0,[w,x,_])),h=!1,(g=e.B.i)&&g.c&&s.d&&((c=o&&g.p<g.c.a.c.length-1||!o&&g.p>0)?c&&(l=g.p,o?++l:--l,h=!(Dft(r=s4(RR(JN(g.c.a,l),10)),w,n[0])||EF(r,w,n[0]))):h=!0),f=!1,(y=e.D.i)&&y.c&&s.e&&(o&&y.p>0||!o&&y.p<y.c.a.c.length-1?(l=y.p,o?--l:++l,f=!(Dft(r=s4(RR(JN(y.c.a,l),10)),n[0],_)||EF(r,n[0],_))):f=!0),h&&f&&vN(t.a,x),h||y1(t.a,X3(uw(t8t,1),u_t,8,0,[d,p])),f||y1(t.a,X3(uw(t8t,1),u_t,8,0,[m,v]))}function zyt(t,e){var n,r,i,a,o,s,u;if(zA(t.Pg(),160)?(zyt(RR(t.Pg(),160),e),e.a+=" > "):e.a+="Root ",hL((n=t.Og().zb).substr(0,3),"Elk")?UC(e,n.substr(3)):e.a+=""+n,i=t.ug())UC((e.a+=" ",e),i);else if(zA(t,351)&&(u=RR(t,137).a))UC((e.a+=" ",e),u);else{for(a=new SE(t.vg());a.e!=a.i.gc();)if(u=RR(Htt(a),137).a)return void UC((e.a+=" ",e),u);if(zA(t,349)&&(!(r=RR(t,80)).b&&(r.b=new nL(nne,r,4,7)),0!=r.b.i&&(!r.c&&(r.c=new nL(nne,r,5,8)),0!=r.c.i))){for(e.a+=" (",o=new LP((!r.b&&(r.b=new nL(nne,r,4,7)),r.b));o.e!=o.i.gc();)o.e>0&&(e.a+=Fxt),zyt(RR(Htt(o),160),e);for(e.a+=XMt,s=new LP((!r.c&&(r.c=new nL(nne,r,5,8)),r.c));s.e!=s.i.gc();)s.e>0&&(e.a+=Fxt),zyt(RR(Htt(s),160),e);e.a+=")"}}}function $yt(t,e,n){var r,i,a,o,s,u,c,l;for(l3(c=new knt(n),e),S4(c,(dxt(),Oqt),e),c.o.a=e.g,c.o.b=e.f,c.n.a=e.i,c.n.b=e.j,LR(n.a,c),t$(t.a,e,c),(0!=(!e.a&&(e.a=new FF(lne,e,10,11)),e.a).i||Ay($D(_ht(e,(Zwt(),gQt)))))&&S4(c,rqt,(_P(),!0)),u=RR(Bot(n,vqt),21),(l=RR(Bot(c,(Zwt(),nJt)),100))==(Fat(),_te)?S4(c,nJt,xte):l!=xte&&u.Dc((Zdt(),OXt)),r=RR(Bot(n,qZt),108),s=new SE((!e.c&&(e.c=new FF(hne,e,9,9)),e.c));s.e!=s.i.gc();)Ay($D(_ht(o=RR(Htt(s),122),WQt)))||iwt(t,o,c,u,r,l);for(a=new SE((!e.n&&(e.n=new FF(cne,e,1,7)),e.n));a.e!=a.i.gc();)!Ay($D(_ht(i=RR(Htt(a),137),WQt)))&&i.a&&LR(c.b,T6(i));return Ay($D(Bot(c,DZt)))&&u.Dc((Zdt(),TXt)),Ay($D(Bot(c,pQt)))&&(u.Dc((Zdt(),DXt)),u.Dc(PXt),S4(c,nJt,xte)),c}function Vyt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;if(a=RR(Bot(t,(dxt(),Oqt)),80)){for(r=t.a,zO(i=new uA(n),function(t){var e,n,r,i;if(i=RR(Bot(t,(dxt(),iqt)),38)){for(r=new fx,e=jz(t.c.i);e!=i;)e=jz(n=e.e),nD(zO(zO(r,n.n),e.c),e.d.b,e.d.d);return r}return uWt}(t)),K2(t.d.i,t.c.i)?(f=t.c,$O(h=$4(X3(uw(t8t,1),u_t,8,0,[f.n,f.a])),n)):h=eG(t.c),jX(r,h,r.a,r.a.a),d=eG(t.d),null!=Bot(t,Jqt)&&zO(d,RR(Bot(t,Jqt),8)),jX(r,d,r.c.b,r.c),gJ(r,i),z1(o=Udt(a,!0,!0),RR(sJ((!a.b&&(a.b=new nL(nne,a,4,7)),a.b),0),93)),$1(o,RR(sJ((!a.c&&(a.c=new nL(nne,a,5,8)),a.c),0),93)),evt(r,o),l=new ed(t.b);l.a<l.c.c.length;)c=RR(xG(l),69),GJ(s=RR(Bot(c,Oqt),137),c.o.a),WJ(s,c.o.b),VT(s,c.n.a+i.a,c.n.b+i.b),Bet(s,(j0(),SGt),$D(Bot(c,SGt)));(u=RR(Bot(t,(Zwt(),yQt)),74))?(gJ(u,i),Bet(a,yQt,u)):Bet(a,yQt,null),e==(V9(),S7t)?Bet(a,eQt,S7t):Bet(a,eQt,null)}}function Hyt(t,e,n,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;return u=t,l=$O(new YM(e.a,e.b),t),c=n,h=$O(new YM(i.a,i.b),n),f=u.a,b=u.b,p=c.a,m=c.b,d=l.a,v=l.b,a=(g=h.a)*v-d*(y=h.b),mA(),IJ(bEt),!(r.Math.abs(0-a)<=bEt||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-p)*v-(b-m)*d),s=1/a*-(-(f-p)*y+(b-m)*g),IJ(bEt),(r.Math.abs(0-o)<=bEt||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:_T(isNaN(0),isNaN(o)))<0&&(IJ(bEt),(r.Math.abs(o-1)<=bEt||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:_T(isNaN(o),isNaN(1)))<0)&&(IJ(bEt),(r.Math.abs(0-s)<=bEt||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:_T(isNaN(0),isNaN(s)))<0)&&(IJ(bEt),(r.Math.abs(s-1)<=bEt||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:_T(isNaN(s),isNaN(1)))<0))}function Wyt(t){WS(t,new iot(Kw(Ww(Yw(Hw(qw(Uw(new fs,pMt),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new be),pMt),Dj((qlt(),Ine),X3(uw(Ane,1),P_t,237,0,[Sne]))))),rU(t,pMt,gMt,k8(1)),rU(t,pMt,bMt,80),rU(t,pMt,vMt,5),rU(t,pMt,XIt,dMt),rU(t,pMt,mMt,k8(1)),rU(t,pMt,yMt,(_P(),!0)),rU(t,pMt,qIt,EVt),rU(t,pMt,wMt,bet(MVt)),rU(t,pMt,xMt,bet(PVt)),rU(t,pMt,_Mt,!1),rU(t,pMt,oMt,bet(TVt)),rU(t,pMt,cMt,bet(BVt)),rU(t,pMt,sMt,bet(CVt)),rU(t,pMt,hMt,bet(LVt)),rU(t,pMt,uMt,bet(RVt))}function Gyt(t,e){var n;if(t.e)throw Jb(new jy((FD(QBt),Akt+QBt.k+Ekt)));if(!function(t,e){return oP(t.e,e)}(t.a,e))throw Jb(new sy(Pkt+e+Dkt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:prt(t);break;case 1:R4(t),prt(t);break;case 4:cat(t),prt(t);break;case 3:cat(t),R4(t),prt(t)}break;case 2:switch(e.g){case 1:R4(t),Kpt(t);break;case 4:cat(t),prt(t);break;case 3:cat(t),R4(t),prt(t)}break;case 1:switch(e.g){case 2:R4(t),Kpt(t);break;case 4:R4(t),cat(t),prt(t);break;case 3:R4(t),cat(t),R4(t),prt(t)}break;case 4:switch(e.g){case 2:cat(t),prt(t);break;case 1:cat(t),R4(t),prt(t);break;case 3:R4(t),Kpt(t)}break;case 3:switch(e.g){case 2:R4(t),cat(t),prt(t);break;case 1:R4(t),cat(t),R4(t),prt(t);break;case 4:R4(t),Kpt(t)}}return t}function Uyt(t,e){var n;if(t.d)throw Jb(new jy((FD(IHt),Akt+IHt.k+Ekt)));if(!function(t,e){return oP(t.c,e)}(t.a,e))throw Jb(new sy(Pkt+e+Dkt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:r5(t);break;case 1:N4(t),r5(t);break;case 4:lat(t),r5(t);break;case 3:lat(t),N4(t),r5(t)}break;case 2:switch(e.g){case 1:N4(t),Zpt(t);break;case 4:lat(t),r5(t);break;case 3:lat(t),N4(t),r5(t)}break;case 1:switch(e.g){case 2:N4(t),Zpt(t);break;case 4:N4(t),lat(t),r5(t);break;case 3:N4(t),lat(t),N4(t),r5(t)}break;case 4:switch(e.g){case 2:lat(t),r5(t);break;case 1:lat(t),N4(t),r5(t);break;case 3:N4(t),Zpt(t)}break;case 3:switch(e.g){case 2:N4(t),lat(t),r5(t);break;case 1:N4(t),lat(t),N4(t),r5(t);break;case 4:N4(t),Zpt(t)}}return t}function Xyt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g;for(d=n.d,f=n.c,s=(o=new YM(n.f.a+n.d.b+n.d.c,n.f.b+n.d.d+n.d.a)).b,l=new ed(t.a);l.a<l.c.c.length;)if((u=RR(xG(l),10)).k==(vst(),UHt)){switch(i=RR(Bot(u,(dxt(),pqt)),61),a=RR(Bot(u,gqt),8),h=u.n,i.g){case 2:h.a=n.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b}switch(g=0,i.g){case 2:case 4:e==(Fat(),yte)?(p=Dy(VD(Bot(u,Vqt))),h.b=o.b*p-RR(Bot(u,(Zwt(),tJt)),8).b,g=h.b+a.b,x3(u,!1,!0)):e==mte&&(h.b=Dy(VD(Bot(u,Vqt)))-RR(Bot(u,(Zwt(),tJt)),8).b,g=h.b+a.b,x3(u,!1,!0))}s=r.Math.max(s,g)}for(n.f.b+=s-o.b,c=new ed(t.a);c.a<c.c.c.length;)if((u=RR(xG(c),10)).k==(vst(),UHt))switch(i=RR(Bot(u,(dxt(),pqt)),61),h=u.n,i.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=n.f.b+d.a-f.b}}function qyt(t,e,n){var i;if(qat(n,"StretchWidth layering",1),0!=e.a.c.length){for(t.c=e,t.t=0,t.u=0,t.i=RSt,t.g=NSt,t.d=Dy(VD(Bot(e,(Zwt(),wJt)))),function(t){var e,n,r;for(r=t.c.a,t.p=(wB(r),new jL(r)),n=new ed(r);n.a<n.c.c.length;)(e=RR(xG(n),10)).p=Xut(e).a;mV(),kA(t.p,new Ia)}(t),function(t){var e,n,r,i,a;for(r=0,t.q=new Vb,e=new Pv,a=new ed(t.p);a.a<a.c.c.length;){for((i=RR(xG(a),10)).p=r,n=new xF(zE(g9(i).a.Ic(),new p));Qlt(n);)cB(e,RR(dq(n),18).d.i);e.a.zc(i),LR(t.q,new YN(e)),e.a.$b(),++r}}(t),function(t){var e,n;for(t.e=hK(noe,uSt,24,t.p.c.length,15,1),t.k=hK(noe,uSt,24,t.p.c.length,15,1),n=new ed(t.p);n.a<n.c.c.length;)e=RR(xG(n),10),t.e[e.p]=OU(new xF(zE(p9(e).a.Ic(),new p))),t.k[e.p]=OU(new xF(zE(g9(e).a.Ic(),new p)))}(t),function(t){var e,n,i;for(n=new ed(t.p);n.a<n.c.c.length;)(e=RR(xG(n),10)).k==(vst(),YHt)&&(i=e.o.b,t.i=r.Math.min(t.i,i),t.g=r.Math.max(t.g,i))}(t),function(t){var e,n;for(t.j=hK(ooe,$St,24,t.p.c.length,15,1),n=new ed(t.p);n.a<n.c.c.length;)e=RR(xG(n),10),t.j[e.p]=e.o.b/t.i}(t),t.i=r.Math.max(1,t.i),t.g=r.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=function(t){var e,n;for(e=0,n=new ed(t.c.a);n.a<n.c.c.length;)e+=OU(new xF(zE(g9(RR(xG(n),10)).a.Ic(),new p)));return e/t.c.a.c.length}(t),i=new bz(t.c),LR(t.c.b,i),t.r=fG(t.p),t.n=_H(t.k,t.k.length);0!=t.r.c.length;)t.o=C6(t),!t.o||x4(t)&&0!=t.b.a.gc()?(Cat(t,i),i=new bz(t.c),LR(t.c.b,i),W0(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):x4(t)?(t.c.b.c=hK(gjt,zxt,1,0,5,1),i=new bz(t.c),LR(t.c.b,i),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=fG(t.p),t.n=_H(t.k,t.k.length)):(DW(t.o,i),yZ(t.r,t.o),cB(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c=hK(gjt,zxt,1,0,5,1),But(e.b),Sst(n)}else Sst(n)}function Yyt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;for(r=new Vb,p=new ed(e.a);p.a<p.c.c.length;)if((f=(d=RR(xG(p),10)).e)&&(R3(r,Yyt(t,f,d)),gyt(t,f,d),RR(Bot(f,(dxt(),vqt)),21).Fc((Zdt(),EXt))))for(v=RR(Bot(d,(Zwt(),nJt)),100),h=RR(Bot(d,aJt),174).Fc((aot(),Mte)),b=new ed(d.j);b.a<b.c.c.length;)for(g=RR(xG(b),11),(i=RR(oz(t.b,g),10))||(S4(i=jwt(g,v,g.j,-(g.e.c.length-g.g.c.length),null,null,g.o,RR(Bot(f,qZt),108),f),Oqt,g),t$(t.b,g,i),LR(f.a,i)),a=RR(JN(i.j,0),11),c=new ed(g.f);c.a<c.c.c.length;)u=RR(xG(c),69),(o=new Lw).o.a=u.o.a,o.o.b=u.o.b,LR(a.f,o),h||(m=g.j,l=0,PF(RR(Bot(d,aJt),21))&&(l=Wct(u.n,u.o,g.o,0,m)),v==(Fat(),xte)||(dwt(),jte).Fc(m)?o.o.a=l:o.o.b=l);return function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d,p,g,b;for(a=new Vb,c=new ed(r);c.a<c.c.c.length;)if(o=null,(s=RR(xG(c),435)).f==(M1(),N1t))for(p=new ed(s.e);p.a<p.c.c.length;)jz(b=(d=RR(xG(p),18)).d.i)==e?tJ(t,e,s,d,s.b,d.d):!n||K2(b,n)?rst(t,e,s,r,d):((f=vmt(t,e,n,d,s.b,N1t,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new ed(s.e);h.a<h.c.c.length;)if(jz(g=(l=RR(xG(h),18)).c.i)==e)tJ(t,e,s,l,l.c,s.b);else{if(!n||K2(g,n))continue;(f=vmt(t,e,n,l,s.b,R1t,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f)}for(u=new ed(a);u.a<u.c.c.length;)s=RR(xG(u),435),-1!=mZ(e.a,s.a,0)||LR(e.a,s.a),s.c&&(i.c[i.c.length]=s)}(t,e,n,r,s=new Vb),n&&function(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w;for(s=new Vb,i=new ed(e.a);i.a<i.c.c.length;)for(o=new ed(RR(xG(i),10).j);o.a<o.c.c.length;){for(c=null,y=0,w=(m=gU((a=RR(xG(o),11)).g)).length;y<w;++y)K2((v=m[y]).d.i,n)||((b=vmt(t,e,n,v,v.c,(M1(),N1t),c))!=c&&(s.c[s.c.length]=b),b.c&&(c=b));for(u=null,p=0,g=(d=gU(a.e)).length;p<g;++p)K2((f=d[p]).c.i,n)||((b=vmt(t,e,n,f,f.d,(M1(),R1t),u))!=u&&(s.c[s.c.length]=b),b.c&&(u=b))}for(h=new ed(s);h.a<h.c.c.length;)l=RR(xG(h),435),-1!=mZ(e.a,l.a,0)||LR(e.a,l.a),l.c&&(r.c[r.c.length]=l)}(t,e,n,s),s}function Kyt(t,e,n){var r,i,a,o,s,u,c,l;if(!t.a[e.c.p][e.p].e){for(t.a[e.c.p][e.p].e=!0,t.a[e.c.p][e.p].b=0,t.a[e.c.p][e.p].d=0,t.a[e.c.p][e.p].a=null,l=new ed(e.j);l.a<l.c.c.length;)for(c=RR(xG(l),11),u=(n?new Qd(c):new tp(c)).Ic();u.Ob();)(o=(s=RR(u.Pb(),11)).i).c==e.c?o!=e&&(Kyt(t,o,n),t.a[e.c.p][e.p].b+=t.a[o.c.p][o.p].b,t.a[e.c.p][e.p].d+=t.a[o.c.p][o.p].d):(t.a[e.c.p][e.p].d+=t.e[s.p],++t.a[e.c.p][e.p].b);if(a=RR(Bot(e,(dxt(),JXt)),14))for(i=a.Ic();i.Ob();)r=RR(i.Pb(),10),e.c==r.c&&(Kyt(t,r,n),t.a[e.c.p][e.p].b+=t.a[r.c.p][r.p].b,t.a[e.c.p][e.p].d+=t.a[r.c.p][r.p].d);t.a[e.c.p][e.p].b>0&&(t.a[e.c.p][e.p].d+=Ght(t.f,24)*akt*.07000000029802322-.03500000014901161,t.a[e.c.p][e.p].a=t.a[e.c.p][e.p].d/t.a[e.c.p][e.p].b)}}function Zyt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g;for(u=new YM(r.i+r.g/2,r.j+r.f/2),f=kmt(r),d=RR(_ht(e,(Zwt(),nJt)),100),g=RR(_ht(r,sJt),61),pC(Met(r),eJt)||(p=0==r.i&&0==r.j?0:function(t,e){var n;if(!VH(t))throw Jb(new jy(MDt));switch(n=VH(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}(r,g),Bet(r,eJt,p)),S4(i=jwt(r,d,g,f,new YM(e.g,e.f),u,new YM(r.g,r.f),RR(Bot(n,qZt),108),n),(dxt(),Oqt),r),function(t,e){t.c=e}(a=RR(JN(i.j,0),11),function(t){var e,n,r,i,a;for(a=VH(t),i=new SE((!t.e&&(t.e=new nL(rne,t,7,4)),t.e));i.e!=i.i.gc();)if(r=RR(Htt(i),80),!oJ(Yat(RR(sJ((!r.c&&(r.c=new nL(nne,r,5,8)),r.c),0),93)),a))return!0;for(n=new SE((!t.d&&(t.d=new nL(rne,t,8,5)),t.d));n.e!=n.i.gc();)if(e=RR(Htt(n),80),!oJ(Yat(RR(sJ((!e.b&&(e.b=new nL(nne,e,4,7)),e.b),0),93)),a))return!0;return!1}(r)),S4(i,aJt,(aot(),a9(Tte))),l=RR(_ht(e,aJt),174).Fc(Mte),s=new SE((!r.n&&(r.n=new FF(cne,r,1,7)),r.n));s.e!=s.i.gc();)if(!Ay($D(_ht(o=RR(Htt(s),137),WQt)))&&o.a&&(h=T6(o),LR(a.f,h),!l))switch(c=0,PF(RR(_ht(e,aJt),21))&&(c=Wct(new YM(o.i,o.j),new YM(o.g,o.f),new YM(r.g,r.f),0,g)),g.g){case 2:case 4:h.o.a=c;break;case 1:case 3:h.o.b=c}S4(i,TJt,VD(_ht(rW(e),TJt))),S4(i,MJt,VD(_ht(rW(e),MJt))),LR(n.a,i),t$(t.a,r,i)}function Qyt(t,e,n,i,a){var o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;for(S=0,p=0,f=new ed(e.e);f.a<f.c.c.length;){for(h=RR(xG(f),10),d=0,u=0,c=n?RR(Bot(h,B0t),20).a:B_t,m=i?RR(Bot(h,z0t),20).a:B_t,l=r.Math.max(c,m),w=new ed(h.j);w.a<w.c.c.length;){if(y=RR(xG(w),11),x=h.n.b+y.n.b+y.a.b,i)for(s=new ed(y.g);s.a<s.c.c.length;)g=(b=(o=RR(xG(s),18)).d).i,e!=t.a[g.p]&&(v=r.Math.max(RR(Bot(g,B0t),20).a,RR(Bot(g,z0t),20).a),(_=RR(Bot(o,(Zwt(),dJt)),20).a)>=l&&_>=v&&(d+=g.n.b+b.n.b+b.a.b-x,++u));if(n)for(s=new ed(y.e);s.a<s.c.c.length;)g=(b=(o=RR(xG(s),18)).c).i,e!=t.a[g.p]&&(v=r.Math.max(RR(Bot(g,B0t),20).a,RR(Bot(g,z0t),20).a),(_=RR(Bot(o,(Zwt(),dJt)),20).a)>=l&&_>=v&&(d+=g.n.b+b.n.b+b.a.b-x,++u))}u>0&&(S+=d/u,++p)}p>0?(e.a=a*S/p,e.g=p):(e.a=0,e.g=0)}function Jyt(t,e){var n,i,a,o,s,u,c,l,h,f;for(i=new ed(t.a.b);i.a<i.c.c.length;)for(u=new ed(RR(xG(i),29).a);u.a<u.c.c.length;)s=RR(xG(u),10),e.j[s.p]=s,e.i[s.p]=e.o==(YH(),K0t)?NSt:RSt;for(JF(t.c),o=t.a.b,e.c==(sH(),U0t)&&(o=zA(o,151)?Qq(RR(o,151)):zA(o,131)?RR(o,131).a:zA(o,53)?new ry(o):new D_(o)),function(t,e,n){t.a=e,t.c=n,t.b.a.$b(),sV(t.d),t.e.a.c=hK(gjt,zxt,1,0,5,1)}(t.e,e,t.b),bk(e.p,null),a=o.Ic();a.Ob();)for(c=RR(a.Pb(),29).a,e.o==(YH(),K0t)&&(c=zA(c,151)?Qq(RR(c,151)):zA(c,131)?RR(c,131).a:zA(c,53)?new ry(c):new D_(c)),f=c.Ic();f.Ob();)h=RR(f.Pb(),10),e.g[h.p]==h&&Rwt(t,h,e);for(function(t,e){var n,i,a,o,s,u,c;for(c=new sS,u=new Uf(new Gf(t.c).a.tc().Ic());u.a.Ob();)a=RR(u.a.Pb(),43),0==(o=RR(a.bd(),452)).b&&jX(c,o,c.c.b,c.c);for(;0!=c.b;)for(null==(o=RR(0==c.b?null:(MP(0!=c.b),uJ(c,c.a.a)),452)).a&&(o.a=0),i=new ed(o.d);i.a<i.c.c.length;)null==(n=RR(xG(i),643)).b.a?n.b.a=Dy(o.a)+n.a:e.o==(YH(),Y0t)?n.b.a=r.Math.min(Dy(n.b.a),Dy(o.a)+n.a):n.b.a=r.Math.max(Dy(n.b.a),Dy(o.a)+n.a),--n.b.b,0==n.b.b&&vN(c,n.b);for(s=new Uf(new Gf(t.c).a.tc().Ic());s.a.Ob();)a=RR(s.a.Pb(),43),o=RR(a.bd(),452),e.i[o.c.p]=o.a}(t,e),n=o.Ic();n.Ob();)for(f=new ed(RR(n.Pb(),29).a);f.a<f.c.c.length;)h=RR(xG(f),10),e.p[h.p]=e.p[e.g[h.p].p],h==e.g[h.p]&&(l=Dy(e.i[e.j[h.p].p]),(e.o==(YH(),K0t)&&l>NSt||e.o==Y0t&&l<RSt)&&(e.p[h.p]=Dy(e.p[h.p])+l));t.e.Zf()}function twt(t){var e;if(this.r=function(t,e){return new HV(RR(wB(t),62),RR(wB(e),62))}(new St,new kt),this.b=new x9(RR(wB(oee),289)),this.p=new x9(RR(wB(oee),289)),this.i=new x9(RR(wB(b$t),289)),this.e=t,this.o=new uA(t.pf()),this.C=t.Bf()||Ay($D(t.Xe((fxt(),J8t)))),this.w=RR(t.Xe((fxt(),h9t)),21),this.A=RR(t.Xe(b9t),21),this.q=RR(t.Xe(O9t),100),this.t=RR(t.Xe(j9t),21),!function(t){return aot(),!(o3(wH(Dj(Mte,X3(uw(Jte,1),P_t,291,0,[Tte])),t))>1||o3(wH(Dj(Ite,X3(uw(Jte,1),P_t,291,0,[Ate])),t))>1)}(this.t))throw Jb(new Xy("Invalid port label placement: "+this.t));if(this.u=Ay($D(t.Xe(B9t))),this.j=RR(t.Xe(c9t),21),!function(t){return kht(),!(o3(wH(Dj(rte,X3(uw(gte,1),P_t,92,0,[ite])),t))>1||o3(wH(Dj(tte,X3(uw(gte,1),P_t,92,0,[J7t,nte])),t))>1||o3(wH(Dj(ste,X3(uw(gte,1),P_t,92,0,[ote,ate])),t))>1)}(this.j))throw Jb(new Xy("Invalid node label placement: "+this.j));this.n=RR(tit(t,s9t),115),this.k=Dy(VD(tit(t,n7t))),this.d=Dy(VD(tit(t,e7t))),this.v=Dy(VD(tit(t,u7t))),this.s=Dy(VD(tit(t,r7t))),this.B=RR(tit(t,o7t),141),this.c=2*this.d,e=!this.A.Fc((Vgt(),fee)),this.f=new Btt(0,e,0),this.g=new Btt(1,e,0),gy(this.f,(nJ(),Ezt),this.g)}function ewt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;if(b=t.n,v=t.o,d=t.d,f=Dy(VD(A7(t,(Zwt(),vJt)))),e){for(h=f*(e.gc()-1),p=0,c=e.Ic();c.Ob();)h+=(s=RR(c.Pb(),10)).o.a,p=r.Math.max(p,s.o.b);for(m=b.a-(h-v.a)/2,o=b.b-d.d+p,a=i=v.a/(e.gc()+1),u=e.Ic();u.Ob();)(s=RR(u.Pb(),10)).n.a=m,s.n.b=o-s.o.b,m+=s.o.a+f,(l=mft(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(g=RR(Bot(s,(dxt(),nqt)),11)).e.c.length+g.g.c.length==1&&(g.n.a=a-g.a.a,g.n.b=0,OW(g,t)),a+=i}if(n){for(h=f*(n.gc()-1),p=0,c=n.Ic();c.Ob();)h+=(s=RR(c.Pb(),10)).o.a,p=r.Math.max(p,s.o.b);for(m=b.a-(h-v.a)/2,o=b.b+v.b+d.a-p,a=i=v.a/(n.gc()+1),u=n.Ic();u.Ob();)(s=RR(u.Pb(),10)).n.a=m,s.n.b=o,m+=s.o.a+f,(l=mft(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(g=RR(Bot(s,(dxt(),nqt)),11)).e.c.length+g.g.c.length==1&&(g.n.a=a-g.a.a,g.n.b=v.b,OW(g,t)),a+=i}}function nwt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(qat(n,"Processor arrange level",1),l=0,mV(),I0(e,new bb((qmt(),Y2t))),a=e.b,s=het(e,e.b),c=!0;c&&s.b.b!=s.d.a;)b=RR(GG(s),83),0==RR(Bot(b,Y2t),20).a?--a:c=!1;if(o=new NL(new KW(e,0,a)),u=new NL(new KW(e,a,e.b)),0==o.b)for(d=het(u,0);d.b!=d.d.c;)S4(RR(zU(d),83),n3t,k8(l++));else for(h=o.b,y=het(o,0);y.b!=y.d.c;){for(S4(m=RR(zU(y),83),n3t,k8(l++)),nwt(t,r=K3(m),o2(n,1/h|0)),I0(r,w$(new bb(n3t))),f=new sS,v=het(r,0);v.b!=v.d.c;)for(b=RR(zU(v),83),g=het(m.d,0);g.b!=g.d.c;)(p=RR(zU(g),188)).c==b&&jX(f,p,f.c.b,f.c);for(sV(m.d),W0(m.d,f),s=het(u,u.b),i=m.d.b,c=!0;0<i&&c&&s.b.b!=s.d.a;)b=RR(GG(s),83),0==RR(Bot(b,Y2t),20).a?(S4(b,n3t,k8(l++)),--i,QQ(s)):c=!1}Sst(n)}function rwt(t){var e,n,r,i,a,o,s,u,c,l,h;if(null==t)throw Jb(new hw(Hxt));if(c=t,u=!1,(a=t.length)>0&&(AW(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,u=45==e)),0==a)throw Jb(new hw(LSt+c+'"'));for(;t.length>0&&(AW(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(_bt(),xFt)[10])throw Jb(new hw(LSt+c+'"'));for(i=0;i<a;i++)if(-1==dtt((AW(i,t.length),t.charCodeAt(i))))throw Jb(new hw(LSt+c+'"'));for(h=0,o=yFt[10],l=wFt[10],s=kK(_Ft[10]),n=!0,(r=a%o)>0&&(h=-parseInt(t.substr(0,r),10),t=t.substr(r),a-=r,n=!1);a>=o;){if(r=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else{if(A5(h,s)<0)throw Jb(new hw(LSt+c+'"'));h=o8(h,l)}h=s8(h,r)}if(A5(h,0)>0)throw Jb(new hw(LSt+c+'"'));if(!u&&A5(h=kK(h),0)<0)throw Jb(new hw(LSt+c+'"'));return h}function iwt(t,e,n,r,i,a){var o,s,u,c,l,h;for(l3(c=new Dst,e),vct(c,RR(_ht(e,(Zwt(),sJt)),61)),S4(c,(dxt(),Oqt),e),OW(c,n),(h=c.o).a=e.g,h.b=e.f,(l=c.n).a=e.i,l.b=e.j,t$(t.a,e,c),(o=xq(S$(oQ(new lj(null,(!e.e&&(e.e=new nL(rne,e,7,4)),new ZW(e.e,16))),new We),new Ve),new ip(e)))||(o=xq(S$(oQ(new lj(null,(!e.d&&(e.d=new nL(rne,e,8,5)),new ZW(e.d,16))),new Ge),new He),new ap(e))),o||(o=xq(new lj(null,(!e.e&&(e.e=new nL(rne,e,7,4)),new ZW(e.e,16))),new Ue)),S4(c,wqt,(_P(),!!o)),function(t,e,n,r){var i,a,o,s,u,c;if((s=t.j)==(dwt(),Zte)&&e!=(Fat(),xte)&&e!=(Fat(),_te)&&(vct(t,s=pbt(t,n)),!(t.q?t.q:(mV(),mV(),KFt))._b((Zwt(),eJt))&&s!=Zte&&(0!=t.n.a||0!=t.n.b)&&S4(t,eJt,function(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}(t,s))),e==(Fat(),yte)){switch(c=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(c=t.n.a/a);break;case 2:case 4:(i=t.i.o.b)>0&&(c=t.n.b/i)}S4(t,(dxt(),Vqt),c)}if(u=t.o,o=t.a,r)o.a=r.a,o.b=r.b,t.d=!0;else if(e!=xte&&e!=_te&&s!=Zte)switch(s.g){case 1:o.a=u.a/2;break;case 2:o.a=u.a,o.b=u.b/2;break;case 3:o.a=u.a/2,o.b=u.b;break;case 4:o.b=u.b/2}else o.a=u.a/2,o.b=u.b/2}(c,a,i,RR(_ht(e,tJt),8)),u=new SE((!e.n&&(e.n=new FF(cne,e,1,7)),e.n));u.e!=u.i.gc();)!Ay($D(_ht(s=RR(Htt(u),137),WQt)))&&s.a&&LR(c.f,T6(s));switch(i.g){case 2:case 1:(c.j==(dwt(),Ote)||c.j==Kte)&&r.Dc((Zdt(),LXt));break;case 4:case 3:(c.j==(dwt(),Dte)||c.j==Qte)&&r.Dc((Zdt(),LXt))}return c}function awt(t,e,n,i,a,o,s){var u,c,l,h,f,d,p,g,b,v,m,y;for(f=null,i==(oH(),I2t)?f=e:i==M2t&&(f=n),g=f.a.ec().Ic();g.Ob();){for(p=RR(g.Pb(),11),b=$4(X3(uw(t8t,1),u_t,8,0,[p.i.n,p.n,p.a])).b,y=new Pv,u=new Pv,l=new hY(p.b);IA(l.a)||IA(l.b);)if(Ay($D(Bot(c=RR(IA(l.a)?xG(l.a):xG(l.b),18),(dxt(),Uqt))))==a&&-1!=mZ(o,c,0)){if(v=c.d==p?c.c:c.d,m=$4(X3(uw(t8t,1),u_t,8,0,[v.i.n,v.n,v.a])).b,r.Math.abs(m-b)<.2)continue;m<b?e.a._b(v)?cB(y,new KM(I2t,c)):cB(y,new KM(M2t,c)):e.a._b(v)?cB(u,new KM(I2t,c)):cB(u,new KM(M2t,c))}if(y.a.gc()>1)for(yq(y,new GM(t,d=new Lmt(p,y,i))),s.c[s.c.length]=d,h=y.a.ec().Ic();h.Ob();)yZ(o,RR(h.Pb(),46).b);if(u.a.gc()>1)for(yq(u,new UM(t,d=new Lmt(p,u,i))),s.c[s.c.length]=d,h=u.a.ec().Ic();h.Ob();)yZ(o,RR(h.Pb(),46).b)}}function owt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p;for(n=0,i=function(t,e){switch(e.g){case 1:return t.f.n.d+t.s;case 3:return t.f.n.a+t.s;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}(t,e),d=t.s,l=RR(RR(Kq(t.r,e),21),81).Ic();l.Ob();)if((c=RR(l.Pb(),110)).c&&!(c.c.d.c.length<=0)){switch(p=c.b.pf(),u=c.b.Ye((fxt(),D9t))?Dy(VD(c.b.Xe(D9t))):0,(f=(h=c.c).i).b=(s=h.n,h.e.a+s.b+s.c),f.a=(o=h.n,h.e.b+o.d+o.a),e.g){case 1:f.c=c.a?(p.a-f.b)/2:p.a+d,f.d=p.b+u+i,PK(h,(JK(),Lzt)),WD(h,(QZ(),Wzt));break;case 3:f.c=c.a?(p.a-f.b)/2:p.a+d,f.d=-u-i-f.a,PK(h,(JK(),Lzt)),WD(h,(QZ(),Vzt));break;case 2:f.c=-u-i-f.b,c.a?(a=t.u?f.a:RR(JN(h.d,0),183).pf().b,f.d=(p.b-a)/2):f.d=p.b+d,PK(h,(JK(),Nzt)),WD(h,(QZ(),Hzt));break;case 4:f.c=p.a+u+i,c.a?(a=t.u?f.a:RR(JN(h.d,0),183).pf().b,f.d=(p.b-a)/2):f.d=p.b+d,PK(h,(JK(),Rzt)),WD(h,(QZ(),Hzt))}(e==(dwt(),Ote)||e==Kte)&&(n=r.Math.max(n,f.a))}n>0&&(RR(h$(t.b,e),121).a.b=n)}function swt(t,e){var n,r,i,a,o,s,u;if(iN(),this.a=new _E(this),this.b=t,this.c=e,this.f=pB(FZ((yut(),Sie),e)),this.f.dc())if((s=Vit(Sie,t))==e)for(this.e=!0,this.d=new Vb,this.f=new du,this.f.Dc(hNt),RR(bmt(jZ(Sie,bJ(t)),""),26)==t&&this.f.Dc(Yj(Sie,bJ(t))),i=Sgt(Sie,t).Ic();i.Ob();)switch(r=RR(i.Pb(),170),Zz(FZ(Sie,r))){case 4:this.d.Dc(r);break;case 5:this.f.Ec(pB(FZ(Sie,r)))}else if(ek(),RR(e,65).Jj())for(this.e=!0,this.f=null,this.d=new Vb,o=0,u=(null==t.i&&Zbt(t),t.i).length;o<u;++o)for(null==t.i&&Zbt(t),n=t.i,r=o>=0&&o<n.length?n[o]:null,a=iG(FZ(Sie,r));a;a=iG(FZ(Sie,a)))a==e&&this.d.Dc(r);else 1==Zz(FZ(Sie,e))&&s?(this.f=null,this.d=(mlt(),Nie)):(this.f=null,this.e=!0,this.d=(mV(),new Zf(e)));else this.e=5==Zz(FZ(Sie,e)),this.f.Fb(Pie)&&(this.f=Pie)}function uwt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;if((h=e.length)>0&&(AW(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(u=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(AW(l+1,e.length),u=46==e.charCodeAt(l+1))))){if(m=hL("%",o=e.substr(1,l-1))?null:vwt(o),r=0,u)try{r=Wgt(e.substr(l+2),B_t,Lxt)}catch(t){throw zA(t=m3(t),127)?Jb(new OZ(t)):Jb(t)}for(g=o0(t.Rg());g.Ob();)if(zA(d=r3(g),502)&&(v=(i=RR(d,581)).d,(null==m?null==v:hL(m,v))&&0==r--))return i;return null}if(f=-1==(c=e.lastIndexOf("."))?e:e.substr(0,c),n=0,-1!=c)try{n=Wgt(e.substr(c+1),B_t,Lxt)}catch(t){if(!zA(t=m3(t),127))throw Jb(t);f=e}for(f=hL("%",f)?null:vwt(f),p=o0(t.Rg());p.Ob();)if(zA(d=r3(p),191)&&(b=(a=RR(d,191)).ne(),(null==f?null==b:hL(f,b))&&0==n--))return a;return null}return Wmt(t,e)}function cwt(){var t,e,n;for(cwt=S,new bQ(1,0),new bQ(10,0),new bQ(0,0),TFt=hK(VFt,u_t,239,11,0,1),AFt=hK(eoe,q_t,24,100,15,1),EFt=X3(uw(ooe,1),$St,24,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),PFt=hK(noe,uSt,24,EFt.length,15,1),DFt=X3(uw(ooe,1),$St,24,15,[1,10,100,L_t,1e4,VSt,1e6,1e7,1e8,ASt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),OFt=hK(noe,uSt,24,DFt.length,15,1),LFt=hK(VFt,u_t,239,11,0,1),t=0;t<LFt.length;t++)TFt[t]=new bQ(t,0),LFt[t]=new bQ(0,t),AFt[t]=48;for(;t<AFt.length;t++)AFt[t]=48;for(n=0;n<PFt.length;n++)PFt[n]=kct(EFt[n]);for(e=0;e<OFt.length;e++)OFt[e]=kct(DFt[e]);blt()}function lwt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v;if(zA(i=Bot(e,(dxt(),Oqt)),238)){for(d=RR(i,34),p=e.e,h=new uA(e.c),a=e.d,h.a+=a.b,h.b+=a.d,oP(RR(_ht(d,(Zwt(),HQt)),174),(Vgt(),dee))&&(function(t,e){t.a=e}(f=RR(_ht(d,GQt),115),a.a),function(t,e){t.d=e}(f,a.d),function(t,e){t.b=e}(f,a.b),function(t,e){t.c=e}(f,a.c)),n=new Vb,c=new ed(e.a);c.a<c.c.c.length;)for(zA(Bot(s=RR(xG(c),10),Oqt),238)?bwt(s,h):zA(Bot(s,Oqt),199)&&!p&&VT(r=RR(Bot(s,Oqt),122),(b=Nbt(e,s,r.g,r.f)).a,b.b),g=new ed(s.j);g.a<g.c.c.length;)uS(_$(new lj(null,new ZW(RR(xG(g),11).g,16)),new op(s)),new sp(n));if(p)for(g=new ed(p.j);g.a<g.c.c.length;)uS(_$(new lj(null,new ZW(RR(xG(g),11).g,16)),new up(p)),new cp(n));for(v=RR(_ht(d,eQt),216),o=new ed(n);o.a<o.c.c.length;)Vyt(RR(xG(o),18),v,h);for(function(t){var e,n,r,i,a;r=RR(Bot(t,(dxt(),Oqt)),34),a=RR(_ht(r,(Zwt(),$Qt)),174).Fc((ott(),lee)),t.e||(i=RR(Bot(t,vqt),21),e=new YM(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),i.Fc((Zdt(),EXt))?(Bet(r,nJt,(Fat(),mte)),wwt(r,e.a,e.b,!1,!0)):wwt(r,e.a,e.b,!0,!0)),Bet(r,$Qt,a?a9(lee):new GL(n=RR(Rx(xee),9),RR(wO(n,n.length),9),0))}(e),u=new ed(e.a);u.a<u.c.c.length;)(l=(s=RR(xG(u),10)).e)&&lwt(t,l)}}function hwt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p;if(!RR(RR(Kq(t.r,e),21),81).dc()){if(c=(s=RR(h$(t.b,e),121)).i,u=s.n,h=ipt(t,e),i=c.b-u.b-u.c,a=s.a.a,o=c.c+u.b,p=t.v,h!=(get(),fte)&&h!=pte||1!=RR(RR(Kq(t.r,e),21),81).gc()||(a=h==fte?a-2*t.v:a,h=hte),i<a&&!t.A.Fc((Vgt(),mee)))h==fte?o+=p+=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()+1):p+=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()-1);else switch(i<a&&(a=h==fte?a-2*t.v:a,h=hte),h.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:n=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()+1),o+=p+=r.Math.max(0,n);break;case 1:n=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()-1),p+=r.Math.max(0,n)}for(d=RR(RR(Kq(t.r,e),21),81).Ic();d.Ob();)(f=RR(d.Pb(),110)).e.a=o+f.d.b,f.e.b=(l=f.b).Ye((fxt(),D9t))?l.Ef()==(dwt(),Ote)?-l.pf().b-Dy(VD(l.Xe(D9t))):Dy(VD(l.Xe(D9t))):l.Ef()==(dwt(),Ote)?-l.pf().b:0,o+=f.d.b+f.b.pf().a+f.d.c+p}}function fwt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g;if(!RR(RR(Kq(t.r,e),21),81).dc()){if(c=(s=RR(h$(t.b,e),121)).i,u=s.n,f=ipt(t,e),i=c.a-u.d-u.a,a=s.a.b,o=c.d+u.d,g=t.v,l=t.o.a,f!=(get(),fte)&&f!=pte||1!=RR(RR(Kq(t.r,e),21),81).gc()||(a=f==fte?a-2*t.v:a,f=hte),i<a&&!t.A.Fc((Vgt(),mee)))f==fte?o+=g+=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()+1):g+=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()-1);else switch(i<a&&(a=f==fte?a-2*t.v:a,f=hte),f.g){case 3:o+=(i-a)/2;break;case 4:o+=i-a;break;case 0:n=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()+1),o+=g+=r.Math.max(0,n);break;case 1:n=(i-a)/(RR(RR(Kq(t.r,e),21),81).gc()-1),g+=r.Math.max(0,n)}for(p=RR(RR(Kq(t.r,e),21),81).Ic();p.Ob();)(d=RR(p.Pb(),110)).e.a=(h=d.b).Ye((fxt(),D9t))?h.Ef()==(dwt(),Qte)?-h.pf().a-Dy(VD(h.Xe(D9t))):l+Dy(VD(h.Xe(D9t))):h.Ef()==(dwt(),Qte)?-h.pf().a:l,d.e.b=o+d.d.d,o+=d.d.d+d.b.pf().b+d.d.a+g}}function dwt(){var t;dwt=S,Zte=new RM(uIt,0),Ote=new RM(vIt,1),Dte=new RM(mIt,2),Kte=new RM(yIt,3),Qte=new RM(wIt,4),mV(),Fte=new bw(new GL(t=RR(Rx(oee),9),RR(wO(t,t.length),9),0)),Bte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[]))),Lte=H6(Dj(Dte,X3(uw(oee,1),VMt,61,0,[]))),Xte=H6(Dj(Kte,X3(uw(oee,1),VMt,61,0,[]))),Yte=H6(Dj(Qte,X3(uw(oee,1),VMt,61,0,[]))),Wte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Kte]))),jte=H6(Dj(Dte,X3(uw(oee,1),VMt,61,0,[Qte]))),Ute=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Qte]))),zte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Dte]))),qte=H6(Dj(Kte,X3(uw(oee,1),VMt,61,0,[Qte]))),Rte=H6(Dj(Dte,X3(uw(oee,1),VMt,61,0,[Kte]))),Hte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Dte,Qte]))),Nte=H6(Dj(Dte,X3(uw(oee,1),VMt,61,0,[Kte,Qte]))),Gte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Kte,Qte]))),$te=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Dte,Kte]))),Vte=H6(Dj(Ote,X3(uw(oee,1),VMt,61,0,[Dte,Kte,Qte])))}function pwt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;if(0!=e.b){for(f=new sS,o=null,d=null,n=CH(r.Math.floor(r.Math.log(e.b)*r.Math.LOG10E)+1),s=0,m=het(e,0);m.b!=m.d.c;)for(b=RR(zU(m),83),DC(d)!==DC(Bot(b,(qmt(),K2t)))&&(d=HD(Bot(b,K2t)),s=0),o=null!=d?d+vG(s++,n):vG(s++,n),S4(b,K2t,o),g=new Sg(het(new _g(b).a.d,0));jx(g.a);)jX(f,p=RR(zU(g.a),188).c,f.c.b,f.c),S4(p,K2t,o);for(h=new Hb,a=0;a<o.length-n;a++)for(v=het(e,0);v.b!=v.d.c;)mW(h,u=BP(HD(Bot(b=RR(zU(v),83),(qmt(),K2t))),0,a+1),k8(null!=(null==u?PC(rH(h.f,null)):lk(h.g,u))?RR(null==u?PC(rH(h.f,null)):lk(h.g,u),20).a+1:1));for(l=new b5(new jf(h).a);l.b;)c=kJ(l),i=k8(null!=oz(t.a,c.ad())?RR(oz(t.a,c.ad()),20).a:0),mW(t.a,HD(c.ad()),k8(RR(c.bd(),20).a+i.a)),(!(i=RR(oz(t.b,c.ad()),20))||i.a<RR(c.bd(),20).a)&&mW(t.b,HD(c.ad()),RR(c.bd(),20));pwt(t,f)}}function gwt(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C;for(l=RR(Bot(t,(y0(),HVt)),34),g=Lxt,b=Lxt,d=B_t,p=B_t,m=new ed(t.e);m.a<m.c.c.length;)S=(v=RR(xG(m),144)).d,k=v.e,g=r.Math.min(g,S.a-k.a/2),b=r.Math.min(b,S.b-k.b/2),d=r.Math.max(d,S.a+k.a/2),p=r.Math.max(p,S.b+k.b/2);for(x=new YM((_=RR(_ht(l,(fdt(),AVt)),115)).b-g,_.d-b),u=new ed(t.e);u.a<u.c.c.length;)zA(w=Bot(s=RR(xG(u),144),HVt),238)&&VT(h=RR(w,34),(y=zO(s.d,x)).a-h.g/2,y.b-h.f/2);for(i=new ed(t.c);i.a<i.c.c.length;)n=RR(xG(i),281),c=Udt(RR(Bot(n,HVt),80),!0,!0),Ait(M=$O(LA(n.d.d),n.c.d),n.c.e.a,n.c.e.b),WT(c,(I=zO(M,n.c.d)).a,I.b),Ait(C=$O(LA(n.c.d),n.d.d),n.d.e.a,n.d.e.b),HT(c,(e=zO(C,n.d.d)).a,e.b);for(o=new ed(t.d);o.a<o.c.c.length;)a=RR(xG(o),441),VT(RR(Bot(a,HVt),137),(f=zO(a.d,x)).a,f.b);wwt(l,d-g+(_.b+_.c),p-b+(_.d+_.a),!1,!0)}function bwt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p;for(r=RR(Bot(t,(dxt(),Oqt)),34),d=RR(Bot(t,(Zwt(),HZt)),20).a,a=RR(Bot(t,SQt),20).a,Bet(r,HZt,k8(d)),Bet(r,SQt,k8(a)),UJ(r,t.n.a+e.a),XJ(r,t.n.b+e.b),(0!=RR(_ht(r,$Qt),174).gc()||t.e||DC(Bot(jz(t),zQt))===DC((Mnt(),f1t))&<((int(),(t.q?t.q:(mV(),mV(),KFt))._b(FQt)?RR(Bot(t,FQt),196):RR(Bot(jz(t),BQt),196))))&&(GJ(r,t.o.a),WJ(r,t.o.b)),h=new ed(t.j);h.a<h.c.c.length;)zA(p=Bot(c=RR(xG(h),11),Oqt),199)&&(VT(i=RR(p,122),c.n.a,c.n.b),Bet(i,sJt,c.j));for(f=0!=RR(Bot(t,OQt),174).gc(),u=new ed(t.b);u.a<u.c.c.length;)o=RR(xG(u),69),(f||0!=RR(Bot(o,OQt),174).gc())&&($T(n=RR(Bot(o,Oqt),137),o.o.a,o.o.b),VT(n,o.n.a,o.n.b));if(!PF(RR(Bot(t,aJt),21)))for(l=new ed(t.j);l.a<l.c.c.length;)for(s=new ed((c=RR(xG(l),11)).f);s.a<s.c.c.length;)o=RR(xG(s),69),GJ(n=RR(Bot(o,Oqt),137),o.o.a),WJ(n,o.o.b),VT(n,o.n.a,o.n.b)}function vwt(t){var e,n,r,i,a,o,s,u;if(lmt(),null==t)return null;if((i=ST(t,mot(37)))<0)return t;for(u=new YE(t.substr(0,i)),e=hK(aoe,iOt,24,4,15,1),s=0,r=0,o=t.length;i<o;i++)if(AW(i,t.length),37==t.charCodeAt(i)&&t.length>i+2&&E3((AW(i+1,t.length),t.charCodeAt(i+1)),Qne,Jne)&&E3((AW(i+2,t.length),t.charCodeAt(i+2)),Qne,Jne))if(n=qR((AW(i+1,t.length),t.charCodeAt(i+1)),(AW(i+2,t.length),t.charCodeAt(i+2))),i+=2,r>0?128==(192&n)?e[s++]=n<<24>>24:r=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,r=2):224==(240&n)?(e[s++]=n<<24>>24,r=3):240==(248&n)&&(e[s++]=n<<24>>24,r=4)),r>0){if(s==r){switch(s){case 2:iz(u,((31&e[0])<<6|63&e[1])&Y_t);break;case 3:iz(u,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&Y_t)}s=0,r=0}}else{for(a=0;a<s;++a)iz(u,e[a]&Y_t);s=0,u.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)iz(u,e[a]&Y_t);s=0,iz(u,(AW(i,t.length),t.charCodeAt(i)))}return u.a}function mwt(t,e,n,r,i){var a,o,s;if($Z(t,e),o=e[0],a=d$(n.c,0),s=-1,Q4(n))if(r>0){if(o+r>t.length)return!1;s=Zct(t.substr(0,o+r),e)}else s=Zct(t,e);switch(a){case 71:return s=bot(t,o,X3(uw(MFt,1),u_t,2,6,[cSt,lSt]),e),i.e=s,!0;case 77:case 76:return function(t,e,n,r,i){return r<0?((r=bot(t,i,X3(uw(MFt,1),u_t,2,6,[K_t,Z_t,Q_t,J_t,tSt,eSt,nSt,rSt,iSt,aSt,oSt,sSt]),e))<0&&(r=bot(t,i,X3(uw(MFt,1),u_t,2,6,["Jan","Feb","Mar","Apr",tSt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(r<0||(n.k=r,0))):r>0&&(n.k=r-1,!0)}(t,e,i,s,o);case 69:case 99:return function(t,e,n,r){var i;return(i=bot(t,n,X3(uw(MFt,1),u_t,2,6,[hSt,fSt,dSt,pSt,gSt,bSt,vSt]),e))<0&&(i=bot(t,n,X3(uw(MFt,1),u_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(i<0||(r.d=i,0))}(t,e,o,i);case 97:return s=bot(t,o,X3(uw(MFt,1),u_t,2,6,["AM","PM"]),e),i.b=s,!0;case 121:return function(t,e,n,r,i,a){var o,s,u;if(s=32,r<0){if(e[0]>=t.length)return!1;if(43!=(s=d$(t,e[0]))&&45!=s)return!1;if(++e[0],(r=Zct(t,e))<0)return!1;45==s&&(r=-r)}return 32==s&&e[0]-n==2&&2==i.b&&(o=(u=(new ak).q.getFullYear()-o_t+o_t-80)%100,a.a=r==o,r+=100*(u/100|0)+(r<o?100:0)),a.p=r,!0}(t,e,o,s,n,i);case 100:return!(s<=0)&&(i.c=s,!0);case 83:return!(s<0)&&function(t,e,n,r){var i,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else{for(i=1;a>3;)i*=10,--a;t=(t+(i>>1))/i|0}return r.i=t,!0}(s,o,e[0],i);case 104:12==s&&(s=0);case 75:case 72:return!(s<0)&&(i.f=s,i.g=!1,!0);case 107:return!(s<0)&&(i.f=s,i.g=!0,!0);case 109:return!(s<0)&&(i.j=s,!0);case 115:return!(s<0)&&(i.n=s,!0);case 90:if(o<t.length&&(AW(o,t.length),90==t.charCodeAt(o)))return++e[0],i.o=0,!0;case 122:case 118:return function(t,e,n,r){return e>=0&&hL(t.substr(e,"GMT".length),"GMT")||e>=0&&hL(t.substr(e,"UTC".length),"UTC")?(n[0]=e+3,Qgt(t,n,r)):Qgt(t,n,r)}(t,o,e,i);default:return!1}}function ywt(t,e,n){var r,i,a,o,s,u,c,l,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=hK(gjt,zxt,1,0,5,1),t.i.c=hK(gjt,zxt,1,0,5,1),t.g.a.$b(),e)for(o=new ed(e.a);o.a<o.c.c.length;)for(l=Fst(a=RR(xG(o),10),(dwt(),Dte)).Ic();l.Ob();)for(c=RR(l.Pb(),11),cB(t.e,c),i=new ed(c.g);i.a<i.c.c.length;)Nq(r=RR(xG(i),18))||(LR(t.c,r),ket(t,r),((s=r.c.i.k)==(vst(),YHt)||s==KHt||s==UHt||s==GHt)&&LR(t.j,r),(h=(f=r.d).i.c)==n?cB(t.f,f):h==e?cB(t.e,f):yZ(t.c,r));if(n)for(o=new ed(n.a);o.a<o.c.c.length;){for(u=new ed((a=RR(xG(o),10)).j);u.a<u.c.c.length;)for(i=new ed(RR(xG(u),11).g);i.a<i.c.c.length;)Nq(r=RR(xG(i),18))&&cB(t.g,r);for(l=Fst(a,(dwt(),Qte)).Ic();l.Ob();)for(c=RR(l.Pb(),11),cB(t.f,c),i=new ed(c.g);i.a<i.c.c.length;)Nq(r=RR(xG(i),18))||(LR(t.c,r),ket(t,r),((s=r.c.i.k)==(vst(),YHt)||s==KHt||s==UHt||s==GHt)&&LR(t.j,r),(h=(f=r.d).i.c)==n?cB(t.f,f):h==e?cB(t.e,f):yZ(t.c,r))}}function wwt(t,e,n,i,a){var o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;if(v=new YM(t.g,t.f),(b=Yst(t)).a=r.Math.max(b.a,e),b.b=r.Math.max(b.b,n),S=b.a/v.a,h=b.b/v.b,x=b.a-v.a,c=b.b-v.b,i)for(s=rW(t)?RR(_ht(rW(t),(fxt(),z8t)),108):RR(_ht(t,(fxt(),z8t)),108),u=DC(_ht(t,(fxt(),O9t)))===DC((Fat(),mte)),y=new SE((!t.c&&(t.c=new FF(hne,t,9,9)),t.c));y.e!=y.i.gc();)switch(m=RR(Htt(y),122),(w=RR(_ht(m,z9t),61))==(dwt(),Zte)&&(w=zbt(m,s),Bet(m,z9t,w)),w.g){case 1:u||UJ(m,m.i*S);break;case 2:UJ(m,m.i+x),u||XJ(m,m.j*h);break;case 3:u||UJ(m,m.i*S),XJ(m,m.j+c);break;case 4:u||XJ(m,m.j*h)}if($T(t,b.a,b.b),a)for(d=new SE((!t.n&&(t.n=new FF(cne,t,1,7)),t.n));d.e!=d.i.gc();)p=(f=RR(Htt(d),137)).i+f.g/2,g=f.j+f.f/2,(_=p/v.a)+(l=g/v.b)>=1&&(_-l>0&&g>=0?(UJ(f,f.i+x),XJ(f,f.j+c*l)):_-l<0&&p>=0&&(UJ(f,f.i+x*_),XJ(f,f.j+c)));return Bet(t,(fxt(),h9t),(ott(),new GL(o=RR(Rx(xee),9),RR(wO(o,o.length),9),0))),new YM(S,h)}function xwt(t){var e,n,i,a,o,s,u,c,l,h,f;if(h=rW(Yat(RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93)))==rW(Yat(RR(sJ((!t.c&&(t.c=new nL(nne,t,5,8)),t.c),0),93))),s=new fx,(e=RR(_ht(t,($5(),R7t)),74))&&e.b>=2){if(0==(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i)Sx(),n=new Zs,EK((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),n);else if((!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i>1)for(f=new LP((!t.a&&(t.a=new FF(ine,t,6,6)),t.a));f.e!=f.i.gc();)zit(f);evt(e,RR(sJ((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),0),201))}if(h)for(i=new SE((!t.a&&(t.a=new FF(ine,t,6,6)),t.a));i.e!=i.i.gc();)for(c=new SE((!(n=RR(Htt(i),201)).a&&(n.a=new fE(Jee,n,5)),n.a));c.e!=c.i.gc();)u=RR(Htt(c),463),s.a=r.Math.max(s.a,u.a),s.b=r.Math.max(s.b,u.b);for(o=new SE((!t.n&&(t.n=new FF(cne,t,1,7)),t.n));o.e!=o.i.gc();)a=RR(Htt(o),137),(l=RR(_ht(a,$7t),8))&&VT(a,l.a,l.b),h&&(s.a=r.Math.max(s.a,a.i+a.g),s.b=r.Math.max(s.b,a.j+a.f));return s}function _wt(t,e,n){var r,i,a,o,s;switch(r=e.i,a=t.i.o,i=t.i.d,s=t.n,o=$4(X3(uw(t8t,1),u_t,8,0,[s,t.a])),t.j.g){case 1:WD(e,(QZ(),Vzt)),r.d=-i.d-n-r.a,RR(RR(JN(e.d,0),183).Xe((dxt(),Iqt)),284)==(Krt(),X7t)?(PK(e,(JK(),Nzt)),r.c=o.a-Dy(VD(Bot(t,Pqt)))-n-r.b):(PK(e,(JK(),Rzt)),r.c=o.a+Dy(VD(Bot(t,Pqt)))+n);break;case 2:PK(e,(JK(),Rzt)),r.c=a.a+i.c+n,RR(RR(JN(e.d,0),183).Xe((dxt(),Iqt)),284)==(Krt(),X7t)?(WD(e,(QZ(),Vzt)),r.d=o.b-Dy(VD(Bot(t,Pqt)))-n-r.a):(WD(e,(QZ(),Wzt)),r.d=o.b+Dy(VD(Bot(t,Pqt)))+n);break;case 3:WD(e,(QZ(),Wzt)),r.d=a.b+i.a+n,RR(RR(JN(e.d,0),183).Xe((dxt(),Iqt)),284)==(Krt(),X7t)?(PK(e,(JK(),Nzt)),r.c=o.a-Dy(VD(Bot(t,Pqt)))-n-r.b):(PK(e,(JK(),Rzt)),r.c=o.a+Dy(VD(Bot(t,Pqt)))+n);break;case 4:PK(e,(JK(),Nzt)),r.c=-i.b-n-r.b,RR(RR(JN(e.d,0),183).Xe((dxt(),Iqt)),284)==(Krt(),X7t)?(WD(e,(QZ(),Vzt)),r.d=o.b-Dy(VD(Bot(t,Pqt)))-n-r.a):(WD(e,(QZ(),Wzt)),r.d=o.b+Dy(VD(Bot(t,Pqt)))+n)}}function Swt(t,e,n,i,a,o,s){var u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E;for(p=0,M=0,c=new ed(t);c.a<c.c.c.length;)Ryt(u=RR(xG(c),34)),p=r.Math.max(p,u.g),M+=u.g*u.f;for(I=function(t,e){var n,i,a;for(a=0,i=new ed(t);i.a<i.c.c.length;)n=RR(xG(i),34),a+=r.Math.pow(n.g*n.f-e,2);return r.Math.sqrt(a/(t.c.length-1))}(t,M/t.c.length),M+=t.c.length*I,p=r.Math.max(p,r.Math.sqrt(M*s))+n.b,A=n.b,E=n.d,d=0,h=n.b+n.c,vN(k=new sS,k8(0)),_=new sS,l=new tU(t,0);l.b<l.d.gc();)MP(l.b<l.d.gc()),T=(u=RR(l.d.Xb(l.c=l.b++),34)).g,f=u.f,A+T>p&&(o&&(ZC(_,d),ZC(k,k8(l.b-1))),A=n.b,E+=d+e,d=0,h=r.Math.max(h,n.b+n.c+T)),UJ(u,A),XJ(u,E),h=r.Math.max(h,A+T+n.c),d=r.Math.max(d,f),A+=T+e;if(h=r.Math.max(h,i),(C=E+d+n.a)<a&&(d+=a-C,C=a),o)for(A=n.b,l=new tU(t,0),ZC(k,k8(t.c.length)),v=RR(zU(S=het(k,0)),20).a,ZC(_,d),x=het(_,0),w=0;l.b<l.d.gc();)l.b==v&&(A=n.b,w=Dy(VD(zU(x))),v=RR(zU(S),20).a),MP(l.b<l.d.gc()),m=(u=RR(l.d.Xb(l.c=l.b++),34)).f,WJ(u,w),g=w,l.b==v&&(b=h-A-n.c,y=u.g,GJ(u,b),Kut(u,new YM(b,g),new YM(y,m))),A+=u.g+e;return new YM(h,C)}function kwt(t,e){var n,r,i,a,o,s,u,c,l,h;for(u=RR(RR(Kq(t.r,e),21),81),a=function(t,e){var n,r,i,a;return xO(),(i=RR(RR(Kq(t.r,e),21),81)).gc()>=2&&(r=RR(i.Ic().Pb(),110),n=t.t.Fc((aot(),Ite)),a=t.t.Fc(Ate),!r.a&&!n&&(2==i.gc()||a))}(t,e),s=u.Ic();s.Ob();)if((o=RR(s.Pb(),110)).c&&!(o.c.d.c.length<=0)){switch(h=o.b.pf(),(l=(c=o.c).i).b=(i=c.n,c.e.a+i.b+i.c),l.a=(r=c.n,c.e.b+r.d+r.a),e.g){case 1:o.a?(l.c=(h.a-l.b)/2,PK(c,(JK(),Lzt))):a?(l.c=-l.b-t.s,PK(c,(JK(),Nzt))):(l.c=h.a+t.s,PK(c,(JK(),Rzt))),l.d=-l.a-t.s,WD(c,(QZ(),Vzt));break;case 3:o.a?(l.c=(h.a-l.b)/2,PK(c,(JK(),Lzt))):a?(l.c=-l.b-t.s,PK(c,(JK(),Nzt))):(l.c=h.a+t.s,PK(c,(JK(),Rzt))),l.d=h.b+t.s,WD(c,(QZ(),Wzt));break;case 2:o.a?(n=t.u?l.a:RR(JN(c.d,0),183).pf().b,l.d=(h.b-n)/2,WD(c,(QZ(),Hzt))):a?(l.d=-l.a-t.s,WD(c,(QZ(),Vzt))):(l.d=h.b+t.s,WD(c,(QZ(),Wzt))),l.c=h.a+t.s,PK(c,(JK(),Rzt));break;case 4:o.a?(n=t.u?l.a:RR(JN(c.d,0),183).pf().b,l.d=(h.b-n)/2,WD(c,(QZ(),Hzt))):a?(l.d=-l.a-t.s,WD(c,(QZ(),Vzt))):(l.d=h.b+t.s,WD(c,(QZ(),Wzt))),l.c=-l.b-t.s,PK(c,(JK(),Nzt))}a=!1}}function Iwt(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;if(1==t.gc())return RR(t.Xb(0),229);if(t.gc()<=0)return new fY;for(a=t.Ic();a.Ob();){for(n=RR(a.Pb(),229),g=0,h=Lxt,f=Lxt,c=B_t,l=B_t,p=new ed(n.e);p.a<p.c.c.length;)d=RR(xG(p),144),g+=RR(Bot(d,(fdt(),DVt)),20).a,h=r.Math.min(h,d.d.a-d.e.a/2),f=r.Math.min(f,d.d.b-d.e.b/2),c=r.Math.max(c,d.d.a+d.e.a/2),l=r.Math.max(l,d.d.b+d.e.b/2);S4(n,(fdt(),DVt),k8(g)),S4(n,(y0(),VVt),new YM(h,f)),S4(n,$Vt,new YM(c,l))}for(mV(),t.$c(new he),l3(b=new fY,RR(t.Xb(0),94)),u=0,y=0,o=t.Ic();o.Ob();)n=RR(o.Pb(),229),v=$O(LA(RR(Bot(n,(y0(),$Vt)),8)),RR(Bot(n,VVt),8)),u=r.Math.max(u,v.a),y+=v.a*v.b;for(u=r.Math.max(u,r.Math.sqrt(y)*Dy(VD(Bot(b,(fdt(),kVt))))),w=0,x=0,s=0,e=m=Dy(VD(Bot(b,FVt))),i=t.Ic();i.Ob();)n=RR(i.Pb(),229),w+(v=$O(LA(RR(Bot(n,(y0(),$Vt)),8)),RR(Bot(n,VVt),8))).a>u&&(w=0,x+=s+m,s=0),jgt(b,n,w,x),e=r.Math.max(e,w+v.a),s=r.Math.max(s,v.b),w+=v.a+m;return b}function Mwt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p;switch(l=new vm,t.a.g){case 3:f=RR(Bot(e.e,(dxt(),Zqt)),14),d=RR(Bot(e.j,Zqt),14),p=RR(Bot(e.f,Zqt),14),n=RR(Bot(e.e,Yqt),14),r=RR(Bot(e.j,Yqt),14),i=RR(Bot(e.f,Yqt),14),R3(o=new Vb,f),d.Hc(new ba),R3(o,zA(d,151)?Qq(RR(d,151)):zA(d,131)?RR(d,131).a:zA(d,53)?new ry(d):new D_(d)),R3(o,p),R3(a=new Vb,n),R3(a,zA(r,151)?Qq(RR(r,151)):zA(r,131)?RR(r,131).a:zA(r,53)?new ry(r):new D_(r)),R3(a,i),S4(e.f,Zqt,o),S4(e.f,Yqt,a),S4(e.f,Qqt,e.f),S4(e.e,Zqt,null),S4(e.e,Yqt,null),S4(e.j,Zqt,null),S4(e.j,Yqt,null);break;case 1:W0(l,e.e.a),vN(l,e.i.n),W0(l,T2(e.j.a)),vN(l,e.a.n),W0(l,e.f.a);break;default:W0(l,e.e.a),W0(l,T2(e.j.a)),W0(l,e.f.a)}sV(e.f.a),W0(e.f.a,l),PW(e.f,e.e.c),s=RR(Bot(e.e,(Zwt(),yQt)),74),c=RR(Bot(e.j,yQt),74),u=RR(Bot(e.f,yQt),74),(s||c||u)&&(gB(h=new vm,u),gB(h,c),gB(h,s),S4(e.f,yQt,h)),PW(e.j,null),EW(e.j,null),PW(e.e,null),EW(e.e,null),DW(e.a,null),DW(e.i,null),e.g&&Mwt(t,e.g)}function Cwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I;return w=t.c[(TW(0,e.c.length),RR(e.c[0],18)).p],k=t.c[(TW(1,e.c.length),RR(e.c[1],18)).p],(w.a.e.e-w.a.a-(w.b.e.e-w.b.a)!=0||k.a.e.e-k.a.a-(k.b.e.e-k.b.a)!=0)&&(!!zA(m=w.b.e.f,10)&&(v=RR(m,10),_=t.i[v.p],S=v.c?mZ(v.c.a,v,0):-1,o=RSt,S>0&&(a=RR(JN(v.c.a,S-1),10),s=t.i[a.p],I=r.Math.ceil(EA(t.n,a,v)),o=_.a.e-v.d.d-(s.a.e+a.o.b+a.d.a)-I),l=RSt,S<v.c.a.c.length-1&&(c=RR(JN(v.c.a,S+1),10),h=t.i[c.p],I=r.Math.ceil(EA(t.n,c,v)),l=h.a.e-c.d.d-(_.a.e+v.o.b+v.d.a)-I),!!(n&&(mA(),IJ(bEt),r.Math.abs(o-l)<=bEt||o==l||isNaN(o)&&isNaN(l)))||(i=jB(w.a),u=-jB(w.b),f=-jB(k.a),y=jB(k.b),b=w.a.e.e-w.a.a-(w.b.e.e-w.b.a)>0&&k.a.e.e-k.a.a-(k.b.e.e-k.b.a)<0,g=w.a.e.e-w.a.a-(w.b.e.e-w.b.a)<0&&k.a.e.e-k.a.a-(k.b.e.e-k.b.a)>0,p=w.a.e.e+w.b.a<k.b.e.e+k.a.a,d=w.a.e.e+w.b.a>k.b.e.e+k.a.a,x=0,!b&&!g&&(d?o+f>0?x=f:l-i>0&&(x=i):p&&(o+u>0?x=u:l-y>0&&(x=y))),_.a.e+=x,_.b&&(_.d.e+=x),!1)))}function Twt(t,e,n){var i,a,o,s,u,c,l,h,f,d;if(i=new j$(e.of().a,e.of().b,e.pf().a,e.pf().b),a=new YT,t.c)for(s=new ed(e.uf());s.a<s.c.c.length;)o=RR(xG(s),183),a.c=o.of().a+e.of().a,a.d=o.of().b+e.of().b,a.b=o.pf().a,a.a=o.pf().b,mut(i,a);for(l=new ed(e.Af());l.a<l.c.c.length;){if(h=(c=RR(xG(l),817)).of().a+e.of().a,f=c.of().b+e.of().b,t.e&&(a.c=h,a.d=f,a.b=c.pf().a,a.a=c.pf().b,mut(i,a)),t.d)for(s=new ed(c.uf());s.a<s.c.c.length;)o=RR(xG(s),183),a.c=o.of().a+h,a.d=o.of().b+f,a.b=o.pf().a,a.a=o.pf().b,mut(i,a);if(t.b){if(d=new YM(-n,-n),RR(e.Xe((fxt(),j9t)),174).Fc((aot(),Tte)))for(s=new ed(c.uf());s.a<s.c.c.length;)o=RR(xG(s),183),d.a+=o.pf().a+n,d.b+=o.pf().b+n;d.a=r.Math.max(d.a,0),d.b=r.Math.max(d.b,0),vbt(i,c.zf(),c.xf(),e,c,d,n)}}t.b&&vbt(i,e.zf(),e.xf(),e,null,null,n),(u=new eR(e.yf())).d=r.Math.max(0,e.of().b-i.d),u.a=r.Math.max(0,i.d+i.a-(e.of().b+e.pf().b)),u.b=r.Math.max(0,e.of().a-i.c),u.c=r.Math.max(0,i.c+i.b-(e.of().a+e.pf().a)),e.Cf(u)}function Awt(t,e){var n,r,i,a,o,s,u,c,l,h,f;if(bxt(),0==Y_(Mae)){for(h=hK(Kae,u_t,117,Tae.length,0,1),o=0;o<h.length;o++)h[o]=(new uG(4));for(r=new dw,a=0;a<Iae.length;a++){if(l=new uG(4),a<84?(AW(s=2*a,rjt.length),f=rjt.charCodeAt(s),AW(s+1,rjt.length),Bdt(l,f,rjt.charCodeAt(s+1))):Bdt(l,Aae[s=2*(a-84)],Aae[s+1]),hL(u=Iae[a],"Specials")&&Bdt(l,65520,65533),hL(u,ejt)&&(Bdt(l,983040,1048573),Bdt(l,1048576,1114109)),mW(Mae,u,l),mW(Cae,u,$bt(l)),0<(c=r.a.length)?r.a=r.a.substr(0,0):0>c&&(r.a+=JA(hK(eoe,q_t,24,-c,15,1))),r.a+="Is",ST(u,mot(32))>=0)for(i=0;i<u.length;i++)AW(i,u.length),32!=u.charCodeAt(i)&&rz(r,(AW(i,u.length),u.charCodeAt(i)));else r.a+=""+u;ttt(r.a,u,!0)}ttt(njt,"Cn",!1),ttt(ijt,"Cn",!0),Bdt(n=new uG(4),0,UNt),mW(Mae,"ALL",n),mW(Cae,"ALL",$bt(n)),!Xae&&(Xae=new Hb),mW(Xae,njt,njt),!Xae&&(Xae=new Hb),mW(Xae,ijt,ijt),!Xae&&(Xae=new Hb),mW(Xae,"ALL","ALL")}return RR(IH(e?Mae:Cae,t),136)}function Ewt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g,b,v;if(f=!1,h=!1,jT(RR(Bot(r,(Zwt(),nJt)),100))){o=!1,s=!1;t:for(p=new ed(r.j);p.a<p.c.c.length;)for(d=RR(xG(p),11),g=ZF(u1(X3(uw(wjt,1),zxt,19,0,[new Qd(d),new tp(d)])));Qlt(g);)if(!Ay($D(Bot(RR(dq(g),11).i,DZt)))){if(d.j==(dwt(),Ote)){o=!0;break t}if(d.j==Kte){s=!0;break t}}f=s&&!o,h=o&&!s}if(f||h||0==r.b.c.length)v=!h;else{for(l=0,c=new ed(r.b);c.a<c.c.c.length;)l+=(u=RR(xG(c),69)).n.b+u.o.b/2;v=(l/=r.b.c.length)>=r.o.b/2}v?(b=RR(Bot(r,(dxt(),tYt)),14))?f?a=b:(i=RR(Bot(r,tqt),14))?a=b.gc()<=i.gc()?b:i:(a=new Vb,S4(r,tqt,a)):(a=new Vb,S4(r,tYt,a)):(i=RR(Bot(r,(dxt(),tqt)),14))?h?a=i:(b=RR(Bot(r,tYt),14))?a=i.gc()<=b.gc()?i:b:(a=new Vb,S4(r,tYt,a)):(a=new Vb,S4(r,tqt,a)),a.Dc(t),S4(t,(dxt(),nqt),n),e.d==n?(EW(e,null),n.e.c.length+n.g.c.length==0&&OW(n,null),function(t){var e,n;(e=RR(Bot(t,(dxt(),$qt)),10))&&(yZ((n=e.c).a,e),0==n.a.c.length&&yZ(jz(e).b,n))}(n)):(PW(e,null),n.e.c.length+n.g.c.length==0&&OW(n,null)),sV(e.a)}function Pwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P,D;for(qat(n,"MinWidth layering",1),g=e.b,I=e.a,D=RR(Bot(e,(Zwt(),kQt)),20).a,u=RR(Bot(e,IQt),20).a,t.b=Dy(VD(Bot(e,wJt))),t.d=RSt,_=new ed(I);_.a<_.c.c.length;)(w=RR(xG(_),10)).k==(vst(),YHt)&&(T=w.o.b,t.d=r.Math.min(t.d,T));for(t.d=r.Math.max(1,t.d),M=I.c.length,t.c=hK(noe,uSt,24,M,15,1),t.f=hK(noe,uSt,24,M,15,1),t.e=hK(ooe,$St,24,M,15,1),l=0,t.a=0,S=new ed(I);S.a<S.c.c.length;)(w=RR(xG(S),10)).p=l++,t.c[w.p]=a6(p9(w)),t.f[w.p]=a6(g9(w)),t.e[w.p]=w.o.b/t.d,t.a+=t.e[w.p];for(t.b/=t.d,t.a/=M,k=function(t){var e,n,r,i,a,o;for(o=VP(t.c.length),i=new ed(t);i.a<i.c.c.length;){for(r=RR(xG(i),10),a=new Pv,n=new xF(zE(g9(r).a.Ic(),new p));Qlt(n);)(e=RR(dq(n),18)).c.i==e.d.i||cB(a,e.d.i);o.c[o.c.length]=a}return o}(I),kA(I,w$(new qp(t))),v=RSt,b=Lxt,s=null,P=D,E=D,o=u,a=u,D<0&&(P=RR(v0t.a.zd(),20).a,E=RR(v0t.b.zd(),20).a),u<0&&(o=RR(b0t.a.zd(),20).a,a=RR(b0t.b.zd(),20).a),A=P;A<=E;A++)for(i=o;i<=a;i++)y=Dy(VD((C=Dvt(t,A,i,I,k)).a)),m=(d=RR(C.b,14)).gc(),(y<v||y==v&&m<b)&&(v=y,b=m,s=d);for(f=s.Ic();f.Ob();){for(h=RR(f.Pb(),14),c=new bz(e),x=h.Ic();x.Ob();)DW(w=RR(x.Pb(),10),c);g.c[g.c.length]=c}But(g),I.c=hK(gjt,zxt,1,0,5,1),Sst(n)}function Dwt(t){WS(t,new iot(Yw(Hw(qw(Uw(new fs,vPt),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new Ko))),rU(t,vPt,XIt,1.3),rU(t,vPt,bPt,bet(K4t)),rU(t,vPt,qIt,i5t),rU(t,vPt,bMt,15),rU(t,vPt,GAt,bet(X4t)),rU(t,vPt,uPt,bet(n5t)),rU(t,vPt,cPt,bet(t5t)),rU(t,vPt,fPt,bet(e5t)),rU(t,vPt,dPt,bet(a5t)),rU(t,vPt,pPt,bet(Z4t)),rU(t,vPt,wMt,bet(Q4t)),rU(t,vPt,iEt,bet(J4t)),rU(t,vPt,hPt,bet(Y4t)),rU(t,vPt,lPt,bet(q4t)),rU(t,vPt,gPt,bet(s5t))}function Owt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;if(g=0!=t.i,m=!1,b=null,FT(t.e)){if((l=e.gc())>0){for(f=l<100?null:new cx(l),p=(c=new M2(e)).g,b=hK(noe,uSt,24,l,15,1),r=0,y=new WQ(l),i=0;i<t.i;++i){d=s=t.g[i];t:for(v=0;v<2;++v){for(u=l;--u>=0;)if(null!=d?u8(d,p[u]):DC(d)===DC(p[u])){b.length<=r&&Yvt(b,0,b=hK(noe,uSt,24,2*b.length,15,1),0,r),b[r++]=i,EK(y,p[u]);break t}if(DC(d)===DC(s))break}}if(c=y,p=y.g,l=r,r>b.length&&Yvt(b,0,b=hK(noe,uSt,24,r,15,1),0,r),r>0){for(m=!0,a=0;a<r;++a)f=DL(t,RR(d=p[a],71),f);for(o=r;--o>=0;)Nrt(t,b[o]);if(r!=l){for(i=l;--i>=r;)Nrt(c,i);Yvt(b,0,b=hK(noe,uSt,24,r,15,1),0,r)}e=c}}}else for(e=function(t,e){var n,r,i;if(e.dc())return CD(),CD(),$ne;for(n=new sO(t,e.gc()),i=new SE(t);i.e!=i.i.gc();)r=Htt(i),e.Fc(r)&&EK(n,r);return n}(t,e),i=t.i;--i>=0;)e.Fc(t.g[i])&&(Nrt(t,i),m=!0);if(m){if(null!=b){for(h=1==(n=e.gc())?sW(t,4,e.Ic().Pb(),null,b[0],g):sW(t,6,e,b,b[0],g),f=n<100?null:new cx(n),i=e.Ic();i.Ob();)f=PL(t,RR(d=i.Pb(),71),f);f?(f.zi(h),f.Ai()):Y2(t.e,h)}else{for(f=function(t){return t<100?null:new cx(t)}(e.gc()),i=e.Ic();i.Ob();)f=PL(t,RR(d=i.Pb(),71),f);f&&f.Ai()}return!0}return!1}function Lwt(t,e){var n,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w;for((n=new nnt(e)).a||function(t){var e,n,i,a,o;switch(a=RR(JN(t.a,0),10),e=new knt(t),LR(t.a,e),e.o.a=r.Math.max(1,a.o.a),e.o.b=r.Math.max(1,a.o.b),e.n.a=a.n.a,e.n.b=a.n.b,RR(Bot(a,(dxt(),pqt)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}OW(i=new Dst,e),PW(n=new NV,o=RR(JN(a.j,0),11)),EW(n,i),zO(nT(i.n),o.n),zO(nT(i.a),o.a)}(e),l=function(t){var e,n,r,i,a,o,s;for(s=new _q,o=new ed(t.a);o.a<o.c.c.length;)if((a=RR(xG(o),10)).k!=(vst(),UHt))for(dht(s,a,new fx),i=new xF(zE(g9(a).a.Ic(),new p));Qlt(i);)if((r=RR(dq(i),18)).c.i.k!=UHt&&r.d.i.k!=UHt)for(n=het(r.a,0);n.b!=n.d.c;)sat(s,new Uk((e=RR(zU(n),8)).a,e.b));return s}(e),c=new yH,v=new Fdt,b=new ed(e.a);b.a<b.c.c.length;)for(a=new xF(zE(g9(RR(xG(b),10)).a.Ic(),new p));Qlt(a);)(i=RR(dq(a),18)).c.i.k!=(vst(),UHt)&&i.d.i.k!=UHt||Kct(c,wet((h=Fyt(t,i,l,v)).d),h.a);for(s=new Vb,w=RR(Bot(n.c,(dxt(),hqt)),21).Ic();w.Ob();){switch(y=RR(w.Pb(),61),g=v.c[y.g],d=v.b[y.g],u=v.a[y.g],o=null,m=null,y.g){case 4:o=new j$(t.d.a,g,l.b.a-t.d.a,d-g),m=new j$(t.d.a,g,u,d-g),SN(l,new YM(o.c+o.b,o.d)),SN(l,new YM(o.c+o.b,o.d+o.a));break;case 2:o=new j$(l.a.a,g,t.c.a-l.a.a,d-g),m=new j$(t.c.a-u,g,u,d-g),SN(l,new YM(o.c,o.d)),SN(l,new YM(o.c,o.d+o.a));break;case 1:o=new j$(g,t.d.b,d-g,l.b.b-t.d.b),m=new j$(g,t.d.b,d-g,u),SN(l,new YM(o.c,o.d+o.a)),SN(l,new YM(o.c+o.b,o.d+o.a));break;case 3:o=new j$(g,l.a.b,d-g,t.c.b-l.a.b),m=new j$(g,t.c.b-u,d-g,u),SN(l,new YM(o.c,o.d)),SN(l,new YM(o.c+o.b,o.d))}o&&((f=new qv).d=y,f.b=o,f.c=m,f.a=MV(RR(Kq(c,wet(y)),21)),s.c[s.c.length]=f)}return R3(n.b,s),n.d=function(t){var e;return e=new UQ(t),qG(t.a,jHt,new $y(X3(uw(MHt,1),zxt,366,0,[e]))),e.d&&LR(e.f,e.d),e.f}(function(t){var e,n,r,i,a,o,s;for(BQ(),s=new Hv,n=new ed(t);n.a<n.c.c.length;)e=RR(xG(n),140),(!s.b||e.c>=s.b.c)&&(s.b=e),(!s.c||e.c<=s.c.c)&&(s.d=s.c,s.c=e),(!s.e||e.d>=s.e.d)&&(s.e=e),(!s.f||e.d<=s.f.d)&&(s.f=e);return r=new Tet((p4(),CHt)),qG(t,NHt,new $y(X3(uw(MHt,1),zxt,366,0,[r]))),o=new Tet(EHt),qG(t,RHt,new $y(X3(uw(MHt,1),zxt,366,0,[o]))),i=new Tet(THt),qG(t,LHt,new $y(X3(uw(MHt,1),zxt,366,0,[i]))),a=new Tet(AHt),qG(t,OHt,new $y(X3(uw(MHt,1),zxt,366,0,[a]))),vft(r.c,CHt),vft(i.c,THt),vft(a.c,AHt),vft(o.c,EHt),s.a.c=hK(gjt,zxt,1,0,5,1),R3(s.a,r.c),R3(s.a,T2(i.c)),R3(s.a,a.c),R3(s.a,T2(o.c)),s}(l)),n}function Rwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g;if(null==n.p[e.p]){u=!0,n.p[e.p]=0,s=e,g=n.o==(YH(),Y0t)?NSt:RSt;do{a=t.b.e[s.p],o=s.c.a.c.length,n.o==Y0t&&a>0||n.o==K0t&&a<o-1?(c=null,null,c=n.o==K0t?RR(JN(s.c.a,a+1),10):RR(JN(s.c.a,a-1),10),Rwt(t,l=n.g[c.p],n),g=t.e.Yf(g,e,s),n.j[e.p]==e&&(n.j[e.p]=n.j[l.p]),n.j[e.p]==n.j[l.p]?(p=EA(t.d,s,c),n.o==K0t?(i=Dy(n.p[e.p]),f=Dy(n.p[l.p])+Dy(n.d[c.p])-c.d.d-p-s.d.a-s.o.b-Dy(n.d[s.p]),u?(u=!1,n.p[e.p]=r.Math.min(f,g)):n.p[e.p]=r.Math.min(i,r.Math.min(f,g))):(i=Dy(n.p[e.p]),f=Dy(n.p[l.p])+Dy(n.d[c.p])+c.o.b+c.d.a+p+s.d.d-Dy(n.d[s.p]),u?(u=!1,n.p[e.p]=r.Math.max(f,g)):n.p[e.p]=r.Math.max(i,r.Math.max(f,g)))):(p=Dy(VD(Bot(t.a,(Zwt(),AJt)))),d=S0(t,n.j[e.p]),h=S0(t,n.j[l.p]),n.o==K0t?rG(d,h,Dy(n.p[e.p])+Dy(n.d[s.p])+s.o.b+s.d.a+p-(Dy(n.p[l.p])+Dy(n.d[c.p])-c.d.d)):rG(d,h,Dy(n.p[e.p])+Dy(n.d[s.p])-s.d.d-Dy(n.p[l.p])-Dy(n.d[c.p])-c.o.b-c.d.a-p))):g=t.e.Yf(g,e,s),s=n.a[s.p]}while(s!=e);!function(t,e){cB(t.b,e)}(t.e,e)}}function Nwt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,g,b;if(Ay($D(_ht(e,(fxt(),m9t)))))return mV(),mV(),YFt;if(u=0!=(!e.a&&(e.a=new FF(lne,e,10,11)),e.a).i,l=function(t){var e,n,r;if(Ay($D(_ht(t,(fxt(),J8t))))){for(r=new Vb,n=new xF(zE(uft(t).a.Ic(),new p));Qlt(n);)Jct(e=RR(dq(n),80))&&Ay($D(_ht(e,t9t)))&&(r.c[r.c.length]=e);return r}return mV(),mV(),YFt}(e),c=!l.dc(),u||c){if(!(i=RR(_ht(e,G9t),149)))throw Jb(new Xy("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(b=gC(i,(qlt(),kne)),qtt(e),!u&&c&&!b)return mV(),mV(),YFt;if(s=new Vb,DC(_ht(e,K8t))===DC((P8(),H7t))&&(gC(i,xne)||gC(i,wne)))for(f=$pt(t,e),W0(d=new sS,(!e.a&&(e.a=new FF(lne,e,10,11)),e.a));0!=d.b;)qtt(h=RR(0==d.b?null:(MP(0!=d.b),uJ(d,d.a.a)),34)),DC(_ht(h,K8t))===DC(G7t)||fK(h,A8t)&&!Bq(i,_ht(h,G9t))?(R3(s,Nwt(t,h,n,r)),Bet(h,K8t,G7t),Pgt(h)):W0(d,(!h.a&&(h.a=new FF(lne,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new FF(lne,e,10,11)),e.a).i,o=new SE((!e.a&&(e.a=new FF(lne,e,10,11)),e.a));o.e!=o.i.gc();)R3(s,Nwt(t,a=RR(Htt(o),34),n,r)),Pgt(a);for(g=new ed(s);g.a<g.c.c.length;)Bet(RR(xG(g),80),m9t,(_P(),!0));return Ptt(e,i,o2(r,f)),function(t){var e,n,r,i,a,o,s,u;for(o=new ed(t);o.a<o.c.c.length;){for(a=RR(xG(o),80),s=(r=Yat(RR(sJ((!a.b&&(a.b=new nL(nne,a,4,7)),a.b),0),93))).i,u=r.j,WT(i=RR(sJ((!a.a&&(a.a=new FF(ine,a,6,6)),a.a),0),201),i.j+s,i.k+u),HT(i,i.b+s,i.c+u),n=new SE((!i.a&&(i.a=new fE(Jee,i,5)),i.a));n.e!=n.i.gc();)zT(e=RR(Htt(n),463),e.a+s,e.b+u);q0(RR(_ht(a,(fxt(),r9t)),74),s,u)}}(s),c&&b?l:(mV(),mV(),YFt)}return mV(),mV(),YFt}function jwt(t,e,n,r,i,a,o,s,u){var c,l,h,f,d,p,g;switch(d=n,mf(l=new knt(u),(vst(),UHt)),S4(l,(dxt(),gqt),o),S4(l,(Zwt(),nJt),(Fat(),mte)),g=Dy(VD(t.Xe(eJt))),S4(l,eJt,g),OW(h=new Dst,l),e!=xte&&e!=_te||(d=r>0?K9(s):z8(K9(s)),t.Ze(sJt,d)),c=new fx,f=!1,t.Ye(tJt)?(iD(c,RR(t.Xe(tJt),8)),f=!0):function(t,e,n){t.a=e,t.b=n}(c,o.a/2,o.b/2),d.g){case 4:S4(l,_Qt,(H9(),nYt)),S4(l,uqt,(f4(),KUt)),l.o.b=o.b,g<0&&(l.o.a=-g),vct(h,(dwt(),Dte)),f||(c.a=o.a),c.a-=o.a;break;case 2:S4(l,_Qt,(H9(),iYt)),S4(l,uqt,(f4(),qUt)),l.o.b=o.b,g<0&&(l.o.a=-g),vct(h,(dwt(),Qte)),f||(c.a=0);break;case 1:S4(l,xqt,(JZ(),UXt)),l.o.a=o.a,g<0&&(l.o.b=-g),vct(h,(dwt(),Kte)),f||(c.b=o.b),c.b-=o.b;break;case 3:S4(l,xqt,(JZ(),WXt)),l.o.a=o.a,g<0&&(l.o.b=-g),vct(h,(dwt(),Ote)),f||(c.b=0)}if(iD(h.n,c),S4(l,tJt,c),e==vte||e==yte||e==mte){if(p=0,e==vte&&t.Ye(rJt))switch(d.g){case 1:case 2:p=RR(t.Xe(rJt),20).a;break;case 3:case 4:p=-RR(t.Xe(rJt),20).a}else switch(d.g){case 4:case 2:p=a.b,e==yte&&(p/=i.b);break;case 1:case 3:p=a.a,e==yte&&(p/=i.a)}S4(l,Vqt,p)}return S4(l,pqt,d),l}function Fwt(t,e,n,i,a,o,s){var u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P;for(b=0,C=0,l=new ed(t.b);l.a<l.c.c.length;)(c=RR(xG(l),157)).c&&Ryt(c.c),b=r.Math.max(b,sj(c)),C+=sj(c)*oj(c);for(v=C/t.b.c.length,M=function(t,e){var n,i,a;for(a=0,i=new ed(t);i.a<i.c.c.length;)n=RR(xG(i),157),a+=r.Math.pow(sj(n)*oj(n)-e,2);return r.Math.sqrt(a/(t.c.length-1))}(t.b,v),C+=t.b.c.length*M,b=r.Math.max(b,r.Math.sqrt(C*s))+n.b,E=n.b,P=n.d,p=0,f=n.b+n.c,vN(I=new sS,k8(0)),S=new sS,h=new tU(t.b,0),g=null,u=new Vb;h.b<h.d.gc();)MP(h.b<h.d.gc()),A=sj(c=RR(h.d.Xb(h.c=h.b++),157)),d=oj(c),E+A>b&&(o&&(ZC(S,p),ZC(I,k8(h.b-1)),LR(t.d,g),u.c=hK(gjt,zxt,1,0,5,1)),E=n.b,P+=p+e,p=0,f=r.Math.max(f,n.b+n.c+A)),u.c[u.c.length]=c,_et(c,E,P),f=r.Math.max(f,E+A+n.c),p=r.Math.max(p,d),E+=A+e,g=c;if(R3(t.a,u),LR(t.d,RR(JN(u,u.c.length-1),157)),f=r.Math.max(f,i),(T=P+p+n.a)<a&&(p+=a-T,T=a),o)for(E=n.b,h=new tU(t.b,0),ZC(I,k8(t.b.c.length)),y=RR(zU(k=het(I,0)),20).a,ZC(S,p),_=het(S,0),x=0;h.b<h.d.gc();)h.b==y&&(E=n.b,x=Dy(VD(zU(_))),y=RR(zU(k),20).a),MP(h.b<h.d.gc()),Stt(c=RR(h.d.Xb(h.c=h.b++),157),x),h.b==y&&(m=f-E-n.c,w=sj(c),ktt(c,m),Q8(c,(m-w)/2,0)),E+=sj(c)+e;return new YM(f,T)}function Bwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b;if(i=new Vb,a=Lxt,o=Lxt,s=Lxt,n)for(a=t.f.a,g=new ed(e.j);g.a<g.c.c.length;)for(c=new ed(RR(xG(g),11).g);c.a<c.c.c.length;)0!=(u=RR(xG(c),18)).a.b&&((h=RR(WP(u.a),8)).a<a&&(o=a-h.a,s=Lxt,i.c=hK(gjt,zxt,1,0,5,1),a=h.a),h.a<=a&&(i.c[i.c.length]=u,u.a.b>1&&(s=r.Math.min(s,r.Math.abs(RR(met(u.a,1),8).b-h.b)))));else for(g=new ed(e.j);g.a<g.c.c.length;)for(c=new ed(RR(xG(g),11).e);c.a<c.c.c.length;)0!=(u=RR(xG(c),18)).a.b&&((d=RR(HP(u.a),8)).a>a&&(o=d.a-a,s=Lxt,i.c=hK(gjt,zxt,1,0,5,1),a=d.a),d.a>=a&&(i.c[i.c.length]=u,u.a.b>1&&(s=r.Math.min(s,r.Math.abs(RR(met(u.a,u.a.b-2),8).b-d.b)))));if(0!=i.c.length&&o>e.o.a/2&&s>e.o.b/2){for(OW(p=new Dst,e),vct(p,(dwt(),Ote)),p.n.a=e.o.a/2,OW(b=new Dst,e),vct(b,Kte),b.n.a=e.o.a/2,b.n.b=e.o.b,c=new ed(i);c.a<c.c.c.length;)u=RR(xG(c),18),n?(l=RR(IR(u.a),8),(0==u.a.b?eG(u.d):RR(WP(u.a),8)).b>=l.b?PW(u,b):PW(u,p)):(l=RR(MR(u.a),8),(0==u.a.b?eG(u.c):RR(HP(u.a),8)).b>=l.b?EW(u,b):EW(u,p)),(f=RR(Bot(u,(Zwt(),yQt)),74))&&u7(f,l,!0);e.n.a=a-e.o.a/2}}function zwt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;if(null,c=e,B1(u=oX(t,iX(n),c),EU(c,TOt)),l=RR(lJ(t.g,Dct(xH(c,cOt))),34),r=null,(o=xH(c,"sourcePort"))&&(r=Dct(o)),h=RR(lJ(t.j,r),122),!l)throw Jb(new Yy("An edge must have a source node (edge id: '"+att(c)+OOt));if(h&&!Cz(VH(h),l))throw Jb(new Yy("The source port of an edge must be a port of the edge's source node (edge id: '"+EU(c,TOt)+OOt));if(!u.b&&(u.b=new nL(nne,u,4,7)),null,EK(u.b,h||l),f=RR(lJ(t.g,Dct(xH(c,NOt))),34),i=null,(s=xH(c,"targetPort"))&&(i=Dct(s)),d=RR(lJ(t.j,i),122),!f)throw Jb(new Yy("An edge must have a target node (edge id: '"+att(c)+OOt));if(d&&!Cz(VH(d),f))throw Jb(new Yy("The target port of an edge must be a port of the edge's target node (edge id: '"+EU(c,TOt)+OOt));if(!u.c&&(u.c=new nL(nne,u,5,8)),null,EK(u.c,d||f),0==(!u.b&&(u.b=new nL(nne,u,4,7)),u.b).i||0==(!u.c&&(u.c=new nL(nne,u,5,8)),u.c).i)throw a=EU(c,TOt),Jb(new Yy(DOt+a+OOt));return oot(c,u),Aht(c,u),H4(t,c,u)}function $wt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C;return f=function(t,e){var n,i,a,o,s,u,c,l,h,f,d;if(t.dc())return new fx;for(c=0,h=0,i=t.Ic();i.Ob();)a=RR(i.Pb(),38).f,c=r.Math.max(c,a.a),h+=a.a*a.b;for(c=r.Math.max(c,r.Math.sqrt(h)*Dy(VD(Bot(RR(t.Ic().Pb(),38),(Zwt(),PZt))))),f=0,d=0,u=0,n=e,s=t.Ic();s.Ob();)f+(l=(o=RR(s.Pb(),38)).f).a>c&&(f=0,d+=u+e,u=0),ogt(o,f,d),n=r.Math.max(n,f+l.a),u=r.Math.max(u,l.b),f+=l.a+e;return new YM(n+e,d+u+e)}(bP(t,(dwt(),Fte)),e),g=_rt(bP(t,Bte),e),x=_rt(bP(t,Xte),e),I=Srt(bP(t,Yte),e),d=Srt(bP(t,Lte),e),y=_rt(bP(t,Ute),e),b=_rt(bP(t,zte),e),S=_rt(bP(t,qte),e),_=_rt(bP(t,Rte),e),M=Srt(bP(t,jte),e),m=_rt(bP(t,Wte),e),w=_rt(bP(t,Hte),e),k=_rt(bP(t,Nte),e),C=Srt(bP(t,Gte),e),p=Srt(bP(t,$te),e),v=_rt(bP(t,Vte),e),n=V4(X3(uw(ooe,1),$St,24,15,[y.a,I.a,S.a,C.a])),i=V4(X3(uw(ooe,1),$St,24,15,[g.a,f.a,x.a,v.a])),a=m.a,o=V4(X3(uw(ooe,1),$St,24,15,[b.a,d.a,_.a,p.a])),l=V4(X3(uw(ooe,1),$St,24,15,[y.b,g.b,b.b,w.b])),c=V4(X3(uw(ooe,1),$St,24,15,[I.b,f.b,d.b,v.b])),h=M.b,u=V4(X3(uw(ooe,1),$St,24,15,[S.b,x.b,_.b,k.b])),LK(bP(t,Fte),n+a,l+h),LK(bP(t,Vte),n+a,l+h),LK(bP(t,Bte),n+a,0),LK(bP(t,Xte),n+a,l+h+c),LK(bP(t,Yte),0,l+h),LK(bP(t,Lte),n+a+i,l+h),LK(bP(t,zte),n+a+i,0),LK(bP(t,qte),0,l+h+c),LK(bP(t,Rte),n+a+i,l+h+c),LK(bP(t,jte),0,l),LK(bP(t,Wte),n,0),LK(bP(t,Nte),0,l+h+c),LK(bP(t,$te),n+a+i,0),(s=new fx).a=V4(X3(uw(ooe,1),$St,24,15,[n+i+a+o,M.a,w.a,k.a])),s.b=V4(X3(uw(ooe,1),$St,24,15,[l+c+h+u,m.b,C.b,p.b])),s}function Vwt(t,e,n){var i,a,o,s,u,c,l;if(qat(n,"Network simplex node placement",1),t.e=e,t.n=RR(Bot(e,(dxt(),qqt)),302),function(t){var e,n,i,a,o,s,u,c,l,h,f,d;for(t.f=new Lv,u=0,i=0,a=new ed(t.e.b);a.a<a.c.c.length;)for(s=new ed(RR(xG(a),29).a);s.a<s.c.c.length;){for((o=RR(xG(s),10)).p=u++,n=new xF(zE(g9(o).a.Ic(),new p));Qlt(n);)RR(dq(n),18).p=i++;for(e=gmt(o),h=new ed(o.j);h.a<h.c.c.length;)l=RR(xG(h),11),e&&(d=l.a.b)!=r.Math.floor(d)&&(c=d-WG(C2(r.Math.round(d))),l.a.b-=c),(f=l.n.b+l.a.b)!=r.Math.floor(f)&&(c=f-WG(C2(r.Math.round(f))),l.n.b-=c)}t.g=u,t.b=i,t.i=hK(W0t,zxt,397,u,0,1),t.c=hK(H0t,zxt,639,i,0,1),t.d.a.$b()}(t),function(t){var e;for(e=new ed(t.e.b);e.a<e.c.c.length;)jyt(t,RR(xG(e),29));uS(_$(oQ(oQ(new lj(null,new ZW(t.e.b,16)),new Ha),new Ya),new Ka),new yg(t))}(t),uS(oQ(new lj(null,new ZW(t.e.b,16)),new Da),new pg(t)),uS(_$(oQ(_$(oQ(new lj(null,new ZW(t.e.b,16)),new Za),new Qa),new Ja),new to),new dg(t)),Ay($D(Bot(t.e,(Zwt(),NQt))))&&(qat(o=o2(n,1),"Straight Edges Pre-Processing",1),function(t){var e,n,i,a,o,s,u,c,l,h;for(t.j=hK(noe,uSt,24,t.g,15,1),t.o=new Vb,uS(oQ(new lj(null,new ZW(t.e.b,16)),new Wa),new bg(t)),t.a=hK(roe,Zkt,24,t.b,16,1),i8(new lj(null,new ZW(t.e.b,16)),new mg(t)),h=new Vb,uS(_$(oQ(new lj(null,new ZW(t.e.b,16)),new Ua),new vg(t)),new KI(t,h)),u=new ed(h);u.a<u.c.c.length;)if(!((s=RR(xG(u),500)).c.length<=1))if(2!=s.c.length){if(!Rat(s)&&!kut(s,new Ga))for(c=new ed(s),i=null;c.a<c.c.c.length;)e=RR(xG(c),18),n=t.c[e.p],l=!i||c.a>=c.c.c.length?RX((vst(),YHt),qHt):RX((vst(),qHt),qHt),l*=2,a=n.a.g,n.a.g=r.Math.max(a,a+(l-a)),o=n.b.g,n.b.g=r.Math.max(o,o+(l-o)),i=e}else ght(s),gmt((TW(0,s.c.length),RR(s.c[0],18)).d.i)||LR(t.o,s)}(t),Sst(o)),vnt(t.f),a=RR(Bot(e,LJt),20).a*t.f.a.c.length,Ngt(kw(Iw(HL(t.f),a),!1),o2(n,1)),0!=t.d.a.gc()){for(qat(o=o2(n,1),"Flexible Where Space Processing",1),s=RR(lP(MF(S$(new lj(null,new ZW(t.f.a,16)),new Ra),new Ma)),20).a,u=RR(lP(IF(S$(new lj(null,new ZW(t.f.a,16)),new Na),new Ca)),20).a-s,c=dP(new jv,t.f),l=dP(new jv,t.f),Kft(bS(gS(pS(vS(new Nv,2e4),u),c),l)),uS(_$(_$(mB(t.i),new ja),new Fa),new R$(s,c,u,l)),i=t.d.a.ec().Ic();i.Ob();)RR(i.Pb(),211).g=1;Ngt(kw(Iw(HL(t.f),a),!1),o2(o,1)),Sst(o)}Ay($D(Bot(e,NQt)))&&(qat(o=o2(n,1),"Straight Edges Post-Processing",1),function(t){var e,n,r;for(W0(n=new sS,t.o),r=new im;0!=n.b;)Cwt(t,e=RR(0==n.b?null:(MP(0!=n.b),uJ(n,n.a.a)),500),!0)&&LR(r.a,e);for(;0!=r.a.c.length;)Cwt(t,e=RR(D5(r),500),!1)}(t),Sst(o)),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g;for(n=new ed(t.e.b);n.a<n.c.c.length;)for(i=new ed(RR(xG(n),29).a);i.a<i.c.c.length;)if(r=RR(xG(i),10),u=(h=t.i[r.p]).a.e,s=h.d.e,r.n.b=u,g=s-u-r.o.b,e=gmt(r),int(),l=(r.q?r.q:(mV(),mV(),KFt))._b((Zwt(),FQt))?RR(Bot(r,FQt),196):RR(Bot(jz(r),BQt),196),e&&(l==i1t||l==r1t)&&(r.o.b+=g),e&&(l==o1t||l==i1t||l==r1t)){for(d=new ed(r.j);d.a<d.c.c.length;)f=RR(xG(d),11),(dwt(),jte).Fc(f.j)&&(c=RR(oz(t.k,f),119),f.n.b=c.e-u);for(o=new ed(r.b);o.a<o.c.c.length;)a=RR(xG(o),69),(p=RR(Bot(r,OQt),21)).Fc((kht(),ate))?a.n.b+=g:p.Fc(ote)&&(a.n.b+=g/2);(l==i1t||l==r1t)&&i9(r,(dwt(),Kte)).Hc(new gg(g))}}(t),t.e=null,t.f=null,t.i=null,t.c=null,JF(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),Sst(n)}function Hwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;for(s=new ed(t.a.b);s.a<s.c.c.length;)for(y=new ed(RR(xG(s),29).a);y.a<y.c.c.length;)m=RR(xG(y),10),e.g[m.p]=m,e.a[m.p]=m,e.d[m.p]=0;for(u=t.a.b,e.c==(sH(),U0t)&&(u=zA(u,151)?Qq(RR(u,151)):zA(u,131)?RR(u,131).a:zA(u,53)?new ry(u):new D_(u)),o=u.Ic();o.Ob();)for(d=-1,f=RR(o.Pb(),29).a,e.o==(YH(),K0t)&&(d=Lxt,f=zA(f,151)?Qq(RR(f,151)):zA(f,131)?RR(f,131).a:zA(f,53)?new ry(f):new D_(f)),x=f.Ic();x.Ob();)if(w=RR(x.Pb(),10),h=null,(h=e.c==U0t?RR(JN(t.b.f,w.p),14):RR(JN(t.b.b,w.p),14)).gc()>0)if(i=h.gc(),c=CH(r.Math.floor((i+1)/2))-1,a=CH(r.Math.ceil((i+1)/2))-1,e.o==K0t)for(l=a;l>=c;l--)e.a[w.p]==w&&(g=RR(h.Xb(l),46),p=RR(g.a,10),!q_(n,g.b)&&d>t.b.e[p.p]&&(e.a[p.p]=w,e.g[w.p]=e.g[p.p],e.a[w.p]=e.g[w.p],e.f[e.g[w.p].p]=(_P(),!!(Ay(e.f[e.g[w.p].p])&w.k==(vst(),qHt))),d=t.b.e[p.p]));else for(l=c;l<=a;l++)e.a[w.p]==w&&(v=RR(h.Xb(l),46),b=RR(v.a,10),!q_(n,v.b)&&d<t.b.e[b.p]&&(e.a[b.p]=w,e.g[w.p]=e.g[b.p],e.a[w.p]=e.g[w.p],e.f[e.g[w.p].p]=(_P(),!!(Ay(e.f[e.g[w.p].p])&w.k==(vst(),qHt))),d=t.b.e[b.p]))}function Wwt(){Wwt=S,kx(),Kee=Bee.a,RR(sJ(kV(Bee.a),0),17),Wee=Bee.f,RR(sJ(kV(Bee.f),0),17),RR(sJ(kV(Bee.f),1),32),Yee=Bee.n,RR(sJ(kV(Bee.n),0),32),RR(sJ(kV(Bee.n),1),32),RR(sJ(kV(Bee.n),2),32),RR(sJ(kV(Bee.n),3),32),Gee=Bee.g,RR(sJ(kV(Bee.g),0),17),RR(sJ(kV(Bee.g),1),32),$ee=Bee.c,RR(sJ(kV(Bee.c),0),17),RR(sJ(kV(Bee.c),1),17),Uee=Bee.i,RR(sJ(kV(Bee.i),0),17),RR(sJ(kV(Bee.i),1),17),RR(sJ(kV(Bee.i),2),17),RR(sJ(kV(Bee.i),3),17),RR(sJ(kV(Bee.i),4),32),Xee=Bee.j,RR(sJ(kV(Bee.j),0),17),Vee=Bee.d,RR(sJ(kV(Bee.d),0),17),RR(sJ(kV(Bee.d),1),17),RR(sJ(kV(Bee.d),2),17),RR(sJ(kV(Bee.d),3),17),RR(sJ(kV(Bee.d),4),32),RR(sJ(kV(Bee.d),5),32),RR(sJ(kV(Bee.d),6),32),RR(sJ(kV(Bee.d),7),32),zee=Bee.b,RR(sJ(kV(Bee.b),0),32),RR(sJ(kV(Bee.b),1),32),Hee=Bee.e,RR(sJ(kV(Bee.e),0),32),RR(sJ(kV(Bee.e),1),32),RR(sJ(kV(Bee.e),2),32),RR(sJ(kV(Bee.e),3),32),RR(sJ(kV(Bee.e),4),17),RR(sJ(kV(Bee.e),5),17),RR(sJ(kV(Bee.e),6),17),RR(sJ(kV(Bee.e),7),17),RR(sJ(kV(Bee.e),8),17),RR(sJ(kV(Bee.e),9),17),RR(sJ(kV(Bee.e),10),32),qee=Bee.k,RR(sJ(kV(Bee.k),0),32),RR(sJ(kV(Bee.k),1),32)}function Gwt(t){var e,n,r,i,a;switch(e=t.c){case 11:return t.Hl();case 12:return t.Jl();case 14:return t.Ll();case 15:return t.Ol();case 16:return t.Ml();case 17:return t.Pl();case 21:return axt(t),bxt(),bxt(),Dae;case 10:switch(t.a){case 65:return t.tl();case 90:return t.yl();case 122:return t.Fl();case 98:return t.zl();case 66:return t.ul();case 60:return t.El();case 62:return t.Cl()}}switch(a=function(t){var e,n,r,i;switch(i=null,t.c){case 6:return t.Ql();case 13:return t.Rl();case 23:return t.Il();case 22:return t.Nl();case 18:return t.Kl();case 8:axt(t),bxt(),i=Pae;break;case 9:return t.ql(!0);case 19:return t.rl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return i=t.pl(t.a),axt(t),i;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.ol())<BSt?(bxt(),bxt(),i=new mj(0,e)):i=aF(b9(e));break;case 99:return t.Al();case 67:return t.vl();case 105:return t.Dl();case 73:return t.wl();case 103:return t.Bl();case 88:return t.xl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.sl();case 80:case 112:if(!(i=Fct(t,t.a)))throw Jb(new Zy(xxt((pA(),pLt))));break;default:i=uN(t.a)}axt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw Jb(new Zy(xxt((pA(),dLt))));i=uN(t.a),n=t.a,axt(t),(64512&n)==zSt&&0==t.c&&56320==(64512&t.a)&&((r=hK(eoe,q_t,24,2,15,1))[0]=n&Y_t,r[1]=t.a&Y_t,i=oB(aF(utt(r,0,r.length)),0),axt(t));break;default:throw Jb(new Zy(xxt((pA(),dLt))))}return i}(t),e=t.c){case 3:return t.Ul(a);case 4:return t.Sl(a);case 5:return t.Tl(a);case 0:if(123==t.a&&t.d<t.j){if(i=t.d,r=0,n=-1,!((e=d$(t.i,i++))>=48&&e<=57))throw Jb(new Zy(xxt((pA(),PLt))));for(r=e-48;i<t.j&&(e=d$(t.i,i++))>=48&&e<=57;)if((r=10*r+e-48)<0)throw Jb(new Zy(xxt((pA(),RLt))));if(n=r,44==e){if(i>=t.j)throw Jb(new Zy(xxt((pA(),OLt))));if((e=d$(t.i,i++))>=48&&e<=57){for(n=e-48;i<t.j&&(e=d$(t.i,i++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw Jb(new Zy(xxt((pA(),RLt))));if(r>n)throw Jb(new Zy(xxt((pA(),LLt))))}else n=-1}if(125!=e)throw Jb(new Zy(xxt((pA(),DLt))));t.nl(i)?(bxt(),bxt(),a=new _X(9,a),t.d=i+1):(bxt(),bxt(),a=new _X(3,a),t.d=i),a.$l(r),a.Zl(n),axt(t)}}return a}function Uwt(t,e,n,r,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I;for(p=new RY(e.b),m=new RY(e.b),f=new RY(e.b),_=new RY(e.b),g=new RY(e.b),x=het(e,0);x.b!=x.d.c;)for(s=new ed((y=RR(zU(x),11)).g);s.a<s.c.c.length;)if((a=RR(xG(s),18)).c.i==a.d.i){if(y.j==a.d.j){_.c[_.c.length]=a;continue}if(y.j==(dwt(),Ote)&&a.d.j==Kte){g.c[g.c.length]=a;continue}}for(u=new ed(g);u.a<u.c.c.length;)lbt(t,a=RR(xG(u),18),n,r,(dwt(),Dte));for(o=new ed(_);o.a<o.c.c.length;)a=RR(xG(o),18),mf(S=new knt(t),(vst(),KHt)),S4(S,(Zwt(),nJt),(Fat(),mte)),S4(S,(dxt(),Oqt),a),S4(k=new Dst,Oqt,a.d),vct(k,(dwt(),Qte)),OW(k,S),S4(I=new Dst,Oqt,a.c),vct(I,Dte),OW(I,S),S4(a.c,$qt,S),S4(a.d,$qt,S),PW(a,null),EW(a,null),n.c[n.c.length]=S,S4(S,aqt,k8(2));for(w=het(e,0);w.b!=w.d.c;)c=(y=RR(zU(w),11)).e.c.length>0,b=y.g.c.length>0,c&&b?f.c[f.c.length]=y:c?p.c[p.c.length]=y:b&&(m.c[m.c.length]=y);for(d=new ed(p);d.a<d.c.c.length;)LR(i,zvt(t,RR(xG(d),11),null,n));for(v=new ed(m);v.a<v.c.c.length;)LR(i,zvt(t,null,RR(xG(v),11),n));for(h=new ed(f);h.a<h.c.c.length;)LR(i,zvt(t,l=RR(xG(h),11),l,n))}function Xwt(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;for(g=new YM(RSt,RSt),e=new YM(NSt,NSt),x=new ed(t);x.a<x.c.c.length;)w=RR(xG(x),8),g.a=r.Math.min(g.a,w.a),g.b=r.Math.min(g.b,w.b),e.a=r.Math.max(e.a,w.a),e.b=r.Math.max(e.b,w.b);for(c=new YM(e.a-g.a,e.b-g.b),l=new avt(new YM(g.a-50,g.b-c.a-50),new YM(g.a-50,e.b+c.a+50),new YM(e.a+c.b/2+50,g.b+c.b/2)),y=new Pv,a=new Vb,n=new Vb,y.a.xc(l,y),S=new ed(t);S.a<S.c.c.length;){for(_=RR(xG(S),8),a.c=hK(gjt,zxt,1,0,5,1),m=y.a.ec().Ic();m.Ob();)wK((b=RR(m.Pb(),306)).d,b.a),q9(wK(b.d,_),wK(b.d,b.a))<0&&(a.c[a.c.length]=b);for(n.c=hK(gjt,zxt,1,0,5,1),v=new ed(a);v.a<v.c.c.length;)for(d=new ed((b=RR(xG(v),306)).e);d.a<d.c.c.length;){for(h=RR(xG(d),168),o=!0,u=new ed(a);u.a<u.c.c.length;)(s=RR(xG(u),306))!=b&&(l$(h,JN(s.e,0))||l$(h,JN(s.e,1))||l$(h,JN(s.e,2)))&&(o=!1);o&&(n.c[n.c.length]=h)}for(Iot(y,a),yq(y,new lt),f=new ed(n);f.a<f.c.c.length;)cB(y,new avt(_,(h=RR(xG(f),168)).a,h.b))}for(yq(y,new Pd(p=new Pv)),i=p.a.ec().Ic();i.Ob();)(HZ(l,(h=RR(i.Pb(),168)).a)||HZ(l,h.b))&&i.Qb();return yq(p,new ht),p}function qwt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d;for(h=!1,c=t+1,TW(t,e.c.length),o=(l=RR(e.c[t],180)).a,s=null,a=0;a<l.a.c.length;a++)if(TW(a,o.c.length),!(i=RR(o.c[a],181)).c)if(0!=i.b.c.length){if(i.k||(s&&L7(s),bnt(i,(s=new Hj(s?s.d+s.c:0,l.e)).d+s.c,l.e),LR(l.c,s),wX(s,i),i.k=!0),u=null,d=null,a<l.a.c.length-1?d=RR(JN(l.a,a+1),181):c<e.c.length&&0!=(TW(c,e.c.length),RR(e.c[c],180)).a.c.length&&(d=RR(JN((TW(c,e.c.length),RR(e.c[c],180)).a,0),181)),f=!1,(u=d)&&(f=!u8(u.j,l)),u){if(0==u.b.c.length){Mtt(l,u);break}for(gvt(i,n-i.s,!0),L7(i.q),h|=lst(l,i,u,n,r);0==u.b.c.length;){for(Mtt((TW(c,e.c.length),RR(e.c[c],180)),u);e.c.length>c&&0==(TW(c,e.c.length),RR(e.c[c],180)).a.c.length;)yZ(e,(TW(c,e.c.length),e.c[c]));if(!(e.c.length>c)){u=null;break}u=RR(JN((TW(c,e.c.length),RR(e.c[c],180)).a,0),181)}if(!u)continue;if(ggt(e,l,i,u,f,n,c)){h=!0;continue}if(f){if(Kvt(e,l,i,u,n,c)){h=!0;continue}if(y6(l,i)){i.c=!0,h=!0;continue}}else if(y6(l,i)){i.c=!0,h=!0;continue}if(h)continue}y6(l,i)?(i.c=!0,h=!0,u&&(u.k=!1)):L7(i.q)}else Q_(),Mtt(l,i),--a,h=!0;return h}function Ywt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b;if(null==n)return null;if(t.a!=e.vj())throw Jb(new Ny(eOt+e.ne()+nOt));if(zA(e,450)){if(g=function(t,e){var n,r,i;if(null==e){for(!t.a&&(t.a=new FF(bre,t,9,5)),r=new SE(t.a);r.e!=r.i.gc();)if(null==(null==(i=(n=RR(Htt(r),666)).c)?n.zb:i))return n}else for(!t.a&&(t.a=new FF(bre,t,9,5)),r=new SE(t.a);r.e!=r.i.gc();)if(hL(e,null==(i=(n=RR(Htt(r),666)).c)?n.zb:i))return n;return null}(RR(e,659),n),!g)throw Jb(new Ny(rOt+n+"' is not a valid enumerator of '"+e.ne()+"'"));return g}switch(r8((yut(),Sie),e).Zk()){case 2:n=jvt(n,!1);break;case 3:n=jvt(n,!0)}if(r=r8(Sie,e).Vk())return r.vj().Ih().Fh(r,n);if(h=r8(Sie,e).Xk()){for(g=new Vb,c=0,l=(u=x5(n)).length;c<l;++c)s=u[c],LR(g,h.vj().Ih().Fh(h,s));return g}if(!(p=r8(Sie,e).Yk()).dc()){for(d=p.Ic();d.Ob();){f=RR(d.Pb(),148);try{if(null!=(g=f.vj().Ih().Fh(f,n)))return g}catch(b){if(!zA(b=m3(b),59))throw Jb(b)}}throw Jb(new Ny(rOt+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if(RR(e,813).Aj(),!(i=(b=e.wj())?0!=(1&b.i)?b==roe?oFt:b==noe?bFt:b==soe?dFt:b==ooe?fFt:b==ioe?mFt:b==uoe?kFt:b==aoe?cFt:hFt:b:null))return null;if(i==hFt){a=0;try{a=Wgt(n,B_t,Lxt)&Y_t}catch(b){if(!zA(b=m3(b),127))throw Jb(b);a=zZ(n)[0]}return Y3(a)}if(i==Xjt){for(o=0;o<dne.length;++o)try{return US(dne[o],n)}catch(b){if(!zA(b=m3(b),31))throw Jb(b)}throw Jb(new Ny(rOt+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Jb(new Ny(rOt+n+"' is invalid. "))}function Kwt(){Kwt=S,Kct(zHt=new yH,(dwt(),Fte),Vte),Kct(zHt,Yte,Vte),Kct(zHt,Yte,Gte),Kct(zHt,Lte,$te),Kct(zHt,Lte,Vte),Kct(zHt,Bte,Vte),Kct(zHt,Bte,Hte),Kct(zHt,Xte,Nte),Kct(zHt,Xte,Vte),Kct(zHt,Wte,jte),Kct(zHt,Wte,Vte),Kct(zHt,Wte,Hte),Kct(zHt,Wte,Nte),Kct(zHt,jte,Wte),Kct(zHt,jte,Gte),Kct(zHt,jte,$te),Kct(zHt,jte,Vte),Kct(zHt,Ute,Ute),Kct(zHt,Ute,Hte),Kct(zHt,Ute,Gte),Kct(zHt,zte,zte),Kct(zHt,zte,Hte),Kct(zHt,zte,$te),Kct(zHt,qte,qte),Kct(zHt,qte,Nte),Kct(zHt,qte,Gte),Kct(zHt,Rte,Rte),Kct(zHt,Rte,Nte),Kct(zHt,Rte,$te),Kct(zHt,Hte,Bte),Kct(zHt,Hte,Wte),Kct(zHt,Hte,Ute),Kct(zHt,Hte,zte),Kct(zHt,Hte,Vte),Kct(zHt,Hte,Hte),Kct(zHt,Hte,Gte),Kct(zHt,Hte,$te),Kct(zHt,Nte,Xte),Kct(zHt,Nte,Wte),Kct(zHt,Nte,qte),Kct(zHt,Nte,Rte),Kct(zHt,Nte,Nte),Kct(zHt,Nte,Gte),Kct(zHt,Nte,$te),Kct(zHt,Nte,Vte),Kct(zHt,Gte,Yte),Kct(zHt,Gte,jte),Kct(zHt,Gte,Ute),Kct(zHt,Gte,qte),Kct(zHt,Gte,Hte),Kct(zHt,Gte,Nte),Kct(zHt,Gte,Gte),Kct(zHt,Gte,Vte),Kct(zHt,$te,Lte),Kct(zHt,$te,jte),Kct(zHt,$te,zte),Kct(zHt,$te,Rte),Kct(zHt,$te,Hte),Kct(zHt,$te,Nte),Kct(zHt,$te,$te),Kct(zHt,$te,Vte),Kct(zHt,Vte,Fte),Kct(zHt,Vte,Yte),Kct(zHt,Vte,Lte),Kct(zHt,Vte,Bte),Kct(zHt,Vte,Xte),Kct(zHt,Vte,Wte),Kct(zHt,Vte,jte),Kct(zHt,Vte,Hte),Kct(zHt,Vte,Nte),Kct(zHt,Vte,Gte),Kct(zHt,Vte,$te),Kct(zHt,Vte,Vte)}function Zwt(){Zwt=S,fxt(),vJt=q9t,mJt=Y9t,yJt=K9t,wJt=Z9t,_Jt=Q9t,SJt=J9t,MJt=e7t,TJt=r7t,CJt=n7t,AJt=i7t,PJt=a7t,OJt=u7t,IJt=t7t,pxt(),bJt=UKt,xJt=XKt,kJt=qKt,EJt=YKt,lJt=new lA(H9t,k8(0)),hJt=HKt,fJt=WKt,dJt=GKt,WJt=yZt,NJt=QKt,jJt=eZt,zJt=cZt,FJt=iZt,BJt=oZt,UJt=kZt,GJt=xZt,VJt=gZt,$Jt=dZt,HJt=vZt,FQt=LKt,BQt=RKt,oQt=UYt,sQt=YYt,UQt=new sA(12),GQt=new lA(y9t,UQt),V9(),eQt=new lA(G8t,nQt=x7t),eJt=new lA(D9t,0),pJt=new lA(W9t,k8(1)),PZt=new lA(D8t,dMt),WQt=m9t,nJt=O9t,sJt=z9t,XZt=B8t,AZt=E8t,lQt=K8t,gJt=new lA(X9t,(_P(),!0)),gQt=J8t,bQt=t9t,$Qt=h9t,HQt=b9t,E8(),qZt=new lA(z8t,KZt=d7t),OQt=c9t,DQt=s9t,aJt=j9t,iJt=N9t,oJt=B9t,get(),new lA(I9t,YQt=pte),ZQt=T9t,QQt=A9t,JQt=E9t,KQt=C9t,RJt=ZKt,TQt=yKt,CQt=vKt,LJt=KKt,_Qt=cKt,UZt=DYt,GZt=EYt,FZt=bYt,zZt=xYt,BZt=vYt,WZt=TYt,EQt=xKt,PQt=_Kt,mQt=nKt,zQt=BKt,RQt=MKt,cQt=QYt,jQt=DKt,iQt=VYt,aQt=WYt,jZt=j8t,LQt=SKt,RZt=fYt,LZt=lYt,OZt=cYt,fQt=tKt,hQt=JYt,dQt=eKt,VQt=p9t,yQt=r9t,uQt=X8t,JZt=H8t,QZt=V8t,$Zt=kYt,rJt=R9t,DZt=N8t,pQt=Q8t,tJt=P9t,XQt=x9t,qQt=S9t,kQt=fKt,IQt=pKt,cJt=V9t,EZt=uYt,MQt=bKt,tQt=FYt,ZZt=NYt,AQt=a9t,wQt=oKt,NQt=AKt,DJt=o7t,YZt=LYt,uJt=$Kt,rQt=zYt,xQt=uKt,VZt=MYt,vQt=n9t,SQt=hKt,HZt=CYt,NZt=pYt}function Qwt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k;for(t.d=new YM(RSt,RSt),t.c=new YM(NSt,NSt),f=e.Ic();f.Ob();)for(y=new ed(RR(f.Pb(),38).a);y.a<y.c.c.length;)m=RR(xG(y),10),t.d.a=r.Math.min(t.d.a,m.n.a-m.d.b),t.d.b=r.Math.min(t.d.b,m.n.b-m.d.d),t.c.a=r.Math.max(t.c.a,m.n.a+m.o.a+m.d.c),t.c.b=r.Math.max(t.c.b,m.n.b+m.o.b+m.d.a);for(u=new Gv,h=e.Ic();h.Ob();)i=Lwt(t,RR(h.Pb(),38)),LR(u.a,i),i.a=i.a|!RR(Bot(i.c,(dxt(),hqt)),21).dc();for(t.b=(p6(),(k=new me).f=new O1(n),k.b=syt(k.f,u),k),pyt((p=t.b,new Xm,p)),t.e=new fx,t.a=t.b.f.e,s=new ed(u.a);s.a<s.c.c.length;)for(a=RR(xG(s),820),w=EH(t.b,a),sgt(a.c,w.a,w.b),b=new ed(a.c.a);b.a<b.c.c.length;)(g=RR(xG(b),10)).k==(vst(),UHt)&&(v=oft(t,g.n,RR(Bot(g,(dxt(),pqt)),61)),zO(nT(g.n),v));for(o=new ed(u.a);o.a<o.c.c.length;)for(l=new ed(L8(a=RR(xG(o),820)));l.a<l.c.c.length;)for(AD(S=new ux((c=RR(xG(l),18)).a),0,eG(c.c)),vN(S,eG(c.d)),d=null,_=het(S,0);_.b!=_.d.c;)x=RR(zU(_),8),d?(AJ(d.a,x.a)?(t.e.a=r.Math.min(t.e.a,d.a),t.a.a=r.Math.max(t.a.a,d.a)):AJ(d.b,x.b)&&(t.e.b=r.Math.min(t.e.b,d.b),t.a.b=r.Math.max(t.a.b,d.b)),d=x):d=x;aD(t.e),zO(t.a,t.e)}function Jwt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;if(!e.dc()){if(i=new vm,h=(o=n||RR(e.Xb(0),18)).c,bdt(),(c=h.i.k)!=(vst(),YHt)&&c!=KHt&&c!=UHt&&c!=GHt)throw Jb(new Ny("The target node of the edge must be a normal node or a northSouthPort."));for(ZC(i,$4(X3(uw(t8t,1),u_t,8,0,[h.i.n,h.n,h.a]))),(dwt(),Wte).Fc(h.j)&&(d=Dy(VD(Bot(h,(dxt(),Kqt)))),jX(i,new YM($4(X3(uw(t8t,1),u_t,8,0,[h.i.n,h.n,h.a])).a,d),i.c.b,i.c)),u=null,r=!1,s=e.Ic();s.Ob();)0!=(a=RR(s.Pb(),18).a).b&&(r?(jX(i,lE(zO(u,(MP(0!=a.b),RR(a.a.a.c,8))),.5),i.c.b,i.c),r=!1):r=!0,u=LA((MP(0!=a.b),RR(a.c.b.c,8))),W0(i,a),sV(a));f=o.d,Wte.Fc(f.j)&&(d=Dy(VD(Bot(f,(dxt(),Kqt)))),jX(i,new YM($4(X3(uw(t8t,1),u_t,8,0,[f.i.n,f.n,f.a])).a,d),i.c.b,i.c)),ZC(i,$4(X3(uw(t8t,1),u_t,8,0,[f.i.n,f.n,f.a]))),t.d==(d6(),K1t)&&(MP(0!=i.b),p=RR(i.a.a.c,8),g=RR(met(i,1),8),(b=new BW(f5(h.j))).a*=5,b.b*=5,v=$O(new YM(g.a,g.b),p),zO(m=new YM(UH(b.a,v.a),UH(b.b,v.b)),p),MB(het(i,1),m),MP(0!=i.b),y=RR(i.c.b.c,8),w=RR(met(i,i.b-2),8),(b=new BW(f5(f.j))).a*=5,b.b*=5,v=$O(new YM(w.a,w.b),y),zO(x=new YM(UH(b.a,v.a),UH(b.b,v.b)),y),AD(i,i.b-1,x)),l=new lvt(i),W0(o.a,Bnt(l))}}function txt(t,e,n,i){var a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P,D,O,L,R;if(w=(m=RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93)).yg(),x=m.zg(),y=m.xg()/2,p=m.wg()/2,zA(m,199)&&(w+=VH(v=RR(m,122)).i,w+=VH(v).i),w+=y,x+=p,T=(M=RR(sJ((!t.b&&(t.b=new nL(nne,t,4,7)),t.b),0),93)).yg(),A=M.zg(),C=M.xg()/2,_=M.wg()/2,zA(M,199)&&(T+=VH(I=RR(M,122)).i,T+=VH(I).i),T+=C,A+=_,0==(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i)Sx(),u=new Zs,EK((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),u);else if((!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i>1)for(d=new LP((!t.a&&(t.a=new FF(ine,t,6,6)),t.a));d.e!=d.i.gc();)zit(d);for(g=T,T>w+y?g=w+y:T<w-y&&(g=w-y),b=A,A>x+p?b=x+p:A<x-p&&(b=x-p),g>w-y&&g<w+y&&b>x-p&&b<x+p&&(g=w+y),qJ(s=RR(sJ((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),0),201),g),QJ(s,b),S=w,w>T+C?S=T+C:w<T-C&&(S=T-C),k=x,x>A+_?k=A+_:x<A-_&&(k=A-_),S>T-C&&S<T+C&&k>A-_&&k<A+_&&(k=A+_),KJ(s,S),ZJ(s,k),Omt((!s.a&&(s.a=new fE(Jee,s,5)),s.a)),o=ont(e,5),m==M&&++o,P=S-g,L=k-b,l=.20000000298023224*r.Math.sqrt(P*P+L*L),D=P/(o+1),R=L/(o+1),E=g,O=b,c=0;c<o;c++)O+=R,(h=(E+=D)+Ght(e,24)*akt*l-l/2)<0?h=1:h>n&&(h=n-1),(f=O+Ght(e,24)*akt*l-l/2)<0?f=1:f>i&&(f=i-1),Sx(),JJ(a=new tu,h),YJ(a,f),EK((!s.a&&(s.a=new fE(Jee,s,5)),s.a),a)}function ext(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T;if(Zvt(),k=t.e,p=t.d,i=t.a,0==k)switch(e){case 0:return"0";case 1:return USt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(_=new pw).a+=e<0?"0E+":"0E",_.a+=-e,_.a}if(w=hK(eoe,q_t,24,(y=10*p+1+7)+1,15,1),n=y,1==p)if((s=i[0])<0){T=SH(s,WSt);do{g=T,T=dit(T,10),w[--n]=48+QN(s8(g,o8(T,10)))&Y_t}while(0!=A5(T,0))}else{T=s;do{g=T,T=T/10|0,w[--n]=g-10*T+48&Y_t}while(0!=T)}else{Yvt(i,0,M=hK(noe,uSt,24,p,15,1),0,C=p);t:for(;;){for(S=0,c=C-1;c>=0;c--)v=Hit(a8(xN(S,32),SH(M[c],WSt))),M[c]=QN(v),S=QN(wN(v,32));m=QN(S),b=n;do{w[--n]=48+m%10&Y_t}while(0!=(m=m/10|0)&&0!=n);for(r=9-b+n,u=0;u<r&&n>0;u++)w[--n]=48;for(h=C-1;0==M[h];h--)if(0==h)break t;C=h+1}for(;48==w[n];)++n}if(d=k<0,o=y-n-e-1,0==e)return d&&(w[--n]=45),utt(w,n,y-n);if(e>0&&o>=-6){if(o>=0){for(l=n+o,f=y-1;f>=l;f--)w[f+1]=w[f];return w[++l]=46,d&&(w[--n]=45),utt(w,n,y-n+1)}for(h=2;h<1-o;h++)w[--n]=48;return w[--n]=46,w[--n]=48,d&&(w[--n]=45),utt(w,n,y-n)}return I=n+1,a=y,x=new gw,d&&(x.a+="-"),a-I>=1?(iz(x,w[n]),x.a+=".",x.a+=utt(w,n+1,y-n-1)):x.a+=utt(w,n,y-n),x.a+="E",o>0&&(x.a+="+"),x.a+=""+o,x.a}function nxt(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;switch(t.c=e,t.g=new Hb,a7(new Rd(new _y(t.c))),m=HD(_ht(t.c,(Wot(),V5t))),s=RR(_ht(t.c,W5t),313),w=RR(_ht(t.c,G5t),423),a=RR(_ht(t.c,j5t),476),y=RR(_ht(t.c,H5t),424),t.j=Dy(VD(_ht(t.c,U5t))),o=t.a,s.g){case 0:o=t.a;break;case 1:o=t.b;break;case 2:o=t.i;break;case 3:o=t.e;break;case 4:o=t.f;break;default:throw Jb(new Ny(yPt+(null!=s.f?s.f:""+s.g)))}if(t.d=new LH(o,w,a),S4(t.d,(H2(),R$t),$D(_ht(t.c,B5t))),t.d.c=Ay($D(_ht(t.c,F5t))),0==_V(t.c).i)return t.d;for(l=new SE(_V(t.c));l.e!=l.i.gc();){for(f=(c=RR(Htt(l),34)).g/2,h=c.f/2,x=new YM(c.i+f,c.j+h);KF(t.g,x);)nD(x,(r.Math.random()-.5)*lMt,(r.Math.random()-.5)*lMt);p=RR(_ht(c,(fxt(),a9t)),141),g=new bW(x,new j$(x.a-f-t.j/2-p.b,x.b-h-t.j/2-p.d,c.g+t.j+(p.b+p.c),c.f+t.j+(p.d+p.a))),LR(t.d.i,g),t$(t.g,x,new KM(g,c))}switch(y.g){case 0:if(null==m)t.d.d=RR(JN(t.d.i,0),63);else for(v=new ed(t.d.i);v.a<v.c.c.length;)g=RR(xG(v),63),null!=(d=RR(RR(oz(t.g,g.a),46).b,34).ug())&&hL(d,m)&&(t.d.d=g);break;case 1:for((n=new YM(t.c.g,t.c.f)).a*=.5,n.b*=.5,nD(n,t.c.i,t.c.j),i=RSt,b=new ed(t.d.i);b.a<b.c.c.length;)(u=wK((g=RR(xG(b),63)).a,n))<i&&(i=u,t.d.d=g);break;default:throw Jb(new Ny(yPt+(null!=y.f?y.f:""+y.g)))}return t.d}function rxt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;for(_=RR(sJ((!t.a&&(t.a=new FF(ine,t,6,6)),t.a),0),201),h=new vm,x=new Hb,S=xbt(_),ect(x.f,_,S),d=new Hb,i=new sS,g=ZF(u1(X3(uw(wjt,1),zxt,19,0,[(!e.d&&(e.d=new nL(rne,e,8,5)),e.d),(!e.e&&(e.e=new nL(rne,e,7,4)),e.e)])));Qlt(g);){if(p=RR(dq(g),80),1!=(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i)throw Jb(new Ny(CDt+(!t.a&&(t.a=new FF(ine,t,6,6)),t.a).i));p!=t&&(jX(i,v=RR(sJ((!p.a&&(p.a=new FF(ine,p,6,6)),p.a),0),201),i.c.b,i.c),(b=RR(PC(rH(x.f,v)),12))||(b=xbt(v),ect(x.f,v,b)),f=n?$O(new uA(RR(JN(S,S.c.length-1),8)),RR(JN(b,b.c.length-1),8)):$O(new uA((TW(0,S.c.length),RR(S.c[0],8))),(TW(0,b.c.length),RR(b.c[0],8))),ect(d.f,v,f))}if(0!=i.b)for(m=RR(JN(S,n?S.c.length-1:0),8),l=1;l<S.c.length;l++){for(y=RR(JN(S,n?S.c.length-1-l:l),8),a=het(i,0);a.b!=a.d.c;)v=RR(zU(a),201),(b=RR(PC(rH(x.f,v)),12)).c.length<=l?QQ(a):(w=zO(new uA(RR(JN(b,n?b.c.length-1-l:l),8)),RR(PC(rH(d.f,v)),8)),y.a==w.a&&y.b==w.b||(o=y.a-m.a,u=y.b-m.b,(s=w.a-m.a)*u==(c=w.b-m.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==u||isNaN(u)?u:u<0?-1:1)==(0==c||isNaN(c)?c:c<0?-1:1)?(r.Math.abs(o)<r.Math.abs(s)||r.Math.abs(u)<r.Math.abs(c))&&jX(h,y,h.c.b,h.c):l>1&&jX(h,m,h.c.b,h.c),QQ(a)));m=y}return h}function ixt(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v;for(r=new Vb,s=new Vb,b=e/2,d=t.gc(),i=RR(t.Xb(0),8),v=RR(t.Xb(1),8),LR(r,(TW(0,(p=xht(i.a,i.b,v.a,v.b,b)).c.length),RR(p.c[0],8))),LR(s,(TW(1,p.c.length),RR(p.c[1],8))),c=2;c<d;c++)g=i,i=v,v=RR(t.Xb(c),8),LR(r,(TW(1,(p=xht(i.a,i.b,g.a,g.b,b)).c.length),RR(p.c[1],8))),LR(s,(TW(0,p.c.length),RR(p.c[0],8))),LR(r,(TW(0,(p=xht(i.a,i.b,v.a,v.b,b)).c.length),RR(p.c[0],8))),LR(s,(TW(1,p.c.length),RR(p.c[1],8)));for(LR(r,(TW(1,(p=xht(v.a,v.b,i.a,i.b,b)).c.length),RR(p.c[1],8))),LR(s,(TW(0,p.c.length),RR(p.c[0],8))),n=new vm,o=new Vb,vN(n,(TW(0,r.c.length),RR(r.c[0],8))),l=1;l<r.c.length-2;l+=2)TW(l,r.c.length),a=RR(r.c[l],8),f=Dut((TW(l-1,r.c.length),RR(r.c[l-1],8)),a,(TW(l+1,r.c.length),RR(r.c[l+1],8)),(TW(l+2,r.c.length),RR(r.c[l+2],8))),isFinite(f.a)&&isFinite(f.b)?jX(n,f,n.c.b,n.c):jX(n,a,n.c.b,n.c);for(vN(n,RR(JN(r,r.c.length-1),8)),LR(o,(TW(0,s.c.length),RR(s.c[0],8))),h=1;h<s.c.length-2;h+=2)TW(h,s.c.length),a=RR(s.c[h],8),f=Dut((TW(h-1,s.c.length),RR(s.c[h-1],8)),a,(TW(h+1,s.c.length),RR(s.c[h+1],8)),(TW(h+2,s.c.length),RR(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(LR(o,RR(JN(s,s.c.length-1),8)),u=o.c.length-1;u>=0;u--)vN(n,(TW(u,o.c.length),RR(o.c[u],8)));return n}function axt(t){var e,n,r;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=d$(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:r=2;break;case 42:r=3;break;case 43:r=4;break;case 63:r=5;break;case 41:r=7;break;case 46:r=8;break;case 91:r=9;break;case 94:r=11;break;case 36:r=12;break;case 40:if(r=6,t.d>=t.j)break;if(63!=d$(t.i,t.d))break;if(++t.d>=t.j)throw Jb(new Zy(xxt((pA(),eLt))));switch(e=d$(t.i,t.d++)){case 58:r=13;break;case 61:r=14;break;case 33:r=15;break;case 91:r=19;break;case 62:r=18;break;case 60:if(t.d>=t.j)throw Jb(new Zy(xxt((pA(),eLt))));if(61==(e=d$(t.i,t.d++)))r=16;else{if(33!=e)throw Jb(new Zy(xxt((pA(),nLt))));r=17}break;case 35:for(;t.d<t.j&&41!=(e=d$(t.i,t.d++)););if(41!=e)throw Jb(new Zy(xxt((pA(),rLt))));r=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,r=22;break}if(40==e){r=23;break}throw Jb(new Zy(xxt((pA(),eLt))))}break;case 92:if(r=10,t.d>=t.j)throw Jb(new Zy(xxt((pA(),tLt))));t.a=d$(t.i,t.d++);break;default:r=0}t.c=r}else{switch(e){case 92:if(r=10,t.d>=t.j)throw Jb(new Zy(xxt((pA(),tLt))));t.a=d$(t.i,t.d++);break;case 45:512==(512&t.e)&&t.d<t.j&&91==d$(t.i,t.d)?(++t.d,r=24):r=0;break;case 91:if(512!=(512&t.e)&&t.d<t.j&&58==d$(t.i,t.d)){++t.d,r=20;break}default:(64512&e)==zSt&&t.d<t.j&&56320==(64512&(n=d$(t.i,t.d)))&&(t.a=BSt+(e-zSt<<10)+n-56320,++t.d),r=0}t.c=r}}function oxt(t){var e,n,r,i,a,o,s,u;for(t.b=1,axt(t),e=null,0==t.c&&94==t.a?(axt(t),bxt(),bxt(),Bdt(e=new uG(4),0,UNt),o=new uG(4)):(bxt(),bxt(),o=new uG(4)),i=!0;1!=(u=t.c);){if(0==u&&93==t.a&&!i){e&&(Cyt(e,o),o=e);break}if(n=t.a,r=!1,10==u)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Qvt(o,Kgt(n)),r=!0;break;case 105:case 73:case 99:case 67:Qvt(o,Kgt(n)),(n=-1)<0&&(r=!0);break;case 112:case 80:if(!(s=Fct(t,n)))throw Jb(new Zy(xxt((pA(),pLt))));Qvt(o,s),r=!0;break;default:n=gpt(t)}else if(24==u&&!i){if(e&&(Cyt(e,o),o=e),Cyt(o,oxt(t)),0!=t.c||93!=t.a)throw Jb(new Zy(xxt((pA(),mLt))));break}if(axt(t),!r){if(0==u){if(91==n)throw Jb(new Zy(xxt((pA(),yLt))));if(93==n)throw Jb(new Zy(xxt((pA(),wLt))));if(45==n&&!i&&93!=t.a)throw Jb(new Zy(xxt((pA(),xLt))))}if(0!=t.c||45!=t.a||45==n&&i)Bdt(o,n,n);else{if(axt(t),1==(u=t.c))throw Jb(new Zy(xxt((pA(),bLt))));if(0==u&&93==t.a)Bdt(o,n,n),Bdt(o,45,45);else{if(0==u&&93==t.a||24==u)throw Jb(new Zy(xxt((pA(),xLt))));if(a=t.a,0==u){if(91==a)throw Jb(new Zy(xxt((pA(),yLt))));if(93==a)throw Jb(new Zy(xxt((pA(),wLt))));if(45==a)throw Jb(new Zy(xxt((pA(),xLt))))}else 10==u&&(a=gpt(t));if(axt(t),n>a)throw Jb(new Zy(xxt((pA(),kLt))));Bdt(o,n,a)}}}i=!1}if(1==t.c)throw Jb(new Zy(xxt((pA(),bLt))));return Rht(o),_mt(o),t.b=0,axt(t),o}function sxt(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_;if(qat(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(_=RR(Bot(e,(Zwt(),wQt)),20).a,u=0,o=0,f=new ed(e.a);f.a<f.c.c.length;)for((h=RR(xG(f),10)).p=u++,a=new xF(zE(g9(h).a.Ic(),new p));Qlt(a);)(i=RR(dq(a),18)).p=o++;for(t.d=hK(roe,Zkt,24,u,16,1),t.a=hK(roe,Zkt,24,o,16,1),t.b=hK(noe,uSt,24,u,15,1),t.e=hK(noe,uSt,24,u,15,1),t.f=hK(noe,uSt,24,u,15,1),N1(t.c),function(t,e){var n,r,i;for(i=new ed(e.a);i.a<i.c.c.length;)for(r=RR(xG(i),10),Vy(t.d),n=new xF(zE(g9(r).a.Ic(),new p));Qlt(n);)Nlt(t,r,RR(dq(n),18).d.i)}(t,e),g=new yF(new Up(t)),x=new ed(e.a);x.a<x.c.c.length;){for(a=new xF(zE(p9(y=RR(xG(x),10)).a.Ic(),new p));Qlt(a);)i=RR(dq(a),18),t.a[i.p]||++t.b[y.p];0==t.b[y.p]&&LY(_ot(g,y))}for(s=0;0!=g.b.c.length;)for(y=RR(fQ(g),10),t.f[y.p]=s++,a=new xF(zE(g9(y).a.Ic(),new p));Qlt(a);)i=RR(dq(a),18),t.a[i.p]||(v=i.d.i,--t.b[v.p],Kct(t.c,v,k8(t.f[y.p])),0==t.b[v.p]&&LY(_ot(g,v)));for(d=new yF(new Xp(t)),w=new ed(e.a);w.a<w.c.c.length;){for(a=new xF(zE(g9(y=RR(xG(w),10)).a.Ic(),new p));Qlt(a);)i=RR(dq(a),18),t.a[i.p]||++t.e[y.p];0==t.e[y.p]&&LY(_ot(d,y))}for(r=jW(e,l=new Vb);0!=d.b.c.length;)for(m=RR(fQ(d),10),(r.a.c.length>=_||!Q7(m,r))&&(r=jW(e,l)),DW(m,r),a=new xF(zE(p9(m).a.Ic(),new p));Qlt(a);)i=RR(dq(a),18),t.a[i.p]||(b=i.c.i,--t.e[b.p],0==t.e[b.p]&&LY(_ot(d,b)));for(c=l.c.length-1;c>=0;--c)LR(e.b,(TW(c,l.c.length),RR(l.c[c],29)));e.a.c=hK(gjt,zxt,1,0,5,1),Sst(n)}else Sst(n)}function uxt(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new VV(t.b,t.a,e,t.c);case 1:return new dE(t.a,e,c7(e.Og(),t.c));case 43:return new mE(t.a,e,c7(e.Og(),t.c));case 3:return new fE(t.a,e,c7(e.Og(),t.c));case 45:return new vE(t.a,e,c7(e.Og(),t.c));case 41:return new MK(RR(fit(t.c),26),t.a,e,c7(e.Og(),t.c));case 50:return new E1(RR(fit(t.c),26),t.a,e,c7(e.Og(),t.c));case 5:return new YO(t.a,e,c7(e.Og(),t.c),t.d.n);case 47:return new KO(t.a,e,c7(e.Og(),t.c),t.d.n);case 7:return new FF(t.a,e,c7(e.Og(),t.c),t.d.n);case 49:return new WO(t.a,e,c7(e.Og(),t.c),t.d.n);case 9:return new bE(t.a,e,c7(e.Og(),t.c));case 11:return new gE(t.a,e,c7(e.Og(),t.c));case 13:return new pE(t.a,e,c7(e.Og(),t.c));case 15:return new eN(t.a,e,c7(e.Og(),t.c));case 17:return new xE(t.a,e,c7(e.Og(),t.c));case 19:return new wE(t.a,e,c7(e.Og(),t.c));case 21:return new yE(t.a,e,c7(e.Og(),t.c));case 23:return new tN(t.a,e,c7(e.Og(),t.c));case 25:return new rL(t.a,e,c7(e.Og(),t.c),t.d.n);case 27:return new nL(t.a,e,c7(e.Og(),t.c),t.d.n);case 29:return new tL(t.a,e,c7(e.Og(),t.c),t.d.n);case 31:return new ZO(t.a,e,c7(e.Og(),t.c),t.d.n);case 33:return new eL(t.a,e,c7(e.Og(),t.c),t.d.n);case 35:return new JO(t.a,e,c7(e.Og(),t.c),t.d.n);case 37:return new QO(t.a,e,c7(e.Og(),t.c),t.d.n);case 39:return new zF(t.a,e,c7(e.Og(),t.c),t.d.n);case 40:return new k2(e,c7(e.Og(),t.c));default:throw Jb(new sy("Unknown feature style: "+t.e))}}function cxt(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;switch(qat(n,"Brandes & Koepf node placement",1),t.a=e,t.c=Ybt(e),i=RR(Bot(e,(Zwt(),RQt)),272),p=Ay($D(Bot(e,NQt))),t.d=i==(Qit(),pXt)&&!p||i==hXt,function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;if(!((g=e.b.c.length)<3)){for(d=hK(noe,uSt,24,g,15,1),h=0,l=new ed(e.b);l.a<l.c.c.length;)c=RR(xG(l),29),d[h++]=c.a.c.length;for(f=new tU(e.b,2),r=1;r<g-1;r++)for(MP(f.b<f.d.gc()),p=new ed((n=RR(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,u=0;u<d[r+1];u++)if(y=RR(xG(p),10),u==d[r+1]-1||qst(t,y,r+1,r)){for(o=d[r]-1,qst(t,y,r+1,r)&&(o=t.c.e[RR(RR(RR(JN(t.c.b,y.p),14).Xb(0),46).a,10).p]);s<=u;){if(!qst(t,m=RR(JN(n.a,s),10),r+1,r))for(v=RR(JN(t.c.b,m.p),14).Ic();v.Ob();)b=RR(v.Pb(),46),((i=t.c.e[RR(b.a,10).p])<a||i>o)&&cB(t.b,RR(b.b,18));++s}a=o}}}(t,e),x=null,_=null,v=null,m=null,k1(4,E_t),b=new RY(4),RR(Bot(e,RQt),272).g){case 3:v=new Ogt(e,t.c.d,(YH(),Y0t),(sH(),U0t)),b.c[b.c.length]=v;break;case 1:m=new Ogt(e,t.c.d,(YH(),K0t),(sH(),U0t)),b.c[b.c.length]=m;break;case 4:x=new Ogt(e,t.c.d,(YH(),Y0t),(sH(),X0t)),b.c[b.c.length]=x;break;case 2:_=new Ogt(e,t.c.d,(YH(),K0t),(sH(),X0t)),b.c[b.c.length]=_;break;default:v=new Ogt(e,t.c.d,(YH(),Y0t),(sH(),U0t)),m=new Ogt(e,t.c.d,K0t,U0t),x=new Ogt(e,t.c.d,Y0t,X0t),_=new Ogt(e,t.c.d,K0t,X0t),b.c[b.c.length]=x,b.c[b.c.length]=_,b.c[b.c.length]=v,b.c[b.c.length]=m}for(a=new JI(e,t.c),u=new ed(b);u.a<u.c.c.length;)Hwt(a,o=RR(xG(u),182),t.b),Vvt(o);for(d=new Jrt(e,t.c),c=new ed(b);c.a<c.c.c.length;)Jyt(d,o=RR(xG(c),182));if(n.n)for(l=new ed(b);l.a<l.c.c.length;)YR(n,(o=RR(xG(l),182))+" size is "+Pht(o));if(f=null,t.d&&(h=function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;for(m=e.c.length,a=new Ogt(t.a,n,null,null),S=hK(ooe,$St,24,m,15,1),p=hK(ooe,$St,24,m,15,1),d=hK(ooe,$St,24,m,15,1),g=0,u=0;u<m;u++)p[u]=Lxt,d[u]=B_t;for(c=0;c<m;c++)for(TW(c,e.c.length),i=RR(e.c[c],182),S[c]=Pht(i),S[g]>S[c]&&(g=c),h=new ed(t.a.b);h.a<h.c.c.length;)for(v=new ed(RR(xG(h),29).a);v.a<v.c.c.length;)b=RR(xG(v),10),x=Dy(i.p[b.p])+Dy(i.d[b.p]),p[c]=r.Math.min(p[c],x),d[c]=r.Math.max(d[c],x+b.o.b);for(_=hK(ooe,$St,24,m,15,1),l=0;l<m;l++)(TW(l,e.c.length),RR(e.c[l],182)).o==(YH(),Y0t)?_[l]=p[g]-p[l]:_[l]=d[g]-d[l];for(o=hK(ooe,$St,24,m,15,1),f=new ed(t.a.b);f.a<f.c.c.length;)for(w=new ed(RR(xG(f),29).a);w.a<w.c.c.length;){for(y=RR(xG(w),10),s=0;s<m;s++)o[s]=Dy((TW(s,e.c.length),RR(e.c[s],182)).p[y.p])+Dy((TW(s,e.c.length),RR(e.c[s],182)).d[y.p])+_[s];o.sort(wJ(E.prototype.te,E,[])),a.p[y.p]=(o[1]+o[2])/2,a.d[y.p]=0}return a}(t,b,t.c.d),Avt(e,h,n)&&(f=h)),!f)for(l=new ed(b);l.a<l.c.c.length;)Avt(e,o=RR(xG(l),182),n)&&(!f||Pht(f)>Pht(o))&&(f=o);for(!f&&(TW(0,b.c.length),f=RR(b.c[0],182)),g=new ed(e.b);g.a<g.c.c.length;)for(w=new ed(RR(xG(g),29).a);w.a<w.c.c.length;)(y=RR(xG(w),10)).n.b=Dy(f.p[y.p])+Dy(f.d[y.p]);for(n.n&&(YR(n,"Chosen node placement: "+f),YR(n,"Blocks: "+Mlt(f)),YR(n,"Classes: "+function(t,e){var n,r,i,a,o;for(r=new FX,a=EX(new $y(t.g)).a.ec().Ic();a.Ob();){if(!(i=RR(a.Pb(),10))){YR(e,"There are no classes in a balanced layout.");break}(n=RR(aQ(r,o=t.j[i.p]),14))||set(r,o,n=new Vb),n.Dc(i)}return r}(f,n)),YR(n,"Marked edges: "+t.b)),s=new ed(b);s.a<s.c.c.length;)(o=RR(xG(s),182)).g=null,o.b=null,o.a=null,o.d=null,o.j=null,o.i=null,o.p=null;!function(t){t.a=null,t.e=null,t.b.c=hK(gjt,zxt,1,0,5,1),t.f.c=hK(gjt,zxt,1,0,5,1),t.c=null}(t.c),t.b.a.$b(),Sst(n)}function lxt(t,e,n,i,a,o){var s,u,c,l,h,f,d;switch(e){case 71:s=i.q.getFullYear()-o_t>=-1900?1:0,UC(t,n>=4?X3(uw(MFt,1),u_t,2,6,[cSt,lSt])[s]:X3(uw(MFt,1),u_t,2,6,["BC","AD"])[s]);break;case 121:!function(t,e,n){var r;switch((r=n.q.getFullYear()-o_t+o_t)<0&&(r=-r),e){case 1:t.a+=r;break;case 2:GZ(t,r%100,2);break;default:GZ(t,r,e)}}(t,n,i);break;case 77:!function(t,e,n){var r;switch(r=n.q.getMonth(),e){case 5:UC(t,X3(uw(MFt,1),u_t,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[r]);break;case 4:UC(t,X3(uw(MFt,1),u_t,2,6,[K_t,Z_t,Q_t,J_t,tSt,eSt,nSt,rSt,iSt,aSt,oSt,sSt])[r]);break;case 3:UC(t,X3(uw(MFt,1),u_t,2,6,["Jan","Feb","Mar","Apr",tSt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[r]);break;default:GZ(t,r+1,e)}}(t,n,i);break;case 107:GZ(t,0==(u=a.q.getHours())?24:u,n);break;case 83:!function(t,e,n){var i,a;A5(i=C2(n.q.getTime()),0)<0?(a=L_t-QN(z9(kK(i),L_t)))==L_t&&(a=0):a=QN(z9(i,L_t)),1==e?iz(t,48+(a=r.Math.min((a+50)/100|0,9))&Y_t):2==e?GZ(t,a=r.Math.min((a+5)/10|0,99),2):(GZ(t,a,3),e>3&&GZ(t,0,e-3))}(t,n,a);break;case 69:c=i.q.getDay(),UC(t,5==n?X3(uw(MFt,1),u_t,2,6,["S","M","T","W","T","F","S"])[c]:4==n?X3(uw(MFt,1),u_t,2,6,[hSt,fSt,dSt,pSt,gSt,bSt,vSt])[c]:X3(uw(MFt,1),u_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?UC(t,X3(uw(MFt,1),u_t,2,6,["AM","PM"])[1]):UC(t,X3(uw(MFt,1),u_t,2,6,["AM","PM"])[0]);break;case 104:GZ(t,0==(l=a.q.getHours()%12)?12:l,n);break;case 75:GZ(t,a.q.getHours()%12,n);break;case 72:GZ(t,a.q.getHours(),n);break;case 99:h=i.q.getDay(),5==n?UC(t,X3(uw(MFt,1),u_t,2,6,["S","M","T","W","T","F","S"])[h]):4==n?UC(t,X3(uw(MFt,1),u_t,2,6,[hSt,fSt,dSt,pSt,gSt,bSt,vSt])[h]):3==n?UC(t,X3(uw(MFt,1),u_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):GZ(t,h,1);break;case 76:f=i.q.getMonth(),5==n?UC(t,X3(uw(MFt,1),u_t,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==n?UC(t,X3(uw(MFt,1),u_t,2,6,[K_t,Z_t,Q_t,J_t,tSt,eSt,nSt,rSt,iSt,aSt,oSt,sSt])[f]):3==n?UC(t,X3(uw(MFt,1),u_t,2,6,["Jan","Feb","Mar","Apr",tSt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):GZ(t,f+1,n);break;case 81:d=i.q.getMonth()/3|0,UC(t,n<4?X3(uw(MFt,1),u_t,2,6,["Q1","Q2","Q3","Q4"])[d]:X3(uw(MFt,1),u_t,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[d]);break;case 100:GZ(t,i.q.getDate(),n);break;case 109:GZ(t,a.q.getMinutes(),n);break;case 115:GZ(t,a.q.getSeconds(),n);break;case 122:UC(t,n<4?o.c[0]:o.c[1]);break;case 118:UC(t,o.b);break;case 90:UC(t,n<3?function(t){var e,n;return n=-t.a,e=X3(uw(eoe,1),q_t,24,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&Y_t,e[2]=e[2]+(n/60|0)%10&Y_t,e[3]=e[3]+(n%60/10|0)&Y_t,e[4]=e[4]+n%10&Y_t,utt(e,0,e.length)}(o):3==n?function(t){var e,n;return n=-t.a,e=X3(uw(eoe,1),q_t,24,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&Y_t,e[2]=e[2]+(n/60|0)%10&Y_t,e[4]=e[4]+(n%60/10|0)&Y_t,e[5]=e[5]+n%10&Y_t,utt(e,0,e.length)}(o):function(t){var e;return e=X3(uw(eoe,1),q_t,24,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&Y_t,e[5]=e[5]+(t/60|0)%10&Y_t,e[7]=e[7]+(t%60/10|0)&Y_t,e[8]=e[8]+t%10&Y_t,utt(e,0,e.length)}(o.a));break;default:return!1}return!0}function hxt(t,e,n,r){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T;if(egt(e),u=RR(sJ((!e.b&&(e.b=new nL(nne,e,4,7)),e.b),0),93),l=RR(sJ((!e.c&&(e.c=new nL(nne,e,5,8)),e.c),0),93),s=Yat(u),c=Yat(l),o=0==(!e.a&&(e.a=new FF(ine,e,6,6)),e.a).i?null:RR(sJ((!e.a&&(e.a=new FF(ine,e,6,6)),e.a),0),201),_=RR(oz(t.a,s),10),M=RR(oz(t.a,c),10),S=null,C=null,zA(u,199)&&(zA(x=RR(oz(t.a,u),299),11)?S=RR(x,11):zA(x,10)&&(_=RR(x,10),S=RR(JN(_.j,0),11))),zA(l,199)&&(zA(I=RR(oz(t.a,l),299),11)?C=RR(I,11):zA(I,10)&&(M=RR(I,10),C=RR(JN(M.j,0),11))),!_||!M)throw Jb(new qy("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(l3(g=new NV,e),S4(g,(dxt(),Oqt),e),S4(g,(Zwt(),yQt),null),d=RR(Bot(r,vqt),21),_==M&&d.Dc((Zdt(),NXt)),S||(M1(),w=N1t,k=null,o&&jT(RR(Bot(_,nJt),100))&&(sX(k=new YM(o.j,o.k),$H(e)),mq(k,n),oJ(c,s)&&(w=R1t,zO(k,_.n))),S=rmt(_,k,w,r)),C||(M1(),w=R1t,T=null,o&&jT(RR(Bot(M,nJt),100))&&(sX(T=new YM(o.b,o.c),$H(e)),mq(T,n)),C=rmt(M,T,w,jz(M))),PW(g,S),EW(g,C),(S.e.c.length>1||S.g.c.length>1||C.e.c.length>1||C.g.c.length>1)&&d.Dc((Zdt(),PXt)),f=new SE((!e.n&&(e.n=new FF(cne,e,1,7)),e.n));f.e!=f.i.gc();)if(!Ay($D(_ht(h=RR(Htt(f),137),WQt)))&&h.a)switch(b=T6(h),LR(g.b,b),RR(Bot(b,JZt),271).g){case 1:case 2:d.Dc((Zdt(),AXt));break;case 0:d.Dc((Zdt(),CXt)),S4(b,JZt,(VJ(),b7t))}if(a=RR(Bot(r,GZt),333),v=RR(Bot(r,zQt),312),i=a==(VX(),EUt)||v==(Mnt(),l1t),o&&0!=(!o.a&&(o.a=new fE(Jee,o,5)),o.a).i&&i){for(m=Hst(o),p=new vm,y=het(m,0);y.b!=y.d.c;)vN(p,new uA(RR(zU(y),8)));S4(g,Lqt,p)}return g}function fxt(){var t,e;fxt=S,A8t=new vb(JPt),G9t=new vb(tDt),ant(),E8t=new cT(AAt,P8t=e8t),new zb,D8t=new cT(XIt,null),O8t=new vb(eDt),bat(),F8t=Dj(C8t,X3(uw(c7t,1),P_t,290,0,[S8t])),j8t=new cT(GAt,F8t),B8t=new cT(TAt,(_P(),!1)),E8(),z8t=new cT(LAt,$8t=d7t),V9(),G8t=new cT(rAt,U8t=k7t),Y8t=new cT(bPt,!1),P8(),K8t=new cT(QTt,Z8t=W7t),w9t=new sA(12),y9t=new cT(qIt,w9t),e9t=new cT(wMt,!1),n9t=new cT(iEt,!1),Fat(),O9t=new cT(xMt,L9t=_te),V9t=new vb(eEt),H9t=new vb(gMt),W9t=new vb(mMt),X9t=new vb(yMt),i9t=new vm,r9t=new cT(XAt,i9t),N8t=new cT(KAt,!1),Q8t=new cT(ZAt,!1),new vb(nDt),o9t=new om,a9t=new cT(nEt,o9t),m9t=new cT(MAt,!1),new zb,U9t=new cT(rDt,1),new cT(iDt,!0),k8(0),new cT(aDt,k8(100)),new cT(oDt,!1),k8(0),new cT(sDt,k8(4e3)),k8(0),new cT(uDt,k8(400)),new cT(cDt,!1),new cT(lDt,!1),new cT(hDt,!0),new cT(fDt,!1),E7(),L8t=new cT(QPt,R8t=Cee),q9t=new cT(gAt,10),Y9t=new cT(bAt,10),K9t=new cT(GIt,20),Z9t=new cT(vAt,10),Q9t=new cT(vMt,2),J9t=new cT(mAt,10),e7t=new cT(yAt,0),n7t=new cT(xAt,5),r7t=new cT(wAt,1),i7t=new cT(bMt,20),a7t=new cT(_At,10),u7t=new cT(SAt,10),t7t=new vb(kAt),s7t=new qT,o7t=new cT(rEt,s7t),S9t=new vb(tEt),x9t=new cT(JAt,_9t=!1),u9t=new sA(5),s9t=new cT(NAt,u9t),kht(),e=RR(Rx(gte),9),l9t=new GL(e,RR(wO(e,e.length),9),0),c9t=new cT(RAt,l9t),get(),I9t=new cT(zAt,M9t=fte),T9t=new vb($At),A9t=new vb(VAt),E9t=new vb(HAt),C9t=new vb(WAt),t=RR(Rx(xee),9),f9t=new GL(t,RR(wO(t,t.length),9),0),h9t=new cT(DAt,f9t),v9t=a9((Vgt(),pee)),b9t=new cT(OAt,v9t),g9t=new YM(0,0),p9t=new cT(UAt,g9t),d9t=new cT(dDt,!1),VJ(),H8t=new cT(qAt,W8t=b7t),V8t=new cT(_Mt,!1),new vb(pDt),k8(1),new cT(gDt,null),P9t=new vb(QAt),R9t=new vb(YAt),dwt(),z9t=new cT(CAt,$9t=Zte),D9t=new vb(IAt),aot(),F9t=a9(Tte),j9t=new cT(jAt,F9t),N9t=new cT(FAt,!1),B9t=new cT(BAt,!0),J8t=new cT(EAt,!1),t9t=new cT(PAt,!1),X8t=new cT(UIt,1),wot(),new cT(bDt,q8t=P7t),k9t=!0}function dxt(){var t,e;dxt=S,Oqt=new vb(SMt),iqt=new vb("coordinateOrigin"),Hqt=new vb("processors"),rqt=new JD("compoundNode",(_P(),!1)),wqt=new JD("insideConnections",!1),Lqt=new vb("originalBendpoints"),Rqt=new vb("originalDummyNodePosition"),Nqt=new vb("originalLabelEdge"),Gqt=new vb("representedLabels"),cqt=new vb("endLabels"),lqt=new vb("endLabel.origin"),Iqt=new JD("labelSide",(Krt(),K7t)),Pqt=new JD("maxEdgeThickness",0),Uqt=new JD("reversed",!1),Wqt=new vb(kMt),Tqt=new JD("longEdgeSource",null),Aqt=new JD("longEdgeTarget",null),Cqt=new JD("longEdgeHasLabelDummies",!1),Mqt=new JD("longEdgeBeforeLabelDummy",!1),uqt=new JD("edgeConstraint",(f4(),YUt)),_qt=new vb("inLayerLayoutUnit"),xqt=new JD("inLayerConstraint",(JZ(),GXt)),Sqt=new JD("inLayerSuccessorConstraint",new Vb),kqt=new JD("inLayerSuccessorConstraintBetweenNonDummies",!1),$qt=new vb("portDummy"),aqt=new JD("crossingHint",k8(0)),vqt=new JD("graphProperties",new GL(e=RR(Rx(VXt),9),RR(wO(e,e.length),9),0)),pqt=new JD("externalPortSide",(dwt(),Zte)),gqt=new JD("externalPortSize",new fx),fqt=new vb("externalPortReplacedDummies"),dqt=new vb("externalPortReplacedDummy"),hqt=new JD("externalPortConnections",new GL(t=RR(Rx(oee),9),RR(wO(t,t.length),9),0)),Vqt=new JD(dIt,0),JXt=new vb("barycenterAssociates"),tYt=new vb("TopSideComments"),tqt=new vb("BottomSideComments"),nqt=new vb("CommentConnectionPort"),yqt=new JD("inputCollect",!1),Bqt=new JD("outputCollect",!1),sqt=new JD("cyclic",!1),oqt=new vb("crossHierarchyMap"),Jqt=new vb("targetOffset"),new JD("splineLabelSize",new fx),qqt=new vb("spacings"),zqt=new JD("partitionConstraint",!1),eqt=new vb("breakingPoint.info"),Qqt=new vb("splines.survivingEdge"),Zqt=new vb("splines.route.start"),Yqt=new vb("splines.edgeChain"),Fqt=new vb("originalPortConstraints"),Xqt=new vb("selfLoopHolder"),Kqt=new vb("splines.nsPortY"),Dqt=new vb("modelOrder"),Eqt=new vb("longEdgeTargetNode"),bqt=new JD("firstTryWithInitialOrder",!1),mqt=new vb("layerConstraints.hiddenNodes"),jqt=new vb("layerConstraints.opposidePort")}function pxt(){pxt=S,G4(),pYt=new cT(NCt,gYt=C1t),FQ(),LYt=new cT(jCt,RYt=WUt),QYt=new cT(FCt,(_P(),!1)),ZU(),nKt=new cT(BCt,rKt=YXt),xKt=new cT(zCt,!1),_Kt=new cT($Ct,!0),uYt=new cT(VCt,!1),PZ(),$Kt=new cT(HCt,VKt=P1t),k8(1),KKt=new cT(WCt,k8(7)),ZKt=new cT(GCt,!1),eJ(),DYt=new cT(UCt,OYt=zUt),rot(),yKt=new cT(XCt,wKt=t1t),H9(),cKt=new cT(qCt,lKt=aYt),k8(-1),uKt=new cT(YCt,k8(-1)),k8(-1),hKt=new cT(KCt,k8(-1)),k8(-1),fKt=new cT(ZCt,k8(4)),k8(-1),pKt=new cT(QCt,k8(2)),Lft(),vKt=new cT(JCt,mKt=_1t),k8(0),bKt=new cT(tTt,k8(0)),oKt=new cT(eTt,k8(Lxt)),VX(),EYt=new cT(nTt,PYt=PUt),kYt=new cT(rTt,.1),TYt=new cT(iTt,!1),k8(-1),MYt=new cT(aTt,k8(-1)),k8(-1),CYt=new cT(oTt,k8(-1)),k8(0),bYt=new cT(sTt,k8(40)),$2(),xYt=new cT(uTt,_Yt=$Xt),vYt=new cT(cTt,mYt=BXt),Mnt(),BKt=new cT(lTt,zKt=c1t),AKt=new vb(hTt),uZ(),SKt=new cT(fTt,kKt=sXt),Qit(),MKt=new cT(dTt,CKt=pXt),new zb,DKt=new cT(pTt,.3),LKt=new vb(gTt),int(),RKt=new cT(bTt,NKt=a1t),V2(),VYt=new cT(vTt,HYt=$1t),CY(),WYt=new cT(mTt,GYt=U1t),d6(),UYt=new cT(yTt,XYt=Q1t),YYt=new cT(wTt,.2),zYt=new cT(xTt,2),UKt=new cT(_Tt,null),qKt=new cT(STt,10),XKt=new cT(kTt,10),YKt=new cT(ITt,20),k8(0),HKt=new cT(MTt,k8(0)),k8(0),WKt=new cT(CTt,k8(0)),k8(0),GKt=new cT(TTt,k8(0)),cYt=new cT(ATt,!1),ust(),fYt=new cT(ETt,dYt=SXt),sK(),lYt=new cT(PTt,hYt=CUt),tKt=new cT(DTt,!1),k8(0),JYt=new cT(OTt,k8(16)),k8(0),eKt=new cT(LTt,k8(5)),k3(),yZt=new cT(RTt,wZt=o0t),QKt=new cT(NTt,10),eZt=new cT(jTt,1),C1(),cZt=new cT(FTt,lZt=NUt),iZt=new vb(BTt),sZt=k8(1),k8(0),oZt=new cT(zTt,sZt),h2(),kZt=new cT($Tt,IZt=t0t),xZt=new vb(VTt),gZt=new cT(HTt,!0),dZt=new cT(WTt,2),vZt=new cT(GTt,!0),xst(),FYt=new cT(UTt,BYt=rXt),_ut(),NYt=new cT(XTt,jYt=xUt),aKt=$Ut,iKt=EUt,dKt=JJt,gKt=JJt,sKt=KJt,P8(),IYt=H7t,AYt=PUt,SYt=PUt,yYt=PUt,wYt=H7t,EKt=f1t,PKt=c1t,IKt=c1t,TKt=c1t,OKt=h1t,FKt=f1t,jKt=f1t,V9(),qYt=S7t,KYt=S7t,ZYt=Q1t,$Yt=_7t,JKt=s0t,tZt=a0t,nZt=s0t,rZt=a0t,hZt=s0t,fZt=a0t,aZt=RUt,uZt=NUt,MZt=s0t,CZt=a0t,_Zt=s0t,SZt=a0t,bZt=a0t,pZt=a0t,mZt=a0t}function gxt(){gxt=S,MWt=new Kk("DIRECTION_PREPROCESSOR",0),SWt=new Kk("COMMENT_PREPROCESSOR",1),CWt=new Kk("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),HWt=new Kk("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),uGt=new Kk("PARTITION_PREPROCESSOR",4),XWt=new Kk("LABEL_DUMMY_INSERTER",5),pGt=new Kk("SELF_LOOP_PREPROCESSOR",6),QWt=new Kk("LAYER_CONSTRAINT_PREPROCESSOR",7),oGt=new Kk("PARTITION_MIDPROCESSOR",8),FWt=new Kk("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),nGt=new Kk("NODE_PROMOTION",10),ZWt=new Kk("LAYER_CONSTRAINT_POSTPROCESSOR",11),sGt=new Kk("PARTITION_POSTPROCESSOR",12),LWt=new Kk("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),bGt=new Kk("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),vWt=new Kk("BREAKING_POINT_INSERTER",15),eGt=new Kk("LONG_EDGE_SPLITTER",16),lGt=new Kk("PORT_SIDE_PROCESSOR",17),WWt=new Kk("INVERTED_PORT_PROCESSOR",18),cGt=new Kk("PORT_LIST_SORTER",19),mGt=new Kk("SORT_BY_INPUT_ORDER_OF_MODEL",20),iGt=new Kk("NORTH_SOUTH_PORT_PREPROCESSOR",21),mWt=new Kk("BREAKING_POINT_PROCESSOR",22),aGt=new Kk(dCt,23),yGt=new Kk(pCt,24),fGt=new Kk("SELF_LOOP_PORT_RESTORER",25),vGt=new Kk("SINGLE_EDGE_GRAPH_WRAPPER",26),GWt=new Kk("IN_LAYER_CONSTRAINT_PROCESSOR",27),PWt=new Kk("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),UWt=new Kk("LABEL_AND_NODE_SIZE_PROCESSOR",29),VWt=new Kk("INNERMOST_NODE_MARGIN_CALCULATOR",30),gGt=new Kk("SELF_LOOP_ROUTER",31),xWt=new Kk("COMMENT_NODE_MARGIN_CALCULATOR",32),AWt=new Kk("END_LABEL_PREPROCESSOR",33),YWt=new Kk("LABEL_DUMMY_SWITCHER",34),wWt=new Kk("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),KWt=new Kk("LABEL_SIDE_SELECTOR",36),zWt=new Kk("HYPEREDGE_DUMMY_MERGER",37),RWt=new Kk("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),JWt=new Kk("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),jWt=new Kk("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),kWt=new Kk("CONSTRAINTS_POSTPROCESSOR",41),_Wt=new Kk("COMMENT_POSTPROCESSOR",42),$Wt=new Kk("HYPERNODE_PROCESSOR",43),NWt=new Kk("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),tGt=new Kk("LONG_EDGE_JOINER",45),dGt=new Kk("SELF_LOOP_POSTPROCESSOR",46),yWt=new Kk("BREAKING_POINT_REMOVER",47),rGt=new Kk("NORTH_SOUTH_PORT_POSTPROCESSOR",48),BWt=new Kk("HORIZONTAL_COMPACTOR",49),qWt=new Kk("LABEL_DUMMY_REMOVER",50),DWt=new Kk("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),EWt=new Kk("END_LABEL_SORTER",52),hGt=new Kk("REVERSED_EDGE_RESTORER",53),TWt=new Kk("END_LABEL_POSTPROCESSOR",54),OWt=new Kk("HIERARCHICAL_NODE_RESIZER",55),IWt=new Kk("DIRECTION_POSTPROCESSOR",56)}function bxt(){bxt=S,Dae=new Bb(7),Oae=new mj(8,94),new mj(8,64),Lae=new mj(8,36),zae=new mj(8,65),$ae=new mj(8,122),Vae=new mj(8,90),Gae=new mj(8,98),Fae=new mj(8,66),Hae=new mj(8,60),Uae=new mj(8,62),Pae=new Bb(11),Bdt(Eae=new uG(4),48,57),Bdt(Wae=new uG(4),48,57),Bdt(Wae,65,90),Bdt(Wae,95,95),Bdt(Wae,97,122),Bdt(Bae=new uG(4),9,9),Bdt(Bae,10,10),Bdt(Bae,12,12),Bdt(Bae,13,13),Bdt(Bae,32,32),Rae=$bt(Eae),jae=$bt(Wae),Nae=$bt(Bae),Mae=new Hb,Cae=new Hb,Tae=X3(uw(MFt,1),u_t,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),Iae=X3(uw(MFt,1),u_t,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",ejt,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),Aae=X3(uw(noe,1),uSt,24,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function vxt(){vxt=S,f$t=new t2("OUT_T_L",0,(JK(),Rzt),(QZ(),Vzt),(nJ(),Azt),Azt,X3(uw(xjt,1),zxt,21,0,[Dj((kht(),ite),X3(uw(gte,1),P_t,92,0,[ste,tte]))])),h$t=new t2("OUT_T_C",1,Lzt,Vzt,Azt,Ezt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[ste,J7t])),Dj(ite,X3(uw(gte,1),P_t,92,0,[ste,J7t,ete]))])),d$t=new t2("OUT_T_R",2,Nzt,Vzt,Azt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[ste,nte]))])),r$t=new t2("OUT_B_L",3,Rzt,Wzt,Pzt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[ate,tte]))])),n$t=new t2("OUT_B_C",4,Lzt,Wzt,Pzt,Ezt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[ate,J7t])),Dj(ite,X3(uw(gte,1),P_t,92,0,[ate,J7t,ete]))])),i$t=new t2("OUT_B_R",5,Nzt,Wzt,Pzt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[ate,nte]))])),s$t=new t2("OUT_L_T",6,Nzt,Wzt,Azt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[tte,ste,ete]))])),o$t=new t2("OUT_L_C",7,Nzt,Hzt,Ezt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[tte,ote])),Dj(ite,X3(uw(gte,1),P_t,92,0,[tte,ote,ete]))])),a$t=new t2("OUT_L_B",8,Nzt,Vzt,Pzt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[tte,ate,ete]))])),l$t=new t2("OUT_R_T",9,Rzt,Wzt,Azt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[nte,ste,ete]))])),c$t=new t2("OUT_R_C",10,Rzt,Hzt,Ezt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[nte,ote])),Dj(ite,X3(uw(gte,1),P_t,92,0,[nte,ote,ete]))])),u$t=new t2("OUT_R_B",11,Rzt,Vzt,Pzt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(ite,X3(uw(gte,1),P_t,92,0,[nte,ate,ete]))])),t$t=new t2("IN_T_L",12,Rzt,Wzt,Azt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,tte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,tte,ete]))])),Jzt=new t2("IN_T_C",13,Lzt,Wzt,Azt,Ezt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,J7t])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,J7t,ete]))])),e$t=new t2("IN_T_R",14,Nzt,Wzt,Azt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,nte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ste,nte,ete]))])),Zzt=new t2("IN_C_L",15,Rzt,Hzt,Ezt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,tte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,tte,ete]))])),Kzt=new t2("IN_C_C",16,Lzt,Hzt,Ezt,Ezt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,J7t])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,J7t,ete]))])),Qzt=new t2("IN_C_R",17,Nzt,Hzt,Ezt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,nte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ote,nte,ete]))])),qzt=new t2("IN_B_L",18,Rzt,Vzt,Pzt,Azt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,tte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,tte,ete]))])),Xzt=new t2("IN_B_C",19,Lzt,Vzt,Pzt,Ezt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,J7t])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,J7t,ete]))])),Yzt=new t2("IN_B_R",20,Nzt,Vzt,Pzt,Pzt,X3(uw(xjt,1),zxt,21,0,[Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,nte])),Dj(rte,X3(uw(gte,1),P_t,92,0,[ate,nte,ete]))])),p$t=new t2(uIt,21,null,null,null,null,X3(uw(xjt,1),zxt,21,0,[]))}function mxt(){mxt=S,Mre=(VB(),kre).b,RR(sJ(kV(kre.b),0),32),RR(sJ(kV(kre.b),1),17),Ire=kre.a,RR(sJ(kV(kre.a),0),32),RR(sJ(kV(kre.a),1),17),RR(sJ(kV(kre.a),2),17),RR(sJ(kV(kre.a),3),17),RR(sJ(kV(kre.a),4),17),Cre=kre.o,RR(sJ(kV(kre.o),0),32),RR(sJ(kV(kre.o),1),32),Are=RR(sJ(kV(kre.o),2),17),RR(sJ(kV(kre.o),3),17),RR(sJ(kV(kre.o),4),17),RR(sJ(kV(kre.o),5),17),RR(sJ(kV(kre.o),6),17),RR(sJ(kV(kre.o),7),17),RR(sJ(kV(kre.o),8),17),RR(sJ(kV(kre.o),9),17),RR(sJ(kV(kre.o),10),17),RR(sJ(kV(kre.o),11),17),RR(sJ(kV(kre.o),12),17),RR(sJ(kV(kre.o),13),17),RR(sJ(kV(kre.o),14),17),RR(sJ(kV(kre.o),15),17),RR(sJ(SV(kre.o),0),58),RR(sJ(SV(kre.o),1),58),RR(sJ(SV(kre.o),2),58),RR(sJ(SV(kre.o),3),58),RR(sJ(SV(kre.o),4),58),RR(sJ(SV(kre.o),5),58),RR(sJ(SV(kre.o),6),58),RR(sJ(SV(kre.o),7),58),RR(sJ(SV(kre.o),8),58),RR(sJ(SV(kre.o),9),58),Tre=kre.p,RR(sJ(kV(kre.p),0),32),RR(sJ(kV(kre.p),1),32),RR(sJ(kV(kre.p),2),32),RR(sJ(kV(kre.p),3),32),RR(sJ(kV(kre.p),4),17),RR(sJ(kV(kre.p),5),17),RR(sJ(SV(kre.p),0),58),RR(sJ(SV(kre.p),1),58),Ere=kre.q,RR(sJ(kV(kre.q),0),32),Pre=kre.v,RR(sJ(kV(kre.v),0),17),RR(sJ(SV(kre.v),0),58),RR(sJ(SV(kre.v),1),58),RR(sJ(SV(kre.v),2),58),Dre=kre.w,RR(sJ(kV(kre.w),0),32),RR(sJ(kV(kre.w),1),32),RR(sJ(kV(kre.w),2),32),RR(sJ(kV(kre.w),3),17),Ore=kre.B,RR(sJ(kV(kre.B),0),17),RR(sJ(SV(kre.B),0),58),RR(sJ(SV(kre.B),1),58),RR(sJ(SV(kre.B),2),58),Nre=kre.Q,RR(sJ(kV(kre.Q),0),17),RR(sJ(SV(kre.Q),0),58),jre=kre.R,RR(sJ(kV(kre.R),0),32),Fre=kre.S,RR(sJ(SV(kre.S),0),58),RR(sJ(SV(kre.S),1),58),RR(sJ(SV(kre.S),2),58),RR(sJ(SV(kre.S),3),58),RR(sJ(SV(kre.S),4),58),RR(sJ(SV(kre.S),5),58),RR(sJ(SV(kre.S),6),58),RR(sJ(SV(kre.S),7),58),RR(sJ(SV(kre.S),8),58),RR(sJ(SV(kre.S),9),58),RR(sJ(SV(kre.S),10),58),RR(sJ(SV(kre.S),11),58),RR(sJ(SV(kre.S),12),58),RR(sJ(SV(kre.S),13),58),RR(sJ(SV(kre.S),14),58),Bre=kre.T,RR(sJ(kV(kre.T),0),17),RR(sJ(kV(kre.T),2),17),zre=RR(sJ(kV(kre.T),3),17),RR(sJ(kV(kre.T),4),17),RR(sJ(SV(kre.T),0),58),RR(sJ(SV(kre.T),1),58),RR(sJ(kV(kre.T),1),17),$re=kre.U,RR(sJ(kV(kre.U),0),32),RR(sJ(kV(kre.U),1),32),RR(sJ(kV(kre.U),2),17),RR(sJ(kV(kre.U),3),17),RR(sJ(kV(kre.U),4),17),RR(sJ(kV(kre.U),5),17),RR(sJ(SV(kre.U),0),58),Vre=kre.V,RR(sJ(kV(kre.V),0),17),Hre=kre.W,RR(sJ(kV(kre.W),0),32),RR(sJ(kV(kre.W),1),32),RR(sJ(kV(kre.W),2),32),RR(sJ(kV(kre.W),3),17),RR(sJ(kV(kre.W),4),17),RR(sJ(kV(kre.W),5),17),Gre=kre.bb,RR(sJ(kV(kre.bb),0),32),RR(sJ(kV(kre.bb),1),32),RR(sJ(kV(kre.bb),2),32),RR(sJ(kV(kre.bb),3),32),RR(sJ(kV(kre.bb),4),32),RR(sJ(kV(kre.bb),5),32),RR(sJ(kV(kre.bb),6),32),RR(sJ(kV(kre.bb),7),17),RR(sJ(SV(kre.bb),0),58),RR(sJ(SV(kre.bb),1),58),Ure=kre.eb,RR(sJ(kV(kre.eb),0),32),RR(sJ(kV(kre.eb),1),32),RR(sJ(kV(kre.eb),2),32),RR(sJ(kV(kre.eb),3),32),RR(sJ(kV(kre.eb),4),32),RR(sJ(kV(kre.eb),5),32),RR(sJ(kV(kre.eb),6),17),RR(sJ(kV(kre.eb),7),17),Wre=kre.ab,RR(sJ(kV(kre.ab),0),32),RR(sJ(kV(kre.ab),1),32),Lre=kre.H,RR(sJ(kV(kre.H),0),17),RR(sJ(kV(kre.H),1),17),RR(sJ(kV(kre.H),2),17),RR(sJ(kV(kre.H),3),17),RR(sJ(kV(kre.H),4),17),RR(sJ(kV(kre.H),5),17),RR(sJ(SV(kre.H),0),58),Xre=kre.db,RR(sJ(kV(kre.db),0),17),Rre=kre.M}function yxt(t){WS(t,new iot(Kw(Ww(Yw(Hw(qw(Uw(new fs,iCt),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Sa),iCt),Dj((qlt(),Cne),X3(uw(Ane,1),P_t,237,0,[kne,Ine,Sne,Mne,xne,wne]))))),rU(t,iCt,gAt,bet(vJt)),rU(t,iCt,bAt,bet(mJt)),rU(t,iCt,GIt,bet(yJt)),rU(t,iCt,vAt,bet(wJt)),rU(t,iCt,vMt,bet(_Jt)),rU(t,iCt,mAt,bet(SJt)),rU(t,iCt,yAt,bet(MJt)),rU(t,iCt,wAt,bet(TJt)),rU(t,iCt,xAt,bet(CJt)),rU(t,iCt,bMt,bet(AJt)),rU(t,iCt,_At,bet(PJt)),rU(t,iCt,SAt,bet(OJt)),rU(t,iCt,kAt,bet(IJt)),rU(t,iCt,_Tt,bet(bJt)),rU(t,iCt,kTt,bet(xJt)),rU(t,iCt,STt,bet(kJt)),rU(t,iCt,ITt,bet(EJt)),rU(t,iCt,gMt,k8(0)),rU(t,iCt,MTt,bet(hJt)),rU(t,iCt,CTt,bet(fJt)),rU(t,iCt,TTt,bet(dJt)),rU(t,iCt,RTt,bet(WJt)),rU(t,iCt,NTt,bet(NJt)),rU(t,iCt,jTt,bet(jJt)),rU(t,iCt,FTt,bet(zJt)),rU(t,iCt,BTt,bet(FJt)),rU(t,iCt,zTt,bet(BJt)),rU(t,iCt,$Tt,bet(UJt)),rU(t,iCt,VTt,bet(GJt)),rU(t,iCt,HTt,bet(VJt)),rU(t,iCt,WTt,bet($Jt)),rU(t,iCt,GTt,bet(HJt)),rU(t,iCt,gTt,bet(FQt)),rU(t,iCt,bTt,bet(BQt)),rU(t,iCt,yTt,bet(oQt)),rU(t,iCt,wTt,bet(sQt)),rU(t,iCt,qIt,UQt),rU(t,iCt,rAt,nQt),rU(t,iCt,IAt,0),rU(t,iCt,mMt,k8(1)),rU(t,iCt,XIt,dMt),rU(t,iCt,MAt,bet(WQt)),rU(t,iCt,xMt,bet(nJt)),rU(t,iCt,CAt,bet(sJt)),rU(t,iCt,TAt,bet(XZt)),rU(t,iCt,AAt,bet(AZt)),rU(t,iCt,QTt,bet(lQt)),rU(t,iCt,yMt,(_P(),!0)),rU(t,iCt,EAt,bet(gQt)),rU(t,iCt,PAt,bet(bQt)),rU(t,iCt,DAt,bet($Qt)),rU(t,iCt,OAt,bet(HQt)),rU(t,iCt,LAt,KZt),rU(t,iCt,RAt,bet(OQt)),rU(t,iCt,NAt,bet(DQt)),rU(t,iCt,jAt,bet(aJt)),rU(t,iCt,FAt,bet(iJt)),rU(t,iCt,BAt,bet(oJt)),rU(t,iCt,zAt,YQt),rU(t,iCt,$At,bet(ZQt)),rU(t,iCt,VAt,bet(QQt)),rU(t,iCt,HAt,bet(JQt)),rU(t,iCt,WAt,bet(KQt)),rU(t,iCt,GCt,bet(RJt)),rU(t,iCt,XCt,bet(TQt)),rU(t,iCt,JCt,bet(CQt)),rU(t,iCt,WCt,bet(LJt)),rU(t,iCt,qCt,bet(_Qt)),rU(t,iCt,UCt,bet(UZt)),rU(t,iCt,nTt,bet(GZt)),rU(t,iCt,sTt,bet(FZt)),rU(t,iCt,uTt,bet(zZt)),rU(t,iCt,cTt,bet(BZt)),rU(t,iCt,iTt,bet(WZt)),rU(t,iCt,zCt,bet(EQt)),rU(t,iCt,$Ct,bet(PQt)),rU(t,iCt,BCt,bet(mQt)),rU(t,iCt,lTt,bet(zQt)),rU(t,iCt,dTt,bet(RQt)),rU(t,iCt,FCt,bet(cQt)),rU(t,iCt,pTt,bet(jQt)),rU(t,iCt,vTt,bet(iQt)),rU(t,iCt,mTt,bet(aQt)),rU(t,iCt,GAt,bet(jZt)),rU(t,iCt,fTt,bet(LQt)),rU(t,iCt,ETt,bet(RZt)),rU(t,iCt,PTt,bet(LZt)),rU(t,iCt,ATt,bet(OZt)),rU(t,iCt,DTt,bet(fQt)),rU(t,iCt,OTt,bet(hQt)),rU(t,iCt,LTt,bet(dQt)),rU(t,iCt,UAt,bet(VQt)),rU(t,iCt,XAt,bet(yQt)),rU(t,iCt,UIt,bet(uQt)),rU(t,iCt,qAt,bet(JZt)),rU(t,iCt,_Mt,bet(QZt)),rU(t,iCt,rTt,bet($Zt)),rU(t,iCt,YAt,bet(rJt)),rU(t,iCt,KAt,bet(DZt)),rU(t,iCt,ZAt,bet(pQt)),rU(t,iCt,QAt,bet(tJt)),rU(t,iCt,JAt,bet(XQt)),rU(t,iCt,tEt,bet(qQt)),rU(t,iCt,ZCt,bet(kQt)),rU(t,iCt,QCt,bet(IQt)),rU(t,iCt,eEt,bet(cJt)),rU(t,iCt,VCt,bet(EZt)),rU(t,iCt,tTt,bet(MQt)),rU(t,iCt,UTt,bet(tQt)),rU(t,iCt,XTt,bet(ZZt)),rU(t,iCt,nEt,bet(AQt)),rU(t,iCt,eTt,bet(wQt)),rU(t,iCt,hTt,bet(NQt)),rU(t,iCt,rEt,bet(DJt)),rU(t,iCt,jCt,bet(YZt)),rU(t,iCt,HCt,bet(uJt)),rU(t,iCt,xTt,bet(rQt)),rU(t,iCt,YCt,bet(xQt)),rU(t,iCt,aTt,bet(VZt)),rU(t,iCt,iEt,bet(vQt)),rU(t,iCt,KCt,bet(SQt)),rU(t,iCt,oTt,bet(HZt)),rU(t,iCt,NCt,bet(NZt))}function wxt(t,e){var n;return Sae||(Sae=new Hb,kae=new Hb,bxt(),bxt(),O7(n=new uG(4),"\t\n\r\r "),mW(Sae,KNt,n),mW(kae,KNt,$bt(n)),O7(n=new uG(4),JNt),mW(Sae,qNt,n),mW(kae,qNt,$bt(n)),O7(n=new uG(4),JNt),mW(Sae,qNt,n),mW(kae,qNt,$bt(n)),O7(n=new uG(4),tjt),Qvt(n,RR(IH(Sae,qNt),117)),mW(Sae,YNt,n),mW(kae,YNt,$bt(n)),O7(n=new uG(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),mW(Sae,ZNt,n),mW(kae,ZNt,$bt(n)),O7(n=new uG(4),tjt),Bdt(n,95,95),Bdt(n,58,58),mW(Sae,QNt,n),mW(kae,QNt,$bt(n))),RR(IH(e?Sae:kae,t),136)}function xxt(t){return hL("_UI_EMFDiagnostic_marker",t)?"EMF Problem":hL("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":hL(QOt,t)?"Wrong character.":hL(JOt,t)?"Invalid reference number.":hL(tLt,t)?"A character is required after \\.":hL(eLt,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":hL(nLt,t)?"'(?<' or '(?<!' is expected.":hL(rLt,t)?"A comment is not terminated.":hL(iLt,t)?"')' is expected.":hL(aLt,t)?"Unexpected end of the pattern in a modifier group.":hL(oLt,t)?"':' is expected.":hL(sLt,t)?"Unexpected end of the pattern in a conditional group.":hL(uLt,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":hL(cLt,t)?"There are more than three choices in a conditional group.":hL(lLt,t)?"A character in U+0040-U+005f must follow \\c.":hL(hLt,t)?"A '{' is required before a character category.":hL(fLt,t)?"A property name is not closed by '}'.":hL(dLt,t)?"Unexpected meta character.":hL(pLt,t)?"Unknown property.":hL(gLt,t)?"A POSIX character class must be closed by ':]'.":hL(bLt,t)?"Unexpected end of the pattern in a character class.":hL(vLt,t)?"Unknown name for a POSIX character class.":hL("parser.cc.4",t)?"'-' is invalid here.":hL(mLt,t)?"']' is expected.":hL(yLt,t)?"'[' is invalid in a character class. Write '\\['.":hL(wLt,t)?"']' is invalid in a character class. Write '\\]'.":hL(xLt,t)?"'-' is an invalid character range. Write '\\-'.":hL(_Lt,t)?"'[' is expected.":hL(SLt,t)?"')' or '-[' or '+[' or '&[' is expected.":hL(kLt,t)?"The range end code point is less than the start code point.":hL(ILt,t)?"Invalid Unicode hex notation.":hL(MLt,t)?"Overflow in a hex notation.":hL(CLt,t)?"'\\x{' must be closed by '}'.":hL(TLt,t)?"Invalid Unicode code point.":hL(ALt,t)?"An anchor must not be here.":hL(ELt,t)?"This expression is not supported in the current option setting.":hL(PLt,t)?"Invalid quantifier. A digit is expected.":hL(DLt,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":hL(OLt,t)?"Invalid quantifier. A digit or '}' is expected.":hL(LLt,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":hL(RLt,t)?"Invalid quantifier. A quantity value overflow.":hL("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":hL("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":hL("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":hL("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":hL("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":hL("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":hL("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":hL("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":hL("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":hL("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":hL("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":hL("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":hL("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":hL("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":hL("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":hL("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":hL("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":hL("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":hL("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":hL("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":hL("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":hL("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":hL("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":hL("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":hL("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":hL("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":hL("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":hL("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":hL("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":hL("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":hL("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function _xt(){_xt=S,(_ae=hK(aoe,iOt,24,BSt,15,1))[9]=35,_ae[10]=19,_ae[13]=19,_ae[32]=51,_ae[33]=49,_ae[34]=33,sB(_ae,35,38,49),_ae[38]=1,sB(_ae,39,45,49),sB(_ae,45,47,-71),_ae[47]=49,sB(_ae,48,58,-71),_ae[58]=61,_ae[59]=49,_ae[60]=1,_ae[61]=49,_ae[62]=33,sB(_ae,63,65,49),sB(_ae,65,91,-3),sB(_ae,91,93,33),_ae[93]=1,_ae[94]=33,_ae[95]=-3,_ae[96]=33,sB(_ae,97,123,-3),sB(_ae,123,183,33),_ae[183]=-87,sB(_ae,184,192,33),sB(_ae,192,215,-19),_ae[215]=33,sB(_ae,216,247,-19),_ae[247]=33,sB(_ae,248,306,-19),sB(_ae,306,308,33),sB(_ae,308,319,-19),sB(_ae,319,321,33),sB(_ae,321,329,-19),_ae[329]=33,sB(_ae,330,383,-19),_ae[383]=33,sB(_ae,384,452,-19),sB(_ae,452,461,33),sB(_ae,461,497,-19),sB(_ae,497,500,33),sB(_ae,500,502,-19),sB(_ae,502,506,33),sB(_ae,506,536,-19),sB(_ae,536,592,33),sB(_ae,592,681,-19),sB(_ae,681,699,33),sB(_ae,699,706,-19),sB(_ae,706,720,33),sB(_ae,720,722,-87),sB(_ae,722,768,33),sB(_ae,768,838,-87),sB(_ae,838,864,33),sB(_ae,864,866,-87),sB(_ae,866,902,33),_ae[902]=-19,_ae[903]=-87,sB(_ae,904,907,-19),_ae[907]=33,_ae[908]=-19,_ae[909]=33,sB(_ae,910,930,-19),_ae[930]=33,sB(_ae,931,975,-19),_ae[975]=33,sB(_ae,976,983,-19),sB(_ae,983,986,33),_ae[986]=-19,_ae[987]=33,_ae[988]=-19,_ae[989]=33,_ae[990]=-19,_ae[991]=33,_ae[992]=-19,_ae[993]=33,sB(_ae,994,1012,-19),sB(_ae,1012,1025,33),sB(_ae,1025,1037,-19),_ae[1037]=33,sB(_ae,1038,1104,-19),_ae[1104]=33,sB(_ae,1105,1117,-19),_ae[1117]=33,sB(_ae,1118,1154,-19),_ae[1154]=33,sB(_ae,1155,1159,-87),sB(_ae,1159,1168,33),sB(_ae,1168,1221,-19),sB(_ae,1221,1223,33),sB(_ae,1223,1225,-19),sB(_ae,1225,1227,33),sB(_ae,1227,1229,-19),sB(_ae,1229,1232,33),sB(_ae,1232,1260,-19),sB(_ae,1260,1262,33),sB(_ae,1262,1270,-19),sB(_ae,1270,1272,33),sB(_ae,1272,1274,-19),sB(_ae,1274,1329,33),sB(_ae,1329,1367,-19),sB(_ae,1367,1369,33),_ae[1369]=-19,sB(_ae,1370,1377,33),sB(_ae,1377,1415,-19),sB(_ae,1415,1425,33),sB(_ae,1425,1442,-87),_ae[1442]=33,sB(_ae,1443,1466,-87),_ae[1466]=33,sB(_ae,1467,1470,-87),_ae[1470]=33,_ae[1471]=-87,_ae[1472]=33,sB(_ae,1473,1475,-87),_ae[1475]=33,_ae[1476]=-87,sB(_ae,1477,1488,33),sB(_ae,1488,1515,-19),sB(_ae,1515,1520,33),sB(_ae,1520,1523,-19),sB(_ae,1523,1569,33),sB(_ae,1569,1595,-19),sB(_ae,1595,1600,33),_ae[1600]=-87,sB(_ae,1601,1611,-19),sB(_ae,1611,1619,-87),sB(_ae,1619,1632,33),sB(_ae,1632,1642,-87),sB(_ae,1642,1648,33),_ae[1648]=-87,sB(_ae,1649,1720,-19),sB(_ae,1720,1722,33),sB(_ae,1722,1727,-19),_ae[1727]=33,sB(_ae,1728,1743,-19),_ae[1743]=33,sB(_ae,1744,1748,-19),_ae[1748]=33,_ae[1749]=-19,sB(_ae,1750,1765,-87),sB(_ae,1765,1767,-19),sB(_ae,1767,1769,-87),_ae[1769]=33,sB(_ae,1770,1774,-87),sB(_ae,1774,1776,33),sB(_ae,1776,1786,-87),sB(_ae,1786,2305,33),sB(_ae,2305,2308,-87),_ae[2308]=33,sB(_ae,2309,2362,-19),sB(_ae,2362,2364,33),_ae[2364]=-87,_ae[2365]=-19,sB(_ae,2366,2382,-87),sB(_ae,2382,2385,33),sB(_ae,2385,2389,-87),sB(_ae,2389,2392,33),sB(_ae,2392,2402,-19),sB(_ae,2402,2404,-87),sB(_ae,2404,2406,33),sB(_ae,2406,2416,-87),sB(_ae,2416,2433,33),sB(_ae,2433,2436,-87),_ae[2436]=33,sB(_ae,2437,2445,-19),sB(_ae,2445,2447,33),sB(_ae,2447,2449,-19),sB(_ae,2449,2451,33),sB(_ae,2451,2473,-19),_ae[2473]=33,sB(_ae,2474,2481,-19),_ae[2481]=33,_ae[2482]=-19,sB(_ae,2483,2486,33),sB(_ae,2486,2490,-19),sB(_ae,2490,2492,33),_ae[2492]=-87,_ae[2493]=33,sB(_ae,2494,2501,-87),sB(_ae,2501,2503,33),sB(_ae,2503,2505,-87),sB(_ae,2505,2507,33),sB(_ae,2507,2510,-87),sB(_ae,2510,2519,33),_ae[2519]=-87,sB(_ae,2520,2524,33),sB(_ae,2524,2526,-19),_ae[2526]=33,sB(_ae,2527,2530,-19),sB(_ae,2530,2532,-87),sB(_ae,2532,2534,33),sB(_ae,2534,2544,-87),sB(_ae,2544,2546,-19),sB(_ae,2546,2562,33),_ae[2562]=-87,sB(_ae,2563,2565,33),sB(_ae,2565,2571,-19),sB(_ae,2571,2575,33),sB(_ae,2575,2577,-19),sB(_ae,2577,2579,33),sB(_ae,2579,2601,-19),_ae[2601]=33,sB(_ae,2602,2609,-19),_ae[2609]=33,sB(_ae,2610,2612,-19),_ae[2612]=33,sB(_ae,2613,2615,-19),_ae[2615]=33,sB(_ae,2616,2618,-19),sB(_ae,2618,2620,33),_ae[2620]=-87,_ae[2621]=33,sB(_ae,2622,2627,-87),sB(_ae,2627,2631,33),sB(_ae,2631,2633,-87),sB(_ae,2633,2635,33),sB(_ae,2635,2638,-87),sB(_ae,2638,2649,33),sB(_ae,2649,2653,-19),_ae[2653]=33,_ae[2654]=-19,sB(_ae,2655,2662,33),sB(_ae,2662,2674,-87),sB(_ae,2674,2677,-19),sB(_ae,2677,2689,33),sB(_ae,2689,2692,-87),_ae[2692]=33,sB(_ae,2693,2700,-19),_ae[2700]=33,_ae[2701]=-19,_ae[2702]=33,sB(_ae,2703,2706,-19),_ae[2706]=33,sB(_ae,2707,2729,-19),_ae[2729]=33,sB(_ae,2730,2737,-19),_ae[2737]=33,sB(_ae,2738,2740,-19),_ae[2740]=33,sB(_ae,2741,2746,-19),sB(_ae,2746,2748,33),_ae[2748]=-87,_ae[2749]=-19,sB(_ae,2750,2758,-87),_ae[2758]=33,sB(_ae,2759,2762,-87),_ae[2762]=33,sB(_ae,2763,2766,-87),sB(_ae,2766,2784,33),_ae[2784]=-19,sB(_ae,2785,2790,33),sB(_ae,2790,2800,-87),sB(_ae,2800,2817,33),sB(_ae,2817,2820,-87),_ae[2820]=33,sB(_ae,2821,2829,-19),sB(_ae,2829,2831,33),sB(_ae,2831,2833,-19),sB(_ae,2833,2835,33),sB(_ae,2835,2857,-19),_ae[2857]=33,sB(_ae,2858,2865,-19),_ae[2865]=33,sB(_ae,2866,2868,-19),sB(_ae,2868,2870,33),sB(_ae,2870,2874,-19),sB(_ae,2874,2876,33),_ae[2876]=-87,_ae[2877]=-19,sB(_ae,2878,2884,-87),sB(_ae,2884,2887,33),sB(_ae,2887,2889,-87),sB(_ae,2889,2891,33),sB(_ae,2891,2894,-87),sB(_ae,2894,2902,33),sB(_ae,2902,2904,-87),sB(_ae,2904,2908,33),sB(_ae,2908,2910,-19),_ae[2910]=33,sB(_ae,2911,2914,-19),sB(_ae,2914,2918,33),sB(_ae,2918,2928,-87),sB(_ae,2928,2946,33),sB(_ae,2946,2948,-87),_ae[2948]=33,sB(_ae,2949,2955,-19),sB(_ae,2955,2958,33),sB(_ae,2958,2961,-19),_ae[2961]=33,sB(_ae,2962,2966,-19),sB(_ae,2966,2969,33),sB(_ae,2969,2971,-19),_ae[2971]=33,_ae[2972]=-19,_ae[2973]=33,sB(_ae,2974,2976,-19),sB(_ae,2976,2979,33),sB(_ae,2979,2981,-19),sB(_ae,2981,2984,33),sB(_ae,2984,2987,-19),sB(_ae,2987,2990,33),sB(_ae,2990,2998,-19),_ae[2998]=33,sB(_ae,2999,3002,-19),sB(_ae,3002,3006,33),sB(_ae,3006,3011,-87),sB(_ae,3011,3014,33),sB(_ae,3014,3017,-87),_ae[3017]=33,sB(_ae,3018,3022,-87),sB(_ae,3022,3031,33),_ae[3031]=-87,sB(_ae,3032,3047,33),sB(_ae,3047,3056,-87),sB(_ae,3056,3073,33),sB(_ae,3073,3076,-87),_ae[3076]=33,sB(_ae,3077,3085,-19),_ae[3085]=33,sB(_ae,3086,3089,-19),_ae[3089]=33,sB(_ae,3090,3113,-19),_ae[3113]=33,sB(_ae,3114,3124,-19),_ae[3124]=33,sB(_ae,3125,3130,-19),sB(_ae,3130,3134,33),sB(_ae,3134,3141,-87),_ae[3141]=33,sB(_ae,3142,3145,-87),_ae[3145]=33,sB(_ae,3146,3150,-87),sB(_ae,3150,3157,33),sB(_ae,3157,3159,-87),sB(_ae,3159,3168,33),sB(_ae,3168,3170,-19),sB(_ae,3170,3174,33),sB(_ae,3174,3184,-87),sB(_ae,3184,3202,33),sB(_ae,3202,3204,-87),_ae[3204]=33,sB(_ae,3205,3213,-19),_ae[3213]=33,sB(_ae,3214,3217,-19),_ae[3217]=33,sB(_ae,3218,3241,-19),_ae[3241]=33,sB(_ae,3242,3252,-19),_ae[3252]=33,sB(_ae,3253,3258,-19),sB(_ae,3258,3262,33),sB(_ae,3262,3269,-87),_ae[3269]=33,sB(_ae,3270,3273,-87),_ae[3273]=33,sB(_ae,3274,3278,-87),sB(_ae,3278,3285,33),sB(_ae,3285,3287,-87),sB(_ae,3287,3294,33),_ae[3294]=-19,_ae[3295]=33,sB(_ae,3296,3298,-19),sB(_ae,3298,3302,33),sB(_ae,3302,3312,-87),sB(_ae,3312,3330,33),sB(_ae,3330,3332,-87),_ae[3332]=33,sB(_ae,3333,3341,-19),_ae[3341]=33,sB(_ae,3342,3345,-19),_ae[3345]=33,sB(_ae,3346,3369,-19),_ae[3369]=33,sB(_ae,3370,3386,-19),sB(_ae,3386,3390,33),sB(_ae,3390,3396,-87),sB(_ae,3396,3398,33),sB(_ae,3398,3401,-87),_ae[3401]=33,sB(_ae,3402,3406,-87),sB(_ae,3406,3415,33),_ae[3415]=-87,sB(_ae,3416,3424,33),sB(_ae,3424,3426,-19),sB(_ae,3426,3430,33),sB(_ae,3430,3440,-87),sB(_ae,3440,3585,33),sB(_ae,3585,3631,-19),_ae[3631]=33,_ae[3632]=-19,_ae[3633]=-87,sB(_ae,3634,3636,-19),sB(_ae,3636,3643,-87),sB(_ae,3643,3648,33),sB(_ae,3648,3654,-19),sB(_ae,3654,3663,-87),_ae[3663]=33,sB(_ae,3664,3674,-87),sB(_ae,3674,3713,33),sB(_ae,3713,3715,-19),_ae[3715]=33,_ae[3716]=-19,sB(_ae,3717,3719,33),sB(_ae,3719,3721,-19),_ae[3721]=33,_ae[3722]=-19,sB(_ae,3723,3725,33),_ae[3725]=-19,sB(_ae,3726,3732,33),sB(_ae,3732,3736,-19),_ae[3736]=33,sB(_ae,3737,3744,-19),_ae[3744]=33,sB(_ae,3745,3748,-19),_ae[3748]=33,_ae[3749]=-19,_ae[3750]=33,_ae[3751]=-19,sB(_ae,3752,3754,33),sB(_ae,3754,3756,-19),_ae[3756]=33,sB(_ae,3757,3759,-19),_ae[3759]=33,_ae[3760]=-19,_ae[3761]=-87,sB(_ae,3762,3764,-19),sB(_ae,3764,3770,-87),_ae[3770]=33,sB(_ae,3771,3773,-87),_ae[3773]=-19,sB(_ae,3774,3776,33),sB(_ae,3776,3781,-19),_ae[3781]=33,_ae[3782]=-87,_ae[3783]=33,sB(_ae,3784,3790,-87),sB(_ae,3790,3792,33),sB(_ae,3792,3802,-87),sB(_ae,3802,3864,33),sB(_ae,3864,3866,-87),sB(_ae,3866,3872,33),sB(_ae,3872,3882,-87),sB(_ae,3882,3893,33),_ae[3893]=-87,_ae[3894]=33,_ae[3895]=-87,_ae[3896]=33,_ae[3897]=-87,sB(_ae,3898,3902,33),sB(_ae,3902,3904,-87),sB(_ae,3904,3912,-19),_ae[3912]=33,sB(_ae,3913,3946,-19),sB(_ae,3946,3953,33),sB(_ae,3953,3973,-87),_ae[3973]=33,sB(_ae,3974,3980,-87),sB(_ae,3980,3984,33),sB(_ae,3984,3990,-87),_ae[3990]=33,_ae[3991]=-87,_ae[3992]=33,sB(_ae,3993,4014,-87),sB(_ae,4014,4017,33),sB(_ae,4017,4024,-87),_ae[4024]=33,_ae[4025]=-87,sB(_ae,4026,4256,33),sB(_ae,4256,4294,-19),sB(_ae,4294,4304,33),sB(_ae,4304,4343,-19),sB(_ae,4343,4352,33),_ae[4352]=-19,_ae[4353]=33,sB(_ae,4354,4356,-19),_ae[4356]=33,sB(_ae,4357,4360,-19),_ae[4360]=33,_ae[4361]=-19,_ae[4362]=33,sB(_ae,4363,4365,-19),_ae[4365]=33,sB(_ae,4366,4371,-19),sB(_ae,4371,4412,33),_ae[4412]=-19,_ae[4413]=33,_ae[4414]=-19,_ae[4415]=33,_ae[4416]=-19,sB(_ae,4417,4428,33),_ae[4428]=-19,_ae[4429]=33,_ae[4430]=-19,_ae[4431]=33,_ae[4432]=-19,sB(_ae,4433,4436,33),sB(_ae,4436,4438,-19),sB(_ae,4438,4441,33),_ae[4441]=-19,sB(_ae,4442,4447,33),sB(_ae,4447,4450,-19),_ae[4450]=33,_ae[4451]=-19,_ae[4452]=33,_ae[4453]=-19,_ae[4454]=33,_ae[4455]=-19,_ae[4456]=33,_ae[4457]=-19,sB(_ae,4458,4461,33),sB(_ae,4461,4463,-19),sB(_ae,4463,4466,33),sB(_ae,4466,4468,-19),_ae[4468]=33,_ae[4469]=-19,sB(_ae,4470,4510,33),_ae[4510]=-19,sB(_ae,4511,4520,33),_ae[4520]=-19,sB(_ae,4521,4523,33),_ae[4523]=-19,sB(_ae,4524,4526,33),sB(_ae,4526,4528,-19),sB(_ae,4528,4535,33),sB(_ae,4535,4537,-19),_ae[4537]=33,_ae[4538]=-19,_ae[4539]=33,sB(_ae,4540,4547,-19),sB(_ae,4547,4587,33),_ae[4587]=-19,sB(_ae,4588,4592,33),_ae[4592]=-19,sB(_ae,4593,4601,33),_ae[4601]=-19,sB(_ae,4602,7680,33),sB(_ae,7680,7836,-19),sB(_ae,7836,7840,33),sB(_ae,7840,7930,-19),sB(_ae,7930,7936,33),sB(_ae,7936,7958,-19),sB(_ae,7958,7960,33),sB(_ae,7960,7966,-19),sB(_ae,7966,7968,33),sB(_ae,7968,8006,-19),sB(_ae,8006,8008,33),sB(_ae,8008,8014,-19),sB(_ae,8014,8016,33),sB(_ae,8016,8024,-19),_ae[8024]=33,_ae[8025]=-19,_ae[8026]=33,_ae[8027]=-19,_ae[8028]=33,_ae[8029]=-19,_ae[8030]=33,sB(_ae,8031,8062,-19),sB(_ae,8062,8064,33),sB(_ae,8064,8117,-19),_ae[8117]=33,sB(_ae,8118,8125,-19),_ae[8125]=33,_ae[8126]=-19,sB(_ae,8127,8130,33),sB(_ae,8130,8133,-19),_ae[8133]=33,sB(_ae,8134,8141,-19),sB(_ae,8141,8144,33),sB(_ae,8144,8148,-19),sB(_ae,8148,8150,33),sB(_ae,8150,8156,-19),sB(_ae,8156,8160,33),sB(_ae,8160,8173,-19),sB(_ae,8173,8178,33),sB(_ae,8178,8181,-19),_ae[8181]=33,sB(_ae,8182,8189,-19),sB(_ae,8189,8400,33),sB(_ae,8400,8413,-87),sB(_ae,8413,8417,33),_ae[8417]=-87,sB(_ae,8418,8486,33),_ae[8486]=-19,sB(_ae,8487,8490,33),sB(_ae,8490,8492,-19),sB(_ae,8492,8494,33),_ae[8494]=-19,sB(_ae,8495,8576,33),sB(_ae,8576,8579,-19),sB(_ae,8579,12293,33),_ae[12293]=-87,_ae[12294]=33,_ae[12295]=-19,sB(_ae,12296,12321,33),sB(_ae,12321,12330,-19),sB(_ae,12330,12336,-87),_ae[12336]=33,sB(_ae,12337,12342,-87),sB(_ae,12342,12353,33),sB(_ae,12353,12437,-19),sB(_ae,12437,12441,33),sB(_ae,12441,12443,-87),sB(_ae,12443,12445,33),sB(_ae,12445,12447,-87),sB(_ae,12447,12449,33),sB(_ae,12449,12539,-19),_ae[12539]=33,sB(_ae,12540,12543,-87),sB(_ae,12543,12549,33),sB(_ae,12549,12589,-19),sB(_ae,12589,19968,33),sB(_ae,19968,40870,-19),sB(_ae,40870,44032,33),sB(_ae,44032,55204,-19),sB(_ae,55204,zSt,33),sB(_ae,57344,65534,33)}"undefined"!=typeof window?r=window:void 0!==n.g?r=n.g:"undefined"!=typeof self&&(r=self);var Sxt,kxt,Ixt,Mxt,Cxt,Txt,Axt="object",Ext="boolean",Pxt="number",Dxt="string",Oxt="function",Lxt=2147483647,Rxt="java.lang",Nxt={3:1},jxt="com.google.common.base",Fxt=", ",Bxt="%s (%s) must not be negative",zxt={3:1,4:1,5:1},$xt="negative size: ",Vxt="Optional.of(",Hxt="null",Wxt={197:1,49:1},Gxt="com.google.common.collect",Uxt={197:1,49:1,123:1},Xxt={222:1,3:1},qxt={49:1},Yxt="java.util",Kxt={84:1},Zxt={19:1,28:1,15:1},Qxt=1937,Jxt={19:1,28:1,15:1,21:1},t_t={84:1,171:1,161:1},e_t={19:1,28:1,15:1,21:1,81:1},n_t={19:1,28:1,15:1,270:1,21:1,81:1},r_t={49:1,123:1},i_t={342:1,43:1},a_t="AbstractMapEntry",o_t=1900,s_t="expectedValuesPerKey",u_t={3:1,6:1,4:1,5:1},c_t=16384,l_t={163:1},h_t={37:1},f_t={l:4194303,m:4194303,h:524287},d_t={195:1},p_t={244:1,3:1,36:1},g_t="range unbounded on this side",b_t={19:1},v_t={19:1,15:1},m_t={3:1,19:1,28:1,15:1},y_t={151:1,3:1,19:1,28:1,15:1,14:1,53:1},w_t={3:1,4:1,5:1,164:1},x_t={3:1,84:1},__t={19:1,15:1,21:1},S_t={3:1,19:1,28:1,15:1,21:1},k_t={19:1,15:1,21:1,81:1},I_t=461845907,M_t=-862048943,C_t={3:1,6:1,4:1,5:1,164:1},T_t="expectedSize",A_t=1073741824,E_t="initialArraySize",P_t={3:1,6:1,4:1,9:1,5:1},D_t={19:1,28:1,51:1,15:1,14:1},O_t="arraySize",L_t=1e3,R_t={19:1,28:1,51:1,15:1,14:1,53:1},N_t={45:1},j_t={362:1},F_t=1e-4,B_t=-2147483648,z_t="__noinit__",$_t={3:1,102:1,59:1,78:1},V_t="com.google.gwt.core.client.impl",H_t="String",W_t="com.google.gwt.core.client",G_t="anonymous",U_t="fnStack",X_t="Unknown",q_t={194:1,3:1,4:1},Y_t=65535,K_t="January",Z_t="February",Q_t="March",J_t="April",tSt="May",eSt="June",nSt="July",rSt="August",iSt="September",aSt="October",oSt="November",sSt="December",uSt={47:1,3:1,4:1},cSt="Before Christ",lSt="Anno Domini",hSt="Sunday",fSt="Monday",dSt="Tuesday",pSt="Wednesday",gSt="Thursday",bSt="Friday",vSt="Saturday",mSt="com.google.gwt.i18n.shared",ySt="DateTimeFormat",wSt="com.google.gwt.i18n.client",xSt="DefaultDateTimeFormatInfo",_St={3:1,4:1,36:1,198:1},SSt="com.google.gwt.json.client",kSt=4194303,ISt=1048575,MSt=524288,CSt=4194304,TSt=17592186044416,ASt=1e9,ESt=-17592186044416,PSt="java.io",DSt={3:1,102:1,73:1,59:1,78:1},OSt={3:1,288:1,78:1},LSt='For input string: "',RSt=1/0,NSt=-1/0,jSt=4096,FSt={3:1,4:1,361:1},BSt=65536,zSt=55296,$St={103:1,3:1,4:1},VSt=1e5,HSt=.3010299956639812,WSt=4294967295,GSt=4294967296,USt="0.0",XSt={43:1},qSt={3:1,4:1,19:1,28:1,51:1,12:1,15:1,14:1,53:1},YSt={3:1,19:1,28:1,51:1,15:1,14:1,53:1},KSt={19:1,15:1,14:1},ZSt={3:1,62:1},QSt={184:1},JSt={3:1,4:1,84:1},tkt={3:1,4:1,19:1,28:1,15:1,70:1,21:1},ekt="delete",nkt=1.4901161193847656e-8,rkt=11102230246251565e-32,ikt=15525485,akt=5.960464477539063e-8,okt=16777216,skt=16777215,ukt=", length: ",ckt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1},lkt={3:1,36:1,22:1,297:1},hkt="java.util.function",fkt="java.util.logging",dkt={3:1,4:1,5:1,821:1},pkt="undefined",gkt="java.util.stream",bkt={518:1,658:1},vkt="fromIndex: ",mkt=" > toIndex: ",ykt=", toIndex: ",wkt="Index: ",xkt=", Size: ",_kt="org.eclipse.elk.alg.common",Skt={62:1},kkt="org.eclipse.elk.alg.common.compaction",Ikt="Scanline/EventHandler",Mkt="org.eclipse.elk.alg.common.compaction.oned",Ckt="CNode belongs to another CGroup.",Tkt="ISpacingsHandler/1",Akt="The ",Ekt=" instance has been finished already.",Pkt="The direction ",Dkt=" is not supported by the CGraph instance.",Okt="OneDimensionalCompactor",Lkt="OneDimensionalCompactor/lambda$0$Type",Rkt="Quadruplet",Nkt="ScanlineConstraintCalculator",jkt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",Fkt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",Bkt="ScanlineConstraintCalculator/Timestamp",zkt="ScanlineConstraintCalculator/lambda$0$Type",$kt={169:1,45:1},Vkt="org.eclipse.elk.alg.common.compaction.options",Hkt="org.eclipse.elk.core.data",Wkt="org.eclipse.elk.polyomino.traversalStrategy",Gkt="org.eclipse.elk.polyomino.lowLevelSort",Ukt="org.eclipse.elk.polyomino.highLevelSort",Xkt="org.eclipse.elk.polyomino.fill",qkt={130:1},Ykt="polyomino",Kkt="org.eclipse.elk.alg.common.networksimplex",Zkt={177:1,3:1,4:1},Qkt="org.eclipse.elk.alg.common.nodespacing",Jkt="org.eclipse.elk.alg.common.nodespacing.cellsystem",tIt="CENTER",eIt={210:1,324:1},nIt={3:1,4:1,5:1,586:1},rIt="LEFT",iIt="RIGHT",aIt="Vertical alignment cannot be null",oIt="BOTTOM",sIt="org.eclipse.elk.alg.common.nodespacing.internal",uIt="UNDEFINED",cIt=.01,lIt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",hIt="LabelPlacer/lambda$0$Type",fIt="LabelPlacer/lambda$1$Type",dIt="portRatioOrPosition",pIt="org.eclipse.elk.alg.common.overlaps",gIt="DOWN",bIt="org.eclipse.elk.alg.common.polyomino",vIt="NORTH",mIt="EAST",yIt="SOUTH",wIt="WEST",xIt="org.eclipse.elk.alg.common.polyomino.structures",_It="Direction",SIt="Grid is only of size ",kIt=". Requested point (",IIt=") is out of bounds.",MIt=" Given center based coordinates were (",CIt="org.eclipse.elk.graph.properties",TIt="IPropertyHolder",AIt={3:1,94:1,134:1},EIt="org.eclipse.elk.alg.common.spore",PIt="org.eclipse.elk.alg.common.utils",DIt={207:1},OIt="org.eclipse.elk.core",LIt="Connected Components Compaction",RIt="org.eclipse.elk.alg.disco",NIt="org.eclipse.elk.alg.disco.graph",jIt="org.eclipse.elk.alg.disco.options",FIt="CompactionStrategy",BIt="org.eclipse.elk.disco.componentCompaction.strategy",zIt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",$It="org.eclipse.elk.disco.debug.discoGraph",VIt="org.eclipse.elk.disco.debug.discoPolys",HIt="componentCompaction",WIt="org.eclipse.elk.disco",GIt="org.eclipse.elk.spacing.componentComponent",UIt="org.eclipse.elk.edge.thickness",XIt="org.eclipse.elk.aspectRatio",qIt="org.eclipse.elk.padding",YIt="org.eclipse.elk.alg.disco.transform",KIt=1.5707963267948966,ZIt=17976931348623157e292,QIt={3:1,4:1,5:1,192:1},JIt={3:1,6:1,4:1,5:1,105:1,125:1},tMt="org.eclipse.elk.alg.force",eMt="ComponentsProcessor",nMt="ComponentsProcessor/1",rMt="org.eclipse.elk.alg.force.graph",iMt="Component Layout",aMt="org.eclipse.elk.alg.force.model",oMt="org.eclipse.elk.force.model",sMt="org.eclipse.elk.force.iterations",uMt="org.eclipse.elk.force.repulsivePower",cMt="org.eclipse.elk.force.temperature",lMt=.001,hMt="org.eclipse.elk.force.repulsion",fMt="org.eclipse.elk.alg.force.options",dMt=1.600000023841858,pMt="org.eclipse.elk.force",gMt="org.eclipse.elk.priority",bMt="org.eclipse.elk.spacing.nodeNode",vMt="org.eclipse.elk.spacing.edgeLabel",mMt="org.eclipse.elk.randomSeed",yMt="org.eclipse.elk.separateConnectedComponents",wMt="org.eclipse.elk.interactive",xMt="org.eclipse.elk.portConstraints",_Mt="org.eclipse.elk.edgeLabels.inline",SMt="origin",kMt="random",IMt="boundingBox.upLeft",MMt="boundingBox.lowRight",CMt="org.eclipse.elk.stress.fixed",TMt="org.eclipse.elk.stress.desiredEdgeLength",AMt="org.eclipse.elk.stress.dimension",EMt="org.eclipse.elk.stress.epsilon",PMt="org.eclipse.elk.stress.iterationLimit",DMt="org.eclipse.elk.stress",OMt="ELK Stress",LMt="org.eclipse.elk.alg.force.stress",RMt="Layered layout",NMt="org.eclipse.elk.alg.layered",jMt="org.eclipse.elk.alg.layered.compaction.components",FMt="org.eclipse.elk.alg.layered.compaction.oned",BMt="org.eclipse.elk.alg.layered.compaction.oned.algs",zMt="org.eclipse.elk.alg.layered.compaction.recthull",$Mt="org.eclipse.elk.alg.layered.components",VMt={3:1,6:1,4:1,9:1,5:1,120:1},HMt={3:1,6:1,4:1,5:1,153:1,105:1,125:1},WMt="org.eclipse.elk.alg.layered.compound",GMt={52:1},UMt="org.eclipse.elk.alg.layered.graph",XMt=" -> ",qMt="Not supported by LGraph",YMt={3:1,6:1,4:1,5:1,468:1,153:1,105:1,125:1},KMt={3:1,6:1,4:1,5:1,153:1,213:1,223:1,105:1,125:1},ZMt={3:1,6:1,4:1,5:1,153:1,1915:1,223:1,105:1,125:1},QMt="([{\"' \t\r\n",JMt=")]}\"' \t\r\n",tCt="The given string contains parts that cannot be parsed as numbers.",eCt="org.eclipse.elk.core.math",nCt={3:1,4:1,141:1,205:1,409:1},rCt={3:1,4:1,115:1,205:1,409:1},iCt="org.eclipse.elk.layered",aCt="org.eclipse.elk.alg.layered.graph.transform",oCt="ElkGraphImporter",sCt="ElkGraphImporter/lambda$0$Type",uCt="ElkGraphImporter/lambda$1$Type",cCt="ElkGraphImporter/lambda$2$Type",lCt="ElkGraphImporter/lambda$4$Type",hCt="Node margin calculation",fCt="org.eclipse.elk.alg.layered.intermediate",dCt="ONE_SIDED_GREEDY_SWITCH",pCt="TWO_SIDED_GREEDY_SWITCH",gCt="No implementation is available for the layout processor ",bCt="IntermediateProcessorStrategy",vCt="Node '",mCt="NONE",yCt="FIRST_SEPARATE",wCt="LAST_SEPARATE",xCt="Odd port side processing",_Ct="org.eclipse.elk.alg.layered.intermediate.compaction",SCt="org.eclipse.elk.alg.layered.intermediate.greedyswitch",kCt="org.eclipse.elk.alg.layered.p3order.counting",ICt={235:1},MCt="org.eclipse.elk.alg.layered.intermediate.loops",CCt="org.eclipse.elk.alg.layered.intermediate.loops.ordering",TCt="org.eclipse.elk.alg.layered.intermediate.loops.routing",ACt="org.eclipse.elk.alg.layered.intermediate.preserveorder",ECt="org.eclipse.elk.alg.layered.intermediate.wrapping",PCt="org.eclipse.elk.alg.layered.options",DCt="INTERACTIVE",OCt="DEPTH_FIRST",LCt="EDGE_LENGTH",RCt="SELF_LOOPS",NCt="org.eclipse.elk.layered.considerModelOrder",jCt="org.eclipse.elk.layered.directionCongruency",FCt="org.eclipse.elk.layered.feedbackEdges",BCt="org.eclipse.elk.layered.interactiveReferencePoint",zCt="org.eclipse.elk.layered.mergeEdges",$Ct="org.eclipse.elk.layered.mergeHierarchyEdges",VCt="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",HCt="org.eclipse.elk.layered.portSortingStrategy",WCt="org.eclipse.elk.layered.thoroughness",GCt="org.eclipse.elk.layered.unnecessaryBendpoints",UCt="org.eclipse.elk.layered.cycleBreaking.strategy",XCt="org.eclipse.elk.layered.layering.strategy",qCt="org.eclipse.elk.layered.layering.layerConstraint",YCt="org.eclipse.elk.layered.layering.layerChoiceConstraint",KCt="org.eclipse.elk.layered.layering.layerId",ZCt="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",QCt="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",JCt="org.eclipse.elk.layered.layering.nodePromotion.strategy",tTt="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",eTt="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",nTt="org.eclipse.elk.layered.crossingMinimization.strategy",rTt="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",iTt="org.eclipse.elk.layered.crossingMinimization.semiInteractive",aTt="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",oTt="org.eclipse.elk.layered.crossingMinimization.positionId",sTt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",uTt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",cTt="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",lTt="org.eclipse.elk.layered.nodePlacement.strategy",hTt="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",fTt="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",dTt="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",pTt="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",gTt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",bTt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",vTt="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",mTt="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",yTt="org.eclipse.elk.layered.edgeRouting.splines.mode",wTt="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",xTt="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",_Tt="org.eclipse.elk.layered.spacing.baseValue",STt="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",kTt="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",ITt="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",MTt="org.eclipse.elk.layered.priority.direction",CTt="org.eclipse.elk.layered.priority.shortness",TTt="org.eclipse.elk.layered.priority.straightness",ATt="org.eclipse.elk.layered.compaction.connectedComponents",ETt="org.eclipse.elk.layered.compaction.postCompaction.strategy",PTt="org.eclipse.elk.layered.compaction.postCompaction.constraints",DTt="org.eclipse.elk.layered.highDegreeNodes.treatment",OTt="org.eclipse.elk.layered.highDegreeNodes.threshold",LTt="org.eclipse.elk.layered.highDegreeNodes.treeHeight",RTt="org.eclipse.elk.layered.wrapping.strategy",NTt="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",jTt="org.eclipse.elk.layered.wrapping.correctionFactor",FTt="org.eclipse.elk.layered.wrapping.cutting.strategy",BTt="org.eclipse.elk.layered.wrapping.cutting.cuts",zTt="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",$Tt="org.eclipse.elk.layered.wrapping.validify.strategy",VTt="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",HTt="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",WTt="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",GTt="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",UTt="org.eclipse.elk.layered.edgeLabels.sideSelection",XTt="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",qTt="layering",YTt="layering.minWidth",KTt="layering.nodePromotion",ZTt="crossingMinimization",QTt="org.eclipse.elk.hierarchyHandling",JTt="crossingMinimization.greedySwitch",tAt="nodePlacement",eAt="nodePlacement.bk",nAt="edgeRouting",rAt="org.eclipse.elk.edgeRouting",iAt="spacing",aAt="priority",oAt="compaction",sAt="compaction.postCompaction",uAt="Specifies whether and how post-process compaction is applied.",cAt="highDegreeNodes",lAt="wrapping",hAt="wrapping.cutting",fAt="wrapping.validify",dAt="wrapping.multiEdge",pAt="edgeLabels",gAt="org.eclipse.elk.spacing.commentComment",bAt="org.eclipse.elk.spacing.commentNode",vAt="org.eclipse.elk.spacing.edgeEdge",mAt="org.eclipse.elk.spacing.edgeNode",yAt="org.eclipse.elk.spacing.labelLabel",wAt="org.eclipse.elk.spacing.labelPort",xAt="org.eclipse.elk.spacing.labelNode",_At="org.eclipse.elk.spacing.nodeSelfLoop",SAt="org.eclipse.elk.spacing.portPort",kAt="org.eclipse.elk.spacing.individual",IAt="org.eclipse.elk.port.borderOffset",MAt="org.eclipse.elk.noLayout",CAt="org.eclipse.elk.port.side",TAt="org.eclipse.elk.debugMode",AAt="org.eclipse.elk.alignment",EAt="org.eclipse.elk.insideSelfLoops.activate",PAt="org.eclipse.elk.insideSelfLoops.yo",DAt="org.eclipse.elk.nodeSize.constraints",OAt="org.eclipse.elk.nodeSize.options",LAt="org.eclipse.elk.direction",RAt="org.eclipse.elk.nodeLabels.placement",NAt="org.eclipse.elk.nodeLabels.padding",jAt="org.eclipse.elk.portLabels.placement",FAt="org.eclipse.elk.portLabels.nextToPortIfPossible",BAt="org.eclipse.elk.portLabels.treatAsGroup",zAt="org.eclipse.elk.portAlignment.default",$At="org.eclipse.elk.portAlignment.north",VAt="org.eclipse.elk.portAlignment.south",HAt="org.eclipse.elk.portAlignment.west",WAt="org.eclipse.elk.portAlignment.east",GAt="org.eclipse.elk.contentAlignment",UAt="org.eclipse.elk.nodeSize.minimum",XAt="org.eclipse.elk.junctionPoints",qAt="org.eclipse.elk.edgeLabels.placement",YAt="org.eclipse.elk.port.index",KAt="org.eclipse.elk.commentBox",ZAt="org.eclipse.elk.hypernode",QAt="org.eclipse.elk.port.anchor",JAt="org.eclipse.elk.partitioning.activate",tEt="org.eclipse.elk.partitioning.partition",eEt="org.eclipse.elk.position",nEt="org.eclipse.elk.margins",rEt="org.eclipse.elk.spacing.portsSurrounding",iEt="org.eclipse.elk.interactiveLayout",aEt="org.eclipse.elk.core.util",oEt={3:1,4:1,5:1,584:1},sEt="NETWORK_SIMPLEX",uEt={126:1,52:1},cEt="org.eclipse.elk.alg.layered.p1cycles",lEt="org.eclipse.elk.alg.layered.p2layers",hEt={451:1,235:1},fEt={811:1,3:1,4:1},dEt="org.eclipse.elk.alg.layered.p3order",pEt="org.eclipse.elk.alg.layered.p4nodes",gEt={3:1,4:1,5:1,819:1},bEt=1e-5,vEt="org.eclipse.elk.alg.layered.p4nodes.bk",mEt="org.eclipse.elk.alg.layered.p5edges",yEt="org.eclipse.elk.alg.layered.p5edges.orthogonal",wEt="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",xEt=1e-6,_Et="org.eclipse.elk.alg.layered.p5edges.splines",SEt=.09999999999999998,kEt=1e-8,IEt=4.71238898038469,MEt=3.141592653589793,CEt="org.eclipse.elk.alg.mrtree",TEt="org.eclipse.elk.alg.mrtree.graph",AEt="org.eclipse.elk.alg.mrtree.intermediate",EEt="Set neighbors in level",PEt="DESCENDANTS",DEt="org.eclipse.elk.mrtree.weighting",OEt="org.eclipse.elk.mrtree.searchOrder",LEt="org.eclipse.elk.alg.mrtree.options",REt="org.eclipse.elk.mrtree",NEt="org.eclipse.elk.tree",jEt="org.eclipse.elk.alg.radial",FEt=6.283185307179586,BEt=5e-324,zEt="org.eclipse.elk.alg.radial.intermediate",$Et="org.eclipse.elk.alg.radial.intermediate.compaction",VEt={3:1,4:1,5:1,105:1},HEt="org.eclipse.elk.alg.radial.intermediate.optimization",WEt="No implementation is available for the layout option ",GEt="org.eclipse.elk.alg.radial.options",UEt="org.eclipse.elk.radial.orderId",XEt="org.eclipse.elk.radial.radius",qEt="org.eclipse.elk.radial.compactor",YEt="org.eclipse.elk.radial.compactionStepSize",KEt="org.eclipse.elk.radial.sorter",ZEt="org.eclipse.elk.radial.wedgeCriteria",QEt="org.eclipse.elk.radial.optimizationCriteria",JEt="org.eclipse.elk.radial",tPt="org.eclipse.elk.alg.radial.p1position.wedge",ePt="org.eclipse.elk.alg.radial.sorting",nPt=5.497787143782138,rPt=3.9269908169872414,iPt=2.356194490192345,aPt="org.eclipse.elk.alg.rectpacking",oPt="org.eclipse.elk.alg.rectpacking.firstiteration",sPt="org.eclipse.elk.alg.rectpacking.options",uPt="org.eclipse.elk.rectpacking.optimizationGoal",cPt="org.eclipse.elk.rectpacking.lastPlaceShift",lPt="org.eclipse.elk.rectpacking.currentPosition",hPt="org.eclipse.elk.rectpacking.desiredPosition",fPt="org.eclipse.elk.rectpacking.onlyFirstIteration",dPt="org.eclipse.elk.rectpacking.rowCompaction",pPt="org.eclipse.elk.rectpacking.expandToAspectRatio",gPt="org.eclipse.elk.rectpacking.targetWidth",bPt="org.eclipse.elk.expandNodes",vPt="org.eclipse.elk.rectpacking",mPt="org.eclipse.elk.alg.rectpacking.util",yPt="No implementation available for ",wPt="org.eclipse.elk.alg.spore",xPt="org.eclipse.elk.alg.spore.options",_Pt="org.eclipse.elk.sporeCompaction",SPt="org.eclipse.elk.underlyingLayoutAlgorithm",kPt="org.eclipse.elk.processingOrder.treeConstruction",IPt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",MPt="org.eclipse.elk.processingOrder.preferredRoot",CPt="org.eclipse.elk.processingOrder.rootSelection",TPt="org.eclipse.elk.structure.structureExtractionStrategy",APt="org.eclipse.elk.compaction.compactionStrategy",EPt="org.eclipse.elk.compaction.orthogonal",PPt="org.eclipse.elk.overlapRemoval.maxIterations",DPt="org.eclipse.elk.overlapRemoval.runScanline",OPt="processingOrder",LPt="overlapRemoval",RPt="org.eclipse.elk.sporeOverlap",NPt="org.eclipse.elk.alg.spore.p1structure",jPt="org.eclipse.elk.alg.spore.p2processingorder",FPt="org.eclipse.elk.alg.spore.p3execution",BPt="Invalid index: ",zPt="org.eclipse.elk.core.alg",$Pt={329:1},VPt={287:1},HPt="Make sure it's type is registered with the ",WPt=" utility class.",GPt="true",UPt="false",XPt="Couldn't clone property '",qPt=.05,YPt="org.eclipse.elk.core.options",KPt=1.2999999523162842,ZPt="org.eclipse.elk.box",QPt="org.eclipse.elk.box.packingMode",JPt="org.eclipse.elk.algorithm",tDt="org.eclipse.elk.resolvedAlgorithm",eDt="org.eclipse.elk.bendPoints",nDt="org.eclipse.elk.labelManager",rDt="org.eclipse.elk.scaleFactor",iDt="org.eclipse.elk.animate",aDt="org.eclipse.elk.animTimeFactor",oDt="org.eclipse.elk.layoutAncestors",sDt="org.eclipse.elk.maxAnimTime",uDt="org.eclipse.elk.minAnimTime",cDt="org.eclipse.elk.progressBar",lDt="org.eclipse.elk.validateGraph",hDt="org.eclipse.elk.validateOptions",fDt="org.eclipse.elk.zoomToFit",dDt="org.eclipse.elk.nodeSize.fixedGraphSize",pDt="org.eclipse.elk.font.name",gDt="org.eclipse.elk.font.size",bDt="org.eclipse.elk.edge.type",vDt="partitioning",mDt="nodeLabels",yDt="portAlignment",wDt="nodeSize",xDt="port",_Dt="portLabels",SDt="insideSelfLoops",kDt="org.eclipse.elk.fixed",IDt="org.eclipse.elk.random",MDt="port must have a parent node to calculate the port side",CDt="The edge needs to have exactly one edge section. Found: ",TDt="org.eclipse.elk.core.util.adapters",ADt="org.eclipse.emf.ecore",EDt="org.eclipse.elk.graph",PDt="EMapPropertyHolder",DDt="ElkBendPoint",ODt="ElkGraphElement",LDt="ElkConnectableShape",RDt="ElkEdge",NDt="ElkEdgeSection",jDt="EModelElement",FDt="ENamedElement",BDt="ElkLabel",zDt="ElkNode",$Dt="ElkPort",VDt={91:1,89:1},HDt="org.eclipse.emf.common.notify.impl",WDt="The feature '",GDt="' is not a valid changeable feature",UDt="Expecting null",XDt="' is not a valid feature",qDt="The feature ID",YDt=" is not a valid feature ID",KDt=32768,ZDt={104:1,91:1,89:1,55:1,48:1,96:1},QDt="org.eclipse.emf.ecore.impl",JDt="org.eclipse.elk.graph.impl",tOt="Recursive containment not allowed for ",eOt="The datatype '",nOt="' is not a valid classifier",rOt="The value '",iOt={190:1,3:1,4:1},aOt="The class '",oOt="http://www.eclipse.org/elk/ElkGraph",sOt="property",uOt="value",cOt="source",lOt="properties",hOt="identifier",fOt="height",dOt="width",pOt="parent",gOt="text",bOt="children",vOt="hierarchical",mOt="sources",yOt="targets",wOt="sections",xOt="bendPoints",_Ot="outgoingShape",SOt="incomingShape",kOt="outgoingSections",IOt="incomingSections",MOt="org.eclipse.emf.common.util",COt="Severe implementation error in the Json to ElkGraph importer.",TOt="id",AOt="org.eclipse.elk.graph.json",EOt="Unhandled parameter types: ",POt="startPoint",DOt="An edge must have at least one source and one target (edge id: '",OOt="').",LOt="Referenced edge section does not exist: ",ROt=" (edge id: '",NOt="target",jOt="sourcePoint",FOt="targetPoint",BOt="group",zOt="name",$Ot="connectableShape cannot be null",VOt="Passed edge is not 'simple'.",HOt="The 'no duplicates' constraint is violated",WOt="targetIndex=",GOt=", size=",UOt="sourceIndex=",XOt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1},qOt={3:1,4:1,19:1,28:1,51:1,15:1,49:1,14:1,53:1,66:1,60:1,57:1,579:1},YOt="org.eclipse.elk.graph.util",KOt="logging",ZOt="measureExecutionTime",QOt="parser.parse.1",JOt="parser.parse.2",tLt="parser.next.1",eLt="parser.next.2",nLt="parser.next.3",rLt="parser.next.4",iLt="parser.factor.1",aLt="parser.factor.2",oLt="parser.factor.3",sLt="parser.factor.4",uLt="parser.factor.5",cLt="parser.factor.6",lLt="parser.atom.1",hLt="parser.atom.2",fLt="parser.atom.3",dLt="parser.atom.4",pLt="parser.atom.5",gLt="parser.cc.1",bLt="parser.cc.2",vLt="parser.cc.3",mLt="parser.cc.5",yLt="parser.cc.6",wLt="parser.cc.7",xLt="parser.cc.8",_Lt="parser.ope.1",SLt="parser.ope.2",kLt="parser.ope.3",ILt="parser.descape.1",MLt="parser.descape.2",CLt="parser.descape.3",TLt="parser.descape.4",ALt="parser.descape.5",ELt="parser.process.1",PLt="parser.quantifier.1",DLt="parser.quantifier.2",OLt="parser.quantifier.3",LLt="parser.quantifier.4",RLt="parser.quantifier.5",NLt="org.eclipse.emf.common.notify",jLt={410:1,660:1},FLt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1},BLt={363:1,142:1},zLt="index=",$Lt={3:1,4:1,5:1,124:1},VLt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,57:1},HLt={3:1,6:1,4:1,5:1,192:1},WLt={3:1,4:1,5:1,164:1,364:1},GLt=1024,ULt=";/?:@&=+$,",XLt="invalid authority: ",qLt="EAnnotation",YLt="ETypedElement",KLt="EStructuralFeature",ZLt="EAttribute",QLt="EClassifier",JLt="EEnumLiteral",tRt="EGenericType",eRt="EOperation",nRt="EParameter",rRt="EReference",iRt="ETypeParameter",aRt="org.eclipse.emf.ecore.util",oRt={76:1},sRt={3:1,19:1,15:1,14:1,57:1,580:1,76:1,67:1,95:1},uRt="org.eclipse.emf.ecore.util.FeatureMap$Entry",cRt=8192,lRt=2048,hRt="byte",fRt="char",dRt="double",pRt="float",gRt="int",bRt="long",vRt="short",mRt="java.lang.Object",yRt={3:1,4:1,5:1,246:1},wRt={3:1,4:1,5:1,661:1},xRt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,67:1},_Rt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,76:1,67:1,95:1},SRt="mixed",kRt="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",IRt="kind",MRt={3:1,4:1,5:1,662:1},CRt={3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1,76:1,67:1,95:1},TRt={19:1,28:1,51:1,15:1,14:1,57:1,67:1},ARt={49:1,123:1,277:1},ERt={71:1,330:1},PRt="The value of type '",DRt="' must be of type '",ORt=1287,LRt="http://www.eclipse.org/emf/2002/Ecore",RRt=-32768,NRt="constraints",jRt="baseType",FRt="getEStructuralFeature",BRt="getFeatureID",zRt="feature",$Rt="getOperationID",VRt="operation",HRt="defaultValue",WRt="eTypeParameters",GRt="isInstance",URt="getEEnumLiteral",XRt="eContainingClass",qRt={54:1},YRt={3:1,4:1,5:1,118:1},KRt="org.eclipse.emf.ecore.resource",ZRt={91:1,89:1,582:1,1907:1},QRt="org.eclipse.emf.ecore.resource.impl",JRt="unspecified",tNt="simple",eNt="attribute",nNt="attributeWildcard",rNt="element",iNt="elementWildcard",aNt="collapse",oNt="itemType",sNt="namespace",uNt="##targetNamespace",cNt="whiteSpace",lNt="wildcards",hNt="http://www.eclipse.org/emf/2003/XMLType",fNt="##any",dNt="uninitialized",pNt="The multiplicity constraint is violated",gNt="org.eclipse.emf.ecore.xml.type",bNt="ProcessingInstruction",vNt="SimpleAnyType",mNt="XMLTypeDocumentRoot",yNt="org.eclipse.emf.ecore.xml.type.impl",wNt="INF",xNt="processing",_Nt="ENTITIES_._base",SNt="minLength",kNt="ENTITY",INt="NCName",MNt="IDREFS_._base",CNt="integer",TNt="token",ANt="pattern",ENt="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",PNt="\\i\\c*",DNt="[\\i-[:]][\\c-[:]]*",ONt="nonPositiveInteger",LNt="maxInclusive",RNt="NMTOKEN",NNt="NMTOKENS_._base",jNt="nonNegativeInteger",FNt="minInclusive",BNt="normalizedString",zNt="unsignedByte",$Nt="unsignedInt",VNt="18446744073709551615",HNt="unsignedShort",WNt="processingInstruction",GNt="org.eclipse.emf.ecore.xml.type.internal",UNt=1114111,XNt="Internal Error: shorthands: \\u",qNt="xml:isDigit",YNt="xml:isWord",KNt="xml:isSpace",ZNt="xml:isNameChar",QNt="xml:isInitialNameChar",JNt="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",tjt="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",ejt="Private Use",njt="ASSIGNED",rjt="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\ufeff\ufeff",ijt="UNASSIGNED",ajt={3:1,117:1},ojt="org.eclipse.emf.ecore.xml.type.util",sjt={3:1,4:1,5:1,365:1},ujt="org.eclipse.xtext.xbase.lib",cjt="Cannot add elements to a Range",ljt="Cannot set elements in a Range",hjt="Cannot remove elements from a Range",fjt="locale",djt="default",pjt="user.agent";r.goog=r.goog||{},r.goog.global=r.goog.global||r,kxt={},!Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Zlt(1,null,{},a),Sxt.Fb=function(t){return bT(this,t)},Sxt.Gb=function(){return this.bm},Sxt.Hb=function(){return uP(this)},Sxt.Ib=function(){return Fx(g5(this))+"@"+(p5(this)>>>0).toString(16)},Sxt.equals=function(t){return this.Fb(t)},Sxt.hashCode=function(){return this.Hb()},Sxt.toString=function(){return this.Ib()},Zlt(289,1,{289:1,1995:1},C4),Sxt.le=function(t){var e;return(e=new C4).i=4,e.c=t>1?oW(this,t-1):this,e},Sxt.me=function(){return FD(this),this.b},Sxt.ne=function(){return Fx(this)},Sxt.oe=function(){return FD(this),this.k},Sxt.pe=function(){return 0!=(4&this.i)},Sxt.qe=function(){return 0!=(1&this.i)},Sxt.Ib=function(){return hJ(this)},Sxt.i=0;var gjt=tz(Rxt,"Object",1),bjt=tz(Rxt,"Class",289);Zlt(1967,1,Nxt);var vjt;tz(jxt,"Optional",1967);Zlt(1143,1967,Nxt,s),Sxt.Fb=function(t){return t===this},Sxt.Hb=function(){return 2040732332},Sxt.Ib=function(){return"Optional.absent()"},Sxt.Jb=function(t){return wB(t),zm(),vjt};tz(jxt,"Absent",1143);Zlt(620,1,{},iw);tz(jxt,"Joiner",620);var mjt=NN(jxt,"Predicate");Zlt(573,1,{169:1,573:1,3:1,45:1},Dh),Sxt.Mb=function(t){return K4(this,t)},Sxt.Lb=function(t){return K4(this,t)},Sxt.Fb=function(t){var e;return!!zA(t,573)&&(e=RR(t,573),hht(this.a,e.a))},Sxt.Hb=function(){return J4(this.a)+306654252},Sxt.Ib=function(){return function(t){var e,n,r,i;for(e=iz(UC(new YE("Predicates."),"and"),40),n=!0,i=new Nf(t);i.b<i.d.gc();)MP(i.b<i.d.gc()),r=i.d.Xb(i.c=i.b++),n||(e.a+=","),e.a+=""+r,n=!1;return(e.a+=")",e).a}(this.a)};tz(jxt,"Predicates/AndPredicate",573);Zlt(403,1967,{403:1,3:1},Oh),Sxt.Fb=function(t){var e;return!!zA(t,403)&&(e=RR(t,403),u8(this.a,e.a))},Sxt.Hb=function(){return 1502476572+p5(this.a)},Sxt.Ib=function(){return Vxt+this.a+")"},Sxt.Jb=function(t){return new Oh(K$(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))};tz(jxt,"Present",403);Zlt(197,1,Wxt),Sxt.Nb=function(t){WF(this,t)},Sxt.Qb=function(){nw()};tz(Gxt,"UnmodifiableIterator",197);Zlt(1948,197,Uxt),Sxt.Qb=function(){nw()},Sxt.Rb=function(t){throw Jb(new _v)},Sxt.Wb=function(t){throw Jb(new _v)};tz(Gxt,"UnmodifiableListIterator",1948);Zlt(381,1948,Uxt),Sxt.Ob=function(){return this.c<this.d},Sxt.Sb=function(){return this.c>0},Sxt.Pb=function(){if(this.c>=this.d)throw Jb(new vv);return this.Xb(this.c++)},Sxt.Tb=function(){return this.c},Sxt.Ub=function(){if(this.c<=0)throw Jb(new vv);return this.Xb(--this.c)},Sxt.Vb=function(){return this.c-1},Sxt.c=0,Sxt.d=0;tz(Gxt,"AbstractIndexedListIterator",381);Zlt(679,197,Wxt),Sxt.Ob=function(){return t0(this)},Sxt.Pb=function(){return pZ(this)},Sxt.e=1;tz(Gxt,"AbstractIterator",679);Zlt(1958,1,{222:1}),Sxt.Zb=function(){return this.f||(this.f=this.ac())},Sxt.Fb=function(t){return k5(this,t)},Sxt.Hb=function(){return p5(this.Zb())},Sxt.dc=function(){return 0==this.gc()},Sxt.ec=function(){return oF(this)},Sxt.Ib=function(){return P9(this.Zb())};tz(Gxt,"AbstractMultimap",1958);Zlt(713,1958,Xxt),Sxt.$b=function(){N1(this)},Sxt._b=function(t){return this.c._b(t)},Sxt.ac=function(){return new u_(this,this.c)},Sxt.ic=function(t){return this.hc()},Sxt.bc=function(){return new IE(this,this.c)},Sxt.jc=function(){return this.kc(this.hc())},Sxt.cc=function(t){return Kq(this,t)},Sxt.fc=function(t){return E6(this,t)},Sxt.gc=function(){return this.d},Sxt.kc=function(t){return mV(),new Qf(t)},Sxt.lc=function(){return new KQ(this)},Sxt.mc=function(){return pot(this.c.Ac().Lc(),new u,64,this.d)},Sxt.nc=function(t,e){return new wY(this,t,e,null)},Sxt.d=0;tz(Gxt,"AbstractMapBasedMultimap",713);Zlt(1601,713,Xxt),Sxt.hc=function(){return new RY(this.a)},Sxt.jc=function(){return mV(),mV(),YFt},Sxt.cc=function(t){return RR(Kq(this,t),14)},Sxt.fc=function(t){return RR(E6(this,t),14)},Sxt.Zb=function(){return this.f||(this.f=new u_(this,this.c))},Sxt.Fb=function(t){return k5(this,t)},Sxt.oc=function(t){return RR(Kq(this,t),14)},Sxt.pc=function(t){return RR(E6(this,t),14)},Sxt.kc=function(t){return AV(RR(t,14))},Sxt.nc=function(t,e){return NU(this,t,RR(e,14),null)};tz(Gxt,"AbstractListMultimap",1601);Zlt(1079,1,qxt),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.c.Ob()||this.e.Ob()},Sxt.Pb=function(){var t;return this.e.Ob()||(t=RR(this.c.Pb(),43),this.b=t.ad(),this.a=RR(t.bd(),15),this.e=this.a.Ic()),this.qc(this.b,this.e.Pb())},Sxt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d};tz(Gxt,"AbstractMapBasedMultimap/Itr",1079);Zlt(1080,1079,qxt,KQ),Sxt.qc=function(t,e){return e};tz(Gxt,"AbstractMapBasedMultimap/1",1080);Zlt(1081,1,{},u),Sxt.Kb=function(t){return RR(t,15).Lc()};tz(Gxt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1081);var yjt=NN(Yxt,"Map");Zlt(1949,1,Kxt),Sxt.uc=function(t){S2(this,t)},Sxt.wc=function(t,e,n){return l9(this,t,e,n)},Sxt.$b=function(){this.tc().$b()},Sxt.rc=function(t){return trt(this,t)},Sxt._b=function(t){return!!Aat(this,t,!1)},Sxt.sc=function(t){var e,n;for(e=this.tc().Ic();e.Ob();)if(n=RR(e.Pb(),43).bd(),DC(t)===DC(n)||null!=t&&u8(t,n))return!0;return!1},Sxt.Fb=function(t){var e,n,r;if(t===this)return!0;if(!zA(t,84))return!1;if(r=RR(t,84),this.gc()!=r.gc())return!1;for(n=r.tc().Ic();n.Ob();)if(e=RR(n.Pb(),43),!this.rc(e))return!1;return!0},Sxt.vc=function(t){return PC(Aat(this,t,!1))},Sxt.Hb=function(){return o4(this.tc())},Sxt.dc=function(){return 0==this.gc()},Sxt.ec=function(){return new Ff(this)},Sxt.xc=function(t,e){throw Jb(new zy("Put not supported on this map"))},Sxt.yc=function(t){p2(this,t)},Sxt.zc=function(t){return PC(Aat(this,t,!0))},Sxt.gc=function(){return this.tc().gc()},Sxt.Ib=function(){return $at(this)},Sxt.Ac=function(){return new Gf(this)};tz(Yxt,"AbstractMap",1949);Zlt(1959,1949,Kxt),Sxt.bc=function(){return new A_(this)},Sxt.tc=function(){return this.f||(this.f=this.Bc())},Sxt.ec=function(){return this.g||(this.g=this.bc())},Sxt.Ac=function(){return this.i||(this.i=new E_(this))};tz(Gxt,"Maps/ViewCachingAbstractMap",1959);Zlt(316,1959,Kxt,u_),Sxt.vc=function(t){return function(t,e){var n,r;return(n=RR(e6(t.d,e),15))?(r=e,t.e.nc(r,n)):null}(this,t)},Sxt.zc=function(t){return function(t,e){var n,r;return(n=RR(t.d.zc(e),15))?((r=t.e.hc()).Ec(n),t.e.d-=n.gc(),n.$b(),r):null}(this,t)},Sxt.$b=function(){this.d==this.e.c?this.e.$b():VN(new $N(this))},Sxt._b=function(t){return M6(this.d,t)},Sxt.Cc=function(){return new Lh(this)},Sxt.Bc=function(){return this.Cc()},Sxt.Fb=function(t){return this===t||u8(this.d,t)},Sxt.Hb=function(){return p5(this.d)},Sxt.ec=function(){return this.e.ec()},Sxt.gc=function(){return this.d.gc()},Sxt.Ib=function(){return P9(this.d)};tz(Gxt,"AbstractMapBasedMultimap/AsMap",316);var wjt=NN(Rxt,"Iterable");Zlt(28,1,Zxt),Sxt.Hc=function(t){yq(this,t)},Sxt.Jc=function(){return this.Mc()},Sxt.Lc=function(){return new ZW(this,0)},Sxt.Mc=function(){return new lj(null,this.Lc())},Sxt.Dc=function(t){throw Jb(new zy("Add not supported on this collection"))},Sxt.Ec=function(t){return W0(this,t)},Sxt.$b=function(){B$(this)},Sxt.Fc=function(t){return u7(this,t,!1)},Sxt.Gc=function(t){return N3(this,t)},Sxt.dc=function(){return 0==this.gc()},Sxt.Kc=function(t){return u7(this,t,!0)},Sxt.Nc=function(){return dF(this)},Sxt.Oc=function(t){return Jnt(this,t)},Sxt.Ib=function(){return Uot(this)};tz(Yxt,"AbstractCollection",28);var xjt=NN(Yxt,"Set");Zlt(Qxt,28,Jxt),Sxt.Lc=function(){return new ZW(this,1)},Sxt.Fb=function(t){return ytt(this,t)},Sxt.Hb=function(){return o4(this)};tz(Yxt,"AbstractSet",Qxt);Zlt(1939,Qxt,Jxt);tz(Gxt,"Sets/ImprovedAbstractSet",1939);Zlt(1940,1939,Jxt),Sxt.$b=function(){this.Pc().$b()},Sxt.Fc=function(t){return C7(this,t)},Sxt.dc=function(){return this.Pc().dc()},Sxt.Kc=function(t){var e;return!!this.Fc(t)&&(e=RR(t,43),this.Pc().ec().Kc(e.ad()))},Sxt.gc=function(){return this.Pc().gc()};tz(Gxt,"Maps/EntrySet",1940);Zlt(1077,1940,Jxt,Lh),Sxt.Fc=function(t){return I6(this.a.d.tc(),t)},Sxt.Ic=function(){return new $N(this.a)},Sxt.Pc=function(){return this.a},Sxt.Kc=function(t){var e;return!!I6(this.a.d.tc(),t)&&(e=RR(t,43),Oq(this.a.e,e.ad()),!0)},Sxt.Lc=function(){return kR(this.a.d.tc().Lc(),new Rh(this.a))};tz(Gxt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1077);Zlt(1078,1,{},Rh),Sxt.Kb=function(t){return wq(this.a,RR(t,43))};tz(Gxt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1078);Zlt(717,1,qxt,$N),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){var t;return t=RR(this.b.Pb(),43),this.a=RR(t.bd(),15),wq(this.c,t)},Sxt.Ob=function(){return this.b.Ob()},Sxt.Qb=function(){c2(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null};tz(Gxt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",717);Zlt(524,1939,Jxt,A_),Sxt.$b=function(){this.b.$b()},Sxt.Fc=function(t){return this.b._b(t)},Sxt.Hc=function(t){wB(t),this.b.uc(new Jh(t))},Sxt.dc=function(){return this.b.dc()},Sxt.Ic=function(){return new iy(this.b.tc().Ic())},Sxt.Kc=function(t){return!!this.b._b(t)&&(this.b.zc(t),!0)},Sxt.gc=function(){return this.b.gc()};tz(Gxt,"Maps/KeySet",524);Zlt(315,524,Jxt,IE),Sxt.$b=function(){VN(new s_(this,this.b.tc().Ic()))},Sxt.Gc=function(t){return this.b.ec().Gc(t)},Sxt.Fb=function(t){return this===t||u8(this.b.ec(),t)},Sxt.Hb=function(){return p5(this.b.ec())},Sxt.Ic=function(){return new s_(this,this.b.tc().Ic())},Sxt.Kc=function(t){var e,n;return n=0,(e=RR(this.b.zc(t),15))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},Sxt.Lc=function(){return this.b.ec().Lc()};tz(Gxt,"AbstractMapBasedMultimap/KeySet",315);Zlt(718,1,qxt,s_),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.c.Ob()},Sxt.Pb=function(){return this.a=RR(this.c.Pb(),43),this.a.ad()},Sxt.Qb=function(){var t;c2(!!this.a),t=RR(this.a.bd(),15),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null};tz(Gxt,"AbstractMapBasedMultimap/KeySet/1",718);Zlt(484,316,{84:1,161:1},DD),Sxt.bc=function(){return this.Qc()},Sxt.ec=function(){return this.Rc()},Sxt.Qc=function(){return new a_(this.c,this.Sc())},Sxt.Rc=function(){return this.b||(this.b=this.Qc())},Sxt.Sc=function(){return RR(this.d,161)};tz(Gxt,"AbstractMapBasedMultimap/SortedAsMap",484);Zlt(536,484,t_t,OD),Sxt.bc=function(){return new o_(this.a,RR(RR(this.d,161),171))},Sxt.Qc=function(){return new o_(this.a,RR(RR(this.d,161),171))},Sxt.ec=function(){return RR(this.b||(this.b=new o_(this.a,RR(RR(this.d,161),171))),270)},Sxt.Rc=function(){return RR(this.b||(this.b=new o_(this.a,RR(RR(this.d,161),171))),270)},Sxt.Sc=function(){return RR(RR(this.d,161),171)};tz(Gxt,"AbstractMapBasedMultimap/NavigableAsMap",536);Zlt(483,315,e_t,a_),Sxt.Lc=function(){return this.b.ec().Lc()};tz(Gxt,"AbstractMapBasedMultimap/SortedKeySet",483);Zlt(385,483,n_t,o_);tz(Gxt,"AbstractMapBasedMultimap/NavigableKeySet",385);Zlt(535,28,Zxt,wY),Sxt.Dc=function(t){var e,n;return R9(this),n=this.d.dc(),(e=this.d.Dc(t))&&(++this.f.d,n&&qO(this)),e},Sxt.Ec=function(t){var e,n,r;return!t.dc()&&(R9(this),r=this.d.gc(),(e=this.d.Ec(t))&&(n=this.d.gc(),this.f.d+=n-r,0==r&&qO(this)),e)},Sxt.$b=function(){var t;R9(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,_j(this))},Sxt.Fc=function(t){return R9(this),this.d.Fc(t)},Sxt.Gc=function(t){return R9(this),this.d.Gc(t)},Sxt.Fb=function(t){return t===this||(R9(this),u8(this.d,t))},Sxt.Hb=function(){return R9(this),p5(this.d)},Sxt.Ic=function(){return R9(this),new CR(this)},Sxt.Kc=function(t){var e;return R9(this),(e=this.d.Kc(t))&&(--this.f.d,_j(this)),e},Sxt.gc=function(){return YC(this)},Sxt.Lc=function(){return R9(this),this.d.Lc()},Sxt.Ib=function(){return R9(this),P9(this.d)};tz(Gxt,"AbstractMapBasedMultimap/WrappedCollection",535);var _jt=NN(Yxt,"List");Zlt(715,535,{19:1,28:1,15:1,14:1},rF),Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return R9(this),this.d.Lc()},Sxt.Tc=function(t,e){var n;R9(this),n=this.d.dc(),RR(this.d,14).Tc(t,e),++this.a.d,n&&qO(this)},Sxt.Uc=function(t,e){var n,r,i;return!e.dc()&&(R9(this),i=this.d.gc(),(n=RR(this.d,14).Uc(t,e))&&(r=this.d.gc(),this.a.d+=r-i,0==i&&qO(this)),n)},Sxt.Xb=function(t){return R9(this),RR(this.d,14).Xb(t)},Sxt.Vc=function(t){return R9(this),RR(this.d,14).Vc(t)},Sxt.Wc=function(){return R9(this),new wA(this)},Sxt.Xc=function(t){return R9(this),new Z$(this,t)},Sxt.Yc=function(t){var e;return R9(this),e=RR(this.d,14).Yc(t),--this.a.d,_j(this),e},Sxt.Zc=function(t,e){return R9(this),RR(this.d,14).Zc(t,e)},Sxt._c=function(t,e){return R9(this),NU(this.a,this.e,RR(this.d,14)._c(t,e),this.b?this.b:this)};tz(Gxt,"AbstractMapBasedMultimap/WrappedList",715);Zlt(1076,715,{19:1,28:1,15:1,14:1,53:1},jP);tz(Gxt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1076);Zlt(610,1,qxt,CR),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return q$(this),this.b.Ob()},Sxt.Pb=function(){return q$(this),this.b.Pb()},Sxt.Qb=function(){GE(this)};tz(Gxt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",610);Zlt(716,610,r_t,wA,Z$),Sxt.Qb=function(){GE(this)},Sxt.Rb=function(t){var e;e=0==YC(this.a),(q$(this),RR(this.b,123)).Rb(t),++this.a.a.d,e&&qO(this.a)},Sxt.Sb=function(){return(q$(this),RR(this.b,123)).Sb()},Sxt.Tb=function(){return(q$(this),RR(this.b,123)).Tb()},Sxt.Ub=function(){return(q$(this),RR(this.b,123)).Ub()},Sxt.Vb=function(){return(q$(this),RR(this.b,123)).Vb()},Sxt.Wb=function(t){(q$(this),RR(this.b,123)).Wb(t)};tz(Gxt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",716);Zlt(714,535,e_t,ED),Sxt.Lc=function(){return R9(this),this.d.Lc()};tz(Gxt,"AbstractMapBasedMultimap/WrappedSortedSet",714);Zlt(1075,714,n_t,ZT);tz(Gxt,"AbstractMapBasedMultimap/WrappedNavigableSet",1075);Zlt(1074,535,Jxt,PD),Sxt.Lc=function(){return R9(this),this.d.Lc()};tz(Gxt,"AbstractMapBasedMultimap/WrappedSet",1074);var Sjt=NN(Yxt,"Map/Entry");Zlt(342,1,i_t),Sxt.Fb=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),Cz(this.ad(),e.ad())&&Cz(this.bd(),e.bd()))},Sxt.Hb=function(){var t,e;return t=this.ad(),e=this.bd(),(null==t?0:p5(t))^(null==e?0:p5(e))},Sxt.cd=function(t){throw Jb(new _v)},Sxt.Ib=function(){return this.ad()+"="+this.bd()};tz(Gxt,a_t,342);Zlt(1960,28,Zxt),Sxt.$b=function(){ow(this.dd())},Sxt.Fc=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),function(t,e,n){var r,i;return!!(r=RR((i=t.f,i||(t.f=new u_(t,t.c))).vc(e),15))&&r.Fc(n)}(this.dd(),e.ad(),e.bd()))},Sxt.Kc=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),Y0(this.dd(),e.ad(),e.bd()))},Sxt.gc=function(){return this.dd().d};tz(Gxt,"Multimaps/Entries",1960);Zlt(1082,1960,Zxt),Sxt.Ic=function(){return new HE(this.a)},Sxt.dd=function(){return this.a},Sxt.Lc=function(){return RU(this.a)};tz(Gxt,"AbstractMultimap/Entries",1082);Zlt(719,1082,Jxt,Nh),Sxt.Lc=function(){return RU(this.a)},Sxt.Fb=function(t){return Pst(this,t)},Sxt.Hb=function(){return H0(this)};tz(Gxt,"AbstractMultimap/EntrySet",719);Zlt(720,28,Zxt,jh),Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return function(t,e){var n;for(n=t.Zb().Ac().Ic();n.Ob();)if(RR(n.Pb(),15).Fc(e))return!0;return!1}(this.a,t)},Sxt.Ic=function(){return this.a.lc()},Sxt.gc=function(){return this.a.d},Sxt.Lc=function(){return this.a.mc()};tz(Gxt,"AbstractMultimap/Values",720);Zlt(609,713,Xxt),Sxt.hc=function(){return this.ed()},Sxt.jc=function(){return this.fd()},Sxt.cc=function(t){return this.gd(t)},Sxt.fc=function(t){return this.hd(t)},Sxt.Zb=function(){return this.f||(this.f=this.ac())},Sxt.fd=function(){return mV(),mV(),ZFt},Sxt.Fb=function(t){return k5(this,t)},Sxt.gd=function(t){return RR(Kq(this,t),21)},Sxt.hd=function(t){return RR(E6(this,t),21)},Sxt.kc=function(t){return mV(),new bw(RR(t,21))},Sxt.nc=function(t,e){return new PD(this,t,RR(e,21))};tz(Gxt,"AbstractSetMultimap",609);Zlt(1627,609,Xxt),Sxt.hc=function(){return new qx(this.b)},Sxt.ed=function(){return new qx(this.b)},Sxt.jc=function(){return lz(new qx(this.b))},Sxt.fd=function(){return lz(new qx(this.b))},Sxt.cc=function(t){return RR(RR(Kq(this,t),21),81)},Sxt.gd=function(t){return RR(RR(Kq(this,t),21),81)},Sxt.fc=function(t){return RR(RR(E6(this,t),21),81)},Sxt.hd=function(t){return RR(RR(E6(this,t),21),81)},Sxt.kc=function(t){return zA(t,270)?lz(RR(t,270)):(mV(),new tP(RR(t,81)))},Sxt.Zb=function(){return this.f||(this.f=zA(this.c,171)?new OD(this,RR(this.c,171)):zA(this.c,161)?new DD(this,RR(this.c,161)):new u_(this,this.c))},Sxt.nc=function(t,e){return zA(e,270)?new ZT(this,t,RR(e,270)):new ED(this,t,RR(e,81))};tz(Gxt,"AbstractSortedSetMultimap",1627);Zlt(1628,1627,Xxt),Sxt.Zb=function(){return RR(RR(this.f||(this.f=zA(this.c,171)?new OD(this,RR(this.c,171)):zA(this.c,161)?new DD(this,RR(this.c,161)):new u_(this,this.c)),161),171)},Sxt.ec=function(){return RR(RR(this.i||(this.i=zA(this.c,171)?new o_(this,RR(this.c,171)):zA(this.c,161)?new a_(this,RR(this.c,161)):new IE(this,this.c)),81),270)},Sxt.bc=function(){return zA(this.c,171)?new o_(this,RR(this.c,171)):zA(this.c,161)?new a_(this,RR(this.c,161)):new IE(this,this.c)};tz(Gxt,"AbstractSortedKeySortedSetMultimap",1628);Zlt(1979,1,{1919:1}),Sxt.Fb=function(t){return function(t,e){var n;return e===t||!!zA(e,652)&&(n=RR(e,1919),ytt(t.g||(t.g=new Fh(t)),n.g||(n.g=new Fh(n))))}(this,t)},Sxt.Hb=function(){return o4(this.g||(this.g=new Fh(this)))},Sxt.Ib=function(){return $at(this.f||(this.f=new PE(this)))};tz(Gxt,"AbstractTable",1979);Zlt(653,Qxt,Jxt,Fh),Sxt.$b=function(){rw()},Sxt.Fc=function(t){var e,n;return!!zA(t,462)&&(e=RR(t,669),!!(n=RR(e6(qB(this.a),BC(e.c.e,e.b)),84))&&I6(n.tc(),new __(BC(e.c.c,e.a),_Y(e.c,e.b,e.a))))},Sxt.Ic=function(){return new ME(t=this.a,t.e.Hd().gc()*t.c.Hd().gc());var t},Sxt.Kc=function(t){var e,n;return!!zA(t,462)&&(e=RR(t,669),!!(n=RR(e6(qB(this.a),BC(e.c.e,e.b)),84))&&function(t,e){wB(t);try{return t.Kc(e)}catch(t){if(zA(t=m3(t),203)||zA(t,173))return!1;throw Jb(t)}}(n.tc(),new __(BC(e.c.c,e.a),_Y(e.c,e.b,e.a))))},Sxt.gc=function(){return zN(this.a)},Sxt.Lc=function(){return BN((t=this.a).e.Hd().gc()*t.c.Hd().gc(),273,new zh(t));var t};tz(Gxt,"AbstractTable/CellSet",653);Zlt(o_t,28,Zxt,Bh),Sxt.$b=function(){rw()},Sxt.Fc=function(t){return function(t,e){var n,r,i,a,o,s,u;for(s=0,u=(o=t.a).length;s<u;++s)for(i=0,a=(r=o[s]).length;i<a;++i)if(n=r[i],DC(e)===DC(n)||null!=e&&u8(e,n))return!0;return!1}(this.a,t)},Sxt.Ic=function(){return new CE(t=this.a,t.e.Hd().gc()*t.c.Hd().gc());var t},Sxt.gc=function(){return zN(this.a)},Sxt.Lc=function(){return ZG(this.a)};tz(Gxt,"AbstractTable/Values",o_t);Zlt(1602,1601,Xxt);tz(Gxt,"ArrayListMultimapGwtSerializationDependencies",1602);Zlt(506,1602,Xxt,Jy,JW),Sxt.hc=function(){return new RY(this.a)},Sxt.a=0;tz(Gxt,"ArrayListMultimap",506);Zlt(652,1979,{652:1,1919:1,3:1},plt);tz(Gxt,"ArrayTable",652);Zlt(1896,381,Uxt,ME),Sxt.Xb=function(t){return new M4(this.a,t)};tz(Gxt,"ArrayTable/1",1896);Zlt(1897,1,{},zh),Sxt.jd=function(t){return new M4(this.a,t)};tz(Gxt,"ArrayTable/1methodref$getCell$Type",1897);Zlt(1980,1,{669:1}),Sxt.Fb=function(t){var e;return t===this||!!zA(t,462)&&(e=RR(t,669),Cz(BC(this.c.e,this.b),BC(e.c.e,e.b))&&Cz(BC(this.c.c,this.a),BC(e.c.c,e.a))&&Cz(_Y(this.c,this.b,this.a),_Y(e.c,e.b,e.a)))},Sxt.Hb=function(){return J5(X3(uw(gjt,1),zxt,1,5,[BC(this.c.e,this.b),BC(this.c.c,this.a),_Y(this.c,this.b,this.a)]))},Sxt.Ib=function(){return"("+BC(this.c.e,this.b)+","+BC(this.c.c,this.a)+")="+_Y(this.c,this.b,this.a)};tz(Gxt,"Tables/AbstractCell",1980);Zlt(462,1980,{462:1,669:1},M4),Sxt.a=0,Sxt.b=0,Sxt.d=0;tz(Gxt,"ArrayTable/2",462);Zlt(1899,1,{},$h),Sxt.jd=function(t){return cZ(this.a,t)};tz(Gxt,"ArrayTable/2methodref$getValue$Type",1899);Zlt(1898,381,Uxt,CE),Sxt.Xb=function(t){return cZ(this.a,t)};tz(Gxt,"ArrayTable/3",1898);Zlt(1951,1949,Kxt),Sxt.$b=function(){VN(this.kd())},Sxt.tc=function(){return new Qh(this)},Sxt.ld=function(){return new A$(this.kd(),this.gc())};tz(Gxt,"Maps/IteratorBasedAbstractMap",1951);Zlt(807,1951,Kxt),Sxt.$b=function(){throw Jb(new _v)},Sxt._b=function(t){return Px(this.c,t)},Sxt.kd=function(){return new EE(this,this.c.b.c.gc())},Sxt.ld=function(){return BN(this.c.b.c.gc(),16,new Vh(this))},Sxt.vc=function(t){var e;return(e=RR(OL(this.c,t),20))?this.nd(e.a):null},Sxt.dc=function(){return this.c.b.c.dc()},Sxt.ec=function(){return cF(this.c)},Sxt.xc=function(t,e){var n;if(!(n=RR(OL(this.c,t),20)))throw Jb(new Ny(this.md()+" "+t+" not in "+cF(this.c)));return this.od(n.a,e)},Sxt.zc=function(t){throw Jb(new _v)},Sxt.gc=function(){return this.c.b.c.gc()};tz(Gxt,"ArrayTable/ArrayMap",807);Zlt(1895,1,{},Vh),Sxt.jd=function(t){return KB(this.a,t)};tz(Gxt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1895);Zlt(1893,342,i_t,c_),Sxt.ad=function(){return t=this.a,e=this.b,sF(cF(t.c)).Xb(e);var t,e},Sxt.bd=function(){return this.a.nd(this.b)},Sxt.cd=function(t){return this.a.od(this.b,t)},Sxt.b=0;tz(Gxt,"ArrayTable/ArrayMap/1",1893);Zlt(1894,381,Uxt,EE),Sxt.Xb=function(t){return KB(this.a,t)};tz(Gxt,"ArrayTable/ArrayMap/2",1894);Zlt(1892,807,Kxt,eB),Sxt.md=function(){return"Column"},Sxt.nd=function(t){return _Y(this.b,this.a,t)},Sxt.od=function(t,e){return U3(this.b,this.a,t,e)},Sxt.a=0;tz(Gxt,"ArrayTable/Row",1892);Zlt(808,807,Kxt,PE),Sxt.nd=function(t){return new eB(this.a,t)},Sxt.xc=function(t,e){return RR(e,84),function(){throw Jb(new _v)}()},Sxt.od=function(t,e){return RR(e,84),function(){throw Jb(new _v)}()},Sxt.md=function(){return"Row"};tz(Gxt,"ArrayTable/RowMap",808);Zlt(1093,1,l_t,l_),Sxt.qd=function(){return-262&this.a.qd()},Sxt.rd=function(){return this.a.rd()},Sxt.Nb=function(t){this.a.Nb(new f_(t,this.b))},Sxt.sd=function(t){return this.a.sd(new h_(t,this.b))};tz(Gxt,"CollectSpliterators/1",1093);Zlt(1094,1,h_t,h_),Sxt.td=function(t){this.a.td(this.b.Kb(t))};tz(Gxt,"CollectSpliterators/1/lambda$0$Type",1094);Zlt(1095,1,h_t,f_),Sxt.td=function(t){this.a.td(this.b.Kb(t))};tz(Gxt,"CollectSpliterators/1/lambda$1$Type",1095);Zlt(1096,1,l_t,YU),Sxt.qd=function(){return this.a},Sxt.rd=function(){return this.d&&(this.b=nA(this.b,this.d.rd())),nA(this.b,0)},Sxt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new b_(this.e,t)),this.b=0},Sxt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return z_(this.b,f_t)&&(this.b=s8(this.b,1)),!0;if(this.d=null,!this.c.sd(new d_(this,this.e)))return!1}},Sxt.a=0,Sxt.b=0;tz(Gxt,"CollectSpliterators/1FlatMapSpliterator",1096);Zlt(1097,1,h_t,d_),Sxt.td=function(t){!function(t,e,n){t.d=RR(e.Kb(n),163)}(this.a,this.b,t)};tz(Gxt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1097);Zlt(1098,1,h_t,b_),Sxt.td=function(t){!function(t,e,n){RR(t.Kb(n),163).Nb(e)}(this.b,this.a,t)};tz(Gxt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1098);Zlt(1090,1,l_t,oL),Sxt.qd=function(){return 16464|this.b},Sxt.rd=function(){return this.a.rd()},Sxt.Nb=function(t){this.a.xe(new g_(t,this.c))},Sxt.sd=function(t){return this.a.ye(new p_(t,this.c))},Sxt.b=0;tz(Gxt,"CollectSpliterators/1WithCharacteristics",1090);Zlt(1091,1,d_t,p_),Sxt.ud=function(t){this.a.td(this.b.jd(t))};tz(Gxt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1091);Zlt(1092,1,d_t,g_),Sxt.ud=function(t){this.a.td(this.b.jd(t))};tz(Gxt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1092);Zlt(244,1,p_t),Sxt.wd=function(t){return this.vd(RR(t,244))},Sxt.vd=function(t){var e;return t==(Vm(),Ijt)?1:t==($m(),kjt)?-1:(pN(),0!=(e=v2(this.a,t.a))?e:zA(this,512)==zA(t,512)?0:zA(this,512)?1:-1)},Sxt.zd=function(){return this.a},Sxt.Fb=function(t){return z7(this,t)};var kjt;tz(Gxt,"Cut",244);Zlt(1732,244,p_t,tw),Sxt.vd=function(t){return t==this?0:1},Sxt.xd=function(t){throw Jb(new pv)},Sxt.yd=function(t){t.a+="+∞)"},Sxt.zd=function(){throw Jb(new jy(g_t))},Sxt.Hb=function(){return Q_(),Ket(this)},Sxt.Ad=function(t){return!1},Sxt.Ib=function(){return"+∞"};tz(Gxt,"Cut/AboveAll",1732);Zlt(512,244,{244:1,512:1,3:1,36:1},KE),Sxt.xd=function(t){GC((t.a+="(",t),this.a)},Sxt.yd=function(t){iz(GC(t,this.a),93)},Sxt.Hb=function(){return~p5(this.a)},Sxt.Ad=function(t){return pN(),v2(this.a,t)<0},Sxt.Ib=function(){return"/"+this.a+"\\"};var Ijt;tz(Gxt,"Cut/AboveValue",512);Zlt(1731,244,p_t,ew),Sxt.vd=function(t){return t==this?0:-1},Sxt.xd=function(t){t.a+="(-∞"},Sxt.yd=function(t){throw Jb(new pv)},Sxt.zd=function(){throw Jb(new jy(g_t))},Sxt.Hb=function(){return Q_(),Ket(this)},Sxt.Ad=function(t){return!0},Sxt.Ib=function(){return"-∞"};tz(Gxt,"Cut/BelowAll",1731);Zlt(1733,244,p_t,ZE),Sxt.xd=function(t){GC((t.a+="[",t),this.a)},Sxt.yd=function(t){iz(GC(t,this.a),41)},Sxt.Hb=function(){return p5(this.a)},Sxt.Ad=function(t){return pN(),v2(this.a,t)<=0},Sxt.Ib=function(){return"\\"+this.a+"/"};tz(Gxt,"Cut/BelowValue",1733);Zlt(529,1,b_t),Sxt.Hc=function(t){yq(this,t)},Sxt.Ib=function(){return function(t){var e,n;for(n=iz(new pw,91),e=!0;t.Ob();)e||(n.a+=Fxt),e=!1,GC(n,t.Pb());return(n.a+="]",n).a}(RR(K$(this,"use Optional.orNull() instead of Optional.or(null)"),19).Ic())};tz(Gxt,"FluentIterable",529);Zlt(426,529,b_t,CT),Sxt.Ic=function(){return new xF(zE(this.a.Ic(),new p))};tz(Gxt,"FluentIterable/2",426);Zlt(1010,529,b_t,TT),Sxt.Ic=function(){return ZF(this)};tz(Gxt,"FluentIterable/3",1010);Zlt(694,381,Uxt,DE),Sxt.Xb=function(t){return this.a[t].Ic()};tz(Gxt,"FluentIterable/3/1",694);Zlt(1942,1,{}),Sxt.Ib=function(){return P9(this.Bd().b)};tz(Gxt,"ForwardingObject",1942);Zlt(1943,1942,v_t),Sxt.Bd=function(){return this.Cd()},Sxt.Hc=function(t){yq(this,t)},Sxt.Jc=function(){return this.Mc()},Sxt.Lc=function(){return new ZW(this,0)},Sxt.Mc=function(){return new lj(null,this.Lc())},Sxt.Dc=function(t){return this.Cd(),jw()},Sxt.Ec=function(t){return this.Cd(),Fw()},Sxt.$b=function(){this.Cd(),Bw()},Sxt.Fc=function(t){return this.Cd().Fc(t)},Sxt.Gc=function(t){return this.Cd().Gc(t)},Sxt.dc=function(){return this.Cd().b.dc()},Sxt.Ic=function(){return this.Cd().Ic()},Sxt.Kc=function(t){return this.Cd(),zw()},Sxt.gc=function(){return this.Cd().b.gc()},Sxt.Nc=function(){return this.Cd().Nc()},Sxt.Oc=function(t){return this.Cd().Oc(t)};tz(Gxt,"ForwardingCollection",1943);Zlt(1952,28,m_t),Sxt.Ic=function(){return this.Ed()},Sxt.Dc=function(t){throw Jb(new _v)},Sxt.Ec=function(t){throw Jb(new _v)},Sxt.$b=function(){throw Jb(new _v)},Sxt.Fc=function(t){return null!=t&&u7(this,t,!1)},Sxt.Dd=function(){switch(this.gc()){case 0:return zz(),zz(),Mjt;case 1:return zz(),new HN(wB(this.Ed().Pb()));default:return new iB(this,this.Nc())}},Sxt.Kc=function(t){throw Jb(new _v)};tz(Gxt,"ImmutableCollection",1952);Zlt(693,1952,m_t,sv),Sxt.Ic=function(){return zK(this.a.Ic())},Sxt.Fc=function(t){return null!=t&&this.a.Fc(t)},Sxt.Gc=function(t){return this.a.Gc(t)},Sxt.dc=function(){return this.a.dc()},Sxt.Ed=function(){return zK(this.a.Ic())},Sxt.gc=function(){return this.a.gc()},Sxt.Nc=function(){return this.a.Nc()},Sxt.Oc=function(t){return this.a.Oc(t)},Sxt.Ib=function(){return P9(this.a)};var Mjt;tz(Gxt,"ForwardingImmutableCollection",693);Zlt(151,1952,y_t),Sxt.Ic=function(){return this.Ed()},Sxt.Wc=function(){return this.Fd(0)},Sxt.Xc=function(t){return this.Fd(t)},Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt._c=function(t,e){return this.Gd(t,e)},Sxt.Tc=function(t,e){throw Jb(new _v)},Sxt.Uc=function(t,e){throw Jb(new _v)},Sxt.Fb=function(t){return mht(this,t)},Sxt.Hb=function(){return function(t){var e,n,r;for(e=1,r=t.Ic();r.Ob();)e=~~(e=31*e+(null==(n=r.Pb())?0:p5(n)));return e}(this)},Sxt.Vc=function(t){return null==t?-1:function(t,e){var n,r;if(r=t.gc(),null==e){for(n=0;n<r;n++)if(null==t.Xb(n))return n}else for(n=0;n<r;n++)if(u8(e,t.Xb(n)))return n;return-1}(this,t)},Sxt.Ed=function(){return this.Fd(0)},Sxt.Fd=function(t){return zP(this,t)},Sxt.Yc=function(t){throw Jb(new _v)},Sxt.Zc=function(t,e){throw Jb(new _v)},Sxt.Gd=function(t,e){return $6(new KW(new P_(this),t,e))};tz(Gxt,"ImmutableList",151);Zlt(1975,151,y_t),Sxt.Ic=function(){return zK(this.Hd().Ic())},Sxt._c=function(t,e){return $6(this.Hd()._c(t,e))},Sxt.Fc=function(t){return null!=t&&this.Hd().Fc(t)},Sxt.Gc=function(t){return this.Hd().Gc(t)},Sxt.Fb=function(t){return u8(this.Hd(),t)},Sxt.Xb=function(t){return BC(this,t)},Sxt.Hb=function(){return p5(this.Hd())},Sxt.Vc=function(t){return this.Hd().Vc(t)},Sxt.dc=function(){return this.Hd().dc()},Sxt.Ed=function(){return zK(this.Hd().Ic())},Sxt.gc=function(){return this.Hd().gc()},Sxt.Gd=function(t,e){return $6(this.Hd()._c(t,e))},Sxt.Nc=function(){return this.Hd().Oc(hK(gjt,zxt,1,this.Hd().gc(),5,1))},Sxt.Oc=function(t){return this.Hd().Oc(t)},Sxt.Ib=function(){return P9(this.Hd())};var Cjt;tz(Gxt,"ForwardingImmutableList",1975);Zlt(703,1,x_t),Sxt.tc=function(){return uF(this)},Sxt.uc=function(t){S2(this,t)},Sxt.ec=function(){return cF(this)},Sxt.wc=function(t,e,n){return l9(this,t,e,n)},Sxt.Ac=function(){return this.Ld()},Sxt.$b=function(){throw Jb(new _v)},Sxt._b=function(t){return null!=this.vc(t)},Sxt.sc=function(t){return this.Ld().Fc(t)},Sxt.Jd=function(){return new uv(this)},Sxt.Kd=function(){return new cv(this)},Sxt.Fb=function(t){return function(t,e){var n;return t===e||!!zA(e,84)&&(n=RR(e,84),Pst(uF(t),n.tc()))}(this,t)},Sxt.Hb=function(){return uF(this).Hb()},Sxt.dc=function(){return 0==this.gc()},Sxt.xc=function(t,e){return function(){throw Jb(new _v)}()},Sxt.zc=function(t){throw Jb(new _v)},Sxt.Ib=function(){return function(t){var e,n,r,i;for(i=iz((k1(t.gc(),"size"),new gw),123),r=!0,n=uF(t).Ic();n.Ob();)e=RR(n.Pb(),43),r||(i.a+=Fxt),r=!1,GC(iz(GC(i,e.ad()),61),e.bd());return(i.a+="}",i).a}(this)},Sxt.Ld=function(){return this.e?this.e:this.e=this.Kd()},Sxt.c=null,Sxt.d=null,Sxt.e=null;tz(Gxt,"ImmutableMap",703);Zlt(704,703,x_t),Sxt._b=function(t){return Px(this,t)},Sxt.sc=function(t){return U_(this.b,t)},Sxt.Id=function(){return V6(new Xh(this))},Sxt.Jd=function(){return V6(o$(this.b))},Sxt.Kd=function(){return CL(),new sv(s$(this.b))},Sxt.Fb=function(t){return X_(this.b,t)},Sxt.vc=function(t){return OL(this,t)},Sxt.Hb=function(){return p5(this.b.c)},Sxt.dc=function(){return this.b.c.dc()},Sxt.gc=function(){return this.b.c.gc()},Sxt.Ib=function(){return P9(this.b.c)};tz(Gxt,"ForwardingImmutableMap",704);Zlt(1944,1943,__t),Sxt.Bd=function(){return this.Md()},Sxt.Cd=function(){return this.Md()},Sxt.Lc=function(){return new ZW(this,1)},Sxt.Fb=function(t){return t===this||this.Md().Fb(t)},Sxt.Hb=function(){return this.Md().Hb()};tz(Gxt,"ForwardingSet",1944);Zlt(1053,1944,__t,Xh),Sxt.Bd=function(){return a$(this.a.b)},Sxt.Cd=function(){return a$(this.a.b)},Sxt.Fc=function(t){if(zA(t,43)&&null==RR(t,43).ad())return!1;try{return G_(a$(this.a.b),t)}catch(t){if(zA(t=m3(t),203))return!1;throw Jb(t)}},Sxt.Md=function(){return a$(this.a.b)},Sxt.Oc=function(t){var e;return e=JV(a$(this.a.b),t),a$(this.a.b).b.gc()<e.length&&nz(e,a$(this.a.b).b.gc(),null),e};tz(Gxt,"ForwardingImmutableMap/1",1053);Zlt(1953,1952,S_t),Sxt.Ic=function(){return this.Ed()},Sxt.Lc=function(){return new ZW(this,1)},Sxt.Fb=function(t){return Pst(this,t)},Sxt.Hb=function(){return H0(this)};tz(Gxt,"ImmutableSet",1953);Zlt(690,1953,S_t),Sxt.Ic=function(){return zK(new Jf(this.a.b.Ic()))},Sxt.Fc=function(t){return null!=t&&V_(this.a,t)},Sxt.Gc=function(t){return H_(this.a,t)},Sxt.Hb=function(){return p5(this.a.b)},Sxt.dc=function(){return this.a.b.dc()},Sxt.Ed=function(){return zK(new Jf(this.a.b.Ic()))},Sxt.gc=function(){return this.a.b.gc()},Sxt.Nc=function(){return this.a.b.Nc()},Sxt.Oc=function(t){return W_(this.a,t)},Sxt.Ib=function(){return P9(this.a.b)};tz(Gxt,"ForwardingImmutableSet",690);Zlt(1945,1944,k_t),Sxt.Bd=function(){return this.b},Sxt.Cd=function(){return this.b},Sxt.Md=function(){return this.b},Sxt.Lc=function(){return new yk(this)};tz(Gxt,"ForwardingSortedSet",1945);Zlt(527,1951,x_t,Snt),Sxt.yc=function(t){p2(this,t)},Sxt.Ac=function(){return new xA(this.d||(this.d=new qh(this)))},Sxt.$b=function(){fq(this)},Sxt._b=function(t){return!!K0(this,t,QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15))))},Sxt.sc=function(t){return yQ(this,t)},Sxt.kd=function(){return new OE(this,this)},Sxt.uc=function(t){jH(this,t)},Sxt.vc=function(t){return lJ(this,t)},Sxt.ec=function(){return new _A(this)},Sxt.xc=function(t,e){return fgt(this,t,e)},Sxt.zc=function(t){var e;return(e=K0(this,t,QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15)))))?(bft(this,e),e.e=null,e.c=null,e.i):null},Sxt.gc=function(){return this.i},Sxt.pd=function(){return new xA(this.d||(this.d=new qh(this)))},Sxt.f=0,Sxt.g=0,Sxt.i=0;tz(Gxt,"HashBiMap",527);Zlt(528,1,qxt),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return PU(this)},Sxt.Pb=function(){var t;if(!PU(this))throw Jb(new vv);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},Sxt.Qb=function(){if(this.e.g!=this.b)throw Jb(new Sv);c2(!!this.f),bft(this.e,this.f),this.b=this.e.g,this.f=null},Sxt.b=0,Sxt.d=0,Sxt.f=null;tz(Gxt,"HashBiMap/Itr",528);Zlt(991,528,qxt,OE),Sxt.Nd=function(t){return new v_(this,t)};tz(Gxt,"HashBiMap/1",991);Zlt(992,342,i_t,v_),Sxt.ad=function(){return this.a.g},Sxt.bd=function(){return this.a.i},Sxt.cd=function(t){var e,n,r;return n=this.a.i,(r=QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15))))==this.a.f&&(DC(t)===DC(n)||null!=t&&u8(t,n))?t:(A3(!Z0(this.b.a,t,r),t),bft(this.b.a,this.a),e=new qz(this.a.g,this.a.a,t,r),Sct(this.b.a,e,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=e),this.a=e,n)};tz(Gxt,"HashBiMap/1/MapEntry",992);Zlt(263,342,{342:1,263:1,3:1,43:1},__),Sxt.ad=function(){return this.g},Sxt.bd=function(){return this.i},Sxt.cd=function(t){throw Jb(new _v)};tz(Gxt,"ImmutableEntry",263);Zlt(314,263,{342:1,314:1,263:1,3:1,43:1},qz),Sxt.a=0,Sxt.f=0;var Tjt=tz(Gxt,"HashBiMap/BiEntry",314);Zlt(600,1951,x_t,qh),Sxt.yc=function(t){p2(this,t)},Sxt.Ac=function(){return new _A(this.a)},Sxt.$b=function(){fq(this.a)},Sxt._b=function(t){return yQ(this.a,t)},Sxt.kd=function(){return new LE(this,this.a)},Sxt.uc=function(t){wB(t),jH(this.a,new Yh(t))},Sxt.vc=function(t){return CJ(this,t)},Sxt.ec=function(){return new xA(this)},Sxt.xc=function(t,e){return function(t,e,n,r){var i,a,o,s;if(s=QN(o8(I_t,c$(QN(o8(null==e?0:p5(e),M_t)),15))),i=QN(o8(I_t,c$(QN(o8(null==n?0:p5(n),M_t)),15))),o=Z0(t,e,s),a=K0(t,n,i),o&&i==o.a&&Cz(n,o.g))return n;if(a&&!r)throw Jb(new Ny("key already present: "+n));return o&&bft(t,o),a&&bft(t,a),Sct(t,new qz(n,i,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),Mit(t),o?o.g:null}(this.a,t,e,!1)},Sxt.zc=function(t){var e;return(e=Z0(this.a,t,QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15)))))?(bft(this.a,e),e.e=null,e.c=null,e.g):null},Sxt.gc=function(){return this.a.i},Sxt.pd=function(){return new _A(this.a)};tz(Gxt,"HashBiMap/Inverse",600);Zlt(988,528,qxt,LE),Sxt.Nd=function(t){return new m_(this,t)};tz(Gxt,"HashBiMap/Inverse/1",988);Zlt(989,342,i_t,m_),Sxt.ad=function(){return this.a.i},Sxt.bd=function(){return this.a.g},Sxt.cd=function(t){var e,n,r;return r=this.a.g,(e=QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15))))==this.a.a&&(DC(t)===DC(r)||null!=t&&u8(t,r))?t:(A3(!K0(this.b.a.a,t,e),t),bft(this.b.a.a,this.a),n=new qz(t,e,this.a.i,this.a.f),this.a=n,Sct(this.b.a.a,n,null),this.b.b=this.b.a.a.g,r)};tz(Gxt,"HashBiMap/Inverse/1/InverseEntry",989);Zlt(601,524,Jxt,xA),Sxt.Ic=function(){return new ty(this.a.a)},Sxt.Kc=function(t){var e;return!!(e=Z0(this.a.a,t,QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15)))))&&(bft(this.a.a,e),!0)};tz(Gxt,"HashBiMap/Inverse/InverseKeySet",601);Zlt(987,528,qxt,ty),Sxt.Nd=function(t){return t.i};tz(Gxt,"HashBiMap/Inverse/InverseKeySet/1",987);Zlt(990,1,{},Yh),Sxt.Od=function(t,e){!function(t,e,n){t.Od(n,e)}(this.a,t,e)};tz(Gxt,"HashBiMap/Inverse/lambda$0$Type",990);Zlt(599,524,Jxt,_A),Sxt.Ic=function(){return new ey(this.a)},Sxt.Kc=function(t){var e;return!!(e=K0(this.a,t,QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15)))))&&(bft(this.a,e),e.e=null,e.c=null,!0)};tz(Gxt,"HashBiMap/KeySet",599);Zlt(986,528,qxt,ey),Sxt.Nd=function(t){return t.g};tz(Gxt,"HashBiMap/KeySet/1",986);Zlt(1073,609,Xxt);tz(Gxt,"HashMultimapGwtSerializationDependencies",1073);Zlt(280,1073,Xxt,yH),Sxt.hc=function(){return new Xx(HQ(this.a))},Sxt.ed=function(){return new Xx(HQ(this.a))},Sxt.a=2;tz(Gxt,"HashMultimap",280);Zlt(1968,151,y_t),Sxt.Fc=function(t){return this.Pd().Fc(t)},Sxt.dc=function(){return this.Pd().dc()},Sxt.gc=function(){return this.Pd().gc()};tz(Gxt,"ImmutableAsList",1968);Zlt(1903,704,x_t),Sxt.Ld=function(){return CL(),new aw(this.a)},Sxt.Ac=function(){return CL(),new aw(this.a)},Sxt.pd=function(){return CL(),new aw(this.a)};tz(Gxt,"ImmutableBiMap",1903);Zlt(1947,1,{});tz(Gxt,"ImmutableCollection/Builder",1947);Zlt(998,690,S_t,ny);tz(Gxt,"ImmutableEnumSet",998);Zlt(933,381,Uxt,aL),Sxt.Xb=function(t){return this.a.Xb(t)};tz(Gxt,"ImmutableList/1",933);Zlt(932,1947,{},hO);tz(Gxt,"ImmutableList/Builder",932);Zlt(604,197,Wxt,Wh),Sxt.Ob=function(){return this.a.Ob()},Sxt.Pb=function(){return RR(this.a.Pb(),43).ad()};tz(Gxt,"ImmutableMap/1",604);Zlt(1029,1,{},c),Sxt.Kb=function(t){return RR(t,43).ad()};tz(Gxt,"ImmutableMap/2methodref$getKey$Type",1029);Zlt(1028,1,{},fO);tz(Gxt,"ImmutableMap/Builder",1028);Zlt(1969,1953,S_t),Sxt.Ic=function(){return new Wh(uF(this.a).Ed())},Sxt.Dd=function(){return new lv(this)},Sxt.Hc=function(t){var e,n;for(wB(t),n=this.gc(),e=0;e<n;e++)t.td(RR(sF(uF(this.a)).Xb(e),43).ad())},Sxt.Ed=function(){var t;return(t=this.c,t||(this.c=new lv(this))).Ed()},Sxt.Lc=function(){return BN(this.gc(),1296,new Hh(this))};tz(Gxt,"IndexedImmutableSet",1969);Zlt(1153,1969,S_t,uv),Sxt.Ic=function(){return new Wh(uF(this.a).Ed())},Sxt.Fc=function(t){return this.a._b(t)},Sxt.Hc=function(t){wB(t),S2(this.a,new Gh(t))},Sxt.Ed=function(){return new Wh(uF(this.a).Ed())},Sxt.gc=function(){return this.a.gc()},Sxt.Lc=function(){return kR(uF(this.a).Lc(),new c)};tz(Gxt,"ImmutableMapKeySet",1153);Zlt(1154,1,{},Gh),Sxt.Od=function(t,e){CL(),this.a.td(t)};tz(Gxt,"ImmutableMapKeySet/lambda$0$Type",1154);Zlt(1151,1952,m_t,cv),Sxt.Ic=function(){return new lN(this)},Sxt.Fc=function(t){return null!=t&&function(t,e){if(null==e){for(;t.a.Ob();)if(null==RR(t.a.Pb(),43).bd())return!0}else for(;t.a.Ob();)if(u8(e,RR(t.a.Pb(),43).bd()))return!0;return!1}(new lN(this),t)},Sxt.Ed=function(){return new lN(this)},Sxt.gc=function(){return this.a.gc()},Sxt.Lc=function(){return kR(uF(this.a).Lc(),new l)};tz(Gxt,"ImmutableMapValues",1151);Zlt(1152,1,{},l),Sxt.Kb=function(t){return RR(t,43).bd()};tz(Gxt,"ImmutableMapValues/0methodref$getValue$Type",1152);Zlt(616,197,Wxt,lN),Sxt.Ob=function(){return this.a.Ob()},Sxt.Pb=function(){return RR(this.a.Pb(),43).bd()};tz(Gxt,"ImmutableMapValues/1",616);Zlt(1155,1,{},Hh),Sxt.jd=function(t){return vB(this.a,t)};tz(Gxt,"IndexedImmutableSet/0methodref$get$Type",1155);Zlt(735,1968,y_t,lv),Sxt.Pd=function(){return this.a},Sxt.Xb=function(t){return vB(this.a,t)},Sxt.gc=function(){return this.a.a.gc()};tz(Gxt,"IndexedImmutableSet/1",735);Zlt(42,1,{},p),Sxt.Kb=function(t){return RR(t,19).Ic()},Sxt.Fb=function(t){return this===t};tz(Gxt,"Iterables/10",42);Zlt(1006,529,b_t,hN),Sxt.Hc=function(t){wB(t),this.b.Hc(new y_(this.a,t))},Sxt.Ic=function(){return cA(this)};tz(Gxt,"Iterables/4",1006);Zlt(1007,1,h_t,y_),Sxt.td=function(t){!function(t,e,n){t.Mb(n)&&e.td(n)}(this.b,this.a,t)};tz(Gxt,"Iterables/4/lambda$0$Type",1007);Zlt(1008,529,b_t,fN),Sxt.Hc=function(t){wB(t),yq(this.a,new x_(t,this.b))},Sxt.Ic=function(){return zE(new SE(this.a),this.b)};tz(Gxt,"Iterables/5",1008);Zlt(1009,1,h_t,x_),Sxt.td=function(t){this.a.td(BT(t))};tz(Gxt,"Iterables/5/lambda$0$Type",1009);Zlt(1031,197,Wxt,Kh),Sxt.Ob=function(){return this.a.Ob()},Sxt.Pb=function(){return this.a.Pb()};tz(Gxt,"Iterators/1",1031);Zlt(1032,679,Wxt,w_),Sxt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null};tz(Gxt,"Iterators/5",1032);Zlt(525,1,qxt),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.b.Ob()},Sxt.Pb=function(){return this.Qd(this.b.Pb())},Sxt.Qb=function(){this.b.Qb()};tz(Gxt,"TransformedIterator",525);Zlt(1033,525,qxt,$E),Sxt.Qd=function(t){return this.a.Kb(t)};tz(Gxt,"Iterators/6",1033);Zlt(701,197,Wxt,ff),Sxt.Ob=function(){return!this.a},Sxt.Pb=function(){if(this.a)throw Jb(new vv);return this.a=!0,this.b},Sxt.a=!1;var Ajt;tz(Gxt,"Iterators/9",701);Zlt(1030,381,Uxt,vj),Sxt.Xb=function(t){return this.a[this.b+t]},Sxt.b=0;tz(Gxt,"Iterators/ArrayItr",1030);Zlt(40,1,{40:1,49:1},xF),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return Qlt(this)},Sxt.Pb=function(){return dq(this)},Sxt.Qb=function(){c2(!!this.c),this.c.Qb(),this.c=null};tz(Gxt,"Iterators/ConcatenatedIterator",40);Zlt(22,1,{3:1,36:1,22:1}),Sxt.wd=function(t){return Ly(this,RR(t,22))},Sxt.Fb=function(t){return this===t},Sxt.Hb=function(){return uP(this)},Sxt.Ib=function(){return JP(this)},Sxt.g=0;var Ejt,Pjt=tz(Rxt,"Enum",22);Zlt(532,22,{532:1,3:1,36:1,22:1,49:1},XA),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return!1},Sxt.Pb=function(){throw Jb(new vv)},Sxt.Qb=function(){c2(!1)};var Djt,Ojt=h1(Gxt,"Iterators/EmptyModifiableIterator",532,Pjt,(function(){return Zm(),X3(uw(Ojt,1),P_t,532,0,[Ejt])}),(function(t){return Zm(),hQ((wW(),Djt),t)}));Zlt(1806,609,Xxt);tz(Gxt,"LinkedHashMultimapGwtSerializationDependencies",1806);Zlt(1807,1806,Xxt,l6),Sxt.hc=function(){return new eP(HQ(this.b))},Sxt.$b=function(){ow(this)},Sxt.ed=function(){return new eP(HQ(this.b))},Sxt.ic=function(t){return new y5(this,t,this.b)},Sxt.ec=function(){return this.i||(this.i=new IE(this,this.c))},Sxt.lc=function(){return new ay(new HE(this))},Sxt.mc=function(){return kR(new ZW(this.g||(this.g=new Nh(this)),17),new b)},Sxt.b=2;tz(Gxt,"LinkedHashMultimap",1807);Zlt(1810,1,{},b),Sxt.Kb=function(t){return RR(t,43).bd()};tz(Gxt,"LinkedHashMultimap/0methodref$getValue$Type",1810);Zlt(803,1,qxt,HE),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return function(t){var e;if(t.a==t.b.a)throw Jb(new vv);return e=t.a,t.c=e,t.a=t.a.e,e}(this)},Sxt.Ob=function(){return this.a!=this.b.a},Sxt.Qb=function(){c2(!!this.c),Y0(this.b,this.c.g,this.c.i),this.c=null};tz(Gxt,"LinkedHashMultimap/1",803);Zlt(328,263,{342:1,263:1,328:1,1989:1,3:1,43:1},Yz),Sxt.Rd=function(){return this.f},Sxt.Sd=function(t){this.c=t},Sxt.Td=function(t){this.f=t},Sxt.d=0;var Ljt=tz(Gxt,"LinkedHashMultimap/ValueEntry",328);Zlt(1808,1939,{1989:1,19:1,28:1,15:1,21:1},y5),Sxt.Dc=function(t){var e,n,r,i,a;for(e=(a=QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15))))&this.b.length-1,n=i=this.b[e];n;n=n.a)if(n.d==a&&Cz(n.i,t))return!1;return r=new Yz(this.c,t,a,i),sw(this.d,r),r.f=this,this.d=r,av(this.g.a.b,r),av(r,this.g.a),this.b[e]=r,++this.f,++this.e,function(t){var e,n,r,i,a;if($_(t.f,t.b.length))for(r=hK(Ljt,C_t,328,2*t.b.length,0,1),t.b=r,i=r.length-1,n=t.a;n!=t;n=n.Rd())e=(a=RR(n,328)).d&i,a.a=r[e],r[e]=a}(this),!0},Sxt.$b=function(){var t,e;for(bk(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())av((e=RR(t,328)).b,e.e);this.a=this,this.d=this,++this.e},Sxt.Fc=function(t){var e,n;for(n=QN(o8(I_t,c$(QN(o8(null==t?0:p5(t),M_t)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&Cz(e.i,t))return!0;return!1},Sxt.Hc=function(t){var e;for(wB(t),e=this.a;e!=this;e=e.Rd())t.td(RR(e,328).i)},Sxt.Rd=function(){return this.a},Sxt.Ic=function(){return new Dz(this)},Sxt.Kc=function(t){return Ylt(this,t)},Sxt.Sd=function(t){this.d=t},Sxt.Td=function(t){this.a=t},Sxt.gc=function(){return this.f},Sxt.e=0,Sxt.f=0;tz(Gxt,"LinkedHashMultimap/ValueSet",1808);Zlt(1809,1,qxt,Dz),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return oN(this),this.b!=this.c},Sxt.Pb=function(){var t,e;if(oN(this),this.b==this.c)throw Jb(new vv);return e=(t=RR(this.b,328)).i,this.d=t,this.b=t.f,e},Sxt.Qb=function(){oN(this),c2(!!this.d),Ylt(this.c,this.d.i),this.a=this.c.e,this.d=null},Sxt.a=0;tz(Gxt,"LinkedHashMultimap/ValueSet/1",1809);Zlt(749,1958,Xxt,aT),Sxt.Zb=function(){return this.f||(this.f=new ok(this))},Sxt.Fb=function(t){return k5(this,t)},Sxt.cc=function(t){return new k_(this,t)},Sxt.fc=function(t){return dX(this,t)},Sxt.$b=function(){yB(this)},Sxt._b=function(t){return F_(this,t)},Sxt.ac=function(){return new ok(this)},Sxt.bc=function(){return new ef(this)},Sxt.oc=function(t){return new k_(this,t)},Sxt.dc=function(){return!this.a},Sxt.pc=function(t){return dX(this,t)},Sxt.gc=function(){return this.d},Sxt.c=0,Sxt.d=0;tz(Gxt,"LinkedListMultimap",749);Zlt(51,28,D_t),Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt.Tc=function(t,e){throw Jb(new zy("Add not supported on this list"))},Sxt.Dc=function(t){return this.Tc(this.gc(),t),!0},Sxt.Uc=function(t,e){var n,r,i;for(wz(e),n=!1,i=e.Ic();i.Ob();)r=i.Pb(),this.Tc(t++,r),n=!0;return n},Sxt.$b=function(){this.Ud(0,this.gc())},Sxt.Fb=function(t){return hht(this,t)},Sxt.Hb=function(){return J4(this)},Sxt.Vc=function(t){return j1(this,t)},Sxt.Ic=function(){return new Nf(this)},Sxt.Wc=function(){return this.Xc(0)},Sxt.Xc=function(t){return new tU(this,t)},Sxt.Yc=function(t){throw Jb(new zy("Remove not supported on this list"))},Sxt.Ud=function(t,e){var n,r;for(r=this.Xc(t),n=t;n<e;++n)r.Pb(),r.Qb()},Sxt.Zc=function(t,e){throw Jb(new zy("Set not supported on this list"))},Sxt._c=function(t,e){return new KW(this,t,e)},Sxt.j=0;tz(Yxt,"AbstractList",51);Zlt(1936,51,D_t),Sxt.Tc=function(t,e){AD(this,t,e)},Sxt.Uc=function(t,e){return T5(this,t,e)},Sxt.Xb=function(t){return met(this,t)},Sxt.Ic=function(){return this.Xc(0)},Sxt.Yc=function(t){return jrt(this,t)},Sxt.Zc=function(t,e){var n,r;n=this.Xc(t);try{return r=n.Pb(),n.Wb(e),r}catch(e){throw zA(e=m3(e),114)?Jb(new My("Can't set element "+t)):Jb(e)}};tz(Yxt,"AbstractSequentialList",1936);Zlt(626,1936,D_t,k_),Sxt.Xc=function(t){return BE(this,t)},Sxt.gc=function(){var t;return(t=RR(oz(this.a.b,this.b),282))?t.a:0};tz(Gxt,"LinkedListMultimap/1",626);Zlt(1268,1939,Jxt,ef),Sxt.Fc=function(t){return F_(this.a,t)},Sxt.Ic=function(){return new E0(this.a)},Sxt.Kc=function(t){return!dX(this.a,t).a.dc()},Sxt.gc=function(){return Y_(this.a.b)};tz(Gxt,"LinkedListMultimap/1KeySetImpl",1268);Zlt(1267,1,qxt,E0),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return sN(this),!!this.c},Sxt.Pb=function(){sN(this),ZA(this.c),this.a=this.c,cB(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!cB(this.d,this.c.a));return this.a.a},Sxt.Qb=function(){sN(this),c2(!!this.a),VN(new vZ(this.e,this.a.a)),this.a=null,this.b=this.e.c},Sxt.b=0;tz(Gxt,"LinkedListMultimap/DistinctKeyIterator",1267);Zlt(282,1,{282:1},DV),Sxt.a=0;tz(Gxt,"LinkedListMultimap/KeyList",282);Zlt(1266,342,i_t,I_),Sxt.ad=function(){return this.a},Sxt.bd=function(){return this.f},Sxt.cd=function(t){var e;return e=this.f,this.f=t,e};tz(Gxt,"LinkedListMultimap/Node",1266);Zlt(553,1,r_t,vZ,Cut),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){this.e=wgt(this.f,this.b,t,this.c),++this.d,this.a=null},Sxt.Ob=function(){return!!this.c},Sxt.Sb=function(){return!!this.e},Sxt.Pb=function(){return hW(this)},Sxt.Tb=function(){return this.d},Sxt.Ub=function(){return fW(this)},Sxt.Vb=function(){return this.d-1},Sxt.Qb=function(){var t,e,n;c2(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,t=this.f,(e=this.a).d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,e.e||e.c?(--(n=RR(oz(t.b,e.a),282)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=RR(sY(t.b,e.a),282)).a=0,++t.c),--t.d,this.a=null},Sxt.Wb=function(t){KA(!!this.a),this.a.f=t},Sxt.d=0;tz(Gxt,"LinkedListMultimap/ValueForKeyIterator",553);Zlt(999,51,D_t),Sxt.Tc=function(t,e){this.a.Tc(t,e)},Sxt.Uc=function(t,e){return this.a.Uc(t,e)},Sxt.Fc=function(t){return this.a.Fc(t)},Sxt.Xb=function(t){return this.a.Xb(t)},Sxt.Yc=function(t){return this.a.Yc(t)},Sxt.Zc=function(t,e){return this.a.Zc(t,e)},Sxt.gc=function(){return this.a.gc()};tz(Gxt,"Lists/AbstractListWrapper",999);Zlt(L_t,999,R_t);tz(Gxt,"Lists/RandomAccessListWrapper",L_t);Zlt(1002,L_t,R_t,P_),Sxt.Xc=function(t){return this.a.Xc(t)};tz(Gxt,"Lists/1",1002);Zlt(131,51,{131:1,19:1,28:1,51:1,15:1,14:1},D_),Sxt.Tc=function(t,e){this.a.Tc(UF(this,t),e)},Sxt.$b=function(){this.a.$b()},Sxt.Xb=function(t){return this.a.Xb(JB(this,t))},Sxt.Ic=function(){return lG(this,0)},Sxt.Xc=function(t){return lG(this,t)},Sxt.Yc=function(t){return this.a.Yc(JB(this,t))},Sxt.Ud=function(t,e){(HG(t,e,this.a.gc()),T2(this.a._c(UF(this,e),UF(this,t)))).$b()},Sxt.Zc=function(t,e){return this.a.Zc(JB(this,t),e)},Sxt.gc=function(){return this.a.gc()},Sxt._c=function(t,e){return HG(t,e,this.a.gc()),T2(this.a._c(UF(this,e),UF(this,t)))};tz(Gxt,"Lists/ReverseList",131);Zlt(278,131,{131:1,19:1,28:1,51:1,15:1,14:1,53:1},ry);tz(Gxt,"Lists/RandomAccessReverseList",278);Zlt(1001,1,r_t,L_),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},Sxt.Ob=function(){return this.c.Sb()},Sxt.Sb=function(){return this.c.Ob()},Sxt.Pb=function(){return zX(this)},Sxt.Tb=function(){return UF(this.b,this.c.Tb())},Sxt.Ub=function(){if(!this.c.Ob())throw Jb(new vv);return this.a=!0,this.c.Pb()},Sxt.Vb=function(){return UF(this.b,this.c.Tb())-1},Sxt.Qb=function(){c2(this.a),this.c.Qb(),this.a=!1},Sxt.Wb=function(t){KA(this.a),this.c.Wb(t)},Sxt.a=!1;tz(Gxt,"Lists/ReverseList/1",1001);Zlt(923,525,qxt,iy),Sxt.Qd=function(t){return RR(t,43).ad()};tz(Gxt,"Maps/1",923);Zlt(675,525,qxt,ay),Sxt.Qd=function(t){return RR(t,43).bd()};tz(Gxt,"Maps/2",675);Zlt(924,525,qxt,VE),Sxt.Qd=function(t){return new __(t,mT(this.a,t))};tz(Gxt,"Maps/3",924);Zlt(920,1940,Jxt,Qh),Sxt.Hc=function(t){!function(t,e){t.kd().Nb(e)}(this.a,t)},Sxt.Ic=function(){return this.a.kd()},Sxt.Pc=function(){return this.a},Sxt.Lc=function(){return this.a.ld()};tz(Gxt,"Maps/IteratorBasedAbstractMap/1",920);Zlt(921,1,{},Jh),Sxt.Od=function(t,e){this.a.td(t)};tz(Gxt,"Maps/KeySet/lambda$0$Type",921);Zlt(919,28,Zxt,E_),Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return this.a.sc(t)},Sxt.Hc=function(t){wB(t),this.a.uc(new tf(t))},Sxt.dc=function(){return this.a.dc()},Sxt.Ic=function(){return new ay(this.a.tc().Ic())},Sxt.Kc=function(t){var e,n;try{return u7(this,t,!0)}catch(r){if(zA(r=m3(r),41)){for(n=this.a.tc().Ic();n.Ob();)if(Cz(t,(e=RR(n.Pb(),43)).bd()))return this.a.zc(e.ad()),!0;return!1}throw Jb(r)}},Sxt.gc=function(){return this.a.gc()};tz(Gxt,"Maps/Values",919);Zlt(922,1,{},tf),Sxt.Od=function(t,e){this.a.td(e)};tz(Gxt,"Maps/Values/lambda$0$Type",922);Zlt(721,1959,Kxt,ok),Sxt.vc=function(t){return this.a._b(t)?this.a.cc(t):null},Sxt.zc=function(t){return this.a._b(t)?this.a.fc(t):null},Sxt.$b=function(){this.a.$b()},Sxt._b=function(t){return this.a._b(t)},Sxt.Cc=function(){return new nf(this)},Sxt.Bc=function(){return this.Cc()},Sxt.dc=function(){return this.a.dc()},Sxt.ec=function(){return this.a.ec()},Sxt.gc=function(){return this.a.ec().gc()};tz(Gxt,"Multimaps/AsMap",721);Zlt(1083,1940,Jxt,nf),Sxt.Ic=function(){return t=this.a.a.ec(),e=new Zh(this),new VE(t.Ic(),e);var t,e},Sxt.Pc=function(){return this.a},Sxt.Kc=function(t){var e;return!!C7(this,t)&&(e=RR(t,43),function(t,e){t.a.ec().Kc(e)}(this.a,e.ad()),!0)};tz(Gxt,"Multimaps/AsMap/EntrySet",1083);Zlt(1084,1,{},Zh),Sxt.Kb=function(t){return mT(this,t)},Sxt.Fb=function(t){return this===t};tz(Gxt,"Multimaps/AsMap/EntrySet/1",1084);Zlt(1977,1,Nxt);tz(Gxt,"RangeGwtSerializationDependencies",1977);Zlt(507,1977,{169:1,507:1,3:1,45:1},Jet),Sxt.Lb=function(t){return lF(this,RR(t,36))},Sxt.Mb=function(t){return lF(this,RR(t,36))},Sxt.Fb=function(t){var e;return!!zA(t,507)&&(e=RR(t,507),z7(this.a,e.a)&&z7(this.b,e.b))},Sxt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},Sxt.Ib=function(){return uX(this.a,this.b)};tz(Gxt,"Range",507);Zlt(761,1968,y_t,iB),Sxt.Xc=function(t){return zP(this.b,t)},Sxt.Pd=function(){return this.a},Sxt.Xb=function(t){return BC(this.b,t)},Sxt.Fd=function(t){return zP(this.b,t)};tz(Gxt,"RegularImmutableAsList",761);Zlt(636,1975,y_t,pH),Sxt.Hd=function(){return this.a};tz(Gxt,"RegularImmutableList",636);Zlt(606,704,x_t,oy);var Rjt;tz(Gxt,"RegularImmutableMap",606);Zlt(700,690,S_t,ck);tz(Gxt,"RegularImmutableSet",700);Zlt(1946,Qxt,Jxt),Sxt.Ic=function(){return new C$(this.a,this.b)},Sxt.Dc=function(t){throw Jb(new _v)},Sxt.Ec=function(t){throw Jb(new _v)},Sxt.$b=function(){throw Jb(new _v)},Sxt.Kc=function(t){throw Jb(new _v)};tz(Gxt,"Sets/SetView",1946);Zlt(927,1946,Jxt,N_),Sxt.Ic=function(){return new C$(this.a,this.b)},Sxt.Fc=function(t){return Nj(this.a,t)&&this.b.Fc(t)},Sxt.Gc=function(t){return N3(this.a,t)&&this.b.Gc(t)},Sxt.dc=function(){return Pet(this.b,this.a)},Sxt.Jc=function(){return _$(new lj(null,new ZW(this.a,1)),new af(this.b))},Sxt.gc=function(){return o3(this)},Sxt.Mc=function(){return _$(new lj(null,new ZW(this.a,1)),new rf(this.b))};tz(Gxt,"Sets/2",927);Zlt(680,679,Wxt,C$),Sxt.Yb=function(){for(var t;MA(this.a);)if(t=mX(this.a),this.c.Fc(t))return t;return this.e=2,null};tz(Gxt,"Sets/2/1",680);Zlt(928,1,N_t,rf),Sxt.Mb=function(t){return this.a.Fc(t)};tz(Gxt,"Sets/2/4methodref$contains$Type",928);Zlt(929,1,N_t,af),Sxt.Mb=function(t){return this.a.Fc(t)};tz(Gxt,"Sets/2/5methodref$contains$Type",929);Zlt(594,1945,{594:1,3:1,19:1,15:1,270:1,21:1,81:1},gH),Sxt.Bd=function(){return this.b},Sxt.Cd=function(){return this.b},Sxt.Md=function(){return this.b},Sxt.Hc=function(t){this.a.Hc(t)},Sxt.Jc=function(){return this.a.Jc()},Sxt.Mc=function(){return this.a.Mc()};tz(Gxt,"Sets/UnmodifiableNavigableSet",594);Zlt(1904,1903,x_t,Kz),Sxt.Ld=function(){return CL(),new aw(this.a)},Sxt.Ac=function(){return CL(),new aw(this.a)},Sxt.pd=function(){return CL(),new aw(this.a)};tz(Gxt,"SingletonImmutableBiMap",1904);Zlt(637,1975,y_t,HN),Sxt.Hd=function(){return this.a};tz(Gxt,"SingletonImmutableList",637);Zlt(343,1953,S_t,aw),Sxt.Ic=function(){return new ff(this.a)},Sxt.Fc=function(t){return u8(this.a,t)},Sxt.Ed=function(){return new ff(this.a)},Sxt.gc=function(){return 1};tz(Gxt,"SingletonImmutableSet",343);Zlt(1088,1,{},v),Sxt.Kb=function(t){return RR(t,163)};tz(Gxt,"Streams/lambda$0$Type",1088);Zlt(1089,1,j_t,of),Sxt.Vd=function(){!function(t){var e,n,r;for(n=0,r=(e=t).length;n<r;++n)Rz(e[n])}(this.a)};tz(Gxt,"Streams/lambda$1$Type",1089);Zlt(1629,1628,Xxt,HV),Sxt.Zb=function(){return RR(RR(this.f||(this.f=zA(this.c,171)?new OD(this,RR(this.c,171)):zA(this.c,161)?new DD(this,RR(this.c,161)):new u_(this,this.c)),161),171)},Sxt.hc=function(){return new qx(this.b)},Sxt.ed=function(){return new qx(this.b)},Sxt.ec=function(){return RR(RR(this.i||(this.i=zA(this.c,171)?new o_(this,RR(this.c,171)):zA(this.c,161)?new a_(this,RR(this.c,161)):new IE(this,this.c)),81),270)},Sxt.ac=function(){return zA(this.c,171)?new OD(this,RR(this.c,171)):zA(this.c,161)?new DD(this,RR(this.c,161)):new u_(this,this.c)},Sxt.ic=function(t){return null==t&&this.a.ue(t,t),new qx(this.b)};tz(Gxt,"TreeMultimap",1629);Zlt(78,1,{3:1,78:1}),Sxt.Wd=function(t){return new Error(t)},Sxt.Xd=function(){return this.e},Sxt.Yd=function(){return t=S$(mB((null==this.k&&(this.k=hK(Njt,u_t,78,0,0,1)),this.k)),new A),new J,(e=RR(NX(t,IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14)).Oc(XR(e.gc()));var t,e},Sxt.Zd=function(){return this.f},Sxt.$d=function(){return this.g},Sxt._d=function(){var t,e;t=this,e=function(t){if(!("stack"in t))try{throw t}catch(t){}return t}(this.Wd(QV(this,this.g))),t.e=e,kdt(t,e),ov(this)},Sxt.Ib=function(){return QV(this,this.$d())},Sxt.e=z_t,Sxt.i=!1,Sxt.n=!0;var Njt=tz(Rxt,"Throwable",78);Zlt(102,78,{3:1,102:1,78:1});tz(Rxt,"Exception",102);Zlt(59,102,$_t,dv,sy);tz(Rxt,"RuntimeException",59);Zlt(589,59,$_t);tz(Rxt,"JsException",589);Zlt(842,589,$_t);var jjt;tz(V_t,"JavaScriptExceptionBase",842);Zlt(471,842,{471:1,3:1,102:1,59:1,78:1},h6),Sxt.$d=function(){var t,e;return null==(t=this).c&&(e=DC(t.b)===DC(jjt)?null:t.b,t.d=null==e?Hxt:hF(e)?function(t){return null==t?null:t.name}(Y$(e)):RC(e)?H_t:Fx(g5(e)),t.a=t.a+": "+(hF(e)?function(t){return null==t?null:t.message}(Y$(e)):e+""),t.c="("+t.d+") "+t.a),this.c},Sxt.ae=function(){return DC(this.b)===DC(jjt)?null:this.b};tz(W_t,"JavaScriptException",471);var Fjt,Bjt=tz(W_t,"JavaScriptObject$",0);Zlt(1920,1,{});tz(W_t,"Scheduler",1920);var zjt,$jt=0,Vjt=0,Hjt=-1;Zlt(869,1920,{},f);var Wjt;tz(V_t,"SchedulerImpl",869);Zlt(1932,1,{});tz(V_t,"StackTraceCreator/Collector",1932);Zlt(843,1932,{},d),Sxt.be=function(t){var e={},n=[];t[U_t]=n;for(var r=arguments.callee.caller;r;){var i=(EV(),r.name||(r.name=c1(r.toString())));n.push(i);var a,o,s=":"+i,u=e[s];if(u)for(a=0,o=u.length;a<o;a++)if(u[a]===r)return;(u||(e[s]=[])).push(r),r=r.caller}},Sxt.ce=function(t){var e,n,r,i;for(EV(),n=(r=t&&t[U_t]?t[U_t]:[]).length,i=hK(IFt,u_t,308,n,0,1),e=0;e<n;e++)i[e]=new T$(r[e],null,-1);return i};tz(V_t,"StackTraceCreator/CollectorLegacy",843);Zlt(1933,1932,{}),Sxt.be=function(t){},Sxt.de=function(t,e,n,r){return new T$(e,t+"@"+r,n<0?-1:n)},Sxt.ce=function(t){var e,n,r,i,a,o;if(i=function(t){EV();var e=t.e;if(e&&e.stack){var n=e.stack,r=e+"\n";return n.substring(0,r.length)==r&&(n=n.substring(r.length)),n.split("\n")}return[]}(t),a=hK(IFt,u_t,308,0,0,1),e=0,0==(r=i.length))return a;for(hL((o=Hmt(this,i[0])).d,G_t)||(a[e++]=o),n=1;n<r;n++)a[e++]=Hmt(this,i[n]);return a};tz(V_t,"StackTraceCreator/CollectorModern",1933);Zlt(844,1933,{},h),Sxt.de=function(t,e,n,r){return new T$(e,t,-1)};tz(V_t,"StackTraceCreator/CollectorModernNoSourceMap",844);Zlt(1034,1,{});var Gjt;tz(mSt,ySt,1034);Zlt(605,1034,{605:1},mz);tz(wSt,ySt,605);Zlt(1970,1,{});tz(mSt,xSt,1970);Zlt(1971,1970,{});var Ujt;tz(wSt,xSt,1971);Zlt(1070,1,{},m);tz(wSt,"LocaleInfo",1070);Zlt(1890,1,{},y),Sxt.a=0;tz(wSt,"TimeZone",1890);Zlt(1232,1971,{},w);tz("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1232);Zlt(427,1,{427:1},TR),Sxt.a=!1,Sxt.b=0;tz(mSt,"DateTimeFormat/PatternPart",427);Zlt(198,1,_St,ak,T4,lO),Sxt.wd=function(t){return function(t,e){return bF(C2(t.q.getTime()),C2(e.q.getTime()))}(this,RR(t,198))},Sxt.Fb=function(t){return zA(t,198)&&B_(C2(this.q.getTime()),C2(RR(t,198).q.getTime()))},Sxt.Hb=function(){var t;return QN(GH(t=C2(this.q.getTime()),_N(t,32)))},Sxt.Ib=function(){var t,e,n;return t=((n=-this.q.getTimezoneOffset())>=0?"+":"")+(n/60|0),e=xT(r.Math.abs(n)%60),(jot(),nBt)[this.q.getDay()]+" "+rBt[this.q.getMonth()]+" "+xT(this.q.getDate())+" "+xT(this.q.getHours())+":"+xT(this.q.getMinutes())+":"+xT(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()};var Xjt=tz(Yxt,"Date",198);Zlt(1887,198,_St,Eit),Sxt.a=!1,Sxt.b=0,Sxt.c=0,Sxt.d=0,Sxt.e=0,Sxt.f=0,Sxt.g=!1,Sxt.i=0,Sxt.j=0,Sxt.k=0,Sxt.n=0,Sxt.o=0,Sxt.p=0;tz("com.google.gwt.i18n.shared.impl","DateRecord",1887);Zlt(1938,1,{}),Sxt.fe=function(){return null},Sxt.ge=function(){return null},Sxt.he=function(){return null},Sxt.ie=function(){return null},Sxt.je=function(){return null};tz(SSt,"JSONValue",1938);Zlt(214,1938,{214:1},df,sf),Sxt.Fb=function(t){return!!zA(t,214)&&dG(this.a,RR(t,214).a)},Sxt.ee=function(){return qb},Sxt.Hb=function(){return jV(this.a)},Sxt.fe=function(){return this},Sxt.Ib=function(){var t,e,n;for(n=new YE("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),GC(n,cQ(this,e));return n.a+="]",n.a};var qjt,Yjt;tz(SSt,"JSONArray",214);Zlt(477,1938,{477:1},uf),Sxt.ee=function(){return Yb},Sxt.ge=function(){return this},Sxt.Ib=function(){return _P(),""+this.a},Sxt.a=!1;tz(SSt,"JSONBoolean",477);Zlt(965,59,$_t,uy);var Kjt;tz(SSt,"JSONException",965);Zlt(1011,1938,{},x),Sxt.ee=function(){return tv},Sxt.Ib=function(){return Hxt};tz(SSt,"JSONNull",1011);Zlt(257,1938,{257:1},cf),Sxt.Fb=function(t){return!!zA(t,257)&&this.a==RR(t,257).a},Sxt.ee=function(){return Kb},Sxt.Hb=function(){return wT(this.a)},Sxt.he=function(){return this},Sxt.Ib=function(){return this.a+""},Sxt.a=0;tz(SSt,"JSONNumber",257);Zlt(185,1938,{185:1},cy,lf),Sxt.Fb=function(t){return!!zA(t,185)&&dG(this.a,RR(t,185).a)},Sxt.ee=function(){return Zb},Sxt.Hb=function(){return jV(this.a)},Sxt.ie=function(){return this},Sxt.Ib=function(){var t,e,n,r,i,a;for(a=new YE("{"),t=!0,r=0,i=(n=u0(this,hK(MFt,u_t,2,0,6,1))).length;r<i;++r)e=n[r],t?t=!1:a.a+=Fxt,UC(a,glt(e)),a.a+=":",GC(a,xH(this,e));return a.a+="}",a.a};tz(SSt,"JSONObject",185);Zlt(587,Qxt,Jxt,j_),Sxt.Fc=function(t){return RC(t)&&function(t,e){return e in t.a}(this.a,HD(t))},Sxt.Ic=function(){return new Nf(new $y(this.b))},Sxt.gc=function(){return this.b.length};var Zjt;tz(SSt,"JSONObject/1",587);Zlt(202,1938,{202:1},xB),Sxt.Fb=function(t){return!!zA(t,202)&&hL(this.a,RR(t,202).a)},Sxt.ee=function(){return Qb},Sxt.Hb=function(){return snt(this.a)},Sxt.je=function(){return this},Sxt.Ib=function(){return glt(this.a)};var Qjt,Jjt,tFt,eFt,nFt;tz(SSt,"JSONString",202);Zlt(1934,1,{518:1});tz(PSt,"OutputStream",1934);Zlt(1935,1934,{518:1});tz(PSt,"FilterOutputStream",1935);Zlt(845,1935,{518:1},k);tz(PSt,"PrintStream",845);Zlt(412,1,{469:1}),Sxt.Ib=function(){return this.a};tz(Rxt,"AbstractStringBuilder",412);Zlt(522,59,$_t,Iy);tz(Rxt,"ArithmeticException",522);Zlt(73,59,DSt,gv,My);tz(Rxt,"IndexOutOfBoundsException",73);Zlt(318,73,{3:1,318:1,102:1,73:1,59:1,78:1},rm,cw);tz(Rxt,"ArrayIndexOutOfBoundsException",318);Zlt(521,59,$_t,bv,Cy);tz(Rxt,"ArrayStoreException",521);Zlt(288,78,OSt,Ty);tz(Rxt,"Error",288);Zlt(193,288,OSt,pv,Aq);var rFt,iFt;tz(Rxt,"AssertionError",193);Mxt={3:1,470:1,36:1};var aFt,oFt=tz(Rxt,"Boolean",470);Zlt(236,1,{3:1,236:1});tz(Rxt,"Number",236);Zlt(215,236,{3:1,215:1,36:1,236:1},zf),Sxt.wd=function(t){return function(t,e){return t.a-e.a}(this,RR(t,215))},Sxt.ke=function(){return this.a},Sxt.Fb=function(t){return zA(t,215)&&RR(t,215).a==this.a},Sxt.Hb=function(){return this.a},Sxt.Ib=function(){return""+this.a},Sxt.a=0;var sFt,uFt,cFt=tz(Rxt,"Byte",215);Zlt(172,1,{3:1,172:1,36:1},$f),Sxt.wd=function(t){return function(t,e){return t.a-e.a}(this,RR(t,172))},Sxt.Fb=function(t){return zA(t,172)&&RR(t,172).a==this.a},Sxt.Hb=function(){return this.a},Sxt.Ib=function(){return String.fromCharCode(this.a)},Sxt.a=0;var lFt,hFt=tz(Rxt,"Character",172);Zlt(203,59,{3:1,203:1,102:1,59:1,78:1},mv,Ry);tz(Rxt,"ClassCastException",203);Cxt={3:1,36:1,331:1,236:1};var fFt=tz(Rxt,"Double",331);Zlt(155,236,{3:1,36:1,155:1,236:1},Vf,tm),Sxt.wd=function(t){return function(t,e){return j8(t.a,e.a)}(this,RR(t,155))},Sxt.ke=function(){return this.a},Sxt.Fb=function(t){return zA(t,155)&&lL(this.a,RR(t,155).a)},Sxt.Hb=function(){return CH(this.a)},Sxt.Ib=function(){return""+this.a},Sxt.a=0;var dFt=tz(Rxt,"Float",155);Zlt(31,59,{3:1,102:1,31:1,59:1,78:1},yv,Ny,c6);tz(Rxt,"IllegalArgumentException",31);Zlt(72,59,$_t,wv,jy);tz(Rxt,"IllegalStateException",72);Zlt(20,236,{3:1,36:1,20:1,236:1},qf),Sxt.wd=function(t){return function(t,e){return TA(t.a,e.a)}(this,RR(t,20))},Sxt.ke=function(){return this.a},Sxt.Fb=function(t){return zA(t,20)&&RR(t,20).a==this.a},Sxt.Hb=function(){return this.a},Sxt.Ib=function(){return""+this.a},Sxt.a=0;var pFt,gFt,bFt=tz(Rxt,"Integer",20);Zlt(162,236,{3:1,36:1,162:1,236:1},Yf),Sxt.wd=function(t){return function(t,e){return bF(t.a,e.a)}(this,RR(t,162))},Sxt.ke=function(){return WG(this.a)},Sxt.Fb=function(t){return zA(t,162)&&B_(RR(t,162).a,this.a)},Sxt.Hb=function(){return QN(this.a)},Sxt.Ib=function(){return""+Ej(this.a)},Sxt.a=0;var vFt,mFt=tz(Rxt,"Long",162);Zlt(2008,1,{}),Zlt(1803,59,$_t,Fy);tz(Rxt,"NegativeArraySizeException",1803);Zlt(173,589,{3:1,102:1,173:1,59:1,78:1},xv,By),Sxt.Wd=function(t){return new TypeError(t)};var yFt,wFt,xFt,_Ft;tz(Rxt,"NullPointerException",173);Zlt(127,31,{3:1,102:1,31:1,127:1,59:1,78:1},hw);tz(Rxt,"NumberFormatException",127);Zlt(186,236,{3:1,36:1,236:1,186:1},Kf),Sxt.wd=function(t){return function(t,e){return t.a-e.a}(this,RR(t,186))},Sxt.ke=function(){return this.a},Sxt.Fb=function(t){return zA(t,186)&&RR(t,186).a==this.a},Sxt.Hb=function(){return this.a},Sxt.Ib=function(){return""+this.a},Sxt.a=0;var SFt,kFt=tz(Rxt,"Short",186);Zlt(308,1,{3:1,308:1},T$),Sxt.Fb=function(t){var e;return!!zA(t,308)&&(e=RR(t,308),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},Sxt.Hb=function(){return J5(X3(uw(gjt,1),zxt,1,5,[k8(this.c),this.a,this.d,this.b]))},Sxt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},Sxt.c=0;var IFt=tz(Rxt,"StackTraceElement",308);Txt={3:1,469:1,36:1,2:1};var MFt=tz(Rxt,H_t,2);Zlt(106,412,{469:1},fw,dw,qE);tz(Rxt,"StringBuffer",106);Zlt(98,412,{469:1},pw,gw,YE);tz(Rxt,"StringBuilder",98);Zlt(674,73,DSt,lw);var CFt;tz(Rxt,"StringIndexOutOfBoundsException",674);Zlt(2012,1,{}),Zlt(823,1,{},A),Sxt.Kb=function(t){return RR(t,78).e};tz(Rxt,"Throwable/lambda$0$Type",823);Zlt(41,59,{3:1,102:1,59:1,78:1,41:1},_v,zy);var TFt,AFt,EFt,PFt,DFt,OFt,LFt,RFt;tz(Rxt,"UnsupportedOperationException",41);Zlt(239,236,{3:1,36:1,236:1,239:1},bQ,e_),Sxt.wd=function(t){return ybt(this,RR(t,239))},Sxt.ke=function(){return gst(Cmt(this))},Sxt.Fb=function(t){var e;return this===t||!!zA(t,239)&&(e=RR(t,239),this.e==e.e&&0==ybt(this,e))},Sxt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=C2(this.f),this.b=QN(SH(t,-1)),this.b=33*this.b+QN(SH(wN(t,32),-1)),this.b=17*this.b+CH(this.e),this.b):(this.b=17*_6(this.c)+CH(this.e),this.b)},Sxt.Ib=function(){return Cmt(this)},Sxt.a=0,Sxt.b=0,Sxt.d=0,Sxt.e=0,Sxt.f=0;var NFt,jFt,FFt,BFt,zFt,$Ft,VFt=tz("java.math","BigDecimal",239);Zlt(90,236,{3:1,36:1,236:1,90:1},zet,xY,nB,aat,Ftt,tA),Sxt.wd=function(t){return ftt(this,RR(t,90))},Sxt.ke=function(){return gst(ext(this,0))},Sxt.Fb=function(t){return t7(this,t)},Sxt.Hb=function(){return _6(this)},Sxt.Ib=function(){return ext(this,0)},Sxt.b=-2,Sxt.c=0,Sxt.d=0,Sxt.e=0;var HFt,WFt,GFt,UFt,XFt=tz("java.math","BigInteger",90);Zlt(480,1949,Kxt),Sxt.$b=function(){JF(this)},Sxt._b=function(t){return KF(this,t)},Sxt.sc=function(t){return O5(this,t,this.g)||O5(this,t,this.f)},Sxt.tc=function(){return new jf(this)},Sxt.vc=function(t){return oz(this,t)},Sxt.xc=function(t,e){return t$(this,t,e)},Sxt.zc=function(t){return sY(this,t)},Sxt.gc=function(){return Y_(this)};tz(Yxt,"AbstractHashMap",480);Zlt(260,Qxt,Jxt,jf),Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return oU(this,t)},Sxt.Ic=function(){return new b5(this.a)},Sxt.Kc=function(t){var e;return!!oU(this,t)&&(e=RR(t,43).ad(),this.a.zc(e),!0)},Sxt.gc=function(){return this.a.gc()};tz(Yxt,"AbstractHashMap/EntrySet",260);Zlt(261,1,qxt,b5),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return kJ(this)},Sxt.Ob=function(){return this.b},Sxt.Qb=function(){DK(this)},Sxt.b=!1;tz(Yxt,"AbstractHashMap/EntrySetIterator",261);Zlt(411,1,qxt,Nf),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return pk(this)},Sxt.Pb=function(){return lV(this)},Sxt.Qb=function(){n$(this)},Sxt.b=0,Sxt.c=-1;tz(Yxt,"AbstractList/IteratorImpl",411);Zlt(99,411,r_t,tU),Sxt.Qb=function(){n$(this)},Sxt.Rb=function(t){yO(this,t)},Sxt.Sb=function(){return this.b>0},Sxt.Tb=function(){return this.b},Sxt.Ub=function(){return MP(this.b>0),this.a.Xb(this.c=--this.b)},Sxt.Vb=function(){return this.b-1},Sxt.Wb=function(t){IP(-1!=this.c),this.a.Zc(this.c,t)};tz(Yxt,"AbstractList/ListIteratorImpl",99);Zlt(217,51,D_t,KW),Sxt.Tc=function(t,e){WH(t,this.b),this.c.Tc(this.a+t,e),++this.b},Sxt.Xb=function(t){return TW(t,this.b),this.c.Xb(this.a+t)},Sxt.Yc=function(t){var e;return TW(t,this.b),e=this.c.Yc(this.a+t),--this.b,e},Sxt.Zc=function(t,e){return TW(t,this.b),this.c.Zc(this.a+t,e)},Sxt.gc=function(){return this.b},Sxt.a=0,Sxt.b=0;tz(Yxt,"AbstractList/SubList",217);Zlt(380,Qxt,Jxt,Ff),Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return this.a._b(t)},Sxt.Ic=function(){return new Wf(this.a.tc().Ic())},Sxt.Kc=function(t){return!!this.a._b(t)&&(this.a.zc(t),!0)},Sxt.gc=function(){return this.a.gc()};tz(Yxt,"AbstractMap/1",380);Zlt(678,1,qxt,Wf),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.a.Ob()},Sxt.Pb=function(){return RR(this.a.Pb(),43).ad()},Sxt.Qb=function(){this.a.Qb()};tz(Yxt,"AbstractMap/1/1",678);Zlt(224,28,Zxt,Gf),Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return this.a.sc(t)},Sxt.Ic=function(){return new Uf(this.a.tc().Ic())},Sxt.gc=function(){return this.a.gc()};tz(Yxt,"AbstractMap/2",224);Zlt(294,1,qxt,Uf),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.a.Ob()},Sxt.Pb=function(){return RR(this.a.Pb(),43).bd()},Sxt.Qb=function(){this.a.Qb()};tz(Yxt,"AbstractMap/2/1",294);Zlt(479,1,{479:1,43:1}),Sxt.Fb=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),l$(this.d,e.ad())&&l$(this.e,e.bd()))},Sxt.ad=function(){return this.d},Sxt.bd=function(){return this.e},Sxt.Hb=function(){return eA(this.d)^eA(this.e)},Sxt.cd=function(t){return vO(this,t)},Sxt.Ib=function(){return this.d+"="+this.e};tz(Yxt,"AbstractMap/AbstractEntry",479);Zlt(379,479,{479:1,379:1,43:1},sk);tz(Yxt,"AbstractMap/SimpleEntry",379);Zlt(1954,1,XSt),Sxt.Fb=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),l$(this.ad(),e.ad())&&l$(this.bd(),e.bd()))},Sxt.Hb=function(){return eA(this.ad())^eA(this.bd())},Sxt.Ib=function(){return this.ad()+"="+this.bd()};tz(Yxt,a_t,1954);Zlt(1961,1949,t_t),Sxt.rc=function(t){return Rq(this,t)},Sxt._b=function(t){return TL(this,t)},Sxt.tc=function(){return new td(this)},Sxt.vc=function(t){return PC(s5(this,t))},Sxt.ec=function(){return new Xf(this)};tz(Yxt,"AbstractNavigableMap",1961);Zlt(722,Qxt,Jxt,td),Sxt.Fc=function(t){return zA(t,43)&&Rq(this.b,RR(t,43))},Sxt.Ic=function(){return new _O(this.b)},Sxt.Kc=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),dK(this.b,e))},Sxt.gc=function(){return this.b.c};tz(Yxt,"AbstractNavigableMap/EntrySet",722);Zlt(485,Qxt,n_t,Xf),Sxt.Lc=function(){return new yk(this)},Sxt.$b=function(){ky(this.a)},Sxt.Fc=function(t){return TL(this.a,t)},Sxt.Ic=function(){return new Hf(new _O(new cP(this.a).b))},Sxt.Kc=function(t){return!!TL(this.a,t)&&(AH(this.a,t),!0)},Sxt.gc=function(){return this.a.c};tz(Yxt,"AbstractNavigableMap/NavigableKeySet",485);Zlt(486,1,qxt,Hf),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return pk(this.a.a)},Sxt.Pb=function(){return QP(this.a).ad()},Sxt.Qb=function(){FL(this.a)};tz(Yxt,"AbstractNavigableMap/NavigableKeySet/1",486);Zlt(1973,28,Zxt),Sxt.Dc=function(t){return LY(_ot(this,t)),!0},Sxt.Ec=function(t){return wz(t),zL(t!=this,"Can't add a queue to itself"),W0(this,t)},Sxt.$b=function(){for(;null!=fQ(this););};tz(Yxt,"AbstractQueue",1973);Zlt(319,28,{4:1,19:1,28:1,15:1},$b,sG),Sxt.Dc=function(t){return BU(this,t),!0},Sxt.$b=function(){yX(this)},Sxt.Fc=function(t){return B3(new i$(this),t)},Sxt.dc=function(){return Hy(this)},Sxt.Ic=function(){return new i$(this)},Sxt.Kc=function(t){return function(t,e){return!!B3(t,e)&&(w1(t),!0)}(new i$(this),t)},Sxt.gc=function(){return this.c-this.b&this.a.length-1},Sxt.Lc=function(){return new ZW(this,272)},Sxt.Oc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=yw(new Array(e),t)),c0(this,t,e),t.length>e&&nz(t,e,null),t},Sxt.b=0,Sxt.c=0;tz(Yxt,"ArrayDeque",319);Zlt(440,1,qxt,i$),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.a!=this.b},Sxt.Pb=function(){return A6(this)},Sxt.Qb=function(){w1(this)},Sxt.a=0,Sxt.b=0,Sxt.c=-1;tz(Yxt,"ArrayDeque/IteratorImpl",440);Zlt(12,51,qSt,Vb,RY,jL),Sxt.Tc=function(t,e){Tj(this,t,e)},Sxt.Dc=function(t){return LR(this,t)},Sxt.Uc=function(t,e){return K5(this,t,e)},Sxt.Ec=function(t){return R3(this,t)},Sxt.$b=function(){this.c=hK(gjt,zxt,1,0,5,1)},Sxt.Fc=function(t){return-1!=mZ(this,t,0)},Sxt.Hc=function(t){cJ(this,t)},Sxt.Xb=function(t){return JN(this,t)},Sxt.Vc=function(t){return mZ(this,t,0)},Sxt.dc=function(){return 0==this.c.length},Sxt.Ic=function(){return new ed(this)},Sxt.Yc=function(t){return tY(this,t)},Sxt.Kc=function(t){return yZ(this,t)},Sxt.Ud=function(t,e){YW(this,t,e)},Sxt.Zc=function(t,e){return bq(this,t,e)},Sxt.gc=function(){return this.c.length},Sxt.$c=function(t){kA(this,t)},Sxt.Nc=function(){return tD(this)},Sxt.Oc=function(t){return eet(this,t)};var qFt=tz(Yxt,"ArrayList",12);Zlt(7,1,qxt,ed),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return IA(this)},Sxt.Pb=function(){return xG(this)},Sxt.Qb=function(){tB(this)},Sxt.a=0,Sxt.b=-1;tz(Yxt,"ArrayList/1",7);Zlt(1982,r.Function,{},E),Sxt.te=function(t,e){return j8(t,e)},Zlt(154,51,YSt,$y),Sxt.Fc=function(t){return-1!=j1(this,t)},Sxt.Hc=function(t){var e,n,r,i;for(wz(t),r=0,i=(n=this.a).length;r<i;++r)e=n[r],t.td(e)},Sxt.Xb=function(t){return tj(this,t)},Sxt.Zc=function(t,e){var n;return TW(t,this.a.length),n=this.a[t],nz(this.a,t,e),n},Sxt.gc=function(){return this.a.length},Sxt.$c=function(t){Cj(this.a,this.a.length,t)},Sxt.Nc=function(){return net(this,hK(gjt,zxt,1,this.a.length,5,1))},Sxt.Oc=function(t){return net(this,t)};var YFt,KFt,ZFt;tz(Yxt,"Arrays/ArrayList",154);Zlt(948,51,YSt,P),Sxt.Fc=function(t){return!1},Sxt.Xb=function(t){return qC(t)},Sxt.Ic=function(){return mV(),J_(),QFt},Sxt.Wc=function(){return mV(),J_(),QFt},Sxt.gc=function(){return 0};var QFt;tz(Yxt,"Collections/EmptyList",948);Zlt(949,1,r_t,D),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){throw Jb(new _v)},Sxt.Ob=function(){return!1},Sxt.Sb=function(){return!1},Sxt.Pb=function(){throw Jb(new vv)},Sxt.Tb=function(){return 0},Sxt.Ub=function(){throw Jb(new vv)},Sxt.Vb=function(){return-1},Sxt.Qb=function(){throw Jb(new wv)},Sxt.Wb=function(t){throw Jb(new wv)};tz(Yxt,"Collections/EmptyListIterator",949);Zlt(951,1949,x_t,O),Sxt._b=function(t){return!1},Sxt.sc=function(t){return!1},Sxt.tc=function(){return mV(),ZFt},Sxt.vc=function(t){return null},Sxt.ec=function(){return mV(),ZFt},Sxt.gc=function(){return 0},Sxt.Ac=function(){return mV(),YFt};tz(Yxt,"Collections/EmptyMap",951);Zlt(950,Qxt,S_t,L),Sxt.Fc=function(t){return!1},Sxt.Ic=function(){return mV(),J_(),QFt},Sxt.gc=function(){return 0};tz(Yxt,"Collections/EmptySet",950);Zlt(596,51,{3:1,19:1,28:1,51:1,15:1,14:1},Zf),Sxt.Fc=function(t){return l$(this.a,t)},Sxt.Xb=function(t){return TW(t,1),this.a},Sxt.gc=function(){return 1};tz(Yxt,"Collections/SingletonList",596);Zlt(369,1,v_t,Qf),Sxt.Hc=function(t){yq(this,t)},Sxt.Jc=function(){return new lj(null,this.Lc())},Sxt.Lc=function(){return new ZW(this,0)},Sxt.Mc=function(){return new lj(null,this.Lc())},Sxt.Dc=function(t){return jw()},Sxt.Ec=function(t){return Fw()},Sxt.$b=function(){Bw()},Sxt.Fc=function(t){return V_(this,t)},Sxt.Gc=function(t){return H_(this,t)},Sxt.dc=function(){return this.b.dc()},Sxt.Ic=function(){return new Jf(this.b.Ic())},Sxt.Kc=function(t){return zw()},Sxt.gc=function(){return this.b.gc()},Sxt.Nc=function(){return this.b.Nc()},Sxt.Oc=function(t){return W_(this,t)},Sxt.Ib=function(){return P9(this.b)};tz(Yxt,"Collections/UnmodifiableCollection",369);Zlt(368,1,qxt,Jf),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.b.Ob()},Sxt.Pb=function(){return this.b.Pb()},Sxt.Qb=function(){$w()};tz(Yxt,"Collections/UnmodifiableCollectionIterator",368);Zlt(526,369,KSt,QE),Sxt.Lc=function(){return new ZW(this,16)},Sxt.Tc=function(t,e){throw Jb(new _v)},Sxt.Uc=function(t,e){throw Jb(new _v)},Sxt.Fb=function(t){return u8(this.a,t)},Sxt.Xb=function(t){return this.a.Xb(t)},Sxt.Hb=function(){return p5(this.a)},Sxt.Vc=function(t){return this.a.Vc(t)},Sxt.dc=function(){return this.a.dc()},Sxt.Wc=function(){return new JE(this.a.Xc(0))},Sxt.Xc=function(t){return new JE(this.a.Xc(t))},Sxt.Yc=function(t){throw Jb(new _v)},Sxt.Zc=function(t,e){throw Jb(new _v)},Sxt.$c=function(t){throw Jb(new _v)},Sxt._c=function(t,e){return new QE(this.a._c(t,e))};tz(Yxt,"Collections/UnmodifiableList",526);Zlt(686,368,r_t,JE),Sxt.Qb=function(){$w()},Sxt.Rb=function(t){throw Jb(new _v)},Sxt.Sb=function(){return this.a.Sb()},Sxt.Tb=function(){return this.a.Tb()},Sxt.Ub=function(){return this.a.Ub()},Sxt.Vb=function(){return this.a.Vb()},Sxt.Wb=function(t){throw Jb(new _v)};tz(Yxt,"Collections/UnmodifiableListIterator",686);Zlt(597,1,Kxt,nd),Sxt.uc=function(t){S2(this,t)},Sxt.wc=function(t,e,n){return l9(this,t,e,n)},Sxt.$b=function(){throw Jb(new _v)},Sxt._b=function(t){return this.c._b(t)},Sxt.sc=function(t){return U_(this,t)},Sxt.tc=function(){return a$(this)},Sxt.Fb=function(t){return X_(this,t)},Sxt.vc=function(t){return this.c.vc(t)},Sxt.Hb=function(){return p5(this.c)},Sxt.dc=function(){return this.c.dc()},Sxt.ec=function(){return o$(this)},Sxt.xc=function(t,e){throw Jb(new _v)},Sxt.zc=function(t){throw Jb(new _v)},Sxt.gc=function(){return this.c.gc()},Sxt.Ib=function(){return P9(this.c)},Sxt.Ac=function(){return s$(this)};tz(Yxt,"Collections/UnmodifiableMap",597);Zlt(383,369,__t,bw),Sxt.Lc=function(){return new ZW(this,1)},Sxt.Fb=function(t){return u8(this.b,t)},Sxt.Hb=function(){return p5(this.b)};tz(Yxt,"Collections/UnmodifiableSet",383);Zlt(952,383,__t,vw),Sxt.Fc=function(t){return G_(this,t)},Sxt.Gc=function(t){return this.b.Gc(t)},Sxt.Ic=function(){return new rd(this.b.Ic())},Sxt.Nc=function(){var t;return PX(t=this.b.Nc(),t.length),t},Sxt.Oc=function(t){return JV(this,t)};tz(Yxt,"Collections/UnmodifiableMap/UnmodifiableEntrySet",952);Zlt(953,1,qxt,rd),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return new id(RR(this.a.Pb(),43))},Sxt.Ob=function(){return this.a.Ob()},Sxt.Qb=function(){throw Jb(new _v)};tz(Yxt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",953);Zlt(683,1,XSt,id),Sxt.Fb=function(t){return this.a.Fb(t)},Sxt.ad=function(){return this.a.ad()},Sxt.bd=function(){return this.a.bd()},Sxt.Hb=function(){return this.a.Hb()},Sxt.cd=function(t){throw Jb(new _v)},Sxt.Ib=function(){return P9(this.a)};tz(Yxt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",683);Zlt(684,526,{19:1,15:1,14:1,53:1},mw);tz(Yxt,"Collections/UnmodifiableRandomAccessList",684);Zlt(685,383,k_t,tP),Sxt.Lc=function(){return new yk(this)},Sxt.Fb=function(t){return u8(this.a,t)},Sxt.Hb=function(){return p5(this.a)};tz(Yxt,"Collections/UnmodifiableSortedSet",685);Zlt(826,1,ZSt,M),Sxt.ue=function(t,e){var n;return 0!=(n=vX(RR(t,11),RR(e,11)))?n:qbt(RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var JFt,tBt,eBt;tz(Yxt,"Comparator/lambda$0$Type",826);Zlt(734,1,ZSt,I),Sxt.ue=function(t,e){return function(t,e){return wz(t),v2(t,(wz(e),e))}(RR(t,36),RR(e,36))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return yV(),eBt};tz(Yxt,"Comparators/NaturalOrderComparator",734);Zlt(1150,1,ZSt,C),Sxt.ue=function(t,e){return function(t,e){return wz(e),v2(e,(wz(t),t))}(RR(t,36),RR(e,36))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return yV(),tBt};tz(Yxt,"Comparators/ReverseNaturalOrderComparator",1150);Zlt(64,1,ZSt,od),Sxt.Fb=function(t){return this===t},Sxt.ue=function(t,e){return this.a.ue(e,t)},Sxt.ve=function(){return this.a};tz(Yxt,"Comparators/ReversedComparator",64);Zlt(166,59,$_t,Sv);var nBt,rBt;tz(Yxt,"ConcurrentModificationException",166);Zlt(1876,1,QSt,T),Sxt.we=function(t){y7(this,t)},Sxt.Ib=function(){return"DoubleSummaryStatistics[count = "+Ej(this.a)+", avg = "+(Dx(this.a,0)?iY(this)/WG(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+iY(this)+"]"},Sxt.a=0,Sxt.b=NSt,Sxt.c=RSt,Sxt.d=0,Sxt.e=0,Sxt.f=0;tz(Yxt,"DoubleSummaryStatistics",1876);Zlt(1777,59,$_t,kv);tz(Yxt,"EmptyStackException",1777);Zlt(445,1949,Kxt,x9),Sxt.xc=function(t,e){return gO(this,t,e)},Sxt.$b=function(){Lz(this)},Sxt._b=function(t){return fk(this,t)},Sxt.sc=function(t){var e,n;for(n=new oS(this.a);n.a<n.c.a.length;)if(e=mX(n),l$(t,this.b[e.g]))return!0;return!1},Sxt.tc=function(){return new sd(this)},Sxt.vc=function(t){return h$(this,t)},Sxt.zc=function(t){return yW(this,t)},Sxt.gc=function(){return this.a.c};tz(Yxt,"EnumMap",445);Zlt(1323,Qxt,Jxt,sd),Sxt.$b=function(){Lz(this.a)},Sxt.Fc=function(t){return sU(this,t)},Sxt.Ic=function(){return new ZN(this.a)},Sxt.Kc=function(t){var e;return!!sU(this,t)&&(e=RR(t,43).ad(),yW(this.a,e),!0)},Sxt.gc=function(){return this.a.a.c};tz(Yxt,"EnumMap/EntrySet",1323);Zlt(1324,1,qxt,ZN),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return this.b=mX(this.a),new wk(this.c,this.b)},Sxt.Ob=function(){return MA(this.a)},Sxt.Qb=function(){IP(!!this.b),yW(this.c,this.b),this.b=null};tz(Yxt,"EnumMap/EntrySetIterator",1324);Zlt(1325,1954,XSt,wk),Sxt.ad=function(){return this.a},Sxt.bd=function(){return this.b.b[this.a.g]},Sxt.cd=function(t){return lB(this.b,this.a.g,t)};tz(Yxt,"EnumMap/MapEntry",1325);Zlt(174,Qxt,{19:1,28:1,15:1,174:1,21:1});var iBt=tz(Yxt,"EnumSet",174);Zlt(156,174,{19:1,28:1,15:1,174:1,156:1,21:1},GL),Sxt.Dc=function(t){return l0(this,RR(t,22))},Sxt.Fc=function(t){return Nj(this,t)},Sxt.Ic=function(){return new oS(this)},Sxt.Kc=function(t){return jj(this,t)},Sxt.gc=function(){return this.c},Sxt.c=0;tz(Yxt,"EnumSet/EnumSetImpl",156);Zlt(339,1,qxt,oS),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return mX(this)},Sxt.Ob=function(){return MA(this)},Sxt.Qb=function(){IP(-1!=this.b),nz(this.c.b,this.b,null),--this.c.c,this.b=-1},Sxt.a=-1,Sxt.b=-1;tz(Yxt,"EnumSet/EnumSetImpl/IteratorImpl",339);Zlt(44,480,JSt,Hb,aS,uT),Sxt.re=function(t,e){return DC(t)===DC(e)||null!=t&&u8(t,e)},Sxt.se=function(t){return 0|p5(t)};tz(Yxt,"HashMap",44);Zlt(70,Qxt,tkt,Pv,Xx,YN),Sxt.Dc=function(t){return cB(this,t)},Sxt.$b=function(){this.a.$b()},Sxt.Fc=function(t){return q_(this,t)},Sxt.dc=function(){return 0==this.a.gc()},Sxt.Ic=function(){return this.a.ec().Ic()},Sxt.Kc=function(t){return nE(this,t)},Sxt.gc=function(){return this.a.gc()};var aBt=tz(Yxt,"HashSet",70);Zlt(1752,1,d_t,z),Sxt.ud=function(t){b2(this,t)},Sxt.Ib=function(){return"IntSummaryStatistics[count = "+Ej(this.a)+", avg = "+(Dx(this.a,0)?WG(this.d)/WG(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+Ej(this.d)+"]"},Sxt.a=0,Sxt.b=B_t,Sxt.c=Lxt,Sxt.d=0;tz(Yxt,"IntSummaryStatistics",1752);Zlt(1005,1,b_t,IT),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new mU(this)},Sxt.c=0;tz(Yxt,"InternalHashCodeMap",1005);Zlt(692,1,qxt,mU),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return this.d=this.a[this.c++],this.d},Sxt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},Sxt.Qb=function(){Jlt(this.e,this.d.ad()),0!=this.c&&--this.c},Sxt.c=0,Sxt.d=null;var oBt;tz(Yxt,"InternalHashCodeMap/1",692);Zlt(1003,1,b_t,MT),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new BX(this)},Sxt.c=0,Sxt.d=0;tz(Yxt,"InternalStringMap",1003);Zlt(691,1,qxt,BX),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new UL(this.d,this.c,this.d.d)},Sxt.Ob=function(){return!this.a.done},Sxt.Qb=function(){y3(this.d,this.c.value[0])};tz(Yxt,"InternalStringMap/1",691);Zlt(1004,1954,XSt,UL),Sxt.ad=function(){return this.b.value[0]},Sxt.bd=function(){return this.a.d!=this.c?lk(this.a,this.b.value[0]):this.b.value[1]},Sxt.cd=function(t){return h9(this.a,this.b.value[0],t)},Sxt.c=0;tz(Yxt,"InternalStringMap/2",1004);Zlt(226,44,JSt,FX,bK),Sxt.$b=function(){XO(this)},Sxt._b=function(t){return hk(this,t)},Sxt.sc=function(t){var e;for(e=this.d.a;e!=this.d;){if(l$(e.e,t))return!0;e=e.a}return!1},Sxt.tc=function(){return new cd(this)},Sxt.vc=function(t){return aQ(this,t)},Sxt.xc=function(t,e){return set(this,t,e)},Sxt.zc=function(t){return wZ(this,t)},Sxt.gc=function(){return Y_(this.e)},Sxt.c=!1;tz(Yxt,"LinkedHashMap",226);Zlt(382,379,{479:1,379:1,382:1,43:1},UP,DR);tz(Yxt,"LinkedHashMap/ChainEntry",382);Zlt(681,Qxt,Jxt,cd),Sxt.$b=function(){XO(this.a)},Sxt.Fc=function(t){return uU(this,t)},Sxt.Ic=function(){return new Oz(this)},Sxt.Kc=function(t){var e;return!!uU(this,t)&&(e=RR(t,43).ad(),wZ(this.a,e),!0)},Sxt.gc=function(){return Y_(this.a.e)};tz(Yxt,"LinkedHashMap/EntrySet",681);Zlt(682,1,qxt,Oz),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return _K(this)},Sxt.Ob=function(){return this.b!=this.c.a.d},Sxt.Qb=function(){IP(!!this.a),wG(this.c.a.e,this),bN(this.a),sY(this.c.a.e,this.a.d),wP(this.c.a.e,this),this.a=null};tz(Yxt,"LinkedHashMap/EntrySet/EntryIterator",682);Zlt(178,70,tkt,XT,eP,KN);var sBt=tz(Yxt,"LinkedHashSet",178);Zlt(68,1936,{3:1,4:1,19:1,28:1,51:1,15:1,68:1,14:1},sS,NL),Sxt.Dc=function(t){return vN(this,t)},Sxt.$b=function(){sV(this)},Sxt.Xc=function(t){return het(this,t)},Sxt.gc=function(){return this.b},Sxt.b=0;var uBt=tz(Yxt,"LinkedList",68);Zlt(934,1,r_t,WL),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){MB(this,t)},Sxt.Ob=function(){return jx(this)},Sxt.Sb=function(){return this.b.b!=this.d.a},Sxt.Pb=function(){return zU(this)},Sxt.Tb=function(){return this.a},Sxt.Ub=function(){return GG(this)},Sxt.Vb=function(){return this.a-1},Sxt.Qb=function(){QQ(this)},Sxt.Wb=function(t){IP(!!this.c),this.c.c=t},Sxt.a=0,Sxt.c=null;tz(Yxt,"LinkedList/ListIteratorImpl",934);Zlt(595,1,{},$);var cBt,lBt;tz(Yxt,"LinkedList/Node",595);Zlt(1931,1,{});tz(Yxt,"Locale",1931);Zlt(840,1931,{},V),Sxt.Ib=function(){return""};tz(Yxt,"Locale/1",840);Zlt(841,1931,{},H),Sxt.Ib=function(){return"unknown"};tz(Yxt,"Locale/4",841);Zlt(114,59,{3:1,102:1,59:1,78:1,114:1},vv);var hBt;tz(Yxt,"NoSuchElementException",114);Zlt(399,1,{399:1},yy),Sxt.Fb=function(t){var e;return t===this||!!zA(t,399)&&(e=RR(t,399),l$(this.a,e.a))},Sxt.Hb=function(){return eA(this.a)},Sxt.Ib=function(){return null!=this.a?Vxt+nP(this.a)+")":"Optional.empty()"};var fBt;tz(Yxt,"Optional",399);Zlt(457,1,{457:1},sT,qP),Sxt.Fb=function(t){var e;return t===this||!!zA(t,457)&&(e=RR(t,457),this.a==e.a&&0==j8(this.b,e.b))},Sxt.Hb=function(){return this.a?CH(this.b):0},Sxt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},Sxt.a=!1,Sxt.b=0;var dBt;tz(Yxt,"OptionalDouble",457);Zlt(510,1,{510:1},oT,YP),Sxt.Fb=function(t){var e;return t===this||!!zA(t,510)&&(e=RR(t,510),this.a==e.a&&0==TA(this.b,e.b))},Sxt.Hb=function(){return this.a?this.b:0},Sxt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},Sxt.a=!1,Sxt.b=0;tz(Yxt,"OptionalInt",510);Zlt(494,1973,Zxt,yF),Sxt.Ec=function(t){return eit(this,t)},Sxt.$b=function(){this.b.c=hK(gjt,zxt,1,0,5,1)},Sxt.Fc=function(t){return-1!=(null==t?-1:mZ(this.b,t,0))},Sxt.Ic=function(){return new jd(this)},Sxt.Kc=function(t){return h0(this,t)},Sxt.gc=function(){return this.b.c.length},Sxt.Lc=function(){return new ZW(this,256)},Sxt.Nc=function(){return tD(this.b)},Sxt.Oc=function(t){return eet(this.b,t)};tz(Yxt,"PriorityQueue",494);Zlt(1249,1,qxt,jd),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return this.a<this.c.b.c.length},Sxt.Pb=function(){return MP(this.a<this.c.b.c.length),this.b=this.a++,JN(this.c.b,this.b)},Sxt.Qb=function(){IP(-1!=this.b),f0(this.c,this.a=this.b),this.b=-1},Sxt.a=0,Sxt.b=-1;tz(Yxt,"PriorityQueue/1",1249);Zlt(228,1,{228:1},y9,jU),Sxt.a=0,Sxt.b=0;var pBt,gBt,bBt=0;tz(Yxt,"Random",228);Zlt(27,1,l_t,ZW,IB,A$),Sxt.qd=function(){return this.a},Sxt.rd=function(){return HF(this),this.c},Sxt.Nb=function(t){HF(this),this.d.Nb(t)},Sxt.sd=function(t){return VQ(this,t)},Sxt.a=0,Sxt.c=0;tz(Yxt,"Spliterators/IteratorSpliterator",27);Zlt(478,27,l_t,yk);tz(Yxt,"SortedSet/1",478);Zlt(590,1,QSt,ad),Sxt.we=function(t){this.a.td(t)};tz(Yxt,"Spliterator/OfDouble/0methodref$accept$Type",590);Zlt(591,1,QSt,ld),Sxt.we=function(t){this.a.td(t)};tz(Yxt,"Spliterator/OfDouble/1methodref$accept$Type",591);Zlt(592,1,d_t,hd),Sxt.ud=function(t){this.a.td(k8(t))};tz(Yxt,"Spliterator/OfInt/2methodref$accept$Type",592);Zlt(593,1,d_t,fd),Sxt.ud=function(t){this.a.td(k8(t))};tz(Yxt,"Spliterator/OfInt/3methodref$accept$Type",593);Zlt(607,1,l_t),Sxt.Nb=function(t){Ex(this,t)},Sxt.qd=function(){return this.d},Sxt.rd=function(){return this.e},Sxt.d=0,Sxt.e=0;tz(Yxt,"Spliterators/BaseSpliterator",607);Zlt(708,607,l_t),Sxt.xe=function(t){Gx(this,t)},Sxt.Nb=function(t){zA(t,184)?Gx(this,RR(t,184)):Gx(this,new ld(t))},Sxt.sd=function(t){return zA(t,184)?this.ye(RR(t,184)):this.ye(new ad(t))};tz(Yxt,"Spliterators/AbstractDoubleSpliterator",708);Zlt(707,607,l_t),Sxt.xe=function(t){Gx(this,t)},Sxt.Nb=function(t){zA(t,195)?Gx(this,RR(t,195)):Gx(this,new fd(t))},Sxt.sd=function(t){return zA(t,195)?this.ye(RR(t,195)):this.ye(new hd(t))};tz(Yxt,"Spliterators/AbstractIntSpliterator",707);Zlt(534,607,l_t);tz(Yxt,"Spliterators/AbstractSpliterator",534);Zlt(676,1,l_t),Sxt.Nb=function(t){Ex(this,t)},Sxt.qd=function(){return this.b},Sxt.rd=function(){return this.d-this.c},Sxt.b=0,Sxt.c=0,Sxt.d=0;tz(Yxt,"Spliterators/BaseArraySpliterator",676);Zlt(926,676,l_t,yN),Sxt.ze=function(t,e){!function(t,e,n){e.td(t.a[n])}(this,RR(t,37),e)},Sxt.Nb=function(t){sz(this,t)},Sxt.sd=function(t){return kY(this,t)};tz(Yxt,"Spliterators/ArraySpliterator",926);Zlt(677,676,l_t,wL),Sxt.ze=function(t,e){!function(t,e,n){e.we(t.a[n])}(this,RR(t,184),e)},Sxt.xe=function(t){sz(this,t)},Sxt.Nb=function(t){zA(t,184)?sz(this,RR(t,184)):sz(this,new ld(t))},Sxt.ye=function(t){return kY(this,t)},Sxt.sd=function(t){return zA(t,184)?kY(this,RR(t,184)):kY(this,new ad(t))};var vBt;tz(Yxt,"Spliterators/DoubleArraySpliterator",677);Zlt(1941,1,l_t),Sxt.Nb=function(t){Ex(this,t)},Sxt.qd=function(){return 16448},Sxt.rd=function(){return 0};tz(Yxt,"Spliterators/EmptySpliterator",1941);Zlt(925,1941,l_t,et),Sxt.xe=function(t){Ph(t)},Sxt.Nb=function(t){zA(t,195)?Ph(RR(t,195)):Ph(new fd(t))},Sxt.ye=function(t){return dk(t)},Sxt.sd=function(t){return zA(t,195)?dk(RR(t,195)):dk(new hd(t))};tz(Yxt,"Spliterators/EmptySpliterator/OfInt",925);Zlt(571,51,ckt,Ov),Sxt.Tc=function(t,e){qj(t,this.a.c.length+1),Tj(this.a,t,e)},Sxt.Dc=function(t){return LR(this.a,t)},Sxt.Uc=function(t,e){return qj(t,this.a.c.length+1),K5(this.a,t,e)},Sxt.Ec=function(t){return R3(this.a,t)},Sxt.$b=function(){this.a.c=hK(gjt,zxt,1,0,5,1)},Sxt.Fc=function(t){return-1!=mZ(this.a,t,0)},Sxt.Gc=function(t){return N3(this.a,t)},Sxt.Hc=function(t){cJ(this.a,t)},Sxt.Xb=function(t){return qj(t,this.a.c.length),JN(this.a,t)},Sxt.Vc=function(t){return mZ(this.a,t,0)},Sxt.dc=function(){return 0==this.a.c.length},Sxt.Ic=function(){return new ed(this.a)},Sxt.Yc=function(t){return qj(t,this.a.c.length),tY(this.a,t)},Sxt.Ud=function(t,e){YW(this.a,t,e)},Sxt.Zc=function(t,e){return qj(t,this.a.c.length),bq(this.a,t,e)},Sxt.gc=function(){return this.a.c.length},Sxt.$c=function(t){kA(this.a,t)},Sxt._c=function(t,e){return new KW(this.a,t,e)},Sxt.Nc=function(){return tD(this.a)},Sxt.Oc=function(t){return eet(this.a,t)},Sxt.Ib=function(){return Uot(this.a)};tz(Yxt,"Vector",571);Zlt(790,571,ckt,im);tz(Yxt,"Stack",790);Zlt(204,1,{204:1},c3),Sxt.Ib=function(){return QG(this)};tz(Yxt,"StringJoiner",204);Zlt(537,1961,{3:1,84:1,171:1,161:1},rS,wF),Sxt.$b=function(){ky(this)},Sxt.tc=function(){return new cP(this)},Sxt.xc=function(t,e){return P4(this,t,e)},Sxt.zc=function(t){return AH(this,t)},Sxt.gc=function(){return this.c},Sxt.c=0;tz(Yxt,"TreeMap",537);Zlt(386,1,qxt,_O),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return QP(this)},Sxt.Ob=function(){return pk(this.a)},Sxt.Qb=function(){FL(this)};tz(Yxt,"TreeMap/EntryIterator",386);Zlt(428,722,Jxt,cP),Sxt.$b=function(){ky(this.a)};tz(Yxt,"TreeMap/EntrySet",428);Zlt(429,379,{479:1,379:1,43:1,429:1},vK),Sxt.b=!1;var mBt=tz(Yxt,"TreeMap/Node",429);Zlt(611,1,{},B),Sxt.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},Sxt.a=!1,Sxt.b=!1,Sxt.c=!1;var yBt,wBt,xBt,_Bt;tz(Yxt,"TreeMap/State",611);Zlt(297,22,lkt,vk),Sxt.Ae=function(){return!1},Sxt.Be=function(){return!1};var SBt=h1(Yxt,"TreeMap/SubMapType",297,Pjt,(function(){return ZK(),X3(uw(SBt,1),P_t,297,0,[yBt,wBt,xBt,_Bt])}),(function(t){return ZK(),hQ((QK(),kBt),t)}));Zlt(1085,297,lkt,QT),Sxt.Be=function(){return!0};h1(Yxt,"TreeMap/SubMapType/1",1085,SBt,null,null);Zlt(1086,297,lkt,WA),Sxt.Ae=function(){return!0},Sxt.Be=function(){return!0};h1(Yxt,"TreeMap/SubMapType/2",1086,SBt,null,null);Zlt(1087,297,lkt,JT),Sxt.Ae=function(){return!0};var kBt;h1(Yxt,"TreeMap/SubMapType/3",1087,SBt,null,null);Zlt(206,Qxt,{3:1,19:1,28:1,15:1,270:1,21:1,81:1,206:1},Bv,qx),Sxt.Lc=function(){return new yk(this)},Sxt.Dc=function(t){return CB(this,t)},Sxt.$b=function(){ky(this.a)},Sxt.Fc=function(t){return TL(this.a,t)},Sxt.Ic=function(){return new Hf(new _O(new cP(new Xf(this.a).a).b))},Sxt.Kc=function(t){return sP(this,t)},Sxt.gc=function(){return this.a.c};var IBt=tz(Yxt,"TreeSet",206);Zlt(930,1,{},dd),Sxt.Ce=function(t,e){return function(t,e,n){return t.ue(e,n)<=0?n:e}(this.a,t,e)};tz(hkt,"BinaryOperator/lambda$0$Type",930);Zlt(931,1,{},pd),Sxt.Ce=function(t,e){return function(t,e,n){return t.ue(e,n)<=0?e:n}(this.a,t,e)};tz(hkt,"BinaryOperator/lambda$1$Type",931);Zlt(825,1,{},Z),Sxt.Kb=function(t){return t};tz(hkt,"Function/lambda$0$Type",825);Zlt(425,1,N_t,gd),Sxt.Mb=function(t){return!this.a.Mb(t)};tz(hkt,"Predicate/lambda$2$Type",425);Zlt(564,1,{564:1});var MBt,CBt=tz(fkt,"Handler",564);Zlt(1976,1,Nxt),Sxt.ne=function(){return"DUMMY"},Sxt.Ib=function(){return this.ne()};tz(fkt,"Level",1976);Zlt(1591,1976,Nxt,Q),Sxt.ne=function(){return"INFO"};var TBt;tz(fkt,"Level/LevelInfo",1591);Zlt(1610,1,{},Dv);tz(fkt,"LogManager",1610);Zlt(1751,1,Nxt,vL),Sxt.b=null;tz(fkt,"LogRecord",1751);Zlt(505,1,{505:1},pq),Sxt.e=!1;var ABt=!1,EBt=!1,PBt=!1,DBt=!1,OBt=!1;tz(fkt,"Logger",505);Zlt(798,564,{564:1},K);var LBt,RBt,NBt;tz(fkt,"SimpleConsoleLogHandler",798);Zlt(132,22,{3:1,36:1,22:1,132:1},mk);var jBt,FBt=h1(gkt,"Collector/Characteristics",132,Pjt,(function(){return B5(),X3(uw(FBt,1),P_t,132,0,[LBt,RBt,NBt])}),(function(t){return B5(),hQ((zY(),jBt),t)}));Zlt(727,1,{},kB);tz(gkt,"CollectorImpl",727);Zlt(1044,1,{},R),Sxt.Ce=function(t,e){return function(t,e){var n;return e.a&&(n=e.a.a.length,t.a?UC(t.a,t.b):t.a=new YE(t.d),$G(t.a,e.a,e.d.length,n)),t}(RR(t,204),RR(e,204))};tz(gkt,"Collectors/10methodref$merge$Type",1044);Zlt(1045,1,{},N),Sxt.Kb=function(t){return QG(RR(t,204))};tz(gkt,"Collectors/11methodref$toString$Type",1045);Zlt(1046,1,{},bd),Sxt.Kb=function(t){return _P(),!!gT(t)};tz(gkt,"Collectors/12methodref$test$Type",1046);Zlt(250,1,{},j),Sxt.Od=function(t,e){RR(t,15).Dc(e)};tz(gkt,"Collectors/20methodref$add$Type",250);Zlt(252,1,{},F),Sxt.Ee=function(){return new Vb};tz(gkt,"Collectors/21methodref$ctor$Type",252);Zlt(344,1,{},G),Sxt.Ee=function(){return new Pv};tz(gkt,"Collectors/23methodref$ctor$Type",344);Zlt(345,1,{},U),Sxt.Od=function(t,e){cB(RR(t,70),e)};tz(gkt,"Collectors/24methodref$add$Type",345);Zlt(1039,1,{},X),Sxt.Ce=function(t,e){return cS(RR(t,14),RR(e,15))};tz(gkt,"Collectors/4methodref$addAll$Type",1039);Zlt(1043,1,{},q),Sxt.Od=function(t,e){oY(RR(t,204),RR(e,469))};tz(gkt,"Collectors/9methodref$add$Type",1043);Zlt(1042,1,{},AR),Sxt.Ee=function(){return new c3(this.a,this.b,this.c)};tz(gkt,"Collectors/lambda$15$Type",1042);Zlt(1047,1,{},W),Sxt.Ee=function(){var t;return set(t=new FX,(_P(),!1),new Vb),set(t,!0,new Vb),t};tz(gkt,"Collectors/lambda$22$Type",1047);Zlt(1048,1,{},vd),Sxt.Ee=function(){return X3(uw(gjt,1),zxt,1,5,[this.a])};tz(gkt,"Collectors/lambda$25$Type",1048);Zlt(1049,1,{},md),Sxt.Od=function(t,e){!function(t,e){nz(e,0,nj(e[0],mtt(1)))}(this.a,xJ(t))};tz(gkt,"Collectors/lambda$26$Type",1049);Zlt(1050,1,{},yd),Sxt.Ce=function(t,e){return function(t,e,n){return nz(e,0,nj(e[0],n[0])),e}(this.a,xJ(t),xJ(e))};tz(gkt,"Collectors/lambda$27$Type",1050);Zlt(1051,1,{},Y),Sxt.Kb=function(t){return xJ(t)[0]};tz(gkt,"Collectors/lambda$28$Type",1051);Zlt(702,1,{},nt),Sxt.Ce=function(t,e){return nj(t,e)};tz(gkt,"Collectors/lambda$4$Type",702);Zlt(251,1,{},rt),Sxt.Ce=function(t,e){return function(t,e){return t.Ec(e),t}(RR(t,15),RR(e,15))};tz(gkt,"Collectors/lambda$42$Type",251);Zlt(346,1,{},it),Sxt.Ce=function(t,e){return function(t,e){return W0(t,e),t}(RR(t,70),RR(e,70))};tz(gkt,"Collectors/lambda$50$Type",346);Zlt(347,1,{},at),Sxt.Kb=function(t){return RR(t,70)};tz(gkt,"Collectors/lambda$51$Type",347);Zlt(1038,1,{},wd),Sxt.Od=function(t,e){!function(t,e,n){var r,i;_P(),r=!!gT(n),(i=RR(e.vc(r),14))||(i=new Vb,e.xc(r,i)),i.Dc(n)}(this.a,RR(t,84),e)};tz(gkt,"Collectors/lambda$7$Type",1038);Zlt(1040,1,{},ot),Sxt.Ce=function(t,e){return function(t,e,n){var r,i;for(i=e.tc().Ic();i.Ob();)r=RR(i.Pb(),43),t.wc(r.ad(),r.bd(),n);return t}(RR(t,84),RR(e,84),new X)};tz(gkt,"Collectors/lambda$8$Type",1040);Zlt(1041,1,{},xd),Sxt.Kb=function(t){return function(t,e){var n,r,i;for(i=new Hb,r=e.tc().Ic();r.Ob();)t$(i,(n=RR(r.Pb(),43)).ad(),q2(t,RR(n.bd(),14)));return i}(this.a,RR(t,84))};tz(gkt,"Collectors/lambda$9$Type",1041);Zlt(533,1,{}),Sxt.He=function(){Rz(this)},Sxt.d=!1;tz(gkt,"TerminatableStream",533);Zlt(793,533,bkt,RD),Sxt.He=function(){Rz(this)};tz(gkt,"DoubleStreamImpl",793);Zlt(1755,708,l_t,PR),Sxt.ye=function(t){return function(t,e){var n;return t.a||(n=hK(ooe,$St,24,0,15,1),Gx(t.b.a,new _d(n)),n.sort(wJ(E.prototype.te,E,[])),t.a=new wL(n,t.d)),kY(t.a,e)}(this,RR(t,184))},Sxt.a=null;tz(gkt,"DoubleStreamImpl/2",1755);Zlt(1756,1,QSt,_d),Sxt.we=function(t){!function(t,e){t[t.length]=e}(this.a,t)};tz(gkt,"DoubleStreamImpl/2/lambda$0$Type",1756);Zlt(1753,1,QSt,Sd),Sxt.we=function(t){!function(t,e){t[t.length]=e}(this.a,t)};tz(gkt,"DoubleStreamImpl/lambda$0$Type",1753);Zlt(1754,1,QSt,kd),Sxt.we=function(t){y7(this.a,t)};tz(gkt,"DoubleStreamImpl/lambda$2$Type",1754);Zlt(1329,707,l_t,gq),Sxt.ye=function(t){return function(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}(this,RR(t,195))},Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(gkt,"IntStream/5",1329);Zlt(769,533,bkt,ND),Sxt.He=function(){Rz(this)},Sxt.Ie=function(){return Nz(this),this.a};tz(gkt,"IntStreamImpl",769);Zlt(770,533,bkt,iS),Sxt.He=function(){Rz(this)},Sxt.Ie=function(){return Nz(this),jE(),vBt};tz(gkt,"IntStreamImpl/Empty",770);Zlt(1432,1,d_t,Id),Sxt.ud=function(t){b2(this.a,t)};tz(gkt,"IntStreamImpl/lambda$4$Type",1432);var BBt,zBt=NN(gkt,"Stream");Zlt(30,533,{518:1,658:1,812:1},lj),Sxt.He=function(){Rz(this)};tz(gkt,"StreamImpl",30);Zlt(824,1,{},J),Sxt.jd=function(t){return XR(t)};tz(gkt,"StreamImpl/0methodref$lambda$2$Type",824);Zlt(1064,534,l_t,mL),Sxt.sd=function(t){for(;BK(this);){if(this.a.sd(t))return!0;Rz(this.b),this.b=null,this.a=null}return!1};tz(gkt,"StreamImpl/1",1064);Zlt(1065,1,h_t,Md),Sxt.td=function(t){!function(t,e){e&&(t.b=e,t.a=(Nz(e),e.a))}(this.a,RR(t,812))};tz(gkt,"StreamImpl/1/lambda$0$Type",1065);Zlt(1066,1,N_t,Cd),Sxt.Mb=function(t){return cB(this.a,t)};tz(gkt,"StreamImpl/1methodref$add$Type",1066);Zlt(1067,534,l_t,aV),Sxt.sd=function(t){var e;return this.a||(e=new Vb,this.b.a.Nb(new Td(e)),mV(),kA(e,this.c),this.a=new ZW(e,16)),VQ(this.a,t)},Sxt.a=null;tz(gkt,"StreamImpl/5",1067);Zlt(1068,1,h_t,Td),Sxt.td=function(t){LR(this.a,t)};tz(gkt,"StreamImpl/5/2methodref$add$Type",1068);Zlt(709,534,l_t,WK),Sxt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new xk(this,t)););return this.b},Sxt.b=!1;tz(gkt,"StreamImpl/FilterSpliterator",709);Zlt(1059,1,h_t,xk),Sxt.td=function(t){!function(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}(this.a,this.b,t)};tz(gkt,"StreamImpl/FilterSpliterator/lambda$0$Type",1059);Zlt(1055,708,l_t,cY),Sxt.ye=function(t){return function(t,e){return t.b.sd(new _k(t,e))}(this,RR(t,184))};tz(gkt,"StreamImpl/MapToDoubleSpliterator",1055);Zlt(1058,1,h_t,_k),Sxt.td=function(t){!function(t,e,n){e.we(t.a.Fe(n))}(this.a,this.b,t)};tz(gkt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1058);Zlt(1054,707,l_t,uY),Sxt.ye=function(t){return function(t,e){return t.b.sd(new Sk(t,e))}(this,RR(t,195))};tz(gkt,"StreamImpl/MapToIntSpliterator",1054);Zlt(1057,1,h_t,Sk),Sxt.td=function(t){!function(t,e,n){e.ud(t.a.Ge(n))}(this.a,this.b,t)};tz(gkt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1057);Zlt(706,534,l_t,lY),Sxt.sd=function(t){return pL(this,t)};tz(gkt,"StreamImpl/MapToObjSpliterator",706);Zlt(1056,1,h_t,kk),Sxt.td=function(t){!function(t,e,n){e.td(t.a.Kb(n))}(this.a,this.b,t)};tz(gkt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1056);Zlt(608,1,h_t,tt),Sxt.td=function(t){pf(this,t)};tz(gkt,"StreamImpl/ValueConsumer",608);Zlt(1060,1,h_t,st),Sxt.td=function(t){xS()};tz(gkt,"StreamImpl/lambda$0$Type",1060);Zlt(1061,1,h_t,ut),Sxt.td=function(t){xS()};tz(gkt,"StreamImpl/lambda$1$Type",1061);Zlt(1062,1,{},Ad),Sxt.Ce=function(t,e){return function(t,e,n){return xS(),t.a.Od(e,n),e}(this.a,t,e)};tz(gkt,"StreamImpl/lambda$4$Type",1062);Zlt(1063,1,h_t,Mk),Sxt.td=function(t){!function(t,e,n){xS(),pf(t,e.Ce(t.a,n))}(this.b,this.a,t)};tz(gkt,"StreamImpl/lambda$5$Type",1063);Zlt(1069,1,h_t,Ed),Sxt.td=function(t){!function(t,e){var n;try{e.Vd()}catch(e){if(!zA(e=m3(e),78))throw Jb(e);n=e,t.c[t.c.length]=n}}(this.a,RR(t,362))};tz(gkt,"TerminatableStream/lambda$0$Type",1069);Zlt(2010,1,{}),Zlt(1886,1,{},ct);tz("javaemul.internal","ConsoleLogger",1886);Zlt(2007,1,{});var $Bt,VBt,HBt=0,WBt=0;Zlt(1739,1,h_t,lt),Sxt.td=function(t){RR(t,306)};tz(_kt,"BowyerWatsonTriangulation/lambda$0$Type",1739);Zlt(1740,1,h_t,Pd),Sxt.td=function(t){W0(this.a,RR(t,306).e)};tz(_kt,"BowyerWatsonTriangulation/lambda$1$Type",1740);Zlt(1741,1,h_t,ht),Sxt.td=function(t){RR(t,168)};tz(_kt,"BowyerWatsonTriangulation/lambda$2$Type",1741);Zlt(1736,1,Skt,Dd),Sxt.ue=function(t,e){return function(t,e,n){return gF(VD(PC(rH(t.f,e))),VD(PC(rH(t.f,n))))}(this.a,RR(t,168),RR(e,168))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(_kt,"NaiveMinST/lambda$0$Type",1736);Zlt(168,1,{168:1},Ik),Sxt.Fb=function(t){var e;return!!zA(t,168)&&(e=RR(t,168),l$(this.a,e.a)&&l$(this.b,e.b)||l$(this.a,e.b)&&l$(this.b,e.a))},Sxt.Hb=function(){return eA(this.a)+eA(this.b)};var GBt=tz(_kt,"TEdge",168);Zlt(306,1,{306:1},avt),Sxt.Fb=function(t){var e;return!!zA(t,306)&&(HZ(this,(e=RR(t,306)).a)&&HZ(this,e.b)&&HZ(this,e.c))},Sxt.Hb=function(){return eA(this.a)+eA(this.b)+eA(this.c)};tz(_kt,"TTriangle",306);Zlt(219,1,{219:1},$A);tz(_kt,"Tree",219);Zlt(1228,1,{},gW);tz(kkt,"Scanline",1228);var UBt=NN(kkt,Ikt);Zlt(1662,1,{},GQ);tz(Mkt,"CGraph",1662);Zlt(305,1,{305:1},cW),Sxt.b=0,Sxt.c=0,Sxt.d=0,Sxt.g=0,Sxt.i=0,Sxt.k=NSt;tz(Mkt,"CGroup",305);Zlt(796,1,{},zv);tz(Mkt,"CGroup/CGroupBuilder",796);Zlt(56,1,{56:1},TO),Sxt.Ib=function(){return this.j?HD(this.j.Kb(this)):(FD(XBt),XBt.o+"@"+(uP(this)>>>0).toString(16))},Sxt.f=0,Sxt.i=NSt;var XBt=tz(Mkt,"CNode",56);Zlt(795,1,{},$v);var qBt;tz(Mkt,"CNode/CNodeBuilder",795);Zlt(1495,1,{},ft),Sxt.Oe=function(t,e){return 0},Sxt.Pe=function(t,e){return 0};tz(Mkt,Tkt,1495);Zlt(1761,1,{},dt),Sxt.Le=function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b;for(l=RSt,i=new ed(t.a.b);i.a<i.c.c.length;)e=RR(xG(i),56),l=r.Math.min(l,e.a.j.d.c+e.b.a);for(p=new sS,s=new ed(t.a.a);s.a<s.c.c.length;)(o=RR(xG(s),305)).k=l,0==o.g&&jX(p,o,p.c.b,p.c);for(;0!=p.b;){for(a=(o=RR(0==p.b?null:(MP(0!=p.b),uJ(p,p.a.a)),305)).j.d.c,d=o.a.a.ec().Ic();d.Ob();)h=RR(d.Pb(),56),b=o.k+h.b.a,!k6(t,o,t.d)||h.d.c<b?h.i=b:h.i=h.d.c;for(a-=o.j.i,o.b+=a,t.d==(E8(),f7t)||t.d==l7t?o.c+=a:o.c-=a,f=o.a.a.ec().Ic();f.Ob();)for(c=(h=RR(f.Pb(),56)).c.Ic();c.Ob();)u=RR(c.Pb(),56),g=RT(t.d)?t.g.Oe(h,u):t.g.Pe(h,u),u.a.k=r.Math.max(u.a.k,h.i+h.d.b+g-u.b.a),zV(t,u,t.d)&&(u.a.k=r.Math.max(u.a.k,u.d.c-u.b.a)),--u.a.g,0==u.a.g&&vN(p,u.a)}for(n=new ed(t.a.b);n.a<n.c.c.length;)(e=RR(xG(n),56)).d.c=e.i};var YBt,KBt,ZBt;tz(Mkt,"LongestPathCompaction",1761);Zlt(1660,1,{},vlt),Sxt.e=!1;var QBt=tz(Mkt,Okt,1660);Zlt(1661,1,h_t,Od),Sxt.td=function(t){!function(t,e){t.d==(E8(),h7t)||t.d==p7t?RR(e.a,56).c.Dc(RR(e.b,56)):RR(e.b,56).c.Dc(RR(e.a,56))}(this.a,RR(t,46))};tz(Mkt,Lkt,1661);Zlt(1762,1,{},pt),Sxt.Me=function(t){var e,n,r,i,a,o;for(e=new ed(t.a.b);e.a<e.c.c.length;)RR(xG(e),56).c.$b();for(r=new ed(t.a.b);r.a<r.c.c.length;)for(n=RR(xG(r),56),a=new ed(t.a.b);a.a<a.c.c.length;)n!=(i=RR(xG(a),56))&&(n.a&&n.a==i.a||(o=RT(t.d)?t.g.Pe(n,i):t.g.Oe(n,i),(i.d.c>n.d.c||n.d.c==i.d.c&&n.d.b<i.d.b)&&$7(i.d.d+i.d.a+o,n.d.d)&&V7(i.d.d,n.d.d+n.d.a+o)&&n.c.Dc(i)))};tz(Mkt,"QuadraticConstraintCalculation",1762);Zlt(515,1,{515:1},Wb),Sxt.a=!1,Sxt.b=!1,Sxt.c=!1,Sxt.d=!1;tz(Mkt,Rkt,515);Zlt(785,1,{},Uj),Sxt.Me=function(t){this.c=t,tct(this,new vt)};tz(Mkt,Nkt,785);Zlt(1688,1,{667:1},LV),Sxt.Ke=function(t){Tut(this,RR(t,458))};tz(Mkt,jkt,1688);Zlt(1689,1,Skt,gt),Sxt.ue=function(t,e){return function(t,e){return j8(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}(RR(t,56),RR(e,56))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(Mkt,Fkt,1689);Zlt(458,1,{458:1},Ck),Sxt.a=!1;tz(Mkt,Bkt,458);Zlt(1690,1,Skt,bt),Sxt.ue=function(t,e){return function(t,e){var n,r,i;if(r=t.b.d.d,t.a||(r+=t.b.d.a),i=e.b.d.d,e.a||(i+=e.b.d.a),0==(n=j8(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(RR(t,458),RR(e,458))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(Mkt,zkt,1690);Zlt(1691,1,$kt,vt),Sxt.Lb=function(t){return RR(t,56),!0},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return RR(t,56),!0};var JBt,tzt;tz(Mkt,"ScanlineConstraintCalculator/lambda$1$Type",1691);Zlt(422,22,{3:1,36:1,22:1,422:1},Tk);var ezt,nzt,rzt,izt=h1(Vkt,"HighLevelSortingCriterion",422,Pjt,(function(){return yet(),X3(uw(izt,1),P_t,422,0,[tzt,JBt])}),(function(t){return yet(),hQ((sq(),ezt),t)}));Zlt(421,22,{3:1,36:1,22:1,421:1},Ak);var azt,ozt,szt,uzt,czt,lzt,hzt,fzt,dzt=h1(Vkt,"LowLevelSortingCriterion",421,Pjt,(function(){return NQ(),X3(uw(dzt,1),P_t,421,0,[nzt,rzt])}),(function(t){return NQ(),hQ((uq(),azt),t)})),pzt=NN(Hkt,"ILayoutMetaDataProvider");Zlt(832,1,qkt,Rl),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,Wkt),Ykt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),fzt),(vut(),H6t)),Izt),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,Gkt),Ykt),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),lzt),H6t),dzt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,Ukt),Ykt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),uzt),H6t),izt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,Xkt),Ykt),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(_P(),!0)),$6t),oFt),a9(F6t))))};var gzt,bzt,vzt,mzt,yzt,wzt,xzt,_zt,Szt;tz(Vkt,"PolyominoOptions",832);Zlt(249,22,{3:1,36:1,22:1,249:1},Ek);var kzt,Izt=h1(Vkt,"TraversalStrategy",249,Pjt,(function(){return Cpt(),X3(uw(Izt,1),P_t,249,0,[Szt,mzt,yzt,vzt,xzt,_zt,wzt,bzt,gzt])}),(function(t){return Cpt(),hQ((T3(),kzt),t)}));Zlt(211,1,{211:1},mt),Sxt.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},Sxt.a=1,Sxt.b=0,Sxt.c=0,Sxt.f=!1,Sxt.g=0;var Mzt=tz(Kkt,"NEdge",211);Zlt(176,1,{},Nv);tz(Kkt,"NEdge/NEdgeBuilder",176);Zlt(642,1,{},Lv);tz(Kkt,"NGraph",642);Zlt(119,1,{119:1},dY),Sxt.c=-1,Sxt.d=0,Sxt.e=0,Sxt.i=-1,Sxt.j=!1;var Czt=tz(Kkt,"NNode",119);Zlt(777,1,KSt,Rv),Sxt.Hc=function(t){yq(this,t)},Sxt.Jc=function(){return new lj(null,new ZW(this,16))},Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt.Mc=function(){return new lj(null,new ZW(this,16))},Sxt.Tc=function(t,e){++this.b,Tj(this.a,t,e)},Sxt.Dc=function(t){return pP(this,t)},Sxt.Uc=function(t,e){return++this.b,K5(this.a,t,e)},Sxt.Ec=function(t){return++this.b,R3(this.a,t)},Sxt.$b=function(){++this.b,this.a.c=hK(gjt,zxt,1,0,5,1)},Sxt.Fc=function(t){return-1!=mZ(this.a,t,0)},Sxt.Gc=function(t){return N3(this.a,t)},Sxt.Xb=function(t){return JN(this.a,t)},Sxt.Vc=function(t){return mZ(this.a,t,0)},Sxt.dc=function(){return 0==this.a.c.length},Sxt.Ic=function(){return zK(new ed(this.a))},Sxt.Wc=function(){throw Jb(new _v)},Sxt.Xc=function(t){throw Jb(new _v)},Sxt.Yc=function(t){return++this.b,tY(this.a,t)},Sxt.Kc=function(t){return gP(this,t)},Sxt.Zc=function(t,e){return++this.b,bq(this.a,t,e)},Sxt.gc=function(){return this.a.c.length},Sxt._c=function(t,e){return new KW(this.a,t,e)},Sxt.Nc=function(){return tD(this.a)},Sxt.Oc=function(t){return eet(this.a,t)},Sxt.b=0;tz(Kkt,"NNode/ChangeAwareArrayList",777);Zlt(268,1,{},jv);tz(Kkt,"NNode/NNodeBuilder",268);Zlt(1600,1,{},It),Sxt.a=!1,Sxt.f=Lxt,Sxt.j=0;tz(Kkt,"NetworkSimplex",1600);Zlt(745,1,h_t,Ld),Sxt.td=function(t){Dyt(this.a,RR(t,816),!0,!1)};tz(Qkt,"NodeLabelAndSizeCalculator/lambda$0$Type",745);Zlt(548,1,{},Rd),Sxt.b=!0,Sxt.c=!0,Sxt.d=!0,Sxt.e=!0;tz(Qkt,"NodeMarginCalculator",548);Zlt(210,1,{210:1}),Sxt.j=!1,Sxt.k=!1;var Tzt=tz(Jkt,"Cell",210);Zlt(121,210,{121:1,210:1},IO),Sxt.Re=function(){return TN(this)},Sxt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c};var Azt,Ezt,Pzt;tz(Jkt,"AtomicCell",121);Zlt(230,22,{3:1,36:1,22:1,230:1},Pk);var Dzt,Ozt=h1(Jkt,"ContainerArea",230,Pjt,(function(){return nJ(),X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])}),(function(t){return nJ(),hQ((jY(),Dzt),t)}));Zlt(324,210,eIt);tz(Jkt,"ContainerCell",324);Zlt(1442,324,eIt,j7),Sxt.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=r7(this,brt(this,!0)),t>0?t+this.n.d+this.n.a:0},Sxt.Se=function(){var t,e,n,i,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=r7(this,pit(this,null,!0));else for(nJ(),n=0,i=(e=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])).length;n<i;++n)t=e[n],a=r.Math.max(a,r7(this,pit(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},Sxt.Te=function(){var t,e,n,r,i;if(this.g)for(t=pit(this,null,!1),nJ(),r=0,i=(n=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])).length;r<i;++r)jdt(this,e=n[r],t);else for(nJ(),r=0,i=(n=X3(uw(Ozt,1),P_t,230,0,[Azt,Ezt,Pzt])).length;r<i;++r)jdt(this,e=n[r],t=pit(this,e,!1))},Sxt.Ue=function(){var t,e,n,i;e=this.i,t=this.n,i=brt(this,!1),nY(this,(nJ(),Azt),e.d+t.d,i),nY(this,Pzt,e.d+e.a-t.a-i[2],i),n=e.a-t.d-t.a,i[0]>0&&(i[0]+=this.d,n-=i[0]),i[2]>0&&(i[2]+=this.d,n-=i[2]),this.c.a=r.Math.max(0,n),this.c.d=e.d+t.d+(this.c.a-n)/2,i[1]=r.Math.max(i[1],n),nY(this,Ezt,e.d+t.d+i[0]-(i[1]-n)/2,i)},Sxt.b=null,Sxt.d=0,Sxt.e=!1,Sxt.f=!1,Sxt.g=!1;var Lzt,Rzt,Nzt,jzt=0,Fzt=0;tz(Jkt,"GridContainerCell",1442);Zlt(455,22,{3:1,36:1,22:1,455:1},Dk);var Bzt,zzt=h1(Jkt,"HorizontalLabelAlignment",455,Pjt,(function(){return JK(),X3(uw(zzt,1),P_t,455,0,[Rzt,Lzt,Nzt])}),(function(t){return JK(),hQ((FY(),Bzt),t)}));Zlt(304,210,{210:1,304:1},RH,XQ,mH),Sxt.Re=function(){return AN(this)},Sxt.Se=function(){return EN(this)},Sxt.a=0,Sxt.c=!1;var $zt=tz(Jkt,"LabelCell",304);Zlt(243,324,{210:1,324:1,243:1},Btt),Sxt.Re=function(){return Bct(this)},Sxt.Se=function(){return zct(this)},Sxt.Te=function(){Ubt(this)},Sxt.Ue=function(){Qbt(this)},Sxt.b=0,Sxt.c=0,Sxt.d=!1;tz(Jkt,"StripContainerCell",243);Zlt(1596,1,N_t,wt),Sxt.Mb=function(t){return function(t){return!!t&&t.k}(RR(t,210))};tz(Jkt,"StripContainerCell/lambda$0$Type",1596);Zlt(1597,1,{},xt),Sxt.Fe=function(t){return RR(t,210).Se()};tz(Jkt,"StripContainerCell/lambda$1$Type",1597);Zlt(1598,1,N_t,_t),Sxt.Mb=function(t){return function(t){return!!t&&t.j}(RR(t,210))};tz(Jkt,"StripContainerCell/lambda$2$Type",1598);Zlt(1599,1,{},yt),Sxt.Fe=function(t){return RR(t,210).Re()};var Vzt,Hzt,Wzt;tz(Jkt,"StripContainerCell/lambda$3$Type",1599);Zlt(456,22,{3:1,36:1,22:1,456:1},Ok);var Gzt,Uzt=h1(Jkt,"VerticalLabelAlignment",456,Pjt,(function(){return QZ(),X3(uw(Uzt,1),P_t,456,0,[Wzt,Hzt,Vzt])}),(function(t){return QZ(),hQ((BY(),Gzt),t)}));Zlt(772,1,{},twt),Sxt.c=0,Sxt.d=0,Sxt.k=0,Sxt.s=0,Sxt.u=!1,Sxt.v=0,Sxt.C=!1;tz(sIt,"NodeContext",772);Zlt(1440,1,Skt,St),Sxt.ue=function(t,e){return kT(RR(t,61),RR(e,61))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(sIt,"NodeContext/0methodref$comparePortSides$Type",1440);Zlt(1441,1,Skt,kt),Sxt.ue=function(t,e){return function(t,e){var n;if(0!=(n=kT(t.b.Ef(),e.b.Ef())))return n;switch(t.b.Ef().g){case 1:case 2:return TA(t.b.qf(),e.b.qf());case 3:case 4:return TA(e.b.qf(),t.b.qf())}return 0}(RR(t,110),RR(e,110))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var Xzt,qzt,Yzt,Kzt,Zzt,Qzt,Jzt,t$t,e$t,n$t,r$t,i$t,a$t,o$t,s$t,u$t,c$t,l$t,h$t,f$t,d$t,p$t;tz(sIt,"NodeContext/1methodref$comparePortContexts$Type",1441);Zlt(159,22,{3:1,36:1,22:1,159:1},t2);var g$t,b$t=h1(sIt,"NodeLabelLocation",159,Pjt,fet,(function(t){return vxt(),hQ((rT(),g$t),t)}));Zlt(110,1,{110:1},ylt),Sxt.a=!1;tz(sIt,"PortContext",110);Zlt(1446,1,h_t,Mt),Sxt.td=function(t){C_(RR(t,304))};tz(lIt,hIt,1446);Zlt(1447,1,N_t,Ct),Sxt.Mb=function(t){return!!RR(t,110).c};tz(lIt,fIt,1447);Zlt(1448,1,h_t,At),Sxt.td=function(t){C_(RR(t,110).c)};var v$t;tz(lIt,"LabelPlacer/lambda$2$Type",1448);Zlt(1445,1,h_t,Et),Sxt.td=function(t){xO(),function(t){t.b.rf(t.e)}(RR(t,110))};tz(lIt,"NodeLabelAndSizeUtilities/lambda$0$Type",1445);Zlt(1443,1,h_t,JL),Sxt.td=function(t){VS(this.b,this.c,this.a,RR(t,183))},Sxt.a=!1,Sxt.c=!1;tz(lIt,"NodeLabelCellCreator/lambda$0$Type",1443);Zlt(1444,1,h_t,Nd),Sxt.td=function(t){!function(t,e){Gst(t.c,e)}(this.a,RR(t,183))};var m$t;tz(lIt,"PortContextCreator/lambda$0$Type",1444);Zlt(1801,1,{},Tt);tz(pIt,"GreedyRectangleStripOverlapRemover",1801);Zlt(1802,1,Skt,Pt),Sxt.ue=function(t,e){return function(t,e){return j8(t.c.d,e.c.d)}(RR(t,220),RR(e,220))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(pIt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1802);Zlt(1757,1,{},Xv),Sxt.a=5,Sxt.e=0;tz(pIt,"RectangleStripOverlapRemover",1757);Zlt(1758,1,Skt,Dt),Sxt.ue=function(t,e){return function(t,e){return j8(t.c.c,e.c.c)}(RR(t,220),RR(e,220))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(pIt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1758);Zlt(1760,1,Skt,Ot),Sxt.ue=function(t,e){return function(t,e){return j8(t.c.c+t.c.b,e.c.c+e.c.b)}(RR(t,220),RR(e,220))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var y$t,w$t,x$t,_$t;tz(pIt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1760);Zlt(401,22,{3:1,36:1,22:1,401:1},Lk);var S$t,k$t=h1(pIt,"RectangleStripOverlapRemover/OverlapRemovalDirection",401,Pjt,(function(){return f3(),X3(uw(k$t,1),P_t,401,0,[_$t,y$t,w$t,x$t])}),(function(t){return f3(),hQ((eZ(),S$t),t)}));Zlt(220,1,{220:1},Vj);tz(pIt,"RectangleStripOverlapRemover/RectangleNode",220);Zlt(1759,1,h_t,Fd),Sxt.td=function(t){!function(t,e){var n,r;switch(r=e.c,n=e.a,t.b.g){case 0:n.d=t.e-r.a-r.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-r.a-r.d;break;case 3:n.c=t.e+r.d}}(this.a,RR(t,220))};tz(pIt,"RectangleStripOverlapRemover/lambda$1$Type",1759);Zlt(1275,1,Skt,Lt),Sxt.ue=function(t,e){return function(t,e){var n,r,i,a;return n=new Rt,1==(i=2==(i=(r=RR(NX(S$(new lj(null,new ZW(t.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[(B5(),NBt),RBt]))),21)).gc())?1:0)&&B_(z9(RR(NX(_$(r.Jc(),new Nt),A2(mtt(0),new nt)),162).a,2),0)&&(i=0),1==(a=2==(a=(r=RR(NX(S$(new lj(null,new ZW(e.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[NBt,RBt]))),21)).gc())?1:0)&&B_(z9(RR(NX(_$(r.Jc(),new jt),A2(mtt(0),new nt)),162).a,2),0)&&(a=0),i<a?-1:i==a?0:1}(RR(t,167),RR(e,167))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1275);Zlt(1278,1,{},Rt),Sxt.Kb=function(t){return RR(t,323).a};tz(bIt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1278);Zlt(1279,1,N_t,Nt),Sxt.Mb=function(t){return RR(t,322).a};tz(bIt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1279);Zlt(1280,1,N_t,jt),Sxt.Mb=function(t){return RR(t,322).a};tz(bIt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1280);Zlt(1273,1,Skt,Ft),Sxt.ue=function(t,e){return function(t,e){var n,r,i;return n=new Bt,(r=RR(NX(S$(new lj(null,new ZW(t.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[(B5(),NBt),RBt]))),21).gc())<(i=RR(NX(S$(new lj(null,new ZW(e.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[NBt,RBt]))),21).gc())?-1:r==i?0:1}(RR(t,167),RR(e,167))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1273);Zlt(1276,1,{},Bt),Sxt.Kb=function(t){return RR(t,323).a};tz(bIt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1276);Zlt(750,1,Skt,zt),Sxt.ue=function(t,e){return function(t,e){var n,r;return(n=t.f.c.length)<(r=e.f.c.length)?-1:n==r?0:1}(RR(t,167),RR(e,167))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/MinNumOfExtensionsComparator",750);Zlt(1271,1,Skt,$t),Sxt.ue=function(t,e){return function(t,e){var n,r;return(n=t.o+t.p)<(r=e.o+e.p)?-1:n==r?0:1}(RR(t,320),RR(e,320))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/MinPerimeterComparator",1271);Zlt(1272,1,Skt,Vt),Sxt.ue=function(t,e){return function(t,e){var n,r,i,a;return(a=t.o)<(n=t.p)?a*=a:n*=n,r=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,r<(i=a+n)?-1:r==i?0:1}(RR(t,320),RR(e,320))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1272);Zlt(1274,1,Skt,Ht),Sxt.ue=function(t,e){return function(t,e){var n,r,i;return n=new Wt,(r=1==(r=RR(NX(S$(new lj(null,new ZW(t.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[(B5(),NBt),RBt]))),21).gc())?1:0)<(i=1==(i=RR(NX(S$(new lj(null,new ZW(e.f,16)),n),xZ(new G,new U,new it,new at,X3(uw(FBt,1),P_t,132,0,[NBt,RBt]))),21).gc())?1:0)?-1:r==i?0:1}(RR(t,167),RR(e,167))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(bIt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1274);Zlt(1277,1,{},Wt),Sxt.Kb=function(t){return RR(t,323).a};tz(bIt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1277);Zlt(760,1,{},Nk),Sxt.Ce=function(t,e){return function(t,e,n){return n.f.c.length>0?bB(t.a,e,n):bB(t.b,e,n)}(this,RR(t,46),RR(e,167))};tz(bIt,"SuccessorCombination",760);Zlt(634,1,{},Gt),Sxt.Ce=function(t,e){var n;return function(t){var e,n,i,a,o;return n=a=RR(t.a,20).a,i=o=RR(t.b,20).a,e=r.Math.max(r.Math.abs(a),r.Math.abs(o)),a<=0&&a==o?(n=0,i=o-1):a==-e&&o!=e?(n=o,i=a,o>=0&&++n):(n=-o,i=a),new KM(k8(n),k8(i))}((n=RR(t,46),RR(e,167),n))};tz(bIt,"SuccessorJitter",634);Zlt(633,1,{},Ut),Sxt.Ce=function(t,e){var n;return function(t){var e,n;if(e=RR(t.a,20).a,n=RR(t.b,20).a,e>=0){if(e==n)return new KM(k8(-e-1),k8(-e-1));if(e==-n)return new KM(k8(-e),k8(n+1))}return r.Math.abs(e)>r.Math.abs(n)?new KM(k8(-e),k8(e<0?n:n+1)):new KM(k8(e+1),k8(n))}((n=RR(t,46),RR(e,167),n))};tz(bIt,"SuccessorLineByLine",633);Zlt(561,1,{},Xt),Sxt.Ce=function(t,e){var n;return function(t){var e,n,r,i;return e=r=RR(t.a,20).a,n=i=RR(t.b,20).a,0==r&&0==i?n-=1:-1==r&&i<=0?(e=0,n-=2):r<=0&&i>0?(e-=1,n-=1):r>=0&&i<0?(e+=1,n+=1):r>0&&i>=0?(e-=1,n+=1):(e+=1,n-=1),new KM(k8(e),k8(n))}((n=RR(t,46),RR(e,167),n))};tz(bIt,"SuccessorManhattan",561);Zlt(1327,1,{},qt),Sxt.Ce=function(t,e){var n;return function(t){var e,n,i;return n=RR(t.a,20).a,i=RR(t.b,20).a,n<(e=r.Math.max(r.Math.abs(n),r.Math.abs(i)))&&i==-e?new KM(k8(n+1),k8(i)):n==e&&i<e?new KM(k8(n),k8(i+1)):n>=-e&&i==e?new KM(k8(n-1),k8(i)):new KM(k8(n),k8(i-1))}((n=RR(t,46),RR(e,167),n))};tz(bIt,"SuccessorMaxNormWindingInMathPosSense",1327);Zlt(396,1,{},Bd),Sxt.Ce=function(t,e){return bB(this,t,e)},Sxt.c=!1,Sxt.d=!1,Sxt.e=!1,Sxt.f=!1;tz(bIt,"SuccessorQuadrantsGeneric",396);Zlt(1328,1,{},Yt),Sxt.Kb=function(t){return RR(t,323).a};var I$t,M$t,C$t,T$t;tz(bIt,"SuccessorQuadrantsGeneric/lambda$0$Type",1328);Zlt(322,22,{3:1,36:1,22:1,322:1},Rk),Sxt.a=!1;var A$t,E$t=h1(xIt,_It,322,Pjt,(function(){return $et(),X3(uw(E$t,1),P_t,322,0,[M$t,I$t,C$t,T$t])}),(function(t){return $et(),hQ((nZ(),A$t),t)}));Zlt(1269,1,{}),Sxt.Ib=function(){var t,e,n,r,i,a;for(n=" ",t=k8(0),i=0;i<this.o;i++)n+=""+t.a,t=k8(zD(t.a));for(n+="\n",t=k8(0),a=0;a<this.p;a++){for(n+=""+t.a,t=k8(zD(t.a)),r=0;r<this.o;r++)0==A5(e=MJ(this,r,a),0)?n+="_":0==A5(e,1)?n+="X":n+="0";n+="\n"}return BP(n,0,n.length-1)},Sxt.o=0,Sxt.p=0;tz(xIt,"TwoBitGrid",1269);Zlt(320,1269,{320:1},F7),Sxt.j=0,Sxt.k=0;tz(xIt,"PlanarGrid",320);Zlt(167,320,{320:1,167:1}),Sxt.g=0,Sxt.i=0;tz(xIt,"Polyomino",167);var P$t=NN(CIt,TIt);Zlt(134,1,AIt,Kt),Sxt.Ve=function(t){return l3(this,t)},Sxt.Ze=function(t,e){return k4(this,t,e)},Sxt.We=function(){return ij(this)},Sxt.Xe=function(t){return Bot(this,t)},Sxt.Ye=function(t){return ZP(this,t)};tz(CIt,"MapPropertyHolder",134);Zlt(1270,134,AIt,mdt);tz(xIt,"Polyominoes",1270);var D$t,O$t,L$t=!1;Zlt(1737,1,h_t,Zt),Sxt.td=function(t){Dmt(RR(t,219))};tz(EIt,"DepthFirstCompaction/0methodref$compactTree$Type",1737);Zlt(791,1,h_t,zd),Sxt.td=function(t){!function(t,e){$j(RR(e.b,63),t),cJ(e.a,new zd(t))}(this.a,RR(t,219))};tz(EIt,"DepthFirstCompaction/lambda$1$Type",791);Zlt(1738,1,h_t,XL),Sxt.td=function(t){!function(t,e,n,r){RR(n.b,63),RR(n.b,63),RR(r.b,63),RR(r.b,63).c.b,gK(r,e,t)}(this.a,this.b,this.c,RR(t,219))};var R$t,N$t;tz(EIt,"DepthFirstCompaction/lambda$2$Type",1738);Zlt(63,1,{63:1},bW);tz(EIt,"Node",63);Zlt(1224,1,{},VA);tz(EIt,"ScanlineOverlapCheck",1224);Zlt(1225,1,{667:1},OV),Sxt.Ke=function(t){QD(this,RR(t,434))};tz(EIt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1225);Zlt(1226,1,Skt,Qt),Sxt.ue=function(t,e){return function(t,e){var n;return 0!=(n=j8(t.b.c,e.b.c))||0!=(n=j8(t.a.a,e.a.a))?n:j8(t.a.b,e.a.b)}(RR(t,63),RR(e,63))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(EIt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1226);Zlt(434,1,{434:1},jk),Sxt.a=!1;tz(EIt,"ScanlineOverlapCheck/Timestamp",434);Zlt(1227,1,Skt,Jt),Sxt.ue=function(t,e){return function(t,e){var n,r,i;if(r=t.b.b.d,t.a||(r+=t.b.b.a),i=e.b.b.d,e.a||(i+=e.b.b.a),0==(n=j8(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(RR(t,434),RR(e,434))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(EIt,"ScanlineOverlapCheck/lambda$0$Type",1227);Zlt(545,1,{},te);tz(PIt,"SVGImage",545);Zlt(323,1,{323:1},qL),Sxt.Ib=function(){return"("+this.a+Fxt+this.b+Fxt+this.c+")"};tz(PIt,"UniqueTriple",323);Zlt(207,1,DIt);tz(OIt,"AbstractLayoutProvider",207);Zlt(1105,207,DIt,ee),Sxt.$e=function(t,e){var n,r,i;if(qat(e,LIt,1),this.a=Dy(VD(_ht(t,(Cet(),uVt)))),fK(t,Q$t)&&(r=HD(_ht(t,Q$t)),(n=ngt(I1(),r))&&RR(fH(n.f),207).$e(t,o2(e,1))),i=new AX(this.a),this.b=function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w;for(t.e=e,s=elt(e),y=new Vb,r=new ed(s);r.a<r.c.c.length;){for(n=RR(xG(r),14),w=new Vb,y.c[y.c.length]=w,u=new Pv,f=n.Ic();f.Ob();){for(a=rgt(t,h=RR(f.Pb(),34),!0,0,0),w.c[w.c.length]=a,new YM(d=h.i,p=h.j),!h.n&&(h.n=new FF(cne,h,1,7)),l=new SE(h.n);l.e!=l.i.gc();)i=rgt(t,RR(Htt(l),137),!1,d,p),w.c[w.c.length]=i;for(!h.c&&(h.c=new FF(hne,h,9,9)),b=new SE(h.c);b.e!=b.i.gc();)for(o=rgt(t,g=RR(Htt(b),122),!1,d,p),w.c[w.c.length]=o,v=g.i+d,m=g.j+p,!g.n&&(g.n=new FF(cne,g,1,7)),c=new SE(g.n);c.e!=c.i.gc();)i=rgt(t,RR(Htt(c),137),!1,v,m),w.c[w.c.length]=i;W0(u,MV(u1(X3(uw(wjt,1),zxt,19,0,[uft(h),sft(h)]))))}Ift(t,u,w)}return t.f=new Ow(y),l3(t.f,e),t.f}(i,t),0===RR(_ht(t,(H5(),U$t)),475).g)Plt(new ne,this.b),Bet(t,eVt,Bot(this.b,eVt));else Q_();!function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S;for(f=(a=t.f.b).a,l=a.b,p=t.e.g,d=t.e.f,$T(t.e,a.a,a.b),_=f/p,S=l/d,c=new SE(g$(t.e));c.e!=c.i.gc();)UJ(u=RR(Htt(c),137),u.i*_),XJ(u,u.j*S);for(m=new SE(b$(t.e));m.e!=m.i.gc();)w=(v=RR(Htt(m),122)).i,x=v.j,w>0&&UJ(v,w*_),x>0&&XJ(v,x*S);for(S2(t.b,new ce),e=new Vb,s=new b5(new jf(t.c).a);s.b;)r=RR((o=kJ(s)).ad(),80),n=RR(o.bd(),391).a,i=Udt(r,!1,!1),evt(h=Kat(Dot(r),Hst(i),n),i),(y=Oot(r))&&-1==mZ(e,y,0)&&(e.c[e.c.length]=y,hV(y,(MP(0!=h.b),RR(h.a.a.c,8)),n));for(b=new b5(new jf(t.d).a);b.b;)r=RR((g=kJ(b)).ad(),80),n=RR(g.bd(),391).a,i=Udt(r,!1,!1),h=Kat(Rot(r),i5(Hst(i)),n),evt(h=i5(h),i),(y=Lot(r))&&-1==mZ(e,y,0)&&(e.c[e.c.length]=y,hV(y,(MP(0!=h.b),RR(h.c.b.c,8)),n))}(i),Bet(t,tVt,this.b),Sst(e)},Sxt.a=0;tz(RIt,"DisCoLayoutProvider",1105);Zlt(1218,1,{},ne),Sxt.c=!1,Sxt.e=0,Sxt.f=0;tz(RIt,"DisCoPolyominoCompactor",1218);Zlt(554,1,{554:1},kj),Sxt.b=!0;var j$t,F$t,B$t,z$t;tz(NIt,"DCComponent",554);Zlt(390,22,{3:1,36:1,22:1,390:1},Fk),Sxt.a=!1;var $$t,V$t=h1(NIt,"DCDirection",390,Pjt,(function(){return Vet(),X3(uw(V$t,1),P_t,390,0,[F$t,j$t,B$t,z$t])}),(function(t){return Vet(),hQ((rZ(),$$t),t)}));Zlt(265,134,{3:1,265:1,94:1,134:1},iht);tz(NIt,"DCElement",265);Zlt(391,1,{391:1},ert),Sxt.c=0;tz(NIt,"DCExtension",391);Zlt(738,134,AIt,Ow);var H$t;tz(NIt,"DCGraph",738);Zlt(475,22,{3:1,36:1,22:1,475:1},XP);var W$t,G$t,U$t,X$t,q$t,Y$t,K$t=h1(jIt,FIt,475,Pjt,(function(){return kS(),X3(uw(K$t,1),P_t,475,0,[H$t])}),(function(t){return kS(),hQ((kU(),W$t),t)}));Zlt(833,1,qkt,Nl),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,BIt),HIt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),X$t),(vut(),H6t)),K$t),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,zIt),HIt),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),X6t),MFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,$It),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),U6t),gjt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,VIt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),U6t),gjt),a9(F6t)))),Bvt((new jl,t))};var Z$t,Q$t,J$t,tVt,eVt,nVt,rVt,iVt,aVt,oVt,sVt,uVt;tz(jIt,"DisCoMetaDataProvider",833);Zlt(978,1,qkt,jl),Sxt.Qe=function(t){Bvt(t)};tz(jIt,"DisCoOptions",978);Zlt(979,1,{},re),Sxt._e=function(){return new ee},Sxt.af=function(t){};tz(jIt,"DisCoOptions/DiscoFactory",979);Zlt(555,167,{320:1,167:1,555:1},Qht),Sxt.a=0,Sxt.b=0,Sxt.c=0,Sxt.d=0;var cVt,lVt,hVt;tz("org.eclipse.elk.alg.disco.structures","DCPolyomino",555);Zlt(1240,1,N_t,ie),Sxt.Mb=function(t){return gT(t)};tz(YIt,"ElkGraphComponentsProcessor/lambda$0$Type",1240);Zlt(1241,1,{},ae),Sxt.Kb=function(t){return vV(),Dot(RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$1$Type",1241);Zlt(1242,1,N_t,oe),Sxt.Mb=function(t){return function(t){return vV(),Dot(t)==rW(Rot(t))}(RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$2$Type",1242);Zlt(1243,1,{},se),Sxt.Kb=function(t){return vV(),Rot(RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$3$Type",1243);Zlt(1244,1,N_t,ue),Sxt.Mb=function(t){return function(t){return vV(),Rot(t)==rW(Dot(t))}(RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$4$Type",1244);Zlt(1245,1,N_t,$d),Sxt.Mb=function(t){return function(t,e){return vV(),t==rW(Dot(e))||t==rW(Rot(e))}(this.a,RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$5$Type",1245);Zlt(1246,1,{},Vd),Sxt.Kb=function(t){return function(t,e){return vV(),t==Dot(e)?Rot(e):Dot(e)}(this.a,RR(t,80))};tz(YIt,"ElkGraphComponentsProcessor/lambda$6$Type",1246);Zlt(1215,1,{},AX),Sxt.a=0;tz(YIt,"ElkGraphTransformer",1215);Zlt(1216,1,{},ce),Sxt.Od=function(t,e){!function(t,e,n){var r,i,a,o;t.a=n.b.d,zA(e,349)?(yq(a=Hst(i=Udt(RR(e,80),!1,!1)),r=new Hd(t)),evt(a,i),null!=e.Xe((fxt(),r9t))&&yq(RR(e.Xe(r9t),74),r)):((o=RR(e,464)).Cg(o.yg()+t.a.a),o.Dg(o.zg()+t.a.b))}(this,RR(t,160),RR(e,265))};tz(YIt,"ElkGraphTransformer/OffsetApplier",1216);Zlt(1217,1,h_t,Hd),Sxt.td=function(t){!function(t,e){nD(e,t.a.a.a,t.a.a.b)}(this,RR(t,8))};tz(YIt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1217);Zlt(736,1,{},le);tz(tMt,eMt,736);Zlt(1205,1,Skt,he),Sxt.ue=function(t,e){return function(t,e){var n,r,i;return 0==(n=RR(Bot(e,(fdt(),DVt)),20).a-RR(Bot(t,DVt),20).a)?(r=$O(LA(RR(Bot(t,(y0(),$Vt)),8)),RR(Bot(t,VVt),8)),i=$O(LA(RR(Bot(e,$Vt),8)),RR(Bot(e,VVt),8)),j8(r.a*r.b,i.a*i.b)):n}(RR(t,229),RR(e,229))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(tMt,nMt,1205);Zlt(723,207,DIt,Fv),Sxt.$e=function(t,e){sut(this,t,e)};tz(tMt,"ForceLayoutProvider",723);Zlt(354,134,{3:1,354:1,94:1,134:1});tz(rMt,"FParticle",354);Zlt(552,354,{3:1,552:1,354:1,94:1,134:1},FB),Sxt.Ib=function(){var t;return this.a?(t=mZ(this.a.a,this,0))>=0?"b"+t+"["+LX(this.a)+"]":"b["+LX(this.a)+"]":"b_"+uP(this)};tz(rMt,"FBendpoint",552);Zlt(281,134,{3:1,281:1,94:1,134:1},AO),Sxt.Ib=function(){return LX(this)};tz(rMt,"FEdge",281);Zlt(229,134,{3:1,229:1,94:1,134:1},fY);var fVt=tz(rMt,"FGraph",229);Zlt(441,354,{3:1,441:1,354:1,94:1,134:1},xX),Sxt.Ib=function(){return null==this.b||0==this.b.length?"l["+LX(this.a)+"]":"l_"+this.b};tz(rMt,"FLabel",441);Zlt(144,354,{3:1,144:1,354:1,94:1,134:1},dz),Sxt.Ib=function(){return gG(this)},Sxt.b=0;tz(rMt,"FNode",144);Zlt(1972,1,{}),Sxt.cf=function(t){Tbt(this,t)},Sxt.df=function(){grt(this)},Sxt.d=0;tz(aMt,"AbstractForceModel",1972);Zlt(621,1972,{621:1},F2),Sxt.bf=function(t,e){var n,i,a,o,s;return Ict(this.f,t,e),a=$O(LA(e.d),t.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),i=r.Math.max(0,s-Mz(t.e)/2-Mz(e.e)/2),o=(n=e5(this.e,t,e))>0?-function(t,e){return t>0?r.Math.log(t/e):-100}(i,this.c)*n:function(t,e){return t>0?e/(t*t):100*e}(i,this.b)*RR(Bot(t,(fdt(),DVt)),20).a,lE(a,o/s),a},Sxt.cf=function(t){Tbt(this,t),this.a=RR(Bot(t,(fdt(),CVt)),20).a,this.c=Dy(VD(Bot(t,FVt))),this.b=Dy(VD(Bot(t,LVt)))},Sxt.ef=function(t){return t<this.a},Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(aMt,"EadesModel",621);Zlt(622,1972,{622:1},dN),Sxt.bf=function(t,e){var n,i,a,o,s;return Ict(this.f,t,e),a=$O(LA(e.d),t.d),s=r.Math.sqrt(a.a*a.a+a.b*a.b),o=function(t,e){return t>0?e*e/t:e*e*100}(i=r.Math.max(0,s-Mz(t.e)/2-Mz(e.e)/2),this.a)*RR(Bot(t,(fdt(),DVt)),20).a,(n=e5(this.e,t,e))>0&&(o-=function(t,e){return t*t/e}(i,this.a)*n),lE(a,o*this.b/s),a},Sxt.cf=function(t){var e,n,i,a,o,s,u;for(Tbt(this,t),this.b=Dy(VD(Bot(t,(fdt(),BVt)))),this.c=this.b/RR(Bot(t,CVt),20).a,i=t.e.c.length,o=0,a=0,u=new ed(t.e);u.a<u.c.c.length;)o+=(s=RR(xG(u),144)).e.a,a+=s.e.b;e=o*a,n=Dy(VD(Bot(t,FVt)))*cIt,this.a=r.Math.sqrt(e/(2*i))*n},Sxt.df=function(){grt(this),this.b-=this.c},Sxt.ef=function(t){return this.b>0},Sxt.a=0,Sxt.b=0,Sxt.c=0;var dVt,pVt,gVt,bVt,vVt,mVt,yVt,wVt;tz(aMt,"FruchtermanReingoldModel",622);Zlt(828,1,qkt,Fl),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,oMt),""),"Force Model"),"Determines the model for force calculation."),gVt),(vut(),H6t)),zVt),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,sMt),""),"Iterations"),"The number of iterations on the force model."),k8(300)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,uMt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),k8(0)),G6t),bFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,cMt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),lMt),V6t),fFt),a9(F6t)))),nU(t,cMt,oMt,wVt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,hMt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),V6t),fFt),a9(F6t)))),nU(t,hMt,oMt,vVt),Wyt((new Bl,t))};var xVt,_Vt;tz(fMt,"ForceMetaDataProvider",828);Zlt(418,22,{3:1,36:1,22:1,418:1},Bk);var SVt,kVt,IVt,MVt,CVt,TVt,AVt,EVt,PVt,DVt,OVt,LVt,RVt,NVt,jVt,FVt,BVt,zVt=h1(fMt,"ForceModelStrategy",418,Pjt,(function(){return jQ(),X3(uw(zVt,1),P_t,418,0,[xVt,_Vt])}),(function(t){return jQ(),hQ((cq(),SVt),t)}));Zlt(968,1,qkt,Bl),Sxt.Qe=function(t){Wyt(t)};tz(fMt,"ForceOptions",968);Zlt(969,1,{},be),Sxt._e=function(){return new Fv},Sxt.af=function(t){};var $Vt,VVt,HVt,WVt,GVt,UVt,XVt,qVt,YVt,KVt;tz(fMt,"ForceOptions/ForceFactory",969);Zlt(829,1,qkt,zl),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,CMt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(_P(),!1)),(vut(),$6t)),oFt),a9((pet(),j6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,TMt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),V6t),fFt),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[R6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,AMt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),XVt),H6t),uHt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,EMt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),lMt),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,PMt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),k8(Lxt)),G6t),bFt),a9(F6t)))),Pmt((new $l,t))};var ZVt,QVt,JVt,tHt,eHt,nHt,rHt;tz(fMt,"StressMetaDataProvider",829);Zlt(972,1,qkt,$l),Sxt.Qe=function(t){Pmt(t)};tz(fMt,"StressOptions",972);Zlt(973,1,{},pe),Sxt._e=function(){return new EO},Sxt.af=function(t){};tz(fMt,"StressOptions/StressFactory",973);Zlt(1101,207,DIt,EO),Sxt.$e=function(t,e){var n,r,i,a;for(qat(e,OMt,1),Ay($D(_ht(t,(Yet(),eHt))))||sut(new Fv,t,o2(e,1)),r=_4(t),a=(n=Xbt(this.a,r)).Ic();a.Ob();)(i=RR(a.Pb(),229)).e.c.length<=1||(xmt(this.b,i),Iht(this.b),cJ(i.d,new ge));gwt(r=Iwt(n)),Sst(e)};tz(LMt,"StressLayoutProvider",1101);Zlt(1102,1,h_t,ge),Sxt.td=function(t){Nvt(RR(t,441))};tz(LMt,"StressLayoutProvider/lambda$0$Type",1102);Zlt(970,1,{},Ev),Sxt.c=0,Sxt.e=0,Sxt.g=0;var iHt,aHt,oHt;tz(LMt,"StressMajorization",970);Zlt(376,22,{3:1,36:1,22:1,376:1},zk);var sHt,uHt=h1(LMt,"StressMajorization/Dimension",376,Pjt,(function(){return EZ(),X3(uw(uHt,1),P_t,376,0,[aHt,iHt,oHt])}),(function(t){return EZ(),hQ((NY(),sHt),t)}));Zlt(971,1,Skt,Wd),Sxt.ue=function(t,e){return function(t,e,n){return j8(t[e.b],t[n.b])}(this.a,RR(t,144),RR(e,144))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(LMt,"StressMajorization/lambda$0$Type",971);Zlt(1202,1,{},IG);tz(NMt,"ElkLayered",1202);Zlt(1203,1,h_t,Gd),Sxt.td=function(t){!function(t,e){RR(Bot(e,(Zwt(),GZt)),333)==(VX(),PUt)&&S4(e,GZt,t)}(this.a,RR(t,38))};tz(NMt,"ElkLayered/lambda$0$Type",1203);Zlt(1204,1,h_t,Ud),Sxt.td=function(t){!function(t,e){S4(e,(Zwt(),BZt),t)}(this.a,RR(t,38))};var cHt,lHt,hHt;tz(NMt,"ElkLayered/lambda$1$Type",1204);Zlt(1237,1,{},qA);tz(NMt,"GraphConfigurator",1237);Zlt(742,1,h_t,Xd),Sxt.td=function(t){bst(this.a,RR(t,10))};tz(NMt,"GraphConfigurator/lambda$0$Type",742);Zlt(743,1,{},de),Sxt.Kb=function(t){return Pit(),new lj(null,new ZW(RR(t,29).a,16))};tz(NMt,"GraphConfigurator/lambda$1$Type",743);Zlt(744,1,h_t,qd),Sxt.td=function(t){bst(this.a,RR(t,10))};tz(NMt,"GraphConfigurator/lambda$2$Type",744);Zlt(1100,207,DIt,Vv),Sxt.$e=function(t,e){var n;n=Cvt(new Kv,t),DC(_ht(t,(Zwt(),lQt)))===DC((P8(),H7t))?$9(this.a,n,e):hlt(this.a,n,e),lwt(new Vl,n)};var fHt,dHt,pHt,gHt,bHt;tz(NMt,"LayeredLayoutProvider",1100);Zlt(353,22,{3:1,36:1,22:1,353:1},$k);var vHt,mHt,yHt=h1(NMt,"LayeredPhases",353,Pjt,(function(){return zot(),X3(uw(yHt,1),P_t,353,0,[fHt,dHt,pHt,gHt,bHt])}),(function(t){return zot(),hQ((RQ(),vHt),t)}));Zlt(1621,1,{},O1),Sxt.i=0;var wHt;tz(jMt,"ComponentsToCGraphTransformer",1621);Zlt(1622,1,{},ve),Sxt.ff=function(t,e){return r.Math.min(null!=t.a?Dy(t.a):t.c.i,null!=e.a?Dy(e.a):e.c.i)},Sxt.gf=function(t,e){return r.Math.min(null!=t.a?Dy(t.a):t.c.i,null!=e.a?Dy(e.a):e.c.i)};tz(jMt,"ComponentsToCGraphTransformer/1",1622);Zlt(79,1,{79:1}),Sxt.i=0,Sxt.k=!0,Sxt.o=NSt;var xHt=tz(FMt,"CNode",79);Zlt(454,79,{454:1,79:1},yP,Ntt),Sxt.Ib=function(){return""};var _Ht,SHt;tz(jMt,"ComponentsToCGraphTransformer/CRectNode",454);Zlt(1593,1,{},me);tz(jMt,"OneDimensionalComponentsCompaction",1593);Zlt(1594,1,{},fe),Sxt.Kb=function(t){return function(t){return p6(),_P(),0!=RR(t.a,79).d.e}(RR(t,46))},Sxt.Fb=function(t){return this===t};tz(jMt,"OneDimensionalComponentsCompaction/lambda$0$Type",1594);Zlt(1595,1,{},ye),Sxt.Kb=function(t){return function(t){return p6(),_P(),!!(S9(RR(t.a,79).j,RR(t.b,108))||0!=RR(t.a,79).d.e&&S9(RR(t.a,79).j,RR(t.b,108)))}(RR(t,46))},Sxt.Fb=function(t){return this===t};tz(jMt,"OneDimensionalComponentsCompaction/lambda$1$Type",1595);Zlt(1624,1,{},pz);tz(FMt,"CGraph",1624);Zlt(189,1,{189:1},jtt),Sxt.b=0,Sxt.c=0,Sxt.e=0,Sxt.g=!0,Sxt.i=NSt;tz(FMt,"CGroup",189);Zlt(1623,1,{},Se),Sxt.ff=function(t,e){return r.Math.max(null!=t.a?Dy(t.a):t.c.i,null!=e.a?Dy(e.a):e.c.i)},Sxt.gf=function(t,e){return r.Math.max(null!=t.a?Dy(t.a):t.c.i,null!=e.a?Dy(e.a):e.c.i)};var kHt;tz(FMt,Tkt,1623);Zlt(1625,1,{},slt),Sxt.d=!1;var IHt=tz(FMt,Okt,1625);Zlt(1626,1,{},ke),Sxt.Kb=function(t){return wS(),_P(),0!=RR(RR(t,46).a,79).d.e},Sxt.Fb=function(t){return this===t};tz(FMt,Lkt,1626);Zlt(802,1,{},WN),Sxt.a=!1,Sxt.b=!1,Sxt.c=!1,Sxt.d=!1;tz(FMt,Rkt,802);Zlt(1797,1,{},Xj);tz(BMt,Nkt,1797);var MHt=NN(zMt,Ikt);Zlt(1798,1,{366:1},RV),Sxt.Ke=function(t){!function(t,e){var n,r,i;e.a?(CB(t.b,e.b),t.a[e.b.i]=RR(dL(t.b,e.b),79),(n=RR(fL(t.b,e.b),79))&&(t.a[n.i]=e.b)):(!!(r=RR(dL(t.b,e.b),79))&&r==t.a[e.b.i]&&!!r.d&&r.d!=e.b.d&&r.f.Dc(e.b),!!(i=RR(fL(t.b,e.b),79))&&t.a[i.i]==e.b&&!!i.d&&i.d!=e.b.d&&e.b.f.Dc(i),sP(t.b,e.b))}(this,RR(t,460))};tz(BMt,jkt,1798);Zlt(1799,1,Skt,Ie),Sxt.ue=function(t,e){return function(t,e){return j8(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}(RR(t,79),RR(e,79))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(BMt,Fkt,1799);Zlt(460,1,{460:1},Gk),Sxt.a=!1;tz(BMt,Bkt,460);Zlt(1800,1,Skt,Me),Sxt.ue=function(t,e){return function(t,e){var n,r,i;if(r=t.b.g.d,t.a||(r+=t.b.g.a),i=e.b.g.d,e.a||(i+=e.b.g.a),0==(n=j8(r,i))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(RR(t,460),RR(e,460))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(BMt,zkt,1800);Zlt(140,1,{140:1},Uk,JR),Sxt.Fb=function(t){var e;return null!=t&&(PHt==g5(t)&&(e=RR(t,140),l$(this.c,e.c)&&l$(this.d,e.d)))},Sxt.Hb=function(){return J5(X3(uw(gjt,1),zxt,1,5,[this.c,this.d]))},Sxt.Ib=function(){return"("+this.c+Fxt+this.d+(this.a?"cx":"")+this.b+")"},Sxt.a=!0,Sxt.c=0,Sxt.d=0;var CHt,THt,AHt,EHt,PHt=tz(zMt,"Point",140);Zlt(400,22,{3:1,36:1,22:1,400:1},Yk);var DHt,OHt,LHt,RHt,NHt,jHt,FHt=h1(zMt,"Point/Quadrant",400,Pjt,(function(){return p4(),X3(uw(FHt,1),P_t,400,0,[CHt,EHt,THt,AHt])}),(function(t){return p4(),hQ((iZ(),DHt),t)}));Zlt(1612,1,{},Hv),Sxt.b=null,Sxt.c=null,Sxt.d=null,Sxt.e=null,Sxt.f=null;var BHt;tz(zMt,"RectilinearConvexHull",1612);Zlt(566,1,{366:1},Tet),Sxt.Ke=function(t){!function(t,e){t.a.ue(e.d,t.b)>0&&(LR(t.c,new JR(e.c,e.d,t.d)),t.b=e.d)}(this,RR(t,140))},Sxt.b=0;tz(zMt,"RectilinearConvexHull/MaximalElementsEventHandler",566);Zlt(1614,1,Skt,xe),Sxt.ue=function(t,e){return function(t,e){return SS(),j8((wz(t),t),(wz(e),e))}(VD(t),VD(e))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1614);Zlt(1613,1,{366:1},UQ),Sxt.Ke=function(t){Vft(this,RR(t,140))},Sxt.a=0,Sxt.b=null,Sxt.c=null,Sxt.d=null,Sxt.e=null;tz(zMt,"RectilinearConvexHull/RectangleEventHandler",1613);Zlt(1615,1,Skt,_e),Sxt.ue=function(t,e){return function(t,e){return BQ(),t.c==e.c?j8(e.d,t.d):j8(t.c,e.c)}(RR(t,140),RR(e,140))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/lambda$0$Type",1615);Zlt(1616,1,Skt,we),Sxt.ue=function(t,e){return function(t,e){return BQ(),t.c==e.c?j8(t.d,e.d):j8(t.c,e.c)}(RR(t,140),RR(e,140))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/lambda$1$Type",1616);Zlt(1617,1,Skt,Ce),Sxt.ue=function(t,e){return function(t,e){return BQ(),t.c==e.c?j8(e.d,t.d):j8(e.c,t.c)}(RR(t,140),RR(e,140))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/lambda$2$Type",1617);Zlt(1618,1,Skt,Te),Sxt.ue=function(t,e){return function(t,e){return BQ(),t.c==e.c?j8(t.d,e.d):j8(e.c,t.c)}(RR(t,140),RR(e,140))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/lambda$3$Type",1618);Zlt(1619,1,Skt,Ae),Sxt.ue=function(t,e){return Vot(RR(t,140),RR(e,140))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zMt,"RectilinearConvexHull/lambda$4$Type",1619);Zlt(1620,1,{},vW);tz(zMt,"Scanline",1620);Zlt(1974,1,{});var zHt;tz($Mt,"AbstractGraphPlacer",1974);Zlt(503,1,{503:1},cN);tz($Mt,"ComponentGroup",503);Zlt(1265,1974,{},Wv),Sxt.mf=function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;if(this.a.c=hK(gjt,zxt,1,0,5,1),e.a.c=hK(gjt,zxt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(l3(e,a=RR(t.Xb(0),38)),r=t.Ic();r.Ob();)K8(this,RR(r.Pb(),38));for(d=new fx,i=Dy(VD(Bot(a,(Zwt(),yJt)))),u=new ed(this.a);u.a<u.c.c.length;)c=$wt(o=RR(xG(u),503),i),LK(UB(o.a),d.a,d.b),d.a+=c.a,d.b+=c.b;if(e.f.a=d.a-i,e.f.b=d.b-i,Ay($D(Bot(a,OZt)))&&DC(Bot(a,eQt))===DC((V9(),x7t))){for(f=t.Ic();f.Ob();)ogt(l=RR(f.Pb(),38),l.c.a,l.c.b);for(Qwt(n=new Ee,t,i),h=t.Ic();h.Ob();)zO(nT((l=RR(h.Pb(),38)).c),n.e);zO(nT(e.f),n.a)}for(s=new ed(this.a);s.a<s.c.c.length;)OK(e,UB((o=RR(xG(s),503)).a))};tz($Mt,"ComponentGroupGraphPlacer",1265);Zlt(771,1,{},Ee);tz($Mt,"ComponentsCompactor",771);Zlt(1437,12,qSt,_q),Sxt.Dc=function(t){return sat(this,RR(t,140))};tz($Mt,"ComponentsCompactor/Hullpoints",1437);Zlt(1434,1,{820:1},nnt),Sxt.a=!1;tz($Mt,"ComponentsCompactor/InternalComponent",1434);Zlt(1433,1,b_t,Gv),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new ed(this.a)};tz($Mt,"ComponentsCompactor/InternalConnectedComponents",1433);Zlt(1436,1,{585:1},ult),Sxt.jf=function(){return null},Sxt.kf=function(){return this.a},Sxt.hf=function(){return wet(this.d)},Sxt.lf=function(){return this.b};tz($Mt,"ComponentsCompactor/InternalExternalExtension",1436);Zlt(1435,1,{585:1},qv),Sxt.kf=function(){return this.a},Sxt.hf=function(){return wet(this.d)},Sxt.jf=function(){return this.c},Sxt.lf=function(){return this.b};tz($Mt,"ComponentsCompactor/InternalUnionExternalExtension",1435);Zlt(1439,1,{},Fdt);tz($Mt,"ComponentsCompactor/OuterSegments",1439);Zlt(1438,1,{},Uv);tz($Mt,"ComponentsCompactor/Segments",1438);Zlt(1238,1,{},PO);tz($Mt,eMt,1238);Zlt(1239,1,Skt,Pe),Sxt.ue=function(t,e){return function(t,e){var n,i,a,o,s;for(n=Lxt,s=new ed(t.a);s.a<s.c.c.length;)ZP(a=RR(xG(s),10),(dxt(),Dqt))&&(n=r.Math.min(n,RR(Bot(a,Dqt),20).a));for(i=Lxt,o=new ed(e.a);o.a<o.c.c.length;)ZP(a=RR(xG(o),10),(dxt(),Dqt))&&(i=r.Math.min(i,RR(Bot(a,Dqt),20).a));return n<i?-1:n>i?1:0}(RR(t,38),RR(e,38))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz($Mt,"ComponentsProcessor/lambda$0$Type",1239);Zlt(1263,1974,{},De),Sxt.mf=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;if(1!=t.gc()){if(t.dc())return e.a.c=hK(gjt,zxt,1,0,5,1),e.f.a=0,void(e.f.b=0);for(c=t.Ic();c.Ob();){for(v=0,g=new ed((s=RR(c.Pb(),38)).a);g.a<g.c.c.length;)p=RR(xG(g),10),v+=RR(Bot(p,(Zwt(),lJt)),20).a;s.p=v}for(mV(),t.$c(new Oe),o=RR(t.Xb(0),38),e.a.c=hK(gjt,zxt,1,0,5,1),l3(e,o),d=0,w=0,l=t.Ic();l.Ob();)m=(s=RR(l.Pb(),38)).f,d=r.Math.max(d,m.a),w+=m.a*m.b;for(d=r.Math.max(d,r.Math.sqrt(w)*Dy(VD(Bot(e,(Zwt(),PZt))))),x=0,_=0,f=0,n=a=Dy(VD(Bot(e,yJt))),u=t.Ic();u.Ob();)x+(m=(s=RR(u.Pb(),38)).f).a>d&&(x=0,_+=f+a,f=0),ogt(s,x+(b=s.c).a,_+b.b),nT(b),n=r.Math.max(n,x+m.a),f=r.Math.max(f,m.b),x+=m.a+a;if(e.f.a=n,e.f.b=_+f,Ay($D(Bot(o,OZt)))){for(Qwt(i=new Ee,t,a),h=t.Ic();h.Ob();)zO(nT(RR(h.Pb(),38).c),i.e);zO(nT(e.f),i.a)}OK(e,t)}else(y=RR(t.Xb(0),38))!=e&&(e.a.c=hK(gjt,zxt,1,0,5,1),Tgt(e,y,0,0),l3(e,y),uV(e.d,y.d),e.f.a=y.f.a,e.f.b=y.f.b)};tz($Mt,"SimpleRowGraphPlacer",1263);Zlt(1264,1,Skt,Oe),Sxt.ue=function(t,e){return function(t,e){var n;return 0==(n=e.p-t.p)&&DC(Bot(t,(Zwt(),NZt)))===DC((G4(),C1t))?j8(t.f.a*t.f.b,e.f.a*e.f.b):n}(RR(t,38),RR(e,38))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var $Ht;tz($Mt,"SimpleRowGraphPlacer/1",1264);Zlt(1236,1,$kt,Le),Sxt.Lb=function(t){var e;return!!(e=RR(Bot(RR(t,242).b,(Zwt(),yQt)),74))&&0!=e.b},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){var e;return!!(e=RR(Bot(RR(t,242).b,(Zwt(),yQt)),74))&&0!=e.b};tz(WMt,"CompoundGraphPostprocessor/1",1236);Zlt(1235,1,GMt,Yv),Sxt.nf=function(t,e){gnt(this,RR(t,38),e)};tz(WMt,"CompoundGraphPreprocessor",1235);Zlt(435,1,{435:1},w9),Sxt.c=!1;tz(WMt,"CompoundGraphPreprocessor/ExternalPort",435);Zlt(242,1,{242:1},ZL),Sxt.Ib=function(){return JP(this.c)+":"+Hct(this.b)};tz(WMt,"CrossHierarchyEdge",242);Zlt(747,1,Skt,Yd),Sxt.ue=function(t,e){return function(t,e,n){var r,i;return e.c==(M1(),N1t)&&n.c==R1t?-1:e.c==R1t&&n.c==N1t?1:(r=Q5(e.a,t.a),i=Q5(n.a,t.a),e.c==N1t?i-r:r-i)}(this,RR(t,242),RR(e,242))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(WMt,"CrossHierarchyEdgeComparator",747);Zlt(299,134,{3:1,299:1,94:1,134:1}),Sxt.p=0;tz(UMt,"LGraphElement",299);Zlt(18,299,{3:1,18:1,299:1,94:1,134:1},NV),Sxt.Ib=function(){return Hct(this)};var VHt=tz(UMt,"LEdge",18);Zlt(38,299,{3:1,19:1,38:1,299:1,94:1,134:1},L1),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new ed(this.b)},Sxt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Uot(this.a):0==this.a.c.length?"G-layered"+Uot(this.b):"G[layerless"+Uot(this.a)+", layers"+Uot(this.b)+"]"};var HHt=tz(UMt,"LGraph",38);Zlt(646,1,{}),Sxt.of=function(){return this.e.n},Sxt.Xe=function(t){return Bot(this.e,t)},Sxt.pf=function(){return this.e.o},Sxt.qf=function(){return this.e.p},Sxt.Ye=function(t){return ZP(this.e,t)},Sxt.rf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},Sxt.sf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},Sxt.tf=function(t){this.e.p=t};tz(UMt,"LGraphAdapters/AbstractLShapeAdapter",646);Zlt(569,1,{818:1},Kd),Sxt.uf=function(){var t,e;if(!this.b)for(this.b=VP(this.a.b.c.length),e=new ed(this.a.b);e.a<e.c.c.length;)t=RR(xG(e),69),LR(this.b,new Zd(t));return this.b},Sxt.b=null;tz(UMt,"LGraphAdapters/LEdgeAdapter",569);Zlt(645,1,{},D$),Sxt.vf=function(){return Kbt(this)},Sxt.of=function(){throw Jb(new zy(qMt))},Sxt.Xe=function(t){return Bot(this.a,t)},Sxt.pf=function(){return this.a.f},Sxt.qf=function(){return this.a.p},Sxt.Ye=function(t){return ZP(this.a,t)},Sxt.rf=function(t){throw Jb(new zy(qMt))},Sxt.sf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},Sxt.tf=function(t){this.a.p=t},Sxt.b=null,Sxt.d=!1,Sxt.e=!1;tz(UMt,"LGraphAdapters/LGraphAdapter",645);Zlt(568,646,{183:1},Zd);tz(UMt,"LGraphAdapters/LLabelAdapter",568);Zlt(567,646,{816:1},tR),Sxt.wf=function(){return this.b},Sxt.xf=function(){return mV(),mV(),YFt},Sxt.uf=function(){var t,e;if(!this.a)for(this.a=VP(RR(this.e,10).b.c.length),e=new ed(RR(this.e,10).b);e.a<e.c.c.length;)t=RR(xG(e),69),LR(this.a,new Zd(t));return this.a},Sxt.yf=function(){var t;return new HO((t=RR(this.e,10).d).d,t.c,t.a,t.b)},Sxt.zf=function(){return mV(),mV(),YFt},Sxt.Af=function(){var t,e;if(!this.c)for(this.c=VP(RR(this.e,10).j.c.length),e=new ed(RR(this.e,10).j);e.a<e.c.c.length;)t=RR(xG(e),11),LR(this.c,new Xk(t,this.d));return this.c},Sxt.Bf=function(){return Ay($D(Bot(RR(this.e,10),(dxt(),rqt))))},Sxt.Cf=function(t){RR(this.e,10).d.b=t.b,RR(this.e,10).d.d=t.d,RR(this.e,10).d.c=t.c,RR(this.e,10).d.a=t.a},Sxt.Df=function(t){RR(this.e,10).f.b=t.b,RR(this.e,10).f.d=t.d,RR(this.e,10).f.c=t.c,RR(this.e,10).f.a=t.a},Sxt.a=null,Sxt.b=null,Sxt.c=null,Sxt.d=!1;tz(UMt,"LGraphAdapters/LNodeAdapter",567);Zlt(1692,646,{817:1},Xk),Sxt.xf=function(){var t,e,n,r;if(this.d&&RR(this.e,11).i.k==(vst(),KHt))return mV(),mV(),YFt;if(!this.a){for(this.a=new Vb,n=new ed(RR(this.e,11).e);n.a<n.c.c.length;)t=RR(xG(n),18),LR(this.a,new Kd(t));if(this.d&&(r=RR(Bot(RR(this.e,11),(dxt(),$qt)),10)))for(e=new xF(zE(p9(r).a.Ic(),new p));Qlt(e);)t=RR(dq(e),18),LR(this.a,new Kd(t))}return this.a},Sxt.uf=function(){var t,e;if(!this.b)for(this.b=VP(RR(this.e,11).f.c.length),e=new ed(RR(this.e,11).f);e.a<e.c.c.length;)t=RR(xG(e),69),LR(this.b,new Zd(t));return this.b},Sxt.zf=function(){var t,e,n,r;if(this.d&&RR(this.e,11).i.k==(vst(),KHt))return mV(),mV(),YFt;if(!this.c){for(this.c=new Vb,n=new ed(RR(this.e,11).g);n.a<n.c.c.length;)t=RR(xG(n),18),LR(this.c,new Kd(t));if(this.d&&(r=RR(Bot(RR(this.e,11),(dxt(),$qt)),10)))for(e=new xF(zE(g9(r).a.Ic(),new p));Qlt(e);)t=RR(dq(e),18),LR(this.c,new Kd(t))}return this.c},Sxt.Ef=function(){return RR(this.e,11).j},Sxt.Ff=function(){return Ay($D(Bot(RR(this.e,11),(dxt(),wqt))))},Sxt.a=null,Sxt.b=null,Sxt.c=null,Sxt.d=!1;tz(UMt,"LGraphAdapters/LPortAdapter",1692);Zlt(786,1,N_t,Re),Sxt.Mb=function(t){return RR(t,10),!0};tz(UMt,"LGraphAdapters/lambda$0$Type",786);Zlt(388,299,{3:1,299:1,388:1,94:1,134:1});tz(UMt,"LShape",388);Zlt(69,388,{3:1,299:1,69:1,388:1,94:1,134:1},Lw,HA),Sxt.Ib=function(){var t;return null==(t=function(t){return t.a?t.a:V$(t)}(this))?"label":"l_"+t};tz(UMt,"LLabel",69);Zlt(205,1,{3:1,4:1,205:1,409:1}),Sxt.Fb=function(t){var e;return!!zA(t,205)&&(e=RR(t,205),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},Sxt.Hb=function(){var t,e;return t=wT(this.b)<<16,t|=wT(this.a)&Y_t,e=wT(this.c)<<16,t^(e|=wT(this.d)&Y_t)},Sxt.Gf=function(t){var e,n,r,i,a,o,s,u,c;for(i=0;i<t.length&&b6((AW(i,t.length),t.charCodeAt(i)),QMt);)++i;for(e=t.length;e>0&&b6((AW(e-1,t.length),t.charCodeAt(e-1)),JMt);)--e;if(i<e){u=xgt(t.substr(i,e-i),",|;");try{for(o=0,s=(a=u).length;o<s;++o){if(2!=(r=xgt(a[o],"=")).length)throw Jb(new Ny("Expecting a list of key-value pairs."));n=Kot(r[0]),c=gst(Kot(r[1])),hL(n,"top")?this.d=c:hL(n,"left")?this.b=c:hL(n,"bottom")?this.a=c:hL(n,"right")&&(this.c=c)}}catch(t){throw zA(t=m3(t),127)?Jb(new Ny(tCt+t)):Jb(t)}}},Sxt.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},Sxt.a=0,Sxt.b=0,Sxt.c=0,Sxt.d=0;tz(eCt,"Spacing",205);Zlt(141,205,nCt,om,qT,HO,eR);var WHt=tz(eCt,"ElkMargin",141);Zlt(640,141,nCt,um);tz(UMt,"LMargin",640);Zlt(10,388,{3:1,299:1,10:1,388:1,94:1,134:1},knt),Sxt.Ib=function(){return Let(this)},Sxt.i=!1;var GHt,UHt,XHt,qHt,YHt,KHt,ZHt=tz(UMt,"LNode",10);Zlt(266,22,{3:1,36:1,22:1,266:1},Zk);var QHt,JHt=h1(UMt,"LNode/NodeType",266,Pjt,(function(){return vst(),X3(uw(JHt,1),P_t,266,0,[YHt,qHt,UHt,KHt,XHt,GHt])}),(function(t){return vst(),hQ((zJ(),QHt),t)}));Zlt(115,205,rCt,sm,sA,nR);var tWt=tz(eCt,"ElkPadding",115);Zlt(748,115,rCt,cm);var eWt,nWt,rWt,iWt,aWt,oWt;tz(UMt,"LPadding",748);Zlt(11,388,{3:1,299:1,11:1,388:1,94:1,134:1},Dst),Sxt.Ib=function(){var t,e,n;return UC(((t=new pw).a+="p_",t),Ert(this)),this.i&&UC(GC((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&RR(JN(this.e,0),18).c!=this&&(e=RR(JN(this.e,0),18).c,UC((t.a+=" << ",t),Ert(e)),UC(GC((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&RR(JN(this.g,0),18).d!=this&&(n=RR(JN(this.g,0),18).d,UC((t.a+=" >> ",t),Ert(n)),UC(GC((t.a+="[",t),n.i),"]")),t.a},Sxt.c=!0,Sxt.d=!1;var sWt=tz(UMt,"LPort",11);Zlt(393,1,b_t,Qd),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new Jd(new ed(this.a.e))};tz(UMt,"LPort/1",393);Zlt(1262,1,qxt,Jd),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return RR(xG(this.a),18).c},Sxt.Ob=function(){return IA(this.a)},Sxt.Qb=function(){tB(this.a)};tz(UMt,"LPort/1/1",1262);Zlt(356,1,b_t,tp),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new ep(new ed(this.a.g))};tz(UMt,"LPort/2",356);Zlt(746,1,qxt,ep),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return RR(xG(this.a),18).d},Sxt.Ob=function(){return IA(this.a)},Sxt.Qb=function(){tB(this.a)};tz(UMt,"LPort/2/1",746);Zlt(1255,1,b_t,qk),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new hY(this)};tz(UMt,"LPort/CombineIter",1255);Zlt(200,1,qxt,hY),Sxt.Nb=function(t){WF(this,t)},Sxt.Qb=function(){!function(){throw Jb(new _v)}()},Sxt.Ob=function(){return vP(this)},Sxt.Pb=function(){return IA(this.a)?xG(this.a):xG(this.b)};tz(UMt,"LPort/CombineIter/1",200);Zlt(1257,1,$kt,Ne),Sxt.Lb=function(t){return SF(t)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),0!=RR(t,11).e.c.length};tz(UMt,"LPort/lambda$0$Type",1257);Zlt(1256,1,$kt,je),Sxt.Lb=function(t){return kF(t)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),0!=RR(t,11).g.c.length};tz(UMt,"LPort/lambda$1$Type",1256);Zlt(1258,1,$kt,Fe),Sxt.Lb=function(t){return f2(),RR(t,11).j==(dwt(),Ote)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),RR(t,11).j==(dwt(),Ote)};tz(UMt,"LPort/lambda$2$Type",1258);Zlt(1259,1,$kt,Be),Sxt.Lb=function(t){return f2(),RR(t,11).j==(dwt(),Dte)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),RR(t,11).j==(dwt(),Dte)};tz(UMt,"LPort/lambda$3$Type",1259);Zlt(1260,1,$kt,ze),Sxt.Lb=function(t){return f2(),RR(t,11).j==(dwt(),Kte)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),RR(t,11).j==(dwt(),Kte)};tz(UMt,"LPort/lambda$4$Type",1260);Zlt(1261,1,$kt,$e),Sxt.Lb=function(t){return f2(),RR(t,11).j==(dwt(),Qte)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return f2(),RR(t,11).j==(dwt(),Qte)};tz(UMt,"LPort/lambda$5$Type",1261);Zlt(29,299,{3:1,19:1,299:1,29:1,94:1,134:1},bz),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new ed(this.a)},Sxt.Ib=function(){return"L_"+mZ(this.b.b,this,0)+Uot(this.a)};tz(UMt,"Layer",29);Zlt(1313,1,{},Kv);tz(aCt,oCt,1313);Zlt(1317,1,{},Ve),Sxt.Kb=function(t){return Yat(RR(t,93))};tz(aCt,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1317);Zlt(1320,1,{},He),Sxt.Kb=function(t){return Yat(RR(t,93))};tz(aCt,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1320);Zlt(1314,1,h_t,np),Sxt.td=function(t){klt(this.a,RR(t,122))};tz(aCt,sCt,1314);Zlt(1315,1,h_t,rp),Sxt.td=function(t){klt(this.a,RR(t,122))};tz(aCt,uCt,1315);Zlt(1316,1,{},We),Sxt.Kb=function(t){return new lj(null,new ZW(function(t){return!t.c&&(t.c=new nL(nne,t,5,8)),t.c}(RR(t,80)),16))};tz(aCt,cCt,1316);Zlt(1318,1,N_t,ip),Sxt.Mb=function(t){return function(t,e){return oJ(e,VH(t))}(this.a,RR(t,34))};tz(aCt,lCt,1318);Zlt(1319,1,{},Ge),Sxt.Kb=function(t){return new lj(null,new ZW(function(t){return!t.b&&(t.b=new nL(nne,t,4,7)),t.b}(RR(t,80)),16))};tz(aCt,"ElkGraphImporter/lambda$5$Type",1319);Zlt(1321,1,N_t,ap),Sxt.Mb=function(t){return function(t,e){return oJ(e,VH(t))}(this.a,RR(t,34))};tz(aCt,"ElkGraphImporter/lambda$7$Type",1321);Zlt(1322,1,N_t,Ue),Sxt.Mb=function(t){return function(t){return Jct(t)&&Ay($D(_ht(t,(Zwt(),bQt))))}(RR(t,80))};var uWt;tz(aCt,"ElkGraphImporter/lambda$8$Type",1322);Zlt(1250,1,{},Vl);tz(aCt,"ElkGraphLayoutTransferrer",1250);Zlt(1251,1,N_t,op),Sxt.Mb=function(t){return function(t,e){return AS(),!K2(e.d.i,t)}(this.a,RR(t,18))};tz(aCt,"ElkGraphLayoutTransferrer/lambda$0$Type",1251);Zlt(1252,1,h_t,sp),Sxt.td=function(t){AS(),LR(this.a,RR(t,18))};tz(aCt,"ElkGraphLayoutTransferrer/lambda$1$Type",1252);Zlt(1253,1,N_t,up),Sxt.Mb=function(t){return function(t,e){return AS(),K2(e.d.i,t)}(this.a,RR(t,18))};tz(aCt,"ElkGraphLayoutTransferrer/lambda$2$Type",1253);Zlt(1254,1,h_t,cp),Sxt.td=function(t){AS(),LR(this.a,RR(t,18))};tz(aCt,"ElkGraphLayoutTransferrer/lambda$3$Type",1254);Zlt(1455,1,GMt,Xe),Sxt.nf=function(t,e){!function(t,e){qat(e,hCt,1),uS(oQ(new lj(null,new ZW(t.b,16)),new qe),new Ye),Sst(e)}(RR(t,38),e)};tz(fCt,"CommentNodeMarginCalculator",1455);Zlt(1456,1,{},qe),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"CommentNodeMarginCalculator/lambda$0$Type",1456);Zlt(1457,1,h_t,Ye),Sxt.td=function(t){!function(t){var e,n,i,a,o,s,u,c,l,h,f,d;if(u=t.d,f=RR(Bot(t,(dxt(),tYt)),14),e=RR(Bot(t,tqt),14),f||e){if(o=Dy(VD(A7(t,(Zwt(),vJt)))),s=Dy(VD(A7(t,mJt))),d=0,f){for(l=0,a=f.Ic();a.Ob();)i=RR(a.Pb(),10),l=r.Math.max(l,i.o.b),d+=i.o.a;d+=o*(f.gc()-1),u.d+=l+s}if(n=0,e){for(l=0,a=e.Ic();a.Ob();)i=RR(a.Pb(),10),l=r.Math.max(l,i.o.b),n+=i.o.a;n+=o*(e.gc()-1),u.a+=l+s}(c=r.Math.max(d,n))>t.o.a&&(h=(c-t.o.a)/2,u.b=r.Math.max(u.b,h),u.c=r.Math.max(u.c,h))}}(RR(t,10))};tz(fCt,"CommentNodeMarginCalculator/lambda$1$Type",1457);Zlt(1458,1,GMt,Ke),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u;for(qat(e,"Comment post-processing",1),a=new ed(t.b);a.a<a.c.c.length;){for(i=RR(xG(a),29),r=new Vb,s=new ed(i.a);s.a<s.c.c.length;)o=RR(xG(s),10),u=RR(Bot(o,(dxt(),tYt)),14),n=RR(Bot(o,tqt),14),(u||n)&&(ewt(o,u,n),u&&R3(r,u),n&&R3(r,n));R3(i.a,r)}Sst(e)}(RR(t,38),e)};tz(fCt,"CommentPostprocessor",1458);Zlt(1459,1,GMt,Ze),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;for(qat(e,"Comment pre-processing",1),n=0,u=new ed(t.a);u.a<u.c.c.length;)if(Ay($D(Bot(s=RR(xG(u),10),(Zwt(),DZt))))){for(++n,i=0,r=null,c=null,p=new ed(s.j);p.a<p.c.c.length;)i+=(f=RR(xG(p),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(c=(r=RR(JN(f.e,0),18)).c),1==f.g.c.length&&(c=(r=RR(JN(f.g,0),18)).d);if(1!=i||c.e.c.length+c.g.c.length!=1||Ay($D(Bot(c.i,DZt)))){for(b=new Vb,d=new ed(s.j);d.a<d.c.c.length;){for(h=new ed((f=RR(xG(d),11)).g);h.a<h.c.c.length;)0==(l=RR(xG(h),18)).d.g.c.length||(b.c[b.c.length]=l);for(o=new ed(f.e);o.a<o.c.c.length;)0==(a=RR(xG(o),18)).c.e.c.length||(b.c[b.c.length]=a)}for(g=new ed(b);g.a<g.c.c.length;)uvt(RR(xG(g),18),!0)}else Ewt(s,r,c,c.i),tB(u)}e.n&&YR(e,"Found "+n+" comment boxes"),Sst(e)}(RR(t,38),e)};tz(fCt,"CommentPreprocessor",1459);Zlt(1460,1,GMt,Qe),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o;for(qat(e,"Constraints Postprocessor",1),a=0,i=new ed(t.b);i.a<i.c.c.length;){for(o=0,r=new ed(RR(xG(i),29).a);r.a<r.c.c.length;)(n=RR(xG(r),10)).k==(vst(),YHt)&&(S4(n,(Zwt(),SQt),k8(a)),S4(n,HZt,k8(o)),++o);++a}Sst(e)}(RR(t,38),e)};tz(fCt,"ConstraintsPostprocessor",1460);Zlt(1461,1,GMt,Je),Sxt.nf=function(t,e){J2(RR(t,38),e)};tz(fCt,"EdgeAndLayerConstraintEdgeReverser",1461);Zlt(1462,1,GMt,tn),Sxt.nf=function(t,e){!function(t,e){qat(e,"End label post-processing",1),uS(_$(oQ(new lj(null,new ZW(t.b,16)),new en),new nn),new rn),Sst(e)}(RR(t,38),e)};tz(fCt,"EndLabelPostprocessor",1462);Zlt(1463,1,{},en),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"EndLabelPostprocessor/lambda$0$Type",1463);Zlt(1464,1,N_t,nn),Sxt.Mb=function(t){return function(t){return t.k==(vst(),YHt)&&ZP(t,(dxt(),cqt))}(RR(t,10))};tz(fCt,"EndLabelPostprocessor/lambda$1$Type",1464);Zlt(1465,1,h_t,rn),Sxt.td=function(t){!function(t){var e,n,r,i,a;for(e=RR(Bot(t,(dxt(),cqt)),84),a=t.n,r=e.Ac().Ic();r.Ob();)(i=(n=RR(r.Pb(),304)).i).c+=a.a,i.d+=a.b,n.c?lpt(n):hpt(n);S4(t,cqt,null)}(RR(t,10))};tz(fCt,"EndLabelPostprocessor/lambda$2$Type",1465);Zlt(1466,1,GMt,an),Sxt.nf=function(t,e){!function(t,e){var n,r,i;qat(e,"End label pre-processing",1),n=Dy(VD(Bot(t,(Zwt(),_Jt)))),r=Dy(VD(Bot(t,MJt))),i=NT(RR(Bot(t,qZt),108)),uS(oQ(new lj(null,new ZW(t.b,16)),new on),new YL(n,r,i)),Sst(e)}(RR(t,38),e)};tz(fCt,"EndLabelPreprocessor",1466);Zlt(1467,1,{},on),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"EndLabelPreprocessor/lambda$0$Type",1467);Zlt(1468,1,h_t,YL),Sxt.td=function(t){zS(this.a,this.b,this.c,RR(t,10))},Sxt.a=0,Sxt.b=0,Sxt.c=!1;tz(fCt,"EndLabelPreprocessor/lambda$1$Type",1468);Zlt(1469,1,N_t,sn),Sxt.Mb=function(t){return DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),m7t))};tz(fCt,"EndLabelPreprocessor/lambda$2$Type",1469);Zlt(1470,1,h_t,lp),Sxt.td=function(t){vN(this.a,RR(t,69))};tz(fCt,"EndLabelPreprocessor/lambda$3$Type",1470);Zlt(1471,1,N_t,un),Sxt.Mb=function(t){return DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),v7t))};tz(fCt,"EndLabelPreprocessor/lambda$4$Type",1471);Zlt(1472,1,h_t,hp),Sxt.td=function(t){vN(this.a,RR(t,69))};var cWt;tz(fCt,"EndLabelPreprocessor/lambda$5$Type",1472);Zlt(1521,1,GMt,Hl),Sxt.nf=function(t,e){!function(t,e){qat(e,"Sort end labels",1),uS(_$(oQ(new lj(null,new ZW(t.b,16)),new ln),new hn),new fn),Sst(e)}(RR(t,38),e)};tz(fCt,"EndLabelSorter",1521);Zlt(1522,1,Skt,cn),Sxt.ue=function(t,e){return function(t,e){var n,r;return 0!=(n=TA(t.a.c.p,e.a.c.p))?n:0!=(r=TA(t.a.d.i.p,e.a.d.i.p))?r:TA(e.a.d.p,t.a.d.p)}(RR(t,449),RR(e,449))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"EndLabelSorter/1",1522);Zlt(449,1,{449:1},bV);tz(fCt,"EndLabelSorter/LabelGroup",449);Zlt(1523,1,{},ln),Sxt.Kb=function(t){return CS(),new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"EndLabelSorter/lambda$0$Type",1523);Zlt(1524,1,N_t,hn),Sxt.Mb=function(t){return CS(),RR(t,10).k==(vst(),YHt)};tz(fCt,"EndLabelSorter/lambda$1$Type",1524);Zlt(1525,1,h_t,fn),Sxt.td=function(t){!function(t){var e,n,r,i;if(e=!1,ZP(t,(dxt(),cqt)))for(n=RR(Bot(t,cqt),84),i=new ed(t.j);i.a<i.c.c.length;)tft(r=RR(xG(i),11))&&(e||(Cct(jz(t)),e=!0),xet(RR(n.vc(r),304)))}(RR(t,10))};tz(fCt,"EndLabelSorter/lambda$2$Type",1525);Zlt(1526,1,N_t,dn),Sxt.Mb=function(t){return CS(),DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),v7t))};tz(fCt,"EndLabelSorter/lambda$3$Type",1526);Zlt(1527,1,N_t,pn),Sxt.Mb=function(t){return CS(),DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),m7t))};tz(fCt,"EndLabelSorter/lambda$4$Type",1527);Zlt(1473,1,GMt,gn),Sxt.nf=function(t,e){pmt(this,RR(t,38))},Sxt.b=0,Sxt.c=0;tz(fCt,"FinalSplineBendpointsCalculator",1473);Zlt(1474,1,{},bn),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"FinalSplineBendpointsCalculator/lambda$0$Type",1474);Zlt(1475,1,{},vn),Sxt.Kb=function(t){return new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(fCt,"FinalSplineBendpointsCalculator/lambda$1$Type",1475);Zlt(1476,1,N_t,mn),Sxt.Mb=function(t){return!Nq(RR(t,18))};tz(fCt,"FinalSplineBendpointsCalculator/lambda$2$Type",1476);Zlt(1477,1,N_t,yn),Sxt.Mb=function(t){return ZP(RR(t,18),(dxt(),Zqt))};tz(fCt,"FinalSplineBendpointsCalculator/lambda$3$Type",1477);Zlt(1478,1,h_t,fp),Sxt.td=function(t){!function(t,e){var n,r,i,a,o;if(!e.e){for(e.e=!0,r=e.d.a.ec().Ic();r.Ob();)n=RR(r.Pb(),18),e.o&&e.d.a.gc()<=1?(o=new YM((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),vN(RR(e.d.a.ec().Ic().Pb(),18).a,o)):(i=RR(oz(e.c,n),453)).b||i.c?mgt(t,n,e):t.d==(d6(),Q1t)&&(i.d||i.e)&&Ilt(t,e)&&e.d.a.gc()<=1?Byt(n,e):fpt(t,n,e);e.k&&yq(e.d,new wn)}}(this.a,RR(t,128))};tz(fCt,"FinalSplineBendpointsCalculator/lambda$4$Type",1478);Zlt(1479,1,h_t,wn),Sxt.td=function(t){But(RR(t,18).a)};tz(fCt,"FinalSplineBendpointsCalculator/lambda$5$Type",1479);Zlt(774,1,GMt,dp),Sxt.nf=function(t,e){!function(t,e,n){var r,i;for(qat(n,"Graph transformation ("+t.a+")",1),i=fG(e.a),r=new ed(e.b);r.a<r.c.c.length;)R3(i,RR(xG(r),29).a);if(RR(Bot(e,(Zwt(),YZt)),413)==(FQ(),WUt))switch(RR(Bot(e,qZt),108).g){case 2:IU(e,i);break;case 3:N7(e,i);break;case 4:t.a==(x0(),hWt)?(N7(e,i),MU(e,i)):(MU(e,i),N7(e,i))}else if(t.a==(x0(),hWt))switch(RR(Bot(e,qZt),108).g){case 2:IU(e,i),MU(e,i);break;case 3:N7(e,i),IU(e,i);break;case 4:IU(e,i),N7(e,i)}else switch(RR(Bot(e,qZt),108).g){case 2:IU(e,i),MU(e,i);break;case 3:IU(e,i),N7(e,i);break;case 4:N7(e,i),IU(e,i)}Sst(n)}(this,RR(t,38),e)};var lWt,hWt;tz(fCt,"GraphTransformer",774);Zlt(504,22,{3:1,36:1,22:1,504:1},Qk);var fWt,dWt=h1(fCt,"GraphTransformer/Mode",504,Pjt,(function(){return x0(),X3(uw(dWt,1),P_t,504,0,[hWt,lWt])}),(function(t){return x0(),hQ((lq(),fWt),t)}));Zlt(1480,1,GMt,xn),Sxt.nf=function(t,e){odt(RR(t,38),e)};tz(fCt,"HierarchicalNodeResizingProcessor",1480);Zlt(1481,1,GMt,_n),Sxt.nf=function(t,e){R1(RR(t,38),e)};tz(fCt,"HierarchicalPortConstraintProcessor",1481);Zlt(1482,1,Skt,Sn),Sxt.ue=function(t,e){return function(t,e){var n,r,i,a;return i=t.k,n=Dy(VD(Bot(t,(dxt(),Vqt)))),a=e.k,r=Dy(VD(Bot(e,Vqt))),a!=(vst(),UHt)?-1:i!=UHt?1:n==r?0:n<r?-1:1}(RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"HierarchicalPortConstraintProcessor/NodeComparator",1482);Zlt(1483,1,GMt,kn),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c;for(qat(e,"Hierarchical port dummy size processing",1),s=new Vb,c=new Vb,n=2*Dy(VD(Bot(t,(Zwt(),xJt)))),i=new ed(t.b);i.a<i.c.c.length;){for(r=RR(xG(i),29),s.c=hK(gjt,zxt,1,0,5,1),c.c=hK(gjt,zxt,1,0,5,1),o=new ed(r.a);o.a<o.c.c.length;)(a=RR(xG(o),10)).k==(vst(),UHt)&&((u=RR(Bot(a,(dxt(),pqt)),61))==(dwt(),Ote)?s.c[s.c.length]=a:u==Kte&&(c.c[c.c.length]=a));Dlt(s,!0,n),Dlt(c,!1,n)}Sst(e)}(RR(t,38),e)};tz(fCt,"HierarchicalPortDummySizeProcessor",1483);Zlt(1484,1,GMt,In),Sxt.nf=function(t,e){Ipt(this,RR(t,38),e)},Sxt.a=0;tz(fCt,"HierarchicalPortOrthogonalEdgeRouter",1484);Zlt(1485,1,Skt,Mn),Sxt.ue=function(t,e){return function(t,e){return j8(t.n.a,e.n.a)}(RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"HierarchicalPortOrthogonalEdgeRouter/1",1485);Zlt(1486,1,Skt,Cn),Sxt.ue=function(t,e){return function(t,e){return j8(Dy(VD(Bot(t,(dxt(),Vqt)))),Dy(VD(Bot(e,Vqt))))}(RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"HierarchicalPortOrthogonalEdgeRouter/2",1486);Zlt(1487,1,GMt,Tn),Sxt.nf=function(t,e){!function(t,e){var n;qat(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&Xgt((TW(0,n.c.length),RR(n.c[0],29)),t),n.c.length>1&&Xgt(RR(JN(n,n.c.length-1),29),t),Sst(e)}(RR(t,38),e)};var pWt,gWt;tz(fCt,"HierarchicalPortPositionProcessor",1487);Zlt(1488,1,GMt,Wl),Sxt.nf=function(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k,I;for(t.b=e,t.a=RR(Bot(e,(Zwt(),hQt)),20).a,t.c=RR(Bot(e,dQt),20).a,0==t.c&&(t.c=Lxt),b=new tU(e.b,0);b.b<b.d.gc();){for(MP(b.b<b.d.gc()),g=RR(b.d.Xb(b.c=b.b++),29),u=new Vb,h=-1,w=-1,y=new ed(g.a);y.a<y.c.c.length;)m=RR(xG(y),10),OU((aR(),new xF(zE(d9(m).a.Ic(),new p))))>=t.a&&(i=Svt(t,m),h=r.Math.max(h,i.b),w=r.Math.max(w,i.d),LR(u,new KM(m,i)));for(S=new Vb,l=0;l<h;++l)Tj(S,0,(MP(b.b>0),b.a.Xb(b.c=--b.b),yO(b,k=new bz(t.b)),MP(b.b<b.d.gc()),b.d.Xb(b.c=b.b++),k));for(s=new ed(u);s.a<s.c.c.length;)if(a=RR(xG(s),46),d=RR(a.b,563).a)for(f=new ed(d);f.a<f.c.c.length;)nit(t,RR(xG(f),10),pWt,S);for(n=new Vb,c=0;c<w;++c)LR(n,(yO(b,I=new bz(t.b)),I));for(o=new ed(u);o.a<o.c.c.length;)if(a=RR(xG(o),46),_=RR(a.b,563).c)for(x=new ed(_);x.a<x.c.c.length;)nit(t,RR(xG(x),10),gWt,n)}for(v=new tU(e.b,0);v.b<v.d.gc();)MP(v.b<v.d.gc()),0==RR(v.d.Xb(v.c=v.b++),29).a.c.length&&n$(v)}(this,RR(t,38))},Sxt.a=0,Sxt.c=0;tz(fCt,"HighDegreeNodeLayeringProcessor",1488);Zlt(563,1,{563:1},An),Sxt.b=-1,Sxt.d=-1;tz(fCt,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",563);Zlt(1489,1,{},En),Sxt.Kb=function(t){return aR(),p9(RR(t,10))},Sxt.Fb=function(t){return this===t};tz(fCt,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1489);Zlt(1490,1,{},Pn),Sxt.Kb=function(t){return aR(),g9(RR(t,10))},Sxt.Fb=function(t){return this===t};tz(fCt,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1490);Zlt(1496,1,GMt,Dn),Sxt.nf=function(t,e){Obt(this,RR(t,38),e)};tz(fCt,"HyperedgeDummyMerger",1496);Zlt(775,1,{},KL),Sxt.a=!1,Sxt.b=!1,Sxt.c=!1;tz(fCt,"HyperedgeDummyMerger/MergeState",775);Zlt(1497,1,{},On),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"HyperedgeDummyMerger/lambda$0$Type",1497);Zlt(1498,1,{},Ln),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,10).j,16))};tz(fCt,"HyperedgeDummyMerger/lambda$1$Type",1498);Zlt(1499,1,h_t,Rn),Sxt.td=function(t){RR(t,11).p=-1};tz(fCt,"HyperedgeDummyMerger/lambda$2$Type",1499);Zlt(1500,1,GMt,Nn),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c;for(qat(e,"Hypernodes processing",1),r=new ed(t.b);r.a<r.c.c.length;)for(o=new ed(RR(xG(r),29).a);o.a<o.c.c.length;)if(Ay($D(Bot(a=RR(xG(o),10),(Zwt(),pQt))))&&a.j.c.length<=2){for(c=0,u=0,n=0,i=0,s=new ed(a.j);s.a<s.c.c.length;)switch(RR(xG(s),11).j.g){case 1:++c;break;case 2:++u;break;case 3:++n;break;case 4:++i}0==c&&0==n&&Bwt(t,a,i<=u)}Sst(e)}(RR(t,38),e)};tz(fCt,"HypernodesProcessor",1500);Zlt(1501,1,GMt,jn),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l;for(qat(e,"Layer constraint edge reversal",1),o=new ed(t.b);o.a<o.c.c.length;){for(a=RR(xG(o),29),l=-1,n=new Vb,c=bU(a.a),i=0;i<c.length;i++)r=RR(Bot(c[i],(dxt(),xqt)),301),-1==l?r!=(JZ(),UXt)&&(l=i):r==(JZ(),UXt)&&(DW(c[i],null),Hrt(c[i],l++,a)),r==(JZ(),WXt)&&LR(n,c[i]);for(u=new ed(n);u.a<u.c.c.length;)DW(s=RR(xG(u),10),null),DW(s,a)}Sst(e)}(RR(t,38),e)};tz(fCt,"InLayerConstraintProcessor",1501);Zlt(1502,1,GMt,Fn),Sxt.nf=function(t,e){!function(t,e){qat(e,hCt,1),a7(function(t){return t.b=!1,t}(new Rd(new D$(t,!1,!1,new Re)))),Sst(e)}(RR(t,38),e)};tz(fCt,"InnermostNodeMarginCalculator",1502);Zlt(1503,1,GMt,Bn),Sxt.nf=function(t,e){!function(t,e){var n,i,a,o,s,u;if(RR(Bot(e,(dxt(),vqt)),21).Fc((Zdt(),EXt))){for(u=new ed(e.a);u.a<u.c.c.length;)(o=RR(xG(u),10)).k==(vst(),YHt)&&(a=RR(Bot(o,(Zwt(),AQt)),141),t.c=r.Math.min(t.c,o.n.a-a.b),t.a=r.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=r.Math.min(t.d,o.n.b-a.d),t.b=r.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new ed(e.a);s.a<s.c.c.length;)if((o=RR(xG(s),10)).k!=(vst(),YHt))switch(o.k.g){case 2:if((i=RR(Bot(o,(Zwt(),_Qt)),165))==(H9(),nYt)){o.n.a=t.c-10,Qrt(o,new zn).Jb(new pp(o));break}if(i==iYt){o.n.a=t.a+10,Qrt(o,new $n).Jb(new gp(o));break}if((n=RR(Bot(o,xqt),301))==(JZ(),UXt)){Rmt(o).Jb(new bp(o)),o.n.b=t.d-10;break}if(n==WXt){Rmt(o).Jb(new vp(o)),o.n.b=t.b+10;break}break;default:throw Jb(new Ny("The node type "+o.k+" is not supported by the "+bWt))}}}(this,RR(t,38))},Sxt.a=NSt,Sxt.b=NSt,Sxt.c=RSt,Sxt.d=RSt;var bWt=tz(fCt,"InteractiveExternalPortPositioner",1503);Zlt(1504,1,{},zn),Sxt.Kb=function(t){return RR(t,18).d.i},Sxt.Fb=function(t){return this===t};tz(fCt,"InteractiveExternalPortPositioner/lambda$0$Type",1504);Zlt(1505,1,{},pp),Sxt.Kb=function(t){return function(t,e){return t.n.b=(wz(e),e)}(this.a,VD(t))},Sxt.Fb=function(t){return this===t};tz(fCt,"InteractiveExternalPortPositioner/lambda$1$Type",1505);Zlt(1506,1,{},$n),Sxt.Kb=function(t){return RR(t,18).c.i},Sxt.Fb=function(t){return this===t};tz(fCt,"InteractiveExternalPortPositioner/lambda$2$Type",1506);Zlt(1507,1,{},gp),Sxt.Kb=function(t){return function(t,e){return t.n.b=(wz(e),e)}(this.a,VD(t))},Sxt.Fb=function(t){return this===t};tz(fCt,"InteractiveExternalPortPositioner/lambda$3$Type",1507);Zlt(1508,1,{},bp),Sxt.Kb=function(t){return function(t,e){return t.n.a=(wz(e),e+10)}(this.a,VD(t))},Sxt.Fb=function(t){return this===t};tz(fCt,"InteractiveExternalPortPositioner/lambda$4$Type",1508);Zlt(1509,1,{},vp),Sxt.Kb=function(t){return function(t,e){return t.n.a=(wz(e),e+10)}(this.a,VD(t))},Sxt.Fb=function(t){return this===t};var vWt,mWt,yWt,wWt,xWt,_Wt,SWt,kWt,IWt,MWt,CWt,TWt,AWt,EWt,PWt,DWt,OWt,LWt,RWt,NWt,jWt,FWt,BWt,zWt,$Wt,VWt,HWt,WWt,GWt,UWt,XWt,qWt,YWt,KWt,ZWt,QWt,JWt,tGt,eGt,nGt,rGt,iGt,aGt,oGt,sGt,uGt,cGt,lGt,hGt,fGt,dGt,pGt,gGt,bGt,vGt,mGt,yGt;tz(fCt,"InteractiveExternalPortPositioner/lambda$5$Type",1509);Zlt(77,22,{3:1,36:1,22:1,77:1,233:1},Kk),Sxt.Hf=function(){switch(this.g){case 15:return new ha;case 22:return new fa;case 47:return new ga;case 28:case 35:return new Qn;case 32:return new Xe;case 42:return new Ke;case 1:return new Ze;case 41:return new Qe;case 56:return new dp((x0(),hWt));case 0:return new dp((x0(),lWt));case 2:return new Je;case 54:return new tn;case 33:return new an;case 51:return new gn;case 55:return new xn;case 13:return new _n;case 38:return new kn;case 44:return new In;case 40:return new Tn;case 9:return new Wl;case 49:return new OP;case 37:return new Dn;case 43:return new Nn;case 27:return new jn;case 30:return new Fn;case 3:return new Bn;case 18:return new Hn;case 29:return new Wn;case 5:return new Gl;case 50:return new Vn;case 34:return new Ul;case 36:return new Jn;case 52:return new Hl;case 11:return new er;case 7:return new Xl;case 39:return new nr;case 45:return new rr;case 16:return new ir;case 10:return new ar;case 48:return new sr;case 21:return new ur;case 23:return new wy((T1(),k0t));case 8:return new lr;case 12:return new fr;case 4:return new dr;case 19:return new ql;case 17:return new Sr;case 53:return new kr;case 6:return new jr;case 25:return new Zv;case 46:return new Er;case 31:return new OO;case 14:return new Gr;case 26:return new _a;case 20:return new Kr;case 24:return new wy((T1(),I0t));default:throw Jb(new Ny(gCt+(null!=this.f?this.f:""+this.g)))}};var wGt,xGt=h1(fCt,bCt,77,Pjt,Fft,(function(t){return gxt(),hQ((iT(),wGt),t)}));Zlt(1510,1,GMt,Hn),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;for(qat(e,"Inverted port preprocessing",1),s=new tU(t.b,0),n=null,b=new Vb;s.b<s.d.gc();){for(g=n,MP(s.b<s.d.gc()),n=RR(s.d.Xb(s.c=s.b++),29),l=new ed(b);l.a<l.c.c.length;)DW(u=RR(xG(l),10),g);for(b.c=hK(gjt,zxt,1,0,5,1),h=new ed(n.a);h.a<h.c.c.length;)if((u=RR(xG(h),10)).k==(vst(),YHt)&&jT(RR(Bot(u,(Zwt(),nJt)),100))){for(p=Dpt(u,(M1(),R1t),(dwt(),Dte)).Ic();p.Ob();)for(f=RR(p.Pb(),11),i=0,a=(r=RR(eet(o=f.e,hK(VHt,YMt,18,o.c.length,0,1)),468)).length;i<a;++i)Pvt(t,f,r[i],b);for(d=Dpt(u,N1t,Qte).Ic();d.Ob();)for(f=RR(d.Pb(),11),i=0,a=(r=RR(eet(o=f.g,hK(VHt,YMt,18,o.c.length,0,1)),468)).length;i<a;++i)Evt(t,f,r[i],b)}}for(c=new ed(b);c.a<c.c.c.length;)DW(u=RR(xG(c),10),n);Sst(e)}(RR(t,38),e)};tz(fCt,"InvertedPortProcessor",1510);Zlt(1511,1,GMt,Wn),Sxt.nf=function(t,e){ygt(RR(t,38),e)};tz(fCt,"LabelAndNodeSizeProcessor",1511);Zlt(1512,1,N_t,Gn),Sxt.Mb=function(t){return RR(t,10).k==(vst(),YHt)};tz(fCt,"LabelAndNodeSizeProcessor/lambda$0$Type",1512);Zlt(1513,1,N_t,Un),Sxt.Mb=function(t){return RR(t,10).k==(vst(),UHt)};tz(fCt,"LabelAndNodeSizeProcessor/lambda$1$Type",1513);Zlt(1514,1,h_t,QL),Sxt.td=function(t){$S(this.b,this.a,this.c,RR(t,10))},Sxt.a=!1,Sxt.c=!1;var _Gt;tz(fCt,"LabelAndNodeSizeProcessor/lambda$2$Type",1514);Zlt(1515,1,GMt,Gl),Sxt.nf=function(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d,g,b;for(qat(e,"Label dummy insertions",1),f=new Vb,s=Dy(VD(Bot(t,(Zwt(),_Jt)))),l=Dy(VD(Bot(t,MJt))),h=RR(Bot(t,qZt),108),d=new ed(t.a);d.a<d.c.c.length;)for(o=new xF(zE(g9(RR(xG(d),10)).a.Ic(),new p));Qlt(o);)if((a=RR(dq(o),18)).c.i!=a.d.i&&tE(a.b,_Gt)){for(n=ift(t,a,b=iJ(a),g=VP(a.b.c.length)),f.c[f.c.length]=n,i=n.o,u=new tU(a.b,0);u.b<u.d.gc();)MP(u.b<u.d.gc()),DC(Bot(c=RR(u.d.Xb(u.c=u.b++),69),JZt))===DC((VJ(),b7t))&&(h==(E8(),p7t)||h==l7t?(i.a+=c.o.a+l,i.b=r.Math.max(i.b,c.o.b)):(i.a=r.Math.max(i.a,c.o.a),i.b+=c.o.b+l),g.c[g.c.length]=c,n$(u));h==(E8(),p7t)||h==l7t?(i.a-=l,i.b+=s+b):i.b+=s-l+b}R3(t.a,f),Sst(e)}(RR(t,38),e)};tz(fCt,"LabelDummyInserter",1515);Zlt(1516,1,$kt,Xn),Sxt.Lb=function(t){return DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),b7t))},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return DC(Bot(RR(t,69),(Zwt(),JZt)))===DC((VJ(),b7t))};tz(fCt,"LabelDummyInserter/1",1516);Zlt(1517,1,GMt,Vn),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d;for(qat(e,"Label dummy removal",1),r=Dy(VD(Bot(t,(Zwt(),_Jt)))),i=Dy(VD(Bot(t,MJt))),u=RR(Bot(t,qZt),108),s=new ed(t.b);s.a<s.c.c.length;)for(l=new tU(RR(xG(s),29).a,0);l.b<l.d.gc();)MP(l.b<l.d.gc()),(c=RR(l.d.Xb(l.c=l.b++),10)).k==(vst(),XHt)&&(h=RR(Bot(c,(dxt(),Oqt)),18),d=Dy(VD(Bot(h,uQt))),o=DC(Bot(c,Iqt))===DC((Krt(),q7t)),n=new uA(c.n),o&&(n.b+=d+r),a=new YM(c.o.a,c.o.b-d-r),f=RR(Bot(c,Gqt),14),u==(E8(),p7t)||u==l7t?spt(f,n,i,a,o,u):N6(f,n,i,a),R3(h.b,f),nyt(c,DC(Bot(t,eQt))===DC((V9(),_7t))),n$(l));Sst(e)}(RR(t,38),e)};tz(fCt,"LabelDummyRemover",1517);Zlt(1518,1,N_t,qn),Sxt.Mb=function(t){return Ay($D(Bot(RR(t,69),(Zwt(),QZt))))};var SGt;tz(fCt,"LabelDummyRemover/lambda$0$Type",1518);Zlt(1330,1,GMt,Ul),Sxt.nf=function(t,e){byt(this,RR(t,38),e)},Sxt.a=null;tz(fCt,"LabelDummySwitcher",1330);Zlt(285,1,{285:1},lgt),Sxt.c=0,Sxt.d=null,Sxt.f=0;tz(fCt,"LabelDummySwitcher/LabelDummyInfo",285);Zlt(1331,1,{},Yn),Sxt.Kb=function(t){return j0(),new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"LabelDummySwitcher/lambda$0$Type",1331);Zlt(1332,1,N_t,Kn),Sxt.Mb=function(t){return j0(),RR(t,10).k==(vst(),XHt)};tz(fCt,"LabelDummySwitcher/lambda$1$Type",1332);Zlt(1333,1,{},xp),Sxt.Kb=function(t){return function(t,e){return j0(),new lgt(e,t)}(this.a,RR(t,10))};tz(fCt,"LabelDummySwitcher/lambda$2$Type",1333);Zlt(1334,1,h_t,_p),Sxt.td=function(t){!function(t,e){j0(),RR(h$(t,e.d),14).Dc(e)}(this.a,RR(t,285))};tz(fCt,"LabelDummySwitcher/lambda$3$Type",1334);Zlt(1335,1,Skt,Zn),Sxt.ue=function(t,e){return function(t,e){return j0(),j8(e.a.o.a,t.a.o.a)}(RR(t,285),RR(e,285))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"LabelDummySwitcher/lambda$4$Type",1335);Zlt(773,1,GMt,Qn),Sxt.nf=function(t,e){!function(t,e){qat(e,"Label management",1),XC(Bot(t,(AY(),Z6t))),Sst(e)}(RR(t,38),e)};tz(fCt,"LabelManagementProcessor",773);Zlt(1519,1,GMt,Jn),Sxt.nf=function(t,e){!function(t,e){var n;switch(qat(e,"Label side selection ("+(n=RR(Bot(t,(Zwt(),tQt)),274))+")",1),n.g){case 0:aht(t,(Krt(),X7t));break;case 1:aht(t,(Krt(),q7t));break;case 2:dvt(t,(Krt(),X7t));break;case 3:dvt(t,(Krt(),q7t));break;case 4:Xdt(t,(Krt(),X7t));break;case 5:Xdt(t,(Krt(),q7t))}Sst(e)}(RR(t,38),e)};tz(fCt,"LabelSideSelector",1519);Zlt(1520,1,N_t,tr),Sxt.Mb=function(t){return Ay($D(Bot(RR(t,69),(Zwt(),QZt))))};tz(fCt,"LabelSideSelector/lambda$0$Type",1520);Zlt(1528,1,GMt,er),Sxt.nf=function(t,e){kvt(RR(t,38),e)};var kGt;tz(fCt,"LayerConstraintPostprocessor",1528);Zlt(1529,1,GMt,Xl),Sxt.nf=function(t,e){!function(t,e){var n,r,i;for(qat(e,"Layer constraint preprocessing",1),n=new Vb,i=new tU(t.a,0);i.b<i.d.gc();)MP(i.b<i.d.gc()),i4(r=RR(i.d.Xb(i.c=i.b++),10))&&(Uat(r),n.c[n.c.length]=r,n$(i));0==n.c.length||S4(t,(dxt(),mqt),n),Sst(e)}(RR(t,38),e)};var IGt,MGt,CGt,TGt;tz(fCt,"LayerConstraintPreprocessor",1529);Zlt(357,22,{3:1,36:1,22:1,357:1},Jk);var AGt,EGt=h1(fCt,"LayerConstraintPreprocessor/HiddenNodeConnections",357,Pjt,(function(){return d4(),X3(uw(EGt,1),P_t,357,0,[TGt,MGt,CGt,IGt])}),(function(t){return d4(),hQ((aZ(),AGt),t)}));Zlt(1530,1,GMt,nr),Sxt.nf=function(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b;for(qat(e,"Layer size calculation",1),h=RSt,l=NSt,a=!1,u=new ed(t.b);u.a<u.c.c.length;)if((c=(s=RR(xG(u),29)).c).a=0,c.b=0,0!=s.a.c.length){for(a=!0,d=new ed(s.a);d.a<d.c.c.length;)g=(f=RR(xG(d),10)).o,p=f.d,c.a=r.Math.max(c.a,g.a+p.b+p.c);b=(i=RR(JN(s.a,0),10)).n.b-i.d.d,i.k==(vst(),UHt)&&(b-=RR(Bot(t,(Zwt(),DJt)),141).d),n=(o=RR(JN(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==UHt&&(n+=RR(Bot(t,(Zwt(),DJt)),141).a),c.b=n-b,h=r.Math.min(h,b),l=r.Math.max(l,n)}a||(h=0,l=0),t.f.b=l-h,t.c.b-=h,Sst(e)}(RR(t,38),e)};tz(fCt,"LayerSizeAndGraphHeightCalculator",1530);Zlt(1531,1,GMt,rr),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a;for(qat(e,"Edge joining",1),n=Ay($D(Bot(t,(Zwt(),RJt)))),r=new ed(t.b);r.a<r.c.c.length;)for(a=new tU(RR(xG(r),29).a,0);a.b<a.d.gc();)MP(a.b<a.d.gc()),(i=RR(a.d.Xb(a.c=a.b++),10)).k==(vst(),qHt)&&(nyt(i,n),n$(a));Sst(e)}(RR(t,38),e)};tz(fCt,"LongEdgeJoiner",1531);Zlt(1532,1,GMt,ir),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l;if(qat(e,"Edge splitting",1),t.b.c.length<=2)Sst(e);else{for(MP((a=new tU(t.b,0)).b<a.d.gc()),o=RR(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(i=o,MP(a.b<a.d.gc()),o=RR(a.d.Xb(a.c=a.b++),29),s=new ed(i.a);s.a<s.c.c.length;)for(u=new ed(RR(xG(s),10).j);u.a<u.c.c.length;)for(r=new ed(RR(xG(u),11).g);r.a<r.c.c.length;)(c=(n=RR(xG(r),18)).d.i.c)!=i&&c!=o&&Rdt(n,(mf(l=new knt(t),(vst(),qHt)),S4(l,(dxt(),Oqt),n),S4(l,(Zwt(),nJt),(Fat(),mte)),DW(l,o),l));Sst(e)}}(RR(t,38),e)};tz(fCt,"LongEdgeSplitter",1532);Zlt(1533,1,GMt,ar),Sxt.nf=function(t,e){myt(this,RR(t,38),e)},Sxt.d=0,Sxt.e=0,Sxt.i=0,Sxt.j=0,Sxt.k=0,Sxt.n=0;tz(fCt,"NodePromotion",1533);Zlt(1534,1,{},or),Sxt.Kb=function(t){return RR(t,46),_P(),!0},Sxt.Fb=function(t){return this===t};tz(fCt,"NodePromotion/lambda$0$Type",1534);Zlt(1535,1,{},mp),Sxt.Kb=function(t){return function(t,e){return _P(),RR(e.b,20).a<t}(this.a,RR(t,46))},Sxt.Fb=function(t){return this===t},Sxt.a=0;tz(fCt,"NodePromotion/lambda$1$Type",1535);Zlt(1536,1,{},yp),Sxt.Kb=function(t){return function(t,e){return _P(),RR(e.a,20).a<t}(this.a,RR(t,46))},Sxt.Fb=function(t){return this===t},Sxt.a=0;tz(fCt,"NodePromotion/lambda$2$Type",1536);Zlt(1537,1,GMt,sr),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y;for(qat(e,xCt,1),f=RR(Bot(t,(Zwt(),eQt)),216),r=new ed(t.b);r.a<r.c.c.length;)for(o=0,s=(a=bU(RR(xG(r),29).a)).length;o<s;++o)if((i=a[o]).k==(vst(),KHt)){if(f==(V9(),S7t))for(c=new ed(i.j);c.a<c.c.c.length;)0==(u=RR(xG(c),11)).e.c.length||ztt(u),0==u.g.c.length||$tt(u);else if(zA(Bot(i,(dxt(),Oqt)),18))p=RR(Bot(i,Oqt),18),g=RR(Fst(i,(dwt(),Qte)).Ic().Pb(),11),b=RR(Fst(i,Dte).Ic().Pb(),11),v=RR(Bot(g,Oqt),11),PW(p,m=RR(Bot(b,Oqt),11)),EW(p,v),(y=new uA(b.i.n)).a=$4(X3(uw(t8t,1),u_t,8,0,[m.i.n,m.n,m.a])).a,vN(p.a,y),(y=new uA(g.i.n)).a=$4(X3(uw(t8t,1),u_t,8,0,[v.i.n,v.n,v.a])).a,vN(p.a,y);else{if(i.j.c.length>=2){for(d=!0,n=RR(xG(l=new ed(i.j)),11),h=null;l.a<l.c.c.length;)if(h=n,n=RR(xG(l),11),!u8(Bot(h,Oqt),Bot(n,Oqt))){d=!1;break}}else d=!1;for(c=new ed(i.j);c.a<c.c.c.length;)0==(u=RR(xG(c),11)).e.c.length||udt(u,d),0==u.g.c.length||cdt(u,d)}DW(i,null)}Sst(e)}(RR(t,38),e)};tz(fCt,"NorthSouthPortPostprocessor",1537);Zlt(1538,1,GMt,ur),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;for(qat(e,xCt,1),p=new Vb,w=new Vb,c=new ed(t.b);c.a<c.c.c.length;)for(b=-1,f=0,d=(h=bU((u=RR(xG(c),29)).a)).length;f<d;++f)if(++b,(l=h[f]).k==(vst(),YHt)&&jT(RR(Bot(l,(Zwt(),nJt)),100))){for(bL(RR(Bot(l,(Zwt(),nJt)),100))||tdt(l),S4(l,(dxt(),_qt),l),p.c=hK(gjt,zxt,1,0,5,1),w.c=hK(gjt,zxt,1,0,5,1),n=new Vb,B0(m=new sS,Fst(l,(dwt(),Ote))),Uwt(t,m,p,w,n),s=b,x=l,a=new ed(p);a.a<a.c.c.length;)Hrt(r=RR(xG(a),10),s,u),++b,S4(r,_qt,l),o=RR(JN(r.j,0),11),g=RR(Bot(o,Oqt),11),Ay($D(Bot(g,EZt)))||RR(Bot(r,Sqt),14).Dc(x);for(sV(m),v=Fst(l,Kte).Ic();v.Ob();)jX(m,RR(v.Pb(),11),m.a,m.a.a);for(Uwt(t,m,w,null,n),y=l,i=new ed(w);i.a<i.c.c.length;)Hrt(r=RR(xG(i),10),++b,u),S4(r,_qt,l),o=RR(JN(r.j,0),11),g=RR(Bot(o,Oqt),11),Ay($D(Bot(g,EZt)))||RR(Bot(y,Sqt),14).Dc(r);0==n.c.length||S4(l,JXt,n)}Sst(e)}(RR(t,38),e)};tz(fCt,"NorthSouthPortPreprocessor",1538);Zlt(1539,1,Skt,cr),Sxt.ue=function(t,e){return function(t,e){var n,r;return(n=t.j)!=(r=e.j)?n.g-r.g:t.p==e.p?0:n==(dwt(),Ote)?t.p-e.p:e.p-t.p}(RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"NorthSouthPortPreprocessor/lambda$0$Type",1539);Zlt(1540,1,GMt,lr),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o;if(qat(e,"Partition midprocessing",1),i=new yH,uS(_$(new lj(null,new ZW(t.a,16)),new hr),new wp(i)),0!=i.d){for(o=RR(NX(qW(new lj(null,(i.i||(i.i=new IE(i,i.c))).Lc())),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14),n=RR((r=o.Ic()).Pb(),20);r.Ob();)a=RR(r.Pb(),20),Mft(RR(Kq(i,n),21),RR(Kq(i,a),21)),n=a;Sst(e)}}(RR(t,38),e)};tz(fCt,"PartitionMidprocessor",1540);Zlt(1541,1,N_t,hr),Sxt.Mb=function(t){return ZP(RR(t,10),(Zwt(),qQt))};tz(fCt,"PartitionMidprocessor/lambda$0$Type",1541);Zlt(1542,1,h_t,wp),Sxt.td=function(t){!function(t,e){Kct(t,RR(Bot(e,(Zwt(),qQt)),20),e)}(this.a,RR(t,10))};tz(fCt,"PartitionMidprocessor/lambda$1$Type",1542);Zlt(1543,1,GMt,fr),Sxt.nf=function(t,e){!function(t,e){var n,r,i;for(qat(e,"Partition postprocessing",1),n=new ed(t.b);n.a<n.c.c.length;)for(r=new ed(RR(xG(n),29).a);r.a<r.c.c.length;)for(i=new ed(RR(xG(r),10).j);i.a<i.c.c.length;)Ay($D(Bot(RR(xG(i),11),(dxt(),zqt))))&&tB(i);Sst(e)}(RR(t,38),e)};tz(fCt,"PartitionPostprocessor",1543);Zlt(1544,1,GMt,dr),Sxt.nf=function(t,e){!function(t,e){qat(e,"Partition preprocessing",1),uS(RR(NX(_$(oQ(_$(new lj(null,new ZW(t.a,16)),new pr),new gr),new br),IK(new F,new j,new rt,X3(uw(FBt,1),P_t,132,0,[(B5(),RBt)]))),14).Mc(),new vr),Sst(e)}(RR(t,38),e)};tz(fCt,"PartitionPreprocessor",1544);Zlt(1545,1,N_t,pr),Sxt.Mb=function(t){return ZP(RR(t,10),(Zwt(),qQt))};tz(fCt,"PartitionPreprocessor/lambda$0$Type",1545);Zlt(1546,1,{},gr),Sxt.Kb=function(t){return new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(fCt,"PartitionPreprocessor/lambda$1$Type",1546);Zlt(1547,1,N_t,br),Sxt.Mb=function(t){return function(t){var e,n;return!!ZP(t.d.i,(Zwt(),qQt))&&(e=RR(Bot(t.c.i,qQt),20),n=RR(Bot(t.d.i,qQt),20),TA(e.a,n.a)>0)}(RR(t,18))};tz(fCt,"PartitionPreprocessor/lambda$2$Type",1547);Zlt(1548,1,h_t,vr),Sxt.td=function(t){!function(t){var e;uvt(t,!0),e=L_t,ZP(t,(Zwt(),hJt))&&(e+=RR(Bot(t,hJt),20).a),S4(t,hJt,k8(e))}(RR(t,18))};var PGt,DGt,OGt,LGt,RGt;tz(fCt,"PartitionPreprocessor/lambda$3$Type",1548);Zlt(1549,1,GMt,ql),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s;for(qat(e,"Port order processing",1),s=RR(Bot(t,(Zwt(),uJt)),415),n=new ed(t.b);n.a<n.c.c.length;)for(i=new ed(RR(xG(n),29).a);i.a<i.c.c.length;)r=RR(xG(i),10),a=RR(Bot(r,nJt),100),o=r.j,a==(Fat(),vte)||a==yte||a==mte?(mV(),kA(o,PGt)):a!=xte&&a!=_te&&(mV(),kA(o,OGt),Int(o),s==(PZ(),D1t)&&kA(o,DGt)),r.i=!0,Mct(r);Sst(e)}(RR(t,38),e)};tz(fCt,"PortListSorter",1549);Zlt(1550,1,{},mr),Sxt.Kb=function(t){return W4(),RR(t,11).e};tz(fCt,"PortListSorter/lambda$0$Type",1550);Zlt(1551,1,{},yr),Sxt.Kb=function(t){return W4(),RR(t,11).g};tz(fCt,"PortListSorter/lambda$1$Type",1551);Zlt(1552,1,Skt,wr),Sxt.ue=function(t,e){return vX(RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"PortListSorter/lambda$2$Type",1552);Zlt(1553,1,Skt,xr),Sxt.ue=function(t,e){return function(t,e){if(W4(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return C9(e,RGt)-C9(t,RGt);case 4:return C9(t,LGt)-C9(e,LGt)}return 0}(RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"PortListSorter/lambda$3$Type",1553);Zlt(1554,1,Skt,_r),Sxt.ue=function(t,e){return qbt(RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"PortListSorter/lambda$4$Type",1554);Zlt(1555,1,GMt,Sr),Sxt.nf=function(t,e){!function(t,e){var n,r,i;for(qat(e,"Port side processing",1),i=new ed(t.a);i.a<i.c.c.length;)fvt(RR(xG(i),10));for(n=new ed(t.b);n.a<n.c.c.length;)for(r=new ed(RR(xG(n),29).a);r.a<r.c.c.length;)fvt(RR(xG(r),10));Sst(e)}(RR(t,38),e)};tz(fCt,"PortSideProcessor",1555);Zlt(1556,1,GMt,kr),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u;for(qat(e,"Restoring reversed edges",1),o=new ed(t.b);o.a<o.c.c.length;)for(s=new ed(RR(xG(o),29).a);s.a<s.c.c.length;)for(u=new ed(RR(xG(s),10).j);u.a<u.c.c.length;)for(i=0,a=(r=gU(RR(xG(u),11).g)).length;i<a;++i)Ay($D(Bot(n=r[i],(dxt(),Uqt))))&&uvt(n,!1);Sst(e)}(RR(t,38),e)};tz(fCt,"ReversedEdgeRestorer",1556);Zlt(1561,1,GMt,Zv),Sxt.nf=function(t,e){!function(t,e,n){qat(n,"Self-Loop ordering",1),uS(S$(_$(_$(oQ(new lj(null,new ZW(e.b,16)),new Ir),new Mr),new Cr),new Tr),new Sp(t)),Sst(n)}(this,RR(t,38),e)};tz(fCt,"SelfLoopPortRestorer",1561);Zlt(1562,1,{},Ir),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"SelfLoopPortRestorer/lambda$0$Type",1562);Zlt(1563,1,N_t,Mr),Sxt.Mb=function(t){return RR(t,10).k==(vst(),YHt)};tz(fCt,"SelfLoopPortRestorer/lambda$1$Type",1563);Zlt(1564,1,N_t,Cr),Sxt.Mb=function(t){return ZP(RR(t,10),(dxt(),Xqt))};tz(fCt,"SelfLoopPortRestorer/lambda$2$Type",1564);Zlt(1565,1,{},Tr),Sxt.Kb=function(t){return RR(Bot(RR(t,10),(dxt(),Xqt)),398)};tz(fCt,"SelfLoopPortRestorer/lambda$3$Type",1565);Zlt(1566,1,h_t,Sp),Sxt.td=function(t){Rst(this.a,RR(t,398))};tz(fCt,"SelfLoopPortRestorer/lambda$4$Type",1566);Zlt(776,1,h_t,Ar),Sxt.td=function(t){Kst(RR(t,101))};tz(fCt,"SelfLoopPortRestorer/lambda$5$Type",776);Zlt(1567,1,GMt,Er),Sxt.nf=function(t,e){!function(t,e){qat(e,"Self-Loop post-processing",1),uS(_$(_$(oQ(new lj(null,new ZW(t.b,16)),new Pr),new Dr),new Or),new Lr),Sst(e)}(RR(t,38),e)};tz(fCt,"SelfLoopPostProcessor",1567);Zlt(1568,1,{},Pr),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"SelfLoopPostProcessor/lambda$0$Type",1568);Zlt(1569,1,N_t,Dr),Sxt.Mb=function(t){return RR(t,10).k==(vst(),YHt)};tz(fCt,"SelfLoopPostProcessor/lambda$1$Type",1569);Zlt(1570,1,N_t,Or),Sxt.Mb=function(t){return ZP(RR(t,10),(dxt(),Xqt))};tz(fCt,"SelfLoopPostProcessor/lambda$2$Type",1570);Zlt(1571,1,h_t,Lr),Sxt.td=function(t){!function(t){var e;uS(oQ(new lj(null,new ZW((e=RR(Bot(t,(dxt(),Xqt)),398)).d,16)),new Rr),new kp(t)),uS(_$(new lj(null,new ZW(e.d,16)),new Nr),new Ip(t))}(RR(t,10))};tz(fCt,"SelfLoopPostProcessor/lambda$3$Type",1571);Zlt(1572,1,{},Rr),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,101).f,1))};tz(fCt,"SelfLoopPostProcessor/lambda$4$Type",1572);Zlt(1573,1,h_t,kp),Sxt.td=function(t){!function(t,e){var n;PW(n=e.a,e.c.d),EW(n,e.d.d),gJ(n.a,t.n)}(this.a,RR(t,404))};tz(fCt,"SelfLoopPostProcessor/lambda$5$Type",1573);Zlt(1574,1,N_t,Nr),Sxt.Mb=function(t){return!!RR(t,101).i};tz(fCt,"SelfLoopPostProcessor/lambda$6$Type",1574);Zlt(1575,1,h_t,Ip),Sxt.td=function(t){vy(this.a,RR(t,101))};tz(fCt,"SelfLoopPostProcessor/lambda$7$Type",1575);Zlt(1557,1,GMt,jr),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a;for(qat(e,"Self-Loop pre-processing",1),r=new ed(t.a);r.a<r.c.c.length;)O9(n=RR(xG(r),10))&&(a=new ret(n),S4(n,(dxt(),Xqt),a),Jgt(a),uS(S$(oQ(new lj(null,new ZW((i=a).d,16)),new Fr),new Br),new zr),ldt(i));Sst(e)}(RR(t,38),e)};tz(fCt,"SelfLoopPreProcessor",1557);Zlt(1558,1,{},Fr),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,101).f,1))};tz(fCt,"SelfLoopPreProcessor/lambda$0$Type",1558);Zlt(1559,1,{},Br),Sxt.Kb=function(t){return RR(t,404).a};tz(fCt,"SelfLoopPreProcessor/lambda$1$Type",1559);Zlt(1560,1,h_t,zr),Sxt.td=function(t){!function(t){PW(t,null),EW(t,null)}(RR(t,18))};tz(fCt,"SelfLoopPreProcessor/lambda$2$Type",1560);Zlt(1576,1,GMt,OO),Sxt.nf=function(t,e){mst(this,RR(t,38),e)};tz(fCt,"SelfLoopRouter",1576);Zlt(1577,1,{},$r),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,29).a,16))};tz(fCt,"SelfLoopRouter/lambda$0$Type",1577);Zlt(1578,1,N_t,Vr),Sxt.Mb=function(t){return RR(t,10).k==(vst(),YHt)};tz(fCt,"SelfLoopRouter/lambda$1$Type",1578);Zlt(1579,1,N_t,Hr),Sxt.Mb=function(t){return ZP(RR(t,10),(dxt(),Xqt))};tz(fCt,"SelfLoopRouter/lambda$2$Type",1579);Zlt(1580,1,{},Wr),Sxt.Kb=function(t){return RR(Bot(RR(t,10),(dxt(),Xqt)),398)};tz(fCt,"SelfLoopRouter/lambda$3$Type",1580);Zlt(1581,1,h_t,tI),Sxt.td=function(t){E$(this.a,this.b,RR(t,398))};tz(fCt,"SelfLoopRouter/lambda$4$Type",1581);Zlt(1582,1,GMt,Gr),Sxt.nf=function(t,e){!function(t,e){var n,r;for(qat(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,r=new ed(t.b);r.a<r.c.c.length;)n|=null!=i8(JQ(_$(_$(new lj(null,new ZW(RR(xG(r),29).a,16)),new Ur),new Xr),new qr),new Yr).a;n&&S4(t,(dxt(),kqt),(_P(),!0)),Sst(e)}(RR(t,38),e)};tz(fCt,"SemiInteractiveCrossMinProcessor",1582);Zlt(1583,1,N_t,Ur),Sxt.Mb=function(t){return RR(t,10).k==(vst(),YHt)};tz(fCt,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1583);Zlt(1584,1,N_t,Xr),Sxt.Mb=function(t){return ij(RR(t,10))._b((Zwt(),cJt))};tz(fCt,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1584);Zlt(1585,1,Skt,qr),Sxt.ue=function(t,e){return function(t,e){var n,r;return n=RR(Bot(t,(Zwt(),cJt)),8),r=RR(Bot(e,cJt),8),j8(n.b,r.b)}(RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(fCt,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1585);Zlt(1586,1,{},Yr),Sxt.Ce=function(t,e){return function(t,e){return RR(Bot(t,(dxt(),Sqt)),14).Dc(e),e}(RR(t,10),RR(e,10))};tz(fCt,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1586);Zlt(1588,1,GMt,Kr),Sxt.nf=function(t,e){!function(t){var e,n,r,i,a,o,s,u;for(r=0,n=new ed(t.b);n.a<n.c.c.length;){for(e=RR(xG(n),29),s=0==r?0:r-1,o=RR(JN(t.b,s),29),a=new ed(e.a);a.a<a.c.c.length;)DC(Bot(i=RR(xG(a),10),(Zwt(),nJt)))===DC((Fat(),vte))&&DC(Bot(i,nJt))===DC(mte)||(u=new Hb,uS(_$(new lj(null,new ZW(i.j,16)),new Zr),new Mp(u)),mV(),kA(i.j,new dI(o,u)),i.i=!0,Mct(i));mV(),kA(e.a,new fI(o,RR(Bot(t,(Zwt(),NZt)),372))),++r}}(RR(t,38))};tz(fCt,"SortByInputModelProcessor",1588);Zlt(1589,1,N_t,Zr),Sxt.Mb=function(t){return 0!=RR(t,11).g.c.length};tz(fCt,"SortByInputModelProcessor/lambda$0$Type",1589);Zlt(1590,1,h_t,Mp),Sxt.td=function(t){Hat(this.a,RR(t,11))};tz(fCt,"SortByInputModelProcessor/lambda$1$Type",1590);Zlt(1663,785,{},F0),Sxt.Me=function(t){var e,n,r,i;switch(this.c=t,this.a.g){case 2:e=new Vb,uS(_$(new lj(null,new ZW(this.c.a.b,16)),new hi),new aI(this,e)),tct(this,new Jr),cJ(e,new ti),e.c=hK(gjt,zxt,1,0,5,1),uS(_$(new lj(null,new ZW(this.c.a.b,16)),new ei),new Tp(e)),tct(this,new ni),cJ(e,new ri),e.c=hK(gjt,zxt,1,0,5,1),n=CA(z0(k$(new lj(null,new ZW(this.c.a.b,16)),new Ap(this))),new ii),uS(new lj(null,new ZW(this.c.a.a,16)),new nI(n,e)),tct(this,new oi),cJ(e,new si),e.c=hK(gjt,zxt,1,0,5,1);break;case 3:r=new Vb,tct(this,new Qr),i=CA(z0(k$(new lj(null,new ZW(this.c.a.b,16)),new Cp(this))),new ai),uS(_$(new lj(null,new ZW(this.c.a.b,16)),new ui),new iI(i,r)),tct(this,new ci),cJ(r,new li),r.c=hK(gjt,zxt,1,0,5,1);break;default:throw Jb(new Iv)}},Sxt.b=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation",1663);Zlt(1664,1,$kt,Qr),Sxt.Lb=function(t){return zA(RR(t,56).g,145)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return zA(RR(t,56).g,145)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1664);Zlt(1665,1,{},Cp),Sxt.Fe=function(t){return function(t,e){var n,i;return zA(e.g,10)&&RR(e.g,10).k==(vst(),UHt)?RSt:$U(e)?r.Math.max(0,t.b/2-.5):(n=aU(e))?(i=Dy(VD(A7(n,(Zwt(),AJt)))),r.Math.max(0,i/2-.5)):RSt}(this.a,RR(t,56))};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1665);Zlt(1673,1,j_t,eI),Sxt.Vd=function(){_it(this.a,this.b,-1)},Sxt.b=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1673);Zlt(1675,1,$kt,Jr),Sxt.Lb=function(t){return zA(RR(t,56).g,145)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return zA(RR(t,56).g,145)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1675);Zlt(1676,1,h_t,ti),Sxt.td=function(t){RR(t,362).Vd()};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1676);Zlt(1677,1,N_t,ei),Sxt.Mb=function(t){return zA(RR(t,56).g,10)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1677);Zlt(1679,1,h_t,Tp),Sxt.td=function(t){!function(t,e){var n,i;i=Dy(VD(A7(aU(e),(Zwt(),wJt)))),_it(e,n=r.Math.max(0,i/2-.5),1),LR(t,new uI(e,n))}(this.a,RR(t,56))};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1679);Zlt(1678,1,j_t,uI),Sxt.Vd=function(){_it(this.b,this.a,-1)},Sxt.a=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1678);Zlt(1680,1,$kt,ni),Sxt.Lb=function(t){return zA(RR(t,56).g,10)},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return zA(RR(t,56).g,10)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1680);Zlt(1681,1,h_t,ri),Sxt.td=function(t){RR(t,362).Vd()};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1681);Zlt(1682,1,{},Ap),Sxt.Fe=function(t){return function(t,e){var n,i;return zA(e.g,10)&&RR(e.g,10).k==(vst(),UHt)?RSt:$U(e)?r.Math.max(0,t.b/2-.5):(n=aU(e))?(i=Dy(VD(A7(n,(Zwt(),AJt)))),r.Math.max(0,i/2-.5)):RSt}(this.a,RR(t,56))};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1682);Zlt(1683,1,{},ii),Sxt.De=function(){return 0};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1683);Zlt(1666,1,{},ai),Sxt.De=function(){return 0};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1666);Zlt(1685,1,h_t,nI),Sxt.td=function(t){!function(t,e,n){wht(n,t,1),LR(e,new rI(n,t))}(this.a,this.b,RR(t,305))},Sxt.a=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1685);Zlt(1684,1,j_t,rI),Sxt.Vd=function(){wht(this.a,this.b,-1)},Sxt.b=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1684);Zlt(1686,1,$kt,oi),Sxt.Lb=function(t){return RR(t,56),!0},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return RR(t,56),!0};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1686);Zlt(1687,1,h_t,si),Sxt.td=function(t){RR(t,362).Vd()};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1687);Zlt(1667,1,N_t,ui),Sxt.Mb=function(t){return zA(RR(t,56).g,10)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1667);Zlt(1669,1,h_t,iI),Sxt.td=function(t){!function(t,e,n){_it(n,t,1),LR(e,new cI(n,t))}(this.a,this.b,RR(t,56))},Sxt.a=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1669);Zlt(1668,1,j_t,cI),Sxt.Vd=function(){_it(this.b,this.a,-1)},Sxt.a=0;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1668);Zlt(1670,1,$kt,ci),Sxt.Lb=function(t){return RR(t,56),!0},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return RR(t,56),!0};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1670);Zlt(1671,1,h_t,li),Sxt.td=function(t){RR(t,362).Vd()};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1671);Zlt(1672,1,N_t,hi),Sxt.Mb=function(t){return zA(RR(t,56).g,145)};tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1672);Zlt(1674,1,h_t,aI),Sxt.td=function(t){!function(t,e,n){var i;_it(n,i=r.Math.max(0,t.b/2-.5),1),LR(e,new eI(n,i))}(this.a,this.b,RR(t,56))};var NGt;tz(_Ct,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1674);Zlt(1491,1,GMt,OP),Sxt.nf=function(t,e){Emt(this,RR(t,38),e)};tz(_Ct,"HorizontalGraphCompactor",1491);Zlt(1492,1,{},Ep),Sxt.Oe=function(t,e){var n,r;return WZ(t,e)?0:(n=aU(t),r=aU(e),n&&n.k==(vst(),UHt)||r&&r.k==(vst(),UHt)?0:function(t,e,n){return WU(t,e,n,t.b)}(RR(Bot(this.a.a,(dxt(),qqt)),302),n?n.k:(vst(),qHt),r?r.k:(vst(),qHt)))},Sxt.Pe=function(t,e){var n,r;return WZ(t,e)?1:(n=aU(t),r=aU(e),CP(RR(Bot(this.a.a,(dxt(),qqt)),302),n?n.k:(vst(),qHt),r?r.k:(vst(),qHt)))};tz(_Ct,"HorizontalGraphCompactor/1",1492);Zlt(1493,1,{},fi),Sxt.Ne=function(t,e){return ES(),0==t.a.i};tz(_Ct,"HorizontalGraphCompactor/lambda$0$Type",1493);Zlt(1494,1,{},Pp),Sxt.Ne=function(t,e){return function(t,e,n){return ES(),function(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}(RR(oz(t.e,e),515),n)}(this.a,t,e)};var jGt,FGt;tz(_Ct,"HorizontalGraphCompactor/lambda$1$Type",1494);Zlt(1634,1,{},DZ);tz(_Ct,"LGraphToCGraphTransformer",1634);Zlt(1642,1,N_t,di),Sxt.Mb=function(t){return null!=t};tz(_Ct,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1642);Zlt(1635,1,{},pi),Sxt.Kb=function(t){return iR(),P9(Bot(RR(RR(t,56).g,10),(dxt(),Oqt)))};tz(_Ct,"LGraphToCGraphTransformer/lambda$0$Type",1635);Zlt(1636,1,{},gi),Sxt.Kb=function(t){return iR(),X6(RR(RR(t,56).g,145))};tz(_Ct,"LGraphToCGraphTransformer/lambda$1$Type",1636);Zlt(1645,1,N_t,bi),Sxt.Mb=function(t){return iR(),zA(RR(t,56).g,10)};tz(_Ct,"LGraphToCGraphTransformer/lambda$10$Type",1645);Zlt(1646,1,h_t,vi),Sxt.td=function(t){!function(t){var e;iR(),(e=RR(t.g,10)).n.a=t.d.c+e.d.b}(RR(t,56))};tz(_Ct,"LGraphToCGraphTransformer/lambda$11$Type",1646);Zlt(1647,1,N_t,mi),Sxt.Mb=function(t){return iR(),zA(RR(t,56).g,145)};tz(_Ct,"LGraphToCGraphTransformer/lambda$12$Type",1647);Zlt(1651,1,h_t,yi),Sxt.td=function(t){!function(t){var e,n;iR(),e=t.d.c-t.e.c,cJ((n=RR(t.g,145)).b,new Dp(e)),cJ(n.c,new Op(e)),yq(n.i,new Lp(e))}(RR(t,56))};tz(_Ct,"LGraphToCGraphTransformer/lambda$13$Type",1651);Zlt(1648,1,h_t,Dp),Sxt.td=function(t){!function(t,e){iR(),e.a+=t}(this.a,RR(t,8))},Sxt.a=0;tz(_Ct,"LGraphToCGraphTransformer/lambda$14$Type",1648);Zlt(1649,1,h_t,Op),Sxt.td=function(t){!function(t,e){iR(),e.c+=t}(this.a,RR(t,109))},Sxt.a=0;tz(_Ct,"LGraphToCGraphTransformer/lambda$15$Type",1649);Zlt(1650,1,h_t,Lp),Sxt.td=function(t){!function(t,e){iR(),e.a+=t}(this.a,RR(t,8))},Sxt.a=0;tz(_Ct,"LGraphToCGraphTransformer/lambda$16$Type",1650);Zlt(1652,1,{},wi),Sxt.Kb=function(t){return iR(),new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(_Ct,"LGraphToCGraphTransformer/lambda$17$Type",1652);Zlt(1653,1,N_t,xi),Sxt.Mb=function(t){return iR(),Nq(RR(t,18))};tz(_Ct,"LGraphToCGraphTransformer/lambda$18$Type",1653);Zlt(1654,1,h_t,Rp),Sxt.td=function(t){!function(t,e){var n,r,i;i=e.c.i,r=(n=RR(oz(t.f,i),56)).d.c-n.e.c,q0(e.a,r,0)}(this.a,RR(t,18))};tz(_Ct,"LGraphToCGraphTransformer/lambda$19$Type",1654);Zlt(1638,1,h_t,Np),Sxt.td=function(t){!function(t,e){var n;n=RR(oz(t.g,e),56),cJ(e.d,new oI(t,n))}(this.a,RR(t,145))};tz(_Ct,"LGraphToCGraphTransformer/lambda$2$Type",1638);Zlt(1655,1,{},_i),Sxt.Kb=function(t){return iR(),new lj(null,new ZW(RR(t,29).a,16))};tz(_Ct,"LGraphToCGraphTransformer/lambda$20$Type",1655);Zlt(1656,1,{},Si),Sxt.Kb=function(t){return iR(),new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(_Ct,"LGraphToCGraphTransformer/lambda$21$Type",1656);Zlt(1657,1,{},ki),Sxt.Kb=function(t){return iR(),RR(Bot(RR(t,18),(dxt(),Zqt)),14)};tz(_Ct,"LGraphToCGraphTransformer/lambda$22$Type",1657);Zlt(1658,1,N_t,Ii),Sxt.Mb=function(t){return function(t){return iR(),!!t&&!t.dc()}(RR(t,14))};tz(_Ct,"LGraphToCGraphTransformer/lambda$23$Type",1658);Zlt(1659,1,h_t,jp),Sxt.td=function(t){!function(t,e){var n,r,i,a,o;if(!e.dc())if(i=RR(e.Xb(0),128),1!=e.gc())for(n=1;n<e.gc();)!i.j&&i.o||(a=Prt(e,n))&&(r=RR(a.a,20).a,ydt(t,i,o=RR(a.b,128),n,r,e),n=r+1,i=o);else ydt(t,i,i,1,0,e)}(this.a,RR(t,14))};tz(_Ct,"LGraphToCGraphTransformer/lambda$24$Type",1659);Zlt(1637,1,h_t,oI),Sxt.td=function(t){!function(t,e,n){var r;r=RR(oz(t.g,n),56),LR(t.a.c,new KM(e,r))}(this.a,this.b,RR(t,145))};tz(_Ct,"LGraphToCGraphTransformer/lambda$3$Type",1637);Zlt(1639,1,{},Mi),Sxt.Kb=function(t){return iR(),new lj(null,new ZW(RR(t,29).a,16))};tz(_Ct,"LGraphToCGraphTransformer/lambda$4$Type",1639);Zlt(1640,1,{},Ci),Sxt.Kb=function(t){return iR(),new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(_Ct,"LGraphToCGraphTransformer/lambda$5$Type",1640);Zlt(1641,1,{},Ti),Sxt.Kb=function(t){return iR(),RR(Bot(RR(t,18),(dxt(),Zqt)),14)};tz(_Ct,"LGraphToCGraphTransformer/lambda$6$Type",1641);Zlt(1643,1,h_t,Fp),Sxt.td=function(t){!function(t,e){var n,r,i,a;for(iR(),n=null,i=e.Ic();i.Ob();)(r=RR(i.Pb(),128)).o||(LR((a=new Tvt(NA(r.a),GR(r.a),null,RR(r.d.a.ec().Ic().Pb(),18))).c,r.a),t.c[t.c.length]=a,n&&LR(n.d,a),n=a)}(this.a,RR(t,14))};tz(_Ct,"LGraphToCGraphTransformer/lambda$8$Type",1643);Zlt(1644,1,h_t,sI),Sxt.td=function(t){!function(t,e,n){t$(t.g,n,e)}(this.a,this.b,RR(t,145))};tz(_Ct,"LGraphToCGraphTransformer/lambda$9$Type",1644);Zlt(1633,1,{},Ai),Sxt.Le=function(t){var e,n,i,a,o;for(this.a=t,this.d=new Lv,this.c=hK(Czt,zxt,119,this.a.a.a.c.length,0,1),this.b=0,n=new ed(this.a.a.a);n.a<n.c.c.length;)(e=RR(xG(n),305)).d=this.b,o=dP(mS(new jv,e),this.d),this.c[this.b]=o,++this.b;for(function(t){var e,n,i,a,o,s,u,c,l,h,f,d;for(a=new ed(t.a.a.b);a.a<a.c.c.length;)for(c=(i=RR(xG(a),56)).c.Ic();c.Ob();)u=RR(c.Pb(),56),i.a!=u.a&&(f=RT(t.a.d)?t.a.g.Oe(i,u):t.a.g.Pe(i,u),o=i.b.a+i.d.b+f-u.b.a,o=r.Math.ceil(o),o=r.Math.max(0,o),WZ(i,u)?(s=dP(new jv,t.d),e=(l=CH(r.Math.ceil(u.b.a-i.b.a)))-(u.b.a-i.b.a),n=i,(h=$U(i).a)||(h=$U(u).a,e=-e,n=u),h&&(n.b.a-=e,h.n.a-=e),Kft(bS(gS(vS(pS(new Nv,r.Math.max(0,l)),1),s),t.c[i.a.d])),Kft(bS(gS(vS(pS(new Nv,r.Math.max(0,-l)),1),s),t.c[u.a.d]))):(d=1,(zA(i.g,145)&&zA(u.g,10)||zA(u.g,145)&&zA(i.g,10))&&(d=2),Kft(bS(gS(vS(pS(new Nv,CH(o)),d),t.c[i.a.d]),t.c[u.a.d]))))}(this),function(t){var e,n,r,i,a,o,s,u,c,l,h,f,d,g,b,v,m;for(c=new Hb,s=new yH,r=new ed(t.a.a.b);r.a<r.c.c.length;)if(u=aU(e=RR(xG(r),56)))ect(c.f,u,e);else if(m=$U(e))for(i=new ed(m.k);i.a<i.c.c.length;)Kct(s,RR(xG(i),18),e);for(n=new ed(t.a.a.b);n.a<n.c.c.length;)if(u=aU(e=RR(xG(n),56)))for(o=new xF(zE(g9(u).a.Ic(),new p));Qlt(o);)if(!Nq(a=RR(dq(o),18))&&(d=a.c,v=a.d,!(dwt(),Wte).Fc(a.c.j)||!Wte.Fc(a.d.j))){if(g=RR(oz(c,a.d.i),56),Kft(bS(gS(vS(pS(new Nv,0),100),t.c[e.a.d]),t.c[g.a.d])),d.j==Qte&&kF((f2(),d)))for(h=RR(Kq(s,a),21).Ic();h.Ob();)if((l=RR(h.Pb(),56)).d.c<e.d.c){if((f=t.c[l.a.d])==(b=t.c[e.a.d]))continue;Kft(bS(gS(vS(pS(new Nv,1),100),f),b))}if(v.j==Dte&&SF((f2(),v)))for(h=RR(Kq(s,a),21).Ic();h.Ob();)if((l=RR(h.Pb(),56)).d.c>e.d.c){if((f=t.c[e.a.d])==(b=t.c[l.a.d]))continue;Kft(bS(gS(vS(pS(new Nv,1),100),f),b))}}}(this),function(t){var e,n,r,i,a,o,s;for(a=new sS,i=new ed(t.d.a);i.a<i.c.c.length;)0==(r=RR(xG(i),119)).b.a.c.length&&jX(a,r,a.c.b,a.c);if(a.b>1)for(e=dP((n=new jv,++t.b,n),t.d),s=het(a,0);s.b!=s.d.c;)o=RR(zU(s),119),Kft(bS(gS(vS(pS(new Nv,1),0),e),o))}(this),Ngt(HL(this.d),new Xm),a=new ed(this.a.a.b);a.a<a.c.c.length;)(i=RR(xG(a),56)).d.c=this.c[i.a.d].e+i.b.a},Sxt.b=0;tz(_Ct,"NetworkSimplexCompaction",1633);Zlt(145,1,{36:1,145:1},Tvt),Sxt.wd=function(t){return function(t,e){var n;return 0==(n=q9(t.e.c,e.e.c))?j8(t.e.d,e.e.d):n}(this,RR(t,145))},Sxt.Ib=function(){return X6(this)};tz(_Ct,"VerticalSegment",145);Zlt(806,1,{},Oat),Sxt.c=0,Sxt.e=0,Sxt.i=0;tz(SCt,"BetweenLayerEdgeTwoNodeCrossingsCounter",806);Zlt(651,1,{651:1},I2),Sxt.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},Sxt.b=0,Sxt.c=0,Sxt.f=0;tz(SCt,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",651);Zlt(286,1,{36:1,286:1},KP),Sxt.wd=function(t){return function(t,e){return t.c<e.c?-1:t.c==e.c?0:1}(this,RR(t,286))},Sxt.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(SCt,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",286);Zlt(1901,1,{},Xst),Sxt.b=0,Sxt.e=!1;tz(SCt,"CrossingMatrixFiller",1901);var BGt=NN(kCt,"IInitializable");Zlt(1776,1,ICt,hI),Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Mf=function(t,e,n){},Sxt.If=function(){return this.c!=(T1(),k0t)},Sxt.Jf=function(){this.e=hK(noe,uSt,24,this.d,15,1)},Sxt.Lf=function(t,e){e[t][0].c.p=t},Sxt.Nf=function(t,e,n,r){++this.d},Sxt.Of=function(){return!0},Sxt.Pf=function(t,e,n,r){return m6(this,t,e,n),function(t,e){var n,r;r=!1;do{r|=n=A4(t,e)}while(n);return r}(this,e)},Sxt.Qf=function(t,e){var n;return n=function(t,e){return t?0:e-1}(e,t.length),m6(this,t,n,e),A4(this,n)},Sxt.d=0;tz(SCt,"GreedySwitchHeuristic",1776);Zlt(1902,1,{},gj),Sxt.b=0,Sxt.d=0;tz(SCt,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1902);Zlt(1889,1,{},Tpt),Sxt.a=!1;tz(SCt,"SwitchDecider",1889);Zlt(101,1,{101:1},dut),Sxt.a=null,Sxt.c=null,Sxt.i=null;tz(MCt,"SelfHyperLoop",101);Zlt(1888,1,{},iet),Sxt.c=0,Sxt.e=0;var zGt,$Gt,VGt,HGt;tz(MCt,"SelfHyperLoopLabels",1888);Zlt(406,22,{3:1,36:1,22:1,406:1},pI);var WGt,GGt=h1(MCt,"SelfHyperLoopLabels/Alignment",406,Pjt,(function(){return S3(),X3(uw(GGt,1),P_t,406,0,[zGt,$Gt,VGt,HGt])}),(function(t){return S3(),hQ((oZ(),WGt),t)}));Zlt(404,1,{404:1},pY);tz(MCt,"SelfLoopEdge",404);Zlt(398,1,{398:1},ret),Sxt.a=!1;tz(MCt,"SelfLoopHolder",398);Zlt(1693,1,N_t,Hi),Sxt.Mb=function(t){return Nq(RR(t,18))};tz(MCt,"SelfLoopHolder/lambda$0$Type",1693);Zlt(112,1,{112:1},Set),Sxt.a=!1,Sxt.c=!1;tz(MCt,"SelfLoopPort",112);Zlt(1763,1,N_t,Wi),Sxt.Mb=function(t){return Nq(RR(t,18))};var UGt,XGt,qGt,YGt,KGt;tz(MCt,"SelfLoopPort/lambda$0$Type",1763);Zlt(360,22,{3:1,36:1,22:1,360:1},gI);var ZGt,QGt,JGt,tUt,eUt,nUt=h1(MCt,"SelfLoopType",360,Pjt,(function(){return Iat(),X3(uw(nUt,1),P_t,360,0,[XGt,YGt,KGt,qGt,UGt])}),(function(t){return Iat(),hQ((TQ(),ZGt),t)}));Zlt(1701,1,{},Kl);var rUt,iUt,aUt;tz(CCt,"PortRestorer",1701);Zlt(358,22,{3:1,36:1,22:1,358:1},bI);var oUt,sUt=h1(CCt,"PortRestorer/PortSideArea",358,Pjt,(function(){return _0(),X3(uw(sUt,1),P_t,358,0,[aUt,iUt,rUt])}),(function(t){return _0(),hQ((iK(),oUt),t)}));Zlt(1702,1,{},Pi),Sxt.Kb=function(t){return Qot(),RR(t,14).Mc()};tz(CCt,"PortRestorer/lambda$0$Type",1702);Zlt(1703,1,h_t,Di),Sxt.td=function(t){Qot(),RR(t,112).c=!1};tz(CCt,"PortRestorer/lambda$1$Type",1703);Zlt(1712,1,N_t,Oi),Sxt.Mb=function(t){return Qot(),RR(t,11).j==(dwt(),Qte)};tz(CCt,"PortRestorer/lambda$10$Type",1712);Zlt(1713,1,{},Li),Sxt.Kb=function(t){return Qot(),RR(t,112).d};tz(CCt,"PortRestorer/lambda$11$Type",1713);Zlt(1714,1,h_t,Bp),Sxt.td=function(t){!function(t,e){Qot(),OW(e,t)}(this.a,RR(t,11))};tz(CCt,"PortRestorer/lambda$12$Type",1714);Zlt(1704,1,h_t,zp),Sxt.td=function(t){!function(t,e){Qot(),Kct(t,e.e,e)}(this.a,RR(t,101))};tz(CCt,"PortRestorer/lambda$2$Type",1704);Zlt(1705,1,Skt,Ri),Sxt.ue=function(t,e){return function(t,e){return Qot(),TA(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}(RR(t,112),RR(e,112))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(CCt,"PortRestorer/lambda$3$Type",1705);Zlt(1706,1,N_t,Ni),Sxt.Mb=function(t){return Qot(),RR(t,112).c};tz(CCt,"PortRestorer/lambda$4$Type",1706);Zlt(1707,1,N_t,ji),Sxt.Mb=function(t){return function(t){var e,n,r;return t.j==(dwt(),Ote)&&(n=oP(e=Rlt(t),Dte),(r=oP(e,Qte))||r&&n)}(RR(t,11))};tz(CCt,"PortRestorer/lambda$5$Type",1707);Zlt(1708,1,N_t,Ei),Sxt.Mb=function(t){return Qot(),RR(t,11).j==(dwt(),Ote)};tz(CCt,"PortRestorer/lambda$6$Type",1708);Zlt(1709,1,N_t,Fi),Sxt.Mb=function(t){return Qot(),RR(t,11).j==(dwt(),Dte)};tz(CCt,"PortRestorer/lambda$7$Type",1709);Zlt(1710,1,N_t,Bi),Sxt.Mb=function(t){return function(t){return t.j==(dwt(),Kte)&&oP(Rlt(t),Dte)}(RR(t,11))};tz(CCt,"PortRestorer/lambda$8$Type",1710);Zlt(1711,1,N_t,zi),Sxt.Mb=function(t){return Qot(),RR(t,11).j==(dwt(),Kte)};var uUt,cUt,lUt,hUt,fUt,dUt,pUt,gUt;tz(CCt,"PortRestorer/lambda$9$Type",1711);Zlt(269,22,{3:1,36:1,22:1,269:1},P$);var bUt,vUt=h1(CCt,"PortSideAssigner/Target",269,Pjt,(function(){return Jdt(),X3(uw(vUt,1),P_t,269,0,[cUt,fUt,uUt,gUt,hUt,lUt,pUt,dUt])}),(function(t){return Jdt(),hQ((G2(),bUt),t)}));Zlt(1694,1,{},$i),Sxt.Kb=function(t){return _$(new lj(null,new ZW(RR(t,101).j,16)),new Yi)};tz(CCt,"PortSideAssigner/lambda$1$Type",1694);Zlt(1695,1,{},Vi),Sxt.Kb=function(t){return RR(t,112).d};tz(CCt,"PortSideAssigner/lambda$2$Type",1695);Zlt(1696,1,h_t,Ui),Sxt.td=function(t){vct(RR(t,11),(dwt(),Ote))};tz(CCt,"PortSideAssigner/lambda$3$Type",1696);Zlt(1697,1,{},Xi),Sxt.Kb=function(t){return RR(t,112).d};tz(CCt,"PortSideAssigner/lambda$4$Type",1697);Zlt(1698,1,h_t,$p),Sxt.td=function(t){!function(t,e){vct(e,t)}(this.a,RR(t,11))};tz(CCt,"PortSideAssigner/lambda$5$Type",1698);Zlt(1699,1,Skt,Gi),Sxt.ue=function(t,e){return function(t,e){return TA(e.j.c.length,t.j.c.length)}(RR(t,101),RR(e,101))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(CCt,"PortSideAssigner/lambda$6$Type",1699);Zlt(1700,1,Skt,qi),Sxt.ue=function(t,e){return function(t,e){return TA(MN(t.d),MN(e.d))}(RR(t,112),RR(e,112))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(CCt,"PortSideAssigner/lambda$7$Type",1700);Zlt(787,1,N_t,Yi),Sxt.Mb=function(t){return RR(t,112).c};tz(CCt,"PortSideAssigner/lambda$8$Type",787);Zlt(1978,1,{});tz(TCt,"AbstractSelfLoopRouter",1978);Zlt(1719,1,Skt,Ki),Sxt.ue=function(t,e){return function(t,e){return TA(t.a.d.p,e.a.d.p)}(RR(t,101),RR(e,101))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(TCt,hIt,1719);Zlt(1720,1,Skt,Zi),Sxt.ue=function(t,e){return function(t,e){return TA(e.a.d.p,t.a.d.p)}(RR(t,101),RR(e,101))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(TCt,fIt,1720);Zlt(1764,1978,{},Qi),Sxt.Rf=function(t,e,n){return n};tz(TCt,"OrthogonalSelfLoopRouter",1764);Zlt(1766,1,h_t,lI),Sxt.td=function(t){Ctt(this.b,this.a,RR(t,8))};tz(TCt,"OrthogonalSelfLoopRouter/lambda$0$Type",1766);Zlt(1765,1764,{},Ji),Sxt.Rf=function(t,e,n){var i,a;return AD(n,0,zO(LA((i=t.c.d).n),i.a)),vN(n,zO(LA((a=t.d.d).n),a.a)),function(t){var e,n,i,a,o,s,u,c;for(c=new vm,u=null,n=RR(zU(e=het(t,0)),8),a=RR(zU(e),8);e.b!=e.d.c;)u=n,n=a,a=RR(zU(e),8),o=ZQ($O(new YM(u.a,u.b),n)),s=ZQ($O(new YM(a.a,a.b),n)),i=10,i=r.Math.min(i,r.Math.abs(o.a+o.b)/2),i=r.Math.min(i,r.Math.abs(s.a+s.b)/2),o.a=kN(o.a)*i,o.b=kN(o.b)*i,s.a=kN(s.a)*i,s.b=kN(s.b)*i,vN(c,zO(o,n)),vN(c,zO(s,n));return c}(n)};var mUt;tz(TCt,"PolylineSelfLoopRouter",1765);Zlt(1715,1,{},Yl),Sxt.a=null;tz(TCt,"RoutingDirector",1715);Zlt(1716,1,Skt,ta),Sxt.ue=function(t,e){return function(t,e){return PS(),TA(t.d.p,e.d.p)}(RR(t,112),RR(e,112))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(TCt,"RoutingDirector/lambda$0$Type",1716);Zlt(1717,1,{},ea),Sxt.Kb=function(t){return PS(),RR(t,101).j};tz(TCt,"RoutingDirector/lambda$1$Type",1717);Zlt(1718,1,h_t,na),Sxt.td=function(t){PS(),RR(t,14).$c(mUt)};tz(TCt,"RoutingDirector/lambda$2$Type",1718);Zlt(1721,1,{},ra);tz(TCt,"RoutingSlotAssigner",1721);Zlt(1722,1,N_t,Vp),Sxt.Mb=function(t){return function(t,e){return oP(e.b,t)}(this.a,RR(t,101))};tz(TCt,"RoutingSlotAssigner/lambda$0$Type",1722);Zlt(1723,1,Skt,Hp),Sxt.ue=function(t,e){return function(t,e,n){return TA(e.d[t.g],n.d[t.g])}(this.a,RR(t,101),RR(e,101))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(TCt,"RoutingSlotAssigner/lambda$1$Type",1723);Zlt(1767,1764,{},ia),Sxt.Rf=function(t,e,n){var r,i,a,o;return r=Dy(VD(Aet(t.b.g.b,(Zwt(),_Jt)))),function(t,e,n,r,i){var a,o,s,u,c;for(a=t.c.d.j,o=RR(met(n,0),8),c=1;c<n.b;c++)u=RR(met(n,c),8),jX(r,o,r.c.b,r.c),s=lE(zO(new uA(o),u),.5),zO(s,lE(new BW(f5(a)),i)),jX(r,s,r.c.b,r.c),o=u,a=0==e?$8(a):B8(a);vN(r,(MP(0!=n.b),RR(n.c.b.c,8)))}(t,e,n,o=new cD(X3(uw(t8t,1),u_t,8,0,[(a=t.c.d,zO(new uA(a.n),a.a))])),r),vN(o,zO(new uA((i=t.d.d).n),i.a)),Bnt(new lvt(o))};tz(TCt,"SplineSelfLoopRouter",1767);Zlt(1725,1,Skt,fI),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l;if(t.a==(G4(),T1t)||!ZP(e,(dxt(),Dqt))||!ZP(n,(dxt(),Dqt))){if(i=RR(rP($X(Z4(_$(new lj(null,new ZW(e.j,16)),new aa)),new oa)),11),o=RR(rP($X(Z4(_$(new lj(null,new ZW(n.j,16)),new sa)),new ua)),11),i&&o){if(r=i.i,a=o.i,r&&r==a){for(u=new ed(r.j);u.a<u.c.c.length;){if((s=RR(xG(u),11))==i)return-1;if(s==o)return 1}return TA(Cit(e),Cit(n))}for(l=new ed(t.b.a);l.a<l.c.c.length;){if((c=RR(xG(l),10))==r)return-1;if(c==a)return 1}}if(!ZP(e,(dxt(),Dqt))||!ZP(n,Dqt))return TA(Cit(e),Cit(n))}return TA(RR(Bot(e,(dxt(),Dqt)),20).a,RR(Bot(n,Dqt),20).a)}(this,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(ACt,"ModelOrderNodeComparator",1725);Zlt(1726,1,N_t,aa),Sxt.Mb=function(t){return 0!=RR(t,11).e.c.length};tz(ACt,"ModelOrderNodeComparator/lambda$0$Type",1726);Zlt(1727,1,{},oa),Sxt.Kb=function(t){return RR(JN(RR(t,11).e,0),18).c};tz(ACt,"ModelOrderNodeComparator/lambda$1$Type",1727);Zlt(1728,1,N_t,sa),Sxt.Mb=function(t){return 0!=RR(t,11).e.c.length};tz(ACt,"ModelOrderNodeComparator/lambda$2$Type",1728);Zlt(1729,1,{},ua),Sxt.Kb=function(t){return RR(JN(RR(t,11).e,0),18).c};tz(ACt,"ModelOrderNodeComparator/lambda$3$Type",1729);Zlt(1730,1,N_t,ca),Sxt.Mb=function(t){return 0!=RR(t,11).e.c.length};tz(ACt,"ModelOrderNodeComparator/lambda$4$Type",1730);Zlt(1724,1,Skt,dI),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l;if(0!=e.e.c.length&&0!=n.e.c.length){if((r=RR(JN(e.e,0),18).c.i)==(o=RR(JN(n.e,0),18).c.i))return TA(RR(Bot(RR(JN(e.e,0),18),(dxt(),Dqt)),20).a,RR(Bot(RR(JN(n.e,0),18),Dqt),20).a);for(l=new ed(t.a.a);l.a<l.c.c.length;){if((c=RR(xG(l),10))==r)return 1;if(c==o)return-1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=RR(Bot(e,(dxt(),Eqt)),10),u=RR(Bot(n,Eqt),10),i=RR(Bot(RR(JN(e.g,0),18),Dqt),20).a,s=RR(Bot(RR(JN(n.g,0),18),Dqt),20).a,a&&a==u||(KF(t.b,a)&&(i=RR(oz(t.b,a),20).a),KF(t.b,u)&&(s=RR(oz(t.b,u),20).a)),i<s?-1:i>s?1:0):0!=e.e.c.length&&0!=n.g.c.length?1:-1}(this,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(ACt,"ModelOrderPortComparator",1724);Zlt(783,1,{},la),Sxt.Sf=function(t,e){var n,i,a,o;for(a=Ast(e),n=new Vb,o=e.f/a,i=1;i<a;++i)LR(n,k8(QN(C2(r.Math.round(i*o)))));return n},Sxt.Tf=function(){return!1};tz(ECt,"ARDCutIndexHeuristic",783);Zlt(1449,1,GMt,ha),Sxt.nf=function(t,e){hgt(RR(t,38),e)};tz(ECt,"BreakingPointInserter",1449);Zlt(303,1,{303:1},XU),Sxt.Ib=function(){var t;return(t=new pw).a+="BPInfo[",t.a+="\n\tstart=",GC(t,this.i),t.a+="\n\tend=",GC(t,this.a),t.a+="\n\tnodeStartEdge=",GC(t,this.e),t.a+="\n\tstartEndEdge=",GC(t,this.j),t.a+="\n\toriginalEdge=",GC(t,this.f),t.a+="\n\tstartInLayerDummy=",GC(t,this.k),t.a+="\n\tstartInLayerEdge=",GC(t,this.n),t.a+="\n\tendInLayerDummy=",GC(t,this.b),t.a+="\n\tendInLayerEdge=",GC(t,this.c),t.a};tz(ECt,"BreakingPointInserter/BPInfo",303);Zlt(641,1,{641:1},Jp),Sxt.a=!1,Sxt.b=0,Sxt.c=0;tz(ECt,"BreakingPointInserter/Cut",641);Zlt(1450,1,GMt,fa),Sxt.nf=function(t,e){lft(RR(t,38),e)};tz(ECt,"BreakingPointProcessor",1450);Zlt(1451,1,N_t,da),Sxt.Mb=function(t){return SQ(RR(t,10))};tz(ECt,"BreakingPointProcessor/0methodref$isEnd$Type",1451);Zlt(1452,1,N_t,pa),Sxt.Mb=function(t){return kQ(RR(t,10))};tz(ECt,"BreakingPointProcessor/1methodref$isStart$Type",1452);Zlt(1453,1,GMt,ga),Sxt.nf=function(t,e){!function(t,e,n){var r,i,a,o;for(qat(n,"Breaking Point Removing",1),t.a=RR(Bot(e,(Zwt(),eQt)),216),i=new ed(e.b);i.a<i.c.c.length;)for(o=new ed(fG(RR(xG(i),29).a));o.a<o.c.c.length;)SQ(a=RR(xG(o),10))&&!(r=RR(Bot(a,(dxt(),eqt)),303)).d&&Mwt(t,r);Sst(n)}(this,RR(t,38),e)};tz(ECt,"BreakingPointRemover",1453);Zlt(1454,1,h_t,ba),Sxt.td=function(t){RR(t,128).k=!0};tz(ECt,"BreakingPointRemover/lambda$0$Type",1454);Zlt(779,1,{},oht),Sxt.b=0,Sxt.e=0,Sxt.f=0,Sxt.j=0;tz(ECt,"GraphStats",779);Zlt(780,1,{},va),Sxt.Ce=function(t,e){return r.Math.max(Dy(VD(t)),Dy(VD(e)))};tz(ECt,"GraphStats/0methodref$max$Type",780);Zlt(781,1,{},ma),Sxt.Ce=function(t,e){return r.Math.max(Dy(VD(t)),Dy(VD(e)))};tz(ECt,"GraphStats/2methodref$max$Type",781);Zlt(1630,1,{},ya),Sxt.Ce=function(t,e){return function(t,e){return wz(t),t+(wz(e),e)}(VD(t),VD(e))};tz(ECt,"GraphStats/lambda$1$Type",1630);Zlt(1631,1,{},Wp),Sxt.Kb=function(t){return det(this.a,RR(t,29))};tz(ECt,"GraphStats/lambda$2$Type",1631);Zlt(1632,1,{},Gp),Sxt.Kb=function(t){return Tft(this.a,RR(t,29))};tz(ECt,"GraphStats/lambda$6$Type",1632);Zlt(782,1,{},wa),Sxt.Sf=function(t,e){return RR(Bot(t,(Zwt(),FJt)),14)||(mV(),mV(),YFt)},Sxt.Tf=function(){return!1};tz(ECt,"ICutIndexCalculator/ManualCutIndexCalculator",782);Zlt(784,1,{},xa),Sxt.Sf=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x;for(null==e.n&&urt(e),x=e.n,null==e.d&&urt(e),c=e.d,(w=hK(ooe,$St,24,x.length,15,1))[0]=x[0],m=x[0],l=1;l<x.length;l++)w[l]=w[l-1]+x[l],m+=x[l];for(a=Ast(e)-1,s=RR(Bot(t,(Zwt(),BJt)),20).a,i=NSt,n=new Vb,d=r.Math.max(0,a-s);d<=r.Math.min(e.f-1,a+s);d++){if(b=m/(d+1),v=0,h=1,o=new Vb,y=NSt,f=0,u=0,g=c[0],0==d)y=m,null==e.g&&(e.g=U0(e,new ma)),u=Dy(e.g);else{for(;h<e.f;)w[h-1]-v>=b&&(LR(o,k8(h)),y=r.Math.max(y,w[h-1]-f),u+=g,v+=w[h-1]-v,f=w[h-1],g=c[h]),g=r.Math.max(g,c[h]),++h;u+=g}(p=r.Math.min(1/y,1/e.b/u))>i&&(i=p,n=o)}return n},Sxt.Tf=function(){return!1};tz(ECt,"MSDCutIndexHeuristic",784);Zlt(1587,1,GMt,_a),Sxt.nf=function(t,e){vvt(RR(t,38),e)};var yUt,wUt,xUt,_Ut,SUt,kUt;tz(ECt,"SingleEdgeGraphWrapper",1587);Zlt(225,22,{3:1,36:1,22:1,225:1},vI);var IUt,MUt,CUt,TUt=h1(PCt,"CenterEdgeLabelPlacementStrategy",225,Pjt,(function(){return _ut(),X3(uw(TUt,1),P_t,225,0,[xUt,SUt,wUt,_Ut,kUt,yUt])}),(function(t){return _ut(),hQ((OJ(),IUt),t)}));Zlt(417,22,{3:1,36:1,22:1,417:1},mI);var AUt,EUt,PUt,DUt=h1(PCt,"ConstraintCalculationStrategy",417,Pjt,(function(){return sK(),X3(uw(DUt,1),P_t,417,0,[MUt,CUt])}),(function(t){return sK(),hQ((qX(),AUt),t)}));Zlt(333,22,{3:1,36:1,22:1,333:1,245:1,233:1},yI),Sxt.Hf=function(){return Nst(this)},Sxt.Uf=function(){return Nst(this)};var OUt,LUt,RUt,NUt,jUt=h1(PCt,"CrossingMinimizationStrategy",333,Pjt,(function(){return VX(),X3(uw(jUt,1),P_t,333,0,[PUt,EUt])}),(function(t){return VX(),hQ((HX(),OUt),t)}));Zlt(335,22,{3:1,36:1,22:1,335:1},wI);var FUt,BUt,zUt,$Ut,VUt=h1(PCt,"CuttingStrategy",335,Pjt,(function(){return C1(),X3(uw(VUt,1),P_t,335,0,[LUt,NUt,RUt])}),(function(t){return C1(),hQ((XY(),FUt),t)}));Zlt(416,22,{3:1,36:1,22:1,416:1,245:1,233:1},xI),Sxt.Hf=function(){return Zst(this)},Sxt.Uf=function(){return Zst(this)};var HUt,WUt,GUt,UUt=h1(PCt,"CycleBreakingStrategy",416,Pjt,(function(){return eJ(),X3(uw(UUt,1),P_t,416,0,[zUt,BUt,$Ut])}),(function(t){return eJ(),hQ((qY(),HUt),t)}));Zlt(413,22,{3:1,36:1,22:1,413:1},_I);var XUt,qUt,YUt,KUt,ZUt=h1(PCt,"DirectionCongruency",413,Pjt,(function(){return FQ(),X3(uw(ZUt,1),P_t,413,0,[WUt,GUt])}),(function(t){return FQ(),hQ((WX(),XUt),t)}));Zlt(444,22,{3:1,36:1,22:1,444:1},SI);var QUt,JUt,tXt,eXt,nXt,rXt,iXt,aXt=h1(PCt,"EdgeConstraint",444,Pjt,(function(){return f4(),X3(uw(aXt,1),P_t,444,0,[YUt,qUt,KUt])}),(function(t){return f4(),hQ((YY(),QUt),t)}));Zlt(274,22,{3:1,36:1,22:1,274:1},kI);var oXt,sXt,uXt,cXt=h1(PCt,"EdgeLabelSideSelection",274,Pjt,(function(){return xst(),X3(uw(cXt,1),P_t,274,0,[tXt,JUt,nXt,eXt,iXt,rXt])}),(function(t){return xst(),hQ((EJ(),oXt),t)}));Zlt(473,22,{3:1,36:1,22:1,473:1},II);var lXt,hXt,fXt,dXt,pXt,gXt,bXt,vXt=h1(PCt,"EdgeStraighteningStrategy",473,Pjt,(function(){return uZ(),X3(uw(vXt,1),P_t,473,0,[uXt,sXt])}),(function(t){return uZ(),hQ((YX(),lXt),t)}));Zlt(272,22,{3:1,36:1,22:1,272:1},MI);var mXt,yXt,wXt,xXt,_Xt,SXt,kXt,IXt=h1(PCt,"FixedAlignment",272,Pjt,(function(){return Qit(),X3(uw(IXt,1),P_t,272,0,[pXt,dXt,bXt,fXt,gXt,hXt])}),(function(t){return Qit(),hQ((PJ(),mXt),t)}));Zlt(273,22,{3:1,36:1,22:1,273:1},CI);var MXt,CXt,TXt,AXt,EXt,PXt,DXt,OXt,LXt,RXt,NXt,jXt=h1(PCt,"GraphCompactionStrategy",273,Pjt,(function(){return ust(),X3(uw(jXt,1),P_t,273,0,[SXt,wXt,kXt,_Xt,xXt,yXt])}),(function(t){return ust(),hQ((DJ(),MXt),t)}));Zlt(255,22,{3:1,36:1,22:1,255:1},TI);var FXt,BXt,zXt,$Xt,VXt=h1(PCt,"GraphProperties",255,Pjt,(function(){return Zdt(),X3(uw(VXt,1),P_t,255,0,[TXt,EXt,PXt,DXt,OXt,LXt,NXt,CXt,AXt,RXt])}),(function(t){return Zdt(),hQ((b4(),FXt),t)}));Zlt(292,22,{3:1,36:1,22:1,292:1},AI);var HXt,WXt,GXt,UXt,XXt=h1(PCt,"GreedySwitchType",292,Pjt,(function(){return $2(),X3(uw(XXt,1),P_t,292,0,[zXt,$Xt,BXt])}),(function(t){return $2(),hQ((tK(),HXt),t)}));Zlt(301,22,{3:1,36:1,22:1,301:1},EI);var qXt,YXt,KXt,ZXt=h1(PCt,"InLayerConstraint",301,Pjt,(function(){return JZ(),X3(uw(ZXt,1),P_t,301,0,[GXt,UXt,WXt])}),(function(t){return JZ(),hQ((JY(),qXt),t)}));Zlt(414,22,{3:1,36:1,22:1,414:1},PI);var QXt,JXt,tqt,eqt,nqt,rqt,iqt,aqt,oqt,sqt,uqt,cqt,lqt,hqt,fqt,dqt,pqt,gqt,bqt,vqt,mqt,yqt,wqt,xqt,_qt,Sqt,kqt,Iqt,Mqt,Cqt,Tqt,Aqt,Eqt,Pqt,Dqt,Oqt,Lqt,Rqt,Nqt,jqt,Fqt,Bqt,zqt,$qt,Vqt,Hqt,Wqt,Gqt,Uqt,Xqt,qqt,Yqt,Kqt,Zqt,Qqt,Jqt,tYt,eYt,nYt,rYt,iYt,aYt,oYt=h1(PCt,"InteractiveReferencePoint",414,Pjt,(function(){return ZU(),X3(uw(oYt,1),P_t,414,0,[YXt,KXt])}),(function(t){return ZU(),hQ((XX(),QXt),t)}));Zlt(165,22,{3:1,36:1,22:1,165:1},DI);var sYt,uYt,cYt,lYt,hYt,fYt,dYt,pYt,gYt,bYt,vYt,mYt,yYt,wYt,xYt,_Yt,SYt,kYt,IYt,MYt,CYt,TYt,AYt,EYt,PYt,DYt,OYt,LYt,RYt,NYt,jYt,FYt,BYt,zYt,$Yt,VYt,HYt,WYt,GYt,UYt,XYt,qYt,YYt,KYt,ZYt,QYt,JYt,tKt,eKt,nKt,rKt,iKt,aKt,oKt,sKt,uKt,cKt,lKt,hKt,fKt,dKt,pKt,gKt,bKt,vKt,mKt,yKt,wKt,xKt,_Kt,SKt,kKt,IKt,MKt,CKt,TKt,AKt,EKt,PKt,DKt,OKt,LKt,RKt,NKt,jKt,FKt,BKt,zKt,$Kt,VKt,HKt,WKt,GKt,UKt,XKt,qKt,YKt,KKt,ZKt,QKt,JKt,tZt,eZt,nZt,rZt,iZt,aZt,oZt,sZt,uZt,cZt,lZt,hZt,fZt,dZt,pZt,gZt,bZt,vZt,mZt,yZt,wZt,xZt,_Zt,SZt,kZt,IZt,MZt,CZt,TZt=h1(PCt,"LayerConstraint",165,Pjt,(function(){return H9(),X3(uw(TZt,1),P_t,165,0,[aYt,eYt,nYt,rYt,iYt])}),(function(t){return H9(),hQ((AQ(),sYt),t)}));Zlt(827,1,qkt,Jl),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,NCt),""),"Consider model order"),"Preserves the order of nodes and edges in the model file if this does not lead to edge crossings or conflicts between the ordering or edges and nodes."),gYt),(vut(),H6t)),O1t),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,jCt),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),RYt),H6t),ZUt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,FCt),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(_P(),!1)),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,BCt),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),rKt),H6t),oYt),a9(F6t)))),nU(t,BCt,UCt,aKt),nU(t,BCt,nTt,iKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,zCt),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,$Ct),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),$6t),oFt),a9(F6t)))),T9(t,new lut(function(t,e){return t.f=e,t}(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,VCt),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),$6t),oFt),a9(B6t)),X3(uw(MFt,1),u_t,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,HCt),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),VKt),H6t),F1t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,WCt),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),k8(7)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,GCt),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,UCt),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),OYt),H6t),UUt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,XCt),qTt),"Node Layering Strategy"),"Strategy for node layering."),wKt),H6t),s1t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,qCt),qTt),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),lKt),H6t),TZt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,YCt),qTt),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing."),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,KCt),qTt),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node"),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ZCt),YTt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),k8(4)),G6t),bFt),a9(F6t)))),nU(t,ZCt,XCt,dKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,QCt),YTt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),k8(2)),G6t),bFt),a9(F6t)))),nU(t,QCt,XCt,gKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,JCt),KTt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),mKt),H6t),A1t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,tTt),KTt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),k8(0)),G6t),bFt),a9(F6t)))),nU(t,tTt,JCt,null),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,eTt),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),k8(Lxt)),G6t),bFt),a9(F6t)))),nU(t,eTt,XCt,sKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,nTt),ZTt),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),PYt),H6t),jUt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,rTt),ZTt),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),V6t),fFt),a9(F6t)))),nU(t,rTt,QTt,IYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,iTt),ZTt),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),$6t),oFt),a9(F6t)))),nU(t,iTt,nTt,AYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,aTt),ZTt),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer."),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,oTt),ZTt),"Position ID"),"Position within a layer that was determined by ELK Layered for a node."),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,sTt),JTt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),k8(40)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,uTt),JTt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),_Yt),H6t),XXt),a9(F6t)))),nU(t,uTt,nTt,SYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,cTt),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),mYt),H6t),XXt),a9(F6t)))),nU(t,cTt,nTt,yYt),nU(t,cTt,QTt,wYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,lTt),tAt),"Node Placement Strategy"),"Strategy for node placement."),zKt),H6t),k1t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,hTt),tAt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),$6t),oFt),a9(F6t)))),nU(t,hTt,lTt,EKt),nU(t,hTt,lTt,PKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,fTt),eAt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),kKt),H6t),vXt),a9(F6t)))),nU(t,fTt,lTt,IKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,dTt),eAt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),CKt),H6t),IXt),a9(F6t)))),nU(t,dTt,lTt,TKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,pTt),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),V6t),fFt),a9(F6t)))),nU(t,pTt,lTt,OKt),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,gTt),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),H6t),p1t),a9(j6t)))),nU(t,gTt,lTt,FKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,bTt),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),NKt),H6t),p1t),a9(F6t)))),nU(t,bTt,lTt,jKt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,vTt),nAt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),HYt),H6t),X1t),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,mTt),nAt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),GYt),H6t),Y1t),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,yTt),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),XYt),H6t),r0t),a9(F6t)))),nU(t,yTt,rAt,qYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,wTt),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),V6t),fFt),a9(F6t)))),nU(t,wTt,rAt,KYt),nU(t,wTt,yTt,ZYt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,xTt),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),V6t),fFt),a9(F6t)))),nU(t,xTt,rAt,$Yt),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,_Tt),iAt),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,STt),iAt),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,kTt),iAt),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ITt),iAt),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,MTt),aAt),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),k8(0)),G6t),bFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,CTt),aAt),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),k8(0)),G6t),bFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,TTt),aAt),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),k8(0)),G6t),bFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ATt),oAt),LIt),"Tries to further compact components (disconnected sub-graphs)."),!1),$6t),oFt),a9(F6t)))),nU(t,ATt,yMt,!0),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ETt),sAt),"Post Compaction Strategy"),uAt),dYt),H6t),jXt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,PTt),sAt),"Post Compaction Constraint Calculation"),uAt),hYt),H6t),DUt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,DTt),cAt),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,OTt),cAt),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),k8(16)),G6t),bFt),a9(F6t)))),nU(t,OTt,DTt,!0),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,LTt),cAt),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),k8(5)),G6t),bFt),a9(F6t)))),nU(t,LTt,DTt,!0),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,RTt),lAt),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),wZt),H6t),h0t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,NTt),lAt),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),V6t),fFt),a9(F6t)))),nU(t,NTt,RTt,JKt),nU(t,NTt,RTt,tZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,jTt),lAt),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),V6t),fFt),a9(F6t)))),nU(t,jTt,RTt,nZt),nU(t,jTt,RTt,rZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,FTt),hAt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),lZt),H6t),VUt),a9(F6t)))),nU(t,FTt,RTt,hZt),nU(t,FTt,RTt,fZt),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,BTt),hAt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),U6t),_jt),a9(F6t)))),nU(t,BTt,FTt,aZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,zTt),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),sZt),G6t),bFt),a9(F6t)))),nU(t,zTt,FTt,uZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,$Tt),fAt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),IZt),H6t),u0t),a9(F6t)))),nU(t,$Tt,RTt,MZt),nU(t,$Tt,RTt,CZt),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,VTt),fAt),"Valid Indices for Wrapping"),null),U6t),_jt),a9(F6t)))),nU(t,VTt,RTt,_Zt),nU(t,VTt,RTt,SZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,HTt),dAt),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),$6t),oFt),a9(F6t)))),nU(t,HTt,RTt,bZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,WTt),dAt),"Distance Penalty When Improving Cuts"),null),2),V6t),fFt),a9(F6t)))),nU(t,WTt,RTt,pZt),nU(t,WTt,HTt,!0),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,GTt),dAt),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),$6t),oFt),a9(F6t)))),nU(t,GTt,RTt,mZt),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,UTt),pAt),"Edge Label Side Selection"),"Method to decide on edge label sides."),BYt),H6t),cXt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,XTt),pAt),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),jYt),H6t),TUt),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[N6t]))))),yxt((new th,t))};var AZt,EZt,PZt,DZt,OZt,LZt,RZt,NZt,jZt,FZt,BZt,zZt,$Zt,VZt,HZt,WZt,GZt,UZt,XZt,qZt,YZt,KZt,ZZt,QZt,JZt,tQt,eQt,nQt,rQt,iQt,aQt,oQt,sQt,uQt,cQt,lQt,hQt,fQt,dQt,pQt,gQt,bQt,vQt,mQt,yQt,wQt,xQt,_Qt,SQt,kQt,IQt,MQt,CQt,TQt,AQt,EQt,PQt,DQt,OQt,LQt,RQt,NQt,jQt,FQt,BQt,zQt,$Qt,VQt,HQt,WQt,GQt,UQt,XQt,qQt,YQt,KQt,ZQt,QQt,JQt,tJt,eJt,nJt,rJt,iJt,aJt,oJt,sJt,uJt,cJt,lJt,hJt,fJt,dJt,pJt,gJt,bJt,vJt,mJt,yJt,wJt,xJt,_Jt,SJt,kJt,IJt,MJt,CJt,TJt,AJt,EJt,PJt,DJt,OJt,LJt,RJt,NJt,jJt,FJt,BJt,zJt,$Jt,VJt,HJt,WJt,GJt,UJt;tz(PCt,"LayeredMetaDataProvider",827);Zlt(966,1,qkt,th),Sxt.Qe=function(t){yxt(t)};tz(PCt,"LayeredOptions",966);Zlt(967,1,{},Sa),Sxt._e=function(){return new Vv},Sxt.af=function(t){};var XJt;tz(PCt,"LayeredOptions/LayeredFactory",967);Zlt(1343,1,{}),Sxt.a=0;var qJt,YJt;tz(aEt,"ElkSpacings/AbstractSpacingsBuilder",1343);Zlt(762,1343,{},X9);var KJt,ZJt,QJt,JJt,t1t,e1t;tz(PCt,"LayeredSpacings/LayeredSpacingsBuilder",762);Zlt(311,22,{3:1,36:1,22:1,311:1,245:1,233:1},OI),Sxt.Hf=function(){return eft(this)},Sxt.Uf=function(){return eft(this)};var n1t,r1t,i1t,a1t,o1t,s1t=h1(PCt,"LayeringStrategy",311,Pjt,(function(){return rot(),X3(uw(s1t,1),P_t,311,0,[t1t,QJt,KJt,ZJt,e1t,JJt])}),(function(t){return rot(),hQ((NJ(),n1t),t)}));Zlt(196,22,{3:1,36:1,22:1,196:1},LI);var u1t,c1t,l1t,h1t,f1t,d1t,p1t=h1(PCt,"NodeFlexibility",196,Pjt,(function(){return int(),X3(uw(p1t,1),P_t,196,0,[a1t,o1t,i1t,r1t])}),(function(t){return int(),hQ((sZ(),u1t),t)}));Zlt(312,22,{3:1,36:1,22:1,312:1,245:1,233:1},RI),Sxt.Hf=function(){return uht(this)},Sxt.Uf=function(){return uht(this)};var g1t,b1t,v1t,m1t,y1t,w1t,x1t,_1t,S1t,k1t=h1(PCt,"NodePlacementStrategy",312,Pjt,(function(){return Mnt(),X3(uw(k1t,1),P_t,312,0,[d1t,l1t,h1t,c1t,f1t])}),(function(t){return Mnt(),hQ((MQ(),g1t),t)}));Zlt(259,22,{3:1,36:1,22:1,259:1},NI);var I1t,M1t,C1t,T1t,A1t=h1(PCt,"NodePromotionStrategy",259,Pjt,(function(){return Lft(),X3(uw(A1t,1),P_t,259,0,[_1t,v1t,w1t,m1t,y1t,b1t,x1t,S1t])}),(function(t){return Lft(),hQ((U2(),I1t),t)}));Zlt(372,22,{3:1,36:1,22:1,372:1},jI);var E1t,P1t,D1t,O1t=h1(PCt,"OrderingStrategy",372,Pjt,(function(){return G4(),X3(uw(O1t,1),P_t,372,0,[C1t,M1t,T1t])}),(function(t){return G4(),hQ(($Y(),E1t),t)}));Zlt(415,22,{3:1,36:1,22:1,415:1},FI);var L1t,R1t,N1t,j1t,F1t=h1(PCt,"PortSortingStrategy",415,Pjt,(function(){return PZ(),X3(uw(F1t,1),P_t,415,0,[P1t,D1t])}),(function(t){return PZ(),hQ((UX(),L1t),t)}));Zlt(446,22,{3:1,36:1,22:1,446:1},BI);var B1t,z1t,$1t,V1t,H1t=h1(PCt,"PortType",446,Pjt,(function(){return M1(),X3(uw(H1t,1),P_t,446,0,[j1t,R1t,N1t])}),(function(t){return M1(),hQ((HY(),B1t),t)}));Zlt(373,22,{3:1,36:1,22:1,373:1},zI);var W1t,G1t,U1t,X1t=h1(PCt,"SelfLoopDistributionStrategy",373,Pjt,(function(){return V2(),X3(uw(X1t,1),P_t,373,0,[z1t,$1t,V1t])}),(function(t){return V2(),hQ((VY(),W1t),t)}));Zlt(374,22,{3:1,36:1,22:1,374:1},$I);var q1t,Y1t=h1(PCt,"SelfLoopOrderingStrategy",374,Pjt,(function(){return CY(),X3(uw(Y1t,1),P_t,374,0,[U1t,G1t])}),(function(t){return CY(),hQ((GX(),q1t),t)}));Zlt(302,1,{302:1},ryt);var K1t,Z1t,Q1t;tz(PCt,"Spacings",302);Zlt(334,22,{3:1,36:1,22:1,334:1},VI);var J1t,t0t,e0t,n0t,r0t=h1(PCt,"SplineRoutingMode",334,Pjt,(function(){return d6(),X3(uw(r0t,1),P_t,334,0,[K1t,Z1t,Q1t])}),(function(t){return d6(),hQ((WY(),J1t),t)}));Zlt(336,22,{3:1,36:1,22:1,336:1},HI);var i0t,a0t,o0t,s0t,u0t=h1(PCt,"ValidifyStrategy",336,Pjt,(function(){return h2(),X3(uw(u0t,1),P_t,336,0,[n0t,t0t,e0t])}),(function(t){return h2(),hQ((GY(),i0t),t)}));Zlt(375,22,{3:1,36:1,22:1,375:1},WI);var c0t,l0t,h0t=h1(PCt,"WrappingStrategy",375,Pjt,(function(){return k3(),X3(uw(h0t,1),P_t,375,0,[o0t,s0t,a0t])}),(function(t){return k3(),hQ((UY(),c0t),t)}));Zlt(1355,1,uEt,Zl),Sxt.Vf=function(t){return RR(t,38),l0t},Sxt.nf=function(t,e){!function(t,e,n){var r,i,a,o,s,u,c,l;for(qat(n,"Depth-first cycle removal",1),u=(c=e.a).c.length,t.c=new Vb,t.d=hK(roe,Zkt,24,u,16,1),t.a=hK(roe,Zkt,24,u,16,1),t.b=new Vb,a=0,s=new ed(c);s.a<s.c.c.length;)(o=RR(xG(s),10)).p=a,DU(p9(o))&&LR(t.c,o),++a;for(l=new ed(t.c);l.a<l.c.c.length;)Out(t,RR(xG(l),10));for(i=0;i<u;i++)t.d[i]||(TW(i,c.c.length),Out(t,RR(c.c[i],10)));for(r=new ed(t.b);r.a<r.c.c.length;)uvt(RR(xG(r),18),!0),S4(e,(dxt(),sqt),(_P(),!0));t.c=null,t.d=null,t.a=null,t.b=null,Sst(n)}(this,RR(t,38),e)};var f0t;tz(cEt,"DepthFirstCycleBreaker",1355);Zlt(1354,1,uEt,Wj),Sxt.Vf=function(t){return RR(t,38),f0t},Sxt.nf=function(t,e){!function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T,A,E,P,D;for(qat(n,"Greedy cycle removal",1),D=(y=e.a).c.length,t.a=hK(noe,uSt,24,D,15,1),t.c=hK(noe,uSt,24,D,15,1),t.b=hK(noe,uSt,24,D,15,1),c=0,v=new ed(y);v.a<v.c.c.length;){for((g=RR(xG(v),10)).p=c,k=new ed(g.j);k.a<k.c.c.length;){for(s=new ed((x=RR(xG(k),11)).e);s.a<s.c.c.length;)(r=RR(xG(s),18)).c.i!=g&&(M=RR(Bot(r,(Zwt(),hJt)),20).a,t.a[c]+=M>0?M+1:1);for(o=new ed(x.g);o.a<o.c.c.length;)(r=RR(xG(o),18)).d.i!=g&&(M=RR(Bot(r,(Zwt(),hJt)),20).a,t.c[c]+=M>0?M+1:1)}0==t.c[c]?vN(t.d,g):0==t.a[c]&&vN(t.e,g),++c}for(p=-1,d=1,h=new Vb,C=RR(Bot(e,(dxt(),Wqt)),228);D>0;){for(;0!=t.d.b;)A=RR(IR(t.d),10),t.b[A.p]=p--,Fgt(t,A),--D;for(;0!=t.e.b;)E=RR(IR(t.e),10),t.b[E.p]=d++,Fgt(t,E),--D;if(D>0){for(f=B_t,m=new ed(y);m.a<m.c.c.length;)g=RR(xG(m),10),0==t.b[g.p]&&(w=t.c[g.p]-t.a[g.p])>=f&&(w>f&&(h.c=hK(gjt,zxt,1,0,5,1),f=w),h.c[h.c.length]=g);l=RR(JN(h,ont(C,h.c.length)),10),t.b[l.p]=d++,Fgt(t,l),--D}}for(T=y.c.length+1,c=0;c<y.c.length;c++)t.b[c]<0&&(t.b[c]+=T);for(b=new ed(y);b.a<b.c.c.length;)for(S=0,I=(_=vU((g=RR(xG(b),10)).j)).length;S<I;++S)for(a=0,u=(i=gU((x=_[S]).g)).length;a<u;++a)P=(r=i[a]).d.i.p,t.b[g.p]>t.b[P]&&(uvt(r,!0),S4(e,sqt,(_P(),!0)));t.a=null,t.c=null,t.b=null,sV(t.e),sV(t.d),Sst(n)}(this,RR(t,38),e)};var d0t;tz(cEt,"GreedyCycleBreaker",1354);Zlt(1356,1,uEt,Ql),Sxt.Vf=function(t){return RR(t,38),d0t},Sxt.nf=function(t,e){!function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p;for(qat(n,"Interactive cycle breaking",1),l=new Vb,f=new ed(e.a);f.a<f.c.c.length;)for((h=RR(xG(f),10)).p=1,d=Zit(h).a,c=v7(h,(M1(),N1t)).Ic();c.Ob();)for(a=new ed(RR(c.Pb(),11).g);a.a<a.c.c.length;)(p=(r=RR(xG(a),18)).d.i)!=h&&Zit(p).a<d&&(l.c[l.c.length]=r);for(o=new ed(l);o.a<o.c.c.length;)uvt(r=RR(xG(o),18),!0);for(l.c=hK(gjt,zxt,1,0,5,1),u=new ed(e.a);u.a<u.c.c.length;)(s=RR(xG(u),10)).p>0&&cut(t,s,l);for(i=new ed(l);i.a<i.c.c.length;)uvt(r=RR(xG(i),18),!0);l.c=hK(gjt,zxt,1,0,5,1),Sst(n)}(this,RR(t,38),e)};var p0t;tz(cEt,"InteractiveCycleBreaker",1356);Zlt(1359,1,uEt,RS),Sxt.Vf=function(t){return RR(t,38),p0t},Sxt.nf=function(t,e){sxt(this,RR(t,38),e)};tz(lEt,"CoffmanGrahamLayerer",1359);Zlt(1360,1,Skt,Up),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a,o,s,u;for(r=RR(Kq(t.c,e),14),i=RR(Kq(t.c,n),14),a=r.Xc(r.gc()),o=i.Xc(i.gc());a.Sb()&&o.Sb();)if((s=RR(a.Ub(),20))!=(u=RR(o.Ub(),20)))return TA(s.a,u.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}(this.a,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(lEt,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1360);Zlt(1361,1,Skt,Xp),Sxt.ue=function(t,e){return function(t,e,n){return-TA(t.f[e.p],t.f[n.p])}(this.a,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(lEt,"CoffmanGrahamLayerer/lambda$1$Type",1361);Zlt(1362,1,uEt,ka),Sxt.Vf=function(t){return RR(t,38),jN(jN(jN(new wU,(zot(),fHt),(gxt(),HWt)),dHt,QWt),pHt,ZWt)},Sxt.nf=function(t,e){!function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m;for(qat(n,"Interactive node layering",1),i=new Vb,p=new ed(e.a);p.a<p.c.c.length;){for(c=(l=(f=RR(xG(p),10)).n.a)+f.o.a,c=r.Math.max(l+1,c),m=new tU(i,0),a=null;m.b<m.d.gc();){if(MP(m.b<m.d.gc()),(b=RR(m.d.Xb(m.c=m.b++),562)).c>=c){MP(m.b>0),m.a.Xb(m.c=--m.b);break}b.a>l&&(a?(R3(a.b,b.b),a.a=r.Math.max(a.a,b.a),n$(m)):(LR(b.b,f),b.c=r.Math.min(b.c,l),b.a=r.Math.max(b.a,c),a=b))}a||((a=new Qv).c=l,a.a=c,yO(m,a),LR(a.b,f))}for(u=e.b,h=0,v=new ed(i);v.a<v.c.c.length;)for(b=RR(xG(v),562),(o=new bz(e)).p=h++,u.c[u.c.length]=o,g=new ed(b.b);g.a<g.c.c.length;)DW(f=RR(xG(g),10),o),f.p=0;for(d=new ed(e.a);d.a<d.c.c.length;)0==(f=RR(xG(d),10)).p&&apt(t,f,e);for(s=new tU(u,0);s.b<s.d.gc();)0==(MP(s.b<s.d.gc()),RR(s.d.Xb(s.c=s.b++),29)).a.c.length&&n$(s);e.a.c=hK(gjt,zxt,1,0,5,1),Sst(n)}(this,RR(t,38),e)};tz(lEt,"InteractiveLayerer",1362);Zlt(562,1,{562:1},Qv),Sxt.a=0,Sxt.c=0;var g0t;tz(lEt,"InteractiveLayerer/LayerSpan",562);Zlt(1358,1,uEt,eh),Sxt.Vf=function(t){return RR(t,38),g0t},Sxt.nf=function(t,e){!function(t,e,n){var r,i,a,o;for(qat(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=hK(noe,uSt,24,o.c.length,15,1),r=0,a=new ed(o);a.a<a.c.c.length;)RR(xG(a),10).p=r,t.b[r]=-1,++r;for(i=new ed(o);i.a<i.c.c.length;)Hht(t,RR(xG(i),10));o.c=hK(gjt,zxt,1,0,5,1),t.a=null,t.b=null,Sst(n)}(this,RR(t,38),e)};var b0t,v0t;tz(lEt,"LongestPathLayerer",1358);Zlt(1365,1,uEt,nh),Sxt.Vf=function(t){return RR(t,38),jN(jN(jN(new wU,(zot(),fHt),(gxt(),CWt)),dHt,QWt),pHt,ZWt)},Sxt.nf=function(t,e){Pwt(this,RR(t,38),e)},Sxt.a=0,Sxt.b=0,Sxt.d=0;tz(lEt,"MinWidthLayerer",1365);Zlt(1366,1,Skt,qp),Sxt.ue=function(t,e){return function(t,e,n){var r,i;return(r=t.a.f[e.p])<(i=t.a.f[n.p])?-1:r==i?0:1}(this,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var m0t;tz(lEt,"MinWidthLayerer/MinOutgoingEdgesComparator",1366);Zlt(1357,1,uEt,rh),Sxt.Vf=function(t){return RR(t,38),m0t},Sxt.nf=function(t,e){hyt(this,RR(t,38),e)};tz(lEt,"NetworkSimplexLayerer",1357);Zlt(1363,1,uEt,LO),Sxt.Vf=function(t){return RR(t,38),jN(jN(jN(new wU,(zot(),fHt),(gxt(),CWt)),dHt,QWt),pHt,ZWt)},Sxt.nf=function(t,e){qyt(this,RR(t,38),e)},Sxt.d=0,Sxt.f=0,Sxt.g=0,Sxt.i=0,Sxt.s=0,Sxt.t=0,Sxt.u=0;tz(lEt,"StretchWidthLayerer",1363);Zlt(1364,1,Skt,Ia),Sxt.ue=function(t,e){return function(t,e){return t.p<e.p?1:t.p>e.p?-1:0}(RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(lEt,"StretchWidthLayerer/1",1364);Zlt(451,1,hEt),Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Xf=function(t,e,n){return Ggt(this,t,e,n)},Sxt.Jf=function(){this.g=hK(soe,fEt,24,this.d,15,1),this.f=hK(soe,fEt,24,this.d,15,1)},Sxt.Lf=function(t,e){this.e[t]=hK(noe,uSt,24,e[t].length,15,1)},Sxt.Mf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e},Sxt.Nf=function(t,e,n,r){RR(JN(r[t][e].j,n),11).p=this.d++},Sxt.b=0,Sxt.c=0,Sxt.d=0;tz(dEt,"AbstractBarycenterPortDistributor",451);Zlt(1603,1,Skt,Yp),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a,o;return(a=e.j)!=(o=n.j)?a.g-o.g:(r=t.f[e.p],i=t.f[n.p],0==r&&0==i?0:0==r?-1:0==i?1:j8(r,i))}(this.a,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(dEt,"AbstractBarycenterPortDistributor/lambda$0$Type",1603);Zlt(1774,1,ICt,yU),Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Mf=function(t,e,n){},Sxt.Nf=function(t,e,n,r){},Sxt.If=function(){return!1},Sxt.Jf=function(){this.a=this.c.a,this.e=this.d.g},Sxt.Lf=function(t,e){e[t][0].c.p=t},Sxt.Of=function(){return!1},Sxt.Pf=function(t,e,n,r){var i,a,o,s,u,c,l;for(e!=aj(n,t.length)&&(a=t[e-(n?1:-1)],gY(this.d,a,n?(M1(),N1t):(M1(),R1t))),i=t[e][0],l=!r||i.k==(vst(),UHt),G5(this,c=Jq(t[e]),l,!1,n),o=0,u=new ed(c);u.a<u.c.c.length;)s=RR(xG(u),10),t[e][o++]=s;return!1},Sxt.Qf=function(t,e){var n,r,i,a,o;for(G5(this,a=Jq(t[o=aj(e,t.length)]),!1,!0,e),n=0,i=new ed(a);i.a<i.c.c.length;)r=RR(xG(i),10),t[o][n++]=r;return!1};tz(dEt,"BarycenterHeuristic",1774);Zlt(647,1,{647:1},Qp),Sxt.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},Sxt.b=0,Sxt.d=0,Sxt.e=!1;var y0t=tz(dEt,"BarycenterHeuristic/BarycenterState",647);Zlt(1775,1,Skt,Kp),Sxt.ue=function(t,e){return function(t,e,n){var r,i;return r=t.a[e.c.p][e.p],i=t.a[n.c.p][n.p],null!=r.a&&null!=i.a?gF(r.a,i.a):null!=r.a?-1:null!=i.a?1:0}(this.a,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(dEt,"BarycenterHeuristic/lambda$0$Type",1775);Zlt(1768,1,ICt,Lat),Sxt.Jf=function(){},Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Nf=function(t,e,n,r){},Sxt.Lf=function(t,e){this.a[t]=hK(y0t,{3:1,4:1,5:1,1987:1},647,e[t].length,0,1),this.b[t]=hK(w0t,{3:1,4:1,5:1,1988:1},232,e[t].length,0,1)},Sxt.Mf=function(t,e,n){Ktt(this,n[t][e],!0)},Sxt.c=!1;tz(dEt,"ForsterConstraintResolver",1768);Zlt(232,1,{232:1},GV,oyt),Sxt.Ib=function(){var t,e;for((e=new pw).a+="[",t=0;t<this.d.length;t++)UC(e,Let(this.d[t])),null!=uE(this.g,this.d[0]).a&&UC(UC((e.a+="<",e),jC(uE(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=Fxt);return(e.a+="]",e).a},Sxt.a=0,Sxt.c=0,Sxt.f=0;var w0t=tz(dEt,"ForsterConstraintResolver/ConstraintGroup",232);Zlt(1769,1,h_t,Zp),Sxt.td=function(t){Ktt(this.a,RR(t,10),!1)};tz(dEt,"ForsterConstraintResolver/lambda$0$Type",1769);Zlt(231,1,{231:1,235:1},dmt),Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Lf=function(t,e){},Sxt.Jf=function(){this.r=hK(noe,uSt,24,this.n,15,1)},Sxt.Mf=function(t,e,n){var r;(r=n[t][e].e)&&LR(this.b,r)},Sxt.Nf=function(t,e,n,r){++this.n},Sxt.Ib=function(){return Pyt(this.e,new Pv)},Sxt.g=!1,Sxt.i=!1,Sxt.n=0,Sxt.s=!1;tz(dEt,"GraphInfoHolder",231);Zlt(1804,1,ICt,Oa),Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Lf=function(t,e){},Sxt.Nf=function(t,e,n,r){},Sxt.Xf=function(t,e,n){return n&&e>0?qH(this.a,t[e-1],t[e]):!n&&e<t.length-1?qH(this.a,t[e],t[e+1]):k0(this.a,t[e],n?(dwt(),Qte):(dwt(),Dte)),function(t,e,n,r){var i,a,o,s,u,c,l,h,f;for(h=r?(dwt(),Qte):(dwt(),Dte),i=!1,c=0,l=(u=e[n]).length;c<l;++c)bL(RR(Bot(s=u[c],(Zwt(),nJt)),100))||(o=s.e,(f=!i9(s,h).dc()&&!!o)&&(a=Pat(o),t.b=new Oat(a,r?0:a.length-1)),i|=Ugt(t,s,h,f));return i}(this,t,e,n)},Sxt.Jf=function(){this.d=hK(noe,uSt,24,this.c,15,1),this.a=new SL(this.d)},Sxt.Mf=function(t,e,n){var r;r=n[t][e],this.c+=r.j.c.length},Sxt.c=0;var x0t;tz(dEt,"GreedyPortDistributor",1804);Zlt(1371,1,uEt,ih),Sxt.Vf=function(t){return function(t){var e;return e=OT(x0t),RR(Bot(t,(dxt(),vqt)),21).Fc((Zdt(),OXt))&&jN(e,(zot(),pHt),(gxt(),cGt)),e}(RR(t,38))},Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b;for(qat(e,"Interactive crossing minimization",1),o=0,a=new ed(t.b);a.a<a.c.c.length;)(r=RR(xG(a),29)).p=o++;for(g=new Dw((f=Pat(t)).length),fmt(new $y(X3(uw(BGt,1),zxt,235,0,[g])),f),p=0,o=0,i=new ed(t.b);i.a<i.c.c.length;){for(n=0,h=0,l=new ed((r=RR(xG(i),29)).a);l.a<l.c.c.length;)for((u=RR(xG(l),10)).n.a>0&&(n+=u.n.a+u.o.a/2,++h),d=new ed(u.j);d.a<d.c.c.length;)RR(xG(d),11).p=p++;for(h>0&&(n/=h),b=hK(ooe,$St,24,r.a.c.length,15,1),s=0,c=new ed(r.a);c.a<c.c.c.length;)(u=RR(xG(c),10)).p=s++,b[u.p]=vyt(u,n),u.k==(vst(),qHt)&&S4(u,(dxt(),Rqt),b[u.p]);mV(),kA(r.a,new tg(b)),Ggt(g,f,o,!0),++o}Sst(e)}(RR(t,38),e)};tz(dEt,"InteractiveCrossingMinimizer",1371);Zlt(1372,1,Skt,tg),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a;if(0==(r=j8(t.a[e.p],t.a[n.p]))){if(i=RR(Bot(e,(dxt(),Sqt)),14),a=RR(Bot(n,Sqt),14),i.Fc(n))return-1;if(a.Fc(e))return 1}return r}(this,RR(t,10),RR(e,10))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};var _0t;tz(dEt,"InteractiveCrossingMinimizer/1",1372);Zlt(499,1,{499:1,126:1,52:1},wy),Sxt.Vf=function(t){var e;return RR(t,38),jN(e=OT(_0t),(zot(),pHt),(gxt(),cGt)),e},Sxt.nf=function(t,e){nbt(this,RR(t,38),e)},Sxt.e=0;tz(dEt,"LayerSweepCrossingMinimizer",499);Zlt(1368,1,h_t,eg),Sxt.td=function(t){Yct(this.a,RR(t,231))};tz(dEt,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1368);Zlt(1369,1,h_t,ng),Sxt.td=function(t){!function(t,e){var n,r;for(r=0!=Ght(t.d,1),n=!0;n;)n=!1,n=e.c.Qf(e.e,r),n|=Mht(t,e,r,!1),r=!r;T0(t)}(this.a,RR(t,231))};tz(dEt,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1369);Zlt(1370,1,h_t,rg),Sxt.td=function(t){Hft(this.a,RR(t,231))};var S0t,k0t,I0t;tz(dEt,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1370);Zlt(447,22,{3:1,36:1,22:1,447:1},GI);var M0t,C0t=h1(dEt,"LayerSweepCrossingMinimizer/CrossMinType",447,Pjt,(function(){return T1(),X3(uw(C0t,1),P_t,447,0,[S0t,k0t,I0t])}),(function(t){return T1(),hQ((KY(),M0t),t)}));Zlt(1367,1,N_t,La),Sxt.Mb=function(t){return l2(),0==RR(t,29).a.c.length};tz(dEt,"LayerSweepCrossingMinimizer/lambda$0$Type",1367);Zlt(1771,1,ICt,uW),Sxt.Jf=function(){},Sxt.Kf=function(t,e,n,r,i,a){},Sxt.Nf=function(t,e,n,r){},Sxt.Lf=function(t,e){e[t][0].c.p=t,this.b[t]=hK(T0t,{3:1,4:1,5:1,1916:1},648,e[t].length,0,1)},Sxt.Mf=function(t,e,n){n[t][e].p=e,nz(this.b[t],e,new Ba)};tz(dEt,"LayerSweepTypeDecider",1771);Zlt(648,1,{648:1},Ba),Sxt.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},Sxt.a=0,Sxt.b=0,Sxt.c=0;var T0t=tz(dEt,"LayerSweepTypeDecider/NodeInfo",648);Zlt(1772,1,$kt,za),Sxt.Lb=function(t){return vP(new hY(RR(t,11).b))},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return vP(new hY(RR(t,11).b))};tz(dEt,"LayerSweepTypeDecider/lambda$0$Type",1772);Zlt(1773,1,$kt,$a),Sxt.Lb=function(t){return vP(new hY(RR(t,11).b))},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return vP(new hY(RR(t,11).b))};tz(dEt,"LayerSweepTypeDecider/lambda$1$Type",1773);Zlt(1805,451,hEt,Pw),Sxt.Wf=function(t,e,n){var r,i,a,o,s,u,c,l,h;switch(c=this.g,n.g){case 1:for(r=0,i=0,u=new ed(t.j);u.a<u.c.c.length;)0!=(o=RR(xG(u),11)).e.c.length&&(++r,o.j==(dwt(),Ote)&&++i);for(a=e+i,h=e+r,s=v7(t,(M1(),R1t)).Ic();s.Ob();)(o=RR(s.Pb(),11)).j==(dwt(),Ote)?(c[o.p]=a,--a):(c[o.p]=h,--h);return r;case 2:for(l=0,s=v7(t,(M1(),N1t)).Ic();s.Ob();)++l,c[(o=RR(s.Pb(),11)).p]=e+l;return l;default:throw Jb(new yv)}};tz(dEt,"LayerTotalPortDistributor",1805);Zlt(778,451,hEt,Dw),Sxt.Wf=function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;switch(h=this.g,n.g){case 1:for(i=0,a=0,l=new ed(t.j);l.a<l.c.c.length;)0!=(u=RR(xG(l),11)).e.c.length&&(++i,u.j==(dwt(),Ote)&&++a);for(o=e+a*(r=1/(i+1)),d=e+1-r,c=v7(t,(M1(),R1t)).Ic();c.Ob();)(u=RR(c.Pb(),11)).j==(dwt(),Ote)?(h[u.p]=o,o-=r):(h[u.p]=d,d-=r);break;case 2:for(s=0,l=new ed(t.j);l.a<l.c.c.length;)0==(u=RR(xG(l),11)).g.c.length||++s;for(f=e+(r=1/(s+1)),c=v7(t,(M1(),N1t)).Ic();c.Ob();)h[(u=RR(c.Pb(),11)).p]=f,f+=r;break;default:throw Jb(new Ny("Port type is undefined"))}return 1};tz(dEt,"NodeRelativePortDistributor",778);Zlt(788,1,{},OF,est);tz(dEt,"SweepCopy",788);Zlt(1770,1,ICt,o7),Sxt.Lf=function(t,e){},Sxt.Jf=function(){var t;t=hK(noe,uSt,24,this.f,15,1),this.d=new hg(t),this.a=new SL(t)},Sxt.Kf=function(t,e,n,r,i,a){var o;o=RR(JN(a[t][e].j,n),11),i.c==o&&i.c.i.c==i.d.i.c&&++this.e[t]},Sxt.Mf=function(t,e,n){var r;r=n[t][e],this.c[t]=this.c[t]|r.k==(vst(),KHt)},Sxt.Nf=function(t,e,n,r){var i;(i=RR(JN(r[t][e].j,n),11)).p=this.f++,i.g.c.length+i.e.c.length>1&&(i.j==(dwt(),Dte)?this.b[t]=!0:i.j==Qte&&t>0&&(this.b[t-1]=!0))},Sxt.f=0;tz(kCt,"AllCrossingsCounter",1770);Zlt(578,1,{},P0),Sxt.b=0,Sxt.d=0;var A0t,E0t;tz(kCt,"BinaryIndexedTree",578);Zlt(517,1,{},SL);tz(kCt,"CrossingsCounter",517);Zlt(1878,1,Skt,ig),Sxt.ue=function(t,e){return function(t,e,n){return TA(t.d[e.p],t.d[n.p])}(this.a,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(kCt,"CrossingsCounter/lambda$0$Type",1878);Zlt(1879,1,Skt,ag),Sxt.ue=function(t,e){return function(t,e,n){return TA(t.d[e.p],t.d[n.p])}(this.a,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(kCt,"CrossingsCounter/lambda$1$Type",1879);Zlt(1880,1,Skt,og),Sxt.ue=function(t,e){return function(t,e,n){return TA(t.d[e.p],t.d[n.p])}(this.a,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(kCt,"CrossingsCounter/lambda$2$Type",1880);Zlt(1881,1,Skt,sg),Sxt.ue=function(t,e){return function(t,e,n){return TA(t.d[e.p],t.d[n.p])}(this.a,RR(t,11),RR(e,11))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(kCt,"CrossingsCounter/lambda$3$Type",1881);Zlt(1882,1,h_t,ug),Sxt.td=function(t){!function(t,e){oR(),LR(t,new KM(e,k8(e.e.c.length+e.g.c.length)))}(this.a,RR(t,11))};tz(kCt,"CrossingsCounter/lambda$4$Type",1882);Zlt(1883,1,N_t,cg),Sxt.Mb=function(t){return function(t,e){return oR(),e!=t}(this.a,RR(t,11))};tz(kCt,"CrossingsCounter/lambda$5$Type",1883);Zlt(1884,1,h_t,lg),Sxt.td=function(t){eM(this,t)};tz(kCt,"CrossingsCounter/lambda$6$Type",1884);Zlt(1885,1,h_t,XI),Sxt.td=function(t){var e;oR(),FU(this.b,(e=this.a,RR(t,11),e))};tz(kCt,"CrossingsCounter/lambda$7$Type",1885);Zlt(805,1,$kt,Va),Sxt.Lb=function(t){return oR(),ZP(RR(t,11),(dxt(),$qt))},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return oR(),ZP(RR(t,11),(dxt(),$qt))};tz(kCt,"CrossingsCounter/lambda$8$Type",805);Zlt(1877,1,{},hg);tz(kCt,"HyperedgeCrossingsCounter",1877);Zlt(461,1,{36:1,461:1},RO),Sxt.wd=function(t){return function(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:p5(t)-p5(e)}(this,RR(t,461))},Sxt.b=0,Sxt.c=0,Sxt.e=0,Sxt.f=0;var P0t=tz(kCt,"HyperedgeCrossingsCounter/Hyperedge",461);Zlt(359,1,{36:1,359:1},O$),Sxt.wd=function(t){return function(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?p5(t.a)-p5(e.a):t.d==(KU(),O0t)&&e.d==D0t?-1:t.d==D0t&&e.d==O0t?1:0}(this,RR(t,359))},Sxt.b=0,Sxt.c=0;var D0t,O0t,L0t=tz(kCt,"HyperedgeCrossingsCounter/HyperedgeCorner",359);Zlt(516,22,{3:1,36:1,22:1,516:1},UI);var R0t,N0t,j0t=h1(kCt,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",516,Pjt,(function(){return KU(),X3(uw(j0t,1),P_t,516,0,[O0t,D0t])}),(function(t){return KU(),hQ((ZX(),R0t),t)}));Zlt(1374,1,uEt,ah),Sxt.Vf=function(t){return RR(Bot(RR(t,38),(dxt(),vqt)),21).Fc((Zdt(),EXt))?N0t:null},Sxt.nf=function(t,e){!function(t,e,n){var r;for(qat(n,"Interactive node placement",1),t.a=RR(Bot(e,(dxt(),qqt)),302),r=new ed(e.b);r.a<r.c.c.length;)Vdt(t,RR(xG(r),29));Sst(n)}(this,RR(t,38),e)};var F0t,B0t,z0t;tz(pEt,"InteractiveNodePlacer",1374);Zlt(1375,1,uEt,oh),Sxt.Vf=function(t){return RR(Bot(RR(t,38),(dxt(),vqt)),21).Fc((Zdt(),EXt))?F0t:null},Sxt.nf=function(t,e){Znt(this,RR(t,38),e)};tz(pEt,"LinearSegmentsNodePlacer",1375);Zlt(256,1,{36:1,256:1},Jv),Sxt.wd=function(t){return function(t,e){return t.b-e.b}(this,RR(t,256))},Sxt.Fb=function(t){var e;return!!zA(t,256)&&(e=RR(t,256),this.b==e.b)},Sxt.Hb=function(){return this.b},Sxt.Ib=function(){return"ls"+Uot(this.e)},Sxt.a=0,Sxt.b=0,Sxt.c=-1,Sxt.d=-1,Sxt.g=0;var $0t,V0t=tz(pEt,"LinearSegmentsNodePlacer/LinearSegment",256);Zlt(1377,1,uEt,Gj),Sxt.Vf=function(t){return RR(Bot(RR(t,38),(dxt(),vqt)),21).Fc((Zdt(),EXt))?$0t:null},Sxt.nf=function(t,e){Vwt(this,RR(t,38),e)},Sxt.b=0,Sxt.g=0;tz(pEt,"NetworkSimplexPlacer",1377);Zlt(1396,1,Skt,Ma),Sxt.ue=function(t,e){return TA(RR(t,20).a,RR(e,20).a)},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(pEt,"NetworkSimplexPlacer/0methodref$compare$Type",1396);Zlt(1398,1,Skt,Ca),Sxt.ue=function(t,e){return TA(RR(t,20).a,RR(e,20).a)},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(pEt,"NetworkSimplexPlacer/1methodref$compare$Type",1398);Zlt(639,1,{639:1},qI);var H0t=tz(pEt,"NetworkSimplexPlacer/EdgeRep",639);Zlt(397,1,{397:1},L$),Sxt.b=!1;var W0t=tz(pEt,"NetworkSimplexPlacer/NodeRep",397);Zlt(500,12,{3:1,4:1,19:1,28:1,51:1,12:1,15:1,14:1,53:1,500:1},lm);tz(pEt,"NetworkSimplexPlacer/Path",500);Zlt(1378,1,{},Ta),Sxt.Kb=function(t){return RR(t,18).d.i.k};tz(pEt,"NetworkSimplexPlacer/Path/lambda$0$Type",1378);Zlt(1379,1,N_t,Aa),Sxt.Mb=function(t){return RR(t,266)==(vst(),qHt)};tz(pEt,"NetworkSimplexPlacer/Path/lambda$1$Type",1379);Zlt(1380,1,{},Ea),Sxt.Kb=function(t){return RR(t,18).d.i};tz(pEt,"NetworkSimplexPlacer/Path/lambda$2$Type",1380);Zlt(1381,1,N_t,fg),Sxt.Mb=function(t){return YD(T7(RR(t,10)))};tz(pEt,"NetworkSimplexPlacer/Path/lambda$3$Type",1381);Zlt(1382,1,N_t,Pa),Sxt.Mb=function(t){return function(t){return kW(),(dwt(),jte).Fc(t.j)}(RR(t,11))};tz(pEt,"NetworkSimplexPlacer/lambda$0$Type",1382);Zlt(1383,1,h_t,YI),Sxt.td=function(t){!function(t,e,n){t$(t.k,n,e)}(this.a,this.b,RR(t,11))};tz(pEt,"NetworkSimplexPlacer/lambda$1$Type",1383);Zlt(1392,1,h_t,dg),Sxt.td=function(t){xct(this.a,RR(t,18))};tz(pEt,"NetworkSimplexPlacer/lambda$10$Type",1392);Zlt(1393,1,{},Da),Sxt.Kb=function(t){return kW(),new lj(null,new ZW(RR(t,29).a,16))};tz(pEt,"NetworkSimplexPlacer/lambda$11$Type",1393);Zlt(1394,1,h_t,pg),Sxt.td=function(t){!function(t,e){var n,r,i,a;for(a=i9(e,(dwt(),Kte)).Ic();a.Ob();)r=RR(a.Pb(),11),(n=RR(Bot(r,(dxt(),$qt)),10))&&Kft(bS(gS(vS(pS(new Nv,0),.1),t.i[e.p].d),t.i[n.p].a));for(i=i9(e,Ote).Ic();i.Ob();)r=RR(i.Pb(),11),(n=RR(Bot(r,(dxt(),$qt)),10))&&Kft(bS(gS(vS(pS(new Nv,0),.1),t.i[n.p].d),t.i[e.p].a))}(this.a,RR(t,10))};tz(pEt,"NetworkSimplexPlacer/lambda$12$Type",1394);Zlt(1395,1,{},Ra),Sxt.Kb=function(t){return kW(),k8(RR(t,119).e)};tz(pEt,"NetworkSimplexPlacer/lambda$13$Type",1395);Zlt(1397,1,{},Na),Sxt.Kb=function(t){return kW(),k8(RR(t,119).e)};tz(pEt,"NetworkSimplexPlacer/lambda$15$Type",1397);Zlt(1399,1,N_t,ja),Sxt.Mb=function(t){return kW(),RR(t,397).c.k==(vst(),YHt)};tz(pEt,"NetworkSimplexPlacer/lambda$17$Type",1399);Zlt(1400,1,N_t,Fa),Sxt.Mb=function(t){return kW(),RR(t,397).c.j.c.length>1};tz(pEt,"NetworkSimplexPlacer/lambda$18$Type",1400);Zlt(1401,1,h_t,R$),Sxt.td=function(t){!function(t,e,n,r,i){kW(),Kft(bS(gS(pS(vS(new Nv,0),i.d.e-t),e),i.d)),Kft(bS(gS(pS(vS(new Nv,0),n-i.a.e),i.a),r))}(this.c,this.b,this.d,this.a,RR(t,397))},Sxt.c=0,Sxt.d=0;tz(pEt,"NetworkSimplexPlacer/lambda$19$Type",1401);Zlt(1384,1,{},Ha),Sxt.Kb=function(t){return kW(),new lj(null,new ZW(RR(t,29).a,16))};tz(pEt,"NetworkSimplexPlacer/lambda$2$Type",1384);Zlt(1402,1,h_t,gg),Sxt.td=function(t){!function(t,e){kW(),e.n.b+=t}(this.a,RR(t,11))},Sxt.a=0;tz(pEt,"NetworkSimplexPlacer/lambda$20$Type",1402);Zlt(1403,1,{},Wa),Sxt.Kb=function(t){return kW(),new lj(null,new ZW(RR(t,29).a,16))};tz(pEt,"NetworkSimplexPlacer/lambda$21$Type",1403);Zlt(1404,1,h_t,bg),Sxt.td=function(t){cE(this.a,RR(t,10))};tz(pEt,"NetworkSimplexPlacer/lambda$22$Type",1404);Zlt(1405,1,N_t,Ga),Sxt.Mb=function(t){return YD(t)};tz(pEt,"NetworkSimplexPlacer/lambda$23$Type",1405);Zlt(1406,1,{},Ua),Sxt.Kb=function(t){return kW(),new lj(null,new ZW(RR(t,29).a,16))};tz(pEt,"NetworkSimplexPlacer/lambda$24$Type",1406);Zlt(1407,1,N_t,vg),Sxt.Mb=function(t){return function(t,e){return 2==t.j[e.p]}(this.a,RR(t,10))};tz(pEt,"NetworkSimplexPlacer/lambda$25$Type",1407);Zlt(1408,1,h_t,KI),Sxt.td=function(t){!function(t,e,n){var r,i,a;for(i=new xF(zE(d9(n).a.Ic(),new p));Qlt(i);)Nq(r=RR(dq(i),18))||!Nq(r)&&r.c.i.c==r.d.i.c||(a=kft(t,r,n,new lm)).c.length>1&&(e.c[e.c.length]=a)}(this.a,this.b,RR(t,10))};tz(pEt,"NetworkSimplexPlacer/lambda$26$Type",1408);Zlt(1409,1,N_t,Xa),Sxt.Mb=function(t){return kW(),!Nq(RR(t,18))};tz(pEt,"NetworkSimplexPlacer/lambda$27$Type",1409);Zlt(1410,1,N_t,qa),Sxt.Mb=function(t){return kW(),!Nq(RR(t,18))};tz(pEt,"NetworkSimplexPlacer/lambda$28$Type",1410);Zlt(1411,1,{},mg),Sxt.Ce=function(t,e){return PA(this.a,RR(t,29),RR(e,29))};tz(pEt,"NetworkSimplexPlacer/lambda$29$Type",1411);Zlt(1385,1,{},Ya),Sxt.Kb=function(t){return kW(),new lj(null,new IB(new xF(zE(g9(RR(t,10)).a.Ic(),new p))))};tz(pEt,"NetworkSimplexPlacer/lambda$3$Type",1385);Zlt(1386,1,N_t,Ka),Sxt.Mb=function(t){return kW(),function(t){return kW(),!(Nq(t)||!Nq(t)&&t.c.i.c==t.d.i.c)}(RR(t,18))};tz(pEt,"NetworkSimplexPlacer/lambda$4$Type",1386);Zlt(1387,1,h_t,yg),Sxt.td=function(t){!function(t,e){var n,i,a,o,s,u,c,l,h,f,d;n=dP(new jv,t.f),u=t.i[e.c.i.p],f=t.i[e.d.i.p],s=e.c,h=e.d,o=s.a.b,l=h.a.b,u.b||(o+=s.n.b),f.b||(l+=h.n.b),c=CH(r.Math.max(0,o-l)),a=CH(r.Math.max(0,l-o)),d=r.Math.max(1,RR(Bot(e,(Zwt(),dJt)),20).a)*RX(e.c.i.k,e.d.i.k),i=new qI(Kft(bS(gS(pS(vS(new Nv,d),a),n),RR(oz(t.k,e.c),119))),Kft(bS(gS(pS(vS(new Nv,d),c),n),RR(oz(t.k,e.d),119)))),t.c[e.p]=i}(this.a,RR(t,18))};tz(pEt,"NetworkSimplexPlacer/lambda$5$Type",1387);Zlt(1388,1,{},Za),Sxt.Kb=function(t){return kW(),new lj(null,new ZW(RR(t,29).a,16))};tz(pEt,"NetworkSimplexPlacer/lambda$6$Type",1388);Zlt(1389,1,N_t,Qa),Sxt.Mb=function(t){return kW(),RR(t,10).k==(vst(),YHt)};tz(pEt,"NetworkSimplexPlacer/lambda$7$Type",1389);Zlt(1390,1,{},Ja),Sxt.Kb=function(t){return kW(),new lj(null,new IB(new xF(zE(d9(RR(t,10)).a.Ic(),new p))))};tz(pEt,"NetworkSimplexPlacer/lambda$8$Type",1390);Zlt(1391,1,N_t,to),Sxt.Mb=function(t){return kW(),function(t){return!Nq(t)&&t.c.i.c==t.d.i.c}(RR(t,18))};var G0t;tz(pEt,"NetworkSimplexPlacer/lambda$9$Type",1391);Zlt(1373,1,uEt,dh),Sxt.Vf=function(t){return RR(Bot(RR(t,38),(dxt(),vqt)),21).Fc((Zdt(),EXt))?G0t:null},Sxt.nf=function(t,e){!function(t,e){var n,i,a,o,s,u,c,l,h,f;for(qat(e,"Simple node placement",1),f=RR(Bot(t,(dxt(),qqt)),302),u=0,o=new ed(t.b);o.a<o.c.c.length;){for((s=(i=RR(xG(o),29)).c).b=0,n=null,l=new ed(i.a);l.a<l.c.c.length;)c=RR(xG(l),10),n&&(s.b+=G7(c,n,f.c)),s.b+=c.d.d+c.o.b+c.d.a,n=c;u=r.Math.max(u,s.b)}for(a=new ed(t.b);a.a<a.c.c.length;)for(h=(u-(s=(i=RR(xG(a),29)).c).b)/2,n=null,l=new ed(i.a);l.a<l.c.c.length;)c=RR(xG(l),10),n&&(h+=G7(c,n,f.c)),h+=c.d.d,c.n.b=h,h+=c.o.b+c.d.a,n=c;Sst(e)}(RR(t,38),e)};tz(pEt,"SimpleNodePlacer",1373);Zlt(182,1,{182:1},Ogt),Sxt.Ib=function(){var t;return t="",this.c==(sH(),X0t)?t+=iIt:this.c==U0t&&(t+=rIt),this.o==(YH(),Y0t)?t+=gIt:this.o==K0t?t+="UP":t+="BALANCED",t};var U0t,X0t;tz(vEt,"BKAlignedLayout",182);Zlt(509,22,{3:1,36:1,22:1,509:1},ZI);var q0t,Y0t,K0t,Z0t=h1(vEt,"BKAlignedLayout/HDirection",509,Pjt,(function(){return sH(),X3(uw(Z0t,1),P_t,509,0,[X0t,U0t])}),(function(t){return sH(),hQ((QX(),q0t),t)}));Zlt(508,22,{3:1,36:1,22:1,508:1},QI);var Q0t,J0t=h1(vEt,"BKAlignedLayout/VDirection",508,Pjt,(function(){return YH(),X3(uw(J0t,1),P_t,508,0,[Y0t,K0t])}),(function(t){return YH(),hQ((JX(),Q0t),t)}));Zlt(1604,1,{},JI);tz(vEt,"BKAligner",1604);Zlt(1607,1,{},Jrt);tz(vEt,"BKCompactor",1607);Zlt(643,1,{643:1},eo),Sxt.a=0;tz(vEt,"BKCompactor/ClassEdge",643);Zlt(452,1,{452:1},em),Sxt.a=null,Sxt.b=0;var t2t;tz(vEt,"BKCompactor/ClassNode",452);Zlt(1376,1,uEt,TC),Sxt.Vf=function(t){return RR(Bot(RR(t,38),(dxt(),vqt)),21).Fc((Zdt(),EXt))?t2t:null},Sxt.nf=function(t,e){cxt(this,RR(t,38),e)},Sxt.d=!1;tz(vEt,"BKNodePlacer",1376);Zlt(1605,1,{},no),Sxt.d=0;tz(vEt,"NeighborhoodInformation",1605);Zlt(1606,1,Skt,wg),Sxt.ue=function(t,e){return function(t,e,n){return CH(kN(t.a.e[RR(e.a,10).p]-t.a.e[RR(n.a,10).p]))}(this,RR(t,46),RR(e,46))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(vEt,"NeighborhoodInformation/NeighborComparator",1606);Zlt(789,1,{});tz(vEt,"ThresholdStrategy",789);Zlt(1734,789,{},hm),Sxt.Yf=function(t,e,n){return this.a.o==(YH(),K0t)?RSt:NSt},Sxt.Zf=function(){};tz(vEt,"ThresholdStrategy/NullThresholdStrategy",1734);Zlt(570,1,{570:1},tM),Sxt.c=!1,Sxt.d=!1;tz(vEt,"ThresholdStrategy/Postprocessable",570);Zlt(1735,789,{},fm),Sxt.Yf=function(t,e,n){var r,i,a;return i=e==n,r=this.a.a[n.p]==e,i||r?(a=t,this.a.c,sH(),i&&(a=smt(this,e,!0)),!isNaN(a)&&!isFinite(a)&&r&&(a=smt(this,n,!1)),a):t},Sxt.Zf=function(){for(var t,e,n;0!=this.d.b;)(e=Ibt(this,n=RR(MH(this.d),570))).a&&(t=e.a,(Ay(this.a.f[this.a.g[n.b.p].p])||Nq(t)||t.c.i.c!=t.d.i.c)&&(Eht(this,n)||ET(this.e,n)));for(;0!=this.e.a.c.length;)Eht(this,RR(D5(this.e),570))};var e2t;tz(vEt,"ThresholdStrategy/SimpleThresholdStrategy",1735);Zlt(625,1,{625:1,245:1,233:1},ro),Sxt.Hf=function(){return g3(this)},Sxt.Uf=function(){return g3(this)};var n2t,r2t,i2t,a2t,o2t,s2t,u2t,c2t;tz(mEt,"EdgeRouterFactory",625);Zlt(1427,1,uEt,ph),Sxt.Vf=function(t){return function(t){var e,n;return n=RR(Bot(t,(dxt(),vqt)),21),e=new wU,n.Fc((Zdt(),PXt))&&(P2(e,a2t),P2(e,s2t)),(n.Fc(OXt)||Ay($D(Bot(t,(Zwt(),cQt)))))&&(P2(e,s2t),n.Fc(LXt)&&P2(e,u2t)),n.Fc(EXt)&&P2(e,i2t),n.Fc(NXt)&&P2(e,c2t),n.Fc(DXt)&&P2(e,o2t),n.Fc(CXt)&&P2(e,n2t),n.Fc(AXt)&&P2(e,r2t),e}(RR(t,38))},Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g;qat(e,"Orthogonal edge routing",1),c=Dy(VD(Bot(t,(Zwt(),EJt)))),n=Dy(VD(Bot(t,xJt))),r=Dy(VD(Bot(t,kJt))),f=new BB(0,n),g=0,o=new tU(t.b,0),s=null,l=null,u=null,h=null;do{h=(l=o.b<o.d.gc()?(MP(o.b<o.d.gc()),RR(o.d.Xb(o.c=o.b++),29)):null)?l.a:null,s&&(zmt(s,g),g+=s.c.a),p=wyt(f,t,u,h,s?g+r:g),i=!s||FC(u,(gdt(),p2t)),a=!l||FC(h,(gdt(),p2t)),p>0?(d=(p-1)*n,s&&(d+=r),l&&(d+=r),d<c&&!i&&!a&&(d=c),g+=d):!i&&!a&&(g+=c),s=l,u=h}while(l);t.f.a=g,Sst(e)}(RR(t,38),e)};var l2t,h2t,f2t,d2t,p2t,g2t;tz(mEt,"OrthogonalEdgeRouter",1427);Zlt(1420,1,uEt,AC),Sxt.Vf=function(t){return function(t){var e,n;return n=RR(Bot(t,(dxt(),vqt)),21),e=OT(l2t),n.Fc((Zdt(),LXt))&&P2(e,d2t),n.Fc(NXt)&&P2(e,g2t),n.Fc(CXt)&&P2(e,h2t),n.Fc(AXt)&&P2(e,f2t),e}(RR(t,38))},Sxt.nf=function(t,e){!function(t,e,n){var i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_;for(qat(n,"Polyline edge routing",1),m=Dy(VD(Bot(e,(Zwt(),rQt)))),g=Dy(VD(Bot(e,EJt))),a=Dy(VD(Bot(e,xJt))),i=r.Math.min(1,a/g),x=0,c=0,0!=e.b.c.length&&(x=.4*i*(_=aft(RR(JN(e.b,0),29)))),u=new tU(e.b,0);u.b<u.d.gc();){for(MP(u.b<u.d.gc()),(o=FC(s=RR(u.d.Xb(u.c=u.b++),29),p2t))&&x>0&&(x-=g),zmt(s,x),h=0,d=new ed(s.a);d.a<d.c.c.length;){for(l=0,v=new xF(zE(g9(f=RR(xG(d),10)).a.Ic(),new p));Qlt(v);)y=eG((b=RR(dq(v),18)).c).b,w=eG(b.d).b,s!=b.d.i.c||Nq(b)||(Qct(b,x,.4*i*r.Math.abs(y-w)),b.c.j==(dwt(),Qte)&&(y=0,w=0)),l=r.Math.max(l,r.Math.abs(w-y));switch(f.k.g){case 0:case 4:case 1:case 3:case 5:Ymt(t,f,x,m)}h=r.Math.max(h,l)}u.b<u.d.gc()&&(_=aft((MP(u.b<u.d.gc()),RR(u.d.Xb(u.c=u.b++),29))),h=r.Math.max(h,_),MP(u.b>0),u.a.Xb(u.c=--u.b)),c=.4*i*h,!o&&u.b<u.d.gc()&&(c+=g),x+=s.c.a+c}t.a.a.$b(),e.f.a=x,Sst(n)}(this,RR(t,38),e)};tz(mEt,"PolylineEdgeRouter",1420);Zlt(1421,1,$kt,io),Sxt.Lb=function(t){return h3(RR(t,10))},Sxt.Fb=function(t){return this===t},Sxt.Mb=function(t){return h3(RR(t,10))};tz(mEt,"PolylineEdgeRouter/1",1421);Zlt(1781,1,N_t,ao),Sxt.Mb=function(t){return RR(t,129).c==(MY(),b2t)};tz(yEt,"HyperEdgeCycleDetector/lambda$0$Type",1781);Zlt(1782,1,{},oo),Sxt.Ge=function(t){return RR(t,129).d};tz(yEt,"HyperEdgeCycleDetector/lambda$1$Type",1782);Zlt(1783,1,N_t,so),Sxt.Mb=function(t){return RR(t,129).c==(MY(),b2t)};tz(yEt,"HyperEdgeCycleDetector/lambda$2$Type",1783);Zlt(1784,1,{},uo),Sxt.Ge=function(t){return RR(t,129).d};tz(yEt,"HyperEdgeCycleDetector/lambda$3$Type",1784);Zlt(1785,1,{},co),Sxt.Ge=function(t){return RR(t,129).d};tz(yEt,"HyperEdgeCycleDetector/lambda$4$Type",1785);Zlt(1786,1,{},lo),Sxt.Ge=function(t){return RR(t,129).d};tz(yEt,"HyperEdgeCycleDetector/lambda$5$Type",1786);Zlt(111,1,{36:1,111:1},p3),Sxt.wd=function(t){return function(t,e){return t.g-e.g}(this,RR(t,111))},Sxt.Fb=function(t){var e;return!!zA(t,111)&&(e=RR(t,111),this.g==e.g)},Sxt.Hb=function(){return this.g},Sxt.Ib=function(){var t,e,n,r;for(t=new YE("{"),r=new ed(this.n);r.a<r.c.c.length;)null==(e=Art((n=RR(xG(r),11)).i))&&(e="n"+gL(n.i)),t.a+=""+e,r.a<r.c.c.length&&(t.a+=",");return t.a+="}",t.a},Sxt.a=0,Sxt.b=0,Sxt.c=NaN,Sxt.d=0,Sxt.g=0,Sxt.i=0,Sxt.o=0,Sxt.s=NaN;tz(yEt,"HyperEdgeSegment",111);Zlt(129,1,{129:1},zW),Sxt.Ib=function(){return this.a+"->"+this.b+" ("+((null!=(t=this.c).f?t.f:""+t.g)+")");var t},Sxt.d=0;var b2t,v2t;tz(yEt,"HyperEdgeSegmentDependency",129);Zlt(513,22,{3:1,36:1,22:1,513:1},rM);var m2t,y2t=h1(yEt,"HyperEdgeSegmentDependency/DependencyType",513,Pjt,(function(){return MY(),X3(uw(y2t,1),P_t,513,0,[v2t,b2t])}),(function(t){return MY(),hQ((KX(),m2t),t)}));Zlt(1787,1,{},xg);tz(yEt,"HyperEdgeSegmentSplitter",1787);Zlt(1788,1,{},Vw),Sxt.a=0,Sxt.b=0;tz(yEt,"HyperEdgeSegmentSplitter/AreaRating",1788);Zlt(327,1,{327:1},dR),Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(yEt,"HyperEdgeSegmentSplitter/FreeArea",327);Zlt(1789,1,Skt,yo),Sxt.ue=function(t,e){return function(t,e){return j8(t.c-t.s,e.c-e.s)}(RR(t,111),RR(e,111))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(yEt,"HyperEdgeSegmentSplitter/lambda$0$Type",1789);Zlt(1790,1,h_t,N$),Sxt.td=function(t){lX(this.a,this.d,this.c,this.b,RR(t,111))},Sxt.b=0;tz(yEt,"HyperEdgeSegmentSplitter/lambda$1$Type",1790);Zlt(1791,1,{},wo),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,111).e,16))};tz(yEt,"HyperEdgeSegmentSplitter/lambda$2$Type",1791);Zlt(1792,1,{},xo),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,111).j,16))};tz(yEt,"HyperEdgeSegmentSplitter/lambda$3$Type",1792);Zlt(1793,1,{},_o),Sxt.Fe=function(t){return Dy(VD(t))};tz(yEt,"HyperEdgeSegmentSplitter/lambda$4$Type",1793);Zlt(644,1,{},BB),Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(yEt,"OrthogonalRoutingGenerator",644);Zlt(1608,1,{},So),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,111).e,16))};tz(yEt,"OrthogonalRoutingGenerator/lambda$0$Type",1608);Zlt(1609,1,{},ko),Sxt.Kb=function(t){return new lj(null,new ZW(RR(t,111).j,16))};tz(yEt,"OrthogonalRoutingGenerator/lambda$1$Type",1609);Zlt(649,1,{});tz(wEt,"BaseRoutingDirectionStrategy",649);Zlt(1779,649,{},dm),Sxt.$f=function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b;if(!t.r||t.q)for(h=e+t.o*n,l=new ed(t.n);l.a<l.c.c.length;)for(c=RR(xG(l),11),f=$4(X3(uw(t8t,1),u_t,8,0,[c.i.n,c.n,c.a])).a,u=new ed(c.g);u.a<u.c.c.length;)Nq(s=RR(xG(u),18))||(g=s.d,b=$4(X3(uw(t8t,1),u_t,8,0,[g.i.n,g.n,g.a])).a,r.Math.abs(f-b)>lMt&&(a=t,i=new YM(f,o=h),vN(s.a,i),hbt(this,s,a,i,!1),(d=t.r)&&(i=new YM(p=Dy(VD(met(d.e,0))),o),vN(s.a,i),hbt(this,s,a,i,!1),a=d,i=new YM(p,o=e+d.o*n),vN(s.a,i),hbt(this,s,a,i,!1)),i=new YM(b,o),vN(s.a,i),hbt(this,s,a,i,!1)))},Sxt._f=function(t){return t.i.n.a+t.n.a+t.a.a},Sxt.ag=function(){return dwt(),Kte},Sxt.bg=function(){return dwt(),Ote};tz(wEt,"NorthToSouthRoutingStrategy",1779);Zlt(1780,649,{},pm),Sxt.$f=function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b;if(!t.r||t.q)for(h=e-t.o*n,l=new ed(t.n);l.a<l.c.c.length;)for(c=RR(xG(l),11),f=$4(X3(uw(t8t,1),u_t,8,0,[c.i.n,c.n,c.a])).a,u=new ed(c.g);u.a<u.c.c.length;)Nq(s=RR(xG(u),18))||(g=s.d,b=$4(X3(uw(t8t,1),u_t,8,0,[g.i.n,g.n,g.a])).a,r.Math.abs(f-b)>lMt&&(a=t,i=new YM(f,o=h),vN(s.a,i),hbt(this,s,a,i,!1),(d=t.r)&&(i=new YM(p=Dy(VD(met(d.e,0))),o),vN(s.a,i),hbt(this,s,a,i,!1),a=d,i=new YM(p,o=e-d.o*n),vN(s.a,i),hbt(this,s,a,i,!1)),i=new YM(b,o),vN(s.a,i),hbt(this,s,a,i,!1)))},Sxt._f=function(t){return t.i.n.a+t.n.a+t.a.a},Sxt.ag=function(){return dwt(),Ote},Sxt.bg=function(){return dwt(),Kte};tz(wEt,"SouthToNorthRoutingStrategy",1780);Zlt(1778,649,{},gm),Sxt.$f=function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b;if(!t.r||t.q)for(h=e+t.o*n,l=new ed(t.n);l.a<l.c.c.length;)for(c=RR(xG(l),11),f=$4(X3(uw(t8t,1),u_t,8,0,[c.i.n,c.n,c.a])).b,u=new ed(c.g);u.a<u.c.c.length;)Nq(s=RR(xG(u),18))||(g=s.d,b=$4(X3(uw(t8t,1),u_t,8,0,[g.i.n,g.n,g.a])).b,r.Math.abs(f-b)>lMt&&(a=t,i=new YM(o=h,f),vN(s.a,i),hbt(this,s,a,i,!0),(d=t.r)&&(i=new YM(o,p=Dy(VD(met(d.e,0)))),vN(s.a,i),hbt(this,s,a,i,!0),a=d,i=new YM(o=e+d.o*n,p),vN(s.a,i),hbt(this,s,a,i,!0)),i=new YM(o,b),vN(s.a,i),hbt(this,s,a,i,!0)))},Sxt._f=function(t){return t.i.n.b+t.n.b+t.a.b},Sxt.ag=function(){return dwt(),Dte},Sxt.bg=function(){return dwt(),Qte};tz(wEt,"WestToEastRoutingStrategy",1778);Zlt(794,1,{},lvt),Sxt.Ib=function(){return Uot(this.a)},Sxt.b=0,Sxt.c=!1,Sxt.d=!1,Sxt.f=0;tz(_Et,"NubSpline",794);Zlt(402,1,{402:1},xdt,aH);var w2t,x2t,_2t,S2t,k2t;tz(_Et,"NubSpline/PolarCP",402);Zlt(1422,1,uEt,Irt),Sxt.Vf=function(t){return function(t){var e,n;return P2(e=new wU,w2t),(n=RR(Bot(t,(dxt(),vqt)),21)).Fc((Zdt(),NXt))&&P2(e,k2t),n.Fc(CXt)&&P2(e,x2t),n.Fc(LXt)&&P2(e,S2t),n.Fc(AXt)&&P2(e,_2t),e}(RR(t,38))},Sxt.nf=function(t,e){!function(t,e,n){var i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T;if(qat(n,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void Sst(n);m=Dy(VD(Bot(e,(Zwt(),EJt)))),u=Dy(VD(Bot(e,kJt))),s=Dy(VD(Bot(e,xJt))),k=RR(Bot(e,oQt),334)==(d6(),Q1t),S=Dy(VD(Bot(e,sQt))),t.d=e,t.j.c=hK(gjt,zxt,1,0,5,1),t.a.c=hK(gjt,zxt,1,0,5,1),JF(t.k),h=FC((c=RR(JN(e.b,0),29)).a,(gdt(),p2t)),f=FC((g=RR(JN(e.b,e.b.c.length-1),29)).a,p2t),b=new ed(e.b),v=null,T=0;do{for(ywt(t,v,y=b.a<b.c.c.length?RR(xG(b),29):null),Fbt(t),C=0,w=T,d=!v||h&&v==c,p=!y||f&&y==g,(I=xw(V0(I$(_$(new lj(null,new ZW(t.i,16)),new mo),new vo))))>0?(l=0,v&&(l+=u),l+=(I-1)*s,y&&(l+=u),k&&y&&(l=r.Math.max(l,idt(y,s,m,S))),l<m&&!d&&!p&&(C=(m-l)/2,l=m),w+=l):!d&&!p&&(w+=m),y&&zmt(y,w),_=new ed(t.i);_.a<_.c.c.length;)(x=RR(xG(_),128)).a.c=T,x.a.b=w-T,x.F=C,x.p=!v;R3(t.a,t.i),T=w,y&&(T+=y.c.a),v=y,d=p}while(y);for(a=new ed(t.j);a.a<a.c.c.length;)o=Q2(t,i=RR(xG(a),18)),S4(i,(dxt(),Yqt),o),M=Edt(t,i),S4(i,Zqt,M);e.f.a=T,t.d=null,Sst(n)}(this,RR(t,38),e)};tz(_Et,"SplineEdgeRouter",1422);Zlt(267,1,{267:1},yY),Sxt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},Sxt.c=0;var I2t,M2t;tz(_Et,"SplineEdgeRouter/Dependency",267);Zlt(448,22,{3:1,36:1,22:1,448:1},iM);var C2t,T2t=h1(_Et,"SplineEdgeRouter/SideToProcess",448,Pjt,(function(){return oH(),X3(uw(T2t,1),P_t,448,0,[I2t,M2t])}),(function(t){return oH(),hQ((tq(),C2t),t)}));Zlt(1423,1,N_t,mo),Sxt.Mb=function(t){return bdt(),!RR(t,128).o};tz(_Et,"SplineEdgeRouter/lambda$0$Type",1423);Zlt(1424,1,{},vo),Sxt.Ge=function(t){return bdt(),RR(t,128).v+1};tz(_Et,"SplineEdgeRouter/lambda$1$Type",1424);Zlt(1425,1,h_t,GM),Sxt.td=function(t){!function(t,e,n){t$(t.b,RR(n.b,18),e)}(this.a,this.b,RR(t,46))};tz(_Et,"SplineEdgeRouter/lambda$2$Type",1425);Zlt(1426,1,h_t,UM),Sxt.td=function(t){!function(t,e,n){t$(t.b,RR(n.b,18),e)}(this.a,this.b,RR(t,46))};tz(_Et,"SplineEdgeRouter/lambda$3$Type",1426);Zlt(128,1,{36:1,128:1},$ut,Lmt),Sxt.wd=function(t){return function(t,e){return t.s-e.s}(this,RR(t,128))},Sxt.b=0,Sxt.e=!1,Sxt.f=0,Sxt.g=0,Sxt.j=!1,Sxt.k=!1,Sxt.n=0,Sxt.o=!1,Sxt.p=!1,Sxt.q=!1,Sxt.s=0,Sxt.u=0,Sxt.v=0,Sxt.F=0;tz(_Et,"SplineSegment",128);Zlt(453,1,{453:1},fo),Sxt.a=0,Sxt.b=!1,Sxt.c=!1,Sxt.d=!1,Sxt.e=!1,Sxt.f=0;tz(_Et,"SplineSegment/EdgeInformation",453);Zlt(1207,1,{},ho);tz(CEt,eMt,1207);Zlt(1208,1,Skt,po),Sxt.ue=function(t,e){return function(t,e){var n,r,i;return 0==(n=RR(Bot(e,(_st(),m3t)),20).a-RR(Bot(t,m3t),20).a)?(r=$O(LA(RR(Bot(t,(qmt(),G2t)),8)),RR(Bot(t,U2t),8)),i=$O(LA(RR(Bot(e,G2t),8)),RR(Bot(e,U2t),8)),j8(r.a*r.b,i.a*i.b)):n}(RR(t,135),RR(e,135))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(CEt,nMt,1208);Zlt(1206,1,{},Kx);var A2t,E2t,P2t,D2t;tz(CEt,"MrTree",1206);Zlt(389,22,{3:1,36:1,22:1,389:1,245:1,233:1},aM),Sxt.Hf=function(){return Vct(this)},Sxt.Uf=function(){return Vct(this)};var O2t,L2t=h1(CEt,"TreeLayoutPhases",389,Pjt,(function(){return qrt(),X3(uw(L2t,1),P_t,389,0,[A2t,E2t,P2t,D2t])}),(function(t){return qrt(),hQ((CZ(),O2t),t)}));Zlt(1103,207,DIt,NO),Sxt.$e=function(t,e){var n,i,a,o,s,u;for(l3(s=new PY,t),S4(s,(qmt(),e3t),t),function(t,e,n){var i,a,o,s,u;for(o=0,a=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(i=RR(Htt(a),34)).n&&(i.n=new FF(cne,i,1,7)),i.n).i||(s=RR(sJ((!i.n&&(i.n=new FF(cne,i,1,7)),i.n),0),137).a),l3(u=new m5(o++,e,s),i),S4(u,(qmt(),e3t),i),u.e.b=i.j+i.f/2,u.f.a=r.Math.max(i.g,1),u.e.a=i.i+i.g/2,u.f.b=r.Math.max(i.f,1),vN(e.b,u),ect(n.f,i,u)}(t,s,u=new Hb),function(t,e,n){var r,i,a,o,s,u,c;for(o=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));o.e!=o.i.gc();)for(i=new xF(zE(uft(a=RR(Htt(o),34)).a.Ic(),new p));Qlt(i);)zlt(r=RR(dq(i),80))||zlt(r)||Jct(r)||(u=RR(PC(rH(n.f,a)),83),c=RR(oz(n,Yat(RR(sJ((!r.c&&(r.c=new nL(nne,r,5,8)),r.c),0),93))),83),u&&c&&(S4(s=new gV(u,c),(qmt(),e3t),r),l3(s,r),vN(u.d,s),vN(c.b,s),vN(e.a,s)))}(t,s,u),o=s,i=new ed(a=obt(this.a,o));i.a<i.c.c.length;)n=RR(xG(i),135),Nat(this.b,n,o2(e,1/a.c.length));o=function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k,I,M,C,T;if(1==t.c.length)return TW(0,t.c.length),RR(t.c[0],135);if(t.c.length<=0)return new PY;for(c=new ed(t);c.a<c.c.c.length;){for(s=RR(xG(c),135),y=0,g=Lxt,b=Lxt,d=B_t,p=B_t,m=het(s.b,0);m.b!=m.d.c;)v=RR(zU(m),83),y+=RR(Bot(v,(_st(),m3t)),20).a,g=r.Math.min(g,v.e.a),b=r.Math.min(b,v.e.b),d=r.Math.max(d,v.e.a+v.f.a),p=r.Math.max(p,v.e.b+v.f.b);S4(s,(_st(),m3t),k8(y)),S4(s,(qmt(),U2t),new YM(g,b)),S4(s,G2t,new YM(d,p))}for(mV(),kA(t,new po),l3(x=new PY,(TW(0,t.c.length),RR(t.c[0],94))),f=0,M=0,l=new ed(t);l.a<l.c.c.length;)s=RR(xG(l),135),_=$O(LA(RR(Bot(s,(qmt(),G2t)),8)),RR(Bot(s,U2t),8)),f=r.Math.max(f,_.a),M+=_.a*_.b;for(f=r.Math.max(f,r.Math.sqrt(M)*Dy(VD(Bot(x,(_st(),p3t))))),C=0,T=0,h=0,e=S=Dy(VD(Bot(x,x3t))),u=new ed(t);u.a<u.c.c.length;)s=RR(xG(u),135),C+(_=$O(LA(RR(Bot(s,(qmt(),G2t)),8)),RR(Bot(s,U2t),8))).a>f&&(C=0,T+=h+S,h=0),fft(x,s,C,T),e=r.Math.max(e,C+_.a),h=r.Math.max(h,_.b),C+=_.a+S;for(w=new Hb,n=new Hb,I=new ed(t);I.a<I.c.c.length;)for(i=Ay($D(Bot(k=RR(xG(I),135),(fxt(),B8t)))),o=(k.q?k.q:KFt).tc().Ic();o.Ob();)KF(w,(a=RR(o.Pb(),43)).ad())?DC(RR(a.ad(),146).rg())!==DC(a.bd())&&(i&&KF(n,a.ad())?(Q_(),RR(a.ad(),146).og()):(t$(w,RR(a.ad(),146),a.bd()),S4(x,RR(a.ad(),146),a.bd()),i&&t$(n,RR(a.ad(),146),a.bd()))):(t$(w,RR(a.ad(),146),a.bd()),S4(x,RR(a.ad(),146),a.bd()));return x}(a),function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_;for(i=RR(Bot(t,(qmt(),e3t)),34),u=Lxt,c=Lxt,o=B_t,s=B_t,x=het(t.b,0);x.b!=x.d.c;)p=(y=RR(zU(x),83)).e,g=y.f,u=r.Math.min(u,p.a-g.a/2),c=r.Math.min(c,p.b-g.b/2),o=r.Math.max(o,p.a+g.a/2),s=r.Math.max(s,p.b+g.b/2);for(f=new YM((d=RR(_ht(i,(_st(),b3t)),115)).b-u,d.d-c),w=het(t.b,0);w.b!=w.d.c;)zA(h=Bot(y=RR(zU(w),83),e3t),238)&&VT(a=RR(h,34),(l=zO(y.e,f)).a-a.g/2,l.b-a.f/2);for(m=het(t.a,0);m.b!=m.d.c;)v=RR(zU(m),188),(n=RR(Bot(v,e3t),80))&&(jX(e=v.a,b=new uA(v.b.e),e.a,e.a.a),jX(e,_=new uA(v.c.e),e.c.b,e.c),cst(b,RR(met(e,1),8),v.b.f),cst(_,RR(met(e,e.b-2),8),v.c.f),evt(e,Udt(n,!0,!0)));wwt(i,o-u+(d.b+d.c),s-c+(d.d+d.a),!1,!1)}(o)};tz(CEt,"TreeLayoutProvider",1103);Zlt(1819,1,b_t,go),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return mV(),J_(),QFt};tz(CEt,"TreeUtil/1",1819);Zlt(1820,1,b_t,bo),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return mV(),J_(),QFt};tz(CEt,"TreeUtil/2",1820);Zlt(493,134,{3:1,493:1,94:1,134:1}),Sxt.g=0;tz(TEt,"TGraphElement",493);Zlt(188,493,{3:1,188:1,493:1,94:1,134:1},gV),Sxt.Ib=function(){return this.b&&this.c?bG(this.b)+"->"+bG(this.c):"e_"+p5(this)};tz(TEt,"TEdge",188);Zlt(135,134,{3:1,135:1,94:1,134:1},PY),Sxt.Ib=function(){var t,e,n,r,i;for(i=null,r=het(this.b,0);r.b!=r.d.c;)i+=(null==(n=RR(zU(r),83)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=het(this.a,0);e.b!=e.d.c;)i+=((t=RR(zU(e),188)).b&&t.c?bG(t.b)+"->"+bG(t.c):"e_"+p5(t))+"\n";return i};var R2t=tz(TEt,"TGraph",135);Zlt(623,493,{3:1,493:1,623:1,94:1,134:1});tz(TEt,"TShape",623);Zlt(83,623,{3:1,493:1,83:1,623:1,94:1,134:1},m5),Sxt.Ib=function(){return bG(this)};var N2t=tz(TEt,"TNode",83);Zlt(254,1,b_t,_g),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return new Sg(het(this.a.d,0))};tz(TEt,"TNode/2",254);Zlt(355,1,qxt,Sg),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return RR(zU(this.a),188).c},Sxt.Ob=function(){return jx(this.a)},Sxt.Qb=function(){QQ(this.a)};tz(TEt,"TNode/2/1",355);Zlt(1812,1,GMt,jO),Sxt.nf=function(t,e){Wbt(this,RR(t,135),e)};var j2t,F2t,B2t,z2t,$2t,V2t;tz(AEt,"FanProcessor",1812);Zlt(325,22,{3:1,36:1,22:1,325:1,233:1},oM),Sxt.Hf=function(){switch(this.g){case 0:return new Wm;case 1:return new jO;case 2:return new Co;case 3:return new Io;case 4:return new Ao;case 5:return new Eo;default:throw Jb(new Ny(gCt+(null!=this.f?this.f:""+this.g)))}};var H2t,W2t=h1(AEt,bCt,325,Pjt,(function(){return Mut(),X3(uw(W2t,1),P_t,325,0,[V2t,F2t,z2t,B2t,$2t,j2t])}),(function(t){return Mut(),hQ((LJ(),H2t),t)}));Zlt(1815,1,GMt,Io),Sxt.nf=function(t,e){Tht(this,RR(t,135),e)},Sxt.a=0;tz(AEt,"LevelHeightProcessor",1815);Zlt(1816,1,b_t,Mo),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return mV(),J_(),QFt};tz(AEt,"LevelHeightProcessor/1",1816);Zlt(1813,1,GMt,Co),Sxt.nf=function(t,e){jut(this,RR(t,135),e)},Sxt.a=0;tz(AEt,"NeighborsProcessor",1813);Zlt(1814,1,b_t,To),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return mV(),J_(),QFt};tz(AEt,"NeighborsProcessor/1",1814);Zlt(1817,1,GMt,Ao),Sxt.nf=function(t,e){Cht(this,RR(t,135),e)},Sxt.a=0;tz(AEt,"NodePositionProcessor",1817);Zlt(1811,1,GMt,Wm),Sxt.nf=function(t,e){!function(t,e){var n,r,i,a,o,s,u;for(t.a.c=hK(gjt,zxt,1,0,5,1),r=het(e.b,0);r.b!=r.d.c;)0==(n=RR(zU(r),83)).b.b&&(S4(n,(qmt(),s3t),(_P(),!0)),LR(t.a,n));switch(t.a.c.length){case 0:S4(i=new m5(0,e,"DUMMY_ROOT"),(qmt(),s3t),(_P(),!0)),S4(i,q2t,!0),vN(e.b,i);break;case 1:break;default:for(a=new m5(0,e,"SUPER_ROOT"),s=new ed(t.a);s.a<s.c.c.length;)S4(u=new gV(a,o=RR(xG(s),83)),(qmt(),q2t),(_P(),!0)),vN(a.a.a,u),vN(a.d,u),vN(o.b,u),S4(o,s3t,!1);S4(a,(qmt(),s3t),(_P(),!0)),S4(a,q2t,!0),vN(e.b,a)}}(this,RR(t,135))};tz(AEt,"RootProcessor",1811);Zlt(1818,1,GMt,Eo),Sxt.nf=function(t,e){!function(t){var e,n;for(n=RR(Bot(t,(qmt(),i3t)),14).Ic();n.Ob();)vN((e=RR(n.Pb(),188)).b.d,e),vN(e.c.b,e)}(RR(t,135))};var G2t,U2t,X2t,q2t,Y2t,K2t,Z2t,Q2t,J2t,t3t,e3t,n3t,r3t,i3t,a3t,o3t,s3t,u3t,c3t,l3t,h3t,f3t,d3t;tz(AEt,"Untreeifyer",1818);Zlt(830,1,qkt,gh),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,DEt),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),d3t),(vut(),H6t)),T3t),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,OEt),""),"Search Order"),"Which search order to use when computing a spanning tree."),h3t),H6t),P3t),a9(F6t)))),wmt((new bh,t))};var p3t,g3t,b3t,v3t,m3t,y3t,w3t,x3t,_3t;tz(LEt,"MrTreeMetaDataProvider",830);Zlt(974,1,qkt,bh),Sxt.Qe=function(t){wmt(t)};tz(LEt,"MrTreeOptions",974);Zlt(975,1,{},Po),Sxt._e=function(){return new NO},Sxt.af=function(t){};var S3t,k3t;tz(LEt,"MrTreeOptions/MrtreeFactory",975);Zlt(474,22,{3:1,36:1,22:1,474:1},sM);var I3t,M3t,C3t,T3t=h1(LEt,"OrderWeighting",474,Pjt,(function(){return KH(),X3(uw(T3t,1),P_t,474,0,[S3t,k3t])}),(function(t){return KH(),hQ((eq(),I3t),t)}));Zlt(419,22,{3:1,36:1,22:1,419:1},uM);var A3t,E3t,P3t=h1(LEt,"TreeifyingOrder",419,Pjt,(function(){return YG(),X3(uw(P3t,1),P_t,419,0,[C3t,M3t])}),(function(t){return YG(),hQ((nq(),A3t),t)}));Zlt(1428,1,uEt,uh),Sxt.Vf=function(t){return RR(t,135),E3t},Sxt.nf=function(t,e){m2(this,RR(t,135),e)};var D3t;tz("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1428);Zlt(1429,1,uEt,sh),Sxt.Vf=function(t){return RR(t,135),D3t},Sxt.nf=function(t,e){qut(this,RR(t,135),e)};var O3t;tz("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1429);Zlt(1430,1,uEt,ch),Sxt.Vf=function(t){return RR(t,135),O3t},Sxt.nf=function(t,e){Mpt(this,RR(t,135),e)},Sxt.a=0;var L3t;tz("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1430);Zlt(1431,1,uEt,lh),Sxt.Vf=function(t){return RR(t,135),L3t},Sxt.nf=function(t,e){!function(t,e){var n,r;for(qat(e,"Dull edge routing",1),r=het(t.b,0);r.b!=r.d.c;)for(n=het(RR(zU(r),83).d,0);n.b!=n.d.c;)sV(RR(zU(n),188).a)}(RR(t,135),e)};var R3t,N3t,j3t;tz("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1431);Zlt(487,22,{3:1,36:1,22:1,487:1,245:1,233:1},cM),Sxt.Hf=function(){return Z9(this)},Sxt.Uf=function(){return Z9(this)};var F3t,B3t=h1(jEt,"RadialLayoutPhases",487,Pjt,(function(){return w0(),X3(uw(B3t,1),P_t,487,0,[N3t,j3t])}),(function(t){return w0(),hQ((rq(),F3t),t)}));Zlt(1104,207,DIt,Yx),Sxt.$e=function(t,e){var n,r,i,a;if(qat(e,"Radial layout",nct(this,t).c.length),a=function(t){var e,n;for(n=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));n.e!=n.i.gc();)if(!Qlt(new xF(zE(sft(e=RR(Htt(n),34)).a.Ic(),new p))))return e;return null}(t),Bet(t,(TD(),R3t),a),!a)throw Jb(new Ny("The given graph is not a tree!"));for(0==(r=Dy(VD(_ht(t,(V5(),b4t)))))&&(r=Pct(t)),Bet(t,b4t,r),cJ(xrt(n=new _y(t)),new Ld(n)),a7(new Rd(n)),i=new ed(nct(this,t));i.a<i.c.c.length;)RR(xG(i),52).nf(t,o2(e,1));Sst(e)};tz(jEt,"RadialLayoutProvider",1104);Zlt(544,1,Skt,t_),Sxt.ue=function(t,e){return function(t,e,n,i){var a,o,s,u,c,l,h,f;return c=(s=RR(_ht(n,(fxt(),V9t)),8)).a,h=s.b+t,(a=r.Math.atan2(h,c))<0&&(a+=FEt),(a+=e)>FEt&&(a-=FEt),l=(u=RR(_ht(i,V9t),8)).a,f=u.b+t,(o=r.Math.atan2(f,l))<0&&(o+=FEt),(o+=e)>FEt&&(o-=FEt),mA(),IJ(1e-10),r.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:_T(isNaN(a),isNaN(o))}(this.a,this.b,RR(t,34),RR(e,34))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)},Sxt.a=0,Sxt.b=0;tz(jEt,"RadialUtil/lambda$0$Type",544);Zlt(1346,1,GMt,Do),Sxt.nf=function(t,e){!function(t){var e,n,i,a,o,s,u,c,l,h,f,d,p,g,b,v;for(s=ZIt,u=ZIt,a=BEt,o=BEt,h=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));h.e!=h.i.gc();)p=(c=RR(Htt(h),34)).i,g=c.j,v=c.g,n=c.f,i=RR(_ht(c,(fxt(),a9t)),141),s=r.Math.min(s,p-i.b),u=r.Math.min(u,g-i.d),a=r.Math.max(a,p+v+i.c),o=r.Math.max(o,g+n+i.a);for(f=new YM(s-(d=RR(_ht(t,(fxt(),y9t)),115)).b,u-d.d),l=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));l.e!=l.i.gc();)UJ(c=RR(Htt(l),34),c.i-f.a),XJ(c,c.j-f.b);b=a-s+(d.b+d.c),e=o-u+(d.d+d.a),GJ(t,b),WJ(t,e)}(RR(t,34))};var z3t,$3t,V3t;tz(zEt,"CalculateGraphSize",1346);Zlt(436,22,{3:1,36:1,22:1,436:1,233:1},lM),Sxt.Hf=function(){switch(this.g){case 0:return new Fo;case 1:return new Oo;case 2:return new Do;default:throw Jb(new Ny(gCt+(null!=this.f?this.f:""+this.g)))}};var H3t,W3t=h1(zEt,bCt,436,Pjt,(function(){return W9(),X3(uw(W3t,1),P_t,436,0,[V3t,z3t,$3t])}),(function(t){return W9(),hQ((ZY(),H3t),t)}));Zlt(635,1,{}),Sxt.e=1,Sxt.g=0;tz($Et,"AbstractRadiusExtensionCompaction",635);Zlt(1743,635,{},sD),Sxt.cg=function(t){var e,n,r,i,a,o,s,u,c;for(this.c=RR(_ht(t,(TD(),R3t)),34),function(t,e){t.f=e}(this,this.c),this.d=Zet(RR(_ht(t,(V5(),v4t)),293)),(u=RR(_ht(t,h4t),20))&&If(this,u.a),Mf(this,(wz(s=VD(_ht(t,(fxt(),i7t)))),s)),c=Qdt(this.c),this.d&&this.d.gg(c),function(t,e){var n,r,i;for(r=new ed(e);r.a<r.c.c.length;)if(n=RR(xG(r),34),Kct(t.a,n,n),Kct(t.b,n,n),0!=(i=Qdt(n)).c.length)for(t.d&&t.d.gg(i),Kct(t.a,n,(TW(0,i.c.length),RR(i.c[0],34))),Kct(t.b,n,RR(JN(i,i.c.length-1),34));0!=Z3(i).c.length;)i=Z3(i),t.d&&t.d.gg(i),Kct(t.a,n,(TW(0,i.c.length),RR(i.c[0],34))),Kct(t.b,n,RR(JN(i,i.c.length-1),34))}(this,c),o=new $y(X3(uw(lne,1),VEt,34,0,[this.c])),n=0;n<2;n++)for(e=0;e<c.c.length;e++)i=new $y(X3(uw(lne,1),VEt,34,0,[(TW(e,c.c.length),RR(c.c[e],34))])),a=e<c.c.length-1?(TW(e+1,c.c.length),RR(c.c[e+1],34)):(TW(0,c.c.length),RR(c.c[0],34)),r=0==e?RR(JN(c,c.c.length-1),34):(TW(e-1,c.c.length),RR(c.c[e-1],34)),yot(this,(TW(e,c.c.length),RR(c.c[e],34),o),r,a,i)};tz($Et,"AnnulusWedgeCompaction",1743);Zlt(1345,1,GMt,Oo),Sxt.nf=function(t,e){UW(RR(t,34))};tz($Et,"GeneralCompactor",1345);Zlt(1742,635,{},Lo),Sxt.cg=function(t){var e,n,r,i;n=RR(_ht(t,(TD(),R3t)),34),this.f=n,this.b=Zet(RR(_ht(t,(V5(),v4t)),293)),(i=RR(_ht(t,h4t),20))&&If(this,i.a),Mf(this,(wz(r=VD(_ht(t,(fxt(),i7t)))),r)),e=Qdt(n),this.b&&this.b.gg(e),put(this,e)},Sxt.a=0;tz($Et,"RadialCompaction",1742);Zlt(1750,1,{},Ro),Sxt.dg=function(t){var e,n,r,i,a,o;for(this.a=t,e=0,r=0,a=new ed(o=Qdt(t));a.a<a.c.c.length;)for(i=RR(xG(a),34),n=++r;n<o.c.length;n++)ivt(this,i,(TW(n,o.c.length),RR(o.c[n],34)))&&(e+=1);return e};tz(HEt,"CrossingMinimizationPosition",1750);Zlt(1748,1,{},No),Sxt.dg=function(t){var e,n,i,a,o,s,u,c,l,h,f,d,g;for(i=0,n=new xF(zE(uft(t).a.Ic(),new p));Qlt(n);)e=RR(dq(n),80),l=(u=Yat(RR(sJ((!e.c&&(e.c=new nL(nne,e,5,8)),e.c),0),93))).i+u.g/2,h=u.j+u.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(f=new fx).a=l-a,f.b=h-o,Ait(s=new YM(f.a,f.b),t.g,t.f),f.a-=s.a,f.b-=s.b,a=l-f.a,o=h-f.b,Ait(c=new YM(f.a,f.b),u.g,u.f),f.a-=c.a,f.b-=c.b,d=(l=a+f.a)-a,g=(h=o+f.b)-o,i+=r.Math.sqrt(d*d+g*g);return i};tz(HEt,"EdgeLengthOptimization",1748);Zlt(1749,1,{},jo),Sxt.dg=function(t){var e,n,i,a,o,s,u,c,l;for(i=0,n=new xF(zE(uft(t).a.Ic(),new p));Qlt(n);)e=RR(dq(n),80),s=(o=Yat(RR(sJ((!e.c&&(e.c=new nL(nne,e,5,8)),e.c),0),93))).i+o.g/2,u=o.j+o.f/2,a=RR(_ht(o,(fxt(),V9t)),8),c=s-(t.i+a.a+t.g/2),l=u-(t.j+a.b+t.f),i+=r.Math.sqrt(c*c+l*l);return i};tz(HEt,"EdgeLengthPositionOptimization",1749);Zlt(1344,635,GMt,Fo),Sxt.nf=function(t,e){Yrt(this,RR(t,34))};var G3t,U3t;tz("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1344);Zlt(420,22,{3:1,36:1,22:1,420:1},fM);var X3t,q3t,Y3t,K3t,Z3t=h1(GEt,"AnnulusWedgeCriteria",420,Pjt,(function(){return KK(),X3(uw(Z3t,1),P_t,420,0,[G3t,U3t])}),(function(t){return KK(),hQ((aq(),X3t),t)}));Zlt(377,22,{3:1,36:1,22:1,377:1},dM);var Q3t,J3t,t4t,e4t,n4t,r4t,i4t,a4t,o4t,s4t,u4t,c4t,l4t=h1(GEt,FIt,377,Pjt,(function(){return z5(),X3(uw(l4t,1),P_t,377,0,[q3t,Y3t,K3t])}),(function(t){return z5(),hQ((nK(),Q3t),t)}));Zlt(831,1,qkt,yh),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,UEt),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),k8(0)),(vut(),G6t)),bFt),a9((pet(),j6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,XEt),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,qEt),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),e4t),H6t),l4t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,YEt),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),k8(1)),G6t),bFt),a9(F6t)))),nU(t,YEt,qEt,null),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,KEt),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),s4t),H6t),E4t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ZEt),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),c4t),H6t),Z3t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,QEt),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),r4t),H6t),T4t),a9(F6t)))),Tyt((new wh,t))};var h4t,f4t,d4t,p4t,g4t,b4t,v4t,m4t,y4t;tz(GEt,"RadialMetaDataProvider",831);Zlt(976,1,qkt,wh),Sxt.Qe=function(t){Tyt(t)};tz(GEt,"RadialOptions",976);Zlt(977,1,{},Bo),Sxt._e=function(){return new Yx},Sxt.af=function(t){};var w4t,x4t,_4t,S4t;tz(GEt,"RadialOptions/RadialFactory",977);Zlt(337,22,{3:1,36:1,22:1,337:1},bM);var k4t,I4t,M4t,C4t,T4t=h1(GEt,"RadialTranslationStrategy",337,Pjt,(function(){return irt(),X3(uw(T4t,1),P_t,337,0,[S4t,x4t,_4t,w4t])}),(function(t){return irt(),hQ((MZ(),k4t),t)}));Zlt(293,22,{3:1,36:1,22:1,293:1},vM);var A4t,E4t=h1(GEt,"SortingStrategy",293,Pjt,(function(){return z2(),X3(uw(E4t,1),P_t,293,0,[M4t,C4t,I4t])}),(function(t){return z2(),hQ((eK(),A4t),t)}));Zlt(1418,1,uEt,$o),Sxt.Vf=function(t){return RR(t,34),null},Sxt.nf=function(t,e){oat(this,RR(t,34))},Sxt.c=0;tz("org.eclipse.elk.alg.radial.p1position","EadesRadial",1418);Zlt(1746,1,{},Vo),Sxt.eg=function(t){return Het(t)};tz(tPt,"AnnulusWedgeByLeafs",1746);Zlt(1747,1,{},Ho),Sxt.eg=function(t){return jat(this,t)};tz(tPt,"AnnulusWedgeByNodeSpace",1747);Zlt(1419,1,uEt,Wo),Sxt.Vf=function(t){return RR(t,34),null},Sxt.nf=function(t,e){iH(this,RR(t,34))};tz("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1419);Zlt(792,1,{},qm),Sxt.fg=function(t){},Sxt.gg=function(t){nv(this,t)};tz(ePt,"IDSorter",792);Zlt(1745,1,Skt,Go),Sxt.ue=function(t,e){return function(t,e){var n,r;return n=RR(_ht(t,(V5(),p4t)),20),r=RR(_ht(e,p4t),20),TA(n.a,r.a)}(RR(t,34),RR(e,34))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(ePt,"IDSorter/lambda$0$Type",1745);Zlt(1744,1,{},A0),Sxt.fg=function(t){eU(this,t)},Sxt.gg=function(t){t.dc()||(this.e||eU(this,cj(RR(t.Xb(0),34))),nv(this.e,t))};tz(ePt,"PolarCoordinateSorter",1744);Zlt(1109,207,DIt,zo),Sxt.$e=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,p,g,b,v,m,y,w,x,_,S,k;if(qat(e,"Rectangle Packing",1),e.n&&e.n&&t&&SG(e,lU(t),(F5(),Dee)),n=Dy(VD(_ht(t,(Yut(),U4t)))),p=RR(_ht(t,n5t),378),v=Ay($D(_ht(t,t5t))),w=Ay($D(_ht(t,e5t))),h=Ay($D(_ht(t,K4t))),x=RR(_ht(t,r5t),115),y=Dy(VD(_ht(t,o5t))),i=Ay($D(_ht(t,a5t))),f=Ay($D(_ht(t,Z4t))),b=Ay($D(_ht(t,Q4t))),k=-1,fK(t,s5t)&&(k=Dy(VD(_ht(t,s5t)))),!t.a&&(t.a=new FF(lne,t,10,11)),M0(S=t.a),b){for(d=new Vb,u=new SE(S);u.e!=u.i.gc();)fK(o=RR(Htt(u),34),Y4t)&&(d.c[d.c.length]=o);for(c=new ed(d);c.a<c.c.c.length;)nQ(S,o=RR(xG(c),34));for(mV(),kA(d,new Uo),l=new ed(d);l.a<l.c.c.length;)o=RR(xG(l),34),_=RR(_ht(o,Y4t),20).a,J6(S,_=r.Math.min(_,S.i),o);for(g=0,s=new SE(S);s.e!=s.i.gc();)Bet(o=RR(Htt(s),34),q4t,k8(g)),++g}(m=Yst(t)).a-=x.b+x.c,m.b-=x.d+x.a,m.a,k<0||k<m.a?(a=function(t,e,n){var r,i,a,o,s,u,c;for(UJ(a=RR(sJ(e,0),34),0),XJ(a,0),(s=new Vb).c[s.c.length]=a,o=a,i=new DN(t.a,a.g,a.f,(Eft(),f5t)),u=1;u<e.i;u++)UJ(c=RR(sJ(e,u),34),(r=Amt(t,Gvt(t,c5t,c,o,i,s,n),Gvt(t,u5t,c,o,i,s,n),Gvt(t,h5t,c,o,i,s,n),Gvt(t,l5t,c,o,i,s,n),c,o)).f),XJ(c,r.g),Af(r,f5t),i=r,o=c,s.c[s.c.length]=c;return i}(new sR(n,p,v),S,y),e.n&&e.n&&t&&SG(e,lU(t),(F5(),Dee))):a=new DN(n,k,0,(Eft(),f5t)),w||(M0(S),a=Myt(new UU(n,h,f,i,y),S,r.Math.max(m.a,a.e),m,e,t)),function(t,e){var n,r;for(r=new SE(t);r.e!=r.i.gc();)VT(n=RR(Htt(r),34),n.i+e.b,n.j+e.d)}(S,x),wwt(t,a.e+(x.b+x.c),a.d+(x.d+x.a),!1,!0),e.n&&e.n&&t&&SG(e,lU(t),(F5(),Dee)),Sst(e)};tz(aPt,"RectPackingLayoutProvider",1109);Zlt(1110,1,Skt,Uo),Sxt.ue=function(t,e){return function(t,e){var n,r;return(n=RR(_ht(t,(Yut(),Y4t)),20).a)==(r=RR(_ht(e,Y4t),20).a)||n<r?-1:n>r?1:0}(RR(t,34),RR(e,34))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(aPt,"RectPackingLayoutProvider/lambda$0$Type",1110);Zlt(1230,1,{},sR),Sxt.a=0,Sxt.c=!1;tz(oPt,"AreaApproximation",1230);var P4t=NN(oPt,"BestCandidateFilter");Zlt(628,1,{519:1},Xo),Sxt.hg=function(t,e){var n,i,a,o,s,u;for(u=new Vb,a=RSt,s=new ed(t);s.a<s.c.c.length;)o=RR(xG(s),218),a=r.Math.min(a,o.a);for(i=new ed(t);i.a<i.c.c.length;)(n=RR(xG(i),218)).a==a&&(u.c[u.c.length]=n);return u};tz(oPt,"AreaFilter",628);Zlt(629,1,{519:1},qo),Sxt.hg=function(t,e){var n,i,a,o,s,u;for(s=new Vb,u=RSt,o=new ed(t);o.a<o.c.c.length;)a=RR(xG(o),218),u=r.Math.min(u,r.Math.abs(a.b-e));for(i=new ed(t);i.a<i.c.c.length;)n=RR(xG(i),218),r.Math.abs(n.b-e)==u&&(s.c[s.c.length]=n);return s};tz(oPt,"AspectRatioFilter",629);Zlt(627,1,{519:1},Yo),Sxt.hg=function(t,e){var n,i,a,o,s,u;for(u=new Vb,a=NSt,s=new ed(t);s.a<s.c.c.length;)o=RR(xG(s),218),a=r.Math.max(a,o.j);for(i=new ed(t);i.a<i.c.c.length;)(n=RR(xG(i),218)).j==a&&(u.c[u.c.length]=n);return u};var D4t,O4t,L4t;tz(oPt,"ScaleMeasureFilter",627);Zlt(378,22,{3:1,36:1,22:1,378:1},hM);var R4t,N4t,j4t,F4t,B4t,z4t,$4t,V4t,H4t,W4t,G4t=h1(sPt,"OptimizationGoal",378,Pjt,(function(){return G9(),X3(uw(G4t,1),P_t,378,0,[O4t,L4t,D4t])}),(function(t){return G9(),hQ((rK(),R4t),t)}));Zlt(835,1,qkt,hh),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,uPt),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),V4t),(vut(),H6t)),G4t),a9((pet(),j6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,cPt),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(_P(),!0)),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,lPt),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,hPt),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),k8(-1)),G6t),bFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,fPt),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,dPt),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,pPt),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),$6t),oFt),a9(j6t)))),nU(t,pPt,bPt,null),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,gPt),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio."),-1),V6t),fFt),a9(j6t)))),Dwt((new fh,t))};var U4t,X4t,q4t,Y4t,K4t,Z4t,Q4t,J4t,t5t,e5t,n5t,r5t,i5t,a5t,o5t,s5t;tz(sPt,"RectPackingMetaDataProvider",835);Zlt(984,1,qkt,fh),Sxt.Qe=function(t){Dwt(t)};tz(sPt,"RectPackingOptions",984);Zlt(985,1,{},Ko),Sxt._e=function(){return new zo},Sxt.af=function(t){};tz(sPt,"RectPackingOptions/RectpackingFactory",985);Zlt(1231,1,{},UU),Sxt.a=0,Sxt.b=!1,Sxt.c=0,Sxt.d=0,Sxt.e=!1,Sxt.f=!1,Sxt.g=0;tz("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1231);Zlt(181,1,{181:1},v5),Sxt.a=0,Sxt.c=!1,Sxt.d=0,Sxt.e=0,Sxt.f=0,Sxt.g=0,Sxt.i=0,Sxt.k=!1,Sxt.o=RSt,Sxt.p=RSt,Sxt.r=0,Sxt.s=0,Sxt.t=0;tz(mPt,"Block",181);Zlt(209,1,{209:1},OH),Sxt.a=0,Sxt.b=0,Sxt.d=0,Sxt.e=0,Sxt.f=0;tz(mPt,"BlockRow",209);Zlt(437,1,{437:1},Hj),Sxt.b=0,Sxt.c=0,Sxt.d=0,Sxt.e=0;tz(mPt,"BlockStack",437);Zlt(218,1,{218:1},DN,Z1),Sxt.a=0,Sxt.b=0,Sxt.c=0,Sxt.d=0,Sxt.e=0,Sxt.f=0,Sxt.g=0,Sxt.j=0;var u5t,c5t,l5t,h5t,f5t,d5t=tz(mPt,"DrawingData",218);Zlt(352,22,{3:1,36:1,22:1,352:1},mM);var p5t,g5t=h1(mPt,"DrawingDataDescriptor",352,Pjt,(function(){return Eft(),X3(uw(g5t,1),P_t,352,0,[c5t,u5t,h5t,l5t,f5t])}),(function(t){return Eft(),hQ((CQ(),p5t),t)}));Zlt(180,1,{180:1},gz),Sxt.b=0,Sxt.d=0,Sxt.e=0;tz(mPt,"RectRow",180);Zlt(739,1,{},f6),Sxt.j=0;tz(wPt,oCt,739);Zlt(1219,1,{},Zo),Sxt.Je=function(t){return wK(t.a,t.b)};tz(wPt,sCt,1219);Zlt(1220,1,{},kg),Sxt.Je=function(t){return function(t,e){return r.Math.min(wK(e.a,t.d.d.c),wK(e.b,t.d.d.c))}(this.a,t)};tz(wPt,uCt,1220);Zlt(1221,1,{},Ig),Sxt.Je=function(t){return function(t,e){var n,r;return n=RR(RR(oz(t.g,e.a),46).a,63),r=RR(RR(oz(t.g,e.b),46).a,63),wK(e.a,e.b)-wK(e.a,RA(n.b))-wK(e.b,RA(r.b))}(this.a,t)};tz(wPt,cCt,1221);Zlt(1222,1,{},Mg),Sxt.Je=function(t){return function(t,e){return jbt(RR(RR(oz(t.g,e.a),46).a,63),RR(RR(oz(t.g,e.b),46).a,63))}(this.a,t)};tz(wPt,"ElkGraphImporter/lambda$3$Type",1222);Zlt(1223,1,{},Cg),Sxt.Je=function(t){return alt(this.a,t)};tz(wPt,lCt,1223);Zlt(1106,207,DIt,Zx),Sxt.$e=function(t,e){var n,r,i,a,o,s,u,c,l,h;for(fK(t,(Wot(),q5t))&&(h=HD(_ht(t,(Ent(),v6t))),(a=ngt(I1(),h))&&RR(fH(a.f),207).$e(t,o2(e,1))),Bet(t,H5t,(TY(),M5t)),Bet(t,W5t,(jst(),D5t)),Bet(t,G5t,(I3(),x6t)),o=RR(_ht(t,(Ent(),d6t)),20).a,qat(e,"Overlap removal",1),Ay($D(_ht(t,f6t))),u=new Tg(s=new Pv),n=nxt(r=new f6,t),c=!0,i=0;i<o&&c;){if(Ay($D(_ht(t,p6t)))){if(s.a.$b(),Put(new VA(u),n.i),0==s.a.gc())break;n.e=s}for(dU(this.b),dB(this.b,(D8(),b5t),(jS(),m6t)),dB(this.b,v5t,n.g),dB(this.b,m5t,(NS(),S5t)),this.a=Vmt(this.b,n),l=new ed(this.a);l.a<l.c.c.length;)RR(xG(l),52).nf(n,o2(e,1));Dit(r,n),c=Ay($D(Bot(n,(H2(),N$t)))),++i}_yt(r,n),Sst(e)};tz(wPt,"OverlapRemovalLayoutProvider",1106);Zlt(1107,1,{},Tg);var b5t,v5t,m5t;tz(wPt,"OverlapRemovalLayoutProvider/lambda$0$Type",1107);Zlt(430,22,{3:1,36:1,22:1,430:1},yM);var y5t,w5t=h1(wPt,"SPOrEPhases",430,Pjt,(function(){return D8(),X3(uw(w5t,1),P_t,430,0,[b5t,v5t,m5t])}),(function(t){return D8(),hQ((QY(),y5t),t)}));Zlt(1229,1,{},Qx);tz(wPt,"ShrinkTree",1229);Zlt(1108,207,DIt,Ym),Sxt.$e=function(t,e){var n,r,i,a;fK(t,(Wot(),q5t))&&(a=HD(_ht(t,q5t)),(i=ngt(I1(),a))&&RR(fH(i.f),207).$e(t,o2(e,1))),n=nxt(r=new f6,t),function(t,e,n){var r;if(dU(t.b),dB(t.b,(D8(),b5t),(jS(),m6t)),dB(t.b,v5t,e.g),dB(t.b,m5t,e.a),t.a=Vmt(t.b,e),qat(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(r=new ed(t.a);r.a<r.c.c.length;)RR(xG(r),52).nf(e,o2(n,1));Sst(n)}(this.a,n,o2(e,1)),_yt(r,n)};tz(wPt,"ShrinkTreeLayoutProvider",1108);Zlt(300,134,{3:1,300:1,94:1,134:1},LH),Sxt.c=!1;var x5t;tz("org.eclipse.elk.alg.spore.graph","Graph",300);Zlt(476,22,{3:1,36:1,22:1,476:1,245:1,233:1},BS),Sxt.Hf=function(){return U4(this)},Sxt.Uf=function(){return U4(this)};var _5t,S5t,k5t=h1(xPt,FIt,476,Pjt,(function(){return LS(),X3(uw(k5t,1),P_t,476,0,[x5t])}),(function(t){return LS(),hQ((_U(),_5t),t)}));Zlt(546,22,{3:1,36:1,22:1,546:1,245:1,233:1},lD),Sxt.Hf=function(){return new ts},Sxt.Uf=function(){return new ts};var I5t,M5t,C5t,T5t=h1(xPt,"OverlapRemovalStrategy",546,Pjt,(function(){return NS(),X3(uw(T5t,1),P_t,546,0,[S5t])}),(function(t){return NS(),hQ((xU(),I5t),t)}));Zlt(424,22,{3:1,36:1,22:1,424:1},pM);var A5t,E5t,P5t,D5t,O5t,L5t,R5t=h1(xPt,"RootSelection",424,Pjt,(function(){return TY(),X3(uw(R5t,1),P_t,424,0,[C5t,M5t])}),(function(t){return TY(),hQ((oq(),A5t),t)}));Zlt(313,22,{3:1,36:1,22:1,313:1},gM);var N5t,j5t,F5t,B5t,z5t,$5t,V5t,H5t,W5t,G5t,U5t,X5t,q5t,Y5t=h1(xPt,"SpanningTreeCostFunction",313,Pjt,(function(){return jst(),X3(uw(Y5t,1),P_t,313,0,[E5t,P5t,L5t,D5t,O5t])}),(function(t){return jst(),hQ((PQ(),N5t),t)}));Zlt(982,1,qkt,xh),Sxt.Qe=function(t){omt(t)};tz(xPt,"SporeCompactionOptions",982);Zlt(983,1,{},Qo),Sxt._e=function(){return new Ym},Sxt.af=function(t){};var K5t,Z5t,Q5t,J5t,t6t,e6t,n6t,r6t,i6t,a6t,o6t,s6t,u6t,c6t,l6t,h6t;tz(xPt,"SporeCompactionOptions/SporeCompactionFactory",983);Zlt(834,1,qkt,_h),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,SPt),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(vut(),X6t)),MFt),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,TPt),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),l6t),H6t),_6t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,kPt),OPt),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),u6t),H6t),k6t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,IPt),OPt),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),o6t),H6t),Y5t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,MPt),OPt),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),X6t),MFt),a9(F6t)))),nU(t,MPt,CPt,n6t),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,CPt),OPt),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),i6t),H6t),R5t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,APt),oAt),"Compaction Strategy"),"This option defines how the compaction is applied."),Z5t),H6t),k5t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,EPt),oAt),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(_P(),!1)),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,PPt),LPt),"Upper limit for iterations of overlap removal"),null),k8(64)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,DPt),LPt),"Whether to run a supplementary scanline overlap check."),null),!0),$6t),oFt),a9(F6t)))),Mgt((new Sh,t)),omt((new xh,t))};var f6t,d6t,p6t,g6t,b6t,v6t;tz(xPt,"SporeMetaDataProvider",834);Zlt(980,1,qkt,Sh),Sxt.Qe=function(t){Mgt(t)};tz(xPt,"SporeOverlapRemovalOptions",980);Zlt(981,1,{},as),Sxt._e=function(){return new Zx},Sxt.af=function(t){};var m6t;tz(xPt,"SporeOverlapRemovalOptions/SporeOverlapFactory",981);Zlt(523,22,{3:1,36:1,22:1,523:1,245:1,233:1},Xz),Sxt.Hf=function(){return X4(this)},Sxt.Uf=function(){return X4(this)};var y6t,w6t,x6t,_6t=h1(xPt,"StructureExtractionStrategy",523,Pjt,(function(){return jS(),X3(uw(_6t,1),P_t,523,0,[m6t])}),(function(t){return jS(),hQ((SU(),y6t),t)}));Zlt(423,22,{3:1,36:1,22:1,423:1,245:1,233:1},wM),Sxt.Hf=function(){return Q9(this)},Sxt.Uf=function(){return Q9(this)};var S6t,k6t=h1(xPt,"TreeConstructionStrategy",423,Pjt,(function(){return I3(),X3(uw(k6t,1),P_t,423,0,[x6t,w6t])}),(function(t){return I3(),hQ((iq(),S6t),t)}));Zlt(1412,1,uEt,is),Sxt.Vf=function(t){return RR(t,300),new wU},Sxt.nf=function(t,e){!function(t,e){var n;qat(e,"Delaunay triangulation",1),n=new Vb,cJ(t.i,new Ag(n)),Ay($D(Bot(t,(H2(),R$t)))),t.e?W0(t.e,Xwt(n)):t.e=Xwt(n),Sst(e)}(RR(t,300),e)};tz(NPt,"DelaunayTriangulationPhase",1412);Zlt(1413,1,h_t,Ag),Sxt.td=function(t){LR(this.a,RR(t,63).a)};tz(NPt,"DelaunayTriangulationPhase/lambda$0$Type",1413);Zlt(765,1,uEt,Um),Sxt.Vf=function(t){return RR(t,300),new wU},Sxt.nf=function(t,e){this.ig(RR(t,300),e)},Sxt.ig=function(t,e){var n;qat(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:RR(JN(t.i,0),63).a,t4(this,Ay($D(Bot(t,(H2(),R$t))))?Mmt(t.e,n,t.b):Mmt(t.e,n,t.b),t),Sst(e)};tz(jPt,"MinSTPhase",765);Zlt(1415,765,uEt,bm),Sxt.ig=function(t,e){var n,r;qat(e,"Maximum spanning tree construction",1),n=new Eg(t),r=t.d?t.d.c:RR(JN(t.i,0),63).c,t4(this,Ay($D(Bot(t,(H2(),R$t))))?Mmt(t.e,r,n):Mmt(t.e,r,n),t),Sst(e)};tz(jPt,"MaxSTPhase",1415);Zlt(1416,1,{},Eg),Sxt.Je=function(t){return function(t,e){return-t.b.Je(e)}(this.a,t)};tz(jPt,"MaxSTPhase/lambda$0$Type",1416);Zlt(1414,1,h_t,Pg),Sxt.td=function(t){!function(t,e){t$(t.a,e.a,e)}(this.a,RR(t,63))};tz(jPt,"MinSTPhase/lambda$0$Type",1414);Zlt(767,1,uEt,ts),Sxt.Vf=function(t){return RR(t,300),new wU},Sxt.nf=function(t,e){vot(this,RR(t,300),e)},Sxt.a=!1;tz(FPt,"GrowTreePhase",767);Zlt(768,1,h_t,uR),Sxt.td=function(t){!function(t,e,n,r){RR(n.b,63),RR(n.b,63),RR(r.b,63),RR(r.b,63),RR(r.b,63),cJ(r.a,new uR(t,e,r))}(this.a,this.b,this.c,RR(t,219))};tz(FPt,"GrowTreePhase/lambda$0$Type",768);Zlt(1417,1,uEt,es),Sxt.Vf=function(t){return RR(t,300),new wU},Sxt.nf=function(t,e){Wnt(this,RR(t,300),e)};tz(FPt,"ShrinkTreeCompactionPhase",1417);Zlt(766,1,h_t,cR),Sxt.td=function(t){!function(t,e,n,r){var i;RR(n.b,63),RR(n.b,63),RR(r.b,63),RR(r.b,63),WR(i=$O(LA(RR(n.b,63).c),RR(r.b,63).c),yct(RR(n.b,63),RR(r.b,63),i)),RR(r.b,63),RR(r.b,63),RR(r.b,63).c.a,i.a,RR(r.b,63).c.b,i.b,RR(r.b,63),cJ(r.a,new cR(t,e,r))}(this.a,this.b,this.c,RR(t,219))};tz(FPt,"ShrinkTreeCompactionPhase/lambda$0$Type",766);var I6t,M6t,C6t=NN(aEt,"IGraphElementVisitor");Zlt(839,1,{520:1},kG),Sxt.jg=function(t){var e;e=function(t,e){var n;return n=new Kt,e&&l3(n,RR(oz(t.a,tne),94)),zA(e,464)&&l3(n,RR(oz(t.a,ene),94)),zA(e,351)?(l3(n,RR(oz(t.a,cne),94)),n):(zA(e,93)&&l3(n,RR(oz(t.a,nne),94)),zA(e,238)?(l3(n,RR(oz(t.a,lne),94)),n):zA(e,199)?(l3(n,RR(oz(t.a,hne),94)),n):(zA(e,349)&&l3(n,RR(oz(t.a,rne),94)),n))}(this,t),l3(e,RR(oz(this.b,t),94)),function(t,e,n){var r,i;if(0==t.c.c.length)e.Ve(n);else for(i=(n.q?n.q:(mV(),mV(),KFt)).tc().Ic();i.Ob();)r=RR(i.Pb(),43),!Bx(_$(new lj(null,new ZW(t.c,16)),new gd(new XM(e,r)))).sd((xS(),BBt))&&e.Ze(RR(r.ad(),146),r.bd())}(this,t,e)};tz(OIt,"LayoutConfigurator",839);var T6t=NN(OIt,"LayoutConfigurator/IPropertyHolderOptionFilter");Zlt(910,1,{810:1},ns),Sxt.lg=function(t,e){return h4(),!t.Ye(e)};tz(OIt,"LayoutConfigurator/lambda$0$Type",910);Zlt(911,1,{1905:1},Jo),Sxt.kg=function(t,e){return h4(),!t.Ye(e)};tz(OIt,"LayoutConfigurator/lambda$1$Type",911);Zlt(912,1,{1905:1},rs),Sxt.kg=function(t,e){return i_(t,e)};tz(OIt,"LayoutConfigurator/lambda$2$Type",912);Zlt(913,1,N_t,XM),Sxt.Mb=function(t){return function(t,e,n){return h4(),n.kg(t,RR(e.ad(),146))}(this.a,this.b,RR(t,1905))};tz(OIt,"LayoutConfigurator/lambda$3$Type",913);Zlt(837,1,{},os);tz(OIt,"RecursiveGraphLayoutEngine",837);Zlt(296,59,$_t,Iv,Xy);tz(OIt,"UnsupportedConfigurationException",296);Zlt(497,59,$_t,qy);tz(OIt,"UnsupportedGraphException",497);Zlt(737,1,{});tz(aEt,"AbstractRandomListAccessor",737);Zlt(491,737,{},Bft),Sxt.mg=function(){return null},Sxt.d=!0,Sxt.e=!0,Sxt.f=0;tz(zPt,"AlgorithmAssembler",491);Zlt(1209,1,N_t,ss),Sxt.Mb=function(t){return!!RR(t,126)};tz(zPt,"AlgorithmAssembler/lambda$0$Type",1209);Zlt(1210,1,{},Dg),Sxt.Kb=function(t){return function(t,e){return e.Vf(t)}(this.a,RR(t,126))};tz(zPt,"AlgorithmAssembler/lambda$1$Type",1210);Zlt(1211,1,N_t,us),Sxt.Mb=function(t){return!!RR(t,85)};tz(zPt,"AlgorithmAssembler/lambda$2$Type",1211);Zlt(1212,1,h_t,Og),Sxt.td=function(t){P2(this.a,RR(t,85))};tz(zPt,"AlgorithmAssembler/lambda$3$Type",1212);Zlt(1213,1,h_t,qM),Sxt.td=function(t){!function(t,e,n){LR(e,J9(t,n))}(this.a,this.b,RR(t,233))};tz(zPt,"AlgorithmAssembler/lambda$4$Type",1213);Zlt(1326,1,Skt,cs),Sxt.ue=function(t,e){return function(t,e){return g5(t),g5(e),Ly(RR(t,22),RR(e,22))}(RR(t,233),RR(e,233))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(zPt,"EnumBasedFactoryComparator",1326);Zlt(85,737,{85:1},wU),Sxt.mg=function(){return new Pv},Sxt.a=0;var A6t,E6t,P6t;tz(zPt,"LayoutProcessorConfiguration",85);Zlt(993,1,{520:1},kh),Sxt.jg=function(t){S2(E6t,new Lg(t))};tz(Hkt,"DeprecatedLayoutOptionReplacer",993);Zlt(994,1,h_t,ls),Sxt.td=function(t){!function(t){YK(),RR(t.Xe((fxt(),j9t)),174).Dc((aot(),Cte)),t.Ze(N9t,null)}(RR(t,160))};tz(Hkt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",994);Zlt(995,1,h_t,hs),Sxt.td=function(t){!function(t){YK(),RR(t.Xe((fxt(),b9t)),174).Fc((Vgt(),yee))&&(RR(t.Xe(j9t),174).Dc((aot(),Ate)),RR(t.Xe(b9t),174).Kc(yee))}(RR(t,160))};tz(Hkt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",995);Zlt(996,1,{},Lg),Sxt.Od=function(t,e){!function(t,e,n){YK(),t.Ye(e)&&n.td(t)}(this.a,RR(t,146),RR(e,37))};tz(Hkt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",996);Zlt(149,1,{673:1,149:1},iot),Sxt.Fb=function(t){return Bq(this,t)},Sxt.ng=function(){return this.b},Sxt.og=function(){return this.c},Sxt.ne=function(){return this.e},Sxt.Hb=function(){return snt(this.c)},Sxt.Ib=function(){return"Layout Algorithm: "+this.c};var D6t=tz(Hkt,"LayoutAlgorithmData",149);Zlt(262,1,{},fs);tz(Hkt,"LayoutAlgorithmData/Builder",262);Zlt(997,1,{520:1},ds),Sxt.jg=function(t){zA(t,238)&&!Ay($D(t.Xe((fxt(),m9t))))&&function(t){var e,n;if(!L2(e=HD(_ht(t,(fxt(),A8t))),t)&&!fK(t,G9t)&&(0!=(!t.a&&(t.a=new FF(lne,t,10,11)),t.a).i||Ay($D(_ht(t,J8t))))){if(null!=e&&0!=Kot(e).length)throw zyt(t,n=UC(UC(new YE("Layout algorithm '"),e),"' not found for ")),Jb(new Xy(n.a));if(!L2(iCt,t))throw zyt(t,n=UC(UC(new YE("Unable to load default layout algorithm "),iCt)," for unconfigured node ")),Jb(new Xy(n.a))}}(RR(t,34))};tz(Hkt,"LayoutAlgorithmResolver",997);Zlt(227,1,{673:1,227:1},FW),Sxt.Fb=function(t){return!!zA(t,227)&&hL(this.b,RR(t,227).b)},Sxt.ng=function(){return this.a},Sxt.og=function(){return this.b},Sxt.ne=function(){return this.d},Sxt.Hb=function(){return snt(this.b)},Sxt.Ib=function(){return"Layout Type: "+this.b};tz(Hkt,"LayoutCategoryData",227);Zlt(340,1,{},ps);var O6t;tz(Hkt,"LayoutCategoryData/Builder",340);Zlt(846,1,{},Gpt);tz(Hkt,"LayoutMetaDataService",846);Zlt(847,1,{},vz);tz(Hkt,"LayoutMetaDataService/Registry",847);Zlt(472,1,{472:1},gs);tz(Hkt,"LayoutMetaDataService/Registry/Triple",472);Zlt(848,1,$Pt,bs),Sxt.pg=function(){return new fx};tz(Hkt,"LayoutMetaDataService/lambda$0$Type",848);Zlt(849,1,VPt,vs),Sxt.qg=function(t){return LA(RR(t,8))};tz(Hkt,"LayoutMetaDataService/lambda$1$Type",849);Zlt(858,1,$Pt,ms),Sxt.pg=function(){return new Vb};tz(Hkt,"LayoutMetaDataService/lambda$10$Type",858);Zlt(859,1,VPt,ys),Sxt.qg=function(t){return new jL(RR(t,12))};tz(Hkt,"LayoutMetaDataService/lambda$11$Type",859);Zlt(860,1,$Pt,ws),Sxt.pg=function(){return new sS};tz(Hkt,"LayoutMetaDataService/lambda$12$Type",860);Zlt(861,1,VPt,xs),Sxt.qg=function(t){return jR(RR(t,68))};tz(Hkt,"LayoutMetaDataService/lambda$13$Type",861);Zlt(862,1,$Pt,_s),Sxt.pg=function(){return new Pv};tz(Hkt,"LayoutMetaDataService/lambda$14$Type",862);Zlt(863,1,VPt,Ss),Sxt.qg=function(t){return MV(RR(t,70))};tz(Hkt,"LayoutMetaDataService/lambda$15$Type",863);Zlt(864,1,$Pt,ks),Sxt.pg=function(){return new XT};tz(Hkt,"LayoutMetaDataService/lambda$16$Type",864);Zlt(865,1,VPt,Is),Sxt.qg=function(t){return EX(RR(t,70))};tz(Hkt,"LayoutMetaDataService/lambda$17$Type",865);Zlt(866,1,$Pt,Ms),Sxt.pg=function(){return new Bv};tz(Hkt,"LayoutMetaDataService/lambda$18$Type",866);Zlt(867,1,VPt,Cs),Sxt.qg=function(t){return FR(RR(t,206))};tz(Hkt,"LayoutMetaDataService/lambda$19$Type",867);Zlt(850,1,$Pt,Ts),Sxt.pg=function(){return new vm};tz(Hkt,"LayoutMetaDataService/lambda$2$Type",850);Zlt(851,1,VPt,As),Sxt.qg=function(t){return new ux(RR(t,74))};tz(Hkt,"LayoutMetaDataService/lambda$3$Type",851);Zlt(852,1,$Pt,Es),Sxt.pg=function(){return new om};tz(Hkt,"LayoutMetaDataService/lambda$4$Type",852);Zlt(853,1,VPt,Ps),Sxt.qg=function(t){return new eR(RR(t,141))};tz(Hkt,"LayoutMetaDataService/lambda$5$Type",853);Zlt(854,1,$Pt,Ds),Sxt.pg=function(){return new sm};tz(Hkt,"LayoutMetaDataService/lambda$6$Type",854);Zlt(855,1,VPt,Os),Sxt.qg=function(t){return new nR(RR(t,115))};tz(Hkt,"LayoutMetaDataService/lambda$7$Type",855);Zlt(856,1,$Pt,Ls),Sxt.pg=function(){return new qs};tz(Hkt,"LayoutMetaDataService/lambda$8$Type",856);Zlt(857,1,VPt,Rs),Sxt.qg=function(t){return new KZ(RR(t,370))};tz(Hkt,"LayoutMetaDataService/lambda$9$Type",857);var L6t=NN(CIt,"IProperty");Zlt(23,1,{36:1,673:1,23:1,146:1},lut),Sxt.wd=function(t){return function(t,e){return Zq(t.f,e.og())}(this,RR(t,146))},Sxt.Fb=function(t){return zA(t,23)?hL(this.f,RR(t,23).f):zA(t,146)&&hL(this.f,RR(t,146).og())},Sxt.rg=function(){var t;if(zA(this.b,4)){if(null==(t=htt(this.b)))throw Jb(new jy(XPt+this.f+"'. "+HPt+(FD(Rne),Rne.k)+WPt));return t}return this.b},Sxt.ng=function(){return this.d},Sxt.og=function(){return this.f},Sxt.ne=function(){return this.i},Sxt.Hb=function(){return snt(this.f)},Sxt.Ib=function(){return"Layout Option: "+this.f};tz(Hkt,"LayoutOptionData",23);Zlt(25,1,{},Ns);var R6t,N6t,j6t,F6t,B6t;tz(Hkt,"LayoutOptionData/Builder",25);Zlt(175,22,{3:1,36:1,22:1,175:1},xM);var z6t,$6t,V6t,H6t,W6t,G6t,U6t,X6t,q6t,Y6t=h1(Hkt,"LayoutOptionData/Target",175,Pjt,(function(){return pet(),X3(uw(Y6t,1),P_t,175,0,[F6t,j6t,R6t,B6t,N6t])}),(function(t){return pet(),hQ((EQ(),z6t),t)}));Zlt(275,22,{3:1,36:1,22:1,275:1},_M);var K6t,Z6t,Q6t,J6t=h1(Hkt,"LayoutOptionData/Type",275,Pjt,(function(){return vut(),X3(uw(J6t,1),P_t,275,0,[q6t,$6t,G6t,X6t,V6t,H6t,W6t,U6t])}),(function(t){return vut(),hQ((X2(),K6t),t)}));Zlt(109,1,{109:1},YT,j$,WV),Sxt.Fb=function(t){var e;return!(null==t||!zA(t,109))&&(e=RR(t,109),l$(this.c,e.c)&&l$(this.d,e.d)&&l$(this.b,e.b)&&l$(this.a,e.a))},Sxt.Hb=function(){return J5(X3(uw(gjt,1),zxt,1,5,[this.c,this.d,this.b,this.a]))},Sxt.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},Sxt.a=0,Sxt.b=0,Sxt.c=0,Sxt.d=0;tz(eCt,"ElkRectangle",109);Zlt(8,1,{3:1,4:1,8:1,409:1},fx,BW,YM,uA),Sxt.Fb=function(t){return a0(this,t)},Sxt.Hb=function(){return wT(this.a)+(t=wT(this.b),A1(),(e=gFt)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28);var t,e},Sxt.Gf=function(t){var e,n,r;for(n=0;n<t.length&&S6((AW(n,t.length),t.charCodeAt(n)),QMt);)++n;for(e=t.length;e>0&&S6((AW(e-1,t.length),t.charCodeAt(e-1)),JMt);)--e;if(n>=e)throw Jb(new Ny("The given string does not contain any numbers."));if(2!=(r=xgt(t.substr(n,e-n),",|;|\r|\n")).length)throw Jb(new Ny("Exactly two numbers are expected, "+r.length+" were found."));try{this.a=gst(Kot(r[0])),this.b=gst(Kot(r[1]))}catch(t){throw zA(t=m3(t),127)?Jb(new Ny(tCt+t)):Jb(t)}},Sxt.Ib=function(){return"("+this.a+","+this.b+")"},Sxt.a=0,Sxt.b=0;var t8t=tz(eCt,"KVector",8);Zlt(74,68,{3:1,4:1,19:1,28:1,51:1,15:1,68:1,14:1,74:1,409:1},vm,ux,cD),Sxt.Nc=function(){return function(t){var e,n,r;for(e=0,r=hK(t8t,u_t,8,t.b,0,1),n=het(t,0);n.b!=n.d.c;)r[e++]=RR(zU(n),8);return r}(this)},Sxt.Gf=function(t){var e,n,r,i,a;n=xgt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),sV(this);try{for(e=0,i=0,r=0,a=0;e<n.length;)null!=n[e]&&Kot(n[e]).length>0&&(i%2==0?r=gst(n[e]):a=gst(n[e]),i>0&&i%2!=0&&vN(this,new YM(r,a)),++i),++e}catch(t){throw zA(t=m3(t),127)?Jb(new Ny("The given string does not match the expected format for vectors."+t)):Jb(t)}},Sxt.Ib=function(){var t,e,n;for(t=new YE("("),e=het(this,0);e.b!=e.d.c;)UC(t,(n=RR(zU(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var e8t,n8t,r8t,i8t,a8t,o8t,s8t=tz(eCt,"KVectorChain",74);Zlt(247,22,{3:1,36:1,22:1,247:1},SM);var u8t,c8t,l8t,h8t,f8t,d8t,p8t,g8t,b8t,v8t,m8t,y8t,w8t,x8t=h1(YPt,"Alignment",247,Pjt,(function(){return ant(),X3(uw(x8t,1),P_t,247,0,[e8t,i8t,a8t,o8t,n8t,r8t])}),(function(t){return ant(),hQ((jJ(),u8t),t)}));Zlt(943,1,qkt,vh),Sxt.Qe=function(t){dbt(t)};tz(YPt,"BoxLayouterOptions",943);Zlt(944,1,{},js),Sxt._e=function(){return new zs},Sxt.af=function(t){};var _8t,S8t,k8t,I8t,M8t,C8t;tz(YPt,"BoxLayouterOptions/BoxFactory",944);Zlt(290,22,{3:1,36:1,22:1,290:1},kM);var T8t,A8t,E8t,P8t,D8t,O8t,L8t,R8t,N8t,j8t,F8t,B8t,z8t,$8t,V8t,H8t,W8t,G8t,U8t,X8t,q8t,Y8t,K8t,Z8t,Q8t,J8t,t9t,e9t,n9t,r9t,i9t,a9t,o9t,s9t,u9t,c9t,l9t,h9t,f9t,d9t,p9t,g9t,b9t,v9t,m9t,y9t,w9t,x9t,_9t,S9t,k9t,I9t,M9t,C9t,T9t,A9t,E9t,P9t,D9t,O9t,L9t,R9t,N9t,j9t,F9t,B9t,z9t,$9t,V9t,H9t,W9t,G9t,U9t,X9t,q9t,Y9t,K9t,Z9t,Q9t,J9t,t7t,e7t,n7t,r7t,i7t,a7t,o7t,s7t,u7t,c7t=h1(YPt,"ContentAlignment",290,Pjt,(function(){return bat(),X3(uw(c7t,1),P_t,290,0,[C8t,M8t,I8t,S8t,_8t,k8t])}),(function(t){return bat(),hQ((FJ(),T8t),t)}));Zlt(671,1,qkt,Ih),Sxt.Qe=function(t){T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,JPt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(vut(),X6t)),MFt),a9((pet(),F6t))))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,tDt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),U6t),D6t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,AAt),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),P8t),H6t),x8t),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,XIt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,eDt),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),U6t),s8t),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,GAt),""),"Content Alignment"),"Specifies how the content of compound nodes is to be aligned, e.g. top-left."),F8t),W6t),c7t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,TAt),""),"Debug Mode"),"Whether additional debug information shall be generated."),(_P(),!1)),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,LAt),""),_It),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),$8t),H6t),y7t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,rAt),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),U8t),H6t),O7t),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,bPt),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,QTt),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),Z8t),H6t),Z7t),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[j6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,qIt),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),w9t),U6t),tWt),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[j6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,wMt),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,iEt),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,xMt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),L9t),H6t),Ete),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,eEt),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),U6t),t8t),Dj(j6t,X3(uw(Y6t,1),P_t,175,0,[B6t,N6t]))))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,gMt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),G6t),bFt),Dj(j6t,X3(uw(Y6t,1),P_t,175,0,[R6t]))))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,mMt),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,yMt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,XAt),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),i9t),U6t),s8t),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,KAt),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,ZAt),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,nDt),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),U6t),coe),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[N6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,nEt),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),o9t),U6t),WHt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,MAt),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),$6t),oFt),Dj(j6t,X3(uw(Y6t,1),P_t,175,0,[R6t,B6t,N6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,rDt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),V6t),fFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,iDt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,aDt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),k8(100)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,oDt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,sDt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),k8(4e3)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,uDt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),k8(400)),G6t),bFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,cDt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,lDt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,hDt),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,fDt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,QPt),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),R8t),H6t),Aee),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,gAt),iAt),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,bAt),iAt),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,GIt),iAt),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,vAt),iAt),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,vMt),iAt),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,mAt),iAt),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,yAt),iAt),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,xAt),iAt),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,wAt),iAt),"Label Port Spacing"),"Spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,bMt),iAt),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,_At),iAt),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),V6t),fFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,SAt),iAt),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),V6t),fFt),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[j6t]))))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,kAt),iAt),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),U6t),Eee),Dj(j6t,X3(uw(Y6t,1),P_t,175,0,[R6t,B6t,N6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,rEt),iAt),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),s7t),U6t),WHt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,tEt),vDt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),G6t),bFt),Dj(F6t,X3(uw(Y6t,1),P_t,175,0,[j6t]))))),nU(t,tEt,JAt,k9t),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,JAt),vDt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),_9t),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,NAt),mDt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),u9t),U6t),tWt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,RAt),mDt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),l9t),W6t),gte),Dj(j6t,X3(uw(Y6t,1),P_t,175,0,[N6t]))))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,zAt),yDt),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),M9t),H6t),Ste),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,$At),yDt),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),H6t),Ste),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,VAt),yDt),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),H6t),Ste),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,HAt),yDt),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),H6t),Ste),a9(j6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,WAt),yDt),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),H6t),Ste),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,DAt),wDt),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),f9t),W6t),xee),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,OAt),wDt),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),v9t),W6t),See),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,UAt),wDt),"Node Size Minimum"),"The minimal size to which a node can be reduced."),g9t),U6t),t8t),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,dDt),wDt),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),$6t),oFt),a9(F6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,qAt),pAt),"Edge Label Placement"),"Gives a hint on where to put edge labels."),W8t),H6t),I7t),a9(N6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,_Mt),pAt),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),$6t),oFt),a9(N6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,pDt),"font"),"Font Name"),"Font name used for a label."),X6t),MFt),a9(N6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,gDt),"font"),"Font Size"),"Font size used for a label."),G6t),bFt),a9(N6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,QAt),xDt),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),U6t),t8t),a9(B6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,YAt),xDt),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),G6t),bFt),a9(B6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,CAt),xDt),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),$9t),H6t),oee),a9(B6t)))),T9(t,new lut(ix(rx(ax(Jw(nx(tx(ex(new Ns,IAt),xDt),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),V6t),fFt),a9(B6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,jAt),_Dt),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),F9t),W6t),Jte),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,FAt),_Dt),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,BAt),_Dt),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,EAt),SDt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),$6t),oFt),a9(j6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,PAt),SDt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),$6t),oFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,UIt),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),V6t),fFt),a9(R6t)))),T9(t,new lut(ix(rx(ax(Qw(Jw(nx(tx(ex(new Ns,bDt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),q8t),H6t),V7t),a9(R6t)))),GS(t,new FW(Gw(Xw(Zw(new ps,iCt),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),GS(t,new FW(Gw(Xw(Zw(new ps,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),GS(t,new FW(Gw(Xw(Zw(new ps,pMt),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),GS(t,new FW(Gw(Xw(Zw(new ps,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),GS(t,new FW(Gw(Xw(Zw(new ps,NEt),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),GS(t,new FW(Gw(Xw(Zw(new ps,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),GS(t,new FW(Gw(Xw(Zw(new ps,JEt),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),bgt((new mh,t)),dbt((new vh,t)),dpt((new Mh,t))};var l7t,h7t,f7t,d7t,p7t;tz(YPt,"CoreOptions",671);Zlt(108,22,{3:1,36:1,22:1,108:1},IM);var g7t,b7t,v7t,m7t,y7t=h1(YPt,_It,108,Pjt,(function(){return E8(),X3(uw(y7t,1),P_t,108,0,[d7t,f7t,h7t,l7t,p7t])}),(function(t){return E8(),hQ((LQ(),g7t),t)}));Zlt(271,22,{3:1,36:1,22:1,271:1},MM);var w7t,x7t,_7t,S7t,k7t,I7t=h1(YPt,"EdgeLabelPlacement",271,Pjt,(function(){return VJ(),X3(uw(I7t,1),P_t,271,0,[b7t,v7t,m7t])}),(function(t){return VJ(),hQ((aK(),w7t),t)}));Zlt(216,22,{3:1,36:1,22:1,216:1},CM);var M7t,C7t,T7t,A7t,E7t,P7t,D7t,O7t=h1(YPt,"EdgeRouting",216,Pjt,(function(){return V9(),X3(uw(O7t,1),P_t,216,0,[k7t,_7t,x7t,S7t])}),(function(t){return V9(),hQ((SZ(),M7t),t)}));Zlt(310,22,{3:1,36:1,22:1,310:1},TM);var L7t,R7t,N7t,j7t,F7t,B7t,z7t,$7t,V7t=h1(YPt,"EdgeType",310,Pjt,(function(){return wot(),X3(uw(V7t,1),P_t,310,0,[P7t,A7t,D7t,C7t,E7t,T7t])}),(function(t){return wot(),hQ((RJ(),L7t),t)}));Zlt(941,1,qkt,mh),Sxt.Qe=function(t){bgt(t)};tz(YPt,"FixedLayouterOptions",941);Zlt(942,1,{},Fs),Sxt._e=function(){return new Us},Sxt.af=function(t){};var H7t,W7t,G7t;tz(YPt,"FixedLayouterOptions/FixedFactory",942);Zlt(332,22,{3:1,36:1,22:1,332:1},AM);var U7t,X7t,q7t,Y7t,K7t,Z7t=h1(YPt,"HierarchyHandling",332,Pjt,(function(){return P8(),X3(uw(Z7t,1),P_t,332,0,[W7t,H7t,G7t])}),(function(t){return P8(),hQ((oK(),U7t),t)}));Zlt(284,22,{3:1,36:1,22:1,284:1},EM);var Q7t,J7t,tte,ete,nte,rte,ite,ate,ote,ste,ute=h1(YPt,"LabelSide",284,Pjt,(function(){return Krt(),X3(uw(ute,1),P_t,284,0,[K7t,X7t,q7t,Y7t])}),(function(t){return Krt(),hQ((kZ(),Q7t),t)}));Zlt(92,22,{3:1,36:1,22:1,92:1},PM);var cte,lte,hte,fte,dte,pte,gte=h1(YPt,"NodeLabelPlacement",92,Pjt,(function(){return kht(),X3(uw(gte,1),P_t,92,0,[tte,J7t,nte,ste,ote,ate,rte,ite,ete])}),(function(t){return kht(),hQ((M3(),cte),t)}));Zlt(248,22,{3:1,36:1,22:1,248:1},DM);var bte,vte,mte,yte,wte,xte,_te,Ste=h1(YPt,"PortAlignment",248,Pjt,(function(){return get(),X3(uw(Ste,1),P_t,248,0,[fte,pte,lte,hte,dte])}),(function(t){return get(),hQ((DQ(),bte),t)}));Zlt(100,22,{3:1,36:1,22:1,100:1},OM);var kte,Ite,Mte,Cte,Tte,Ate,Ete=h1(YPt,"PortConstraints",100,Pjt,(function(){return Fat(),X3(uw(Ete,1),P_t,100,0,[_te,xte,wte,vte,yte,mte])}),(function(t){return Fat(),hQ((BJ(),kte),t)}));Zlt(291,22,{3:1,36:1,22:1,291:1},LM);var Pte,Dte,Ote,Lte,Rte,Nte,jte,Fte,Bte,zte,$te,Vte,Hte,Wte,Gte,Ute,Xte,qte,Yte,Kte,Zte,Qte,Jte=h1(YPt,"PortLabelPlacement",291,Pjt,(function(){return aot(),X3(uw(Jte,1),P_t,291,0,[Tte,Mte,Cte,Ite,Ate])}),(function(t){return aot(),hQ((OQ(),Pte),t)}));Zlt(61,22,{3:1,36:1,22:1,61:1},RM);var tee,eee,nee,ree,iee,aee,oee=h1(YPt,"PortSide",61,Pjt,(function(){return dwt(),X3(uw(oee,1),VMt,61,0,[Zte,Ote,Dte,Kte,Qte])}),(function(t){return dwt(),hQ((IQ(),tee),t)}));Zlt(945,1,qkt,Mh),Sxt.Qe=function(t){dpt(t)};tz(YPt,"RandomLayouterOptions",945);Zlt(946,1,{},Bs),Sxt._e=function(){return new Js},Sxt.af=function(t){};var see,uee,cee,lee;tz(YPt,"RandomLayouterOptions/RandomFactory",946);Zlt(371,22,{3:1,36:1,22:1,371:1},NM);var hee,fee,dee,pee,gee,bee,vee,mee,yee,wee,xee=h1(YPt,"SizeConstraint",371,Pjt,(function(){return ott(),X3(uw(xee,1),P_t,371,0,[cee,lee,uee,see])}),(function(t){return ott(),hQ((IZ(),hee),t)}));Zlt(258,22,{3:1,36:1,22:1,258:1},jM);var _ee,See=h1(YPt,"SizeOptions",258,Pjt,(function(){return Vgt(),X3(uw(See,1),P_t,258,0,[pee,bee,dee,vee,mee,wee,yee,gee,fee])}),(function(t){return Vgt(),hQ((C3(),_ee),t)}));Zlt(367,1,{1921:1},Xm),Sxt.b=!1,Sxt.c=0,Sxt.d=-1,Sxt.e=null,Sxt.f=null,Sxt.g=-1,Sxt.j=!1,Sxt.k=!1,Sxt.n=!1,Sxt.o=0,Sxt.q=0,Sxt.r=0;tz(aEt,"BasicProgressMonitor",367);Zlt(936,207,DIt,zs),Sxt.$e=function(t,e){var n,r,i,a,o,s,u,c,l;if(qat(e,"Box layout",2),i=Oy(VD(_ht(t,(Got(),w8t)))),a=RR(_ht(t,v8t),115),n=Ay($D(_ht(t,f8t))),r=Ay($D(_ht(t,d8t))),0===RR(_ht(t,l8t),309).g)s=new jL((!t.a&&(t.a=new FF(lne,t,10,11)),t.a)),mV(),kA(s,new Rg(r)),o=s,u=Yst(t),(null==(c=VD(_ht(t,c8t)))||(wz(c),c<=0))&&(c=1.3),wwt(t,(l=Swt(o,i,a,u.a,u.b,n,(wz(c),c))).a,l.b,!1,!0);else Bmt(t,i,a,n);Sst(e)};tz(aEt,"BoxLayoutProvider",936);Zlt(937,1,Skt,Rg),Sxt.ue=function(t,e){return function(t,e,n){var r,i,a;if(!(i=RR(_ht(e,(Got(),y8t)),20))&&(i=k8(0)),!(a=RR(_ht(n,y8t),20))&&(a=k8(0)),i.a>a.a)return-1;if(i.a<a.a)return 1;if(t.a){if(0!=(r=j8(e.j,n.j)))return r;if(0!=(r=j8(e.i,n.i)))return r}return j8(e.g*e.f,n.g*n.f)}(this,RR(t,34),RR(e,34))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)},Sxt.a=!1;tz(aEt,"BoxLayoutProvider/1",937);Zlt(157,1,{157:1},SJ,uD),Sxt.Ib=function(){return this.c?Jpt(this.c):Uot(this.b)};var kee,Iee,Mee,Cee;tz(aEt,"BoxLayoutProvider/Group",157);Zlt(309,22,{3:1,36:1,22:1,309:1},FM);var Tee,Aee=h1(aEt,"BoxLayoutProvider/PackingMode",309,Pjt,(function(){return E7(),X3(uw(Aee,1),P_t,309,0,[Cee,kee,Mee,Iee])}),(function(t){return E7(),hQ((TZ(),Tee),t)}));Zlt(938,1,Skt,$s),Sxt.ue=function(t,e){return function(t,e){return-j8(sj(t)*oj(t),sj(e)*oj(e))}(RR(t,157),RR(e,157))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(aEt,"BoxLayoutProvider/lambda$0$Type",938);Zlt(939,1,Skt,Vs),Sxt.ue=function(t,e){return function(t,e){return j8(sj(t)*oj(t),sj(e)*oj(e))}(RR(t,157),RR(e,157))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(aEt,"BoxLayoutProvider/lambda$1$Type",939);Zlt(940,1,Skt,Hs),Sxt.ue=function(t,e){return function(t,e){return j8(sj(t)*oj(t),sj(e)*oj(e))}(RR(t,157),RR(e,157))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(aEt,"BoxLayoutProvider/lambda$2$Type",940);Zlt(1336,1,{810:1},Ws),Sxt.lg=function(t,e){return DS(),!zA(e,160)||i_((h4(),RR(t,160)),e)};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1336);Zlt(1337,1,h_t,Ng),Sxt.td=function(t){!function(t,e){var n;n=null!=bet((U9(),qJt))&&null!=e.rg()?Dy(VD(e.rg()))/Dy(VD(bet(qJt))):1,t$(t.b,e,n)}(this.a,RR(t,146))};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1337);Zlt(1338,1,h_t,Gs),Sxt.td=function(t){RR(t,94),DS()};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1338);Zlt(1342,1,h_t,jg),Sxt.td=function(t){!function(t,e){uS(_$(new lj(null,new ZW(new Ff(t.b),1)),new BM(t,e)),new $M(t,e))}(this.a,RR(t,94))};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1342);Zlt(1340,1,N_t,BM),Sxt.Mb=function(t){return function(t,e,n){return!Bx(_$(new lj(null,new ZW(t.c,16)),new gd(new zM(e,n)))).sd((xS(),BBt))}(this.a,this.b,RR(t,146))};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1340);Zlt(1339,1,N_t,zM),Sxt.Mb=function(t){return function(t,e,n){return DS(),n.lg(t,e)}(this.a,this.b,RR(t,810))};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1339);Zlt(1341,1,h_t,$M),Sxt.td=function(t){!function(t,e,n){e.Ze(n,Dy(VD(oz(t.b,n)))*t.a)}(this.a,this.b,RR(t,146))};tz(aEt,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1341);Zlt(914,1,{},Xs),Sxt.Kb=function(t){return BT(t)},Sxt.Fb=function(t){return this===t};tz(aEt,"ElkUtil/lambda$0$Type",914);Zlt(915,1,h_t,VM),Sxt.td=function(t){!function(t,e,n){var r;uS(new lj(null,(!n.a&&(n.a=new FF(ine,n,6,6)),new ZW(n.a,16))),new HM(t,e)),uS(new lj(null,(!n.n&&(n.n=new FF(cne,n,1,7)),new ZW(n.n,16))),new WM(t,e)),(r=RR(_ht(n,(fxt(),r9t)),74))&&q0(r,t,e)}(this.a,this.b,RR(t,80))},Sxt.a=0,Sxt.b=0;tz(aEt,"ElkUtil/lambda$1$Type",915);Zlt(916,1,h_t,HM),Sxt.td=function(t){by(this.a,this.b,RR(t,201))},Sxt.a=0,Sxt.b=0;tz(aEt,"ElkUtil/lambda$2$Type",916);Zlt(917,1,h_t,WM),Sxt.td=function(t){!function(t,e,n){VT(n,n.i+t,n.j+e)}(this.a,this.b,RR(t,137))},Sxt.a=0,Sxt.b=0;tz(aEt,"ElkUtil/lambda$3$Type",917);Zlt(918,1,h_t,Fg),Sxt.td=function(t){!function(t,e){LR(t,new YM(e.a,e.b))}(this.a,RR(t,463))};tz(aEt,"ElkUtil/lambda$4$Type",918);Zlt(338,1,{36:1,338:1},zb),Sxt.wd=function(t){return function(t,e){return t.a<LL(e)?-1:1}(this,RR(t,236))},Sxt.Fb=function(t){var e;return!!zA(t,338)&&(e=RR(t,338),this.a==e.a)},Sxt.Hb=function(){return CH(this.a)},Sxt.Ib=function(){return this.a+" (exclusive)"},Sxt.a=0;tz(aEt,"ExclusiveBounds/ExclusiveLowerBound",338);Zlt(1111,207,DIt,Us),Sxt.$e=function(t,e){var n,i,a,o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k;for(qat(e,"Fixed Layout",1),o=RR(_ht(t,(fxt(),G8t)),216),f=0,d=0,m=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));m.e!=m.i.gc();){for(b=RR(Htt(m),34),(k=RR(_ht(b,($5(),$7t)),8))&&(VT(b,k.a,k.b),RR(_ht(b,N7t),174).Fc((ott(),see))&&(g=RR(_ht(b,F7t),8)).a>0&&g.b>0&&wwt(b,g.a,g.b,!0,!0)),f=r.Math.max(f,b.i+b.g),d=r.Math.max(d,b.j+b.f),l=new SE((!b.n&&(b.n=new FF(cne,b,1,7)),b.n));l.e!=l.i.gc();)u=RR(Htt(l),137),(k=RR(_ht(u,$7t),8))&&VT(u,k.a,k.b),f=r.Math.max(f,b.i+u.i+u.g),d=r.Math.max(d,b.j+u.j+u.f);for(x=new SE((!b.c&&(b.c=new FF(hne,b,9,9)),b.c));x.e!=x.i.gc();)for(w=RR(Htt(x),122),(k=RR(_ht(w,$7t),8))&&VT(w,k.a,k.b),_=b.i+w.i,S=b.j+w.j,f=r.Math.max(f,_+w.g),d=r.Math.max(d,S+w.f),c=new SE((!w.n&&(w.n=new FF(cne,w,1,7)),w.n));c.e!=c.i.gc();)u=RR(Htt(c),137),(k=RR(_ht(u,$7t),8))&&VT(u,k.a,k.b),f=r.Math.max(f,_+u.i+u.g),d=r.Math.max(d,S+u.j+u.f);for(a=new xF(zE(uft(b).a.Ic(),new p));Qlt(a);)h=xwt(n=RR(dq(a),80)),f=r.Math.max(f,h.a),d=r.Math.max(d,h.b);for(i=new xF(zE(sft(b).a.Ic(),new p));Qlt(i);)rW(Dot(n=RR(dq(i),80)))!=t&&(h=xwt(n),f=r.Math.max(f,h.a),d=r.Math.max(d,h.b))}if(o==(V9(),x7t))for(v=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));v.e!=v.i.gc();)for(i=new xF(zE(uft(b=RR(Htt(v),34)).a.Ic(),new p));Qlt(i);)0==(s=kbt(n=RR(dq(i),80))).b?Bet(n,r9t,null):Bet(n,r9t,s);Ay($D(_ht(t,($5(),j7t))))||wwt(t,f+(y=RR(_ht(t,B7t),115)).b+y.c,d+y.d+y.a,!0,!0),Sst(e)};tz(aEt,"FixedLayoutProvider",1111);Zlt(370,134,{3:1,409:1,370:1,94:1,134:1},qs,KZ),Sxt.Gf=function(t){var e,n,r,i,a,o,s;if(t)try{for(o=xgt(t,";,;"),i=0,a=(r=o).length;i<a;++i){if(e=xgt(r[i],"\\:"),!(n=lyt(I1(),e[0])))throw Jb(new Ny("Invalid option id: "+e[0]));if(null==(s=Zmt(n,e[1])))throw Jb(new Ny("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new Hb),sY(this.q,n)):(!this.q&&(this.q=new Hb),t$(this.q,n,s))}}catch(t){throw zA(t=m3(t),102)?Jb(new c6(t)):Jb(t)}},Sxt.Ib=function(){return HD(NX(S$((this.q?this.q:(mV(),mV(),KFt)).tc().Mc(),new Ys),xZ(new AR,new q,new R,new N,X3(uw(FBt,1),P_t,132,0,[]))))};var Eee=tz(aEt,"IndividualSpacings",370);Zlt(935,1,{},Ys),Sxt.Kb=function(t){return function(t){return RR(t.ad(),146).og()+":"+P9(t.bd())}(RR(t,43))};tz(aEt,"IndividualSpacings/lambda$0$Type",935);Zlt(695,1,{},bj),Sxt.c=0;tz(aEt,"InstancePool",695);Zlt(1247,1,{},Ks);var Pee,Dee,Oee,Lee;tz(aEt,"LoggedGraph",1247);Zlt(392,22,{3:1,36:1,22:1,392:1},fC);var Ree,Nee=h1(aEt,"LoggedGraph/Type",392,Pjt,(function(){return F5(),X3(uw(Nee,1),P_t,392,0,[Dee,Oee,Pee,Lee])}),(function(t){return F5(),hQ((AZ(),Ree),t)}));Zlt(46,1,{19:1,46:1},KM),Sxt.Hc=function(t){yq(this,t)},Sxt.Fb=function(t){var e,n,r;return!!zA(t,46)&&(n=RR(t,46),e=null==this.a?null==n.a:u8(this.a,n.a),r=null==this.b?null==n.b:u8(this.b,n.b),e&&r)},Sxt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:p5(this.a)),e&Y_t^(-65536&(n=null==this.b?0:p5(this.b)))>>16&Y_t|t^(n&Y_t)<<16},Sxt.Ic=function(){return new Bg(this)},Sxt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+P9(this.b)+")":null==this.b?"pair("+P9(this.a)+",null)":"pair("+P9(this.a)+","+P9(this.b)+")"};tz(aEt,"Pair",46);Zlt(947,1,qxt,Bg),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},Sxt.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw Jb(new vv)},Sxt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Jb(new wv)},Sxt.b=!1,Sxt.c=!1;tz(aEt,"Pair/1",947);Zlt(442,1,{442:1},Q$),Sxt.Fb=function(t){return l$(this.a,RR(t,442).a)&&l$(this.c,RR(t,442).c)&&l$(this.d,RR(t,442).d)&&l$(this.b,RR(t,442).b)},Sxt.Hb=function(){return J5(X3(uw(gjt,1),zxt,1,5,[this.a,this.c,this.d,this.b]))},Sxt.Ib=function(){return"("+this.a+Fxt+this.c+Fxt+this.d+Fxt+this.b+")"};tz(aEt,"Quadruple",442);Zlt(1099,207,DIt,Js),Sxt.$e=function(t,e){var n;qat(e,"Random Layout",1),0!=(!t.a&&(t.a=new FF(lne,t,10,11)),t.a).i?(function(t,e,n,i,a){var o,s,u,c,l,h,f,d,g,b,v,m,y,w,x,_,S,k,I,M;for(w=0,b=0,g=0,d=1,y=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));y.e!=y.i.gc();)d+=OU(new xF(zE(uft(v=RR(Htt(y),34)).a.Ic(),new p))),k=v.g,b=r.Math.max(b,k),f=v.f,g=r.Math.max(g,f),w+=k*f;for(s=w+2*i*i*d*(!t.a&&(t.a=new FF(lne,t,10,11)),t.a).i,o=r.Math.sqrt(s),c=r.Math.max(o*n,b),u=r.Math.max(o/n,g),m=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));m.e!=m.i.gc();)v=RR(Htt(m),34),I=a.b+(Ght(e,26)*nkt+Ght(e,27)*rkt)*(c-v.g),M=a.b+(Ght(e,26)*nkt+Ght(e,27)*rkt)*(u-v.f),UJ(v,I),XJ(v,M);for(S=c+(a.b+a.c),_=u+(a.d+a.a),x=new SE((!t.a&&(t.a=new FF(lne,t,10,11)),t.a));x.e!=x.i.gc();)for(h=new xF(zE(uft(RR(Htt(x),34)).a.Ic(),new p));Qlt(h);)zlt(l=RR(dq(h),80))||txt(l,e,S,_);wwt(t,S+=a.b+a.c,_+=a.d+a.a,!1,!0)}(t,(n=RR(_ht(t,(D7(),iee)),20))&&0!=n.a?new jU(n.a):new y9,Oy(VD(_ht(t,eee))),Oy(VD(_ht(t,aee))),RR(_ht(t,nee),115)),Sst(e)):Sst(e)};var jee;tz(aEt,"RandomLayoutProvider",1099);Zlt(542,1,{}),Sxt.of=function(){return new YM(this.f.i,this.f.j)},Sxt.Xe=function(t){return nH(t,(fxt(),D9t))?_ht(this.f,jee):_ht(this.f,t)},Sxt.pf=function(){return new YM(this.f.g,this.f.f)},Sxt.qf=function(){return this.g},Sxt.Ye=function(t){return fK(this.f,t)},Sxt.rf=function(t){UJ(this.f,t.a),XJ(this.f,t.b)},Sxt.sf=function(t){GJ(this.f,t.a),WJ(this.f,t.b)},Sxt.tf=function(t){this.g=t},Sxt.g=0;tz(TDt,"ElkGraphAdapters/AbstractElkGraphElementAdapter",542);Zlt(543,1,{818:1},zg),Sxt.uf=function(){var t,e;if(!this.b)for(this.b=pG(g$(this.a).i),e=new SE(g$(this.a));e.e!=e.i.gc();)t=RR(Htt(e),137),LR(this.b,new Sy(t));return this.b},Sxt.b=null;tz(TDt,"ElkGraphAdapters/ElkEdgeAdapter",543);Zlt(433,542,{},_y),Sxt.vf=function(){return xrt(this)},Sxt.a=null;tz(TDt,"ElkGraphAdapters/ElkGraphAdapter",433);Zlt(618,542,{183:1},Sy);tz(TDt,"ElkGraphAdapters/ElkLabelAdapter",618);Zlt(617,542,{816:1},PP),Sxt.uf=function(){return function(t){var e,n;if(!t.b)for(t.b=pG(RR(t.f,34).vg().i),n=new SE(RR(t.f,34).vg());n.e!=n.i.gc();)e=RR(Htt(n),137),LR(t.b,new Sy(e));return t.b}(this)},Sxt.yf=function(){var t;return!(t=RR(_ht(this.f,(fxt(),a9t)),141))&&(t=new om),t},Sxt.Af=function(){return function(t){var e,n;if(!t.e)for(t.e=pG(b$(RR(t.f,34)).i),n=new SE(b$(RR(t.f,34)));n.e!=n.i.gc();)e=RR(Htt(n),122),LR(t.e,new $g(e));return t.e}(this)},Sxt.Cf=function(t){var e;e=new eR(t),Bet(this.f,(fxt(),a9t),e)},Sxt.Df=function(t){Bet(this.f,(fxt(),y9t),new nR(t))},Sxt.wf=function(){return this.d},Sxt.xf=function(){var t,e;if(!this.a)for(this.a=new Vb,e=new xF(zE(sft(RR(this.f,34)).a.Ic(),new p));Qlt(e);)t=RR(dq(e),80),LR(this.a,new zg(t));return this.a},Sxt.zf=function(){var t,e;if(!this.c)for(this.c=new Vb,e=new xF(zE(uft(RR(this.f,34)).a.Ic(),new p));Qlt(e);)t=RR(dq(e),80),LR(this.c,new zg(t));return this.c},Sxt.Bf=function(){return 0!=_V(RR(this.f,34)).i||Ay($D(RR(this.f,34).Xe((fxt(),J8t))))},Sxt.a=null,Sxt.b=null,Sxt.c=null,Sxt.d=null,Sxt.e=null;tz(TDt,"ElkGraphAdapters/ElkNodeAdapter",617);Zlt(1214,542,{817:1},$g),Sxt.uf=function(){return function(t){var e,n;if(!t.b)for(t.b=pG(RR(t.f,122).vg().i),n=new SE(RR(t.f,122).vg());n.e!=n.i.gc();)e=RR(Htt(n),137),LR(t.b,new Sy(e));return t.b}(this)},Sxt.xf=function(){var t,e;if(!this.a)for(this.a=VP(RR(this.f,122).sg().i),e=new SE(RR(this.f,122).sg());e.e!=e.i.gc();)t=RR(Htt(e),80),LR(this.a,new zg(t));return this.a},Sxt.zf=function(){var t,e;if(!this.c)for(this.c=VP(RR(this.f,122).tg().i),e=new SE(RR(this.f,122).tg());e.e!=e.i.gc();)t=RR(Htt(e),80),LR(this.c,new zg(t));return this.c},Sxt.Ef=function(){return RR(RR(this.f,122).Xe((fxt(),z9t)),61)},Sxt.Ff=function(){var t,e,n,r,i,a,o;for(r=VH(RR(this.f,122)),n=new SE(RR(this.f,122).tg());n.e!=n.i.gc();)for(o=new SE((!(t=RR(Htt(n),80)).c&&(t.c=new nL(nne,t,5,8)),t.c));o.e!=o.i.gc();){if(oJ(Yat(a=RR(Htt(o),93)),r))return!0;if(Yat(a)==r&&Ay($D(_ht(t,(fxt(),t9t)))))return!0}for(e=new SE(RR(this.f,122).sg());e.e!=e.i.gc();)for(i=new SE((!(t=RR(Htt(e),80)).b&&(t.b=new nL(nne,t,4,7)),t.b));i.e!=i.i.gc();)if(oJ(Yat(RR(Htt(i),93)),r))return!0;return!1},Sxt.a=null,Sxt.b=null,Sxt.c=null;tz(TDt,"ElkGraphAdapters/ElkPortAdapter",1214);var Fee,Bee,zee,$ee,Vee,Hee,Wee,Gee,Uee,Xee,qee,Yee,Kee,Zee=NN(ADt,"EObject"),Qee=NN(EDt,PDt),Jee=NN(EDt,DDt),tne=NN(EDt,ODt),ene=NN(EDt,"ElkShape"),nne=NN(EDt,LDt),rne=NN(EDt,RDt),ine=NN(EDt,NDt),ane=NN(ADt,jDt),one=NN(ADt,"EFactory"),sne=NN(ADt,FDt),une=NN(ADt,"EPackage"),cne=NN(EDt,BDt),lne=NN(EDt,zDt),hne=NN(EDt,$Dt);Zlt(89,1,VDt),Sxt.Eg=function(){return this.Fg(),null},Sxt.Fg=function(){return null},Sxt.Gg=function(){return this.Fg(),!1},Sxt.Hg=function(){return!1},Sxt.Ig=function(t){Y2(this,t)};tz(HDt,"BasicNotifierImpl",89);Zlt(96,89,ZDt),Sxt.ih=function(){return FT(this)},Sxt.Jg=function(t,e){return t},Sxt.Kg=function(){throw Jb(new _v)},Sxt.Lg=function(t){var e;return e=wnt(RR($Q(this.Og(),this.Qg()),17)),this.$g().dh(this,e.n,e.f,t)},Sxt.Mg=function(t,e){throw Jb(new _v)},Sxt.Ng=function(t,e,n){return tbt(this,t,e,n)},Sxt.Og=function(){var t;return this.Kg()&&(t=this.Kg().Zj())?t:this.uh()},Sxt.Pg=function(){return Hlt(this)},Sxt.Qg=function(){throw Jb(new _v)},Sxt.Rg=function(){var t,e;return!(e=this.kh().$j())&&this.Kg().dk((XS(),e=null==(t=dH(Zbt(this.Og())))?iie:new AP(this,t))),e},Sxt.Sg=function(t,e){return t},Sxt.Tg=function(t){return t.Bj()?t.Xi():c7(this.Og(),t)},Sxt.Ug=function(){var t;return(t=this.Kg())?t.ak():null},Sxt.Vg=function(){return this.Kg()?this.Kg().Zj():null},Sxt.Wg=function(t,e,n){return Xet(this,t,e,n)},Sxt.Xg=function(t){return jK(this,t)},Sxt.Yg=function(t,e){return Yq(this,t,e)},Sxt.Zg=function(){var t;return!!(t=this.Kg())&&t.bk()},Sxt.$g=function(){throw Jb(new _v)},Sxt._g=function(){return wtt(this)},Sxt.ah=function(t,e,n,r){return Ret(this,t,e,r)},Sxt.bh=function(t,e,n){return RR($Q(this.Og(),e),65).Ij().Lj(this,this.th(),e-this.vh(),t,n)},Sxt.dh=function(t,e,n,r){return hH(this,t,e,r)},Sxt.eh=function(t,e,n){return RR($Q(this.Og(),e),65).Ij().Mj(this,this.th(),e-this.vh(),t,n)},Sxt.fh=function(){return!!this.Kg()&&!!this.Kg()._j()},Sxt.gh=function(t){return Iet(this,t)},Sxt.hh=function(t){return JH(this,t)},Sxt.jh=function(t){return Wmt(this,t)},Sxt.kh=function(){throw Jb(new _v)},Sxt.lh=function(){return this.Kg()?this.Kg()._j():null},Sxt.mh=function(){return wtt(this)},Sxt.nh=function(t,e){Vut(this,t,e)},Sxt.oh=function(t){this.kh().ck(t)},Sxt.ph=function(t){this.kh().fk(t)},Sxt.qh=function(t){this.kh().ek(t)},Sxt.rh=function(t,e){var n,r,i,a;return(a=this.Ug())&&t&&(e=jet(a.Qk(),this,e),a.Uk(this)),(r=this.$g())&&(0!=(vgt(this,this.$g(),this.Qg()).Bb&BSt)?(i=r._g())&&(t?!a&&i.Uk(this):i.Tk(this)):(e=(n=this.Qg())>=0?this.Lg(e):this.$g().dh(this,-1-n,null,e),e=this.Ng(null,-1,e))),this.ph(t),e},Sxt.sh=function(t){var e,n,r,i,a,o,s;if((a=c7(n=this.Og(),t))>=(e=this.vh()))return RR(t,65).Ij().Pj(this,this.th(),a-e);if(a<=-1){if(!(o=Xmt((yut(),Sie),n,t)))throw Jb(new Ny(WDt+t.ne()+XDt));if(ek(),RR(o,65).Jj()||(o=iG(FZ(Sie,o))),i=RR((r=this.Tg(o))>=0?this.Wg(r,!0,!0):nlt(this,o,!0),152),(s=o.Uj())>1||-1==s)return RR(RR(i,212).cl(t,!1),76)}else if(t.Vj())return RR((r=this.Tg(t))>=0?this.Wg(r,!1,!0):nlt(this,t,!1),76);return new yC(this,t)},Sxt.th=function(){return YZ(this)},Sxt.uh=function(){return(VB(),kre).S},Sxt.vh=function(){return HB(this.uh())},Sxt.wh=function(t){iut(this,t)},Sxt.Ib=function(){return Fht(this)};var fne;tz(QDt,"BasicEObjectImpl",96);Zlt(113,96,{104:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1}),Sxt.xh=function(t){return qZ(this)[t]},Sxt.yh=function(t,e){nz(qZ(this),t,e)},Sxt.zh=function(t){nz(qZ(this),t,null)},Sxt.Eg=function(){return RR(n3(this,4),124)},Sxt.Fg=function(){throw Jb(new _v)},Sxt.Gg=function(){return 0!=(4&this.Db)},Sxt.Kg=function(){throw Jb(new _v)},Sxt.Ah=function(t){Att(this,2,t)},Sxt.Mg=function(t,e){this.Db=e<<16|255&this.Db,this.Ah(t)},Sxt.Og=function(){return ZV(this)},Sxt.Qg=function(){return this.Db>>16},Sxt.Rg=function(){var t;return XS(),null==(t=dH(Zbt(RR(n3(this,16),26)||this.uh())))?iie:new AP(this,t)},Sxt.Hg=function(){return 0==(1&this.Db)},Sxt.Ug=function(){return RR(n3(this,128),1907)},Sxt.Vg=function(){return RR(n3(this,16),26)},Sxt.Zg=function(){return 0!=(32&this.Db)},Sxt.$g=function(){return RR(n3(this,2),48)},Sxt.fh=function(){return 0!=(64&this.Db)},Sxt.kh=function(){throw Jb(new _v)},Sxt.lh=function(){return RR(n3(this,64),279)},Sxt.oh=function(t){Att(this,16,t)},Sxt.ph=function(t){Att(this,128,t)},Sxt.qh=function(t){Att(this,64,t)},Sxt.th=function(){return Ett(this)},Sxt.Db=0;tz(QDt,"MinimalEObjectImpl",113);Zlt(116,113,{104:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),Sxt.Ah=function(t){this.Cb=t},Sxt.$g=function(){return this.Cb};tz(QDt,"MinimalEObjectImpl/Container",116);Zlt(1957,116,{104:1,408:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),Sxt.Ve=function(t){return!this.o&&(this.o=new MK((Wwt(),qee),yne,this,0)),r0(this.o,t.q?t.q:(mV(),mV(),KFt)),this},Sxt.Wg=function(t,e,n){return Ort(this,t,e,n)},Sxt.eh=function(t,e,n){return dst(this,t,e,n)},Sxt.gh=function(t){return yG(this,t)},Sxt.nh=function(t,e){h5(this,t,e)},Sxt.uh=function(){return Wwt(),Kee},Sxt.wh=function(t){n4(this,t)},Sxt.We=function(){return Met(this)},Sxt.Xe=function(t){return _ht(this,t)},Sxt.Ye=function(t){return fK(this,t)},Sxt.Ze=function(t,e){return Bet(this,t,e)};tz(JDt,"EMapPropertyHolderImpl",1957);Zlt(560,116,{104:1,463:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},tu),Sxt.Wg=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Xet(this,t,e,n)},Sxt.gh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return Iet(this,t)},Sxt.nh=function(t,e){switch(t){case 0:return void JJ(this,Dy(VD(e)));case 1:return void YJ(this,Dy(VD(e)))}Vut(this,t,e)},Sxt.uh=function(){return Wwt(),zee},Sxt.wh=function(t){switch(t){case 0:return void JJ(this,0);case 1:return void YJ(this,0)}iut(this,t)},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Fht(this):((t=new qE(Fht(this))).a+=" (x: ",zx(t,this.a),t.a+=", y: ",zx(t,this.b),t.a+=")",t.a)},Sxt.a=0,Sxt.b=0;tz(JDt,"ElkBendPointImpl",560);Zlt(710,1957,{104:1,408:1,160:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),Sxt.Wg=function(t,e,n){return h8(this,t,e,n)},Sxt.bh=function(t,e,n){return hot(this,t,e,n)},Sxt.eh=function(t,e,n){return P3(this,t,e,n)},Sxt.gh=function(t){return b3(this,t)},Sxt.nh=function(t,e){Jit(this,t,e)},Sxt.uh=function(){return Wwt(),Wee},Sxt.wh=function(t){W6(this,t)},Sxt.ug=function(){return this.k},Sxt.vg=function(){return g$(this)},Sxt.Ib=function(){return f9(this)},Sxt.k=null;tz(JDt,"ElkGraphElementImpl",710);Zlt(711,710,{104:1,408:1,160:1,464:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),Sxt.Wg=function(t,e,n){return D9(this,t,e,n)},Sxt.gh=function(t){return g7(this,t)},Sxt.nh=function(t,e){tat(this,t,e)},Sxt.uh=function(){return Wwt(),Yee},Sxt.wh=function(t){b7(this,t)},Sxt.wg=function(){return this.f},Sxt.xg=function(){return this.g},Sxt.yg=function(){return this.i},Sxt.zg=function(){return this.j},Sxt.Ag=function(t,e){$T(this,t,e)},Sxt.Bg=function(t,e){VT(this,t,e)},Sxt.Cg=function(t){UJ(this,t)},Sxt.Dg=function(t){XJ(this,t)},Sxt.Ib=function(){return Ist(this)},Sxt.f=0,Sxt.g=0,Sxt.i=0,Sxt.j=0;tz(JDt,"ElkShapeImpl",711);Zlt(712,711,{104:1,408:1,93:1,160:1,464:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1}),Sxt.Wg=function(t,e,n){return Pnt(this,t,e,n)},Sxt.bh=function(t,e,n){return Fit(this,t,e,n)},Sxt.eh=function(t,e,n){return Bit(this,t,e,n)},Sxt.gh=function(t){return q4(this,t)},Sxt.nh=function(t,e){lht(this,t,e)},Sxt.uh=function(){return Wwt(),$ee},Sxt.wh=function(t){Fet(this,t)},Sxt.sg=function(){return!this.d&&(this.d=new nL(rne,this,8,5)),this.d},Sxt.tg=function(){return!this.e&&(this.e=new nL(rne,this,7,4)),this.e};tz(JDt,"ElkConnectableShapeImpl",712);Zlt(349,710,{104:1,408:1,80:1,160:1,349:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},Qs),Sxt.Lg=function(t){return cit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 3:return $H(this);case 4:return!this.b&&(this.b=new nL(nne,this,4,7)),this.b;case 5:return!this.c&&(this.c=new nL(nne,this,5,8)),this.c;case 6:return!this.a&&(this.a=new FF(ine,this,6,6)),this.a;case 7:return _P(),!this.b&&(this.b=new nL(nne,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new nL(nne,this,5,8)),this.c.i<=1));case 8:return _P(),!!zlt(this);case 9:return _P(),!!Jct(this);case 10:return _P(),!this.b&&(this.b=new nL(nne,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new nL(nne,this,5,8)),0!=this.c.i)}return h8(this,t,e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?cit(this,n):this.Cb.dh(this,-1-r,null,n)),eO(this,RR(t,34),n);case 4:return!this.b&&(this.b=new nL(nne,this,4,7)),I7(this.b,t,n);case 5:return!this.c&&(this.c=new nL(nne,this,5,8)),I7(this.c,t,n);case 6:return!this.a&&(this.a=new FF(ine,this,6,6)),I7(this.a,t,n)}return hot(this,t,e,n)},Sxt.eh=function(t,e,n){switch(e){case 3:return eO(this,null,n);case 4:return!this.b&&(this.b=new nL(nne,this,4,7)),jet(this.b,t,n);case 5:return!this.c&&(this.c=new nL(nne,this,5,8)),jet(this.c,t,n);case 6:return!this.a&&(this.a=new FF(ine,this,6,6)),jet(this.a,t,n)}return P3(this,t,e,n)},Sxt.gh=function(t){switch(t){case 3:return!!$H(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new nL(nne,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new nL(nne,this,5,8)),this.c.i<=1));case 8:return zlt(this);case 9:return Jct(this);case 10:return!this.b&&(this.b=new nL(nne,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new nL(nne,this,5,8)),0!=this.c.i)}return b3(this,t)},Sxt.nh=function(t,e){switch(t){case 3:return void wft(this,RR(e,34));case 4:return!this.b&&(this.b=new nL(nne,this,4,7)),Omt(this.b),!this.b&&(this.b=new nL(nne,this,4,7)),void QB(this.b,RR(e,15));case 5:return!this.c&&(this.c=new nL(nne,this,5,8)),Omt(this.c),!this.c&&(this.c=new nL(nne,this,5,8)),void QB(this.c,RR(e,15));case 6:return!this.a&&(this.a=new FF(ine,this,6,6)),Omt(this.a),!this.a&&(this.a=new FF(ine,this,6,6)),void QB(this.a,RR(e,15))}Jit(this,t,e)},Sxt.uh=function(){return Wwt(),Vee},Sxt.wh=function(t){switch(t){case 3:return void wft(this,null);case 4:return!this.b&&(this.b=new nL(nne,this,4,7)),void Omt(this.b);case 5:return!this.c&&(this.c=new nL(nne,this,5,8)),void Omt(this.c);case 6:return!this.a&&(this.a=new FF(ine,this,6,6)),void Omt(this.a)}W6(this,t)},Sxt.Ib=function(){return tmt(this)};tz(JDt,"ElkEdgeImpl",349);Zlt(432,1957,{104:1,408:1,201:1,432:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},Zs),Sxt.Lg=function(t){return rit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new fE(Jee,this,5)),this.a;case 6:return HH(this);case 7:return e?ynt(this):this.i;case 8:return e?mnt(this):this.f;case 9:return!this.g&&(this.g=new nL(ine,this,9,10)),this.g;case 10:return!this.e&&(this.e=new nL(ine,this,10,9)),this.e;case 11:return this.d}return Ort(this,t,e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?rit(this,n):this.Cb.dh(this,-1-r,null,n)),nO(this,RR(t,80),n);case 9:return!this.g&&(this.g=new nL(ine,this,9,10)),I7(this.g,t,n);case 10:return!this.e&&(this.e=new nL(ine,this,10,9)),I7(this.e,t,n)}return RR($Q(RR(n3(this,16),26)||(Wwt(),Hee),e),65).Ij().Lj(this,Ett(this),e-HB((Wwt(),Hee)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new fE(Jee,this,5)),jet(this.a,t,n);case 6:return nO(this,null,n);case 9:return!this.g&&(this.g=new nL(ine,this,9,10)),jet(this.g,t,n);case 10:return!this.e&&(this.e=new nL(ine,this,10,9)),jet(this.e,t,n)}return dst(this,t,e,n)},Sxt.gh=function(t){switch(t){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!HH(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return yG(this,t)},Sxt.nh=function(t,e){switch(t){case 1:return void qJ(this,Dy(VD(e)));case 2:return void QJ(this,Dy(VD(e)));case 3:return void KJ(this,Dy(VD(e)));case 4:return void ZJ(this,Dy(VD(e)));case 5:return!this.a&&(this.a=new fE(Jee,this,5)),Omt(this.a),!this.a&&(this.a=new fE(Jee,this,5)),void QB(this.a,RR(e,15));case 6:return void yft(this,RR(e,80));case 7:return void $1(this,RR(e,93));case 8:return void z1(this,RR(e,93));case 9:return!this.g&&(this.g=new nL(ine,this,9,10)),Omt(this.g),!this.g&&(this.g=new nL(ine,this,9,10)),void QB(this.g,RR(e,15));case 10:return!this.e&&(this.e=new nL(ine,this,10,9)),Omt(this.e),!this.e&&(this.e=new nL(ine,this,10,9)),void QB(this.e,RR(e,15));case 11:return void n0(this,HD(e))}h5(this,t,e)},Sxt.uh=function(){return Wwt(),Hee},Sxt.wh=function(t){switch(t){case 1:return void qJ(this,0);case 2:return void QJ(this,0);case 3:return void KJ(this,0);case 4:return void ZJ(this,0);case 5:return!this.a&&(this.a=new fE(Jee,this,5)),void Omt(this.a);case 6:return void yft(this,null);case 7:return void $1(this,null);case 8:return void z1(this,null);case 9:return!this.g&&(this.g=new nL(ine,this,9,10)),void Omt(this.g);case 10:return!this.e&&(this.e=new nL(ine,this,10,9)),void Omt(this.e);case 11:return void n0(this,null)}n4(this,t)},Sxt.Ib=function(){return Clt(this)},Sxt.b=0,Sxt.c=0,Sxt.d=null,Sxt.j=0,Sxt.k=0;tz(JDt,"ElkEdgeSectionImpl",432);Zlt(150,116,{104:1,91:1,89:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1}),Sxt.Wg=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab):fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.bh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n)):RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Lj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.eh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n)):RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Mj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.gh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.jh=function(t){return uwt(this,t)},Sxt.nh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.ph=function(t){Att(this,128,t)},Sxt.uh=function(){return mxt(),Nre},Sxt.wh=function(t){if(0===t)return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.Bh=function(){this.Bb|=1},Sxt.Ch=function(t){return abt(this,t)},Sxt.Bb=0;var dne,pne,gne;tz(QDt,"EModelElementImpl",150);Zlt(696,150,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1},Ch),Sxt.Dh=function(t,e){return Syt(this,t,e)},Sxt.Eh=function(t){var e,n,r,i;if(this.a!=bJ(t)||0!=(256&t.Bb))throw Jb(new Ny(aOt+t.zb+nOt));for(n=KV(t);0!=pX(n.a).i;){if(art(e=RR(tyt(n,0,zA(i=RR(sJ(pX(n.a),0),86).c,87)?RR(i,26):(mxt(),Fre)),26)))return RR(r=bJ(e).Ih().Eh(e),48).oh(t),r;n=KV(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new LN(t):new nN(t)},Sxt.Fh=function(t,e){return Ywt(this,t,e)},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.a}return fZ(this,t-HB((mxt(),Ore)),$Q(RR(n3(this,16),26)||Ore,t),e,n)},Sxt.bh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 1:return this.a&&(n=RR(this.a,48).dh(this,4,une,n)),D6(this,RR(t,234),n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Ore),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Ore)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 1:return D6(this,null,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Ore),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Ore)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return QU(this,t-HB((mxt(),Ore)),$Q(RR(n3(this,16),26)||Ore,t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void qot(this,RR(e,234))}I9(this,t-HB((mxt(),Ore)),$Q(RR(n3(this,16),26)||Ore,t),e)},Sxt.uh=function(){return mxt(),Ore},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void qot(this,null)}t8(this,t-HB((mxt(),Ore)),$Q(RR(n3(this,16),26)||Ore,t))};tz(QDt,"EFactoryImpl",696);Zlt(1012,696,{104:1,1983:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1},ru),Sxt.Dh=function(t,e){switch(t.tj()){case 12:return RR(e,146).og();case 13:return P9(e);default:throw Jb(new Ny(eOt+t.ne()+nOt))}},Sxt.Eh=function(t){var e;switch(-1==t.G&&(t.G=(e=bJ(t))?ent(e.Hh(),t):-1),t.G){case 4:return new iu;case 6:return new mm;case 7:return new ym;case 8:return new Qs;case 9:return new tu;case 10:return new Zs;case 11:return new au;default:throw Jb(new Ny(aOt+t.zb+nOt))}},Sxt.Fh=function(t,e){switch(t.tj()){case 13:case 12:return null;default:throw Jb(new Ny(eOt+t.ne()+nOt))}};tz(JDt,"ElkGraphFactoryImpl",1012);Zlt(431,150,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1}),Sxt.Rg=function(){var t;return null==(t=dH(Zbt(RR(n3(this,16),26)||this.uh())))?(XS(),XS(),iie):new fD(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.ne()}return fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void this.Gh(HD(e))}I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.uh=function(){return mxt(),jre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void this.Gh(null)}t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.ne=function(){return this.zb},Sxt.Gh=function(t){D0(this,t)},Sxt.Ib=function(){return Z6(this)},Sxt.zb=null;var bne;tz(QDt,"ENamedElementImpl",431);Zlt(179,431,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1},IV),Sxt.Lg=function(t){return sit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new VF(this,hre,this)),this.rb;case 6:return!this.vb&&(this.vb=new WO(une,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?RR(this.Cb,234):null:tW(this)}return fZ(this,t-HB((mxt(),$re)),$Q(RR(n3(this,16),26)||$re,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 4:return this.sb&&(n=RR(this.sb,48).dh(this,1,one,n)),Q6(this,RR(t,465),n);case 5:return!this.rb&&(this.rb=new VF(this,hre,this)),I7(this.rb,t,n);case 6:return!this.vb&&(this.vb=new WO(une,this,6,7)),I7(this.vb,t,n);case 7:return this.Cb&&(n=(r=this.Db>>16)>=0?sit(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,7,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),$re),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),$re)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 4:return Q6(this,null,n);case 5:return!this.rb&&(this.rb=new VF(this,hre,this)),jet(this.rb,t,n);case 6:return!this.vb&&(this.vb=new WO(une,this,6,7)),jet(this.vb,t,n);case 7:return tbt(this,null,7,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),$re),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),$re)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!tW(this)}return QU(this,t-HB((mxt(),$re)),$Q(RR(n3(this,16),26)||$re,t))},Sxt.jh=function(t){var e;return e=function(t,e){var n,r,i,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new VF(t,hre,t)),s=new aS((a=t.rb).i),i=new SE(a);i.e!=i.i.gc();)r=RR(Htt(i),138),(n=RR(null==(o=r.ne())?ect(s.f,null,r):h9(s.g,o,r),138))&&(null==o?ect(s.f,null,n):h9(s.g,o,n));t.tb=s}return RR(IH(t.tb,e),138)}(this,t),e||uwt(this,t)},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void D0(this,HD(e));case 2:return void L0(this,HD(e));case 3:return void O0(this,HD(e));case 4:return void pst(this,RR(e,465));case 5:return!this.rb&&(this.rb=new VF(this,hre,this)),Omt(this.rb),!this.rb&&(this.rb=new VF(this,hre,this)),void QB(this.rb,RR(e,15));case 6:return!this.vb&&(this.vb=new WO(une,this,6,7)),Omt(this.vb),!this.vb&&(this.vb=new WO(une,this,6,7)),void QB(this.vb,RR(e,15))}I9(this,t-HB((mxt(),$re)),$Q(RR(n3(this,16),26)||$re,t),e)},Sxt.qh=function(t){var e,n;if(t&&this.rb)for(n=new SE(this.rb);n.e!=n.i.gc();)zA(e=Htt(n),348)&&(RR(e,348).w=null);Att(this,64,t)},Sxt.uh=function(){return mxt(),$re},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void D0(this,null);case 2:return void L0(this,null);case 3:return void O0(this,null);case 4:return void pst(this,null);case 5:return!this.rb&&(this.rb=new VF(this,hre,this)),void Omt(this.rb);case 6:return!this.vb&&(this.vb=new WO(une,this,6,7)),void Omt(this.vb)}t8(this,t-HB((mxt(),$re)),$Q(RR(n3(this,16),26)||$re,t))},Sxt.Bh=function(){Lrt(this)},Sxt.Hh=function(){return!this.rb&&(this.rb=new VF(this,hre,this)),this.rb},Sxt.Ih=function(){return this.sb},Sxt.Jh=function(){return this.ub},Sxt.Kh=function(){return this.xb},Sxt.Lh=function(){return this.yb},Sxt.Mh=function(t){this.ub=t},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Z6(this):((t=new qE(Z6(this))).a+=" (nsURI: ",HC(t,this.yb),t.a+=", nsPrefix: ",HC(t,this.xb),t.a+=")",t.a)},Sxt.xb=null,Sxt.yb=null;tz(QDt,"EPackageImpl",179);Zlt(549,179,{104:1,1985:1,549:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1},Xlt),Sxt.q=!1,Sxt.r=!1;var vne=!1;tz(JDt,"ElkGraphPackageImpl",549);Zlt(351,711,{104:1,408:1,160:1,137:1,464:1,351:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},iu),Sxt.Lg=function(t){return iit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 7:return eW(this);case 8:return this.a}return D9(this,t,e,n)},Sxt.bh=function(t,e,n){var r;return 7===e?(this.Cb&&(n=(r=this.Db>>16)>=0?iit(this,n):this.Cb.dh(this,-1-r,null,n)),Kj(this,RR(t,160),n)):hot(this,t,e,n)},Sxt.eh=function(t,e,n){return 7==e?Kj(this,null,n):P3(this,t,e,n)},Sxt.gh=function(t){switch(t){case 7:return!!eW(this);case 8:return!hL("",this.a)}return g7(this,t)},Sxt.nh=function(t,e){switch(t){case 7:return void zft(this,RR(e,160));case 8:return void V1(this,HD(e))}tat(this,t,e)},Sxt.uh=function(){return Wwt(),Gee},Sxt.wh=function(t){switch(t){case 7:return void zft(this,null);case 8:return void V1(this,"")}b7(this,t)},Sxt.Ib=function(){return aut(this)},Sxt.a="";tz(JDt,"ElkLabelImpl",351);Zlt(238,712,{104:1,408:1,93:1,160:1,34:1,464:1,238:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},mm),Sxt.Lg=function(t){return vit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new FF(hne,this,9,9)),this.c;case 10:return!this.a&&(this.a=new FF(lne,this,10,11)),this.a;case 11:return rW(this);case 12:return!this.b&&(this.b=new FF(rne,this,12,3)),this.b;case 13:return _P(),!this.a&&(this.a=new FF(lne,this,10,11)),this.a.i>0}return Pnt(this,t,e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 9:return!this.c&&(this.c=new FF(hne,this,9,9)),I7(this.c,t,n);case 10:return!this.a&&(this.a=new FF(lne,this,10,11)),I7(this.a,t,n);case 11:return this.Cb&&(n=(r=this.Db>>16)>=0?vit(this,n):this.Cb.dh(this,-1-r,null,n)),VO(this,RR(t,34),n);case 12:return!this.b&&(this.b=new FF(rne,this,12,3)),I7(this.b,t,n)}return Fit(this,t,e,n)},Sxt.eh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new FF(hne,this,9,9)),jet(this.c,t,n);case 10:return!this.a&&(this.a=new FF(lne,this,10,11)),jet(this.a,t,n);case 11:return VO(this,null,n);case 12:return!this.b&&(this.b=new FF(rne,this,12,3)),jet(this.b,t,n)}return Bit(this,t,e,n)},Sxt.gh=function(t){switch(t){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!rW(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new FF(lne,this,10,11)),this.a.i>0}return q4(this,t)},Sxt.nh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new FF(hne,this,9,9)),Omt(this.c),!this.c&&(this.c=new FF(hne,this,9,9)),void QB(this.c,RR(e,15));case 10:return!this.a&&(this.a=new FF(lne,this,10,11)),Omt(this.a),!this.a&&(this.a=new FF(lne,this,10,11)),void QB(this.a,RR(e,15));case 11:return void Pft(this,RR(e,34));case 12:return!this.b&&(this.b=new FF(rne,this,12,3)),Omt(this.b),!this.b&&(this.b=new FF(rne,this,12,3)),void QB(this.b,RR(e,15))}lht(this,t,e)},Sxt.uh=function(){return Wwt(),Uee},Sxt.wh=function(t){switch(t){case 9:return!this.c&&(this.c=new FF(hne,this,9,9)),void Omt(this.c);case 10:return!this.a&&(this.a=new FF(lne,this,10,11)),void Omt(this.a);case 11:return void Pft(this,null);case 12:return!this.b&&(this.b=new FF(rne,this,12,3)),void Omt(this.b)}Fet(this,t)},Sxt.Ib=function(){return Jpt(this)};tz(JDt,"ElkNodeImpl",238);Zlt(199,712,{104:1,408:1,93:1,160:1,122:1,464:1,199:1,94:1,91:1,89:1,55:1,107:1,48:1,96:1,113:1,116:1},ym),Sxt.Lg=function(t){return ait(this,t)},Sxt.Wg=function(t,e,n){return 9==t?VH(this):Pnt(this,t,e,n)},Sxt.bh=function(t,e,n){var r;return 9===e?(this.Cb&&(n=(r=this.Db>>16)>=0?ait(this,n):this.Cb.dh(this,-1-r,null,n)),rO(this,RR(t,34),n)):Fit(this,t,e,n)},Sxt.eh=function(t,e,n){return 9==e?rO(this,null,n):Bit(this,t,e,n)},Sxt.gh=function(t){return 9==t?!!VH(this):q4(this,t)},Sxt.nh=function(t,e){9!==t?lht(this,t,e):xft(this,RR(e,34))},Sxt.uh=function(){return Wwt(),Xee},Sxt.wh=function(t){9!==t?Fet(this,t):xft(this,null)},Sxt.Ib=function(){return tgt(this)};tz(JDt,"ElkPortImpl",199);var mne=NN(MOt,"BasicEMap/Entry");Zlt(1072,116,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1,113:1,116:1},au),Sxt.Fb=function(t){return this===t},Sxt.ad=function(){return this.b},Sxt.Hb=function(){return uP(this)},Sxt.Ph=function(t){H1(this,RR(t,146))},Sxt.Wg=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Xet(this,t,e,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return Iet(this,t)},Sxt.nh=function(t,e){switch(t){case 0:return void H1(this,RR(e,146));case 1:return void W1(this,e)}Vut(this,t,e)},Sxt.uh=function(){return Wwt(),qee},Sxt.wh=function(t){switch(t){case 0:return void H1(this,null);case 1:return void W1(this,null)}iut(this,t)},Sxt.Nh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?p5(t):0),this.a},Sxt.bd=function(){return this.c},Sxt.Oh=function(t){this.a=t},Sxt.cd=function(t){var e;return e=this.c,W1(this,t),e},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Fht(this):(UC(UC(UC(t=new pw,this.b?this.b.og():Hxt),XMt),nP(this.c)),t.a)},Sxt.a=-1,Sxt.c=null;var yne=tz(JDt,"ElkPropertyToValueMapEntryImpl",1072);Zlt(964,1,{},ou);tz(AOt,"JsonAdapter",964);Zlt(208,59,$_t,Yy);tz(AOt,"JsonImportException",208);Zlt(836,1,{},lit);tz(AOt,"JsonImporter",836);Zlt(870,1,{},ZM);tz(AOt,"JsonImporter/lambda$0$Type",870);Zlt(871,1,{},QM);tz(AOt,"JsonImporter/lambda$1$Type",871);Zlt(879,1,{},Vg);tz(AOt,"JsonImporter/lambda$10$Type",879);Zlt(881,1,{},JM);tz(AOt,"JsonImporter/lambda$11$Type",881);Zlt(882,1,{},tC);tz(AOt,"JsonImporter/lambda$12$Type",882);Zlt(888,1,{},tV);tz(AOt,"JsonImporter/lambda$13$Type",888);Zlt(887,1,{},eV);tz(AOt,"JsonImporter/lambda$14$Type",887);Zlt(883,1,{},eC);tz(AOt,"JsonImporter/lambda$15$Type",883);Zlt(884,1,{},nC);tz(AOt,"JsonImporter/lambda$16$Type",884);Zlt(885,1,{},rC);tz(AOt,"JsonImporter/lambda$17$Type",885);Zlt(886,1,{},iC);tz(AOt,"JsonImporter/lambda$18$Type",886);Zlt(891,1,{},Hg);tz(AOt,"JsonImporter/lambda$19$Type",891);Zlt(872,1,{},Wg);tz(AOt,"JsonImporter/lambda$2$Type",872);Zlt(889,1,{},Gg);tz(AOt,"JsonImporter/lambda$20$Type",889);Zlt(890,1,{},Ug);tz(AOt,"JsonImporter/lambda$21$Type",890);Zlt(894,1,{},Xg);tz(AOt,"JsonImporter/lambda$22$Type",894);Zlt(892,1,{},qg);tz(AOt,"JsonImporter/lambda$23$Type",892);Zlt(893,1,{},Yg);tz(AOt,"JsonImporter/lambda$24$Type",893);Zlt(896,1,{},Kg);tz(AOt,"JsonImporter/lambda$25$Type",896);Zlt(895,1,{},Zg);tz(AOt,"JsonImporter/lambda$26$Type",895);Zlt(897,1,h_t,aC),Sxt.td=function(t){!function(t,e,n){var r,i;i=null,(r=xH(t,n))&&(i=hut(r)),oet(e,n,i)}(this.b,this.a,HD(t))};tz(AOt,"JsonImporter/lambda$27$Type",897);Zlt(898,1,h_t,oC),Sxt.td=function(t){!function(t,e,n){var r,i;i=null,(r=xH(t,n))&&(i=hut(r)),oet(e,n,i)}(this.b,this.a,HD(t))};tz(AOt,"JsonImporter/lambda$28$Type",898);Zlt(899,1,{},sC);tz(AOt,"JsonImporter/lambda$29$Type",899);Zlt(875,1,{},Qg);tz(AOt,"JsonImporter/lambda$3$Type",875);Zlt(900,1,{},uC);tz(AOt,"JsonImporter/lambda$30$Type",900);Zlt(901,1,{},Jg);tz(AOt,"JsonImporter/lambda$31$Type",901);Zlt(902,1,{},tb);tz(AOt,"JsonImporter/lambda$32$Type",902);Zlt(903,1,{},eb);tz(AOt,"JsonImporter/lambda$33$Type",903);Zlt(904,1,{},nb);tz(AOt,"JsonImporter/lambda$34$Type",904);Zlt(838,1,{},rb);tz(AOt,"JsonImporter/lambda$35$Type",838);Zlt(908,1,{},lR);tz(AOt,"JsonImporter/lambda$36$Type",908);Zlt(905,1,h_t,ib),Sxt.td=function(t){!function(t,e){var n;xV(n=new cy,"x",e.a),xV(n,"y",e.b),Sz(t,n)}(this.a,RR(t,463))};tz(AOt,"JsonImporter/lambda$37$Type",905);Zlt(906,1,h_t,cC),Sxt.td=function(t){!function(t,e,n){Xit(e,Sut(t,n))}(this.a,this.b,RR(t,201))};tz(AOt,"JsonImporter/lambda$38$Type",906);Zlt(907,1,h_t,lC),Sxt.td=function(t){!function(t,e,n){Xit(e,Sut(t,n))}(this.a,this.b,RR(t,201))};tz(AOt,"JsonImporter/lambda$39$Type",907);Zlt(873,1,{},ab);tz(AOt,"JsonImporter/lambda$4$Type",873);Zlt(909,1,h_t,ob),Sxt.td=function(t){!function(t,e){var n;xV(n=new cy,"x",e.a),xV(n,"y",e.b),Sz(t,n)}(this.a,RR(t,8))};tz(AOt,"JsonImporter/lambda$40$Type",909);Zlt(874,1,{},sb);tz(AOt,"JsonImporter/lambda$5$Type",874);Zlt(878,1,{},ub);tz(AOt,"JsonImporter/lambda$6$Type",878);Zlt(876,1,{},cb);tz(AOt,"JsonImporter/lambda$7$Type",876);Zlt(877,1,{},lb);tz(AOt,"JsonImporter/lambda$8$Type",877);Zlt(880,1,{},hb);tz(AOt,"JsonImporter/lambda$9$Type",880);Zlt(954,1,h_t,fb),Sxt.td=function(t){Sz(this.a,new xB(HD(t)))};tz(AOt,"JsonMetaDataConverter/lambda$0$Type",954);Zlt(955,1,h_t,db),Sxt.td=function(t){!function(t,e){Sz(t,new xB(null!=e.f?e.f:""+e.g))}(this.a,RR(t,237))};tz(AOt,"JsonMetaDataConverter/lambda$1$Type",955);Zlt(956,1,h_t,pb),Sxt.td=function(t){!function(t,e){null!=e.c&&Sz(t,new xB(e.c))}(this.a,RR(t,149))};tz(AOt,"JsonMetaDataConverter/lambda$2$Type",956);Zlt(957,1,h_t,gb),Sxt.td=function(t){!function(t,e){Sz(t,new xB(null!=e.f?e.f:""+e.g))}(this.a,RR(t,175))};var wne,xne,_ne,Sne,kne,Ine,Mne,Cne;tz(AOt,"JsonMetaDataConverter/lambda$3$Type",957);Zlt(237,22,{3:1,36:1,22:1,237:1},dC);var Tne,Ane=h1(CIt,"GraphFeature",237,Pjt,(function(){return qlt(),X3(uw(Ane,1),P_t,237,0,[Cne,kne,Ine,Sne,Mne,xne,wne,_ne])}),(function(t){return qlt(),hQ((W2(),Tne),t)}));Zlt(13,1,{36:1,146:1},vb,JD,cT,lA),Sxt.wd=function(t){return function(t,e){return Zq(t.b,e.og())}(this,RR(t,146))},Sxt.Fb=function(t){return nH(this,t)},Sxt.rg=function(){return bet(this)},Sxt.og=function(){return this.b},Sxt.Hb=function(){return snt(this.b)},Sxt.Ib=function(){return this.b};tz(CIt,"Property",13);Zlt(797,1,Skt,bb),Sxt.ue=function(t,e){return function(t,e,n){var r,i;return r=RR(e.Xe(t.a),36),i=RR(n.Xe(t.a),36),null!=r&&null!=i?v2(r,i):null!=r?-1:null!=i?1:0}(this,RR(t,94),RR(e,94))},Sxt.Fb=function(t){return this===t},Sxt.ve=function(){return new od(this)};tz(CIt,"PropertyHolderComparator",797);var Ene=NN(MOt,"EList");Zlt(66,51,{19:1,28:1,51:1,15:1,14:1,66:1,57:1}),Sxt.Tc=function(t,e){J6(this,t,e)},Sxt.Dc=function(t){return EK(this,t)},Sxt.Uc=function(t,e){return e4(this,t,e)},Sxt.Ec=function(t){return QB(this,t)},Sxt.Uh=function(){return new RP(this)},Sxt.Vh=function(){return new NP(this)},Sxt.Wh=function(t){return i1(this,t)},Sxt.Xh=function(){return!0},Sxt.Yh=function(t,e){},Sxt.Zh=function(){},Sxt.$h=function(t,e){cK(this,t,e)},Sxt._h=function(t,e,n){},Sxt.ai=function(t,e){},Sxt.bi=function(t,e,n){},Sxt.Fb=function(t){return _pt(this,t)},Sxt.Hb=function(){return W3(this)},Sxt.ci=function(){return!1},Sxt.Ic=function(){return new SE(this)},Sxt.Wc=function(){return new LP(this)},Sxt.Xc=function(t){var e;if(e=this.gc(),t<0||t>e)throw Jb(new GO(t,e));return new SB(this,t)},Sxt.ei=function(t,e){this.di(t,this.Vc(e))},Sxt.Kc=function(t){return nQ(this,t)},Sxt.gi=function(t,e){return e},Sxt.Zc=function(t,e){return Net(this,t,e)},Sxt.Ib=function(){return i7(this)},Sxt.ii=function(){return!0},Sxt.ji=function(t,e){return o5(this,e)};tz(MOt,"AbstractEList",66);Zlt(60,66,XOt,su,WQ,M2),Sxt.Qh=function(t,e){return fot(this,t,e)},Sxt.Rh=function(t){return Xnt(this,t)},Sxt.Sh=function(t,e){e8(this,t,e)},Sxt.Th=function(t){Gq(this,t)},Sxt.ki=function(t){return $K(this,t)},Sxt.$b=function(){Wq(this)},Sxt.Fc=function(t){return qit(this,t)},Sxt.Xb=function(t){return sJ(this,t)},Sxt.li=function(t){var e,n,r;++this.j,t>(n=null==this.g?0:this.g.length)&&(r=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.mi(e),null!=r&&Yvt(r,0,this.g,0,this.i))},Sxt.Vc=function(t){return Zrt(this,t)},Sxt.dc=function(){return 0==this.i},Sxt.di=function(t,e){return qct(this,t,e)},Sxt.mi=function(t){return hK(gjt,zxt,1,t,5,1)},Sxt.fi=function(t){return this.g[t]},Sxt.Yc=function(t){return Nrt(this,t)},Sxt.hi=function(t,e){return eQ(this,t,e)},Sxt.gc=function(){return this.i},Sxt.Nc=function(){return aX(this)},Sxt.Oc=function(t){return _7(this,t)},Sxt.i=0;var Pne=tz(MOt,"BasicEList",60),Dne=NN(MOt,"TreeIterator");Zlt(687,60,qOt),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&RR(this.g[this.i-1],49).Ob():QH(this)},Sxt.Pb=function(){return rft(this)},Sxt.Qb=function(){if(!this.e)throw Jb(new jy("There is no valid object to remove."));this.e.Qb()},Sxt.c=!1;tz(MOt,"AbstractTreeIterator",687);Zlt(672,687,qOt,KT),Sxt.ni=function(t){var e;return zA(e=RR(t,55).Rg().Ic(),277)&&RR(e,277).Ik(new uu),e};tz(YOt,"ElkGraphUtil/PropertiesSkippingTreeIterator",672);Zlt(958,1,{},uu);tz(YOt,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",958);var One,Lne,Rne=tz(YOt,"ElkReflect",null);Zlt(868,1,VPt,cu),Sxt.qg=function(t){return CW(),function(t){var e;return e=RR(DB(t.b,t.b.length),9),new GL(t.a,e,t.c)}(RR(t,174))};var Nne;tz(YOt,"ElkReflect/lambda$0$Type",868),NN(MOt,"ResourceLocator");Zlt(1035,1,{});tz(MOt,"DelegatingResourceLocator",1035);Zlt(1036,1035,{});tz("org.eclipse.emf.common","EMFPlugin",1036);var jne=NN(NLt,"Adapter"),Fne=NN(NLt,"Notification");Zlt(1126,1,jLt),Sxt.oi=function(){return this.d},Sxt.pi=function(t){},Sxt.qi=function(t){this.d=t},Sxt.ri=function(t){this.d==t&&(this.d=null)},Sxt.d=null;tz(HDt,"AdapterImpl",1126);Zlt(1964,66,FLt),Sxt.Qh=function(t,e){return d7(this,t,e)},Sxt.Rh=function(t){var e,n,r;if(++this.j,t.dc())return!1;for(e=this.Qi(),r=t.Ic();r.Ob();)n=r.Pb(),this.Di(this.ji(e,n)),++e;return!0},Sxt.Sh=function(t,e){KD(this,t,e)},Sxt.Th=function(t){kz(this,t)},Sxt.Bi=function(){return this.Ei()},Sxt.$b=function(){ZD(this,this.Qi(),this.Ri())},Sxt.Fc=function(t){return this.Gi(t)},Sxt.Gc=function(t){return this.Hi(t)},Sxt.Ci=function(t,e){this.Ni().em()},Sxt.Di=function(t){this.Ni().em()},Sxt.Ei=function(){return this.Ni()},Sxt.Fi=function(){this.Ni().em()},Sxt.Gi=function(t){return this.Ni().em()},Sxt.Hi=function(t){return this.Ni().em()},Sxt.Ii=function(t){return this.Ni().em()},Sxt.Ji=function(t){return this.Ni().em()},Sxt.Ki=function(){return this.Ni().em()},Sxt.Li=function(t){return this.Ni().em()},Sxt.Mi=function(){return this.Ni().em()},Sxt.Oi=function(t){return this.Ni().em()},Sxt.Pi=function(t,e){return this.Ni().em()},Sxt.Qi=function(){return this.Ni().em()},Sxt.Ri=function(){return this.Ni().em()},Sxt.Si=function(t){return this.Ni().em()},Sxt.Ti=function(){return this.Ni().em()},Sxt.Fb=function(t){return this.Ii(t)},Sxt.Xb=function(t){return this.gi(t,this.Ji(t))},Sxt.Hb=function(){return this.Ki()},Sxt.Vc=function(t){return this.Li(t)},Sxt.dc=function(){return this.Mi()},Sxt.di=function(t,e){return Eot(this,t,e)},Sxt.fi=function(t){return this.Ji(t)},Sxt.Yc=function(t){return RN(this,t)},Sxt.Kc=function(t){var e;return(e=this.Vc(t))>=0&&(this.Yc(e),!0)},Sxt.hi=function(t,e){return this.Pi(t,this.ji(t,e))},Sxt.gc=function(){return this.Qi()},Sxt.Nc=function(){return this.Ri()},Sxt.Oc=function(t){return this.Si(t)},Sxt.Ib=function(){return this.Ti()};tz(MOt,"DelegatingEList",1964);Zlt(1965,1964,FLt),Sxt.Qh=function(t,e){return Mbt(this,t,e)},Sxt.Rh=function(t){return this.Qh(this.Qi(),t)},Sxt.Sh=function(t,e){Vlt(this,t,e)},Sxt.Th=function(t){_lt(this,t)},Sxt.Xh=function(){return!this.Yi()},Sxt.$b=function(){Fmt(this)},Sxt.Ui=function(t,e,n,r,i){return new UV(this,t,e,n,r,i)},Sxt.Vi=function(t){Y2(this.vi(),t)},Sxt.Wi=function(){return null},Sxt.Xi=function(){return-1},Sxt.vi=function(){return null},Sxt.Yi=function(){return!1},Sxt.Zi=function(t,e){return e},Sxt.$i=function(t,e){return e},Sxt._i=function(){return!1},Sxt.aj=function(){return!this.Mi()},Sxt.di=function(t,e){var n,r;return this._i()?(r=this.aj(),n=Eot(this,t,e),this.Vi(this.Ui(7,k8(e),n,t,r)),n):Eot(this,t,e)},Sxt.Yc=function(t){var e,n,r,i;return this._i()?(n=null,r=this.aj(),e=this.Ui(4,i=RN(this,t),null,t,r),this.Yi()&&i?(n=this.$i(i,n))?(n.zi(e),n.Ai()):this.Vi(e):n?(n.zi(e),n.Ai()):this.Vi(e),i):(i=RN(this,t),this.Yi()&&i&&(n=this.$i(i,null))&&n.Ai(),i)},Sxt.hi=function(t,e){return Cbt(this,t,e)};tz(HDt,"DelegatingNotifyingListImpl",1965);Zlt(142,1,BLt),Sxt.zi=function(t){return Tat(this,t)},Sxt.Ai=function(){bZ(this)},Sxt.si=function(){return this.d},Sxt.Wi=function(){return null},Sxt.bj=function(){return null},Sxt.ti=function(t){return-1},Sxt.ui=function(){return Pdt(this)},Sxt.vi=function(){return null},Sxt.wi=function(){return Ddt(this)},Sxt.xi=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},Sxt.cj=function(){return!1},Sxt.yi=function(t){var e,n,r,i,a,o,s,u;switch(this.d){case 1:case 2:switch(t.si()){case 1:case 2:if(DC(t.vi())===DC(this.vi())&&this.ti(null)==t.ti(null))return this.g=t.ui(),1==t.si()&&(this.d=1),!0}case 4:if(4===t.si())if(DC(t.vi())===DC(this.vi())&&this.ti(null)==t.ti(null))return o=Jmt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,r=t.xi(),this.d=6,u=new WQ(2),a<=r?(EK(u,this.n),EK(u,t.wi()),this.g=X3(uw(noe,1),uSt,24,15,[this.o=a,r+1])):(EK(u,t.wi()),EK(u,this.n),this.g=X3(uw(noe,1),uSt,24,15,[this.o=r,a])),this.n=u,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.si())if(DC(t.vi())===DC(this.vi())&&this.ti(null)==t.ti(null)){for(o=Jmt(this),r=t.xi(),s=RR(this.g,47),n=hK(noe,uSt,24,s.length+1,15,1),e=0;e<s.length&&(i=s[e])<=r;)n[e++]=i,++r;for(RR(this.n,14).Tc(e,t.wi()),n[e]=r;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return!1},Sxt.Ib=function(){var t,e,n;switch((n=new qE(Fx(this.bm)+"@"+(p5(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:$x(n,this.d)}if(dgt(this)&&(n.a+=", touch: true"),n.a+=", position: ",$x(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",VC(n,this.vi()),n.a+=", feature: ",VC(n,this.Wi()),n.a+=", oldValue: ",VC(n,Ddt(this)),n.a+=", newValue: ",6==this.d&&zA(this.g,47)){for(e=RR(this.g,47),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=Fxt);n.a+="]"}else VC(n,Pdt(this));return n.a+=", isTouch: ",Vx(n,dgt(this)),n.a+=", wasSet: ",Vx(n,Jmt(this)),n.a+=")",n.a},Sxt.d=0,Sxt.e=0,Sxt.f=0,Sxt.j=0,Sxt.k=0,Sxt.o=0,Sxt.p=0;tz(HDt,"NotificationImpl",142);Zlt(1140,142,BLt,UV),Sxt.Wi=function(){return this.a.Wi()},Sxt.ti=function(t){return this.a.Xi()},Sxt.vi=function(){return this.a.vi()};tz(HDt,"DelegatingNotifyingListImpl/1",1140);Zlt(241,60,XOt,lu,cx),Sxt.Dc=function(t){return p7(this,RR(t,363))},Sxt.zi=function(t){return p7(this,t)},Sxt.Ai=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=RR(this.g[t],363)).vi())&&-1!=e.si()&&RR(n,91).Ig(e)},Sxt.mi=function(t){return hK(Fne,zxt,363,t,0,1)};tz(HDt,"NotificationChainImpl",241);Zlt(1349,89,VDt),Sxt.Fg=function(){return this.e},Sxt.Hg=function(){return 0!=(1&this.f)},Sxt.f=1;tz(HDt,"NotifierImpl",1349);Zlt(1962,60,XOt),Sxt.Qh=function(t,e){return Vbt(this,t,e)},Sxt.Rh=function(t){return this.Qh(this.i,t)},Sxt.Sh=function(t,e){Olt(this,t,e)},Sxt.Th=function(t){$lt(this,t)},Sxt.Xh=function(){return!this.Yi()},Sxt.$b=function(){Omt(this)},Sxt.Ui=function(t,e,n,r,i){return new XV(this,t,e,n,r,i)},Sxt.Vi=function(t){Y2(this.vi(),t)},Sxt.Wi=function(){return null},Sxt.Xi=function(){return-1},Sxt.vi=function(){return null},Sxt.Yi=function(){return!1},Sxt.dj=function(){return!1},Sxt.Zi=function(t,e){return e},Sxt.$i=function(t,e){return e},Sxt._i=function(){return!1},Sxt.aj=function(){return 0!=this.i},Sxt.di=function(t,e){return Y8(this,t,e)},Sxt.Yc=function(t){return Kdt(this,t)},Sxt.hi=function(t,e){return pvt(this,t,e)},Sxt.ej=function(t,e){return e},Sxt.fj=function(t,e){return e},Sxt.gj=function(t,e,n){return n};tz(HDt,"NotifyingListImpl",1962);Zlt(1139,142,BLt,XV),Sxt.Wi=function(){return this.a.Wi()},Sxt.ti=function(t){return this.a.Xi()},Sxt.vi=function(){return this.a.vi()};tz(HDt,"NotifyingListImpl/1",1139);Zlt(959,60,XOt,sO),Sxt.Fc=function(t){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new YN(this),this.a=this.j),q_(this.b,t)):qit(this,t)},Sxt.ii=function(){return!0},Sxt.a=0;tz(MOt,"AbstractEList/1",959);Zlt(295,73,DSt,GO);tz(MOt,"AbstractEList/BasicIndexOutOfBoundsException",295);Zlt(39,1,qxt,SE),Sxt.Nb=function(t){WF(this,t)},Sxt.hj=function(){if(this.i.j!=this.f)throw Jb(new Sv)},Sxt.ij=function(){return Htt(this)},Sxt.Ob=function(){return this.e!=this.i.gc()},Sxt.Pb=function(){return this.ij()},Sxt.Qb=function(){zit(this)},Sxt.e=0,Sxt.f=0,Sxt.g=-1;tz(MOt,"AbstractEList/EIterator",39);Zlt(276,39,r_t,LP,SB),Sxt.Qb=function(){zit(this)},Sxt.Rb=function(t){Y9(this,t)},Sxt.jj=function(){var t;try{return t=this.d.Xb(--this.e),this.hj(),this.g=this.e,t}catch(t){throw zA(t=m3(t),73)?(this.hj(),Jb(new vv)):Jb(t)}},Sxt.kj=function(t){Dnt(this,t)},Sxt.Sb=function(){return 0!=this.e},Sxt.Tb=function(){return this.e},Sxt.Ub=function(){return this.jj()},Sxt.Vb=function(){return this.e-1},Sxt.Wb=function(t){this.kj(t)};tz(MOt,"AbstractEList/EListIterator",276);Zlt(341,39,qxt,RP),Sxt.ij=function(){return Wtt(this)},Sxt.Qb=function(){throw Jb(new _v)};tz(MOt,"AbstractEList/NonResolvingEIterator",341);Zlt(384,276,r_t,NP,yL),Sxt.Rb=function(t){throw Jb(new _v)},Sxt.ij=function(){var t;try{return t=this.c.fi(this.e),this.hj(),this.g=this.e++,t}catch(t){throw zA(t=m3(t),73)?(this.hj(),Jb(new vv)):Jb(t)}},Sxt.jj=function(){var t;try{return t=this.c.fi(--this.e),this.hj(),this.g=this.e,t}catch(t){throw zA(t=m3(t),73)?(this.hj(),Jb(new vv)):Jb(t)}},Sxt.Qb=function(){throw Jb(new _v)},Sxt.Wb=function(t){throw Jb(new _v)};var Bne;tz(MOt,"AbstractEList/NonResolvingEListIterator",384);Zlt(1955,66,VLt),Sxt.Qh=function(t,e){var n,r,i,a,o,s,u,c,l;if(0!=(r=e.gc())){for(n=M5(this,(c=null==(u=RR(n3(this.a,4),124))?0:u.length)+r),(l=c-t)>0&&Yvt(u,t,n,t+r,l),s=e.Ic(),a=0;a<r;++a)fA(n,t+a,o5(this,o=s.Pb()));for(cet(this,n),i=0;i<r;++i)o=n[t],this.Yh(t,o),++t;return!0}return++this.j,!1},Sxt.Rh=function(t){var e,n,r,i,a,o,s,u,c;if(0!=(r=t.gc())){for(e=M5(this,c=(u=null==(n=RR(n3(this.a,4),124))?0:n.length)+r),s=t.Ic(),a=u;a<c;++a)fA(e,a,o5(this,o=s.Pb()));for(cet(this,e),i=u;i<c;++i)o=e[i],this.Yh(i,o);return!0}return++this.j,!1},Sxt.Sh=function(t,e){var n,r,i,a;n=M5(this,(i=null==(r=RR(n3(this.a,4),124))?0:r.length)+1),a=o5(this,e),t!=i&&Yvt(r,t,n,t+1,i-t),nz(n,t,a),cet(this,n),this.Yh(t,e)},Sxt.Th=function(t){var e,n,r;fA(e=M5(this,(r=null==(n=RR(n3(this.a,4),124))?0:n.length)+1),r,o5(this,t)),cet(this,e),this.Yh(r,t)},Sxt.Uh=function(){return new kq(this)},Sxt.Vh=function(){return new RF(this)},Sxt.Wh=function(t){var e,n;if(n=null==(e=RR(n3(this.a,4),124))?0:e.length,t<0||t>n)throw Jb(new GO(t,n));return new Wz(this,t)},Sxt.$b=function(){var t,e;++this.j,e=null==(t=RR(n3(this.a,4),124))?0:t.length,cet(this,null),cK(this,e,t)},Sxt.Fc=function(t){var e,n,r,i;if(null!=(e=RR(n3(this.a,4),124)))if(null!=t){for(r=0,i=(n=e).length;r<i;++r)if(u8(t,n[r]))return!0}else for(r=0,i=(n=e).length;r<i;++r)if(DC(n[r])===DC(t))return!0;return!1},Sxt.Xb=function(t){var e,n;if(t>=(n=null==(e=RR(n3(this.a,4),124))?0:e.length))throw Jb(new GO(t,n));return e[t]},Sxt.Vc=function(t){var e,n,r;if(null!=(e=RR(n3(this.a,4),124)))if(null!=t){for(n=0,r=e.length;n<r;++n)if(u8(t,e[n]))return n}else for(n=0,r=e.length;n<r;++n)if(DC(e[n])===DC(t))return n;return-1},Sxt.dc=function(){return null==RR(n3(this.a,4),124)},Sxt.Ic=function(){return new Sq(this)},Sxt.Wc=function(){return new LF(this)},Sxt.Xc=function(t){var e,n;if(n=null==(e=RR(n3(this.a,4),124))?0:e.length,t<0||t>n)throw Jb(new GO(t,n));return new Hz(this,t)},Sxt.di=function(t,e){var n,r,i;if(t>=(i=null==(n=ett(this))?0:n.length))throw Jb(new My(WOt+t+GOt+i));if(e>=i)throw Jb(new My(UOt+e+GOt+i));return r=n[e],t!=e&&(t<e?Yvt(n,t,n,t+1,e-t):Yvt(n,e+1,n,e,t-e),nz(n,t,r),cet(this,n)),r},Sxt.fi=function(t){return RR(n3(this.a,4),124)[t]},Sxt.Yc=function(t){return function(t,e){var n,r,i,a,o;if(e>=(o=null==(n=RR(n3(t.a,4),124))?0:n.length))throw Jb(new GO(e,o));return i=n[e],1==o?r=null:(Yvt(n,0,r=hK(jne,$Lt,410,o-1,0,1),0,e),(a=o-e-1)>0&&Yvt(n,e+1,r,e,a)),cet(t,r),Hut(t,e,i),i}(this,t)},Sxt.hi=function(t,e){var n,r;return r=(n=ett(this))[t],fA(n,t,o5(this,e)),cet(this,n),r},Sxt.gc=function(){var t;return null==(t=RR(n3(this.a,4),124))?0:t.length},Sxt.Nc=function(){var t,e,n;return n=null==(t=RR(n3(this.a,4),124))?0:t.length,e=hK(jne,$Lt,410,n,0,1),n>0&&Yvt(t,0,e,0,n),e},Sxt.Oc=function(t){var e,n;return(n=null==(e=RR(n3(this.a,4),124))?0:e.length)>0&&(t.length<n&&(t=s1(g5(t).c,n)),Yvt(e,0,t,0,n)),t.length>n&&nz(t,n,null),t};tz(MOt,"ArrayDelegatingEList",1955);Zlt(1026,39,qxt,Sq),Sxt.hj=function(){if(this.b.j!=this.f||DC(RR(n3(this.b.a,4),124))!==DC(this.a))throw Jb(new Sv)},Sxt.Qb=function(){zit(this),this.a=RR(n3(this.b.a,4),124)};tz(MOt,"ArrayDelegatingEList/EIterator",1026);Zlt(698,276,r_t,LF,Hz),Sxt.hj=function(){if(this.b.j!=this.f||DC(RR(n3(this.b.a,4),124))!==DC(this.a))throw Jb(new Sv)},Sxt.kj=function(t){Dnt(this,t),this.a=RR(n3(this.b.a,4),124)},Sxt.Qb=function(){zit(this),this.a=RR(n3(this.b.a,4),124)};tz(MOt,"ArrayDelegatingEList/EListIterator",698);Zlt(1027,341,qxt,kq),Sxt.hj=function(){if(this.b.j!=this.f||DC(RR(n3(this.b.a,4),124))!==DC(this.a))throw Jb(new Sv)};tz(MOt,"ArrayDelegatingEList/NonResolvingEIterator",1027);Zlt(699,384,r_t,RF,Wz),Sxt.hj=function(){if(this.b.j!=this.f||DC(RR(n3(this.b.a,4),124))!==DC(this.a))throw Jb(new Sv)};tz(MOt,"ArrayDelegatingEList/NonResolvingEListIterator",699);Zlt(598,295,DSt,lT);tz(MOt,"BasicEList/BasicIndexOutOfBoundsException",598);Zlt(688,60,XOt,SC),Sxt.Tc=function(t,e){throw Jb(new _v)},Sxt.Dc=function(t){throw Jb(new _v)},Sxt.Uc=function(t,e){throw Jb(new _v)},Sxt.Ec=function(t){throw Jb(new _v)},Sxt.$b=function(){throw Jb(new _v)},Sxt.li=function(t){throw Jb(new _v)},Sxt.Ic=function(){return this.Uh()},Sxt.Wc=function(){return this.Vh()},Sxt.Xc=function(t){return this.Wh(t)},Sxt.di=function(t,e){throw Jb(new _v)},Sxt.ei=function(t,e){throw Jb(new _v)},Sxt.Yc=function(t){throw Jb(new _v)},Sxt.Kc=function(t){throw Jb(new _v)},Sxt.Zc=function(t,e){throw Jb(new _v)};tz(MOt,"BasicEList/UnmodifiableEList",688);Zlt(697,1,{3:1,19:1,15:1,14:1,57:1,580:1}),Sxt.Tc=function(t,e){!function(t,e,n){t.c.Tc(e,RR(n,133))}(this,t,RR(e,43))},Sxt.Dc=function(t){return function(t,e){return t.c.Dc(RR(e,133))}(this,RR(t,43))},Sxt.Hc=function(t){yq(this,t)},Sxt.Xb=function(t){return RR(sJ(this.c,t),133)},Sxt.di=function(t,e){return RR(this.c.di(t,e),43)},Sxt.ei=function(t,e){!function(t,e,n){t.c.ei(e,RR(n,133))}(this,t,RR(e,43))},Sxt.Jc=function(){return new lj(null,new ZW(this,16))},Sxt.Yc=function(t){return RR(this.c.Yc(t),43)},Sxt.Zc=function(t,e){return function(t,e,n){return RR(t.c.Zc(e,RR(n,133)),43)}(this,t,RR(e,43))},Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt.Mc=function(){return new lj(null,new ZW(this,16))},Sxt.Uc=function(t,e){return this.c.Uc(t,e)},Sxt.Ec=function(t){return this.c.Ec(t)},Sxt.$b=function(){this.c.$b()},Sxt.Fc=function(t){return this.c.Fc(t)},Sxt.Gc=function(t){return N3(this.c,t)},Sxt.lj=function(){var t,e;if(null==this.d){for(this.d=hK(Pne,HLt,60,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Ic();t.e!=t.i.gc();)xnt(this,RR(t.ij(),133));this.e=e}},Sxt.Fb=function(t){return AL(this,t)},Sxt.Hb=function(){return W3(this.c)},Sxt.Vc=function(t){return this.c.Vc(t)},Sxt.mj=function(){this.c=new mb(this)},Sxt.dc=function(){return 0==this.f},Sxt.Ic=function(){return this.c.Ic()},Sxt.Wc=function(){return this.c.Wc()},Sxt.Xc=function(t){return this.c.Xc(t)},Sxt.nj=function(){return uK(this)},Sxt.oj=function(t,e,n){return new hR(t,e,n)},Sxt.pj=function(){return new hu},Sxt.Kc=function(t){return _1(this,t)},Sxt.gc=function(){return this.f},Sxt._c=function(t,e){return new KW(this.c,t,e)},Sxt.Nc=function(){return this.c.Nc()},Sxt.Oc=function(t){return this.c.Oc(t)},Sxt.Ib=function(){return i7(this.c)},Sxt.e=0,Sxt.f=0;tz(MOt,"BasicEMap",697);Zlt(1021,60,XOt,mb),Sxt.Yh=function(t,e){!function(t,e){xnt(t.a,e)}(this,RR(e,133))},Sxt._h=function(t,e,n){++(this,RR(e,133),this).a.e},Sxt.ai=function(t,e){!function(t,e){q8(t.a,e)}(this,RR(e,133))},Sxt.bi=function(t,e,n){!function(t,e,n){q8(t.a,n),xnt(t.a,e)}(this,RR(e,133),RR(n,133))},Sxt.$h=function(t,e){i3(this.a)};tz(MOt,"BasicEMap/1",1021);Zlt(1022,60,XOt,hu),Sxt.mi=function(t){return hK(zne,WLt,602,t,0,1)};tz(MOt,"BasicEMap/2",1022);Zlt(1023,Qxt,Jxt,yb),Sxt.$b=function(){this.a.c.$b()},Sxt.Fc=function(t){return w7(this.a,t)},Sxt.Ic=function(){return 0==this.a.f?(CD(),$ne.a):new lx(this.a)},Sxt.Kc=function(t){var e;return e=this.a.f,ctt(this.a,t),this.a.f!=e},Sxt.gc=function(){return this.a.f};tz(MOt,"BasicEMap/3",1023);Zlt(GLt,28,Zxt,wb),Sxt.$b=function(){this.a.c.$b()},Sxt.Fc=function(t){return Spt(this.a,t)},Sxt.Ic=function(){return 0==this.a.f?(CD(),$ne.a):new hx(this.a)},Sxt.gc=function(){return this.a.f};tz(MOt,"BasicEMap/4",GLt);Zlt(1025,Qxt,Jxt,xb),Sxt.$b=function(){this.a.c.$b()},Sxt.Fc=function(t){var e,n,r,i,a,o,s,u,c;if(this.a.f>0&&zA(t,43)&&(this.a.lj(),i=null==(s=(u=RR(t,43)).ad())?0:p5(s),a=oO(this.a,i),e=this.a.d[a]))for(n=RR(e.g,364),c=e.i,o=0;o<c;++o)if((r=n[o]).Nh()==i&&r.Fb(u))return!0;return!1},Sxt.Ic=function(){return 0==this.a.f?(CD(),$ne.a):new oV(this.a)},Sxt.Kc=function(t){return sht(this,t)},Sxt.gc=function(){return this.a.f};tz(MOt,"BasicEMap/5",1025);Zlt(603,1,qxt,oV),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return-1!=this.b},Sxt.Pb=function(){var t;if(this.f.e!=this.c)throw Jb(new Sv);if(-1==this.b)throw Jb(new vv);return this.d=this.a,this.e=this.b,Lit(this),t=RR(this.f.d[this.d].g[this.e],133),this.qj(t)},Sxt.Qb=function(){if(this.f.e!=this.c)throw Jb(new Sv);if(-1==this.e)throw Jb(new wv);this.f.c.Kc(sJ(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},Sxt.qj=function(t){return t},Sxt.a=0,Sxt.b=-1,Sxt.c=0,Sxt.d=0,Sxt.e=0;tz(MOt,"BasicEMap/BasicEMapIterator",603);Zlt(1019,603,qxt,lx),Sxt.qj=function(t){return t.ad()};tz(MOt,"BasicEMap/BasicEMapKeyIterator",1019);Zlt(1020,603,qxt,hx),Sxt.qj=function(t){return t.bd()};tz(MOt,"BasicEMap/BasicEMapValueIterator",1020);Zlt(1018,1,Kxt,_b),Sxt.uc=function(t){S2(this,t)},Sxt.wc=function(t,e,n){return l9(this,t,e,n)},Sxt.$b=function(){this.a.c.$b()},Sxt._b=function(t){return pC(this,t)},Sxt.sc=function(t){return Spt(this.a,t)},Sxt.tc=function(){return!(t=this.a).g&&(t.g=new nu),!t.g.a&&(t.g.a=new xb(t)),t.g.a;var t},Sxt.Fb=function(t){return AL(this.a,t)},Sxt.vc=function(t){return M7(this.a,t)},Sxt.Hb=function(){return W3(this.a.c)},Sxt.dc=function(){return 0==this.a.f},Sxt.ec=function(){return!(t=this.a).g&&(t.g=new nu),!t.g.b&&(t.g.b=new yb(t)),t.g.b;var t},Sxt.xc=function(t,e){return $it(this.a,t,e)},Sxt.zc=function(t){return ctt(this.a,t)},Sxt.gc=function(){return this.a.f},Sxt.Ib=function(){return i7(this.a.c)},Sxt.Ac=function(){return!(t=this.a).g&&(t.g=new nu),!t.g.d&&(t.g.d=new wb(t)),t.g.d;var t};tz(MOt,"BasicEMap/DelegatingMap",1018);Zlt(602,1,{43:1,133:1,602:1},hR),Sxt.Fb=function(t){var e;return!!zA(t,43)&&(e=RR(t,43),(null!=this.b?u8(this.b,e.ad()):DC(this.b)===DC(e.ad()))&&(null!=this.c?u8(this.c,e.bd()):DC(this.c)===DC(e.bd())))},Sxt.Nh=function(){return this.a},Sxt.ad=function(){return this.b},Sxt.bd=function(){return this.c},Sxt.Hb=function(){return this.a^(null==this.c?0:p5(this.c))},Sxt.Oh=function(t){this.a=t},Sxt.Ph=function(t){throw Jb(new dv)},Sxt.cd=function(t){var e;return e=this.c,this.c=t,e},Sxt.Ib=function(){return this.b+"->"+this.c},Sxt.a=0;var zne=tz(MOt,"BasicEMap/EntryImpl",602);Zlt(531,1,{},nu);var $ne;tz(MOt,"BasicEMap/View",531);Zlt(751,1,{}),Sxt.Fb=function(t){return hht((mV(),YFt),t)},Sxt.Hb=function(){return J4((mV(),YFt))},Sxt.Ib=function(){return Uot((mV(),YFt))};tz(MOt,"ECollections/BasicEmptyUnmodifiableEList",751);Zlt(1283,1,r_t,fu),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){throw Jb(new _v)},Sxt.Ob=function(){return!1},Sxt.Sb=function(){return!1},Sxt.Pb=function(){throw Jb(new vv)},Sxt.Tb=function(){return 0},Sxt.Ub=function(){throw Jb(new vv)},Sxt.Vb=function(){return-1},Sxt.Qb=function(){throw Jb(new _v)},Sxt.Wb=function(t){throw Jb(new _v)};tz(MOt,"ECollections/BasicEmptyUnmodifiableEList/1",1283);Zlt(1281,751,{19:1,15:1,14:1,57:1},wm),Sxt.Tc=function(t,e){dx()},Sxt.Dc=function(t){return px()},Sxt.Uc=function(t,e){return gx()},Sxt.Ec=function(t){return bx()},Sxt.$b=function(){vx()},Sxt.Fc=function(t){return!1},Sxt.Gc=function(t){return!1},Sxt.Hc=function(t){yq(this,t)},Sxt.Xb=function(t){return qC((mV(),t)),null},Sxt.Vc=function(t){return-1},Sxt.dc=function(){return!0},Sxt.Ic=function(){return this.a},Sxt.Wc=function(){return this.a},Sxt.Xc=function(t){return this.a},Sxt.di=function(t,e){return mx()},Sxt.ei=function(t,e){yx()},Sxt.Jc=function(){return new lj(null,new ZW(this,16))},Sxt.Yc=function(t){return wx()},Sxt.Kc=function(t){return xx()},Sxt.Zc=function(t,e){return _x()},Sxt.gc=function(){return 0},Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt.Mc=function(){return new lj(null,new ZW(this,16))},Sxt._c=function(t,e){return mV(),new KW(YFt,t,e)},Sxt.Nc=function(){return dF((mV(),YFt))},Sxt.Oc=function(t){return mV(),Jnt(YFt,t)};tz(MOt,"ECollections/EmptyUnmodifiableEList",1281);Zlt(1282,751,{19:1,15:1,14:1,57:1,580:1},xm),Sxt.Tc=function(t,e){dx()},Sxt.Dc=function(t){return px()},Sxt.Uc=function(t,e){return gx()},Sxt.Ec=function(t){return bx()},Sxt.$b=function(){vx()},Sxt.Fc=function(t){return!1},Sxt.Gc=function(t){return!1},Sxt.Hc=function(t){yq(this,t)},Sxt.Xb=function(t){return qC((mV(),t)),null},Sxt.Vc=function(t){return-1},Sxt.dc=function(){return!0},Sxt.Ic=function(){return this.a},Sxt.Wc=function(){return this.a},Sxt.Xc=function(t){return this.a},Sxt.di=function(t,e){return mx()},Sxt.ei=function(t,e){yx()},Sxt.Jc=function(){return new lj(null,new ZW(this,16))},Sxt.Yc=function(t){return wx()},Sxt.Kc=function(t){return xx()},Sxt.Zc=function(t,e){return _x()},Sxt.gc=function(){return 0},Sxt.$c=function(t){I0(this,t)},Sxt.Lc=function(){return new ZW(this,16)},Sxt.Mc=function(){return new lj(null,new ZW(this,16))},Sxt._c=function(t,e){return mV(),new KW(YFt,t,e)},Sxt.Nc=function(){return dF((mV(),YFt))},Sxt.Oc=function(t){return mV(),Jnt(YFt,t)},Sxt.nj=function(){return mV(),mV(),KFt};tz(MOt,"ECollections/EmptyUnmodifiableEMap",1282);var Vne,Hne=NN(MOt,"Enumerator");Zlt(279,1,{279:1},Ppt),Sxt.Fb=function(t){var e;return this===t||!!zA(t,279)&&(e=RR(t,279),this.f==e.f&&function(t,e){return null==t?null==e:Dtt(t,e)}(this.i,e.i)&&wj(this.a,0!=(256&this.f)?0!=(256&e.f)?e.a:null:0!=(256&e.f)?null:e.a)&&wj(this.d,e.d)&&wj(this.g,e.g)&&wj(this.e,e.e)&&function(t,e){var n,r;if(t.j.length!=e.j.length)return!1;for(n=0,r=t.j.length;n<r;n++)if(!hL(t.j[n],e.j[n]))return!1;return!0}(this,e))},Sxt.Hb=function(){return this.f},Sxt.Ib=function(){return ebt(this)},Sxt.f=0;var Wne,Gne,Une,Xne=0,qne=0,Yne=0,Kne=0,Zne=0,Qne=0,Jne=0,tre=0,ere=0,nre=0,rre=0,ire=0,are=0;tz(MOt,"URI",279);Zlt(1071,44,JSt,_m),Sxt.xc=function(t,e){return RR(mW(this,HD(t),RR(e,279)),279)};tz(MOt,"URI/URICache",1071);Zlt(489,60,XOt,du,pj),Sxt.ci=function(){return!0};tz(MOt,"UniqueEList",489);Zlt(572,59,$_t,OZ);tz(MOt,"WrappedException",572);var ore,sre=NN(ADt,qLt),ure=NN(ADt,YLt),cre=NN(ADt,KLt),lre=NN(ADt,ZLt),hre=NN(ADt,QLt),fre=NN(ADt,"EClass"),dre=NN(ADt,"EDataType");Zlt(1156,44,JSt,Sm),Sxt.vc=function(t){return RC(t)?IH(this,t):PC(rH(this.f,t))};tz(ADt,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1156);var pre,gre=NN(ADt,"EEnum"),bre=NN(ADt,JLt),vre=NN(ADt,tRt),mre=NN(ADt,eRt),yre=NN(ADt,nRt),wre=NN(ADt,rRt);Zlt(1017,1,{},pu),Sxt.Ib=function(){return"NIL"};var xre;tz(ADt,"EStructuralFeature/Internal/DynamicValueHolder/1",1017);Zlt(1016,44,JSt,km),Sxt.vc=function(t){return RC(t)?IH(this,t):PC(rH(this.f,t))};tz(ADt,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1016);var _re,Sre,kre,Ire,Mre,Cre,Tre,Are,Ere,Pre,Dre,Ore,Lre,Rre,Nre,jre,Fre,Bre,zre,$re,Vre,Hre,Wre,Gre,Ure,Xre,qre=NN(ADt,iRt),Yre=NN(ADt,"EValidator/PatternMatcher"),Kre=NN(aRt,"FeatureMap/Entry");Zlt(530,1,{71:1},mC),Sxt.Xj=function(){return this.a},Sxt.bd=function(){return this.b};tz(QDt,"BasicEObjectImpl/1",530);Zlt(1015,1,oRt,yC),Sxt.Rj=function(t){return Yq(this.a,this.b,t)},Sxt.aj=function(){return JH(this.a,this.b)},Sxt.Wb=function(t){PH(this.a,this.b,t)},Sxt.Sj=function(){var t,e,n;t=this.a,e=this.b,(n=t.Tg(e))>=0?t.wh(n):_ct(t,e)};var Zre;tz(QDt,"BasicEObjectImpl/4",1015);Zlt(1956,1,{107:1}),Sxt.Yj=function(t){this.e=0==t?Zre:hK(gjt,zxt,1,t,5,1)},Sxt.xh=function(t){return this.e[t]},Sxt.yh=function(t,e){this.e[t]=e},Sxt.zh=function(t){this.e[t]=null},Sxt.Zj=function(){return this.c},Sxt.$j=function(){throw Jb(new _v)},Sxt._j=function(){throw Jb(new _v)},Sxt.ak=function(){return this.d},Sxt.bk=function(){return null!=this.e},Sxt.ck=function(t){this.c=t},Sxt.dk=function(t){throw Jb(new _v)},Sxt.ek=function(t){throw Jb(new _v)},Sxt.fk=function(t){this.d=t};tz(QDt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1956);Zlt(187,1956,{107:1},Th),Sxt.$j=function(){return this.a},Sxt._j=function(){return this.b},Sxt.dk=function(t){this.a=t},Sxt.ek=function(t){this.b=t};tz(QDt,"BasicEObjectImpl/EPropertiesHolderImpl",187);Zlt(498,96,ZDt,mu),Sxt.Fg=function(){return this.f},Sxt.Kg=function(){return this.k},Sxt.Mg=function(t,e){this.g=t,this.i=e},Sxt.Og=function(){return 0==(2&this.j)?this.uh():this.kh().Zj()},Sxt.Qg=function(){return this.i},Sxt.Hg=function(){return 0!=(1&this.j)},Sxt.$g=function(){return this.g},Sxt.fh=function(){return 0!=(4&this.j)},Sxt.kh=function(){return!this.k&&(this.k=new Th),this.k},Sxt.oh=function(t){this.kh().ck(t),t?this.j|=2:this.j&=-3},Sxt.qh=function(t){this.kh().ek(t),t?this.j|=4:this.j&=-5},Sxt.uh=function(){return(VB(),kre).S},Sxt.i=0,Sxt.j=1;var Qre;tz(QDt,"EObjectImpl",498);Zlt(763,498,{104:1,91:1,89:1,55:1,107:1,48:1,96:1},nN),Sxt.xh=function(t){return this.e[t]},Sxt.yh=function(t,e){this.e[t]=e},Sxt.zh=function(t){this.e[t]=null},Sxt.Og=function(){return this.d},Sxt.Tg=function(t){return c7(this.d,t)},Sxt.Vg=function(){return this.d},Sxt.Zg=function(){return null!=this.e},Sxt.kh=function(){return!this.k&&(this.k=new vu),this.k},Sxt.oh=function(t){this.d=t},Sxt.th=function(){var t;return null==this.e&&(t=HB(this.d),this.e=0==t?Qre:hK(gjt,zxt,1,t,5,1)),this},Sxt.vh=function(){return 0};tz(QDt,"DynamicEObjectImpl",763);Zlt(1347,763,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1},LN),Sxt.Fb=function(t){return this===t},Sxt.Hb=function(){return uP(this)},Sxt.oh=function(t){this.d=t,this.b=Uft(t,"key"),this.c=Uft(t,uOt)},Sxt.Nh=function(){var t;return-1==this.a&&(t=UZ(this,this.b),this.a=null==t?0:p5(t)),this.a},Sxt.ad=function(){return UZ(this,this.b)},Sxt.bd=function(){return UZ(this,this.c)},Sxt.Oh=function(t){this.a=t},Sxt.Ph=function(t){PH(this,this.b,t)},Sxt.cd=function(t){var e;return e=UZ(this,this.c),PH(this,this.c,t),e},Sxt.a=0;tz(QDt,"DynamicEObjectImpl/BasicEMapEntry",1347);Zlt(1348,1,{107:1},vu),Sxt.Yj=function(t){throw Jb(new _v)},Sxt.xh=function(t){throw Jb(new _v)},Sxt.yh=function(t,e){throw Jb(new _v)},Sxt.zh=function(t){throw Jb(new _v)},Sxt.Zj=function(){throw Jb(new _v)},Sxt.$j=function(){return this.a},Sxt._j=function(){return this.b},Sxt.ak=function(){return this.c},Sxt.bk=function(){throw Jb(new _v)},Sxt.ck=function(t){throw Jb(new _v)},Sxt.dk=function(t){this.a=t},Sxt.ek=function(t){this.b=t},Sxt.fk=function(t){this.c=t};tz(QDt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1348);Zlt(502,150,{104:1,91:1,89:1,581:1,147:1,55:1,107:1,48:1,96:1,502:1,150:1,113:1,116:1},yu),Sxt.Lg=function(t){return uit(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new hD((mxt(),Wre),oie,this)),this.b):(!this.b&&(this.b=new hD((mxt(),Wre),oie,this)),uK(this.b));case 3:return nW(this);case 4:return!this.a&&(this.a=new fE(Zee,this,4)),this.a;case 5:return!this.c&&(this.c=new wE(Zee,this,5)),this.c}return fZ(this,t-HB((mxt(),Ire)),$Q(RR(n3(this,16),26)||Ire,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 3:return this.Cb&&(n=(r=this.Db>>16)>=0?uit(this,n):this.Cb.dh(this,-1-r,null,n)),Zj(this,RR(t,147),n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Ire),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Ire)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 2:return!this.b&&(this.b=new hD((mxt(),Wre),oie,this)),EL(this.b,t,n);case 3:return Zj(this,null,n);case 4:return!this.a&&(this.a=new fE(Zee,this,4)),jet(this.a,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Ire),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Ire)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!nW(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return QU(this,t-HB((mxt(),Ire)),$Q(RR(n3(this,16),26)||Ire,t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void function(t,e){G1(t,null==e?null:(wz(e),e))}(this,HD(e));case 2:return!this.b&&(this.b=new hD((mxt(),Wre),oie,this)),void _2(this.b,e);case 3:return void $ft(this,RR(e,147));case 4:return!this.a&&(this.a=new fE(Zee,this,4)),Omt(this.a),!this.a&&(this.a=new fE(Zee,this,4)),void QB(this.a,RR(e,15));case 5:return!this.c&&(this.c=new wE(Zee,this,5)),Omt(this.c),!this.c&&(this.c=new wE(Zee,this,5)),void QB(this.c,RR(e,15))}I9(this,t-HB((mxt(),Ire)),$Q(RR(n3(this,16),26)||Ire,t),e)},Sxt.uh=function(){return mxt(),Ire},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void G1(this,null);case 2:return!this.b&&(this.b=new hD((mxt(),Wre),oie,this)),void this.b.c.$b();case 3:return void $ft(this,null);case 4:return!this.a&&(this.a=new fE(Zee,this,4)),void Omt(this.a);case 5:return!this.c&&(this.c=new wE(Zee,this,5)),void Omt(this.c)}t8(this,t-HB((mxt(),Ire)),$Q(RR(n3(this,16),26)||Ire,t))},Sxt.Ib=function(){return p8(this)},Sxt.d=null;tz(QDt,"EAnnotationImpl",502);Zlt(143,697,sRt,MK),Sxt.Sh=function(t,e){!function(t,e,n){RR(t.c,67).Sh(e,n)}(this,t,RR(e,43))},Sxt.gk=function(t,e){return function(t,e,n){return RR(t.c,67).gk(e,n)}(this,RR(t,43),e)},Sxt.ki=function(t){return RR(RR(this.c,67).ki(t),133)},Sxt.Uh=function(){return RR(this.c,67).Uh()},Sxt.Vh=function(){return RR(this.c,67).Vh()},Sxt.Wh=function(t){return RR(this.c,67).Wh(t)},Sxt.hk=function(t,e){return EL(this,t,e)},Sxt.Rj=function(t){return RR(this.c,76).Rj(t)},Sxt.mj=function(){},Sxt.aj=function(){return RR(this.c,76).aj()},Sxt.oj=function(t,e,n){var r;return(r=RR(bJ(this.b).Ih().Eh(this.b),133)).Oh(t),r.Ph(e),r.cd(n),r},Sxt.pj=function(){return new jb(this)},Sxt.Wb=function(t){_2(this,t)},Sxt.Sj=function(){RR(this.c,76).Sj()};tz(aRt,"EcoreEMap",143);Zlt(158,143,sRt,hD),Sxt.lj=function(){var t,e,n,r,i;if(null==this.d){for(i=hK(Pne,HLt,60,2*this.f+1,0,1),n=this.c.Ic();n.e!=n.i.gc();)!(t=i[r=((e=RR(n.ij(),133)).Nh()&Lxt)%i.length])&&(t=i[r]=new jb(this)),t.Dc(e);this.d=i}};tz(QDt,"EAnnotationImpl/1",158);Zlt(283,431,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,466:1,48:1,96:1,150:1,283:1,113:1,116:1}),Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!this.Vj();case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q}return fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 9:return ZB(this,n)}return RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Mj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Vj();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i)}return QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.nh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void this.Gh(HD(e));case 2:return void w8(this,Ay($D(e)));case 3:return void b8(this,Ay($D(e)));case 4:return void t1(this,RR(e,20).a);case 5:return void this.jk(RR(e,20).a);case 8:return void g6(this,RR(e,138));case 9:return void((n=dot(this,RR(e,86),null))&&n.Ai())}I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.uh=function(){return mxt(),Ure},Sxt.wh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void this.Gh(null);case 2:return void w8(this,!0);case 3:return void b8(this,!0);case 4:return void t1(this,0);case 5:return void this.jk(1);case 8:return void g6(this,null);case 9:return void((e=dot(this,null,null))&&e.Ai())}t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.Bh=function(){fit(this),this.Bb|=1},Sxt.Tj=function(){return fit(this)},Sxt.Uj=function(){return this.t},Sxt.Vj=function(){var t;return(t=this.t)>1||-1==t},Sxt.ci=function(){return 0!=(512&this.Bb)},Sxt.ik=function(t,e){return n8(this,t,e)},Sxt.jk=function(t){e1(this,t)},Sxt.Ib=function(){return Tlt(this)},Sxt.s=0,Sxt.t=1;tz(QDt,"ETypedElementImpl",283);Zlt(443,283,{104:1,91:1,89:1,147:1,191:1,55:1,170:1,65:1,107:1,466:1,48:1,96:1,150:1,443:1,283:1,113:1,116:1,665:1}),Sxt.Lg=function(t){return zrt(this,t)},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!this.Vj();case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GLt);case 11:return _P(),0!=(this.Bb&lRt);case 12:return _P(),0!=(this.Bb&jSt);case 13:return this.j;case 14:return gft(this);case 15:return _P(),0!=(this.Bb&cRt);case 16:return _P(),0!=(this.Bb&c_t);case 17:return iW(this)}return fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 17:return this.Cb&&(n=(r=this.Db>>16)>=0?zrt(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,17,n)}return RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Lj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 9:return ZB(this,n);case 17:return tbt(this,null,17,n)}return RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Mj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.Vj();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i);case 10:return 0==(this.Bb&GLt);case 11:return 0!=(this.Bb&lRt);case 12:return 0!=(this.Bb&jSt);case 13:return null!=this.j;case 14:return null!=gft(this);case 15:return 0!=(this.Bb&cRt);case 16:return 0!=(this.Bb&c_t);case 17:return!!iW(this)}return QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.nh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void $W(this,HD(e));case 2:return void w8(this,Ay($D(e)));case 3:return void b8(this,Ay($D(e)));case 4:return void t1(this,RR(e,20).a);case 5:return void this.jk(RR(e,20).a);case 8:return void g6(this,RR(e,138));case 9:return void((n=dot(this,RR(e,86),null))&&n.Ai());case 10:return void G8(this,Ay($D(e)));case 11:return void U8(this,Ay($D(e)));case 12:return void W8(this,Ay($D(e)));case 13:return void bC(this,HD(e));case 15:return void X8(this,Ay($D(e)));case 16:return void n9(this,Ay($D(e)))}I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.uh=function(){return mxt(),Gre},Sxt.wh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,87)&&uct($q(RR(this.Cb,87)),4),void D0(this,null);case 2:return void w8(this,!0);case 3:return void b8(this,!0);case 4:return void t1(this,0);case 5:return void this.jk(1);case 8:return void g6(this,null);case 9:return void((e=dot(this,null,null))&&e.Ai());case 10:return void G8(this,!0);case 11:return void U8(this,!1);case 12:return void W8(this,!1);case 13:return this.i=null,void i0(this,null);case 15:return void X8(this,!1);case 16:return void n9(this,!1)}t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.Bh=function(){G$(FZ((yut(),Sie),this)),fit(this),this.Bb|=1},Sxt.Bj=function(){return this.f},Sxt.uj=function(){return gft(this)},Sxt.Cj=function(){return iW(this)},Sxt.Gj=function(){return null},Sxt.kk=function(){return this.k},Sxt.Xi=function(){return this.n},Sxt.Hj=function(){return dat(this)},Sxt.Ij=function(){var t,e,n,r,i,a,o,s,u;return this.p||((null==(n=iW(this)).i&&Zbt(n),n.i).length,(r=this.Gj())&&HB(iW(r)),t=(o=(i=fit(this)).wj())?0!=(1&o.i)?o==roe?oFt:o==noe?bFt:o==soe?dFt:o==ooe?fFt:o==ioe?mFt:o==uoe?kFt:o==aoe?cFt:hFt:o:null,e=gft(this),s=i.uj(),v9(this),0!=(this.Bb&c_t)&&((a=Vit((yut(),Sie),n))&&a!=this||(a=iG(FZ(Sie,this))))?this.p=new xC(this,a):this.Vj()?this.mk()?r?0!=(this.Bb&cRt)?t?this.nk()?this.p=new nV(47,t,this,r):this.p=new nV(5,t,this,r):this.nk()?this.p=new IX(46,this,r):this.p=new IX(4,this,r):t?this.nk()?this.p=new nV(49,t,this,r):this.p=new nV(7,t,this,r):this.nk()?this.p=new IX(48,this,r):this.p=new IX(6,this,r):0!=(this.Bb&cRt)?t?t==Sjt?this.p=new fR(50,mne,this):this.nk()?this.p=new fR(43,t,this):this.p=new fR(1,t,this):this.nk()?this.p=new qV(42,this):this.p=new qV(0,this):t?t==Sjt?this.p=new fR(41,mne,this):this.nk()?this.p=new fR(45,t,this):this.p=new fR(3,t,this):this.nk()?this.p=new qV(44,this):this.p=new qV(2,this):zA(i,148)?t==Kre?this.p=new qV(40,this):0!=(512&this.Bb)?0!=(this.Bb&cRt)?this.p=t?new fR(9,t,this):new qV(8,this):this.p=t?new fR(11,t,this):new qV(10,this):0!=(this.Bb&cRt)?this.p=t?new fR(13,t,this):new qV(12,this):this.p=t?new fR(15,t,this):new qV(14,this):r?(u=r.t)>1||-1==u?this.nk()?0!=(this.Bb&cRt)?this.p=t?new nV(25,t,this,r):new IX(24,this,r):this.p=t?new nV(27,t,this,r):new IX(26,this,r):0!=(this.Bb&cRt)?this.p=t?new nV(29,t,this,r):new IX(28,this,r):this.p=t?new nV(31,t,this,r):new IX(30,this,r):this.nk()?0!=(this.Bb&cRt)?this.p=t?new nV(33,t,this,r):new IX(32,this,r):this.p=t?new nV(35,t,this,r):new IX(34,this,r):0!=(this.Bb&cRt)?this.p=t?new nV(37,t,this,r):new IX(36,this,r):this.p=t?new nV(39,t,this,r):new IX(38,this,r):this.nk()?0!=(this.Bb&cRt)?this.p=t?new fR(17,t,this):new qV(16,this):this.p=t?new fR(19,t,this):new qV(18,this):0!=(this.Bb&cRt)?this.p=t?new fR(21,t,this):new qV(20,this):this.p=t?new fR(23,t,this):new qV(22,this):this.lk()?this.nk()?this.p=new pR(RR(i,26),this,r):this.p=new vH(RR(i,26),this,r):zA(i,148)?t==Kre?this.p=new qV(40,this):0!=(this.Bb&cRt)?this.p=t?new nF(e,s,this,(P7(),o==noe?pie:o==roe?cie:o==ioe?gie:o==soe?die:o==ooe?fie:o==uoe?vie:o==aoe?lie:o==eoe?hie:bie)):new iV(RR(i,148),e,s,this):this.p=t?new eF(e,s,this,(P7(),o==noe?pie:o==roe?cie:o==ioe?gie:o==soe?die:o==ooe?fie:o==uoe?vie:o==aoe?lie:o==eoe?hie:bie)):new rV(RR(i,148),e,s,this):this.mk()?r?0!=(this.Bb&cRt)?this.nk()?this.p=new mR(RR(i,26),this,r):this.p=new vR(RR(i,26),this,r):this.nk()?this.p=new bR(RR(i,26),this,r):this.p=new gR(RR(i,26),this,r):0!=(this.Bb&cRt)?this.nk()?this.p=new yD(RR(i,26),this):this.p=new mD(RR(i,26),this):this.nk()?this.p=new vD(RR(i,26),this):this.p=new bD(RR(i,26),this):this.nk()?r?0!=(this.Bb&cRt)?this.p=new xR(RR(i,26),this,r):this.p=new yR(RR(i,26),this,r):0!=(this.Bb&cRt)?this.p=new _D(RR(i,26),this):this.p=new wD(RR(i,26),this):r?0!=(this.Bb&cRt)?this.p=new _R(RR(i,26),this,r):this.p=new wR(RR(i,26),this,r):0!=(this.Bb&cRt)?this.p=new xD(RR(i,26),this):this.p=new hj(RR(i,26),this)),this.p},Sxt.Dj=function(){return 0!=(this.Bb&GLt)},Sxt.lk=function(){return!1},Sxt.mk=function(){return!1},Sxt.Ej=function(){return 0!=(this.Bb&c_t)},Sxt.Jj=function(){return rQ(this)},Sxt.nk=function(){return!1},Sxt.Fj=function(){return 0!=(this.Bb&cRt)},Sxt.ok=function(t){this.k=t},Sxt.Gh=function(t){$W(this,t)},Sxt.Ib=function(){return Hpt(this)},Sxt.e=!1,Sxt.n=0;tz(QDt,"EStructuralFeatureImpl",443);Zlt(321,443,{104:1,91:1,89:1,32:1,147:1,191:1,55:1,170:1,65:1,107:1,466:1,48:1,96:1,321:1,150:1,443:1,283:1,113:1,116:1,665:1},Mm),Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),!!Gct(this);case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GLt);case 11:return _P(),0!=(this.Bb&lRt);case 12:return _P(),0!=(this.Bb&jSt);case 13:return this.j;case 14:return gft(this);case 15:return _P(),0!=(this.Bb&cRt);case 16:return _P(),0!=(this.Bb&c_t);case 17:return iW(this);case 18:return _P(),0!=(this.Bb&KDt);case 19:return e?G3(this):mY(this)}return fZ(this,t-HB((mxt(),Mre)),$Q(RR(n3(this,16),26)||Mre,t),e,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return Gct(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i);case 10:return 0==(this.Bb&GLt);case 11:return 0!=(this.Bb&lRt);case 12:return 0!=(this.Bb&jSt);case 13:return null!=this.j;case 14:return null!=gft(this);case 15:return 0!=(this.Bb&cRt);case 16:return 0!=(this.Bb&c_t);case 17:return!!iW(this);case 18:return 0!=(this.Bb&KDt);case 19:return!!mY(this)}return QU(this,t-HB((mxt(),Mre)),$Q(RR(n3(this,16),26)||Mre,t))},Sxt.nh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void $W(this,HD(e));case 2:return void w8(this,Ay($D(e)));case 3:return void b8(this,Ay($D(e)));case 4:return void t1(this,RR(e,20).a);case 5:return void Ax(this,RR(e,20).a);case 8:return void g6(this,RR(e,138));case 9:return void((n=dot(this,RR(e,86),null))&&n.Ai());case 10:return void G8(this,Ay($D(e)));case 11:return void U8(this,Ay($D(e)));case 12:return void W8(this,Ay($D(e)));case 13:return void bC(this,HD(e));case 15:return void X8(this,Ay($D(e)));case 16:return void n9(this,Ay($D(e)));case 18:return void t9(this,Ay($D(e)))}I9(this,t-HB((mxt(),Mre)),$Q(RR(n3(this,16),26)||Mre,t),e)},Sxt.uh=function(){return mxt(),Mre},Sxt.wh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,87)&&uct($q(RR(this.Cb,87)),4),void D0(this,null);case 2:return void w8(this,!0);case 3:return void b8(this,!0);case 4:return void t1(this,0);case 5:return this.b=0,void e1(this,1);case 8:return void g6(this,null);case 9:return void((e=dot(this,null,null))&&e.Ai());case 10:return void G8(this,!0);case 11:return void U8(this,!1);case 12:return void W8(this,!1);case 13:return this.i=null,void i0(this,null);case 15:return void X8(this,!1);case 16:return void n9(this,!1);case 18:return void t9(this,!1)}t8(this,t-HB((mxt(),Mre)),$Q(RR(n3(this,16),26)||Mre,t))},Sxt.Bh=function(){G3(this),G$(FZ((yut(),Sie),this)),fit(this),this.Bb|=1},Sxt.Vj=function(){return Gct(this)},Sxt.ik=function(t,e){return this.b=0,this.a=null,n8(this,t,e)},Sxt.jk=function(t){Ax(this,t)},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Hpt(this):((t=new qE(Hpt(this))).a+=" (iD: ",Vx(t,0!=(this.Bb&KDt)),t.a+=")",t.a)},Sxt.b=0;tz(QDt,"EAttributeImpl",321);Zlt(348,431,{104:1,91:1,89:1,138:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,150:1,113:1,116:1,664:1}),Sxt.pk=function(t){return t.Og()==this},Sxt.Lg=function(t){return Mrt(this,t)},Sxt.Mg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return art(this);case 4:return this.uj();case 5:return this.F;case 6:return e?bJ(this):aW(this);case 7:return!this.A&&(this.A=new vE(qre,this,7)),this.A}return fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Mrt(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,6,n)}return RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Lj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 6:return tbt(this,null,6,n);case 7:return!this.A&&(this.A=new vE(qre,this,7)),jet(this.A,t,n)}return RR($Q(RR(n3(this,16),26)||this.uh(),e),65).Ij().Mj(this,Ett(this),e-HB(this.uh()),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!art(this);case 4:return null!=this.uj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!aW(this);case 7:return!!this.A&&0!=this.A.i}return QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void VW(this,HD(e));case 2:return void GT(this,HD(e));case 5:return void Qmt(this,HD(e));case 7:return!this.A&&(this.A=new vE(qre,this,7)),Omt(this.A),!this.A&&(this.A=new vE(qre,this,7)),void QB(this.A,RR(e,15))}I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.uh=function(){return mxt(),Tre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,179)&&(RR(this.Cb,179).tb=null),void D0(this,null);case 2:return j5(this,null),void r1(this,this.D);case 5:return void Qmt(this,null);case 7:return!this.A&&(this.A=new vE(qre,this,7)),void Omt(this.A)}t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.tj=function(){var t;return-1==this.G&&(this.G=(t=bJ(this))?ent(t.Hh(),this):-1),this.G},Sxt.uj=function(){return null},Sxt.vj=function(){return bJ(this)},Sxt.qk=function(){return this.v},Sxt.wj=function(){return art(this)},Sxt.xj=function(){return null!=this.D?this.D:this.B},Sxt.yj=function(){return this.F},Sxt.rj=function(t){return Lbt(this,t)},Sxt.rk=function(t){this.v=t},Sxt.sk=function(t){e2(this,t)},Sxt.tk=function(t){this.C=t},Sxt.Gh=function(t){VW(this,t)},Sxt.Ib=function(){return f7(this)},Sxt.C=null,Sxt.D=null,Sxt.G=-1;var Jre,tie,eie;tz(QDt,"EClassifierImpl",348);Zlt(87,348,{104:1,91:1,89:1,26:1,138:1,147:1,191:1,55:1,107:1,48:1,96:1,87:1,348:1,150:1,467:1,113:1,116:1,664:1},Ah),Sxt.pk=function(t){return function(t,e){return e==t||qit(pft(e),t)}(this,t.Og())},Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return art(this);case 4:return null;case 5:return this.F;case 6:return e?bJ(this):aW(this);case 7:return!this.A&&(this.A=new vE(qre,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb);case 9:return _P(),0!=(512&this.Bb);case 10:return KV(this);case 11:return!this.q&&(this.q=new FF(mre,this,11,10)),this.q;case 12:return Wvt(this);case 13:return Lvt(this);case 14:return Lvt(this),this.r;case 15:return Wvt(this),this.k;case 16:return Rut(this);case 17:return wvt(this);case 18:return Zbt(this);case 19:return pft(this);case 20:return Wvt(this),this.o;case 21:return!this.s&&(this.s=new FF(cre,this,21,17)),this.s;case 22:return pX(this);case 23:return ypt(this)}return fZ(this,t-HB((mxt(),Cre)),$Q(RR(n3(this,16),26)||Cre,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Mrt(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,6,n);case 11:return!this.q&&(this.q=new FF(mre,this,11,10)),I7(this.q,t,n);case 21:return!this.s&&(this.s=new FF(cre,this,21,17)),I7(this.s,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Cre),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Cre)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 6:return tbt(this,null,6,n);case 7:return!this.A&&(this.A=new vE(qre,this,7)),jet(this.A,t,n);case 11:return!this.q&&(this.q=new FF(mre,this,11,10)),jet(this.q,t,n);case 21:return!this.s&&(this.s=new FF(cre,this,21,17)),jet(this.s,t,n);case 22:return jet(pX(this),t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Cre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Cre)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!art(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!aW(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==pX(this.u.a).i||this.n&&Tnt(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=Wvt(this).i;case 13:return 0!=Lvt(this).i;case 14:return Lvt(this),0!=this.r.i;case 15:return Wvt(this),0!=this.k.i;case 16:return 0!=Rut(this).i;case 17:return 0!=wvt(this).i;case 18:return 0!=Zbt(this).i;case 19:return 0!=pft(this).i;case 20:return Wvt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Tnt(this.n);case 23:return 0!=ypt(this).i}return QU(this,t-HB((mxt(),Cre)),$Q(RR(n3(this,16),26)||Cre,t))},Sxt.jh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:Uft(this,t))||uwt(this,t)},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void VW(this,HD(e));case 2:return void GT(this,HD(e));case 5:return void Qmt(this,HD(e));case 7:return!this.A&&(this.A=new vE(qre,this,7)),Omt(this.A),!this.A&&(this.A=new vE(qre,this,7)),void QB(this.A,RR(e,15));case 8:return void m8(this,Ay($D(e)));case 9:return void v8(this,Ay($D(e)));case 10:return Fmt(KV(this)),void QB(KV(this),RR(e,15));case 11:return!this.q&&(this.q=new FF(mre,this,11,10)),Omt(this.q),!this.q&&(this.q=new FF(mre,this,11,10)),void QB(this.q,RR(e,15));case 21:return!this.s&&(this.s=new FF(cre,this,21,17)),Omt(this.s),!this.s&&(this.s=new FF(cre,this,21,17)),void QB(this.s,RR(e,15));case 22:return Omt(pX(this)),void QB(pX(this),RR(e,15))}I9(this,t-HB((mxt(),Cre)),$Q(RR(n3(this,16),26)||Cre,t),e)},Sxt.uh=function(){return mxt(),Cre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,179)&&(RR(this.Cb,179).tb=null),void D0(this,null);case 2:return j5(this,null),void r1(this,this.D);case 5:return void Qmt(this,null);case 7:return!this.A&&(this.A=new vE(qre,this,7)),void Omt(this.A);case 8:return void m8(this,!1);case 9:return void v8(this,!1);case 10:return void(this.u&&Fmt(this.u));case 11:return!this.q&&(this.q=new FF(mre,this,11,10)),void Omt(this.q);case 21:return!this.s&&(this.s=new FF(cre,this,21,17)),void Omt(this.s);case 22:return void(this.n&&Omt(this.n))}t8(this,t-HB((mxt(),Cre)),$Q(RR(n3(this,16),26)||Cre,t))},Sxt.Bh=function(){var t,e;if(Wvt(this),Lvt(this),Rut(this),wvt(this),Zbt(this),pft(this),ypt(this),Wq(function(t){return!t.c&&(t.c=new Nu),t.c}($q(this))),this.s)for(t=0,e=this.s.i;t<e;++t)GP(sJ(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)GP(sJ(this.q,t));r8((yut(),Sie),this).ne(),this.Bb|=1},Sxt.Ib=function(){return vat(this)},Sxt.k=null,Sxt.r=null;tz(QDt,"EClassImpl",87);Zlt(1963,1962,xRt),Sxt.Qh=function(t,e){return Vbt(this,t,e)},Sxt.Rh=function(t){return Vbt(this,this.i,t)},Sxt.Sh=function(t,e){Olt(this,t,e)},Sxt.Th=function(t){$lt(this,t)},Sxt.gk=function(t,e){return I7(this,t,e)},Sxt.ki=function(t){return $K(this,t)},Sxt.hk=function(t,e){return jet(this,t,e)},Sxt.hi=function(t,e){return pvt(this,t,e)},Sxt.Uh=function(){return new RP(this)},Sxt.Vh=function(){return new NP(this)},Sxt.Wh=function(t){return i1(this,t)};tz(aRt,"NotifyingInternalEListImpl",1963);Zlt(612,1963,_Rt),Sxt.Fc=function(t){return Nmt(this,t)},Sxt.Ui=function(t,e,n,r,i){return sW(this,t,e,n,r,i)},Sxt.Vi=function(t){Cv(this,t)},Sxt.Rj=function(t){return this},Sxt.Xj=function(){return $Q(this.e.Og(),this.Xi())},Sxt.Wi=function(){return this.Xj()},Sxt.Xi=function(){return c7(this.e.Og(),this.Xj())},Sxt.uk=function(){return RR(this.Xj().Tj(),26).wj()},Sxt.vk=function(){return wnt(RR(this.Xj(),17)).n},Sxt.vi=function(){return this.e},Sxt.wk=function(){return!0},Sxt.xk=function(){return!1},Sxt.yk=function(){return!1},Sxt.zk=function(){return!1},Sxt.Vc=function(t){return ent(this,t)},Sxt.Zi=function(t,e){var n;return n=RR(t,48),this.yk()?this.wk()?n.ah(this.e,this.vk(),this.uk(),e):n.ah(this.e,c7(n.Og(),wnt(RR(this.Xj(),17))),null,e):n.ah(this.e,-1-this.Xi(),null,e)},Sxt.$i=function(t,e){var n;return n=RR(t,48),this.yk()?this.wk()?n.dh(this.e,this.vk(),this.uk(),e):n.dh(this.e,c7(n.Og(),wnt(RR(this.Xj(),17))),null,e):n.dh(this.e,-1-this.Xi(),null,e)},Sxt.mk=function(){return!1},Sxt.Ak=function(){return!0},Sxt.rj=function(t){return nX(this.d,t)},Sxt._i=function(){return FT(this.e)},Sxt.aj=function(){return 0!=this.i},Sxt.mi=function(t){return s1(this.d,t)},Sxt.gi=function(t,e){return this.Ak()&&this.zk()?Llt(this,t,RR(e,55)):e},Sxt.Bk=function(t){return t.fh()?P6(this.e,RR(t,48)):t},Sxt.Wb=function(t){FA(this,t)},Sxt.Nc=function(){var t;if(this.zk())for(t=this.i-1;t>=0;--t)sJ(this,t);return aX(this)},Sxt.Oc=function(t){var e;if(this.zk())for(e=this.i-1;e>=0;--e)sJ(this,e);return _7(this,t)},Sxt.Sj=function(){Omt(this)},Sxt.ji=function(t,e){return vJ(this,0,e)};tz(aRt,"EcoreEList",612);Zlt(488,612,_Rt,tN),Sxt.Xh=function(){return!1},Sxt.Xi=function(){return this.c},Sxt.Yi=function(){return!1},Sxt.Ak=function(){return!0},Sxt.ci=function(){return!0},Sxt.gi=function(t,e){return e},Sxt.ii=function(){return!1},Sxt.c=0;tz(aRt,"EObjectEList",488);Zlt(82,488,_Rt,fE),Sxt.Yi=function(){return!0},Sxt.yk=function(){return!1},Sxt.mk=function(){return!0};tz(aRt,"EObjectContainmentEList",82);Zlt(538,82,_Rt,dE),Sxt.Zh=function(){this.b=!0},Sxt.aj=function(){return this.b},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.b,this.b=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.b=!1},Sxt.b=!1;tz(aRt,"EObjectContainmentEList/Unsettable",538);Zlt(1113,538,_Rt,Jj),Sxt.di=function(t,e){var n,r;return n=RR(Y8(this,t,e),86),FT(this.e)&&Cv(this,new TK(this.a,7,(mxt(),Are),k8(e),zA(r=n.c,87)?RR(r,26):Fre,t)),n},Sxt.ej=function(t,e){return function(t,e,n){var r,i;return r=new LZ(t.e,3,10,null,zA(i=e.c,87)?RR(i,26):(mxt(),Fre),ent(t,e),!1),n?n.zi(r):n=r,n}(this,RR(t,86),e)},Sxt.fj=function(t,e){return function(t,e,n){var r,i;return r=new LZ(t.e,4,10,zA(i=e.c,87)?RR(i,26):(mxt(),Fre),null,ent(t,e),!1),n?n.zi(r):n=r,n}(this,RR(t,86),e)},Sxt.gj=function(t,e,n){return function(t,e,n,r){var i,a,o;return i=new LZ(t.e,1,10,zA(o=e.c,87)?RR(o,26):(mxt(),Fre),zA(a=n.c,87)?RR(a,26):(mxt(),Fre),ent(t,e),!1),r?r.zi(i):r=i,r}(this,RR(t,86),RR(e,86),n)},Sxt.Ui=function(t,e,n,r,i){switch(t){case 3:return sW(this,t,e,n,r,this.i>1);case 5:return sW(this,t,e,n,r,this.i-RR(n,14).gc()>0);default:return new LZ(this.e,t,this.c,e,n,r,!0)}},Sxt.dj=function(){return!0},Sxt.aj=function(){return Tnt(this)},Sxt.Sj=function(){Omt(this)};tz(QDt,"EClassImpl/1",1113);Zlt(1127,1126,jLt),Sxt.pi=function(t){var e,n,r,i,a,o,s;if(8!=(n=t.si())){if(r=function(t){switch(t.ti(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(t),0==r)switch(n){case 1:case 9:null!=(s=t.wi())&&(!(e=$q(RR(s,467))).c&&(e.c=new Nu),nQ(e.c,t.vi())),null!=(o=t.ui())&&0==(1&(i=RR(o,467)).Bb)&&(!(e=$q(i)).c&&(e.c=new Nu),EK(e.c,RR(t.vi(),26)));break;case 3:null!=(o=t.ui())&&0==(1&(i=RR(o,467)).Bb)&&(!(e=$q(i)).c&&(e.c=new Nu),EK(e.c,RR(t.vi(),26)));break;case 5:if(null!=(o=t.ui()))for(a=RR(o,15).Ic();a.Ob();)0==(1&(i=RR(a.Pb(),467)).Bb)&&(!(e=$q(i)).c&&(e.c=new Nu),EK(e.c,RR(t.vi(),26)));break;case 4:null!=(s=t.wi())&&0==(1&(i=RR(s,467)).Bb)&&(!(e=$q(i)).c&&(e.c=new Nu),nQ(e.c,t.vi()));break;case 6:if(null!=(s=t.wi()))for(a=RR(s,15).Ic();a.Ob();)0==(1&(i=RR(a.Pb(),467)).Bb)&&(!(e=$q(i)).c&&(e.c=new Nu),nQ(e.c,t.vi()))}this.Ck(r)}},Sxt.Ck=function(t){Bpt(this,t)},Sxt.b=63;tz(QDt,"ESuperAdapter",1127);Zlt(1128,1127,jLt,Sb),Sxt.Ck=function(t){uct(this,t)};tz(QDt,"EClassImpl/10",1128);Zlt(1117,688,_Rt),Sxt.Qh=function(t,e){return fot(this,t,e)},Sxt.Rh=function(t){return Xnt(this,t)},Sxt.Sh=function(t,e){e8(this,t,e)},Sxt.Th=function(t){Gq(this,t)},Sxt.ki=function(t){return $K(this,t)},Sxt.hi=function(t,e){return eQ(this,t,e)},Sxt.gk=function(t,e){throw Jb(new _v)},Sxt.Uh=function(){return new RP(this)},Sxt.Vh=function(){return new NP(this)},Sxt.Wh=function(t){return i1(this,t)},Sxt.hk=function(t,e){throw Jb(new _v)},Sxt.Rj=function(t){return this},Sxt.aj=function(){return 0!=this.i},Sxt.Wb=function(t){throw Jb(new _v)},Sxt.Sj=function(){throw Jb(new _v)};tz(aRt,"EcoreEList/UnmodifiableEList",1117);Zlt(317,1117,_Rt,hT),Sxt.ii=function(){return!1};tz(aRt,"EcoreEList/UnmodifiableEList/FastCompare",317);Zlt(1120,317,_Rt,I4),Sxt.Vc=function(t){var e,n;if(zA(t,170)&&-1!=(e=RR(t,170).Xi()))for(n=this.i;e<n;++e)if(DC(this.g[e])===DC(t))return e;return-1};tz(QDt,"EClassImpl/1EAllStructuralFeaturesList",1120);Zlt(1114,489,XOt,bu),Sxt.mi=function(t){return hK(vre,MRt,86,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/1EGenericSuperTypeEList",1114);Zlt(613,489,XOt,wu),Sxt.mi=function(t){return hK(cre,yRt,170,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/1EStructuralFeatureUniqueEList",613);Zlt(724,489,XOt,gu),Sxt.mi=function(t){return hK(wre,yRt,17,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/1ReferenceList",724);Zlt(1115,489,XOt,kb),Sxt.Yh=function(t,e){!function(t,e){0!=(e.Bb&KDt)&&!t.a.o&&(t.a.o=e)}(this,RR(e,32))},Sxt.mi=function(t){return hK(lre,yRt,32,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/2",1115);Zlt(1116,489,XOt,xu),Sxt.mi=function(t){return hK(lre,yRt,32,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/3",1116);Zlt(1118,317,_Rt,ZR),Sxt.Dc=function(t){return function(t,e){return Q_(),EK(kV(t.a),e)}(this,RR(t,32))},Sxt.Th=function(t){!function(t,e){$lt(kV(t.a),e)}(this,RR(t,32))};tz(QDt,"EClassImpl/4",1118);Zlt(1119,317,_Rt,QR),Sxt.Dc=function(t){return function(t,e){return Q_(),EK(kV(t.a),e)}(this,RR(t,17))},Sxt.Th=function(t){!function(t,e){$lt(kV(t.a),e)}(this,RR(t,17))};tz(QDt,"EClassImpl/5",1119);Zlt(1121,489,XOt,_u),Sxt.mi=function(t){return hK(mre,wRt,58,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/6",1121);Zlt(1122,489,XOt,Su),Sxt.mi=function(t){return hK(wre,yRt,17,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/7",1122);Zlt(1966,1965,{3:1,4:1,19:1,28:1,51:1,15:1,14:1,66:1,57:1,67:1}),Sxt.Qh=function(t,e){return Mbt(this,t,e)},Sxt.Rh=function(t){return Mbt(this,this.Qi(),t)},Sxt.Sh=function(t,e){Vlt(this,t,e)},Sxt.Th=function(t){_lt(this,t)},Sxt.gk=function(t,e){return function(t,e,n){var r,i,a;return t._i()?(r=t.Qi(),a=t.aj(),++t.j,t.Ci(r,t.ji(r,e)),i=t.Ui(3,null,e,r,a),n?n.zi(i):n=i):KD(t,t.Qi(),e),n}(this,t,e)},Sxt.hk=function(t,e){return function(t,e,n){var r,i,a,o;return-1!=(r=t.Vc(e))&&(t._i()?(a=t.aj(),o=RN(t,r),i=t.Ui(4,o,null,r,a),n?n.zi(i):n=i):RN(t,r)),n}(this,t,e)},Sxt.hi=function(t,e){return Cbt(this,t,e)},Sxt.ki=function(t){return this.Ji(t)},Sxt.Uh=function(){return new RP(this)},Sxt.Bi=function(){return this.Ei()},Sxt.Vh=function(){return new NP(this)},Sxt.Wh=function(t){return i1(this,t)};tz(aRt,"DelegatingNotifyingInternalEListImpl",1966);Zlt(725,1966,CRt),Sxt.Xh=function(){var t;return zA(t=$Q(ZV(this.b),this.Xi()).Tj(),148)&&!zA(t,450)&&0==(1&t.wj().i)},Sxt.Fc=function(t){var e,n,r,i,a,o,s;if(this.Ak()){if((s=this.Qi())>4){if(!this.rj(t))return!1;if(this.mk()){if(o=(e=(n=RR(t,48)).Pg())==this.b&&(this.yk()?n.Jg(n.Qg(),RR($Q(ZV(this.b),this.Xi()).Tj(),26).wj())==wnt(RR($Q(ZV(this.b),this.Xi()),17)).n:-1-n.Qg()==this.Xi()),this.zk()&&!o&&!e&&n.Ug())for(r=0;r<s;++r)if(DC(qF(this,this.Ji(r)))===DC(t))return!0;return o}if(this.yk()&&!this.xk()){if(DC(i=RR(t,55).Xg(wnt(RR($Q(ZV(this.b),this.Xi()),17))))===DC(this.b))return!0;if(null==i||!RR(i,55).fh())return!1}}if(a=this.Gi(t),this.zk()&&!a)for(r=0;r<s;++r)if(DC(n=qF(this,this.Ji(r)))===DC(t))return!0;return a}return this.Gi(t)},Sxt.Ui=function(t,e,n,r,i){return new LZ(this.b,t,this.Xi(),e,n,r,i)},Sxt.Vi=function(t){Y2(this.b,t)},Sxt.Rj=function(t){return this},Sxt.Wi=function(){return $Q(ZV(this.b),this.Xi())},Sxt.Xi=function(){return c7(ZV(this.b),$Q(ZV(this.b),this.Xi()))},Sxt.vi=function(){return this.b},Sxt.wk=function(){return!!$Q(ZV(this.b),this.Xi()).Tj().wj()},Sxt.Yi=function(){var t;return!!zA(t=$Q(ZV(this.b),this.Xi()),97)&&(0!=(RR(t,17).Bb&KDt)||!!wnt(RR(t,17)))},Sxt.xk=function(){var t,e,n;return!!zA(t=$Q(ZV(this.b),this.Xi()),97)&&(!!(e=wnt(RR(t,17)))&&((n=e.t)>1||-1==n))},Sxt.yk=function(){var t;return!!zA(t=$Q(ZV(this.b),this.Xi()),97)&&!!wnt(RR(t,17))},Sxt.zk=function(){var t;return!!zA(t=$Q(ZV(this.b),this.Xi()),97)&&0!=(RR(t,17).Bb&BSt)},Sxt.Vc=function(t){var e,n,r;if((n=this.Li(t))>=0)return n;if(this.Ak())for(e=0,r=this.Qi();e<r;++e)if(DC(qF(this,this.Ji(e)))===DC(t))return e;return-1},Sxt.Zi=function(t,e){var n;return n=RR(t,48),this.yk()?this.wk()?n.ah(this.b,wnt(RR($Q(ZV(this.b),this.Xi()),17)).n,RR($Q(ZV(this.b),this.Xi()).Tj(),26).wj(),e):n.ah(this.b,c7(n.Og(),wnt(RR($Q(ZV(this.b),this.Xi()),17))),null,e):n.ah(this.b,-1-this.Xi(),null,e)},Sxt.$i=function(t,e){var n;return n=RR(t,48),this.yk()?this.wk()?n.dh(this.b,wnt(RR($Q(ZV(this.b),this.Xi()),17)).n,RR($Q(ZV(this.b),this.Xi()).Tj(),26).wj(),e):n.dh(this.b,c7(n.Og(),wnt(RR($Q(ZV(this.b),this.Xi()),17))),null,e):n.dh(this.b,-1-this.Xi(),null,e)},Sxt.mk=function(){var t;return!!zA(t=$Q(ZV(this.b),this.Xi()),97)&&0!=(RR(t,17).Bb&KDt)},Sxt.Ak=function(){return zA($Q(ZV(this.b),this.Xi()).Tj(),87)},Sxt.rj=function(t){return $Q(ZV(this.b),this.Xi()).Tj().rj(t)},Sxt._i=function(){return FT(this.b)},Sxt.aj=function(){return!this.Mi()},Sxt.ci=function(){return $Q(ZV(this.b),this.Xi()).ci()},Sxt.gi=function(t,e){return tyt(this,t,e)},Sxt.Wb=function(t){Fmt(this),QB(this,RR(t,14))},Sxt.Nc=function(){var t;if(this.zk())for(t=this.Qi()-1;t>=0;--t)tyt(this,t,this.Ji(t));return this.Ri()},Sxt.Oc=function(t){var e;if(this.zk())for(e=this.Qi()-1;e>=0;--e)tyt(this,e,this.Ji(e));return this.Si(t)},Sxt.Sj=function(){Fmt(this)},Sxt.ji=function(t,e){return VK(this,0,e)};tz(aRt,"DelegatingEcoreEList",725);Zlt(1123,725,CRt,uO),Sxt.Ci=function(t,e){!function(t,e,n){J6(pX(t.a),e,HW(n))}(this,t,RR(e,26))},Sxt.Di=function(t){!function(t,e){EK(pX(t.a),HW(e))}(this,RR(t,26))},Sxt.Ji=function(t){var e;return zA(e=RR(sJ(pX(this.a),t),86).c,87)?RR(e,26):(mxt(),Fre)},Sxt.Oi=function(t){var e;return zA(e=RR(Kdt(pX(this.a),t),86).c,87)?RR(e,26):(mxt(),Fre)},Sxt.Pi=function(t,e){return function(t,e,n){var r,i,a;return(0!=(64&(a=zA(i=(r=RR(sJ(pX(t.a),e),86)).c,87)?RR(i,26):(mxt(),Fre)).Db)?P6(t.b,a):a)==n?Dbt(r):mJ(r,n),a}(this,t,RR(e,26))},Sxt.Xh=function(){return!1},Sxt.Ui=function(t,e,n,r,i){return null},Sxt.Ei=function(){return new Ib(this)},Sxt.Fi=function(){Omt(pX(this.a))},Sxt.Gi=function(t){return _8(this,t)},Sxt.Hi=function(t){var e;for(e=t.Ic();e.Ob();)if(!_8(this,e.Pb()))return!1;return!0},Sxt.Ii=function(t){var e,n,r;if(zA(t,14)&&(r=RR(t,14)).gc()==pX(this.a).i){for(e=r.Ic(),n=new SE(this);e.Ob();)if(DC(e.Pb())!==DC(Htt(n)))return!1;return!0}return!1},Sxt.Ki=function(){var t,e,n,r;for(e=1,t=new SE(pX(this.a));t.e!=t.i.gc();)e=31*e+((n=zA(r=RR(Htt(t),86).c,87)?RR(r,26):(mxt(),Fre))?uP(n):0);return e},Sxt.Li=function(t){var e,n,r,i;for(r=0,n=new SE(pX(this.a));n.e!=n.i.gc();){if(e=RR(Htt(n),86),DC(t)===DC(zA(i=e.c,87)?RR(i,26):(mxt(),Fre)))return r;++r}return-1},Sxt.Mi=function(){return 0==pX(this.a).i},Sxt.Ni=function(){return null},Sxt.Qi=function(){return pX(this.a).i},Sxt.Ri=function(){var t,e,n,r,i,a;for(a=pX(this.a).i,i=hK(gjt,zxt,1,a,5,1),n=0,e=new SE(pX(this.a));e.e!=e.i.gc();)t=RR(Htt(e),86),i[n++]=zA(r=t.c,87)?RR(r,26):(mxt(),Fre);return i},Sxt.Si=function(t){var e,n,r,i;for(i=pX(this.a).i,t.length<i&&(t=s1(g5(t).c,i)),t.length>i&&nz(t,i,null),n=0,e=new SE(pX(this.a));e.e!=e.i.gc();)nz(t,n++,zA(r=RR(Htt(e),86).c,87)?RR(r,26):(mxt(),Fre));return t},Sxt.Ti=function(){var t,e,n,r,i;for((i=new fw).a+="[",t=pX(this.a),e=0,r=pX(this.a).i;e<r;)HC(i,nP(zA(n=RR(sJ(t,e),86).c,87)?RR(n,26):(mxt(),Fre))),++e<r&&(i.a+=Fxt);return i.a+="]",i.a},Sxt.Vi=function(t){},Sxt.Xi=function(){return 10},Sxt.wk=function(){return!0},Sxt.Yi=function(){return!1},Sxt.xk=function(){return!1},Sxt.yk=function(){return!1},Sxt.zk=function(){return!0},Sxt.mk=function(){return!1},Sxt.Ak=function(){return!0},Sxt.rj=function(t){return zA(t,87)},Sxt.aj=function(){return!(!(t=this.a).u||0==pX(t.u.a).i||t.n&&Tnt(t.n));var t},Sxt.ci=function(){return!0},Sxt.ii=function(){return!0};tz(QDt,"EClassImpl/8",1123);Zlt(1124,1936,D_t,Ib),Sxt.Xc=function(t){return i1(this.a,t)},Sxt.gc=function(){return pX(this.a.a).i};tz(QDt,"EClassImpl/8/1",1124);Zlt(1125,489,XOt,ku),Sxt.mi=function(t){return hK(hre,zxt,138,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"EClassImpl/9",1125);Zlt(1112,70,tkt,Im);tz(QDt,"EClassImpl/MyHashSet",1112);Zlt(559,348,{104:1,91:1,89:1,138:1,148:1,813:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,150:1,113:1,116:1,664:1},fv),Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return art(this);case 4:return this.uj();case 5:return this.F;case 6:return e?bJ(this):aW(this);case 7:return!this.A&&(this.A=new vE(qre,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb)}return fZ(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!art(this);case 4:return null!=this.uj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!aW(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb)}return QU(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void VW(this,HD(e));case 2:return void GT(this,HD(e));case 5:return void Qmt(this,HD(e));case 7:return!this.A&&(this.A=new vE(qre,this,7)),Omt(this.A),!this.A&&(this.A=new vE(qre,this,7)),void QB(this.A,RR(e,15));case 8:return void y8(this,Ay($D(e)))}I9(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t),e)},Sxt.uh=function(){return mxt(),Ere},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,179)&&(RR(this.Cb,179).tb=null),void D0(this,null);case 2:return j5(this,null),void r1(this,this.D);case 5:return void Qmt(this,null);case 7:return!this.A&&(this.A=new vE(qre,this,7)),void Omt(this.A);case 8:return void y8(this,!0)}t8(this,t-HB(this.uh()),$Q(RR(n3(this,16),26)||this.uh(),t))},Sxt.Bh=function(){r8((yut(),Sie),this).ne(),this.Bb|=1},Sxt.Aj=function(){var t,e;if(!this.c&&!(t=Xht(bJ(this))).dc())for(e=t.Ic();e.Ob();)abt(this,HD(e.Pb()))&&J8(this);return this.b},Sxt.uj=function(){var t;if(!this.e){t=null;try{t=art(this)}catch(t){if(!zA(t=m3(t),102))throw Jb(t)}this.d=null,t&&0!=(1&t.i)&&(this.d=t==roe?(_P(),rFt):t==noe?k8(0):t==soe?new Vf(0):t==ooe?0:t==ioe?mtt(0):t==uoe?S8(0):t==aoe?dQ(0):Y3(0)),this.e=!0}return this.d},Sxt.zj=function(){return 0!=(256&this.Bb)},Sxt.Dk=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},Sxt.sk=function(t){e2(this,t),this.Dk(t)},Sxt.tk=function(t){this.C=t,this.e=!1},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?f7(this):((t=new qE(f7(this))).a+=" (serializable: ",Vx(t,0!=(256&this.Bb)),t.a+=")",t.a)},Sxt.c=!1,Sxt.d=null,Sxt.e=!1;tz(QDt,"EDataTypeImpl",559);Zlt(450,559,{104:1,91:1,89:1,138:1,148:1,813:1,659:1,147:1,191:1,55:1,107:1,48:1,96:1,348:1,450:1,150:1,113:1,116:1,664:1},Cm),Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return art(this);case 4:return X5(this);case 5:return this.F;case 6:return e?bJ(this):aW(this);case 7:return!this.A&&(this.A=new vE(qre,this,7)),this.A;case 8:return _P(),0!=(256&this.Bb);case 9:return!this.a&&(this.a=new FF(bre,this,9,5)),this.a}return fZ(this,t-HB((mxt(),Pre)),$Q(RR(n3(this,16),26)||Pre,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 6:return this.Cb&&(n=(r=this.Db>>16)>=0?Mrt(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,6,n);case 9:return!this.a&&(this.a=new FF(bre,this,9,5)),I7(this.a,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Pre),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Pre)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 6:return tbt(this,null,6,n);case 7:return!this.A&&(this.A=new vE(qre,this,7)),jet(this.A,t,n);case 9:return!this.a&&(this.a=new FF(bre,this,9,5)),jet(this.a,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Pre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Pre)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!art(this);case 4:return!!X5(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!aW(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return QU(this,t-HB((mxt(),Pre)),$Q(RR(n3(this,16),26)||Pre,t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void VW(this,HD(e));case 2:return void GT(this,HD(e));case 5:return void Qmt(this,HD(e));case 7:return!this.A&&(this.A=new vE(qre,this,7)),Omt(this.A),!this.A&&(this.A=new vE(qre,this,7)),void QB(this.A,RR(e,15));case 8:return void y8(this,Ay($D(e)));case 9:return!this.a&&(this.a=new FF(bre,this,9,5)),Omt(this.a),!this.a&&(this.a=new FF(bre,this,9,5)),void QB(this.a,RR(e,15))}I9(this,t-HB((mxt(),Pre)),$Q(RR(n3(this,16),26)||Pre,t),e)},Sxt.uh=function(){return mxt(),Pre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,179)&&(RR(this.Cb,179).tb=null),void D0(this,null);case 2:return j5(this,null),void r1(this,this.D);case 5:return void Qmt(this,null);case 7:return!this.A&&(this.A=new vE(qre,this,7)),void Omt(this.A);case 8:return void y8(this,!0);case 9:return!this.a&&(this.a=new FF(bre,this,9,5)),void Omt(this.a)}t8(this,t-HB((mxt(),Pre)),$Q(RR(n3(this,16),26)||Pre,t))},Sxt.Bh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)GP(sJ(this.a,t));r8((yut(),Sie),this).ne(),this.Bb|=1},Sxt.uj=function(){return X5(this)},Sxt.rj=function(t){return null!=t},Sxt.Dk=function(t){};tz(QDt,"EEnumImpl",450);Zlt(565,431,{104:1,91:1,89:1,1912:1,666:1,147:1,191:1,55:1,107:1,48:1,96:1,565:1,150:1,113:1,116:1},hv),Sxt.ne=function(){return this.zb},Sxt.Lg=function(t){return oit(this,t)},Sxt.Wg=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return k8(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(r=this.c)?this.zb:r;case 5:return this.Db>>16==5?RR(this.Cb,659):null}return fZ(this,t-HB((mxt(),Dre)),$Q(RR(n3(this,16),26)||Dre,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 5:return this.Cb&&(n=(r=this.Db>>16)>=0?oit(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,5,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Dre),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Dre)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 5:return tbt(this,null,5,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Dre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Dre)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!RR(this.Cb,659))}return QU(this,t-HB((mxt(),Dre)),$Q(RR(n3(this,16),26)||Dre,t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void D0(this,HD(e));case 2:return void n1(this,RR(e,20).a);case 3:return void flt(this,RR(e,1912));case 4:return void X1(this,HD(e))}I9(this,t-HB((mxt(),Dre)),$Q(RR(n3(this,16),26)||Dre,t),e)},Sxt.uh=function(){return mxt(),Dre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void D0(this,null);case 2:return void n1(this,0);case 3:return void flt(this,null);case 4:return void X1(this,null)}t8(this,t-HB((mxt(),Dre)),$Q(RR(n3(this,16),26)||Dre,t))},Sxt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},Sxt.b=null,Sxt.c=null,Sxt.d=0;tz(QDt,"EEnumLiteralImpl",565);var nie=NN(QDt,"EFactoryImpl/InternalEDateTimeFormat");Zlt(482,1,{1984:1},Mb);var rie;tz(QDt,"EFactoryImpl/1ClientInternalEDateTimeFormat",482);Zlt(240,116,{104:1,91:1,89:1,86:1,55:1,107:1,48:1,96:1,240:1,113:1,116:1},Ub),Sxt.Ng=function(t,e,n){var r;return n=tbt(this,t,e,n),this.e&&zA(t,170)&&(r=hft(this,this.e))!=this.c&&(n=Lyt(this,r,n)),n},Sxt.Wg=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new fE(vre,this,1)),this.d;case 2:return e?Dbt(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?Ont(this):this.a}return fZ(this,t-HB((mxt(),Lre)),$Q(RR(n3(this,16),26)||Lre,t),e,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return R6(this,null,n);case 1:return!this.d&&(this.d=new fE(vre,this,1)),jet(this.d,t,n);case 3:return L6(this,null,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Lre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Lre)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return QU(this,t-HB((mxt(),Lre)),$Q(RR(n3(this,16),26)||Lre,t))},Sxt.nh=function(t,e){switch(t){case 0:return void wat(this,RR(e,86));case 1:return!this.d&&(this.d=new fE(vre,this,1)),Omt(this.d),!this.d&&(this.d=new fE(vre,this,1)),void QB(this.d,RR(e,15));case 3:return void yat(this,RR(e,86));case 4:return void Yot(this,RR(e,814));case 5:return void mJ(this,RR(e,138))}I9(this,t-HB((mxt(),Lre)),$Q(RR(n3(this,16),26)||Lre,t),e)},Sxt.uh=function(){return mxt(),Lre},Sxt.wh=function(t){switch(t){case 0:return void wat(this,null);case 1:return!this.d&&(this.d=new fE(vre,this,1)),void Omt(this.d);case 3:return void yat(this,null);case 4:return void Yot(this,null);case 5:return void mJ(this,null)}t8(this,t-HB((mxt(),Lre)),$Q(RR(n3(this,16),26)||Lre,t))},Sxt.Ib=function(){var t;return(t=new YE(Fht(this))).a+=" (expression: ",emt(this,t),t.a+=")",t.a};tz(QDt,"EGenericTypeImpl",240);Zlt(1950,1936,TRt),Sxt.Sh=function(t,e){iO(this,t,e)},Sxt.gk=function(t,e){return iO(this,this.gc(),t),e},Sxt.ki=function(t){return met(this.Bi(),t)},Sxt.Uh=function(){return this.Vh()},Sxt.Bi=function(){return new Nb(this)},Sxt.Vh=function(){return this.Wh(0)},Sxt.Wh=function(t){return this.Bi().Xc(t)},Sxt.hk=function(t,e){return u7(this,t,!0),e},Sxt.di=function(t,e){var n;return n=jrt(this,e),this.Xc(t).Rb(n),n},Sxt.ei=function(t,e){u7(this,e,!0),this.Xc(t).Rb(e)};var iie;tz(aRt,"AbstractSequentialInternalEList",1950);Zlt(481,1950,TRt,AP),Sxt.ki=function(t){return met(this.Bi(),t)},Sxt.Uh=function(){return null==this.b?(qS(),qS(),aie):this.Ek()},Sxt.Bi=function(){return new dT(this.a,this.b)},Sxt.Vh=function(){return null==this.b?(qS(),qS(),aie):this.Ek()},Sxt.Wh=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw Jb(new My(zLt+t+", size=0"));return qS(),qS(),aie}for(n=this.Ek(),e=0;e<t;++e)r3(n);return n},Sxt.dc=function(){var t,e,n,r,i,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Hk()||this.a.hh(t))if(a=this.a.Yg(t,!1),ek(),RR(t,65).Jj()){for(r=0,i=(e=RR(a,152)).gc();r<i;++r)if(WB(e.dl(r))&&null!=e.el(r))return!1}else if(t.Vj()){if(!RR(a,15).dc())return!1}else if(null!=a)return!1;return!0},Sxt.Ic=function(){return o0(this)},Sxt.Xc=function(t){var e,n;if(null==this.b){if(0!=t)throw Jb(new My(zLt+t+", size=0"));return qS(),qS(),aie}for(n=this.Gk()?this.Fk():this.Ek(),e=0;e<t;++e)r3(n);return n},Sxt.di=function(t,e){throw Jb(new _v)},Sxt.ei=function(t,e){throw Jb(new _v)},Sxt.Ek=function(){return new EP(this.a,this.b)},Sxt.Fk=function(){return new dD(this.a,this.b)},Sxt.Gk=function(){return!0},Sxt.gc=function(){var t,e,n,r,i,a,o;if(i=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Hk()||this.a.hh(t))if(o=this.a.Yg(t,!1),ek(),RR(t,65).Jj())for(r=0,a=(e=RR(o,152)).gc();r<a;++r)WB(e.dl(r))&&null!=e.el(r)&&++i;else t.Vj()?i+=RR(o,15).gc():null!=o&&++i;return i},Sxt.Hk=function(){return!0};tz(aRt,"EContentsEList",481);Zlt(1129,481,TRt,fD),Sxt.Ek=function(){return new pD(this.a,this.b)},Sxt.Fk=function(){return new gD(this.a,this.b)},Sxt.Hk=function(){return!1};var aie;tz(QDt,"ENamedElementImpl/1",1129);Zlt(277,1,ARt,EP),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){throw Jb(new _v)},Sxt.Ik=function(t){if(0!=this.g||this.e)throw Jb(new jy("Iterator already in use or already filtered"));this.e=t},Sxt.Ob=function(){var t,e,n,r,i,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?gut(this,this.p):dlt(this)))return i=this.p?this.p.Pb():this.j?this.j.ki(this.n++):this.k.Xb(this.n++),this.f?((t=RR(i,71)).Xj(),n=t.bd(),this.i=n):(n=i,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Bj()!=Qee||0!=e.Xi())&&(!this.Hk()||this.b.hh(e)))if(a=this.b.Yg(e,this.Gk()),this.f=(ek(),RR(e,65).Jj()),this.f||e.Vj()){if(this.Gk()?(r=RR(a,14),this.k=r):(r=RR(a,67),this.k=this.j=r),zA(this.k,53)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.Vh():this.k.Wc(),this.p?gut(this,this.p):dlt(this))return i=this.p?this.p.Pb():this.j?this.j.ki(this.n++):this.k.Xb(this.n++),this.f?((t=RR(i,71)).Xj(),n=t.bd(),this.i=n):(n=i,this.i=n),this.g=3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},Sxt.Sb=function(){var t,e,n,r,i,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?but(this,this.p):Qut(this)))return i=this.p?this.p.Ub():this.j?this.j.ki(--this.n):this.k.Xb(--this.n),this.f?((t=RR(i,71)).Xj(),n=t.bd(),this.i=n):(n=i,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Bj()!=Qee||0!=e.Xi())&&(!this.Hk()||this.b.hh(e)))if(a=this.b.Yg(e,this.Gk()),this.f=(ek(),RR(e,65).Jj()),this.f||e.Vj()){if(this.Gk()?(r=RR(a,14),this.k=r):(r=RR(a,67),this.k=this.j=r),zA(this.k,53)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j.Wh(this.k.gc()):this.k.Xc(this.k.gc()),this.p?but(this,this.p):Qut(this))return i=this.p?this.p.Ub():this.j?this.j.ki(--this.n):this.k.Xb(--this.n),this.f?((t=RR(i,71)).Xj(),n=t.bd(),this.i=n):(n=i,this.i=n),this.g=-3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},Sxt.Pb=function(){return r3(this)},Sxt.Tb=function(){return this.a},Sxt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw Jb(new vv)},Sxt.Vb=function(){return this.a-1},Sxt.Qb=function(){throw Jb(new _v)},Sxt.Gk=function(){return!1},Sxt.Wb=function(t){throw Jb(new _v)},Sxt.Hk=function(){return!0},Sxt.a=0,Sxt.d=0,Sxt.f=!1,Sxt.g=0,Sxt.n=0,Sxt.o=0;tz(aRt,"EContentsEList/FeatureIteratorImpl",277);Zlt(689,277,ARt,dD),Sxt.Gk=function(){return!0};tz(aRt,"EContentsEList/ResolvingFeatureIteratorImpl",689);Zlt(1130,689,ARt,gD),Sxt.Hk=function(){return!1};tz(QDt,"ENamedElementImpl/1/1",1130);Zlt(1131,277,ARt,pD),Sxt.Hk=function(){return!1};tz(QDt,"ENamedElementImpl/1/2",1131);Zlt(35,142,BLt,SX,kX,NF,CK,LZ,Iq,p1,TG,g1,AG,Cq,EG,m1,PG,Tq,DG,b1,OG,jF,TK,$V,v1,LG,Mq,RG),Sxt.Wi=function(){return SK(this)},Sxt.bj=function(){var t;return(t=SK(this))?t.uj():null},Sxt.ti=function(t){return-1==this.b&&this.a&&(this.b=this.c.Sg(this.a.Xi(),this.a.Bj())),this.c.Jg(this.b,t)},Sxt.vi=function(){return this.c},Sxt.cj=function(){var t;return!!(t=SK(this))&&t.Fj()},Sxt.b=-1;tz(QDt,"ENotificationImpl",35);Zlt(395,283,{104:1,91:1,89:1,147:1,191:1,55:1,58:1,107:1,466:1,48:1,96:1,150:1,395:1,283:1,113:1,116:1},Tm),Sxt.Lg=function(t){return mit(this,t)},Sxt.Wg=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(r=this.t)>1||-1==r;case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?RR(this.Cb,26):null;case 11:return!this.d&&(this.d=new vE(qre,this,11)),this.d;case 12:return!this.c&&(this.c=new FF(yre,this,12,10)),this.c;case 13:return!this.a&&(this.a=new cO(this,this)),this.a;case 14:return NZ(this)}return fZ(this,t-HB((mxt(),Bre)),$Q(RR(n3(this,16),26)||Bre,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?mit(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,10,n);case 12:return!this.c&&(this.c=new FF(yre,this,12,10)),I7(this.c,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Bre),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Bre)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 9:return ZB(this,n);case 10:return tbt(this,null,10,n);case 11:return!this.d&&(this.d=new vE(qre,this,11)),jet(this.d,t,n);case 12:return!this.c&&(this.c=new FF(yre,this,12,10)),jet(this.c,t,n);case 14:return jet(NZ(this),t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Bre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Bre)),t,n)},Sxt.gh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i);case 10:return!(this.Db>>16!=10||!RR(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==NZ(this.a.a).i||this.b&&Ant(this.b));case 14:return!!this.b&&Ant(this.b)}return QU(this,t-HB((mxt(),Bre)),$Q(RR(n3(this,16),26)||Bre,t))},Sxt.nh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void D0(this,HD(e));case 2:return void w8(this,Ay($D(e)));case 3:return void b8(this,Ay($D(e)));case 4:return void t1(this,RR(e,20).a);case 5:return void e1(this,RR(e,20).a);case 8:return void g6(this,RR(e,138));case 9:return void((n=dot(this,RR(e,86),null))&&n.Ai());case 11:return!this.d&&(this.d=new vE(qre,this,11)),Omt(this.d),!this.d&&(this.d=new vE(qre,this,11)),void QB(this.d,RR(e,15));case 12:return!this.c&&(this.c=new FF(yre,this,12,10)),Omt(this.c),!this.c&&(this.c=new FF(yre,this,12,10)),void QB(this.c,RR(e,15));case 13:return!this.a&&(this.a=new cO(this,this)),Fmt(this.a),!this.a&&(this.a=new cO(this,this)),void QB(this.a,RR(e,15));case 14:return Omt(NZ(this)),void QB(NZ(this),RR(e,15))}I9(this,t-HB((mxt(),Bre)),$Q(RR(n3(this,16),26)||Bre,t),e)},Sxt.uh=function(){return mxt(),Bre},Sxt.wh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void D0(this,null);case 2:return void w8(this,!0);case 3:return void b8(this,!0);case 4:return void t1(this,0);case 5:return void e1(this,1);case 8:return void g6(this,null);case 9:return void((e=dot(this,null,null))&&e.Ai());case 11:return!this.d&&(this.d=new vE(qre,this,11)),void Omt(this.d);case 12:return!this.c&&(this.c=new FF(yre,this,12,10)),void Omt(this.c);case 13:return void(this.a&&Fmt(this.a));case 14:return void(this.b&&Omt(this.b))}t8(this,t-HB((mxt(),Bre)),$Q(RR(n3(this,16),26)||Bre,t))},Sxt.Bh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)GP(sJ(this.c,t));fit(this),this.Bb|=1};tz(QDt,"EOperationImpl",395);Zlt(496,725,CRt,cO),Sxt.Ci=function(t,e){!function(t,e,n){J6(NZ(t.a),e,WW(n))}(this,t,RR(e,138))},Sxt.Di=function(t){!function(t,e){EK(NZ(t.a),WW(e))}(this,RR(t,138))},Sxt.Ji=function(t){return RR(sJ(NZ(this.a),t),86).c||(mxt(),Rre)},Sxt.Oi=function(t){return RR(Kdt(NZ(this.a),t),86).c||(mxt(),Rre)},Sxt.Pi=function(t,e){return function(t,e,n){var r,i;return((i=(r=RR(sJ(NZ(t.a),e),86)).c||(mxt(),Rre)).fh()?P6(t.b,RR(i,48)):i)==n?Dbt(r):mJ(r,n),i}(this,t,RR(e,138))},Sxt.Xh=function(){return!1},Sxt.Ui=function(t,e,n,r,i){return null},Sxt.Ei=function(){return new Cb(this)},Sxt.Fi=function(){Omt(NZ(this.a))},Sxt.Gi=function(t){return A8(this,t)},Sxt.Hi=function(t){var e;for(e=t.Ic();e.Ob();)if(!A8(this,e.Pb()))return!1;return!0},Sxt.Ii=function(t){var e,n,r;if(zA(t,14)&&(r=RR(t,14)).gc()==NZ(this.a).i){for(e=r.Ic(),n=new SE(this);e.Ob();)if(DC(e.Pb())!==DC(Htt(n)))return!1;return!0}return!1},Sxt.Ki=function(){var t,e,n;for(e=1,t=new SE(NZ(this.a));t.e!=t.i.gc();)e=31*e+((n=RR(Htt(t),86).c||(mxt(),Rre))?p5(n):0);return e},Sxt.Li=function(t){var e,n,r;for(r=0,n=new SE(NZ(this.a));n.e!=n.i.gc();){if(e=RR(Htt(n),86),DC(t)===DC(e.c||(mxt(),Rre)))return r;++r}return-1},Sxt.Mi=function(){return 0==NZ(this.a).i},Sxt.Ni=function(){return null},Sxt.Qi=function(){return NZ(this.a).i},Sxt.Ri=function(){var t,e,n,r,i;for(i=NZ(this.a).i,r=hK(gjt,zxt,1,i,5,1),n=0,e=new SE(NZ(this.a));e.e!=e.i.gc();)t=RR(Htt(e),86),r[n++]=t.c||(mxt(),Rre);return r},Sxt.Si=function(t){var e,n,r;for(r=NZ(this.a).i,t.length<r&&(t=s1(g5(t).c,r)),t.length>r&&nz(t,r,null),n=0,e=new SE(NZ(this.a));e.e!=e.i.gc();)nz(t,n++,RR(Htt(e),86).c||(mxt(),Rre));return t},Sxt.Ti=function(){var t,e,n,r;for((r=new fw).a+="[",t=NZ(this.a),e=0,n=NZ(this.a).i;e<n;)HC(r,nP(RR(sJ(t,e),86).c||(mxt(),Rre))),++e<n&&(r.a+=Fxt);return r.a+="]",r.a},Sxt.Vi=function(t){},Sxt.Xi=function(){return 13},Sxt.wk=function(){return!0},Sxt.Yi=function(){return!1},Sxt.xk=function(){return!1},Sxt.yk=function(){return!1},Sxt.zk=function(){return!0},Sxt.mk=function(){return!1},Sxt.Ak=function(){return!0},Sxt.rj=function(t){return zA(t,138)},Sxt.aj=function(){return!(!(t=this.a).a||0==NZ(t.a.a).i||t.b&&Ant(t.b));var t},Sxt.ci=function(){return!0},Sxt.ii=function(){return!0};tz(QDt,"EOperationImpl/1",496);Zlt(1311,1936,D_t,Cb),Sxt.Xc=function(t){return i1(this.a,t)},Sxt.gc=function(){return NZ(this.a.a).i};tz(QDt,"EOperationImpl/1/1",1311);Zlt(1312,538,_Rt,tF),Sxt.di=function(t,e){var n;return n=RR(Y8(this,t,e),86),FT(this.e)&&Cv(this,new TK(this.a,7,(mxt(),zre),k8(e),n.c||Rre,t)),n},Sxt.ej=function(t,e){return function(t,e,n){var r;return r=new LZ(t.e,3,13,null,e.c||(mxt(),Rre),ent(t,e),!1),n?n.zi(r):n=r,n}(this,RR(t,86),e)},Sxt.fj=function(t,e){return function(t,e,n){var r;return r=new LZ(t.e,4,13,e.c||(mxt(),Rre),null,ent(t,e),!1),n?n.zi(r):n=r,n}(this,RR(t,86),e)},Sxt.gj=function(t,e,n){return function(t,e,n,r){var i;return i=new LZ(t.e,1,13,e.c||(mxt(),Rre),n.c||(mxt(),Rre),ent(t,e),!1),r?r.zi(i):r=i,r}(this,RR(t,86),RR(e,86),n)},Sxt.Ui=function(t,e,n,r,i){switch(t){case 3:return sW(this,t,e,n,r,this.i>1);case 5:return sW(this,t,e,n,r,this.i-RR(n,14).gc()>0);default:return new LZ(this.e,t,this.c,e,n,r,!0)}},Sxt.dj=function(){return!0},Sxt.aj=function(){return Ant(this)},Sxt.Sj=function(){Omt(this)};tz(QDt,"EOperationImpl/2",1312);Zlt(490,1,{1910:1,490:1},wC);tz(QDt,"EPackageImpl/1",490);Zlt(16,82,_Rt,FF),Sxt.uk=function(){return this.d},Sxt.vk=function(){return this.b},Sxt.yk=function(){return!0},Sxt.b=0;tz(aRt,"EObjectContainmentWithInverseEList",16);Zlt(350,16,_Rt,WO),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectContainmentWithInverseEList/Resolving",350);Zlt(298,350,_Rt,VF),Sxt.Zh=function(){this.a.tb=null};tz(QDt,"EPackageImpl/2",298);Zlt(1201,1,{},Iu);tz(QDt,"EPackageImpl/3",1201);Zlt(705,44,JSt,Em),Sxt._b=function(t){return RC(t)?TV(this,t):!!rH(this.f,t)};tz(QDt,"EPackageRegistryImpl",705);Zlt(501,283,{104:1,91:1,89:1,147:1,191:1,55:1,1986:1,107:1,466:1,48:1,96:1,150:1,501:1,283:1,113:1,116:1},Am),Sxt.Lg=function(t){return yit(this,t)},Sxt.Wg=function(t,e,n){var r;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(r=this.t)>1||-1==r;case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?RR(this.Cb,58):null}return fZ(this,t-HB((mxt(),Vre)),$Q(RR(n3(this,16),26)||Vre,t),e,n)},Sxt.bh=function(t,e,n){var r;switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),I7(this.Ab,t,n);case 10:return this.Cb&&(n=(r=this.Db>>16)>=0?yit(this,n):this.Cb.dh(this,-1-r,null,n)),tbt(this,t,10,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Vre),e),65).Ij().Lj(this,Ett(this),e-HB((mxt(),Vre)),t,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 9:return ZB(this,n);case 10:return tbt(this,null,10,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Vre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Vre)),t,n)},Sxt.gh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i);case 10:return!(this.Db>>16!=10||!RR(this.Cb,58))}return QU(this,t-HB((mxt(),Vre)),$Q(RR(n3(this,16),26)||Vre,t))},Sxt.uh=function(){return mxt(),Vre};tz(QDt,"EParameterImpl",501);Zlt(97,443,{104:1,91:1,89:1,147:1,191:1,55:1,17:1,170:1,65:1,107:1,466:1,48:1,96:1,150:1,97:1,443:1,283:1,113:1,116:1,665:1},jD),Sxt.Wg=function(t,e,n){var r,i;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return _P(),0!=(256&this.Bb);case 3:return _P(),0!=(512&this.Bb);case 4:return k8(this.s);case 5:return k8(this.t);case 6:return _P(),(i=this.t)>1||-1==i;case 7:return _P(),this.s>=1;case 8:return e?fit(this):this.r;case 9:return this.q;case 10:return _P(),0!=(this.Bb&GLt);case 11:return _P(),0!=(this.Bb&lRt);case 12:return _P(),0!=(this.Bb&jSt);case 13:return this.j;case 14:return gft(this);case 15:return _P(),0!=(this.Bb&cRt);case 16:return _P(),0!=(this.Bb&c_t);case 17:return iW(this);case 18:return _P(),0!=(this.Bb&KDt);case 19:return _P(),!(!(r=wnt(this))||0==(r.Bb&KDt));case 20:return _P(),0!=(this.Bb&BSt);case 21:return e?wnt(this):this.b;case 22:return e?L4(this):Eq(this);case 23:return!this.a&&(this.a=new wE(lre,this,23)),this.a}return fZ(this,t-HB((mxt(),Hre)),$Q(RR(n3(this,16),26)||Hre,t),e,n)},Sxt.gh=function(t){var e,n;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==_z(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==_z(this.q).i);case 10:return 0==(this.Bb&GLt);case 11:return 0!=(this.Bb&lRt);case 12:return 0!=(this.Bb&jSt);case 13:return null!=this.j;case 14:return null!=gft(this);case 15:return 0!=(this.Bb&cRt);case 16:return 0!=(this.Bb&c_t);case 17:return!!iW(this);case 18:return 0!=(this.Bb&KDt);case 19:return!!(e=wnt(this))&&0!=(e.Bb&KDt);case 20:return 0==(this.Bb&BSt);case 21:return!!this.b;case 22:return!!Eq(this);case 23:return!!this.a&&0!=this.a.i}return QU(this,t-HB((mxt(),Hre)),$Q(RR(n3(this,16),26)||Hre,t))},Sxt.nh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void $W(this,HD(e));case 2:return void w8(this,Ay($D(e)));case 3:return void b8(this,Ay($D(e)));case 4:return void t1(this,RR(e,20).a);case 5:return void e1(this,RR(e,20).a);case 8:return void g6(this,RR(e,138));case 9:return void((n=dot(this,RR(e,86),null))&&n.Ai());case 10:return void G8(this,Ay($D(e)));case 11:return void U8(this,Ay($D(e)));case 12:return void W8(this,Ay($D(e)));case 13:return void bC(this,HD(e));case 15:return void X8(this,Ay($D(e)));case 16:return void n9(this,Ay($D(e)));case 18:return void function(t,e){e9(t,e),zA(t.Cb,87)&&uct($q(RR(t.Cb,87)),2)}(this,Ay($D(e)));case 20:return void r9(this,Ay($D(e)));case 21:return void s0(this,RR(e,17));case 23:return!this.a&&(this.a=new wE(lre,this,23)),Omt(this.a),!this.a&&(this.a=new wE(lre,this,23)),void QB(this.a,RR(e,15))}I9(this,t-HB((mxt(),Hre)),$Q(RR(n3(this,16),26)||Hre,t),e)},Sxt.uh=function(){return mxt(),Hre},Sxt.wh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return zA(this.Cb,87)&&uct($q(RR(this.Cb,87)),4),void D0(this,null);case 2:return void w8(this,!0);case 3:return void b8(this,!0);case 4:return void t1(this,0);case 5:return void e1(this,1);case 8:return void g6(this,null);case 9:return void((e=dot(this,null,null))&&e.Ai());case 10:return void G8(this,!0);case 11:return void U8(this,!1);case 12:return void W8(this,!1);case 13:return this.i=null,void i0(this,null);case 15:return void X8(this,!1);case 16:return void n9(this,!1);case 18:return e9(this,!1),void(zA(this.Cb,87)&&uct($q(RR(this.Cb,87)),2));case 20:return void r9(this,!0);case 21:return void s0(this,null);case 23:return!this.a&&(this.a=new wE(lre,this,23)),void Omt(this.a)}t8(this,t-HB((mxt(),Hre)),$Q(RR(n3(this,16),26)||Hre,t))},Sxt.Bh=function(){L4(this),G$(FZ((yut(),Sie),this)),fit(this),this.Bb|=1},Sxt.Gj=function(){return wnt(this)},Sxt.lk=function(){var t;return!!(t=wnt(this))&&0!=(t.Bb&KDt)},Sxt.mk=function(){return 0!=(this.Bb&KDt)},Sxt.nk=function(){return 0!=(this.Bb&BSt)},Sxt.ik=function(t,e){return this.c=null,n8(this,t,e)},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Hpt(this):((t=new qE(Hpt(this))).a+=" (containment: ",Vx(t,0!=(this.Bb&KDt)),t.a+=", resolveProxies: ",Vx(t,0!=(this.Bb&BSt)),t.a+=")",t.a)};tz(QDt,"EReferenceImpl",97);Zlt(541,116,{104:1,43:1,91:1,89:1,133:1,55:1,107:1,48:1,96:1,541:1,113:1,116:1},Mu),Sxt.Fb=function(t){return this===t},Sxt.ad=function(){return this.b},Sxt.bd=function(){return this.c},Sxt.Hb=function(){return uP(this)},Sxt.Ph=function(t){!function(t,e){q1(t,null==e?null:(wz(e),e))}(this,HD(t))},Sxt.cd=function(t){return function(t,e){var n;return n=t.c,Y1(t,e),n}(this,HD(t))},Sxt.Wg=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return fZ(this,t-HB((mxt(),Wre)),$Q(RR(n3(this,16),26)||Wre,t),e,n)},Sxt.gh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return QU(this,t-HB((mxt(),Wre)),$Q(RR(n3(this,16),26)||Wre,t))},Sxt.nh=function(t,e){switch(t){case 0:return void function(t,e){q1(t,null==e?null:(wz(e),e))}(this,HD(e));case 1:return void Y1(this,HD(e))}I9(this,t-HB((mxt(),Wre)),$Q(RR(n3(this,16),26)||Wre,t),e)},Sxt.uh=function(){return mxt(),Wre},Sxt.wh=function(t){switch(t){case 0:return void q1(this,null);case 1:return void Y1(this,null)}t8(this,t-HB((mxt(),Wre)),$Q(RR(n3(this,16),26)||Wre,t))},Sxt.Nh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:snt(t)),this.a},Sxt.Oh=function(t){this.a=t},Sxt.Ib=function(){var t;return 0!=(64&this.Db)?Fht(this):((t=new qE(Fht(this))).a+=" (key: ",HC(t,this.b),t.a+=", value: ",HC(t,this.c),t.a+=")",t.a)},Sxt.a=-1,Sxt.b=null,Sxt.c=null;var oie=tz(QDt,"EStringToStringMapEntryImpl",541),sie=NN(aRt,"FeatureMap/Entry/Internal");Zlt(558,1,ERt),Sxt.Jk=function(t){return this.Kk(RR(t,48))},Sxt.Kk=function(t){return this.Jk(t)},Sxt.Fb=function(t){var e,n;return this===t||!!zA(t,71)&&((e=RR(t,71)).Xj()==this.c&&(null==(n=this.bd())?null==e.bd():u8(n,e.bd())))},Sxt.Xj=function(){return this.c},Sxt.Hb=function(){var t;return t=this.bd(),p5(this.c)^(null==t?0:p5(t))},Sxt.Ib=function(){var t,e;return e=bJ((t=this.c).Cj()).Kh(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.bd()};tz(QDt,"EStructuralFeatureImpl/BasicFeatureMapEntry",558);Zlt(759,558,ERt,SO),Sxt.Kk=function(t){return new SO(this.c,t)},Sxt.bd=function(){return this.a},Sxt.Lk=function(t,e,n){return function(t,e,n,r,i){var a;return n&&(a=c7(e.Og(),t.c),i=n.ah(e,-1-(-1==a?r:a),null,i)),i}(this,t,this.a,e,n)},Sxt.Mk=function(t,e,n){return function(t,e,n,r,i){var a;return n&&(a=c7(e.Og(),t.c),i=n.dh(e,-1-(-1==a?r:a),null,i)),i}(this,t,this.a,e,n)};tz(QDt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",759);Zlt(1285,1,{},xC),Sxt.Kj=function(t,e,n,r,i){return RR(jK(t,this.b),212).il(this.a).Rj(r)},Sxt.Lj=function(t,e,n,r,i){return RR(jK(t,this.b),212)._k(this.a,r,i)},Sxt.Mj=function(t,e,n,r,i){return RR(jK(t,this.b),212).al(this.a,r,i)},Sxt.Nj=function(t,e,n){return RR(jK(t,this.b),212).il(this.a).aj()},Sxt.Oj=function(t,e,n,r){RR(jK(t,this.b),212).il(this.a).Wb(r)},Sxt.Pj=function(t,e,n){return RR(jK(t,this.b),212).il(this.a)},Sxt.Qj=function(t,e,n){RR(jK(t,this.b),212).il(this.a).Sj()};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1285);Zlt(88,1,{},fR,nV,qV,IX),Sxt.Kj=function(t,e,n,r,i){var a;if(null==(a=e.xh(n))&&e.yh(n,a=uxt(this,t)),!i)switch(this.e){case 50:case 41:return RR(a,580).nj();case 40:return RR(a,212).fl()}return a},Sxt.Lj=function(t,e,n,r,i){var a;return null==(a=e.xh(n))&&e.yh(n,a=uxt(this,t)),RR(a,67).gk(r,i)},Sxt.Mj=function(t,e,n,r,i){var a;return null!=(a=e.xh(n))&&(i=RR(a,67).hk(r,i)),i},Sxt.Nj=function(t,e,n){var r;return null!=(r=e.xh(n))&&RR(r,76).aj()},Sxt.Oj=function(t,e,n,r){var i;!(i=RR(e.xh(n),76))&&e.yh(n,i=uxt(this,t)),i.Wb(r)},Sxt.Pj=function(t,e,n){var r;return null==(r=e.xh(n))&&e.yh(n,r=uxt(this,t)),zA(r,76)?RR(r,76):new Pb(RR(e.xh(n),14))},Sxt.Qj=function(t,e,n){var r;!(r=RR(e.xh(n),76))&&e.yh(n,r=uxt(this,t)),r.Sj()},Sxt.b=0,Sxt.e=0;var uie;tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateMany",88);Zlt(495,1,{}),Sxt.Lj=function(t,e,n,r,i){throw Jb(new _v)},Sxt.Mj=function(t,e,n,r,i){throw Jb(new _v)},Sxt.Pj=function(t,e,n){return new J$(this,t,e,n)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",495);Zlt(1302,1,oRt,J$),Sxt.Rj=function(t){return this.a.Kj(this.c,this.d,this.b,t,!0)},Sxt.aj=function(){return this.a.Nj(this.c,this.d,this.b)},Sxt.Wb=function(t){this.a.Oj(this.c,this.d,this.b,t)},Sxt.Sj=function(){this.a.Qj(this.c,this.d,this.b)},Sxt.b=0;tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1302);Zlt(752,495,{},vH),Sxt.Kj=function(t,e,n,r,i){return vgt(t,t.$g(),t.Qg())==this.b?this.nk()&&r?Hlt(t):t.$g():null},Sxt.Lj=function(t,e,n,r,i){var a,o;return t.$g()&&(i=(a=t.Qg())>=0?t.Lg(i):t.$g().dh(t,-1-a,null,i)),o=c7(t.Og(),this.e),t.Ng(r,o,i)},Sxt.Mj=function(t,e,n,r,i){var a;return a=c7(t.Og(),this.e),t.Ng(null,a,i)},Sxt.Nj=function(t,e,n){var r;return r=c7(t.Og(),this.e),!!t.$g()&&t.Qg()==r},Sxt.Oj=function(t,e,n,r){var i,a,o,s,u;if(null!=r&&!Lbt(this.a,r))throw Jb(new Ry(PRt+(zA(r,55)?vat(RR(r,55).Og()):hJ(g5(r)))+DRt+this.a+"'"));if(i=t.$g(),o=c7(t.Og(),this.e),DC(r)!==DC(i)||t.Qg()!=o&&null!=r){if(hit(t,RR(r,55)))throw Jb(new Ny(tOt+t.Ib()));u=null,i&&(u=(a=t.Qg())>=0?t.Lg(u):t.$g().dh(t,-1-a,null,u)),(s=RR(r,48))&&(u=s.ah(t,c7(s.Og(),this.b),null,u)),(u=t.Ng(s,o,u))&&u.Ai()}else t.Gg()&&t.Hg()&&Y2(t,new NF(t,1,o,r,r))},Sxt.Qj=function(t,e,n){var r,i,a;t.$g()?(a=(r=t.Qg())>=0?t.Lg(null):t.$g().dh(t,-1-r,null,null),i=c7(t.Og(),this.e),(a=t.Ng(null,i,a))&&a.Ai()):t.Gg()&&t.Hg()&&Y2(t,new jF(t,1,this.e,null,null))},Sxt.nk=function(){return!1};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",752);Zlt(1286,752,{},pR),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1286);Zlt(556,495,{}),Sxt.Kj=function(t,e,n,r,i){var a;return null==(a=e.xh(n))?this.b:DC(a)===DC(uie)?null:a},Sxt.Nj=function(t,e,n){var r;return null!=(r=e.xh(n))&&(DC(r)===DC(uie)||!u8(r,this.b))},Sxt.Oj=function(t,e,n,r){var i,a;t.Gg()&&t.Hg()?(i=null==(a=e.xh(n))?this.b:DC(a)===DC(uie)?null:a,null==r?null!=this.c?(e.yh(n,null),r=this.b):null!=this.b?e.yh(n,uie):e.yh(n,null):(this.Nk(r),e.yh(n,r)),Y2(t,this.d.Ok(t,1,this.e,i,r))):null==r?null!=this.c?e.yh(n,null):null!=this.b?e.yh(n,uie):e.yh(n,null):(this.Nk(r),e.yh(n,r))},Sxt.Qj=function(t,e,n){var r,i;t.Gg()&&t.Hg()?(r=null==(i=e.xh(n))?this.b:DC(i)===DC(uie)?null:i,e.zh(n),Y2(t,this.d.Ok(t,1,this.e,r,this.b))):e.zh(n)},Sxt.Nk=function(t){throw Jb(new mv)};var cie,lie,hie,fie,die,pie,gie,bie,vie;tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",556);Zlt(ORt,1,{},Cu),Sxt.Ok=function(t,e,n,r,i){return new jF(t,e,n,r,i)},Sxt.Pk=function(t,e,n,r,i,a){return new $V(t,e,n,r,i,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",ORt);Zlt(1303,ORt,{},Tu),Sxt.Ok=function(t,e,n,r,i){return new Mq(t,e,n,Ay($D(r)),Ay($D(i)))},Sxt.Pk=function(t,e,n,r,i,a){return new RG(t,e,n,Ay($D(r)),Ay($D(i)),a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1303);Zlt(1304,ORt,{},Au),Sxt.Ok=function(t,e,n,r,i){return new p1(t,e,n,RR(r,215).a,RR(i,215).a)},Sxt.Pk=function(t,e,n,r,i,a){return new TG(t,e,n,RR(r,215).a,RR(i,215).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1304);Zlt(1305,ORt,{},Eu),Sxt.Ok=function(t,e,n,r,i){return new g1(t,e,n,RR(r,172).a,RR(i,172).a)},Sxt.Pk=function(t,e,n,r,i,a){return new AG(t,e,n,RR(r,172).a,RR(i,172).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1305);Zlt(1306,ORt,{},Pu),Sxt.Ok=function(t,e,n,r,i){return new Cq(t,e,n,Dy(VD(r)),Dy(VD(i)))},Sxt.Pk=function(t,e,n,r,i,a){return new EG(t,e,n,Dy(VD(r)),Dy(VD(i)),a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1306);Zlt(1307,ORt,{},Du),Sxt.Ok=function(t,e,n,r,i){return new m1(t,e,n,RR(r,155).a,RR(i,155).a)},Sxt.Pk=function(t,e,n,r,i,a){return new PG(t,e,n,RR(r,155).a,RR(i,155).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1307);Zlt(1308,ORt,{},Ou),Sxt.Ok=function(t,e,n,r,i){return new Tq(t,e,n,RR(r,20).a,RR(i,20).a)},Sxt.Pk=function(t,e,n,r,i,a){return new DG(t,e,n,RR(r,20).a,RR(i,20).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1308);Zlt(1309,ORt,{},Lu),Sxt.Ok=function(t,e,n,r,i){return new b1(t,e,n,RR(r,162).a,RR(i,162).a)},Sxt.Pk=function(t,e,n,r,i,a){return new OG(t,e,n,RR(r,162).a,RR(i,162).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1309);Zlt(1310,ORt,{},Ru),Sxt.Ok=function(t,e,n,r,i){return new v1(t,e,n,RR(r,186).a,RR(i,186).a)},Sxt.Pk=function(t,e,n,r,i,a){return new LG(t,e,n,RR(r,186).a,RR(i,186).a,a)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1310);Zlt(1288,556,{},rV),Sxt.Nk=function(t){if(!this.a.rj(t))throw Jb(new Ry(PRt+g5(t)+DRt+this.a+"'"))};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1288);Zlt(1289,556,{},eF),Sxt.Nk=function(t){};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1289);Zlt(753,556,{}),Sxt.Nj=function(t,e,n){return null!=e.xh(n)},Sxt.Oj=function(t,e,n,r){var i,a;t.Gg()&&t.Hg()?(i=!0,null==(a=e.xh(n))?(i=!1,a=this.b):DC(a)===DC(uie)&&(a=null),null==r?null!=this.c?(e.yh(n,null),r=this.b):e.yh(n,uie):(this.Nk(r),e.yh(n,r)),Y2(t,this.d.Pk(t,1,this.e,a,r,!i))):null==r?null!=this.c?e.yh(n,null):e.yh(n,uie):(this.Nk(r),e.yh(n,r))},Sxt.Qj=function(t,e,n){var r,i;t.Gg()&&t.Hg()?(r=!0,null==(i=e.xh(n))?(r=!1,i=this.b):DC(i)===DC(uie)&&(i=null),e.zh(n),Y2(t,this.d.Pk(t,2,this.e,i,this.b,r))):e.zh(n)};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",753);Zlt(1290,753,{},iV),Sxt.Nk=function(t){if(!this.a.rj(t))throw Jb(new Ry(PRt+g5(t)+DRt+this.a+"'"))};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1290);Zlt(1291,753,{},nF),Sxt.Nk=function(t){};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1291);Zlt(394,495,{},hj),Sxt.Kj=function(t,e,n,r,i){var a,o,s,u,c;if(c=e.xh(n),this.Fj()&&DC(c)===DC(uie))return null;if(this.nk()&&r&&null!=c){if((s=RR(c,48)).fh()&&s!=(u=P6(t,s))){if(!Lbt(this.a,u))throw Jb(new Ry(PRt+g5(u)+DRt+this.a+"'"));e.yh(n,c=u),this.mk()&&(a=RR(u,48),o=s.dh(t,this.b?c7(s.Og(),this.b):-1-c7(t.Og(),this.e),null,null),!a.$g()&&(o=a.ah(t,this.b?c7(a.Og(),this.b):-1-c7(t.Og(),this.e),null,o)),o&&o.Ai()),t.Gg()&&t.Hg()&&Y2(t,new jF(t,9,this.e,s,u))}return c}return c},Sxt.Lj=function(t,e,n,r,i){var a,o;return DC(o=e.xh(n))===DC(uie)&&(o=null),e.yh(n,r),this.Yi()?DC(o)!==DC(r)&&null!=o&&(i=(a=RR(o,48)).dh(t,c7(a.Og(),this.b),null,i)):this.mk()&&null!=o&&(i=RR(o,48).dh(t,-1-c7(t.Og(),this.e),null,i)),t.Gg()&&t.Hg()&&(!i&&(i=new cx(4)),i.zi(new jF(t,1,this.e,o,r))),i},Sxt.Mj=function(t,e,n,r,i){var a;return DC(a=e.xh(n))===DC(uie)&&(a=null),e.zh(n),t.Gg()&&t.Hg()&&(!i&&(i=new cx(4)),this.Fj()?i.zi(new jF(t,2,this.e,a,null)):i.zi(new jF(t,1,this.e,a,null))),i},Sxt.Nj=function(t,e,n){return null!=e.xh(n)},Sxt.Oj=function(t,e,n,r){var i,a,o,s,u;if(null!=r&&!Lbt(this.a,r))throw Jb(new Ry(PRt+(zA(r,55)?vat(RR(r,55).Og()):hJ(g5(r)))+DRt+this.a+"'"));s=null!=(u=e.xh(n)),this.Fj()&&DC(u)===DC(uie)&&(u=null),o=null,this.Yi()?DC(u)!==DC(r)&&(null!=u&&(o=(i=RR(u,48)).dh(t,c7(i.Og(),this.b),null,o)),null!=r&&(o=(i=RR(r,48)).ah(t,c7(i.Og(),this.b),null,o))):this.mk()&&DC(u)!==DC(r)&&(null!=u&&(o=RR(u,48).dh(t,-1-c7(t.Og(),this.e),null,o)),null!=r&&(o=RR(r,48).ah(t,-1-c7(t.Og(),this.e),null,o))),null==r&&this.Fj()?e.yh(n,uie):e.yh(n,r),t.Gg()&&t.Hg()?(a=new $V(t,1,this.e,u,r,this.Fj()&&!s),o?(o.zi(a),o.Ai()):Y2(t,a)):o&&o.Ai()},Sxt.Qj=function(t,e,n){var r,i,a,o,s;o=null!=(s=e.xh(n)),this.Fj()&&DC(s)===DC(uie)&&(s=null),a=null,null!=s&&(this.Yi()?a=(r=RR(s,48)).dh(t,c7(r.Og(),this.b),null,a):this.mk()&&(a=RR(s,48).dh(t,-1-c7(t.Og(),this.e),null,a))),e.zh(n),t.Gg()&&t.Hg()?(i=new $V(t,this.Fj()?2:1,this.e,s,null,o),a?(a.zi(i),a.Ai()):Y2(t,i)):a&&a.Ai()},Sxt.Yi=function(){return!1},Sxt.mk=function(){return!1},Sxt.nk=function(){return!1},Sxt.Fj=function(){return!1};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",394);Zlt(557,394,{},bD),Sxt.mk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",557);Zlt(1294,557,{},vD),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1294);Zlt(755,557,{},mD),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",755);Zlt(1296,755,{},yD),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1296);Zlt(630,557,{},gR),Sxt.Yi=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",630);Zlt(1295,630,{},bR),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1295);Zlt(756,630,{},vR),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",756);Zlt(1297,756,{},mR),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1297);Zlt(631,394,{},wD),Sxt.nk=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",631);Zlt(1298,631,{},_D),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1298);Zlt(757,631,{},yR),Sxt.Yi=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",757);Zlt(1299,757,{},xR),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1299);Zlt(1292,394,{},xD),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1292);Zlt(754,394,{},wR),Sxt.Yi=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",754);Zlt(1293,754,{},_R),Sxt.Fj=function(){return!0};tz(QDt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1293);Zlt(758,558,ERt,Az),Sxt.Kk=function(t){return new Az(this.a,this.c,t)},Sxt.bd=function(){return this.b},Sxt.Lk=function(t,e,n){return function(t,e,n,r){return n&&(r=n.ah(e,c7(n.Og(),t.c.Gj()),null,r)),r}(this,t,this.b,n)},Sxt.Mk=function(t,e,n){return function(t,e,n,r){return n&&(r=n.dh(e,c7(n.Og(),t.c.Gj()),null,r)),r}(this,t,this.b,n)};tz(QDt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",758);Zlt(1300,1,oRt,Pb),Sxt.Rj=function(t){return this.a},Sxt.aj=function(){return zA(this.a,95)?RR(this.a,95).aj():!this.a.dc()},Sxt.Wb=function(t){this.a.$b(),this.a.Ec(RR(t,14))},Sxt.Sj=function(){zA(this.a,95)?RR(this.a,95).Sj():this.a.$b()};tz(QDt,"EStructuralFeatureImpl/SettingMany",1300);Zlt(1301,558,ERt,TX),Sxt.Jk=function(t){return new kO((Kmt(),cae),this.b.Dh(this.a,t))},Sxt.bd=function(){return null},Sxt.Lk=function(t,e,n){return n},Sxt.Mk=function(t,e,n){return n};tz(QDt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1301);Zlt(632,558,ERt,kO),Sxt.Jk=function(t){return new kO(this.c,t)},Sxt.bd=function(){return this.a},Sxt.Lk=function(t,e,n){return n},Sxt.Mk=function(t,e,n){return n};tz(QDt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",632);Zlt(387,489,XOt,Nu),Sxt.mi=function(t){return hK(fre,zxt,26,t,0,1)},Sxt.ii=function(){return!1};tz(QDt,"ESuperAdapter/1",387);Zlt(438,431,{104:1,91:1,89:1,147:1,191:1,55:1,107:1,814:1,48:1,96:1,150:1,438:1,113:1,116:1},ju),Sxt.Wg=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new fj(this,vre,this)),this.a}return fZ(this,t-HB((mxt(),Xre)),$Q(RR(n3(this,16),26)||Xre,t),e,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),jet(this.Ab,t,n);case 2:return!this.a&&(this.a=new fj(this,vre,this)),jet(this.a,t,n)}return RR($Q(RR(n3(this,16),26)||(mxt(),Xre),e),65).Ij().Mj(this,Ett(this),e-HB((mxt(),Xre)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return QU(this,t-HB((mxt(),Xre)),$Q(RR(n3(this,16),26)||Xre,t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),Omt(this.Ab),!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void QB(this.Ab,RR(e,15));case 1:return void D0(this,HD(e));case 2:return!this.a&&(this.a=new fj(this,vre,this)),Omt(this.a),!this.a&&(this.a=new fj(this,vre,this)),void QB(this.a,RR(e,15))}I9(this,t-HB((mxt(),Xre)),$Q(RR(n3(this,16),26)||Xre,t),e)},Sxt.uh=function(){return mxt(),Xre},Sxt.wh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new FF(sre,this,0,3)),void Omt(this.Ab);case 1:return void D0(this,null);case 2:return!this.a&&(this.a=new fj(this,vre,this)),void Omt(this.a)}t8(this,t-HB((mxt(),Xre)),$Q(RR(n3(this,16),26)||Xre,t))};tz(QDt,"ETypeParameterImpl",438);Zlt(439,82,_Rt,fj),Sxt.Zi=function(t,e){return function(t,e,n){var r,i;for(n=Ret(e,t.e,-1-t.c,n),i=new Ob(new b5(new jf(Qz(t.a).a).a));i.a.b;)n=Lyt(r=RR(kJ(i.a).ad(),86),hft(r,t.a),n);return n}(this,RR(t,86),e)},Sxt.$i=function(t,e){return function(t,e,n){var r,i;for(n=hH(e,t.e,-1-t.c,n),i=new Ob(new b5(new jf(Qz(t.a).a).a));i.a.b;)n=Lyt(r=RR(kJ(i.a).ad(),86),hft(r,t.a),n);return n}(this,RR(t,86),e)};tz(QDt,"ETypeParameterImpl/1",439);Zlt(624,44,JSt,Pm),Sxt.ec=function(){return new Db(this)};tz(QDt,"ETypeParameterImpl/2",624);Zlt(550,Qxt,Jxt,Db),Sxt.Dc=function(t){return UO(this,RR(t,86))},Sxt.Ec=function(t){var e,n,r;for(r=!1,n=t.Ic();n.Ob();)e=RR(n.Pb(),86),null==t$(this.a,e,"")&&(r=!0);return r},Sxt.$b=function(){JF(this.a)},Sxt.Fc=function(t){return KF(this.a,t)},Sxt.Ic=function(){return new Ob(new b5(new jf(this.a).a))},Sxt.Kc=function(t){return SY(this,t)},Sxt.gc=function(){return Y_(this.a)};tz(QDt,"ETypeParameterImpl/2/1",550);Zlt(551,1,qxt,Ob),Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return RR(kJ(this.a).ad(),86)},Sxt.Ob=function(){return this.a.b},Sxt.Qb=function(){DK(this.a)};tz(QDt,"ETypeParameterImpl/2/1/1",551);Zlt(1248,44,JSt,Dm),Sxt._b=function(t){return RC(t)?TV(this,t):!!rH(this.f,t)},Sxt.vc=function(t){var e;return zA(e=RC(t)?IH(this,t):PC(rH(this.f,t)),815)?(e=RR(e,815).Wj(),t$(this,RR(t,234),e),e):null!=e?e:null==t?(tk(),Tie):null};tz(QDt,"EValidatorRegistryImpl",1248);Zlt(1284,696,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,1913:1,48:1,96:1,150:1,113:1,116:1},Fu),Sxt.Dh=function(t,e){switch(t.tj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==e?null:P9(e);case 25:return yJ(e);case 27:case 28:return function(t){return zA(t,172)?""+RR(t,172).a:null==t?null:P9(t)}(e);case 29:return null==e?null:jA(dne[0],RR(e,198));case 41:return null==e?"":Fx(RR(e,289));case 42:return P9(e);case 50:return HD(e);default:throw Jb(new Ny(eOt+t.ne()+nOt))}},Sxt.Eh=function(t){var e;switch(-1==t.G&&(t.G=(e=bJ(t))?ent(e.Hh(),t):-1),t.G){case 0:return new Mm;case 1:return new yu;case 2:return new Ah;case 4:return new fv;case 5:return new Cm;case 6:return new hv;case 7:return new Ch;case 10:return new mu;case 11:return new Tm;case 12:return new IV;case 13:return new Am;case 14:return new jD;case 17:return new Mu;case 18:return new Ub;case 19:return new ju;default:throw Jb(new Ny(aOt+t.zb+nOt))}},Sxt.Fh=function(t,e){switch(t.tj()){case 20:return null==e?null:new e_(e);case 21:return null==e?null:new tA(e);case 23:case 22:return null==e?null:function(t){if(Dtt(GPt,t))return _P(),iFt;if(Dtt(UPt,t))return _P(),rFt;throw Jb(new Ny("Expecting true or false"))}(e);case 26:case 24:return null==e?null:dQ(Wgt(e,-128,127)<<24>>24);case 25:return function(t){var e,n,r,i,a,o,s;if(null==t)return null;for(s=t.length,o=hK(aoe,iOt,24,i=(s+1)/2|0,15,1),s%2!=0&&(o[--i]=kpt((AW(s-1,t.length),t.charCodeAt(s-1)))),n=0,r=0;n<i;++n)e=kpt(d$(t,r++)),a=kpt(d$(t,r++)),o[n]=(e<<4|a)<<24>>24;return o}(e);case 27:return function(t){var e;if(null==t)return null;e=0;try{e=Wgt(t,B_t,Lxt)&Y_t}catch(n){if(!zA(n=m3(n),127))throw Jb(n);e=zZ(t)[0]}return Y3(e)}(e);case 28:return function(t){var e;if(null==t)return null;e=0;try{e=Wgt(t,B_t,Lxt)&Y_t}catch(n){if(!zA(n=m3(n),127))throw Jb(n);e=zZ(t)[0]}return Y3(e)}(e);case 29:return function(t){var e,n;if(null==t)return null;for(e=null,n=0;n<dne.length;++n)try{return US(dne[n],t)}catch(t){if(!zA(t=m3(t),31))throw Jb(t);e=t}throw Jb(new OZ(e))}(e);case 32:case 31:return null==e?null:gst(e);case 38:case 37:return null==e?null:new tm(e);case 40:case 39:return null==e?null:k8(Wgt(e,B_t,Lxt));case 41:case 42:return null;case 44:case 43:return null==e?null:mtt(rwt(e));case 49:case 48:return null==e?null:S8(Wgt(e,RRt,32767)<<16>>16);case 50:return e;default:throw Jb(new Ny(eOt+t.ne()+nOt))}};tz(QDt,"EcoreFactoryImpl",1284);Zlt(540,179,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,1911:1,48:1,96:1,150:1,179:1,540:1,113:1,116:1,663:1},Gz),Sxt.gb=!1,Sxt.hb=!1;var mie,yie=!1;tz(QDt,"EcorePackageImpl",540);Zlt(1157,1,{815:1},Bu),Sxt.Wj=function(){return NE(),Aie};tz(QDt,"EcorePackageImpl/1",1157);Zlt(1166,1,qRt,zu),Sxt.rj=function(t){return zA(t,147)},Sxt.sj=function(t){return hK(ane,zxt,147,t,0,1)};tz(QDt,"EcorePackageImpl/10",1166);Zlt(1167,1,qRt,$u),Sxt.rj=function(t){return zA(t,191)},Sxt.sj=function(t){return hK(sne,zxt,191,t,0,1)};tz(QDt,"EcorePackageImpl/11",1167);Zlt(1168,1,qRt,Vu),Sxt.rj=function(t){return zA(t,55)},Sxt.sj=function(t){return hK(Zee,zxt,55,t,0,1)};tz(QDt,"EcorePackageImpl/12",1168);Zlt(1169,1,qRt,Hu),Sxt.rj=function(t){return zA(t,395)},Sxt.sj=function(t){return hK(mre,wRt,58,t,0,1)};tz(QDt,"EcorePackageImpl/13",1169);Zlt(1170,1,qRt,Wu),Sxt.rj=function(t){return zA(t,234)},Sxt.sj=function(t){return hK(une,zxt,234,t,0,1)};tz(QDt,"EcorePackageImpl/14",1170);Zlt(1171,1,qRt,Gu),Sxt.rj=function(t){return zA(t,501)},Sxt.sj=function(t){return hK(yre,zxt,1986,t,0,1)};tz(QDt,"EcorePackageImpl/15",1171);Zlt(1172,1,qRt,Uu),Sxt.rj=function(t){return zA(t,97)},Sxt.sj=function(t){return hK(wre,yRt,17,t,0,1)};tz(QDt,"EcorePackageImpl/16",1172);Zlt(1173,1,qRt,Xu),Sxt.rj=function(t){return zA(t,170)},Sxt.sj=function(t){return hK(cre,yRt,170,t,0,1)};tz(QDt,"EcorePackageImpl/17",1173);Zlt(1174,1,qRt,qu),Sxt.rj=function(t){return zA(t,466)},Sxt.sj=function(t){return hK(ure,zxt,466,t,0,1)};tz(QDt,"EcorePackageImpl/18",1174);Zlt(1175,1,qRt,Yu),Sxt.rj=function(t){return zA(t,541)},Sxt.sj=function(t){return hK(oie,WLt,541,t,0,1)};tz(QDt,"EcorePackageImpl/19",1175);Zlt(1158,1,qRt,Ku),Sxt.rj=function(t){return zA(t,321)},Sxt.sj=function(t){return hK(lre,yRt,32,t,0,1)};tz(QDt,"EcorePackageImpl/2",1158);Zlt(1176,1,qRt,Zu),Sxt.rj=function(t){return zA(t,240)},Sxt.sj=function(t){return hK(vre,MRt,86,t,0,1)};tz(QDt,"EcorePackageImpl/20",1176);Zlt(1177,1,qRt,Qu),Sxt.rj=function(t){return zA(t,438)},Sxt.sj=function(t){return hK(qre,zxt,814,t,0,1)};tz(QDt,"EcorePackageImpl/21",1177);Zlt(1178,1,qRt,Ju),Sxt.rj=function(t){return OC(t)},Sxt.sj=function(t){return hK(oFt,u_t,470,t,8,1)};tz(QDt,"EcorePackageImpl/22",1178);Zlt(1179,1,qRt,tc),Sxt.rj=function(t){return zA(t,190)},Sxt.sj=function(t){return hK(aoe,u_t,190,t,0,2)};tz(QDt,"EcorePackageImpl/23",1179);Zlt(1180,1,qRt,ec),Sxt.rj=function(t){return zA(t,215)},Sxt.sj=function(t){return hK(cFt,u_t,215,t,0,1)};tz(QDt,"EcorePackageImpl/24",1180);Zlt(1181,1,qRt,nc),Sxt.rj=function(t){return zA(t,172)},Sxt.sj=function(t){return hK(hFt,u_t,172,t,0,1)};tz(QDt,"EcorePackageImpl/25",1181);Zlt(1182,1,qRt,rc),Sxt.rj=function(t){return zA(t,198)},Sxt.sj=function(t){return hK(Xjt,u_t,198,t,0,1)};tz(QDt,"EcorePackageImpl/26",1182);Zlt(1183,1,qRt,ic),Sxt.rj=function(t){return!1},Sxt.sj=function(t){return hK(loe,zxt,2078,t,0,1)};tz(QDt,"EcorePackageImpl/27",1183);Zlt(1184,1,qRt,ac),Sxt.rj=function(t){return LC(t)},Sxt.sj=function(t){return hK(fFt,u_t,331,t,7,1)};tz(QDt,"EcorePackageImpl/28",1184);Zlt(1185,1,qRt,oc),Sxt.rj=function(t){return zA(t,57)},Sxt.sj=function(t){return hK(Ene,QIt,57,t,0,1)};tz(QDt,"EcorePackageImpl/29",1185);Zlt(1159,1,qRt,sc),Sxt.rj=function(t){return zA(t,502)},Sxt.sj=function(t){return hK(sre,{3:1,4:1,5:1,1906:1},581,t,0,1)};tz(QDt,"EcorePackageImpl/3",1159);Zlt(1186,1,qRt,uc),Sxt.rj=function(t){return zA(t,565)},Sxt.sj=function(t){return hK(Hne,zxt,1912,t,0,1)};tz(QDt,"EcorePackageImpl/30",1186);Zlt(1187,1,qRt,cc),Sxt.rj=function(t){return zA(t,152)},Sxt.sj=function(t){return hK(Cie,QIt,152,t,0,1)};tz(QDt,"EcorePackageImpl/31",1187);Zlt(1188,1,qRt,lc),Sxt.rj=function(t){return zA(t,71)},Sxt.sj=function(t){return hK(Kre,YRt,71,t,0,1)};tz(QDt,"EcorePackageImpl/32",1188);Zlt(1189,1,qRt,hc),Sxt.rj=function(t){return zA(t,155)},Sxt.sj=function(t){return hK(dFt,u_t,155,t,0,1)};tz(QDt,"EcorePackageImpl/33",1189);Zlt(1190,1,qRt,fc),Sxt.rj=function(t){return zA(t,20)},Sxt.sj=function(t){return hK(bFt,u_t,20,t,0,1)};tz(QDt,"EcorePackageImpl/34",1190);Zlt(1191,1,qRt,dc),Sxt.rj=function(t){return zA(t,289)},Sxt.sj=function(t){return hK(bjt,zxt,289,t,0,1)};tz(QDt,"EcorePackageImpl/35",1191);Zlt(1192,1,qRt,pc),Sxt.rj=function(t){return zA(t,162)},Sxt.sj=function(t){return hK(mFt,u_t,162,t,0,1)};tz(QDt,"EcorePackageImpl/36",1192);Zlt(1193,1,qRt,gc),Sxt.rj=function(t){return zA(t,84)},Sxt.sj=function(t){return hK(yjt,zxt,84,t,0,1)};tz(QDt,"EcorePackageImpl/37",1193);Zlt(1194,1,qRt,bc),Sxt.rj=function(t){return zA(t,582)},Sxt.sj=function(t){return hK(wie,zxt,582,t,0,1)};tz(QDt,"EcorePackageImpl/38",1194);Zlt(1195,1,qRt,vc),Sxt.rj=function(t){return!1},Sxt.sj=function(t){return hK(hoe,zxt,2079,t,0,1)};tz(QDt,"EcorePackageImpl/39",1195);Zlt(1160,1,qRt,mc),Sxt.rj=function(t){return zA(t,87)},Sxt.sj=function(t){return hK(fre,zxt,26,t,0,1)};tz(QDt,"EcorePackageImpl/4",1160);Zlt(1196,1,qRt,yc),Sxt.rj=function(t){return zA(t,186)},Sxt.sj=function(t){return hK(kFt,u_t,186,t,0,1)};tz(QDt,"EcorePackageImpl/40",1196);Zlt(1197,1,qRt,wc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(QDt,"EcorePackageImpl/41",1197);Zlt(1198,1,qRt,xc),Sxt.rj=function(t){return zA(t,579)},Sxt.sj=function(t){return hK(Dne,zxt,579,t,0,1)};tz(QDt,"EcorePackageImpl/42",1198);Zlt(1199,1,qRt,_c),Sxt.rj=function(t){return!1},Sxt.sj=function(t){return hK(foe,u_t,2080,t,0,1)};tz(QDt,"EcorePackageImpl/43",1199);Zlt(1200,1,qRt,Sc),Sxt.rj=function(t){return zA(t,43)},Sxt.sj=function(t){return hK(Sjt,w_t,43,t,0,1)};tz(QDt,"EcorePackageImpl/44",1200);Zlt(1161,1,qRt,kc),Sxt.rj=function(t){return zA(t,138)},Sxt.sj=function(t){return hK(hre,zxt,138,t,0,1)};tz(QDt,"EcorePackageImpl/5",1161);Zlt(1162,1,qRt,Ic),Sxt.rj=function(t){return zA(t,148)},Sxt.sj=function(t){return hK(dre,zxt,148,t,0,1)};tz(QDt,"EcorePackageImpl/6",1162);Zlt(1163,1,qRt,Mc),Sxt.rj=function(t){return zA(t,450)},Sxt.sj=function(t){return hK(gre,zxt,659,t,0,1)};tz(QDt,"EcorePackageImpl/7",1163);Zlt(1164,1,qRt,Cc),Sxt.rj=function(t){return zA(t,565)},Sxt.sj=function(t){return hK(bre,zxt,666,t,0,1)};tz(QDt,"EcorePackageImpl/8",1164);Zlt(1165,1,qRt,Tc),Sxt.rj=function(t){return zA(t,465)},Sxt.sj=function(t){return hK(one,zxt,465,t,0,1)};tz(QDt,"EcorePackageImpl/9",1165);Zlt(1013,1955,VLt,xy),Sxt.Yh=function(t,e){!function(t,e){var n,r,i;if(e.qi(t.a),null!=(i=RR(n3(t.a,8),1908)))for(n=0,r=i.length;n<r;++n)null.em()}(this,RR(e,410))},Sxt.ai=function(t,e){Hut(this,t,RR(e,410))};tz(QDt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1013);Zlt(1014,142,BLt,Tz),Sxt.vi=function(){return this.a.a};tz(QDt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1014);Zlt(1037,1036,{},gA);tz("org.eclipse.emf.ecore.plugin","EcorePlugin",1037);var wie=NN(KRt,"Resource");Zlt(764,1349,ZRt),Sxt.Tk=function(t){},Sxt.Uk=function(t){},Sxt.Qk=function(){return!this.a&&(this.a=new Lb(this)),this.a},Sxt.Rk=function(t){var e,n,r,i,a;if((r=t.length)>0){if(AW(0,t.length),47==t.charCodeAt(0)){for(a=new RY(4),i=1,e=1;e<r;++e)AW(e,t.length),47==t.charCodeAt(e)&&(LR(a,i==e?"":t.substr(i,e-i)),i=e+1);return LR(a,t.substr(i)),Rit(this,a)}AW(r-1,t.length),63==t.charCodeAt(r-1)&&(n=sL(t,mot(63),r-2))>0&&(t=t.substr(0,n))}return function(t,e){var n,r,i,a,o,s;for(a=null,i=new BF((!t.a&&(t.a=new Lb(t)),t.a));llt(i);)if(Wvt(o=(n=RR(rft(i),55)).Og()),null!=(r=(s=o.o)&&n.hh(s)?uL(G3(s),n.Xg(s)):null)&&hL(r,e)){a=n;break}return a}(this,t)},Sxt.Sk=function(){return this.c},Sxt.Ib=function(){return Fx(this.bm)+"@"+((p5(this)>>>0).toString(16)+" uri='")+this.d+"'"},Sxt.b=!1;tz(QRt,"ResourceImpl",764);Zlt(1350,764,ZRt,Rb);tz(QRt,"BinaryResourceImpl",1350);Zlt(1142,687,qOt),Sxt.ni=function(t){return zA(t,55)?function(t,e){return t.a?e.Rg().Ic():RR(e.Rg(),67).Uh()}(this,RR(t,55)):zA(t,582)?new SE(RR(t,582).Qk()):DC(t)===DC(this.f)?RR(t,15).Ic():(CD(),$ne.a)},Sxt.Ob=function(){return llt(this)},Sxt.a=!1;tz(aRt,"EcoreUtil/ContentTreeIterator",1142);Zlt(1351,1142,qOt,BF),Sxt.ni=function(t){return DC(t)===DC(this.f)?RR(t,14).Ic():new LU(RR(t,55))};tz(QRt,"ResourceImpl/5",1351);Zlt(638,1963,xRt,Lb),Sxt.Fc=function(t){return this.i<=4?qit(this,t):zA(t,48)&&RR(t,48).Ug()==this.a},Sxt.Yh=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},Sxt.$h=function(t,e){0==t?this.a.b||(this.a.b=!0):cK(this,t,e)},Sxt.ai=function(t,e){},Sxt.bi=function(t,e,n){},Sxt.Xi=function(){return 2},Sxt.vi=function(){return this.a},Sxt.Yi=function(){return!0},Sxt.Zi=function(t,e){return e=RR(t,48).rh(this.a,e)},Sxt.$i=function(t,e){return RR(t,48).rh(null,e)},Sxt._i=function(){return!1},Sxt.ci=function(){return!0},Sxt.mi=function(t){return hK(Zee,zxt,55,t,0,1)},Sxt.ii=function(){return!1};tz(QRt,"ResourceImpl/ContentsEList",638);Zlt(963,1936,D_t,Nb),Sxt.Xc=function(t){return this.a.Wh(t)},Sxt.gc=function(){return this.a.gc()};var xie,_ie,Sie,kie,Iie,Mie;tz(aRt,"AbstractSequentialInternalEList/1",963);Zlt(614,1,{},rN);tz(aRt,"BasicExtendedMetaData",614);Zlt(1133,1,{},IC),Sxt.Vk=function(){return null},Sxt.Wk=function(){var t,e;return-2==this.a&&(t=this,e=function(t,e){var n,r,i;if((n=e.Ch(t.a))&&null!=(i=M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),IRt)))for(r=1;r<(yut(),xie).length;++r)if(hL(xie[r],i))return r;return 0}(this.d,this.b),t.a=e),this.a},Sxt.Xk=function(){return null},Sxt.Yk=function(){return mV(),mV(),YFt},Sxt.ne=function(){var t,e;return this.c==dNt&&(t=this,e=Rtt(this.d,this.b),t.c=e),this.c},Sxt.Zk=function(){return 0},Sxt.a=-2,Sxt.c=dNt;tz(aRt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1133);Zlt(1134,1,{},jG),Sxt.Vk=function(){var t,e;return this.a==(EY(),Iie)&&(t=this,e=function(t,e){var n,r,i,a;return(r=e.Ch(t.a))&&(!r.b&&(r.b=new hD((mxt(),Wre),oie,r)),null!=(n=HD(M7(r.b,jRt)))&&zA(a=-1==(i=n.lastIndexOf("#"))?SD(t,e.vj(),n):0==i?RK(t,null,n.substr(1)):RK(t,n.substr(0,i),n.substr(i+1)),148))?RR(a,148):null}(this.f,this.b),t.a=e),this.a},Sxt.Wk=function(){return 0},Sxt.Xk=function(){var t,e;return this.c==(EY(),Iie)&&(t=this,e=function(t,e){var n,r,i,a;return(n=e.Ch(t.a))&&(!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),null!=(i=HD(M7(n.b,oNt)))&&zA(a=-1==(r=i.lastIndexOf("#"))?SD(t,e.vj(),i):0==r?RK(t,null,i.substr(1)):RK(t,i.substr(0,r),i.substr(r+1)),148))?RR(a,148):null}(this.f,this.b),t.c=e),this.c},Sxt.Yk=function(){var t,e;return!this.d&&(t=this,e=function(t,e){var n,r,i,a,o,s,u,c,l;if((n=e.Ch(t.a))&&null!=(u=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),"memberTypes")))){for(c=new Vb,o=0,s=(a=xgt(u,"\\w")).length;o<s;++o)zA(l=-1==(r=(i=a[o]).lastIndexOf("#"))?SD(t,e.vj(),i):0==r?RK(t,null,i.substr(1)):RK(t,i.substr(0,r),i.substr(r+1)),148)&&LR(c,RR(l,148));return c}return mV(),mV(),YFt}(this.f,this.b),t.d=e),this.d},Sxt.ne=function(){var t,e;return this.e==dNt&&(t=this,e=Rtt(this.f,this.b),t.e=e),this.e},Sxt.Zk=function(){var t,e;return-2==this.g&&(t=this,e=function(t,e){var n,r,i;if(n=e.Ch(t.a))for(i=HD(M7((!n.b&&(n.b=new hD((mxt(),Wre),oie,n)),n.b),cNt)),r=1;r<(yut(),kie).length;++r)if(hL(kie[r],i))return r;return 0}(this.f,this.b),t.g=e),this.g},Sxt.e=dNt,Sxt.g=-2;tz(aRt,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1134);Zlt(1132,1,{},MC),Sxt.b=!1,Sxt.c=!1;tz(aRt,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1132);Zlt(1135,1,{},FG),Sxt.c=-2,Sxt.e=dNt,Sxt.f=dNt;tz(aRt,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1135);Zlt(576,612,_Rt,eN),Sxt.Xi=function(){return this.c},Sxt.Ak=function(){return!1},Sxt.gi=function(t,e){return e},Sxt.c=0;tz(aRt,"EDataTypeEList",576);var Cie=NN(aRt,"FeatureMap");Zlt(75,576,{3:1,4:1,19:1,28:1,51:1,15:1,14:1,53:1,66:1,60:1,57:1,76:1,152:1,212:1,1909:1,67:1,95:1},k2),Sxt.Tc=function(t,e){!function(t,e,n){var r,i,a,o,s,u;if(a=(i=n).Xj(),Cdt(t.e,a)){if(a.ci())for(r=RR(t.g,118),o=0;o<t.i;++o)if(u8(s=r[o],i)&&o!=e)throw Jb(new Ny(HOt))}else for(u=sdt(t.e.Og(),a),r=RR(t.g,118),o=0;o<t.i;++o)if(s=r[o],u.ml(s.Xj()))throw Jb(new Ny(pNt));J6(t,e,n)}(this,t,RR(e,71))},Sxt.Dc=function(t){return function(t,e){var n,r,i,a,o,s;if(i=(r=e).Xj(),Cdt(t.e,i)){if(i.ci()&&JU(t,i,r.bd()))return!1}else for(s=sdt(t.e.Og(),i),n=RR(t.g,118),a=0;a<t.i;++a)if(o=n[a],s.ml(o.Xj()))return!u8(o,r)&&(RR(Net(t,a,e),71),!0);return EK(t,e)}(this,RR(t,71))},Sxt.Th=function(t){az(this,RR(t,71))},Sxt.Zi=function(t,e){return function(t,e,n){return function(t,e,n){return e.Lk(t.e,t.c,n)}(t,RR(e,330),n)}(this,RR(t,71),e)},Sxt.$i=function(t,e){return PL(this,RR(t,71),e)},Sxt.di=function(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p;if(!FT(t.e))return RR(qct(t,e,n),71);if(e!=n&&(o=(d=(i=RR(t.g,118))[n]).Xj(),Cdt(t.e,o))){for(p=sdt(t.e.Og(),o),u=-1,s=-1,r=0,c=0,h=e>n?e:n;c<=h;++c)c==n?s=r++:(a=i[c],l=p.ml(a.Xj()),c==e&&(u=c!=h||l?r:r-1),l&&++r);return f=RR(Y8(t,e,n),71),s!=u&&Cv(t,new TK(t.e,7,o,k8(s),d.bd(),u)),f}return RR(Y8(t,e,n),71)}(this,t,e)},Sxt.gi=function(t,e){return function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d,p,g,b;if(zA(o=n.Xj(),97)&&0!=(RR(o,17).Bb&BSt)&&(f=RR(n.bd(),48),(g=P6(t.e,f))!=f)){if(hE(t,e,Gat(t,0,l=cX(o,g))),h=null,FT(t.e)&&(r=Xmt((yut(),Sie),t.e.Og(),o))!=$Q(t.e.Og(),t.c)){for(b=sdt(t.e.Og(),o),s=0,a=RR(t.g,118),u=0;u<e;++u)i=a[u],b.ml(i.Xj())&&++s;(h=new MX(t.e,9,r,f,g,s,!1)).zi(new LZ(t.e,9,t.c,n,l,e,!1))}return(d=wnt(p=RR(o,17)))?(h=f.dh(t.e,c7(f.Og(),d),null,h),h=RR(g,48).ah(t.e,c7(g.Og(),d),null,h)):0!=(p.Bb&KDt)&&(c=-1-c7(t.e.Og(),p),h=f.dh(t.e,c,null,null),!RR(g,48).$g()&&(h=RR(g,48).ah(t.e,c,null,h))),h&&h.Ai(),l}return n}(this,t,RR(e,71))},Sxt.Zc=function(t,e){return function(t,e,n){var r,i,a,o,s,u;if(a=(i=n).Xj(),Cdt(t.e,a)){if(a.ci())for(r=RR(t.g,118),o=0;o<t.i;++o)if(u8(s=r[o],i)&&o!=e)throw Jb(new Ny(HOt))}else for(u=sdt(t.e.Og(),a),r=RR(t.g,118),o=0;o<t.i;++o)if(s=r[o],u.ml(s.Xj())&&o!=e)throw Jb(new Ny(pNt));return RR(Net(t,e,n),71)}(this,t,RR(e,71))},Sxt.ej=function(t,e){return function(t,e,n){return Sat(t,RR(e,330),n)}(this,RR(t,71),e)},Sxt.fj=function(t,e){return DL(this,RR(t,71),e)},Sxt.gj=function(t,e,n){return function(t,e,n,r){var i,a,o;return FT(t.e)&&(o=lH(t,1,i=e.Xj(),e.bd(),a=n.bd(),i.Vj()?xvt(t,i,a,zA(i,97)&&0!=(RR(i,17).Bb&BSt)):-1,!0),r?r.zi(o):r=o),r}(this,RR(t,71),RR(e,71),n)},Sxt.ji=function(t,e){return Gat(this,0,RR(e,71))},Sxt.$k=function(t,e){return Agt(this,t,e)},Sxt.Uc=function(t,e){var n,r,i,a,o,s,u,c,l;for(c=new WQ(e.gc()),i=e.Ic();i.Ob();)if(a=(r=RR(i.Pb(),71)).Xj(),Cdt(this.e,a))(!a.ci()||!JU(this,a,r.bd())&&!qit(c,r))&&EK(c,r);else{for(l=sdt(this.e.Og(),a),n=RR(this.g,118),o=!0,s=0;s<this.i;++s)if(u=n[s],l.ml(u.Xj())){RR(Net(this,s,r),71),o=!1;break}o&&EK(c,r)}return e4(this,t,c)},Sxt.Ec=function(t){var e,n,r,i,a,o,s,u,c;for(u=new WQ(t.gc()),r=t.Ic();r.Ob();)if(i=(n=RR(r.Pb(),71)).Xj(),Cdt(this.e,i))(!i.ci()||!JU(this,i,n.bd())&&!qit(u,n))&&EK(u,n);else{for(c=sdt(this.e.Og(),i),e=RR(this.g,118),a=!0,o=0;o<this.i;++o)if(s=e[o],c.ml(s.Xj())){RR(Net(this,o,n),71),a=!1;break}a&&EK(u,n)}return QB(this,u)},Sxt.Rh=function(t){return this.j=-1,Vbt(this,this.i,t)},Sxt._k=function(t,e,n){return Wpt(this,t,e,n)},Sxt.hk=function(t,e){return kgt(this,t,e)},Sxt.al=function(t,e,n){return Uvt(this,t,e,n)},Sxt.bl=function(){return this},Sxt.cl=function(t,e){return qvt(this,t,e)},Sxt.dl=function(t){return RR(sJ(this,t),71).Xj()},Sxt.el=function(t){return RR(sJ(this,t),71).bd()},Sxt.fl=function(){return this.b},Sxt.Yi=function(){return!0},Sxt.dj=function(){return!0},Sxt.gl=function(t){return!x7(this,t)},Sxt.mi=function(t){return hK(sie,YRt,330,t,0,1)},Sxt.Bk=function(t){return kD(this,t)},Sxt.Wb=function(t){TB(this,t)},Sxt.hl=function(t,e){umt(this,t,e)},Sxt.il=function(t){return e0(this,t)},Sxt.jl=function(t){lrt(this,t)};tz(aRt,"BasicFeatureMap",75);Zlt(1823,1,r_t),Sxt.Nb=function(t){WF(this,t)},Sxt.Rb=function(t){if(-1==this.g)throw Jb(new wv);Sj(this);try{_dt(this.e,this.b,this.a,t),this.d=this.e.j,Uet(this)}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}},Sxt.Ob=function(){return E5(this)},Sxt.Sb=function(){return P5(this)},Sxt.Pb=function(){return Uet(this)},Sxt.Tb=function(){return this.a},Sxt.Ub=function(){var t;if(P5(this))return Sj(this),this.g=--this.a,this.Gk()&&(t=Xct(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Jb(new vv)},Sxt.Vb=function(){return this.a-1},Sxt.Qb=function(){if(-1==this.g)throw Jb(new wv);Sj(this);try{nut(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}},Sxt.Gk=function(){return!1},Sxt.Wb=function(t){if(-1==this.g)throw Jb(new wv);Sj(this);try{Jbt(this.e,this.b,this.g,t),this.d=this.e.j}catch(t){throw zA(t=m3(t),73)?Jb(new Sv):Jb(t)}},Sxt.a=0,Sxt.c=0,Sxt.d=0,Sxt.f=!1,Sxt.g=0,Sxt.i=0;tz(aRt,"FeatureMapUtil/BasicFeatureEIterator",1823);Zlt(405,1823,r_t,u3),Sxt.kl=function(){var t,e,n;for(n=this.e.i,t=RR(this.e.g,118);this.c<n;){if(e=t[this.c],this.k.ml(e.Xj()))return this.j=this.f?e:e.bd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},Sxt.ll=function(){var t,e;for(t=RR(this.e.g,118);--this.c>=0;)if(e=t[this.c],this.k.ml(e.Xj()))return this.j=this.f?e:e.bd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1};tz(aRt,"BasicFeatureMap/FeatureEIterator",405);Zlt(650,405,r_t,fT),Sxt.Gk=function(){return!0};tz(aRt,"BasicFeatureMap/ResolvingFeatureEIterator",650);Zlt(961,481,TRt,GA),Sxt.Bi=function(){return this};tz(aRt,"EContentsEList/1",961);Zlt(962,481,TRt,dT),Sxt.Gk=function(){return!1};tz(aRt,"EContentsEList/2",962);Zlt(960,277,ARt,UA),Sxt.Ik=function(t){},Sxt.Ob=function(){return!1},Sxt.Sb=function(){return!1};tz(aRt,"EContentsEList/FeatureIteratorImpl/1",960);Zlt(804,576,_Rt,pE),Sxt.Zh=function(){this.a=!0},Sxt.aj=function(){return this.a},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.a,this.a=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.a=!1},Sxt.a=!1;tz(aRt,"EDataTypeEList/Unsettable",804);Zlt(1821,576,_Rt,gE),Sxt.ci=function(){return!0};tz(aRt,"EDataTypeUniqueEList",1821);Zlt(1822,804,_Rt,bE),Sxt.ci=function(){return!0};tz(aRt,"EDataTypeUniqueEList/Unsettable",1822);Zlt(139,82,_Rt,vE),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectContainmentEList/Resolving",139);Zlt(1136,538,_Rt,mE),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectContainmentEList/Unsettable/Resolving",1136);Zlt(731,16,_Rt,YO),Sxt.Zh=function(){this.a=!0},Sxt.aj=function(){return this.a},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.a,this.a=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.a=!1},Sxt.a=!1;tz(aRt,"EObjectContainmentWithInverseEList/Unsettable",731);Zlt(1146,731,_Rt,KO),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1146);Zlt(726,488,_Rt,yE),Sxt.Zh=function(){this.a=!0},Sxt.aj=function(){return this.a},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.a,this.a=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.a=!1},Sxt.a=!1;tz(aRt,"EObjectEList/Unsettable",726);Zlt(326,488,_Rt,wE),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectResolvingEList",326);Zlt(1611,726,_Rt,xE),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};var Tie;tz(aRt,"EObjectResolvingEList/Unsettable",1611);Zlt(1352,1,{},Ac);tz(aRt,"EObjectValidator",1352);Zlt(539,488,_Rt,zF),Sxt.uk=function(){return this.d},Sxt.vk=function(){return this.b},Sxt.Yi=function(){return!0},Sxt.yk=function(){return!0},Sxt.b=0;tz(aRt,"EObjectWithInverseEList",539);Zlt(1149,539,_Rt,ZO),Sxt.xk=function(){return!0};tz(aRt,"EObjectWithInverseEList/ManyInverse",1149);Zlt(615,539,_Rt,QO),Sxt.Zh=function(){this.a=!0},Sxt.aj=function(){return this.a},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.a,this.a=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.a=!1},Sxt.a=!1;tz(aRt,"EObjectWithInverseEList/Unsettable",615);Zlt(1148,615,_Rt,tL),Sxt.xk=function(){return!0};tz(aRt,"EObjectWithInverseEList/Unsettable/ManyInverse",1148);Zlt(732,539,_Rt,JO),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectWithInverseResolvingEList",732);Zlt(33,732,_Rt,nL),Sxt.xk=function(){return!0};tz(aRt,"EObjectWithInverseResolvingEList/ManyInverse",33);Zlt(733,615,_Rt,eL),Sxt.zk=function(){return!0},Sxt.gi=function(t,e){return Llt(this,t,RR(e,55))};tz(aRt,"EObjectWithInverseResolvingEList/Unsettable",733);Zlt(1147,733,_Rt,rL),Sxt.xk=function(){return!0};tz(aRt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1147);Zlt(1137,612,_Rt),Sxt.Xh=function(){return 0==(1792&this.b)},Sxt.Zh=function(){this.b|=1},Sxt.wk=function(){return 0!=(4&this.b)},Sxt.Yi=function(){return 0!=(40&this.b)},Sxt.xk=function(){return 0!=(16&this.b)},Sxt.yk=function(){return 0!=(8&this.b)},Sxt.zk=function(){return 0!=(this.b&lRt)},Sxt.mk=function(){return 0!=(32&this.b)},Sxt.Ak=function(){return 0!=(this.b&GLt)},Sxt.rj=function(t){return this.d?nX(this.d,t):this.Xj().Tj().rj(t)},Sxt.aj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},Sxt.ci=function(){return 0!=(128&this.b)},Sxt.Sj=function(){var t;Omt(this),0!=(2&this.b)&&(FT(this.e)?(t=0!=(1&this.b),this.b&=-2,Cv(this,new Iq(this.e,2,c7(this.e.Og(),this.Xj()),t,!1))):this.b&=-2)},Sxt.ii=function(){return 0==(1536&this.b)},Sxt.b=0;tz(aRt,"EcoreEList/Generic",1137);Zlt(1138,1137,_Rt,VV),Sxt.Xj=function(){return this.a};tz(aRt,"EcoreEList/Dynamic",1138);Zlt(730,60,XOt,jb),Sxt.mi=function(t){return s1(this.a.a,t)};tz(aRt,"EcoreEMap/1",730);Zlt(729,82,_Rt,$F),Sxt.Yh=function(t,e){xnt(this.b,RR(e,133))},Sxt.$h=function(t,e){i3(this.b)},Sxt._h=function(t,e,n){var r;++(r=this.b,RR(e,133),r).e},Sxt.ai=function(t,e){q8(this.b,RR(e,133))},Sxt.bi=function(t,e,n){q8(this.b,RR(n,133)),DC(n)===DC(e)&&RR(n,133).Oh(function(t){return null==t?0:p5(t)}(RR(e,133).ad())),xnt(this.b,RR(e,133))};tz(aRt,"EcoreEMap/DelegateEObjectContainmentEList",729);Zlt(1144,143,sRt,E1);tz(aRt,"EcoreEMap/Unsettable",1144);Zlt(1145,729,_Rt,iL),Sxt.Zh=function(){this.a=!0},Sxt.aj=function(){return this.a},Sxt.Sj=function(){var t;Omt(this),FT(this.e)?(t=this.a,this.a=!1,Y2(this.e,new Iq(this.e,2,this.c,t,!1))):this.a=!1},Sxt.a=!1;tz(aRt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1145);Zlt(1141,226,JSt,zB),Sxt.a=!1,Sxt.b=!1;tz(aRt,"EcoreUtil/Copier",1141);Zlt(728,1,qxt,LU),Sxt.Nb=function(t){WF(this,t)},Sxt.Ob=function(){return B7(this)},Sxt.Pb=function(){var t;return B7(this),t=this.b,this.b=null,t},Sxt.Qb=function(){this.a.Qb()};var Aie;tz(aRt,"EcoreUtil/ProperContentIterator",728);Zlt(1353,1352,{},Eh);var Eie;tz(aRt,"EcoreValidator",1353),NN(aRt,"FeatureMapUtil/Validator");Zlt(1234,1,{1914:1},Dc),Sxt.ml=function(t){return!0};var Pie;tz(aRt,"FeatureMapUtil/1",1234);Zlt(740,1,{1914:1},swt),Sxt.ml=function(t){var e;return this.c==t||(null==(e=$D(oz(this.a,t)))?function(t,e){var n;return t.f==Pie?(n=Zz(FZ((yut(),Sie),e)),t.e?4==n&&e!=(mlt(),Rie)&&e!=(mlt(),Die)&&e!=(mlt(),Oie)&&e!=(mlt(),Lie):2==n):!(!t.d||!(t.d.Fc(e)||t.d.Fc(iG(FZ((yut(),Sie),e)))||t.d.Fc(Xmt((yut(),Sie),t.b,e))))||!(!t.f||!Oft((yut(),t.f),U$(FZ(Sie,e))))&&(n=Zz(FZ(Sie,e)),t.e?4==n:2==n)}(this,t)?(qq(this.a,t,(_P(),iFt)),!0):(qq(this.a,t,(_P(),rFt)),!1):e==(_P(),iFt))},Sxt.e=!1;tz(aRt,"FeatureMapUtil/BasicValidator",740);Zlt(741,44,JSt,_E);tz(aRt,"FeatureMapUtil/BasicValidator/Cache",741);Zlt(492,51,{19:1,28:1,51:1,15:1,14:1,57:1,76:1,67:1,95:1},CC),Sxt.Tc=function(t,e){_dt(this.c,this.b,t,e)},Sxt.Dc=function(t){return Agt(this.c,this.b,t)},Sxt.Uc=function(t,e){return function(t,e,n,r){var i,a,o,s,u,c,l,h;if(0==r.gc())return!1;if(ek(),o=(u=RR(e,65).Jj())?r:new WQ(r.gc()),Cdt(t.e,e)){if(e.ci())for(l=r.Ic();l.Ob();)tvt(t,e,c=l.Pb(),zA(e,97)&&0!=(RR(e,17).Bb&BSt))||(a=cX(e,c),o.Dc(a));else if(!u)for(l=r.Ic();l.Ob();)a=cX(e,c=l.Pb()),o.Dc(a)}else{for(h=sdt(t.e.Og(),e),i=RR(t.g,118),s=0;s<t.i;++s)if(a=i[s],h.ml(a.Xj()))throw Jb(new Ny(pNt));if(r.gc()>1)throw Jb(new Ny(pNt));u||(a=cX(e,r.Ic().Pb()),o.Dc(a))}return e4(t,rut(t,e,n),o)}(this.c,this.b,t,e)},Sxt.Ec=function(t){return BA(this,t)},Sxt.Sh=function(t,e){!function(t,e,n,r){t.j=-1,Olt(t,rut(t,e,n),(ek(),RR(e,65).Hj().Jk(r)))}(this.c,this.b,t,e)},Sxt.gk=function(t,e){return Wpt(this.c,this.b,t,e)},Sxt.ki=function(t){return Xvt(this.c,this.b,t,!1)},Sxt.Uh=function(){return UT(this.c,this.b)},Sxt.Vh=function(){return t=this.c,new u3(this.b,t);var t},Sxt.Wh=function(t){return function(t,e,n){var r,i;for(i=new u3(e,t),r=0;r<n;++r)Uet(i);return i}(this.c,this.b,t)},Sxt.hk=function(t,e){return aO(this,t,e)},Sxt.$b=function(){Mv(this)},Sxt.Fc=function(t){return JU(this.c,this.b,t)},Sxt.Gc=function(t){return function(t,e,n){var r;for(r=n.Ic();r.Ob();)if(!JU(t,e,r.Pb()))return!1;return!0}(this.c,this.b,t)},Sxt.Xb=function(t){return Xvt(this.c,this.b,t,!0)},Sxt.Rj=function(t){return this},Sxt.Vc=function(t){return function(t,e,n){return xvt(t,e,n,zA(e,97)&&0!=(RR(e,17).Bb&BSt))}(this.c,this.b,t)},Sxt.dc=function(){return EC(this)},Sxt.aj=function(){return!x7(this.c,this.b)},Sxt.Ic=function(){return t=this.c,zA(e=this.b,97)&&0!=(RR(e,17).Bb&BSt)?new fT(e,t):new u3(e,t);var t,e},Sxt.Wc=function(){return t=this.c,zA(e=this.b,97)&&0!=(RR(e,17).Bb&BSt)?new fT(e,t):new u3(e,t);var t,e},Sxt.Xc=function(t){return function(t,e,n){var r,i;for(i=zA(e,97)&&0!=(RR(e,17).Bb&BSt)?new fT(e,t):new u3(e,t),r=0;r<n;++r)Uet(i);return i}(this.c,this.b,t)},Sxt.di=function(t,e){return Ebt(this.c,this.b,t,e)},Sxt.ei=function(t,e){!function(t,e,n,r){Ebt(t,e,n,xvt(t,e,r,zA(e,97)&&0!=(RR(e,17).Bb&BSt)))}(this.c,this.b,t,e)},Sxt.Yc=function(t){return nut(this.c,this.b,t)},Sxt.Kc=function(t){return function(t,e,n){var r,i,a,o;if(o=sdt(t.e.Og(),e),r=RR(t.g,118),ek(),RR(e,65).Jj()){for(a=0;a<t.i;++a)if(i=r[a],o.ml(i.Xj())&&u8(i,n))return Kdt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(i=r[a],o.ml(i.Xj())&&u8(n,i.bd()))return Kdt(t,a),!0}else for(a=0;a<t.i;++a)if(i=r[a],o.ml(i.Xj())&&null==i.bd())return Kdt(t,a),!0;return!1}(this.c,this.b,t)},Sxt.Zc=function(t,e){return Jbt(this.c,this.b,t,e)},Sxt.Wb=function(t){Slt(this.c,this.b),BA(this,RR(t,14))},Sxt.gc=function(){return function(t,e){var n,r,i,a,o;for(o=sdt(t.e.Og(),e),a=0,n=RR(t.g,118),i=0;i<t.i;++i)r=n[i],o.ml(r.Xj())&&++a;return a}(this.c,this.b)},Sxt.Nc=function(){return nG(this.c,this.b)},Sxt.Oc=function(t){return tX(this.c,this.b,t)},Sxt.Ib=function(){var t,e;for((e=new fw).a+="[",t=UT(this.c,this.b);E5(t);)HC(e,nP(Uet(t))),E5(t)&&(e.a+=Fxt);return e.a+="]",e.a},Sxt.Sj=function(){Slt(this.c,this.b)};tz(aRt,"FeatureMapUtil/FeatureEList",492);Zlt(619,35,BLt,MX),Sxt.ti=function(t){return x8(this,t)},Sxt.yi=function(t){var e,n,r,i;switch(this.d){case 1:case 2:if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return this.g=t.ui(),1==t.si()&&(this.d=1),!0;break;case 3:if(3===t.si())if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return this.d=5,EK(e=new WQ(2),this.g),EK(e,t.ui()),this.g=e,!0;break;case 5:if(3===t.si())if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return RR(this.g,15).Dc(t.ui()),!0;break;case 4:switch(t.si()){case 3:if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return this.d=1,this.g=t.ui(),!0;break;case 4:if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return this.d=6,EK(i=new WQ(2),this.n),EK(i,t.wi()),this.n=i,r=X3(uw(noe,1),uSt,24,15,[this.o,t.xi()]),this.g=r,!0}break;case 6:if(4===t.si())if(DC(t.vi())===DC(this.c)&&x8(this,null)==t.ti(null))return RR(this.n,15).Dc(t.wi()),Yvt(r=RR(this.g,47),0,n=hK(noe,uSt,24,r.length+1,15,1),0,r.length),n[r.length]=t.xi(),this.g=n,!0}return!1};tz(aRt,"FeatureMapUtil/FeatureENotificationImpl",619);Zlt(547,492,{19:1,28:1,51:1,15:1,14:1,57:1,76:1,152:1,212:1,1909:1,67:1,95:1},ON),Sxt.$k=function(t,e){return Agt(this.c,t,e)},Sxt._k=function(t,e,n){return Wpt(this.c,t,e,n)},Sxt.al=function(t,e,n){return Uvt(this.c,t,e,n)},Sxt.bl=function(){return this},Sxt.cl=function(t,e){return qvt(this.c,t,e)},Sxt.dl=function(t){return RR(Xvt(this.c,this.b,t,!1),71).Xj()},Sxt.el=function(t){return RR(Xvt(this.c,this.b,t,!1),71).bd()},Sxt.fl=function(){return this.a},Sxt.gl=function(t){return!x7(this.c,t)},Sxt.hl=function(t,e){umt(this.c,t,e)},Sxt.il=function(t){return e0(this.c,t)},Sxt.jl=function(t){lrt(this.c,t)};tz(aRt,"FeatureMapUtil/FeatureFeatureMap",547);Zlt(1233,1,oRt,_C),Sxt.Rj=function(t){return Xvt(this.b,this.a,-1,t)},Sxt.aj=function(){return!x7(this.b,this.a)},Sxt.Wb=function(t){umt(this.b,this.a,t)},Sxt.Sj=function(){Slt(this.b,this.a)};tz(aRt,"FeatureMapUtil/FeatureValue",1233);var Die,Oie,Lie,Rie,Nie,jie=NN(gNt,"AnyType");Zlt(654,59,$_t,Ky);tz(gNt,"InvalidDatatypeValueException",654);var Fie,Bie,zie,$ie,Vie,Hie,Wie,Gie,Uie,Xie,qie,Yie,Kie,Zie,Qie,Jie,tae,eae,nae,rae,iae,aae,oae,sae,uae,cae,lae=NN(gNt,bNt),hae=NN(gNt,vNt),fae=NN(gNt,mNt);Zlt(809,498,{104:1,91:1,89:1,55:1,48:1,96:1,822:1},Om),Sxt.Wg=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new k2(this,0)),this.c):(!this.c&&(this.c=new k2(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)):(!this.c&&(this.c=new k2(this,0)),RR(RR(tG(this.c,(Kmt(),$ie)),152),212)).fl();case 2:return n?(!this.b&&(this.b=new k2(this,2)),this.b):(!this.b&&(this.b=new k2(this,2)),this.b.b)}return fZ(this,t-HB(this.uh()),$Q(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Th),this.k).Zj(),t),e,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new k2(this,0)),kgt(this.c,t,n);case 1:return(!this.c&&(this.c=new k2(this,0)),RR(RR(tG(this.c,(Kmt(),$ie)),152),67)).hk(t,n);case 2:return!this.b&&(this.b=new k2(this,2)),kgt(this.b,t,n)}return RR($Q(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Th),this.k).Zj(),e),65).Ij().Mj(this,YZ(this),e-HB(this.uh()),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)).dc();case 2:return!!this.b&&0!=this.b.i}return QU(this,t-HB(this.uh()),$Q(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new k2(this,0)),void TB(this.c,e);case 1:return void(!this.c&&(this.c=new k2(this,0)),RR(RR(tG(this.c,(Kmt(),$ie)),152),212)).Wb(e);case 2:return!this.b&&(this.b=new k2(this,2)),void TB(this.b,e)}I9(this,t-HB(this.uh()),$Q(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Th),this.k).Zj(),t),e)},Sxt.uh=function(){return Kmt(),zie},Sxt.wh=function(t){switch(t){case 0:return!this.c&&(this.c=new k2(this,0)),void Omt(this.c);case 1:return void(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)).$b();case 2:return!this.b&&(this.b=new k2(this,2)),void Omt(this.b)}t8(this,t-HB(this.uh()),$Q(0==(2&this.j)?this.uh():(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.Ib=function(){var t;return 0!=(4&this.j)?Fht(this):((t=new qE(Fht(this))).a+=" (mixed: ",VC(t,this.c),t.a+=", anyAttribute: ",VC(t,this.b),t.a+=")",t.a)};tz(yNt,"AnyTypeImpl",809);Zlt(655,498,{104:1,91:1,89:1,55:1,48:1,96:1,1990:1,655:1},Oc),Sxt.Wg=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return fZ(this,t-HB((Kmt(),Jie)),$Q(0==(2&this.j)?Jie:(!this.k&&(this.k=new Th),this.k).Zj(),t),e,n)},Sxt.gh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return QU(this,t-HB((Kmt(),Jie)),$Q(0==(2&this.j)?Jie:(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.nh=function(t,e){switch(t){case 0:return void function(t,e){t.a=e}(this,HD(e));case 1:return void function(t,e){t.b=e}(this,HD(e))}I9(this,t-HB((Kmt(),Jie)),$Q(0==(2&this.j)?Jie:(!this.k&&(this.k=new Th),this.k).Zj(),t),e)},Sxt.uh=function(){return Kmt(),Jie},Sxt.wh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}t8(this,t-HB((Kmt(),Jie)),$Q(0==(2&this.j)?Jie:(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.Ib=function(){var t;return 0!=(4&this.j)?Fht(this):((t=new qE(Fht(this))).a+=" (data: ",HC(t,this.a),t.a+=", target: ",HC(t,this.b),t.a+=")",t.a)},Sxt.a=null,Sxt.b=null;tz(yNt,"ProcessingInstructionImpl",655);Zlt(656,809,{104:1,91:1,89:1,55:1,48:1,96:1,822:1,1991:1,656:1},Rm),Sxt.Wg=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new k2(this,0)),this.c):(!this.c&&(this.c=new k2(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)):(!this.c&&(this.c=new k2(this,0)),RR(RR(tG(this.c,(Kmt(),$ie)),152),212)).fl();case 2:return n?(!this.b&&(this.b=new k2(this,2)),this.b):(!this.b&&(this.b=new k2(this,2)),this.b.b);case 3:return!this.c&&(this.c=new k2(this,0)),HD(qvt(this.c,(Kmt(),nae),!0));case 4:return cL(this.a,(!this.c&&(this.c=new k2(this,0)),HD(qvt(this.c,(Kmt(),nae),!0))));case 5:return this.a}return fZ(this,t-HB((Kmt(),eae)),$Q(0==(2&this.j)?eae:(!this.k&&(this.k=new Th),this.k).Zj(),t),e,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new k2(this,0)),null!=HD(qvt(this.c,(Kmt(),nae),!0));case 4:return null!=cL(this.a,(!this.c&&(this.c=new k2(this,0)),HD(qvt(this.c,(Kmt(),nae),!0))));case 5:return!!this.a}return QU(this,t-HB((Kmt(),eae)),$Q(0==(2&this.j)?eae:(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new k2(this,0)),void TB(this.c,e);case 1:return void(!this.c&&(this.c=new k2(this,0)),RR(RR(tG(this.c,(Kmt(),$ie)),152),212)).Wb(e);case 2:return!this.b&&(this.b=new k2(this,2)),void TB(this.b,e);case 3:return void BG(this,HD(e));case 4:return void BG(this,uL(this.a,e));case 5:return void function(t,e){t.a=e}(this,RR(e,148))}I9(this,t-HB((Kmt(),eae)),$Q(0==(2&this.j)?eae:(!this.k&&(this.k=new Th),this.k).Zj(),t),e)},Sxt.uh=function(){return Kmt(),eae},Sxt.wh=function(t){switch(t){case 0:return!this.c&&(this.c=new k2(this,0)),void Omt(this.c);case 1:return void(!this.c&&(this.c=new k2(this,0)),RR(tG(this.c,(Kmt(),$ie)),152)).$b();case 2:return!this.b&&(this.b=new k2(this,2)),void Omt(this.b);case 3:return!this.c&&(this.c=new k2(this,0)),void umt(this.c,(Kmt(),nae),null);case 4:return void BG(this,uL(this.a,null));case 5:return void(this.a=null)}t8(this,t-HB((Kmt(),eae)),$Q(0==(2&this.j)?eae:(!this.k&&(this.k=new Th),this.k).Zj(),t))};tz(yNt,"SimpleAnyTypeImpl",656);Zlt(657,498,{104:1,91:1,89:1,55:1,48:1,96:1,1992:1,657:1},Lm),Sxt.Wg=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new k2(this,0)),this.a):(!this.a&&(this.a=new k2(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new MK((mxt(),Wre),oie,this,1)),this.b):(!this.b&&(this.b=new MK((mxt(),Wre),oie,this,1)),uK(this.b));case 2:return n?(!this.c&&(this.c=new MK((mxt(),Wre),oie,this,2)),this.c):(!this.c&&(this.c=new MK((mxt(),Wre),oie,this,2)),uK(this.c));case 3:return!this.a&&(this.a=new k2(this,0)),tG(this.a,(Kmt(),aae));case 4:return!this.a&&(this.a=new k2(this,0)),tG(this.a,(Kmt(),oae));case 5:return!this.a&&(this.a=new k2(this,0)),tG(this.a,(Kmt(),uae));case 6:return!this.a&&(this.a=new k2(this,0)),tG(this.a,(Kmt(),cae))}return fZ(this,t-HB((Kmt(),iae)),$Q(0==(2&this.j)?iae:(!this.k&&(this.k=new Th),this.k).Zj(),t),e,n)},Sxt.eh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new k2(this,0)),kgt(this.a,t,n);case 1:return!this.b&&(this.b=new MK((mxt(),Wre),oie,this,1)),EL(this.b,t,n);case 2:return!this.c&&(this.c=new MK((mxt(),Wre),oie,this,2)),EL(this.c,t,n);case 5:return!this.a&&(this.a=new k2(this,0)),aO(tG(this.a,(Kmt(),uae)),t,n)}return RR($Q(0==(2&this.j)?(Kmt(),iae):(!this.k&&(this.k=new Th),this.k).Zj(),e),65).Ij().Mj(this,YZ(this),e-HB((Kmt(),iae)),t,n)},Sxt.gh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new k2(this,0)),!EC(tG(this.a,(Kmt(),aae)));case 4:return!this.a&&(this.a=new k2(this,0)),!EC(tG(this.a,(Kmt(),oae)));case 5:return!this.a&&(this.a=new k2(this,0)),!EC(tG(this.a,(Kmt(),uae)));case 6:return!this.a&&(this.a=new k2(this,0)),!EC(tG(this.a,(Kmt(),cae)))}return QU(this,t-HB((Kmt(),iae)),$Q(0==(2&this.j)?iae:(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.nh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new k2(this,0)),void TB(this.a,e);case 1:return!this.b&&(this.b=new MK((mxt(),Wre),oie,this,1)),void _2(this.b,e);case 2:return!this.c&&(this.c=new MK((mxt(),Wre),oie,this,2)),void _2(this.c,e);case 3:return!this.a&&(this.a=new k2(this,0)),Mv(tG(this.a,(Kmt(),aae))),!this.a&&(this.a=new k2(this,0)),void BA(tG(this.a,aae),RR(e,15));case 4:return!this.a&&(this.a=new k2(this,0)),Mv(tG(this.a,(Kmt(),oae))),!this.a&&(this.a=new k2(this,0)),void BA(tG(this.a,oae),RR(e,15));case 5:return!this.a&&(this.a=new k2(this,0)),Mv(tG(this.a,(Kmt(),uae))),!this.a&&(this.a=new k2(this,0)),void BA(tG(this.a,uae),RR(e,15));case 6:return!this.a&&(this.a=new k2(this,0)),Mv(tG(this.a,(Kmt(),cae))),!this.a&&(this.a=new k2(this,0)),void BA(tG(this.a,cae),RR(e,15))}I9(this,t-HB((Kmt(),iae)),$Q(0==(2&this.j)?iae:(!this.k&&(this.k=new Th),this.k).Zj(),t),e)},Sxt.uh=function(){return Kmt(),iae},Sxt.wh=function(t){switch(t){case 0:return!this.a&&(this.a=new k2(this,0)),void Omt(this.a);case 1:return!this.b&&(this.b=new MK((mxt(),Wre),oie,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new MK((mxt(),Wre),oie,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new k2(this,0)),void Mv(tG(this.a,(Kmt(),aae)));case 4:return!this.a&&(this.a=new k2(this,0)),void Mv(tG(this.a,(Kmt(),oae)));case 5:return!this.a&&(this.a=new k2(this,0)),void Mv(tG(this.a,(Kmt(),uae)));case 6:return!this.a&&(this.a=new k2(this,0)),void Mv(tG(this.a,(Kmt(),cae)))}t8(this,t-HB((Kmt(),iae)),$Q(0==(2&this.j)?iae:(!this.k&&(this.k=new Th),this.k).Zj(),t))},Sxt.Ib=function(){var t;return 0!=(4&this.j)?Fht(this):((t=new qE(Fht(this))).a+=" (mixed: ",VC(t,this.a),t.a+=")",t.a)};var dae,pae,gae,bae;tz(yNt,"XMLTypeDocumentRootImpl",657);Zlt(1891,696,{104:1,91:1,89:1,465:1,147:1,55:1,107:1,48:1,96:1,150:1,113:1,116:1,1993:1},Pc),Sxt.Dh=function(t,e){switch(t.tj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:P9(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return HD(e);case 6:return ID(RR(e,190));case 12:case 47:case 49:case 11:return Syt(this,t,e);case 13:return null==e?null:function(t){var e,n,i,a;if(i=ext((!t.c&&(t.c=z6(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return i;if(e=x1(t)<0?1:0,n=t.e,i.length,r.Math.abs(CH(t.e)),a=new gw,1==e&&(a.a+="-"),t.e>0)if((n-=i.length-e)>=0){for(a.a+="0.";n>AFt.length;n-=AFt.length)ej(a,AFt);bO(a,AFt,CH(n)),UC(a,i.substr(e))}else UC(a,BP(i,e,CH(n=e-n))),a.a+=".",UC(a,zC(i,CH(n)));else{for(UC(a,i.substr(e));n<-AFt.length;n+=AFt.length)ej(a,AFt);bO(a,AFt,CH(-n))}return a.a}(RR(e,239));case 15:case 14:return null==e?null:function(t){return t==RSt?wNt:t==NSt?"-INF":""+t}(Dy(VD(e)));case 17:return xat((Kmt(),e));case 18:return xat(e);case 21:case 20:return null==e?null:function(t){return t==RSt?wNt:t==NSt?"-INF":""+t}(RR(e,155).a);case 27:return MD(RR(e,190));case 30:return hrt((Kmt(),RR(e,14)));case 31:return hrt(RR(e,14));case 40:case 59:case 48:return function(t){return null==t?null:P9(t)}((Kmt(),e));case 42:return _at((Kmt(),e));case 43:return _at(e);default:throw Jb(new Ny(eOt+t.ne()+nOt))}},Sxt.Eh=function(t){var e;switch(-1==t.G&&(t.G=(e=bJ(t))?ent(e.Hh(),t):-1),t.G){case 0:return new Om;case 1:return new Oc;case 2:return new Rm;case 3:return new Lm;default:throw Jb(new Ny(aOt+t.zb+nOt))}},Sxt.Fh=function(t,e){var n,r,i,a,o,s,u,c,l,h,f,d,p,g,b,v;switch(t.tj()){case 5:case 52:case 4:return e;case 6:return vet(e);case 8:case 7:return null==e?null:function(t){if(t=jvt(t,!0),hL(GPt,t)||hL("1",t))return _P(),iFt;if(hL(UPt,t)||hL("0",t))return _P(),rFt;throw Jb(new Ky("Invalid boolean value: '"+t+"'"))}(e);case 9:return null==e?null:dQ(Wgt((r=jvt(e,!0)).length>0&&(AW(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 10:return null==e?null:dQ(Wgt((i=jvt(e,!0)).length>0&&(AW(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 11:return HD(Ywt(this,(Kmt(),Wie),e));case 12:return HD(Ywt(this,(Kmt(),Gie),e));case 13:return null==e?null:new e_(jvt(e,!0));case 15:case 14:return function(t){var e,n,r,i;if(null==t)return null;if(r=jvt(t,!0),i=wNt.length,hL(r.substr(r.length-i,i),wNt))if(4==(n=r.length)){if(AW(0,r.length),43==(e=r.charCodeAt(0)))return pae;if(45==e)return dae}else if(3==n)return pae;return gst(r)}(e);case 16:return HD(Ywt(this,(Kmt(),Uie),e));case 17:return ntt((Kmt(),e));case 18:return ntt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return jvt(e,!0);case 21:case 20:return function(t){var e,n,r,i;if(null==t)return null;if(r=jvt(t,!0),i=wNt.length,hL(r.substr(r.length-i,i),wNt))if(4==(n=r.length)){if(AW(0,r.length),43==(e=r.charCodeAt(0)))return bae;if(45==e)return gae}else if(3==n)return bae;return new tm(r)}(e);case 22:return HD(Ywt(this,(Kmt(),Xie),e));case 23:return HD(Ywt(this,(Kmt(),qie),e));case 24:return HD(Ywt(this,(Kmt(),Yie),e));case 25:return HD(Ywt(this,(Kmt(),Kie),e));case 26:return HD(Ywt(this,(Kmt(),Zie),e));case 27:return Gtt(e);case 30:return rtt((Kmt(),e));case 31:return rtt(e);case 32:return null==e?null:k8(Wgt((l=jvt(e,!0)).length>0&&(AW(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,B_t,Lxt));case 33:return null==e?null:new tA((h=jvt(e,!0)).length>0&&(AW(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:k8(Wgt((f=jvt(e,!0)).length>0&&(AW(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,B_t,Lxt));case 36:return null==e?null:mtt(rwt((d=jvt(e,!0)).length>0&&(AW(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:mtt(rwt((p=jvt(e,!0)).length>0&&(AW(0,p.length),43==p.charCodeAt(0))?p.substr(1):p));case 40:case 59:case 48:return function(t){var e;return null==t?null:new tA((e=jvt(t,!0)).length>0&&(AW(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((Kmt(),e));case 42:return itt((Kmt(),e));case 43:return itt(e);case 44:return null==e?null:new tA((g=jvt(e,!0)).length>0&&(AW(0,g.length),43==g.charCodeAt(0))?g.substr(1):g);case 45:return null==e?null:new tA((b=jvt(e,!0)).length>0&&(AW(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return jvt(e,!1);case 47:return HD(Ywt(this,(Kmt(),Qie),e));case 49:return HD(Ywt(this,(Kmt(),tae),e));case 50:return null==e?null:S8(Wgt((v=jvt(e,!0)).length>0&&(AW(0,v.length),43==v.charCodeAt(0))?v.substr(1):v,RRt,32767)<<16>>16);case 51:return null==e?null:S8(Wgt((a=jvt(e,!0)).length>0&&(AW(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,RRt,32767)<<16>>16);case 53:return HD(Ywt(this,(Kmt(),rae),e));case 55:return null==e?null:S8(Wgt((o=jvt(e,!0)).length>0&&(AW(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,RRt,32767)<<16>>16);case 56:return null==e?null:S8(Wgt((s=jvt(e,!0)).length>0&&(AW(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,RRt,32767)<<16>>16);case 57:return null==e?null:mtt(rwt((u=jvt(e,!0)).length>0&&(AW(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 58:return null==e?null:mtt(rwt((c=jvt(e,!0)).length>0&&(AW(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 60:return null==e?null:k8(Wgt((n=jvt(e,!0)).length>0&&(AW(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,B_t,Lxt));case 61:return null==e?null:k8(Wgt(jvt(e,!0),B_t,Lxt));default:throw Jb(new Ny(eOt+t.ne()+nOt))}};tz(yNt,"XMLTypeFactoryImpl",1891);Zlt(577,179,{104:1,91:1,89:1,147:1,191:1,55:1,234:1,107:1,48:1,96:1,150:1,179:1,113:1,116:1,663:1,1917:1,577:1},Uz),Sxt.N=!1,Sxt.O=!1;var vae=!1;tz(yNt,"XMLTypePackageImpl",577);Zlt(1824,1,{815:1},Lc),Sxt.Wj=function(){return Pbt(),Zae};tz(yNt,"XMLTypePackageImpl/1",1824);Zlt(1833,1,qRt,Ec),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/10",1833);Zlt(1834,1,qRt,Rc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/11",1834);Zlt(1835,1,qRt,Nc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/12",1835);Zlt(1836,1,qRt,jc),Sxt.rj=function(t){return LC(t)},Sxt.sj=function(t){return hK(fFt,u_t,331,t,7,1)};tz(yNt,"XMLTypePackageImpl/13",1836);Zlt(1837,1,qRt,Fc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/14",1837);Zlt(1838,1,qRt,Bc),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/15",1838);Zlt(1839,1,qRt,zc),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/16",1839);Zlt(1840,1,qRt,$c),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/17",1840);Zlt(1841,1,qRt,Vc),Sxt.rj=function(t){return zA(t,155)},Sxt.sj=function(t){return hK(dFt,u_t,155,t,0,1)};tz(yNt,"XMLTypePackageImpl/18",1841);Zlt(1842,1,qRt,Hc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/19",1842);Zlt(1825,1,qRt,Wc),Sxt.rj=function(t){return zA(t,822)},Sxt.sj=function(t){return hK(jie,zxt,822,t,0,1)};tz(yNt,"XMLTypePackageImpl/2",1825);Zlt(1843,1,qRt,Gc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/20",1843);Zlt(1844,1,qRt,Uc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/21",1844);Zlt(1845,1,qRt,Xc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/22",1845);Zlt(1846,1,qRt,qc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/23",1846);Zlt(1847,1,qRt,Yc),Sxt.rj=function(t){return zA(t,190)},Sxt.sj=function(t){return hK(aoe,u_t,190,t,0,2)};tz(yNt,"XMLTypePackageImpl/24",1847);Zlt(1848,1,qRt,Kc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/25",1848);Zlt(1849,1,qRt,Zc),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/26",1849);Zlt(1850,1,qRt,Qc),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/27",1850);Zlt(1851,1,qRt,Jc),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/28",1851);Zlt(1852,1,qRt,tl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/29",1852);Zlt(1826,1,qRt,el),Sxt.rj=function(t){return zA(t,655)},Sxt.sj=function(t){return hK(lae,zxt,1990,t,0,1)};tz(yNt,"XMLTypePackageImpl/3",1826);Zlt(1853,1,qRt,nl),Sxt.rj=function(t){return zA(t,20)},Sxt.sj=function(t){return hK(bFt,u_t,20,t,0,1)};tz(yNt,"XMLTypePackageImpl/30",1853);Zlt(1854,1,qRt,rl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/31",1854);Zlt(1855,1,qRt,il),Sxt.rj=function(t){return zA(t,162)},Sxt.sj=function(t){return hK(mFt,u_t,162,t,0,1)};tz(yNt,"XMLTypePackageImpl/32",1855);Zlt(1856,1,qRt,al),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/33",1856);Zlt(1857,1,qRt,ol),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/34",1857);Zlt(1858,1,qRt,sl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/35",1858);Zlt(1859,1,qRt,ul),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/36",1859);Zlt(1860,1,qRt,cl),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/37",1860);Zlt(1861,1,qRt,ll),Sxt.rj=function(t){return zA(t,14)},Sxt.sj=function(t){return hK(_jt,QIt,14,t,0,1)};tz(yNt,"XMLTypePackageImpl/38",1861);Zlt(1862,1,qRt,hl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/39",1862);Zlt(1827,1,qRt,fl),Sxt.rj=function(t){return zA(t,656)},Sxt.sj=function(t){return hK(hae,zxt,1991,t,0,1)};tz(yNt,"XMLTypePackageImpl/4",1827);Zlt(1863,1,qRt,dl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/40",1863);Zlt(1864,1,qRt,pl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/41",1864);Zlt(1865,1,qRt,gl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/42",1865);Zlt(1866,1,qRt,bl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/43",1866);Zlt(1867,1,qRt,vl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/44",1867);Zlt(1868,1,qRt,ml),Sxt.rj=function(t){return zA(t,186)},Sxt.sj=function(t){return hK(kFt,u_t,186,t,0,1)};tz(yNt,"XMLTypePackageImpl/45",1868);Zlt(1869,1,qRt,yl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/46",1869);Zlt(1870,1,qRt,wl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/47",1870);Zlt(1871,1,qRt,xl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/48",1871);Zlt(1872,1,qRt,_l),Sxt.rj=function(t){return zA(t,186)},Sxt.sj=function(t){return hK(kFt,u_t,186,t,0,1)};tz(yNt,"XMLTypePackageImpl/49",1872);Zlt(1828,1,qRt,Sl),Sxt.rj=function(t){return zA(t,657)},Sxt.sj=function(t){return hK(fae,zxt,1992,t,0,1)};tz(yNt,"XMLTypePackageImpl/5",1828);Zlt(1873,1,qRt,kl),Sxt.rj=function(t){return zA(t,162)},Sxt.sj=function(t){return hK(mFt,u_t,162,t,0,1)};tz(yNt,"XMLTypePackageImpl/50",1873);Zlt(1874,1,qRt,Il),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/51",1874);Zlt(1875,1,qRt,Ml),Sxt.rj=function(t){return zA(t,20)},Sxt.sj=function(t){return hK(bFt,u_t,20,t,0,1)};tz(yNt,"XMLTypePackageImpl/52",1875);Zlt(1829,1,qRt,Cl),Sxt.rj=function(t){return RC(t)},Sxt.sj=function(t){return hK(MFt,u_t,2,t,6,1)};tz(yNt,"XMLTypePackageImpl/6",1829);Zlt(1830,1,qRt,Tl),Sxt.rj=function(t){return zA(t,190)},Sxt.sj=function(t){return hK(aoe,u_t,190,t,0,2)};tz(yNt,"XMLTypePackageImpl/7",1830);Zlt(1831,1,qRt,Al),Sxt.rj=function(t){return OC(t)},Sxt.sj=function(t){return hK(oFt,u_t,470,t,8,1)};tz(yNt,"XMLTypePackageImpl/8",1831);Zlt(1832,1,qRt,El),Sxt.rj=function(t){return zA(t,215)},Sxt.sj=function(t){return hK(cFt,u_t,215,t,0,1)};var mae,yae,wae,xae,_ae;tz(yNt,"XMLTypePackageImpl/9",1832);Zlt(50,59,$_t,Zy);tz(GNt,"RegEx/ParseException",50);Zlt(799,1,{},Pl),Sxt.nl=function(t){return t<this.j&&63==d$(this.i,t)},Sxt.ol=function(){var t,e,n,r,i;if(10!=this.c)throw Jb(new Zy(xxt((pA(),tLt))));switch(t=this.a){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(axt(this),0!=this.c)throw Jb(new Zy(xxt((pA(),ILt))));if(123==this.a){for(i=0,n=0;;){if(axt(this),0!=this.c)throw Jb(new Zy(xxt((pA(),ILt))));if((i=Lnt(this.a))<0)break;if(n>16*n)throw Jb(new Zy(xxt((pA(),MLt))));n=16*n+i}if(125!=this.a)throw Jb(new Zy(xxt((pA(),CLt))));if(n>UNt)throw Jb(new Zy(xxt((pA(),TLt))));t=n}else{if(i=0,0!=this.c||(i=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(n=i,axt(this),0!=this.c||(i=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));t=n=16*n+i}break;case 117:if(r=0,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));t=e=16*e+r;break;case 118:if(axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if(e=16*e+r,axt(this),0!=this.c||(r=Lnt(this.a))<0)throw Jb(new Zy(xxt((pA(),ILt))));if((e=16*e+r)>UNt)throw Jb(new Zy(xxt((pA(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw Jb(new Zy(xxt((pA(),ALt))))}return t},Sxt.pl=function(t){var e;switch(t){case 100:e=32==(32&this.e)?Awt("Nd",!0):(bxt(),Eae);break;case 68:e=32==(32&this.e)?Awt("Nd",!1):(bxt(),Rae);break;case 119:e=32==(32&this.e)?Awt("IsWord",!0):(bxt(),Wae);break;case 87:e=32==(32&this.e)?Awt("IsWord",!1):(bxt(),jae);break;case 115:e=32==(32&this.e)?Awt("IsSpace",!0):(bxt(),Bae);break;case 83:e=32==(32&this.e)?Awt("IsSpace",!1):(bxt(),Nae);break;default:throw Jb(new sy(XNt+t.toString(16)))}return e},Sxt.ql=function(t){var e,n,r,i,a,o,s,u,c,l,h;for(this.b=1,axt(this),e=null,0==this.c&&94==this.a?(axt(this),t?(bxt(),bxt(),c=new uG(5)):(bxt(),bxt(),Bdt(e=new uG(4),0,UNt),c=new uG(4))):(bxt(),bxt(),c=new uG(4)),i=!0;1!=(h=this.c)&&(0!=h||93!=this.a||i);){if(i=!1,n=this.a,r=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:Qvt(c,this.pl(n)),r=!0;break;case 105:case 73:case 99:case 67:(n=this.Gl(c,n))<0&&(r=!0);break;case 112:case 80:if(!(l=Fct(this,n)))throw Jb(new Zy(xxt((pA(),pLt))));Qvt(c,l),r=!0;break;default:n=this.ol()}else if(20==h){if((a=FP(this.i,58,this.d))<0)throw Jb(new Zy(xxt((pA(),gLt))));if(o=!0,94==d$(this.i,this.d)&&(++this.d,o=!1),!(s=AK(BP(this.i,this.d,a),o,512==(512&this.e))))throw Jb(new Zy(xxt((pA(),vLt))));if(Qvt(c,s),r=!0,a+1>=this.j||93!=d$(this.i,a+1))throw Jb(new Zy(xxt((pA(),gLt))));this.d=a+2}if(axt(this),!r)if(0!=this.c||45!=this.a)Bdt(c,n,n);else{if(axt(this),1==(h=this.c))throw Jb(new Zy(xxt((pA(),bLt))));0==h&&93==this.a?(Bdt(c,n,n),Bdt(c,45,45)):(u=this.a,10==h&&(u=this.ol()),axt(this),Bdt(c,n,u))}(this.e&GLt)==GLt&&0==this.c&&44==this.a&&axt(this)}if(1==this.c)throw Jb(new Zy(xxt((pA(),bLt))));return e&&(Cyt(e,c),c=e),Rht(c),_mt(c),this.b=0,axt(this),c},Sxt.rl=function(){var t,e,n,r;for(n=this.ql(!1);7!=(r=this.c);){if(t=this.a,(0!=r||45!=t&&38!=t)&&4!=r)throw Jb(new Zy(xxt((pA(),SLt))));if(axt(this),9!=this.c)throw Jb(new Zy(xxt((pA(),_Lt))));if(e=this.ql(!1),4==r)Qvt(n,e);else if(45==t)Cyt(n,e);else{if(38!=t)throw Jb(new sy("ASSERT"));dyt(n,e)}}return axt(this),n},Sxt.sl=function(){var t,e;return t=this.a-48,bxt(),bxt(),e=new bH(12,null,t),!this.g&&(this.g=new Ov),Tv(this.g,new Fb(t)),axt(this),e},Sxt.tl=function(){return axt(this),bxt(),zae},Sxt.ul=function(){return axt(this),bxt(),Fae},Sxt.vl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.wl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.xl=function(){return axt(this),u5()},Sxt.yl=function(){return axt(this),bxt(),Vae},Sxt.zl=function(){return axt(this),bxt(),Gae},Sxt.Al=function(){var t;if(this.d>=this.j||64!=(65504&(t=d$(this.i,this.d++))))throw Jb(new Zy(xxt((pA(),lLt))));return axt(this),bxt(),bxt(),new mj(0,t-64)},Sxt.Bl=function(){return axt(this),function(){var t,e,n,r,i,a;if(bxt(),Yae)return Yae;for(Qvt(t=new uG(4),Awt(njt,!0)),Cyt(t,Awt("M",!0)),Cyt(t,Awt("C",!0)),a=new uG(4),r=0;r<11;r++)Bdt(a,r,r);return Qvt(e=new uG(4),Awt("M",!0)),Bdt(e,4448,4607),Bdt(e,65438,65439),Tmt(i=new SA(2),t),Tmt(i,Dae),(n=new SA(2)).Vl(yj(a,Awt("L",!0))),n.Vl(e),n=new _X(3,n),n=new _B(i,n),Yae=n}()},Sxt.Cl=function(){return axt(this),bxt(),Uae},Sxt.Dl=function(){var t;return bxt(),bxt(),t=new mj(0,105),axt(this),t},Sxt.El=function(){return axt(this),bxt(),Hae},Sxt.Fl=function(){return axt(this),bxt(),$ae},Sxt.Gl=function(t,e){return this.ol()},Sxt.Hl=function(){return axt(this),bxt(),Oae},Sxt.Il=function(){var t,e,n,r,i;if(this.d+1>=this.j)throw Jb(new Zy(xxt((pA(),sLt))));if(r=-1,e=null,49<=(t=d$(this.i,this.d))&&t<=57){if(r=t-48,!this.g&&(this.g=new Ov),Tv(this.g,new Fb(r)),++this.d,41!=d$(this.i,this.d))throw Jb(new Zy(xxt((pA(),iLt))));++this.d}else switch(63==t&&--this.d,axt(this),(e=Gwt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));break;default:throw Jb(new Zy(xxt((pA(),uLt))))}if(axt(this),n=null,2==(i=ltt(this)).e){if(2!=i._l())throw Jb(new Zy(xxt((pA(),cLt))));n=i.Xl(1),i=i.Xl(0)}if(7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),bxt(),bxt(),new gQ(r,e,i,n)},Sxt.Jl=function(){return axt(this),bxt(),Lae},Sxt.Kl=function(){var t;if(axt(this),t=aB(24,ltt(this)),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Ll=function(){var t;if(axt(this),t=aB(20,ltt(this)),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Ml=function(){var t;if(axt(this),t=aB(22,ltt(this)),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Nl=function(){var t,e,n,r,i;for(t=0,n=0,e=-1;this.d<this.j&&0!=(i=Flt(e=d$(this.i,this.d)));)t|=i,++this.d;if(this.d>=this.j)throw Jb(new Zy(xxt((pA(),aLt))));if(45==e){for(++this.d;this.d<this.j&&0!=(i=Flt(e=d$(this.i,this.d)));)n|=i,++this.d;if(this.d>=this.j)throw Jb(new Zy(xxt((pA(),aLt))))}if(58==e){if(++this.d,axt(this),r=YB(ltt(this),t,n),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));axt(this)}else{if(41!=e)throw Jb(new Zy(xxt((pA(),oLt))));++this.d,axt(this),r=YB(ltt(this),t,n)}return r},Sxt.Ol=function(){var t;if(axt(this),t=aB(21,ltt(this)),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Pl=function(){var t;if(axt(this),t=aB(23,ltt(this)),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Ql=function(){var t,e;if(axt(this),t=this.f++,e=oB(ltt(this),t),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),e},Sxt.Rl=function(){var t;if(axt(this),t=oB(ltt(this),0),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Sl=function(t){return axt(this),5==this.c?(axt(this),yj(t,(bxt(),bxt(),new _X(9,t)))):yj(t,(bxt(),bxt(),new _X(3,t)))},Sxt.Tl=function(t){var e;return axt(this),bxt(),bxt(),e=new SA(2),5==this.c?(axt(this),Tmt(e,Dae),Tmt(e,t)):(Tmt(e,t),Tmt(e,Dae)),e},Sxt.Ul=function(t){return axt(this),5==this.c?(axt(this),bxt(),bxt(),new _X(9,t)):(bxt(),bxt(),new _X(3,t))},Sxt.a=0,Sxt.b=0,Sxt.c=0,Sxt.d=0,Sxt.e=0,Sxt.f=1,Sxt.g=null,Sxt.j=0;tz(GNt,"RegEx/RegexParser",799);Zlt(1796,799,{},Nm),Sxt.nl=function(t){return!1},Sxt.ol=function(){return gpt(this)},Sxt.pl=function(t){return Kgt(t)},Sxt.ql=function(t){return oxt(this)},Sxt.rl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.sl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.tl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.ul=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.vl=function(){return axt(this),Kgt(67)},Sxt.wl=function(){return axt(this),Kgt(73)},Sxt.xl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.yl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.zl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Al=function(){return axt(this),Kgt(99)},Sxt.Bl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Cl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Dl=function(){return axt(this),Kgt(105)},Sxt.El=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Fl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Gl=function(t,e){return Qvt(t,Kgt(e)),-1},Sxt.Hl=function(){return axt(this),bxt(),bxt(),new mj(0,94)},Sxt.Il=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Jl=function(){return axt(this),bxt(),bxt(),new mj(0,36)},Sxt.Kl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Ll=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Ml=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Nl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Ol=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Pl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Ql=function(){var t;if(axt(this),t=oB(ltt(this),0),7!=this.c)throw Jb(new Zy(xxt((pA(),iLt))));return axt(this),t},Sxt.Rl=function(){throw Jb(new Zy(xxt((pA(),ELt))))},Sxt.Sl=function(t){return axt(this),yj(t,(bxt(),bxt(),new _X(3,t)))},Sxt.Tl=function(t){var e;return axt(this),bxt(),bxt(),Tmt(e=new SA(2),t),Tmt(e,Dae),e},Sxt.Ul=function(t){return axt(this),bxt(),bxt(),new _X(3,t)};var Sae=null,kae=null;tz(GNt,"RegEx/ParserForXMLSchema",1796);Zlt(117,1,ajt,Bb),Sxt.Vl=function(t){throw Jb(new sy("Not supported."))},Sxt.Wl=function(){return-1},Sxt.Xl=function(t){return null},Sxt.Yl=function(){return null},Sxt.Zl=function(t){},Sxt.$l=function(t){},Sxt._l=function(){return 0},Sxt.Ib=function(){return this.am(0)},Sxt.am=function(t){return 11==this.e?".":""},Sxt.e=0;var Iae,Mae,Cae,Tae,Aae,Eae,Pae,Dae,Oae,Lae,Rae,Nae,jae,Fae,Bae,zae,$ae,Vae,Hae,Wae,Gae,Uae,Xae=null,qae=null,Yae=null,Kae=tz(GNt,"RegEx/Token",117);Zlt(136,117,{3:1,136:1,117:1},uG),Sxt.am=function(t){var e,n,r;if(4==this.e)if(this==Pae)n=".";else if(this==Eae)n="\\d";else if(this==Wae)n="\\w";else if(this==Bae)n="\\s";else{for((r=new fw).a+="[",e=0;e<this.b.length;e+=2)0!=(t&GLt)&&e>0&&(r.a+=","),this.b[e]===this.b[e+1]?HC(r,hvt(this.b[e])):(HC(r,hvt(this.b[e])),r.a+="-",HC(r,hvt(this.b[e+1])));r.a+="]",n=r.a}else if(this==Rae)n="\\D";else if(this==jae)n="\\W";else if(this==Nae)n="\\S";else{for((r=new fw).a+="[^",e=0;e<this.b.length;e+=2)0!=(t&GLt)&&e>0&&(r.a+=","),this.b[e]===this.b[e+1]?HC(r,hvt(this.b[e])):(HC(r,hvt(this.b[e])),r.a+="-",HC(r,hvt(this.b[e+1])));r.a+="]",n=r.a}return n},Sxt.a=!1,Sxt.c=!1;tz(GNt,"RegEx/RangeToken",136);Zlt(575,1,{575:1},Fb),Sxt.a=0;tz(GNt,"RegEx/RegexParser/ReferencePosition",575);Zlt(574,1,{3:1,574:1},n_),Sxt.Fb=function(t){var e;return null!=t&&(!!zA(t,574)&&(e=RR(t,574),hL(this.b,e.b)&&this.a==e.a))},Sxt.Hb=function(){return snt(this.b+"/"+adt(this.a))},Sxt.Ib=function(){return this.c.am(this.a)},Sxt.a=0;tz(GNt,"RegEx/RegularExpression",574);Zlt(221,117,ajt,mj),Sxt.Wl=function(){return this.a},Sxt.am=function(t){var e,n;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:n="\\"+pO(this.a&Y_t);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=BSt?"\\v"+BP(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+pO(this.a&Y_t)}break;case 8:n=this==Oae||this==Lae?""+pO(this.a&Y_t):"\\"+pO(this.a&Y_t);break;default:n=null}return n},Sxt.a=0;tz(GNt,"RegEx/Token/CharToken",221);Zlt(307,117,ajt,_X),Sxt.Xl=function(t){return this.a},Sxt.Zl=function(t){this.b=t},Sxt.$l=function(t){this.c=t},Sxt._l=function(){return 1},Sxt.am=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.am(t)+"*";else if(this.c==this.b)e=this.a.am(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.am(t)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw Jb(new sy("Token#toString(): CLOSURE "+this.c+Fxt+this.b));e=this.a.am(t)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)e=this.a.am(t)+"*?";else if(this.c==this.b)e=this.a.am(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.am(t)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw Jb(new sy("Token#toString(): NONGREEDYCLOSURE "+this.c+Fxt+this.b));e=this.a.am(t)+"{"+this.c+",}?"}return e},Sxt.b=0,Sxt.c=0;tz(GNt,"RegEx/Token/ClosureToken",307);Zlt(800,117,ajt,_B),Sxt.Xl=function(t){return 0==t?this.a:this.b},Sxt._l=function(){return 2},Sxt.am=function(t){return 3==this.b.e&&this.b.Xl(0)==this.a?this.a.am(t)+"+":9==this.b.e&&this.b.Xl(0)==this.a?this.a.am(t)+"+?":this.a.am(t)+""+this.b.am(t)};tz(GNt,"RegEx/Token/ConcatToken",800);Zlt(1794,117,ajt,gQ),Sxt.Xl=function(t){if(0==t)return this.d;if(1==t)return this.b;throw Jb(new sy("Internal Error: "+t))},Sxt._l=function(){return this.b?2:1},Sxt.am=function(t){var e;return e=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},Sxt.c=0;tz(GNt,"RegEx/Token/ConditionToken",1794);Zlt(1795,117,ajt,cG),Sxt.Xl=function(t){return this.b},Sxt._l=function(){return 1},Sxt.am=function(t){return"(?"+(0==this.a?"":adt(this.a))+(0==this.c?"":adt(this.c))+":"+this.b.am(t)+")"},Sxt.a=0,Sxt.c=0;tz(GNt,"RegEx/Token/ModifierToken",1795);Zlt(801,117,ajt,Pz),Sxt.Xl=function(t){return this.a},Sxt._l=function(){return 1},Sxt.am=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.am(t)+")":"("+this.a.am(t)+")";break;case 20:e="(?="+this.a.am(t)+")";break;case 21:e="(?!"+this.a.am(t)+")";break;case 22:e="(?<="+this.a.am(t)+")";break;case 23:e="(?<!"+this.a.am(t)+")";break;case 24:e="(?>"+this.a.am(t)+")"}return e},Sxt.b=0;tz(GNt,"RegEx/Token/ParenToken",801);Zlt(514,117,{3:1,117:1,514:1},bH),Sxt.Yl=function(){return this.b},Sxt.am=function(t){return 12==this.e?"\\"+this.a:function(t){var e,n,r,i;for(i=t.length,e=null,r=0;r<i;r++)AW(r,t.length),ST(".*+?{[()|\\^$",mot(n=t.charCodeAt(r)))>=0?(e||(e=new dw,r>0&&HC(e,t.substr(0,r))),e.a+="\\",rz(e,n&Y_t)):e&&rz(e,n&Y_t);return e?e.a:t}(this.b)},Sxt.a=0;tz(GNt,"RegEx/Token/StringToken",514);Zlt(459,117,ajt,SA),Sxt.Vl=function(t){Tmt(this,t)},Sxt.Xl=function(t){return RR(Bz(this.a,t),117)},Sxt._l=function(){return this.a?this.a.a.c.length:0},Sxt.am=function(t){var e,n,r,i,a;if(1==this.e){if(2==this.a.a.c.length)e=RR(Bz(this.a,0),117),i=3==(n=RR(Bz(this.a,1),117)).e&&n.Xl(0)==e?e.am(t)+"+":9==n.e&&n.Xl(0)==e?e.am(t)+"+?":e.am(t)+""+n.am(t);else{for(a=new fw,r=0;r<this.a.a.c.length;r++)HC(a,RR(Bz(this.a,r),117).am(t));i=a.a}return i}if(2==this.a.a.c.length&&7==RR(Bz(this.a,1),117).e)i=RR(Bz(this.a,0),117).am(t)+"?";else if(2==this.a.a.c.length&&7==RR(Bz(this.a,0),117).e)i=RR(Bz(this.a,1),117).am(t)+"??";else{for(HC(a=new fw,RR(Bz(this.a,0),117).am(t)),r=1;r<this.a.a.c.length;r++)a.a+="|",HC(a,RR(Bz(this.a,r),117).am(t));i=a.a}return i};tz(GNt,"RegEx/Token/UnionToken",459);Zlt(511,1,{583:1},Jx),Sxt.Ib=function(){return this.a.b};var Zae;tz(ojt,"XMLTypeUtil/PatternMatcherImpl",511);Zlt(1592,1352,{},Dl);var Qae;tz(ojt,"XMLTypeValidator",1592);Zlt(264,1,b_t,iF),Sxt.Hc=function(t){yq(this,t)},Sxt.Ic=function(){return(this.b-this.a)*this.c<0?Qae:new kE(this)},Sxt.a=0,Sxt.b=0,Sxt.c=0;tz(ujt,"ExclusiveRange",264);Zlt(1052,1,r_t,Ol),Sxt.Rb=function(t){RR(t,20),function(){throw Jb(new zy(cjt))}()},Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return function(){throw Jb(new vv)}()},Sxt.Ub=function(){return function(){throw Jb(new vv)}()},Sxt.Wb=function(t){RR(t,20),function(){throw Jb(new zy(ljt))}()},Sxt.Ob=function(){return!1},Sxt.Sb=function(){return!1},Sxt.Tb=function(){return-1},Sxt.Vb=function(){return-1},Sxt.Qb=function(){throw Jb(new zy(hjt))};tz(ujt,"ExclusiveRange/1",1052);Zlt(253,1,r_t,kE),Sxt.Rb=function(t){RR(t,20),function(){throw Jb(new zy(cjt))}()},Sxt.Nb=function(t){WF(this,t)},Sxt.Pb=function(){return function(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw Jb(new vv);return e=t.a,t.a+=t.c.c,++t.b,k8(e)}(this)},Sxt.Ub=function(){return function(t){if(t.b<=0)throw Jb(new vv);return--t.b,t.a-=t.c.c,k8(t.a)}(this)},Sxt.Wb=function(t){RR(t,20),function(){throw Jb(new zy(ljt))}()},Sxt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},Sxt.Sb=function(){return this.b>0},Sxt.Tb=function(){return this.b},Sxt.Vb=function(){return this.b-1},Sxt.Qb=function(){throw Jb(new zy(hjt))},Sxt.a=0,Sxt.b=0;tz(ujt,"ExclusiveRange/RangeIterator",253);var Jae,toe,eoe=u$(fRt,"C"),noe=u$(gRt,"I"),roe=u$(Ext,"Z"),ioe=u$(bRt,"J"),aoe=u$(hRt,"B"),ooe=u$(dRt,"D"),soe=u$(pRt,"F"),uoe=u$(vRt,"S"),coe=NN("org.eclipse.elk.core.labels","ILabelManager"),loe=NN(MOt,"DiagnosticChain"),hoe=NN(KRt,"ResourceSet"),foe=tz(MOt,"InvocationTargetException",null),doe=(Nw(),function(t){return Nw(),function(){return iU(t,this,arguments)}}),poe=poe=function(t,e,n,r){T_();var i=Ixt;function a(){for(var t=0;t<i.length;t++)i[t]()}if(e,n,r,t)try{doe(a)()}catch(n){t(e,n)}else doe(a)()};!function(){T_();for(var t=Ixt,e=0;e<arguments.length;e++)t.push(arguments[e])}((function(){Tx(),function(){function n(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var r=l7((mV(),new Qf(new Gf(Nne.b))));t.postMessage({id:n.id,data:r});break;case"categories":var i=l7((mV(),new Qf(new Gf(Nne.c))));t.postMessage({id:n.id,data:i});break;case"options":var a=l7((mV(),new Qf(new Gf(Nne.d))));t.postMessage({id:n.id,data:a});break;case"register":!function(t){var e,n,r;for(_5(Nne,X3(uw(pzt,1),zxt,130,0,[new Ih])),n=new sf(t),r=0;r<n.a.length;++r)hL(e=cQ(n,r).je().a,"layered")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new Jl])):hL(e,"force")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new Fl])):hL(e,"stress")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new zl])):hL(e,"mrtree")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new gh])):hL(e,"radial")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new yh])):hL(e,"disco")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new Rl,new Nl])):hL(e,"sporeOverlap")||hL(e,"sporeCompaction")?_5(Nne,X3(uw(pzt,1),zxt,130,0,[new _h])):hL(e,"rectpacking")&&_5(Nne,X3(uw(pzt,1),zxt,130,0,[new hh]))}(n.algorithms),t.postMessage({id:n.id});break;case"layout":!function(t,e,n){var r,i,a,o,s,u,c,l,h,f,d;a=new lf(t),fq((o=new lit).g),fq(o.j),JF(o.b),fq(o.d),fq(o.i),JF(o.k),JF(o.c),JF(o.e),d=Oct(o,a,null),Bht(o,a),i=d,e&&(s=function(t){var e,n,r,i,a,o,s;for(function(t,e){LR(t.c,e)}(a=new kG,(h4(),I6t)),i=u0(t,hK(MFt,u_t,2,0,6,1)),r=new Nf(new $y(new j_(t,i).b));r.b<r.d.gc();)MP(r.b<r.d.gc()),n=HD(r.d.Xb(r.c=r.b++)),(o=lyt(Nne,n))&&null!=(s=Zmt(o,(e=xH(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&((oP(o.j,(pet(),j6t))||oP(o.j,F6t))&&k4(zQ(a,lne),o,s),oP(o.j,R6t)&&k4(zQ(a,rne),o,s),oP(o.j,B6t)&&k4(zQ(a,hne),o,s),oP(o.j,N6t)&&k4(zQ(a,cne),o,s));return a}(c=new lf(e)),kst(i,X3(uw(C6t,1),zxt,520,0,[s])));f=!1,h=!1,n&&(c=new lf(n),KOt in c.a&&(f=xH(c,KOt).ge().a),ZOt in c.a&&(h=xH(c,ZOt).ge().a));l=ox(HJ(new Xm,f),h),function(t,e,n){var r;r=Ydt(t,e,!0),qat(n,"Recursive Graph Layout",r),kst(e,X3(uw(C6t,1),zxt,520,0,[new kh])),fK(e,(fxt(),G9t))||kst(e,X3(uw(C6t,1),zxt,520,0,[new ds])),Nwt(t,e,null,n),Sst(n)}(new os,i,l),KOt in a.a&&pQ(a,KOt,null),(f||h)&&(ovt(l,u=new cy,f,h),pQ(a,KOt,u));r=new rb(o),function(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&RR(t.g[t.i-1],49).Ob():QH(t);)vC(e,rft(t))}(new KT(i),r)}(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(e){t.postMessage({id:n.data.id,error:e})}}}function r(t){var e=this;this.dispatcher=new n({postMessage:function(t){e.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){e.dispatcher.saveDispatch({data:t})}),0)}}if(Tx(),typeof document===pkt&&typeof self!==pkt){var i=new n(self);self.onmessage=i.saveDispatch}else"object"!==pkt&&t.exports&&(Object.defineProperty(e,"__esModule",{value:!0}),t.exports={default:r,Worker:r})}()})),Jae="permProps",toe=[[[fjt,djt],[pjt,"gecko1_8"]],[[fjt,djt],[pjt,"ie10"]],[[fjt,djt],[pjt,"ie8"]],[[fjt,djt],[pjt,"ie9"]],[[fjt,djt],[pjt,"safari"]]],typeof window===Axt&&typeof window.$gwt===Axt&&(window.$gwt[Jae]=toe),poe(null,"elk",null)},9845:(t,e,n)=>{"use strict";function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}var a=function(t){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};r(this,e);var a=Object.assign({},t),o=!1;try{o=!0}catch(t){}if(t.workerUrl)if(o){var s=n(1723);a.workerFactory=function(t){return new s(t)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!a.workerFactory){var u=n(5877),c=u.Worker;a.workerFactory=function(t){return new c(t)}}return i(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,a))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(n(2905).default);Object.defineProperty(t.exports,"__esModule",{value:!0}),t.exports=a,a.default=a},4146:(t,e,n)=>{"use strict";var r=n(4363),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},o={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function u(t){return r.isMemo(t)?o:s[t.$$typeof]||i}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=o;var c=Object.defineProperty,l=Object.getOwnPropertyNames,h=Object.getOwnPropertySymbols,f=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,p=Object.prototype;t.exports=function t(e,n,r){if("string"!=typeof n){if(p){var i=d(n);i&&i!==p&&t(e,i,r)}var o=l(n);h&&(o=o.concat(h(n)));for(var s=u(e),g=u(n),b=0;b<o.length;++b){var v=o[b];if(!(a[v]||r&&r[v]||g&&g[v]||s&&s[v])){var m=f(n,v);try{c(e,v,m)}catch(t){}}}}return e}},8394:(t,e,n)=>{t=n.nmd(t);var r="__lodash_hash_undefined__",i=9007199254740991,a="[object Arguments]",o="[object Function]",s="[object Object]",u=/^\[object .+?Constructor\]$/,c=/^(?:0|[1-9]\d*)$/,l={};l["[object Float32Array]"]=l["[object Float64Array]"]=l["[object Int8Array]"]=l["[object Int16Array]"]=l["[object Int32Array]"]=l["[object Uint8Array]"]=l["[object Uint8ClampedArray]"]=l["[object Uint16Array]"]=l["[object Uint32Array]"]=!0,l[a]=l["[object Array]"]=l["[object ArrayBuffer]"]=l["[object Boolean]"]=l["[object DataView]"]=l["[object Date]"]=l["[object Error]"]=l[o]=l["[object Map]"]=l["[object Number]"]=l[s]=l["[object RegExp]"]=l["[object Set]"]=l["[object String]"]=l["[object WeakMap]"]=!1;var h="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,f="object"==typeof self&&self&&self.Object===Object&&self,d=h||f||Function("return this")(),p=e&&!e.nodeType&&e,g=p&&t&&!t.nodeType&&t,b=g&&g.exports===p,v=b&&h.process,m=function(){try{var t=g&&g.require&&g.require("util").types;return t||v&&v.binding&&v.binding("util")}catch(t){}}(),y=m&&m.isTypedArray;function w(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)}var x,_,S,k=Array.prototype,I=Function.prototype,M=Object.prototype,C=d["__core-js_shared__"],T=I.toString,A=M.hasOwnProperty,E=(x=/[^.]+$/.exec(C&&C.keys&&C.keys.IE_PROTO||""))?"Symbol(src)_1."+x:"",P=M.toString,D=T.call(Object),O=RegExp("^"+T.call(A).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),L=b?d.Buffer:void 0,R=d.Symbol,N=d.Uint8Array,j=L?L.allocUnsafe:void 0,F=(_=Object.getPrototypeOf,S=Object,function(t){return _(S(t))}),B=Object.create,z=M.propertyIsEnumerable,$=k.splice,V=R?R.toStringTag:void 0,H=function(){try{var t=gt(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),W=L?L.isBuffer:void 0,G=Math.max,U=Date.now,X=gt(d,"Map"),q=gt(Object,"create"),Y=function(){function t(){}return function(e){if(!Ct(e))return{};if(B)return B(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();function K(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 Z(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 Q(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 J(t){var e=this.__data__=new Z(t);this.size=e.size}function tt(t,e){var n=_t(t),r=!n&&xt(t),i=!n&&!r&&kt(t),a=!n&&!r&&!i&&At(t),o=n||r||i||a,s=o?function(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}(t.length,String):[],u=s.length;for(var c in t)!e&&!A.call(t,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||bt(c,u))||s.push(c);return s}function et(t,e,n){(void 0!==n&&!wt(t[e],n)||void 0===n&&!(e in t))&&it(t,e,n)}function nt(t,e,n){var r=t[e];A.call(t,e)&&wt(r,n)&&(void 0!==n||e in t)||it(t,e,n)}function rt(t,e){for(var n=t.length;n--;)if(wt(t[n][0],e))return n;return-1}function it(t,e,n){"__proto__"==e&&H?H(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}K.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},K.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},K.prototype.get=function(t){var e=this.__data__;if(q){var n=e[t];return n===r?void 0:n}return A.call(e,t)?e[t]:void 0},K.prototype.has=function(t){var e=this.__data__;return q?void 0!==e[t]:A.call(e,t)},K.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=q&&void 0===e?r:e,this},Z.prototype.clear=function(){this.__data__=[],this.size=0},Z.prototype.delete=function(t){var e=this.__data__,n=rt(e,t);return!(n<0)&&(n==e.length-1?e.pop():$.call(e,n,1),--this.size,!0)},Z.prototype.get=function(t){var e=this.__data__,n=rt(e,t);return n<0?void 0:e[n][1]},Z.prototype.has=function(t){return rt(this.__data__,t)>-1},Z.prototype.set=function(t,e){var n=this.__data__,r=rt(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new K,map:new(X||Z),string:new K}},Q.prototype.delete=function(t){var e=pt(this,t).delete(t);return this.size-=e?1:0,e},Q.prototype.get=function(t){return pt(this,t).get(t)},Q.prototype.has=function(t){return pt(this,t).has(t)},Q.prototype.set=function(t,e){var n=pt(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},J.prototype.clear=function(){this.__data__=new Z,this.size=0},J.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},J.prototype.get=function(t){return this.__data__.get(t)},J.prototype.has=function(t){return this.__data__.has(t)},J.prototype.set=function(t,e){var n=this.__data__;if(n instanceof Z){var r=n.__data__;if(!X||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Q(r)}return n.set(t,e),this.size=n.size,this};var at,ot=function(t,e,n){for(var r=-1,i=Object(t),a=n(t),o=a.length;o--;){var s=a[at?o:++r];if(!1===e(i[s],s,i))break}return t};function st(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":V&&V in Object(t)?function(t){var e=A.call(t,V),n=t[V];try{t[V]=void 0;var r=!0}catch(t){}var i=P.call(t);r&&(e?t[V]=n:delete t[V]);return i}(t):function(t){return P.call(t)}(t)}function ut(t){return Tt(t)&&st(t)==a}function ct(t){return!(!Ct(t)||function(t){return!!E&&E in t}(t))&&(It(t)?O:u).test(function(t){if(null!=t){try{return T.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}function lt(t){if(!Ct(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=vt(t),n=[];for(var r in t)("constructor"!=r||!e&&A.call(t,r))&&n.push(r);return n}function ht(t,e,n,r,i){t!==e&&ot(e,(function(a,o){if(i||(i=new J),Ct(a))!function(t,e,n,r,i,a,o){var u=mt(t,n),c=mt(e,n),l=o.get(c);if(l)return void et(t,n,l);var h=a?a(u,c,n+"",t,e,o):void 0,f=void 0===h;if(f){var d=_t(c),p=!d&&kt(c),g=!d&&!p&&At(c);h=c,d||p||g?_t(u)?h=u:Tt(w=u)&&St(w)?h=function(t,e){var n=-1,r=t.length;e||(e=Array(r));for(;++n<r;)e[n]=t[n];return e}(u):p?(f=!1,h=function(t,e){if(e)return t.slice();var n=t.length,r=j?j(n):new t.constructor(n);return t.copy(r),r}(c,!0)):g?(f=!1,b=c,v=!0?(m=b.buffer,y=new m.constructor(m.byteLength),new N(y).set(new N(m)),y):b.buffer,h=new b.constructor(v,b.byteOffset,b.length)):h=[]:function(t){if(!Tt(t)||st(t)!=s)return!1;var e=F(t);if(null===e)return!0;var n=A.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&T.call(n)==D}(c)||xt(c)?(h=u,xt(u)?h=function(t){return function(t,e,n,r){var i=!n;n||(n={});var a=-1,o=e.length;for(;++a<o;){var s=e[a],u=r?r(n[s],t[s],s,n,t):void 0;void 0===u&&(u=t[s]),i?it(n,s,u):nt(n,s,u)}return n}(t,Et(t))}(u):Ct(u)&&!It(u)||(h=function(t){return"function"!=typeof t.constructor||vt(t)?{}:Y(F(t))}(c))):f=!1}var b,v,m,y;var w;f&&(o.set(c,h),i(h,c,r,a,o),o.delete(c));et(t,n,h)}(t,e,o,n,ht,r,i);else{var u=r?r(mt(t,o),a,o+"",t,e,i):void 0;void 0===u&&(u=a),et(t,o,u)}}),Et)}function ft(t,e){return yt(function(t,e,n){return e=G(void 0===e?t.length-1:e,0),function(){for(var r=arguments,i=-1,a=G(r.length-e,0),o=Array(a);++i<a;)o[i]=r[e+i];i=-1;for(var s=Array(e+1);++i<e;)s[i]=r[i];return s[e]=n(o),w(t,this,s)}}(t,e,Ot),t+"")}var dt=H?function(t,e){return H(t,"toString",{configurable:!0,enumerable:!1,value:(n=e,function(){return n}),writable:!0});var n}:Ot;function pt(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 gt(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return ct(n)?n:void 0}function bt(t,e){var n=typeof t;return!!(e=null==e?i:e)&&("number"==n||"symbol"!=n&&c.test(t))&&t>-1&&t%1==0&&t<e}function vt(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||M)}function mt(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var yt=function(t){var e=0,n=0;return function(){var r=U(),i=16-(r-n);if(n=r,i>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(dt);function wt(t,e){return t===e||t!=t&&e!=e}var xt=ut(function(){return arguments}())?ut:function(t){return Tt(t)&&A.call(t,"callee")&&!z.call(t,"callee")},_t=Array.isArray;function St(t){return null!=t&&Mt(t.length)&&!It(t)}var kt=W||function(){return!1};function It(t){if(!Ct(t))return!1;var e=st(t);return e==o||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function Mt(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=i}function Ct(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function Tt(t){return null!=t&&"object"==typeof t}var At=y?function(t){return function(e){return t(e)}}(y):function(t){return Tt(t)&&Mt(t.length)&&!!l[st(t)]};function Et(t){return St(t)?tt(t,!0):lt(t)}var Pt,Dt=(Pt=function(t,e,n,r){ht(t,e,n,r)},ft((function(t,e){var n=-1,r=e.length,i=r>1?e[r-1]:void 0,a=r>2?e[2]:void 0;for(i=Pt.length>3&&"function"==typeof i?(r--,i):void 0,a&&function(t,e,n){if(!Ct(n))return!1;var r=typeof e;return!!("number"==r?St(n)&&bt(e,n.length):"string"==r&&e in n)&&wt(n[e],t)}(e[0],e[1],a)&&(i=r<3?void 0:i,r=1),t=Object(t);++n<r;){var o=e[n];o&&Pt(t,o,n,i)}return t})));function Ot(t){return t}t.exports=Dt},2543:function(t,e,n){var r;t=n.nmd(t),function(){var i,a="Expected a function",o="__lodash_hash_undefined__",s="__lodash_placeholder__",u=16,c=32,l=64,h=128,f=256,d=1/0,p=9007199254740991,g=NaN,b=4294967295,v=[["ary",h],["bind",1],["bindKey",2],["curry",8],["curryRight",u],["flip",512],["partial",c],["partialRight",l],["rearg",f]],m="[object Arguments]",y="[object Array]",w="[object Boolean]",x="[object Date]",_="[object Error]",S="[object Function]",k="[object GeneratorFunction]",I="[object Map]",M="[object Number]",C="[object Object]",T="[object Promise]",A="[object RegExp]",E="[object Set]",P="[object String]",D="[object Symbol]",O="[object WeakMap]",L="[object ArrayBuffer]",R="[object DataView]",N="[object Float32Array]",j="[object Float64Array]",F="[object Int8Array]",B="[object Int16Array]",z="[object Int32Array]",$="[object Uint8Array]",V="[object Uint8ClampedArray]",H="[object Uint16Array]",W="[object Uint32Array]",G=/\b__p \+= '';/g,U=/\b(__p \+=) '' \+/g,X=/(__e\(.*?\)|\b__t\)) \+\n'';/g,q=/&(?:amp|lt|gt|quot|#39);/g,Y=/[&<>"']/g,K=RegExp(q.source),Z=RegExp(Y.source),Q=/<%-([\s\S]+?)%>/g,J=/<%([\s\S]+?)%>/g,tt=/<%=([\s\S]+?)%>/g,et=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,nt=/^\w*$/,rt=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,it=/[\\^$.*+?()[\]{}|]/g,at=RegExp(it.source),ot=/^\s+/,st=/\s/,ut=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ct=/\{\n\/\* \[wrapped with (.+)\] \*/,lt=/,? & /,ht=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ft=/[()=,{}\[\]\/\s]/,dt=/\\(\\)?/g,pt=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,gt=/\w*$/,bt=/^[-+]0x[0-9a-f]+$/i,vt=/^0b[01]+$/i,mt=/^\[object .+?Constructor\]$/,yt=/^0o[0-7]+$/i,wt=/^(?:0|[1-9]\d*)$/,xt=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_t=/($^)/,St=/['\n\r\u2028\u2029\\]/g,kt="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",It="\\u2700-\\u27bf",Mt="a-z\\xdf-\\xf6\\xf8-\\xff",Ct="A-Z\\xc0-\\xd6\\xd8-\\xde",Tt="\\ufe0e\\ufe0f",At="\\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",Et="['’]",Pt="[\\ud800-\\udfff]",Dt="["+At+"]",Ot="["+kt+"]",Lt="\\d+",Rt="[\\u2700-\\u27bf]",Nt="["+Mt+"]",jt="[^\\ud800-\\udfff"+At+Lt+It+Mt+Ct+"]",Ft="\\ud83c[\\udffb-\\udfff]",Bt="[^\\ud800-\\udfff]",zt="(?:\\ud83c[\\udde6-\\uddff]){2}",$t="[\\ud800-\\udbff][\\udc00-\\udfff]",Vt="["+Ct+"]",Ht="(?:"+Nt+"|"+jt+")",Wt="(?:"+Vt+"|"+jt+")",Gt="(?:['’](?:d|ll|m|re|s|t|ve))?",Ut="(?:['’](?:D|LL|M|RE|S|T|VE))?",Xt="(?:"+Ot+"|"+Ft+")"+"?",qt="[\\ufe0e\\ufe0f]?",Yt=qt+Xt+("(?:\\u200d(?:"+[Bt,zt,$t].join("|")+")"+qt+Xt+")*"),Kt="(?:"+[Rt,zt,$t].join("|")+")"+Yt,Zt="(?:"+[Bt+Ot+"?",Ot,zt,$t,Pt].join("|")+")",Qt=RegExp(Et,"g"),Jt=RegExp(Ot,"g"),te=RegExp(Ft+"(?="+Ft+")|"+Zt+Yt,"g"),ee=RegExp([Vt+"?"+Nt+"+"+Gt+"(?="+[Dt,Vt,"$"].join("|")+")",Wt+"+"+Ut+"(?="+[Dt,Vt+Ht,"$"].join("|")+")",Vt+"?"+Ht+"+"+Gt,Vt+"+"+Ut,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Lt,Kt].join("|"),"g"),ne=RegExp("[\\u200d\\ud800-\\udfff"+kt+Tt+"]"),re=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,ie=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ae=-1,oe={};oe[N]=oe[j]=oe[F]=oe[B]=oe[z]=oe[$]=oe[V]=oe[H]=oe[W]=!0,oe[m]=oe[y]=oe[L]=oe[w]=oe[R]=oe[x]=oe[_]=oe[S]=oe[I]=oe[M]=oe[C]=oe[A]=oe[E]=oe[P]=oe[O]=!1;var se={};se[m]=se[y]=se[L]=se[R]=se[w]=se[x]=se[N]=se[j]=se[F]=se[B]=se[z]=se[I]=se[M]=se[C]=se[A]=se[E]=se[P]=se[D]=se[$]=se[V]=se[H]=se[W]=!0,se[_]=se[S]=se[O]=!1;var ue={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ce=parseFloat,le=parseInt,he="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g,fe="object"==typeof self&&self&&self.Object===Object&&self,de=he||fe||Function("return this")(),pe=e&&!e.nodeType&&e,ge=pe&&t&&!t.nodeType&&t,be=ge&&ge.exports===pe,ve=be&&he.process,me=function(){try{var t=ge&&ge.require&&ge.require("util").types;return t||ve&&ve.binding&&ve.binding("util")}catch(t){}}(),ye=me&&me.isArrayBuffer,we=me&&me.isDate,xe=me&&me.isMap,_e=me&&me.isRegExp,Se=me&&me.isSet,ke=me&&me.isTypedArray;function Ie(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 Me(t,e,n,r){for(var i=-1,a=null==t?0:t.length;++i<a;){var o=t[i];e(r,o,n(o),t)}return r}function Ce(t,e){for(var n=-1,r=null==t?0:t.length;++n<r&&!1!==e(t[n],n,t););return t}function Te(t,e){for(var n=null==t?0:t.length;n--&&!1!==e(t[n],n,t););return t}function Ae(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(!e(t[n],n,t))return!1;return!0}function Ee(t,e){for(var n=-1,r=null==t?0:t.length,i=0,a=[];++n<r;){var o=t[n];e(o,n,t)&&(a[i++]=o)}return a}function Pe(t,e){return!!(null==t?0:t.length)&&$e(t,e,0)>-1}function De(t,e,n){for(var r=-1,i=null==t?0:t.length;++r<i;)if(n(e,t[r]))return!0;return!1}function Oe(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}function Le(t,e){for(var n=-1,r=e.length,i=t.length;++n<r;)t[i+n]=e[n];return t}function Re(t,e,n,r){var i=-1,a=null==t?0:t.length;for(r&&a&&(n=t[++i]);++i<a;)n=e(n,t[i],i,t);return n}function Ne(t,e,n,r){var i=null==t?0:t.length;for(r&&i&&(n=t[--i]);i--;)n=e(n,t[i],i,t);return n}function je(t,e){for(var n=-1,r=null==t?0:t.length;++n<r;)if(e(t[n],n,t))return!0;return!1}var Fe=Ge("length");function Be(t,e,n){var r;return n(t,(function(t,n,i){if(e(t,n,i))return r=n,!1})),r}function ze(t,e,n,r){for(var i=t.length,a=n+(r?1:-1);r?a--:++a<i;)if(e(t[a],a,t))return a;return-1}function $e(t,e,n){return e==e?function(t,e,n){var r=n-1,i=t.length;for(;++r<i;)if(t[r]===e)return r;return-1}(t,e,n):ze(t,He,n)}function Ve(t,e,n,r){for(var i=n-1,a=t.length;++i<a;)if(r(t[i],e))return i;return-1}function He(t){return t!=t}function We(t,e){var n=null==t?0:t.length;return n?qe(t,e)/n:g}function Ge(t){return function(e){return null==e?i:e[t]}}function Ue(t){return function(e){return null==t?i:t[e]}}function Xe(t,e,n,r,i){return i(t,(function(t,i,a){n=r?(r=!1,t):e(n,t,i,a)})),n}function qe(t,e){for(var n,r=-1,a=t.length;++r<a;){var o=e(t[r]);o!==i&&(n=n===i?o:n+o)}return n}function Ye(t,e){for(var n=-1,r=Array(t);++n<t;)r[n]=e(n);return r}function Ke(t){return t?t.slice(0,gn(t)+1).replace(ot,""):t}function Ze(t){return function(e){return t(e)}}function Qe(t,e){return Oe(e,(function(e){return t[e]}))}function Je(t,e){return t.has(e)}function tn(t,e){for(var n=-1,r=t.length;++n<r&&$e(e,t[n],0)>-1;);return n}function en(t,e){for(var n=t.length;n--&&$e(e,t[n],0)>-1;);return n}function nn(t,e){for(var n=t.length,r=0;n--;)t[n]===e&&++r;return r}var rn=Ue({À:"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"}),an=Ue({"&":"&","<":"<",">":">",'"':""","'":"'"});function on(t){return"\\"+ue[t]}function sn(t){return ne.test(t)}function un(t){var e=-1,n=Array(t.size);return t.forEach((function(t,r){n[++e]=[r,t]})),n}function cn(t,e){return function(n){return t(e(n))}}function ln(t,e){for(var n=-1,r=t.length,i=0,a=[];++n<r;){var o=t[n];o!==e&&o!==s||(t[n]=s,a[i++]=n)}return a}function hn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}function fn(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=[t,t]})),n}function dn(t){return sn(t)?function(t){var e=te.lastIndex=0;for(;te.test(t);)++e;return e}(t):Fe(t)}function pn(t){return sn(t)?function(t){return t.match(te)||[]}(t):function(t){return t.split("")}(t)}function gn(t){for(var e=t.length;e--&&st.test(t.charAt(e)););return e}var bn=Ue({"&":"&","<":"<",">":">",""":'"',"'":"'"});var vn=function t(e){var n,r=(e=null==e?de:vn.defaults(de.Object(),e,vn.pick(de,ie))).Array,st=e.Date,kt=e.Error,It=e.Function,Mt=e.Math,Ct=e.Object,Tt=e.RegExp,At=e.String,Et=e.TypeError,Pt=r.prototype,Dt=It.prototype,Ot=Ct.prototype,Lt=e["__core-js_shared__"],Rt=Dt.toString,Nt=Ot.hasOwnProperty,jt=0,Ft=(n=/[^.]+$/.exec(Lt&&Lt.keys&&Lt.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"",Bt=Ot.toString,zt=Rt.call(Ct),$t=de._,Vt=Tt("^"+Rt.call(Nt).replace(it,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ht=be?e.Buffer:i,Wt=e.Symbol,Gt=e.Uint8Array,Ut=Ht?Ht.allocUnsafe:i,Xt=cn(Ct.getPrototypeOf,Ct),qt=Ct.create,Yt=Ot.propertyIsEnumerable,Kt=Pt.splice,Zt=Wt?Wt.isConcatSpreadable:i,te=Wt?Wt.iterator:i,ne=Wt?Wt.toStringTag:i,ue=function(){try{var t=da(Ct,"defineProperty");return t({},"",{}),t}catch(t){}}(),he=e.clearTimeout!==de.clearTimeout&&e.clearTimeout,fe=st&&st.now!==de.Date.now&&st.now,pe=e.setTimeout!==de.setTimeout&&e.setTimeout,ge=Mt.ceil,ve=Mt.floor,me=Ct.getOwnPropertySymbols,Fe=Ht?Ht.isBuffer:i,Ue=e.isFinite,mn=Pt.join,yn=cn(Ct.keys,Ct),wn=Mt.max,xn=Mt.min,_n=st.now,Sn=e.parseInt,kn=Mt.random,In=Pt.reverse,Mn=da(e,"DataView"),Cn=da(e,"Map"),Tn=da(e,"Promise"),An=da(e,"Set"),En=da(e,"WeakMap"),Pn=da(Ct,"create"),Dn=En&&new En,On={},Ln=za(Mn),Rn=za(Cn),Nn=za(Tn),jn=za(An),Fn=za(En),Bn=Wt?Wt.prototype:i,zn=Bn?Bn.valueOf:i,$n=Bn?Bn.toString:i;function Vn(t){if(is(t)&&!Xo(t)&&!(t instanceof Un)){if(t instanceof Gn)return t;if(Nt.call(t,"__wrapped__"))return $a(t)}return new Gn(t)}var Hn=function(){function t(){}return function(e){if(!rs(e))return{};if(qt)return qt(e);t.prototype=e;var n=new t;return t.prototype=i,n}}();function Wn(){}function Gn(t,e){this.__wrapped__=t,this.__actions__=[],this.__chain__=!!e,this.__index__=0,this.__values__=i}function Un(t){this.__wrapped__=t,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=b,this.__views__=[]}function Xn(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 qn(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 Yn(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 Kn(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Yn;++e<n;)this.add(t[e])}function Zn(t){var e=this.__data__=new qn(t);this.size=e.size}function Qn(t,e){var n=Xo(t),r=!n&&Uo(t),i=!n&&!r&&Zo(t),a=!n&&!r&&!i&&fs(t),o=n||r||i||a,s=o?Ye(t.length,At):[],u=s.length;for(var c in t)!e&&!Nt.call(t,c)||o&&("length"==c||i&&("offset"==c||"parent"==c)||a&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||wa(c,u))||s.push(c);return s}function Jn(t){var e=t.length;return e?t[Kr(0,e-1)]:i}function tr(t,e){return ja(Pi(t),cr(e,0,t.length))}function er(t){return ja(Pi(t))}function nr(t,e,n){(n!==i&&!Ho(t[e],n)||n===i&&!(e in t))&&sr(t,e,n)}function rr(t,e,n){var r=t[e];Nt.call(t,e)&&Ho(r,n)&&(n!==i||e in t)||sr(t,e,n)}function ir(t,e){for(var n=t.length;n--;)if(Ho(t[n][0],e))return n;return-1}function ar(t,e,n,r){return pr(t,(function(t,i,a){e(r,t,n(t),a)})),r}function or(t,e){return t&&Di(e,Ls(e),t)}function sr(t,e,n){"__proto__"==e&&ue?ue(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}function ur(t,e){for(var n=-1,a=e.length,o=r(a),s=null==t;++n<a;)o[n]=s?i:As(t,e[n]);return o}function cr(t,e,n){return t==t&&(n!==i&&(t=t<=n?t:n),e!==i&&(t=t>=e?t:e)),t}function lr(t,e,n,r,a,o){var s,u=1&e,c=2&e,l=4&e;if(n&&(s=a?n(t,r,a,o):n(t)),s!==i)return s;if(!rs(t))return t;var h=Xo(t);if(h){if(s=function(t){var e=t.length,n=new t.constructor(e);e&&"string"==typeof t[0]&&Nt.call(t,"index")&&(n.index=t.index,n.input=t.input);return n}(t),!u)return Pi(t,s)}else{var f=ba(t),d=f==S||f==k;if(Zo(t))return Ii(t,u);if(f==C||f==m||d&&!a){if(s=c||d?{}:ma(t),!u)return c?function(t,e){return Di(t,ga(t),e)}(t,function(t,e){return t&&Di(e,Rs(e),t)}(s,t)):function(t,e){return Di(t,pa(t),e)}(t,or(s,t))}else{if(!se[f])return a?t:{};s=function(t,e,n){var r=t.constructor;switch(e){case L:return Mi(t);case w:case x:return new r(+t);case R:return function(t,e){var n=e?Mi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case N:case j:case F:case B:case z:case $:case V:case H:case W:return Ci(t,n);case I:return new r;case M:case P:return new r(t);case A:return function(t){var e=new t.constructor(t.source,gt.exec(t));return e.lastIndex=t.lastIndex,e}(t);case E:return new r;case D:return i=t,zn?Ct(zn.call(i)):{}}var i}(t,f,u)}}o||(o=new Zn);var p=o.get(t);if(p)return p;o.set(t,s),cs(t)?t.forEach((function(r){s.add(lr(r,e,n,r,t,o))})):as(t)&&t.forEach((function(r,i){s.set(i,lr(r,e,n,i,t,o))}));var g=h?i:(l?c?oa:aa:c?Rs:Ls)(t);return Ce(g||t,(function(r,i){g&&(r=t[i=r]),rr(s,i,lr(r,e,n,i,t,o))})),s}function hr(t,e,n){var r=n.length;if(null==t)return!r;for(t=Ct(t);r--;){var a=n[r],o=e[a],s=t[a];if(s===i&&!(a in t)||!o(s))return!1}return!0}function fr(t,e,n){if("function"!=typeof t)throw new Et(a);return Oa((function(){t.apply(i,n)}),e)}function dr(t,e,n,r){var i=-1,a=Pe,o=!0,s=t.length,u=[],c=e.length;if(!s)return u;n&&(e=Oe(e,Ze(n))),r?(a=De,o=!1):e.length>=200&&(a=Je,o=!1,e=new Kn(e));t:for(;++i<s;){var l=t[i],h=null==n?l:n(l);if(l=r||0!==l?l:0,o&&h==h){for(var f=c;f--;)if(e[f]===h)continue t;u.push(l)}else a(e,h,r)||u.push(l)}return u}Vn.templateSettings={escape:Q,evaluate:J,interpolate:tt,variable:"",imports:{_:Vn}},Vn.prototype=Wn.prototype,Vn.prototype.constructor=Vn,Gn.prototype=Hn(Wn.prototype),Gn.prototype.constructor=Gn,Un.prototype=Hn(Wn.prototype),Un.prototype.constructor=Un,Xn.prototype.clear=function(){this.__data__=Pn?Pn(null):{},this.size=0},Xn.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Xn.prototype.get=function(t){var e=this.__data__;if(Pn){var n=e[t];return n===o?i:n}return Nt.call(e,t)?e[t]:i},Xn.prototype.has=function(t){var e=this.__data__;return Pn?e[t]!==i:Nt.call(e,t)},Xn.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Pn&&e===i?o:e,this},qn.prototype.clear=function(){this.__data__=[],this.size=0},qn.prototype.delete=function(t){var e=this.__data__,n=ir(e,t);return!(n<0)&&(n==e.length-1?e.pop():Kt.call(e,n,1),--this.size,!0)},qn.prototype.get=function(t){var e=this.__data__,n=ir(e,t);return n<0?i:e[n][1]},qn.prototype.has=function(t){return ir(this.__data__,t)>-1},qn.prototype.set=function(t,e){var n=this.__data__,r=ir(n,t);return r<0?(++this.size,n.push([t,e])):n[r][1]=e,this},Yn.prototype.clear=function(){this.size=0,this.__data__={hash:new Xn,map:new(Cn||qn),string:new Xn}},Yn.prototype.delete=function(t){var e=ha(this,t).delete(t);return this.size-=e?1:0,e},Yn.prototype.get=function(t){return ha(this,t).get(t)},Yn.prototype.has=function(t){return ha(this,t).has(t)},Yn.prototype.set=function(t,e){var n=ha(this,t),r=n.size;return n.set(t,e),this.size+=n.size==r?0:1,this},Kn.prototype.add=Kn.prototype.push=function(t){return this.__data__.set(t,o),this},Kn.prototype.has=function(t){return this.__data__.has(t)},Zn.prototype.clear=function(){this.__data__=new qn,this.size=0},Zn.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},Zn.prototype.get=function(t){return this.__data__.get(t)},Zn.prototype.has=function(t){return this.__data__.has(t)},Zn.prototype.set=function(t,e){var n=this.__data__;if(n instanceof qn){var r=n.__data__;if(!Cn||r.length<199)return r.push([t,e]),this.size=++n.size,this;n=this.__data__=new Yn(r)}return n.set(t,e),this.size=n.size,this};var pr=Ri(_r),gr=Ri(Sr,!0);function br(t,e){var n=!0;return pr(t,(function(t,r,i){return n=!!e(t,r,i)})),n}function vr(t,e,n){for(var r=-1,a=t.length;++r<a;){var o=t[r],s=e(o);if(null!=s&&(u===i?s==s&&!hs(s):n(s,u)))var u=s,c=o}return c}function mr(t,e){var n=[];return pr(t,(function(t,r,i){e(t,r,i)&&n.push(t)})),n}function yr(t,e,n,r,i){var a=-1,o=t.length;for(n||(n=ya),i||(i=[]);++a<o;){var s=t[a];e>0&&n(s)?e>1?yr(s,e-1,n,r,i):Le(i,s):r||(i[i.length]=s)}return i}var wr=Ni(),xr=Ni(!0);function _r(t,e){return t&&wr(t,e,Ls)}function Sr(t,e){return t&&xr(t,e,Ls)}function kr(t,e){return Ee(e,(function(e){return ts(t[e])}))}function Ir(t,e){for(var n=0,r=(e=xi(e,t)).length;null!=t&&n<r;)t=t[Ba(e[n++])];return n&&n==r?t:i}function Mr(t,e,n){var r=e(t);return Xo(t)?r:Le(r,n(t))}function Cr(t){return null==t?t===i?"[object Undefined]":"[object Null]":ne&&ne in Ct(t)?function(t){var e=Nt.call(t,ne),n=t[ne];try{t[ne]=i;var r=!0}catch(t){}var a=Bt.call(t);r&&(e?t[ne]=n:delete t[ne]);return a}(t):function(t){return Bt.call(t)}(t)}function Tr(t,e){return t>e}function Ar(t,e){return null!=t&&Nt.call(t,e)}function Er(t,e){return null!=t&&e in Ct(t)}function Pr(t,e,n){for(var a=n?De:Pe,o=t[0].length,s=t.length,u=s,c=r(s),l=1/0,h=[];u--;){var f=t[u];u&&e&&(f=Oe(f,Ze(e))),l=xn(f.length,l),c[u]=!n&&(e||o>=120&&f.length>=120)?new Kn(u&&f):i}f=t[0];var d=-1,p=c[0];t:for(;++d<o&&h.length<l;){var g=f[d],b=e?e(g):g;if(g=n||0!==g?g:0,!(p?Je(p,b):a(h,b,n))){for(u=s;--u;){var v=c[u];if(!(v?Je(v,b):a(t[u],b,n)))continue t}p&&p.push(b),h.push(g)}}return h}function Dr(t,e,n){var r=null==(t=Aa(t,e=xi(e,t)))?t:t[Ba(Qa(e))];return null==r?i:Ie(r,t,n)}function Or(t){return is(t)&&Cr(t)==m}function Lr(t,e,n,r,a){return t===e||(null==t||null==e||!is(t)&&!is(e)?t!=t&&e!=e:function(t,e,n,r,a,o){var s=Xo(t),u=Xo(e),c=s?y:ba(t),l=u?y:ba(e),h=(c=c==m?C:c)==C,f=(l=l==m?C:l)==C,d=c==l;if(d&&Zo(t)){if(!Zo(e))return!1;s=!0,h=!1}if(d&&!h)return o||(o=new Zn),s||fs(t)?ra(t,e,n,r,a,o):function(t,e,n,r,i,a,o){switch(n){case R:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case L:return!(t.byteLength!=e.byteLength||!a(new Gt(t),new Gt(e)));case w:case x:case M:return Ho(+t,+e);case _:return t.name==e.name&&t.message==e.message;case A:case P:return t==e+"";case I:var s=un;case E:var u=1&r;if(s||(s=hn),t.size!=e.size&&!u)return!1;var c=o.get(t);if(c)return c==e;r|=2,o.set(t,e);var l=ra(s(t),s(e),r,i,a,o);return o.delete(t),l;case D:if(zn)return zn.call(t)==zn.call(e)}return!1}(t,e,c,n,r,a,o);if(!(1&n)){var p=h&&Nt.call(t,"__wrapped__"),g=f&&Nt.call(e,"__wrapped__");if(p||g){var b=p?t.value():t,v=g?e.value():e;return o||(o=new Zn),a(b,v,n,r,o)}}if(!d)return!1;return o||(o=new Zn),function(t,e,n,r,a,o){var s=1&n,u=aa(t),c=u.length,l=aa(e).length;if(c!=l&&!s)return!1;var h=c;for(;h--;){var f=u[h];if(!(s?f in e:Nt.call(e,f)))return!1}var d=o.get(t),p=o.get(e);if(d&&p)return d==e&&p==t;var g=!0;o.set(t,e),o.set(e,t);var b=s;for(;++h<c;){var v=t[f=u[h]],m=e[f];if(r)var y=s?r(m,v,f,e,t,o):r(v,m,f,t,e,o);if(!(y===i?v===m||a(v,m,n,r,o):y)){g=!1;break}b||(b="constructor"==f)}if(g&&!b){var w=t.constructor,x=e.constructor;w==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(g=!1)}return o.delete(t),o.delete(e),g}(t,e,n,r,a,o)}(t,e,n,r,Lr,a))}function Rr(t,e,n,r){var a=n.length,o=a,s=!r;if(null==t)return!o;for(t=Ct(t);a--;){var u=n[a];if(s&&u[2]?u[1]!==t[u[0]]:!(u[0]in t))return!1}for(;++a<o;){var c=(u=n[a])[0],l=t[c],h=u[1];if(s&&u[2]){if(l===i&&!(c in t))return!1}else{var f=new Zn;if(r)var d=r(l,h,c,t,e,f);if(!(d===i?Lr(h,l,3,r,f):d))return!1}}return!0}function Nr(t){return!(!rs(t)||(e=t,Ft&&Ft in e))&&(ts(t)?Vt:mt).test(za(t));var e}function jr(t){return"function"==typeof t?t:null==t?ou:"object"==typeof t?Xo(t)?Hr(t[0],t[1]):Vr(t):gu(t)}function Fr(t){if(!Ia(t))return yn(t);var e=[];for(var n in Ct(t))Nt.call(t,n)&&"constructor"!=n&&e.push(n);return e}function Br(t){if(!rs(t))return function(t){var e=[];if(null!=t)for(var n in Ct(t))e.push(n);return e}(t);var e=Ia(t),n=[];for(var r in t)("constructor"!=r||!e&&Nt.call(t,r))&&n.push(r);return n}function zr(t,e){return t<e}function $r(t,e){var n=-1,i=Yo(t)?r(t.length):[];return pr(t,(function(t,r,a){i[++n]=e(t,r,a)})),i}function Vr(t){var e=fa(t);return 1==e.length&&e[0][2]?Ca(e[0][0],e[0][1]):function(n){return n===t||Rr(n,t,e)}}function Hr(t,e){return _a(t)&&Ma(e)?Ca(Ba(t),e):function(n){var r=As(n,t);return r===i&&r===e?Es(n,t):Lr(e,r,3)}}function Wr(t,e,n,r,a){t!==e&&wr(e,(function(o,s){if(a||(a=new Zn),rs(o))!function(t,e,n,r,a,o,s){var u=Pa(t,n),c=Pa(e,n),l=s.get(c);if(l)return void nr(t,n,l);var h=o?o(u,c,n+"",t,e,s):i,f=h===i;if(f){var d=Xo(c),p=!d&&Zo(c),g=!d&&!p&&fs(c);h=c,d||p||g?Xo(u)?h=u:Ko(u)?h=Pi(u):p?(f=!1,h=Ii(c,!0)):g?(f=!1,h=Ci(c,!0)):h=[]:ss(c)||Uo(c)?(h=u,Uo(u)?h=ws(u):rs(u)&&!ts(u)||(h=ma(c))):f=!1}f&&(s.set(c,h),a(h,c,r,o,s),s.delete(c));nr(t,n,h)}(t,e,s,n,Wr,r,a);else{var u=r?r(Pa(t,s),o,s+"",t,e,a):i;u===i&&(u=o),nr(t,s,u)}}),Rs)}function Gr(t,e){var n=t.length;if(n)return wa(e+=e<0?n:0,n)?t[e]:i}function Ur(t,e,n){e=e.length?Oe(e,(function(t){return Xo(t)?function(e){return Ir(e,1===t.length?t[0]:t)}:t})):[ou];var r=-1;e=Oe(e,Ze(la()));var i=$r(t,(function(t,n,i){var a=Oe(e,(function(e){return e(t)}));return{criteria:a,index:++r,value:t}}));return function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}(i,(function(t,e){return function(t,e,n){var r=-1,i=t.criteria,a=e.criteria,o=i.length,s=n.length;for(;++r<o;){var u=Ti(i[r],a[r]);if(u)return r>=s?u:u*("desc"==n[r]?-1:1)}return t.index-e.index}(t,e,n)}))}function Xr(t,e,n){for(var r=-1,i=e.length,a={};++r<i;){var o=e[r],s=Ir(t,o);n(s,o)&&ei(a,xi(o,t),s)}return a}function qr(t,e,n,r){var i=r?Ve:$e,a=-1,o=e.length,s=t;for(t===e&&(e=Pi(e)),n&&(s=Oe(t,Ze(n)));++a<o;)for(var u=0,c=e[a],l=n?n(c):c;(u=i(s,l,u,r))>-1;)s!==t&&Kt.call(s,u,1),Kt.call(t,u,1);return t}function Yr(t,e){for(var n=t?e.length:0,r=n-1;n--;){var i=e[n];if(n==r||i!==a){var a=i;wa(i)?Kt.call(t,i,1):di(t,i)}}return t}function Kr(t,e){return t+ve(kn()*(e-t+1))}function Zr(t,e){var n="";if(!t||e<1||e>p)return n;do{e%2&&(n+=t),(e=ve(e/2))&&(t+=t)}while(e);return n}function Qr(t,e){return La(Ta(t,e,ou),t+"")}function Jr(t){return Jn(Hs(t))}function ti(t,e){var n=Hs(t);return ja(n,cr(e,0,n.length))}function ei(t,e,n,r){if(!rs(t))return t;for(var a=-1,o=(e=xi(e,t)).length,s=o-1,u=t;null!=u&&++a<o;){var c=Ba(e[a]),l=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(a!=s){var h=u[c];(l=r?r(h,c,u):i)===i&&(l=rs(h)?h:wa(e[a+1])?[]:{})}rr(u,c,l),u=u[c]}return t}var ni=Dn?function(t,e){return Dn.set(t,e),t}:ou,ri=ue?function(t,e){return ue(t,"toString",{configurable:!0,enumerable:!1,value:ru(e),writable:!0})}:ou;function ii(t){return ja(Hs(t))}function ai(t,e,n){var i=-1,a=t.length;e<0&&(e=-e>a?0:a+e),(n=n>a?a:n)<0&&(n+=a),a=e>n?0:n-e>>>0,e>>>=0;for(var o=r(a);++i<a;)o[i]=t[i+e];return o}function oi(t,e){var n;return pr(t,(function(t,r,i){return!(n=e(t,r,i))})),!!n}function si(t,e,n){var r=0,i=null==t?r:t.length;if("number"==typeof e&&e==e&&i<=2147483647){for(;r<i;){var a=r+i>>>1,o=t[a];null!==o&&!hs(o)&&(n?o<=e:o<e)?r=a+1:i=a}return i}return ui(t,e,ou,n)}function ui(t,e,n,r){var a=0,o=null==t?0:t.length;if(0===o)return 0;for(var s=(e=n(e))!=e,u=null===e,c=hs(e),l=e===i;a<o;){var h=ve((a+o)/2),f=n(t[h]),d=f!==i,p=null===f,g=f==f,b=hs(f);if(s)var v=r||g;else v=l?g&&(r||d):u?g&&d&&(r||!p):c?g&&d&&!p&&(r||!b):!p&&!b&&(r?f<=e:f<e);v?a=h+1:o=h}return xn(o,4294967294)}function ci(t,e){for(var n=-1,r=t.length,i=0,a=[];++n<r;){var o=t[n],s=e?e(o):o;if(!n||!Ho(s,u)){var u=s;a[i++]=0===o?0:o}}return a}function li(t){return"number"==typeof t?t:hs(t)?g:+t}function hi(t){if("string"==typeof t)return t;if(Xo(t))return Oe(t,hi)+"";if(hs(t))return $n?$n.call(t):"";var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function fi(t,e,n){var r=-1,i=Pe,a=t.length,o=!0,s=[],u=s;if(n)o=!1,i=De;else if(a>=200){var c=e?null:Zi(t);if(c)return hn(c);o=!1,i=Je,u=new Kn}else u=e?[]:s;t:for(;++r<a;){var l=t[r],h=e?e(l):l;if(l=n||0!==l?l:0,o&&h==h){for(var f=u.length;f--;)if(u[f]===h)continue t;e&&u.push(h),s.push(l)}else i(u,h,n)||(u!==s&&u.push(h),s.push(l))}return s}function di(t,e){return null==(t=Aa(t,e=xi(e,t)))||delete t[Ba(Qa(e))]}function pi(t,e,n,r){return ei(t,e,n(Ir(t,e)),r)}function gi(t,e,n,r){for(var i=t.length,a=r?i:-1;(r?a--:++a<i)&&e(t[a],a,t););return n?ai(t,r?0:a,r?a+1:i):ai(t,r?a+1:0,r?i:a)}function bi(t,e){var n=t;return n instanceof Un&&(n=n.value()),Re(e,(function(t,e){return e.func.apply(e.thisArg,Le([t],e.args))}),n)}function vi(t,e,n){var i=t.length;if(i<2)return i?fi(t[0]):[];for(var a=-1,o=r(i);++a<i;)for(var s=t[a],u=-1;++u<i;)u!=a&&(o[a]=dr(o[a]||s,t[u],e,n));return fi(yr(o,1),e,n)}function mi(t,e,n){for(var r=-1,a=t.length,o=e.length,s={};++r<a;){var u=r<o?e[r]:i;n(s,t[r],u)}return s}function yi(t){return Ko(t)?t:[]}function wi(t){return"function"==typeof t?t:ou}function xi(t,e){return Xo(t)?t:_a(t,e)?[t]:Fa(xs(t))}var _i=Qr;function Si(t,e,n){var r=t.length;return n=n===i?r:n,!e&&n>=r?t:ai(t,e,n)}var ki=he||function(t){return de.clearTimeout(t)};function Ii(t,e){if(e)return t.slice();var n=t.length,r=Ut?Ut(n):new t.constructor(n);return t.copy(r),r}function Mi(t){var e=new t.constructor(t.byteLength);return new Gt(e).set(new Gt(t)),e}function Ci(t,e){var n=e?Mi(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Ti(t,e){if(t!==e){var n=t!==i,r=null===t,a=t==t,o=hs(t),s=e!==i,u=null===e,c=e==e,l=hs(e);if(!u&&!l&&!o&&t>e||o&&s&&c&&!u&&!l||r&&s&&c||!n&&c||!a)return 1;if(!r&&!o&&!l&&t<e||l&&n&&a&&!r&&!o||u&&n&&a||!s&&a||!c)return-1}return 0}function Ai(t,e,n,i){for(var a=-1,o=t.length,s=n.length,u=-1,c=e.length,l=wn(o-s,0),h=r(c+l),f=!i;++u<c;)h[u]=e[u];for(;++a<s;)(f||a<o)&&(h[n[a]]=t[a]);for(;l--;)h[u++]=t[a++];return h}function Ei(t,e,n,i){for(var a=-1,o=t.length,s=-1,u=n.length,c=-1,l=e.length,h=wn(o-u,0),f=r(h+l),d=!i;++a<h;)f[a]=t[a];for(var p=a;++c<l;)f[p+c]=e[c];for(;++s<u;)(d||a<o)&&(f[p+n[s]]=t[a++]);return f}function Pi(t,e){var n=-1,i=t.length;for(e||(e=r(i));++n<i;)e[n]=t[n];return e}function Di(t,e,n,r){var a=!n;n||(n={});for(var o=-1,s=e.length;++o<s;){var u=e[o],c=r?r(n[u],t[u],u,n,t):i;c===i&&(c=t[u]),a?sr(n,u,c):rr(n,u,c)}return n}function Oi(t,e){return function(n,r){var i=Xo(n)?Me:ar,a=e?e():{};return i(n,t,la(r,2),a)}}function Li(t){return Qr((function(e,n){var r=-1,a=n.length,o=a>1?n[a-1]:i,s=a>2?n[2]:i;for(o=t.length>3&&"function"==typeof o?(a--,o):i,s&&xa(n[0],n[1],s)&&(o=a<3?i:o,a=1),e=Ct(e);++r<a;){var u=n[r];u&&t(e,u,r,o)}return e}))}function Ri(t,e){return function(n,r){if(null==n)return n;if(!Yo(n))return t(n,r);for(var i=n.length,a=e?i:-1,o=Ct(n);(e?a--:++a<i)&&!1!==r(o[a],a,o););return n}}function Ni(t){return function(e,n,r){for(var i=-1,a=Ct(e),o=r(e),s=o.length;s--;){var u=o[t?s:++i];if(!1===n(a[u],u,a))break}return e}}function ji(t){return function(e){var n=sn(e=xs(e))?pn(e):i,r=n?n[0]:e.charAt(0),a=n?Si(n,1).join(""):e.slice(1);return r[t]()+a}}function Fi(t){return function(e){return Re(tu(Us(e).replace(Qt,"")),t,"")}}function Bi(t){return function(){var e=arguments;switch(e.length){case 0:return new t;case 1:return new t(e[0]);case 2:return new t(e[0],e[1]);case 3:return new t(e[0],e[1],e[2]);case 4:return new t(e[0],e[1],e[2],e[3]);case 5:return new t(e[0],e[1],e[2],e[3],e[4]);case 6:return new t(e[0],e[1],e[2],e[3],e[4],e[5]);case 7:return new t(e[0],e[1],e[2],e[3],e[4],e[5],e[6])}var n=Hn(t.prototype),r=t.apply(n,e);return rs(r)?r:n}}function zi(t){return function(e,n,r){var a=Ct(e);if(!Yo(e)){var o=la(n,3);e=Ls(e),n=function(t){return o(a[t],t,a)}}var s=t(e,n,r);return s>-1?a[o?e[s]:s]:i}}function $i(t){return ia((function(e){var n=e.length,r=n,o=Gn.prototype.thru;for(t&&e.reverse();r--;){var s=e[r];if("function"!=typeof s)throw new Et(a);if(o&&!u&&"wrapper"==ua(s))var u=new Gn([],!0)}for(r=u?r:n;++r<n;){var c=ua(s=e[r]),l="wrapper"==c?sa(s):i;u=l&&Sa(l[0])&&424==l[1]&&!l[4].length&&1==l[9]?u[ua(l[0])].apply(u,l[3]):1==s.length&&Sa(s)?u[c]():u.thru(s)}return function(){var t=arguments,r=t[0];if(u&&1==t.length&&Xo(r))return u.plant(r).value();for(var i=0,a=n?e[i].apply(this,t):r;++i<n;)a=e[i].call(this,a);return a}}))}function Vi(t,e,n,a,o,s,u,c,l,f){var d=e&h,p=1&e,g=2&e,b=24&e,v=512&e,m=g?i:Bi(t);return function i(){for(var h=arguments.length,y=r(h),w=h;w--;)y[w]=arguments[w];if(b)var x=ca(i),_=nn(y,x);if(a&&(y=Ai(y,a,o,b)),s&&(y=Ei(y,s,u,b)),h-=_,b&&h<f){var S=ln(y,x);return Yi(t,e,Vi,i.placeholder,n,y,S,c,l,f-h)}var k=p?n:this,I=g?k[t]:t;return h=y.length,c?y=Ea(y,c):v&&h>1&&y.reverse(),d&&l<h&&(y.length=l),this&&this!==de&&this instanceof i&&(I=m||Bi(I)),I.apply(k,y)}}function Hi(t,e){return function(n,r){return function(t,e,n,r){return _r(t,(function(t,i,a){e(r,n(t),i,a)})),r}(n,t,e(r),{})}}function Wi(t,e){return function(n,r){var a;if(n===i&&r===i)return e;if(n!==i&&(a=n),r!==i){if(a===i)return r;"string"==typeof n||"string"==typeof r?(n=hi(n),r=hi(r)):(n=li(n),r=li(r)),a=t(n,r)}return a}}function Gi(t){return ia((function(e){return e=Oe(e,Ze(la())),Qr((function(n){var r=this;return t(e,(function(t){return Ie(t,r,n)}))}))}))}function Ui(t,e){var n=(e=e===i?" ":hi(e)).length;if(n<2)return n?Zr(e,t):e;var r=Zr(e,ge(t/dn(e)));return sn(e)?Si(pn(r),0,t).join(""):r.slice(0,t)}function Xi(t){return function(e,n,a){return a&&"number"!=typeof a&&xa(e,n,a)&&(n=a=i),e=bs(e),n===i?(n=e,e=0):n=bs(n),function(t,e,n,i){for(var a=-1,o=wn(ge((e-t)/(n||1)),0),s=r(o);o--;)s[i?o:++a]=t,t+=n;return s}(e,n,a=a===i?e<n?1:-1:bs(a),t)}}function qi(t){return function(e,n){return"string"==typeof e&&"string"==typeof n||(e=ys(e),n=ys(n)),t(e,n)}}function Yi(t,e,n,r,a,o,s,u,h,f){var d=8&e;e|=d?c:l,4&(e&=~(d?l:c))||(e&=-4);var p=[t,e,a,d?o:i,d?s:i,d?i:o,d?i:s,u,h,f],g=n.apply(i,p);return Sa(t)&&Da(g,p),g.placeholder=r,Ra(g,t,e)}function Ki(t){var e=Mt[t];return function(t,n){if(t=ys(t),(n=null==n?0:xn(vs(n),292))&&Ue(t)){var r=(xs(t)+"e").split("e");return+((r=(xs(e(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return e(t)}}var Zi=An&&1/hn(new An([,-0]))[1]==d?function(t){return new An(t)}:hu;function Qi(t){return function(e){var n=ba(e);return n==I?un(e):n==E?fn(e):function(t,e){return Oe(e,(function(e){return[e,t[e]]}))}(e,t(e))}}function Ji(t,e,n,o,d,p,g,b){var v=2&e;if(!v&&"function"!=typeof t)throw new Et(a);var m=o?o.length:0;if(m||(e&=-97,o=d=i),g=g===i?g:wn(vs(g),0),b=b===i?b:vs(b),m-=d?d.length:0,e&l){var y=o,w=d;o=d=i}var x=v?i:sa(t),_=[t,e,n,o,d,y,w,p,g,b];if(x&&function(t,e){var n=t[1],r=e[1],i=n|r,a=i<131,o=r==h&&8==n||r==h&&n==f&&t[7].length<=e[8]||384==r&&e[7].length<=e[8]&&8==n;if(!a&&!o)return t;1&r&&(t[2]=e[2],i|=1&n?0:4);var u=e[3];if(u){var c=t[3];t[3]=c?Ai(c,u,e[4]):u,t[4]=c?ln(t[3],s):e[4]}(u=e[5])&&(c=t[5],t[5]=c?Ei(c,u,e[6]):u,t[6]=c?ln(t[5],s):e[6]);(u=e[7])&&(t[7]=u);r&h&&(t[8]=null==t[8]?e[8]:xn(t[8],e[8]));null==t[9]&&(t[9]=e[9]);t[0]=e[0],t[1]=i}(_,x),t=_[0],e=_[1],n=_[2],o=_[3],d=_[4],!(b=_[9]=_[9]===i?v?0:t.length:wn(_[9]-m,0))&&24&e&&(e&=-25),e&&1!=e)S=8==e||e==u?function(t,e,n){var a=Bi(t);return function o(){for(var s=arguments.length,u=r(s),c=s,l=ca(o);c--;)u[c]=arguments[c];var h=s<3&&u[0]!==l&&u[s-1]!==l?[]:ln(u,l);return(s-=h.length)<n?Yi(t,e,Vi,o.placeholder,i,u,h,i,i,n-s):Ie(this&&this!==de&&this instanceof o?a:t,this,u)}}(t,e,b):e!=c&&33!=e||d.length?Vi.apply(i,_):function(t,e,n,i){var a=1&e,o=Bi(t);return function e(){for(var s=-1,u=arguments.length,c=-1,l=i.length,h=r(l+u),f=this&&this!==de&&this instanceof e?o:t;++c<l;)h[c]=i[c];for(;u--;)h[c++]=arguments[++s];return Ie(f,a?n:this,h)}}(t,e,n,o);else var S=function(t,e,n){var r=1&e,i=Bi(t);return function e(){return(this&&this!==de&&this instanceof e?i:t).apply(r?n:this,arguments)}}(t,e,n);return Ra((x?ni:Da)(S,_),t,e)}function ta(t,e,n,r){return t===i||Ho(t,Ot[n])&&!Nt.call(r,n)?e:t}function ea(t,e,n,r,a,o){return rs(t)&&rs(e)&&(o.set(e,t),Wr(t,e,i,ea,o),o.delete(e)),t}function na(t){return ss(t)?i:t}function ra(t,e,n,r,a,o){var s=1&n,u=t.length,c=e.length;if(u!=c&&!(s&&c>u))return!1;var l=o.get(t),h=o.get(e);if(l&&h)return l==e&&h==t;var f=-1,d=!0,p=2&n?new Kn:i;for(o.set(t,e),o.set(e,t);++f<u;){var g=t[f],b=e[f];if(r)var v=s?r(b,g,f,e,t,o):r(g,b,f,t,e,o);if(v!==i){if(v)continue;d=!1;break}if(p){if(!je(e,(function(t,e){if(!Je(p,e)&&(g===t||a(g,t,n,r,o)))return p.push(e)}))){d=!1;break}}else if(g!==b&&!a(g,b,n,r,o)){d=!1;break}}return o.delete(t),o.delete(e),d}function ia(t){return La(Ta(t,i,Xa),t+"")}function aa(t){return Mr(t,Ls,pa)}function oa(t){return Mr(t,Rs,ga)}var sa=Dn?function(t){return Dn.get(t)}:hu;function ua(t){for(var e=t.name+"",n=On[e],r=Nt.call(On,e)?n.length:0;r--;){var i=n[r],a=i.func;if(null==a||a==t)return i.name}return e}function ca(t){return(Nt.call(Vn,"placeholder")?Vn:t).placeholder}function la(){var t=Vn.iteratee||su;return t=t===su?jr:t,arguments.length?t(arguments[0],arguments[1]):t}function ha(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 fa(t){for(var e=Ls(t),n=e.length;n--;){var r=e[n],i=t[r];e[n]=[r,i,Ma(i)]}return e}function da(t,e){var n=function(t,e){return null==t?i:t[e]}(t,e);return Nr(n)?n:i}var pa=me?function(t){return null==t?[]:(t=Ct(t),Ee(me(t),(function(e){return Yt.call(t,e)})))}:mu,ga=me?function(t){for(var e=[];t;)Le(e,pa(t)),t=Xt(t);return e}:mu,ba=Cr;function va(t,e,n){for(var r=-1,i=(e=xi(e,t)).length,a=!1;++r<i;){var o=Ba(e[r]);if(!(a=null!=t&&n(t,o)))break;t=t[o]}return a||++r!=i?a:!!(i=null==t?0:t.length)&&ns(i)&&wa(o,i)&&(Xo(t)||Uo(t))}function ma(t){return"function"!=typeof t.constructor||Ia(t)?{}:Hn(Xt(t))}function ya(t){return Xo(t)||Uo(t)||!!(Zt&&t&&t[Zt])}function wa(t,e){var n=typeof t;return!!(e=null==e?p:e)&&("number"==n||"symbol"!=n&&wt.test(t))&&t>-1&&t%1==0&&t<e}function xa(t,e,n){if(!rs(n))return!1;var r=typeof e;return!!("number"==r?Yo(n)&&wa(e,n.length):"string"==r&&e in n)&&Ho(n[e],t)}function _a(t,e){if(Xo(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!hs(t))||(nt.test(t)||!et.test(t)||null!=e&&t in Ct(e))}function Sa(t){var e=ua(t),n=Vn[e];if("function"!=typeof n||!(e in Un.prototype))return!1;if(t===n)return!0;var r=sa(n);return!!r&&t===r[0]}(Mn&&ba(new Mn(new ArrayBuffer(1)))!=R||Cn&&ba(new Cn)!=I||Tn&&ba(Tn.resolve())!=T||An&&ba(new An)!=E||En&&ba(new En)!=O)&&(ba=function(t){var e=Cr(t),n=e==C?t.constructor:i,r=n?za(n):"";if(r)switch(r){case Ln:return R;case Rn:return I;case Nn:return T;case jn:return E;case Fn:return O}return e});var ka=Lt?ts:yu;function Ia(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Ot)}function Ma(t){return t==t&&!rs(t)}function Ca(t,e){return function(n){return null!=n&&(n[t]===e&&(e!==i||t in Ct(n)))}}function Ta(t,e,n){return e=wn(e===i?t.length-1:e,0),function(){for(var i=arguments,a=-1,o=wn(i.length-e,0),s=r(o);++a<o;)s[a]=i[e+a];a=-1;for(var u=r(e+1);++a<e;)u[a]=i[a];return u[e]=n(s),Ie(t,this,u)}}function Aa(t,e){return e.length<2?t:Ir(t,ai(e,0,-1))}function Ea(t,e){for(var n=t.length,r=xn(e.length,n),a=Pi(t);r--;){var o=e[r];t[r]=wa(o,n)?a[o]:i}return t}function Pa(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var Da=Na(ni),Oa=pe||function(t,e){return de.setTimeout(t,e)},La=Na(ri);function Ra(t,e,n){var r=e+"";return La(t,function(t,e){var n=e.length;if(!n)return t;var r=n-1;return e[r]=(n>1?"& ":"")+e[r],e=e.join(n>2?", ":" "),t.replace(ut,"{\n/* [wrapped with "+e+"] */\n")}(r,function(t,e){return Ce(v,(function(n){var r="_."+n[0];e&n[1]&&!Pe(t,r)&&t.push(r)})),t.sort()}(function(t){var e=t.match(ct);return e?e[1].split(lt):[]}(r),n)))}function Na(t){var e=0,n=0;return function(){var r=_n(),a=16-(r-n);if(n=r,a>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(i,arguments)}}function ja(t,e){var n=-1,r=t.length,a=r-1;for(e=e===i?r:e;++n<e;){var o=Kr(n,a),s=t[o];t[o]=t[n],t[n]=s}return t.length=e,t}var Fa=function(t){var e=jo(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(rt,(function(t,n,r,i){e.push(r?i.replace(dt,"$1"):n||t)})),e}));function Ba(t){if("string"==typeof t||hs(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}function za(t){if(null!=t){try{return Rt.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $a(t){if(t instanceof Un)return t.clone();var e=new Gn(t.__wrapped__,t.__chain__);return e.__actions__=Pi(t.__actions__),e.__index__=t.__index__,e.__values__=t.__values__,e}var Va=Qr((function(t,e){return Ko(t)?dr(t,yr(e,1,Ko,!0)):[]})),Ha=Qr((function(t,e){var n=Qa(e);return Ko(n)&&(n=i),Ko(t)?dr(t,yr(e,1,Ko,!0),la(n,2)):[]})),Wa=Qr((function(t,e){var n=Qa(e);return Ko(n)&&(n=i),Ko(t)?dr(t,yr(e,1,Ko,!0),i,n):[]}));function Ga(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vs(n);return i<0&&(i=wn(r+i,0)),ze(t,la(e,3),i)}function Ua(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=r-1;return n!==i&&(a=vs(n),a=n<0?wn(r+a,0):xn(a,r-1)),ze(t,la(e,3),a,!0)}function Xa(t){return(null==t?0:t.length)?yr(t,1):[]}function qa(t){return t&&t.length?t[0]:i}var Ya=Qr((function(t){var e=Oe(t,yi);return e.length&&e[0]===t[0]?Pr(e):[]})),Ka=Qr((function(t){var e=Qa(t),n=Oe(t,yi);return e===Qa(n)?e=i:n.pop(),n.length&&n[0]===t[0]?Pr(n,la(e,2)):[]})),Za=Qr((function(t){var e=Qa(t),n=Oe(t,yi);return(e="function"==typeof e?e:i)&&n.pop(),n.length&&n[0]===t[0]?Pr(n,i,e):[]}));function Qa(t){var e=null==t?0:t.length;return e?t[e-1]:i}var Ja=Qr(to);function to(t,e){return t&&t.length&&e&&e.length?qr(t,e):t}var eo=ia((function(t,e){var n=null==t?0:t.length,r=ur(t,e);return Yr(t,Oe(e,(function(t){return wa(t,n)?+t:t})).sort(Ti)),r}));function no(t){return null==t?t:In.call(t)}var ro=Qr((function(t){return fi(yr(t,1,Ko,!0))})),io=Qr((function(t){var e=Qa(t);return Ko(e)&&(e=i),fi(yr(t,1,Ko,!0),la(e,2))})),ao=Qr((function(t){var e=Qa(t);return e="function"==typeof e?e:i,fi(yr(t,1,Ko,!0),i,e)}));function oo(t){if(!t||!t.length)return[];var e=0;return t=Ee(t,(function(t){if(Ko(t))return e=wn(t.length,e),!0})),Ye(e,(function(e){return Oe(t,Ge(e))}))}function so(t,e){if(!t||!t.length)return[];var n=oo(t);return null==e?n:Oe(n,(function(t){return Ie(e,i,t)}))}var uo=Qr((function(t,e){return Ko(t)?dr(t,e):[]})),co=Qr((function(t){return vi(Ee(t,Ko))})),lo=Qr((function(t){var e=Qa(t);return Ko(e)&&(e=i),vi(Ee(t,Ko),la(e,2))})),ho=Qr((function(t){var e=Qa(t);return e="function"==typeof e?e:i,vi(Ee(t,Ko),i,e)})),fo=Qr(oo);var po=Qr((function(t){var e=t.length,n=e>1?t[e-1]:i;return n="function"==typeof n?(t.pop(),n):i,so(t,n)}));function go(t){var e=Vn(t);return e.__chain__=!0,e}function bo(t,e){return e(t)}var vo=ia((function(t){var e=t.length,n=e?t[0]:0,r=this.__wrapped__,a=function(e){return ur(e,t)};return!(e>1||this.__actions__.length)&&r instanceof Un&&wa(n)?((r=r.slice(n,+n+(e?1:0))).__actions__.push({func:bo,args:[a],thisArg:i}),new Gn(r,this.__chain__).thru((function(t){return e&&!t.length&&t.push(i),t}))):this.thru(a)}));var mo=Oi((function(t,e,n){Nt.call(t,n)?++t[n]:sr(t,n,1)}));var yo=zi(Ga),wo=zi(Ua);function xo(t,e){return(Xo(t)?Ce:pr)(t,la(e,3))}function _o(t,e){return(Xo(t)?Te:gr)(t,la(e,3))}var So=Oi((function(t,e,n){Nt.call(t,n)?t[n].push(e):sr(t,n,[e])}));var ko=Qr((function(t,e,n){var i=-1,a="function"==typeof e,o=Yo(t)?r(t.length):[];return pr(t,(function(t){o[++i]=a?Ie(e,t,n):Dr(t,e,n)})),o})),Io=Oi((function(t,e,n){sr(t,n,e)}));function Mo(t,e){return(Xo(t)?Oe:$r)(t,la(e,3))}var Co=Oi((function(t,e,n){t[n?0:1].push(e)}),(function(){return[[],[]]}));var To=Qr((function(t,e){if(null==t)return[];var n=e.length;return n>1&&xa(t,e[0],e[1])?e=[]:n>2&&xa(e[0],e[1],e[2])&&(e=[e[0]]),Ur(t,yr(e,1),[])})),Ao=fe||function(){return de.Date.now()};function Eo(t,e,n){return e=n?i:e,e=t&&null==e?t.length:e,Ji(t,h,i,i,i,i,e)}function Po(t,e){var n;if("function"!=typeof e)throw new Et(a);return t=vs(t),function(){return--t>0&&(n=e.apply(this,arguments)),t<=1&&(e=i),n}}var Do=Qr((function(t,e,n){var r=1;if(n.length){var i=ln(n,ca(Do));r|=c}return Ji(t,r,e,n,i)})),Oo=Qr((function(t,e,n){var r=3;if(n.length){var i=ln(n,ca(Oo));r|=c}return Ji(e,r,t,n,i)}));function Lo(t,e,n){var r,o,s,u,c,l,h=0,f=!1,d=!1,p=!0;if("function"!=typeof t)throw new Et(a);function g(e){var n=r,a=o;return r=o=i,h=e,u=t.apply(a,n)}function b(t){return h=t,c=Oa(m,e),f?g(t):u}function v(t){var n=t-l;return l===i||n>=e||n<0||d&&t-h>=s}function m(){var t=Ao();if(v(t))return y(t);c=Oa(m,function(t){var n=e-(t-l);return d?xn(n,s-(t-h)):n}(t))}function y(t){return c=i,p&&r?g(t):(r=o=i,u)}function w(){var t=Ao(),n=v(t);if(r=arguments,o=this,l=t,n){if(c===i)return b(l);if(d)return ki(c),c=Oa(m,e),g(l)}return c===i&&(c=Oa(m,e)),u}return e=ys(e)||0,rs(n)&&(f=!!n.leading,s=(d="maxWait"in n)?wn(ys(n.maxWait)||0,e):s,p="trailing"in n?!!n.trailing:p),w.cancel=function(){c!==i&&ki(c),h=0,r=l=o=c=i},w.flush=function(){return c===i?u:y(Ao())},w}var Ro=Qr((function(t,e){return fr(t,1,e)})),No=Qr((function(t,e,n){return fr(t,ys(e)||0,n)}));function jo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new Et(a);var n=function(){var r=arguments,i=e?e.apply(this,r):r[0],a=n.cache;if(a.has(i))return a.get(i);var o=t.apply(this,r);return n.cache=a.set(i,o)||a,o};return n.cache=new(jo.Cache||Yn),n}function Fo(t){if("function"!=typeof t)throw new Et(a);return function(){var e=arguments;switch(e.length){case 0:return!t.call(this);case 1:return!t.call(this,e[0]);case 2:return!t.call(this,e[0],e[1]);case 3:return!t.call(this,e[0],e[1],e[2])}return!t.apply(this,e)}}jo.Cache=Yn;var Bo=_i((function(t,e){var n=(e=1==e.length&&Xo(e[0])?Oe(e[0],Ze(la())):Oe(yr(e,1),Ze(la()))).length;return Qr((function(r){for(var i=-1,a=xn(r.length,n);++i<a;)r[i]=e[i].call(this,r[i]);return Ie(t,this,r)}))})),zo=Qr((function(t,e){var n=ln(e,ca(zo));return Ji(t,c,i,e,n)})),$o=Qr((function(t,e){var n=ln(e,ca($o));return Ji(t,l,i,e,n)})),Vo=ia((function(t,e){return Ji(t,f,i,i,i,e)}));function Ho(t,e){return t===e||t!=t&&e!=e}var Wo=qi(Tr),Go=qi((function(t,e){return t>=e})),Uo=Or(function(){return arguments}())?Or:function(t){return is(t)&&Nt.call(t,"callee")&&!Yt.call(t,"callee")},Xo=r.isArray,qo=ye?Ze(ye):function(t){return is(t)&&Cr(t)==L};function Yo(t){return null!=t&&ns(t.length)&&!ts(t)}function Ko(t){return is(t)&&Yo(t)}var Zo=Fe||yu,Qo=we?Ze(we):function(t){return is(t)&&Cr(t)==x};function Jo(t){if(!is(t))return!1;var e=Cr(t);return e==_||"[object DOMException]"==e||"string"==typeof t.message&&"string"==typeof t.name&&!ss(t)}function ts(t){if(!rs(t))return!1;var e=Cr(t);return e==S||e==k||"[object AsyncFunction]"==e||"[object Proxy]"==e}function es(t){return"number"==typeof t&&t==vs(t)}function ns(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=p}function rs(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function is(t){return null!=t&&"object"==typeof t}var as=xe?Ze(xe):function(t){return is(t)&&ba(t)==I};function os(t){return"number"==typeof t||is(t)&&Cr(t)==M}function ss(t){if(!is(t)||Cr(t)!=C)return!1;var e=Xt(t);if(null===e)return!0;var n=Nt.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&Rt.call(n)==zt}var us=_e?Ze(_e):function(t){return is(t)&&Cr(t)==A};var cs=Se?Ze(Se):function(t){return is(t)&&ba(t)==E};function ls(t){return"string"==typeof t||!Xo(t)&&is(t)&&Cr(t)==P}function hs(t){return"symbol"==typeof t||is(t)&&Cr(t)==D}var fs=ke?Ze(ke):function(t){return is(t)&&ns(t.length)&&!!oe[Cr(t)]};var ds=qi(zr),ps=qi((function(t,e){return t<=e}));function gs(t){if(!t)return[];if(Yo(t))return ls(t)?pn(t):Pi(t);if(te&&t[te])return function(t){for(var e,n=[];!(e=t.next()).done;)n.push(e.value);return n}(t[te]());var e=ba(t);return(e==I?un:e==E?hn:Hs)(t)}function bs(t){return t?(t=ys(t))===d||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}function vs(t){var e=bs(t),n=e%1;return e==e?n?e-n:e:0}function ms(t){return t?cr(vs(t),0,b):0}function ys(t){if("number"==typeof t)return t;if(hs(t))return g;if(rs(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=rs(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=Ke(t);var n=vt.test(t);return n||yt.test(t)?le(t.slice(2),n?2:8):bt.test(t)?g:+t}function ws(t){return Di(t,Rs(t))}function xs(t){return null==t?"":hi(t)}var _s=Li((function(t,e){if(Ia(e)||Yo(e))Di(e,Ls(e),t);else for(var n in e)Nt.call(e,n)&&rr(t,n,e[n])})),Ss=Li((function(t,e){Di(e,Rs(e),t)})),ks=Li((function(t,e,n,r){Di(e,Rs(e),t,r)})),Is=Li((function(t,e,n,r){Di(e,Ls(e),t,r)})),Ms=ia(ur);var Cs=Qr((function(t,e){t=Ct(t);var n=-1,r=e.length,a=r>2?e[2]:i;for(a&&xa(e[0],e[1],a)&&(r=1);++n<r;)for(var o=e[n],s=Rs(o),u=-1,c=s.length;++u<c;){var l=s[u],h=t[l];(h===i||Ho(h,Ot[l])&&!Nt.call(t,l))&&(t[l]=o[l])}return t})),Ts=Qr((function(t){return t.push(i,ea),Ie(js,i,t)}));function As(t,e,n){var r=null==t?i:Ir(t,e);return r===i?n:r}function Es(t,e){return null!=t&&va(t,e,Er)}var Ps=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),t[e]=n}),ru(ou)),Ds=Hi((function(t,e,n){null!=e&&"function"!=typeof e.toString&&(e=Bt.call(e)),Nt.call(t,e)?t[e].push(n):t[e]=[n]}),la),Os=Qr(Dr);function Ls(t){return Yo(t)?Qn(t):Fr(t)}function Rs(t){return Yo(t)?Qn(t,!0):Br(t)}var Ns=Li((function(t,e,n){Wr(t,e,n)})),js=Li((function(t,e,n,r){Wr(t,e,n,r)})),Fs=ia((function(t,e){var n={};if(null==t)return n;var r=!1;e=Oe(e,(function(e){return e=xi(e,t),r||(r=e.length>1),e})),Di(t,oa(t),n),r&&(n=lr(n,7,na));for(var i=e.length;i--;)di(n,e[i]);return n}));var Bs=ia((function(t,e){return null==t?{}:function(t,e){return Xr(t,e,(function(e,n){return Es(t,n)}))}(t,e)}));function zs(t,e){if(null==t)return{};var n=Oe(oa(t),(function(t){return[t]}));return e=la(e),Xr(t,n,(function(t,n){return e(t,n[0])}))}var $s=Qi(Ls),Vs=Qi(Rs);function Hs(t){return null==t?[]:Qe(t,Ls(t))}var Ws=Fi((function(t,e,n){return e=e.toLowerCase(),t+(n?Gs(e):e)}));function Gs(t){return Js(xs(t).toLowerCase())}function Us(t){return(t=xs(t))&&t.replace(xt,rn).replace(Jt,"")}var Xs=Fi((function(t,e,n){return t+(n?"-":"")+e.toLowerCase()})),qs=Fi((function(t,e,n){return t+(n?" ":"")+e.toLowerCase()})),Ys=ji("toLowerCase");var Ks=Fi((function(t,e,n){return t+(n?"_":"")+e.toLowerCase()}));var Zs=Fi((function(t,e,n){return t+(n?" ":"")+Js(e)}));var Qs=Fi((function(t,e,n){return t+(n?" ":"")+e.toUpperCase()})),Js=ji("toUpperCase");function tu(t,e,n){return t=xs(t),(e=n?i:e)===i?function(t){return re.test(t)}(t)?function(t){return t.match(ee)||[]}(t):function(t){return t.match(ht)||[]}(t):t.match(e)||[]}var eu=Qr((function(t,e){try{return Ie(t,i,e)}catch(t){return Jo(t)?t:new kt(t)}})),nu=ia((function(t,e){return Ce(e,(function(e){e=Ba(e),sr(t,e,Do(t[e],t))})),t}));function ru(t){return function(){return t}}var iu=$i(),au=$i(!0);function ou(t){return t}function su(t){return jr("function"==typeof t?t:lr(t,1))}var uu=Qr((function(t,e){return function(n){return Dr(n,t,e)}})),cu=Qr((function(t,e){return function(n){return Dr(t,n,e)}}));function lu(t,e,n){var r=Ls(e),i=kr(e,r);null!=n||rs(e)&&(i.length||!r.length)||(n=e,e=t,t=this,i=kr(e,Ls(e)));var a=!(rs(n)&&"chain"in n&&!n.chain),o=ts(t);return Ce(i,(function(n){var r=e[n];t[n]=r,o&&(t.prototype[n]=function(){var e=this.__chain__;if(a||e){var n=t(this.__wrapped__),i=n.__actions__=Pi(this.__actions__);return i.push({func:r,args:arguments,thisArg:t}),n.__chain__=e,n}return r.apply(t,Le([this.value()],arguments))})})),t}function hu(){}var fu=Gi(Oe),du=Gi(Ae),pu=Gi(je);function gu(t){return _a(t)?Ge(Ba(t)):function(t){return function(e){return Ir(e,t)}}(t)}var bu=Xi(),vu=Xi(!0);function mu(){return[]}function yu(){return!1}var wu=Wi((function(t,e){return t+e}),0),xu=Ki("ceil"),_u=Wi((function(t,e){return t/e}),1),Su=Ki("floor");var ku,Iu=Wi((function(t,e){return t*e}),1),Mu=Ki("round"),Cu=Wi((function(t,e){return t-e}),0);return Vn.after=function(t,e){if("function"!=typeof e)throw new Et(a);return t=vs(t),function(){if(--t<1)return e.apply(this,arguments)}},Vn.ary=Eo,Vn.assign=_s,Vn.assignIn=Ss,Vn.assignInWith=ks,Vn.assignWith=Is,Vn.at=Ms,Vn.before=Po,Vn.bind=Do,Vn.bindAll=nu,Vn.bindKey=Oo,Vn.castArray=function(){if(!arguments.length)return[];var t=arguments[0];return Xo(t)?t:[t]},Vn.chain=go,Vn.chunk=function(t,e,n){e=(n?xa(t,e,n):e===i)?1:wn(vs(e),0);var a=null==t?0:t.length;if(!a||e<1)return[];for(var o=0,s=0,u=r(ge(a/e));o<a;)u[s++]=ai(t,o,o+=e);return u},Vn.compact=function(t){for(var e=-1,n=null==t?0:t.length,r=0,i=[];++e<n;){var a=t[e];a&&(i[r++]=a)}return i},Vn.concat=function(){var t=arguments.length;if(!t)return[];for(var e=r(t-1),n=arguments[0],i=t;i--;)e[i-1]=arguments[i];return Le(Xo(n)?Pi(n):[n],yr(e,1))},Vn.cond=function(t){var e=null==t?0:t.length,n=la();return t=e?Oe(t,(function(t){if("function"!=typeof t[1])throw new Et(a);return[n(t[0]),t[1]]})):[],Qr((function(n){for(var r=-1;++r<e;){var i=t[r];if(Ie(i[0],this,n))return Ie(i[1],this,n)}}))},Vn.conforms=function(t){return function(t){var e=Ls(t);return function(n){return hr(n,t,e)}}(lr(t,1))},Vn.constant=ru,Vn.countBy=mo,Vn.create=function(t,e){var n=Hn(t);return null==e?n:or(n,e)},Vn.curry=function t(e,n,r){var a=Ji(e,8,i,i,i,i,i,n=r?i:n);return a.placeholder=t.placeholder,a},Vn.curryRight=function t(e,n,r){var a=Ji(e,u,i,i,i,i,i,n=r?i:n);return a.placeholder=t.placeholder,a},Vn.debounce=Lo,Vn.defaults=Cs,Vn.defaultsDeep=Ts,Vn.defer=Ro,Vn.delay=No,Vn.difference=Va,Vn.differenceBy=Ha,Vn.differenceWith=Wa,Vn.drop=function(t,e,n){var r=null==t?0:t.length;return r?ai(t,(e=n||e===i?1:vs(e))<0?0:e,r):[]},Vn.dropRight=function(t,e,n){var r=null==t?0:t.length;return r?ai(t,0,(e=r-(e=n||e===i?1:vs(e)))<0?0:e):[]},Vn.dropRightWhile=function(t,e){return t&&t.length?gi(t,la(e,3),!0,!0):[]},Vn.dropWhile=function(t,e){return t&&t.length?gi(t,la(e,3),!0):[]},Vn.fill=function(t,e,n,r){var a=null==t?0:t.length;return a?(n&&"number"!=typeof n&&xa(t,e,n)&&(n=0,r=a),function(t,e,n,r){var a=t.length;for((n=vs(n))<0&&(n=-n>a?0:a+n),(r=r===i||r>a?a:vs(r))<0&&(r+=a),r=n>r?0:ms(r);n<r;)t[n++]=e;return t}(t,e,n,r)):[]},Vn.filter=function(t,e){return(Xo(t)?Ee:mr)(t,la(e,3))},Vn.flatMap=function(t,e){return yr(Mo(t,e),1)},Vn.flatMapDeep=function(t,e){return yr(Mo(t,e),d)},Vn.flatMapDepth=function(t,e,n){return n=n===i?1:vs(n),yr(Mo(t,e),n)},Vn.flatten=Xa,Vn.flattenDeep=function(t){return(null==t?0:t.length)?yr(t,d):[]},Vn.flattenDepth=function(t,e){return(null==t?0:t.length)?yr(t,e=e===i?1:vs(e)):[]},Vn.flip=function(t){return Ji(t,512)},Vn.flow=iu,Vn.flowRight=au,Vn.fromPairs=function(t){for(var e=-1,n=null==t?0:t.length,r={};++e<n;){var i=t[e];r[i[0]]=i[1]}return r},Vn.functions=function(t){return null==t?[]:kr(t,Ls(t))},Vn.functionsIn=function(t){return null==t?[]:kr(t,Rs(t))},Vn.groupBy=So,Vn.initial=function(t){return(null==t?0:t.length)?ai(t,0,-1):[]},Vn.intersection=Ya,Vn.intersectionBy=Ka,Vn.intersectionWith=Za,Vn.invert=Ps,Vn.invertBy=Ds,Vn.invokeMap=ko,Vn.iteratee=su,Vn.keyBy=Io,Vn.keys=Ls,Vn.keysIn=Rs,Vn.map=Mo,Vn.mapKeys=function(t,e){var n={};return e=la(e,3),_r(t,(function(t,r,i){sr(n,e(t,r,i),t)})),n},Vn.mapValues=function(t,e){var n={};return e=la(e,3),_r(t,(function(t,r,i){sr(n,r,e(t,r,i))})),n},Vn.matches=function(t){return Vr(lr(t,1))},Vn.matchesProperty=function(t,e){return Hr(t,lr(e,1))},Vn.memoize=jo,Vn.merge=Ns,Vn.mergeWith=js,Vn.method=uu,Vn.methodOf=cu,Vn.mixin=lu,Vn.negate=Fo,Vn.nthArg=function(t){return t=vs(t),Qr((function(e){return Gr(e,t)}))},Vn.omit=Fs,Vn.omitBy=function(t,e){return zs(t,Fo(la(e)))},Vn.once=function(t){return Po(2,t)},Vn.orderBy=function(t,e,n,r){return null==t?[]:(Xo(e)||(e=null==e?[]:[e]),Xo(n=r?i:n)||(n=null==n?[]:[n]),Ur(t,e,n))},Vn.over=fu,Vn.overArgs=Bo,Vn.overEvery=du,Vn.overSome=pu,Vn.partial=zo,Vn.partialRight=$o,Vn.partition=Co,Vn.pick=Bs,Vn.pickBy=zs,Vn.property=gu,Vn.propertyOf=function(t){return function(e){return null==t?i:Ir(t,e)}},Vn.pull=Ja,Vn.pullAll=to,Vn.pullAllBy=function(t,e,n){return t&&t.length&&e&&e.length?qr(t,e,la(n,2)):t},Vn.pullAllWith=function(t,e,n){return t&&t.length&&e&&e.length?qr(t,e,i,n):t},Vn.pullAt=eo,Vn.range=bu,Vn.rangeRight=vu,Vn.rearg=Vo,Vn.reject=function(t,e){return(Xo(t)?Ee:mr)(t,Fo(la(e,3)))},Vn.remove=function(t,e){var n=[];if(!t||!t.length)return n;var r=-1,i=[],a=t.length;for(e=la(e,3);++r<a;){var o=t[r];e(o,r,t)&&(n.push(o),i.push(r))}return Yr(t,i),n},Vn.rest=function(t,e){if("function"!=typeof t)throw new Et(a);return Qr(t,e=e===i?e:vs(e))},Vn.reverse=no,Vn.sampleSize=function(t,e,n){return e=(n?xa(t,e,n):e===i)?1:vs(e),(Xo(t)?tr:ti)(t,e)},Vn.set=function(t,e,n){return null==t?t:ei(t,e,n)},Vn.setWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:ei(t,e,n,r)},Vn.shuffle=function(t){return(Xo(t)?er:ii)(t)},Vn.slice=function(t,e,n){var r=null==t?0:t.length;return r?(n&&"number"!=typeof n&&xa(t,e,n)?(e=0,n=r):(e=null==e?0:vs(e),n=n===i?r:vs(n)),ai(t,e,n)):[]},Vn.sortBy=To,Vn.sortedUniq=function(t){return t&&t.length?ci(t):[]},Vn.sortedUniqBy=function(t,e){return t&&t.length?ci(t,la(e,2)):[]},Vn.split=function(t,e,n){return n&&"number"!=typeof n&&xa(t,e,n)&&(e=n=i),(n=n===i?b:n>>>0)?(t=xs(t))&&("string"==typeof e||null!=e&&!us(e))&&!(e=hi(e))&&sn(t)?Si(pn(t),0,n):t.split(e,n):[]},Vn.spread=function(t,e){if("function"!=typeof t)throw new Et(a);return e=null==e?0:wn(vs(e),0),Qr((function(n){var r=n[e],i=Si(n,0,e);return r&&Le(i,r),Ie(t,this,i)}))},Vn.tail=function(t){var e=null==t?0:t.length;return e?ai(t,1,e):[]},Vn.take=function(t,e,n){return t&&t.length?ai(t,0,(e=n||e===i?1:vs(e))<0?0:e):[]},Vn.takeRight=function(t,e,n){var r=null==t?0:t.length;return r?ai(t,(e=r-(e=n||e===i?1:vs(e)))<0?0:e,r):[]},Vn.takeRightWhile=function(t,e){return t&&t.length?gi(t,la(e,3),!1,!0):[]},Vn.takeWhile=function(t,e){return t&&t.length?gi(t,la(e,3)):[]},Vn.tap=function(t,e){return e(t),t},Vn.throttle=function(t,e,n){var r=!0,i=!0;if("function"!=typeof t)throw new Et(a);return rs(n)&&(r="leading"in n?!!n.leading:r,i="trailing"in n?!!n.trailing:i),Lo(t,e,{leading:r,maxWait:e,trailing:i})},Vn.thru=bo,Vn.toArray=gs,Vn.toPairs=$s,Vn.toPairsIn=Vs,Vn.toPath=function(t){return Xo(t)?Oe(t,Ba):hs(t)?[t]:Pi(Fa(xs(t)))},Vn.toPlainObject=ws,Vn.transform=function(t,e,n){var r=Xo(t),i=r||Zo(t)||fs(t);if(e=la(e,4),null==n){var a=t&&t.constructor;n=i?r?new a:[]:rs(t)&&ts(a)?Hn(Xt(t)):{}}return(i?Ce:_r)(t,(function(t,r,i){return e(n,t,r,i)})),n},Vn.unary=function(t){return Eo(t,1)},Vn.union=ro,Vn.unionBy=io,Vn.unionWith=ao,Vn.uniq=function(t){return t&&t.length?fi(t):[]},Vn.uniqBy=function(t,e){return t&&t.length?fi(t,la(e,2)):[]},Vn.uniqWith=function(t,e){return e="function"==typeof e?e:i,t&&t.length?fi(t,i,e):[]},Vn.unset=function(t,e){return null==t||di(t,e)},Vn.unzip=oo,Vn.unzipWith=so,Vn.update=function(t,e,n){return null==t?t:pi(t,e,wi(n))},Vn.updateWith=function(t,e,n,r){return r="function"==typeof r?r:i,null==t?t:pi(t,e,wi(n),r)},Vn.values=Hs,Vn.valuesIn=function(t){return null==t?[]:Qe(t,Rs(t))},Vn.without=uo,Vn.words=tu,Vn.wrap=function(t,e){return zo(wi(e),t)},Vn.xor=co,Vn.xorBy=lo,Vn.xorWith=ho,Vn.zip=fo,Vn.zipObject=function(t,e){return mi(t||[],e||[],rr)},Vn.zipObjectDeep=function(t,e){return mi(t||[],e||[],ei)},Vn.zipWith=po,Vn.entries=$s,Vn.entriesIn=Vs,Vn.extend=Ss,Vn.extendWith=ks,lu(Vn,Vn),Vn.add=wu,Vn.attempt=eu,Vn.camelCase=Ws,Vn.capitalize=Gs,Vn.ceil=xu,Vn.clamp=function(t,e,n){return n===i&&(n=e,e=i),n!==i&&(n=(n=ys(n))==n?n:0),e!==i&&(e=(e=ys(e))==e?e:0),cr(ys(t),e,n)},Vn.clone=function(t){return lr(t,4)},Vn.cloneDeep=function(t){return lr(t,5)},Vn.cloneDeepWith=function(t,e){return lr(t,5,e="function"==typeof e?e:i)},Vn.cloneWith=function(t,e){return lr(t,4,e="function"==typeof e?e:i)},Vn.conformsTo=function(t,e){return null==e||hr(t,e,Ls(e))},Vn.deburr=Us,Vn.defaultTo=function(t,e){return null==t||t!=t?e:t},Vn.divide=_u,Vn.endsWith=function(t,e,n){t=xs(t),e=hi(e);var r=t.length,a=n=n===i?r:cr(vs(n),0,r);return(n-=e.length)>=0&&t.slice(n,a)==e},Vn.eq=Ho,Vn.escape=function(t){return(t=xs(t))&&Z.test(t)?t.replace(Y,an):t},Vn.escapeRegExp=function(t){return(t=xs(t))&&at.test(t)?t.replace(it,"\\$&"):t},Vn.every=function(t,e,n){var r=Xo(t)?Ae:br;return n&&xa(t,e,n)&&(e=i),r(t,la(e,3))},Vn.find=yo,Vn.findIndex=Ga,Vn.findKey=function(t,e){return Be(t,la(e,3),_r)},Vn.findLast=wo,Vn.findLastIndex=Ua,Vn.findLastKey=function(t,e){return Be(t,la(e,3),Sr)},Vn.floor=Su,Vn.forEach=xo,Vn.forEachRight=_o,Vn.forIn=function(t,e){return null==t?t:wr(t,la(e,3),Rs)},Vn.forInRight=function(t,e){return null==t?t:xr(t,la(e,3),Rs)},Vn.forOwn=function(t,e){return t&&_r(t,la(e,3))},Vn.forOwnRight=function(t,e){return t&&Sr(t,la(e,3))},Vn.get=As,Vn.gt=Wo,Vn.gte=Go,Vn.has=function(t,e){return null!=t&&va(t,e,Ar)},Vn.hasIn=Es,Vn.head=qa,Vn.identity=ou,Vn.includes=function(t,e,n,r){t=Yo(t)?t:Hs(t),n=n&&!r?vs(n):0;var i=t.length;return n<0&&(n=wn(i+n,0)),ls(t)?n<=i&&t.indexOf(e,n)>-1:!!i&&$e(t,e,n)>-1},Vn.indexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var i=null==n?0:vs(n);return i<0&&(i=wn(r+i,0)),$e(t,e,i)},Vn.inRange=function(t,e,n){return e=bs(e),n===i?(n=e,e=0):n=bs(n),function(t,e,n){return t>=xn(e,n)&&t<wn(e,n)}(t=ys(t),e,n)},Vn.invoke=Os,Vn.isArguments=Uo,Vn.isArray=Xo,Vn.isArrayBuffer=qo,Vn.isArrayLike=Yo,Vn.isArrayLikeObject=Ko,Vn.isBoolean=function(t){return!0===t||!1===t||is(t)&&Cr(t)==w},Vn.isBuffer=Zo,Vn.isDate=Qo,Vn.isElement=function(t){return is(t)&&1===t.nodeType&&!ss(t)},Vn.isEmpty=function(t){if(null==t)return!0;if(Yo(t)&&(Xo(t)||"string"==typeof t||"function"==typeof t.splice||Zo(t)||fs(t)||Uo(t)))return!t.length;var e=ba(t);if(e==I||e==E)return!t.size;if(Ia(t))return!Fr(t).length;for(var n in t)if(Nt.call(t,n))return!1;return!0},Vn.isEqual=function(t,e){return Lr(t,e)},Vn.isEqualWith=function(t,e,n){var r=(n="function"==typeof n?n:i)?n(t,e):i;return r===i?Lr(t,e,i,n):!!r},Vn.isError=Jo,Vn.isFinite=function(t){return"number"==typeof t&&Ue(t)},Vn.isFunction=ts,Vn.isInteger=es,Vn.isLength=ns,Vn.isMap=as,Vn.isMatch=function(t,e){return t===e||Rr(t,e,fa(e))},Vn.isMatchWith=function(t,e,n){return n="function"==typeof n?n:i,Rr(t,e,fa(e),n)},Vn.isNaN=function(t){return os(t)&&t!=+t},Vn.isNative=function(t){if(ka(t))throw new kt("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Nr(t)},Vn.isNil=function(t){return null==t},Vn.isNull=function(t){return null===t},Vn.isNumber=os,Vn.isObject=rs,Vn.isObjectLike=is,Vn.isPlainObject=ss,Vn.isRegExp=us,Vn.isSafeInteger=function(t){return es(t)&&t>=-9007199254740991&&t<=p},Vn.isSet=cs,Vn.isString=ls,Vn.isSymbol=hs,Vn.isTypedArray=fs,Vn.isUndefined=function(t){return t===i},Vn.isWeakMap=function(t){return is(t)&&ba(t)==O},Vn.isWeakSet=function(t){return is(t)&&"[object WeakSet]"==Cr(t)},Vn.join=function(t,e){return null==t?"":mn.call(t,e)},Vn.kebabCase=Xs,Vn.last=Qa,Vn.lastIndexOf=function(t,e,n){var r=null==t?0:t.length;if(!r)return-1;var a=r;return n!==i&&(a=(a=vs(n))<0?wn(r+a,0):xn(a,r-1)),e==e?function(t,e,n){for(var r=n+1;r--;)if(t[r]===e)return r;return r}(t,e,a):ze(t,He,a,!0)},Vn.lowerCase=qs,Vn.lowerFirst=Ys,Vn.lt=ds,Vn.lte=ps,Vn.max=function(t){return t&&t.length?vr(t,ou,Tr):i},Vn.maxBy=function(t,e){return t&&t.length?vr(t,la(e,2),Tr):i},Vn.mean=function(t){return We(t,ou)},Vn.meanBy=function(t,e){return We(t,la(e,2))},Vn.min=function(t){return t&&t.length?vr(t,ou,zr):i},Vn.minBy=function(t,e){return t&&t.length?vr(t,la(e,2),zr):i},Vn.stubArray=mu,Vn.stubFalse=yu,Vn.stubObject=function(){return{}},Vn.stubString=function(){return""},Vn.stubTrue=function(){return!0},Vn.multiply=Iu,Vn.nth=function(t,e){return t&&t.length?Gr(t,vs(e)):i},Vn.noConflict=function(){return de._===this&&(de._=$t),this},Vn.noop=hu,Vn.now=Ao,Vn.pad=function(t,e,n){t=xs(t);var r=(e=vs(e))?dn(t):0;if(!e||r>=e)return t;var i=(e-r)/2;return Ui(ve(i),n)+t+Ui(ge(i),n)},Vn.padEnd=function(t,e,n){t=xs(t);var r=(e=vs(e))?dn(t):0;return e&&r<e?t+Ui(e-r,n):t},Vn.padStart=function(t,e,n){t=xs(t);var r=(e=vs(e))?dn(t):0;return e&&r<e?Ui(e-r,n)+t:t},Vn.parseInt=function(t,e,n){return n||null==e?e=0:e&&(e=+e),Sn(xs(t).replace(ot,""),e||0)},Vn.random=function(t,e,n){if(n&&"boolean"!=typeof n&&xa(t,e,n)&&(e=n=i),n===i&&("boolean"==typeof e?(n=e,e=i):"boolean"==typeof t&&(n=t,t=i)),t===i&&e===i?(t=0,e=1):(t=bs(t),e===i?(e=t,t=0):e=bs(e)),t>e){var r=t;t=e,e=r}if(n||t%1||e%1){var a=kn();return xn(t+a*(e-t+ce("1e-"+((a+"").length-1))),e)}return Kr(t,e)},Vn.reduce=function(t,e,n){var r=Xo(t)?Re:Xe,i=arguments.length<3;return r(t,la(e,4),n,i,pr)},Vn.reduceRight=function(t,e,n){var r=Xo(t)?Ne:Xe,i=arguments.length<3;return r(t,la(e,4),n,i,gr)},Vn.repeat=function(t,e,n){return e=(n?xa(t,e,n):e===i)?1:vs(e),Zr(xs(t),e)},Vn.replace=function(){var t=arguments,e=xs(t[0]);return t.length<3?e:e.replace(t[1],t[2])},Vn.result=function(t,e,n){var r=-1,a=(e=xi(e,t)).length;for(a||(a=1,t=i);++r<a;){var o=null==t?i:t[Ba(e[r])];o===i&&(r=a,o=n),t=ts(o)?o.call(t):o}return t},Vn.round=Mu,Vn.runInContext=t,Vn.sample=function(t){return(Xo(t)?Jn:Jr)(t)},Vn.size=function(t){if(null==t)return 0;if(Yo(t))return ls(t)?dn(t):t.length;var e=ba(t);return e==I||e==E?t.size:Fr(t).length},Vn.snakeCase=Ks,Vn.some=function(t,e,n){var r=Xo(t)?je:oi;return n&&xa(t,e,n)&&(e=i),r(t,la(e,3))},Vn.sortedIndex=function(t,e){return si(t,e)},Vn.sortedIndexBy=function(t,e,n){return ui(t,e,la(n,2))},Vn.sortedIndexOf=function(t,e){var n=null==t?0:t.length;if(n){var r=si(t,e);if(r<n&&Ho(t[r],e))return r}return-1},Vn.sortedLastIndex=function(t,e){return si(t,e,!0)},Vn.sortedLastIndexBy=function(t,e,n){return ui(t,e,la(n,2),!0)},Vn.sortedLastIndexOf=function(t,e){if(null==t?0:t.length){var n=si(t,e,!0)-1;if(Ho(t[n],e))return n}return-1},Vn.startCase=Zs,Vn.startsWith=function(t,e,n){return t=xs(t),n=null==n?0:cr(vs(n),0,t.length),e=hi(e),t.slice(n,n+e.length)==e},Vn.subtract=Cu,Vn.sum=function(t){return t&&t.length?qe(t,ou):0},Vn.sumBy=function(t,e){return t&&t.length?qe(t,la(e,2)):0},Vn.template=function(t,e,n){var r=Vn.templateSettings;n&&xa(t,e,n)&&(e=i),t=xs(t),e=ks({},e,r,ta);var a,o,s=ks({},e.imports,r.imports,ta),u=Ls(s),c=Qe(s,u),l=0,h=e.interpolate||_t,f="__p += '",d=Tt((e.escape||_t).source+"|"+h.source+"|"+(h===tt?pt:_t).source+"|"+(e.evaluate||_t).source+"|$","g"),p="//# sourceURL="+(Nt.call(e,"sourceURL")?(e.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ae+"]")+"\n";t.replace(d,(function(e,n,r,i,s,u){return r||(r=i),f+=t.slice(l,u).replace(St,on),n&&(a=!0,f+="' +\n__e("+n+") +\n'"),s&&(o=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),l=u+e.length,e})),f+="';\n";var g=Nt.call(e,"variable")&&e.variable;if(g){if(ft.test(g))throw new kt("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(o?f.replace(G,""):f).replace(U,"$1").replace(X,"$1;"),f="function("+(g||"obj")+") {\n"+(g?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(a?", __e = _.escape":"")+(o?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var b=eu((function(){return It(u,p+"return "+f).apply(i,c)}));if(b.source=f,Jo(b))throw b;return b},Vn.times=function(t,e){if((t=vs(t))<1||t>p)return[];var n=b,r=xn(t,b);e=la(e),t-=b;for(var i=Ye(r,e);++n<t;)e(n);return i},Vn.toFinite=bs,Vn.toInteger=vs,Vn.toLength=ms,Vn.toLower=function(t){return xs(t).toLowerCase()},Vn.toNumber=ys,Vn.toSafeInteger=function(t){return t?cr(vs(t),-9007199254740991,p):0===t?t:0},Vn.toString=xs,Vn.toUpper=function(t){return xs(t).toUpperCase()},Vn.trim=function(t,e,n){if((t=xs(t))&&(n||e===i))return Ke(t);if(!t||!(e=hi(e)))return t;var r=pn(t),a=pn(e);return Si(r,tn(r,a),en(r,a)+1).join("")},Vn.trimEnd=function(t,e,n){if((t=xs(t))&&(n||e===i))return t.slice(0,gn(t)+1);if(!t||!(e=hi(e)))return t;var r=pn(t);return Si(r,0,en(r,pn(e))+1).join("")},Vn.trimStart=function(t,e,n){if((t=xs(t))&&(n||e===i))return t.replace(ot,"");if(!t||!(e=hi(e)))return t;var r=pn(t);return Si(r,tn(r,pn(e))).join("")},Vn.truncate=function(t,e){var n=30,r="...";if(rs(e)){var a="separator"in e?e.separator:a;n="length"in e?vs(e.length):n,r="omission"in e?hi(e.omission):r}var o=(t=xs(t)).length;if(sn(t)){var s=pn(t);o=s.length}if(n>=o)return t;var u=n-dn(r);if(u<1)return r;var c=s?Si(s,0,u).join(""):t.slice(0,u);if(a===i)return c+r;if(s&&(u+=c.length-u),us(a)){if(t.slice(u).search(a)){var l,h=c;for(a.global||(a=Tt(a.source,xs(gt.exec(a))+"g")),a.lastIndex=0;l=a.exec(h);)var f=l.index;c=c.slice(0,f===i?u:f)}}else if(t.indexOf(hi(a),u)!=u){var d=c.lastIndexOf(a);d>-1&&(c=c.slice(0,d))}return c+r},Vn.unescape=function(t){return(t=xs(t))&&K.test(t)?t.replace(q,bn):t},Vn.uniqueId=function(t){var e=++jt;return xs(t)+e},Vn.upperCase=Qs,Vn.upperFirst=Js,Vn.each=xo,Vn.eachRight=_o,Vn.first=qa,lu(Vn,(ku={},_r(Vn,(function(t,e){Nt.call(Vn.prototype,e)||(ku[e]=t)})),ku),{chain:!1}),Vn.VERSION="4.17.21",Ce(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(t){Vn[t].placeholder=Vn})),Ce(["drop","take"],(function(t,e){Un.prototype[t]=function(n){n=n===i?1:wn(vs(n),0);var r=this.__filtered__&&!e?new Un(this):this.clone();return r.__filtered__?r.__takeCount__=xn(n,r.__takeCount__):r.__views__.push({size:xn(n,b),type:t+(r.__dir__<0?"Right":"")}),r},Un.prototype[t+"Right"]=function(e){return this.reverse()[t](e).reverse()}})),Ce(["filter","map","takeWhile"],(function(t,e){var n=e+1,r=1==n||3==n;Un.prototype[t]=function(t){var e=this.clone();return e.__iteratees__.push({iteratee:la(t,3),type:n}),e.__filtered__=e.__filtered__||r,e}})),Ce(["head","last"],(function(t,e){var n="take"+(e?"Right":"");Un.prototype[t]=function(){return this[n](1).value()[0]}})),Ce(["initial","tail"],(function(t,e){var n="drop"+(e?"":"Right");Un.prototype[t]=function(){return this.__filtered__?new Un(this):this[n](1)}})),Un.prototype.compact=function(){return this.filter(ou)},Un.prototype.find=function(t){return this.filter(t).head()},Un.prototype.findLast=function(t){return this.reverse().find(t)},Un.prototype.invokeMap=Qr((function(t,e){return"function"==typeof t?new Un(this):this.map((function(n){return Dr(n,t,e)}))})),Un.prototype.reject=function(t){return this.filter(Fo(la(t)))},Un.prototype.slice=function(t,e){t=vs(t);var n=this;return n.__filtered__&&(t>0||e<0)?new Un(n):(t<0?n=n.takeRight(-t):t&&(n=n.drop(t)),e!==i&&(n=(e=vs(e))<0?n.dropRight(-e):n.take(e-t)),n)},Un.prototype.takeRightWhile=function(t){return this.reverse().takeWhile(t).reverse()},Un.prototype.toArray=function(){return this.take(b)},_r(Un.prototype,(function(t,e){var n=/^(?:filter|find|map|reject)|While$/.test(e),r=/^(?:head|last)$/.test(e),a=Vn[r?"take"+("last"==e?"Right":""):e],o=r||/^find/.test(e);a&&(Vn.prototype[e]=function(){var e=this.__wrapped__,s=r?[1]:arguments,u=e instanceof Un,c=s[0],l=u||Xo(e),h=function(t){var e=a.apply(Vn,Le([t],s));return r&&f?e[0]:e};l&&n&&"function"==typeof c&&1!=c.length&&(u=l=!1);var f=this.__chain__,d=!!this.__actions__.length,p=o&&!f,g=u&&!d;if(!o&&l){e=g?e:new Un(this);var b=t.apply(e,s);return b.__actions__.push({func:bo,args:[h],thisArg:i}),new Gn(b,f)}return p&&g?t.apply(this,s):(b=this.thru(h),p?r?b.value()[0]:b.value():b)})})),Ce(["pop","push","shift","sort","splice","unshift"],(function(t){var e=Pt[t],n=/^(?:push|sort|unshift)$/.test(t)?"tap":"thru",r=/^(?:pop|shift)$/.test(t);Vn.prototype[t]=function(){var t=arguments;if(r&&!this.__chain__){var i=this.value();return e.apply(Xo(i)?i:[],t)}return this[n]((function(n){return e.apply(Xo(n)?n:[],t)}))}})),_r(Un.prototype,(function(t,e){var n=Vn[e];if(n){var r=n.name+"";Nt.call(On,r)||(On[r]=[]),On[r].push({name:e,func:n})}})),On[Vi(i,2).name]=[{name:"wrapper",func:i}],Un.prototype.clone=function(){var t=new Un(this.__wrapped__);return t.__actions__=Pi(this.__actions__),t.__dir__=this.__dir__,t.__filtered__=this.__filtered__,t.__iteratees__=Pi(this.__iteratees__),t.__takeCount__=this.__takeCount__,t.__views__=Pi(this.__views__),t},Un.prototype.reverse=function(){if(this.__filtered__){var t=new Un(this);t.__dir__=-1,t.__filtered__=!0}else(t=this.clone()).__dir__*=-1;return t},Un.prototype.value=function(){var t=this.__wrapped__.value(),e=this.__dir__,n=Xo(t),r=e<0,i=n?t.length:0,a=function(t,e,n){var r=-1,i=n.length;for(;++r<i;){var a=n[r],o=a.size;switch(a.type){case"drop":t+=o;break;case"dropRight":e-=o;break;case"take":e=xn(e,t+o);break;case"takeRight":t=wn(t,e-o)}}return{start:t,end:e}}(0,i,this.__views__),o=a.start,s=a.end,u=s-o,c=r?s:o-1,l=this.__iteratees__,h=l.length,f=0,d=xn(u,this.__takeCount__);if(!n||!r&&i==u&&d==u)return bi(t,this.__actions__);var p=[];t:for(;u--&&f<d;){for(var g=-1,b=t[c+=e];++g<h;){var v=l[g],m=v.iteratee,y=v.type,w=m(b);if(2==y)b=w;else if(!w){if(1==y)continue t;break t}}p[f++]=b}return p},Vn.prototype.at=vo,Vn.prototype.chain=function(){return go(this)},Vn.prototype.commit=function(){return new Gn(this.value(),this.__chain__)},Vn.prototype.next=function(){this.__values__===i&&(this.__values__=gs(this.value()));var t=this.__index__>=this.__values__.length;return{done:t,value:t?i:this.__values__[this.__index__++]}},Vn.prototype.plant=function(t){for(var e,n=this;n instanceof Wn;){var r=$a(n);r.__index__=0,r.__values__=i,e?a.__wrapped__=r:e=r;var a=r;n=n.__wrapped__}return a.__wrapped__=t,e},Vn.prototype.reverse=function(){var t=this.__wrapped__;if(t instanceof Un){var e=t;return this.__actions__.length&&(e=new Un(this)),(e=e.reverse()).__actions__.push({func:bo,args:[no],thisArg:i}),new Gn(e,this.__chain__)}return this.thru(no)},Vn.prototype.toJSON=Vn.prototype.valueOf=Vn.prototype.value=function(){return bi(this.__wrapped__,this.__actions__)},Vn.prototype.first=Vn.prototype.head,te&&(Vn.prototype[te]=function(){return this}),Vn}();de._=vn,(r=function(){return vn}.call(e,n,e,t))===i||(t.exports=r)}.call(this)},8089:t=>{"use strict";const e=t=>"object"==typeof t&&null!==t,n=Symbol("skip"),r=t=>e(t)&&!(t instanceof RegExp)&&!(t instanceof Error)&&!(t instanceof Date),i=(t,e,a,o=new WeakMap)=>{if(a={deep:!1,target:{},...a},o.has(t))return o.get(t);o.set(t,a.target);const{target:s}=a;delete a.target;const u=t=>t.map((t=>r(t)?i(t,e,a,o):t));if(Array.isArray(t))return u(t);for(const[c,l]of Object.entries(t)){const h=e(c,l,t);if(h===n)continue;let[f,d,{shouldRecurse:p=!0}={}]=h;"__proto__"!==f&&(a.deep&&p&&r(d)&&(d=Array.isArray(d)?u(d):i(d,e,a,o)),s[f]=d)}return s};t.exports=(t,n,r)=>{if(!e(t))throw new TypeError(`Expected an object, got \`${t}\` (${typeof t})`);return i(t,n,r)},t.exports.mapObjectSkip=n},7392:t=>{"use strict";class e{constructor(t={}){if(!(t.maxSize&&t.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");this.maxSize=t.maxSize,this.onEviction=t.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_set(t,e){if(this.cache.set(t,e),this._size++,this._size>=this.maxSize){if(this._size=0,"function"==typeof this.onEviction)for(const[t,e]of this.oldCache.entries())this.onEviction(t,e);this.oldCache=this.cache,this.cache=new Map}}get(t){if(this.cache.has(t))return this.cache.get(t);if(this.oldCache.has(t)){const e=this.oldCache.get(t);return this.oldCache.delete(t),this._set(t,e),e}}set(t,e){return this.cache.has(t)?this.cache.set(t,e):this._set(t,e),this}has(t){return this.cache.has(t)||this.oldCache.has(t)}peek(t){return this.cache.has(t)?this.cache.get(t):this.oldCache.has(t)?this.oldCache.get(t):void 0}delete(t){const e=this.cache.delete(t);return e&&this._size--,this.oldCache.delete(t)||e}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}*keys(){for(const[t]of this)yield t}*values(){for(const[,t]of this)yield t}*[Symbol.iterator](){for(const t of this.cache)yield t;for(const t of this.oldCache){const[e]=t;this.cache.has(e)||(yield t)}}get size(){let t=0;for(const e of this.oldCache.keys())this.cache.has(e)||t++;return Math.min(this._size+t,this.maxSize)}}t.exports=e},2551:(t,e,n)=>{"use strict";var r=n(6540),i=n(9982);function a(t){for(var e="https://reactjs.org/docs/error-decoder.html?invariant="+t,n=1;n<arguments.length;n++)e+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+t+"; visit "+e+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function u(t,e){c(t,e),c(t+"Capture",e)}function c(t,e){for(s[t]=e,t=0;t<e.length;t++)o.add(e[t])}var l=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),h=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},p={};function g(t,e,n,r,i,a,o){this.acceptsBooleans=2===e||3===e||4===e,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=t,this.type=e,this.sanitizeURL=a,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(t){b[t]=new g(t,0,!1,t,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(t){var e=t[0];b[e]=new g(e,1,!1,t[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(t){b[t]=new g(t,2,!1,t.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(t){b[t]=new g(t,2,!1,t,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(t){b[t]=new g(t,3,!1,t.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(t){b[t]=new g(t,3,!0,t,null,!1,!1)})),["capture","download"].forEach((function(t){b[t]=new g(t,4,!1,t,null,!1,!1)})),["cols","rows","size","span"].forEach((function(t){b[t]=new g(t,6,!1,t,null,!1,!1)})),["rowSpan","start"].forEach((function(t){b[t]=new g(t,5,!1,t.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function m(t){return t[1].toUpperCase()}function y(t,e,n,r){var i=b.hasOwnProperty(e)?b[e]:null;(null!==i?0!==i.type:r||!(2<e.length)||"o"!==e[0]&&"O"!==e[0]||"n"!==e[1]&&"N"!==e[1])&&(function(t,e,n,r){if(null==e||function(t,e,n,r){if(null!==n&&0===n.type)return!1;switch(typeof e){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(t=t.toLowerCase().slice(0,5))&&"aria-"!==t);default:return!1}}(t,e,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!e;case 4:return!1===e;case 5:return isNaN(e);case 6:return isNaN(e)||1>e}return!1}(e,n,i,r)&&(n=null),r||null===i?function(t){return!!h.call(p,t)||!h.call(d,t)&&(f.test(t)?p[t]=!0:(d[t]=!0,!1))}(e)&&(null===n?t.removeAttribute(e):t.setAttribute(e,""+n)):i.mustUseProperty?t[i.propertyName]=null===n?3!==i.type&&"":n:(e=i.attributeName,r=i.attributeNamespace,null===n?t.removeAttribute(e):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?t.setAttributeNS(r,e,n):t.setAttribute(e,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(t){var e=t.replace(v,m);b[e]=new g(e,1,!1,t,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(t){var e=t.replace(v,m);b[e]=new g(e,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(t){var e=t.replace(v,m);b[e]=new g(e,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(t){b[t]=new g(t,1,!1,t.toLowerCase(),null,!1,!1)})),b.xlinkHref=new g("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(t){b[t]=new g(t,1,!1,t.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),_=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),k=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),M=Symbol.for("react.provider"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),E=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var O=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function R(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=L&&t[L]||t["@@iterator"])?t:null}var N,j=Object.assign;function F(t){if(void 0===N)try{throw Error()}catch(t){var e=t.stack.trim().match(/\n( *(at )?)/);N=e&&e[1]||""}return"\n"+N+t}var B=!1;function z(t,e){if(!t||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(e)if(e=function(){throw Error()},Object.defineProperty(e.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(e,[])}catch(t){var r=t}Reflect.construct(t,[],e)}else{try{e.call()}catch(t){r=t}t.call(e.prototype)}else{try{throw Error()}catch(t){r=t}t()}}catch(e){if(e&&r&&"string"==typeof e.stack){for(var i=e.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var u="\n"+i[o].replace(" at new "," at ");return t.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",t.displayName)),u}}while(1<=o&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(t=t?t.displayName||t.name:"")?F(t):""}function $(t){switch(t.tag){case 5:return F(t.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return t=z(t.type,!1);case 11:return t=z(t.type.render,!1);case 1:return t=z(t.type,!0);default:return""}}function V(t){if(null==t)return null;if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t;switch(t){case S:return"Fragment";case _:return"Portal";case I:return"Profiler";case k:return"StrictMode";case A:return"Suspense";case E:return"SuspenseList"}if("object"==typeof t)switch(t.$$typeof){case C:return(t.displayName||"Context")+".Consumer";case M:return(t._context.displayName||"Context")+".Provider";case T:var e=t.render;return(t=t.displayName)||(t=""!==(t=e.displayName||e.name||"")?"ForwardRef("+t+")":"ForwardRef"),t;case P:return null!==(e=t.displayName||null)?e:V(t.type)||"Memo";case D:e=t._payload,t=t._init;try{return V(t(e))}catch(t){}}return null}function H(t){var e=t.type;switch(t.tag){case 24:return"Cache";case 9:return(e.displayName||"Context")+".Consumer";case 10:return(e._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return t=(t=e.render).displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case 7:return"Fragment";case 5:return e;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(e);case 8:return e===k?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e}return null}function W(t){switch(typeof t){case"boolean":case"number":case"string":case"undefined":case"object":return t;default:return""}}function G(t){var e=t.type;return(t=t.nodeName)&&"input"===t.toLowerCase()&&("checkbox"===e||"radio"===e)}function U(t){t._valueTracker||(t._valueTracker=function(t){var e=G(t)?"checked":"value",n=Object.getOwnPropertyDescriptor(t.constructor.prototype,e),r=""+t[e];if(!t.hasOwnProperty(e)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(t,e,{configurable:!0,get:function(){return i.call(this)},set:function(t){r=""+t,a.call(this,t)}}),Object.defineProperty(t,e,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(t){r=""+t},stopTracking:function(){t._valueTracker=null,delete t[e]}}}}(t))}function X(t){if(!t)return!1;var e=t._valueTracker;if(!e)return!0;var n=e.getValue(),r="";return t&&(r=G(t)?t.checked?"true":"false":t.value),(t=r)!==n&&(e.setValue(t),!0)}function q(t){if(void 0===(t=t||("undefined"!=typeof document?document:void 0)))return null;try{return t.activeElement||t.body}catch(e){return t.body}}function Y(t,e){var n=e.checked;return j({},e,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:t._wrapperState.initialChecked})}function K(t,e){var n=null==e.defaultValue?"":e.defaultValue,r=null!=e.checked?e.checked:e.defaultChecked;n=W(null!=e.value?e.value:n),t._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===e.type||"radio"===e.type?null!=e.checked:null!=e.value}}function Z(t,e){null!=(e=e.checked)&&y(t,"checked",e,!1)}function Q(t,e){Z(t,e);var n=W(e.value),r=e.type;if(null!=n)"number"===r?(0===n&&""===t.value||t.value!=n)&&(t.value=""+n):t.value!==""+n&&(t.value=""+n);else if("submit"===r||"reset"===r)return void t.removeAttribute("value");e.hasOwnProperty("value")?tt(t,e.type,n):e.hasOwnProperty("defaultValue")&&tt(t,e.type,W(e.defaultValue)),null==e.checked&&null!=e.defaultChecked&&(t.defaultChecked=!!e.defaultChecked)}function J(t,e,n){if(e.hasOwnProperty("value")||e.hasOwnProperty("defaultValue")){var r=e.type;if(!("submit"!==r&&"reset"!==r||void 0!==e.value&&null!==e.value))return;e=""+t._wrapperState.initialValue,n||e===t.value||(t.value=e),t.defaultValue=e}""!==(n=t.name)&&(t.name=""),t.defaultChecked=!!t._wrapperState.initialChecked,""!==n&&(t.name=n)}function tt(t,e,n){"number"===e&&q(t.ownerDocument)===t||(null==n?t.defaultValue=""+t._wrapperState.initialValue:t.defaultValue!==""+n&&(t.defaultValue=""+n))}var et=Array.isArray;function nt(t,e,n,r){if(t=t.options,e){e={};for(var i=0;i<n.length;i++)e["$"+n[i]]=!0;for(n=0;n<t.length;n++)i=e.hasOwnProperty("$"+t[n].value),t[n].selected!==i&&(t[n].selected=i),i&&r&&(t[n].defaultSelected=!0)}else{for(n=""+W(n),e=null,i=0;i<t.length;i++){if(t[i].value===n)return t[i].selected=!0,void(r&&(t[i].defaultSelected=!0));null!==e||t[i].disabled||(e=t[i])}null!==e&&(e.selected=!0)}}function rt(t,e){if(null!=e.dangerouslySetInnerHTML)throw Error(a(91));return j({},e,{value:void 0,defaultValue:void 0,children:""+t._wrapperState.initialValue})}function it(t,e){var n=e.value;if(null==n){if(n=e.children,e=e.defaultValue,null!=n){if(null!=e)throw Error(a(92));if(et(n)){if(1<n.length)throw Error(a(93));n=n[0]}e=n}null==e&&(e=""),n=e}t._wrapperState={initialValue:W(n)}}function at(t,e){var n=W(e.value),r=W(e.defaultValue);null!=n&&((n=""+n)!==t.value&&(t.value=n),null==e.defaultValue&&t.defaultValue!==n&&(t.defaultValue=n)),null!=r&&(t.defaultValue=""+r)}function ot(t){var e=t.textContent;e===t._wrapperState.initialValue&&""!==e&&null!==e&&(t.value=e)}function st(t){switch(t){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ut(t,e){return null==t||"http://www.w3.org/1999/xhtml"===t?st(e):"http://www.w3.org/2000/svg"===t&&"foreignObject"===e?"http://www.w3.org/1999/xhtml":t}var ct,lt,ht=(lt=function(t,e){if("http://www.w3.org/2000/svg"!==t.namespaceURI||"innerHTML"in t)t.innerHTML=e;else{for((ct=ct||document.createElement("div")).innerHTML="<svg>"+e.valueOf().toString()+"</svg>",e=ct.firstChild;t.firstChild;)t.removeChild(t.firstChild);for(;e.firstChild;)t.appendChild(e.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(t,e,n,r){MSApp.execUnsafeLocalFunction((function(){return lt(t,e)}))}:lt);function ft(t,e){if(e){var n=t.firstChild;if(n&&n===t.lastChild&&3===n.nodeType)return void(n.nodeValue=e)}t.textContent=e}var dt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pt=["Webkit","ms","Moz","O"];function gt(t,e,n){return null==e||"boolean"==typeof e||""===e?"":n||"number"!=typeof e||0===e||dt.hasOwnProperty(t)&&dt[t]?(""+e).trim():e+"px"}function bt(t,e){for(var n in t=t.style,e)if(e.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=gt(n,e[n],r);"float"===n&&(n="cssFloat"),r?t.setProperty(n,i):t[n]=i}}Object.keys(dt).forEach((function(t){pt.forEach((function(e){e=e+t.charAt(0).toUpperCase()+t.substring(1),dt[e]=dt[t]}))}));var vt=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function mt(t,e){if(e){if(vt[t]&&(null!=e.children||null!=e.dangerouslySetInnerHTML))throw Error(a(137,t));if(null!=e.dangerouslySetInnerHTML){if(null!=e.children)throw Error(a(60));if("object"!=typeof e.dangerouslySetInnerHTML||!("__html"in e.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=e.style&&"object"!=typeof e.style)throw Error(a(62))}}function yt(t,e){if(-1===t.indexOf("-"))return"string"==typeof e.is;switch(t){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var wt=null;function xt(t){return(t=t.target||t.srcElement||window).correspondingUseElement&&(t=t.correspondingUseElement),3===t.nodeType?t.parentNode:t}var _t=null,St=null,kt=null;function It(t){if(t=yi(t)){if("function"!=typeof _t)throw Error(a(280));var e=t.stateNode;e&&(e=xi(e),_t(t.stateNode,t.type,e))}}function Mt(t){St?kt?kt.push(t):kt=[t]:St=t}function Ct(){if(St){var t=St,e=kt;if(kt=St=null,It(t),e)for(t=0;t<e.length;t++)It(e[t])}}function Tt(t,e){return t(e)}function At(){}var Et=!1;function Pt(t,e,n){if(Et)return t(e,n);Et=!0;try{return Tt(t,e,n)}finally{Et=!1,(null!==St||null!==kt)&&(At(),Ct())}}function Dt(t,e){var n=t.stateNode;if(null===n)return null;var r=xi(n);if(null===r)return null;n=r[e];t:switch(e){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(t=t.type)||"input"===t||"select"===t||"textarea"===t)),t=!r;break t;default:t=!1}if(t)return null;if(n&&"function"!=typeof n)throw Error(a(231,e,typeof n));return n}var Ot=!1;if(l)try{var Lt={};Object.defineProperty(Lt,"passive",{get:function(){Ot=!0}}),window.addEventListener("test",Lt,Lt),window.removeEventListener("test",Lt,Lt)}catch(lt){Ot=!1}function Rt(t,e,n,r,i,a,o,s,u){var c=Array.prototype.slice.call(arguments,3);try{e.apply(n,c)}catch(t){this.onError(t)}}var Nt=!1,jt=null,Ft=!1,Bt=null,zt={onError:function(t){Nt=!0,jt=t}};function $t(t,e,n,r,i,a,o,s,u){Nt=!1,jt=null,Rt.apply(zt,arguments)}function Vt(t){var e=t,n=t;if(t.alternate)for(;e.return;)e=e.return;else{t=e;do{0!=(4098&(e=t).flags)&&(n=e.return),t=e.return}while(t)}return 3===e.tag?n:null}function Ht(t){if(13===t.tag){var e=t.memoizedState;if(null===e&&(null!==(t=t.alternate)&&(e=t.memoizedState)),null!==e)return e.dehydrated}return null}function Wt(t){if(Vt(t)!==t)throw Error(a(188))}function Gt(t){return null!==(t=function(t){var e=t.alternate;if(!e){if(null===(e=Vt(t)))throw Error(a(188));return e!==t?null:t}for(var n=t,r=e;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Wt(i),t;if(o===r)return Wt(i),e;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,u=i.child;u;){if(u===n){s=!0,n=i,r=o;break}if(u===r){s=!0,r=i,n=o;break}u=u.sibling}if(!s){for(u=o.child;u;){if(u===n){s=!0,n=o,r=i;break}if(u===r){s=!0,r=o,n=i;break}u=u.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?t:e}(t))?Ut(t):null}function Ut(t){if(5===t.tag||6===t.tag)return t;for(t=t.child;null!==t;){var e=Ut(t);if(null!==e)return e;t=t.sibling}return null}var Xt=i.unstable_scheduleCallback,qt=i.unstable_cancelCallback,Yt=i.unstable_shouldYield,Kt=i.unstable_requestPaint,Zt=i.unstable_now,Qt=i.unstable_getCurrentPriorityLevel,Jt=i.unstable_ImmediatePriority,te=i.unstable_UserBlockingPriority,ee=i.unstable_NormalPriority,ne=i.unstable_LowPriority,re=i.unstable_IdlePriority,ie=null,ae=null;var oe=Math.clz32?Math.clz32:function(t){return 0===(t>>>=0)?32:31-(se(t)/ue|0)|0},se=Math.log,ue=Math.LN2;var ce=64,le=4194304;function he(t){switch(t&-t){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&t;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&t;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return t}}function fe(t,e){var n=t.pendingLanes;if(0===n)return 0;var r=0,i=t.suspendedLanes,a=t.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=he(s):0!==(a&=o)&&(r=he(a))}else 0!==(o=n&~i)?r=he(o):0!==a&&(r=he(a));if(0===r)return 0;if(0!==e&&e!==r&&0==(e&i)&&((i=r&-r)>=(a=e&-e)||16===i&&0!=(4194240&a)))return e;if(0!=(4&r)&&(r|=16&n),0!==(e=t.entangledLanes))for(t=t.entanglements,e&=r;0<e;)i=1<<(n=31-oe(e)),r|=t[n],e&=~i;return r}function de(t,e){switch(t){case 1:case 2:case 4:return e+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e+5e3;default:return-1}}function pe(t){return 0!==(t=-1073741825&t.pendingLanes)?t:1073741824&t?1073741824:0}function ge(){var t=ce;return 0==(4194240&(ce<<=1))&&(ce=64),t}function be(t){for(var e=[],n=0;31>n;n++)e.push(t);return e}function ve(t,e,n){t.pendingLanes|=e,536870912!==e&&(t.suspendedLanes=0,t.pingedLanes=0),(t=t.eventTimes)[e=31-oe(e)]=n}function me(t,e){var n=t.entangledLanes|=e;for(t=t.entanglements;n;){var r=31-oe(n),i=1<<r;i&e|t[r]&e&&(t[r]|=e),n&=~i}}var ye=0;function we(t){return 1<(t&=-t)?4<t?0!=(268435455&t)?16:536870912:4:1}var xe,_e,Se,ke,Ie,Me=!1,Ce=[],Te=null,Ae=null,Ee=null,Pe=new Map,De=new Map,Oe=[],Le="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Re(t,e){switch(t){case"focusin":case"focusout":Te=null;break;case"dragenter":case"dragleave":Ae=null;break;case"mouseover":case"mouseout":Ee=null;break;case"pointerover":case"pointerout":Pe.delete(e.pointerId);break;case"gotpointercapture":case"lostpointercapture":De.delete(e.pointerId)}}function Ne(t,e,n,r,i,a){return null===t||t.nativeEvent!==a?(t={blockedOn:e,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==e&&(null!==(e=yi(e))&&_e(e)),t):(t.eventSystemFlags|=r,e=t.targetContainers,null!==i&&-1===e.indexOf(i)&&e.push(i),t)}function je(t){var e=mi(t.target);if(null!==e){var n=Vt(e);if(null!==n)if(13===(e=n.tag)){if(null!==(e=Ht(n)))return t.blockedOn=e,void Ie(t.priority,(function(){Se(n)}))}else if(3===e&&n.stateNode.current.memoizedState.isDehydrated)return void(t.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}t.blockedOn=null}function Fe(t){if(null!==t.blockedOn)return!1;for(var e=t.targetContainers;0<e.length;){var n=Ye(t.domEventName,t.eventSystemFlags,e[0],t.nativeEvent);if(null!==n)return null!==(e=yi(n))&&_e(e),t.blockedOn=n,!1;var r=new(n=t.nativeEvent).constructor(n.type,n);wt=r,n.target.dispatchEvent(r),wt=null,e.shift()}return!0}function Be(t,e,n){Fe(t)&&n.delete(e)}function ze(){Me=!1,null!==Te&&Fe(Te)&&(Te=null),null!==Ae&&Fe(Ae)&&(Ae=null),null!==Ee&&Fe(Ee)&&(Ee=null),Pe.forEach(Be),De.forEach(Be)}function $e(t,e){t.blockedOn===e&&(t.blockedOn=null,Me||(Me=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,ze)))}function Ve(t){function e(e){return $e(e,t)}if(0<Ce.length){$e(Ce[0],t);for(var n=1;n<Ce.length;n++){var r=Ce[n];r.blockedOn===t&&(r.blockedOn=null)}}for(null!==Te&&$e(Te,t),null!==Ae&&$e(Ae,t),null!==Ee&&$e(Ee,t),Pe.forEach(e),De.forEach(e),n=0;n<Oe.length;n++)(r=Oe[n]).blockedOn===t&&(r.blockedOn=null);for(;0<Oe.length&&null===(n=Oe[0]).blockedOn;)je(n),null===n.blockedOn&&Oe.shift()}var He=w.ReactCurrentBatchConfig,We=!0;function Ge(t,e,n,r){var i=ye,a=He.transition;He.transition=null;try{ye=1,Xe(t,e,n,r)}finally{ye=i,He.transition=a}}function Ue(t,e,n,r){var i=ye,a=He.transition;He.transition=null;try{ye=4,Xe(t,e,n,r)}finally{ye=i,He.transition=a}}function Xe(t,e,n,r){if(We){var i=Ye(t,e,n,r);if(null===i)Wr(t,e,r,qe,n),Re(t,r);else if(function(t,e,n,r,i){switch(e){case"focusin":return Te=Ne(Te,t,e,n,r,i),!0;case"dragenter":return Ae=Ne(Ae,t,e,n,r,i),!0;case"mouseover":return Ee=Ne(Ee,t,e,n,r,i),!0;case"pointerover":var a=i.pointerId;return Pe.set(a,Ne(Pe.get(a)||null,t,e,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,De.set(a,Ne(De.get(a)||null,t,e,n,r,i)),!0}return!1}(i,t,e,n,r))r.stopPropagation();else if(Re(t,r),4&e&&-1<Le.indexOf(t)){for(;null!==i;){var a=yi(i);if(null!==a&&xe(a),null===(a=Ye(t,e,n,r))&&Wr(t,e,r,qe,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Wr(t,e,r,null,n)}}var qe=null;function Ye(t,e,n,r){if(qe=null,null!==(t=mi(t=xt(r))))if(null===(e=Vt(t)))t=null;else if(13===(n=e.tag)){if(null!==(t=Ht(e)))return t;t=null}else if(3===n){if(e.stateNode.current.memoizedState.isDehydrated)return 3===e.tag?e.stateNode.containerInfo:null;t=null}else e!==t&&(t=null);return qe=t,null}function Ke(t){switch(t){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Qt()){case Jt:return 1;case te:return 4;case ee:case ne:return 16;case re:return 536870912;default:return 16}default:return 16}}var Ze=null,Qe=null,Je=null;function tn(){if(Je)return Je;var t,e,n=Qe,r=n.length,i="value"in Ze?Ze.value:Ze.textContent,a=i.length;for(t=0;t<r&&n[t]===i[t];t++);var o=r-t;for(e=1;e<=o&&n[r-e]===i[a-e];e++);return Je=i.slice(t,1<e?1-e:void 0)}function en(t){var e=t.keyCode;return"charCode"in t?0===(t=t.charCode)&&13===e&&(t=13):t=e,10===t&&(t=13),32<=t||13===t?t:0}function nn(){return!0}function rn(){return!1}function an(t){function e(e,n,r,i,a){for(var o in this._reactName=e,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,t)t.hasOwnProperty(o)&&(e=t[o],this[o]=e?e(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(e.prototype,{preventDefault:function(){this.defaultPrevented=!0;var t=this.nativeEvent;t&&(t.preventDefault?t.preventDefault():"unknown"!=typeof t.returnValue&&(t.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var t=this.nativeEvent;t&&(t.stopPropagation?t.stopPropagation():"unknown"!=typeof t.cancelBubble&&(t.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),e}var on,sn,un,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(t){return t.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},ln=an(cn),hn=j({},cn,{view:0,detail:0}),fn=an(hn),dn=j({},hn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(t){return void 0===t.relatedTarget?t.fromElement===t.srcElement?t.toElement:t.fromElement:t.relatedTarget},movementX:function(t){return"movementX"in t?t.movementX:(t!==un&&(un&&"mousemove"===t.type?(on=t.screenX-un.screenX,sn=t.screenY-un.screenY):sn=on=0,un=t),on)},movementY:function(t){return"movementY"in t?t.movementY:sn}}),pn=an(dn),gn=an(j({},dn,{dataTransfer:0})),bn=an(j({},hn,{relatedTarget:0})),vn=an(j({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),mn=j({},cn,{clipboardData:function(t){return"clipboardData"in t?t.clipboardData:window.clipboardData}}),yn=an(mn),wn=an(j({},cn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},_n={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function kn(t){var e=this.nativeEvent;return e.getModifierState?e.getModifierState(t):!!(t=Sn[t])&&!!e[t]}function In(){return kn}var Mn=j({},hn,{key:function(t){if(t.key){var e=xn[t.key]||t.key;if("Unidentified"!==e)return e}return"keypress"===t.type?13===(t=en(t))?"Enter":String.fromCharCode(t):"keydown"===t.type||"keyup"===t.type?_n[t.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(t){return"keypress"===t.type?en(t):0},keyCode:function(t){return"keydown"===t.type||"keyup"===t.type?t.keyCode:0},which:function(t){return"keypress"===t.type?en(t):"keydown"===t.type||"keyup"===t.type?t.keyCode:0}}),Cn=an(Mn),Tn=an(j({},dn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),An=an(j({},hn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),En=an(j({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=j({},dn,{deltaX:function(t){return"deltaX"in t?t.deltaX:"wheelDeltaX"in t?-t.wheelDeltaX:0},deltaY:function(t){return"deltaY"in t?t.deltaY:"wheelDeltaY"in t?-t.wheelDeltaY:"wheelDelta"in t?-t.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=an(Pn),On=[9,13,27,32],Ln=l&&"CompositionEvent"in window,Rn=null;l&&"documentMode"in document&&(Rn=document.documentMode);var Nn=l&&"TextEvent"in window&&!Rn,jn=l&&(!Ln||Rn&&8<Rn&&11>=Rn),Fn=String.fromCharCode(32),Bn=!1;function zn(t,e){switch(t){case"keyup":return-1!==On.indexOf(e.keyCode);case"keydown":return 229!==e.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(t){return"object"==typeof(t=t.detail)&&"data"in t?t.data:null}var Vn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return"input"===e?!!Hn[t.type]:"textarea"===e}function Gn(t,e,n,r){Mt(r),0<(e=Ur(e,"onChange")).length&&(n=new ln("onChange","change",null,n,r),t.push({event:n,listeners:e}))}var Un=null,Xn=null;function qn(t){Fr(t,0)}function Yn(t){if(X(wi(t)))return t}function Kn(t,e){if("change"===t)return e}var Zn=!1;if(l){var Qn;if(l){var Jn="oninput"in document;if(!Jn){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),Jn="function"==typeof tr.oninput}Qn=Jn}else Qn=!1;Zn=Qn&&(!document.documentMode||9<document.documentMode)}function er(){Un&&(Un.detachEvent("onpropertychange",nr),Xn=Un=null)}function nr(t){if("value"===t.propertyName&&Yn(Xn)){var e=[];Gn(e,Xn,t,xt(t)),Pt(qn,e)}}function rr(t,e,n){"focusin"===t?(er(),Xn=n,(Un=e).attachEvent("onpropertychange",nr)):"focusout"===t&&er()}function ir(t){if("selectionchange"===t||"keyup"===t||"keydown"===t)return Yn(Xn)}function ar(t,e){if("click"===t)return Yn(e)}function or(t,e){if("input"===t||"change"===t)return Yn(e)}var sr="function"==typeof Object.is?Object.is:function(t,e){return t===e&&(0!==t||1/t==1/e)||t!=t&&e!=e};function ur(t,e){if(sr(t,e))return!0;if("object"!=typeof t||null===t||"object"!=typeof e||null===e)return!1;var n=Object.keys(t),r=Object.keys(e);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!h.call(e,i)||!sr(t[i],e[i]))return!1}return!0}function cr(t){for(;t&&t.firstChild;)t=t.firstChild;return t}function lr(t,e){var n,r=cr(t);for(t=0;r;){if(3===r.nodeType){if(n=t+r.textContent.length,t<=e&&n>=e)return{node:r,offset:e-t};t=n}t:{for(;r;){if(r.nextSibling){r=r.nextSibling;break t}r=r.parentNode}r=void 0}r=cr(r)}}function hr(t,e){return!(!t||!e)&&(t===e||(!t||3!==t.nodeType)&&(e&&3===e.nodeType?hr(t,e.parentNode):"contains"in t?t.contains(e):!!t.compareDocumentPosition&&!!(16&t.compareDocumentPosition(e))))}function fr(){for(var t=window,e=q();e instanceof t.HTMLIFrameElement;){try{var n="string"==typeof e.contentWindow.location.href}catch(t){n=!1}if(!n)break;e=q((t=e.contentWindow).document)}return e}function dr(t){var e=t&&t.nodeName&&t.nodeName.toLowerCase();return e&&("input"===e&&("text"===t.type||"search"===t.type||"tel"===t.type||"url"===t.type||"password"===t.type)||"textarea"===e||"true"===t.contentEditable)}function pr(t){var e=fr(),n=t.focusedElem,r=t.selectionRange;if(e!==n&&n&&n.ownerDocument&&hr(n.ownerDocument.documentElement,n)){if(null!==r&&dr(n))if(e=r.start,void 0===(t=r.end)&&(t=e),"selectionStart"in n)n.selectionStart=e,n.selectionEnd=Math.min(t,n.value.length);else if((t=(e=n.ownerDocument||document)&&e.defaultView||window).getSelection){t=t.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!t.extend&&a>r&&(i=r,r=a,a=i),i=lr(n,a);var o=lr(n,r);i&&o&&(1!==t.rangeCount||t.anchorNode!==i.node||t.anchorOffset!==i.offset||t.focusNode!==o.node||t.focusOffset!==o.offset)&&((e=e.createRange()).setStart(i.node,i.offset),t.removeAllRanges(),a>r?(t.addRange(e),t.extend(o.node,o.offset)):(e.setEnd(o.node,o.offset),t.addRange(e)))}for(e=[],t=n;t=t.parentNode;)1===t.nodeType&&e.push({element:t,left:t.scrollLeft,top:t.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<e.length;n++)(t=e[n]).element.scrollLeft=t.left,t.element.scrollTop=t.top}}var gr=l&&"documentMode"in document&&11>=document.documentMode,br=null,vr=null,mr=null,yr=!1;function wr(t,e,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==br||br!==q(r)||("selectionStart"in(r=br)&&dr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},mr&&ur(mr,r)||(mr=r,0<(r=Ur(vr,"onSelect")).length&&(e=new ln("onSelect","select",null,e,n),t.push({event:e,listeners:r}),e.target=br)))}function xr(t,e){var n={};return n[t.toLowerCase()]=e.toLowerCase(),n["Webkit"+t]="webkit"+e,n["Moz"+t]="moz"+e,n}var _r={animationend:xr("Animation","AnimationEnd"),animationiteration:xr("Animation","AnimationIteration"),animationstart:xr("Animation","AnimationStart"),transitionend:xr("Transition","TransitionEnd")},Sr={},kr={};function Ir(t){if(Sr[t])return Sr[t];if(!_r[t])return t;var e,n=_r[t];for(e in n)if(n.hasOwnProperty(e)&&e in kr)return Sr[t]=n[e];return t}l&&(kr=document.createElement("div").style,"AnimationEvent"in window||(delete _r.animationend.animation,delete _r.animationiteration.animation,delete _r.animationstart.animation),"TransitionEvent"in window||delete _r.transitionend.transition);var Mr=Ir("animationend"),Cr=Ir("animationiteration"),Tr=Ir("animationstart"),Ar=Ir("transitionend"),Er=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(t,e){Er.set(t,e),u(e,[t])}for(var Or=0;Or<Pr.length;Or++){var Lr=Pr[Or];Dr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Dr(Mr,"onAnimationEnd"),Dr(Cr,"onAnimationIteration"),Dr(Tr,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(Ar,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Rr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Rr));function jr(t,e,n){var r=t.type||"unknown-event";t.currentTarget=n,function(t,e,n,r,i,o,s,u,c){if($t.apply(this,arguments),Nt){if(!Nt)throw Error(a(198));var l=jt;Nt=!1,jt=null,Ft||(Ft=!0,Bt=l)}}(r,e,void 0,t),t.currentTarget=null}function Fr(t,e){e=0!=(4&e);for(var n=0;n<t.length;n++){var r=t[n],i=r.event;r=r.listeners;t:{var a=void 0;if(e)for(var o=r.length-1;0<=o;o--){var s=r[o],u=s.instance,c=s.currentTarget;if(s=s.listener,u!==a&&i.isPropagationStopped())break t;jr(i,s,c),a=u}else for(o=0;o<r.length;o++){if(u=(s=r[o]).instance,c=s.currentTarget,s=s.listener,u!==a&&i.isPropagationStopped())break t;jr(i,s,c),a=u}}}if(Ft)throw t=Bt,Ft=!1,Bt=null,t}function Br(t,e){var n=e[gi];void 0===n&&(n=e[gi]=new Set);var r=t+"__bubble";n.has(r)||(Hr(e,t,2,!1),n.add(r))}function zr(t,e,n){var r=0;e&&(r|=4),Hr(n,t,r,e)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Vr(t){if(!t[$r]){t[$r]=!0,o.forEach((function(e){"selectionchange"!==e&&(Nr.has(e)||zr(e,!1,t),zr(e,!0,t))}));var e=9===t.nodeType?t:t.ownerDocument;null===e||e[$r]||(e[$r]=!0,zr("selectionchange",!1,e))}}function Hr(t,e,n,r){switch(Ke(e)){case 1:var i=Ge;break;case 4:i=Ue;break;default:i=Xe}n=i.bind(null,e,n,t),i=void 0,!Ot||"touchstart"!==e&&"touchmove"!==e&&"wheel"!==e||(i=!0),r?void 0!==i?t.addEventListener(e,n,{capture:!0,passive:i}):t.addEventListener(e,n,!0):void 0!==i?t.addEventListener(e,n,{passive:i}):t.addEventListener(e,n,!1)}function Wr(t,e,n,r,i){var a=r;if(0==(1&e)&&0==(2&e)&&null!==r)t:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var u=o.tag;if((3===u||4===u)&&((u=o.stateNode.containerInfo)===i||8===u.nodeType&&u.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=mi(s)))return;if(5===(u=o.tag)||6===u){r=a=o;continue t}s=s.parentNode}}r=r.return}Pt((function(){var r=a,i=xt(n),o=[];t:{var s=Er.get(t);if(void 0!==s){var u=ln,c=t;switch(t){case"keypress":if(0===en(n))break t;case"keydown":case"keyup":u=Cn;break;case"focusin":c="focus",u=bn;break;case"focusout":c="blur",u=bn;break;case"beforeblur":case"afterblur":u=bn;break;case"click":if(2===n.button)break t;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=gn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=An;break;case Mr:case Cr:case Tr:u=vn;break;case Ar:u=En;break;case"scroll":u=fn;break;case"wheel":u=Dn;break;case"copy":case"cut":case"paste":u=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tn}var l=0!=(4&e),h=!l&&"scroll"===t,f=l?null!==s?s+"Capture":null:s;l=[];for(var d,p=r;null!==p;){var g=(d=p).stateNode;if(5===d.tag&&null!==g&&(d=g,null!==f&&(null!=(g=Dt(p,f))&&l.push(Gr(p,g,d)))),h)break;p=p.return}0<l.length&&(s=new u(s,c,null,n,i),o.push({event:s,listeners:l}))}}if(0==(7&e)){if(u="mouseout"===t||"pointerout"===t,(!(s="mouseover"===t||"pointerover"===t)||n===wt||!(c=n.relatedTarget||n.fromElement)||!mi(c)&&!c[pi])&&(u||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,u?(u=r,null!==(c=(c=n.relatedTarget||n.toElement)?mi(c):null)&&(c!==(h=Vt(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(u=null,c=r),u!==c)){if(l=pn,g="onMouseLeave",f="onMouseEnter",p="mouse","pointerout"!==t&&"pointerover"!==t||(l=Tn,g="onPointerLeave",f="onPointerEnter",p="pointer"),h=null==u?s:wi(u),d=null==c?s:wi(c),(s=new l(g,p+"leave",u,n,i)).target=h,s.relatedTarget=d,g=null,mi(i)===r&&((l=new l(f,p+"enter",c,n,i)).target=d,l.relatedTarget=h,g=l),h=g,u&&c)t:{for(f=c,p=0,d=l=u;d;d=Xr(d))p++;for(d=0,g=f;g;g=Xr(g))d++;for(;0<p-d;)l=Xr(l),p--;for(;0<d-p;)f=Xr(f),d--;for(;p--;){if(l===f||null!==f&&l===f.alternate)break t;l=Xr(l),f=Xr(f)}l=null}else l=null;null!==u&&qr(o,s,u,l,!1),null!==c&&null!==h&&qr(o,h,c,l,!0)}if("select"===(u=(s=r?wi(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===u&&"file"===s.type)var b=Kn;else if(Wn(s))if(Zn)b=or;else{b=ir;var v=rr}else(u=s.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(b=ar);switch(b&&(b=b(t,r))?Gn(o,b,n,i):(v&&v(t,s,r),"focusout"===t&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&tt(s,"number",s.value)),v=r?wi(r):window,t){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(br=v,vr=r,mr=null);break;case"focusout":mr=vr=br=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,wr(o,n,i);break;case"selectionchange":if(gr)break;case"keydown":case"keyup":wr(o,n,i)}var m;if(Ln)t:{switch(t){case"compositionstart":var y="onCompositionStart";break t;case"compositionend":y="onCompositionEnd";break t;case"compositionupdate":y="onCompositionUpdate";break t}y=void 0}else Vn?zn(t,n)&&(y="onCompositionEnd"):"keydown"===t&&229===n.keyCode&&(y="onCompositionStart");y&&(jn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vn&&(m=tn()):(Qe="value"in(Ze=i)?Ze.value:Ze.textContent,Vn=!0)),0<(v=Ur(r,y)).length&&(y=new wn(y,t,null,n,i),o.push({event:y,listeners:v}),m?y.data=m:null!==(m=$n(n))&&(y.data=m))),(m=Nn?function(t,e){switch(t){case"compositionend":return $n(e);case"keypress":return 32!==e.which?null:(Bn=!0,Fn);case"textInput":return(t=e.data)===Fn&&Bn?null:t;default:return null}}(t,n):function(t,e){if(Vn)return"compositionend"===t||!Ln&&zn(t,e)?(t=tn(),Je=Qe=Ze=null,Vn=!1,t):null;switch(t){case"paste":default:return null;case"keypress":if(!(e.ctrlKey||e.altKey||e.metaKey)||e.ctrlKey&&e.altKey){if(e.char&&1<e.char.length)return e.char;if(e.which)return String.fromCharCode(e.which)}return null;case"compositionend":return jn&&"ko"!==e.locale?null:e.data}}(t,n))&&(0<(r=Ur(r,"onBeforeInput")).length&&(i=new wn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=m))}Fr(o,e)}))}function Gr(t,e,n){return{instance:t,listener:e,currentTarget:n}}function Ur(t,e){for(var n=e+"Capture",r=[];null!==t;){var i=t,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=Dt(t,n))&&r.unshift(Gr(t,a,i)),null!=(a=Dt(t,e))&&r.push(Gr(t,a,i))),t=t.return}return r}function Xr(t){if(null===t)return null;do{t=t.return}while(t&&5!==t.tag);return t||null}function qr(t,e,n,r,i){for(var a=e._reactName,o=[];null!==n&&n!==r;){var s=n,u=s.alternate,c=s.stateNode;if(null!==u&&u===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(u=Dt(n,a))&&o.unshift(Gr(n,u,s)):i||null!=(u=Dt(n,a))&&o.push(Gr(n,u,s))),n=n.return}0!==o.length&&t.push({event:e,listeners:o})}var Yr=/\r\n?/g,Kr=/\u0000|\uFFFD/g;function Zr(t){return("string"==typeof t?t:""+t).replace(Yr,"\n").replace(Kr,"")}function Qr(t,e,n){if(e=Zr(e),Zr(t)!==e&&n)throw Error(a(425))}function Jr(){}var ti=null,ei=null;function ni(t,e){return"textarea"===t||"noscript"===t||"string"==typeof e.children||"number"==typeof e.children||"object"==typeof e.dangerouslySetInnerHTML&&null!==e.dangerouslySetInnerHTML&&null!=e.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,ai="function"==typeof Promise?Promise:void 0,oi="function"==typeof queueMicrotask?queueMicrotask:void 0!==ai?function(t){return ai.resolve(null).then(t).catch(si)}:ri;function si(t){setTimeout((function(){throw t}))}function ui(t,e){var n=e,r=0;do{var i=n.nextSibling;if(t.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return t.removeChild(i),void Ve(e);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Ve(e)}function ci(t){for(;null!=t;t=t.nextSibling){var e=t.nodeType;if(1===e||3===e)break;if(8===e){if("$"===(e=t.data)||"$!"===e||"$?"===e)break;if("/$"===e)return null}}return t}function li(t){t=t.previousSibling;for(var e=0;t;){if(8===t.nodeType){var n=t.data;if("$"===n||"$!"===n||"$?"===n){if(0===e)return t;e--}else"/$"===n&&e++}t=t.previousSibling}return null}var hi=Math.random().toString(36).slice(2),fi="__reactFiber$"+hi,di="__reactProps$"+hi,pi="__reactContainer$"+hi,gi="__reactEvents$"+hi,bi="__reactListeners$"+hi,vi="__reactHandles$"+hi;function mi(t){var e=t[fi];if(e)return e;for(var n=t.parentNode;n;){if(e=n[pi]||n[fi]){if(n=e.alternate,null!==e.child||null!==n&&null!==n.child)for(t=li(t);null!==t;){if(n=t[fi])return n;t=li(t)}return e}n=(t=n).parentNode}return null}function yi(t){return!(t=t[fi]||t[pi])||5!==t.tag&&6!==t.tag&&13!==t.tag&&3!==t.tag?null:t}function wi(t){if(5===t.tag||6===t.tag)return t.stateNode;throw Error(a(33))}function xi(t){return t[di]||null}var _i=[],Si=-1;function ki(t){return{current:t}}function Ii(t){0>Si||(t.current=_i[Si],_i[Si]=null,Si--)}function Mi(t,e){Si++,_i[Si]=t.current,t.current=e}var Ci={},Ti=ki(Ci),Ai=ki(!1),Ei=Ci;function Pi(t,e){var n=t.type.contextTypes;if(!n)return Ci;var r=t.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===e)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=e[i];return r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=e,t.__reactInternalMemoizedMaskedChildContext=a),a}function Di(t){return null!=(t=t.childContextTypes)}function Oi(){Ii(Ai),Ii(Ti)}function Li(t,e,n){if(Ti.current!==Ci)throw Error(a(168));Mi(Ti,e),Mi(Ai,n)}function Ri(t,e,n){var r=t.stateNode;if(e=e.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in e))throw Error(a(108,H(t)||"Unknown",i));return j({},n,r)}function Ni(t){return t=(t=t.stateNode)&&t.__reactInternalMemoizedMergedChildContext||Ci,Ei=Ti.current,Mi(Ti,t),Mi(Ai,Ai.current),!0}function ji(t,e,n){var r=t.stateNode;if(!r)throw Error(a(169));n?(t=Ri(t,e,Ei),r.__reactInternalMemoizedMergedChildContext=t,Ii(Ai),Ii(Ti),Mi(Ti,t)):Ii(Ai),Mi(Ai,n)}var Fi=null,Bi=!1,zi=!1;function $i(t){null===Fi?Fi=[t]:Fi.push(t)}function Vi(){if(!zi&&null!==Fi){zi=!0;var t=0,e=ye;try{var n=Fi;for(ye=1;t<n.length;t++){var r=n[t];do{r=r(!0)}while(null!==r)}Fi=null,Bi=!1}catch(e){throw null!==Fi&&(Fi=Fi.slice(t+1)),Xt(Jt,Vi),e}finally{ye=e,zi=!1}}return null}var Hi=w.ReactCurrentBatchConfig;function Wi(t,e){if(t&&t.defaultProps){for(var n in e=j({},e),t=t.defaultProps)void 0===e[n]&&(e[n]=t[n]);return e}return e}var Gi=ki(null),Ui=null,Xi=null,qi=null;function Yi(){qi=Xi=Ui=null}function Ki(t){var e=Gi.current;Ii(Gi),t._currentValue=e}function Zi(t,e,n){for(;null!==t;){var r=t.alternate;if((t.childLanes&e)!==e?(t.childLanes|=e,null!==r&&(r.childLanes|=e)):null!==r&&(r.childLanes&e)!==e&&(r.childLanes|=e),t===n)break;t=t.return}}function Qi(t,e){Ui=t,qi=Xi=null,null!==(t=t.dependencies)&&null!==t.firstContext&&(0!=(t.lanes&e)&&(xs=!0),t.firstContext=null)}function Ji(t){var e=t._currentValue;if(qi!==t)if(t={context:t,memoizedValue:e,next:null},null===Xi){if(null===Ui)throw Error(a(308));Xi=t,Ui.dependencies={lanes:0,firstContext:t}}else Xi=Xi.next=t;return e}var ta=null,ea=!1;function na(t){t.updateQueue={baseState:t.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ra(t,e){t=t.updateQueue,e.updateQueue===t&&(e.updateQueue={baseState:t.baseState,firstBaseUpdate:t.firstBaseUpdate,lastBaseUpdate:t.lastBaseUpdate,shared:t.shared,effects:t.effects})}function ia(t,e){return{eventTime:t,lane:e,tag:0,payload:null,callback:null,next:null}}function aa(t,e){var n=t.updateQueue;null!==n&&(n=n.shared,ec(t)?(null===(t=n.interleaved)?(e.next=e,null===ta?ta=[n]:ta.push(n)):(e.next=t.next,t.next=e),n.interleaved=e):(null===(t=n.pending)?e.next=e:(e.next=t.next,t.next=e),n.pending=e))}function oa(t,e,n){if(null!==(e=e.updateQueue)&&(e=e.shared,0!=(4194240&n))){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,me(t,n)}}function sa(t,e){var n=t.updateQueue,r=t.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=e:a=a.next=e}else i=a=e;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(t.updateQueue=n)}null===(t=n.lastBaseUpdate)?n.firstBaseUpdate=e:t.next=e,n.lastBaseUpdate=e}function ua(t,e,n,r){var i=t.updateQueue;ea=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var u=s,c=u.next;u.next=null,null===o?a=c:o.next=c,o=u;var l=t.alternate;null!==l&&((s=(l=l.updateQueue).lastBaseUpdate)!==o&&(null===s?l.firstBaseUpdate=c:s.next=c,l.lastBaseUpdate=u))}if(null!==a){var h=i.baseState;for(o=0,l=c=u=null,s=a;;){var f=s.lane,d=s.eventTime;if((r&f)===f){null!==l&&(l=l.next={eventTime:d,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});t:{var p=t,g=s;switch(f=e,d=n,g.tag){case 1:if("function"==typeof(p=g.payload)){h=p.call(d,h,f);break t}h=p;break t;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(f="function"==typeof(p=g.payload)?p.call(d,h,f):p))break t;h=j({},h,f);break t;case 2:ea=!0}}null!==s.callback&&0!==s.lane&&(t.flags|=64,null===(f=i.effects)?i.effects=[s]:f.push(s))}else d={eventTime:d,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===l?(c=l=d,u=h):l=l.next=d,o|=f;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(f=s).next,f.next=null,i.lastBaseUpdate=f,i.shared.pending=null}}if(null===l&&(u=h),i.baseState=u,i.firstBaseUpdate=c,i.lastBaseUpdate=l,null!==(e=i.shared.interleaved)){i=e;do{o|=i.lane,i=i.next}while(i!==e)}else null===a&&(i.shared.lanes=0);Ou|=o,t.lanes=o,t.memoizedState=h}}function ca(t,e,n){if(t=e.effects,e.effects=null,null!==t)for(e=0;e<t.length;e++){var r=t[e],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var la=(new r.Component).refs;function ha(t,e,n,r){n=null==(n=n(r,e=t.memoizedState))?e:j({},e,n),t.memoizedState=n,0===t.lanes&&(t.updateQueue.baseState=n)}var fa={isMounted:function(t){return!!(t=t._reactInternals)&&Vt(t)===t},enqueueSetState:function(t,e,n){t=t._reactInternals;var r=Zu(),i=Qu(t),a=ia(r,i);a.payload=e,null!=n&&(a.callback=n),aa(t,a),null!==(e=Ju(t,i,r))&&oa(e,t,i)},enqueueReplaceState:function(t,e,n){t=t._reactInternals;var r=Zu(),i=Qu(t),a=ia(r,i);a.tag=1,a.payload=e,null!=n&&(a.callback=n),aa(t,a),null!==(e=Ju(t,i,r))&&oa(e,t,i)},enqueueForceUpdate:function(t,e){t=t._reactInternals;var n=Zu(),r=Qu(t),i=ia(n,r);i.tag=2,null!=e&&(i.callback=e),aa(t,i),null!==(e=Ju(t,r,n))&&oa(e,t,r)}};function da(t,e,n,r,i,a,o){return"function"==typeof(t=t.stateNode).shouldComponentUpdate?t.shouldComponentUpdate(r,a,o):!e.prototype||!e.prototype.isPureReactComponent||(!ur(n,r)||!ur(i,a))}function pa(t,e,n){var r=!1,i=Ci,a=e.contextType;return"object"==typeof a&&null!==a?a=Ji(a):(i=Di(e)?Ei:Ti.current,a=(r=null!=(r=e.contextTypes))?Pi(t,i):Ci),e=new e(n,a),t.memoizedState=null!==e.state&&void 0!==e.state?e.state:null,e.updater=fa,t.stateNode=e,e._reactInternals=t,r&&((t=t.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,t.__reactInternalMemoizedMaskedChildContext=a),e}function ga(t,e,n,r){t=e.state,"function"==typeof e.componentWillReceiveProps&&e.componentWillReceiveProps(n,r),"function"==typeof e.UNSAFE_componentWillReceiveProps&&e.UNSAFE_componentWillReceiveProps(n,r),e.state!==t&&fa.enqueueReplaceState(e,e.state,null)}function ba(t,e,n,r){var i=t.stateNode;i.props=n,i.state=t.memoizedState,i.refs=la,na(t);var a=e.contextType;"object"==typeof a&&null!==a?i.context=Ji(a):(a=Di(e)?Ei:Ti.current,i.context=Pi(t,a)),i.state=t.memoizedState,"function"==typeof(a=e.getDerivedStateFromProps)&&(ha(t,e,a,n),i.state=t.memoizedState),"function"==typeof e.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(e=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),e!==i.state&&fa.enqueueReplaceState(i,i.state,null),ua(t,n,i,r),i.state=t.memoizedState),"function"==typeof i.componentDidMount&&(t.flags|=4194308)}var va=[],ma=0,ya=null,wa=0,xa=[],_a=0,Sa=null,ka=1,Ia="";function Ma(t,e){va[ma++]=wa,va[ma++]=ya,ya=t,wa=e}function Ca(t,e,n){xa[_a++]=ka,xa[_a++]=Ia,xa[_a++]=Sa,Sa=t;var r=ka;t=Ia;var i=32-oe(r)-1;r&=~(1<<i),n+=1;var a=32-oe(e)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,ka=1<<32-oe(e)+i|n<<i|r,Ia=a+t}else ka=1<<a|n<<i|r,Ia=t}function Ta(t){null!==t.return&&(Ma(t,1),Ca(t,1,0))}function Aa(t){for(;t===ya;)ya=va[--ma],va[ma]=null,wa=va[--ma],va[ma]=null;for(;t===Sa;)Sa=xa[--_a],xa[_a]=null,Ia=xa[--_a],xa[_a]=null,ka=xa[--_a],xa[_a]=null}var Ea=null,Pa=null,Da=!1,Oa=null;function La(t,e){var n=Ec(5,null,null,0);n.elementType="DELETED",n.stateNode=e,n.return=t,null===(e=t.deletions)?(t.deletions=[n],t.flags|=16):e.push(n)}function Ra(t,e){switch(t.tag){case 5:var n=t.type;return null!==(e=1!==e.nodeType||n.toLowerCase()!==e.nodeName.toLowerCase()?null:e)&&(t.stateNode=e,Ea=t,Pa=ci(e.firstChild),!0);case 6:return null!==(e=""===t.pendingProps||3!==e.nodeType?null:e)&&(t.stateNode=e,Ea=t,Pa=null,!0);case 13:return null!==(e=8!==e.nodeType?null:e)&&(n=null!==Sa?{id:ka,overflow:Ia}:null,t.memoizedState={dehydrated:e,treeContext:n,retryLane:1073741824},(n=Ec(18,null,null,0)).stateNode=e,n.return=t,t.child=n,Ea=t,Pa=null,!0);default:return!1}}function Na(t){return 0!=(1&t.mode)&&0==(128&t.flags)}function ja(t){if(Da){var e=Pa;if(e){var n=e;if(!Ra(t,e)){if(Na(t))throw Error(a(418));e=ci(n.nextSibling);var r=Ea;e&&Ra(t,e)?La(r,n):(t.flags=-4097&t.flags|2,Da=!1,Ea=t)}}else{if(Na(t))throw Error(a(418));t.flags=-4097&t.flags|2,Da=!1,Ea=t}}}function Fa(t){for(t=t.return;null!==t&&5!==t.tag&&3!==t.tag&&13!==t.tag;)t=t.return;Ea=t}function Ba(t){if(t!==Ea)return!1;if(!Da)return Fa(t),Da=!0,!1;var e;if((e=3!==t.tag)&&!(e=5!==t.tag)&&(e="head"!==(e=t.type)&&"body"!==e&&!ni(t.type,t.memoizedProps)),e&&(e=Pa)){if(Na(t)){for(t=Pa;t;)t=ci(t.nextSibling);throw Error(a(418))}for(;e;)La(t,e),e=ci(e.nextSibling)}if(Fa(t),13===t.tag){if(!(t=null!==(t=t.memoizedState)?t.dehydrated:null))throw Error(a(317));t:{for(t=t.nextSibling,e=0;t;){if(8===t.nodeType){var n=t.data;if("/$"===n){if(0===e){Pa=ci(t.nextSibling);break t}e--}else"$"!==n&&"$!"!==n&&"$?"!==n||e++}t=t.nextSibling}Pa=null}}else Pa=Ea?ci(t.stateNode.nextSibling):null;return!0}function za(){Pa=Ea=null,Da=!1}function $a(t){null===Oa?Oa=[t]:Oa.push(t)}function Va(t,e,n){if(null!==(t=n.ref)&&"function"!=typeof t&&"object"!=typeof t){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,t));var i=r,o=""+t;return null!==e&&null!==e.ref&&"function"==typeof e.ref&&e.ref._stringRef===o?e.ref:(e=function(t){var e=i.refs;e===la&&(e=i.refs={}),null===t?delete e[o]:e[o]=t},e._stringRef=o,e)}if("string"!=typeof t)throw Error(a(284));if(!n._owner)throw Error(a(290,t))}return t}function Ha(t,e){throw t=Object.prototype.toString.call(e),Error(a(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t))}function Wa(t){return(0,t._init)(t._payload)}function Ga(t){function e(e,n){if(t){var r=e.deletions;null===r?(e.deletions=[n],e.flags|=16):r.push(n)}}function n(n,r){if(!t)return null;for(;null!==r;)e(n,r),r=r.sibling;return null}function r(t,e){for(t=new Map;null!==e;)null!==e.key?t.set(e.key,e):t.set(e.index,e),e=e.sibling;return t}function i(t,e){return(t=Dc(t,e)).index=0,t.sibling=null,t}function o(e,n,r){return e.index=r,t?null!==(r=e.alternate)?(r=r.index)<n?(e.flags|=2,n):r:(e.flags|=2,n):(e.flags|=1048576,n)}function s(e){return t&&null===e.alternate&&(e.flags|=2),e}function u(t,e,n,r){return null===e||6!==e.tag?((e=Nc(n,t.mode,r)).return=t,e):((e=i(e,n)).return=t,e)}function c(t,e,n,r){var a=n.type;return a===S?h(t,e,n.props.children,r,n.key):null!==e&&(e.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===D&&Wa(a)===e.type)?((r=i(e,n.props)).ref=Va(t,e,n),r.return=t,r):((r=Oc(n.type,n.key,n.props,null,t.mode,r)).ref=Va(t,e,n),r.return=t,r)}function l(t,e,n,r){return null===e||4!==e.tag||e.stateNode.containerInfo!==n.containerInfo||e.stateNode.implementation!==n.implementation?((e=jc(n,t.mode,r)).return=t,e):((e=i(e,n.children||[])).return=t,e)}function h(t,e,n,r,a){return null===e||7!==e.tag?((e=Lc(n,t.mode,r,a)).return=t,e):((e=i(e,n)).return=t,e)}function f(t,e,n){if("string"==typeof e&&""!==e||"number"==typeof e)return(e=Nc(""+e,t.mode,n)).return=t,e;if("object"==typeof e&&null!==e){switch(e.$$typeof){case x:return(n=Oc(e.type,e.key,e.props,null,t.mode,n)).ref=Va(t,null,e),n.return=t,n;case _:return(e=jc(e,t.mode,n)).return=t,e;case D:return f(t,(0,e._init)(e._payload),n)}if(et(e)||R(e))return(e=Lc(e,t.mode,n,null)).return=t,e;Ha(t,e)}return null}function d(t,e,n,r){var i=null!==e?e.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:u(t,e,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===i?c(t,e,n,r):null;case _:return n.key===i?l(t,e,n,r):null;case D:return d(t,e,(i=n._init)(n._payload),r)}if(et(n)||R(n))return null!==i?null:h(t,e,n,r,null);Ha(t,n)}return null}function p(t,e,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return u(e,t=t.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return c(e,t=t.get(null===r.key?n:r.key)||null,r,i);case _:return l(e,t=t.get(null===r.key?n:r.key)||null,r,i);case D:return p(t,e,n,(0,r._init)(r._payload),i)}if(et(r)||R(r))return h(e,t=t.get(n)||null,r,i,null);Ha(e,r)}return null}function g(i,a,s,u){for(var c=null,l=null,h=a,g=a=0,b=null;null!==h&&g<s.length;g++){h.index>g?(b=h,h=null):b=h.sibling;var v=d(i,h,s[g],u);if(null===v){null===h&&(h=b);break}t&&h&&null===v.alternate&&e(i,h),a=o(v,a,g),null===l?c=v:l.sibling=v,l=v,h=b}if(g===s.length)return n(i,h),Da&&Ma(i,g),c;if(null===h){for(;g<s.length;g++)null!==(h=f(i,s[g],u))&&(a=o(h,a,g),null===l?c=h:l.sibling=h,l=h);return Da&&Ma(i,g),c}for(h=r(i,h);g<s.length;g++)null!==(b=p(h,i,g,s[g],u))&&(t&&null!==b.alternate&&h.delete(null===b.key?g:b.key),a=o(b,a,g),null===l?c=b:l.sibling=b,l=b);return t&&h.forEach((function(t){return e(i,t)})),Da&&Ma(i,g),c}function b(i,s,u,c){var l=R(u);if("function"!=typeof l)throw Error(a(150));if(null==(u=l.call(u)))throw Error(a(151));for(var h=l=null,g=s,b=s=0,v=null,m=u.next();null!==g&&!m.done;b++,m=u.next()){g.index>b?(v=g,g=null):v=g.sibling;var y=d(i,g,m.value,c);if(null===y){null===g&&(g=v);break}t&&g&&null===y.alternate&&e(i,g),s=o(y,s,b),null===h?l=y:h.sibling=y,h=y,g=v}if(m.done)return n(i,g),Da&&Ma(i,b),l;if(null===g){for(;!m.done;b++,m=u.next())null!==(m=f(i,m.value,c))&&(s=o(m,s,b),null===h?l=m:h.sibling=m,h=m);return Da&&Ma(i,b),l}for(g=r(i,g);!m.done;b++,m=u.next())null!==(m=p(g,i,b,m.value,c))&&(t&&null!==m.alternate&&g.delete(null===m.key?b:m.key),s=o(m,s,b),null===h?l=m:h.sibling=m,h=m);return t&&g.forEach((function(t){return e(i,t)})),Da&&Ma(i,b),l}return function t(r,a,o,u){if("object"==typeof o&&null!==o&&o.type===S&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case x:t:{for(var c=o.key,l=a;null!==l;){if(l.key===c){if((c=o.type)===S){if(7===l.tag){n(r,l.sibling),(a=i(l,o.props.children)).return=r,r=a;break t}}else if(l.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&Wa(c)===l.type){n(r,l.sibling),(a=i(l,o.props)).ref=Va(r,l,o),a.return=r,r=a;break t}n(r,l);break}e(r,l),l=l.sibling}o.type===S?((a=Lc(o.props.children,r.mode,u,o.key)).return=r,r=a):((u=Oc(o.type,o.key,o.props,null,r.mode,u)).ref=Va(r,a,o),u.return=r,r=u)}return s(r);case _:t:{for(l=o.key;null!==a;){if(a.key===l){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break t}n(r,a);break}e(r,a),a=a.sibling}(a=jc(o,r.mode,u)).return=r,r=a}return s(r);case D:return t(r,a,(l=o._init)(o._payload),u)}if(et(o))return g(r,a,o,u);if(R(o))return b(r,a,o,u);Ha(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Nc(o,r.mode,u)).return=r,r=a),s(r)):n(r,a)}}var Ua=Ga(!0),Xa=Ga(!1),qa={},Ya=ki(qa),Ka=ki(qa),Za=ki(qa);function Qa(t){if(t===qa)throw Error(a(174));return t}function Ja(t,e){switch(Mi(Za,e),Mi(Ka,t),Mi(Ya,qa),t=e.nodeType){case 9:case 11:e=(e=e.documentElement)?e.namespaceURI:ut(null,"");break;default:e=ut(e=(t=8===t?e.parentNode:e).namespaceURI||null,t=t.tagName)}Ii(Ya),Mi(Ya,e)}function to(){Ii(Ya),Ii(Ka),Ii(Za)}function eo(t){Qa(Za.current);var e=Qa(Ya.current),n=ut(e,t.type);e!==n&&(Mi(Ka,t),Mi(Ya,n))}function no(t){Ka.current===t&&(Ii(Ya),Ii(Ka))}var ro=ki(0);function io(t){for(var e=t;null!==e;){if(13===e.tag){var n=e.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return e}else if(19===e.tag&&void 0!==e.memoizedProps.revealOrder){if(0!=(128&e.flags))return e}else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return null;e=e.return}e.sibling.return=e.return,e=e.sibling}return null}var ao=[];function oo(){for(var t=0;t<ao.length;t++)ao[t]._workInProgressVersionPrimary=null;ao.length=0}var so=w.ReactCurrentDispatcher,uo=w.ReactCurrentBatchConfig,co=0,lo=null,ho=null,fo=null,po=!1,go=!1,bo=0,vo=0;function mo(){throw Error(a(321))}function yo(t,e){if(null===e)return!1;for(var n=0;n<e.length&&n<t.length;n++)if(!sr(t[n],e[n]))return!1;return!0}function wo(t,e,n,r,i,o){if(co=o,lo=e,e.memoizedState=null,e.updateQueue=null,e.lanes=0,so.current=null===t||null===t.memoizedState?rs:is,t=n(r,i),go){o=0;do{if(go=!1,bo=0,25<=o)throw Error(a(301));o+=1,fo=ho=null,e.updateQueue=null,so.current=as,t=n(r,i)}while(go)}if(so.current=ns,e=null!==ho&&null!==ho.next,co=0,fo=ho=lo=null,po=!1,e)throw Error(a(300));return t}function xo(){var t=0!==bo;return bo=0,t}function _o(){var t={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===fo?lo.memoizedState=fo=t:fo=fo.next=t,fo}function So(){if(null===ho){var t=lo.alternate;t=null!==t?t.memoizedState:null}else t=ho.next;var e=null===fo?lo.memoizedState:fo.next;if(null!==e)fo=e,ho=t;else{if(null===t)throw Error(a(310));t={memoizedState:(ho=t).memoizedState,baseState:ho.baseState,baseQueue:ho.baseQueue,queue:ho.queue,next:null},null===fo?lo.memoizedState=fo=t:fo=fo.next=t}return fo}function ko(t,e){return"function"==typeof e?e(t):e}function Io(t){var e=So(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=ho,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var u=s=null,c=null,l=o;do{var h=l.lane;if((co&h)===h)null!==c&&(c=c.next={lane:0,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null}),r=l.hasEagerState?l.eagerState:t(r,l.action);else{var f={lane:h,action:l.action,hasEagerState:l.hasEagerState,eagerState:l.eagerState,next:null};null===c?(u=c=f,s=r):c=c.next=f,lo.lanes|=h,Ou|=h}l=l.next}while(null!==l&&l!==o);null===c?s=r:c.next=u,sr(r,e.memoizedState)||(xs=!0),e.memoizedState=r,e.baseState=s,e.baseQueue=c,n.lastRenderedState=r}if(null!==(t=n.interleaved)){i=t;do{o=i.lane,lo.lanes|=o,Ou|=o,i=i.next}while(i!==t)}else null===i&&(n.lanes=0);return[e.memoizedState,n.dispatch]}function Mo(t){var e=So(),n=e.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=t;var r=n.dispatch,i=n.pending,o=e.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=t(o,s.action),s=s.next}while(s!==i);sr(o,e.memoizedState)||(xs=!0),e.memoizedState=o,null===e.baseQueue&&(e.baseState=o),n.lastRenderedState=o}return[o,r]}function Co(){}function To(t,e){var n=lo,r=So(),i=e(),o=!sr(r.memoizedState,i);if(o&&(r.memoizedState=i,xs=!0),r=r.queue,Bo(Po.bind(null,n,r,t),[t]),r.getSnapshot!==e||o||null!==fo&&1&fo.memoizedState.tag){if(n.flags|=2048,Lo(9,Eo.bind(null,n,r,i,e),void 0,null),null===Mu)throw Error(a(349));0!=(30&co)||Ao(n,e,i)}return i}function Ao(t,e,n){t.flags|=16384,t={getSnapshot:e,value:n},null===(e=lo.updateQueue)?(e={lastEffect:null,stores:null},lo.updateQueue=e,e.stores=[t]):null===(n=e.stores)?e.stores=[t]:n.push(t)}function Eo(t,e,n,r){e.value=n,e.getSnapshot=r,Do(e)&&Ju(t,1,-1)}function Po(t,e,n){return n((function(){Do(e)&&Ju(t,1,-1)}))}function Do(t){var e=t.getSnapshot;t=t.value;try{var n=e();return!sr(t,n)}catch(t){return!0}}function Oo(t){var e=_o();return"function"==typeof t&&(t=t()),e.memoizedState=e.baseState=t,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:ko,lastRenderedState:t},e.queue=t,t=t.dispatch=Zo.bind(null,lo,t),[e.memoizedState,t]}function Lo(t,e,n,r){return t={tag:t,create:e,destroy:n,deps:r,next:null},null===(e=lo.updateQueue)?(e={lastEffect:null,stores:null},lo.updateQueue=e,e.lastEffect=t.next=t):null===(n=e.lastEffect)?e.lastEffect=t.next=t:(r=n.next,n.next=t,t.next=r,e.lastEffect=t),t}function Ro(){return So().memoizedState}function No(t,e,n,r){var i=_o();lo.flags|=t,i.memoizedState=Lo(1|e,n,void 0,void 0===r?null:r)}function jo(t,e,n,r){var i=So();r=void 0===r?null:r;var a=void 0;if(null!==ho){var o=ho.memoizedState;if(a=o.destroy,null!==r&&yo(r,o.deps))return void(i.memoizedState=Lo(e,n,a,r))}lo.flags|=t,i.memoizedState=Lo(1|e,n,a,r)}function Fo(t,e){return No(8390656,8,t,e)}function Bo(t,e){return jo(2048,8,t,e)}function zo(t,e){return jo(4,2,t,e)}function $o(t,e){return jo(4,4,t,e)}function Vo(t,e){return"function"==typeof e?(t=t(),e(t),function(){e(null)}):null!=e?(t=t(),e.current=t,function(){e.current=null}):void 0}function Ho(t,e,n){return n=null!=n?n.concat([t]):null,jo(4,4,Vo.bind(null,e,t),n)}function Wo(){}function Go(t,e){var n=So();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&yo(e,r[1])?r[0]:(n.memoizedState=[t,e],t)}function Uo(t,e){var n=So();e=void 0===e?null:e;var r=n.memoizedState;return null!==r&&null!==e&&yo(e,r[1])?r[0]:(t=t(),n.memoizedState=[t,e],t)}function Xo(t,e,n){return 0==(21&co)?(t.baseState&&(t.baseState=!1,xs=!0),t.memoizedState=n):(sr(n,e)||(n=ge(),lo.lanes|=n,Ou|=n,t.baseState=!0),e)}function qo(t,e){var n=ye;ye=0!==n&&4>n?n:4,t(!0);var r=uo.transition;uo.transition={};try{t(!1),e()}finally{ye=n,uo.transition=r}}function Yo(){return So().memoizedState}function Ko(t,e,n){var r=Qu(t);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Qo(t)?Jo(e,n):(ts(t,e,n),null!==(t=Ju(t,r,n=Zu()))&&es(t,e,r))}function Zo(t,e,n){var r=Qu(t),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Qo(t))Jo(e,i);else{ts(t,e,i);var a=t.alternate;if(0===t.lanes&&(null===a||0===a.lanes)&&null!==(a=e.lastRenderedReducer))try{var o=e.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,o))return}catch(t){}null!==(t=Ju(t,r,n=Zu()))&&es(t,e,r)}}function Qo(t){var e=t.alternate;return t===lo||null!==e&&e===lo}function Jo(t,e){go=po=!0;var n=t.pending;null===n?e.next=e:(e.next=n.next,n.next=e),t.pending=e}function ts(t,e,n){ec(t)?(null===(t=e.interleaved)?(n.next=n,null===ta?ta=[e]:ta.push(e)):(n.next=t.next,t.next=n),e.interleaved=n):(null===(t=e.pending)?n.next=n:(n.next=t.next,t.next=n),e.pending=n)}function es(t,e,n){if(0!=(4194240&n)){var r=e.lanes;n|=r&=t.pendingLanes,e.lanes=n,me(t,n)}}var ns={readContext:Ji,useCallback:mo,useContext:mo,useEffect:mo,useImperativeHandle:mo,useInsertionEffect:mo,useLayoutEffect:mo,useMemo:mo,useReducer:mo,useRef:mo,useState:mo,useDebugValue:mo,useDeferredValue:mo,useTransition:mo,useMutableSource:mo,useSyncExternalStore:mo,useId:mo,unstable_isNewReconciler:!1},rs={readContext:Ji,useCallback:function(t,e){return _o().memoizedState=[t,void 0===e?null:e],t},useContext:Ji,useEffect:Fo,useImperativeHandle:function(t,e,n){return n=null!=n?n.concat([t]):null,No(4194308,4,Vo.bind(null,e,t),n)},useLayoutEffect:function(t,e){return No(4194308,4,t,e)},useInsertionEffect:function(t,e){return No(4,2,t,e)},useMemo:function(t,e){var n=_o();return e=void 0===e?null:e,t=t(),n.memoizedState=[t,e],t},useReducer:function(t,e,n){var r=_o();return e=void 0!==n?n(e):e,r.memoizedState=r.baseState=e,t={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:t,lastRenderedState:e},r.queue=t,t=t.dispatch=Ko.bind(null,lo,t),[r.memoizedState,t]},useRef:function(t){return t={current:t},_o().memoizedState=t},useState:Oo,useDebugValue:Wo,useDeferredValue:function(t){return _o().memoizedState=t},useTransition:function(){var t=Oo(!1),e=t[0];return t=qo.bind(null,t[1]),_o().memoizedState=t,[e,t]},useMutableSource:function(){},useSyncExternalStore:function(t,e,n){var r=lo,i=_o();if(Da){if(void 0===n)throw Error(a(407));n=n()}else{if(n=e(),null===Mu)throw Error(a(349));0!=(30&co)||Ao(r,e,n)}i.memoizedState=n;var o={value:n,getSnapshot:e};return i.queue=o,Fo(Po.bind(null,r,o,t),[t]),r.flags|=2048,Lo(9,Eo.bind(null,r,o,n,e),void 0,null),n},useId:function(){var t=_o(),e=Mu.identifierPrefix;if(Da){var n=Ia;e=":"+e+"R"+(n=(ka&~(1<<32-oe(ka)-1)).toString(32)+n),0<(n=bo++)&&(e+="H"+n.toString(32)),e+=":"}else e=":"+e+"r"+(n=vo++).toString(32)+":";return t.memoizedState=e},unstable_isNewReconciler:!1},is={readContext:Ji,useCallback:Go,useContext:Ji,useEffect:Bo,useImperativeHandle:Ho,useInsertionEffect:zo,useLayoutEffect:$o,useMemo:Uo,useReducer:Io,useRef:Ro,useState:function(){return Io(ko)},useDebugValue:Wo,useDeferredValue:function(t){return Xo(So(),ho.memoizedState,t)},useTransition:function(){return[Io(ko)[0],So().memoizedState]},useMutableSource:Co,useSyncExternalStore:To,useId:Yo,unstable_isNewReconciler:!1},as={readContext:Ji,useCallback:Go,useContext:Ji,useEffect:Bo,useImperativeHandle:Ho,useInsertionEffect:zo,useLayoutEffect:$o,useMemo:Uo,useReducer:Mo,useRef:Ro,useState:function(){return Mo(ko)},useDebugValue:Wo,useDeferredValue:function(t){var e=So();return null===ho?e.memoizedState=t:Xo(e,ho.memoizedState,t)},useTransition:function(){return[Mo(ko)[0],So().memoizedState]},useMutableSource:Co,useSyncExternalStore:To,useId:Yo,unstable_isNewReconciler:!1};function os(t,e){try{var n="",r=e;do{n+=$(r),r=r.return}while(r);var i=n}catch(t){i="\nError generating stack: "+t.message+"\n"+t.stack}return{value:t,source:e,stack:i}}function ss(t,e){try{console.error(e.value)}catch(t){setTimeout((function(){throw t}))}}var us,cs,ls,hs="function"==typeof WeakMap?WeakMap:Map;function fs(t,e,n){(n=ia(-1,n)).tag=3,n.payload={element:null};var r=e.value;return n.callback=function(){$u||($u=!0,Vu=r),ss(0,e)},n}function ds(t,e,n){(n=ia(-1,n)).tag=3;var r=t.type.getDerivedStateFromError;if("function"==typeof r){var i=e.value;n.payload=function(){return r(i)},n.callback=function(){ss(0,e)}}var a=t.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){ss(0,e),"function"!=typeof r&&(null===Hu?Hu=new Set([this]):Hu.add(this));var t=e.stack;this.componentDidCatch(e.value,{componentStack:null!==t?t:""})}),n}function ps(t,e,n){var r=t.pingCache;if(null===r){r=t.pingCache=new hs;var i=new Set;r.set(e,i)}else void 0===(i=r.get(e))&&(i=new Set,r.set(e,i));i.has(n)||(i.add(n),t=kc.bind(null,t,e,n),e.then(t,t))}function gs(t){do{var e;if((e=13===t.tag)&&(e=null===(e=t.memoizedState)||null!==e.dehydrated),e)return t;t=t.return}while(null!==t);return null}function bs(t,e,n,r,i){return 0==(1&t.mode)?(t===e?t.flags|=65536:(t.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((e=ia(-1,1)).tag=2,aa(n,e))),n.lanes|=1),t):(t.flags|=65536,t.lanes=i,t)}function vs(t,e){if(!Da)switch(t.tailMode){case"hidden":e=t.tail;for(var n=null;null!==e;)null!==e.alternate&&(n=e),e=e.sibling;null===n?t.tail=null:n.sibling=null;break;case"collapsed":n=t.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?e||null===t.tail?t.tail=null:t.tail.sibling=null:r.sibling=null}}function ms(t){var e=null!==t.alternate&&t.alternate.child===t.child,n=0,r=0;if(e)for(var i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=t,i=i.sibling;else for(i=t.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=t,i=i.sibling;return t.subtreeFlags|=r,t.childLanes=n,e}function ys(t,e,n){var r=e.pendingProps;switch(Aa(e),e.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ms(e),null;case 1:case 17:return Di(e.type)&&Oi(),ms(e),null;case 3:return r=e.stateNode,to(),Ii(Ai),Ii(Ti),oo(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==t&&null!==t.child||(Ba(e)?e.flags|=4:null===t||t.memoizedState.isDehydrated&&0==(256&e.flags)||(e.flags|=1024,null!==Oa&&(ac(Oa),Oa=null))),ms(e),null;case 5:no(e);var i=Qa(Za.current);if(n=e.type,null!==t&&null!=e.stateNode)cs(t,e,n,r),t.ref!==e.ref&&(e.flags|=512,e.flags|=2097152);else{if(!r){if(null===e.stateNode)throw Error(a(166));return ms(e),null}if(t=Qa(Ya.current),Ba(e)){r=e.stateNode,n=e.type;var o=e.memoizedProps;switch(r[fi]=e,r[di]=o,t=0!=(1&e.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(i=0;i<Rr.length;i++)Br(Rr[i],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":K(r,o),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Br("invalid",r);break;case"textarea":it(r,o),Br("invalid",r)}for(var u in mt(n,o),i=null,o)if(o.hasOwnProperty(u)){var c=o[u];"children"===u?"string"==typeof c?r.textContent!==c&&(!0!==o.suppressHydrationWarning&&Qr(r.textContent,c,t),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==o.suppressHydrationWarning&&Qr(r.textContent,c,t),i=["children",""+c]):s.hasOwnProperty(u)&&null!=c&&"onScroll"===u&&Br("scroll",r)}switch(n){case"input":U(r),J(r,o,!0);break;case"textarea":U(r),ot(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Jr)}r=i,e.updateQueue=r,null!==r&&(e.flags|=4)}else{u=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===t&&(t=st(n)),"http://www.w3.org/1999/xhtml"===t?"script"===n?((t=u.createElement("div")).innerHTML="<script><\/script>",t=t.removeChild(t.firstChild)):"string"==typeof r.is?t=u.createElement(n,{is:r.is}):(t=u.createElement(n),"select"===n&&(u=t,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):t=u.createElementNS(t,n),t[fi]=e,t[di]=r,us(t,e),e.stateNode=t;t:{switch(u=yt(n,r),n){case"dialog":Br("cancel",t),Br("close",t),i=r;break;case"iframe":case"object":case"embed":Br("load",t),i=r;break;case"video":case"audio":for(i=0;i<Rr.length;i++)Br(Rr[i],t);i=r;break;case"source":Br("error",t),i=r;break;case"img":case"image":case"link":Br("error",t),Br("load",t),i=r;break;case"details":Br("toggle",t),i=r;break;case"input":K(t,r),i=Y(t,r),Br("invalid",t);break;case"option":default:i=r;break;case"select":t._wrapperState={wasMultiple:!!r.multiple},i=j({},r,{value:void 0}),Br("invalid",t);break;case"textarea":it(t,r),i=rt(t,r),Br("invalid",t)}for(o in mt(n,i),c=i)if(c.hasOwnProperty(o)){var l=c[o];"style"===o?bt(t,l):"dangerouslySetInnerHTML"===o?null!=(l=l?l.__html:void 0)&&ht(t,l):"children"===o?"string"==typeof l?("textarea"!==n||""!==l)&&ft(t,l):"number"==typeof l&&ft(t,""+l):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=l&&"onScroll"===o&&Br("scroll",t):null!=l&&y(t,o,l,u))}switch(n){case"input":U(t),J(t,r,!1);break;case"textarea":U(t),ot(t);break;case"option":null!=r.value&&t.setAttribute("value",""+W(r.value));break;case"select":t.multiple=!!r.multiple,null!=(o=r.value)?nt(t,!!r.multiple,o,!1):null!=r.defaultValue&&nt(t,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(t.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break t;case"img":r=!0;break t;default:r=!1}}r&&(e.flags|=4)}null!==e.ref&&(e.flags|=512,e.flags|=2097152)}return ms(e),null;case 6:if(t&&null!=e.stateNode)ls(0,e,t.memoizedProps,r);else{if("string"!=typeof r&&null===e.stateNode)throw Error(a(166));if(n=Qa(Za.current),Qa(Ya.current),Ba(e)){if(r=e.stateNode,n=e.memoizedProps,r[fi]=e,(o=r.nodeValue!==n)&&null!==(t=Ea))switch(t.tag){case 3:Qr(r.nodeValue,n,0!=(1&t.mode));break;case 5:!0!==t.memoizedProps.suppressHydrationWarning&&Qr(r.nodeValue,n,0!=(1&t.mode))}o&&(e.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[fi]=e,e.stateNode=r}return ms(e),null;case 13:if(Ii(ro),r=e.memoizedState,Da&&null!==Pa&&0!=(1&e.mode)&&0==(128&e.flags)){for(r=Pa;r;)r=ci(r.nextSibling);return za(),e.flags|=98560,e}if(null!==r&&null!==r.dehydrated){if(r=Ba(e),null===t){if(!r)throw Error(a(318));if(!(r=null!==(r=e.memoizedState)?r.dehydrated:null))throw Error(a(317));r[fi]=e}else za(),0==(128&e.flags)&&(e.memoizedState=null),e.flags|=4;return ms(e),null}return null!==Oa&&(ac(Oa),Oa=null),0!=(128&e.flags)?(e.lanes=n,e):(r=null!==r,n=!1,null===t?Ba(e):n=null!==t.memoizedState,r!==n&&r&&(e.child.flags|=8192,0!=(1&e.mode)&&(null===t||0!=(1&ro.current)?0===Pu&&(Pu=3):pc())),null!==e.updateQueue&&(e.flags|=4),ms(e),null);case 4:return to(),null===t&&Vr(e.stateNode.containerInfo),ms(e),null;case 10:return Ki(e.type._context),ms(e),null;case 19:if(Ii(ro),null===(o=e.memoizedState))return ms(e),null;if(r=0!=(128&e.flags),null===(u=o.rendering))if(r)vs(o,!1);else{if(0!==Pu||null!==t&&0!=(128&t.flags))for(t=e.child;null!==t;){if(null!==(u=io(t))){for(e.flags|=128,vs(o,!1),null!==(r=u.updateQueue)&&(e.updateQueue=r,e.flags|=4),e.subtreeFlags=0,r=n,n=e.child;null!==n;)t=r,(o=n).flags&=14680066,null===(u=o.alternate)?(o.childLanes=0,o.lanes=t,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=u.childLanes,o.lanes=u.lanes,o.child=u.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=u.memoizedProps,o.memoizedState=u.memoizedState,o.updateQueue=u.updateQueue,o.type=u.type,t=u.dependencies,o.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext}),n=n.sibling;return Mi(ro,1&ro.current|2),e.child}t=t.sibling}null!==o.tail&&Zt()>Bu&&(e.flags|=128,r=!0,vs(o,!1),e.lanes=4194304)}else{if(!r)if(null!==(t=io(u))){if(e.flags|=128,r=!0,null!==(n=t.updateQueue)&&(e.updateQueue=n,e.flags|=4),vs(o,!0),null===o.tail&&"hidden"===o.tailMode&&!u.alternate&&!Da)return ms(e),null}else 2*Zt()-o.renderingStartTime>Bu&&1073741824!==n&&(e.flags|=128,r=!0,vs(o,!1),e.lanes=4194304);o.isBackwards?(u.sibling=e.child,e.child=u):(null!==(n=o.last)?n.sibling=u:e.child=u,o.last=u)}return null!==o.tail?(e=o.tail,o.rendering=e,o.tail=e.sibling,o.renderingStartTime=Zt(),e.sibling=null,n=ro.current,Mi(ro,r?1&n|2:1&n),e):(ms(e),null);case 22:case 23:return lc(),r=null!==e.memoizedState,null!==t&&null!==t.memoizedState!==r&&(e.flags|=8192),r&&0!=(1&e.mode)?0!=(1073741824&Au)&&(ms(e),6&e.subtreeFlags&&(e.flags|=8192)):ms(e),null;case 24:case 25:return null}throw Error(a(156,e.tag))}us=function(t,e){for(var n=e.child;null!==n;){if(5===n.tag||6===n.tag)t.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},cs=function(t,e,n,r){var i=t.memoizedProps;if(i!==r){t=e.stateNode,Qa(Ya.current);var a,o=null;switch(n){case"input":i=Y(t,i),r=Y(t,r),o=[];break;case"select":i=j({},i,{value:void 0}),r=j({},r,{value:void 0}),o=[];break;case"textarea":i=rt(t,i),r=rt(t,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(t.onclick=Jr)}for(l in mt(n,r),n=null,i)if(!r.hasOwnProperty(l)&&i.hasOwnProperty(l)&&null!=i[l])if("style"===l){var u=i[l];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==l&&"children"!==l&&"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&"autoFocus"!==l&&(s.hasOwnProperty(l)?o||(o=[]):(o=o||[]).push(l,null));for(l in r){var c=r[l];if(u=null!=i?i[l]:void 0,r.hasOwnProperty(l)&&c!==u&&(null!=c||null!=u))if("style"===l)if(u){for(a in u)!u.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&u[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(o||(o=[]),o.push(l,n)),n=c;else"dangerouslySetInnerHTML"===l?(c=c?c.__html:void 0,u=u?u.__html:void 0,null!=c&&u!==c&&(o=o||[]).push(l,c)):"children"===l?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(l,""+c):"suppressContentEditableWarning"!==l&&"suppressHydrationWarning"!==l&&(s.hasOwnProperty(l)?(null!=c&&"onScroll"===l&&Br("scroll",t),o||u===c||(o=[])):(o=o||[]).push(l,c))}n&&(o=o||[]).push("style",n);var l=o;(e.updateQueue=l)&&(e.flags|=4)}},ls=function(t,e,n,r){n!==r&&(e.flags|=4)};var ws=w.ReactCurrentOwner,xs=!1;function _s(t,e,n,r){e.child=null===t?Xa(e,null,n,r):Ua(e,t.child,n,r)}function Ss(t,e,n,r,i){n=n.render;var a=e.ref;return Qi(e,i),r=wo(t,e,n,r,a,i),n=xo(),null===t||xs?(Da&&n&&Ta(e),e.flags|=1,_s(t,e,r,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Ws(t,e,i))}function ks(t,e,n,r,i){if(null===t){var a=n.type;return"function"!=typeof a||Pc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((t=Oc(n.type,null,r,e,e.mode,i)).ref=e.ref,t.return=e,e.child=t):(e.tag=15,e.type=a,Is(t,e,a,r,i))}if(a=t.child,0==(t.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:ur)(o,r)&&t.ref===e.ref)return Ws(t,e,i)}return e.flags|=1,(t=Dc(a,r)).ref=e.ref,t.return=e,e.child=t}function Is(t,e,n,r,i){if(null!==t){var a=t.memoizedProps;if(ur(a,r)&&t.ref===e.ref){if(xs=!1,e.pendingProps=r=a,0==(t.lanes&i))return e.lanes=t.lanes,Ws(t,e,i);0!=(131072&t.flags)&&(xs=!0)}}return Ts(t,e,n,r,i)}function Ms(t,e,n){var r=e.pendingProps,i=r.children,a=null!==t?t.memoizedState:null;if("hidden"===r.mode)if(0==(1&e.mode))e.memoizedState={baseLanes:0,cachePool:null,transitions:null},Mi(Eu,Au),Au|=n;else{if(0==(1073741824&n))return t=null!==a?a.baseLanes|n:n,e.lanes=e.childLanes=1073741824,e.memoizedState={baseLanes:t,cachePool:null,transitions:null},e.updateQueue=null,Mi(Eu,Au),Au|=t,null;e.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Mi(Eu,Au),Au|=r}else null!==a?(r=a.baseLanes|n,e.memoizedState=null):r=n,Mi(Eu,Au),Au|=r;return _s(t,e,i,n),e.child}function Cs(t,e){var n=e.ref;(null===t&&null!==n||null!==t&&t.ref!==n)&&(e.flags|=512,e.flags|=2097152)}function Ts(t,e,n,r,i){var a=Di(n)?Ei:Ti.current;return a=Pi(e,a),Qi(e,i),n=wo(t,e,n,r,a,i),r=xo(),null===t||xs?(Da&&r&&Ta(e),e.flags|=1,_s(t,e,n,i),e.child):(e.updateQueue=t.updateQueue,e.flags&=-2053,t.lanes&=~i,Ws(t,e,i))}function As(t,e,n,r,i){if(Di(n)){var a=!0;Ni(e)}else a=!1;if(Qi(e,i),null===e.stateNode)null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),pa(e,n,r),ba(e,n,r,i),r=!0;else if(null===t){var o=e.stateNode,s=e.memoizedProps;o.props=s;var u=o.context,c=n.contextType;"object"==typeof c&&null!==c?c=Ji(c):c=Pi(e,c=Di(n)?Ei:Ti.current);var l=n.getDerivedStateFromProps,h="function"==typeof l||"function"==typeof o.getSnapshotBeforeUpdate;h||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||u!==c)&&ga(e,o,r,c),ea=!1;var f=e.memoizedState;o.state=f,ua(e,r,o,i),u=e.memoizedState,s!==r||f!==u||Ai.current||ea?("function"==typeof l&&(ha(e,n,l,r),u=e.memoizedState),(s=ea||da(e,n,s,r,f,u,c))?(h||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(e.flags|=4194308)):("function"==typeof o.componentDidMount&&(e.flags|=4194308),e.memoizedProps=r,e.memoizedState=u),o.props=r,o.state=u,o.context=c,r=s):("function"==typeof o.componentDidMount&&(e.flags|=4194308),r=!1)}else{o=e.stateNode,ra(t,e),s=e.memoizedProps,c=e.type===e.elementType?s:Wi(e.type,s),o.props=c,h=e.pendingProps,f=o.context,"object"==typeof(u=n.contextType)&&null!==u?u=Ji(u):u=Pi(e,u=Di(n)?Ei:Ti.current);var d=n.getDerivedStateFromProps;(l="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==h||f!==u)&&ga(e,o,r,u),ea=!1,f=e.memoizedState,o.state=f,ua(e,r,o,i);var p=e.memoizedState;s!==h||f!==p||Ai.current||ea?("function"==typeof d&&(ha(e,n,d,r),p=e.memoizedState),(c=ea||da(e,n,c,r,f,p,u)||!1)?(l||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,u),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,u)),"function"==typeof o.componentDidUpdate&&(e.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(e.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),e.memoizedProps=r,e.memoizedState=p),o.props=r,o.state=p,o.context=u,r=c):("function"!=typeof o.componentDidUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===t.memoizedProps&&f===t.memoizedState||(e.flags|=1024),r=!1)}return Es(t,e,n,r,a,i)}function Es(t,e,n,r,i,a){Cs(t,e);var o=0!=(128&e.flags);if(!r&&!o)return i&&ji(e,n,!1),Ws(t,e,a);r=e.stateNode,ws.current=e;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return e.flags|=1,null!==t&&o?(e.child=Ua(e,t.child,null,a),e.child=Ua(e,null,s,a)):_s(t,e,s,a),e.memoizedState=r.state,i&&ji(e,n,!0),e.child}function Ps(t){var e=t.stateNode;e.pendingContext?Li(0,e.pendingContext,e.pendingContext!==e.context):e.context&&Li(0,e.context,!1),Ja(t,e.containerInfo)}function Ds(t,e,n,r,i){return za(),$a(i),e.flags|=256,_s(t,e,n,r),e.child}var Os={dehydrated:null,treeContext:null,retryLane:0};function Ls(t){return{baseLanes:t,cachePool:null,transitions:null}}function Rs(t,e){return{baseLanes:t.baseLanes|e,cachePool:null,transitions:t.transitions}}function Ns(t,e,n){var r,i=e.pendingProps,o=ro.current,s=!1,u=0!=(128&e.flags);if((r=u)||(r=(null===t||null!==t.memoizedState)&&0!=(2&o)),r?(s=!0,e.flags&=-129):null!==t&&null===t.memoizedState||(o|=1),Mi(ro,1&o),null===t)return ja(e),null!==(t=e.memoizedState)&&null!==(t=t.dehydrated)?(0==(1&e.mode)?e.lanes=1:"$!"===t.data?e.lanes=8:e.lanes=1073741824,null):(o=i.children,t=i.fallback,s?(i=e.mode,s=e.child,o={mode:"hidden",children:o},0==(1&i)&&null!==s?(s.childLanes=0,s.pendingProps=o):s=Rc(o,i,0,null),t=Lc(t,i,n,null),s.return=e,t.return=e,s.sibling=t,e.child=s,e.child.memoizedState=Ls(n),e.memoizedState=Os,t):js(e,o));if(null!==(o=t.memoizedState)){if(null!==(r=o.dehydrated)){if(u)return 256&e.flags?(e.flags&=-257,zs(t,e,n,Error(a(422)))):null!==e.memoizedState?(e.child=t.child,e.flags|=128,null):(s=i.fallback,o=e.mode,i=Rc({mode:"visible",children:i.children},o,0,null),(s=Lc(s,o,n,null)).flags|=2,i.return=e,s.return=e,i.sibling=s,e.child=i,0!=(1&e.mode)&&Ua(e,t.child,null,n),e.child.memoizedState=Ls(n),e.memoizedState=Os,s);if(0==(1&e.mode))e=zs(t,e,n,null);else if("$!"===r.data)e=zs(t,e,n,Error(a(419)));else if(i=0!=(n&t.childLanes),xs||i){if(null!==(i=Mu)){switch(n&-n){case 4:s=2;break;case 16:s=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:s=32;break;case 536870912:s=268435456;break;default:s=0}0!==(i=0!=(s&(i.suspendedLanes|n))?0:s)&&i!==o.retryLane&&(o.retryLane=i,Ju(t,i,-1))}pc(),e=zs(t,e,n,Error(a(421)))}else"$?"===r.data?(e.flags|=128,e.child=t.child,e=Mc.bind(null,t),r._reactRetry=e,e=null):(n=o.treeContext,Pa=ci(r.nextSibling),Ea=e,Da=!0,Oa=null,null!==n&&(xa[_a++]=ka,xa[_a++]=Ia,xa[_a++]=Sa,ka=n.id,Ia=n.overflow,Sa=e),(e=js(e,e.pendingProps.children)).flags|=4096);return e}return s?(i=Bs(t,e,i.children,i.fallback,n),s=e.child,o=t.child.memoizedState,s.memoizedState=null===o?Ls(n):Rs(o,n),s.childLanes=t.childLanes&~n,e.memoizedState=Os,i):(n=Fs(t,e,i.children,n),e.memoizedState=null,n)}return s?(i=Bs(t,e,i.children,i.fallback,n),s=e.child,o=t.child.memoizedState,s.memoizedState=null===o?Ls(n):Rs(o,n),s.childLanes=t.childLanes&~n,e.memoizedState=Os,i):(n=Fs(t,e,i.children,n),e.memoizedState=null,n)}function js(t,e){return(e=Rc({mode:"visible",children:e},t.mode,0,null)).return=t,t.child=e}function Fs(t,e,n,r){var i=t.child;return t=i.sibling,n=Dc(i,{mode:"visible",children:n}),0==(1&e.mode)&&(n.lanes=r),n.return=e,n.sibling=null,null!==t&&(null===(r=e.deletions)?(e.deletions=[t],e.flags|=16):r.push(t)),e.child=n}function Bs(t,e,n,r,i){var a=e.mode,o=(t=t.child).sibling,s={mode:"hidden",children:n};return 0==(1&a)&&e.child!==t?((n=e.child).childLanes=0,n.pendingProps=s,e.deletions=null):(n=Dc(t,s)).subtreeFlags=14680064&t.subtreeFlags,null!==o?r=Dc(o,r):(r=Lc(r,a,i,null)).flags|=2,r.return=e,n.return=e,n.sibling=r,e.child=n,r}function zs(t,e,n,r){return null!==r&&$a(r),Ua(e,t.child,null,n),(t=js(e,e.pendingProps.children)).flags|=2,e.memoizedState=null,t}function $s(t,e,n){t.lanes|=e;var r=t.alternate;null!==r&&(r.lanes|=e),Zi(t.return,e,n)}function Vs(t,e,n,r,i){var a=t.memoizedState;null===a?t.memoizedState={isBackwards:e,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=e,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Hs(t,e,n){var r=e.pendingProps,i=r.revealOrder,a=r.tail;if(_s(t,e,r.children,n),0!=(2&(r=ro.current)))r=1&r|2,e.flags|=128;else{if(null!==t&&0!=(128&t.flags))t:for(t=e.child;null!==t;){if(13===t.tag)null!==t.memoizedState&&$s(t,n,e);else if(19===t.tag)$s(t,n,e);else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break t;for(;null===t.sibling;){if(null===t.return||t.return===e)break t;t=t.return}t.sibling.return=t.return,t=t.sibling}r&=1}if(Mi(ro,r),0==(1&e.mode))e.memoizedState=null;else switch(i){case"forwards":for(n=e.child,i=null;null!==n;)null!==(t=n.alternate)&&null===io(t)&&(i=n),n=n.sibling;null===(n=i)?(i=e.child,e.child=null):(i=n.sibling,n.sibling=null),Vs(e,!1,i,n,a);break;case"backwards":for(n=null,i=e.child,e.child=null;null!==i;){if(null!==(t=i.alternate)&&null===io(t)){e.child=i;break}t=i.sibling,i.sibling=n,n=i,i=t}Vs(e,!0,n,null,a);break;case"together":Vs(e,!1,null,null,void 0);break;default:e.memoizedState=null}return e.child}function Ws(t,e,n){if(null!==t&&(e.dependencies=t.dependencies),Ou|=e.lanes,0==(n&e.childLanes))return null;if(null!==t&&e.child!==t.child)throw Error(a(153));if(null!==e.child){for(n=Dc(t=e.child,t.pendingProps),e.child=n,n.return=e;null!==t.sibling;)t=t.sibling,(n=n.sibling=Dc(t,t.pendingProps)).return=e;n.sibling=null}return e.child}function Gs(t,e){switch(Aa(e),e.tag){case 1:return Di(e.type)&&Oi(),65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 3:return to(),Ii(Ai),Ii(Ti),oo(),0!=(65536&(t=e.flags))&&0==(128&t)?(e.flags=-65537&t|128,e):null;case 5:return no(e),null;case 13:if(Ii(ro),null!==(t=e.memoizedState)&&null!==t.dehydrated){if(null===e.alternate)throw Error(a(340));za()}return 65536&(t=e.flags)?(e.flags=-65537&t|128,e):null;case 19:return Ii(ro),null;case 4:return to(),null;case 10:return Ki(e.type._context),null;case 22:case 23:return lc(),null;default:return null}}var Us=!1,Xs=!1,qs="function"==typeof WeakSet?WeakSet:Set,Ys=null;function Ks(t,e){var n=t.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(t,e,n)}else n.current=null}function Zs(t,e,n){try{n()}catch(n){Sc(t,e,n)}}var Qs=!1;function Js(t,e,n){var r=e.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&t)===t){var a=i.destroy;i.destroy=void 0,void 0!==a&&Zs(e,n,a)}i=i.next}while(i!==r)}}function tu(t,e){if(null!==(e=null!==(e=e.updateQueue)?e.lastEffect:null)){var n=e=e.next;do{if((n.tag&t)===t){var r=n.create;n.destroy=r()}n=n.next}while(n!==e)}}function eu(t){var e=t.ref;if(null!==e){var n=t.stateNode;t.tag,t=n,"function"==typeof e?e(t):e.current=t}}function nu(t){var e=t.alternate;null!==e&&(t.alternate=null,nu(e)),t.child=null,t.deletions=null,t.sibling=null,5===t.tag&&(null!==(e=t.stateNode)&&(delete e[fi],delete e[di],delete e[gi],delete e[bi],delete e[vi])),t.stateNode=null,t.return=null,t.dependencies=null,t.memoizedProps=null,t.memoizedState=null,t.pendingProps=null,t.stateNode=null,t.updateQueue=null}function ru(t){return 5===t.tag||3===t.tag||4===t.tag}function iu(t){t:for(;;){for(;null===t.sibling;){if(null===t.return||ru(t.return))return null;t=t.return}for(t.sibling.return=t.return,t=t.sibling;5!==t.tag&&6!==t.tag&&18!==t.tag;){if(2&t.flags)continue t;if(null===t.child||4===t.tag)continue t;t.child.return=t,t=t.child}if(!(2&t.flags))return t.stateNode}}function au(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?8===n.nodeType?n.parentNode.insertBefore(t,e):n.insertBefore(t,e):(8===n.nodeType?(e=n.parentNode).insertBefore(t,n):(e=n).appendChild(t),null!=(n=n._reactRootContainer)||null!==e.onclick||(e.onclick=Jr));else if(4!==r&&null!==(t=t.child))for(au(t,e,n),t=t.sibling;null!==t;)au(t,e,n),t=t.sibling}function ou(t,e,n){var r=t.tag;if(5===r||6===r)t=t.stateNode,e?n.insertBefore(t,e):n.appendChild(t);else if(4!==r&&null!==(t=t.child))for(ou(t,e,n),t=t.sibling;null!==t;)ou(t,e,n),t=t.sibling}var su=null,uu=!1;function cu(t,e,n){for(n=n.child;null!==n;)lu(t,e,n),n=n.sibling}function lu(t,e,n){if(ae&&"function"==typeof ae.onCommitFiberUnmount)try{ae.onCommitFiberUnmount(ie,n)}catch(t){}switch(n.tag){case 5:Xs||Ks(n,e);case 6:var r=su,i=uu;su=null,cu(t,e,n),uu=i,null!==(su=r)&&(uu?(t=su,n=n.stateNode,8===t.nodeType?t.parentNode.removeChild(n):t.removeChild(n)):su.removeChild(n.stateNode));break;case 18:null!==su&&(uu?(t=su,n=n.stateNode,8===t.nodeType?ui(t.parentNode,n):1===t.nodeType&&ui(t,n),Ve(t)):ui(su,n.stateNode));break;case 4:r=su,i=uu,su=n.stateNode.containerInfo,uu=!0,cu(t,e,n),su=r,uu=i;break;case 0:case 11:case 14:case 15:if(!Xs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(0!=(2&a)||0!=(4&a))&&Zs(n,e,o),i=i.next}while(i!==r)}cu(t,e,n);break;case 1:if(!Xs&&(Ks(n,e),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(t){Sc(n,e,t)}cu(t,e,n);break;case 21:cu(t,e,n);break;case 22:1&n.mode?(Xs=(r=Xs)||null!==n.memoizedState,cu(t,e,n),Xs=r):cu(t,e,n);break;default:cu(t,e,n)}}function hu(t){var e=t.updateQueue;if(null!==e){t.updateQueue=null;var n=t.stateNode;null===n&&(n=t.stateNode=new qs),e.forEach((function(e){var r=Cc.bind(null,t,e);n.has(e)||(n.add(e),e.then(r,r))}))}}function fu(t,e){var n=e.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=t,s=e,u=s;t:for(;null!==u;){switch(u.tag){case 5:su=u.stateNode,uu=!1;break t;case 3:case 4:su=u.stateNode.containerInfo,uu=!0;break t}u=u.return}if(null===su)throw Error(a(160));lu(o,s,i),su=null,uu=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(t){Sc(i,e,t)}}if(12854&e.subtreeFlags)for(e=e.child;null!==e;)du(e,t),e=e.sibling}function du(t,e){var n=t.alternate,r=t.flags;switch(t.tag){case 0:case 11:case 14:case 15:if(fu(e,t),pu(t),4&r){try{Js(3,t,t.return),tu(3,t)}catch(e){Sc(t,t.return,e)}try{Js(5,t,t.return)}catch(e){Sc(t,t.return,e)}}break;case 1:fu(e,t),pu(t),512&r&&null!==n&&Ks(n,n.return);break;case 5:if(fu(e,t),pu(t),512&r&&null!==n&&Ks(n,n.return),32&t.flags){var i=t.stateNode;try{ft(i,"")}catch(e){Sc(t,t.return,e)}}if(4&r&&null!=(i=t.stateNode)){var o=t.memoizedProps,s=null!==n?n.memoizedProps:o,u=t.type,c=t.updateQueue;if(t.updateQueue=null,null!==c)try{"input"===u&&"radio"===o.type&&null!=o.name&&Z(i,o),yt(u,s);var l=yt(u,o);for(s=0;s<c.length;s+=2){var h=c[s],f=c[s+1];"style"===h?bt(i,f):"dangerouslySetInnerHTML"===h?ht(i,f):"children"===h?ft(i,f):y(i,h,f,l)}switch(u){case"input":Q(i,o);break;case"textarea":at(i,o);break;case"select":var d=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?nt(i,!!o.multiple,p,!1):d!==!!o.multiple&&(null!=o.defaultValue?nt(i,!!o.multiple,o.defaultValue,!0):nt(i,!!o.multiple,o.multiple?[]:"",!1))}i[di]=o}catch(e){Sc(t,t.return,e)}}break;case 6:if(fu(e,t),pu(t),4&r){if(null===t.stateNode)throw Error(a(162));l=t.stateNode,h=t.memoizedProps;try{l.nodeValue=h}catch(e){Sc(t,t.return,e)}}break;case 3:if(fu(e,t),pu(t),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ve(e.containerInfo)}catch(e){Sc(t,t.return,e)}break;case 4:default:fu(e,t),pu(t);break;case 13:fu(e,t),pu(t),8192&(l=t.child).flags&&null!==l.memoizedState&&(null===l.alternate||null===l.alternate.memoizedState)&&(Fu=Zt()),4&r&&hu(t);break;case 22:if(l=null!==n&&null!==n.memoizedState,1&t.mode?(Xs=(h=Xs)||l,fu(e,t),Xs=h):fu(e,t),pu(t),8192&r){h=null!==t.memoizedState;t:for(f=null,d=t;;){if(5===d.tag){if(null===f){f=d;try{i=d.stateNode,h?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(u=d.stateNode,s=null!=(c=d.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,u.style.display=gt("display",s))}catch(e){Sc(t,t.return,e)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=h?"":d.memoizedProps}catch(e){Sc(t,t.return,e)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===t)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===t)break t;for(;null===d.sibling;){if(null===d.return||d.return===t)break t;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}if(h&&!l&&0!=(1&t.mode))for(Ys=t,t=t.child;null!==t;){for(l=Ys=t;null!==Ys;){switch(f=(h=Ys).child,h.tag){case 0:case 11:case 14:case 15:Js(4,h,h.return);break;case 1:if(Ks(h,h.return),"function"==typeof(o=h.stateNode).componentWillUnmount){d=h,p=h.return;try{i=d,o.props=i.memoizedProps,o.state=i.memoizedState,o.componentWillUnmount()}catch(t){Sc(d,p,t)}}break;case 5:Ks(h,h.return);break;case 22:if(null!==h.memoizedState){mu(l);continue}}null!==f?(f.return=h,Ys=f):mu(l)}t=t.sibling}}break;case 19:fu(e,t),pu(t),4&r&&hu(t);case 21:}}function pu(t){var e=t.flags;if(2&e){try{t:{for(var n=t.return;null!==n;){if(ru(n)){var r=n;break t}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(ft(i,""),r.flags&=-33),ou(t,iu(t),i);break;case 3:case 4:var o=r.stateNode.containerInfo;au(t,iu(t),o);break;default:throw Error(a(161))}}catch(e){Sc(t,t.return,e)}t.flags&=-3}4096&e&&(t.flags&=-4097)}function gu(t,e,n){Ys=t,bu(t,e,n)}function bu(t,e,n){for(var r=0!=(1&t.mode);null!==Ys;){var i=Ys,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Us;if(!o){var s=i.alternate,u=null!==s&&null!==s.memoizedState||Xs;s=Us;var c=Xs;if(Us=o,(Xs=u)&&!c)for(Ys=i;null!==Ys;)u=(o=Ys).child,22===o.tag&&null!==o.memoizedState?yu(i):null!==u?(u.return=o,Ys=u):yu(i);for(;null!==a;)Ys=a,bu(a,e,n),a=a.sibling;Ys=i,Us=s,Xs=c}vu(t)}else 0!=(8772&i.subtreeFlags)&&null!==a?(a.return=i,Ys=a):vu(t)}}function vu(t){for(;null!==Ys;){var e=Ys;if(0!=(8772&e.flags)){var n=e.alternate;try{if(0!=(8772&e.flags))switch(e.tag){case 0:case 11:case 15:Xs||tu(5,e);break;case 1:var r=e.stateNode;if(4&e.flags&&!Xs)if(null===n)r.componentDidMount();else{var i=e.elementType===e.type?n.memoizedProps:Wi(e.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=e.updateQueue;null!==o&&ca(e,o,r);break;case 3:var s=e.updateQueue;if(null!==s){if(n=null,null!==e.child)switch(e.child.tag){case 5:case 1:n=e.child.stateNode}ca(e,s,n)}break;case 5:var u=e.stateNode;if(null===n&&4&e.flags){n=u;var c=e.memoizedProps;switch(e.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:break;case 13:if(null===e.memoizedState){var l=e.alternate;if(null!==l){var h=l.memoizedState;if(null!==h){var f=h.dehydrated;null!==f&&Ve(f)}}}break;default:throw Error(a(163))}Xs||512&e.flags&&eu(e)}catch(t){Sc(e,e.return,t)}}if(e===t){Ys=null;break}if(null!==(n=e.sibling)){n.return=e.return,Ys=n;break}Ys=e.return}}function mu(t){for(;null!==Ys;){var e=Ys;if(e===t){Ys=null;break}var n=e.sibling;if(null!==n){n.return=e.return,Ys=n;break}Ys=e.return}}function yu(t){for(;null!==Ys;){var e=Ys;try{switch(e.tag){case 0:case 11:case 15:var n=e.return;try{tu(4,e)}catch(t){Sc(e,n,t)}break;case 1:var r=e.stateNode;if("function"==typeof r.componentDidMount){var i=e.return;try{r.componentDidMount()}catch(t){Sc(e,i,t)}}var a=e.return;try{eu(e)}catch(t){Sc(e,a,t)}break;case 5:var o=e.return;try{eu(e)}catch(t){Sc(e,o,t)}}}catch(t){Sc(e,e.return,t)}if(e===t){Ys=null;break}var s=e.sibling;if(null!==s){s.return=e.return,Ys=s;break}Ys=e.return}}var wu,xu=Math.ceil,_u=w.ReactCurrentDispatcher,Su=w.ReactCurrentOwner,ku=w.ReactCurrentBatchConfig,Iu=0,Mu=null,Cu=null,Tu=0,Au=0,Eu=ki(0),Pu=0,Du=null,Ou=0,Lu=0,Ru=0,Nu=null,ju=null,Fu=0,Bu=1/0,zu=null,$u=!1,Vu=null,Hu=null,Wu=!1,Gu=null,Uu=0,Xu=0,qu=null,Yu=-1,Ku=0;function Zu(){return 0!=(6&Iu)?Zt():-1!==Yu?Yu:Yu=Zt()}function Qu(t){return 0==(1&t.mode)?1:0!=(2&Iu)&&0!==Tu?Tu&-Tu:null!==Hi.transition?(0===Ku&&(Ku=ge()),Ku):0!==(t=ye)?t:t=void 0===(t=window.event)?16:Ke(t.type)}function Ju(t,e,n){if(50<Xu)throw Xu=0,qu=null,Error(a(185));var r=tc(t,e);return null===r?null:(ve(r,e,n),0!=(2&Iu)&&r===Mu||(r===Mu&&(0==(2&Iu)&&(Lu|=e),4===Pu&&oc(r,Tu)),nc(r,n),1===e&&0===Iu&&0==(1&t.mode)&&(Bu=Zt()+500,Bi&&Vi())),r)}function tc(t,e){t.lanes|=e;var n=t.alternate;for(null!==n&&(n.lanes|=e),n=t,t=t.return;null!==t;)t.childLanes|=e,null!==(n=t.alternate)&&(n.childLanes|=e),n=t,t=t.return;return 3===n.tag?n.stateNode:null}function ec(t){return(null!==Mu||null!==ta)&&0!=(1&t.mode)&&0==(2&Iu)}function nc(t,e){var n=t.callbackNode;!function(t,e){for(var n=t.suspendedLanes,r=t.pingedLanes,i=t.expirationTimes,a=t.pendingLanes;0<a;){var o=31-oe(a),s=1<<o,u=i[o];-1===u?0!=(s&n)&&0==(s&r)||(i[o]=de(s,e)):u<=e&&(t.expiredLanes|=s),a&=~s}}(t,e);var r=fe(t,t===Mu?Tu:0);if(0===r)null!==n&&qt(n),t.callbackNode=null,t.callbackPriority=0;else if(e=r&-r,t.callbackPriority!==e){if(null!=n&&qt(n),1===e)0===t.tag?function(t){Bi=!0,$i(t)}(sc.bind(null,t)):$i(sc.bind(null,t)),oi((function(){0===Iu&&Vi()})),n=null;else{switch(we(r)){case 1:n=Jt;break;case 4:n=te;break;case 16:default:n=ee;break;case 536870912:n=re}n=Tc(n,rc.bind(null,t))}t.callbackPriority=e,t.callbackNode=n}}function rc(t,e){if(Yu=-1,Ku=0,0!=(6&Iu))throw Error(a(327));var n=t.callbackNode;if(xc()&&t.callbackNode!==n)return null;var r=fe(t,t===Mu?Tu:0);if(0===r)return null;if(0!=(30&r)||0!=(r&t.expiredLanes)||e)e=gc(t,r);else{e=r;var i=Iu;Iu|=2;var o=dc();for(Mu===t&&Tu===e||(zu=null,Bu=Zt()+500,hc(t,e));;)try{vc();break}catch(e){fc(t,e)}Yi(),_u.current=o,Iu=i,null!==Cu?e=0:(Mu=null,Tu=0,e=Pu)}if(0!==e){if(2===e&&(0!==(i=pe(t))&&(r=i,e=ic(t,i))),1===e)throw n=Du,hc(t,0),oc(t,r),nc(t,Zt()),n;if(6===e)oc(t,r);else{if(i=t.current.alternate,0==(30&r)&&!function(t){for(var e=t;;){if(16384&e.flags){var n=e.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!sr(a(),i))return!1}catch(t){return!1}}}if(n=e.child,16384&e.subtreeFlags&&null!==n)n.return=e,e=n;else{if(e===t)break;for(;null===e.sibling;){if(null===e.return||e.return===t)return!0;e=e.return}e.sibling.return=e.return,e=e.sibling}}return!0}(i)&&(2===(e=gc(t,r))&&(0!==(o=pe(t))&&(r=o,e=ic(t,o))),1===e))throw n=Du,hc(t,0),oc(t,r),nc(t,Zt()),n;switch(t.finishedWork=i,t.finishedLanes=r,e){case 0:case 1:throw Error(a(345));case 2:case 5:wc(t,ju,zu);break;case 3:if(oc(t,r),(130023424&r)===r&&10<(e=Fu+500-Zt())){if(0!==fe(t,0))break;if(((i=t.suspendedLanes)&r)!==r){Zu(),t.pingedLanes|=t.suspendedLanes&i;break}t.timeoutHandle=ri(wc.bind(null,t,ju,zu),e);break}wc(t,ju,zu);break;case 4:if(oc(t,r),(4194240&r)===r)break;for(e=t.eventTimes,i=-1;0<r;){var s=31-oe(r);o=1<<s,(s=e[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Zt()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*xu(r/1960))-r)){t.timeoutHandle=ri(wc.bind(null,t,ju,zu),r);break}wc(t,ju,zu);break;default:throw Error(a(329))}}}return nc(t,Zt()),t.callbackNode===n?rc.bind(null,t):null}function ic(t,e){var n=Nu;return t.current.memoizedState.isDehydrated&&(hc(t,e).flags|=256),2!==(t=gc(t,e))&&(e=ju,ju=n,null!==e&&ac(e)),t}function ac(t){null===ju?ju=t:ju.push.apply(ju,t)}function oc(t,e){for(e&=~Ru,e&=~Lu,t.suspendedLanes|=e,t.pingedLanes&=~e,t=t.expirationTimes;0<e;){var n=31-oe(e),r=1<<n;t[n]=-1,e&=~r}}function sc(t){if(0!=(6&Iu))throw Error(a(327));xc();var e=fe(t,0);if(0==(1&e))return nc(t,Zt()),null;var n=gc(t,e);if(0!==t.tag&&2===n){var r=pe(t);0!==r&&(e=r,n=ic(t,r))}if(1===n)throw n=Du,hc(t,0),oc(t,e),nc(t,Zt()),n;if(6===n)throw Error(a(345));return t.finishedWork=t.current.alternate,t.finishedLanes=e,wc(t,ju,zu),nc(t,Zt()),null}function uc(t,e){var n=Iu;Iu|=1;try{return t(e)}finally{0===(Iu=n)&&(Bu=Zt()+500,Bi&&Vi())}}function cc(t){null!==Gu&&0===Gu.tag&&0==(6&Iu)&&xc();var e=Iu;Iu|=1;var n=ku.transition,r=ye;try{if(ku.transition=null,ye=1,t)return t()}finally{ye=r,ku.transition=n,0==(6&(Iu=e))&&Vi()}}function lc(){Au=Eu.current,Ii(Eu)}function hc(t,e){t.finishedWork=null,t.finishedLanes=0;var n=t.timeoutHandle;if(-1!==n&&(t.timeoutHandle=-1,ii(n)),null!==Cu)for(n=Cu.return;null!==n;){var r=n;switch(Aa(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Oi();break;case 3:to(),Ii(Ai),Ii(Ti),oo();break;case 5:no(r);break;case 4:to();break;case 13:case 19:Ii(ro);break;case 10:Ki(r.type._context);break;case 22:case 23:lc()}n=n.return}if(Mu=t,Cu=t=Dc(t.current,null),Tu=Au=e,Pu=0,Du=null,Ru=Lu=Ou=0,ju=Nu=null,null!==ta){for(e=0;e<ta.length;e++)if(null!==(r=(n=ta[e]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}ta=null}return t}function fc(t,e){for(;;){var n=Cu;try{if(Yi(),so.current=ns,po){for(var r=lo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}po=!1}if(co=0,fo=ho=lo=null,go=!1,bo=0,Su.current=null,null===n||null===n.return){Pu=1,Du=e,Cu=null;break}t:{var o=t,s=n.return,u=n,c=e;if(e=Tu,u.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var l=c,h=u,f=h.tag;if(0==(1&h.mode)&&(0===f||11===f||15===f)){var d=h.alternate;d?(h.updateQueue=d.updateQueue,h.memoizedState=d.memoizedState,h.lanes=d.lanes):(h.updateQueue=null,h.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,bs(p,s,u,0,e),1&p.mode&&ps(o,l,e),c=l;var g=(e=p).updateQueue;if(null===g){var b=new Set;b.add(c),e.updateQueue=b}else g.add(c);break t}if(0==(1&e)){ps(o,l,e),pc();break t}c=Error(a(426))}else if(Da&&1&u.mode){var v=gs(s);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),bs(v,s,u,0,e),$a(c);break t}}o=c,4!==Pu&&(Pu=2),null===Nu?Nu=[o]:Nu.push(o),c=os(c,u),u=s;do{switch(u.tag){case 3:u.flags|=65536,e&=-e,u.lanes|=e,sa(u,fs(0,c,e));break t;case 1:o=c;var m=u.type,y=u.stateNode;if(0==(128&u.flags)&&("function"==typeof m.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Hu||!Hu.has(y)))){u.flags|=65536,e&=-e,u.lanes|=e,sa(u,ds(u,o,e));break t}}u=u.return}while(null!==u)}yc(n)}catch(t){e=t,Cu===n&&null!==n&&(Cu=n=n.return);continue}break}}function dc(){var t=_u.current;return _u.current=ns,null===t?ns:t}function pc(){0!==Pu&&3!==Pu&&2!==Pu||(Pu=4),null===Mu||0==(268435455&Ou)&&0==(268435455&Lu)||oc(Mu,Tu)}function gc(t,e){var n=Iu;Iu|=2;var r=dc();for(Mu===t&&Tu===e||(zu=null,hc(t,e));;)try{bc();break}catch(e){fc(t,e)}if(Yi(),Iu=n,_u.current=r,null!==Cu)throw Error(a(261));return Mu=null,Tu=0,Pu}function bc(){for(;null!==Cu;)mc(Cu)}function vc(){for(;null!==Cu&&!Yt();)mc(Cu)}function mc(t){var e=wu(t.alternate,t,Au);t.memoizedProps=t.pendingProps,null===e?yc(t):Cu=e,Su.current=null}function yc(t){var e=t;do{var n=e.alternate;if(t=e.return,0==(32768&e.flags)){if(null!==(n=ys(n,e,Au)))return void(Cu=n)}else{if(null!==(n=Gs(n,e)))return n.flags&=32767,void(Cu=n);if(null===t)return Pu=6,void(Cu=null);t.flags|=32768,t.subtreeFlags=0,t.deletions=null}if(null!==(e=e.sibling))return void(Cu=e);Cu=e=t}while(null!==e);0===Pu&&(Pu=5)}function wc(t,e,n){var r=ye,i=ku.transition;try{ku.transition=null,ye=1,function(t,e,n,r){do{xc()}while(null!==Gu);if(0!=(6&Iu))throw Error(a(327));n=t.finishedWork;var i=t.finishedLanes;if(null===n)return null;if(t.finishedWork=null,t.finishedLanes=0,n===t.current)throw Error(a(177));t.callbackNode=null,t.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(t,e){var n=t.pendingLanes&~e;t.pendingLanes=e,t.suspendedLanes=0,t.pingedLanes=0,t.expiredLanes&=e,t.mutableReadLanes&=e,t.entangledLanes&=e,e=t.entanglements;var r=t.eventTimes;for(t=t.expirationTimes;0<n;){var i=31-oe(n),a=1<<i;e[i]=0,r[i]=-1,t[i]=-1,n&=~a}}(t,o),t===Mu&&(Cu=Mu=null,Tu=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Wu||(Wu=!0,Tc(ee,(function(){return xc(),null}))),o=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||o){o=ku.transition,ku.transition=null;var s=ye;ye=1;var u=Iu;Iu|=4,Su.current=null,function(t,e){if(ti=We,dr(t=fr())){if("selectionStart"in t)var n={start:t.selectionStart,end:t.selectionEnd};else t:{var r=(n=(n=t.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(t){n=null;break t}var s=0,u=-1,c=-1,l=0,h=0,f=t,d=null;e:for(;;){for(var p;f!==n||0!==i&&3!==f.nodeType||(u=s+i),f!==o||0!==r&&3!==f.nodeType||(c=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(p=f.firstChild);)d=f,f=p;for(;;){if(f===t)break e;if(d===n&&++l===i&&(u=s),d===o&&++h===r&&(c=s),null!==(p=f.nextSibling))break;d=(f=d).parentNode}f=p}n=-1===u||-1===c?null:{start:u,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ei={focusedElem:t,selectionRange:n},We=!1,Ys=e;null!==Ys;)if(t=(e=Ys).child,0!=(1028&e.subtreeFlags)&&null!==t)t.return=e,Ys=t;else for(;null!==Ys;){e=Ys;try{var g=e.alternate;if(0!=(1024&e.flags))switch(e.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==g){var b=g.memoizedProps,v=g.memoizedState,m=e.stateNode,y=m.getSnapshotBeforeUpdate(e.elementType===e.type?b:Wi(e.type,b),v);m.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var w=e.stateNode.containerInfo;if(1===w.nodeType)w.textContent="";else if(9===w.nodeType){var x=w.body;null!=x&&(x.textContent="")}break;default:throw Error(a(163))}}catch(t){Sc(e,e.return,t)}if(null!==(t=e.sibling)){t.return=e.return,Ys=t;break}Ys=e.return}g=Qs,Qs=!1}(t,n),du(n,t),pr(ei),We=!!ti,ei=ti=null,t.current=n,gu(n,t,i),Kt(),Iu=u,ye=s,ku.transition=o}else t.current=n;if(Wu&&(Wu=!1,Gu=t,Uu=i),0===(o=t.pendingLanes)&&(Hu=null),function(t){if(ae&&"function"==typeof ae.onCommitFiberRoot)try{ae.onCommitFiberRoot(ie,t,void 0,128==(128&t.current.flags))}catch(t){}}(n.stateNode),nc(t,Zt()),null!==e)for(r=t.onRecoverableError,n=0;n<e.length;n++)r(e[n]);if($u)throw $u=!1,t=Vu,Vu=null,t;0!=(1&Uu)&&0!==t.tag&&xc(),0!=(1&(o=t.pendingLanes))?t===qu?Xu++:(Xu=0,qu=t):Xu=0,Vi()}(t,e,n,r)}finally{ku.transition=i,ye=r}return null}function xc(){if(null!==Gu){var t=we(Uu),e=ku.transition,n=ye;try{if(ku.transition=null,ye=16>t?16:t,null===Gu)var r=!1;else{if(t=Gu,Gu=null,Uu=0,0!=(6&Iu))throw Error(a(331));var i=Iu;for(Iu|=4,Ys=t.current;null!==Ys;){var o=Ys,s=o.child;if(0!=(16&Ys.flags)){var u=o.deletions;if(null!==u){for(var c=0;c<u.length;c++){var l=u[c];for(Ys=l;null!==Ys;){var h=Ys;switch(h.tag){case 0:case 11:case 15:Js(8,h,o)}var f=h.child;if(null!==f)f.return=h,Ys=f;else for(;null!==Ys;){var d=(h=Ys).sibling,p=h.return;if(nu(h),h===l){Ys=null;break}if(null!==d){d.return=p,Ys=d;break}Ys=p}}}var g=o.alternate;if(null!==g){var b=g.child;if(null!==b){g.child=null;do{var v=b.sibling;b.sibling=null,b=v}while(null!==b)}}Ys=o}}if(0!=(2064&o.subtreeFlags)&&null!==s)s.return=o,Ys=s;else t:for(;null!==Ys;){if(0!=(2048&(o=Ys).flags))switch(o.tag){case 0:case 11:case 15:Js(9,o,o.return)}var m=o.sibling;if(null!==m){m.return=o.return,Ys=m;break t}Ys=o.return}}var y=t.current;for(Ys=y;null!==Ys;){var w=(s=Ys).child;if(0!=(2064&s.subtreeFlags)&&null!==w)w.return=s,Ys=w;else t:for(s=y;null!==Ys;){if(0!=(2048&(u=Ys).flags))try{switch(u.tag){case 0:case 11:case 15:tu(9,u)}}catch(t){Sc(u,u.return,t)}if(u===s){Ys=null;break t}var x=u.sibling;if(null!==x){x.return=u.return,Ys=x;break t}Ys=u.return}}if(Iu=i,Vi(),ae&&"function"==typeof ae.onPostCommitFiberRoot)try{ae.onPostCommitFiberRoot(ie,t)}catch(t){}r=!0}return r}finally{ye=n,ku.transition=e}}return!1}function _c(t,e,n){aa(t,e=fs(0,e=os(n,e),1)),e=Zu(),null!==(t=tc(t,1))&&(ve(t,1,e),nc(t,e))}function Sc(t,e,n){if(3===t.tag)_c(t,t,n);else for(;null!==e;){if(3===e.tag){_c(e,t,n);break}if(1===e.tag){var r=e.stateNode;if("function"==typeof e.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Hu||!Hu.has(r))){aa(e,t=ds(e,t=os(n,t),1)),t=Zu(),null!==(e=tc(e,1))&&(ve(e,1,t),nc(e,t));break}}e=e.return}}function kc(t,e,n){var r=t.pingCache;null!==r&&r.delete(e),e=Zu(),t.pingedLanes|=t.suspendedLanes&n,Mu===t&&(Tu&n)===n&&(4===Pu||3===Pu&&(130023424&Tu)===Tu&&500>Zt()-Fu?hc(t,0):Ru|=n),nc(t,e)}function Ic(t,e){0===e&&(0==(1&t.mode)?e=1:(e=le,0==(130023424&(le<<=1))&&(le=4194304)));var n=Zu();null!==(t=tc(t,e))&&(ve(t,e,n),nc(t,n))}function Mc(t){var e=t.memoizedState,n=0;null!==e&&(n=e.retryLane),Ic(t,n)}function Cc(t,e){var n=0;switch(t.tag){case 13:var r=t.stateNode,i=t.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=t.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(e),Ic(t,n)}function Tc(t,e){return Xt(t,e)}function Ac(t,e,n,r){this.tag=t,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=e,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Ec(t,e,n,r){return new Ac(t,e,n,r)}function Pc(t){return!(!(t=t.prototype)||!t.isReactComponent)}function Dc(t,e){var n=t.alternate;return null===n?((n=Ec(t.tag,e,t.key,t.mode)).elementType=t.elementType,n.type=t.type,n.stateNode=t.stateNode,n.alternate=t,t.alternate=n):(n.pendingProps=e,n.type=t.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&t.flags,n.childLanes=t.childLanes,n.lanes=t.lanes,n.child=t.child,n.memoizedProps=t.memoizedProps,n.memoizedState=t.memoizedState,n.updateQueue=t.updateQueue,e=t.dependencies,n.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext},n.sibling=t.sibling,n.index=t.index,n.ref=t.ref,n}function Oc(t,e,n,r,i,o){var s=2;if(r=t,"function"==typeof t)Pc(t)&&(s=1);else if("string"==typeof t)s=5;else t:switch(t){case S:return Lc(n.children,i,o,e);case k:s=8,i|=8;break;case I:return(t=Ec(12,n,e,2|i)).elementType=I,t.lanes=o,t;case A:return(t=Ec(13,n,e,i)).elementType=A,t.lanes=o,t;case E:return(t=Ec(19,n,e,i)).elementType=E,t.lanes=o,t;case O:return Rc(n,i,o,e);default:if("object"==typeof t&&null!==t)switch(t.$$typeof){case M:s=10;break t;case C:s=9;break t;case T:s=11;break t;case P:s=14;break t;case D:s=16,r=null;break t}throw Error(a(130,null==t?t:typeof t,""))}return(e=Ec(s,n,e,i)).elementType=t,e.type=r,e.lanes=o,e}function Lc(t,e,n,r){return(t=Ec(7,t,r,e)).lanes=n,t}function Rc(t,e,n,r){return(t=Ec(22,t,r,e)).elementType=O,t.lanes=n,t.stateNode={},t}function Nc(t,e,n){return(t=Ec(6,t,null,e)).lanes=n,t}function jc(t,e,n){return(e=Ec(4,null!==t.children?t.children:[],t.key,e)).lanes=n,e.stateNode={containerInfo:t.containerInfo,pendingChildren:null,implementation:t.implementation},e}function Fc(t,e,n,r,i){this.tag=e,this.containerInfo=t,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=be(0),this.expirationTimes=be(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=be(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Bc(t,e,n,r,i,a,o,s,u){return t=new Fc(t,e,n,s,u),1===e?(e=1,!0===a&&(e|=8)):e=0,a=Ec(3,null,null,e),t.current=a,a.stateNode=t,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},na(a),t}function zc(t,e,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:_,key:null==r?null:""+r,children:t,containerInfo:e,implementation:n}}function $c(t){if(!t)return Ci;t:{if(Vt(t=t._reactInternals)!==t||1!==t.tag)throw Error(a(170));var e=t;do{switch(e.tag){case 3:e=e.stateNode.context;break t;case 1:if(Di(e.type)){e=e.stateNode.__reactInternalMemoizedMergedChildContext;break t}}e=e.return}while(null!==e);throw Error(a(171))}if(1===t.tag){var n=t.type;if(Di(n))return Ri(t,n,e)}return e}function Vc(t,e,n,r,i,a,o,s,u){return(t=Bc(n,r,!0,t,0,a,0,s,u)).context=$c(null),n=t.current,(a=ia(r=Zu(),i=Qu(n))).callback=null!=e?e:null,aa(n,a),t.current.lanes=i,ve(t,i,r),nc(t,r),t}function Hc(t,e,n,r){var i=e.current,a=Zu(),o=Qu(i);return n=$c(n),null===e.context?e.context=n:e.pendingContext=n,(e=ia(a,o)).payload={element:t},null!==(r=void 0===r?null:r)&&(e.callback=r),aa(i,e),null!==(t=Ju(i,o,a))&&oa(t,i,o),o}function Wc(t){return(t=t.current).child?(t.child.tag,t.child.stateNode):null}function Gc(t,e){if(null!==(t=t.memoizedState)&&null!==t.dehydrated){var n=t.retryLane;t.retryLane=0!==n&&n<e?n:e}}function Uc(t,e){Gc(t,e),(t=t.alternate)&&Gc(t,e)}wu=function(t,e,n){if(null!==t)if(t.memoizedProps!==e.pendingProps||Ai.current)xs=!0;else{if(0==(t.lanes&n)&&0==(128&e.flags))return xs=!1,function(t,e,n){switch(e.tag){case 3:Ps(e),za();break;case 5:eo(e);break;case 1:Di(e.type)&&Ni(e);break;case 4:Ja(e,e.stateNode.containerInfo);break;case 10:var r=e.type._context,i=e.memoizedProps.value;Mi(Gi,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=e.memoizedState))return null!==r.dehydrated?(Mi(ro,1&ro.current),e.flags|=128,null):0!=(n&e.child.childLanes)?Ns(t,e,n):(Mi(ro,1&ro.current),null!==(t=Ws(t,e,n))?t.sibling:null);Mi(ro,1&ro.current);break;case 19:if(r=0!=(n&e.childLanes),0!=(128&t.flags)){if(r)return Hs(t,e,n);e.flags|=128}if(null!==(i=e.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),Mi(ro,ro.current),r)break;return null;case 22:case 23:return e.lanes=0,Ms(t,e,n)}return Ws(t,e,n)}(t,e,n);xs=0!=(131072&t.flags)}else xs=!1,Da&&0!=(1048576&e.flags)&&Ca(e,wa,e.index);switch(e.lanes=0,e.tag){case 2:var r=e.type;null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps;var i=Pi(e,Ti.current);Qi(e,n),i=wo(null,e,r,t,i,n);var o=xo();return e.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(e.tag=1,e.memoizedState=null,e.updateQueue=null,Di(r)?(o=!0,Ni(e)):o=!1,e.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,na(e),i.updater=fa,e.stateNode=i,i._reactInternals=e,ba(e,r,t,n),e=Es(null,e,r,!0,o,n)):(e.tag=0,Da&&o&&Ta(e),_s(null,e,i,n),e=e.child),e;case 16:r=e.elementType;t:{switch(null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),t=e.pendingProps,r=(i=r._init)(r._payload),e.type=r,i=e.tag=function(t){if("function"==typeof t)return Pc(t)?1:0;if(null!=t){if((t=t.$$typeof)===T)return 11;if(t===P)return 14}return 2}(r),t=Wi(r,t),i){case 0:e=Ts(null,e,r,t,n);break t;case 1:e=As(null,e,r,t,n);break t;case 11:e=Ss(null,e,r,t,n);break t;case 14:e=ks(null,e,r,Wi(r.type,t),n);break t}throw Error(a(306,r,""))}return e;case 0:return r=e.type,i=e.pendingProps,Ts(t,e,r,i=e.elementType===r?i:Wi(r,i),n);case 1:return r=e.type,i=e.pendingProps,As(t,e,r,i=e.elementType===r?i:Wi(r,i),n);case 3:t:{if(Ps(e),null===t)throw Error(a(387));r=e.pendingProps,i=(o=e.memoizedState).element,ra(t,e),ua(e,r,null,n);var s=e.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},e.updateQueue.baseState=o,e.memoizedState=o,256&e.flags){e=Ds(t,e,r,n,i=Error(a(423)));break t}if(r!==i){e=Ds(t,e,r,n,i=Error(a(424)));break t}for(Pa=ci(e.stateNode.containerInfo.firstChild),Ea=e,Da=!0,Oa=null,n=Xa(e,null,r,n),e.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(za(),r===i){e=Ws(t,e,n);break t}_s(t,e,r,n)}e=e.child}return e;case 5:return eo(e),null===t&&ja(e),r=e.type,i=e.pendingProps,o=null!==t?t.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==o&&ni(r,o)&&(e.flags|=32),Cs(t,e),_s(t,e,s,n),e.child;case 6:return null===t&&ja(e),null;case 13:return Ns(t,e,n);case 4:return Ja(e,e.stateNode.containerInfo),r=e.pendingProps,null===t?e.child=Ua(e,null,r,n):_s(t,e,r,n),e.child;case 11:return r=e.type,i=e.pendingProps,Ss(t,e,r,i=e.elementType===r?i:Wi(r,i),n);case 7:return _s(t,e,e.pendingProps,n),e.child;case 8:case 12:return _s(t,e,e.pendingProps.children,n),e.child;case 10:t:{if(r=e.type._context,i=e.pendingProps,o=e.memoizedProps,s=i.value,Mi(Gi,r._currentValue),r._currentValue=s,null!==o)if(sr(o.value,s)){if(o.children===i.children&&!Ai.current){e=Ws(t,e,n);break t}}else for(null!==(o=e.child)&&(o.return=e);null!==o;){var u=o.dependencies;if(null!==u){s=o.child;for(var c=u.firstContext;null!==c;){if(c.context===r){if(1===o.tag){(c=ia(-1,n&-n)).tag=2;var l=o.updateQueue;if(null!==l){var h=(l=l.shared).pending;null===h?c.next=c:(c.next=h.next,h.next=c),l.pending=c}}o.lanes|=n,null!==(c=o.alternate)&&(c.lanes|=n),Zi(o.return,n,e),u.lanes|=n;break}c=c.next}}else if(10===o.tag)s=o.type===e.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(u=s.alternate)&&(u.lanes|=n),Zi(s,n,e),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===e){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}_s(t,e,i.children,n),e=e.child}return e;case 9:return i=e.type,r=e.pendingProps.children,Qi(e,n),r=r(i=Ji(i)),e.flags|=1,_s(t,e,r,n),e.child;case 14:return i=Wi(r=e.type,e.pendingProps),ks(t,e,r,i=Wi(r.type,i),n);case 15:return Is(t,e,e.type,e.pendingProps,n);case 17:return r=e.type,i=e.pendingProps,i=e.elementType===r?i:Wi(r,i),null!==t&&(t.alternate=null,e.alternate=null,e.flags|=2),e.tag=1,Di(r)?(t=!0,Ni(e)):t=!1,Qi(e,n),pa(e,r,i),ba(e,r,i,n),Es(null,e,r,!0,t,n);case 19:return Hs(t,e,n);case 22:return Ms(t,e,n)}throw Error(a(156,e.tag))};var Xc="function"==typeof reportError?reportError:function(t){console.error(t)};function qc(t){this._internalRoot=t}function Yc(t){this._internalRoot=t}function Kc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType)}function Zc(t){return!(!t||1!==t.nodeType&&9!==t.nodeType&&11!==t.nodeType&&(8!==t.nodeType||" react-mount-point-unstable "!==t.nodeValue))}function Qc(){}function Jc(t,e,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"==typeof i){var s=i;i=function(){var t=Wc(o);s.call(t)}}Hc(e,o,t,i)}else o=function(t,e,n,r,i){if(i){if("function"==typeof r){var a=r;r=function(){var t=Wc(o);a.call(t)}}var o=Vc(e,r,t,0,null,!1,0,"",Qc);return t._reactRootContainer=o,t[pi]=o.current,Vr(8===t.nodeType?t.parentNode:t),cc(),o}for(;i=t.lastChild;)t.removeChild(i);if("function"==typeof r){var s=r;r=function(){var t=Wc(u);s.call(t)}}var u=Bc(t,0,!1,null,0,!1,0,"",Qc);return t._reactRootContainer=u,t[pi]=u.current,Vr(8===t.nodeType?t.parentNode:t),cc((function(){Hc(e,u,n,r)})),u}(n,e,t,i,r);return Wc(o)}Yc.prototype.render=qc.prototype.render=function(t){var e=this._internalRoot;if(null===e)throw Error(a(409));Hc(t,e,null,null)},Yc.prototype.unmount=qc.prototype.unmount=function(){var t=this._internalRoot;if(null!==t){this._internalRoot=null;var e=t.containerInfo;cc((function(){Hc(null,t,null,null)})),e[pi]=null}},Yc.prototype.unstable_scheduleHydration=function(t){if(t){var e=ke();t={blockedOn:null,target:t,priority:e};for(var n=0;n<Oe.length&&0!==e&&e<Oe[n].priority;n++);Oe.splice(n,0,t),0===n&&je(t)}},xe=function(t){switch(t.tag){case 3:var e=t.stateNode;if(e.current.memoizedState.isDehydrated){var n=he(e.pendingLanes);0!==n&&(me(e,1|n),nc(e,Zt()),0==(6&Iu)&&(Bu=Zt()+500,Vi()))}break;case 13:var r=Zu();cc((function(){return Ju(t,1,r)})),Uc(t,1)}},_e=function(t){13===t.tag&&(Ju(t,134217728,Zu()),Uc(t,134217728))},Se=function(t){if(13===t.tag){var e=Zu(),n=Qu(t);Ju(t,n,e),Uc(t,n)}},ke=function(){return ye},Ie=function(t,e){var n=ye;try{return ye=t,e()}finally{ye=n}},_t=function(t,e,n){switch(e){case"input":if(Q(t,n),e=n.name,"radio"===n.type&&null!=e){for(n=t;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+e)+'][type="radio"]'),e=0;e<n.length;e++){var r=n[e];if(r!==t&&r.form===t.form){var i=xi(r);if(!i)throw Error(a(90));X(r),Q(r,i)}}}break;case"textarea":at(t,n);break;case"select":null!=(e=n.value)&&nt(t,!!n.multiple,e,!1)}},Tt=uc,At=cc;var tl={usingClientEntryPoint:!1,Events:[yi,wi,xi,Mt,Ct,uc]},el={findFiberByHostInstance:mi,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},nl={bundleType:el.bundleType,version:el.version,rendererPackageName:el.rendererPackageName,rendererConfig:el.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(t){return null===(t=Gt(t))?null:t.stateNode},findFiberByHostInstance:el.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.1.0-next-22edb9f77-20220426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var rl=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!rl.isDisabled&&rl.supportsFiber)try{ie=rl.inject(nl),ae=rl}catch(lt){}}e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tl,e.createPortal=function(t,e){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Kc(e))throw Error(a(200));return zc(t,e,null,n)},e.createRoot=function(t,e){if(!Kc(t))throw Error(a(299));var n=!1,r="",i=Xc;return null!=e&&(!0===e.unstable_strictMode&&(n=!0),void 0!==e.identifierPrefix&&(r=e.identifierPrefix),void 0!==e.onRecoverableError&&(i=e.onRecoverableError)),e=Bc(t,1,!1,null,0,n,0,r,i),t[pi]=e.current,Vr(8===t.nodeType?t.parentNode:t),new qc(e)},e.findDOMNode=function(t){if(null==t)return null;if(1===t.nodeType)return t;var e=t._reactInternals;if(void 0===e){if("function"==typeof t.render)throw Error(a(188));throw t=Object.keys(t).join(","),Error(a(268,t))}return t=null===(t=Gt(e))?null:t.stateNode},e.flushSync=function(t){return cc(t)},e.hydrate=function(t,e,n){if(!Zc(e))throw Error(a(200));return Jc(null,t,e,!0,n)},e.hydrateRoot=function(t,e,n){if(!Kc(t))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",s=Xc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),e=Vc(e,null,t,1,null!=n?n:null,i,0,o,s),t[pi]=e.current,Vr(t),r)for(t=0;t<r.length;t++)i=(i=(n=r[t])._getVersion)(n._source),null==e.mutableSourceEagerHydrationData?e.mutableSourceEagerHydrationData=[n,i]:e.mutableSourceEagerHydrationData.push(n,i);return new Yc(e)},e.render=function(t,e,n){if(!Zc(e))throw Error(a(200));return Jc(null,t,e,!1,n)},e.unmountComponentAtNode=function(t){if(!Zc(t))throw Error(a(40));return!!t._reactRootContainer&&(cc((function(){Jc(null,null,t,!1,(function(){t._reactRootContainer=null,t[pi]=null}))})),!0)},e.unstable_batchedUpdates=uc,e.unstable_renderSubtreeIntoContainer=function(t,e,n,r){if(!Zc(n))throw Error(a(200));if(null==t||void 0===t._reactInternals)throw Error(a(38));return Jc(t,e,n,!1,r)},e.version="18.1.0-next-22edb9f77-20220426"},5338:(t,e,n)=>{"use strict";var r=n(961);e.H=r.createRoot,r.hydrateRoot},961:(t,e,n)=>{"use strict";!function t(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(t)}catch(t){console.error(t)}}(),t.exports=n(2551)},115:t=>{var e="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,i="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(t,o){if(t===o)return!0;if(t&&o&&"object"==typeof t&&"object"==typeof o){if(t.constructor!==o.constructor)return!1;var s,u,c,l;if(Array.isArray(t)){if((s=t.length)!=o.length)return!1;for(u=s;0!=u--;)if(!a(t[u],o[u]))return!1;return!0}if(n&&t instanceof Map&&o instanceof Map){if(t.size!==o.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!o.has(u.value[0]))return!1;for(l=t.entries();!(u=l.next()).done;)if(!a(u.value[1],o.get(u.value[0])))return!1;return!0}if(r&&t instanceof Set&&o instanceof Set){if(t.size!==o.size)return!1;for(l=t.entries();!(u=l.next()).done;)if(!o.has(u.value[0]))return!1;return!0}if(i&&ArrayBuffer.isView(t)&&ArrayBuffer.isView(o)){if((s=t.length)!=o.length)return!1;for(u=s;0!=u--;)if(t[u]!==o[u])return!1;return!0}if(t.constructor===RegExp)return t.source===o.source&&t.flags===o.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===o.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===o.toString();if((s=(c=Object.keys(t)).length)!==Object.keys(o).length)return!1;for(u=s;0!=u--;)if(!Object.prototype.hasOwnProperty.call(o,c[u]))return!1;if(e&&t instanceof Element)return!1;for(u=s;0!=u--;)if(("_owner"!==c[u]&&"__v"!==c[u]&&"__o"!==c[u]||!t.$$typeof)&&!a(t[c[u]],o[c[u]]))return!1;return!0}return t!=t&&o!=o}t.exports=function(t,e){try{return a(t,e)}catch(t){if((t.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw t}}},2799:(t,e)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,i=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,o=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,u=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,l=n?Symbol.for("react.async_mode"):60111,h=n?Symbol.for("react.concurrent_mode"):60111,f=n?Symbol.for("react.forward_ref"):60112,d=n?Symbol.for("react.suspense"):60113,p=n?Symbol.for("react.suspense_list"):60120,g=n?Symbol.for("react.memo"):60115,b=n?Symbol.for("react.lazy"):60116,v=n?Symbol.for("react.block"):60121,m=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function x(t){if("object"==typeof t&&null!==t){var e=t.$$typeof;switch(e){case r:switch(t=t.type){case l:case h:case a:case s:case o:case d:return t;default:switch(t=t&&t.$$typeof){case c:case f:case b:case g:case u:return t;default:return e}}case i:return e}}}function _(t){return x(t)===h}e.AsyncMode=l,e.ConcurrentMode=h,e.ContextConsumer=c,e.ContextProvider=u,e.Element=r,e.ForwardRef=f,e.Fragment=a,e.Lazy=b,e.Memo=g,e.Portal=i,e.Profiler=s,e.StrictMode=o,e.Suspense=d,e.isAsyncMode=function(t){return _(t)||x(t)===l},e.isConcurrentMode=_,e.isContextConsumer=function(t){return x(t)===c},e.isContextProvider=function(t){return x(t)===u},e.isElement=function(t){return"object"==typeof t&&null!==t&&t.$$typeof===r},e.isForwardRef=function(t){return x(t)===f},e.isFragment=function(t){return x(t)===a},e.isLazy=function(t){return x(t)===b},e.isMemo=function(t){return x(t)===g},e.isPortal=function(t){return x(t)===i},e.isProfiler=function(t){return x(t)===s},e.isStrictMode=function(t){return x(t)===o},e.isSuspense=function(t){return x(t)===d},e.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===a||t===h||t===s||t===o||t===d||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===b||t.$$typeof===g||t.$$typeof===u||t.$$typeof===c||t.$$typeof===f||t.$$typeof===m||t.$$typeof===y||t.$$typeof===w||t.$$typeof===v)},e.typeOf=x},4363:(t,e,n)=>{"use strict";t.exports=n(2799)},1289:(t,e,n)=>{"use strict";n.d(e,{m:()=>o});var r=n(5566),i=n(3287),a=n(941),o=new(function(t){function e(){var e;return(e=t.call(this)||this).setup=function(t){var e;if(!a.S$&&(null==(e=window)?void 0:e.addEventListener)){var n=function(){return t()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},e}(0,r.A)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)},n.setEventListener=function(t){var e,n=this;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((function(t){"boolean"==typeof t?n.setFocused(t):n.onFocus()}))},n.setFocused=function(t){this.focused=t,t&&this.onFocus()},n.onFocus=function(){this.listeners.forEach((function(t){t()}))},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},e}(i.Q))},4468:(t,e,n)=>{"use strict";n.d(e,{QueryClient:()=>r.E});var r=n(7098),i=n(6449);n.o(i,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return i.QueryClientProvider}}),n.o(i,"useQuery")&&n.d(e,{useQuery:function(){return i.useQuery}})},9690:(t,e,n)=>{"use strict";n.d(e,{B:()=>a,t:()=>i});var r=console;function i(){return r}function a(t){r=t}},3465:(t,e,n)=>{"use strict";n.d(e,{s:()=>u});var r=n(1098),i=n(9690),a=n(428),o=n(6281),s=n(941),u=function(){function t(t){this.options=(0,r.A)({},t.defaultOptions,t.options),this.mutationId=t.mutationId,this.mutationCache=t.mutationCache,this.observers=[],this.state=t.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=t.meta}var e=t.prototype;return e.setState=function(t){this.dispatch({type:"setState",state:t})},e.addObserver=function(t){-1===this.observers.indexOf(t)&&this.observers.push(t)},e.removeObserver=function(t){this.observers=this.observers.filter((function(e){return e!==t}))},e.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.lQ).catch(s.lQ)):Promise.resolve()},e.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},e.execute=function(){var t,e=this,n="loading"===this.state.status,r=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),r=r.then((function(){null==e.mutationCache.config.onMutate||e.mutationCache.config.onMutate(e.state.variables,e)})).then((function(){return null==e.options.onMutate?void 0:e.options.onMutate(e.state.variables)})).then((function(t){t!==e.state.context&&e.dispatch({type:"loading",context:t,variables:e.state.variables})}))),r.then((function(){return e.executeMutation()})).then((function(n){t=n,null==e.mutationCache.config.onSuccess||e.mutationCache.config.onSuccess(t,e.state.variables,e.state.context,e)})).then((function(){return null==e.options.onSuccess?void 0:e.options.onSuccess(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(t,null,e.state.variables,e.state.context)})).then((function(){return e.dispatch({type:"success",data:t}),t})).catch((function(t){return null==e.mutationCache.config.onError||e.mutationCache.config.onError(t,e.state.variables,e.state.context,e),(0,i.t)().error(t),Promise.resolve().then((function(){return null==e.options.onError?void 0:e.options.onError(t,e.state.variables,e.state.context)})).then((function(){return null==e.options.onSettled?void 0:e.options.onSettled(void 0,t,e.state.variables,e.state.context)})).then((function(){throw e.dispatch({type:"error",error:t}),t}))}))},e.executeMutation=function(){var t,e=this;return this.retryer=new o.eJ({fn:function(){return e.options.mutationFn?e.options.mutationFn(e.state.variables):Promise.reject("No mutationFn found")},onFail:function(){e.dispatch({type:"failed"})},onPause:function(){e.dispatch({type:"pause"})},onContinue:function(){e.dispatch({type:"continue"})},retry:null!=(t=this.options.retry)?t:0,retryDelay:this.options.retryDelay}),this.retryer.promise},e.dispatch=function(t){var e=this;this.state=function(t,e){switch(e.type){case"failed":return(0,r.A)({},t,{failureCount:t.failureCount+1});case"pause":return(0,r.A)({},t,{isPaused:!0});case"continue":return(0,r.A)({},t,{isPaused:!1});case"loading":return(0,r.A)({},t,{context:e.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:e.variables});case"success":return(0,r.A)({},t,{data:e.data,error:null,status:"success",isPaused:!1});case"error":return(0,r.A)({},t,{data:void 0,error:e.error,failureCount:t.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,r.A)({},t,e.state);default:return t}}(this.state,t),a.j.batch((function(){e.observers.forEach((function(e){e.onMutationUpdate(t)})),e.mutationCache.notify(e)}))},t}()},428:(t,e,n)=>{"use strict";n.d(e,{j:()=>i});var r=n(941),i=new(function(){function t(){this.queue=[],this.transactions=0,this.notifyFn=function(t){t()},this.batchNotifyFn=function(t){t()}}var e=t.prototype;return e.batch=function(t){var e;this.transactions++;try{e=t()}finally{this.transactions--,this.transactions||this.flush()}return e},e.schedule=function(t){var e=this;this.transactions?this.queue.push(t):(0,r.G6)((function(){e.notifyFn(t)}))},e.batchCalls=function(t){var e=this;return function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];e.schedule((function(){t.apply(void 0,r)}))}},e.flush=function(){var t=this,e=this.queue;this.queue=[],e.length&&(0,r.G6)((function(){t.batchNotifyFn((function(){e.forEach((function(e){t.notifyFn(e)}))}))}))},e.setNotifyFunction=function(t){this.notifyFn=t},e.setBatchNotifyFunction=function(t){this.batchNotifyFn=t},t}())},4622:(t,e,n)=>{"use strict";n.d(e,{t:()=>o});var r=n(5566),i=n(3287),a=n(941),o=new(function(t){function e(){var e;return(e=t.call(this)||this).setup=function(t){var e;if(!a.S$&&(null==(e=window)?void 0:e.addEventListener)){var n=function(){return t()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},e}(0,r.A)(e,t);var n=e.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var t;this.hasListeners()||(null==(t=this.cleanup)||t.call(this),this.cleanup=void 0)},n.setEventListener=function(t){var e,n=this;this.setup=t,null==(e=this.cleanup)||e.call(this),this.cleanup=t((function(t){"boolean"==typeof t?n.setOnline(t):n.onOnline()}))},n.setOnline=function(t){this.online=t,t&&this.onOnline()},n.onOnline=function(){this.listeners.forEach((function(t){t()}))},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},e}(i.Q))},7098:(t,e,n)=>{"use strict";n.d(e,{E:()=>m});var r=n(1098),i=n(941),a=n(5566),o=n(428),s=n(9690),u=n(6281),c=function(){function t(t){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=t.defaultOptions,this.setOptions(t.options),this.observers=[],this.cache=t.cache,this.queryKey=t.queryKey,this.queryHash=t.queryHash,this.initialState=t.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=t.meta,this.scheduleGc()}var e=t.prototype;return e.setOptions=function(t){var e;this.options=(0,r.A)({},this.defaultOptions,t),this.meta=null==t?void 0:t.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(e=this.options.cacheTime)?e:3e5)},e.setDefaultOptions=function(t){this.defaultOptions=t},e.scheduleGc=function(){var t=this;this.clearGcTimeout(),(0,i.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout((function(){t.optionalRemove()}),this.cacheTime))},e.clearGcTimeout=function(){clearTimeout(this.gcTimeout),this.gcTimeout=void 0},e.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},e.setData=function(t,e){var n,r,a=this.state.data,o=(0,i.Zw)(t,a);return(null==(n=(r=this.options).isDataEqual)?void 0:n.call(r,a,o))?o=a:!1!==this.options.structuralSharing&&(o=(0,i.BH)(a,o)),this.dispatch({data:o,type:"success",dataUpdatedAt:null==e?void 0:e.updatedAt}),o},e.setState=function(t,e){this.dispatch({type:"setState",state:t,setStateOptions:e})},e.cancel=function(t){var e,n=this.promise;return null==(e=this.retryer)||e.cancel(t),n?n.then(i.lQ).catch(i.lQ):Promise.resolve()},e.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},e.reset=function(){this.destroy(),this.setState(this.initialState)},e.isActive=function(){return this.observers.some((function(t){return!1!==t.options.enabled}))},e.isFetching=function(){return this.state.isFetching},e.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((function(t){return t.getCurrentResult().isStale}))},e.isStaleByTime=function(t){return void 0===t&&(t=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,i.j3)(this.state.dataUpdatedAt,t)},e.onFocus=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnWindowFocus()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.onOnline=function(){var t,e=this.observers.find((function(t){return t.shouldFetchOnReconnect()}));e&&e.refetch(),null==(t=this.retryer)||t.continue()},e.addObserver=function(t){-1===this.observers.indexOf(t)&&(this.observers.push(t),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:t}))},e.removeObserver=function(t){-1!==this.observers.indexOf(t)&&(this.observers=this.observers.filter((function(e){return e!==t})),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:t}))},e.getObserversCount=function(){return this.observers.length},e.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},e.fetch=function(t,e){var n,r,a,o=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==e?void 0:e.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var c;return null==(c=this.retryer)||c.continueRetry(),this.promise}if(t&&this.setOptions(t),!this.options.queryFn){var l=this.observers.find((function(t){return t.options.queryFn}));l&&this.setOptions(l.options)}var h=(0,i.HN)(this.queryKey),f=(0,i.jY)(),d={queryKey:h,pageParam:void 0,meta:this.meta};Object.defineProperty(d,"signal",{enumerable:!0,get:function(){if(f)return o.abortSignalConsumed=!0,f.signal}});var p,g,b={fetchOptions:e,options:this.options,queryKey:h,state:this.state,fetchFn:function(){return o.options.queryFn?(o.abortSignalConsumed=!1,o.options.queryFn(d)):Promise.reject("Missing queryFn")},meta:this.meta};(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(b));(this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(r=b.fetchOptions)?void 0:r.meta))||this.dispatch({type:"fetch",meta:null==(g=b.fetchOptions)?void 0:g.meta});return this.retryer=new u.eJ({fn:b.fetchFn,abort:null==f||null==(a=f.abort)?void 0:a.bind(f),onSuccess:function(t){o.setData(t),null==o.cache.config.onSuccess||o.cache.config.onSuccess(t,o),0===o.cacheTime&&o.optionalRemove()},onError:function(t){(0,u.wm)(t)&&t.silent||o.dispatch({type:"error",error:t}),(0,u.wm)(t)||(null==o.cache.config.onError||o.cache.config.onError(t,o),(0,s.t)().error(t)),0===o.cacheTime&&o.optionalRemove()},onFail:function(){o.dispatch({type:"failed"})},onPause:function(){o.dispatch({type:"pause"})},onContinue:function(){o.dispatch({type:"continue"})},retry:b.options.retry,retryDelay:b.options.retryDelay}),this.promise=this.retryer.promise,this.promise},e.dispatch=function(t){var e=this;this.state=this.reducer(this.state,t),o.j.batch((function(){e.observers.forEach((function(e){e.onQueryUpdate(t)})),e.cache.notify({query:e,type:"queryUpdated",action:t})}))},e.getDefaultState=function(t){var e="function"==typeof t.initialData?t.initialData():t.initialData,n=void 0!==t.initialData?"function"==typeof t.initialDataUpdatedAt?t.initialDataUpdatedAt():t.initialDataUpdatedAt:0,r=void 0!==e;return{data:e,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:r?"success":"idle"}},e.reducer=function(t,e){var n,i;switch(e.type){case"failed":return(0,r.A)({},t,{fetchFailureCount:t.fetchFailureCount+1});case"pause":return(0,r.A)({},t,{isPaused:!0});case"continue":return(0,r.A)({},t,{isPaused:!1});case"fetch":return(0,r.A)({},t,{fetchFailureCount:0,fetchMeta:null!=(n=e.meta)?n:null,isFetching:!0,isPaused:!1},!t.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,r.A)({},t,{data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(i=e.dataUpdatedAt)?i:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var a=e.error;return(0,u.wm)(a)&&a.revert&&this.revertState?(0,r.A)({},this.revertState):(0,r.A)({},t,{error:a,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,r.A)({},t,{isInvalidated:!0});case"setState":return(0,r.A)({},t,e.state);default:return t}},t}(),l=n(3287),h=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.queries=[],n.queriesMap={},n}(0,a.A)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r,a=e.queryKey,o=null!=(r=e.queryHash)?r:(0,i.F$)(a,e),s=this.get(o);return s||(s=new c({cache:this,queryKey:a,queryHash:o,options:t.defaultQueryOptions(e),state:n,defaultOptions:t.getQueryDefaults(a),meta:e.meta}),this.add(s)),s},n.add=function(t){this.queriesMap[t.queryHash]||(this.queriesMap[t.queryHash]=t,this.queries.push(t),this.notify({type:"queryAdded",query:t}))},n.remove=function(t){var e=this.queriesMap[t.queryHash];e&&(t.destroy(),this.queries=this.queries.filter((function(e){return e!==t})),e===t&&delete this.queriesMap[t.queryHash],this.notify({type:"queryRemoved",query:t}))},n.clear=function(){var t=this;o.j.batch((function(){t.queries.forEach((function(e){t.remove(e)}))}))},n.get=function(t){return this.queriesMap[t]},n.getAll=function(){return this.queries},n.find=function(t,e){var n=(0,i.b_)(t,e)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find((function(t){return(0,i.MK)(n,t)}))},n.findAll=function(t,e){var n=(0,i.b_)(t,e)[0];return Object.keys(n).length>0?this.queries.filter((function(t){return(0,i.MK)(n,t)})):this.queries},n.notify=function(t){var e=this;o.j.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){var t=this;o.j.batch((function(){t.queries.forEach((function(t){t.onFocus()}))}))},n.onOnline=function(){var t=this;o.j.batch((function(){t.queries.forEach((function(t){t.onOnline()}))}))},e}(l.Q),f=n(3465),d=function(t){function e(e){var n;return(n=t.call(this)||this).config=e||{},n.mutations=[],n.mutationId=0,n}(0,a.A)(e,t);var n=e.prototype;return n.build=function(t,e,n){var r=new f.s({mutationCache:this,mutationId:++this.mutationId,options:t.defaultMutationOptions(e),state:n,defaultOptions:e.mutationKey?t.getMutationDefaults(e.mutationKey):void 0,meta:e.meta});return this.add(r),r},n.add=function(t){this.mutations.push(t),this.notify(t)},n.remove=function(t){this.mutations=this.mutations.filter((function(e){return e!==t})),t.cancel(),this.notify(t)},n.clear=function(){var t=this;o.j.batch((function(){t.mutations.forEach((function(e){t.remove(e)}))}))},n.getAll=function(){return this.mutations},n.find=function(t){return void 0===t.exact&&(t.exact=!0),this.mutations.find((function(e){return(0,i.nJ)(t,e)}))},n.findAll=function(t){return this.mutations.filter((function(e){return(0,i.nJ)(t,e)}))},n.notify=function(t){var e=this;o.j.batch((function(){e.listeners.forEach((function(e){e(t)}))}))},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var t=this.mutations.filter((function(t){return t.state.isPaused}));return o.j.batch((function(){return t.reduce((function(t,e){return t.then((function(){return e.continue().catch(i.lQ)}))}),Promise.resolve())}))},e}(l.Q),p=n(1289),g=n(4622);function b(t,e){return null==t.getNextPageParam?void 0:t.getNextPageParam(e[e.length-1],e)}function v(t,e){return null==t.getPreviousPageParam?void 0:t.getPreviousPageParam(e[0],e)}var m=function(){function t(t){void 0===t&&(t={}),this.queryCache=t.queryCache||new h,this.mutationCache=t.mutationCache||new d,this.defaultOptions=t.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var e=t.prototype;return e.mount=function(){var t=this;this.unsubscribeFocus=p.m.subscribe((function(){p.m.isFocused()&&g.t.isOnline()&&(t.mutationCache.onFocus(),t.queryCache.onFocus())})),this.unsubscribeOnline=g.t.subscribe((function(){p.m.isFocused()&&g.t.isOnline()&&(t.mutationCache.onOnline(),t.queryCache.onOnline())}))},e.unmount=function(){var t,e;null==(t=this.unsubscribeFocus)||t.call(this),null==(e=this.unsubscribeOnline)||e.call(this)},e.isFetching=function(t,e){var n=(0,i.b_)(t,e)[0];return n.fetching=!0,this.queryCache.findAll(n).length},e.isMutating=function(t){return this.mutationCache.findAll((0,r.A)({},t,{fetching:!0})).length},e.getQueryData=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state.data},e.getQueriesData=function(t){return this.getQueryCache().findAll(t).map((function(t){return[t.queryKey,t.state.data]}))},e.setQueryData=function(t,e,n){var r=(0,i.vh)(t),a=this.defaultQueryOptions(r);return this.queryCache.build(this,a).setData(e,n)},e.setQueriesData=function(t,e,n){var r=this;return o.j.batch((function(){return r.getQueryCache().findAll(t).map((function(t){var i=t.queryKey;return[i,r.setQueryData(i,e,n)]}))}))},e.getQueryState=function(t,e){var n;return null==(n=this.queryCache.find(t,e))?void 0:n.state},e.removeQueries=function(t,e){var n=(0,i.b_)(t,e)[0],r=this.queryCache;o.j.batch((function(){r.findAll(n).forEach((function(t){r.remove(t)}))}))},e.resetQueries=function(t,e,n){var a=this,s=(0,i.b_)(t,e,n),u=s[0],c=s[1],l=this.queryCache,h=(0,r.A)({},u,{active:!0});return o.j.batch((function(){return l.findAll(u).forEach((function(t){t.reset()})),a.refetchQueries(h,c)}))},e.cancelQueries=function(t,e,n){var r=this,a=(0,i.b_)(t,e,n),s=a[0],u=a[1],c=void 0===u?{}:u;void 0===c.revert&&(c.revert=!0);var l=o.j.batch((function(){return r.queryCache.findAll(s).map((function(t){return t.cancel(c)}))}));return Promise.all(l).then(i.lQ).catch(i.lQ)},e.invalidateQueries=function(t,e,n){var a,s,u,c=this,l=(0,i.b_)(t,e,n),h=l[0],f=l[1],d=(0,r.A)({},h,{active:null==(a=null!=(s=h.refetchActive)?s:h.active)||a,inactive:null!=(u=h.refetchInactive)&&u});return o.j.batch((function(){return c.queryCache.findAll(h).forEach((function(t){t.invalidate()})),c.refetchQueries(d,f)}))},e.refetchQueries=function(t,e,n){var a=this,s=(0,i.b_)(t,e,n),u=s[0],c=s[1],l=o.j.batch((function(){return a.queryCache.findAll(u).map((function(t){return t.fetch(void 0,(0,r.A)({},c,{meta:{refetchPage:null==u?void 0:u.refetchPage}}))}))})),h=Promise.all(l).then(i.lQ);return(null==c?void 0:c.throwOnError)||(h=h.catch(i.lQ)),h},e.fetchQuery=function(t,e,n){var r=(0,i.vh)(t,e,n),a=this.defaultQueryOptions(r);void 0===a.retry&&(a.retry=!1);var o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)},e.prefetchQuery=function(t,e,n){return this.fetchQuery(t,e,n).then(i.lQ).catch(i.lQ)},e.fetchInfiniteQuery=function(t,e,n){var r=(0,i.vh)(t,e,n);return r.behavior={onFetch:function(t){t.fetchFn=function(){var e,n,r,a,o,s,c,l=null==(e=t.fetchOptions)||null==(n=e.meta)?void 0:n.refetchPage,h=null==(r=t.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,f=null==h?void 0:h.pageParam,d="forward"===(null==h?void 0:h.direction),p="backward"===(null==h?void 0:h.direction),g=(null==(o=t.state.data)?void 0:o.pages)||[],m=(null==(s=t.state.data)?void 0:s.pageParams)||[],y=(0,i.jY)(),w=null==y?void 0:y.signal,x=m,_=!1,S=t.options.queryFn||function(){return Promise.reject("Missing queryFn")},k=function(t,e,n,r){return x=r?[e].concat(x):[].concat(x,[e]),r?[n].concat(t):[].concat(t,[n])},I=function(e,n,r,i){if(_)return Promise.reject("Cancelled");if(void 0===r&&!n&&e.length)return Promise.resolve(e);var a={queryKey:t.queryKey,signal:w,pageParam:r,meta:t.meta},o=S(a),s=Promise.resolve(o).then((function(t){return k(e,r,t,i)}));return(0,u.dd)(o)&&(s.cancel=o.cancel),s};if(g.length)if(d){var M=void 0!==f,C=M?f:b(t.options,g);c=I(g,M,C)}else if(p){var T=void 0!==f,A=T?f:v(t.options,g);c=I(g,T,A,!0)}else!function(){x=[];var e=void 0===t.options.getNextPageParam,n=!l||!g[0]||l(g[0],0,g);c=n?I([],e,m[0]):Promise.resolve(k([],m[0],g[0]));for(var r=function(n){c=c.then((function(r){if(!l||!g[n]||l(g[n],n,g)){var i=e?m[n]:b(t.options,r);return I(r,e,i)}return Promise.resolve(k(r,m[n],g[n]))}))},i=1;i<g.length;i++)r(i)}();else c=I([]);var E=c.then((function(t){return{pages:t,pageParams:x}}));return E.cancel=function(){_=!0,null==y||y.abort(),(0,u.dd)(c)&&c.cancel()},E}}},this.fetchQuery(r)},e.prefetchInfiniteQuery=function(t,e,n){return this.fetchInfiniteQuery(t,e,n).then(i.lQ).catch(i.lQ)},e.cancelMutations=function(){var t=this,e=o.j.batch((function(){return t.mutationCache.getAll().map((function(t){return t.cancel()}))}));return Promise.all(e).then(i.lQ).catch(i.lQ)},e.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},e.executeMutation=function(t){return this.mutationCache.build(this,t).execute()},e.getQueryCache=function(){return this.queryCache},e.getMutationCache=function(){return this.mutationCache},e.getDefaultOptions=function(){return this.defaultOptions},e.setDefaultOptions=function(t){this.defaultOptions=t},e.setQueryDefaults=function(t,e){var n=this.queryDefaults.find((function(e){return(0,i.Od)(t)===(0,i.Od)(e.queryKey)}));n?n.defaultOptions=e:this.queryDefaults.push({queryKey:t,defaultOptions:e})},e.getQueryDefaults=function(t){var e;return t?null==(e=this.queryDefaults.find((function(e){return(0,i.Cp)(t,e.queryKey)})))?void 0:e.defaultOptions:void 0},e.setMutationDefaults=function(t,e){var n=this.mutationDefaults.find((function(e){return(0,i.Od)(t)===(0,i.Od)(e.mutationKey)}));n?n.defaultOptions=e:this.mutationDefaults.push({mutationKey:t,defaultOptions:e})},e.getMutationDefaults=function(t){var e;return t?null==(e=this.mutationDefaults.find((function(e){return(0,i.Cp)(t,e.mutationKey)})))?void 0:e.defaultOptions:void 0},e.defaultQueryOptions=function(t){if(null==t?void 0:t._defaulted)return t;var e=(0,r.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==t?void 0:t.queryKey),t,{_defaulted:!0});return!e.queryHash&&e.queryKey&&(e.queryHash=(0,i.F$)(e.queryKey,e)),e},e.defaultQueryObserverOptions=function(t){return this.defaultQueryOptions(t)},e.defaultMutationOptions=function(t){return(null==t?void 0:t._defaulted)?t:(0,r.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==t?void 0:t.mutationKey),t,{_defaulted:!0})},e.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},t}()},6281:(t,e,n)=>{"use strict";n.d(e,{dd:()=>s,eJ:()=>l,wm:()=>c});var r=n(1289),i=n(4622),a=n(941);function o(t){return Math.min(1e3*Math.pow(2,t),3e4)}function s(t){return"function"==typeof(null==t?void 0:t.cancel)}var u=function(t){this.revert=null==t?void 0:t.revert,this.silent=null==t?void 0:t.silent};function c(t){return t instanceof u}var l=function(t){var e,n,c,l,h=this,f=!1;this.abort=t.abort,this.cancel=function(t){return null==e?void 0:e(t)},this.cancelRetry=function(){f=!0},this.continueRetry=function(){f=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise((function(t,e){c=t,l=e}));var d=function(e){h.isResolved||(h.isResolved=!0,null==t.onSuccess||t.onSuccess(e),null==n||n(),c(e))},p=function(e){h.isResolved||(h.isResolved=!0,null==t.onError||t.onError(e),null==n||n(),l(e))};!function c(){if(!h.isResolved){var l;try{l=t.fn()}catch(t){l=Promise.reject(t)}e=function(t){if(!h.isResolved&&(p(new u(t)),null==h.abort||h.abort(),s(l)))try{l.cancel()}catch(t){}},h.isTransportCancelable=s(l),Promise.resolve(l).then(d).catch((function(e){var s,u;if(!h.isResolved){var l=null!=(s=t.retry)?s:3,d=null!=(u=t.retryDelay)?u:o,g="function"==typeof d?d(h.failureCount,e):d,b=!0===l||"number"==typeof l&&h.failureCount<l||"function"==typeof l&&l(h.failureCount,e);!f&&b?(h.failureCount++,null==t.onFail||t.onFail(h.failureCount,e),(0,a.yy)(g).then((function(){if(!r.m.isFocused()||!i.t.isOnline())return new Promise((function(e){n=e,h.isPaused=!0,null==t.onPause||t.onPause()})).then((function(){n=void 0,h.isPaused=!1,null==t.onContinue||t.onContinue()}))})).then((function(){f?p(e):c()}))):p(e)}}))}}()}},3287:(t,e,n)=>{"use strict";n.d(e,{Q:()=>r});var r=function(){function t(){this.listeners=[]}var e=t.prototype;return e.subscribe=function(t){var e=this,n=t||function(){};return this.listeners.push(n),this.onSubscribe(),function(){e.listeners=e.listeners.filter((function(t){return t!==n})),e.onUnsubscribe()}},e.hasListeners=function(){return this.listeners.length>0},e.onSubscribe=function(){},e.onUnsubscribe=function(){},t}()},6449:()=>{},941:(t,e,n)=>{"use strict";n.d(e,{BH:()=>m,Cp:()=>b,F$:()=>p,G6:()=>k,HN:()=>u,MK:()=>f,Od:()=>g,S$:()=>i,Zw:()=>o,b_:()=>h,f8:()=>y,gn:()=>s,j3:()=>c,jY:()=>I,lQ:()=>a,nJ:()=>d,vh:()=>l,yy:()=>S});var r=n(1098),i="undefined"==typeof window;function a(){}function o(t,e){return"function"==typeof t?t(e):t}function s(t){return"number"==typeof t&&t>=0&&t!==1/0}function u(t){return Array.isArray(t)?t:[t]}function c(t,e){return Math.max(t+(e||0)-Date.now(),0)}function l(t,e,n){return _(t)?"function"==typeof e?(0,r.A)({},n,{queryKey:t,queryFn:e}):(0,r.A)({},e,{queryKey:t}):t}function h(t,e,n){return _(t)?[(0,r.A)({},e,{queryKey:t}),n]:[t||{},e]}function f(t,e){var n=t.active,r=t.exact,i=t.fetching,a=t.inactive,o=t.predicate,s=t.queryKey,u=t.stale;if(_(s))if(r){if(e.queryHash!==p(s,e.options))return!1}else if(!b(e.queryKey,s))return!1;var c=function(t,e){return!0===t&&!0===e||null==t&&null==e?"all":!1===t&&!1===e?"none":(null!=t?t:!e)?"active":"inactive"}(n,a);if("none"===c)return!1;if("all"!==c){var l=e.isActive();if("active"===c&&!l)return!1;if("inactive"===c&&l)return!1}return("boolean"!=typeof u||e.isStale()===u)&&(("boolean"!=typeof i||e.isFetching()===i)&&!(o&&!o(e)))}function d(t,e){var n=t.exact,r=t.fetching,i=t.predicate,a=t.mutationKey;if(_(a)){if(!e.options.mutationKey)return!1;if(n){if(g(e.options.mutationKey)!==g(a))return!1}else if(!b(e.options.mutationKey,a))return!1}return("boolean"!=typeof r||"loading"===e.state.status===r)&&!(i&&!i(e))}function p(t,e){return((null==e?void 0:e.queryKeyHashFn)||g)(t)}function g(t){var e,n=u(t);return e=n,JSON.stringify(e,(function(t,e){return w(e)?Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t}),{}):e}))}function b(t,e){return v(u(t),u(e))}function v(t,e){return t===e||typeof t==typeof e&&(!(!t||!e||"object"!=typeof t||"object"!=typeof e)&&!Object.keys(e).some((function(n){return!v(t[n],e[n])})))}function m(t,e){if(t===e)return t;var n=Array.isArray(t)&&Array.isArray(e);if(n||w(t)&&w(e)){for(var r=n?t.length:Object.keys(t).length,i=n?e:Object.keys(e),a=i.length,o=n?[]:{},s=0,u=0;u<a;u++){var c=n?u:i[u];o[c]=m(t[c],e[c]),o[c]===t[c]&&s++}return r===a&&s===r?t:o}return e}function y(t,e){if(t&&!e||e&&!t)return!1;for(var n in t)if(t[n]!==e[n])return!1;return!0}function w(t){if(!x(t))return!1;var e=t.constructor;if(void 0===e)return!0;var n=e.prototype;return!!x(n)&&!!n.hasOwnProperty("isPrototypeOf")}function x(t){return"[object Object]"===Object.prototype.toString.call(t)}function _(t){return"string"==typeof t||Array.isArray(t)}function S(t){return new Promise((function(e){setTimeout(e,t)}))}function k(t){Promise.resolve().then(t).catch((function(t){return setTimeout((function(){throw t}))}))}function I(){if("function"==typeof AbortController)return new AbortController}},5942:(t,e,n)=>{"use strict";n.d(e,{QueryClient:()=>r.QueryClient,QueryClientProvider:()=>i.QueryClientProvider,useQuery:()=>i.useQuery});var r=n(4468);n.o(r,"QueryClientProvider")&&n.d(e,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useQuery")&&n.d(e,{useQuery:function(){return r.useQuery}});var i=n(4740)},4360:(t,e,n)=>{"use strict";n.d(e,{H:()=>u,j:()=>s});var r=n(6540),i=r.createContext(void 0),a=r.createContext(!1);function o(t){return t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=i),window.ReactQueryClientContext):i}var s=function(){var t=r.useContext(o(r.useContext(a)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},u=function(t){var e=t.client,n=t.contextSharing,i=void 0!==n&&n,s=t.children;r.useEffect((function(){return e.mount(),function(){e.unmount()}}),[e]);var u=o(i);return r.createElement(a.Provider,{value:i},r.createElement(u.Provider,{value:e},s))}},4740:(t,e,n)=>{"use strict";n.d(e,{QueryClientProvider:()=>s.H,useQuery:()=>k});var r=n(428),i=n(961).unstable_batchedUpdates;r.j.setBatchNotifyFunction(i);var a=n(9690),o=console;(0,a.B)(o);var s=n(4360),u=n(1098),c=n(5566),l=n(941),h=n(1289),f=n(3287),d=n(6281),p=function(t){function e(e,n){var r;return(r=t.call(this)||this).client=e,r.options=n,r.trackedProps=[],r.selectError=null,r.bindMethods(),r.setOptions(n),r}(0,c.A)(e,t);var n=e.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),g(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return b(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return b(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(t,e){var n=this.options,r=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var i=this.hasListeners();i&&v(this.currentQuery,r,this.options,n)&&this.executeFetch(),this.updateResult(e),!i||this.currentQuery===r&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var a=this.computeRefetchInterval();!i||this.currentQuery===r&&this.options.enabled===n.enabled&&a===this.currentRefetchInterval||this.updateRefetchInterval(a)},n.getOptimisticResult=function(t){var e=this.client.defaultQueryObserverOptions(t),n=this.client.getQueryCache().build(this.client,e);return this.createResult(n,e)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(t,e){var n=this,r={},i=function(t){n.trackedProps.includes(t)||n.trackedProps.push(t)};return Object.keys(t).forEach((function(e){Object.defineProperty(r,e,{configurable:!1,enumerable:!0,get:function(){return i(e),t[e]}})})),(e.useErrorBoundary||e.suspense)&&i("error"),r},n.getNextResult=function(t){var e=this;return new Promise((function(n,r){var i=e.subscribe((function(e){e.isFetching||(i(),e.isError&&(null==t?void 0:t.throwOnError)?r(e.error):n(e))}))}))},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(t){return this.fetch((0,u.A)({},t,{meta:{refetchPage:null==t?void 0:t.refetchPage}}))},n.fetchOptimistic=function(t){var e=this,n=this.client.defaultQueryObserverOptions(t),r=this.client.getQueryCache().build(this.client,n);return r.fetch().then((function(){return e.createResult(r,n)}))},n.fetch=function(t){var e=this;return this.executeFetch(t).then((function(){return e.updateResult(),e.currentResult}))},n.executeFetch=function(t){this.updateQuery();var e=this.currentQuery.fetch(this.options,t);return(null==t?void 0:t.throwOnError)||(e=e.catch(l.lQ)),e},n.updateStaleTimeout=function(){var t=this;if(this.clearStaleTimeout(),!l.S$&&!this.currentResult.isStale&&(0,l.gn)(this.options.staleTime)){var e=(0,l.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((function(){t.currentResult.isStale||t.updateResult()}),e)}},n.computeRefetchInterval=function(){var t;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(t=this.options.refetchInterval)&&t},n.updateRefetchInterval=function(t){var e=this;this.clearRefetchInterval(),this.currentRefetchInterval=t,!l.S$&&!1!==this.options.enabled&&(0,l.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((function(){(e.options.refetchIntervalInBackground||h.m.isFocused())&&e.executeFetch()}),this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0},n.clearRefetchInterval=function(){clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0},n.createResult=function(t,e){var n,r=this.currentQuery,i=this.options,o=this.currentResult,s=this.currentResultState,u=this.currentResultOptions,c=t!==r,h=c?t.state:this.currentQueryInitialState,f=c?this.currentResult:this.previousQueryResult,d=t.state,p=d.dataUpdatedAt,b=d.error,y=d.errorUpdatedAt,w=d.isFetching,x=d.status,_=!1,S=!1;if(e.optimisticResults){var k=this.hasListeners(),I=!k&&g(t,e),M=k&&v(t,r,e,i);(I||M)&&(w=!0,p||(x="loading"))}if(e.keepPreviousData&&!d.dataUpdateCount&&(null==f?void 0:f.isSuccess)&&"error"!==x)n=f.data,p=f.dataUpdatedAt,x=f.status,_=!0;else if(e.select&&void 0!==d.data)if(o&&d.data===(null==s?void 0:s.data)&&e.select===this.selectFn)n=this.selectResult;else try{this.selectFn=e.select,n=e.select(d.data),!1!==e.structuralSharing&&(n=(0,l.BH)(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(t){(0,a.t)().error(t),this.selectError=t}else n=d.data;if(void 0!==e.placeholderData&&void 0===n&&("loading"===x||"idle"===x)){var C;if((null==o?void 0:o.isPlaceholderData)&&e.placeholderData===(null==u?void 0:u.placeholderData))C=o.data;else if(C="function"==typeof e.placeholderData?e.placeholderData():e.placeholderData,e.select&&void 0!==C)try{C=e.select(C),!1!==e.structuralSharing&&(C=(0,l.BH)(null==o?void 0:o.data,C)),this.selectError=null}catch(t){(0,a.t)().error(t),this.selectError=t}void 0!==C&&(x="success",n=C,S=!0)}return this.selectError&&(b=this.selectError,n=this.selectResult,y=Date.now(),x="error"),{status:x,isLoading:"loading"===x,isSuccess:"success"===x,isError:"error"===x,isIdle:"idle"===x,data:n,dataUpdatedAt:p,error:b,errorUpdatedAt:y,failureCount:d.fetchFailureCount,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>h.dataUpdateCount||d.errorUpdateCount>h.errorUpdateCount,isFetching:w,isRefetching:w&&"loading"!==x,isLoadingError:"error"===x&&0===d.dataUpdatedAt,isPlaceholderData:S,isPreviousData:_,isRefetchError:"error"===x&&0!==d.dataUpdatedAt,isStale:m(t,e),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(t,e){if(!e)return!0;var n=this.options,r=n.notifyOnChangeProps,i=n.notifyOnChangePropsExclusions;if(!r&&!i)return!0;if("tracked"===r&&!this.trackedProps.length)return!0;var a="tracked"===r?this.trackedProps:r;return Object.keys(t).some((function(n){var r=n,o=t[r]!==e[r],s=null==a?void 0:a.some((function(t){return t===n})),u=null==i?void 0:i.some((function(t){return t===n}));return o&&!u&&(!a||s)}))},n.updateResult=function(t){var e=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,l.f8)(this.currentResult,e)){var n={cache:!0};!1!==(null==t?void 0:t.listeners)&&this.shouldNotifyListeners(this.currentResult,e)&&(n.listeners=!0),this.notify((0,u.A)({},n,t))}},n.updateQuery=function(){var t=this.client.getQueryCache().build(this.client,this.options);if(t!==this.currentQuery){var e=this.currentQuery;this.currentQuery=t,this.currentQueryInitialState=t.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==e||e.removeObserver(this),t.addObserver(this))}},n.onQueryUpdate=function(t){var e={};"success"===t.type?e.onSuccess=!0:"error"!==t.type||(0,d.wm)(t.error)||(e.onError=!0),this.updateResult(e),this.hasListeners()&&this.updateTimers()},n.notify=function(t){var e=this;r.j.batch((function(){t.onSuccess?(null==e.options.onSuccess||e.options.onSuccess(e.currentResult.data),null==e.options.onSettled||e.options.onSettled(e.currentResult.data,null)):t.onError&&(null==e.options.onError||e.options.onError(e.currentResult.error),null==e.options.onSettled||e.options.onSettled(void 0,e.currentResult.error)),t.listeners&&e.listeners.forEach((function(t){t(e.currentResult)})),t.cache&&e.client.getQueryCache().notify({query:e.currentQuery,type:"observerResultsUpdated"})}))},e}(f.Q);function g(t,e){return function(t,e){return!(!1===e.enabled||t.state.dataUpdatedAt||"error"===t.state.status&&!1===e.retryOnMount)}(t,e)||t.state.dataUpdatedAt>0&&b(t,e,e.refetchOnMount)}function b(t,e,n){if(!1!==e.enabled){var r="function"==typeof n?n(t):n;return"always"===r||!1!==r&&m(t,e)}return!1}function v(t,e,n,r){return!1!==n.enabled&&(t!==e||!1===r.enabled)&&(!n.suspense||"error"!==t.state.status)&&m(t,n)}function m(t,e){return t.isStaleByTime(e.staleTime)}var y=n(6540);function w(){var t=!1;return{clearReset:function(){t=!1},reset:function(){t=!0},isReset:function(){return t}}}var x=y.createContext(w()),_=n(4439);function S(t,e){var n=y.useRef(!1),i=y.useState(0)[1],a=(0,s.j)(),o=y.useContext(x),u=a.defaultQueryObserverOptions(t);u.optimisticResults=!0,u.onError&&(u.onError=r.j.batchCalls(u.onError)),u.onSuccess&&(u.onSuccess=r.j.batchCalls(u.onSuccess)),u.onSettled&&(u.onSettled=r.j.batchCalls(u.onSettled)),u.suspense&&("number"!=typeof u.staleTime&&(u.staleTime=1e3),0===u.cacheTime&&(u.cacheTime=1)),(u.suspense||u.useErrorBoundary)&&(o.isReset()||(u.retryOnMount=!1));var c=y.useState((function(){return new e(a,u)}))[0],l=c.getOptimisticResult(u);if(y.useEffect((function(){n.current=!0,o.clearReset();var t=c.subscribe(r.j.batchCalls((function(){n.current&&i((function(t){return t+1}))})));return c.updateResult(),function(){n.current=!1,t()}}),[o,c]),y.useEffect((function(){c.setOptions(u,{listeners:!1})}),[u,c]),u.suspense&&l.isLoading)throw c.fetchOptimistic(u).then((function(t){var e=t.data;null==u.onSuccess||u.onSuccess(e),null==u.onSettled||u.onSettled(e,null)})).catch((function(t){o.clearReset(),null==u.onError||u.onError(t),null==u.onSettled||u.onSettled(void 0,t)}));if(l.isError&&!o.isReset()&&!l.isFetching&&(0,_.G)(u.suspense,u.useErrorBoundary,[l.error,c.getCurrentQuery()]))throw l.error;return"tracked"===u.notifyOnChangeProps&&(l=c.trackResult(l,u)),l}function k(t,e,n){return S((0,l.vh)(t,e,n),p)}},4439:(t,e,n)=>{"use strict";function r(t,e,n){return"function"==typeof e?e.apply(void 0,n):"boolean"==typeof e?e:!!t}n.d(e,{G:()=>r})},5287:(t,e)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),u=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),l=Symbol.for("react.suspense"),h=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),d=Symbol.iterator;var p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,b={};function v(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||p}function m(){}function y(t,e,n){this.props=t,this.context=e,this.refs=b,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(t,e){if("object"!=typeof t&&"function"!=typeof t&&null!=t)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,t,e,"setState")},v.prototype.forceUpdate=function(t){this.updater.enqueueForceUpdate(this,t,"forceUpdate")},m.prototype=v.prototype;var w=y.prototype=new m;w.constructor=y,g(w,v.prototype),w.isPureReactComponent=!0;var x=Array.isArray,_=Object.prototype.hasOwnProperty,S={current:null},k={key:!0,ref:!0,__self:!0,__source:!0};function I(t,e,r){var i,a={},o=null,s=null;if(null!=e)for(i in void 0!==e.ref&&(s=e.ref),void 0!==e.key&&(o=""+e.key),e)_.call(e,i)&&!k.hasOwnProperty(i)&&(a[i]=e[i]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var c=Array(u),l=0;l<u;l++)c[l]=arguments[l+2];a.children=c}if(t&&t.defaultProps)for(i in u=t.defaultProps)void 0===a[i]&&(a[i]=u[i]);return{$$typeof:n,type:t,key:o,ref:s,props:a,_owner:S.current}}function M(t){return"object"==typeof t&&null!==t&&t.$$typeof===n}var C=/\/+/g;function T(t,e){return"object"==typeof t&&null!==t&&null!=t.key?function(t){var e={"=":"=0",":":"=2"};return"$"+t.replace(/[=:]/g,(function(t){return e[t]}))}(""+t.key):e.toString(36)}function A(t,e,i,a,o){var s=typeof t;"undefined"!==s&&"boolean"!==s||(t=null);var u=!1;if(null===t)u=!0;else switch(s){case"string":case"number":u=!0;break;case"object":switch(t.$$typeof){case n:case r:u=!0}}if(u)return o=o(u=t),t=""===a?"."+T(u,0):a,x(o)?(i="",null!=t&&(i=t.replace(C,"$&/")+"/"),A(o,e,i,"",(function(t){return t}))):null!=o&&(M(o)&&(o=function(t,e){return{$$typeof:n,type:t.type,key:e,ref:t.ref,props:t.props,_owner:t._owner}}(o,i+(!o.key||u&&u.key===o.key?"":(""+o.key).replace(C,"$&/")+"/")+t)),e.push(o)),1;if(u=0,a=""===a?".":a+":",x(t))for(var c=0;c<t.length;c++){var l=a+T(s=t[c],c);u+=A(s,e,i,l,o)}else if(l=function(t){return null===t||"object"!=typeof t?null:"function"==typeof(t=d&&t[d]||t["@@iterator"])?t:null}(t),"function"==typeof l)for(t=l.call(t),c=0;!(s=t.next()).done;)u+=A(s=s.value,e,i,l=a+T(s,c++),o);else if("object"===s)throw e=String(t),Error("Objects are not valid as a React child (found: "+("[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e)+"). If you meant to render a collection of children, use an array instead.");return u}function E(t,e,n){if(null==t)return t;var r=[],i=0;return A(t,r,"","",(function(t){return e.call(n,t,i++)})),r}function P(t){if(-1===t._status){var e=t._result;(e=e()).then((function(e){0!==t._status&&-1!==t._status||(t._status=1,t._result=e)}),(function(e){0!==t._status&&-1!==t._status||(t._status=2,t._result=e)})),-1===t._status&&(t._status=0,t._result=e)}if(1===t._status)return t._result.default;throw t._result}var D={current:null},O={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:O,ReactCurrentOwner:S};e.Children={map:E,forEach:function(t,e,n){E(t,(function(){e.apply(this,arguments)}),n)},count:function(t){var e=0;return E(t,(function(){e++})),e},toArray:function(t){return E(t,(function(t){return t}))||[]},only:function(t){if(!M(t))throw Error("React.Children.only expected to receive a single React element child.");return t}},e.Component=v,e.Fragment=i,e.Profiler=o,e.PureComponent=y,e.StrictMode=a,e.Suspense=l,e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,e.cloneElement=function(t,e,r){if(null==t)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+t+".");var i=g({},t.props),a=t.key,o=t.ref,s=t._owner;if(null!=e){if(void 0!==e.ref&&(o=e.ref,s=S.current),void 0!==e.key&&(a=""+e.key),t.type&&t.type.defaultProps)var u=t.type.defaultProps;for(c in e)_.call(e,c)&&!k.hasOwnProperty(c)&&(i[c]=void 0===e[c]&&void 0!==u?u[c]:e[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){u=Array(c);for(var l=0;l<c;l++)u[l]=arguments[l+2];i.children=u}return{$$typeof:n,type:t.type,key:a,ref:o,props:i,_owner:s}},e.createContext=function(t){return(t={$$typeof:u,_currentValue:t,_currentValue2:t,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:t},t.Consumer=t},e.createElement=I,e.createFactory=function(t){var e=I.bind(null,t);return e.type=t,e},e.createRef=function(){return{current:null}},e.forwardRef=function(t){return{$$typeof:c,render:t}},e.isValidElement=M,e.lazy=function(t){return{$$typeof:f,_payload:{_status:-1,_result:t},_init:P}},e.memo=function(t,e){return{$$typeof:h,type:t,compare:void 0===e?null:e}},e.startTransition=function(t){var e=O.transition;O.transition={};try{t()}finally{O.transition=e}},e.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},e.useCallback=function(t,e){return D.current.useCallback(t,e)},e.useContext=function(t){return D.current.useContext(t)},e.useDebugValue=function(){},e.useDeferredValue=function(t){return D.current.useDeferredValue(t)},e.useEffect=function(t,e){return D.current.useEffect(t,e)},e.useId=function(){return D.current.useId()},e.useImperativeHandle=function(t,e,n){return D.current.useImperativeHandle(t,e,n)},e.useInsertionEffect=function(t,e){return D.current.useInsertionEffect(t,e)},e.useLayoutEffect=function(t,e){return D.current.useLayoutEffect(t,e)},e.useMemo=function(t,e){return D.current.useMemo(t,e)},e.useReducer=function(t,e,n){return D.current.useReducer(t,e,n)},e.useRef=function(t){return D.current.useRef(t)},e.useState=function(t){return D.current.useState(t)},e.useSyncExternalStore=function(t,e,n){return D.current.useSyncExternalStore(t,e,n)},e.useTransition=function(){return D.current.useTransition()},e.version="18.1.0"},6540:(t,e,n)=>{"use strict";t.exports=n(5287)},7463:(t,e)=>{"use strict";function n(t,e){var n=t.length;t.push(e);t:for(;0<n;){var r=n-1>>>1,i=t[r];if(!(0<a(i,e)))break t;t[r]=e,t[n]=i,n=r}}function r(t){return 0===t.length?null:t[0]}function i(t){if(0===t.length)return null;var e=t[0],n=t.pop();if(n!==e){t[0]=n;t:for(var r=0,i=t.length,o=i>>>1;r<o;){var s=2*(r+1)-1,u=t[s],c=s+1,l=t[c];if(0>a(u,n))c<i&&0>a(l,u)?(t[r]=l,t[c]=n,r=c):(t[r]=u,t[s]=n,r=s);else{if(!(c<i&&0>a(l,n)))break t;t[r]=l,t[c]=n,r=c}}}return e}function a(t,e){var n=t.sortIndex-e.sortIndex;return 0!==n?n:t.id-e.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;e.unstable_now=function(){return o.now()}}else{var s=Date,u=s.now();e.unstable_now=function(){return s.now()-u}}var c=[],l=[],h=1,f=null,d=3,p=!1,g=!1,b=!1,v="function"==typeof setTimeout?setTimeout:null,m="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function w(t){for(var e=r(l);null!==e;){if(null===e.callback)i(l);else{if(!(e.startTime<=t))break;i(l),e.sortIndex=e.expirationTime,n(c,e)}e=r(l)}}function x(t){if(b=!1,w(t),!g)if(null!==r(c))g=!0,O(_);else{var e=r(l);null!==e&&L(x,e.startTime-t)}}function _(t,n){g=!1,b&&(b=!1,m(M),M=-1),p=!0;var a=d;try{for(w(n),f=r(c);null!==f&&(!(f.expirationTime>n)||t&&!A());){var o=f.callback;if("function"==typeof o){f.callback=null,d=f.priorityLevel;var s=o(f.expirationTime<=n);n=e.unstable_now(),"function"==typeof s?f.callback=s:f===r(c)&&i(c),w(n)}else i(c);f=r(c)}if(null!==f)var u=!0;else{var h=r(l);null!==h&&L(x,h.startTime-n),u=!1}return u}finally{f=null,d=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,k=!1,I=null,M=-1,C=5,T=-1;function A(){return!(e.unstable_now()-T<C)}function E(){if(null!==I){var t=e.unstable_now();T=t;var n=!0;try{n=I(!0,t)}finally{n?S():(k=!1,I=null)}}else k=!1}if("function"==typeof y)S=function(){y(E)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,D=P.port2;P.port1.onmessage=E,S=function(){D.postMessage(null)}}else S=function(){v(E,0)};function O(t){I=t,k||(k=!0,S())}function L(t,n){M=v((function(){t(e.unstable_now())}),n)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(t){t.callback=null},e.unstable_continueExecution=function(){g||p||(g=!0,O(_))},e.unstable_forceFrameRate=function(t){0>t||125<t?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):C=0<t?Math.floor(1e3/t):5},e.unstable_getCurrentPriorityLevel=function(){return d},e.unstable_getFirstCallbackNode=function(){return r(c)},e.unstable_next=function(t){switch(d){case 1:case 2:case 3:var e=3;break;default:e=d}var n=d;d=e;try{return t()}finally{d=n}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(t,e){switch(t){case 1:case 2:case 3:case 4:case 5:break;default:t=3}var n=d;d=t;try{return e()}finally{d=n}},e.unstable_scheduleCallback=function(t,i,a){var o=e.unstable_now();switch("object"==typeof a&&null!==a?a="number"==typeof(a=a.delay)&&0<a?o+a:o:a=o,t){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return t={id:h++,callback:i,priorityLevel:t,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(t.sortIndex=a,n(l,t),null===r(c)&&t===r(l)&&(b?(m(M),M=-1):b=!0,L(x,a-o))):(t.sortIndex=s,n(c,t),g||p||(g=!0,O(_))),t},e.unstable_shouldYield=A,e.unstable_wrapCallback=function(t){var e=d;return function(){var n=d;d=e;try{return t.apply(this,arguments)}finally{d=n}}}},9982:(t,e,n)=>{"use strict";t.exports=n(7463)},1723:t=>{t.exports=Worker},1098:(t,e,n)=>{"use strict";function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r.apply(this,arguments)}n.d(e,{A:()=>r})},5566:(t,e,n)=>{"use strict";function r(t,e){return r=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},r(t,e)}function i(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{A:()=>i})}},r={};function a(t){var e=r[t];if(void 0!==e)return e.exports;var i=r[t]={id:t,loaded:!1,exports:{}};return n[t].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return a.d(e,{a:e}),e},e=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,a.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var i=Object.create(null);a.r(i);var o={};t=t||[null,e({}),e([]),e(e)];for(var s=2&r&&n;"object"==typeof s&&!~t.indexOf(s);s=e(s))Object.getOwnPropertyNames(s).forEach((t=>o[t]=()=>n[t]));return o.default=()=>n,a.d(i,o),i},a.d=(t,e)=>{for(var n in e)a.o(e,n)&&!a.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},a.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),a.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),a.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},a.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var s={};return(()=>{"use strict";a.r(s),a.d(s,{default:()=>Pst});var t={};a.r(t),a.d(t,{hasBrowserEnv:()=>cS,hasStandardBrowserEnv:()=>lS,hasStandardBrowserWebWorkerEnv:()=>fS});var e={};a.r(e),a.d(e,{Arc:()=>yz,BezierCurve:()=>bz,BoundingRect:()=>KM,Circle:()=>DB,CompoundPath:()=>xz,Ellipse:()=>RB,Group:()=>nE,Image:()=>XD,IncrementalDisplayable:()=>Rz,Line:()=>hz,LinearGradient:()=>kz,OrientedBoundingRect:()=>Dz,Path:()=>zD,Point:()=>zM,Polygon:()=>iz,Polyline:()=>sz,RadialGradient:()=>Mz,Rect:()=>eO,Ring:()=>tz,Sector:()=>ZB,Text:()=>vO,applyTransform:()=>Jz,clipPointsByRect:()=>r$,clipRectByRect:()=>i$,createIcon:()=>a$,extendPath:()=>$z,extendShape:()=>Bz,getShapeClass:()=>Hz,getTransform:()=>Qz,groupTransition:()=>n$,initProps:()=>_L,isElementRemoved:()=>SL,lineLineIntersect:()=>s$,linePolygonIntersect:()=>o$,makeImage:()=>Gz,makePath:()=>Wz,mergePath:()=>Xz,registerShape:()=>Vz,removeElement:()=>kL,removeElementWithFadeOut:()=>ML,resizePath:()=>qz,setTooltipConfig:()=>c$,subPixelOptimize:()=>Zz,subPixelOptimizeLine:()=>Yz,subPixelOptimizeRect:()=>Kz,transformDirection:()=>t$,traverseElements:()=>h$,updateProps:()=>xL});var n=a(6540),r=a.t(n,2),i=a(5338);var o=function(){function t(t){var e=this;this._insertTag=function(t){var n;n=0===e.tags.length?e.insertionPoint?e.insertionPoint.nextSibling:e.prepend?e.container.firstChild:e.before:e.tags[e.tags.length-1].nextSibling,e.container.insertBefore(t,n),e.tags.push(t)},this.isSpeedy=void 0===t.speedy||t.speedy,this.tags=[],this.ctr=0,this.nonce=t.nonce,this.key=t.key,this.container=t.container,this.prepend=t.prepend,this.insertionPoint=t.insertionPoint,this.before=null}var e=t.prototype;return e.hydrate=function(t){t.forEach(this._insertTag)},e.insert=function(t){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(t){var e=document.createElement("style");return e.setAttribute("data-emotion",t.key),void 0!==t.nonce&&e.setAttribute("nonce",t.nonce),e.appendChild(document.createTextNode("")),e.setAttribute("data-s",""),e}(this));var e=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(t){if(t.sheet)return t.sheet;for(var e=0;e<document.styleSheets.length;e++)if(document.styleSheets[e].ownerNode===t)return document.styleSheets[e]}(e);try{n.insertRule(t,n.cssRules.length)}catch(t){0}}else e.appendChild(document.createTextNode(t));this.ctr++},e.flush=function(){this.tags.forEach((function(t){return t.parentNode&&t.parentNode.removeChild(t)})),this.tags=[],this.ctr=0},t}(),u=Math.abs,c=String.fromCharCode,l=Object.assign;function h(t){return t.trim()}function f(t,e,n){return t.replace(e,n)}function d(t,e){return t.indexOf(e)}function p(t,e){return 0|t.charCodeAt(e)}function g(t,e,n){return t.slice(e,n)}function b(t){return t.length}function v(t){return t.length}function m(t,e){return e.push(t),t}var y=1,w=1,x=0,_=0,S=0,k="";function I(t,e,n,r,i,a,o){return{value:t,root:e,parent:n,type:r,props:i,children:a,line:y,column:w,length:o,return:""}}function M(t,e){return l(I("",null,null,"",null,null,0),t,{length:-t.length},e)}function C(){return S=_>0?p(k,--_):0,w--,10===S&&(w=1,y--),S}function T(){return S=_<x?p(k,_++):0,w++,10===S&&(w=1,y++),S}function A(){return p(k,_)}function E(){return _}function P(t,e){return g(k,t,e)}function D(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function O(t){return y=w=1,x=b(k=t),_=0,[]}function L(t){return k="",t}function R(t){return h(P(_-1,F(91===t?t+2:40===t?t+1:t)))}function N(t){for(;(S=A())&&S<33;)T();return D(t)>2||D(S)>3?"":" "}function j(t,e){for(;--e&&T()&&!(S<48||S>102||S>57&&S<65||S>70&&S<97););return P(t,E()+(e<6&&32==A()&&32==T()))}function F(t){for(;T();)switch(S){case t:return _;case 34:case 39:34!==t&&39!==t&&F(S);break;case 40:41===t&&F(t);break;case 92:T()}return _}function B(t,e){for(;T()&&t+S!==57&&(t+S!==84||47!==A()););return"/*"+P(e,_-1)+"*"+c(47===t?t:T())}function z(t){for(;!D(A());)T();return P(t,_)}var $="-ms-",V="-moz-",H="-webkit-",W="comm",G="rule",U="decl",X="@keyframes";function q(t,e){for(var n="",r=v(t),i=0;i<r;i++)n+=e(t[i],i,t,e)||"";return n}function Y(t,e,n,r){switch(t.type){case"@import":case U:return t.return=t.return||t.value;case W:return"";case X:return t.return=t.value+"{"+q(t.children,r)+"}";case G:t.value=t.props.join(",")}return b(n=q(t.children,r))?t.return=t.value+"{"+n+"}":""}function K(t,e){switch(function(t,e){return(((e<<2^p(t,0))<<2^p(t,1))<<2^p(t,2))<<2^p(t,3)}(t,e)){case 5103:return H+"print-"+t+t;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return H+t+t;case 5349:case 4246:case 4810:case 6968:case 2756:return H+t+V+t+$+t+t;case 6828:case 4268:return H+t+$+t+t;case 6165:return H+t+$+"flex-"+t+t;case 5187:return H+t+f(t,/(\w+).+(:[^]+)/,"-webkit-box-$1$2-ms-flex-$1$2")+t;case 5443:return H+t+$+"flex-item-"+f(t,/flex-|-self/,"")+t;case 4675:return H+t+$+"flex-line-pack"+f(t,/align-content|flex-|-self/,"")+t;case 5548:return H+t+$+f(t,"shrink","negative")+t;case 5292:return H+t+$+f(t,"basis","preferred-size")+t;case 6060:return H+"box-"+f(t,"-grow","")+H+t+$+f(t,"grow","positive")+t;case 4554:return H+f(t,/([^-])(transform)/g,"$1-webkit-$2")+t;case 6187:return f(f(f(t,/(zoom-|grab)/,H+"$1"),/(image-set)/,H+"$1"),t,"")+t;case 5495:case 3959:return f(t,/(image-set\([^]*)/,H+"$1$`$1");case 4968:return f(f(t,/(.+:)(flex-)?(.*)/,"-webkit-box-pack:$3-ms-flex-pack:$3"),/s.+-b[^;]+/,"justify")+H+t+t;case 4095:case 3583:case 4068:case 2532:return f(t,/(.+)-inline(.+)/,H+"$1$2")+t;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(b(t)-1-e>6)switch(p(t,e+1)){case 109:if(45!==p(t,e+4))break;case 102:return f(t,/(.+:)(.+)-([^]+)/,"$1-webkit-$2-$3$1"+V+(108==p(t,e+3)?"$3":"$2-$3"))+t;case 115:return~d(t,"stretch")?K(f(t,"stretch","fill-available"),e)+t:t}break;case 4949:if(115!==p(t,e+1))break;case 6444:switch(p(t,b(t)-3-(~d(t,"!important")&&10))){case 107:return f(t,":",":"+H)+t;case 101:return f(t,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(45===p(t,14)?"inline-":"")+"box$3$1"+H+"$2$3$1"+$+"$2box$3")+t}break;case 5936:switch(p(t,e+11)){case 114:return H+t+$+f(t,/[svh]\w+-[tblr]{2}/,"tb")+t;case 108:return H+t+$+f(t,/[svh]\w+-[tblr]{2}/,"tb-rl")+t;case 45:return H+t+$+f(t,/[svh]\w+-[tblr]{2}/,"lr")+t}return H+t+$+t+t}return t}function Z(t){return L(Q("",null,null,null,[""],t=O(t),0,[0],t))}function Q(t,e,n,r,i,a,o,s,u){for(var l=0,h=0,p=o,g=0,v=0,y=0,w=1,x=1,_=1,S=0,k="",I=i,M=a,P=r,D=k;x;)switch(y=S,S=T()){case 40:if(108!=y&&58==D.charCodeAt(p-1)){-1!=d(D+=f(R(S),"&","&\f"),"&\f")&&(_=-1);break}case 34:case 39:case 91:D+=R(S);break;case 9:case 10:case 13:case 32:D+=N(y);break;case 92:D+=j(E()-1,7);continue;case 47:switch(A()){case 42:case 47:m(tt(B(T(),E()),e,n),u);break;default:D+="/"}break;case 123*w:s[l++]=b(D)*_;case 125*w:case 59:case 0:switch(S){case 0:case 125:x=0;case 59+h:v>0&&b(D)-p&&m(v>32?et(D+";",r,n,p-1):et(f(D," ","")+";",r,n,p-2),u);break;case 59:D+=";";default:if(m(P=J(D,e,n,l,h,i,s,k,I=[],M=[],p),a),123===S)if(0===h)Q(D,e,P,P,I,a,p,s,M);else switch(g){case 100:case 109:case 115:Q(t,P,P,r&&m(J(t,P,P,0,0,i,s,k,i,I=[],p),M),i,M,p,s,r?I:M);break;default:Q(D,P,P,P,[""],M,0,s,M)}}l=h=v=0,w=_=1,k=D="",p=o;break;case 58:p=1+b(D),v=y;default:if(w<1)if(123==S)--w;else if(125==S&&0==w++&&125==C())continue;switch(D+=c(S),S*w){case 38:_=h>0?1:(D+="\f",-1);break;case 44:s[l++]=(b(D)-1)*_,_=1;break;case 64:45===A()&&(D+=R(T())),g=A(),h=p=b(k=D+=z(E())),S++;break;case 45:45===y&&2==b(D)&&(w=0)}}return a}function J(t,e,n,r,i,a,o,s,c,l,d){for(var p=i-1,b=0===i?a:[""],m=v(b),y=0,w=0,x=0;y<r;++y)for(var _=0,S=g(t,p+1,p=u(w=o[y])),k=t;_<m;++_)(k=h(w>0?b[_]+" "+S:f(S,/&\f/g,b[_])))&&(c[x++]=k);return I(t,e,n,0===i?G:s,c,l,d)}function tt(t,e,n){return I(t,e,n,W,c(S),g(t,2,-2),0)}function et(t,e,n,r){return I(t,e,n,U,g(t,0,r),g(t,r+1,-1),r)}var nt=function(t,e,n){for(var r=0,i=0;r=i,i=A(),38===r&&12===i&&(e[n]=1),!D(i);)T();return P(t,_)},rt=function(t,e){return L(function(t,e){var n=-1,r=44;do{switch(D(r)){case 0:38===r&&12===A()&&(e[n]=1),t[n]+=nt(_-1,e,n);break;case 2:t[n]+=R(r);break;case 4:if(44===r){t[++n]=58===A()?"&\f":"",e[n]=t[n].length;break}default:t[n]+=c(r)}}while(r=T());return t}(O(t),e))},it=new WeakMap,at=function(t){if("rule"===t.type&&t.parent&&!(t.length<1)){for(var e=t.value,n=t.parent,r=t.column===n.column&&t.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==t.props.length||58===e.charCodeAt(0)||it.get(n))&&!r){it.set(t,!0);for(var i=[],a=rt(e,i),o=n.props,s=0,u=0;s<a.length;s++)for(var c=0;c<o.length;c++,u++)t.props[u]=i[s]?a[s].replace(/&\f/g,o[c]):o[c]+" "+a[s]}}},ot=function(t){if("decl"===t.type){var e=t.value;108===e.charCodeAt(0)&&98===e.charCodeAt(2)&&(t.return="",t.value="")}},st=[function(t,e,n,r){if(t.length>-1&&!t.return)switch(t.type){case U:t.return=K(t.value,t.length);break;case X:return q([M(t,{value:f(t.value,"@","@"+H)})],r);case G:if(t.length)return function(t,e){return t.map(e).join("")}(t.props,(function(e){switch(function(t,e){return(t=e.exec(t))?t[0]:t}(e,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return q([M(t,{props:[f(e,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return q([M(t,{props:[f(e,/:(plac\w+)/,":-webkit-input-$1")]}),M(t,{props:[f(e,/:(plac\w+)/,":-moz-$1")]}),M(t,{props:[f(e,/:(plac\w+)/,$+"input-$1")]})],r)}return""}))}}];const ut=function(t){var e=t.key;if("css"===e){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(t){-1!==t.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(t),t.setAttribute("data-s",""))}))}var r=t.stylisPlugins||st;var i,a,s={},u=[];i=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+e+' "]'),(function(t){for(var e=t.getAttribute("data-emotion").split(" "),n=1;n<e.length;n++)s[e[n]]=!0;u.push(t)}));var c,l,h,f,d=[Y,(f=function(t){c.insert(t)},function(t){t.root||(t=t.return)&&f(t)})],p=(l=[at,ot].concat(r,d),h=v(l),function(t,e,n,r){for(var i="",a=0;a<h;a++)i+=l[a](t,e,n,r)||"";return i});a=function(t,e,n,r){c=n,function(t){q(Z(t),p)}(t?t+"{"+e.styles+"}":e.styles),r&&(g.inserted[e.name]=!0)};var g={key:e,sheet:new o({key:e,container:i,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(u),g};var ct=Boolean(null==globalThis?void 0:globalThis.document)?n.useLayoutEffect:n.useEffect,lt=(0,n.createContext)({});function ht(){const t=(0,n.useContext)(lt);if(void 0===t)throw new Error("useColorMode must be used within a ColorModeProvider");return t}lt.displayName="ColorModeContext";var ft="chakra-ui-light",dt="chakra-ui-dark";var pt="chakra-ui-color-mode";var gt,bt=(gt=pt,{ssr:!1,type:"localStorage",get(t){if(!(null==globalThis?void 0:globalThis.document))return t;let e;try{e=localStorage.getItem(gt)||t}catch(t){}return e||t},set(t){try{localStorage.setItem(gt,t)}catch(t){}}});function vt(t,e){const n=t.match(new RegExp(`(^| )${e}=([^;]+)`));return null==n?void 0:n[2]}function mt(t,e){return{ssr:!!e,type:"cookie",get:n=>e?vt(e,t):(null==globalThis?void 0:globalThis.document)&&vt(document.cookie,t)||n,set(e){document.cookie=`${t}=${e}; max-age=31536000; path=/`}}}mt(pt);var yt=()=>{};function wt(t,e){return"cookie"===t.type&&t.ssr?t.get(e):e}function xt(t){const{value:e,children:r,options:{useSystemColorMode:i,initialColorMode:a,disableTransitionOnChange:o}={},colorModeManager:s=bt}=t,u="dark"===a?"dark":"light",[c,l]=(0,n.useState)((()=>wt(s,u))),[h,f]=(0,n.useState)((()=>wt(s))),{getSystemTheme:d,setClassName:p,setDataset:g,addListener:b}=(0,n.useMemo)((()=>function(t={}){const{preventTransition:e=!0}=t,n={setDataset:t=>{const r=e?n.preventTransition():void 0;document.documentElement.dataset.theme=t,document.documentElement.style.colorScheme=t,null==r||r()},setClassName(t){document.body.classList.add(t?dt:ft),document.body.classList.remove(t?ft:dt)},query:()=>window.matchMedia("(prefers-color-scheme: dark)"),getSystemTheme:t=>n.query().matches??"dark"===t?"dark":"light",addListener(t){const e=n.query(),r=e=>{t(e.matches?"dark":"light")};return"function"==typeof e.addListener?e.addListener(r):e.addEventListener("change",r),()=>{"function"==typeof e.removeListener?e.removeListener(r):e.removeEventListener("change",r)}},preventTransition(){const t=document.createElement("style");return t.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(t),()=>{window.getComputedStyle(document.body),requestAnimationFrame((()=>{requestAnimationFrame((()=>{document.head.removeChild(t)}))}))}}};return n}({preventTransition:o})),[o]),v="system"!==a||c?c:h,m=(0,n.useCallback)((t=>{const e="system"===t?d():t;l(e),p("dark"===e),g(e),s.set(e)}),[s,d,p,g]);ct((()=>{"system"===a&&f(d())}),[]),(0,n.useEffect)((()=>{const t=s.get();m(t||("system"!==a?u:"system"))}),[s,u,a,m]);const y=(0,n.useCallback)((()=>{m("dark"===v?"light":"dark")}),[v,m]);(0,n.useEffect)((()=>{if(i)return b(m)}),[i,b,m]);const w=(0,n.useMemo)((()=>({colorMode:e??v,toggleColorMode:e?yt:y,setColorMode:e?yt:m,forced:void 0!==e})),[v,y,m,e]);return n.createElement(lt.Provider,{value:w},r)}xt.displayName="ColorModeProvider";function _t(){return _t=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},_t.apply(this,arguments)}const St=function(t){var e=new WeakMap;return function(n){if(e.has(n))return e.get(n);var r=t(n);return e.set(n,r),r}};const kt=function(t){for(var e,n=0,r=0,i=t.length;i>=4;++r,i-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),n=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&t.charCodeAt(r+2))<<16;case 2:n^=(255&t.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&t.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)};const It={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};const Mt=function(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}};var Ct=/[A-Z]|^ms/g,Tt=/_EMO_([^_]+?)_([^]*?)_EMO_/g,At=function(t){return 45===t.charCodeAt(1)},Et=function(t){return null!=t&&"boolean"!=typeof t},Pt=Mt((function(t){return At(t)?t:t.replace(Ct,"-$&").toLowerCase()})),Dt=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(Tt,(function(t,e,n){return Lt={name:e,styles:n,next:Lt},e}))}return 1===It[t]||At(t)||"number"!=typeof e||0===e?e:e+"px"};function Ot(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return Lt={name:n.name,styles:n.styles,next:Lt},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)Lt={name:r.name,styles:r.styles,next:Lt},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Ot(t,e,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o)null!=e&&void 0!==e[o]?r+=a+"{"+e[o]+"}":Et(o)&&(r+=Pt(a)+":"+Dt(a,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=e&&void 0!==e[o[0]]){var s=Ot(t,e,o);switch(a){case"animation":case"animationName":r+=Pt(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<o.length;u++)Et(o[u])&&(r+=Pt(a)+":"+Dt(a,o[u])+";")}return r}(t,e,n);case"function":if(void 0!==t){var i=Lt,a=n(t);return Lt=i,Ot(t,e,a)}}if(null==e)return n;var o=e[n];return void 0!==o?o:n}var Lt,Rt=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var Nt=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,i="";Lt=void 0;var a=t[0];null==a||void 0===a.raw?(r=!1,i+=Ot(n,e,a)):i+=a[0];for(var o=1;o<t.length;o++)i+=Ot(n,e,t[o]),r&&(i+=a[o]);Rt.lastIndex=0;for(var s,u="";null!==(s=Rt.exec(i));)u+="-"+s[1];return{name:kt(i)+u,styles:i,next:Lt}},jt=(0,n.createContext)("undefined"!=typeof HTMLElement?ut({key:"css"}):null);var Ft=jt.Provider,Bt=function(t){return(0,n.forwardRef)((function(e,r){var i=(0,n.useContext)(jt);return t(e,i,r)}))},zt=(0,n.createContext)({});var $t=St((function(t){return St((function(e){return function(t,e){return"function"==typeof e?e(t):_t({},t,e)}(t,e)}))})),Vt=function(t){var e=(0,n.useContext)(zt);return t.theme!==e&&(e=$t(e)(t.theme)),(0,n.createElement)(zt.Provider,{value:e},t.children)};r.useInsertionEffect&&r.useInsertionEffect;var Ht=a(8394),Wt=a.n(Ht);function Gt(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Array.isArray(t)}function Ut(t,...e){return Xt(t)?t(...e):t}var Xt=t=>"function"==typeof t,qt=t=>"string"==typeof t?t.replace(/!(important)?$/,"").trim():t,Yt=(t,e)=>n=>{const r=String(e),i=(t=>/!(important)?$/.test(t))(r),a=qt(r),o=t?`${t}.${a}`:a;let s=Gt(n.__cssMap)&&o in n.__cssMap?n.__cssMap[o].varRef:e;return s=qt(s),i?`${s} !important`:s};function Kt(t){const{scale:e,transform:n,compose:r}=t;return(t,i)=>{const a=Yt(e,t)(i);let o=(null==n?void 0:n(a,i))??a;return r&&(o=r(o,i)),o}}var Zt=(...t)=>e=>t.reduce(((t,e)=>e(t)),e);function Qt(t,e){return n=>{const r={property:n,scale:t};return r.transform=Kt({scale:t,transform:e}),r}}var Jt=({rtl:t,ltr:e})=>n=>"rtl"===n.direction?t:e;var te=["rotate(var(--chakra-rotate, 0))","scaleX(var(--chakra-scale-x, 1))","scaleY(var(--chakra-scale-y, 1))","skewX(var(--chakra-skew-x, 0))","skewY(var(--chakra-skew-y, 0))"];var ee={"--chakra-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-sepia":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-drop-shadow":"var(--chakra-empty,/*!*/ /*!*/)",filter:["var(--chakra-blur)","var(--chakra-brightness)","var(--chakra-contrast)","var(--chakra-grayscale)","var(--chakra-hue-rotate)","var(--chakra-invert)","var(--chakra-saturate)","var(--chakra-sepia)","var(--chakra-drop-shadow)"].join(" ")},ne={backdropFilter:["var(--chakra-backdrop-blur)","var(--chakra-backdrop-brightness)","var(--chakra-backdrop-contrast)","var(--chakra-backdrop-grayscale)","var(--chakra-backdrop-hue-rotate)","var(--chakra-backdrop-invert)","var(--chakra-backdrop-opacity)","var(--chakra-backdrop-saturate)","var(--chakra-backdrop-sepia)"].join(" "),"--chakra-backdrop-blur":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-brightness":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-contrast":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-grayscale":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-hue-rotate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-invert":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-opacity":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-saturate":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-backdrop-sepia":"var(--chakra-empty,/*!*/ /*!*/)"};var re={"row-reverse":{space:"--chakra-space-x-reverse",divide:"--chakra-divide-x-reverse"},"column-reverse":{space:"--chakra-space-y-reverse",divide:"--chakra-divide-y-reverse"}},ie="& > :not(style) ~ :not(style)",ae={[ie]:{marginInlineStart:"calc(var(--chakra-space-x) * calc(1 - var(--chakra-space-x-reverse)))",marginInlineEnd:"calc(var(--chakra-space-x) * var(--chakra-space-x-reverse))"}},oe={[ie]:{marginTop:"calc(var(--chakra-space-y) * calc(1 - var(--chakra-space-y-reverse)))",marginBottom:"calc(var(--chakra-space-y) * var(--chakra-space-y-reverse))"}},se={"to-t":"to top","to-tr":"to top right","to-r":"to right","to-br":"to bottom right","to-b":"to bottom","to-bl":"to bottom left","to-l":"to left","to-tl":"to top left"},ue=new Set(Object.values(se)),ce=new Set(["none","-moz-initial","inherit","initial","revert","unset"]),le=t=>t.trim();var he=t=>"string"==typeof t&&t.includes("(")&&t.includes(")");var fe=t=>e=>`${t}(${e})`,de={filter:t=>"auto"!==t?t:ee,backdropFilter:t=>"auto"!==t?t:ne,ring:t=>function(t){return{"--chakra-ring-offset-shadow":"var(--chakra-ring-inset) 0 0 0 var(--chakra-ring-offset-width) var(--chakra-ring-offset-color)","--chakra-ring-shadow":"var(--chakra-ring-inset) 0 0 0 calc(var(--chakra-ring-width) + var(--chakra-ring-offset-width)) var(--chakra-ring-color)","--chakra-ring-width":t,boxShadow:["var(--chakra-ring-offset-shadow)","var(--chakra-ring-shadow)","var(--chakra-shadow, 0 0 #0000)"].join(", ")}}(de.px(t)),bgClip:t=>"text"===t?{color:"transparent",backgroundClip:"text"}:{backgroundClip:t},transform:t=>"auto"===t?["translateX(var(--chakra-translate-x, 0))","translateY(var(--chakra-translate-y, 0))",...te].join(" "):"auto-gpu"===t?["translate3d(var(--chakra-translate-x, 0), var(--chakra-translate-y, 0), 0)",...te].join(" "):t,vh:t=>"$100vh"===t?"var(--chakra-vh)":t,px(t){if(null==t)return t;const{unitless:e}=(t=>{const e=parseFloat(t.toString()),n=t.toString().replace(String(e),"");return{unitless:!n,value:e,unit:n}})(t);return e||"number"==typeof t?`${t}px`:t},fraction:t=>"number"!=typeof t||t>1?t:100*t+"%",float:(t,e)=>"rtl"===e.direction?{left:"right",right:"left"}[t]:t,degree(t){if(function(t){return/^var\(--.+\)$/.test(t)}(t)||null==t)return t;const e="string"==typeof t&&!t.endsWith("deg");return"number"==typeof t||e?`${t}deg`:t},gradient:(t,e)=>function(t,e){var n;if(null==t||ce.has(t))return t;const{type:r,values:i}=(null==(n=/(?<type>^[a-z-A-Z]+)\((?<values>(.*))\)/g.exec(t))?void 0:n.groups)??{};if(!r||!i)return t;const a=r.includes("-gradient")?r:`${r}-gradient`,[o,...s]=i.split(",").map(le).filter(Boolean);if(0===(null==s?void 0:s.length))return t;const u=o in se?se[o]:o;s.unshift(u);const c=s.map((t=>{if(ue.has(t))return t;const n=t.indexOf(" "),[r,i]=-1!==n?[t.substr(0,n),t.substr(n+1)]:[t],a=he(i)?i:i&&i.split(" "),o=`colors.${r}`,s=o in e.__cssMap?e.__cssMap[o].varRef:r;return a?[s,...Array.isArray(a)?a:[a]].join(" "):s}));return`${a}(${c.join(", ")})`}(t,e??{}),blur:fe("blur"),opacity:fe("opacity"),brightness:fe("brightness"),contrast:fe("contrast"),dropShadow:fe("drop-shadow"),grayscale:fe("grayscale"),hueRotate:fe("hue-rotate"),invert:fe("invert"),saturate:fe("saturate"),sepia:fe("sepia"),bgImage(t){if(null==t)return t;return he(t)||ce.has(t)?t:`url(${t})`},outline(t){const e="0"===String(t)||"none"===String(t);return null!==t&&e?{outline:"2px solid transparent",outlineOffset:"2px"}:{outline:t}},flexDirection(t){const{space:e,divide:n}=re[t]??{},r={flexDirection:t};return e&&(r[e]=1),n&&(r[n]=1),r}},pe={borderWidths:Qt("borderWidths"),borderStyles:Qt("borderStyles"),colors:Qt("colors"),borders:Qt("borders"),radii:Qt("radii",de.px),space:Qt("space",Zt(de.vh,de.px)),spaceT:Qt("space",Zt(de.vh,de.px)),degreeT:t=>({property:t,transform:de.degree}),prop:(t,e,n)=>({property:t,scale:e,...e&&{transform:Kt({scale:e,transform:n})}}),propT:(t,e)=>({property:t,transform:e}),sizes:Qt("sizes",Zt(de.vh,de.px)),sizesT:Qt("sizes",Zt(de.vh,de.fraction)),shadows:Qt("shadows"),logical:function(t){const{property:e,scale:n,transform:r}=t;return{scale:n,property:Jt(e),transform:n?Kt({scale:n,compose:r}):r}},blur:Qt("blur",de.blur)},ge={background:pe.colors("background"),backgroundColor:pe.colors("backgroundColor"),backgroundImage:pe.propT("backgroundImage",de.bgImage),backgroundSize:!0,backgroundPosition:!0,backgroundRepeat:!0,backgroundAttachment:!0,backgroundClip:{transform:de.bgClip},bgSize:pe.prop("backgroundSize"),bgPosition:pe.prop("backgroundPosition"),bg:pe.colors("background"),bgColor:pe.colors("backgroundColor"),bgPos:pe.prop("backgroundPosition"),bgRepeat:pe.prop("backgroundRepeat"),bgAttachment:pe.prop("backgroundAttachment"),bgGradient:pe.propT("backgroundImage",de.gradient),bgClip:{transform:de.bgClip}};Object.assign(ge,{bgImage:ge.backgroundImage,bgImg:ge.backgroundImage});var be={border:pe.borders("border"),borderWidth:pe.borderWidths("borderWidth"),borderStyle:pe.borderStyles("borderStyle"),borderColor:pe.colors("borderColor"),borderRadius:pe.radii("borderRadius"),borderTop:pe.borders("borderTop"),borderBlockStart:pe.borders("borderBlockStart"),borderTopLeftRadius:pe.radii("borderTopLeftRadius"),borderStartStartRadius:pe.logical({scale:"radii",property:{ltr:"borderTopLeftRadius",rtl:"borderTopRightRadius"}}),borderEndStartRadius:pe.logical({scale:"radii",property:{ltr:"borderBottomLeftRadius",rtl:"borderBottomRightRadius"}}),borderTopRightRadius:pe.radii("borderTopRightRadius"),borderStartEndRadius:pe.logical({scale:"radii",property:{ltr:"borderTopRightRadius",rtl:"borderTopLeftRadius"}}),borderEndEndRadius:pe.logical({scale:"radii",property:{ltr:"borderBottomRightRadius",rtl:"borderBottomLeftRadius"}}),borderRight:pe.borders("borderRight"),borderInlineEnd:pe.borders("borderInlineEnd"),borderBottom:pe.borders("borderBottom"),borderBlockEnd:pe.borders("borderBlockEnd"),borderBottomLeftRadius:pe.radii("borderBottomLeftRadius"),borderBottomRightRadius:pe.radii("borderBottomRightRadius"),borderLeft:pe.borders("borderLeft"),borderInlineStart:{property:"borderInlineStart",scale:"borders"},borderInlineStartRadius:pe.logical({scale:"radii",property:{ltr:["borderTopLeftRadius","borderBottomLeftRadius"],rtl:["borderTopRightRadius","borderBottomRightRadius"]}}),borderInlineEndRadius:pe.logical({scale:"radii",property:{ltr:["borderTopRightRadius","borderBottomRightRadius"],rtl:["borderTopLeftRadius","borderBottomLeftRadius"]}}),borderX:pe.borders(["borderLeft","borderRight"]),borderInline:pe.borders("borderInline"),borderY:pe.borders(["borderTop","borderBottom"]),borderBlock:pe.borders("borderBlock"),borderTopWidth:pe.borderWidths("borderTopWidth"),borderBlockStartWidth:pe.borderWidths("borderBlockStartWidth"),borderTopColor:pe.colors("borderTopColor"),borderBlockStartColor:pe.colors("borderBlockStartColor"),borderTopStyle:pe.borderStyles("borderTopStyle"),borderBlockStartStyle:pe.borderStyles("borderBlockStartStyle"),borderBottomWidth:pe.borderWidths("borderBottomWidth"),borderBlockEndWidth:pe.borderWidths("borderBlockEndWidth"),borderBottomColor:pe.colors("borderBottomColor"),borderBlockEndColor:pe.colors("borderBlockEndColor"),borderBottomStyle:pe.borderStyles("borderBottomStyle"),borderBlockEndStyle:pe.borderStyles("borderBlockEndStyle"),borderLeftWidth:pe.borderWidths("borderLeftWidth"),borderInlineStartWidth:pe.borderWidths("borderInlineStartWidth"),borderLeftColor:pe.colors("borderLeftColor"),borderInlineStartColor:pe.colors("borderInlineStartColor"),borderLeftStyle:pe.borderStyles("borderLeftStyle"),borderInlineStartStyle:pe.borderStyles("borderInlineStartStyle"),borderRightWidth:pe.borderWidths("borderRightWidth"),borderInlineEndWidth:pe.borderWidths("borderInlineEndWidth"),borderRightColor:pe.colors("borderRightColor"),borderInlineEndColor:pe.colors("borderInlineEndColor"),borderRightStyle:pe.borderStyles("borderRightStyle"),borderInlineEndStyle:pe.borderStyles("borderInlineEndStyle"),borderTopRadius:pe.radii(["borderTopLeftRadius","borderTopRightRadius"]),borderBottomRadius:pe.radii(["borderBottomLeftRadius","borderBottomRightRadius"]),borderLeftRadius:pe.radii(["borderTopLeftRadius","borderBottomLeftRadius"]),borderRightRadius:pe.radii(["borderTopRightRadius","borderBottomRightRadius"])};Object.assign(be,{rounded:be.borderRadius,roundedTop:be.borderTopRadius,roundedTopLeft:be.borderTopLeftRadius,roundedTopRight:be.borderTopRightRadius,roundedTopStart:be.borderStartStartRadius,roundedTopEnd:be.borderStartEndRadius,roundedBottom:be.borderBottomRadius,roundedBottomLeft:be.borderBottomLeftRadius,roundedBottomRight:be.borderBottomRightRadius,roundedBottomStart:be.borderEndStartRadius,roundedBottomEnd:be.borderEndEndRadius,roundedLeft:be.borderLeftRadius,roundedRight:be.borderRightRadius,roundedStart:be.borderInlineStartRadius,roundedEnd:be.borderInlineEndRadius,borderStart:be.borderInlineStart,borderEnd:be.borderInlineEnd,borderTopStartRadius:be.borderStartStartRadius,borderTopEndRadius:be.borderStartEndRadius,borderBottomStartRadius:be.borderEndStartRadius,borderBottomEndRadius:be.borderEndEndRadius,borderStartRadius:be.borderInlineStartRadius,borderEndRadius:be.borderInlineEndRadius,borderStartWidth:be.borderInlineStartWidth,borderEndWidth:be.borderInlineEndWidth,borderStartColor:be.borderInlineStartColor,borderEndColor:be.borderInlineEndColor,borderStartStyle:be.borderInlineStartStyle,borderEndStyle:be.borderInlineEndStyle});var ve={color:pe.colors("color"),textColor:pe.colors("color"),fill:pe.colors("fill"),stroke:pe.colors("stroke")},me={boxShadow:pe.shadows("boxShadow"),mixBlendMode:!0,blendMode:pe.prop("mixBlendMode"),backgroundBlendMode:!0,bgBlendMode:pe.prop("backgroundBlendMode"),opacity:!0};Object.assign(me,{shadow:me.boxShadow});var ye={filter:{transform:de.filter},blur:pe.blur("--chakra-blur"),brightness:pe.propT("--chakra-brightness",de.brightness),contrast:pe.propT("--chakra-contrast",de.contrast),hueRotate:pe.degreeT("--chakra-hue-rotate"),invert:pe.propT("--chakra-invert",de.invert),saturate:pe.propT("--chakra-saturate",de.saturate),dropShadow:pe.propT("--chakra-drop-shadow",de.dropShadow),backdropFilter:{transform:de.backdropFilter},backdropBlur:pe.blur("--chakra-backdrop-blur"),backdropBrightness:pe.propT("--chakra-backdrop-brightness",de.brightness),backdropContrast:pe.propT("--chakra-backdrop-contrast",de.contrast),backdropHueRotate:pe.degreeT("--chakra-backdrop-hue-rotate"),backdropInvert:pe.propT("--chakra-backdrop-invert",de.invert),backdropSaturate:pe.propT("--chakra-backdrop-saturate",de.saturate)},we={alignItems:!0,alignContent:!0,justifyItems:!0,justifyContent:!0,flexWrap:!0,flexDirection:{transform:de.flexDirection},experimental_spaceX:{static:ae,transform:Kt({scale:"space",transform:t=>null!==t?{"--chakra-space-x":t}:null})},experimental_spaceY:{static:oe,transform:Kt({scale:"space",transform:t=>null!=t?{"--chakra-space-y":t}:null})},flex:!0,flexFlow:!0,flexGrow:!0,flexShrink:!0,flexBasis:pe.sizes("flexBasis"),justifySelf:!0,alignSelf:!0,order:!0,placeItems:!0,placeContent:!0,placeSelf:!0,gap:pe.space("gap"),rowGap:pe.space("rowGap"),columnGap:pe.space("columnGap")};Object.assign(we,{flexDir:we.flexDirection});var xe={gridGap:pe.space("gridGap"),gridColumnGap:pe.space("gridColumnGap"),gridRowGap:pe.space("gridRowGap"),gridColumn:!0,gridRow:!0,gridAutoFlow:!0,gridAutoColumns:!0,gridColumnStart:!0,gridColumnEnd:!0,gridRowStart:!0,gridRowEnd:!0,gridAutoRows:!0,gridTemplate:!0,gridTemplateColumns:!0,gridTemplateRows:!0,gridTemplateAreas:!0,gridArea:!0},_e={appearance:!0,cursor:!0,resize:!0,userSelect:!0,pointerEvents:!0,outline:{transform:de.outline},outlineOffset:!0,outlineColor:pe.colors("outlineColor")},Se={width:pe.sizesT("width"),inlineSize:pe.sizesT("inlineSize"),height:pe.sizes("height"),blockSize:pe.sizes("blockSize"),boxSize:pe.sizes(["width","height"]),minWidth:pe.sizes("minWidth"),minInlineSize:pe.sizes("minInlineSize"),minHeight:pe.sizes("minHeight"),minBlockSize:pe.sizes("minBlockSize"),maxWidth:pe.sizes("maxWidth"),maxInlineSize:pe.sizes("maxInlineSize"),maxHeight:pe.sizes("maxHeight"),maxBlockSize:pe.sizes("maxBlockSize"),overflow:!0,overflowX:!0,overflowY:!0,overscrollBehavior:!0,overscrollBehaviorX:!0,overscrollBehaviorY:!0,display:!0,verticalAlign:!0,boxSizing:!0,boxDecorationBreak:!0,float:pe.propT("float",de.float),objectFit:!0,objectPosition:!0,visibility:!0,isolation:!0};Object.assign(Se,{w:Se.width,h:Se.height,minW:Se.minWidth,maxW:Se.maxWidth,minH:Se.minHeight,maxH:Se.maxHeight,overscroll:Se.overscrollBehavior,overscrollX:Se.overscrollBehaviorX,overscrollY:Se.overscrollBehaviorY});var ke={listStyleType:!0,listStylePosition:!0,listStylePos:pe.prop("listStylePosition"),listStyleImage:!0,listStyleImg:pe.prop("listStyleImage")};var Ie=(t=>{const e=new WeakMap;return(n,r,i,a)=>{if(void 0===n)return t(n,r,i);e.has(n)||e.set(n,new Map);const o=e.get(n);if(o.has(r))return o.get(r);const s=t(n,r,i,a);return o.set(r,s),s}})((function(t,e,n,r){const i="string"==typeof e?e.split("."):[e];for(r=0;r<i.length&&t;r+=1)t=t[i[r]];return void 0===t?n:t})),Me={border:"0px",clip:"rect(0, 0, 0, 0)",width:"1px",height:"1px",margin:"-1px",padding:"0px",overflow:"hidden",whiteSpace:"nowrap",position:"absolute"},Ce={position:"static",width:"auto",height:"auto",clip:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal"},Te=(t,e,n)=>{const r={},i=Ie(t,e,{});for(const t in i){t in n&&null!=n[t]||(r[t]=i[t])}return r},Ae={srOnly:{transform:t=>!0===t?Me:"focusable"===t?Ce:{}},layerStyle:{processResult:!0,transform:(t,e,n)=>Te(e,`layerStyles.${t}`,n)},textStyle:{processResult:!0,transform:(t,e,n)=>Te(e,`textStyles.${t}`,n)},apply:{processResult:!0,transform:(t,e,n)=>Te(e,t,n)}},Ee={position:!0,pos:pe.prop("position"),zIndex:pe.prop("zIndex","zIndices"),inset:pe.spaceT("inset"),insetX:pe.spaceT(["left","right"]),insetInline:pe.spaceT("insetInline"),insetY:pe.spaceT(["top","bottom"]),insetBlock:pe.spaceT("insetBlock"),top:pe.spaceT("top"),insetBlockStart:pe.spaceT("insetBlockStart"),bottom:pe.spaceT("bottom"),insetBlockEnd:pe.spaceT("insetBlockEnd"),left:pe.spaceT("left"),insetInlineStart:pe.logical({scale:"space",property:{ltr:"left",rtl:"right"}}),right:pe.spaceT("right"),insetInlineEnd:pe.logical({scale:"space",property:{ltr:"right",rtl:"left"}})};Object.assign(Ee,{insetStart:Ee.insetInlineStart,insetEnd:Ee.insetInlineEnd});var Pe={ring:{transform:de.ring},ringColor:pe.colors("--chakra-ring-color"),ringOffset:pe.prop("--chakra-ring-offset-width"),ringOffsetColor:pe.colors("--chakra-ring-offset-color"),ringInset:pe.prop("--chakra-ring-inset")},De={margin:pe.spaceT("margin"),marginTop:pe.spaceT("marginTop"),marginBlockStart:pe.spaceT("marginBlockStart"),marginRight:pe.spaceT("marginRight"),marginInlineEnd:pe.spaceT("marginInlineEnd"),marginBottom:pe.spaceT("marginBottom"),marginBlockEnd:pe.spaceT("marginBlockEnd"),marginLeft:pe.spaceT("marginLeft"),marginInlineStart:pe.spaceT("marginInlineStart"),marginX:pe.spaceT(["marginInlineStart","marginInlineEnd"]),marginInline:pe.spaceT("marginInline"),marginY:pe.spaceT(["marginTop","marginBottom"]),marginBlock:pe.spaceT("marginBlock"),padding:pe.space("padding"),paddingTop:pe.space("paddingTop"),paddingBlockStart:pe.space("paddingBlockStart"),paddingRight:pe.space("paddingRight"),paddingBottom:pe.space("paddingBottom"),paddingBlockEnd:pe.space("paddingBlockEnd"),paddingLeft:pe.space("paddingLeft"),paddingInlineStart:pe.space("paddingInlineStart"),paddingInlineEnd:pe.space("paddingInlineEnd"),paddingX:pe.space(["paddingInlineStart","paddingInlineEnd"]),paddingInline:pe.space("paddingInline"),paddingY:pe.space(["paddingTop","paddingBottom"]),paddingBlock:pe.space("paddingBlock")};Object.assign(De,{m:De.margin,mt:De.marginTop,mr:De.marginRight,me:De.marginInlineEnd,marginEnd:De.marginInlineEnd,mb:De.marginBottom,ml:De.marginLeft,ms:De.marginInlineStart,marginStart:De.marginInlineStart,mx:De.marginX,my:De.marginY,p:De.padding,pt:De.paddingTop,py:De.paddingY,px:De.paddingX,pb:De.paddingBottom,pl:De.paddingLeft,ps:De.paddingInlineStart,paddingStart:De.paddingInlineStart,pr:De.paddingRight,pe:De.paddingInlineEnd,paddingEnd:De.paddingInlineEnd});var Oe={textDecorationColor:pe.colors("textDecorationColor"),textDecoration:!0,textDecor:{property:"textDecoration"},textDecorationLine:!0,textDecorationStyle:!0,textDecorationThickness:!0,textUnderlineOffset:!0,textShadow:pe.shadows("textShadow")},Le={clipPath:!0,transform:pe.propT("transform",de.transform),transformOrigin:!0,translateX:pe.spaceT("--chakra-translate-x"),translateY:pe.spaceT("--chakra-translate-y"),skewX:pe.degreeT("--chakra-skew-x"),skewY:pe.degreeT("--chakra-skew-y"),scaleX:pe.prop("--chakra-scale-x"),scaleY:pe.prop("--chakra-scale-y"),scale:pe.prop(["--chakra-scale-x","--chakra-scale-y"]),rotate:pe.degreeT("--chakra-rotate")},Re={transition:!0,transitionDelay:!0,animation:!0,willChange:!0,transitionDuration:pe.prop("transitionDuration","transition.duration"),transitionProperty:pe.prop("transitionProperty","transition.property"),transitionTimingFunction:pe.prop("transitionTimingFunction","transition.easing")},Ne={fontFamily:pe.prop("fontFamily","fonts"),fontSize:pe.prop("fontSize","fontSizes",de.px),fontWeight:pe.prop("fontWeight","fontWeights"),lineHeight:pe.prop("lineHeight","lineHeights"),letterSpacing:pe.prop("letterSpacing","letterSpacings"),textAlign:!0,fontStyle:!0,textIndent:!0,wordBreak:!0,overflowWrap:!0,textOverflow:!0,textTransform:!0,whiteSpace:!0,noOfLines:{static:{overflow:"hidden",textOverflow:"ellipsis",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:"var(--chakra-line-clamp)"},property:"--chakra-line-clamp"}},je={scrollBehavior:!0,scrollSnapAlign:!0,scrollSnapStop:!0,scrollSnapType:!0,scrollMargin:pe.spaceT("scrollMargin"),scrollMarginTop:pe.spaceT("scrollMarginTop"),scrollMarginBottom:pe.spaceT("scrollMarginBottom"),scrollMarginLeft:pe.spaceT("scrollMarginLeft"),scrollMarginRight:pe.spaceT("scrollMarginRight"),scrollMarginX:pe.spaceT(["scrollMarginLeft","scrollMarginRight"]),scrollMarginY:pe.spaceT(["scrollMarginTop","scrollMarginBottom"]),scrollPadding:pe.spaceT("scrollPadding"),scrollPaddingTop:pe.spaceT("scrollPaddingTop"),scrollPaddingBottom:pe.spaceT("scrollPaddingBottom"),scrollPaddingLeft:pe.spaceT("scrollPaddingLeft"),scrollPaddingRight:pe.spaceT("scrollPaddingRight"),scrollPaddingX:pe.spaceT(["scrollPaddingLeft","scrollPaddingRight"]),scrollPaddingY:pe.spaceT(["scrollPaddingTop","scrollPaddingBottom"])};function Fe(t){return Gt(t)&&t.reference?t.reference:String(t)}var Be=(t,...e)=>e.map(Fe).join(` ${t} `).replace(/calc/g,""),ze=(...t)=>`calc(${Be("+",...t)})`,$e=(...t)=>`calc(${Be("-",...t)})`,Ve=(...t)=>`calc(${Be("*",...t)})`,He=(...t)=>`calc(${Be("/",...t)})`,We=t=>{const e=Fe(t);return null==e||Number.isNaN(parseFloat(e))?Ve(e,-1):String(e).startsWith("-")?String(e).slice(1):`-${e}`},Ge=Object.assign((t=>({add:(...e)=>Ge(ze(t,...e)),subtract:(...e)=>Ge($e(t,...e)),multiply:(...e)=>Ge(Ve(t,...e)),divide:(...e)=>Ge(He(t,...e)),negate:()=>Ge(We(t)),toString:()=>t.toString()})),{add:ze,subtract:$e,multiply:Ve,divide:He,negate:We});function Ue(t){return function(t){return t.replace(/[!-,/:-@[-^`{-~]/g,"\\$&")}(function(t){if(t.includes("\\."))return t;return Number.isInteger(parseFloat(t.toString()))?t:t.replace(".","\\.")}(function(t,e="-"){return t.replace(/\s+/g,e)}(t.toString())))}function Xe(t,e){return`var(${t}${e?`, ${e}`:""})`}function qe(t,e=""){return Ue(`--${function(t,e=""){return[e,t].filter(Boolean).join("-")}(t,e)}`)}function Ye(t,e,n){const r=qe(t,n);return{variable:r,reference:Xe(r,e)}}function Ke(t){const e=null==t?0:t.length;return e?t[e-1]:void 0}function Ze(t){if(null==t)return t;const{unitless:e}=function(t){const e=parseFloat(t.toString()),n=t.toString().replace(String(e),"");return{unitless:!n,value:e,unit:n}}(t);return e||"number"==typeof t?`${t}px`:t}var Qe=(t,e)=>parseInt(t[1],10)>parseInt(e[1],10)?1:-1,Je=t=>Object.fromEntries(Object.entries(t).sort(Qe));function tn(t){const e=Je(t);return Object.assign(Object.values(e),e)}function en(t){if(!t)return t;const e=(t=Ze(t)??t).endsWith("px")?-1:-.0625;return"number"==typeof t?`${t+e}`:t.replace(/(\d+\.?\d*)/u,(t=>`${parseFloat(t)+e}`))}function nn(t,e){const n=["@media screen"];return t&&n.push("and",`(min-width: ${Ze(t)})`),e&&n.push("and",`(max-width: ${Ze(e)})`),n.join(" ")}function rn(t){if(!t)return null;t.base=t.base??"0px";const e=tn(t),n=Object.entries(t).sort(Qe).map((([t,e],n,r)=>{let[,i]=r[n+1]??[];return i=parseFloat(i)>0?en(i):void 0,{_minW:en(e),breakpoint:t,minW:e,maxW:i,maxWQuery:nn(null,i),minWQuery:nn(e),minMaxQuery:nn(e,i)}})),r=function(t){const e=Object.keys(Je(t));return new Set(e)}(t),i=Array.from(r.values());return{keys:r,normalized:e,isResponsive(t){const e=Object.keys(t);return e.length>0&&e.every((t=>r.has(t)))},asObject:Je(t),asArray:tn(t),details:n,media:[null,...e.map((t=>nn(t))).slice(1)],toArrayValue(t){if(!Gt(t))throw new Error("toArrayValue: value must be an object");const e=i.map((e=>t[e]??null));for(;null===Ke(e);)e.pop();return e},toObjectValue(t){if(!Array.isArray(t))throw new Error("toObjectValue: value must be an array");return t.reduce(((t,e,n)=>{const r=i[n];return null!=r&&null!=e&&(t[r]=e),t}),{})}}}var an=(t,e)=>`${t}:hover ${e}, ${t}[data-hover] ${e}`,on=(t,e)=>`${t}:focus ${e}, ${t}[data-focus] ${e}`,sn=(t,e)=>`${t}:focus-visible ${e}`,un=(t,e)=>`${t}:focus-within ${e}`,cn=(t,e)=>`${t}:active ${e}, ${t}[data-active] ${e}`,ln=(t,e)=>`${t}:disabled ${e}, ${t}[data-disabled] ${e}`,hn=(t,e)=>`${t}:invalid ${e}, ${t}[data-invalid] ${e}`,fn=(t,e)=>`${t}:checked ${e}, ${t}[data-checked] ${e}`,dn=(t,e)=>`${t}:placeholder-shown ${e}`,pn=t=>bn((e=>t(e,"&")),"[role=group]","[data-group]",".group"),gn=t=>bn((e=>t(e,"~ &")),"[data-peer]",".peer"),bn=(t,...e)=>e.map(t).join(", "),vn={_hover:"&:hover, &[data-hover]",_active:"&:active, &[data-active]",_focus:"&:focus, &[data-focus]",_highlighted:"&[data-highlighted]",_focusWithin:"&:focus-within",_focusVisible:"&:focus-visible, &[data-focus-visible]",_disabled:"&:disabled, &[disabled], &[aria-disabled=true], &[data-disabled]",_readOnly:"&[aria-readonly=true], &[readonly], &[data-readonly]",_before:"&::before",_after:"&::after",_empty:"&:empty",_expanded:"&[aria-expanded=true], &[data-expanded]",_checked:"&[aria-checked=true], &[data-checked]",_grabbed:"&[aria-grabbed=true], &[data-grabbed]",_pressed:"&[aria-pressed=true], &[data-pressed]",_invalid:"&[aria-invalid=true], &[data-invalid]",_valid:"&[data-valid], &[data-state=valid]",_loading:"&[data-loading], &[aria-busy=true]",_selected:"&[aria-selected=true], &[data-selected]",_hidden:"&[hidden], &[data-hidden]",_autofill:"&:-webkit-autofill",_even:"&:nth-of-type(even)",_odd:"&:nth-of-type(odd)",_first:"&:first-of-type",_last:"&:last-of-type",_notFirst:"&:not(:first-of-type)",_notLast:"&:not(:last-of-type)",_visited:"&:visited",_activeLink:"&[aria-current=page]",_activeStep:"&[aria-current=step]",_indeterminate:"&:indeterminate, &[aria-checked=mixed], &[data-indeterminate]",_groupHover:pn(an),_peerHover:gn(an),_groupFocus:pn(on),_peerFocus:gn(on),_groupFocusVisible:pn(sn),_peerFocusVisible:gn(sn),_groupActive:pn(cn),_peerActive:gn(cn),_groupDisabled:pn(ln),_peerDisabled:gn(ln),_groupInvalid:pn(hn),_peerInvalid:gn(hn),_groupChecked:pn(fn),_peerChecked:gn(fn),_groupFocusWithin:pn(un),_peerFocusWithin:gn(un),_peerPlaceholderShown:gn(dn),_placeholder:"&::placeholder",_placeholderShown:"&:placeholder-shown",_fullScreen:"&:fullscreen",_selection:"&::selection",_rtl:"[dir=rtl] &, &[dir=rtl]",_ltr:"[dir=ltr] &, &[dir=ltr]",_mediaDark:"@media (prefers-color-scheme: dark)",_mediaReduceMotion:"@media (prefers-reduced-motion: reduce)",_dark:".chakra-ui-dark &:not([data-theme]),[data-theme=dark] &:not([data-theme]),&[data-theme=dark]",_light:".chakra-ui-light &:not([data-theme]),[data-theme=light] &:not([data-theme]),&[data-theme=light]"},mn=Object.keys(vn);function yn(t,e){return Ye(String(t).replace(/\./g,"-"),void 0,e)}var wn=["colors","borders","borderWidths","borderStyles","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","space","shadows","sizes","zIndices","transition","blur"];function xn(t,e=1/0){return(Gt(t)||Array.isArray(t))&&e?Object.entries(t).reduce(((t,[n,r])=>(Gt(r)||Array.isArray(r)?Object.entries(xn(r,e-1)).forEach((([e,r])=>{t[`${n}.${e}`]=r})):t[n]=r,t)),{}):t}function _n(t){var e;const n=function(t){const{__cssMap:e,__cssVars:n,__breakpoints:r,...i}=t;return i}(t),r=function(t){return function(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}(t,wn)}(n),i=function(t){return t.semanticTokens}(n),a=function({tokens:t,semanticTokens:e}){const n=Object.entries(xn(t)??{}).map((([t,e])=>[t,{isSemantic:!1,value:e}])),r=Object.entries(xn(e,1)??{}).map((([t,e])=>[t,{isSemantic:!0,value:e}]));return Object.fromEntries([...n,...r])}({tokens:r,semanticTokens:i}),o=null==(e=n.config)?void 0:e.cssVarPrefix,{cssMap:s,cssVars:u}=function(t,e){let n={};const r={};for(const[i,a]of Object.entries(t)){const{isSemantic:o,value:s}=a,{variable:u,reference:c}=yn(i,null==e?void 0:e.cssVarPrefix);if(!o){if(i.startsWith("space")){const t=i.split("."),[e,...n]=t,a=`${e}.-${n.join(".")}`,o=Ge.negate(s),l=Ge.negate(c);r[a]={value:o,var:u,varRef:l}}n[u]=s,r[i]={value:s,var:u,varRef:c};continue}const l=n=>{const r=[String(i).split(".")[0],n].join(".");if(!t[r])return n;const{reference:a}=yn(r,null==e?void 0:e.cssVarPrefix);return a},h=Gt(s)?s:{default:s};n=Wt()(n,Object.entries(h).reduce(((t,[e,n])=>{var r;const i=l(n);return"default"===e?(t[u]=i,t):(t[(null==(r=vn)?void 0:r[e])??e]={[u]:i},t)}),{})),r[i]={value:c,var:u,varRef:c}}return{cssVars:n,cssMap:r}}(a,{cssVarPrefix:o});return Object.assign(n,{__cssVars:{"--chakra-ring-inset":"var(--chakra-empty,/*!*/ /*!*/)","--chakra-ring-offset-width":"0px","--chakra-ring-offset-color":"#fff","--chakra-ring-color":"rgba(66, 153, 225, 0.6)","--chakra-ring-offset-shadow":"0 0 #0000","--chakra-ring-shadow":"0 0 #0000","--chakra-space-x-reverse":"0","--chakra-space-y-reverse":"0",...u},__cssMap:s,__breakpoints:rn(n.breakpoints)}),n}var Sn=Wt()({},ge,be,ve,we,Se,ye,Pe,_e,xe,Ae,Ee,me,De,je,Ne,Oe,Le,ke,Re),kn=Object.assign({},De,Se,we,xe,Ee),In=(Object.keys(kn),[...Object.keys(Sn),...mn]),Mn={...Sn,...vn},Cn=t=>t in Mn;var Tn=(t,e)=>t.startsWith("--")&&"string"==typeof e&&!function(t){return/^var\(--.+\)$/.test(t)}(e),An=(t,e)=>{if(null==e)return e;const n=e=>{var n,r;return null==(r=null==(n=t.__cssMap)?void 0:n[e])?void 0:r.varRef},r=t=>n(t)??t,[i,a]=function(t){const e=[];let n="",r=!1;for(let i=0;i<t.length;i++){const a=t[i];"("===a?(r=!0,n+=a):")"===a?(r=!1,n+=a):","!==a||r?n+=a:(e.push(n),n="")}return n=n.trim(),n&&e.push(n),e}(e);return e=n(i)??r(a)??r(e)};function En(t){const{configs:e={},pseudos:n={},theme:r}=t,i=(t,a=!1)=>{var o;const s=Ut(t,r),u=(t=>e=>{if(!e.__breakpoints)return t;const{isResponsive:n,toArrayValue:r,media:i}=e.__breakpoints,a={};for(const o in t){let s=Ut(t[o],e);if(null==s)continue;if(s=Gt(s)&&n(s)?r(s):s,!Array.isArray(s)){a[o]=s;continue}const u=s.slice(0,i.length).length;for(let t=0;t<u;t+=1){const e=null==i?void 0:i[t];e?(a[e]=a[e]||{},null!=s[t]&&(a[e][o]=s[t])):a[o]=s[t]}}return a})(s)(r);let c={};for(let t in u){let l=Ut(u[t],r);t in n&&(t=n[t]),Tn(t,l)&&(l=An(r,l));let h=e[t];if(!0===h&&(h={property:t}),Gt(l)){c[t]=c[t]??{},c[t]=Wt()({},c[t],i(l,!0));continue}let f=(null==(o=null==h?void 0:h.transform)?void 0:o.call(h,l,r,s))??l;f=(null==h?void 0:h.processResult)?i(f,!0):f;const d=Ut(null==h?void 0:h.property,r);if(!a&&(null==h?void 0:h.static)){const t=Ut(h.static,r);c=Wt()({},c,t)}if(d&&Array.isArray(d))for(const t of d)c[t]=f;else d?"&"===d&&Gt(f)?c=Wt()({},c,f):c[d]=f:Gt(f)?c=Wt()({},c,f):c[t]=f}return c};return i}var Pn=t=>e=>En({theme:e,pseudos:vn,configs:Sn})(t);function Dn(t){return{definePartsStyle:t=>t,defineMultiStyleConfig:e=>({parts:t,...e})}}function On(t,e){for(let n=e+1;n<t.length;n++)if(null!=t[n])return n;return-1}function Ln(t){const e=t.__breakpoints;return function(t,n,r,i){var a,o;if(!e)return;const s={},u=function(t,e){return Array.isArray(t)?t:Gt(t)?e(t):null!=t?[t]:void 0}(r,e.toArrayValue);if(!u)return s;const c=u.length,l=1===c,h=!!t.parts;for(let r=0;r<c;r++){const c=e.details[r],f=e.details[On(u,r)],d=nn(c.minW,null==f?void 0:f._minW),p=Ut(null==(a=t[n])?void 0:a[u[r]],i);p&&(h?null==(o=t.parts)||o.forEach((t=>{Wt()(s,{[t]:l?p[t]:{[d]:p[t]}})})):h?s[d]=p:l?Wt()(s,p):s[d]=p)}return s}}function Rn(t){return function(t,e=[]){const n=Object.assign({},t);for(const t of e)t in n&&delete n[t];return n}(t,["styleConfig","size","variant","colorScheme"])}var Nn=1/60*1e3,jn="undefined"!=typeof performance?function(){return performance.now()}:function(){return Date.now()};var Fn=(t=>{const e=new WeakMap;return(n,r,i,a)=>{if(void 0===n)return t(n,r,i);e.has(n)||e.set(n,new Map);const o=e.get(n);if(o.has(r))return o.get(r);const s=t(n,r,i,a);return o.set(r,s),s}})((function(t,e,n,r){const i="string"==typeof e?e.split("."):[e];for(r=0;r<i.length&&t;r+=1)t=t[i[r]];return void 0===t?n:t}));function Bn(t,e){const n={};return Object.keys(t).forEach((r=>{const i=t[r];e(i,r,t)&&(n[r]=i)})),n}var zn=t=>Bn(t,(t=>null!=t));["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"].join();function $n(t,...e){return"function"==typeof t?t(...e):t}Number.MIN_SAFE_INTEGER,Number.MAX_SAFE_INTEGER;Object.freeze(["base","sm","md","lg","xl","2xl"]);a(4146);function Vn(t,e,n){var r="";return n.split(" ").forEach((function(n){void 0!==t[n]?e.push(t[n]+";"):r+=n+" "})),r}var Hn=function(t,e,n){!function(t,e,n){var r=t.key+"-"+e.name;!1===n&&void 0===t.registered[r]&&(t.registered[r]=e.styles)}(t,e,n);var r=t.key+"-"+e.name;if(void 0===t.inserted[e.name]){var i=e;do{t.insert(e===i?"."+r:"",i,t.sheet,!0);i=i.next}while(void 0!==i)}},Wn=r.useInsertionEffect?r.useInsertionEffect:n.useLayoutEffect,Gn=Bt((function(t,e){var r=t.styles,i=Nt([r],void 0,(0,n.useContext)(zt)),a=(0,n.useRef)();return Wn((function(){var t=e.key+"-global",n=new e.sheet.constructor({key:t,nonce:e.sheet.nonce,container:e.sheet.container,speedy:e.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+t+" "+i.name+'"]');return e.sheet.tags.length&&(n.before=e.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",t),n.hydrate([o])),a.current=[n,r],function(){n.flush()}}),[e]),Wn((function(){var t=a.current,n=t[0];if(t[1])t[1]=!1;else{if(void 0!==i.next&&Hn(e,i.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}e.insert("",i,n,!1)}}),[e,i.name]),null}));function Un(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return Nt(e)}var Xn=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/;const qn=Mt((function(t){return Xn.test(t)||111===t.charCodeAt(0)&&110===t.charCodeAt(1)&&t.charCodeAt(2)<91}));var Yn=/[A-Z]|^ms/g,Kn=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Zn=function(t){return 45===t.charCodeAt(1)},Qn=function(t){return null!=t&&"boolean"!=typeof t},Jn=Mt((function(t){return Zn(t)?t:t.replace(Yn,"-$&").toLowerCase()})),tr=function(t,e){switch(t){case"animation":case"animationName":if("string"==typeof e)return e.replace(Kn,(function(t,e,n){return nr={name:e,styles:n,next:nr},e}))}return 1===It[t]||Zn(t)||"number"!=typeof e||0===e?e:e+"px"};function er(t,e,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return nr={name:n.name,styles:n.styles,next:nr},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)nr={name:r.name,styles:r.styles,next:nr},r=r.next;return n.styles+";"}return function(t,e,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=er(t,e,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o)null!=e&&void 0!==e[o]?r+=a+"{"+e[o]+"}":Qn(o)&&(r+=Jn(a)+":"+tr(a,o)+";");else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=e&&void 0!==e[o[0]]){var s=er(t,e,o);switch(a){case"animation":case"animationName":r+=Jn(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var u=0;u<o.length;u++)Qn(o[u])&&(r+=Jn(a)+":"+tr(a,o[u])+";")}return r}(t,e,n);case"function":if(void 0!==t){var i=nr,a=n(t);return nr=i,er(t,e,a)}}if(null==e)return n;var o=e[n];return void 0!==o?o:n}var nr,rr=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var ir=function(t,e,n){if(1===t.length&&"object"==typeof t[0]&&null!==t[0]&&void 0!==t[0].styles)return t[0];var r=!0,i="";nr=void 0;var a=t[0];null==a||void 0===a.raw?(r=!1,i+=er(n,e,a)):i+=a[0];for(var o=1;o<t.length;o++)i+=er(n,e,t[o]),r&&(i+=a[o]);rr.lastIndex=0;for(var s,u="";null!==(s=rr.exec(i));)u+="-"+s[1];return{name:kt(i)+u,styles:i,next:nr}},ar=qn,or=function(t){return"theme"!==t},sr=function(t){return"string"==typeof t&&t.charCodeAt(0)>96?ar:or},ur=function(t,e,n){var r;if(e){var i=e.shouldForwardProp;r=t.__emotion_forwardProp&&i?function(e){return t.__emotion_forwardProp(e)&&i(e)}:i}return"function"!=typeof r&&n&&(r=t.__emotion_forwardProp),r};const cr=function t(e,r){var i,a,o=e.__emotion_real===e,s=o&&e.__emotion_base||e;void 0!==r&&(i=r.label,a=r.target);var u=ur(e,r,o),c=u||sr(s),l=!c("as");return function(){var h=arguments,f=o&&void 0!==e.__emotion_styles?e.__emotion_styles.slice(0):[];if(void 0!==i&&f.push("label:"+i+";"),null==h[0]||void 0===h[0].raw)f.push.apply(f,h);else{0,f.push(h[0][0]);for(var d=h.length,p=1;p<d;p++)f.push(h[p],h[0][p])}var g=Bt((function(t,e,r){var i=l&&t.as||s,o="",h=[],d=t;if(null==t.theme){for(var p in d={},t)d[p]=t[p];d.theme=(0,n.useContext)(zt)}"string"==typeof t.className?o=Vn(e.registered,h,t.className):null!=t.className&&(o=t.className+" ");var g=ir(f.concat(h),e.registered,d);Hn(e,g,"string"==typeof i);o+=e.key+"-"+g.name,void 0!==a&&(o+=" "+a);var b=l&&void 0===u?sr(i):c,v={};for(var m in t)l&&"as"===m||b(m)&&(v[m]=t[m]);return v.className=o,v.ref=r,(0,n.createElement)(i,v)}));return g.displayName=void 0!==i?i:"Styled("+("string"==typeof s?s:s.displayName||s.name||"Component")+")",g.defaultProps=e.defaultProps,g.__emotion_real=g,g.__emotion_base=s,g.__emotion_styles=f,g.__emotion_forwardProp=u,Object.defineProperty(g,"toString",{value:function(){return"."+a}}),g.withComponent=function(e,n){return t(e,_t({},r,n,{shouldForwardProp:ur(g,n,!0)})).apply(void 0,f)},g}};var lr=cr.bind();["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"].forEach((function(t){lr[t]=lr(t)}));const hr=lr;var fr=a(115),dr=a.n(fr);function pr(){const t=(0,n.useContext)(zt);if(!t)throw Error("useTheme: `theme` is undefined. Seems you forgot to wrap your app in `<ChakraProvider />` or `<ThemeProvider />`");return t}function gr(){return{...ht(),theme:pr()}}function br(t,e,n){const r=Array.isArray(e)?e:[e],i=Array.isArray(n)?n:[n];return n=>{const a=i.filter(Boolean),o=r.map(((e,r)=>{if("breakpoints"===t)return function(t,e,n){if(null==e)return e;const r=e=>{var n,r;return null==(r=null==(n=t.__breakpoints)?void 0:n.asArray)?void 0:r[e]};return r(e)??r(n)??n}(n,e,a[r]??e);return function(t,e,n){if(null==e)return e;const r=e=>{var n,r;return null==(r=null==(n=t.__cssMap)?void 0:n[e])?void 0:r.value};return r(e)??r(n)??n}(n,`${t}.${e}`,a[r]??e)}));return Array.isArray(e)?o:o[0]}}function vr(t){const{cssVarsRoot:e,theme:r,children:i}=t,a=(0,n.useMemo)((()=>_n(r)),[r]);return n.createElement(Vt,{theme:a},n.createElement(mr,{root:e}),i)}function mr({root:t=":host, :root"}){const e=[t,"[data-theme]"].join(",");return n.createElement(Gn,{styles:t=>({[e]:t.__cssVars})})}var[yr,wr]=function(t={}){const{strict:e=!0,errorMessage:r="useContext: `context` is undefined. Seems you forgot to wrap component within the Provider",name:i}=t,a=(0,n.createContext)(void 0);return a.displayName=i,[a.Provider,function t(){var i;const o=(0,n.useContext)(a);if(!o&&e){const e=new Error(r);throw e.name="ContextError",null==(i=Error.captureStackTrace)||i.call(Error,e,t),e}return o},a]}({name:"StylesContext",errorMessage:"useStyles: `styles` is undefined. Seems you forgot to wrap the components in `<StylesProvider />` "});function xr(){const{colorMode:t}=ht();return n.createElement(Gn,{styles:e=>{const n=$n(Fn(e,"styles.global"),{theme:e,colorMode:t});if(!n)return;return Pn(n)(e)}})}var _r=new Set([...In,"textStyle","layerStyle","apply","noOfLines","focusBorderColor","errorBorderColor","as","__css","css","sx"]),Sr=new Set(["htmlWidth","htmlHeight","htmlSize"]);function kr(t){return Sr.has(t)||!_r.has(t)}function Ir(t,e){const{baseStyle:r,...i}=e??{};i.shouldForwardProp||(i.shouldForwardProp=kr);const a=(({baseStyle:t})=>e=>{const{theme:n,css:r,__css:i,sx:a,...o}=e,s=Bn(o,((t,e)=>Cn(e))),u=$n(t,e),c=Object.assign({},i,u,zn(s),a),l=Pn(c)(e.theme);return r?[l,r]:l})({baseStyle:r}),o=hr(t,i)(a);return n.forwardRef((function(t,e){const{colorMode:r,forced:i}=ht();return n.createElement(o,{ref:e,"data-theme":i?r:void 0,...t})}))}function Mr(t){return(0,n.forwardRef)(t)}function Cr(t,e={}){const{styleConfig:r,...i}=e,{theme:a,colorMode:o}=gr(),s=t?Fn(a,`components.${t}`):void 0,u=r||s,c=Wt()({theme:a,colorMode:o},(null==u?void 0:u.defaultProps)??{},zn(function(t,e){const n={};return Object.keys(t).forEach((r=>{e.includes(r)||(n[r]=t[r])})),n}(i,["children"]))),l=(0,n.useRef)({});if(u){const t=function(t){return e=>{const{variant:n,size:r,theme:i}=e,a=Ln(i);return Wt()({},Ut(t.baseStyle??{},e),a(t,"sizes",r,e),a(t,"variants",n,e))}}(u),e=t(c);dr()(l.current,e)||(l.current=e)}return l.current}function Tr(t,e={}){return Cr(t,e)}function Ar(t,e={}){return Cr(t,e)}var Er=function(){const t=new Map;return new Proxy(Ir,{apply:(t,e,n)=>Ir(...n),get:(e,n)=>(t.has(n)||t.set(n,Ir(n)),t.get(n))})}();function Pr(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Array.isArray(t)}Object.freeze(["base","sm","md","lg","xl","2xl"]);function Dr(t,e){return Array.isArray(t)?t.map((t=>null===t?null:e(t))):Pr(t)?Object.keys(t).reduce(((n,r)=>(n[r]=e(t[r]),n)),{}):null!=t?e(t):null}var Or=(...t)=>t.filter(Boolean).join(" ");function Lr(t){const e=Object.assign({},t);for(let t in e)void 0===e[t]&&delete e[t];return e}var Rr={path:n.createElement("g",{stroke:"currentColor",strokeWidth:"1.5"},n.createElement("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),n.createElement("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),n.createElement("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})),viewBox:"0 0 24 24"},Nr=Mr(((t,e)=>{const{as:r,viewBox:i,color:a="currentColor",focusable:o=!1,children:s,className:u,__css:c,...l}=t,h={ref:e,focusable:o,className:Or("chakra-icon",u),__css:{w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:a,...c,...Tr("Icon",t)}},f=i??Rr.viewBox;if(r&&"string"!=typeof r)return n.createElement(Er.svg,{as:r,...h,...l});const d=s??Rr.path;return n.createElement(Er.svg,{verticalAlign:"middle",viewBox:f,...h,...l},d)}));Nr.displayName="Icon";function jr(t={}){const{name:e,strict:r=!0,hookName:i="useContext",providerName:a="Provider",errorMessage:o}=t,s=(0,n.createContext)(void 0);return s.displayName=e,[s.Provider,function t(){var e;const u=(0,n.useContext)(s);if(!u&&r){const n=new Error(o??`${i} returned \`undefined\`. Seems you forgot to wrap component within ${a}`);throw n.name="ContextError",null==(e=Error.captureStackTrace)||e.call(Error,n,t),n}return u},s]}function Fr(t){return n.Children.toArray(t).filter((t=>(0,n.isValidElement)(t)))}var Br=Mr((function(t,e){const{ratio:r=4/3,children:i,className:a,...o}=t,s=n.Children.only(i),u=Or("chakra-aspect-ratio",a);return n.createElement(Er.div,{ref:e,position:"relative",className:u,_before:{height:0,content:'""',display:"block",paddingBottom:Dr(r,(t=>1/t*100+"%"))},__css:{"& > *:not(style)":{overflow:"hidden",position:"absolute",top:"0",right:"0",bottom:"0",left:"0",display:"flex",justifyContent:"center",alignItems:"center",width:"100%",height:"100%"},"& > img, & > video":{objectFit:"cover"}},...o},s)}));Br.displayName="AspectRatio";var zr=Mr((function(t,e){const r=Tr("Badge",t),{className:i,...a}=Rn(t);return n.createElement(Er.span,{ref:e,className:Or("chakra-badge",t.className),...a,__css:{display:"inline-block",whiteSpace:"nowrap",verticalAlign:"middle",...r}})}));zr.displayName="Badge";var $r=Er("div");$r.displayName="Box";var Vr=Mr((function(t,e){const{size:r,centerContent:i=!0,...a}=t,o=i?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return n.createElement($r,{ref:e,boxSize:r,__css:{...o,flexShrink:0,flexGrow:0},...a})}));Vr.displayName="Square";var Hr=Mr((function(t,e){const{size:r,...i}=t;return n.createElement(Vr,{size:r,ref:e,borderRadius:"9999px",...i})}));Hr.displayName="Circle";var Wr=Er("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center"}});Wr.displayName="Center";var Gr={horizontal:{insetStart:"50%",transform:"translateX(-50%)"},vertical:{top:"50%",transform:"translateY(-50%)"},both:{insetStart:"50%",top:"50%",transform:"translate(-50%, -50%)"}},Ur=(Mr((function(t,e){const{axis:r="both",...i}=t;return n.createElement(Er.div,{ref:e,__css:Gr[r],...i,position:"absolute"})})),Mr((function(t,e){const r=Tr("Code",t),{className:i,...a}=Rn(t);return n.createElement(Er.code,{ref:e,className:Or("chakra-code",t.className),...a,__css:{display:"inline-block",...r}})})));Ur.displayName="Code";var Xr=Mr((function(t,e){const{className:r,centerContent:i,...a}=Rn(t),o=Tr("Container",t);return n.createElement(Er.div,{ref:e,className:Or("chakra-container",r),...a,__css:{...o,...i&&{display:"flex",flexDirection:"column",alignItems:"center"}}})}));Xr.displayName="Container";var qr=Mr((function(t,e){const{borderLeftWidth:r,borderBottomWidth:i,borderTopWidth:a,borderRightWidth:o,borderWidth:s,borderStyle:u,borderColor:c,...l}=Tr("Divider",t),{className:h,orientation:f="horizontal",__css:d,...p}=Rn(t),g={vertical:{borderLeftWidth:r||o||s||"1px",height:"100%"},horizontal:{borderBottomWidth:i||a||s||"1px",width:"100%"}};return n.createElement(Er.hr,{ref:e,"aria-orientation":f,...p,__css:{...l,border:"0",borderColor:c,borderStyle:u,...g[f],...d},className:Or("chakra-divider",h)})}));qr.displayName="Divider";var Yr=Mr((function(t,e){const{direction:r,align:i,justify:a,wrap:o,basis:s,grow:u,shrink:c,...l}=t,h={display:"flex",flexDirection:r,alignItems:i,justifyContent:a,flexWrap:o,flexBasis:s,flexGrow:u,flexShrink:c};return n.createElement(Er.div,{ref:e,__css:h,...l})}));Yr.displayName="Flex";var Kr=Mr((function(t,e){const{templateAreas:r,gap:i,rowGap:a,columnGap:o,column:s,row:u,autoFlow:c,autoRows:l,templateRows:h,autoColumns:f,templateColumns:d,...p}=t,g={display:"grid",gridTemplateAreas:r,gridGap:i,gridRowGap:a,gridColumnGap:o,gridAutoColumns:f,gridColumn:s,gridRow:u,gridAutoFlow:c,gridAutoRows:l,gridTemplateRows:h,gridTemplateColumns:d};return n.createElement(Er.div,{ref:e,__css:g,...p})}));function Zr(t){return Dr(t,(t=>"auto"===t?"auto":`span ${t}/span ${t}`))}Kr.displayName="Grid";var Qr=Mr((function(t,e){const{area:r,colSpan:i,colStart:a,colEnd:o,rowEnd:s,rowSpan:u,rowStart:c,...l}=t,h=Lr({gridArea:r,gridColumn:Zr(i),gridRow:Zr(u),gridColumnStart:a,gridColumnEnd:o,gridRowStart:c,gridRowEnd:s});return n.createElement(Er.div,{ref:e,__css:h,...l})}));Qr.displayName="GridItem";var Jr=Mr((function(t,e){const r=Tr("Heading",t),{className:i,...a}=Rn(t);return n.createElement(Er.h2,{ref:e,className:Or("chakra-heading",t.className),...a,__css:r})}));Jr.displayName="Heading";Mr((function(t,e){const r=Tr("Mark",t),i=Rn(t);return n.createElement($r,{ref:e,...i,as:"mark",__css:{bg:"transparent",whiteSpace:"nowrap",...r}})}));var ti=Mr((function(t,e){const r=Tr("Kbd",t),{className:i,...a}=Rn(t);return n.createElement(Er.kbd,{ref:e,className:Or("chakra-kbd",i),...a,__css:{fontFamily:"mono",...r}})}));ti.displayName="Kbd";var ei=Mr((function(t,e){const r=Tr("Link",t),{className:i,isExternal:a,...o}=Rn(t);return n.createElement(Er.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:e,className:Or("chakra-link",i),...o,__css:r})}));ei.displayName="Link";Mr((function(t,e){const{isExternal:r,target:i,rel:a,className:o,...s}=t;return n.createElement(Er.a,{...s,ref:e,className:Or("chakra-linkbox__overlay",o),rel:r?"noopener noreferrer":a,target:r?"_blank":i,__css:{position:"static","&::before":{content:"''",cursor:"inherit",display:"block",position:"absolute",top:0,left:0,zIndex:0,width:"100%",height:"100%"}}})})),Mr((function(t,e){const{className:r,...i}=t;return n.createElement(Er.div,{ref:e,position:"relative",...i,className:Or("chakra-linkbox",r),__css:{"a[href]:not(.chakra-linkbox__overlay), abbr[title]":{position:"relative",zIndex:1}}})}));var[ni,ri]=jr({name:"ListStylesContext",errorMessage:"useListStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<List />\" "}),ii=Mr((function(t,e){const r=Ar("List",t),{children:i,styleType:a="none",stylePosition:o,spacing:s,...u}=Rn(t),c=Fr(i),l=s?{"& > *:not(style) ~ *:not(style)":{mt:s}}:{};return n.createElement(ni,{value:r},n.createElement(Er.ul,{ref:e,listStyleType:a,listStylePosition:o,role:"list",__css:{...r.container,...l},...u},c))}));ii.displayName="List",Mr(((t,e)=>{const{as:r,...i}=t;return n.createElement(ii,{ref:e,as:"ol",styleType:"decimal",marginStart:"1em",...i})})).displayName="OrderedList",Mr((function(t,e){const{as:r,...i}=t;return n.createElement(ii,{ref:e,as:"ul",styleType:"initial",marginStart:"1em",...i})})).displayName="UnorderedList";var ai=Mr((function(t,e){const r=ri();return n.createElement(Er.li,{ref:e,...t,__css:r.item})}));ai.displayName="ListItem";var oi=Mr((function(t,e){const r=ri();return n.createElement(Nr,{ref:e,role:"presentation",...t,__css:r.icon})}));oi.displayName="ListIcon";var si=Mr((function(t,e){const{columns:r,spacingX:i,spacingY:a,spacing:o,minChildWidth:s,...u}=t,c=pr(),l=s?function(t,e){return Dr(t,(t=>{const n=br("sizes",t,"number"==typeof(r=t)?`${r}px`:r)(e);var r;return null===t?null:`repeat(auto-fit, minmax(${n}, 1fr))`}))}(s,c):function(t){return Dr(t,(t=>null===t?null:`repeat(${t}, minmax(0, 1fr))`))}(r);return n.createElement(Kr,{ref:e,gap:o,columnGap:i,rowGap:a,templateColumns:l,...u})}));si.displayName="SimpleGrid",Er("div",{baseStyle:{flex:1,justifySelf:"stretch",alignSelf:"stretch"}}).displayName="Spacer";var ui="& > *:not(style) ~ *:not(style)";var ci=t=>n.createElement(Er.div,{className:"chakra-stack__item",...t,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...t.__css}});ci.displayName="StackItem";var li=Mr(((t,e)=>{const{isInline:r,direction:i,align:a,justify:o,spacing:s="0.5rem",wrap:u,children:c,divider:l,className:h,shouldWrapChildren:f,...d}=t,p=r?"row":i??"column",g=(0,n.useMemo)((()=>function(t){const{spacing:e,direction:n}=t,r={column:{marginTop:e,marginEnd:0,marginBottom:0,marginStart:0},row:{marginTop:0,marginEnd:0,marginBottom:0,marginStart:e},"column-reverse":{marginTop:0,marginEnd:0,marginBottom:e,marginStart:0},"row-reverse":{marginTop:0,marginEnd:e,marginBottom:0,marginStart:0}};return{flexDirection:n,[ui]:Dr(n,(t=>r[t]))}}({direction:p,spacing:s})),[p,s]),b=(0,n.useMemo)((()=>function(t){const{spacing:e,direction:n}=t,r={column:{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:e,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:e,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":Dr(n,(t=>r[t]))}}({spacing:s,direction:p})),[s,p]),v=!!l,m=!f&&!v,y=(0,n.useMemo)((()=>{const t=Fr(c);return m?t:t.map(((e,r)=>{const i=void 0!==e.key?e.key:r,a=r+1===t.length,o=f?n.createElement(ci,{key:i},e):e;if(!v)return o;const s=(0,n.cloneElement)(l,{__css:b}),u=a?null:s;return n.createElement(n.Fragment,{key:i},o,u)}))}),[l,b,v,m,f,c]),w=Or("chakra-stack",h);return n.createElement(Er.div,{ref:e,display:"flex",alignItems:a,justifyContent:o,flexDirection:g.flexDirection,flexWrap:u,className:w,__css:v?{}:{[ui]:g[ui]},...d},y)}));li.displayName="Stack",Mr(((t,e)=>n.createElement(li,{align:"center",...t,direction:"row",ref:e}))).displayName="HStack";Mr(((t,e)=>n.createElement(li,{align:"center",...t,direction:"column",ref:e}))).displayName="VStack";var hi=Mr((function(t,e){const r=Tr("Text",t),{className:i,align:a,decoration:o,casing:s,...u}=Rn(t),c=Lr({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return n.createElement(Er.p,{ref:e,className:Or("chakra-text",t.className),...c,...u,__css:r})}));function fi(t){return"number"==typeof t?`${t}px`:t}hi.displayName="Text";var di=Mr((function(t,e){const{spacing:r="0.5rem",spacingX:i,spacingY:a,children:o,justify:s,direction:u,align:c,className:l,shouldWrapChildren:h,...f}=t,d=(0,n.useMemo)((()=>{const{spacingX:t=r,spacingY:e=r}={spacingX:i,spacingY:a};return{"--chakra-wrap-x-spacing":e=>Dr(t,(t=>fi(Yt("space",t)(e)))),"--chakra-wrap-y-spacing":t=>Dr(e,(e=>fi(Yt("space",e)(t)))),"--wrap-x-spacing":"calc(var(--chakra-wrap-x-spacing) / 2)","--wrap-y-spacing":"calc(var(--chakra-wrap-y-spacing) / 2)",display:"flex",flexWrap:"wrap",justifyContent:s,alignItems:c,flexDirection:u,listStyleType:"none",padding:"0",margin:"calc(var(--wrap-y-spacing) * -1) calc(var(--wrap-x-spacing) * -1)","& > *:not(style)":{margin:"var(--wrap-y-spacing) var(--wrap-x-spacing)"}}}),[r,i,a,s,c,u]),p=(0,n.useMemo)((()=>h?n.Children.map(o,((t,e)=>n.createElement(gi,{key:e},t))):o),[o,h]);return n.createElement(Er.div,{ref:e,className:Or("chakra-wrap",l),overflow:"hidden",...f},n.createElement(Er.ul,{className:"chakra-wrap__list",__css:d},p))}));di.displayName="Wrap";var pi,gi=Mr((function(t,e){const{className:r,...i}=t;return n.createElement(Er.li,{ref:e,__css:{display:"flex",alignItems:"flex-start"},className:Or("chakra-wrap__listitem",r),...i})}));function bi(){return bi=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},bi.apply(this,arguments)}gi.displayName="WrapItem",function(t){t.Pop="POP",t.Push="PUSH",t.Replace="REPLACE"}(pi||(pi={}));var vi=function(t){return t};var mi="beforeunload",yi="popstate";function wi(t){t.preventDefault(),t.returnValue=""}function xi(){var t=[];return{get length(){return t.length},push:function(e){return t.push(e),function(){t=t.filter((function(t){return t!==e}))}},call:function(e){t.forEach((function(t){return t&&t(e)}))}}}function _i(){return Math.random().toString(36).substr(2,8)}function Si(t){var e=t.pathname,n=void 0===e?"/":e,r=t.search,i=void 0===r?"":r,a=t.hash,o=void 0===a?"":a;return i&&"?"!==i&&(n+="?"===i.charAt(0)?i:"?"+i),o&&"#"!==o&&(n+="#"===o.charAt(0)?o:"#"+o),n}function ki(t){var e={};if(t){var n=t.indexOf("#");n>=0&&(e.hash=t.substr(n),t=t.substr(0,n));var r=t.indexOf("?");r>=0&&(e.search=t.substr(r),t=t.substr(0,r)),t&&(e.pathname=t)}return e}const Ii=(0,n.createContext)(null);const Mi=(0,n.createContext)(null);const Ci=(0,n.createContext)({outlet:null,matches:[]});function Ti(t,e){if(!t)throw new Error(e)}function Ai(t,e,n){let r,i="string"==typeof t?ki(t):t,a=""===t||""===i.pathname?"/":i.pathname;if(null==a)r=n;else{let t=e.length-1;if(a.startsWith("..")){let e=a.split("/");for(;".."===e[0];)e.shift(),t-=1;i.pathname=e.join("/")}r=t>=0?e[t]:"/"}let o=function(t,e){void 0===e&&(e="/");let{pathname:n,search:r="",hash:i=""}="string"==typeof t?ki(t):t,a=n?n.startsWith("/")?n:function(t,e){let n=e.replace(/\/+$/,"").split("/");return t.split("/").forEach((t=>{".."===t?n.length>1&&n.pop():"."!==t&&n.push(t)})),n.length>1?n.join("/"):"/"}(n,e):e;return{pathname:a,search:Oi(r),hash:Li(i)}}(i,r);return a&&"/"!==a&&a.endsWith("/")&&!o.pathname.endsWith("/")&&(o.pathname+="/"),o}function Ei(t,e){if("/"===e)return t;if(!t.toLowerCase().startsWith(e.toLowerCase()))return null;let n=t.charAt(e.length);return n&&"/"!==n?null:t.slice(e.length)||"/"}const Pi=t=>t.join("/").replace(/\/\/+/g,"/"),Di=t=>t.replace(/\/+$/,"").replace(/^\/*/,"/"),Oi=t=>t&&"?"!==t?t.startsWith("?")?t:"?"+t:"",Li=t=>t&&"#"!==t?t.startsWith("#")?t:"#"+t:"";function Ri(){return null!=(0,n.useContext)(Mi)}function Ni(){return Ri()||Ti(!1),(0,n.useContext)(Mi).location}function ji(){Ri()||Ti(!1);let{basename:t,navigator:e}=(0,n.useContext)(Ii),{matches:r}=(0,n.useContext)(Ci),{pathname:i}=Ni(),a=JSON.stringify(r.map((t=>t.pathnameBase))),o=(0,n.useRef)(!1);return(0,n.useEffect)((()=>{o.current=!0})),(0,n.useCallback)((function(n,r){if(void 0===r&&(r={}),!o.current)return;if("number"==typeof n)return void e.go(n);let s=Ai(n,JSON.parse(a),i);"/"!==t&&(s.pathname=Pi([t,s.pathname])),(r.replace?e.replace:e.push)(s,r.state)}),[t,e,a,i])}function Fi(t){let{basename:e="/",children:r=null,location:i,navigationType:a=pi.Pop,navigator:o,static:s=!1}=t;Ri()&&Ti(!1);let u=Di(e),c=(0,n.useMemo)((()=>({basename:u,navigator:o,static:s})),[u,o,s]);"string"==typeof i&&(i=ki(i));let{pathname:l="/",search:h="",hash:f="",state:d=null,key:p="default"}=i,g=(0,n.useMemo)((()=>{let t=Ei(l,u);return null==t?null:{pathname:t,search:h,hash:f,state:d,key:p}}),[u,l,h,f,d,p]);return null==g?null:(0,n.createElement)(Ii.Provider,{value:c},(0,n.createElement)(Mi.Provider,{children:r,value:{location:g,navigationType:a}}))}function Bi(t){let{basename:e,children:r,window:i}=t,a=(0,n.useRef)();null==a.current&&(a.current=function(t){void 0===t&&(t={});var e=t.window,n=void 0===e?document.defaultView:e,r=n.history;function i(){var t=n.location,e=t.pathname,i=t.search,a=t.hash,o=r.state||{};return[o.idx,vi({pathname:e,search:i,hash:a,state:o.usr||null,key:o.key||"default"})]}var a=null;n.addEventListener(yi,(function(){if(a)h.call(a),a=null;else{var t=pi.Pop,e=i(),n=e[0],r=e[1];if(h.length){if(null!=n){var o=u-n;o&&(a={action:t,location:r,retry:function(){v(-1*o)}},v(o))}}else b(t)}}));var o=pi.Pop,s=i(),u=s[0],c=s[1],l=xi(),h=xi();function f(t){return"string"==typeof t?t:Si(t)}function d(t,e){return void 0===e&&(e=null),vi(bi({pathname:c.pathname,hash:"",search:""},"string"==typeof t?ki(t):t,{state:e,key:_i()}))}function p(t,e){return[{usr:t.state,key:t.key,idx:e},f(t)]}function g(t,e,n){return!h.length||(h.call({action:t,location:e,retry:n}),!1)}function b(t){o=t;var e=i();u=e[0],c=e[1],l.call({action:o,location:c})}function v(t){r.go(t)}null==u&&(u=0,r.replaceState(bi({},r.state,{idx:u}),""));var m={get action(){return o},get location(){return c},createHref:f,push:function t(e,i){var a=pi.Push,o=d(e,i);if(g(a,o,(function(){t(e,i)}))){var s=p(o,u+1),c=s[0],l=s[1];try{r.pushState(c,"",l)}catch(t){n.location.assign(l)}b(a)}},replace:function t(e,n){var i=pi.Replace,a=d(e,n);if(g(i,a,(function(){t(e,n)}))){var o=p(a,u),s=o[0],c=o[1];r.replaceState(s,"",c),b(i)}},go:v,back:function(){v(-1)},forward:function(){v(1)},listen:function(t){return l.push(t)},block:function(t){var e=h.push(t);return 1===h.length&&n.addEventListener(mi,wi),function(){e(),h.length||n.removeEventListener(mi,wi)}}};return m}({window:i}));let o=a.current,[s,u]=(0,n.useState)({action:o.action,location:o.location});return(0,n.useLayoutEffect)((()=>o.listen(u)),[o]),(0,n.createElement)(Fi,{basename:e,children:r,location:s.location,navigationType:s.action,navigator:o})}function zi(t){return void 0===t&&(t=""),new URLSearchParams("string"==typeof t||Array.isArray(t)||t instanceof URLSearchParams?t:Object.keys(t).reduce(((e,n)=>{let r=t[n];return e.concat(Array.isArray(r)?r.map((t=>[n,t])):[[n,r]])}),[]))}var $i="\n :root {\n --chakra-vh: 100vh;\n }\n\n @supports (height: -webkit-fill-available) {\n :root {\n --chakra-vh: -webkit-fill-available;\n }\n }\n\n @supports (height: -moz-fill-available) {\n :root {\n --chakra-vh: -moz-fill-available;\n }\n }\n\n @supports (height: 100dvh) {\n :root {\n --chakra-vh: 100dvh;\n }\n }\n",Vi=()=>n.createElement(Gn,{styles:$i}),Hi=()=>n.createElement(Gn,{styles:`\n html {\n line-height: 1.5;\n -webkit-text-size-adjust: 100%;\n font-family: system-ui, sans-serif;\n -webkit-font-smoothing: antialiased;\n text-rendering: optimizeLegibility;\n -moz-osx-font-smoothing: grayscale;\n touch-action: manipulation;\n }\n\n body {\n position: relative;\n min-height: 100%;\n font-feature-settings: 'kern';\n }\n\n *,\n *::before,\n *::after {\n border-width: 0;\n border-style: solid;\n box-sizing: border-box;\n }\n\n main {\n display: block;\n }\n\n hr {\n border-top-width: 1px;\n box-sizing: content-box;\n height: 0;\n overflow: visible;\n }\n\n pre,\n code,\n kbd,\n samp {\n font-family: SFMono-Regular, Menlo, Monaco, Consolas, monospace;\n font-size: 1em;\n }\n\n a {\n background-color: transparent;\n color: inherit;\n text-decoration: inherit;\n }\n\n abbr[title] {\n border-bottom: none;\n text-decoration: underline;\n -webkit-text-decoration: underline dotted;\n text-decoration: underline dotted;\n }\n\n b,\n strong {\n font-weight: bold;\n }\n\n small {\n font-size: 80%;\n }\n\n sub,\n sup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n }\n\n sub {\n bottom: -0.25em;\n }\n\n sup {\n top: -0.5em;\n }\n\n img {\n border-style: none;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n font-family: inherit;\n font-size: 100%;\n line-height: 1.15;\n margin: 0;\n }\n\n button,\n input {\n overflow: visible;\n }\n\n button,\n select {\n text-transform: none;\n }\n\n button::-moz-focus-inner,\n [type="button"]::-moz-focus-inner,\n [type="reset"]::-moz-focus-inner,\n [type="submit"]::-moz-focus-inner {\n border-style: none;\n padding: 0;\n }\n\n fieldset {\n padding: 0.35em 0.75em 0.625em;\n }\n\n legend {\n box-sizing: border-box;\n color: inherit;\n display: table;\n max-width: 100%;\n padding: 0;\n white-space: normal;\n }\n\n progress {\n vertical-align: baseline;\n }\n\n textarea {\n overflow: auto;\n }\n\n [type="checkbox"],\n [type="radio"] {\n box-sizing: border-box;\n padding: 0;\n }\n\n [type="number"]::-webkit-inner-spin-button,\n [type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none !important;\n }\n\n input[type="number"] {\n -moz-appearance: textfield;\n }\n\n [type="search"] {\n -webkit-appearance: textfield;\n outline-offset: -2px;\n }\n\n [type="search"]::-webkit-search-decoration {\n -webkit-appearance: none !important;\n }\n\n ::-webkit-file-upload-button {\n -webkit-appearance: button;\n font: inherit;\n }\n\n details {\n display: block;\n }\n\n summary {\n display: list-item;\n }\n\n template {\n display: none;\n }\n\n [hidden] {\n display: none !important;\n }\n\n body,\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n button {\n background: transparent;\n padding: 0;\n }\n\n fieldset {\n margin: 0;\n padding: 0;\n }\n\n ol,\n ul {\n margin: 0;\n padding: 0;\n }\n\n textarea {\n resize: vertical;\n }\n\n button,\n [role="button"] {\n cursor: pointer;\n }\n\n button::-moz-focus-inner {\n border: 0 !important;\n }\n\n table {\n border-collapse: collapse;\n }\n\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n button,\n input,\n optgroup,\n select,\n textarea {\n padding: 0;\n line-height: inherit;\n color: inherit;\n }\n\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n }\n\n img,\n video {\n max-width: 100%;\n height: auto;\n }\n\n [data-js-focus-visible] :focus:not([data-focus-visible-added]):not([data-focus-visible-disabled]) {\n outline: none;\n box-shadow: none;\n }\n\n select::-ms-expand {\n display: none;\n }\n\n ${$i}\n `}),Wi=a(961),[Gi,Ui]=jr({strict:!1,name:"PortalManagerContext"});function Xi(t){const{children:e,zIndex:r}=t;return n.createElement(Gi,{value:{zIndex:r}},e)}Xi.displayName="PortalManager";var[qi,Yi]=jr({strict:!1,name:"PortalContext"}),Ki="chakra-portal",Zi=t=>n.createElement("div",{className:"chakra-portal-zIndex",style:{position:"absolute",zIndex:t.zIndex,top:0,left:0,right:0}},t.children),Qi=t=>{const{appendToParentPortal:e,children:r}=t,[i,a]=(0,n.useState)(null),o=(0,n.useRef)(null),[,s]=(0,n.useState)({});(0,n.useEffect)((()=>s({})),[]);const u=Yi(),c=Ui();ct((()=>{if(!i)return;const t=i.ownerDocument,n=e?u??t.body:t.body;if(!n)return;o.current=t.createElement("div"),o.current.className=Ki,n.appendChild(o.current),s({});const r=o.current;return()=>{n.contains(r)&&n.removeChild(r)}}),[i]);const l=(null==c?void 0:c.zIndex)?n.createElement(Zi,{zIndex:null==c?void 0:c.zIndex},r):r;return o.current?(0,Wi.createPortal)(n.createElement(qi,{value:o.current},l),o.current):n.createElement("span",{ref:t=>{t&&a(t)}})},Ji=t=>{const{children:e,containerRef:r,appendToParentPortal:i}=t,a=r.current,o=a??("undefined"!=typeof window?document.body:void 0),s=(0,n.useMemo)((()=>{const t=null==a?void 0:a.ownerDocument.createElement("div");return t&&(t.className=Ki),t}),[a]),[,u]=(0,n.useState)({});return ct((()=>u({})),[]),ct((()=>{if(s&&o)return o.appendChild(s),()=>{o.removeChild(s)}}),[s,o]),o&&s?(0,Wi.createPortal)(n.createElement(qi,{value:i?s:null},e),s):null};function ta(t){const{containerRef:e,...r}=t;return e?n.createElement(Ji,{containerRef:e,...r}):n.createElement(Qi,{...r})}ta.defaultProps={appendToParentPortal:!0},ta.className=Ki,ta.selector=".chakra-portal",ta.displayName="Portal";var ea={body:{classList:{add(){},remove(){}}},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]})},na=()=>{},ra={document:ea,navigator:{userAgent:""},CustomEvent:function(){return this},addEventListener:na,removeEventListener:na,getComputedStyle:()=>({getPropertyValue:()=>""}),matchMedia:()=>({matches:!1,addListener:na,removeListener:na}),requestAnimationFrame:t=>"undefined"==typeof setTimeout?(t(),null):setTimeout(t,0),cancelAnimationFrame(t){"undefined"!=typeof setTimeout&&clearTimeout(t)},setTimeout:()=>0,clearTimeout:na,setInterval:()=>0,clearInterval:na},ia="undefined"!=typeof window?{window,document}:{window:ra,document:ea},aa=(0,n.createContext)(ia);function oa(t){const{children:e,environment:r}=t,[i,a]=(0,n.useState)(null),[o,s]=(0,n.useState)(!1);(0,n.useEffect)((()=>s(!0)),[]);const u=(0,n.useMemo)((()=>{if(r)return r;const t=null==i?void 0:i.ownerDocument,e=null==i?void 0:i.ownerDocument.defaultView;return t?{document:t,window:e}:ia}),[i,r]);return n.createElement(aa.Provider,{value:u},e,!r&&o&&n.createElement("span",{id:"__chakra_env",hidden:!0,ref:t=>{(0,n.startTransition)((()=>{t&&a(t)}))}}))}aa.displayName="EnvironmentContext",oa.displayName="EnvironmentProvider";var sa=t=>{const{children:e,colorModeManager:r,portalZIndex:i,resetCSS:a=!0,theme:o={},environment:s,cssVarsRoot:u}=t,c=n.createElement(oa,{environment:s},e);return n.createElement(vr,{theme:o,cssVarsRoot:u},n.createElement(xt,{colorModeManager:r,options:o.config},a?n.createElement(Hi,null):n.createElement(Vi,null),n.createElement(xr,null),i?n.createElement(Xi,{zIndex:i},c):c))};function ua(t,e={}){let n=!1;function r(e){const n=`chakra-${(["container","root"].includes(e??"")?[t]:[t,e]).filter(Boolean).join("__")}`;return{className:n,selector:`.${n}`,toString:()=>e}}return{parts:function(...i){!function(){if(n)throw new Error("[anatomy] .part(...) should only be called once. Did you mean to use .extend(...) ?");n=!0}();for(const t of i)e[t]=r(t);return ua(t,e)},toPart:r,extend:function(...n){for(const t of n)t in e||(e[t]=r(t));return ua(t,e)},selectors:function(){const t=Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.selector])));return t},classnames:function(){const t=Object.fromEntries(Object.entries(e).map((([t,e])=>[t,e.className])));return t},get keys(){return Object.keys(e)},__type:{}}}var ca=ua("accordion").parts("root","container","button","panel").extend("icon"),la=ua("alert").parts("title","description","container").extend("icon","spinner"),ha=ua("avatar").parts("label","badge","container").extend("excessLabel","group"),fa=ua("breadcrumb").parts("link","item","container").extend("separator"),da=(ua("button").parts(),ua("checkbox").parts("control","icon","container").extend("label")),pa=(ua("progress").parts("track","filledTrack").extend("label"),ua("drawer").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer")),ga=ua("editable").parts("preview","input","textarea"),ba=ua("form").parts("container","requiredIndicator","helperText"),va=ua("formError").parts("text","icon"),ma=ua("input").parts("addon","field","element"),ya=ua("list").parts("container","item","icon"),wa=ua("menu").parts("button","list","item").extend("groupTitle","command","divider"),xa=ua("modal").parts("overlay","dialogContainer","dialog").extend("header","closeButton","body","footer"),_a=ua("numberinput").parts("root","field","stepperGroup","stepper"),Sa=(ua("pininput").parts("field"),ua("popover").parts("content","header","body","footer").extend("popper","arrow","closeButton")),ka=ua("progress").parts("label","filledTrack","track"),Ia=ua("radio").parts("container","control","label"),Ma=ua("select").parts("field","icon"),Ca=ua("slider").parts("container","track","thumb","filledTrack","mark"),Ta=ua("stat").parts("container","label","helpText","number","icon"),Aa=ua("switch").parts("container","track","thumb"),Ea=ua("table").parts("table","thead","tbody","tr","th","td","tfoot","caption"),Pa=ua("tabs").parts("root","tab","tablist","tabpanel","tabpanels","indicator"),Da=ua("tag").parts("container","label","closeButton"),Oa=ua("card").parts("container","header","body","footer");function La(t,e,n){return Math.min(Math.max(t,n),e)}class Ra extends Error{constructor(t){super(`Failed to parse color: "${t}"`)}}var Na=Ra;function ja(t){if("string"!=typeof t)throw new Na(t);if("transparent"===t.trim().toLowerCase())return[0,0,0,0];let e=t.trim();e=Ga.test(t)?function(t){const e=t.toLowerCase().trim(),n=Ba[function(t){let e=5381,n=t.length;for(;n;)e=33*e^t.charCodeAt(--n);return(e>>>0)%2341}(e)];if(!n)throw new Na(t);return`#${n}`}(t):t;const n=$a.exec(e);if(n){const t=Array.from(n).slice(1);return[...t.slice(0,3).map((t=>parseInt(za(t,2),16))),parseInt(za(t[3]||"f",2),16)/255]}const r=Va.exec(e);if(r){const t=Array.from(r).slice(1);return[...t.slice(0,3).map((t=>parseInt(t,16))),parseInt(t[3]||"ff",16)/255]}const i=Ha.exec(e);if(i){const t=Array.from(i).slice(1);return[...t.slice(0,3).map((t=>parseInt(t,10))),parseFloat(t[3]||"1")]}const a=Wa.exec(e);if(a){const[e,n,r,i]=Array.from(a).slice(1).map(parseFloat);if(La(0,100,n)!==n)throw new Na(t);if(La(0,100,r)!==r)throw new Na(t);return[...Xa(e,n,r),Number.isNaN(i)?1:i]}throw new Na(t)}const Fa=t=>parseInt(t.replace(/_/g,""),36),Ba="1q29ehhb 1n09sgk7 1kl1ekf_ _yl4zsno 16z9eiv3 1p29lhp8 _bd9zg04 17u0____ _iw9zhe5 _to73___ _r45e31e _7l6g016 _jh8ouiv _zn3qba8 1jy4zshs 11u87k0u 1ro9yvyo 1aj3xael 1gz9zjz0 _3w8l4xo 1bf1ekf_ _ke3v___ _4rrkb__ 13j776yz _646mbhl _nrjr4__ _le6mbhl 1n37ehkb _m75f91n _qj3bzfz 1939yygw 11i5z6x8 _1k5f8xs 1509441m 15t5lwgf _ae2th1n _tg1ugcv 1lp1ugcv 16e14up_ _h55rw7n _ny9yavn _7a11xb_ 1ih442g9 _pv442g9 1mv16xof 14e6y7tu 1oo9zkds 17d1cisi _4v9y70f _y98m8kc 1019pq0v 12o9zda8 _348j4f4 1et50i2o _8epa8__ _ts6senj 1o350i2o 1mi9eiuo 1259yrp0 1ln80gnw _632xcoy 1cn9zldc _f29edu4 1n490c8q _9f9ziet 1b94vk74 _m49zkct 1kz6s73a 1eu9dtog _q58s1rz 1dy9sjiq __u89jo3 _aj5nkwg _ld89jo3 13h9z6wx _qa9z2ii _l119xgq _bs5arju 1hj4nwk9 1qt4nwk9 1ge6wau6 14j9zlcw 11p1edc_ _ms1zcxe _439shk6 _jt9y70f _754zsow 1la40eju _oq5p___ _x279qkz 1fa5r3rv _yd2d9ip _424tcku _8y1di2_ _zi2uabw _yy7rn9h 12yz980_ __39ljp6 1b59zg0x _n39zfzp 1fy9zest _b33k___ _hp9wq92 1il50hz4 _io472ub _lj9z3eo 19z9ykg0 _8t8iu3a 12b9bl4a 1ak5yw0o _896v4ku _tb8k8lv _s59zi6t _c09ze0p 1lg80oqn 1id9z8wb _238nba5 1kq6wgdi _154zssg _tn3zk49 _da9y6tc 1sg7cv4f _r12jvtt 1gq5fmkz 1cs9rvci _lp9jn1c _xw1tdnb 13f9zje6 16f6973h _vo7ir40 _bt5arjf _rc45e4t _hr4e100 10v4e100 _hc9zke2 _w91egv_ _sj2r1kk 13c87yx8 _vqpds__ _ni8ggk8 _tj9yqfb 1ia2j4r4 _7x9b10u 1fc9ld4j 1eq9zldr _5j9lhpx _ez9zl6o _md61fzm".split(" ").reduce(((t,e)=>{const n=Fa(e.substring(0,3)),r=Fa(e.substring(3)).toString(16);let i="";for(let t=0;t<6-r.length;t++)i+="0";return t[n]=`${i}${r}`,t}),{});const za=(t,e)=>Array.from(Array(e)).map((()=>t)).join(""),$a=new RegExp(`^#${za("([a-f0-9])",3)}([a-f0-9])?$`,"i"),Va=new RegExp(`^#${za("([a-f0-9]{2})",3)}([a-f0-9]{2})?$`,"i"),Ha=new RegExp(`^rgba?\\(\\s*(\\d+)\\s*${za(",\\s*(\\d+)\\s*",2)}(?:,\\s*([\\d.]+))?\\s*\\)$`,"i"),Wa=/^hsla?\(\s*([\d.]+)\s*,\s*([\d.]+)%\s*,\s*([\d.]+)%(?:\s*,\s*([\d.]+))?\s*\)$/i,Ga=/^[a-z]+$/i,Ua=t=>Math.round(255*t),Xa=(t,e,n)=>{let r=n/100;if(0===e)return[r,r,r].map(Ua);const i=(t%360+360)%360/60,a=(1-Math.abs(2*r-1))*(e/100),o=a*(1-Math.abs(i%2-1));let s=0,u=0,c=0;i>=0&&i<1?(s=a,u=o):i>=1&&i<2?(s=o,u=a):i>=2&&i<3?(u=a,c=o):i>=3&&i<4?(u=o,c=a):i>=4&&i<5?(s=o,c=a):i>=5&&i<6&&(s=a,c=o);const l=r-a/2;return[s+l,u+l,c+l].map(Ua)};function qa(t,e,n,r){return`rgba(${La(0,255,t).toFixed()}, ${La(0,255,e).toFixed()}, ${La(0,255,n).toFixed()}, ${parseFloat(La(0,1,r).toFixed(3))})`}function Ya(t,e){const[n,r,i,a]=ja(t);return qa(n,r,i,a-e)}var Ka=(t,e,n)=>{const r=function(t,e,n,r,i){for(e=e.split?e.split("."):e,r=0;r<e.length;r++)t=t?t[e[r]]:i;return t===i?n:t}(t,`colors.${e}`,e);try{return function(t){const[e,n,r,i]=ja(t);let a=t=>{const e=La(0,255,t).toString(16);return 1===e.length?`0${e}`:e};a(e),a(n),a(r),i<1&&a(Math.round(255*i))}(r),r}catch{return n??"#000000"}},Za=t=>e=>{const n=(t=>{const[e,n,r]=ja(t);return(299*e+587*n+114*r)/1e3})(Ka(e,t));return n<128?"dark":"light"},Qa=(t,e)=>n=>Ya(Ka(n,t),1-e);function Ja(t="1rem",e="rgba(255, 255, 255, 0.15)"){return{backgroundImage:`linear-gradient(\n 45deg,\n ${e} 25%,\n transparent 25%,\n transparent 50%,\n ${e} 50%,\n ${e} 75%,\n transparent 75%,\n transparent\n )`,backgroundSize:`${t} ${t}`}}function to(t){const e=`#${Math.floor(16777215*Math.random()).toString(16).padEnd(6,"0")}`;return t&&(n=t,0!==Object.keys(n).length)?t.string&&t.colors?function(t,e){let n=0;if(0===t.length)return e[0];for(let e=0;e<t.length;e+=1)n=t.charCodeAt(e)+((n<<5)-n),n&=n;return n=(n%e.length+e.length)%e.length,e[n]}(t.string,t.colors):t.string&&!t.colors?function(t){let e=0;if(0===t.length)return e.toString();for(let n=0;n<t.length;n+=1)e=t.charCodeAt(n)+((e<<5)-e),e&=e;let n="#";for(let t=0;t<3;t+=1){n+=`00${(e>>8*t&255).toString(16)}`.substr(-2)}return n}(t.string):t.colors&&!t.string?function(t){return t[Math.floor(Math.random()*t.length)]}(t.colors):e:e;var n}function eo(t,e){return n=>"dark"===n.colorMode?e:t}function no(t){const{orientation:e,vertical:n,horizontal:r}=t;return e?"vertical"===e?n:r:{}}function ro(t){return function(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Array.isArray(t)}(t)&&t.reference?t.reference:String(t)}var io=(t,...e)=>e.map(ro).join(` ${t} `).replace(/calc/g,""),ao=(...t)=>`calc(${io("+",...t)})`,oo=(...t)=>`calc(${io("-",...t)})`,so=(...t)=>`calc(${io("*",...t)})`,uo=(...t)=>`calc(${io("/",...t)})`,co=t=>{const e=ro(t);return null==e||Number.isNaN(parseFloat(e))?so(e,-1):String(e).startsWith("-")?String(e).slice(1):`-${e}`},lo=Object.assign((t=>({add:(...e)=>lo(ao(t,...e)),subtract:(...e)=>lo(oo(t,...e)),multiply:(...e)=>lo(so(t,...e)),divide:(...e)=>lo(uo(t,...e)),negate:()=>lo(co(t)),toString:()=>t.toString()})),{add:ao,subtract:oo,multiply:so,divide:uo,negate:co});function ho(t){const e=function(t,e="-"){return t.replace(/\s+/g,e)}(t.toString());return e.includes("\\.")?t:function(t){return!Number.isInteger(parseFloat(t.toString()))}(t)?e.replace(".","\\."):t}function fo(t,e){return`var(${ho(t)}${e?`, ${e}`:""})`}function po(t,e=""){return`--${function(t,e=""){return[e,ho(t)].filter(Boolean).join("-")}(t,e)}`}function go(t,e){const n=po(t,null==e?void 0:e.prefix);return{variable:n,reference:fo(n,bo(null==e?void 0:e.fallback))}}function bo(t){return"string"==typeof t?t:null==t?void 0:t.reference}var{definePartsStyle:vo,defineMultiStyleConfig:mo}=Dn(ca.keys),yo=mo({baseStyle:vo({container:{borderTopWidth:"1px",borderColor:"inherit",_last:{borderBottomWidth:"1px"}},button:{transitionProperty:"common",transitionDuration:"normal",fontSize:"md",_focusVisible:{boxShadow:"outline"},_hover:{bg:"blackAlpha.50"},_disabled:{opacity:.4,cursor:"not-allowed"},px:"4",py:"2"},panel:{pt:"2",px:"4",pb:"5"},icon:{fontSize:"1.25em"}})}),{definePartsStyle:wo,defineMultiStyleConfig:xo}=Dn(la.keys),_o=Ye("alert-fg"),So=Ye("alert-bg"),ko=wo({container:{bg:So.reference,px:"4",py:"3"},title:{fontWeight:"bold",lineHeight:"6",marginEnd:"2"},description:{lineHeight:"6"},icon:{color:_o.reference,flexShrink:0,marginEnd:"3",w:"5",h:"6"},spinner:{color:_o.reference,flexShrink:0,marginEnd:"3",w:"5",h:"5"}});function Io(t){const{theme:e,colorScheme:n}=t;return{light:`colors.${n}.100`,dark:Qa(`${n}.200`,.16)(e)}}var Mo=wo((t=>{const{colorScheme:e}=t,n=Io(t);return{container:{[_o.variable]:`colors.${e}.500`,[So.variable]:n.light,_dark:{[_o.variable]:`colors.${e}.200`,[So.variable]:n.dark}}}})),Co=wo((t=>{const{colorScheme:e}=t,n=Io(t);return{container:{[_o.variable]:`colors.${e}.500`,[So.variable]:n.light,_dark:{[_o.variable]:`colors.${e}.200`,[So.variable]:n.dark},paddingStart:"3",borderStartWidth:"4px",borderStartColor:_o.reference}}})),To=wo((t=>{const{colorScheme:e}=t,n=Io(t);return{container:{[_o.variable]:`colors.${e}.500`,[So.variable]:n.light,_dark:{[_o.variable]:`colors.${e}.200`,[So.variable]:n.dark},pt:"2",borderTopWidth:"4px",borderTopColor:_o.reference}}})),Ao=wo((t=>{const{colorScheme:e}=t;return{container:{[_o.variable]:"colors.white",[So.variable]:`colors.${e}.500`,_dark:{[_o.variable]:"colors.gray.900",[So.variable]:`colors.${e}.200`},color:_o.reference}}})),Eo=xo({baseStyle:ko,variants:{subtle:Mo,"left-accent":Co,"top-accent":To,solid:Ao},defaultProps:{variant:"subtle",colorScheme:"blue"}}),Po={px:"1px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Do={...Po,max:"max-content",min:"min-content",full:"100%","3xs":"14rem","2xs":"16rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem","8xl":"90rem",prose:"60ch",container:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px"}};function Oo(t,...e){return"function"==typeof t?t(...e):t}var{definePartsStyle:Lo,defineMultiStyleConfig:Ro}=Dn(ha.keys),No=Ye("avatar-border-color"),jo=Ye("avatar-bg"),Fo={borderRadius:"full",border:"0.2em solid",[No.variable]:"white",_dark:{[No.variable]:"colors.gray.800"},borderColor:No.reference},Bo={[jo.variable]:"colors.gray.200",_dark:{[jo.variable]:"colors.whiteAlpha.400"},bgColor:jo.reference},zo=Ye("avatar-background"),$o=t=>{const{name:e,theme:n}=t,r=e?to({string:e}):"colors.gray.400",i=(t=>e=>"dark"===Za(t)(e))(r)(n);let a="white";return i||(a="gray.800"),{bg:zo.reference,"&:not([data-loaded])":{[zo.variable]:r},color:a,[No.variable]:"colors.white",_dark:{[No.variable]:"colors.gray.800"},borderColor:No.reference,verticalAlign:"top"}};function Vo(t){const e="100%"!==t?Do[t]:void 0;return Lo({container:{width:t,height:t,fontSize:`calc(${e??t} / 2.5)`},excessLabel:{width:t,height:t},label:{fontSize:`calc(${e??t} / 2.5)`,lineHeight:"100%"!==t?e??t:void 0}})}var Ho=Ro({baseStyle:Lo((t=>({badge:Oo(Fo,t),excessLabel:Oo(Bo,t),container:Oo($o,t)}))),sizes:{"2xs":Vo(4),xs:Vo(6),sm:Vo(8),md:Vo(12),lg:Vo(16),xl:Vo(24),"2xl":Vo(32),full:Vo("100%")},defaultProps:{size:"md"}}),Wo={px:1,textTransform:"uppercase",fontSize:"xs",borderRadius:"sm",fontWeight:"bold"},Go=Ye("badge-bg"),Uo=Ye("badge-color"),Xo=t=>{const{colorScheme:e,theme:n}=t,r=Qa(`${e}.500`,.6)(n);return{[Go.variable]:`colors.${e}.500`,[Uo.variable]:"colors.white",_dark:{[Go.variable]:r,[Uo.variable]:"colors.whiteAlpha.800"},bg:Go.reference,color:Uo.reference}},qo=t=>{const{colorScheme:e,theme:n}=t,r=Qa(`${e}.200`,.16)(n);return{[Go.variable]:`colors.${e}.100`,[Uo.variable]:`colors.${e}.800`,_dark:{[Go.variable]:r,[Uo.variable]:`colors.${e}.200`},bg:Go.reference,color:Uo.reference}},Yo=t=>{const{colorScheme:e,theme:n}=t,r=Qa(`${e}.200`,.8)(n);return{[Uo.variable]:`colors.${e}.500`,_dark:{[Uo.variable]:r},color:Uo.reference,boxShadow:`inset 0 0 0px 1px ${Uo.reference}`}},Ko={baseStyle:Wo,variants:{solid:Xo,subtle:qo,outline:Yo},defaultProps:{variant:"subtle",colorScheme:"gray"}},{defineMultiStyleConfig:Zo,definePartsStyle:Qo}=Dn(fa.keys),Jo=Zo({baseStyle:Qo({link:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}})}),ts=t=>{const{colorScheme:e,theme:n}=t;if("gray"===e)return{color:eo("inherit","whiteAlpha.900")(t),_hover:{bg:eo("gray.100","whiteAlpha.200")(t)},_active:{bg:eo("gray.200","whiteAlpha.300")(t)}};const r=Qa(`${e}.200`,.12)(n),i=Qa(`${e}.200`,.24)(n);return{color:eo(`${e}.600`,`${e}.200`)(t),bg:"transparent",_hover:{bg:eo(`${e}.50`,r)(t)},_active:{bg:eo(`${e}.100`,i)(t)}}},es=t=>{const{colorScheme:e}=t,n=eo("gray.200","whiteAlpha.300")(t);return{border:"1px solid",borderColor:"gray"===e?n:"currentColor",".chakra-button__group[data-attached][data-orientation=horizontal] > &:not(:last-of-type)":{marginEnd:"-1px"},".chakra-button__group[data-attached][data-orientation=vertical] > &:not(:last-of-type)":{marginBottom:"-1px"},...Oo(ts,t)}},ns={yellow:{bg:"yellow.400",color:"black",hoverBg:"yellow.500",activeBg:"yellow.600"},cyan:{bg:"cyan.400",color:"black",hoverBg:"cyan.500",activeBg:"cyan.600"}},rs=t=>{const{colorScheme:e}=t;if("gray"===e){const e=eo("gray.100","whiteAlpha.200")(t);return{bg:e,_hover:{bg:eo("gray.200","whiteAlpha.300")(t),_disabled:{bg:e}},_active:{bg:eo("gray.300","whiteAlpha.400")(t)}}}const{bg:n=`${e}.500`,color:r="white",hoverBg:i=`${e}.600`,activeBg:a=`${e}.700`}=ns[e]??{},o=eo(n,`${e}.200`)(t);return{bg:o,color:eo(r,"gray.800")(t),_hover:{bg:eo(i,`${e}.300`)(t),_disabled:{bg:o}},_active:{bg:eo(a,`${e}.400`)(t)}}},is=t=>{const{colorScheme:e}=t;return{padding:0,height:"auto",lineHeight:"normal",verticalAlign:"baseline",color:eo(`${e}.500`,`${e}.200`)(t),_hover:{textDecoration:"underline",_disabled:{textDecoration:"none"}},_active:{color:eo(`${e}.700`,`${e}.500`)(t)}}},as={baseStyle:{lineHeight:"1.2",borderRadius:"md",fontWeight:"semibold",transitionProperty:"common",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{_disabled:{bg:"initial"}}},variants:{ghost:ts,outline:es,solid:rs,link:is,unstyled:{bg:"none",color:"inherit",display:"inline",lineHeight:"inherit",m:"0",p:"0"}},sizes:{lg:{h:"12",minW:"12",fontSize:"lg",px:"6"},md:{h:"10",minW:"10",fontSize:"md",px:"4"},sm:{h:"8",minW:"8",fontSize:"sm",px:"3"},xs:{h:"6",minW:"6",fontSize:"xs",px:"2"}},defaultProps:{variant:"solid",size:"md",colorScheme:"gray"}},{definePartsStyle:os,defineMultiStyleConfig:ss}=Dn(Oa.keys),us=Ye("card-bg"),cs=Ye("card-padding"),ls=os({container:{[us.variable]:"chakra-body-bg",backgroundColor:us.reference,color:"chakra-body-text"},body:{padding:cs.reference,flex:"1 1 0%"},header:{padding:cs.reference},footer:{padding:cs.reference}}),hs={sm:os({container:{borderRadius:"base",[cs.variable]:"space.3"}}),md:os({container:{borderRadius:"md",[cs.variable]:"space.5"}}),lg:os({container:{borderRadius:"xl",[cs.variable]:"space.7"}})},fs=ss({baseStyle:ls,variants:{elevated:os({container:{boxShadow:"base",_dark:{[us.variable]:"colors.gray.700"}}}),outline:os({container:{borderWidth:"1px",borderColor:"chakra-border-color"}}),filled:os({container:{[us.variable]:"colors.chakra-subtle-bg"}}),unstyled:{body:{padding:0},header:{padding:0},footer:{padding:0}}},sizes:hs,defaultProps:{variant:"elevated",size:"md"}}),{definePartsStyle:ds,defineMultiStyleConfig:ps}=Dn(da.keys),gs=Ye("checkbox-size"),bs=t=>{const{colorScheme:e}=t;return{w:gs.reference,h:gs.reference,transitionProperty:"box-shadow",transitionDuration:"normal",border:"2px solid",borderRadius:"sm",borderColor:"inherit",color:"white",_checked:{bg:eo(`${e}.500`,`${e}.200`)(t),borderColor:eo(`${e}.500`,`${e}.200`)(t),color:eo("white","gray.900")(t),_hover:{bg:eo(`${e}.600`,`${e}.300`)(t),borderColor:eo(`${e}.600`,`${e}.300`)(t)},_disabled:{borderColor:eo("gray.200","transparent")(t),bg:eo("gray.200","whiteAlpha.300")(t),color:eo("gray.500","whiteAlpha.500")(t)}},_indeterminate:{bg:eo(`${e}.500`,`${e}.200`)(t),borderColor:eo(`${e}.500`,`${e}.200`)(t),color:eo("white","gray.900")(t)},_disabled:{bg:eo("gray.100","whiteAlpha.100")(t),borderColor:eo("gray.100","transparent")(t)},_focusVisible:{boxShadow:"outline"},_invalid:{borderColor:eo("red.500","red.300")(t)}}},vs={_disabled:{cursor:"not-allowed"}},ms={userSelect:"none",_disabled:{opacity:.4}},ys={transitionProperty:"transform",transitionDuration:"normal"},ws=ps({baseStyle:ds((t=>({icon:ys,container:vs,control:Oo(bs,t),label:ms}))),sizes:{sm:ds({control:{[gs.variable]:"sizes.3"},label:{fontSize:"sm"},icon:{fontSize:"3xs"}}),md:ds({control:{[gs.variable]:"sizes.4"},label:{fontSize:"md"},icon:{fontSize:"2xs"}}),lg:ds({control:{[gs.variable]:"sizes.5"},label:{fontSize:"lg"},icon:{fontSize:"2xs"}})},defaultProps:{size:"md",colorScheme:"blue"}}),xs=go("close-button-size"),_s=go("close-button-bg"),Ss={baseStyle:{w:[xs.reference],h:[xs.reference],borderRadius:"md",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed",boxShadow:"none"},_hover:{[_s.variable]:"colors.blackAlpha.100",_dark:{[_s.variable]:"colors.whiteAlpha.100"}},_active:{[_s.variable]:"colors.blackAlpha.200",_dark:{[_s.variable]:"colors.whiteAlpha.200"}},_focusVisible:{boxShadow:"outline"},bg:_s.reference},sizes:{lg:{[xs.variable]:"sizes.10",fontSize:"md"},md:{[xs.variable]:"sizes.8",fontSize:"xs"},sm:{[xs.variable]:"sizes.6",fontSize:"2xs"}},defaultProps:{size:"md"}},{variants:ks,defaultProps:Is}=Ko,Ms={baseStyle:{fontFamily:"mono",fontSize:"sm",px:"0.2em",borderRadius:"sm"},variants:ks,defaultProps:Is},Cs={baseStyle:{w:"100%",mx:"auto",maxW:"prose",px:"4"}},Ts={baseStyle:{opacity:.6,borderColor:"inherit"},variants:{solid:{borderStyle:"solid"},dashed:{borderStyle:"dashed"}},defaultProps:{variant:"solid"}},{definePartsStyle:As,defineMultiStyleConfig:Es}=Dn(pa.keys),Ps=Ye("drawer-bg"),Ds=Ye("drawer-box-shadow");function Os(t){return As("full"===t?{dialog:{maxW:"100vw",h:"100vh"}}:{dialog:{maxW:t}})}var Ls={bg:"blackAlpha.600",zIndex:"overlay"},Rs={display:"flex",zIndex:"modal",justifyContent:"center"},Ns=t=>{const{isFullHeight:e}=t;return{...e&&{height:"100vh"},zIndex:"modal",maxH:"100vh",color:"inherit",[Ps.variable]:"colors.white",[Ds.variable]:"shadows.lg",_dark:{[Ps.variable]:"colors.gray.700",[Ds.variable]:"shadows.dark-lg"},bg:Ps.reference,boxShadow:Ds.reference}},js={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Fs={position:"absolute",top:"2",insetEnd:"3"},Bs={px:"6",py:"2",flex:"1",overflow:"auto"},zs={px:"6",py:"4"},$s=Es({baseStyle:As((t=>({overlay:Ls,dialogContainer:Rs,dialog:Oo(Ns,t),header:js,closeButton:Fs,body:Bs,footer:zs}))),sizes:{xs:Os("xs"),sm:Os("md"),md:Os("lg"),lg:Os("2xl"),xl:Os("4xl"),full:Os("full")},defaultProps:{size:"xs"}}),{definePartsStyle:Vs,defineMultiStyleConfig:Hs}=Dn(ga.keys),Ws=Hs({baseStyle:Vs({preview:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal"},input:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}},textarea:{borderRadius:"md",py:"1",transitionProperty:"common",transitionDuration:"normal",width:"full",_focusVisible:{boxShadow:"outline"},_placeholder:{opacity:.6}}})}),{definePartsStyle:Gs,defineMultiStyleConfig:Us}=Dn(ba.keys),Xs=Ye("form-control-color"),qs=Us({baseStyle:Gs({container:{width:"100%",position:"relative"},requiredIndicator:{marginStart:"1",[Xs.variable]:"colors.red.500",_dark:{[Xs.variable]:"colors.red.300"},color:Xs.reference},helperText:{mt:"2",[Xs.variable]:"colors.gray.600",_dark:{[Xs.variable]:"colors.whiteAlpha.600"},color:Xs.reference,lineHeight:"normal",fontSize:"sm"}})}),{definePartsStyle:Ys,defineMultiStyleConfig:Ks}=Dn(va.keys),Zs=Ye("form-error-color"),Qs=Ks({baseStyle:Ys({text:{[Zs.variable]:"colors.red.500",_dark:{[Zs.variable]:"colors.red.300"},color:Zs.reference,mt:"2",fontSize:"sm",lineHeight:"normal"},icon:{marginEnd:"0.5em",[Zs.variable]:"colors.red.500",_dark:{[Zs.variable]:"colors.red.300"},color:Zs.reference}})}),Js={baseStyle:{fontSize:"md",marginEnd:"3",mb:"2",fontWeight:"medium",transitionProperty:"common",transitionDuration:"normal",opacity:1,_disabled:{opacity:.4}}},tu={baseStyle:{fontFamily:"heading",fontWeight:"bold"},sizes:{"4xl":{fontSize:["6xl",null,"7xl"],lineHeight:1},"3xl":{fontSize:["5xl",null,"6xl"],lineHeight:1},"2xl":{fontSize:["4xl",null,"5xl"],lineHeight:[1.2,null,1]},xl:{fontSize:["3xl",null,"4xl"],lineHeight:[1.33,null,1.2]},lg:{fontSize:["2xl",null,"3xl"],lineHeight:[1.33,null,1.2]},md:{fontSize:"xl",lineHeight:1.2},sm:{fontSize:"md",lineHeight:1.2},xs:{fontSize:"sm",lineHeight:1.2}},defaultProps:{size:"xl"}},{definePartsStyle:eu,defineMultiStyleConfig:nu}=Dn(ma.keys),ru={lg:{fontSize:"lg",px:"4",h:"12",borderRadius:"md"},md:{fontSize:"md",px:"4",h:"10",borderRadius:"md"},sm:{fontSize:"sm",px:"3",h:"8",borderRadius:"sm"},xs:{fontSize:"xs",px:"2",h:"6",borderRadius:"sm"}};function iu(t){const{focusBorderColor:e,errorBorderColor:n}=t;return{focusBorderColor:e||eo("blue.500","blue.300")(t),errorBorderColor:n||eo("red.500","red.300")(t)}}var au=nu({baseStyle:eu({field:{width:"100%",minWidth:0,outline:0,position:"relative",appearance:"none",transitionProperty:"common",transitionDuration:"normal",_disabled:{opacity:.4,cursor:"not-allowed"}}}),sizes:{lg:eu({field:ru.lg,addon:ru.lg}),md:eu({field:ru.md,addon:ru.md}),sm:eu({field:ru.sm,addon:ru.sm}),xs:eu({field:ru.xs,addon:ru.xs})},variants:{outline:eu((t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=iu(t);return{field:{border:"1px solid",borderColor:"inherit",bg:"inherit",_hover:{borderColor:eo("gray.300","whiteAlpha.400")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ka(e,r),boxShadow:`0 0 0 1px ${Ka(e,r)}`},_focusVisible:{zIndex:1,borderColor:Ka(e,n),boxShadow:`0 0 0 1px ${Ka(e,n)}`}},addon:{border:"1px solid",borderColor:eo("inherit","whiteAlpha.50")(t),bg:eo("gray.100","whiteAlpha.300")(t)}}})),filled:eu((t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=iu(t);return{field:{border:"2px solid",borderColor:"transparent",bg:eo("gray.100","whiteAlpha.50")(t),_hover:{bg:eo("gray.200","whiteAlpha.100")(t)},_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ka(e,r)},_focusVisible:{bg:"transparent",borderColor:Ka(e,n)}},addon:{border:"2px solid",borderColor:"transparent",bg:eo("gray.100","whiteAlpha.50")(t)}}})),flushed:eu((t=>{const{theme:e}=t,{focusBorderColor:n,errorBorderColor:r}=iu(t);return{field:{borderBottom:"1px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent",_readOnly:{boxShadow:"none !important",userSelect:"all"},_invalid:{borderColor:Ka(e,r),boxShadow:`0px 1px 0px 0px ${Ka(e,r)}`},_focusVisible:{borderColor:Ka(e,n),boxShadow:`0px 1px 0px 0px ${Ka(e,n)}`}},addon:{borderBottom:"2px solid",borderColor:"inherit",borderRadius:"0",px:"0",bg:"transparent"}}})),unstyled:eu({field:{bg:"transparent",px:"0",height:"auto"},addon:{bg:"transparent",px:"0",height:"auto"}})},defaultProps:{size:"md",variant:"outline"}}),ou=Ye("kbd-bg"),su={baseStyle:{[ou.variable]:"colors.gray.100",_dark:{[ou.variable]:"colors.whiteAlpha.100"},bg:ou.reference,borderRadius:"md",borderWidth:"1px",borderBottomWidth:"3px",fontSize:"0.8em",fontWeight:"bold",lineHeight:"normal",px:"0.4em",whiteSpace:"nowrap"}},uu={baseStyle:{transitionProperty:"common",transitionDuration:"fast",transitionTimingFunction:"ease-out",cursor:"pointer",textDecoration:"none",outline:"none",color:"inherit",_hover:{textDecoration:"underline"},_focusVisible:{boxShadow:"outline"}}},{defineMultiStyleConfig:cu,definePartsStyle:lu}=Dn(ya.keys),hu=cu({baseStyle:lu({icon:{marginEnd:"2",display:"inline",verticalAlign:"text-bottom"}})}),{defineMultiStyleConfig:fu,definePartsStyle:du}=Dn(wa.keys),pu=Ye("menu-bg"),gu=Ye("menu-shadow"),bu=fu({baseStyle:du({button:{transitionProperty:"common",transitionDuration:"normal"},list:{[pu.variable]:"#fff",[gu.variable]:"shadows.sm",_dark:{[pu.variable]:"colors.gray.700",[gu.variable]:"shadows.dark-lg"},color:"inherit",minW:"3xs",py:"2",zIndex:1,borderRadius:"md",borderWidth:"1px",bg:pu.reference,boxShadow:gu.reference},item:{py:"1.5",px:"3",transitionProperty:"background",transitionDuration:"ultra-fast",transitionTimingFunction:"ease-in",_focus:{[pu.variable]:"colors.gray.100",_dark:{[pu.variable]:"colors.whiteAlpha.100"}},_active:{[pu.variable]:"colors.gray.200",_dark:{[pu.variable]:"colors.whiteAlpha.200"}},_expanded:{[pu.variable]:"colors.gray.100",_dark:{[pu.variable]:"colors.whiteAlpha.100"}},_disabled:{opacity:.4,cursor:"not-allowed"},bg:pu.reference},groupTitle:{mx:4,my:2,fontWeight:"semibold",fontSize:"sm"},command:{opacity:.6},divider:{border:0,borderBottom:"1px solid",borderColor:"inherit",my:"2",opacity:.6}})}),{defineMultiStyleConfig:vu,definePartsStyle:mu}=Dn(xa.keys),yu={bg:"blackAlpha.600",zIndex:"modal"},wu=t=>{const{isCentered:e,scrollBehavior:n}=t;return{display:"flex",zIndex:"modal",justifyContent:"center",alignItems:e?"center":"flex-start",overflow:"inside"===n?"hidden":"auto",overscrollBehaviorY:"none"}},xu=t=>{const{scrollBehavior:e}=t;return{borderRadius:"md",bg:eo("white","gray.700")(t),color:"inherit",my:"16",zIndex:"modal",maxH:"inside"===e?"calc(100% - 7.5rem)":void 0,boxShadow:eo("lg","dark-lg")(t)}},_u={px:"6",py:"4",fontSize:"xl",fontWeight:"semibold"},Su={position:"absolute",top:"2",insetEnd:"3"},ku=t=>{const{scrollBehavior:e}=t;return{px:"6",py:"2",flex:"1",overflow:"inside"===e?"auto":void 0}},Iu={px:"6",py:"4"};function Mu(t){return mu("full"===t?{dialog:{maxW:"100vw",minH:"$100vh",my:"0",borderRadius:"0"}}:{dialog:{maxW:t}})}var Cu=vu({baseStyle:mu((t=>({overlay:yu,dialogContainer:Oo(wu,t),dialog:Oo(xu,t),header:_u,closeButton:Su,body:Oo(ku,t),footer:Iu}))),sizes:{xs:Mu("xs"),sm:Mu("sm"),md:Mu("md"),lg:Mu("lg"),xl:Mu("xl"),"2xl":Mu("2xl"),"3xl":Mu("3xl"),"4xl":Mu("4xl"),"5xl":Mu("5xl"),"6xl":Mu("6xl"),full:Mu("full")},defaultProps:{size:"md"}}),Tu={letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{normal:"normal",none:1,shorter:1.25,short:1.375,base:1.5,tall:1.625,taller:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},fontWeights:{hairline:100,thin:200,light:300,normal:400,medium:500,semibold:600,bold:700,extrabold:800,black:900},fonts:{heading:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',body:'-apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"',mono:'SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'},fontSizes:{"3xs":"0.45rem","2xs":"0.625rem",xs:"0.75rem",sm:"0.875rem",md:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"}},{defineMultiStyleConfig:Au,definePartsStyle:Eu}=Dn(_a.keys),Pu=go("number-input-stepper-width"),Du=go("number-input-input-padding"),Ou=lo(Pu).add("0.5rem").toString(),Lu=go("number-input-bg"),Ru=go("number-input-color"),Nu=go("number-input-border-color"),ju={[Pu.variable]:"sizes.6",[Du.variable]:Ou},Fu=t=>{var e;return(null==(e=Oo(au.baseStyle,t))?void 0:e.field)??{}},Bu={width:Pu.reference},zu={borderStart:"1px solid",borderStartColor:Nu.reference,color:Ru.reference,bg:Lu.reference,[Ru.variable]:"colors.chakra-body-text",[Nu.variable]:"colors.chakra-border-color",_dark:{[Ru.variable]:"colors.whiteAlpha.800",[Nu.variable]:"colors.whiteAlpha.300"},_active:{[Lu.variable]:"colors.gray.200",_dark:{[Lu.variable]:"colors.whiteAlpha.300"}},_disabled:{opacity:.4,cursor:"not-allowed"}};function $u(t){var e,n;const r=null==(e=au.sizes)?void 0:e[t],i={lg:"md",md:"md",sm:"sm",xs:"sm"},a=(null==(n=r.field)?void 0:n.fontSize)??"md",o=Tu.fontSizes[a];return Eu({field:{...r.field,paddingInlineEnd:Du.reference,verticalAlign:"top"},stepper:{fontSize:lo(o).multiply(.75).toString(),_first:{borderTopEndRadius:i[t]},_last:{borderBottomEndRadius:i[t],mt:"-1px",borderTopWidth:1}}})}var Vu,Hu,Wu,Gu,Uu,Xu,qu,Yu,Ku,Zu,Qu,Ju,tc,ec,nc,rc,ic,ac=Au({baseStyle:Eu((t=>({root:ju,field:Oo(Fu,t)??{},stepperGroup:Bu,stepper:zu}))),sizes:{xs:$u("xs"),sm:$u("sm"),md:$u("md"),lg:$u("lg")},variants:au.variants,defaultProps:au.defaultProps}),oc={baseStyle:{...null==(Vu=au.baseStyle)?void 0:Vu.field,textAlign:"center"},sizes:{lg:{fontSize:"lg",w:12,h:12,borderRadius:"md"},md:{fontSize:"md",w:10,h:10,borderRadius:"md"},sm:{fontSize:"sm",w:8,h:8,borderRadius:"sm"},xs:{fontSize:"xs",w:6,h:6,borderRadius:"sm"}},variants:{outline:t=>{var e,n;return(null==(n=Oo(null==(e=au.variants)?void 0:e.outline,t))?void 0:n.field)??{}},flushed:t=>{var e,n;return(null==(n=Oo(null==(e=au.variants)?void 0:e.flushed,t))?void 0:n.field)??{}},filled:t=>{var e,n;return(null==(n=Oo(null==(e=au.variants)?void 0:e.filled,t))?void 0:n.field)??{}},unstyled:(null==(Hu=au.variants)?void 0:Hu.unstyled.field)??{}},defaultProps:au.defaultProps},{defineMultiStyleConfig:sc,definePartsStyle:uc}=Dn(Sa.keys),cc=go("popper-bg"),lc=go("popper-arrow-bg"),hc=go("popper-arrow-shadow-color"),fc=sc({baseStyle:uc({popper:{zIndex:10},content:{[cc.variable]:"colors.white",bg:cc.reference,[lc.variable]:cc.reference,[hc.variable]:"colors.gray.200",_dark:{[cc.variable]:"colors.gray.700",[hc.variable]:"colors.whiteAlpha.300"},width:"xs",border:"1px solid",borderColor:"inherit",borderRadius:"md",boxShadow:"sm",zIndex:"inherit",_focusVisible:{outline:0,boxShadow:"outline"}},header:{px:3,py:2,borderBottomWidth:"1px"},body:{px:3,py:2},footer:{px:3,py:2,borderTopWidth:"1px"},closeButton:{position:"absolute",borderRadius:"md",top:1,insetEnd:2,padding:2}})}),{defineMultiStyleConfig:dc,definePartsStyle:pc}=Dn(ka.keys),gc=t=>{const{colorScheme:e,theme:n,isIndeterminate:r,hasStripe:i}=t,a=eo(Ja(),Ja("1rem","rgba(0,0,0,0.1)"))(t),o=eo(`${e}.500`,`${e}.200`)(t),s=`linear-gradient(\n to right,\n transparent 0%,\n ${Ka(n,o)} 50%,\n transparent 100%\n )`;return{...!r&&i&&a,...r?{bgImage:s}:{bgColor:o}}},bc={lineHeight:"1",fontSize:"0.25em",fontWeight:"bold",color:"white"},vc=t=>({bg:eo("gray.100","whiteAlpha.300")(t)}),mc=t=>({transitionProperty:"common",transitionDuration:"slow",...gc(t)}),yc=pc((t=>({label:bc,filledTrack:mc(t),track:vc(t)}))),wc=dc({sizes:{xs:pc({track:{h:"1"}}),sm:pc({track:{h:"2"}}),md:pc({track:{h:"3"}}),lg:pc({track:{h:"4"}})},baseStyle:yc,defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:xc,definePartsStyle:_c}=Dn(Ia.keys),Sc=t=>{var e;const n=null==(e=Oo(ws.baseStyle,t))?void 0:e.control;return{...n,borderRadius:"full",_checked:{...null==n?void 0:n._checked,_before:{content:'""',display:"inline-block",pos:"relative",w:"50%",h:"50%",borderRadius:"50%",bg:"currentColor"}}}},kc=xc({baseStyle:_c((t=>{var e,n,r,i;return{label:null==(n=(e=ws).baseStyle)?void 0:n.call(e,t).label,container:null==(i=(r=ws).baseStyle)?void 0:i.call(r,t).container,control:Sc(t)}})),sizes:{md:_c({control:{w:"4",h:"4"},label:{fontSize:"md"}}),lg:_c({control:{w:"5",h:"5"},label:{fontSize:"lg"}}),sm:_c({control:{width:"3",height:"3"},label:{fontSize:"sm"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:Ic,definePartsStyle:Mc}=Dn(Ma.keys),Cc=Ye("select-bg"),Tc={paddingInlineEnd:"8"},Ac=Ic({baseStyle:Mc({field:{...null==(Wu=au.baseStyle)?void 0:Wu.field,appearance:"none",paddingBottom:"1px",lineHeight:"normal",bg:Cc.reference,[Cc.variable]:"colors.white",_dark:{[Cc.variable]:"colors.gray.700"},"> option, > optgroup":{bg:Cc.reference}},icon:{width:"6",height:"100%",insetEnd:"2",position:"relative",color:"currentColor",fontSize:"xl",_disabled:{opacity:.5}}}),sizes:{lg:{...null==(Gu=au.sizes)?void 0:Gu.lg,field:{...null==(Uu=au.sizes)?void 0:Uu.lg.field,...Tc}},md:{...null==(Xu=au.sizes)?void 0:Xu.md,field:{...null==(qu=au.sizes)?void 0:qu.md.field,...Tc}},sm:{...null==(Yu=au.sizes)?void 0:Yu.sm,field:{...null==(Ku=au.sizes)?void 0:Ku.sm.field,...Tc}},xs:{...null==(Zu=au.sizes)?void 0:Zu.xs,field:{...null==(Qu=au.sizes)?void 0:Qu.xs.field,...Tc},icon:{insetEnd:"1"}}},variants:au.variants,defaultProps:au.defaultProps}),Ec=Ye("skeleton-start-color"),Pc=Ye("skeleton-end-color"),Dc={baseStyle:{[Ec.variable]:"colors.gray.100",[Pc.variable]:"colors.gray.400",_dark:{[Ec.variable]:"colors.gray.800",[Pc.variable]:"colors.gray.600"},background:Ec.reference,borderColor:Pc.reference,opacity:.7,borderRadius:"sm"}},Oc=Ye("skip-link-bg"),Lc={baseStyle:{borderRadius:"md",fontWeight:"semibold",_focusVisible:{boxShadow:"outline",padding:"4",position:"fixed",top:"6",insetStart:"6",[Oc.variable]:"colors.white",_dark:{[Oc.variable]:"colors.gray.700"},bg:Oc.reference}}},{defineMultiStyleConfig:Rc,definePartsStyle:Nc}=Dn(Ca.keys),jc=Ye("slider-thumb-size"),Fc=Ye("slider-track-size"),Bc=Ye("slider-bg"),zc=t=>{const{orientation:e}=t;return{display:"inline-block",position:"relative",cursor:"pointer",_disabled:{opacity:.6,cursor:"default",pointerEvents:"none"},...no({orientation:e,vertical:{h:"100%"},horizontal:{w:"100%"}})}},$c=t=>({...no({orientation:t.orientation,horizontal:{h:Fc.reference},vertical:{w:Fc.reference}}),overflow:"hidden",borderRadius:"sm",[Bc.variable]:"colors.gray.200",_dark:{[Bc.variable]:"colors.whiteAlpha.200"},_disabled:{[Bc.variable]:"colors.gray.300",_dark:{[Bc.variable]:"colors.whiteAlpha.300"}},bg:Bc.reference}),Vc=t=>{const{orientation:e}=t;return{...no({orientation:e,vertical:{left:"50%",transform:"translateX(-50%)",_active:{transform:"translateX(-50%) scale(1.15)"}},horizontal:{top:"50%",transform:"translateY(-50%)",_active:{transform:"translateY(-50%) scale(1.15)"}}}),w:jc.reference,h:jc.reference,display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",outline:0,zIndex:1,borderRadius:"full",bg:"white",boxShadow:"base",border:"1px solid",borderColor:"transparent",transitionProperty:"transform",transitionDuration:"normal",_focusVisible:{boxShadow:"outline"},_disabled:{bg:"gray.300"}}},Hc=t=>{const{colorScheme:e}=t;return{width:"inherit",height:"inherit",[Bc.variable]:`colors.${e}.500`,_dark:{[Bc.variable]:`colors.${e}.200`},bg:Bc.reference}},Wc=Rc({baseStyle:Nc((t=>({container:zc(t),track:$c(t),thumb:Vc(t),filledTrack:Hc(t)}))),sizes:{lg:Nc({container:{[jc.variable]:"sizes.4",[Fc.variable]:"sizes.1"}}),md:Nc({container:{[jc.variable]:"sizes.3.5",[Fc.variable]:"sizes.1"}}),sm:Nc({container:{[jc.variable]:"sizes.2.5",[Fc.variable]:"sizes.0.5"}})},defaultProps:{size:"md",colorScheme:"blue"}}),Gc=go("spinner-size"),Uc={baseStyle:{width:[Gc.reference],height:[Gc.reference]},sizes:{xs:{[Gc.variable]:"sizes.3"},sm:{[Gc.variable]:"sizes.4"},md:{[Gc.variable]:"sizes.6"},lg:{[Gc.variable]:"sizes.8"},xl:{[Gc.variable]:"sizes.12"}},defaultProps:{size:"md"}},{defineMultiStyleConfig:Xc,definePartsStyle:qc}=Dn(Ta.keys),Yc=Xc({baseStyle:qc({container:{},label:{fontWeight:"medium"},helpText:{opacity:.8,marginBottom:"2"},number:{verticalAlign:"baseline",fontWeight:"semibold"},icon:{marginEnd:1,w:"3.5",h:"3.5",verticalAlign:"middle"}}),sizes:{md:qc({label:{fontSize:"sm"},helpText:{fontSize:"sm"},number:{fontSize:"2xl"}})},defaultProps:{size:"md"}}),{defineMultiStyleConfig:Kc,definePartsStyle:Zc}=Dn(Aa.keys),Qc=go("switch-track-width"),Jc=go("switch-track-height"),tl=go("switch-track-diff"),el=lo.subtract(Qc,Jc),nl=go("switch-thumb-x"),rl=go("switch-bg"),il=t=>{const{colorScheme:e}=t;return{borderRadius:"full",p:"0.5",width:[Qc.reference],height:[Jc.reference],transitionProperty:"common",transitionDuration:"fast",[rl.variable]:"colors.gray.300",_dark:{[rl.variable]:"colors.whiteAlpha.400"},_focusVisible:{boxShadow:"outline"},_disabled:{opacity:.4,cursor:"not-allowed"},_checked:{[rl.variable]:`colors.${e}.500`,_dark:{[rl.variable]:`colors.${e}.200`}},bg:rl.reference}},al={bg:"white",transitionProperty:"transform",transitionDuration:"normal",borderRadius:"inherit",width:[Jc.reference],height:[Jc.reference],_checked:{transform:`translateX(${nl.reference})`}},ol=Kc({baseStyle:Zc((t=>({container:{[tl.variable]:el,[nl.variable]:tl.reference,_rtl:{[nl.variable]:lo(tl).negate().toString()}},track:il(t),thumb:al}))),sizes:{sm:Zc({container:{[Qc.variable]:"1.375rem",[Jc.variable]:"sizes.3"}}),md:Zc({container:{[Qc.variable]:"1.875rem",[Jc.variable]:"sizes.4"}}),lg:Zc({container:{[Qc.variable]:"2.875rem",[Jc.variable]:"sizes.6"}})},defaultProps:{size:"md",colorScheme:"blue"}}),{defineMultiStyleConfig:sl,definePartsStyle:ul}=Dn(Ea.keys),cl=ul({table:{fontVariantNumeric:"lining-nums tabular-nums",borderCollapse:"collapse",width:"full"},th:{fontFamily:"heading",fontWeight:"bold",textTransform:"uppercase",letterSpacing:"wider",textAlign:"start"},td:{textAlign:"start"},caption:{mt:4,fontFamily:"heading",textAlign:"center",fontWeight:"medium"}}),ll={"&[data-is-numeric=true]":{textAlign:"end"}},hl=ul((t=>{const{colorScheme:e}=t;return{th:{color:eo("gray.600","gray.400")(t),borderBottom:"1px",borderColor:eo(`${e}.100`,`${e}.700`)(t),...ll},td:{borderBottom:"1px",borderColor:eo(`${e}.100`,`${e}.700`)(t),...ll},caption:{color:eo("gray.600","gray.100")(t)},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),fl=ul((t=>{const{colorScheme:e}=t;return{th:{color:eo("gray.600","gray.400")(t),borderBottom:"1px",borderColor:eo(`${e}.100`,`${e}.700`)(t),...ll},td:{borderBottom:"1px",borderColor:eo(`${e}.100`,`${e}.700`)(t),...ll},caption:{color:eo("gray.600","gray.100")(t)},tbody:{tr:{"&:nth-of-type(odd)":{"th, td":{borderBottomWidth:"1px",borderColor:eo(`${e}.100`,`${e}.700`)(t)},td:{background:eo(`${e}.100`,`${e}.700`)(t)}}}},tfoot:{tr:{"&:last-of-type":{th:{borderBottomWidth:0}}}}}})),dl=sl({baseStyle:cl,variants:{simple:hl,striped:fl,unstyled:{}},sizes:{sm:ul({th:{px:"4",py:"1",lineHeight:"4",fontSize:"xs"},td:{px:"4",py:"2",fontSize:"sm",lineHeight:"4"},caption:{px:"4",py:"2",fontSize:"xs"}}),md:ul({th:{px:"6",py:"3",lineHeight:"4",fontSize:"xs"},td:{px:"6",py:"4",lineHeight:"5"},caption:{px:"6",py:"2",fontSize:"sm"}}),lg:ul({th:{px:"8",py:"4",lineHeight:"5",fontSize:"sm"},td:{px:"8",py:"5",lineHeight:"6"},caption:{px:"6",py:"2",fontSize:"md"}})},defaultProps:{variant:"simple",size:"md",colorScheme:"gray"}}),pl=Ye("tabs-color"),gl=Ye("tabs-bg"),bl=Ye("tabs-border-color"),{defineMultiStyleConfig:vl,definePartsStyle:ml}=Dn(Pa.keys),yl=t=>{const{orientation:e}=t;return{display:"vertical"===e?"flex":"block"}},wl=t=>{const{isFitted:e}=t;return{flex:e?1:void 0,transitionProperty:"common",transitionDuration:"normal",_focusVisible:{zIndex:1,boxShadow:"outline"},_disabled:{cursor:"not-allowed",opacity:.4}}},xl=t=>{const{align:e="start",orientation:n}=t;return{justifyContent:{end:"flex-end",center:"center",start:"flex-start"}[e],flexDirection:"vertical"===n?"column":"row"}},_l={p:4},Sl=ml((t=>({root:yl(t),tab:wl(t),tablist:xl(t),tabpanel:_l}))),kl={sm:ml({tab:{py:1,px:4,fontSize:"sm"}}),md:ml({tab:{fontSize:"md",py:2,px:4}}),lg:ml({tab:{fontSize:"lg",py:3,px:4}})},Il=ml((t=>{const{colorScheme:e,orientation:n}=t,r="vertical"===n?"borderStart":"borderBottom";return{tablist:{[r]:"2px solid",borderColor:"inherit"},tab:{[r]:"2px solid",borderColor:"transparent",["vertical"===n?"marginStart":"marginBottom"]:"-2px",_selected:{[pl.variable]:`colors.${e}.600`,_dark:{[pl.variable]:`colors.${e}.300`},borderColor:"currentColor"},_active:{[gl.variable]:"colors.gray.200",_dark:{[gl.variable]:"colors.whiteAlpha.300"}},_disabled:{_active:{bg:"none"}},color:pl.reference,bg:gl.reference}}})),Ml=ml((t=>{const{colorScheme:e}=t;return{tab:{borderTopRadius:"md",border:"1px solid",borderColor:"transparent",mb:"-1px",[bl.variable]:"transparent",_selected:{[pl.variable]:`colors.${e}.600`,[bl.variable]:"colors.white",_dark:{[pl.variable]:`colors.${e}.300`,[bl.variable]:"colors.gray.800"},borderColor:"inherit",borderBottomColor:bl.reference},color:pl.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Cl=ml((t=>{const{colorScheme:e}=t;return{tab:{border:"1px solid",borderColor:"inherit",[gl.variable]:"colors.gray.50",_dark:{[gl.variable]:"colors.whiteAlpha.50"},mb:"-1px",_notLast:{marginEnd:"-1px"},_selected:{[gl.variable]:"colors.white",[pl.variable]:`colors.${e}.600`,_dark:{[gl.variable]:"colors.gray.800",[pl.variable]:`colors.${e}.300`},borderColor:"inherit",borderTopColor:"currentColor",borderBottomColor:"transparent"},color:pl.reference,bg:gl.reference},tablist:{mb:"-1px",borderBottom:"1px solid",borderColor:"inherit"}}})),Tl=ml((t=>{const{colorScheme:e,theme:n}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",color:"gray.600",_selected:{color:Ka(n,`${e}.700`),bg:Ka(n,`${e}.100`)}}}})),Al=ml((t=>{const{colorScheme:e}=t;return{tab:{borderRadius:"full",fontWeight:"semibold",[pl.variable]:"colors.gray.600",_dark:{[pl.variable]:"inherit"},_selected:{[pl.variable]:"colors.white",[gl.variable]:`colors.${e}.600`,_dark:{[pl.variable]:"colors.gray.800",[gl.variable]:`colors.${e}.300`}},color:pl.reference,bg:gl.reference}}})),El=vl({baseStyle:Sl,sizes:kl,variants:{line:Il,enclosed:Ml,"enclosed-colored":Cl,"soft-rounded":Tl,"solid-rounded":Al,unstyled:ml({})},defaultProps:{size:"md",variant:"line",colorScheme:"blue"}}),{defineMultiStyleConfig:Pl,definePartsStyle:Dl}=Dn(Da.keys),Ol=Dl({container:{fontWeight:"medium",lineHeight:1.2,outline:0,borderRadius:"md",_focusVisible:{boxShadow:"outline"}},label:{lineHeight:1.2,overflow:"visible"},closeButton:{fontSize:"lg",w:"5",h:"5",transitionProperty:"common",transitionDuration:"normal",borderRadius:"full",marginStart:"1.5",marginEnd:"-1",opacity:.5,_disabled:{opacity:.4},_focusVisible:{boxShadow:"outline",bg:"rgba(0, 0, 0, 0.14)"},_hover:{opacity:.8},_active:{opacity:1}}}),Ll={sm:Dl({container:{minH:"5",minW:"5",fontSize:"xs",px:"2"},closeButton:{marginEnd:"-2px",marginStart:"0.35rem"}}),md:Dl({container:{minH:"6",minW:"6",fontSize:"sm",px:"2"}}),lg:Dl({container:{minH:"8",minW:"8",fontSize:"md",px:"3"}})},Rl=Pl({variants:{subtle:Dl((t=>{var e;return{container:null==(e=Ko.variants)?void 0:e.subtle(t)}})),solid:Dl((t=>{var e;return{container:null==(e=Ko.variants)?void 0:e.solid(t)}})),outline:Dl((t=>{var e;return{container:null==(e=Ko.variants)?void 0:e.outline(t)}}))},baseStyle:Ol,sizes:Ll,defaultProps:{size:"md",variant:"subtle",colorScheme:"gray"}}),Nl={...null==(Ju=au.baseStyle)?void 0:Ju.field,paddingY:"2",minHeight:"20",lineHeight:"short",verticalAlign:"top"},jl={outline:t=>{var e;return(null==(e=au.variants)?void 0:e.outline(t).field)??{}},flushed:t=>{var e;return(null==(e=au.variants)?void 0:e.flushed(t).field)??{}},filled:t=>{var e;return(null==(e=au.variants)?void 0:e.filled(t).field)??{}},unstyled:(null==(tc=au.variants)?void 0:tc.unstyled.field)??{}},Fl={baseStyle:Nl,sizes:{xs:(null==(ec=au.sizes)?void 0:ec.xs.field)??{},sm:(null==(nc=au.sizes)?void 0:nc.sm.field)??{},md:(null==(rc=au.sizes)?void 0:rc.md.field)??{},lg:(null==(ic=au.sizes)?void 0:ic.lg.field)??{}},variants:jl,defaultProps:{size:"md",variant:"outline"}},Bl=go("tooltip-bg"),zl=go("tooltip-fg"),$l=go("popper-arrow-bg"),Vl={bg:Bl.reference,color:zl.reference,[Bl.variable]:"colors.gray.700",[zl.variable]:"colors.whiteAlpha.900",_dark:{[Bl.variable]:"colors.gray.300",[zl.variable]:"colors.gray.900"},[$l.variable]:Bl.reference,px:"2",py:"0.5",borderRadius:"sm",fontWeight:"medium",fontSize:"sm",boxShadow:"md",maxW:"xs",zIndex:"tooltip"},Hl={Accordion:yo,Alert:Eo,Avatar:Ho,Badge:Ko,Breadcrumb:Jo,Button:as,Checkbox:ws,CloseButton:Ss,Code:Ms,Container:Cs,Divider:Ts,Drawer:$s,Editable:Ws,Form:qs,FormError:Qs,FormLabel:Js,Heading:tu,Input:au,Kbd:su,Link:uu,List:hu,Menu:bu,Modal:Cu,NumberInput:ac,PinInput:oc,Popover:fc,Progress:wc,Radio:kc,Select:Ac,Skeleton:Dc,SkipLink:Lc,Slider:Wc,Spinner:Uc,Stat:Yc,Switch:ol,Table:dl,Tabs:El,Tag:Rl,Textarea:Fl,Tooltip:{baseStyle:Vl},Card:fs},Wl={none:0,"1px":"1px solid","2px":"2px solid","4px":"4px solid","8px":"8px solid"},Gl={xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",base:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",outline:"0 0 0 3px rgba(66, 153, 225, 0.6)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.06)",none:"none","dark-lg":"rgba(0, 0, 0, 0.1) 0px 0px 0px 1px, rgba(0, 0, 0, 0.2) 0px 5px 10px, rgba(0, 0, 0, 0.4) 0px 15px 40px"},Ul={property:{common:"background-color, border-color, color, fill, stroke, opacity, box-shadow, transform",colors:"background-color, border-color, color, fill, stroke",dimensions:"width, height",position:"left, right, top, bottom",background:"background-color, background-image, background-position"},easing:{"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},duration:{"ultra-fast":"50ms",faster:"100ms",fast:"150ms",normal:"200ms",slow:"300ms",slower:"400ms","ultra-slow":"500ms"}},Xl={breakpoints:{base:"0em",sm:"30em",md:"48em",lg:"62em",xl:"80em","2xl":"96em"},zIndices:{hide:-1,auto:"auto",base:0,docked:10,dropdown:1e3,sticky:1100,banner:1200,overlay:1300,modal:1400,popover:1500,skipLink:1600,toast:1700,tooltip:1800},radii:{none:"0",sm:"0.125rem",base:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},blur:{none:0,sm:"4px",base:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},colors:{transparent:"transparent",current:"currentColor",black:"#000000",white:"#FFFFFF",whiteAlpha:{50:"rgba(255, 255, 255, 0.04)",100:"rgba(255, 255, 255, 0.06)",200:"rgba(255, 255, 255, 0.08)",300:"rgba(255, 255, 255, 0.16)",400:"rgba(255, 255, 255, 0.24)",500:"rgba(255, 255, 255, 0.36)",600:"rgba(255, 255, 255, 0.48)",700:"rgba(255, 255, 255, 0.64)",800:"rgba(255, 255, 255, 0.80)",900:"rgba(255, 255, 255, 0.92)"},blackAlpha:{50:"rgba(0, 0, 0, 0.04)",100:"rgba(0, 0, 0, 0.06)",200:"rgba(0, 0, 0, 0.08)",300:"rgba(0, 0, 0, 0.16)",400:"rgba(0, 0, 0, 0.24)",500:"rgba(0, 0, 0, 0.36)",600:"rgba(0, 0, 0, 0.48)",700:"rgba(0, 0, 0, 0.64)",800:"rgba(0, 0, 0, 0.80)",900:"rgba(0, 0, 0, 0.92)"},gray:{50:"#F7FAFC",100:"#EDF2F7",200:"#E2E8F0",300:"#CBD5E0",400:"#A0AEC0",500:"#718096",600:"#4A5568",700:"#2D3748",800:"#1A202C",900:"#171923"},red:{50:"#FFF5F5",100:"#FED7D7",200:"#FEB2B2",300:"#FC8181",400:"#F56565",500:"#E53E3E",600:"#C53030",700:"#9B2C2C",800:"#822727",900:"#63171B"},orange:{50:"#FFFAF0",100:"#FEEBC8",200:"#FBD38D",300:"#F6AD55",400:"#ED8936",500:"#DD6B20",600:"#C05621",700:"#9C4221",800:"#7B341E",900:"#652B19"},yellow:{50:"#FFFFF0",100:"#FEFCBF",200:"#FAF089",300:"#F6E05E",400:"#ECC94B",500:"#D69E2E",600:"#B7791F",700:"#975A16",800:"#744210",900:"#5F370E"},green:{50:"#F0FFF4",100:"#C6F6D5",200:"#9AE6B4",300:"#68D391",400:"#48BB78",500:"#38A169",600:"#2F855A",700:"#276749",800:"#22543D",900:"#1C4532"},teal:{50:"#E6FFFA",100:"#B2F5EA",200:"#81E6D9",300:"#4FD1C5",400:"#38B2AC",500:"#319795",600:"#2C7A7B",700:"#285E61",800:"#234E52",900:"#1D4044"},blue:{50:"#ebf8ff",100:"#bee3f8",200:"#90cdf4",300:"#63b3ed",400:"#4299e1",500:"#3182ce",600:"#2b6cb0",700:"#2c5282",800:"#2a4365",900:"#1A365D"},cyan:{50:"#EDFDFD",100:"#C4F1F9",200:"#9DECF9",300:"#76E4F7",400:"#0BC5EA",500:"#00B5D8",600:"#00A3C4",700:"#0987A0",800:"#086F83",900:"#065666"},purple:{50:"#FAF5FF",100:"#E9D8FD",200:"#D6BCFA",300:"#B794F4",400:"#9F7AEA",500:"#805AD5",600:"#6B46C1",700:"#553C9A",800:"#44337A",900:"#322659"},pink:{50:"#FFF5F7",100:"#FED7E2",200:"#FBB6CE",300:"#F687B3",400:"#ED64A6",500:"#D53F8C",600:"#B83280",700:"#97266D",800:"#702459",900:"#521B41"},linkedin:{50:"#E8F4F9",100:"#CFEDFB",200:"#9BDAF3",300:"#68C7EC",400:"#34B3E4",500:"#00A0DC",600:"#008CC9",700:"#0077B5",800:"#005E93",900:"#004471"},facebook:{50:"#E8F4F9",100:"#D9DEE9",200:"#B7C2DA",300:"#6482C0",400:"#4267B2",500:"#385898",600:"#314E89",700:"#29487D",800:"#223B67",900:"#1E355B"},messenger:{50:"#D0E6FF",100:"#B9DAFF",200:"#A2CDFF",300:"#7AB8FF",400:"#2E90FF",500:"#0078FF",600:"#0063D1",700:"#0052AC",800:"#003C7E",900:"#002C5C"},whatsapp:{50:"#dffeec",100:"#b9f5d0",200:"#90edb3",300:"#65e495",400:"#3cdd78",500:"#22c35e",600:"#179848",700:"#0c6c33",800:"#01421c",900:"#001803"},twitter:{50:"#E5F4FD",100:"#C8E9FB",200:"#A8DCFA",300:"#83CDF7",400:"#57BBF5",500:"#1DA1F2",600:"#1A94DA",700:"#1681BF",800:"#136B9E",900:"#0D4D71"},telegram:{50:"#E3F2F9",100:"#C5E4F3",200:"#A2D4EC",300:"#7AC1E4",400:"#47A9DA",500:"#0088CC",600:"#007AB8",700:"#006BA1",800:"#005885",900:"#003F5E"}},...Tu,sizes:Do,shadows:Gl,space:Po,borders:Wl,transition:Ul},ql={colors:{"chakra-body-text":{_light:"gray.800",_dark:"whiteAlpha.900"},"chakra-body-bg":{_light:"white",_dark:"gray.800"},"chakra-border-color":{_light:"gray.200",_dark:"whiteAlpha.300"},"chakra-subtle-bg":{_light:"gray.100",_dark:"gray.700"},"chakra-placeholder-color":{_light:"gray.500",_dark:"whiteAlpha.400"}}},Yl={global:{body:{fontFamily:"body",color:"chakra-body-text",bg:"chakra-body-bg",transitionProperty:"background-color",transitionDuration:"normal",lineHeight:"base"},"*::placeholder":{color:"chakra-placeholder-color"},"*, *::before, &::after":{borderColor:"chakra-border-color",wordWrap:"break-word"}}};var Kl=["borders","breakpoints","colors","components","config","direction","fonts","fontSizes","fontWeights","letterSpacings","lineHeights","radii","shadows","sizes","space","styles","transition","zIndices"];function Zl(t){return!!function(t){const e=typeof t;return null!=t&&("object"===e||"function"===e)&&!Array.isArray(t)}(t)&&Kl.every((e=>Object.prototype.hasOwnProperty.call(t,e)))}var Ql={useSystemColorMode:!1,initialColorMode:"light",cssVarPrefix:"chakra"},Jl={semanticTokens:ql,direction:"ltr",...Xl,components:Hl,styles:Yl,config:Ql},th={semanticTokens:ql,direction:"ltr",components:{},...Xl,styles:Yl,config:Ql},eh=function(){var t=Un.apply(void 0,arguments),e="animation-"+t.name;return{name:e,styles:"@keyframes "+e+"{"+t.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),nh=Mr(((t,e)=>{const r=Tr("Spinner",t),{label:i="Loading...",thickness:a="2px",speed:o="0.45s",emptyColor:s="transparent",className:u,...c}=Rn(t),l=((...t)=>t.filter(Boolean).join(" "))("chakra-spinner",u),h={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:a,borderBottomColor:s,borderLeftColor:s,animation:`${eh} ${o} linear infinite`,...r};return n.createElement(Er.div,{ref:e,__css:h,className:l,...c},i&&n.createElement(Er.span,{srOnly:!0},i))}));nh.displayName="Spinner";var rh=(...t)=>t.filter(Boolean).join(" ");function ih(t){return n.createElement(Nr,{viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}var[ah,oh]=jr({name:"AlertContext",hookName:"useAlertContext",providerName:"<Alert />"}),[sh,uh]=jr({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:"<Alert />"}),ch={info:{icon:function(t){return n.createElement(Nr,{viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"}))},colorScheme:"blue"},warning:{icon:ih,colorScheme:"orange"},success:{icon:function(t){return n.createElement(Nr,{viewBox:"0 0 24 24",...t},n.createElement("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"}))},colorScheme:"green"},error:{icon:ih,colorScheme:"red"},loading:{icon:nh,colorScheme:"blue"}};var lh=Mr((function(t,e){const{status:r="info",addRole:i=!0,...a}=Rn(t),o=t.colorScheme??function(t){return ch[t].colorScheme}(r),s=Ar("Alert",{...t,colorScheme:o}),u={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...s.container};return n.createElement(ah,{value:{status:r}},n.createElement(sh,{value:s},n.createElement(Er.div,{role:i?"alert":void 0,ref:e,...a,className:rh("chakra-alert",t.className),__css:u})))}));lh.displayName="Alert";var hh=Mr((function(t,e){const r={display:"inline",...uh().description};return n.createElement(Er.div,{ref:e,...t,className:rh("chakra-alert__desc",t.className),__css:r})}));function fh(t){const{status:e}=oh(),r=function(t){return ch[t].icon}(e),i=uh(),a="loading"===e?i.spinner:i.icon;return n.createElement(Er.span,{display:"inherit",...t,className:rh("chakra-alert__icon",t.className),__css:a},t.children||n.createElement(r,{h:"100%",w:"100%"}))}hh.displayName="AlertDescription",fh.displayName="AlertIcon";var dh=Mr((function(t,e){const r=uh();return n.createElement(Er.div,{ref:e,...t,className:rh("chakra-alert__title",t.className),__css:r.title})}));function ph(t){return n.createElement(Nr,{focusable:"false","aria-hidden":!0,...t},n.createElement("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"}))}dh.displayName="AlertTitle";var gh=Mr((function(t,e){const r=Tr("CloseButton",t),{children:i,isDisabled:a,__css:o,...s}=Rn(t);return n.createElement(Er.button,{type:"button","aria-label":"Close",ref:e,disabled:a,__css:{outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,...r,...o},...s},i||n.createElement(ph,{width:"1em",height:"1em"}))}));gh.displayName="CloseButton";var bh=function(t,e){return bh=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])},bh(t,e)};function vh(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}bh(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}var mh=function(){return mh=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},mh.apply(this,arguments)};function yh(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}Object.create;function wh(t){var e="function"==typeof Symbol&&Symbol.iterator,n=e&&t[e],r=0;if(n)return n.call(t);if(t&&"number"==typeof t.length)return{next:function(){return t&&r>=t.length&&(t=void 0),{value:t&&t[r++],done:!t}}};throw new TypeError(e?"Object is not iterable.":"Symbol.iterator is not defined.")}function xh(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var r,i,a=n.call(t),o=[];try{for(;(void 0===e||e-- >0)&&!(r=a.next()).done;)o.push(r.value)}catch(t){i={error:t}}finally{try{r&&!r.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}return o}function _h(t,e,n){if(n||2===arguments.length)for(var r,i=0,a=e.length;i<a;i++)!r&&i in e||(r||(r=Array.prototype.slice.call(e,0,i)),r[i]=e[i]);return t.concat(r||Array.prototype.slice.call(e))}Object.create;const Sh=1/60*1e3,kh="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),Ih="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(kh())),Sh);let Mh=!0,Ch=!1,Th=!1;const Ah={delta:0,timestamp:0},Eh=["read","update","preRender","render","postRender"],Ph=Eh.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,a=!1;const o=new WeakSet,s={schedule:(t,a=!1,s=!1)=>{const u=s&&i,c=u?e:n;return a&&o.add(t),-1===c.indexOf(t)&&(c.push(t),u&&i&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),o.delete(t)},process:u=>{if(i)a=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(u),o.has(r)&&(s.schedule(r),t())}i=!1,a&&(a=!1,s.process(u))}}};return s}((()=>Ch=!0)),t)),{}),Dh=Eh.reduce(((t,e)=>{const n=Ph[e];return t[e]=(t,e=!1,r=!1)=>(Ch||jh(),n.schedule(t,e,r)),t}),{}),Oh=Eh.reduce(((t,e)=>(t[e]=Ph[e].cancel,t)),{}),Lh=Eh.reduce(((t,e)=>(t[e]=()=>Ph[e].process(Ah),t)),{}),Rh=t=>Ph[t].process(Ah),Nh=t=>{Ch=!1,Ah.delta=Mh?Sh:Math.max(Math.min(t-Ah.timestamp,40),1),Ah.timestamp=t,Th=!0,Eh.forEach(Rh),Th=!1,Ch&&(Mh=!1,Ih(Nh))},jh=()=>{Ch=!0,Mh=!0,Th||Ih(Nh)},Fh=()=>Ah,Bh=Dh;var zh="undefined"!=typeof document,$h=zh?n.useLayoutEffect:n.useEffect;function Vh(){var t=(0,n.useRef)(!1);return $h((function(){return t.current=!0,function(){t.current=!1}}),[]),t}var Hh=(0,n.createContext)(null);function Wh(t){var e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}var Gh=0,Uh=function(){return Gh++},Xh=function(){return Wh(Uh)},qh=function(t){var e=t.children,r=t.initial,i=t.isPresent,a=t.onExitComplete,o=t.custom,s=t.presenceAffectsLayout,u=Wh(Yh),c=Xh(),l=(0,n.useMemo)((function(){return{id:c,initial:r,isPresent:i,custom:o,onExitComplete:function(t){var e,n;u.set(t,!0);try{for(var r=wh(u.values()),i=r.next();!i.done;i=r.next()){if(!i.value)return}}catch(t){e={error:t}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(e)throw e.error}}null==a||a()},register:function(t){return u.set(t,!1),function(){return u.delete(t)}}}}),s?void 0:[i]);return(0,n.useMemo)((function(){u.forEach((function(t,e){return u.set(e,!1)}))}),[i]),n.useEffect((function(){!i&&!u.size&&(null==a||a())}),[i]),n.createElement(Hh.Provider,{value:l},e)};function Yh(){return new Map}var Kh=(0,n.createContext)({});function Zh(t){return(0,n.useEffect)((function(){return function(){return t()}}),[])}var Qh=function(t){return t.key||""};var Jh=function(t){var e=t.children,r=t.custom,i=t.initial,a=void 0===i||i,o=t.onExitComplete,s=t.exitBeforeEnter,u=t.presenceAffectsLayout,c=void 0===u||u,l=xh(function(){var t=Vh(),e=xh((0,n.useState)(0),2),r=e[0],i=e[1],a=(0,n.useCallback)((function(){t.current&&i(r+1)}),[r]);return[(0,n.useCallback)((function(){return Bh.postRender(a)}),[a]),r]}(),1),h=l[0],f=(0,n.useContext)(Kh).forceRender;f&&(h=f);var d=Vh(),p=function(t){var e=[];return n.Children.forEach(t,(function(t){(0,n.isValidElement)(t)&&e.push(t)})),e}(e),g=p,b=new Set,v=(0,n.useRef)(g),m=(0,n.useRef)(new Map).current,y=(0,n.useRef)(!0);if($h((function(){y.current=!1,function(t,e){t.forEach((function(t){var n=Qh(t);e.set(n,t)}))}(p,m),v.current=g})),Zh((function(){y.current=!0,m.clear(),b.clear()})),y.current)return n.createElement(n.Fragment,null,g.map((function(t){return n.createElement(qh,{key:Qh(t),isPresent:!0,initial:!!a&&void 0,presenceAffectsLayout:c},t)})));g=_h([],xh(g),!1);for(var w=v.current.map(Qh),x=p.map(Qh),_=w.length,S=0;S<_;S++){var k=w[S];-1===x.indexOf(k)&&b.add(k)}return s&&b.size&&(g=[]),b.forEach((function(t){if(-1===x.indexOf(t)){var e=m.get(t);if(e){var i=w.indexOf(t);g.splice(i,0,n.createElement(qh,{key:Qh(e),isPresent:!1,onExitComplete:function(){m.delete(t),b.delete(t);var e=v.current.findIndex((function(e){return e.key===t}));if(v.current.splice(e,1),!b.size){if(v.current=p,!1===d.current)return;h(),o&&o()}},custom:r,presenceAffectsLayout:c},e))}}})),g=g.map((function(t){var e=t.key;return b.has(e)?t:n.createElement(qh,{key:Qh(t),isPresent:!0,presenceAffectsLayout:c},t)})),n.createElement(n.Fragment,null,b.size?g:g.map((function(t){return(0,n.cloneElement)(t)})))};function tf(t,e=[]){const r=(0,n.useRef)(t);return(0,n.useEffect)((()=>{r.current=t})),(0,n.useCallback)(((...t)=>{var e;return null==(e=r.current)?void 0:e.call(r,...t)}),e)}function ef(t,e){const r=(0,n.useRef)(!1),i=(0,n.useRef)(!1);(0,n.useEffect)((()=>{if(r.current&&i.current)return t();i.current=!0}),e),(0,n.useEffect)((()=>(r.current=!0,()=>{r.current=!1})),[])}function nf(){var t=(0,n.useContext)(Hh);if(null===t)return[!0,null];var e=t.isPresent,r=t.onExitComplete,i=t.register,a=Xh();(0,n.useEffect)((function(){return i(a)}),[]);return!e&&r?[!1,function(){return null==r?void 0:r(a)}]:[!0]}function rf(){return null===(t=(0,n.useContext)(Hh))||t.isPresent;var t}var af=function(t){return{isEnabled:function(e){return t.some((function(t){return!!e[t]}))}}},of={measureLayout:af(["layout","layoutId","drag"]),animation:af(["animate","exit","variants","whileHover","whileTap","whileFocus","whileDrag","whileInView"]),exit:af(["exit"]),drag:af(["drag","dragControls"]),focus:af(["whileFocus"]),hover:af(["whileHover","onHoverStart","onHoverEnd"]),tap:af(["whileTap","onTap","onTapStart","onTapCancel"]),pan:af(["onPan","onPanStart","onPanSessionStart","onPanEnd"]),inView:af(["whileInView","onViewportEnter","onViewportLeave"])};var sf=(0,n.createContext)({strict:!1}),uf=Object.keys(of),cf=uf.length;var lf=(0,n.createContext)({transformPagePoint:function(t){return t},isStatic:!1,reducedMotion:"never"}),hf=(0,n.createContext)({});var ff={current:null},df=!1;function pf(){return!df&&function(){if(df=!0,zh)if(window.matchMedia){var t=window.matchMedia("(prefers-reduced-motion)"),e=function(){return ff.current=t.matches};t.addListener(e),e()}else ff.current=!1}(),xh((0,n.useState)(ff.current),1)[0]}function gf(t,e,r,i){var a,o,s=(0,n.useContext)(sf),u=(0,n.useContext)(hf).visualElement,c=(0,n.useContext)(Hh),l=(a=pf(),"never"!==(o=(0,n.useContext)(lf).reducedMotion)&&("always"===o||a)),h=(0,n.useRef)(void 0);i||(i=s.renderer),!h.current&&i&&(h.current=i(t,{visualState:e,parent:u,props:r,presenceId:null==c?void 0:c.id,blockInitialAnimation:!1===(null==c?void 0:c.initial),shouldReduceMotion:l}));var f=h.current;return $h((function(){null==f||f.syncRender()})),(0,n.useEffect)((function(){var t;null===(t=null==f?void 0:f.animationState)||void 0===t||t.animateChanges()})),$h((function(){return function(){return null==f?void 0:f.notifyUnmount()}}),[]),f}function bf(t){return"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function vf(t){return Array.isArray(t)}function mf(t){return"string"==typeof t||vf(t)}function yf(t,e,n,r,i){var a;return void 0===r&&(r={}),void 0===i&&(i={}),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),"string"==typeof e&&(e=null===(a=t.variants)||void 0===a?void 0:a[e]),"function"==typeof e&&(e=e(null!=n?n:t.custom,r,i)),e}function wf(t,e,n){var r=t.getProps();return yf(r,e,null!=n?n:r.custom,function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.get()})),e}(t),function(t){var e={};return t.forEachValue((function(t,n){return e[n]=t.getVelocity()})),e}(t))}function xf(t){var e;return"function"==typeof(null===(e=t.animate)||void 0===e?void 0:e.start)||mf(t.initial)||mf(t.animate)||mf(t.whileHover)||mf(t.whileDrag)||mf(t.whileTap)||mf(t.whileFocus)||mf(t.exit)}function _f(t){return Boolean(xf(t)||t.variants)}function Sf(t){var e=function(t,e){if(xf(t)){var n=t.initial,r=t.animate;return{initial:!1===n||mf(n)?n:void 0,animate:mf(r)?r:void 0}}return!1!==t.inherit?e:{}}(t,(0,n.useContext)(hf)),r=e.initial,i=e.animate;return(0,n.useMemo)((function(){return{initial:r,animate:i}}),[kf(r),kf(i)])}function kf(t){return Array.isArray(t)?t.join(" "):t}const If=(t,e,n)=>-n*t+n*e+t;function Mf(t,e){return e?t*(1e3/e):0}function Cf(t,e){-1===t.indexOf(e)&&t.push(e)}function Tf(t,e){var n=t.indexOf(e);n>-1&&t.splice(n,1)}var Af=function(){function t(){this.subscriptions=[]}return t.prototype.add=function(t){var e=this;return Cf(this.subscriptions,t),function(){return Tf(e.subscriptions,t)}},t.prototype.notify=function(t,e,n){var r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,n);else for(var i=0;i<r;i++){var a=this.subscriptions[i];a&&a(t,e,n)}},t.prototype.getSize=function(){return this.subscriptions.length},t.prototype.clear=function(){this.subscriptions.length=0},t}(),Ef=function(){function t(t){var e,n=this;this.version="6.3.11",this.timeDelta=0,this.lastUpdated=0,this.updateSubscribers=new Af,this.velocityUpdateSubscribers=new Af,this.renderSubscribers=new Af,this.canTrackVelocity=!1,this.updateAndNotify=function(t,e){void 0===e&&(e=!0),n.prev=n.current,n.current=t;var r=Fh(),i=r.delta,a=r.timestamp;n.lastUpdated!==a&&(n.timeDelta=i,n.lastUpdated=a,Bh.postRender(n.scheduleVelocityCheck)),n.prev!==n.current&&n.updateSubscribers.notify(n.current),n.velocityUpdateSubscribers.getSize()&&n.velocityUpdateSubscribers.notify(n.getVelocity()),e&&n.renderSubscribers.notify(n.current)},this.scheduleVelocityCheck=function(){return Bh.postRender(n.velocityCheck)},this.velocityCheck=function(t){t.timestamp!==n.lastUpdated&&(n.prev=n.current,n.velocityUpdateSubscribers.notify(n.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=t,this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e)))}return t.prototype.onChange=function(t){return this.updateSubscribers.add(t)},t.prototype.clearListeners=function(){this.updateSubscribers.clear()},t.prototype.onRenderRequest=function(t){return t(this.get()),this.renderSubscribers.add(t)},t.prototype.attach=function(t){this.passiveEffect=t},t.prototype.set=function(t,e){void 0===e&&(e=!0),e&&this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t,e)},t.prototype.get=function(){return this.current},t.prototype.getPrevious=function(){return this.prev},t.prototype.getVelocity=function(){return this.canTrackVelocity?Mf(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0},t.prototype.start=function(t){var e=this;return this.stop(),new Promise((function(n){e.hasAnimated=!0,e.stopAnimation=t(n)})).then((function(){return e.clearAnimation()}))},t.prototype.stop=function(){this.stopAnimation&&this.stopAnimation(),this.clearAnimation()},t.prototype.isAnimating=function(){return!!this.stopAnimation},t.prototype.clearAnimation=function(){this.stopAnimation=null},t.prototype.destroy=function(){this.updateSubscribers.clear(),this.renderSubscribers.clear(),this.stop()},t}();function Pf(t){return new Ef(t)}var Df=function(t){return Boolean(null!==t&&"object"==typeof t&&t.getVelocity)};const Of=(t,e,n)=>Math.min(Math.max(n,t),e),Lf=.001;function Rf({duration:t=800,bounce:e=.25,velocity:n=0,mass:r=1}){let i,a,o=1-e;o=Of(.05,1,o),t=Of(.01,10,t/1e3),o<1?(i=e=>{const r=e*o,i=r*t,a=r-n,s=Nf(e,o),u=Math.exp(-i);return Lf-a/s*u},a=e=>{const r=e*o*t,a=r*n+n,s=Math.pow(o,2)*Math.pow(e,2)*t,u=Math.exp(-r),c=Nf(Math.pow(e,2),o);return(-i(e)+Lf>0?-1:1)*((a-s)*u)/c}):(i=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,a=e=>Math.exp(-e*t)*(t*t*(n-e)));const s=function(t,e,n){let r=n;for(let n=1;n<12;n++)r-=t(r)/e(r);return r}(i,a,5/t);if(t*=1e3,isNaN(s))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(s,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}function Nf(t,e){return t*Math.sqrt(1-e*e)}const jf=["duration","bounce"],Ff=["stiffness","damping","mass"];function Bf(t,e){return e.some((e=>void 0!==t[e]))}function zf(t){var{from:e=0,to:n=1,restSpeed:r=2,restDelta:i}=t,a=yh(t,["from","to","restSpeed","restDelta"]);const o={done:!1,value:e};let{stiffness:s,damping:u,mass:c,velocity:l,duration:h,isResolvedFromDuration:f}=function(t){let e=Object.assign({velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1},t);if(!Bf(t,Ff)&&Bf(t,jf)){const n=Rf(t);e=Object.assign(Object.assign(Object.assign({},e),n),{velocity:0,mass:1}),e.isResolvedFromDuration=!0}return e}(a),d=$f,p=$f;function g(){const t=l?-l/1e3:0,r=n-e,a=u/(2*Math.sqrt(s*c)),o=Math.sqrt(s/c)/1e3;if(void 0===i&&(i=Math.min(Math.abs(n-e)/100,.4)),a<1){const e=Nf(o,a);d=i=>{const s=Math.exp(-a*o*i);return n-s*((t+a*o*r)/e*Math.sin(e*i)+r*Math.cos(e*i))},p=n=>{const i=Math.exp(-a*o*n);return a*o*i*(Math.sin(e*n)*(t+a*o*r)/e+r*Math.cos(e*n))-i*(Math.cos(e*n)*(t+a*o*r)-e*r*Math.sin(e*n))}}else if(1===a)d=e=>n-Math.exp(-o*e)*(r+(t+o*r)*e);else{const e=o*Math.sqrt(a*a-1);d=i=>{const s=Math.exp(-a*o*i),u=Math.min(e*i,300);return n-s*((t+a*o*r)*Math.sinh(u)+e*r*Math.cosh(u))/e}}}return g(),{next:t=>{const e=d(t);if(f)o.done=t>=h;else{const a=1e3*p(t),s=Math.abs(a)<=r,u=Math.abs(n-e)<=i;o.done=s&&u}return o.value=o.done?n:e,o},flipTarget:()=>{l=-l,[e,n]=[n,e],g()}}}zf.needsInterpolation=(t,e)=>"string"==typeof t||"string"==typeof e;const $f=t=>0,Vf=(t,e,n)=>{const r=e-t;return 0===r?1:(n-t)/r},Hf=(t,e)=>n=>Math.max(Math.min(n,e),t),Wf=t=>t%1?Number(t.toFixed(5)):t,Gf=/(-)?([\d]*\.?[\d])+/g,Uf=/(#[0-9a-f]{6}|#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))/gi,Xf=/^(#[0-9a-f]{3}|#(?:[0-9a-f]{2}){2,4}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2,3}\s*\/*\s*[\d\.]+%?\))$/i;function qf(t){return"string"==typeof t}const Yf={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},Kf=Object.assign(Object.assign({},Yf),{transform:Hf(0,1)}),Zf=Object.assign(Object.assign({},Yf),{default:1}),Qf=(t,e)=>n=>Boolean(qf(n)&&Xf.test(n)&&n.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(n,e)),Jf=(t,e,n)=>r=>{if(!qf(r))return r;const[i,a,o,s]=r.match(Gf);return{[t]:parseFloat(i),[e]:parseFloat(a),[n]:parseFloat(o),alpha:void 0!==s?parseFloat(s):1}},td=Hf(0,255),ed=Object.assign(Object.assign({},Yf),{transform:t=>Math.round(td(t))}),nd={test:Qf("rgb","red"),parse:Jf("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:r=1})=>"rgba("+ed.transform(t)+", "+ed.transform(e)+", "+ed.transform(n)+", "+Wf(Kf.transform(r))+")"};const rd={test:Qf("#"),parse:function(t){let e="",n="",r="",i="";return t.length>5?(e=t.substr(1,2),n=t.substr(3,2),r=t.substr(5,2),i=t.substr(7,2)):(e=t.substr(1,1),n=t.substr(2,1),r=t.substr(3,1),i=t.substr(4,1),e+=e,n+=n,r+=r,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:i?parseInt(i,16)/255:1}},transform:nd.transform},id=t=>({test:e=>qf(e)&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),ad=id("deg"),od=id("%"),sd=id("px"),ud=id("vh"),cd=id("vw"),ld=Object.assign(Object.assign({},od),{parse:t=>od.parse(t)/100,transform:t=>od.transform(100*t)}),hd={test:Qf("hsl","hue"),parse:Jf("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:r=1})=>"hsla("+Math.round(t)+", "+od.transform(Wf(e))+", "+od.transform(Wf(n))+", "+Wf(Kf.transform(r))+")"};function fd(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function dd({hue:t,saturation:e,lightness:n,alpha:r}){t/=360,n/=100;let i=0,a=0,o=0;if(e/=100){const r=n<.5?n*(1+e):n+e-n*e,s=2*n-r;i=fd(s,r,t+1/3),a=fd(s,r,t),o=fd(s,r,t-1/3)}else i=a=o=n;return{red:Math.round(255*i),green:Math.round(255*a),blue:Math.round(255*o),alpha:r}}const pd=(t,e,n)=>{const r=t*t,i=e*e;return Math.sqrt(Math.max(0,n*(i-r)+r))},gd=[rd,nd,hd],bd=t=>gd.find((e=>e.test(t))),vd=t=>`'${t}' is not an animatable color. Use the equivalent color code instead.`,md=(t,e)=>{let n=bd(t),r=bd(e);vd(t),vd(e);let i=n.parse(t),a=r.parse(e);n===hd&&(i=dd(i),n=nd),r===hd&&(a=dd(a),r=nd);const o=Object.assign({},i);return t=>{for(const e in o)"alpha"!==e&&(o[e]=pd(i[e],a[e],t));return o.alpha=If(i.alpha,a.alpha,t),n.transform(o)}},yd={test:t=>nd.test(t)||rd.test(t)||hd.test(t),parse:t=>nd.test(t)?nd.parse(t):hd.test(t)?hd.parse(t):rd.parse(t),transform:t=>qf(t)?t:t.hasOwnProperty("red")?nd.transform(t):hd.transform(t)},wd="${c}",xd="${n}";function _d(t){"number"==typeof t&&(t=`${t}`);const e=[];let n=0;const r=t.match(Uf);r&&(n=r.length,t=t.replace(Uf,wd),e.push(...r.map(yd.parse)));const i=t.match(Gf);return i&&(t=t.replace(Gf,xd),e.push(...i.map(Yf.parse))),{values:e,numColors:n,tokenised:t}}function Sd(t){return _d(t).values}function kd(t){const{values:e,numColors:n,tokenised:r}=_d(t),i=e.length;return t=>{let e=r;for(let r=0;r<i;r++)e=e.replace(r<n?wd:xd,r<n?yd.transform(t[r]):Wf(t[r]));return e}}const Id=t=>"number"==typeof t?0:t;const Md={test:function(t){var e,n,r,i;return isNaN(t)&&qf(t)&&(null!==(n=null===(e=t.match(Gf))||void 0===e?void 0:e.length)&&void 0!==n?n:0)+(null!==(i=null===(r=t.match(Uf))||void 0===r?void 0:r.length)&&void 0!==i?i:0)>0},parse:Sd,createTransformer:kd,getAnimatableNone:function(t){const e=Sd(t);return kd(t)(e.map(Id))}},Cd=t=>"number"==typeof t,Td=(t,e)=>n=>e(t(n)),Ad=(...t)=>t.reduce(Td);function Ed(t,e){return Cd(t)?n=>If(t,e,n):yd.test(t)?md(t,e):Ld(t,e)}const Pd=(t,e)=>{const n=[...t],r=n.length,i=t.map(((t,n)=>Ed(t,e[n])));return t=>{for(let e=0;e<r;e++)n[e]=i[e](t);return n}},Dd=(t,e)=>{const n=Object.assign(Object.assign({},t),e),r={};for(const i in n)void 0!==t[i]&&void 0!==e[i]&&(r[i]=Ed(t[i],e[i]));return t=>{for(const e in r)n[e]=r[e](t);return n}};function Od(t){const e=Md.parse(t),n=e.length;let r=0,i=0,a=0;for(let t=0;t<n;t++)r||"number"==typeof e[t]?r++:void 0!==e[t].hue?a++:i++;return{parsed:e,numNumbers:r,numRGB:i,numHSL:a}}const Ld=(t,e)=>{const n=Md.createTransformer(e),r=Od(t),i=Od(e);return r.numHSL===i.numHSL&&r.numRGB===i.numRGB&&r.numNumbers>=i.numNumbers?Ad(Pd(r.parsed,i.parsed),n):n=>`${n>0?e:t}`},Rd=(t,e)=>n=>If(t,e,n);function Nd(t,e,n){const r=[],i=n||("number"==typeof(a=t[0])?Rd:"string"==typeof a?yd.test(a)?md:Ld:Array.isArray(a)?Pd:"object"==typeof a?Dd:void 0);var a;const o=t.length-1;for(let n=0;n<o;n++){let a=i(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]:e;a=Ad(t,a)}r.push(a)}return r}function jd(t,e,{clamp:n=!0,ease:r,mixer:i}={}){const a=t.length;e.length,!r||!Array.isArray(r)||r.length,t[0]>t[a-1]&&(t=[].concat(t),e=[].concat(e),t.reverse(),e.reverse());const o=Nd(e,r,i),s=2===a?function([t,e],[n]){return r=>n(Vf(t,e,r))}(t,o):function(t,e){const n=t.length,r=n-1;return i=>{let a=0,o=!1;if(i<=t[0]?o=!0:i>=t[r]&&(a=r-1,o=!0),!o){let e=1;for(;e<n&&!(t[e]>i||e===r);e++);a=e-1}const s=Vf(t[a],t[a+1],i);return e[a](s)}}(t,o);return n?e=>s(Of(t[0],t[a-1],e)):s}const Fd=t=>e=>1-t(1-e),Bd=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,zd=t=>e=>e*e*((t+1)*e-t),$d=t=>t,Vd=(Hd=2,t=>Math.pow(t,Hd));var Hd;const Wd=Fd(Vd),Gd=Bd(Vd),Ud=t=>1-Math.sin(Math.acos(t)),Xd=Fd(Ud),qd=Bd(Xd),Yd=zd(1.525),Kd=Fd(Yd),Zd=Bd(Yd),Qd=(t=>{const e=zd(t);return t=>(t*=2)<1?.5*e(t):.5*(2-Math.pow(2,-10*(t-1)))})(1.525),Jd=t=>{if(1===t||0===t)return t;const e=t*t;return t<.36363636363636365?7.5625*e:t<.7272727272727273?9.075*e-9.9*t+3.4:t<.9?12.066481994459833*e-19.63545706371191*t+8.898060941828255:10.8*t*t-20.52*t+10.72},tp=Fd(Jd);function ep(t,e){return t.map((()=>e||Gd)).splice(0,t.length-1)}function np({from:t=0,to:e=1,ease:n,offset:r,duration:i=300}){const a={done:!1,value:t},o=Array.isArray(e)?e:[t,e],s=function(t,e){return t.map((t=>t*e))}(r&&r.length===o.length?r:function(t){const e=t.length;return t.map(((t,n)=>0!==n?n/(e-1):0))}(o),i);function u(){return jd(s,o,{ease:Array.isArray(n)?n:ep(o,n)})}let c=u();return{next:t=>(a.value=c(t),a.done=t>=i,a),flipTarget:()=>{o.reverse(),c=u()}}}const rp={keyframes:np,spring:zf,decay:function({velocity:t=0,from:e=0,power:n=.8,timeConstant:r=350,restDelta:i=.5,modifyTarget:a}){const o={done:!1,value:e};let s=n*t;const u=e+s,c=void 0===a?u:a(u);return c!==u&&(s=c-e),{next:t=>{const e=-s*Math.exp(-t/r);return o.done=!(e>i||e<-i),o.value=o.done?c:c+e,o},flipTarget:()=>{}}}};const ip=1/60*1e3,ap="undefined"!=typeof performance?()=>performance.now():()=>Date.now(),op="undefined"!=typeof window?t=>window.requestAnimationFrame(t):t=>setTimeout((()=>t(ap())),ip);let sp=!0,up=!1,cp=!1;const lp={delta:0,timestamp:0},hp=["read","update","preRender","render","postRender"],fp=hp.reduce(((t,e)=>(t[e]=function(t){let e=[],n=[],r=0,i=!1,a=!1;const o=new WeakSet,s={schedule:(t,a=!1,s=!1)=>{const u=s&&i,c=u?e:n;return a&&o.add(t),-1===c.indexOf(t)&&(c.push(t),u&&i&&(r=e.length)),t},cancel:t=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1),o.delete(t)},process:u=>{if(i)a=!0;else{if(i=!0,[e,n]=[n,e],n.length=0,r=e.length,r)for(let n=0;n<r;n++){const r=e[n];r(u),o.has(r)&&(s.schedule(r),t())}i=!1,a&&(a=!1,s.process(u))}}};return s}((()=>up=!0)),t)),{}),dp=hp.reduce(((t,e)=>{const n=fp[e];return t[e]=(t,e=!1,r=!1)=>(up||vp(),n.schedule(t,e,r)),t}),{}),pp=hp.reduce(((t,e)=>(t[e]=fp[e].cancel,t)),{}),gp=(hp.reduce(((t,e)=>(t[e]=()=>fp[e].process(lp),t)),{}),t=>fp[t].process(lp)),bp=t=>{up=!1,lp.delta=sp?ip:Math.max(Math.min(t-lp.timestamp,40),1),lp.timestamp=t,cp=!0,hp.forEach(gp),cp=!1,up&&(sp=!1,op(bp))},vp=()=>{up=!0,sp=!0,cp||op(bp)},mp=dp;function yp(t,e,n=0){return t-e-n}const wp=t=>{const e=({delta:e})=>t(e);return{start:()=>mp.update(e,!0),stop:()=>pp.update(e)}};function xp(t){var e,n,{from:r,autoplay:i=!0,driver:a=wp,elapsed:o=0,repeat:s=0,repeatType:u="loop",repeatDelay:c=0,onPlay:l,onStop:h,onComplete:f,onRepeat:d,onUpdate:p}=t,g=yh(t,["from","autoplay","driver","elapsed","repeat","repeatType","repeatDelay","onPlay","onStop","onComplete","onRepeat","onUpdate"]);let b,v,m,{to:y}=g,w=0,x=g.duration,_=!1,S=!0;const k=function(t){if(Array.isArray(t.to))return np;if(rp[t.type])return rp[t.type];const e=new Set(Object.keys(t));return e.has("ease")||e.has("duration")&&!e.has("dampingRatio")?np:e.has("dampingRatio")||e.has("stiffness")||e.has("mass")||e.has("damping")||e.has("restSpeed")||e.has("restDelta")?zf:np}(g);(null===(n=(e=k).needsInterpolation)||void 0===n?void 0:n.call(e,r,y))&&(m=jd([0,100],[r,y],{clamp:!1}),r=0,y=100);const I=k(Object.assign(Object.assign({},g),{from:r,to:y}));function M(){w++,"reverse"===u?(S=w%2==0,o=function(t,e,n=0,r=!0){return r?yp(e+-t,e,n):e-(t-e)+n}(o,x,c,S)):(o=yp(o,x,c),"mirror"===u&&I.flipTarget()),_=!1,d&&d()}function C(t){if(S||(t=-t),o+=t,!_){const t=I.next(Math.max(0,o));v=t.value,m&&(v=m(v)),_=S?t.done:o<=0}null==p||p(v),_&&(0===w&&(null!=x||(x=o)),w<s?function(t,e,n,r){return r?t>=e+n:t<=-n}(o,x,c,S)&&M():(b.stop(),f&&f()))}return i&&(null==l||l(),b=a(C),b.start()),{stop:()=>{null==h||h(),b.stop()}}}function _p({from:t=0,velocity:e=0,min:n,max:r,power:i=.8,timeConstant:a=750,bounceStiffness:o=500,bounceDamping:s=10,restDelta:u=1,modifyTarget:c,driver:l,onUpdate:h,onComplete:f,onStop:d}){let p;function g(t){return void 0!==n&&t<n||void 0!==r&&t>r}function b(t){return void 0===n?r:void 0===r||Math.abs(n-t)<Math.abs(r-t)?n:r}function v(t){null==p||p.stop(),p=xp(Object.assign(Object.assign({},t),{driver:l,onUpdate:e=>{var n;null==h||h(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:f,onStop:d}))}function m(t){v(Object.assign({type:"spring",stiffness:o,damping:s,restDelta:u},t))}if(g(t))m({from:t,velocity:e,to:b(t)});else{let r=i*e+t;void 0!==c&&(r=c(r));const o=b(r),s=o===n?-1:1;let l,h;const f=t=>{l=h,h=t,e=Mf(t-l,lp.delta),(1===s&&t>o||-1===s&&t<o)&&m({from:t,to:o,velocity:e})};v({type:"decay",from:t,velocity:e,timeConstant:a,power:i,restDelta:u,modifyTarget:c,onUpdate:g(r)?f:void 0})}return{stop:()=>null==p?void 0:p.stop()}}var Sp=function(t){return 1e3*t};const kp=(t,e)=>1-3*e+3*t,Ip=(t,e)=>3*e-6*t,Mp=t=>3*t,Cp=(t,e,n)=>((kp(e,n)*t+Ip(e,n))*t+Mp(e))*t,Tp=(t,e,n)=>3*kp(e,n)*t*t+2*Ip(e,n)*t+Mp(e);const Ap=.1;function Ep(t,e,n,r){if(t===e&&n===r)return $d;const i=new Float32Array(11);for(let e=0;e<11;++e)i[e]=Cp(e*Ap,t,n);function a(e){let r=0,a=1;for(;10!==a&&i[a]<=e;++a)r+=Ap;--a;const o=r+(e-i[a])/(i[a+1]-i[a])*Ap,s=Tp(o,t,n);return s>=.001?function(t,e,n,r){for(let i=0;i<8;++i){const i=Tp(e,n,r);if(0===i)return e;e-=(Cp(e,n,r)-t)/i}return e}(e,o,t,n):0===s?o:function(t,e,n,r,i){let a,o,s=0;do{o=e+(n-e)/2,a=Cp(o,r,i)-t,a>0?n=o:e=o}while(Math.abs(a)>1e-7&&++s<10);return o}(e,r,r+Ap,t,n)}return t=>0===t||1===t?t:Cp(a(t),e,r)}var Pp={linear:$d,easeIn:Vd,easeInOut:Gd,easeOut:Wd,circIn:Ud,circInOut:qd,circOut:Xd,backIn:Yd,backInOut:Zd,backOut:Kd,anticipate:Qd,bounceIn:tp,bounceInOut:t=>t<.5?.5*(1-Jd(1-2*t)):.5*Jd(2*t-1)+.5,bounceOut:Jd},Dp=function(t){if(Array.isArray(t)){t.length;var e=xh(t,4);return Ep(e[0],e[1],e[2],e[3])}return"string"==typeof t?("Invalid easing type '".concat(t,"'"),Pp[t]):t},Op=function(t,e){return"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!Md.test(e)||e.startsWith("url(")))},Lp=function(t){return Array.isArray(t)},Rp=function(){return{type:"spring",stiffness:500,damping:25,restSpeed:10}},Np=function(t){return{type:"spring",stiffness:550,damping:0===t?2*Math.sqrt(550):30,restSpeed:10}},jp=function(){return{type:"keyframes",ease:"linear",duration:.3}},Fp=function(t){return{type:"keyframes",duration:.8,values:t}},Bp={x:Rp,y:Rp,z:Rp,rotate:Rp,rotateX:Rp,rotateY:Rp,rotateZ:Rp,scaleX:Np,scaleY:Np,scale:Np,opacity:jp,backgroundColor:jp,color:jp,default:Np};const zp=new Set(["brightness","contrast","saturate","opacity"]);function $p(t){let[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[r]=n.match(Gf)||[];if(!r)return t;const i=n.replace(r,"");let a=zp.has(e)?1:0;return r!==n&&(a*=100),e+"("+a+i+")"}const Vp=/([a-z-]*)\(.*?\)/g,Hp=Object.assign(Object.assign({},Md),{getAnimatableNone:t=>{const e=t.match(Vp);return e?e.map($p).join(" "):t}});var Wp=mh(mh({},Yf),{transform:Math.round}),Gp={borderWidth:sd,borderTopWidth:sd,borderRightWidth:sd,borderBottomWidth:sd,borderLeftWidth:sd,borderRadius:sd,radius:sd,borderTopLeftRadius:sd,borderTopRightRadius:sd,borderBottomRightRadius:sd,borderBottomLeftRadius:sd,width:sd,maxWidth:sd,height:sd,maxHeight:sd,size:sd,top:sd,right:sd,bottom:sd,left:sd,padding:sd,paddingTop:sd,paddingRight:sd,paddingBottom:sd,paddingLeft:sd,margin:sd,marginTop:sd,marginRight:sd,marginBottom:sd,marginLeft:sd,rotate:ad,rotateX:ad,rotateY:ad,rotateZ:ad,scale:Zf,scaleX:Zf,scaleY:Zf,scaleZ:Zf,skew:ad,skewX:ad,skewY:ad,distance:sd,translateX:sd,translateY:sd,translateZ:sd,x:sd,y:sd,z:sd,perspective:sd,transformPerspective:sd,opacity:Kf,originX:ld,originY:ld,originZ:sd,zIndex:Wp,fillOpacity:Kf,strokeOpacity:Kf,numOctaves:Wp},Up=mh(mh({},Gp),{color:yd,backgroundColor:yd,outlineColor:yd,fill:yd,stroke:yd,borderColor:yd,borderTopColor:yd,borderRightColor:yd,borderBottomColor:yd,borderLeftColor:yd,filter:Hp,WebkitFilter:Hp}),Xp=function(t){return Up[t]};function qp(t,e){var n,r=Xp(t);return r!==Hp&&(r=Md),null===(n=r.getAnimatableNone)||void 0===n?void 0:n.call(r,e)}var Yp=!1,Kp=function(t){return Lp(t)?t[t.length-1]||0:t};function Zp(t){var e=t.ease,n=t.times,r=t.yoyo,i=t.flip,a=t.loop,o=yh(t,["ease","times","yoyo","flip","loop"]),s=mh({},o);return n&&(s.offset=n),o.duration&&(s.duration=Sp(o.duration)),o.repeatDelay&&(s.repeatDelay=Sp(o.repeatDelay)),e&&(s.ease=function(t){return Array.isArray(t)&&"number"!=typeof t[0]}(e)?e.map(Dp):Dp(e)),"tween"===o.type&&(s.type="keyframes"),(r||a||i)&&(!0,r?s.repeatType="reverse":a?s.repeatType="loop":i&&(s.repeatType="mirror"),s.repeat=a||r||i||o.repeat),"spring"!==o.type&&(s.type="keyframes"),s}function Qp(t,e,n){var r,i,a,o;return Array.isArray(e.to)&&(null!==(r=t.duration)&&void 0!==r||(t.duration=.8)),function(t){Array.isArray(t.to)&&null===t.to[0]&&(t.to=_h([],xh(t.to),!1),t.to[0]=t.from)}(e),function(t){t.when,t.delay,t.delayChildren,t.staggerChildren,t.staggerDirection,t.repeat,t.repeatType,t.repeatDelay,t.from;var e=yh(t,["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from"]);return!!Object.keys(e).length}(t)||(t=mh(mh({},t),(i=n,a=e.to,o=Lp(a)?Fp:Bp[i]||Bp.default,mh({to:a},o(a))))),mh(mh({},e),Zp(t))}function Jp(t){return 0===t||"string"==typeof t&&0===parseFloat(t)&&-1===t.indexOf(" ")}function tg(t){return"number"==typeof t?0:qp("",t)}function eg(t,e){return t[e]||t.default||t}function ng(t,e,n,r){return void 0===r&&(r={}),Yp&&(r={type:!1}),e.start((function(i){var a,o,s=function(t,e,n,r,i){var a,o=eg(r,t),s=null!==(a=o.from)&&void 0!==a?a:e.get(),u=Op(t,n);"none"===s&&u&&"string"==typeof n?s=qp(t,n):Jp(s)&&"string"==typeof n?s=tg(n):!Array.isArray(n)&&Jp(n)&&"string"==typeof s&&(n=tg(s));var c=Op(t,s);return"You are trying to animate ".concat(t,' from "').concat(s,'" to "').concat(n,'". ').concat(s," is not an animatable value - to enable this animation set ").concat(s," to a value animatable to ").concat(n," via the `style` property."),c&&u&&!1!==o.type?function(){var r={from:s,to:n,velocity:e.getVelocity(),onComplete:i,onUpdate:function(t){return e.set(t)}};return"inertia"===o.type||"decay"===o.type?_p(mh(mh({},r),o)):xp(mh(mh({},Qp(o,r,t)),{onUpdate:function(t){var e;r.onUpdate(t),null===(e=o.onUpdate)||void 0===e||e.call(o,t)},onComplete:function(){var t;r.onComplete(),null===(t=o.onComplete)||void 0===t||t.call(o)}}))}:function(){var t,r,a=Kp(n);return e.set(a),i(),null===(t=null==o?void 0:o.onUpdate)||void 0===t||t.call(o,a),null===(r=null==o?void 0:o.onComplete)||void 0===r||r.call(o),{stop:function(){}}}}(t,e,n,r,i),u=function(t,e){var n,r;return null!==(r=null!==(n=(eg(t,e)||{}).delay)&&void 0!==n?n:t.delay)&&void 0!==r?r:0}(r,t),c=function(){return o=s()};return u?a=window.setTimeout(c,Sp(u)):c(),function(){clearTimeout(a),null==o||o.stop()}}))}var rg=["TopLeft","TopRight","BottomLeft","BottomRight"],ig=rg.length,ag=function(t){return"string"==typeof t?parseFloat(t):t},og=function(t){return"number"==typeof t||sd.test(t)};function sg(t,e){var n;return null!==(n=t[e])&&void 0!==n?n:t.borderRadius}var ug=lg(0,.5,Xd),cg=lg(.5,.95,$d);function lg(t,e,n){return function(r){return r<t?0:r>e?1:n(Vf(t,e,r))}}function hg(t,e){t.min=e.min,t.max=e.max}function fg(t,e){hg(t.x,e.x),hg(t.y,e.y)}function dg(t){return void 0===t||1===t}function pg(t){var e=t.scale,n=t.scaleX,r=t.scaleY;return!dg(e)||!dg(n)||!dg(r)}function gg(t){return pg(t)||bg(t.x)||bg(t.y)||t.z||t.rotate||t.rotateX||t.rotateY}function bg(t){return t&&"0%"!==t}function vg(t,e,n){return n+e*(t-n)}function mg(t,e,n,r,i){return void 0!==i&&(t=vg(t,i,r)),vg(t,n,r)+e}function yg(t,e,n,r,i){void 0===e&&(e=0),void 0===n&&(n=1),t.min=mg(t.min,e,n,r,i),t.max=mg(t.max,e,n,r,i)}function wg(t,e){var n=e.x,r=e.y;yg(t.x,n.translate,n.scale,n.originPoint),yg(t.y,r.translate,r.scale,r.originPoint)}function xg(t,e){t.min=t.min+e,t.max=t.max+e}function _g(t,e,n){var r=xh(n,3),i=r[0],a=r[1],o=r[2],s=void 0!==e[o]?e[o]:.5,u=If(t.min,t.max,s);yg(t,e[i],e[a],u,e.scale)}var Sg=["x","scaleX","originX"],kg=["y","scaleY","originY"];function Ig(t,e){_g(t.x,e,Sg),_g(t.y,e,kg)}const Mg=t=>t.hasOwnProperty("x")&&t.hasOwnProperty("y"),Cg=t=>Mg(t)&&t.hasOwnProperty("z"),Tg=(t,e)=>Math.abs(t-e);function Ag(t,e){if(Cd(t)&&Cd(e))return Tg(t,e);if(Mg(t)&&Mg(e)){const n=Tg(t.x,e.x),r=Tg(t.y,e.y),i=Cg(t)&&Cg(e)?Tg(t.z,e.z):0;return Math.sqrt(Math.pow(n,2)+Math.pow(r,2)+Math.pow(i,2))}}function Eg(t){return t.max-t.min}function Pg(t,e,n){return void 0===e&&(e=0),void 0===n&&(n=.01),Ag(t,e)<n}function Dg(t,e,n,r){void 0===r&&(r=.5),t.origin=r,t.originPoint=If(e.min,e.max,t.origin),t.scale=Eg(n)/Eg(e),(Pg(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=If(n.min,n.max,t.origin)-t.originPoint,(Pg(t.translate)||isNaN(t.translate))&&(t.translate=0)}function Og(t,e,n,r){Dg(t.x,e.x,n.x,null==r?void 0:r.originX),Dg(t.y,e.y,n.y,null==r?void 0:r.originY)}function Lg(t,e,n){t.min=n.min+e.min,t.max=t.min+Eg(e)}function Rg(t,e,n){t.min=e.min-n.min,t.max=t.min+Eg(e)}function Ng(t,e,n){Rg(t.x,e.x,n.x),Rg(t.y,e.y,n.y)}function jg(t,e,n,r,i){return t=vg(t-=e,1/n,r),void 0!==i&&(t=vg(t,1/i,r)),t}function Fg(t,e,n,r,i){var a=xh(n,3),o=a[0],s=a[1],u=a[2];!function(t,e,n,r,i,a,o){if(void 0===e&&(e=0),void 0===n&&(n=1),void 0===r&&(r=.5),void 0===a&&(a=t),void 0===o&&(o=t),od.test(e)&&(e=parseFloat(e),e=If(o.min,o.max,e/100)-o.min),"number"==typeof e){var s=If(a.min,a.max,r);t===a&&(s-=e),t.min=jg(t.min,e,n,s,i),t.max=jg(t.max,e,n,s,i)}}(t,e[o],e[s],e[u],e.scale,r,i)}var Bg=["x","scaleX","originX"],zg=["y","scaleY","originY"];function $g(t,e,n,r){Fg(t.x,e,Bg,null==n?void 0:n.x,null==r?void 0:r.x),Fg(t.y,e,zg,null==n?void 0:n.y,null==r?void 0:r.y)}function Vg(t){return 0===t.translate&&1===t.scale}function Hg(t){return Vg(t.x)&&Vg(t.y)}function Wg(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}var Gg=function(){function t(){this.members=[]}return t.prototype.add=function(t){Cf(this.members,t),t.scheduleRender()},t.prototype.remove=function(t){if(Tf(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){var e=this.members[this.members.length-1];e&&this.promote(e)}},t.prototype.relegate=function(t){var e,n=this.members.findIndex((function(e){return t===e}));if(0===n)return!1;for(var r=n;r>=0;r--){var i=this.members[r];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)},t.prototype.promote=function(t,e){var n,r=this.lead;t!==r&&(this.prevLead=r,this.lead=t,t.show(),r&&(r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,e&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues,t.snapshot.isShared=!0),(null===(n=t.root)||void 0===n?void 0:n.isUpdating)&&(t.isLayoutDirty=!0),!1===t.options.crossfade&&r.hide()))},t.prototype.exitAnimationComplete=function(){this.members.forEach((function(t){var e,n,r,i,a;null===(n=(e=t.options).onExitComplete)||void 0===n||n.call(e),null===(a=null===(r=t.resumingFrom)||void 0===r?void 0:(i=r.options).onExitComplete)||void 0===a||a.call(i)}))},t.prototype.scheduleRender=function(){this.members.forEach((function(t){t.instance&&t.scheduleRender(!1)}))},t.prototype.removeLeadSnapshot=function(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)},t}(),Ug={};function Xg(t,e,n){var r=t.x.translate/e.x,i=t.y.translate/e.y,a="translate3d(".concat(r,"px, ").concat(i,"px, 0) ");if(a+="scale(".concat(1/e.x,", ").concat(1/e.y,") "),n){var o=n.rotate,s=n.rotateX,u=n.rotateY;o&&(a+="rotate(".concat(o,"deg) ")),s&&(a+="rotateX(".concat(s,"deg) ")),u&&(a+="rotateY(".concat(u,"deg) "))}var c=t.x.scale*e.x,l=t.y.scale*e.y;return"translate3d(0px, 0px, 0) scale(1, 1) scale(1, 1)"===(a+="scale(".concat(c,", ").concat(l,")"))?"none":a}function qg(t){return[t("x"),t("y")]}var Yg=["","X","Y","Z"],Kg=["transformPerspective","x","y","z"];function Zg(t,e){return Kg.indexOf(t)-Kg.indexOf(e)}["translate","scale","rotate","skew"].forEach((function(t){return Yg.forEach((function(e){return Kg.push(t+e)}))}));var Qg=new Set(Kg);function Jg(t){return Qg.has(t)}var tb=new Set(["originX","originY","originZ"]);function eb(t){return tb.has(t)}var nb=function(t,e){return t.depth-e.depth},rb=function(){function t(){this.children=[],this.isDirty=!1}return t.prototype.add=function(t){Cf(this.children,t),this.isDirty=!0},t.prototype.remove=function(t){Tf(this.children,t),this.isDirty=!0},t.prototype.forEach=function(t){this.isDirty&&this.children.sort(nb),this.isDirty=!1,this.children.forEach(t)},t}();function ib(t){var e,n=Df(t)?t.get():t;return e=n,Boolean(e&&"object"==typeof e&&e.mix&&e.toValue)?n.toValue():n}var ab={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ob(t){var e=t.attachResizeListener,n=t.defaultParent,r=t.measureScroll,i=t.resetTransform;return function(){function t(t,e,r){var i=this;void 0===e&&(e={}),void 0===r&&(r=null==n?void 0:n()),this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.potentialNodes=new Map,this.checkUpdateFailed=function(){i.isUpdating&&(i.isUpdating=!1,i.clearAllSnapshots())},this.updateProjection=function(){i.nodes.forEach(db),i.nodes.forEach(pb)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.id=t,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?_h(_h([],xh(r.path),!1),[r],!1):[],this.parent=r,this.depth=r?r.depth+1:0,t&&this.root.registerPotentialNode(t,this);for(var a=0;a<this.path.length;a++)this.path[a].shouldResetTransform=!0;this.root===this&&(this.nodes=new rb)}return t.prototype.addEventListener=function(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new Af),this.eventHandlers.get(t).add(e)},t.prototype.notifyListeners=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var r=this.eventHandlers.get(t);null==r||r.notify.apply(r,_h([],xh(e),!1))},t.prototype.hasListeners=function(t){return this.eventHandlers.has(t)},t.prototype.registerPotentialNode=function(t,e){this.potentialNodes.set(t,e)},t.prototype.mount=function(t,n){var r,i=this;if(void 0===n&&(n=!1),!this.instance){this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;var a=this.options,o=a.layoutId,s=a.layout,u=a.visualElement;if(u&&!u.getInstance()&&u.mount(t),this.root.nodes.add(this),null===(r=this.parent)||void 0===r||r.children.add(this),this.id&&this.root.potentialNodes.delete(this.id),n&&(s||o)&&(this.isLayoutDirty=!0),e){var c,l=function(){return i.root.updateBlockedByResize=!1};e(t,(function(){i.root.updateBlockedByResize=!0,clearTimeout(c),c=window.setTimeout(l,250),ab.hasAnimatedSinceResize&&(ab.hasAnimatedSinceResize=!1,i.nodes.forEach(fb))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&u&&(o||s)&&this.addEventListener("didUpdate",(function(t){var e,n,r,a,o,s=t.delta,c=t.hasLayoutChanged,l=t.hasRelativeTargetChanged,h=t.layout;if(i.isTreeAnimationBlocked())return i.target=void 0,void(i.relativeTarget=void 0);var f=null!==(n=null!==(e=i.options.transition)&&void 0!==e?e:u.getDefaultTransition())&&void 0!==n?n:wb,d=u.getProps(),p=d.onLayoutAnimationStart,g=d.onLayoutAnimationComplete,b=!i.targetLayout||!Wg(i.targetLayout,h)||l,v=!c&&l;if((null===(r=i.resumeFrom)||void 0===r?void 0:r.instance)||v||c&&(b||!i.currentAnimation)){i.resumeFrom&&(i.resumingFrom=i.resumeFrom,i.resumingFrom.resumingFrom=void 0),i.setAnimationOrigin(s,v);var m=mh(mh({},eg(f,"layout")),{onPlay:p,onComplete:g});u.shouldReduceMotion&&(m.delay=0,m.type=!1),i.startAnimation(m)}else c||0!==i.animationProgress||i.finishAnimation(),i.isLead()&&(null===(o=(a=i.options).onExitComplete)||void 0===o||o.call(a));i.targetLayout=h}))}},t.prototype.unmount=function(){var t,e;this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this),null===(t=this.getStack())||void 0===t||t.remove(this),null===(e=this.parent)||void 0===e||e.children.delete(this),this.instance=void 0,Oh.preRender(this.updateProjection)},t.prototype.blockUpdate=function(){this.updateManuallyBlocked=!0},t.prototype.unblockUpdate=function(){this.updateManuallyBlocked=!1},t.prototype.isUpdateBlocked=function(){return this.updateManuallyBlocked||this.updateBlockedByResize},t.prototype.isTreeAnimationBlocked=function(){var t;return this.isAnimationBlocked||(null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimationBlocked())||!1},t.prototype.startUpdate=function(){var t;this.isUpdateBlocked()||(this.isUpdating=!0,null===(t=this.nodes)||void 0===t||t.forEach(gb))},t.prototype.willUpdate=function(t){var e,n,r;if(void 0===t&&(t=!0),this.root.isUpdateBlocked())null===(n=(e=this.options).onExitComplete)||void 0===n||n.call(e);else if(!this.root.isUpdating&&this.root.startUpdate(),!this.isLayoutDirty){this.isLayoutDirty=!0;for(var i=0;i<this.path.length;i++){var a=this.path[i];a.shouldResetTransform=!0,a.updateScroll()}var o=this.options,s=o.layoutId,u=o.layout;if(void 0!==s||u){var c=null===(r=this.options.visualElement)||void 0===r?void 0:r.getProps().transformTemplate;this.prevTransformTemplateValue=null==c?void 0:c(this.latestValues,""),this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}}},t.prototype.didUpdate=function(){if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(lb);this.isUpdating&&(this.isUpdating=!1,this.potentialNodes.size&&(this.potentialNodes.forEach(xb),this.potentialNodes.clear()),this.nodes.forEach(hb),this.nodes.forEach(sb),this.nodes.forEach(ub),this.clearAllSnapshots(),Lh.update(),Lh.preRender(),Lh.render())},t.prototype.clearAllSnapshots=function(){this.nodes.forEach(cb),this.sharedNodes.forEach(bb)},t.prototype.scheduleUpdateProjection=function(){Bh.preRender(this.updateProjection,!1,!0)},t.prototype.scheduleCheckAfterUnmount=function(){var t=this;Bh.postRender((function(){t.isLayoutDirty?t.root.didUpdate():t.root.checkUpdateFailed()}))},t.prototype.updateSnapshot=function(){if(!this.snapshot&&this.instance){var t=this.measure(),e=this.removeTransform(this.removeElementScroll(t));Sb(e),this.snapshot={measured:t,layout:e,latestValues:{}}}},t.prototype.updateLayout=function(){var t;if(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)){if(this.resumeFrom&&!this.resumeFrom.instance)for(var e=0;e<this.path.length;e++){this.path[e].updateScroll()}var n=this.measure();Sb(n);var r=this.layout;this.layout={measured:n,actual:this.removeElementScroll(n)},this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.actual),null===(t=this.options.visualElement)||void 0===t||t.notifyLayoutMeasure(this.layout.actual,null==r?void 0:r.actual)}},t.prototype.updateScroll=function(){this.options.layoutScroll&&this.instance&&(this.scroll=r(this.instance))},t.prototype.resetTransform=function(){var t;if(i){var e=this.isLayoutDirty||this.shouldResetTransform,n=this.projectionDelta&&!Hg(this.projectionDelta),r=null===(t=this.options.visualElement)||void 0===t?void 0:t.getProps().transformTemplate,a=null==r?void 0:r(this.latestValues,""),o=a!==this.prevTransformTemplateValue;e&&(n||gg(this.latestValues)||o)&&(i(this.instance,a),this.shouldResetTransform=!1,this.scheduleRender())}},t.prototype.measure=function(){var t=this.options.visualElement;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};var e=t.measureViewportBox(),n=this.root.scroll;return n&&(xg(e.x,n.x),xg(e.y,n.y)),e},t.prototype.removeElementScroll=function(t){var e={x:{min:0,max:0},y:{min:0,max:0}};fg(e,t);for(var n=0;n<this.path.length;n++){var r=this.path[n],i=r.scroll,a=r.options;r!==this.root&&i&&a.layoutScroll&&(xg(e.x,i.x),xg(e.y,i.y))}return e},t.prototype.applyTransform=function(t,e){void 0===e&&(e=!1);var n={x:{min:0,max:0},y:{min:0,max:0}};fg(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&Ig(n,{x:-i.scroll.x,y:-i.scroll.y}),gg(i.latestValues)&&Ig(n,i.latestValues)}return gg(this.latestValues)&&Ig(n,this.latestValues),n},t.prototype.removeTransform=function(t){var e,n={x:{min:0,max:0},y:{min:0,max:0}};fg(n,t);for(var r=0;r<this.path.length;r++){var i=this.path[r];if(i.instance&&gg(i.latestValues)){pg(i.latestValues)&&i.updateSnapshot();var a={x:{min:0,max:0},y:{min:0,max:0}};fg(a,i.measure()),$g(n,i.latestValues,null===(e=i.snapshot)||void 0===e?void 0:e.layout,a)}}return gg(this.latestValues)&&$g(n,this.latestValues),n},t.prototype.setTargetDelta=function(t){this.targetDelta=t,this.root.scheduleUpdateProjection()},t.prototype.setOptions=function(t){var e;this.options=mh(mh(mh({},this.options),t),{crossfade:null===(e=t.crossfade)||void 0===e||e})},t.prototype.clearMeasurements=function(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1},t.prototype.resolveTargetDelta=function(){var t,e,n,r,i=this.options,a=i.layout,o=i.layoutId;this.layout&&(a||o)&&(this.targetDelta||this.relativeTarget||(this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&this.relativeParent.layout&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ng(this.relativeTargetOrigin,this.layout.actual,this.relativeParent.layout.actual),fg(this.relativeTarget,this.relativeTargetOrigin))),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&(null===(t=this.relativeParent)||void 0===t?void 0:t.target)?(e=this.target,n=this.relativeTarget,r=this.relativeParent.target,Lg(e.x,n.x,r.x),Lg(e.y,n.y,r.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.actual):fg(this.target,this.layout.actual),wg(this.target,this.targetDelta)):fg(this.target,this.layout.actual),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.relativeParent=this.getClosestProjectingParent(),this.relativeParent&&Boolean(this.relativeParent.resumingFrom)===Boolean(this.resumingFrom)&&!this.relativeParent.options.layoutScroll&&this.relativeParent.target&&(this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ng(this.relativeTargetOrigin,this.target,this.relativeParent.target),fg(this.relativeTarget,this.relativeTargetOrigin)))))},t.prototype.getClosestProjectingParent=function(){if(this.parent&&!gg(this.parent.latestValues))return(this.parent.relativeTarget||this.parent.targetDelta)&&this.parent.layout?this.parent:this.parent.getClosestProjectingParent()},t.prototype.calcProjection=function(){var t,e=this.options,n=e.layout,r=e.layoutId;if(this.isTreeAnimating=Boolean((null===(t=this.parent)||void 0===t?void 0:t.isTreeAnimating)||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),this.layout&&(n||r)){var i=this.getLead();fg(this.layoutCorrected,this.layout.actual),function(t,e,n,r){var i,a;void 0===r&&(r=!1);var o=n.length;if(o){var s,u;e.x=e.y=1;for(var c=0;c<o;c++)u=(s=n[c]).projectionDelta,"contents"!==(null===(a=null===(i=s.instance)||void 0===i?void 0:i.style)||void 0===a?void 0:a.display)&&(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Ig(t,{x:-s.scroll.x,y:-s.scroll.y}),u&&(e.x*=u.x.scale,e.y*=u.y.scale,wg(t,u)),r&&gg(s.latestValues)&&Ig(t,s.latestValues))}}(this.layoutCorrected,this.treeScale,this.path,Boolean(this.resumingFrom)||this!==i);var a=i.target;if(a){this.projectionDelta||(this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}});var o=this.treeScale.x,s=this.treeScale.y,u=this.projectionTransform;Og(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.projectionTransform=Xg(this.projectionDelta,this.treeScale),this.projectionTransform===u&&this.treeScale.x===o&&this.treeScale.y===s||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}}},t.prototype.hide=function(){this.isVisible=!1},t.prototype.show=function(){this.isVisible=!0},t.prototype.scheduleRender=function(t){var e,n,r;void 0===t&&(t=!0),null===(n=(e=this.options).scheduleRender)||void 0===n||n.call(e),t&&(null===(r=this.getStack())||void 0===r||r.scheduleRender()),this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)},t.prototype.setAnimationOrigin=function(t,e){var n,r=this;void 0===e&&(e=!1);var i=this.snapshot,a=(null==i?void 0:i.latestValues)||{},o=mh({},this.latestValues),s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeTarget=this.relativeTargetOrigin=void 0,this.attemptToResolveRelativeTarget=!e;var u={x:{min:0,max:0},y:{min:0,max:0}},c=null==i?void 0:i.isShared,l=((null===(n=this.getStack())||void 0===n?void 0:n.members.length)||0)<=1,h=Boolean(c&&!l&&!0===this.options.crossfade&&!this.path.some(yb));this.animationProgress=0,this.mixTargetDelta=function(e){var n,i=e/1e3;vb(s.x,t.x,i),vb(s.y,t.y,i),r.setTargetDelta(s),r.relativeTarget&&r.relativeTargetOrigin&&r.layout&&(null===(n=r.relativeParent)||void 0===n?void 0:n.layout)&&(Ng(u,r.layout.actual,r.relativeParent.layout.actual),function(t,e,n,r){mb(t.x,e.x,n.x,r),mb(t.y,e.y,n.y,r)}(r.relativeTarget,r.relativeTargetOrigin,u,i)),c&&(r.animationValues=o,function(t,e,n,r,i,a){var o,s,u,c;i?(t.opacity=If(0,null!==(o=n.opacity)&&void 0!==o?o:1,ug(r)),t.opacityExit=If(null!==(s=e.opacity)&&void 0!==s?s:1,0,cg(r))):a&&(t.opacity=If(null!==(u=e.opacity)&&void 0!==u?u:1,null!==(c=n.opacity)&&void 0!==c?c:1,r));for(var l=0;l<ig;l++){var h="border".concat(rg[l],"Radius"),f=sg(e,h),d=sg(n,h);void 0===f&&void 0===d||(f||(f=0),d||(d=0),0===f||0===d||og(f)===og(d)?(t[h]=Math.max(If(ag(f),ag(d),r),0),(od.test(d)||od.test(f))&&(t[h]+="%")):t[h]=d)}(e.rotate||n.rotate)&&(t.rotate=If(e.rotate||0,n.rotate||0,r))}(o,a,r.latestValues,i,h,l)),r.root.scheduleUpdateProjection(),r.scheduleRender(),r.animationProgress=i},this.mixTargetDelta(0)},t.prototype.startAnimation=function(t){var e,n,r=this;this.notifyListeners("animationStart"),null===(e=this.currentAnimation)||void 0===e||e.stop(),this.resumingFrom&&(null===(n=this.resumingFrom.currentAnimation)||void 0===n||n.stop()),this.pendingAnimation&&(Oh.update(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Bh.update((function(){ab.hasAnimatedSinceResize=!0,r.currentAnimation=function(t,e,n){void 0===n&&(n={});var r=Df(t)?t:Pf(t);return ng("",r,e,n),{stop:function(){return r.stop()},isAnimating:function(){return r.isAnimating()}}}(0,1e3,mh(mh({},t),{onUpdate:function(e){var n;r.mixTargetDelta(e),null===(n=t.onUpdate)||void 0===n||n.call(t,e)},onComplete:function(){var e;null===(e=t.onComplete)||void 0===e||e.call(t),r.completeAnimation()}})),r.resumingFrom&&(r.resumingFrom.currentAnimation=r.currentAnimation),r.pendingAnimation=void 0}))},t.prototype.completeAnimation=function(){var t;this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0),null===(t=this.getStack())||void 0===t||t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")},t.prototype.finishAnimation=function(){var t;this.currentAnimation&&(null===(t=this.mixTargetDelta)||void 0===t||t.call(this,1e3),this.currentAnimation.stop()),this.completeAnimation()},t.prototype.applyTransformsToTarget=function(){var t=this.getLead(),e=t.targetWithTransforms,n=t.target,r=t.layout,i=t.latestValues;e&&n&&r&&(fg(e,n),Ig(e,i),Og(this.projectionDeltaWithTransform,this.layoutCorrected,e,i))},t.prototype.registerSharedNode=function(t,e){var n,r,i;this.sharedNodes.has(t)||this.sharedNodes.set(t,new Gg),this.sharedNodes.get(t).add(e),e.promote({transition:null===(n=e.options.initialPromotionConfig)||void 0===n?void 0:n.transition,preserveFollowOpacity:null===(i=null===(r=e.options.initialPromotionConfig)||void 0===r?void 0:r.shouldPreserveFollowOpacity)||void 0===i?void 0:i.call(r,e)})},t.prototype.isLead=function(){var t=this.getStack();return!t||t.lead===this},t.prototype.getLead=function(){var t;return this.options.layoutId&&(null===(t=this.getStack())||void 0===t?void 0:t.lead)||this},t.prototype.getPrevLead=function(){var t;return this.options.layoutId?null===(t=this.getStack())||void 0===t?void 0:t.prevLead:void 0},t.prototype.getStack=function(){var t=this.options.layoutId;if(t)return this.root.sharedNodes.get(t)},t.prototype.promote=function(t){var e=void 0===t?{}:t,n=e.needsReset,r=e.transition,i=e.preserveFollowOpacity,a=this.getStack();a&&a.promote(this,i),n&&(this.projectionDelta=void 0,this.needsReset=!0),r&&this.setOptions({transition:r})},t.prototype.relegate=function(){var t=this.getStack();return!!t&&t.relegate(this)},t.prototype.resetRotation=function(){var t=this.options.visualElement;if(t){for(var e=!1,n={},r=0;r<Yg.length;r++){var i="rotate"+Yg[r];t.getStaticValue(i)&&(e=!0,n[i]=t.getStaticValue(i),t.setStaticValue(i,0))}if(e){for(var i in null==t||t.syncRender(),n)t.setStaticValue(i,n[i]);t.scheduleRender()}}},t.prototype.getProjectionStyles=function(t){var e,n,r,i,a,o;void 0===t&&(t={});var s={};if(!this.instance||this.isSVG)return s;if(!this.isVisible)return{visibility:"hidden"};s.visibility="";var u=null===(e=this.options.visualElement)||void 0===e?void 0:e.getProps().transformTemplate;if(this.needsReset)return this.needsReset=!1,s.opacity="",s.pointerEvents=ib(t.pointerEvents)||"",s.transform=u?u(this.latestValues,""):"none",s;var c=this.getLead();if(!this.projectionDelta||!this.layout||!c.target){var l={};return this.options.layoutId&&(l.opacity=null!==(n=this.latestValues.opacity)&&void 0!==n?n:1,l.pointerEvents=ib(t.pointerEvents)||""),this.hasProjected&&!gg(this.latestValues)&&(l.transform=u?u({},""):"none",this.hasProjected=!1),l}var h=c.animationValues||c.latestValues;this.applyTransformsToTarget(),s.transform=Xg(this.projectionDeltaWithTransform,this.treeScale,h),u&&(s.transform=u(h,s.transform));var f=this.projectionDelta,d=f.x,p=f.y;for(var g in s.transformOrigin="".concat(100*d.origin,"% ").concat(100*p.origin,"% 0"),c.animationValues?s.opacity=c===this?null!==(i=null!==(r=h.opacity)&&void 0!==r?r:this.latestValues.opacity)&&void 0!==i?i:1:this.preserveOpacity?this.latestValues.opacity:h.opacityExit:s.opacity=c===this?null!==(a=h.opacity)&&void 0!==a?a:"":null!==(o=h.opacityExit)&&void 0!==o?o:0,Ug)if(void 0!==h[g]){var b=Ug[g],v=b.correct,m=b.applyTo,y=v(h[g],c);if(m)for(var w=m.length,x=0;x<w;x++)s[m[x]]=y;else s[g]=y}return this.options.layoutId&&(s.pointerEvents=c===this?ib(t.pointerEvents)||"":"none"),s},t.prototype.clearSnapshot=function(){this.resumeFrom=this.snapshot=void 0},t.prototype.resetTree=function(){this.root.nodes.forEach((function(t){var e;return null===(e=t.currentAnimation)||void 0===e?void 0:e.stop()})),this.root.nodes.forEach(lb),this.root.sharedNodes.clear()},t}()}function sb(t){t.updateLayout()}function ub(t){var e,n,r,i,a=null!==(n=null===(e=t.resumeFrom)||void 0===e?void 0:e.snapshot)&&void 0!==n?n:t.snapshot;if(t.isLead()&&t.layout&&a&&t.hasListeners("didUpdate")){var o=t.layout,s=o.actual,u=o.measured;"size"===t.options.animationType?qg((function(t){var e=a.isShared?a.measured[t]:a.layout[t],n=Eg(e);e.min=s[t].min,e.max=e.min+n})):"position"===t.options.animationType&&qg((function(t){var e=a.isShared?a.measured[t]:a.layout[t],n=Eg(s[t]);e.max=e.min+n}));var c={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Og(c,s,a.layout);var l={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};a.isShared?Og(l,t.applyTransform(u,!0),a.measured):Og(l,s,a.layout);var h=!Hg(c),f=!1;if(!t.resumeFrom&&(t.relativeParent=t.getClosestProjectingParent(),t.relativeParent&&!t.relativeParent.resumeFrom)){var d=t.relativeParent,p=d.snapshot,g=d.layout;if(p&&g){var b={x:{min:0,max:0},y:{min:0,max:0}};Ng(b,a.layout,p.layout);var v={x:{min:0,max:0},y:{min:0,max:0}};Ng(v,s,g.actual),Wg(b,v)||(f=!0)}}t.notifyListeners("didUpdate",{layout:s,snapshot:a,delta:l,layoutDelta:c,hasLayoutChanged:h,hasRelativeTargetChanged:f})}else t.isLead()&&(null===(i=(r=t.options).onExitComplete)||void 0===i||i.call(r));t.options.transition=void 0}function cb(t){t.clearSnapshot()}function lb(t){t.clearMeasurements()}function hb(t){var e=t.options.visualElement;(null==e?void 0:e.getProps().onBeforeLayoutMeasure)&&e.notifyBeforeLayoutMeasure(),t.resetTransform()}function fb(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0}function db(t){t.resolveTargetDelta()}function pb(t){t.calcProjection()}function gb(t){t.resetRotation()}function bb(t){t.removeLeadSnapshot()}function vb(t,e,n){t.translate=If(e.translate,0,n),t.scale=If(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function mb(t,e,n,r){t.min=If(e.min,n.min,r),t.max=If(e.max,n.max,r)}function yb(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}var wb={duration:.45,ease:[.4,0,.1,1]};function xb(t,e){for(var n=t.root,r=t.path.length-1;r>=0;r--)if(Boolean(t.path[r].instance)){n=t.path[r];break}var i=(n&&n!==t.root?n.instance:document).querySelector('[data-projection-id="'.concat(e,'"]'));i&&t.mount(i,!0)}function _b(t){t.min=Math.round(t.min),t.max=Math.round(t.max)}function Sb(t){_b(t.x),_b(t.y)}var kb=1;var Ib=(0,n.createContext)({});var Mb=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return vh(e,t),e.prototype.getSnapshotBeforeUpdate=function(){return this.updateProps(),null},e.prototype.componentDidUpdate=function(){},e.prototype.updateProps=function(){var t=this.props,e=t.visualElement,n=t.props;e&&e.setProps(n)},e.prototype.render=function(){return this.props.children},e}(n.Component);function Cb(t){var e=t.preloadedFeatures,r=t.createVisualElement,i=t.projectionNodeConstructor,a=t.useRender,o=t.useVisualState,s=t.Component;return e&&function(t){for(var e in t)null!==t[e]&&("projectionNodeConstructor"===e?of.projectionNodeConstructor=t[e]:of[e].Component=t[e])}(e),(0,n.forwardRef)((function(t,e){var u=function(t){var e,r=t.layoutId,i=null===(e=(0,n.useContext)(Kh))||void 0===e?void 0:e.id;return i&&void 0!==r?i+"-"+r:r}(t);t=mh(mh({},t),{layoutId:u});var c=(0,n.useContext)(lf),l=null,h=Sf(t),f=c.isStatic?void 0:Wh((function(){if(ab.hasEverUpdated)return kb++})),d=o(t,c.isStatic);return!c.isStatic&&zh&&(h.visualElement=gf(s,d,mh(mh({},c),t),r),function(t,e,r,i){var a,o=e.layoutId,s=e.layout,u=e.drag,c=e.dragConstraints,l=e.layoutScroll,h=(0,n.useContext)(Ib);i&&r&&!(null==r?void 0:r.projection)&&(r.projection=new i(t,r.getLatestValues(),null===(a=r.parent)||void 0===a?void 0:a.projection),r.projection.setOptions({layoutId:o,layout:s,alwaysMeasureLayout:Boolean(u)||c&&bf(c),visualElement:r,scheduleRender:function(){return r.scheduleRender()},animationType:"string"==typeof s?s:"both",initialPromotionConfig:h,layoutScroll:l}))}(f,t,h.visualElement,i||of.projectionNodeConstructor),l=function(t,e,r){var i=[];if((0,n.useContext)(sf),!e)return null;for(var a=0;a<cf;a++){var o=uf[a],s=of[o],u=s.isEnabled,c=s.Component;u(t)&&c&&i.push(n.createElement(c,mh({key:o},t,{visualElement:e})))}return i}(t,h.visualElement)),n.createElement(Mb,{visualElement:h.visualElement,props:mh(mh({},c),t)},l,n.createElement(hf.Provider,{value:h},a(s,t,f,function(t,e,r){return(0,n.useCallback)((function(n){var i;n&&(null===(i=t.mount)||void 0===i||i.call(t,n)),e&&(n?e.mount(n):e.unmount()),r&&("function"==typeof r?r(n):bf(r)&&(r.current=n))}),[e])}(d,h.visualElement,e),d,c.isStatic,h.visualElement)))}))}function Tb(t){function e(e,n){return void 0===n&&(n={}),Cb(t(e,n))}if("undefined"==typeof Proxy)return e;var n=new Map;return new Proxy(e,{get:function(t,r){return n.has(r)||n.set(r,e(r)),n.get(r)}})}var Ab=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","svg","switch","symbol","text","tspan","use","view"];function Eb(t){return"string"==typeof t&&!t.includes("-")&&!!(Ab.indexOf(t)>-1||/[A-Z]/.test(t))}function Pb(t,e){var n=e.layout,r=e.layoutId;return Jg(t)||eb(t)||(n||void 0!==r)&&(!!Ug[t]||"opacity"===t)}var Db={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"};function Ob(t){return t.startsWith("--")}var Lb=function(t,e){return e&&"number"==typeof t?e.transform(t):t};function Rb(t,e,n,r){var i,a=t.style,o=t.vars,s=t.transform,u=t.transformKeys,c=t.transformOrigin;u.length=0;var l=!1,h=!1,f=!0;for(var d in e){var p=e[d];if(Ob(d))o[d]=p;else{var g=Gp[d],b=Lb(p,g);if(Jg(d)){if(l=!0,s[d]=b,u.push(d),!f)continue;p!==(null!==(i=g.default)&&void 0!==i?i:0)&&(f=!1)}else eb(d)?(c[d]=b,h=!0):a[d]=b}}l?a.transform=function(t,e,n,r){var i=t.transform,a=t.transformKeys,o=e.enableHardwareAcceleration,s=void 0===o||o,u=e.allowTransformNone,c=void 0===u||u,l="";a.sort(Zg);for(var h=!1,f=a.length,d=0;d<f;d++){var p=a[d];l+="".concat(Db[p]||p,"(").concat(i[p],") "),"z"===p&&(h=!0)}return!h&&s?l+="translateZ(0)":l=l.trim(),r?l=r(i,n?"":l):c&&n&&(l="none"),l}(t,n,f,r):r?a.transform=r({},""):!e.transform&&a.transform&&(a.transform="none"),h&&(a.transformOrigin=function(t){var e=t.originX,n=void 0===e?"50%":e,r=t.originY,i=void 0===r?"50%":r,a=t.originZ,o=void 0===a?0:a;return"".concat(n," ").concat(i," ").concat(o)}(c))}var Nb=function(){return{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}};function jb(t,e,n){for(var r in e)Df(e[r])||Pb(r,n)||(t[r]=e[r])}function Fb(t,e,r){var i={};return jb(i,t.style||{},t),Object.assign(i,function(t,e,r){var i=t.transformTemplate;return(0,n.useMemo)((function(){var t={style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}};Rb(t,e,{enableHardwareAcceleration:!r},i);var n=t.style;return mh(mh({},t.vars),n)}),[e])}(t,e,r)),t.transformValues&&(i=t.transformValues(i)),i}function Bb(t,e,n){var r={},i=Fb(t,e,n);return Boolean(t.drag)&&!1!==t.dragListener&&(r.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),r.style=i,r}var zb=new Set(["initial","animate","exit","style","variants","transition","transformTemplate","transformValues","custom","inherit","layout","layoutId","layoutDependency","onLayoutAnimationStart","onLayoutAnimationComplete","onLayoutMeasure","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","drag","dragControls","dragListener","dragConstraints","dragDirectionLock","dragSnapToOrigin","_dragX","_dragY","dragElastic","dragMomentum","dragPropagation","dragTransition","whileDrag","onPan","onPanStart","onPanEnd","onPanSessionStart","onTap","onTapStart","onTapCancel","onHoverStart","onHoverEnd","whileFocus","whileTap","whileHover","whileInView","onViewportEnter","onViewportLeave","viewport","layoutScroll"]);function $b(t){return zb.has(t)}var Vb,Hb=function(t){return!$b(t)};try{(Vb=require("@emotion/is-prop-valid").default)&&(Hb=function(t){return t.startsWith("on")?!$b(t):Vb(t)})}catch(Vu){}function Wb(t,e,n){return"string"==typeof t?t:sd.transform(e+n*t)}var Gb={offset:"stroke-dashoffset",array:"stroke-dasharray"},Ub={offset:"strokeDashoffset",array:"strokeDasharray"};function Xb(t,e,n,r){var i=e.attrX,a=e.attrY,o=e.originX,s=e.originY,u=e.pathLength,c=e.pathSpacing,l=void 0===c?1:c,h=e.pathOffset,f=void 0===h?0:h;Rb(t,yh(e,["attrX","attrY","originX","originY","pathLength","pathSpacing","pathOffset"]),n,r),t.attrs=t.style,t.style={};var d=t.attrs,p=t.style,g=t.dimensions;d.transform&&(g&&(p.transform=d.transform),delete d.transform),g&&(void 0!==o||void 0!==s||p.transform)&&(p.transformOrigin=function(t,e,n){var r=Wb(e,t.x,t.width),i=Wb(n,t.y,t.height);return"".concat(r," ").concat(i)}(g,void 0!==o?o:.5,void 0!==s?s:.5)),void 0!==i&&(d.x=i),void 0!==a&&(d.y=a),void 0!==u&&function(t,e,n,r,i){void 0===n&&(n=1),void 0===r&&(r=0),void 0===i&&(i=!0),t.pathLength=1;var a=i?Gb:Ub;t[a.offset]=sd.transform(-r);var o=sd.transform(e),s=sd.transform(n);t[a.array]="".concat(o," ").concat(s)}(d,u,l,f,!1)}var qb=function(){return mh(mh({},{style:{},transform:{},transformKeys:[],transformOrigin:{},vars:{}}),{attrs:{}})};function Yb(t,e){var r=(0,n.useMemo)((function(){var n=qb();return Xb(n,e,{enableHardwareAcceleration:!1},t.transformTemplate),mh(mh({},n.attrs),{style:mh({},n.style)})}),[e]);if(t.style){var i={};jb(i,t.style,t),r.style=mh(mh({},i),r.style)}return r}function Kb(t){void 0===t&&(t=!1);return function(e,r,i,a,o,s){var u=o.latestValues,c=(Eb(e)?Yb:Bb)(r,u,s),l=function(t,e,n){var r={};for(var i in t)(Hb(i)||!0===n&&$b(i)||!e&&!$b(i)||t.draggable&&i.startsWith("onDrag"))&&(r[i]=t[i]);return r}(r,"string"==typeof e,t),h=mh(mh(mh({},l),c),{ref:a});return i&&(h["data-projection-id"]=i),(0,n.createElement)(e,h)}}var Zb=/([a-z])([A-Z])/g,Qb=function(t){return t.replace(Zb,"$1-$2").toLowerCase()};function Jb(t,e,n,r){var i=e.style,a=e.vars;for(var o in Object.assign(t.style,i,r&&r.getProjectionStyles(n)),a)t.style.setProperty(o,a[o])}var tv=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength"]);function ev(t,e,n,r){for(var i in Jb(t,e,void 0,r),e.attrs)t.setAttribute(tv.has(i)?i:Qb(i),e.attrs[i])}function nv(t){var e=t.style,n={};for(var r in e)(Df(e[r])||Pb(r,t))&&(n[r]=e[r]);return n}function rv(t){var e=nv(t);for(var n in t){if(Df(t[n]))e["x"===n||"y"===n?"attr"+n.toUpperCase():n]=t[n]}return e}function iv(t){return"object"==typeof t&&"function"==typeof t.start}function av(t,e,n,r){var i=t.scrapeMotionValuesFromProps,a=t.createRenderState,o=t.onMount,s={latestValues:sv(e,n,r,i),renderState:a()};return o&&(s.mount=function(t){return o(e,t,s)}),s}var ov=function(t){return function(e,r){var i=(0,n.useContext)(hf),a=(0,n.useContext)(Hh);return r?av(t,e,i,a):Wh((function(){return av(t,e,i,a)}))}};function sv(t,e,n,r){var i={},a=!1===(null==n?void 0:n.initial),o=r(t);for(var s in o)i[s]=ib(o[s]);var u=t.initial,c=t.animate,l=xf(t),h=_f(t);e&&h&&!l&&!1!==t.inherit&&(null!=u||(u=e.initial),null!=c||(c=e.animate));var f=a||!1===u,d=f?c:u;d&&"boolean"!=typeof d&&!iv(d)&&(Array.isArray(d)?d:[d]).forEach((function(e){var n=yf(t,e);if(n){var r=n.transitionEnd;n.transition;var a=yh(n,["transitionEnd","transition"]);for(var o in a){var s=a[o];if(Array.isArray(s))s=s[f?s.length-1:0];null!==s&&(i[o]=s)}for(var o in r)i[o]=r[o]}}));return i}var uv,cv={useVisualState:ov({scrapeMotionValuesFromProps:rv,createRenderState:qb,onMount:function(t,e,n){var r=n.renderState,i=n.latestValues;try{r.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(t){r.dimensions={x:0,y:0,width:0,height:0}}Xb(r,i,{enableHardwareAcceleration:!1},t.transformTemplate),ev(e,r)}})},lv={useVisualState:ov({scrapeMotionValuesFromProps:nv,createRenderState:Nb})};function hv(t,e,n,r){return void 0===r&&(r={passive:!0}),t.addEventListener(e,n,r),function(){return t.removeEventListener(e,n)}}function fv(t,e,r,i){(0,n.useEffect)((function(){var n=t.current;if(r&&n)return hv(n,e,r,i)}),[t,e,r,i])}function dv(t){return"undefined"!=typeof PointerEvent&&t instanceof PointerEvent?!("mouse"!==t.pointerType):t instanceof MouseEvent}function pv(t){return!!t.touches}!function(t){t.Animate="animate",t.Hover="whileHover",t.Tap="whileTap",t.Drag="whileDrag",t.Focus="whileFocus",t.InView="whileInView",t.Exit="exit"}(uv||(uv={}));var gv={pageX:0,pageY:0};function bv(t,e){void 0===e&&(e="page");var n=t.touches[0]||t.changedTouches[0]||gv;return{x:n[e+"X"],y:n[e+"Y"]}}function vv(t,e){return void 0===e&&(e="page"),{x:t[e+"X"],y:t[e+"Y"]}}function mv(t,e){return void 0===e&&(e="page"),{point:pv(t)?bv(t,e):vv(t,e)}}var yv=function(t,e){void 0===e&&(e=!1);var n,r=function(e){return t(e,mv(e))};return e?(n=r,function(t){var e=t instanceof MouseEvent;(!e||e&&0===t.button)&&n(t)}):r},wv={pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointercancel:"mousecancel",pointerover:"mouseover",pointerout:"mouseout",pointerenter:"mouseenter",pointerleave:"mouseleave"},xv={pointerdown:"touchstart",pointermove:"touchmove",pointerup:"touchend",pointercancel:"touchcancel"};function _v(t){return zh&&null===window.onpointerdown?t:zh&&null===window.ontouchstart?xv[t]:zh&&null===window.onmousedown?wv[t]:t}function Sv(t,e,n,r){return hv(t,_v(e),yv(n,"pointerdown"===e),r)}function kv(t,e,n,r){return fv(t,_v(e),n&&yv(n,"pointerdown"===e),r)}function Iv(t){var e=null;return function(){return null===e&&(e=t,function(){e=null})}}var Mv=Iv("dragHorizontal"),Cv=Iv("dragVertical");function Tv(t){var e=!1;if("y"===t)e=Cv();else if("x"===t)e=Mv();else{var n=Mv(),r=Cv();n&&r?e=function(){n(),r()}:(n&&n(),r&&r())}return e}function Av(){var t=Tv(!0);return!t||(t(),!1)}function Ev(t,e,n){return function(r,i){var a;dv(r)&&!Av()&&(null===(a=t.animationState)||void 0===a||a.setActive(uv.Hover,e),null==n||n(r,i))}}var Pv=function(t,e){return!!e&&(t===e||Pv(t,e.parentElement))};new Set;var Dv=new WeakMap,Ov=new WeakMap,Lv=function(t){var e;null===(e=Dv.get(t.target))||void 0===e||e(t)},Rv=function(t){t.forEach(Lv)};function Nv(t,e,n){var r=function(t){var e=t.root,n=yh(t,["root"]),r=e||document;Ov.has(r)||Ov.set(r,{});var i=Ov.get(r),a=JSON.stringify(n);return i[a]||(i[a]=new IntersectionObserver(Rv,mh({root:e},n))),i[a]}(e);return Dv.set(t,n),r.observe(t),function(){Dv.delete(t),r.unobserve(t)}}var jv={some:0,all:1};function Fv(t,e,r,i){var a=i.root,o=i.margin,s=i.amount,u=void 0===s?"some":s,c=i.once;(0,n.useEffect)((function(){if(t){var n={root:null==a?void 0:a.current,rootMargin:o,threshold:"number"==typeof u?u:jv[u]};return Nv(r.getInstance(),n,(function(t){var n,i=t.isIntersecting;if(e.isInView!==i&&(e.isInView=i,!c||i||!e.hasEnteredView)){i&&(e.hasEnteredView=!0),null===(n=r.animationState)||void 0===n||n.setActive(uv.InView,i);var a=r.getProps(),o=i?a.onViewportEnter:a.onViewportLeave;null==o||o(t)}}))}}),[t,a,o,u])}function Bv(t,e,r,i){var a=i.fallback,o=void 0===a||a;(0,n.useEffect)((function(){t&&o&&requestAnimationFrame((function(){var t;e.hasEnteredView=!0;var n=r.getProps().onViewportEnter;null==n||n(null),null===(t=r.animationState)||void 0===t||t.setActive(uv.InView,!0)}))}),[t])}var zv=function(t){return function(e){return t(e),null}},$v={inView:zv((function(t){var e=t.visualElement,r=t.whileInView,i=t.onViewportEnter,a=t.onViewportLeave,o=t.viewport,s=void 0===o?{}:o,u=(0,n.useRef)({hasEnteredView:!1,isInView:!1}),c=Boolean(r||i||a);s.once&&u.current.hasEnteredView&&(c=!1),("undefined"==typeof IntersectionObserver?Bv:Fv)(c,u.current,e,s)})),tap:zv((function(t){var e=t.onTap,r=t.onTapStart,i=t.onTapCancel,a=t.whileTap,o=t.visualElement,s=e||r||i||a,u=(0,n.useRef)(!1),c=(0,n.useRef)(null),l={passive:!(r||e||i||g)};function h(){var t;null===(t=c.current)||void 0===t||t.call(c),c.current=null}function f(){var t;return h(),u.current=!1,null===(t=o.animationState)||void 0===t||t.setActive(uv.Tap,!1),!Av()}function d(t,n){f()&&(Pv(o.getInstance(),t.target)?null==e||e(t,n):null==i||i(t,n))}function p(t,e){f()&&(null==i||i(t,e))}function g(t,e){var n;h(),u.current||(u.current=!0,c.current=Ad(Sv(window,"pointerup",d,l),Sv(window,"pointercancel",p,l)),null===(n=o.animationState)||void 0===n||n.setActive(uv.Tap,!0),null==r||r(t,e))}kv(o,"pointerdown",s?g:void 0,l),Zh(h)})),focus:zv((function(t){var e=t.whileFocus,n=t.visualElement;fv(n,"focus",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(uv.Focus,!0)}:void 0),fv(n,"blur",e?function(){var t;null===(t=n.animationState)||void 0===t||t.setActive(uv.Focus,!1)}:void 0)})),hover:zv((function(t){var e=t.onHoverStart,n=t.onHoverEnd,r=t.whileHover,i=t.visualElement;kv(i,"pointerenter",e||r?Ev(i,!0,e):void 0,{passive:!e}),kv(i,"pointerleave",n||r?Ev(i,!1,n):void 0,{passive:!n})}))};function Vv(t,e){if(!Array.isArray(e))return!1;var n=e.length;if(n!==t.length)return!1;for(var r=0;r<n;r++)if(e[r]!==t[r])return!1;return!0}var Hv=function(t){return/^0[^.\s]+$/.test(t)},Wv=function(t){return function(e){return e.test(t)}},Gv=[Yf,sd,od,ad,cd,ud,{test:function(t){return"auto"===t},parse:function(t){return t}}],Uv=function(t){return Gv.find(Wv(t))},Xv=_h(_h([],xh(Gv),!1),[yd,Md],!1),qv=function(t){return Xv.find(Wv(t))};function Yv(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Pf(n))}function Kv(t,e){var n=wf(t,e),r=n?t.makeTargetAnimatable(n,!1):{},i=r.transitionEnd,a=void 0===i?{}:i;r.transition;var o=yh(r,["transitionEnd","transition"]);for(var s in o=mh(mh({},o),a)){Yv(t,s,Kp(o[s]))}}function Zv(t,e){if(e)return(e[t]||e.default||e).from}function Qv(t,e,n){var r;void 0===n&&(n={});var i=wf(t,e,n.custom),a=(i||{}).transition,o=void 0===a?t.getDefaultTransition()||{}:a;n.transitionOverride&&(o=n.transitionOverride);var s=i?function(){return Jv(t,i,n)}:function(){return Promise.resolve()},u=(null===(r=t.variantChildren)||void 0===r?void 0:r.size)?function(r){void 0===r&&(r=0);var i=o.delayChildren,a=void 0===i?0:i,s=o.staggerChildren,u=o.staggerDirection;return function(t,e,n,r,i,a){void 0===n&&(n=0);void 0===r&&(r=0);void 0===i&&(i=1);var o=[],s=(t.variantChildren.size-1)*r,u=1===i?function(t){return void 0===t&&(t=0),t*r}:function(t){return void 0===t&&(t=0),s-t*r};return Array.from(t.variantChildren).sort(tm).forEach((function(t,r){o.push(Qv(t,e,mh(mh({},a),{delay:n+u(r)})).then((function(){return t.notifyAnimationComplete(e)})))})),Promise.all(o)}(t,e,a+r,s,u,n)}:function(){return Promise.resolve()},c=o.when;if(c){var l=xh("beforeChildren"===c?[s,u]:[u,s],2),h=l[0],f=l[1];return h().then(f)}return Promise.all([s(),u(n.delay)])}function Jv(t,e,n){var r,i=void 0===n?{}:n,a=i.delay,o=void 0===a?0:a,s=i.transitionOverride,u=i.type,c=t.makeTargetAnimatable(e),l=c.transition,h=void 0===l?t.getDefaultTransition():l,f=c.transitionEnd,d=yh(c,["transition","transitionEnd"]);s&&(h=s);var p=[],g=u&&(null===(r=t.animationState)||void 0===r?void 0:r.getState()[u]);for(var b in d){var v=t.getValue(b),m=d[b];if(!(!v||void 0===m||g&&em(g,b))){var y=mh({delay:o},h);t.shouldReduceMotion&&Jg(b)&&(y=mh(mh({},y),{type:!1,delay:0}));var w=ng(b,v,m,y);p.push(w)}}return Promise.all(p).then((function(){f&&Kv(t,f)}))}function tm(t,e){return t.sortNodePosition(e)}function em(t,e){var n=t.protectedKeys,r=t.needsAnimating,i=n.hasOwnProperty(e)&&!0!==r[e];return r[e]=!1,i}var nm=[uv.Animate,uv.InView,uv.Focus,uv.Hover,uv.Tap,uv.Drag,uv.Exit],rm=_h([],xh(nm),!1).reverse(),im=nm.length;function am(t){return function(e){return Promise.all(e.map((function(e){var n=e.animation,r=e.options;return function(t,e,n){var r;if(void 0===n&&(n={}),t.notifyAnimationStart(e),Array.isArray(e)){var i=e.map((function(e){return Qv(t,e,n)}));r=Promise.all(i)}else if("string"==typeof e)r=Qv(t,e,n);else{var a="function"==typeof e?wf(t,e,n.custom):e;r=Jv(t,a,n)}return r.then((function(){return t.notifyAnimationComplete(e)}))}(t,n,r)})))}}function om(t){var e=am(t),n=function(){var t;return(t={})[uv.Animate]=sm(!0),t[uv.InView]=sm(),t[uv.Hover]=sm(),t[uv.Tap]=sm(),t[uv.Drag]=sm(),t[uv.Focus]=sm(),t[uv.Exit]=sm(),t}(),r={},i=!0,a=function(e,n){var r=wf(t,n);if(r){r.transition;var i=r.transitionEnd,a=yh(r,["transition","transitionEnd"]);e=mh(mh(mh({},e),a),i)}return e};function o(o,s){for(var u,c=t.getProps(),l=t.getVariantContext(!0)||{},h=[],f=new Set,d={},p=1/0,g=function(e){var r=rm[e],g=n[r],b=null!==(u=c[r])&&void 0!==u?u:l[r],v=mf(b),m=r===s?g.isActive:null;!1===m&&(p=e);var y=b===l[r]&&b!==c[r]&&v;if(y&&i&&t.manuallyAnimateOnMount&&(y=!1),g.protectedKeys=mh({},d),!g.isActive&&null===m||!b&&!g.prevProp||iv(b)||"boolean"==typeof b)return"continue";var w=function(t,e){if("string"==typeof e)return e!==t;if(vf(e))return!Vv(e,t);return!1}(g.prevProp,b),x=w||r===s&&g.isActive&&!y&&v||e>p&&v,_=Array.isArray(b)?b:[b],S=_.reduce(a,{});!1===m&&(S={});var k=g.prevResolvedValues,I=void 0===k?{}:k,M=mh(mh({},I),S),C=function(t){x=!0,f.delete(t),g.needsAnimating[t]=!0};for(var T in M){var A=S[T],E=I[T];d.hasOwnProperty(T)||(A!==E?Lp(A)&&Lp(E)?!Vv(A,E)||w?C(T):g.protectedKeys[T]=!0:void 0!==A?C(T):f.add(T):void 0!==A&&f.has(T)?C(T):g.protectedKeys[T]=!0)}g.prevProp=b,g.prevResolvedValues=S,g.isActive&&(d=mh(mh({},d),S)),i&&t.blockInitialAnimation&&(x=!1),x&&!y&&h.push.apply(h,_h([],xh(_.map((function(t){return{animation:t,options:mh({type:r},o)}}))),!1))},b=0;b<im;b++)g(b);if(r=mh({},d),f.size){var v={};f.forEach((function(e){var n=t.getBaseTarget(e);void 0!==n&&(v[e]=n)})),h.push({animation:v})}var m=Boolean(h.length);return i&&!1===c.initial&&!t.manuallyAnimateOnMount&&(m=!1),i=!1,m?e(h):Promise.resolve()}return{isAnimated:function(t){return void 0!==r[t]},animateChanges:o,setActive:function(e,r,i){var a;if(n[e].isActive===r)return Promise.resolve();null===(a=t.variantChildren)||void 0===a||a.forEach((function(t){var n;return null===(n=t.animationState)||void 0===n?void 0:n.setActive(e,r)})),n[e].isActive=r;var s=o(i,e);for(var u in n)n[u].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:function(){return n}}}function sm(t){return void 0===t&&(t=!1),{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}var um={animation:zv((function(t){var e=t.visualElement,r=t.animate;e.animationState||(e.animationState=om(e)),iv(r)&&(0,n.useEffect)((function(){return r.subscribe(e)}),[r])})),exit:zv((function(t){var e=t.custom,r=t.visualElement,i=xh(nf(),2),a=i[0],o=i[1],s=(0,n.useContext)(Hh);(0,n.useEffect)((function(){var t,n;r.isPresent=a;var i=null===(t=r.animationState)||void 0===t?void 0:t.setActive(uv.Exit,!a,{custom:null!==(n=null==s?void 0:s.custom)&&void 0!==n?n:e});!a&&(null==i||i.then(o))}),[a])}))},cm=function(){function t(t,e,n){var r=this,i=(void 0===n?{}:n).transformPagePoint;if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.updatePoint=function(){if(r.lastMoveEvent&&r.lastMoveEventInfo){var t=fm(r.lastMoveEventInfo,r.history),e=null!==r.startEvent,n=Ag(t.offset,{x:0,y:0})>=3;if(e||n){var i=t.point,a=Fh().timestamp;r.history.push(mh(mh({},i),{timestamp:a}));var o=r.handlers,s=o.onStart,u=o.onMove;e||(s&&s(r.lastMoveEvent,t),r.startEvent=r.lastMoveEvent),u&&u(r.lastMoveEvent,t)}}},this.handlePointerMove=function(t,e){r.lastMoveEvent=t,r.lastMoveEventInfo=lm(e,r.transformPagePoint),dv(t)&&0===t.buttons?r.handlePointerUp(t,e):Bh.update(r.updatePoint,!0)},this.handlePointerUp=function(t,e){r.end();var n=r.handlers,i=n.onEnd,a=n.onSessionEnd,o=fm(lm(e,r.transformPagePoint),r.history);r.startEvent&&i&&i(t,o),a&&a(t,o)},!(pv(t)&&t.touches.length>1)){this.handlers=e,this.transformPagePoint=i;var a=lm(mv(t),this.transformPagePoint),o=a.point,s=Fh().timestamp;this.history=[mh(mh({},o),{timestamp:s})];var u=e.onSessionStart;u&&u(t,fm(a,this.history)),this.removeListeners=Ad(Sv(window,"pointermove",this.handlePointerMove),Sv(window,"pointerup",this.handlePointerUp),Sv(window,"pointercancel",this.handlePointerUp))}}return t.prototype.updateHandlers=function(t){this.handlers=t},t.prototype.end=function(){this.removeListeners&&this.removeListeners(),Oh.update(this.updatePoint)},t}();function lm(t,e){return e?{point:e(t.point)}:t}function hm(t,e){return{x:t.x-e.x,y:t.y-e.y}}function fm(t,e){var n=t.point;return{point:n,delta:hm(n,pm(e)),offset:hm(n,dm(e)),velocity:gm(e,.1)}}function dm(t){return t[0]}function pm(t){return t[t.length-1]}function gm(t,e){if(t.length<2)return{x:0,y:0};for(var n=t.length-1,r=null,i=pm(t);n>=0&&(r=t[n],!(i.timestamp-r.timestamp>Sp(e)));)n--;if(!r)return{x:0,y:0};var a=(i.timestamp-r.timestamp)/1e3;if(0===a)return{x:0,y:0};var o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function bm(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function vm(t,e){var n,r=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&(r=(n=xh([i,r],2))[0],i=n[1]),{min:r,max:i}}var mm=.35;function ym(t,e,n){return{min:wm(t,e),max:wm(t,n)}}function wm(t,e){var n;return"number"==typeof t?t:null!==(n=t[e])&&void 0!==n?n:0}function xm(t){var e=t.top;return{x:{min:t.left,max:t.right},y:{min:e,max:t.bottom}}}function _m(t,e){return xm(function(t,e){if(!e)return t;var n=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}var Sm=new WeakMap,km=function(){function t(t){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=t}return t.prototype.start=function(t,e){var n=this,r=(void 0===e?{}:e).snapToCursor,i=void 0!==r&&r;if(!1!==this.visualElement.isPresent){this.panSession=new cm(t,{onSessionStart:function(t){n.stopAnimation(),i&&n.snapToCursor(mv(t,"page").point)},onStart:function(t,e){var r,i=n.getProps(),a=i.drag,o=i.dragPropagation,s=i.onDragStart;(!a||o||(n.openGlobalLock&&n.openGlobalLock(),n.openGlobalLock=Tv(a),n.openGlobalLock))&&(n.isDragging=!0,n.currentDirection=null,n.resolveConstraints(),n.visualElement.projection&&(n.visualElement.projection.isAnimationBlocked=!0,n.visualElement.projection.target=void 0),qg((function(t){var e,r,i=n.getAxisMotionValue(t).get()||0;if(od.test(i)){var a=null===(r=null===(e=n.visualElement.projection)||void 0===e?void 0:e.layout)||void 0===r?void 0:r.actual[t];if(a)i=Eg(a)*(parseFloat(i)/100)}n.originPoint[t]=i})),null==s||s(t,e),null===(r=n.visualElement.animationState)||void 0===r||r.setActive(uv.Drag,!0))},onMove:function(t,e){var r=n.getProps(),i=r.dragPropagation,a=r.dragDirectionLock,o=r.onDirectionLock,s=r.onDrag;if(i||n.openGlobalLock){var u=e.offset;if(a&&null===n.currentDirection)return n.currentDirection=function(t,e){void 0===e&&(e=10);var n=null;Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x");return n}(u),void(null!==n.currentDirection&&(null==o||o(n.currentDirection)));n.updateAxis("x",e.point,u),n.updateAxis("y",e.point,u),n.visualElement.syncRender(),null==s||s(t,e)}},onSessionEnd:function(t,e){return n.stop(t,e)}},{transformPagePoint:this.visualElement.getTransformPagePoint()})}},t.prototype.stop=function(t,e){var n=this.isDragging;if(this.cancel(),n){var r=e.velocity;this.startAnimation(r);var i=this.getProps().onDragEnd;null==i||i(t,e)}},t.prototype.cancel=function(){var t,e;this.isDragging=!1,this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!1),null===(t=this.panSession)||void 0===t||t.end(),this.panSession=void 0,!this.getProps().dragPropagation&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),null===(e=this.visualElement.animationState)||void 0===e||e.setActive(uv.Drag,!1)},t.prototype.updateAxis=function(t,e,n){var r=this.getProps().drag;if(n&&Im(t,r,this.currentDirection)){var i=this.getAxisMotionValue(t),a=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(a=function(t,e,n){var r=e.min,i=e.max;return void 0!==r&&t<r?t=n?If(r,t,n.min):Math.max(t,r):void 0!==i&&t>i&&(t=n?If(i,t,n.max):Math.min(t,i)),t}(a,this.constraints[t],this.elastic[t])),i.set(a)}},t.prototype.resolveConstraints=function(){var t=this,e=this.getProps(),n=e.dragConstraints,r=e.dragElastic,i=(this.visualElement.projection||{}).layout,a=this.constraints;n&&bf(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!n||!i)&&function(t,e){var n=e.top,r=e.left,i=e.bottom,a=e.right;return{x:bm(t.x,r,a),y:bm(t.y,n,i)}}(i.actual,n),this.elastic=function(t){return void 0===t&&(t=mm),!1===t?t=0:!0===t&&(t=mm),{x:ym(t,"left","right"),y:ym(t,"top","bottom")}}(r),a!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&qg((function(e){t.getAxisMotionValue(e)&&(t.constraints[e]=function(t,e){var n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(i.actual[e],t.constraints[e]))}))},t.prototype.resolveRefConstraints=function(){var t=this.getProps(),e=t.dragConstraints,n=t.onMeasureDragConstraints;if(!e||!bf(e))return!1;var r=e.current,i=this.visualElement.projection;if(!i||!i.layout)return!1;var a=function(t,e,n){var r=_m(t,n),i=e.scroll;return i&&(xg(r.x,i.x),xg(r.y,i.y)),r}(r,i.root,this.visualElement.getTransformPagePoint()),o=function(t,e){return{x:vm(t.x,e.x),y:vm(t.y,e.y)}}(i.layout.actual,a);if(n){var s=n(function(t){var e=t.x,n=t.y;return{top:n.min,right:e.max,bottom:n.max,left:e.min}}(o));this.hasMutatedConstraints=!!s,s&&(o=xm(s))}return o},t.prototype.startAnimation=function(t){var e=this,n=this.getProps(),r=n.drag,i=n.dragMomentum,a=n.dragElastic,o=n.dragTransition,s=n.dragSnapToOrigin,u=n.onDragTransitionEnd,c=this.constraints||{},l=qg((function(n){var u;if(Im(n,r,e.currentDirection)){var l=null!==(u=null==c?void 0:c[n])&&void 0!==u?u:{};s&&(l={min:0,max:0});var h=a?200:1e6,f=a?40:1e7,d=mh(mh({type:"inertia",velocity:i?t[n]:0,bounceStiffness:h,bounceDamping:f,timeConstant:750,restDelta:1,restSpeed:10},o),l);return e.startAxisValueAnimation(n,d)}}));return Promise.all(l).then(u)},t.prototype.startAxisValueAnimation=function(t,e){return ng(t,this.getAxisMotionValue(t),0,e)},t.prototype.stopAnimation=function(){var t=this;qg((function(e){return t.getAxisMotionValue(e).stop()}))},t.prototype.getAxisMotionValue=function(t){var e,n,r="_drag"+t.toUpperCase(),i=this.visualElement.getProps()[r];return i||this.visualElement.getValue(t,null!==(n=null===(e=this.visualElement.getProps().initial)||void 0===e?void 0:e[t])&&void 0!==n?n:0)},t.prototype.snapToCursor=function(t){var e=this;qg((function(n){if(Im(n,e.getProps().drag,e.currentDirection)){var r=e.visualElement.projection,i=e.getAxisMotionValue(n);if(r&&r.layout){var a=r.layout.actual[n],o=a.min,s=a.max;i.set(t[n]-If(o,s,.5))}}}))},t.prototype.scalePositionWithinConstraints=function(){var t,e=this,n=this.getProps(),r=n.drag,i=n.dragConstraints,a=this.visualElement.projection;if(bf(i)&&a&&this.constraints){this.stopAnimation();var o={x:0,y:0};qg((function(t){var n,r,i,a,s,u=e.getAxisMotionValue(t);if(u){var c=u.get();o[t]=(n={min:c,max:c},r=e.constraints[t],i=.5,a=Eg(n),(s=Eg(r))>a?i=Vf(r.min,r.max-a,n.min):a>s&&(i=Vf(n.min,n.max-s,r.min)),Of(0,1,i))}}));var s=this.visualElement.getProps().transformTemplate;this.visualElement.getInstance().style.transform=s?s({},""):"none",null===(t=a.root)||void 0===t||t.updateScroll(),a.updateLayout(),this.resolveConstraints(),qg((function(t){if(Im(t,r,null)){var n=e.getAxisMotionValue(t),i=e.constraints[t],a=i.min,s=i.max;n.set(If(a,s,o[t]))}}))}},t.prototype.addListeners=function(){var t,e=this;Sm.set(this.visualElement,this);var n=Sv(this.visualElement.getInstance(),"pointerdown",(function(t){var n=e.getProps(),r=n.drag,i=n.dragListener;r&&(void 0===i||i)&&e.start(t)})),r=function(){bf(e.getProps().dragConstraints)&&(e.constraints=e.resolveRefConstraints())},i=this.visualElement.projection,a=i.addEventListener("measure",r);i&&!i.layout&&(null===(t=i.root)||void 0===t||t.updateScroll(),i.updateLayout()),r();var o=hv(window,"resize",(function(){return e.scalePositionWithinConstraints()}));return i.addEventListener("didUpdate",(function(t){var n=t.delta,r=t.hasLayoutChanged;e.isDragging&&r&&(qg((function(t){var r=e.getAxisMotionValue(t);r&&(e.originPoint[t]+=n[t].translate,r.set(r.get()+n[t].translate))})),e.visualElement.syncRender())})),function(){o(),n(),a()}},t.prototype.getProps=function(){var t=this.visualElement.getProps(),e=t.drag,n=void 0!==e&&e,r=t.dragDirectionLock,i=void 0!==r&&r,a=t.dragPropagation,o=void 0!==a&&a,s=t.dragConstraints,u=void 0!==s&&s,c=t.dragElastic,l=void 0===c?mm:c,h=t.dragMomentum,f=void 0===h||h;return mh(mh({},t),{drag:n,dragDirectionLock:i,dragPropagation:o,dragConstraints:u,dragElastic:l,dragMomentum:f})},t}();function Im(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}var Mm={pan:zv((function(t){var e=t.onPan,r=t.onPanStart,i=t.onPanEnd,a=t.onPanSessionStart,o=t.visualElement,s=e||r||i||a,u=(0,n.useRef)(null),c=(0,n.useContext)(lf).transformPagePoint,l={onSessionStart:a,onStart:r,onMove:e,onEnd:function(t,e){u.current=null,i&&i(t,e)}};(0,n.useEffect)((function(){null!==u.current&&u.current.updateHandlers(l)})),kv(o,"pointerdown",s&&function(t){u.current=new cm(t,l,{transformPagePoint:c})}),Zh((function(){return u.current&&u.current.end()}))})),drag:zv((function(t){var e=t.dragControls,r=t.visualElement,i=Wh((function(){return new km(r)}));(0,n.useEffect)((function(){return e&&e.subscribe(i)}),[i,e]),(0,n.useEffect)((function(){return i.addListeners()}),[i])}))},Cm=["LayoutMeasure","BeforeLayoutMeasure","LayoutUpdate","ViewportBoxUpdate","Update","Render","AnimationComplete","LayoutAnimationComplete","AnimationStart","LayoutAnimationStart","SetAxisTarget","Unmount"];var Tm=function(t){var e=t.treeType,n=void 0===e?"":e,r=t.build,i=t.getBaseTarget,a=t.makeTargetAnimatable,o=t.measureViewportBox,s=t.render,u=t.readValueFromInstance,c=t.removeValueFromRenderState,l=t.sortNodePosition,h=t.scrapeMotionValuesFromProps;return function(t,e){var f=t.parent,d=t.props,p=t.presenceId,g=t.blockInitialAnimation,b=t.visualState,v=t.shouldReduceMotion;void 0===e&&(e={});var m,y,w=!1,x=b.latestValues,_=b.renderState,S=function(){var t=Cm.map((function(){return new Af})),e={},n={clearAllListeners:function(){return t.forEach((function(t){return t.clear()}))},updatePropListeners:function(t){Cm.forEach((function(r){var i,a="on"+r,o=t[a];null===(i=e[r])||void 0===i||i.call(e),o&&(e[r]=n[a](o))}))}};return t.forEach((function(t,e){n["on"+Cm[e]]=function(e){return t.add(e)},n["notify"+Cm[e]]=function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return t.notify.apply(t,_h([],xh(e),!1))}})),n}(),k=new Map,I=new Map,M={},C=mh({},x);function T(){m&&w&&(A(),s(m,_,d.style,j.projection))}function A(){r(j,_,x,e,d)}function E(){S.notifyUpdate(x)}function P(t,e){var n=e.onChange((function(e){x[t]=e,d.onUpdate&&Bh.update(E,!1,!0)})),r=e.onRenderRequest(j.scheduleRender);I.set(t,(function(){n(),r()}))}var D=h(d);for(var O in D){var L=D[O];void 0!==x[O]&&Df(L)&&L.set(x[O],!1)}var R=xf(d),N=_f(d),j=mh(mh({treeType:n,current:null,depth:f?f.depth+1:0,parent:f,children:new Set,presenceId:p,shouldReduceMotion:v,variantChildren:N?new Set:void 0,isVisible:void 0,manuallyAnimateOnMount:Boolean(null==f?void 0:f.isMounted()),blockInitialAnimation:g,isMounted:function(){return Boolean(m)},mount:function(t){w=!0,m=j.current=t,j.projection&&j.projection.mount(t),N&&f&&!R&&(y=null==f?void 0:f.addVariantChild(j)),k.forEach((function(t,e){return P(e,t)})),null==f||f.children.add(j),j.setProps(d)},unmount:function(){var t;null===(t=j.projection)||void 0===t||t.unmount(),Oh.update(E),Oh.render(T),I.forEach((function(t){return t()})),null==y||y(),null==f||f.children.delete(j),S.clearAllListeners(),m=void 0,w=!1},addVariantChild:function(t){var e,n=j.getClosestVariantNode();if(n)return null===(e=n.variantChildren)||void 0===e||e.add(t),function(){return n.variantChildren.delete(t)}},sortNodePosition:function(t){return l&&n===t.treeType?l(j.getInstance(),t.getInstance()):0},getClosestVariantNode:function(){return N?j:null==f?void 0:f.getClosestVariantNode()},getLayoutId:function(){return d.layoutId},getInstance:function(){return m},getStaticValue:function(t){return x[t]},setStaticValue:function(t,e){return x[t]=e},getLatestValues:function(){return x},setVisibility:function(t){j.isVisible!==t&&(j.isVisible=t,j.scheduleRender())},makeTargetAnimatable:function(t,e){return void 0===e&&(e=!0),a(j,t,d,e)},measureViewportBox:function(){return o(m,d)},addValue:function(t,e){j.hasValue(t)&&j.removeValue(t),k.set(t,e),x[t]=e.get(),P(t,e)},removeValue:function(t){var e;k.delete(t),null===(e=I.get(t))||void 0===e||e(),I.delete(t),delete x[t],c(t,_)},hasValue:function(t){return k.has(t)},getValue:function(t,e){var n=k.get(t);return void 0===n&&void 0!==e&&(n=Pf(e),j.addValue(t,n)),n},forEachValue:function(t){return k.forEach(t)},readValue:function(t){var n;return null!==(n=x[t])&&void 0!==n?n:u(m,t,e)},setBaseTarget:function(t,e){C[t]=e},getBaseTarget:function(t){if(i){var e=i(d,t);if(void 0!==e&&!Df(e))return e}return C[t]}},S),{build:function(){return A(),_},scheduleRender:function(){Bh.render(T,!1,!0)},syncRender:T,setProps:function(t){(t.transformTemplate||d.transformTemplate)&&j.scheduleRender(),d=t,S.updatePropListeners(t),M=function(t,e,n){var r;for(var i in e){var a=e[i],o=n[i];if(Df(a))t.addValue(i,a);else if(Df(o))t.addValue(i,Pf(a));else if(o!==a)if(t.hasValue(i)){var s=t.getValue(i);!s.hasAnimated&&s.set(a)}else t.addValue(i,Pf(null!==(r=t.getStaticValue(i))&&void 0!==r?r:a))}for(var i in n)void 0===e[i]&&t.removeValue(i);return e}(j,h(d),M)},getProps:function(){return d},getVariant:function(t){var e;return null===(e=d.variants)||void 0===e?void 0:e[t]},getDefaultTransition:function(){return d.transition},getTransformPagePoint:function(){return d.transformPagePoint},getVariantContext:function(t){if(void 0===t&&(t=!1),t)return null==f?void 0:f.getVariantContext();if(!R){var e=(null==f?void 0:f.getVariantContext())||{};return void 0!==d.initial&&(e.initial=d.initial),e}for(var n={},r=0;r<Em;r++){var i=Am[r],a=d[i];(mf(a)||!1===a)&&(n[i]=a)}return n}});return j}},Am=_h(["initial"],xh(nm),!1),Em=Am.length;function Pm(t){return"string"==typeof t&&t.startsWith("var(--")}var Dm=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function Om(t,e,n){void 0===n&&(n=1),'Max CSS variable fallback depth detected in property "'.concat(t,'". This may indicate a circular fallback dependency.');var r=xh(function(t){var e=Dm.exec(t);if(!e)return[,];var n=xh(e,3);return[n[1],n[2]]}(t),2),i=r[0],a=r[1];if(i){var o=window.getComputedStyle(e).getPropertyValue(i);return o?o.trim():Pm(a)?Om(a,e,n+1):a}}var Lm,Rm=new Set(["width","height","top","left","right","bottom","x","y"]),Nm=function(t){return Rm.has(t)},jm=function(t,e){t.set(e,!1),t.set(e)},Fm=function(t){return t===Yf||t===sd};!function(t){t.width="width",t.height="height",t.left="left",t.right="right",t.top="top",t.bottom="bottom"}(Lm||(Lm={}));var Bm=function(t,e){return parseFloat(t.split(", ")[e])},zm=function(t,e){return function(n,r){var i=r.transform;if("none"===i||!i)return 0;var a=i.match(/^matrix3d\((.+)\)$/);if(a)return Bm(a[1],e);var o=i.match(/^matrix\((.+)\)$/);return o?Bm(o[1],t):0}},$m=new Set(["x","y","z"]),Vm=Kg.filter((function(t){return!$m.has(t)}));var Hm={width:function(t,e){var n=t.x,r=e.paddingLeft,i=void 0===r?"0":r,a=e.paddingRight,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},height:function(t,e){var n=t.y,r=e.paddingTop,i=void 0===r?"0":r,a=e.paddingBottom,o=void 0===a?"0":a;return n.max-n.min-parseFloat(i)-parseFloat(o)},top:function(t,e){var n=e.top;return parseFloat(n)},left:function(t,e){var n=e.left;return parseFloat(n)},bottom:function(t,e){var n=t.y,r=e.top;return parseFloat(r)+(n.max-n.min)},right:function(t,e){var n=t.x,r=e.left;return parseFloat(r)+(n.max-n.min)},x:zm(4,13),y:zm(5,14)},Wm=function(t,e,n,r){void 0===n&&(n={}),void 0===r&&(r={}),e=mh({},e),r=mh({},r);var i=Object.keys(e).filter(Nm),a=[],o=!1,s=[];if(i.forEach((function(i){var u=t.getValue(i);if(t.hasValue(i)){var c,l=n[i],h=Uv(l),f=e[i];if(Lp(f)){var d=f.length,p=null===f[0]?1:0;l=f[p],h=Uv(l);for(var g=p;g<d;g++)c?Uv(f[g]):(c=Uv(f[g]))===h||Fm(h)&&Fm(c)}else c=Uv(f);if(h!==c)if(Fm(h)&&Fm(c)){var b=u.get();"string"==typeof b&&u.set(parseFloat(b)),"string"==typeof f?e[i]=parseFloat(f):Array.isArray(f)&&c===sd&&(e[i]=f.map(parseFloat))}else(null==h?void 0:h.transform)&&(null==c?void 0:c.transform)&&(0===l||0===f)?0===l?u.set(c.transform(l)):e[i]=h.transform(f):(o||(a=function(t){var e=[];return Vm.forEach((function(n){var r=t.getValue(n);void 0!==r&&(e.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),e.length&&t.syncRender(),e}(t),o=!0),s.push(i),r[i]=void 0!==r[i]?r[i]:e[i],jm(u,f))}})),s.length){var u=s.indexOf("height")>=0?window.pageYOffset:null,c=function(t,e,n){var r=e.measureViewportBox(),i=e.getInstance(),a=getComputedStyle(i),o=a.display,s={};"none"===o&&e.setStaticValue("display",t.display||"block"),n.forEach((function(t){s[t]=Hm[t](r,a)})),e.syncRender();var u=e.measureViewportBox();return n.forEach((function(n){var r=e.getValue(n);jm(r,s[n]),t[n]=Hm[n](u,a)})),t}(e,t,s);return a.length&&a.forEach((function(e){var n=xh(e,2),r=n[0],i=n[1];t.getValue(r).set(i)})),t.syncRender(),null!==u&&window.scrollTo({top:u}),{target:c,transitionEnd:r}}return{target:e,transitionEnd:r}};function Gm(t,e,n,r){return function(t){return Object.keys(t).some(Nm)}(e)?Wm(t,e,n,r):{target:e,transitionEnd:r}}var Um=function(t,e,n,r){var i=function(t,e,n){var r,i=yh(e,[]),a=t.getInstance();if(!(a instanceof Element))return{target:i,transitionEnd:n};for(var o in n&&(n=mh({},n)),t.forEachValue((function(t){var e=t.get();if(Pm(e)){var n=Om(e,a);n&&t.set(n)}})),i){var s=i[o];if(Pm(s)){var u=Om(s,a);u&&(i[o]=u,n&&(null!==(r=n[o])&&void 0!==r||(n[o]=s)))}}return{target:i,transitionEnd:n}}(t,e,r);return Gm(t,e=i.target,n,r=i.transitionEnd)};var Xm={treeType:"dom",readValueFromInstance:function(t,e){if(Jg(e)){var n=Xp(e);return n&&n.default||0}var r,i=(r=t,window.getComputedStyle(r));return(Ob(e)?i.getPropertyValue(e):i[e])||0},sortNodePosition:function(t,e){return 2&t.compareDocumentPosition(e)?1:-1},getBaseTarget:function(t,e){var n;return null===(n=t.style)||void 0===n?void 0:n[e]},measureViewportBox:function(t,e){return _m(t,e.transformPagePoint)},resetTransform:function(t,e,n){var r=n.transformTemplate;e.style.transform=r?r({},""):"none",t.scheduleRender()},restoreTransform:function(t,e){t.style.transform=e.style.transform},removeValueFromRenderState:function(t,e){var n=e.vars,r=e.style;delete n[t],delete r[t]},makeTargetAnimatable:function(t,e,n,r){var i=n.transformValues;void 0===r&&(r=!0);var a=e.transition,o=e.transitionEnd,s=yh(e,["transition","transitionEnd"]),u=function(t,e,n){var r,i,a={};for(var o in t)a[o]=null!==(r=Zv(o,e))&&void 0!==r?r:null===(i=n.getValue(o))||void 0===i?void 0:i.get();return a}(s,a||{},t);if(i&&(o&&(o=i(o)),s&&(s=i(s)),u&&(u=i(u))),r){!function(t,e,n){var r,i,a,o,s=Object.keys(e).filter((function(e){return!t.hasValue(e)})),u=s.length;if(u)for(var c=0;c<u;c++){var l=s[c],h=e[l],f=null;Array.isArray(h)&&(f=h[0]),null===f&&(f=null!==(i=null!==(r=n[l])&&void 0!==r?r:t.readValue(l))&&void 0!==i?i:e[l]),null!=f&&("string"==typeof f&&(/^\-?\d*\.?\d+$/.test(f)||Hv(f))?f=parseFloat(f):!qv(f)&&Md.test(h)&&(f=qp(l,h)),t.addValue(l,Pf(f)),null!==(a=(o=n)[l])&&void 0!==a||(o[l]=f),t.setBaseTarget(l,f))}}(t,s,u);var c=Um(t,s,u,o);o=c.transitionEnd,s=c.target}return mh({transition:a,transitionEnd:o},s)},scrapeMotionValuesFromProps:nv,build:function(t,e,n,r,i){void 0!==t.isVisible&&(e.style.visibility=t.isVisible?"visible":"hidden"),Rb(e,n,r,i.transformTemplate)},render:Jb},qm=Tm(Xm),Ym=Tm(mh(mh({},Xm),{getBaseTarget:function(t,e){return t[e]},readValueFromInstance:function(t,e){var n;return Jg(e)?(null===(n=Xp(e))||void 0===n?void 0:n.default)||0:(e=tv.has(e)?e:Qb(e),t.getAttribute(e))},scrapeMotionValuesFromProps:rv,build:function(t,e,n,r,i){Xb(e,n,r,i.transformTemplate)},render:ev})),Km=function(t,e){return Eb(t)?Ym(e,{enableHardwareAcceleration:!1}):qm(e,{enableHardwareAcceleration:!0})};function Zm(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var Qm={correct:function(t,e){if(!e.target)return t;if("string"==typeof t){if(!sd.test(t))return t;t=parseFloat(t)}var n=Zm(t,e.target.x),r=Zm(t,e.target.y);return"".concat(n,"% ").concat(r,"%")}},Jm="_$css",ty={correct:function(t,e){var n=e.treeScale,r=e.projectionDelta,i=t,a=t.includes("var("),o=[];a&&(t=t.replace(Dm,(function(t){return o.push(t),Jm})));var s=Md.parse(t);if(s.length>5)return i;var u=Md.createTransformer(t),c="number"!=typeof s[0]?1:0,l=r.x.scale*n.x,h=r.y.scale*n.y;s[0+c]/=l,s[1+c]/=h;var f=If(l,h,.5);"number"==typeof s[2+c]&&(s[2+c]/=f),"number"==typeof s[3+c]&&(s[3+c]/=f);var d=u(s);if(a){var p=0;d=d.replace(Jm,(function(){var t=o[p];return p++,t}))}return d}},ey=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return vh(e,t),e.prototype.componentDidMount=function(){var t,e=this,n=this.props,r=n.visualElement,i=n.layoutGroup,a=n.switchLayoutGroup,o=n.layoutId,s=r.projection;t=ny,Object.assign(Ug,t),s&&((null==i?void 0:i.group)&&i.group.add(s),(null==a?void 0:a.register)&&o&&a.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",(function(){e.safeToRemove()})),s.setOptions(mh(mh({},s.options),{onExitComplete:function(){return e.safeToRemove()}}))),ab.hasEverUpdated=!0},e.prototype.getSnapshotBeforeUpdate=function(t){var e=this,n=this.props,r=n.layoutDependency,i=n.visualElement,a=n.drag,o=n.isPresent,s=i.projection;return s?(s.isPresent=o,a||t.layoutDependency!==r||void 0===r?s.willUpdate():this.safeToRemove(),t.isPresent!==o&&(o?s.promote():s.relegate()||Bh.postRender((function(){var t;(null===(t=s.getStack())||void 0===t?void 0:t.members.length)||e.safeToRemove()}))),null):null},e.prototype.componentDidUpdate=function(){var t=this.props.visualElement.projection;t&&(t.root.didUpdate(),!t.currentAnimation&&t.isLead()&&this.safeToRemove())},e.prototype.componentWillUnmount=function(){var t=this.props,e=t.visualElement,n=t.layoutGroup,r=t.switchLayoutGroup,i=e.projection;i&&(i.scheduleCheckAfterUnmount(),(null==n?void 0:n.group)&&n.group.remove(i),(null==r?void 0:r.deregister)&&r.deregister(i))},e.prototype.safeToRemove=function(){var t=this.props.safeToRemove;null==t||t()},e.prototype.render=function(){return null},e}(n.Component);var ny={borderRadius:mh(mh({},Qm),{applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]}),borderTopLeftRadius:Qm,borderTopRightRadius:Qm,borderBottomLeftRadius:Qm,borderBottomRightRadius:Qm,boxShadow:ty},ry={measureLayout:function(t){var e=xh(nf(),2),r=e[0],i=e[1],a=(0,n.useContext)(Kh);return n.createElement(ey,mh({},t,{layoutGroup:a,switchLayoutGroup:(0,n.useContext)(Ib),isPresent:r,safeToRemove:i}))}},iy=ob({attachResizeListener:function(t,e){return hv(t,"resize",e)},measureScroll:function(){return{x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}}}),ay={current:void 0},oy=ob({measureScroll:function(t){return{x:t.scrollLeft,y:t.scrollTop}},defaultParent:function(){if(!ay.current){var t=new iy(0,{});t.mount(window),t.setOptions({layoutScroll:!0}),ay.current=t}return ay.current},resetTransform:function(t,e){t.style.transform=null!=e?e:"none"}}),sy=mh(mh(mh(mh({},um),$v),Mm),ry),uy=Tb((function(t,e){return function(t,e,n,r,i){var a=e.forwardMotionProps,o=void 0!==a&&a,s=Eb(t)?cv:lv;return mh(mh({},s),{preloadedFeatures:n,useRender:Kb(o),createVisualElement:r,projectionNodeConstructor:i,Component:t})}(t,e,sy,Km,oy)}));function cy(t,...e){return ly(t)?t(...e):t}var ly=t=>"function"==typeof t;var hy=(t,e)=>t.find((t=>t.id===e));function fy(t,e){const n=dy(t,e);return{position:n,index:n?t[n].findIndex((t=>t.id===e)):-1}}function dy(t,e){for(const[n,r]of Object.entries(t))if(hy(r,e))return n}function py(t){return{position:"fixed",zIndex:5500,pointerEvents:"none",display:"flex",flexDirection:"column",margin:"top"===t||"bottom"===t?"0 auto":void 0,top:t.includes("top")?"env(safe-area-inset-top, 0px)":void 0,bottom:t.includes("bottom")?"env(safe-area-inset-bottom, 0px)":void 0,right:t.includes("left")?void 0:"env(safe-area-inset-right, 0px)",left:t.includes("right")?void 0:"env(safe-area-inset-left, 0px)"}}var gy=function(t){let e=t;const n=new Set,r=t=>{e=t(e),n.forEach((t=>t()))};return{getState:()=>e,subscribe:e=>(n.add(e),()=>{r((()=>t)),n.delete(e)}),removeToast:(t,e)=>{r((n=>({...n,[e]:n[e].filter((e=>e.id!=t))})))},notify:(t,e)=>{const n=function(t,e={}){by+=1;const n=e.id??by,r=e.position??"bottom";return{id:n,message:t,position:r,duration:e.duration,onCloseComplete:e.onCloseComplete,onRequestRemove:()=>gy.removeToast(String(n),r),status:e.status,requestClose:!1,containerStyle:e.containerStyle}}(t,e),{position:i,id:a}=n;return r((t=>{const e=i.includes("top")?[n,...t[i]??[]]:[...t[i]??[],n];return{...t,[i]:e}})),a},update:(t,e)=>{t&&r((n=>{const r={...n},{position:i,index:a}=fy(r,t);return i&&-1!==a&&(r[i][a]={...r[i][a],...e,message:my(e)}),r}))},closeAll:({positions:t}={})=>{r((e=>(t??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce(((t,n)=>(t[n]=e[n].map((t=>({...t,requestClose:!0}))),t)),{...e})))},close:t=>{r((e=>{const n=dy(e,t);return n?{...e,[n]:e[n].map((e=>e.id==t?{...e,requestClose:!0}:e))}:e}))},isActive:t=>Boolean(fy(gy.getState(),t).position)}}({top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]});var by=0;var vy=t=>{const{status:e,variant:r="solid",id:i,title:a,isClosable:o,onClose:s,description:u,icon:c}=t,l=i?{root:`toast-${i}`,title:`toast-${i}-title`,description:`toast-${i}-description`}:void 0;return n.createElement(lh,{addRole:!1,status:e,variant:r,id:null==l?void 0:l.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto"},n.createElement(fh,null,c),n.createElement(Er.div,{flex:"1",maxWidth:"100%"},a&&n.createElement(dh,{id:null==l?void 0:l.title},a),u&&n.createElement(hh,{id:null==l?void 0:l.description,display:"block"},u)),o&&n.createElement(gh,{size:"sm",onClick:s,position:"absolute",insetEnd:1,top:1}))};function my(t={}){const{render:e,toastComponent:r=vy}=t;return i=>"function"==typeof e?e({...i,...t}):n.createElement(r,{...i,...t})}var yy={initial:t=>{const{position:e}=t,n=["top","bottom"].includes(e)?"y":"x";let r=["top-right","bottom-right"].includes(e)?1:-1;return"bottom"===e&&(r=1),{opacity:0,[n]:24*r}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},wy=(0,n.memo)((t=>{const{id:e,message:r,onCloseComplete:i,onRequestRemove:a,requestClose:o=!1,position:s="bottom",duration:u=5e3,containerStyle:c,motionVariants:l=yy,toastSpacing:h="0.5rem"}=t,[f,d]=(0,n.useState)(u),p=rf();ef((()=>{p||null==i||i()}),[p]),ef((()=>{d(u)}),[u]);const g=()=>{p&&a()};(0,n.useEffect)((()=>{p&&o&&a()}),[p,o,a]),function(t,e){const r=tf(t);(0,n.useEffect)((()=>{if(null==e)return;let t=null;return t=window.setTimeout((()=>{r()}),e),()=>{t&&window.clearTimeout(t)}}),[e,r])}(g,f);const b=(0,n.useMemo)((()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:h,...c})),[c,h]),v=(0,n.useMemo)((()=>function(t){let e="center";return t.includes("right")&&(e="flex-end"),t.includes("left")&&(e="flex-start"),{display:"flex",flexDirection:"column",alignItems:e}}(s)),[s]);return n.createElement(uy.li,{layout:!0,className:"chakra-toast",variants:l,initial:"initial",animate:"animate",exit:"exit",onHoverStart:()=>d(null),onHoverEnd:()=>d(u),custom:{position:s},style:v},n.createElement(Er.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:b},cy(r,{id:e,onClose:g})))}));wy.displayName="ToastComponent";var xy=t=>{const e=(0,n.useSyncExternalStore)(gy.subscribe,gy.getState,gy.getState),{children:r,motionVariants:i,component:a=wy,portalProps:o}=t,s=Object.keys(e).map((t=>{const r=e[t];return n.createElement("ul",{role:"region","aria-live":"polite",key:t,id:`chakra-toast-manager-${t}`,style:py(t)},n.createElement(Jh,{initial:!1},r.map((t=>n.createElement(a,{key:t.id,motionVariants:i,...t})))))}));return n.createElement(n.Fragment,null,r,n.createElement(ta,{...o},s))};var _y=t=>function({children:e,theme:r=t,toastOptions:i,...a}){return n.createElement(sa,{theme:r,...a},e,n.createElement(xy,{...i}))},Sy=_y(Jl),ky=(_y(th),a(5942));function Iy(t){return"function"==typeof t}var My=t=>function(...e){let n=[...e],r=e[e.length-1];return Zl(r)&&n.length>1?n=n.slice(0,n.length-1):r=t,function(...t){return e=>t.reduce(((t,e)=>e(t)),e)}(...n.map((t=>e=>Iy(t)?t(e):Ty(e,t))))(r)},Cy=My(Jl);My(th);function Ty(...t){return Wt()({},...t,Ay)}function Ay(t,e,n,r){if((Iy(t)||Iy(e))&&Object.prototype.hasOwnProperty.call(r,n))return(...n)=>{const r=Iy(t)?t(...n):t,i=Iy(e)?e(...n):e;return Wt()({},r,i,Ay)}}const Ey=Cy({styles:{global:{"*, *::before, &::after":{borderColor:"gray.200"}}},components:{Tooltip:{baseStyle:{fontSize:"md"}}}}),Py=n.createContext(void 0),Dy=t=>{let{children:e}=t;const r=(0,n.useRef)(null);return n.createElement(Py.Provider,{value:r},n.createElement("div",{ref:r},e))},Oy=()=>(0,n.useContext)(Py),Ly="YYYY-MM-DDTHH:mm:ss.SSS",Ry="YYYY-MM-DD, HH:mm:ss z",Ny="timezone";const jy=(t,e)=>moment(e||void 0).diff(t||void 0),Fy=t=>{const e=moment.duration(t),n=e.asDays(),r=Math.floor(n);return`${r>0?`${r}d`:""}${moment.utc(e.as("milliseconds")).format("HH:mm:ss")}`},By=n.createContext({timezone:"UTC"}),zy=t=>{let{children:e}=t;const[r,i]=(0,n.useState)(moment.defaultZone&&moment.defaultZone.name||"UTC"),a=t=>{t.detail&&t.detail!==r&&i(t.detail)};(0,n.useEffect)((()=>(document.addEventListener(Ny,a),()=>{document.removeEventListener(Ny,a)})));const o=(0,n.useMemo)((()=>({timezone:r})),[r]);return n.createElement(By.Provider,{value:o},e)},$y=()=>(0,n.useContext)(By);var Vy;!function(t){t[t.EOS=0]="EOS",t[t.Text=1]="Text",t[t.Incomplete=2]="Incomplete",t[t.ESC=3]="ESC",t[t.Unknown=4]="Unknown",t[t.SGR=5]="SGR",t[t.OSCURL=6]="OSCURL"}(Vy||(Vy={}));let Hy=function(t){return t.DEBUG="DEBUG",t.INFO="INFO",t.WARNING="WARNING",t.ERROR="ERROR",t.CRITICAL="CRITICAL",t}({});Hy.DEBUG,Hy.INFO,Hy.WARNING,Hy.ERROR,Hy.CRITICAL,Gy("color_log_error_keywords").split(",").filter((t=>t.length>0)).map((t=>t.toLowerCase())),Gy("color_log_warning_keywords").split(",").filter((t=>t.length>0)).map((t=>t.toLowerCase()));var Wy=a(2543);function Gy(t){const e=document.querySelector(`meta[name="${t}"]`);return e&&e.getAttribute("content")||""}const Uy="disabledAutoRefresh",Xy="True"===Gy("is_paused"),qy=JSON.parse(localStorage.getItem(Uy)||"false"),Yy=n.createContext({isRefreshOn:!1,isPaused:!0,refetchInterval:!1,toggleRefresh:()=>{},stopRefresh:()=>{},startRefresh:()=>{}}),Ky=t=>{let{children:e}=t;const[r,i]=(0,n.useState)(Xy),a=!(r||qy),o=a,[s,u]=(0,n.useState)(o),c=(0,n.useCallback)((()=>u(!s)),[s]),l=()=>u(!1),h=(0,n.useCallback)((()=>a&&u(!0)),[a,u]),f=s&&1e3*(autoRefreshInterval||1),d=(0,n.useCallback)((function(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t?(s?localStorage.setItem(Uy,"true"):localStorage.removeItem(Uy),c()):a&&c()}),[a,s,c]);(0,n.useEffect)((()=>{const t=t=>{"detail"in t&&(i(!t.detail),t.detail||l())};return document.addEventListener("paused",t),()=>{document.removeEventListener("paused",t)}}));const p=(0,n.useMemo)((()=>({isRefreshOn:s,refetchInterval:f,toggleRefresh:d,stopRefresh:l,startRefresh:h,isPaused:r})),[r,s,h,d,f]);return n.createElement(Yy.Provider,{value:p},e)},Zy="isInputInFocus",Qy=new ky.QueryClient({defaultOptions:{queries:{notifyOnChangeProps:"tracked",refetchOnWindowFocus:!1,retry:1,retryDelay:500,refetchOnMount:!0,staleTime:3e5,initialDataUpdatedAt:(new Date).setMinutes(-6)},mutations:{retry:1,retryDelay:500}}}),Jy=t=>{let{children:e}=t;const r=Oy();return n.createElement(Sy,{theme:Ey,toastOptions:{portalProps:{containerRef:r}}},n.createElement(ky.QueryClientProvider,{client:Qy},n.createElement(zy,null,n.createElement(Ky,null,n.createElement(Bi,null,e)))))};const tw=function(t){let{children:e,cache:r}=t;return(0,n.useEffect)((()=>{localStorage.setItem(Zy,"false")}),[]),n.createElement(n.StrictMode,null,n.createElement(Ft,{value:r},n.createElement(Dy,null,n.createElement(Jy,null,e))))};var ew=(...t)=>t.filter(Boolean).join(" "),[nw,rw]=jr({name:"CardStylesContext",hookName:"useCardStyles",providerName:"<Card />"}),iw=Mr((function(t,e){const{className:r,children:i,direction:a="column",justify:o,align:s,...u}=Rn(t),c=Ar("Card",t);return n.createElement(Er.div,{ref:e,className:ew("chakra-card",r),__css:{display:"flex",flexDirection:a,justifyContent:o,alignItems:s,position:"relative",minWidth:0,wordWrap:"break-word",...c.container},...u},n.createElement(nw,{value:c},i))})),aw=Mr((function(t,e){const{className:r,...i}=t,a=rw();return n.createElement(Er.div,{ref:e,className:ew("chakra-card__header",r),__css:a.header,...i})})),ow=Mr((function(t,e){const{className:r,...i}=t,a=rw();return n.createElement(Er.div,{ref:e,className:ew("chakra-card__body",r),__css:a.body,...i})}));Mr((function(t,e){const{className:r,justify:i,...a}=t,o=rw();return n.createElement(Er.div,{ref:e,className:ew("chakra-card__footer",r),__css:{...o.footer,display:"flex",justifyContent:i},...a})}));function sw(...t){return e=>{t.forEach((t=>{!function(t,e){if(null!=t)if("function"!=typeof t)try{t.current=e}catch(n){throw new Error(`Cannot assign value '${e}' to ref '${t}'`)}else t(e)}(t,e)}))}}function uw(...t){return(0,n.useMemo)((()=>sw(...t)),t)}function cw(t){if(null==t)return window;if("[object Window]"!==t.toString()){var e=t.ownerDocument;return e&&e.defaultView||window}return t}function lw(t){return t instanceof cw(t).Element||t instanceof Element}function hw(t){return t instanceof cw(t).HTMLElement||t instanceof HTMLElement}function fw(t){return"undefined"!=typeof ShadowRoot&&(t instanceof cw(t).ShadowRoot||t instanceof ShadowRoot)}var dw=Math.max,pw=Math.min,gw=Math.round;function bw(t,e){void 0===e&&(e=!1);var n=t.getBoundingClientRect(),r=1,i=1;if(hw(t)&&e){var a=t.offsetHeight,o=t.offsetWidth;o>0&&(r=gw(n.width)/o||1),a>0&&(i=gw(n.height)/a||1)}return{width:n.width/r,height:n.height/i,top:n.top/i,right:n.right/r,bottom:n.bottom/i,left:n.left/r,x:n.left/r,y:n.top/i}}function vw(t){var e=cw(t);return{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function mw(t){return t?(t.nodeName||"").toLowerCase():null}function yw(t){return((lw(t)?t.ownerDocument:t.document)||window.document).documentElement}function ww(t){return bw(yw(t)).left+vw(t).scrollLeft}function xw(t){return cw(t).getComputedStyle(t)}function _w(t){var e=xw(t),n=e.overflow,r=e.overflowX,i=e.overflowY;return/auto|scroll|overlay|hidden/.test(n+i+r)}function Sw(t,e,n){void 0===n&&(n=!1);var r=hw(e),i=hw(e)&&function(t){var e=t.getBoundingClientRect(),n=gw(e.width)/t.offsetWidth||1,r=gw(e.height)/t.offsetHeight||1;return 1!==n||1!==r}(e),a=yw(e),o=bw(t,i),s={scrollLeft:0,scrollTop:0},u={x:0,y:0};return(r||!r&&!n)&&(("body"!==mw(e)||_w(a))&&(s=function(t){return t!==cw(t)&&hw(t)?{scrollLeft:(e=t).scrollLeft,scrollTop:e.scrollTop}:vw(t);var e}(e)),hw(e)?((u=bw(e,!0)).x+=e.clientLeft,u.y+=e.clientTop):a&&(u.x=ww(a))),{x:o.left+s.scrollLeft-u.x,y:o.top+s.scrollTop-u.y,width:o.width,height:o.height}}function kw(t){var e=bw(t),n=t.offsetWidth,r=t.offsetHeight;return Math.abs(e.width-n)<=1&&(n=e.width),Math.abs(e.height-r)<=1&&(r=e.height),{x:t.offsetLeft,y:t.offsetTop,width:n,height:r}}function Iw(t){return"html"===mw(t)?t:t.assignedSlot||t.parentNode||(fw(t)?t.host:null)||yw(t)}function Mw(t){return["html","body","#document"].indexOf(mw(t))>=0?t.ownerDocument.body:hw(t)&&_w(t)?t:Mw(Iw(t))}function Cw(t,e){var n;void 0===e&&(e=[]);var r=Mw(t),i=r===(null==(n=t.ownerDocument)?void 0:n.body),a=cw(r),o=i?[a].concat(a.visualViewport||[],_w(r)?r:[]):r,s=e.concat(o);return i?s:s.concat(Cw(Iw(o)))}function Tw(t){return["table","td","th"].indexOf(mw(t))>=0}function Aw(t){return hw(t)&&"fixed"!==xw(t).position?t.offsetParent:null}function Ew(t){for(var e=cw(t),n=Aw(t);n&&Tw(n)&&"static"===xw(n).position;)n=Aw(n);return n&&("html"===mw(n)||"body"===mw(n)&&"static"===xw(n).position)?e:n||function(t){var e=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&hw(t)&&"fixed"===xw(t).position)return null;for(var n=Iw(t);hw(n)&&["html","body"].indexOf(mw(n))<0;){var r=xw(n);if("none"!==r.transform||"none"!==r.perspective||"paint"===r.contain||-1!==["transform","perspective"].indexOf(r.willChange)||e&&"filter"===r.willChange||e&&r.filter&&"none"!==r.filter)return n;n=n.parentNode}return null}(t)||e}var Pw="top",Dw="bottom",Ow="right",Lw="left",Rw="auto",Nw=[Pw,Dw,Ow,Lw],jw="start",Fw="end",Bw="viewport",zw="popper",$w=Nw.reduce((function(t,e){return t.concat([e+"-"+jw,e+"-"+Fw])}),[]),Vw=[].concat(Nw,[Rw]).reduce((function(t,e){return t.concat([e,e+"-"+jw,e+"-"+Fw])}),[]),Hw=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function Ww(t){var e=new Map,n=new Set,r=[];function i(t){n.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach((function(t){if(!n.has(t)){var r=e.get(t);r&&i(r)}})),r.push(t)}return t.forEach((function(t){e.set(t.name,t)})),t.forEach((function(t){n.has(t.name)||i(t)})),r}var Gw={placement:"bottom",modifiers:[],strategy:"absolute"};function Uw(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return!e.some((function(t){return!(t&&"function"==typeof t.getBoundingClientRect)}))}function Xw(t){void 0===t&&(t={});var e=t,n=e.defaultModifiers,r=void 0===n?[]:n,i=e.defaultOptions,a=void 0===i?Gw:i;return function(t,e,n){void 0===n&&(n=a);var i,o,s={placement:"bottom",orderedModifiers:[],options:Object.assign({},Gw,a),modifiersData:{},elements:{reference:t,popper:e},attributes:{},styles:{}},u=[],c=!1,l={state:s,setOptions:function(n){var i="function"==typeof n?n(s.options):n;h(),s.options=Object.assign({},a,s.options,i),s.scrollParents={reference:lw(t)?Cw(t):t.contextElement?Cw(t.contextElement):[],popper:Cw(e)};var o=function(t){var e=Ww(t);return Hw.reduce((function(t,n){return t.concat(e.filter((function(t){return t.phase===n})))}),[])}(function(t){var e=t.reduce((function(t,e){var n=t[e.name];return t[e.name]=n?Object.assign({},n,e,{options:Object.assign({},n.options,e.options),data:Object.assign({},n.data,e.data)}):e,t}),{});return Object.keys(e).map((function(t){return e[t]}))}([].concat(r,s.options.modifiers)));return s.orderedModifiers=o.filter((function(t){return t.enabled})),s.orderedModifiers.forEach((function(t){var e=t.name,n=t.options,r=void 0===n?{}:n,i=t.effect;if("function"==typeof i){var a=i({state:s,name:e,instance:l,options:r}),o=function(){};u.push(a||o)}})),l.update()},forceUpdate:function(){if(!c){var t=s.elements,e=t.reference,n=t.popper;if(Uw(e,n)){s.rects={reference:Sw(e,Ew(n),"fixed"===s.options.strategy),popper:kw(n)},s.reset=!1,s.placement=s.options.placement,s.orderedModifiers.forEach((function(t){return s.modifiersData[t.name]=Object.assign({},t.data)}));for(var r=0;r<s.orderedModifiers.length;r++)if(!0!==s.reset){var i=s.orderedModifiers[r],a=i.fn,o=i.options,u=void 0===o?{}:o,h=i.name;"function"==typeof a&&(s=a({state:s,options:u,name:h,instance:l})||s)}else s.reset=!1,r=-1}}},update:(i=function(){return new Promise((function(t){l.forceUpdate(),t(s)}))},function(){return o||(o=new Promise((function(t){Promise.resolve().then((function(){o=void 0,t(i())}))}))),o}),destroy:function(){h(),c=!0}};if(!Uw(t,e))return l;function h(){u.forEach((function(t){return t()})),u=[]}return l.setOptions(n).then((function(t){!c&&n.onFirstUpdate&&n.onFirstUpdate(t)})),l}}var qw={passive:!0};const Yw={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(t){var e=t.state,n=t.instance,r=t.options,i=r.scroll,a=void 0===i||i,o=r.resize,s=void 0===o||o,u=cw(e.elements.popper),c=[].concat(e.scrollParents.reference,e.scrollParents.popper);return a&&c.forEach((function(t){t.addEventListener("scroll",n.update,qw)})),s&&u.addEventListener("resize",n.update,qw),function(){a&&c.forEach((function(t){t.removeEventListener("scroll",n.update,qw)})),s&&u.removeEventListener("resize",n.update,qw)}},data:{}};function Kw(t){return t.split("-")[0]}function Zw(t){return t.split("-")[1]}function Qw(t){return["top","bottom"].indexOf(t)>=0?"x":"y"}function Jw(t){var e,n=t.reference,r=t.element,i=t.placement,a=i?Kw(i):null,o=i?Zw(i):null,s=n.x+n.width/2-r.width/2,u=n.y+n.height/2-r.height/2;switch(a){case Pw:e={x:s,y:n.y-r.height};break;case Dw:e={x:s,y:n.y+n.height};break;case Ow:e={x:n.x+n.width,y:u};break;case Lw:e={x:n.x-r.width,y:u};break;default:e={x:n.x,y:n.y}}var c=a?Qw(a):null;if(null!=c){var l="y"===c?"height":"width";switch(o){case jw:e[c]=e[c]-(n[l]/2-r[l]/2);break;case Fw:e[c]=e[c]+(n[l]/2-r[l]/2)}}return e}const tx={name:"popperOffsets",enabled:!0,phase:"read",fn:function(t){var e=t.state,n=t.name;e.modifiersData[n]=Jw({reference:e.rects.reference,element:e.rects.popper,strategy:"absolute",placement:e.placement})},data:{}};var ex={top:"auto",right:"auto",bottom:"auto",left:"auto"};function nx(t){var e,n=t.popper,r=t.popperRect,i=t.placement,a=t.variation,o=t.offsets,s=t.position,u=t.gpuAcceleration,c=t.adaptive,l=t.roundOffsets,h=t.isFixed,f=o.x,d=void 0===f?0:f,p=o.y,g=void 0===p?0:p,b="function"==typeof l?l({x:d,y:g}):{x:d,y:g};d=b.x,g=b.y;var v=o.hasOwnProperty("x"),m=o.hasOwnProperty("y"),y=Lw,w=Pw,x=window;if(c){var _=Ew(n),S="clientHeight",k="clientWidth";if(_===cw(n)&&"static"!==xw(_=yw(n)).position&&"absolute"===s&&(S="scrollHeight",k="scrollWidth"),i===Pw||(i===Lw||i===Ow)&&a===Fw)w=Dw,g-=(h&&x.visualViewport?x.visualViewport.height:_[S])-r.height,g*=u?1:-1;if(i===Lw||(i===Pw||i===Dw)&&a===Fw)y=Ow,d-=(h&&x.visualViewport?x.visualViewport.width:_[k])-r.width,d*=u?1:-1}var I,M=Object.assign({position:s},c&&ex),C=!0===l?function(t){var e=t.x,n=t.y,r=window.devicePixelRatio||1;return{x:gw(e*r)/r||0,y:gw(n*r)/r||0}}({x:d,y:g}):{x:d,y:g};return d=C.x,g=C.y,u?Object.assign({},M,((I={})[w]=m?"0":"",I[y]=v?"0":"",I.transform=(x.devicePixelRatio||1)<=1?"translate("+d+"px, "+g+"px)":"translate3d("+d+"px, "+g+"px, 0)",I)):Object.assign({},M,((e={})[w]=m?g+"px":"",e[y]=v?d+"px":"",e.transform="",e))}const rx={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(t){var e=t.state,n=t.options,r=n.gpuAcceleration,i=void 0===r||r,a=n.adaptive,o=void 0===a||a,s=n.roundOffsets,u=void 0===s||s,c={placement:Kw(e.placement),variation:Zw(e.placement),popper:e.elements.popper,popperRect:e.rects.popper,gpuAcceleration:i,isFixed:"fixed"===e.options.strategy};null!=e.modifiersData.popperOffsets&&(e.styles.popper=Object.assign({},e.styles.popper,nx(Object.assign({},c,{offsets:e.modifiersData.popperOffsets,position:e.options.strategy,adaptive:o,roundOffsets:u})))),null!=e.modifiersData.arrow&&(e.styles.arrow=Object.assign({},e.styles.arrow,nx(Object.assign({},c,{offsets:e.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:u})))),e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-placement":e.placement})},data:{}};const ix={name:"applyStyles",enabled:!0,phase:"write",fn:function(t){var e=t.state;Object.keys(e.elements).forEach((function(t){var n=e.styles[t]||{},r=e.attributes[t]||{},i=e.elements[t];hw(i)&&mw(i)&&(Object.assign(i.style,n),Object.keys(r).forEach((function(t){var e=r[t];!1===e?i.removeAttribute(t):i.setAttribute(t,!0===e?"":e)})))}))},effect:function(t){var e=t.state,n={popper:{position:e.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(e.elements.popper.style,n.popper),e.styles=n,e.elements.arrow&&Object.assign(e.elements.arrow.style,n.arrow),function(){Object.keys(e.elements).forEach((function(t){var r=e.elements[t],i=e.attributes[t]||{},a=Object.keys(e.styles.hasOwnProperty(t)?e.styles[t]:n[t]).reduce((function(t,e){return t[e]="",t}),{});hw(r)&&mw(r)&&(Object.assign(r.style,a),Object.keys(i).forEach((function(t){r.removeAttribute(t)})))}))}},requires:["computeStyles"]};const ax={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.offset,a=void 0===i?[0,0]:i,o=Vw.reduce((function(t,n){return t[n]=function(t,e,n){var r=Kw(t),i=[Lw,Pw].indexOf(r)>=0?-1:1,a="function"==typeof n?n(Object.assign({},e,{placement:t})):n,o=a[0],s=a[1];return o=o||0,s=(s||0)*i,[Lw,Ow].indexOf(r)>=0?{x:s,y:o}:{x:o,y:s}}(n,e.rects,a),t}),{}),s=o[e.placement],u=s.x,c=s.y;null!=e.modifiersData.popperOffsets&&(e.modifiersData.popperOffsets.x+=u,e.modifiersData.popperOffsets.y+=c),e.modifiersData[r]=o}};var ox={left:"right",right:"left",bottom:"top",top:"bottom"};function sx(t){return t.replace(/left|right|bottom|top/g,(function(t){return ox[t]}))}var ux={start:"end",end:"start"};function cx(t){return t.replace(/start|end/g,(function(t){return ux[t]}))}function lx(t,e){var n=e.getRootNode&&e.getRootNode();if(t.contains(e))return!0;if(n&&fw(n)){var r=e;do{if(r&&t.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function hx(t){return Object.assign({},t,{left:t.x,top:t.y,right:t.x+t.width,bottom:t.y+t.height})}function fx(t,e){return e===Bw?hx(function(t){var e=cw(t),n=yw(t),r=e.visualViewport,i=n.clientWidth,a=n.clientHeight,o=0,s=0;return r&&(i=r.width,a=r.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(o=r.offsetLeft,s=r.offsetTop)),{width:i,height:a,x:o+ww(t),y:s}}(t)):lw(e)?function(t){var e=bw(t);return e.top=e.top+t.clientTop,e.left=e.left+t.clientLeft,e.bottom=e.top+t.clientHeight,e.right=e.left+t.clientWidth,e.width=t.clientWidth,e.height=t.clientHeight,e.x=e.left,e.y=e.top,e}(e):hx(function(t){var e,n=yw(t),r=vw(t),i=null==(e=t.ownerDocument)?void 0:e.body,a=dw(n.scrollWidth,n.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=dw(n.scrollHeight,n.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),s=-r.scrollLeft+ww(t),u=-r.scrollTop;return"rtl"===xw(i||n).direction&&(s+=dw(n.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:s,y:u}}(yw(t)))}function dx(t,e,n){var r="clippingParents"===e?function(t){var e=Cw(Iw(t)),n=["absolute","fixed"].indexOf(xw(t).position)>=0&&hw(t)?Ew(t):t;return lw(n)?e.filter((function(t){return lw(t)&&lx(t,n)&&"body"!==mw(t)})):[]}(t):[].concat(e),i=[].concat(r,[n]),a=i[0],o=i.reduce((function(e,n){var r=fx(t,n);return e.top=dw(r.top,e.top),e.right=pw(r.right,e.right),e.bottom=pw(r.bottom,e.bottom),e.left=dw(r.left,e.left),e}),fx(t,a));return o.width=o.right-o.left,o.height=o.bottom-o.top,o.x=o.left,o.y=o.top,o}function px(t){return Object.assign({},{top:0,right:0,bottom:0,left:0},t)}function gx(t,e){return e.reduce((function(e,n){return e[n]=t,e}),{})}function bx(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=void 0===r?t.placement:r,a=n.boundary,o=void 0===a?"clippingParents":a,s=n.rootBoundary,u=void 0===s?Bw:s,c=n.elementContext,l=void 0===c?zw:c,h=n.altBoundary,f=void 0!==h&&h,d=n.padding,p=void 0===d?0:d,g=px("number"!=typeof p?p:gx(p,Nw)),b=l===zw?"reference":zw,v=t.rects.popper,m=t.elements[f?b:l],y=dx(lw(m)?m:m.contextElement||yw(t.elements.popper),o,u),w=bw(t.elements.reference),x=Jw({reference:w,element:v,strategy:"absolute",placement:i}),_=hx(Object.assign({},v,x)),S=l===zw?_:w,k={top:y.top-S.top+g.top,bottom:S.bottom-y.bottom+g.bottom,left:y.left-S.left+g.left,right:S.right-y.right+g.right},I=t.modifiersData.offset;if(l===zw&&I){var M=I[i];Object.keys(k).forEach((function(t){var e=[Ow,Dw].indexOf(t)>=0?1:-1,n=[Pw,Dw].indexOf(t)>=0?"y":"x";k[t]+=M[n]*e}))}return k}const vx={name:"flip",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name;if(!e.modifiersData[r]._skip){for(var i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0===o||o,u=n.fallbackPlacements,c=n.padding,l=n.boundary,h=n.rootBoundary,f=n.altBoundary,d=n.flipVariations,p=void 0===d||d,g=n.allowedAutoPlacements,b=e.options.placement,v=Kw(b),m=u||(v===b||!p?[sx(b)]:function(t){if(Kw(t)===Rw)return[];var e=sx(t);return[cx(t),e,cx(e)]}(b)),y=[b].concat(m).reduce((function(t,n){return t.concat(Kw(n)===Rw?function(t,e){void 0===e&&(e={});var n=e,r=n.placement,i=n.boundary,a=n.rootBoundary,o=n.padding,s=n.flipVariations,u=n.allowedAutoPlacements,c=void 0===u?Vw:u,l=Zw(r),h=l?s?$w:$w.filter((function(t){return Zw(t)===l})):Nw,f=h.filter((function(t){return c.indexOf(t)>=0}));0===f.length&&(f=h);var d=f.reduce((function(e,n){return e[n]=bx(t,{placement:n,boundary:i,rootBoundary:a,padding:o})[Kw(n)],e}),{});return Object.keys(d).sort((function(t,e){return d[t]-d[e]}))}(e,{placement:n,boundary:l,rootBoundary:h,padding:c,flipVariations:p,allowedAutoPlacements:g}):n)}),[]),w=e.rects.reference,x=e.rects.popper,_=new Map,S=!0,k=y[0],I=0;I<y.length;I++){var M=y[I],C=Kw(M),T=Zw(M)===jw,A=[Pw,Dw].indexOf(C)>=0,E=A?"width":"height",P=bx(e,{placement:M,boundary:l,rootBoundary:h,altBoundary:f,padding:c}),D=A?T?Ow:Lw:T?Dw:Pw;w[E]>x[E]&&(D=sx(D));var O=sx(D),L=[];if(a&&L.push(P[C]<=0),s&&L.push(P[D]<=0,P[O]<=0),L.every((function(t){return t}))){k=M,S=!1;break}_.set(M,L)}if(S)for(var R=function(t){var e=y.find((function(e){var n=_.get(e);if(n)return n.slice(0,t).every((function(t){return t}))}));if(e)return k=e,"break"},N=p?3:1;N>0;N--){if("break"===R(N))break}e.placement!==k&&(e.modifiersData[r]._skip=!0,e.placement=k,e.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function mx(t,e,n){return dw(t,pw(e,n))}const yx={name:"preventOverflow",enabled:!0,phase:"main",fn:function(t){var e=t.state,n=t.options,r=t.name,i=n.mainAxis,a=void 0===i||i,o=n.altAxis,s=void 0!==o&&o,u=n.boundary,c=n.rootBoundary,l=n.altBoundary,h=n.padding,f=n.tether,d=void 0===f||f,p=n.tetherOffset,g=void 0===p?0:p,b=bx(e,{boundary:u,rootBoundary:c,padding:h,altBoundary:l}),v=Kw(e.placement),m=Zw(e.placement),y=!m,w=Qw(v),x="x"===w?"y":"x",_=e.modifiersData.popperOffsets,S=e.rects.reference,k=e.rects.popper,I="function"==typeof g?g(Object.assign({},e.rects,{placement:e.placement})):g,M="number"==typeof I?{mainAxis:I,altAxis:I}:Object.assign({mainAxis:0,altAxis:0},I),C=e.modifiersData.offset?e.modifiersData.offset[e.placement]:null,T={x:0,y:0};if(_){if(a){var A,E="y"===w?Pw:Lw,P="y"===w?Dw:Ow,D="y"===w?"height":"width",O=_[w],L=O+b[E],R=O-b[P],N=d?-k[D]/2:0,j=m===jw?S[D]:k[D],F=m===jw?-k[D]:-S[D],B=e.elements.arrow,z=d&&B?kw(B):{width:0,height:0},$=e.modifiersData["arrow#persistent"]?e.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},V=$[E],H=$[P],W=mx(0,S[D],z[D]),G=y?S[D]/2-N-W-V-M.mainAxis:j-W-V-M.mainAxis,U=y?-S[D]/2+N+W+H+M.mainAxis:F+W+H+M.mainAxis,X=e.elements.arrow&&Ew(e.elements.arrow),q=X?"y"===w?X.clientTop||0:X.clientLeft||0:0,Y=null!=(A=null==C?void 0:C[w])?A:0,K=O+U-Y,Z=mx(d?pw(L,O+G-Y-q):L,O,d?dw(R,K):R);_[w]=Z,T[w]=Z-O}if(s){var Q,J="x"===w?Pw:Lw,tt="x"===w?Dw:Ow,et=_[x],nt="y"===x?"height":"width",rt=et+b[J],it=et-b[tt],at=-1!==[Pw,Lw].indexOf(v),ot=null!=(Q=null==C?void 0:C[x])?Q:0,st=at?rt:et-S[nt]-k[nt]-ot+M.altAxis,ut=at?et+S[nt]+k[nt]-ot-M.altAxis:it,ct=d&&at?function(t,e,n){var r=mx(t,e,n);return r>n?n:r}(st,et,ut):mx(d?st:rt,et,d?ut:it);_[x]=ct,T[x]=ct-et}e.modifiersData[r]=T}},requiresIfExists:["offset"]};const xx={name:"arrow",enabled:!0,phase:"main",fn:function(t){var e,n=t.state,r=t.name,i=t.options,a=n.elements.arrow,o=n.modifiersData.popperOffsets,s=Kw(n.placement),u=Qw(s),c=[Lw,Ow].indexOf(s)>=0?"height":"width";if(a&&o){var l=function(t,e){return px("number"!=typeof(t="function"==typeof t?t(Object.assign({},e.rects,{placement:e.placement})):t)?t:gx(t,Nw))}(i.padding,n),h=kw(a),f="y"===u?Pw:Lw,d="y"===u?Dw:Ow,p=n.rects.reference[c]+n.rects.reference[u]-o[u]-n.rects.popper[c],g=o[u]-n.rects.reference[u],b=Ew(a),v=b?"y"===u?b.clientHeight||0:b.clientWidth||0:0,m=p/2-g/2,y=l[f],w=v-h[c]-l[d],x=v/2-h[c]/2+m,_=mx(y,x,w),S=u;n.modifiersData[r]=((e={})[S]=_,e.centerOffset=_-x,e)}},effect:function(t){var e=t.state,n=t.options.element,r=void 0===n?"[data-popper-arrow]":n;null!=r&&("string"!=typeof r||(r=e.elements.popper.querySelector(r)))&&lx(e.elements.popper,r)&&(e.elements.arrow=r)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function _x(t,e,n){return void 0===n&&(n={x:0,y:0}),{top:t.top-e.height-n.y,right:t.right-e.width+n.x,bottom:t.bottom-e.height+n.y,left:t.left-e.width-n.x}}function Sx(t){return[Pw,Ow,Dw,Lw].some((function(e){return t[e]>=0}))}const kx={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(t){var e=t.state,n=t.name,r=e.rects.reference,i=e.rects.popper,a=e.modifiersData.preventOverflow,o=bx(e,{elementContext:"reference"}),s=bx(e,{altBoundary:!0}),u=_x(o,r),c=_x(s,i,a),l=Sx(u),h=Sx(c);e.modifiersData[n]={referenceClippingOffsets:u,popperEscapeOffsets:c,isReferenceHidden:l,hasPopperEscaped:h},e.attributes.popper=Object.assign({},e.attributes.popper,{"data-popper-reference-hidden":l,"data-popper-escaped":h})}};var Ix=Xw({defaultModifiers:[Yw,tx,rx,ix,ax,vx,yx,xx,kx]}),Mx=(t,e)=>({var:t,varRef:e?`var(${t}, ${e})`:`var(${t})`}),Cx={arrowShadowColor:Mx("--popper-arrow-shadow-color"),arrowSize:Mx("--popper-arrow-size","8px"),arrowSizeHalf:Mx("--popper-arrow-size-half"),arrowBg:Mx("--popper-arrow-bg"),transformOrigin:Mx("--popper-transform-origin"),arrowOffset:Mx("--popper-arrow-offset")};var Tx={top:"bottom center","top-start":"bottom left","top-end":"bottom right",bottom:"top center","bottom-start":"top left","bottom-end":"top right",left:"right center","left-start":"right top","left-end":"right bottom",right:"left center","right-start":"left top","right-end":"left bottom"},Ax={scroll:!0,resize:!0};function Ex(t){let e;return e="object"==typeof t?{enabled:!0,options:{...Ax,...t}}:{enabled:t,options:Ax},e}var Px={name:"matchWidth",enabled:!0,phase:"beforeWrite",requires:["computeStyles"],fn:({state:t})=>{t.styles.popper.width=`${t.rects.reference.width}px`},effect:({state:t})=>()=>{const e=t.elements.reference;t.elements.popper.style.width=`${e.offsetWidth}px`}},Dx={name:"transformOrigin",enabled:!0,phase:"write",fn:({state:t})=>{Ox(t)},effect:({state:t})=>()=>{Ox(t)}},Ox=t=>{var e;t.elements.popper.style.setProperty(Cx.transformOrigin.var,(e=t.placement,Tx[e]))},Lx={name:"positionArrow",enabled:!0,phase:"afterWrite",fn:({state:t})=>{Rx(t)}},Rx=t=>{var e;if(!t.placement)return;const n=Nx(t.placement);if((null==(e=t.elements)?void 0:e.arrow)&&n){Object.assign(t.elements.arrow.style,{[n.property]:n.value,width:Cx.arrowSize.varRef,height:Cx.arrowSize.varRef,zIndex:-1});const e={[Cx.arrowSizeHalf.var]:`calc(${Cx.arrowSize.varRef} / 2)`,[Cx.arrowOffset.var]:`calc(${Cx.arrowSizeHalf.varRef} * -1)`};for(const n in e)t.elements.arrow.style.setProperty(n,e[n])}},Nx=t=>t.startsWith("top")?{property:"bottom",value:Cx.arrowOffset.varRef}:t.startsWith("bottom")?{property:"top",value:Cx.arrowOffset.varRef}:t.startsWith("left")?{property:"right",value:Cx.arrowOffset.varRef}:t.startsWith("right")?{property:"left",value:Cx.arrowOffset.varRef}:void 0,jx={name:"innerArrow",enabled:!0,phase:"main",requires:["arrow"],fn:({state:t})=>{Fx(t)},effect:({state:t})=>()=>{Fx(t)}},Fx=t=>{if(!t.elements.arrow)return;const e=t.elements.arrow.querySelector("[data-popper-arrow-inner]");var n;e&&Object.assign(e.style,{transform:"rotate(45deg)",background:Cx.arrowBg.varRef,top:0,left:0,width:"100%",height:"100%",position:"absolute",zIndex:"inherit",boxShadow:(n=t.placement,n.includes("top")?"1px 1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("bottom")?"-1px -1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("right")?"-1px 1px 1px 0 var(--popper-arrow-shadow-color)":n.includes("left")?"1px -1px 1px 0 var(--popper-arrow-shadow-color)":void 0)})},Bx={"start-start":{ltr:"left-start",rtl:"right-start"},"start-end":{ltr:"left-end",rtl:"right-end"},"end-start":{ltr:"right-start",rtl:"left-start"},"end-end":{ltr:"right-end",rtl:"left-end"},start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}},zx={"auto-start":"auto-end","auto-end":"auto-start","top-start":"top-end","top-end":"top-start","bottom-start":"bottom-end","bottom-end":"bottom-start"};function $x(t={}){const{enabled:e=!0,modifiers:r,placement:i="bottom",strategy:a="absolute",arrowPadding:o=8,eventListeners:s=!0,offset:u,gutter:c=8,flip:l=!0,boundary:h="clippingParents",preventOverflow:f=!0,matchWidth:d,direction:p="ltr"}=t,g=(0,n.useRef)(null),b=(0,n.useRef)(null),v=(0,n.useRef)(null),m=function(t,e="ltr"){var n;const r=(null==(n=Bx[t])?void 0:n[e])||t;return"ltr"===e?r:zx[t]??r}(i,p),y=(0,n.useRef)((()=>{})),w=(0,n.useCallback)((()=>{var t;e&&g.current&&b.current&&(null==(t=y.current)||t.call(y),v.current=Ix(g.current,b.current,{placement:m,modifiers:[jx,Lx,Dx,{...Px,enabled:!!d},{name:"eventListeners",...Ex(s)},{name:"arrow",options:{padding:o}},{name:"offset",options:{offset:u??[0,c]}},{name:"flip",enabled:!!l,options:{padding:8}},{name:"preventOverflow",enabled:!!f,options:{boundary:h}},...r??[]],strategy:a}),v.current.forceUpdate(),y.current=v.current.destroy)}),[m,e,r,d,s,o,u,c,l,f,h,a]);(0,n.useEffect)((()=>()=>{var t;g.current||b.current||(null==(t=v.current)||t.destroy(),v.current=null)}),[]);const x=(0,n.useCallback)((t=>{g.current=t,w()}),[w]),_=(0,n.useCallback)(((t={},e=null)=>({...t,ref:sw(x,e)})),[x]),S=(0,n.useCallback)((t=>{b.current=t,w()}),[w]),k=(0,n.useCallback)(((t={},e=null)=>({...t,ref:sw(S,e),style:{...t.style,position:a,minWidth:d?void 0:"max-content",inset:"0 auto auto 0"}})),[a,S,d]),I=(0,n.useCallback)(((t={},e=null)=>{const{size:n,shadowColor:r,bg:i,style:a,...o}=t;return{...o,ref:e,"data-popper-arrow":"",style:Vx(t)}}),[]),M=(0,n.useCallback)(((t={},e=null)=>({...t,ref:e,"data-popper-arrow-inner":""})),[]);return{update(){var t;null==(t=v.current)||t.update()},forceUpdate(){var t;null==(t=v.current)||t.forceUpdate()},transformOrigin:Cx.transformOrigin.varRef,referenceRef:x,popperRef:S,getPopperProps:k,getArrowProps:I,getArrowInnerProps:M,getReferenceProps:_}}function Vx(t){const{size:e,shadowColor:n,bg:r,style:i}=t,a={...i,position:"absolute"};return e&&(a["--popper-arrow-size"]=e),n&&(a["--popper-arrow-shadow-color"]=n),r&&(a["--popper-arrow-bg"]=r),a}function Hx(t,e,r,i){const a=tf(r);return(0,n.useEffect)((()=>{const n="function"==typeof t?t():t??document;if(r&&n)return n.addEventListener(e,a,i),()=>{n.removeEventListener(e,a,i)}}),[e,t,i,a,r]),()=>{const n="function"==typeof t?t():t??document;null==n||n.removeEventListener(e,a,i)}}var Wx={exit:{scale:.85,opacity:0,transition:{opacity:{duration:.15,easings:"easeInOut"},scale:{duration:.2,easings:"easeInOut"}}},enter:{scale:1,opacity:1,transition:{opacity:{easings:"easeOut",duration:.2},scale:{duration:.2,ease:[.175,.885,.4,1.1]}}}};function Gx(...t){return function(e){t.some((t=>(null==t||t(e),null==e?void 0:e.defaultPrevented)))}}var Ux=t=>{var e;return(null==(e=t.current)?void 0:e.ownerDocument)||document},Xx=t=>{var e,n;return(null==(n=null==(e=t.current)?void 0:e.ownerDocument)?void 0:n.defaultView)||window};function qx(t={}){const{openDelay:e=0,closeDelay:r=0,closeOnClick:i=!0,closeOnMouseDown:a,closeOnScroll:o,closeOnPointerDown:s=a,closeOnEsc:u=!0,onOpen:c,onClose:l,placement:h,id:f,isOpen:d,defaultIsOpen:p,arrowSize:g=10,arrowShadowColor:b,arrowPadding:v,modifiers:m,isDisabled:y,gutter:w,offset:x,direction:_,...S}=t,{isOpen:k,onOpen:I,onClose:M}=function(t={}){const{onClose:e,onOpen:r,isOpen:i,id:a}=t,o=tf(r),s=tf(e),[u,c]=(0,n.useState)(t.defaultIsOpen||!1),l=void 0!==i?i:u,h=void 0!==i,f=(0,n.useId)(),d=a??`disclosure-${f}`,p=(0,n.useCallback)((()=>{h||c(!1),null==s||s()}),[h,s]),g=(0,n.useCallback)((()=>{h||c(!0),null==o||o()}),[h,o]),b=(0,n.useCallback)((()=>{l?p():g()}),[l,g,p]);return{isOpen:l,onOpen:g,onClose:p,onToggle:b,isControlled:h,getButtonProps:function(t={}){return{...t,"aria-expanded":l,"aria-controls":d,onClick(e){var n;null==(n=t.onClick)||n.call(t,e),b()}}},getDisclosureProps:function(t={}){return{...t,hidden:!l,id:d}}}}({isOpen:d,defaultIsOpen:p,onOpen:c,onClose:l}),{referenceRef:C,getPopperProps:T,getArrowInnerProps:A,getArrowProps:E}=$x({enabled:k,placement:h,arrowPadding:v,modifiers:m,gutter:w,offset:x,direction:_}),P=(0,n.useId)(),D=`tooltip-${f??P}`,O=(0,n.useRef)(null),L=(0,n.useRef)(),R=(0,n.useCallback)((()=>{L.current&&(clearTimeout(L.current),L.current=void 0)}),[]),N=(0,n.useRef)(),j=(0,n.useCallback)((()=>{N.current&&(clearTimeout(N.current),N.current=void 0)}),[]),F=(0,n.useCallback)((()=>{j(),M()}),[M,j]),B=function(t,e){return(0,n.useEffect)((()=>{const n=Ux(t);return n.addEventListener(Yx,e),()=>n.removeEventListener(Yx,e)}),[e,t]),()=>{const e=Ux(t),n=Xx(t);e.dispatchEvent(new n.CustomEvent(Yx))}}(O,F),z=(0,n.useCallback)((()=>{if(!y&&!L.current){B();const t=Xx(O);L.current=t.setTimeout(I,e)}}),[B,y,I,e]),$=(0,n.useCallback)((()=>{R();const t=Xx(O);N.current=t.setTimeout(F,r)}),[r,F,R]),V=(0,n.useCallback)((()=>{k&&i&&$()}),[i,$,k]),H=(0,n.useCallback)((()=>{k&&s&&$()}),[s,$,k]),W=(0,n.useCallback)((t=>{k&&"Escape"===t.key&&$()}),[k,$]);Hx((()=>Ux(O)),"keydown",u?W:void 0),Hx((()=>Ux(O)),"scroll",(()=>{k&&o&&F()})),(0,n.useEffect)((()=>{y&&(R(),k&&M())}),[y,k,M,R]),(0,n.useEffect)((()=>()=>{R(),j()}),[R,j]),Hx((()=>O.current),"pointerleave",$);const G=(0,n.useCallback)(((t={},e=null)=>{const n={...t,ref:sw(O,e,C),onPointerEnter:Gx(t.onPointerEnter,(t=>{"touch"!==t.pointerType&&z()})),onClick:Gx(t.onClick,V),onPointerDown:Gx(t.onPointerDown,H),onFocus:Gx(t.onFocus,z),onBlur:Gx(t.onBlur,$),"aria-describedby":k?D:void 0};return n}),[z,$,H,k,D,V,C]),U=(0,n.useCallback)(((t={},e=null)=>T({...t,style:{...t.style,[Cx.arrowSize.var]:g?`${g}px`:void 0,[Cx.arrowShadowColor.var]:b}},e)),[T,g,b]),X=(0,n.useCallback)(((t={},e=null)=>{const n={...t.style,position:"relative",transformOrigin:Cx.transformOrigin.varRef};return{ref:e,...S,...t,id:D,role:"tooltip",style:n}}),[S,D]);return{isOpen:k,show:z,hide:$,getTriggerProps:G,getTooltipProps:X,getTooltipPositionerProps:U,getArrowProps:E,getArrowInnerProps:A}}var Yx="chakra-ui:close-tooltip";var Kx=Er(uy.div),Zx=Mr(((t,e)=>{const r=Tr("Tooltip",t),i=Rn(t),a=pr(),{children:o,label:s,shouldWrapChildren:u,"aria-label":c,hasArrow:l,bg:h,portalProps:f,background:d,backgroundColor:p,bgColor:g,motionProps:b,...v}=i,m=d??p??h??g;if(m){r.bg=m;const t=function(t,e,n){var r,i;return(null==(i=null==(r=t.__cssMap)?void 0:r[`${e}.${n}`])?void 0:i.varRef)??n}(a,"colors",m);r[Cx.arrowBg.var]=t}const y=qx({...v,direction:a.direction});let w;if("string"==typeof o||u)w=n.createElement(Er.span,{display:"inline-block",tabIndex:0,...y.getTriggerProps()},o);else{const t=n.Children.only(o);w=(0,n.cloneElement)(t,y.getTriggerProps(t.props,t.ref))}const x=!!c,_=y.getTooltipProps({},e),S=x?function(t,e=[]){const n=Object.assign({},t);for(const t of e)t in n&&delete n[t];return n}(_,["role","id"]):_,k=function(t,e){const n={};for(const r of e)r in t&&(n[r]=t[r]);return n}(_,["role","id"]);return s?n.createElement(n.Fragment,null,w,n.createElement(Jh,null,y.isOpen&&n.createElement(ta,{...f},n.createElement(Er.div,{...y.getTooltipPositionerProps(),__css:{zIndex:r.zIndex,pointerEvents:"none"}},n.createElement(Kx,{variants:Wx,initial:"exit",animate:"enter",exit:"exit",...b,...S,__css:r},s,x&&n.createElement(Er.span,{srOnly:!0,...k},c),l&&n.createElement(Er.div,{"data-popper-arrow":!0,className:"chakra-tooltip__arrow-wrapper"},n.createElement(Er.div,{"data-popper-arrow-inner":!0,className:"chakra-tooltip__arrow",__css:{bg:r.bg}}))))))):n.createElement(n.Fragment,null,o)}));Zx.displayName="Tooltip";var Qx={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},Jx=n.createContext&&n.createContext(Qx),t_=["attr","size","title"];function e_(t,e){if(null==t)return{};var n,r,i=function(t,e){if(null==t)return{};var n={};for(var r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(e.indexOf(r)>=0)continue;n[r]=t[r]}return n}(t,e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);for(r=0;r<a.length;r++)n=a[r],e.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(t,n)&&(i[n]=t[n])}return i}function n_(){return n_=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},n_.apply(this,arguments)}function r_(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i_(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?r_(Object(n),!0).forEach((function(e){a_(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r_(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function a_(t,e,n){return e=function(t){var e=function(t,e){if("object"!=typeof t||!t)return t;var n=t[Symbol.toPrimitive];if(void 0!==n){var r=n.call(t,e||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===e?String:Number)(t)}(t,"string");return"symbol"==typeof e?e:e+""}(e),e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o_(t){return t&&t.map(((t,e)=>n.createElement(t.tag,i_({key:e},t.attr),o_(t.child))))}function s_(t){return e=>n.createElement(u_,n_({attr:i_({},t.attr)},e),o_(t.child))}function u_(t){var e=e=>{var r,{attr:i,size:a,title:o}=t,s=e_(t,t_),u=a||e.size||"1em";return e.className&&(r=e.className),t.className&&(r=(r?r+" ":"")+t.className),n.createElement("svg",n_({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,i,s,{className:r,style:i_(i_({color:t.color||e.color},e.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),o&&n.createElement("title",null,o),t.children)};return void 0!==Jx?n.createElement(Jx.Consumer,null,(t=>e(t))):e(Qx)}function c_(t){return s_({tag:"svg",attr:{viewBox:"0 0 24 24"},child:[{tag:"path",attr:{fill:"none",d:"M0 0h24v24H0z"},child:[]},{tag:"path",attr:{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z"},child:[]}]})(t)}const l_=t=>{let{label:e,...r}=t;const i=Oy();return n.createElement(Zx,{label:e,hasArrow:!0,placement:"top",portalProps:{containerRef:i}},n.createElement($r,{display:"inline",ml:1,color:"gray.500"},n.createElement(c_,r)))};function h_(t,e){return function(){return t.apply(e,arguments)}}const{toString:f_}=Object.prototype,{getPrototypeOf:d_}=Object,p_=(t=>e=>{const n=f_.call(e);return t[n]||(t[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),g_=t=>(t=t.toLowerCase(),e=>p_(e)===t),b_=t=>e=>typeof e===t,{isArray:v_}=Array,m_=b_("undefined");const y_=g_("ArrayBuffer");const w_=b_("string"),x_=b_("function"),__=b_("number"),S_=t=>null!==t&&"object"==typeof t,k_=t=>{if("object"!==p_(t))return!1;const e=d_(t);return!(null!==e&&e!==Object.prototype&&null!==Object.getPrototypeOf(e)||Symbol.toStringTag in t||Symbol.iterator in t)},I_=g_("Date"),M_=g_("File"),C_=g_("Blob"),T_=g_("FileList"),A_=g_("URLSearchParams");function E_(t,e,{allOwnKeys:n=!1}={}){if(null==t)return;let r,i;if("object"!=typeof t&&(t=[t]),v_(t))for(r=0,i=t.length;r<i;r++)e.call(null,t[r],r,t);else{const i=n?Object.getOwnPropertyNames(t):Object.keys(t),a=i.length;let o;for(r=0;r<a;r++)o=i[r],e.call(null,t[o],o,t)}}function P_(t,e){e=e.toLowerCase();const n=Object.keys(t);let r,i=n.length;for(;i-- >0;)if(r=n[i],e===r.toLowerCase())return r;return null}const D_="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,O_=t=>!m_(t)&&t!==D_;const L_=(R_="undefined"!=typeof Uint8Array&&d_(Uint8Array),t=>R_&&t instanceof R_);var R_;const N_=g_("HTMLFormElement"),j_=(({hasOwnProperty:t})=>(e,n)=>t.call(e,n))(Object.prototype),F_=g_("RegExp"),B_=(t,e)=>{const n=Object.getOwnPropertyDescriptors(t),r={};E_(n,((n,i)=>{let a;!1!==(a=e(n,i,t))&&(r[i]=a||n)})),Object.defineProperties(t,r)},z_="abcdefghijklmnopqrstuvwxyz",$_="0123456789",V_={DIGIT:$_,ALPHA:z_,ALPHA_DIGIT:z_+z_.toUpperCase()+$_};const H_=g_("AsyncFunction"),W_={isArray:v_,isArrayBuffer:y_,isBuffer:function(t){return null!==t&&!m_(t)&&null!==t.constructor&&!m_(t.constructor)&&x_(t.constructor.isBuffer)&&t.constructor.isBuffer(t)},isFormData:t=>{let e;return t&&("function"==typeof FormData&&t instanceof FormData||x_(t.append)&&("formdata"===(e=p_(t))||"object"===e&&x_(t.toString)&&"[object FormData]"===t.toString()))},isArrayBufferView:function(t){let e;return e="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(t):t&&t.buffer&&y_(t.buffer),e},isString:w_,isNumber:__,isBoolean:t=>!0===t||!1===t,isObject:S_,isPlainObject:k_,isUndefined:m_,isDate:I_,isFile:M_,isBlob:C_,isRegExp:F_,isFunction:x_,isStream:t=>S_(t)&&x_(t.pipe),isURLSearchParams:A_,isTypedArray:L_,isFileList:T_,forEach:E_,merge:function t(){const{caseless:e}=O_(this)&&this||{},n={},r=(r,i)=>{const a=e&&P_(n,i)||i;k_(n[a])&&k_(r)?n[a]=t(n[a],r):k_(r)?n[a]=t({},r):v_(r)?n[a]=r.slice():n[a]=r};for(let t=0,e=arguments.length;t<e;t++)arguments[t]&&E_(arguments[t],r);return n},extend:(t,e,n,{allOwnKeys:r}={})=>(E_(e,((e,r)=>{n&&x_(e)?t[r]=h_(e,n):t[r]=e}),{allOwnKeys:r}),t),trim:t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:t=>(65279===t.charCodeAt(0)&&(t=t.slice(1)),t),inherits:(t,e,n,r)=>{t.prototype=Object.create(e.prototype,r),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),n&&Object.assign(t.prototype,n)},toFlatObject:(t,e,n,r)=>{let i,a,o;const s={};if(e=e||{},null==t)return e;do{for(i=Object.getOwnPropertyNames(t),a=i.length;a-- >0;)o=i[a],r&&!r(o,t,e)||s[o]||(e[o]=t[o],s[o]=!0);t=!1!==n&&d_(t)}while(t&&(!n||n(t,e))&&t!==Object.prototype);return e},kindOf:p_,kindOfTest:g_,endsWith:(t,e,n)=>{t=String(t),(void 0===n||n>t.length)&&(n=t.length),n-=e.length;const r=t.indexOf(e,n);return-1!==r&&r===n},toArray:t=>{if(!t)return null;if(v_(t))return t;let e=t.length;if(!__(e))return null;const n=new Array(e);for(;e-- >0;)n[e]=t[e];return n},forEachEntry:(t,e)=>{const n=(t&&t[Symbol.iterator]).call(t);let r;for(;(r=n.next())&&!r.done;){const n=r.value;e.call(t,n[0],n[1])}},matchAll:(t,e)=>{let n;const r=[];for(;null!==(n=t.exec(e));)r.push(n);return r},isHTMLForm:N_,hasOwnProperty:j_,hasOwnProp:j_,reduceDescriptors:B_,freezeMethods:t=>{B_(t,((e,n)=>{if(x_(t)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=t[n];x_(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(t,e)=>{const n={},r=t=>{t.forEach((t=>{n[t]=!0}))};return v_(t)?r(t):r(String(t).split(e)),n},toCamelCase:t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(t,e,n){return e.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(t,e)=>(t=+t,Number.isFinite(t)?t:e),findKey:P_,global:D_,isContextDefined:O_,ALPHABET:V_,generateString:(t=16,e=V_.ALPHA_DIGIT)=>{let n="";const{length:r}=e;for(;t--;)n+=e[Math.random()*r|0];return n},isSpecCompliantForm:function(t){return!!(t&&x_(t.append)&&"FormData"===t[Symbol.toStringTag]&&t[Symbol.iterator])},toJSONObject:t=>{const e=new Array(10),n=(t,r)=>{if(S_(t)){if(e.indexOf(t)>=0)return;if(!("toJSON"in t)){e[r]=t;const i=v_(t)?[]:{};return E_(t,((t,e)=>{const a=n(t,r+1);!m_(a)&&(i[e]=a)})),e[r]=void 0,i}}return t};return n(t,0)},isAsyncFn:H_,isThenable:t=>t&&(S_(t)||x_(t))&&x_(t.then)&&x_(t.catch)};function G_(t,e,n,r,i){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=t,this.name="AxiosError",e&&(this.code=e),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i)}W_.inherits(G_,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:W_.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const U_=G_.prototype,X_={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((t=>{X_[t]={value:t}})),Object.defineProperties(G_,X_),Object.defineProperty(U_,"isAxiosError",{value:!0}),G_.from=(t,e,n,r,i,a)=>{const o=Object.create(U_);return W_.toFlatObject(t,o,(function(t){return t!==Error.prototype}),(t=>"isAxiosError"!==t)),G_.call(o,t.message,e,n,r,i),o.cause=t,o.name=t.name,a&&Object.assign(o,a),o};const q_=G_;function Y_(t){return W_.isPlainObject(t)||W_.isArray(t)}function K_(t){return W_.endsWith(t,"[]")?t.slice(0,-2):t}function Z_(t,e,n){return t?t.concat(e).map((function(t,e){return t=K_(t),!n&&e?"["+t+"]":t})).join(n?".":""):e}const Q_=W_.toFlatObject(W_,{},null,(function(t){return/^is[A-Z]/.test(t)}));const J_=function(t,e,n){if(!W_.isObject(t))throw new TypeError("target must be an object");e=e||new FormData;const r=(n=W_.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(t,e){return!W_.isUndefined(e[t])}))).metaTokens,i=n.visitor||c,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&W_.isSpecCompliantForm(e);if(!W_.isFunction(i))throw new TypeError("visitor must be a function");function u(t){if(null===t)return"";if(W_.isDate(t))return t.toISOString();if(!s&&W_.isBlob(t))throw new q_("Blob is not supported. Use a Buffer instead.");return W_.isArrayBuffer(t)||W_.isTypedArray(t)?s&&"function"==typeof Blob?new Blob([t]):Buffer.from(t):t}function c(t,n,i){let s=t;if(t&&!i&&"object"==typeof t)if(W_.endsWith(n,"{}"))n=r?n:n.slice(0,-2),t=JSON.stringify(t);else if(W_.isArray(t)&&function(t){return W_.isArray(t)&&!t.some(Y_)}(t)||(W_.isFileList(t)||W_.endsWith(n,"[]"))&&(s=W_.toArray(t)))return n=K_(n),s.forEach((function(t,r){!W_.isUndefined(t)&&null!==t&&e.append(!0===o?Z_([n],r,a):null===o?n:n+"[]",u(t))})),!1;return!!Y_(t)||(e.append(Z_(i,n,a),u(t)),!1)}const l=[],h=Object.assign(Q_,{defaultVisitor:c,convertValue:u,isVisitable:Y_});if(!W_.isObject(t))throw new TypeError("data must be an object");return function t(n,r){if(!W_.isUndefined(n)){if(-1!==l.indexOf(n))throw Error("Circular reference detected in "+r.join("."));l.push(n),W_.forEach(n,(function(n,a){!0===(!(W_.isUndefined(n)||null===n)&&i.call(e,n,W_.isString(a)?a.trim():a,r,h))&&t(n,r?r.concat(a):[a])})),l.pop()}}(t),e};function tS(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,(function(t){return e[t]}))}function eS(t,e){this._pairs=[],t&&J_(t,this,e)}const nS=eS.prototype;nS.append=function(t,e){this._pairs.push([t,e])},nS.toString=function(t){const e=t?function(e){return t.call(this,e,tS)}:tS;return this._pairs.map((function(t){return e(t[0])+"="+e(t[1])}),"").join("&")};const rS=eS;function iS(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function aS(t,e,n){if(!e)return t;const r=n&&n.encode||iS,i=n&&n.serialize;let a;if(a=i?i(e,n):W_.isURLSearchParams(e)?e.toString():new rS(e,n).toString(r),a){const e=t.indexOf("#");-1!==e&&(t=t.slice(0,e)),t+=(-1===t.indexOf("?")?"?":"&")+a}return t}const oS=class{constructor(){this.handlers=[]}use(t,e,n){return this.handlers.push({fulfilled:t,rejected:e,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){W_.forEach(this.handlers,(function(e){null!==e&&t(e)}))}},sS={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},uS={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:rS,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},cS="undefined"!=typeof window&&"undefined"!=typeof document,lS=(hS="undefined"!=typeof navigator&&navigator.product,cS&&["ReactNative","NativeScript","NS"].indexOf(hS)<0);var hS;const fS="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,dS={...t,...uS};const pS=function(t){function e(t,n,r,i){let a=t[i++];const o=Number.isFinite(+a),s=i>=t.length;if(a=!a&&W_.isArray(r)?r.length:a,s)return W_.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o;r[a]&&W_.isObject(r[a])||(r[a]=[]);return e(t,n,r[a],i)&&W_.isArray(r[a])&&(r[a]=function(t){const e={},n=Object.keys(t);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],e[a]=t[a];return e}(r[a])),!o}if(W_.isFormData(t)&&W_.isFunction(t.entries)){const n={};return W_.forEachEntry(t,((t,r)=>{e(function(t){return W_.matchAll(/\w+|\[(\w*)]/g,t).map((t=>"[]"===t[0]?"":t[1]||t[0]))}(t),r,n,0)})),n}return null};const gS={transitional:sS,adapter:["xhr","http"],transformRequest:[function(t,e){const n=e.getContentType()||"",r=n.indexOf("application/json")>-1,i=W_.isObject(t);i&&W_.isHTMLForm(t)&&(t=new FormData(t));if(W_.isFormData(t))return r&&r?JSON.stringify(pS(t)):t;if(W_.isArrayBuffer(t)||W_.isBuffer(t)||W_.isStream(t)||W_.isFile(t)||W_.isBlob(t))return t;if(W_.isArrayBufferView(t))return t.buffer;if(W_.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(t,e){return J_(t,new dS.classes.URLSearchParams,Object.assign({visitor:function(t,e,n,r){return dS.isNode&&W_.isBuffer(t)?(this.append(e,t.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},e))}(t,this.formSerializer).toString();if((a=W_.isFileList(t))||n.indexOf("multipart/form-data")>-1){const e=this.env&&this.env.FormData;return J_(a?{"files[]":t}:t,e&&new e,this.formSerializer)}}return i||r?(e.setContentType("application/json",!1),function(t,e,n){if(W_.isString(t))try{return(e||JSON.parse)(t),W_.trim(t)}catch(t){if("SyntaxError"!==t.name)throw t}return(n||JSON.stringify)(t)}(t)):t}],transformResponse:[function(t){const e=this.transitional||gS.transitional,n=e&&e.forcedJSONParsing,r="json"===this.responseType;if(t&&W_.isString(t)&&(n&&!this.responseType||r)){const n=!(e&&e.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(t){if(n){if("SyntaxError"===t.name)throw q_.from(t,q_.ERR_BAD_RESPONSE,this,null,this.response);throw t}}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:dS.classes.FormData,Blob:dS.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};W_.forEach(["delete","get","head","post","put","patch"],(t=>{gS.headers[t]={}}));const bS=gS,vS=W_.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),mS=Symbol("internals");function yS(t){return t&&String(t).trim().toLowerCase()}function wS(t){return!1===t||null==t?t:W_.isArray(t)?t.map(wS):String(t)}function xS(t,e,n,r,i){return W_.isFunction(r)?r.call(this,e,n):(i&&(e=n),W_.isString(e)?W_.isString(r)?-1!==e.indexOf(r):W_.isRegExp(r)?r.test(e):void 0:void 0)}class _S{constructor(t){t&&this.set(t)}set(t,e,n){const r=this;function i(t,e,n){const i=yS(e);if(!i)throw new Error("header name must be a non-empty string");const a=W_.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||e]=wS(t))}const a=(t,e)=>W_.forEach(t,((t,n)=>i(t,n,e)));return W_.isPlainObject(t)||t instanceof this.constructor?a(t,e):W_.isString(t)&&(t=t.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim())?a((t=>{const e={};let n,r,i;return t&&t.split("\n").forEach((function(t){i=t.indexOf(":"),n=t.substring(0,i).trim().toLowerCase(),r=t.substring(i+1).trim(),!n||e[n]&&vS[n]||("set-cookie"===n?e[n]?e[n].push(r):e[n]=[r]:e[n]=e[n]?e[n]+", "+r:r)})),e})(t),e):null!=t&&i(e,t,n),this}get(t,e){if(t=yS(t)){const n=W_.findKey(this,t);if(n){const t=this[n];if(!e)return t;if(!0===e)return function(t){const e=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(t);)e[r[1]]=r[2];return e}(t);if(W_.isFunction(e))return e.call(this,t,n);if(W_.isRegExp(e))return e.exec(t);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,e){if(t=yS(t)){const n=W_.findKey(this,t);return!(!n||void 0===this[n]||e&&!xS(0,this[n],n,e))}return!1}delete(t,e){const n=this;let r=!1;function i(t){if(t=yS(t)){const i=W_.findKey(n,t);!i||e&&!xS(0,n[i],i,e)||(delete n[i],r=!0)}}return W_.isArray(t)?t.forEach(i):i(t),r}clear(t){const e=Object.keys(this);let n=e.length,r=!1;for(;n--;){const i=e[n];t&&!xS(0,this[i],i,t,!0)||(delete this[i],r=!0)}return r}normalize(t){const e=this,n={};return W_.forEach(this,((r,i)=>{const a=W_.findKey(n,i);if(a)return e[a]=wS(r),void delete e[i];const o=t?function(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((t,e,n)=>e.toUpperCase()+n))}(i):String(i).trim();o!==i&&delete e[i],e[o]=wS(r),n[o]=!0})),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const e=Object.create(null);return W_.forEach(this,((n,r)=>{null!=n&&!1!==n&&(e[r]=t&&W_.isArray(n)?n.join(", "):n)})),e}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([t,e])=>t+": "+e)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...e){const n=new this(t);return e.forEach((t=>n.set(t))),n}static accessor(t){const e=(this[mS]=this[mS]={accessors:{}}).accessors,n=this.prototype;function r(t){const r=yS(t);e[r]||(!function(t,e){const n=W_.toCamelCase(" "+e);["get","set","has"].forEach((r=>{Object.defineProperty(t,r+n,{value:function(t,n,i){return this[r].call(this,e,t,n,i)},configurable:!0})}))}(n,t),e[r]=!0)}return W_.isArray(t)?t.forEach(r):r(t),this}}_S.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),W_.reduceDescriptors(_S.prototype,(({value:t},e)=>{let n=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(t){this[n]=t}}})),W_.freezeMethods(_S);const SS=_S;function kS(t,e){const n=this||bS,r=e||n,i=SS.from(r.headers);let a=r.data;return W_.forEach(t,(function(t){a=t.call(n,a,i.normalize(),e?e.status:void 0)})),i.normalize(),a}function IS(t){return!(!t||!t.__CANCEL__)}function MS(t,e,n){q_.call(this,null==t?"canceled":t,q_.ERR_CANCELED,e,n),this.name="CanceledError"}W_.inherits(MS,q_,{__CANCEL__:!0});const CS=MS;const TS=dS.hasStandardBrowserEnv?{write:function(t,e,n,r,i,a){const o=[];o.push(t+"="+encodeURIComponent(e)),W_.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),W_.isString(r)&&o.push("path="+r),W_.isString(i)&&o.push("domain="+i),!0===a&&o.push("secure"),document.cookie=o.join("; ")},read:function(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove:function(t){this.write(t,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}};function AS(t,e){return t&&!function(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}(e)?function(t,e){return e?t.replace(/\/+$/,"")+"/"+e.replace(/^\/+/,""):t}(t,e):e}const ES=dS.hasStandardBrowserEnv?function(){const t=/(msie|trident)/i.test(navigator.userAgent),e=document.createElement("a");let n;function r(n){let r=n;return t&&(e.setAttribute("href",r),r=e.href),e.setAttribute("href",r),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:"/"===e.pathname.charAt(0)?e.pathname:"/"+e.pathname}}return n=r(window.location.href),function(t){const e=W_.isString(t)?r(t):t;return e.protocol===n.protocol&&e.host===n.host}}():function(){return!0};const PS=function(t,e){t=t||10;const n=new Array(t),r=new Array(t);let i,a=0,o=0;return e=void 0!==e?e:1e3,function(s){const u=Date.now(),c=r[o];i||(i=u),n[a]=s,r[a]=u;let l=o,h=0;for(;l!==a;)h+=n[l++],l%=t;if(a=(a+1)%t,a===o&&(o=(o+1)%t),u-i<e)return;const f=c&&u-c;return f?Math.round(1e3*h/f):void 0}};function DS(t,e){let n=0;const r=PS(50,250);return i=>{const a=i.loaded,o=i.lengthComputable?i.total:void 0,s=a-n,u=r(s);n=a;const c={loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:u||void 0,estimated:u&&o&&a<=o?(o-a)/u:void 0,event:i};c[e?"download":"upload"]=!0,t(c)}}const OS="undefined"!=typeof XMLHttpRequest&&function(t){return new Promise((function(e,n){let r=t.data;const i=SS.from(t.headers).normalize(),a=t.responseType;let o,s;function u(){t.cancelToken&&t.cancelToken.unsubscribe(o),t.signal&&t.signal.removeEventListener("abort",o)}if(W_.isFormData(r))if(dS.hasStandardBrowserEnv||dS.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if(!1!==(s=i.getContentType())){const[t,...e]=s?s.split(";").map((t=>t.trim())).filter(Boolean):[];i.setContentType([t||"multipart/form-data",...e].join("; "))}let c=new XMLHttpRequest;if(t.auth){const e=t.auth.username||"",n=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(e+":"+n))}const l=AS(t.baseURL,t.url);function h(){if(!c)return;const r=SS.from("getAllResponseHeaders"in c&&c.getAllResponseHeaders());!function(t,e,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?e(new q_("Request failed with status code "+n.status,[q_.ERR_BAD_REQUEST,q_.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):t(n)}((function(t){e(t),u()}),(function(t){n(t),u()}),{data:a&&"text"!==a&&"json"!==a?c.response:c.responseText,status:c.status,statusText:c.statusText,headers:r,config:t,request:c}),c=null}if(c.open(t.method.toUpperCase(),aS(l,t.params,t.paramsSerializer),!0),c.timeout=t.timeout,"onloadend"in c?c.onloadend=h:c.onreadystatechange=function(){c&&4===c.readyState&&(0!==c.status||c.responseURL&&0===c.responseURL.indexOf("file:"))&&setTimeout(h)},c.onabort=function(){c&&(n(new q_("Request aborted",q_.ECONNABORTED,t,c)),c=null)},c.onerror=function(){n(new q_("Network Error",q_.ERR_NETWORK,t,c)),c=null},c.ontimeout=function(){let e=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const r=t.transitional||sS;t.timeoutErrorMessage&&(e=t.timeoutErrorMessage),n(new q_(e,r.clarifyTimeoutError?q_.ETIMEDOUT:q_.ECONNABORTED,t,c)),c=null},dS.hasStandardBrowserEnv){const e=ES(l)&&t.xsrfCookieName&&TS.read(t.xsrfCookieName);e&&i.set(t.xsrfHeaderName,e)}void 0===r&&i.setContentType(null),"setRequestHeader"in c&&W_.forEach(i.toJSON(),(function(t,e){c.setRequestHeader(e,t)})),W_.isUndefined(t.withCredentials)||(c.withCredentials=!!t.withCredentials),a&&"json"!==a&&(c.responseType=t.responseType),"function"==typeof t.onDownloadProgress&&c.addEventListener("progress",DS(t.onDownloadProgress,!0)),"function"==typeof t.onUploadProgress&&c.upload&&c.upload.addEventListener("progress",DS(t.onUploadProgress)),(t.cancelToken||t.signal)&&(o=e=>{c&&(n(!e||e.type?new CS(null,t,c):e),c.abort(),c=null)},t.cancelToken&&t.cancelToken.subscribe(o),t.signal&&(t.signal.aborted?o():t.signal.addEventListener("abort",o)));const f=function(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}(l);f&&-1===dS.protocols.indexOf(f)?n(new q_("Unsupported protocol "+f+":",q_.ERR_BAD_REQUEST,t)):c.send(r||null)}))},LS={http:null,xhr:OS};W_.forEach(LS,((t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch(t){}Object.defineProperty(t,"adapterName",{value:e})}}));const RS=t=>`- ${t}`,NS=t=>W_.isFunction(t)||null===t||!1===t,jS=t=>{t=W_.isArray(t)?t:[t];const{length:e}=t;let n,r;const i={};for(let a=0;a<e;a++){let e;if(n=t[a],r=n,!NS(n)&&(r=LS[(e=String(n)).toLowerCase()],void 0===r))throw new q_(`Unknown adapter '${e}'`);if(r)break;i[e||"#"+a]=r}if(!r){const t=Object.entries(i).map((([t,e])=>`adapter ${t} `+(!1===e?"is not supported by the environment":"is not available in the build")));let n=e?t.length>1?"since :\n"+t.map(RS).join("\n"):" "+RS(t[0]):"as no adapter specified";throw new q_("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function FS(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new CS(null,t)}function BS(t){FS(t),t.headers=SS.from(t.headers),t.data=kS.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1);return jS(t.adapter||bS.adapter)(t).then((function(e){return FS(t),e.data=kS.call(t,t.transformResponse,e),e.headers=SS.from(e.headers),e}),(function(e){return IS(e)||(FS(t),e&&e.response&&(e.response.data=kS.call(t,t.transformResponse,e.response),e.response.headers=SS.from(e.response.headers))),Promise.reject(e)}))}const zS=t=>t instanceof SS?t.toJSON():t;function $S(t,e){e=e||{};const n={};function r(t,e,n){return W_.isPlainObject(t)&&W_.isPlainObject(e)?W_.merge.call({caseless:n},t,e):W_.isPlainObject(e)?W_.merge({},e):W_.isArray(e)?e.slice():e}function i(t,e,n){return W_.isUndefined(e)?W_.isUndefined(t)?void 0:r(void 0,t,n):r(t,e,n)}function a(t,e){if(!W_.isUndefined(e))return r(void 0,e)}function o(t,e){return W_.isUndefined(e)?W_.isUndefined(t)?void 0:r(void 0,t):r(void 0,e)}function s(n,i,a){return a in e?r(n,i):a in t?r(void 0,n):void 0}const u={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(t,e)=>i(zS(t),zS(e),!0)};return W_.forEach(Object.keys(Object.assign({},t,e)),(function(r){const a=u[r]||i,o=a(t[r],e[r],r);W_.isUndefined(o)&&a!==s||(n[r]=o)})),n}const VS="1.6.1",HS={};["object","boolean","number","function","string","symbol"].forEach(((t,e)=>{HS[t]=function(n){return typeof n===t||"a"+(e<1?"n ":" ")+t}}));const WS={};HS.transitional=function(t,e,n){function r(t,e){return"[Axios v1.6.1] Transitional option '"+t+"'"+e+(n?". "+n:"")}return(n,i,a)=>{if(!1===t)throw new q_(r(i," has been removed"+(e?" in "+e:"")),q_.ERR_DEPRECATED);return e&&!WS[i]&&(WS[i]=!0,console.warn(r(i," has been deprecated since v"+e+" and will be removed in the near future"))),!t||t(n,i,a)}};const GS={assertOptions:function(t,e,n){if("object"!=typeof t)throw new q_("options must be an object",q_.ERR_BAD_OPTION_VALUE);const r=Object.keys(t);let i=r.length;for(;i-- >0;){const a=r[i],o=e[a];if(o){const e=t[a],n=void 0===e||o(e,a,t);if(!0!==n)throw new q_("option "+a+" must be "+n,q_.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new q_("Unknown option "+a,q_.ERR_BAD_OPTION)}},validators:HS},US=GS.validators;class XS{constructor(t){this.defaults=t,this.interceptors={request:new oS,response:new oS}}request(t,e){"string"==typeof t?(e=e||{}).url=t:e=t||{},e=$S(this.defaults,e);const{transitional:n,paramsSerializer:r,headers:i}=e;void 0!==n&&GS.assertOptions(n,{silentJSONParsing:US.transitional(US.boolean),forcedJSONParsing:US.transitional(US.boolean),clarifyTimeoutError:US.transitional(US.boolean)},!1),null!=r&&(W_.isFunction(r)?e.paramsSerializer={serialize:r}:GS.assertOptions(r,{encode:US.function,serialize:US.function},!0)),e.method=(e.method||this.defaults.method||"get").toLowerCase();let a=i&&W_.merge(i.common,i[e.method]);i&&W_.forEach(["delete","get","head","post","put","patch","common"],(t=>{delete i[t]})),e.headers=SS.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(s=s&&t.synchronous,o.unshift(t.fulfilled,t.rejected))}));const u=[];let c;this.interceptors.response.forEach((function(t){u.push(t.fulfilled,t.rejected)}));let l,h=0;if(!s){const t=[BS.bind(this),void 0];for(t.unshift.apply(t,o),t.push.apply(t,u),l=t.length,c=Promise.resolve(e);h<l;)c=c.then(t[h++],t[h++]);return c}l=o.length;let f=e;for(h=0;h<l;){const t=o[h++],e=o[h++];try{f=t(f)}catch(t){e.call(this,t);break}}try{c=BS.call(this,f)}catch(t){return Promise.reject(t)}for(h=0,l=u.length;h<l;)c=c.then(u[h++],u[h++]);return c}getUri(t){return aS(AS((t=$S(this.defaults,t)).baseURL,t.url),t.params,t.paramsSerializer)}}W_.forEach(["delete","get","head","options"],(function(t){XS.prototype[t]=function(e,n){return this.request($S(n||{},{method:t,url:e,data:(n||{}).data}))}})),W_.forEach(["post","put","patch"],(function(t){function e(e){return function(n,r,i){return this.request($S(i||{},{method:t,headers:e?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}XS.prototype[t]=e(),XS.prototype[t+"Form"]=e(!0)}));const qS=XS;class YS{constructor(t){if("function"!=typeof t)throw new TypeError("executor must be a function.");let e;this.promise=new Promise((function(t){e=t}));const n=this;this.promise.then((t=>{if(!n._listeners)return;let e=n._listeners.length;for(;e-- >0;)n._listeners[e](t);n._listeners=null})),this.promise.then=t=>{let e;const r=new Promise((t=>{n.subscribe(t),e=t})).then(t);return r.cancel=function(){n.unsubscribe(e)},r},t((function(t,r,i){n.reason||(n.reason=new CS(t,r,i),e(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){this.reason?t(this.reason):this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const e=this._listeners.indexOf(t);-1!==e&&this._listeners.splice(e,1)}static source(){let t;const e=new YS((function(e){t=e}));return{token:e,cancel:t}}}const KS=YS;const ZS={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(ZS).forEach((([t,e])=>{ZS[e]=t}));const QS=ZS;const JS=function t(e){const n=new qS(e),r=h_(qS.prototype.request,n);return W_.extend(r,qS.prototype,n,{allOwnKeys:!0}),W_.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return t($S(e,n))},r}(bS);JS.Axios=qS,JS.CanceledError=CS,JS.CancelToken=KS,JS.isCancel=IS,JS.VERSION=VS,JS.toFormData=J_,JS.AxiosError=q_,JS.Cancel=JS.CanceledError,JS.all=function(t){return Promise.all(t)},JS.spread=function(t){return function(e){return t.apply(null,e)}},JS.isAxiosError=function(t){return W_.isObject(t)&&!0===t.isAxiosError},JS.mergeConfig=$S,JS.AxiosHeaders=SS,JS.formToJSON=t=>pS(W_.isHTMLForm(t)?new FormData(t):t),JS.getAdapter=jS,JS.HttpStatusCode=QS,JS.default=JS;const tk=JS;var ek=a(3472),nk=a.n(ek);class rk extends URLSearchParams{constructor(t){if(t){const e={};return Object.keys(t).forEach((n=>{e[n]=t[n].toString()})),void super(t)}super(t)}}const ik=rk;Gy("csrf_token"),Gy("dagrun_clear_url");Gy("csrf_token"),Gy("dagrun_queued_url");Gy("csrf_token"),Gy("dagrun_failed_url");Gy("dagrun_success_url"),Gy("csrf_token");Gy("csrf_token"),Gy("clear_url");Gy("failed_url"),Gy("csrf_token");Gy("csrf_token"),Gy("success_url");Gy("extra_links_url");Gy("confirm_url");const ak=new Date;ak.setMilliseconds(0);ak.toISOString();const ok="dag_id",sk=(Gy(ok),Gy("graph_data_url"),"dag_id");Gy(sk),Gy("grid_data_url"),Gy("mapped_instances_api");a(9845);Gy("set_dag_run_note");Gy("set_task_instance_note"),Gy("set_mapped_task_instance_note");Gy("task_instance_api"),Gy("task_dependency_api"),Gy("mapped_task_dependency_api");Gy("dag_api");Gy("dag_details_api");const uk=Gy("health_url"),ck=()=>(0,ky.useQuery)(["health"],(async()=>tk.get(uk)),{refetchInterval:1e3*(autoRefreshInterval||1)}),lk=Gy("pools_url"),hk=()=>{const{isRefreshOn:t}=(0,n.useContext)(Yy);return(0,ky.useQuery)(["pools"],(async()=>tk.get(lk)),{refetchInterval:t&&1e3*(autoRefreshInterval||1)})},fk=Gy("dags_url"),dk=t=>{let{paused:e}=t;return(0,ky.useQuery)(["dags",e],(async()=>tk.get(fk,{params:{paused:e}})),{refetchInterval:1e3*(autoRefreshInterval||1)})},pk=t=>{let{dagId:e,state:n,limit:r,orderBy:i}=t;const a=Gy("dag_runs_url").replace("__DAG_ID__",e);return(0,ky.useQuery)(["dagRuns",n,e,r],(async()=>tk.get(a,{params:{state:n?n.join(","):n,limit:r,order_by:i}})),{refetchInterval:1e3*(autoRefreshInterval||1)})},gk=Gy("historical_metrics_data_url"),bk=(t,e)=>(0,ky.useQuery)(["historical_metrics_data",t,e],(async()=>tk.get(gk,{params:{start_date:t,end_date:e}})),{refetchInterval:1e3*(autoRefreshInterval||1)});const vk="dag_id";Gy(vk),Gy("calendar_data_url"),Gy("create_dataset_event_api");Gy("rendered_k8s_data_url"),Gy("task_detail_api");tk.interceptors.request.use((t=>(t.paramsSerializer={indexes:null},t))),tk.interceptors.response.use((t=>{const e=["rendered_fields","extra","dataset_events.extra"];return t.config.url?.includes("/xcomEntries/")&&e.push("value"),t.data?nk()(t.data,{deep:!0,stopPaths:e}):t})),tk.defaults.headers.common.Accept="application/json";const mk=t=>{let{dateTime:e,format:r=Ry}=t;const{timezone:i}=$y(),a=moment(e);if(!e||!a.isValid())return null;const o=a.tz(i).format(r),s=a.tz("UTC").format(Ry);return n.createElement("time",{dateTime:e,title:"UTC"!==i.toUpperCase()?s:void 0},o)},yk=t=>{let{children:e,hasData:r,isError:i}=t;return i?n.createElement(zr,{colorScheme:"red",fontSize:"1rem"},"Failed to fetch data"):r?n.isValidElement(e)?e:n.createElement("span",null,e):n.createElement(nh,{color:"blue.500",speed:"1s",mr:"4px",size:"xl"})},wk=t=>{let{title:e,status:r,latestHeartbeat:i,...a}=t;return n.createElement(Yr,_t({flexDirection:"column"},a),n.createElement(hi,{as:"b",color:"blue.600"},e),n.createElement(li,{direction:"row"},n.createElement(hi,{textIndent:"15px"},"status:"),n.createElement("div",null,n.createElement(zr,{colorScheme:"healthy"===r?"green":"red",fontSize:"0.9rem"},r||"unknown"))),i&&n.createElement(li,{direction:"row"},n.createElement(hi,{textIndent:"15px",whiteSpace:"nowrap"},"last heartbeat:"," "),n.createElement("div",null,n.createElement(zr,{colorScheme:"healthy"===r?"green":"red",fontSize:"0.9rem"},n.createElement(mk,{dateTime:i})))))},xk=t=>{const{data:e,isError:r}=ck();return n.createElement(Wr,t,n.createElement(yk,{hasData:!!e,isError:r},n.createElement(iw,{w:"100%"},n.createElement(aw,{textAlign:"center",p:3},n.createElement(Jr,{size:"md"},"Health")),n.createElement(ow,null,n.createElement(wk,{title:"MetaDatabase",status:e?.metadatabase?.status,mb:3}),n.createElement(wk,{title:"Scheduler",status:e?.scheduler?.status,latestHeartbeat:e?.scheduler?.latestSchedulerHeartbeat,mb:3}),n.createElement(wk,{title:"Triggerer",status:e?.triggerer?.status,latestHeartbeat:e?.triggerer?.latestTriggererHeartbeat}),!!standaloneDagProcessor&&n.createElement(wk,{title:"Dag Processor",status:e?.dagProcessor?.status,latestHeartbeat:e?.dagProcessor?.latestDagProcessorHeartbeat,mt:3})))))};var _k=function(t,e){return _k=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])},_k(t,e)};function Sk(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}_k(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;var kk=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},Ik=new function(){this.browser=new kk,this.node=!1,this.wxa=!1,this.worker=!1,this.svgSupported=!1,this.touchEventsSupported=!1,this.pointerEventsSupported=!1,this.domSupported=!1,this.transformSupported=!1,this.transform3dSupported=!1,this.hasGlobalWindow="undefined"!=typeof window};"object"==typeof wx&&"function"==typeof wx.getSystemInfoSync?(Ik.wxa=!0,Ik.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?Ik.worker=!0:"undefined"==typeof navigator?(Ik.node=!0,Ik.svgSupported=!0):function(t,e){var n=e.browser,r=t.match(/Firefox\/([\d.]+)/),i=t.match(/MSIE\s([\d.]+)/)||t.match(/Trident\/.+?rv:(([\d.]+))/),a=t.match(/Edge?\/([\d.]+)/),o=/micromessenger/i.test(t);r&&(n.firefox=!0,n.version=r[1]);i&&(n.ie=!0,n.version=i[1]);a&&(n.edge=!0,n.version=a[1],n.newEdge=+a[1].split(".")[0]>18);o&&(n.weChat=!0);e.svgSupported="undefined"!=typeof SVGRect,e.touchEventsSupported="ontouchstart"in window&&!n.ie&&!n.edge,e.pointerEventsSupported="onpointerdown"in window&&(n.edge||n.ie&&+n.version>=11),e.domSupported="undefined"!=typeof document;var s=document.documentElement.style;e.transform3dSupported=(n.ie&&"transition"in s||n.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in s)&&!("OTransition"in s),e.transformSupported=e.transform3dSupported||n.ie&&+n.version>=9}(navigator.userAgent,Ik);const Mk=Ik;var Ck="sans-serif",Tk="12px sans-serif";var Ak,Ek,Pk=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var r=String.fromCharCode(n+32),i=(t.charCodeAt(n)-20)/100;e[r]=i}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),Dk={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!Ak){var n=Dk.createCanvas();Ak=n&&n.getContext("2d")}if(Ak)return Ek!==e&&(Ek=Ak.font=e||Tk),Ak.measureText(t);t=t||"";var r=/(\d+)px/.exec(e=e||Tk),i=r&&+r[1]||12,a=0;if(e.indexOf("mono")>=0)a=i*t.length;else for(var o=0;o<t.length;o++){var s=Pk[t[o]];a+=null==s?i:s*i}return{width:a}},loadImage:function(t,e,n){var r=new Image;return r.onload=e,r.onerror=n,r.src=t,r}};var Ok=rI(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],(function(t,e){return t["[object "+e+"]"]=!0,t}),{}),Lk=rI(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],(function(t,e){return t["[object "+e+"Array]"]=!0,t}),{}),Rk=Object.prototype.toString,Nk=Array.prototype,jk=Nk.forEach,Fk=Nk.filter,Bk=Nk.slice,zk=Nk.map,$k=function(){}.constructor,Vk=$k?$k.prototype:null,Hk="__proto__",Wk=2311;function Gk(){return Wk++}function Uk(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function Xk(t){if(null==t||"object"!=typeof t)return t;var e=t,n=Rk.call(t);if("[object Array]"===n){if(!TI(t)){e=[];for(var r=0,i=t.length;r<i;r++)e[r]=Xk(t[r])}}else if(Lk[n]){if(!TI(t)){var a=t.constructor;if(a.from)e=a.from(t);else{e=new a(t.length);for(r=0,i=t.length;r<i;r++)e[r]=t[r]}}}else if(!Ok[n]&&!TI(t)&&!bI(t))for(var o in e={},t)t.hasOwnProperty(o)&&o!==Hk&&(e[o]=Xk(t[o]));return e}function qk(t,e,n){if(!dI(e)||!dI(t))return n?Xk(e):t;for(var r in e)if(e.hasOwnProperty(r)&&r!==Hk){var i=t[r],a=e[r];!dI(a)||!dI(i)||uI(a)||uI(i)||bI(a)||bI(i)||pI(a)||pI(i)||TI(a)||TI(i)?!n&&r in t||(t[r]=Xk(e[r])):qk(i,a,n)}return t}function Yk(t,e){for(var n=t[0],r=1,i=t.length;r<i;r++)n=qk(n,t[r],e);return n}function Kk(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==Hk&&(t[n]=e[n]);return t}function Zk(t,e,n){for(var r=aI(e),i=0;i<r.length;i++){var a=r[i];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}Dk.createCanvas;function Qk(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,r=t.length;n<r;n++)if(t[n]===e)return n}return-1}function Jk(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var r=Object.getOwnPropertyNames(e),i=0;i<r.length;i++){var a=r[i];"constructor"!==a&&(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}else Zk(t,e,n)}function tI(t){return!!t&&("string"!=typeof t&&"number"==typeof t.length)}function eI(t,e,n){if(t&&e)if(t.forEach&&t.forEach===jk)t.forEach(e,n);else if(t.length===+t.length)for(var r=0,i=t.length;r<i;r++)e.call(n,t[r],r,t);else for(var a in t)t.hasOwnProperty(a)&&e.call(n,t[a],a,t)}function nI(t,e,n){if(!t)return[];if(!e)return _I(t);if(t.map&&t.map===zk)return t.map(e,n);for(var r=[],i=0,a=t.length;i<a;i++)r.push(e.call(n,t[i],i,t));return r}function rI(t,e,n,r){if(t&&e){for(var i=0,a=t.length;i<a;i++)n=e.call(r,n,t[i],i,t);return n}}function iI(t,e,n){if(!t)return[];if(!e)return _I(t);if(t.filter&&t.filter===Fk)return t.filter(e,n);for(var r=[],i=0,a=t.length;i<a;i++)e.call(n,t[i],i,t)&&r.push(t[i]);return r}function aI(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}var oI=Vk&&cI(Vk.bind)?Vk.call.bind(Vk.bind):function(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return function(){return t.apply(e,n.concat(Bk.call(arguments)))}};function sI(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(Bk.call(arguments)))}}function uI(t){return Array.isArray?Array.isArray(t):"[object Array]"===Rk.call(t)}function cI(t){return"function"==typeof t}function lI(t){return"string"==typeof t}function hI(t){return"[object String]"===Rk.call(t)}function fI(t){return"number"==typeof t}function dI(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function pI(t){return!!Ok[Rk.call(t)]}function gI(t){return!!Lk[Rk.call(t)]}function bI(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function vI(t){return null!=t.colorStops}function mI(t){return t!=t}function yI(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,r=t.length;n<r;n++)if(null!=t[n])return t[n]}function wI(t,e){return null!=t?t:e}function xI(t,e,n){return null!=t?t:null!=e?e:n}function _I(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return Bk.apply(t,e)}function SI(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function kI(t,e){if(!t)throw new Error(e)}function II(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var MI="__ec_primitive__";function CI(t){t[MI]=!0}function TI(t){return t[MI]}var AI=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return aI(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),EI="function"==typeof Map;var PI=function(){function t(e){var n=uI(e);this.data=EI?new Map:new AI;var r=this;function i(t,e){n?r.set(t,e):r.set(e,t)}e instanceof t?e.each(i):e&&eI(e,i)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach((function(n,r){t.call(e,n,r)}))},t.prototype.keys=function(){var t=this.data.keys();return EI?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function DI(t){return new PI(t)}function OI(t,e){for(var n=new t.constructor(t.length+e.length),r=0;r<t.length;r++)n[r]=t[r];var i=t.length;for(r=0;r<e.length;r++)n[r+i]=e[r];return n}function LI(t,e){var n;if(Object.create)n=Object.create(t);else{var r=function(){};r.prototype=t,n=new r}return e&&Kk(n,e),n}function RI(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function NI(t,e){return t.hasOwnProperty(e)}function jI(){}var FI=180/Math.PI,BI=function(t,e){return BI=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])},BI(t,e)};function zI(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}BI(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}Object.create;Object.create;function $I(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function VI(t,e){return t[0]=e[0],t[1]=e[1],t}function HI(t){return[t[0],t[1]]}function WI(t,e,n){return t[0]=e,t[1]=n,t}function GI(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function UI(t,e,n,r){return t[0]=e[0]+n[0]*r,t[1]=e[1]+n[1]*r,t}function XI(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function qI(t){return Math.sqrt(YI(t))}function YI(t){return t[0]*t[0]+t[1]*t[1]}function KI(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function ZI(t,e){var n=qI(e);return 0===n?(t[0]=0,t[1]=0):(t[0]=e[0]/n,t[1]=e[1]/n),t}function QI(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}var JI=QI;var tM=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function eM(t,e,n,r){return t[0]=e[0]+r*(n[0]-e[0]),t[1]=e[1]+r*(n[1]-e[1]),t}function nM(t,e,n){var r=e[0],i=e[1];return t[0]=n[0]*r+n[2]*i+n[4],t[1]=n[1]*r+n[3]*i+n[5],t}function rM(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function iM(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}var aM=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},oM=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new aM(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,r=t.offsetY,i=n-this._x,a=r-this._y;this._x=n,this._y=r,e.drift(i,a,t),this.handler.dispatchToElement(new aM(e,t),"drag",t.event);var o=this.handler.findHover(n,r,e).target,s=this._dropTarget;this._dropTarget=o,e!==o&&(s&&o!==s&&this.handler.dispatchToElement(new aM(s,t),"dragleave",t.event),o&&o!==s&&this.handler.dispatchToElement(new aM(o,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new aM(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new aM(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}();const sM=oM;var uM=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,r){this._$handlers||(this._$handlers={});var i=this._$handlers;if("function"==typeof e&&(r=n,n=e,e=null),!n||!t)return this;var a=this._$eventProcessor;null!=e&&a&&a.normalizeQuery&&(e=a.normalizeQuery(e)),i[t]||(i[t]=[]);for(var o=0;o<i[t].length;o++)if(i[t][o].h===n)return this;var s={h:n,query:e,ctx:r||this,callAtLast:n.zrEventfulCallAtLast},u=i[t].length-1,c=i[t][u];return c&&c.callAtLast?i[t].splice(u,0,s):i[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var r=[],i=0,a=n[t].length;i<a;i++)n[t][i].h!==e&&r.push(n[t][i]);n[t]=r}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var a=e.length,o=r.length,s=0;s<o;s++){var u=r[s];if(!i||!i.filter||null==u.query||i.filter(t,u.query))switch(a){case 0:u.h.call(u.ctx);break;case 1:u.h.call(u.ctx,e[0]);break;case 2:u.h.call(u.ctx,e[0],e[1]);break;default:u.h.apply(u.ctx,e)}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var r=this._$handlers[t],i=this._$eventProcessor;if(r)for(var a=e.length,o=e[a-1],s=r.length,u=0;u<s;u++){var c=r[u];if(!i||!i.filter||null==c.query||i.filter(t,c.query))switch(a){case 0:c.h.call(o);break;case 1:c.h.call(o,e[0]);break;case 2:c.h.call(o,e[0],e[1]);break;default:c.h.apply(o,e.slice(1,a-1))}}return i&&i.afterTrigger&&i.afterTrigger(t),this},t}();const cM=uM;var lM=Math.log(2);function hM(t,e,n,r,i,a){var o=r+"-"+i,s=t.length;if(a.hasOwnProperty(o))return a[o];if(1===e){var u=Math.round(Math.log((1<<s)-1&~i)/lM);return t[n][u]}for(var c=r|1<<n,l=n+1;r&1<<l;)l++;for(var h=0,f=0,d=0;f<s;f++){var p=1<<f;p&i||(h+=(d%2?-1:1)*t[n][f]*hM(t,e-1,l,c,i|p,a),d++)}return a[o]=h,h}function fM(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],r={},i=hM(n,8,0,0,0,r);if(0!==i){for(var a=[],o=0;o<8;o++)for(var s=0;s<8;s++)null==a[s]&&(a[s]=0),a[s]+=((o+s)%2?-1:1)*hM(n,7,0===o?1:0,1<<o,1<<s,r)/i*e[o];return function(t,e,n){var r=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/r,t[1]=(e*a[3]+n*a[4]+a[5])/r}}}var dM=[];function pM(t,e,n,r,i){if(e.getBoundingClientRect&&Mk.domSupported&&!gM(e)){var a=e.___zrEVENTSAVED||(e.___zrEVENTSAVED={}),o=function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var r=["left","right"],i=["top","bottom"],a=0;a<4;a++){var o=document.createElement("div"),s=a%2,u=(a>>1)%2;o.style.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",r[s]+":0",i[u]+":0",r[1-s]+":auto",i[1-u]+":auto",""].join("!important;"),t.appendChild(o),n.push(o)}return n}(e,a),s=function(t,e,n){for(var r=n?"invTrans":"trans",i=e[r],a=e.srcCoords,o=[],s=[],u=!0,c=0;c<4;c++){var l=t[c].getBoundingClientRect(),h=2*c,f=l.left,d=l.top;o.push(f,d),u=u&&a&&f===a[h]&&d===a[h+1],s.push(t[c].offsetLeft,t[c].offsetTop)}return u&&i?i:(e.srcCoords=o,e[r]=n?fM(s,o):fM(o,s))}(o,a,i);if(s)return s(t,n,r),!0}return!1}function gM(t){return"CANVAS"===t.nodeName.toUpperCase()}var bM=/([&<>"'])/g,vM={"&":"&","<":"<",">":">",'"':""","'":"'"};function mM(t){return null==t?"":(t+"").replace(bM,(function(t,e){return vM[e]}))}var yM=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,wM=[],xM=Mk.browser.firefox&&+Mk.browser.version.split(".")[0]<39;function _M(t,e,n,r){return n=n||{},r?SM(t,e,n):xM&&null!=e.layerX&&e.layerX!==e.offsetX?(n.zrX=e.layerX,n.zrY=e.layerY):null!=e.offsetX?(n.zrX=e.offsetX,n.zrY=e.offsetY):SM(t,e,n),n}function SM(t,e,n){if(Mk.domSupported&&t.getBoundingClientRect){var r=e.clientX,i=e.clientY;if(gM(t)){var a=t.getBoundingClientRect();return n.zrX=r-a.left,void(n.zrY=i-a.top)}if(pM(wM,t,r,i))return n.zrX=wM[0],void(n.zrY=wM[1])}n.zrX=n.zrY=0}function kM(t){return t||window.event}function IM(t,e,n){if(null!=(e=kM(e)).zrX)return e;var r=e.type;if(r&&r.indexOf("touch")>=0){var i="touchend"!==r?e.targetTouches[0]:e.changedTouches[0];i&&_M(t,i,e,n)}else{_M(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,r=t.deltaY;if(null==n||null==r)return e;return 3*(0!==r?Math.abs(r):Math.abs(n))*(r>0?-1:r<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var o=e.button;return null==e.which&&void 0!==o&&yM.test(e.type)&&(e.which=1&o?1:2&o?3:4&o?2:0),e}function MM(t,e,n,r){t.addEventListener(e,n,r)}var CM=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0};function TM(t){return 2===t.which||3===t.which}var AM=function(){function t(){this._track=[]}return t.prototype.recognize=function(t,e,n){return this._doTrack(t,e,n),this._recognize(t)},t.prototype.clear=function(){return this._track.length=0,this},t.prototype._doTrack=function(t,e,n){var r=t.touches;if(r){for(var i={points:[],touches:[],target:e,event:t},a=0,o=r.length;a<o;a++){var s=r[a],u=_M(n,s,{});i.points.push([u.zrX,u.zrY]),i.touches.push(s)}this._track.push(i)}},t.prototype._recognize=function(t){for(var e in PM)if(PM.hasOwnProperty(e)){var n=PM[e](this._track,t);if(n)return n}},t}();function EM(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var PM={pinch:function(t,e){var n=t.length;if(n){var r,i=(t[n-1]||{}).points,a=(t[n-2]||{}).points||i;if(a&&a.length>1&&i&&i.length>1){var o=EM(i)/EM(a);!isFinite(o)&&(o=1),e.pinchScale=o;var s=[((r=i)[0][0]+r[1][0])/2,(r[0][1]+r[1][1])/2];return e.pinchX=s[0],e.pinchY=s[1],{type:"pinch",target:t[0].target,event:e}}}}};function DM(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function OM(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4],t[5]=e[5],t}function LM(t,e,n){var r=e[0]*n[0]+e[2]*n[1],i=e[1]*n[0]+e[3]*n[1],a=e[0]*n[2]+e[2]*n[3],o=e[1]*n[2]+e[3]*n[3],s=e[0]*n[4]+e[2]*n[5]+e[4],u=e[1]*n[4]+e[3]*n[5]+e[5];return t[0]=r,t[1]=i,t[2]=a,t[3]=o,t[4]=s,t[5]=u,t}function RM(t,e,n){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t[4]=e[4]+n[0],t[5]=e[5]+n[1],t}function NM(t,e,n){var r=e[0],i=e[2],a=e[4],o=e[1],s=e[3],u=e[5],c=Math.sin(n),l=Math.cos(n);return t[0]=r*l+o*c,t[1]=-r*c+o*l,t[2]=i*l+s*c,t[3]=-i*c+l*s,t[4]=l*a+c*u,t[5]=l*u-c*a,t}function jM(t,e,n){var r=n[0],i=n[1];return t[0]=e[0]*r,t[1]=e[1]*i,t[2]=e[2]*r,t[3]=e[3]*i,t[4]=e[4]*r,t[5]=e[5]*i,t}function FM(t,e){var n=e[0],r=e[2],i=e[4],a=e[1],o=e[3],s=e[5],u=n*o-a*r;return u?(u=1/u,t[0]=o*u,t[1]=-a*u,t[2]=-r*u,t[3]=n*u,t[4]=(r*s-o*i)*u,t[5]=(a*i-n*s)*u,t):null}var BM=function(){function t(t,e){this.x=t||0,this.y=e||0}return t.prototype.copy=function(t){return this.x=t.x,this.y=t.y,this},t.prototype.clone=function(){return new t(this.x,this.y)},t.prototype.set=function(t,e){return this.x=t,this.y=e,this},t.prototype.equal=function(t){return t.x===this.x&&t.y===this.y},t.prototype.add=function(t){return this.x+=t.x,this.y+=t.y,this},t.prototype.scale=function(t){this.x*=t,this.y*=t},t.prototype.scaleAndAdd=function(t,e){this.x+=t.x*e,this.y+=t.y*e},t.prototype.sub=function(t){return this.x-=t.x,this.y-=t.y,this},t.prototype.dot=function(t){return this.x*t.x+this.y*t.y},t.prototype.len=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},t.prototype.lenSquare=function(){return this.x*this.x+this.y*this.y},t.prototype.normalize=function(){var t=this.len();return this.x/=t,this.y/=t,this},t.prototype.distance=function(t){var e=this.x-t.x,n=this.y-t.y;return Math.sqrt(e*e+n*n)},t.prototype.distanceSquare=function(t){var e=this.x-t.x,n=this.y-t.y;return e*e+n*n},t.prototype.negate=function(){return this.x=-this.x,this.y=-this.y,this},t.prototype.transform=function(t){if(t){var e=this.x,n=this.y;return this.x=t[0]*e+t[2]*n+t[4],this.y=t[1]*e+t[3]*n+t[5],this}},t.prototype.toArray=function(t){return t[0]=this.x,t[1]=this.y,t},t.prototype.fromArray=function(t){this.x=t[0],this.y=t[1]},t.set=function(t,e,n){t.x=e,t.y=n},t.copy=function(t,e){t.x=e.x,t.y=e.y},t.len=function(t){return Math.sqrt(t.x*t.x+t.y*t.y)},t.lenSquare=function(t){return t.x*t.x+t.y*t.y},t.dot=function(t,e){return t.x*e.x+t.y*e.y},t.add=function(t,e,n){t.x=e.x+n.x,t.y=e.y+n.y},t.sub=function(t,e,n){t.x=e.x-n.x,t.y=e.y-n.y},t.scale=function(t,e,n){t.x=e.x*n,t.y=e.y*n},t.scaleAndAdd=function(t,e,n,r){t.x=e.x+n.x*r,t.y=e.y+n.y*r},t.lerp=function(t,e,n,r){var i=1-r;t.x=i*e.x+r*n.x,t.y=i*e.y+r*n.y},t}();const zM=BM;var $M=Math.min,VM=Math.max,HM=new zM,WM=new zM,GM=new zM,UM=new zM,XM=new zM,qM=new zM,YM=function(){function t(t,e,n,r){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r),this.x=t,this.y=e,this.width=n,this.height=r}return t.prototype.union=function(t){var e=$M(t.x,this.x),n=$M(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=VM(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=VM(t.y+t.height,this.y+this.height)-n:this.height=t.height,this.x=e,this.y=n},t.prototype.applyTransform=function(e){t.applyTransform(this,this,e)},t.prototype.calculateTransform=function(t){var e=this,n=t.width/e.width,r=t.height/e.height,i=[1,0,0,1,0,0];return RM(i,i,[-e.x,-e.y]),jM(i,i,[n,r]),RM(i,i,[t.x,t.y]),i},t.prototype.intersect=function(e,n){if(!e)return!1;e instanceof t||(e=t.create(e));var r=this,i=r.x,a=r.x+r.width,o=r.y,s=r.y+r.height,u=e.x,c=e.x+e.width,l=e.y,h=e.y+e.height,f=!(a<u||c<i||s<l||h<o);if(n){var d=1/0,p=0,g=Math.abs(a-u),b=Math.abs(c-i),v=Math.abs(s-l),m=Math.abs(h-o),y=Math.min(g,b),w=Math.min(v,m);a<u||c<i?y>p&&(p=y,g<b?zM.set(qM,-g,0):zM.set(qM,b,0)):y<d&&(d=y,g<b?zM.set(XM,g,0):zM.set(XM,-b,0)),s<l||h<o?w>p&&(p=w,v<m?zM.set(qM,0,-v):zM.set(qM,0,m)):y<d&&(d=y,v<m?zM.set(XM,0,v):zM.set(XM,0,-m))}return n&&zM.copy(n,f?XM:qM),f},t.prototype.contain=function(t,e){var n=this;return t>=n.x&&t<=n.x+n.width&&e>=n.y&&e<=n.y+n.height},t.prototype.clone=function(){return new t(this.x,this.y,this.width,this.height)},t.prototype.copy=function(e){t.copy(this,e)},t.prototype.plain=function(){return{x:this.x,y:this.y,width:this.width,height:this.height}},t.prototype.isFinite=function(){return isFinite(this.x)&&isFinite(this.y)&&isFinite(this.width)&&isFinite(this.height)},t.prototype.isZero=function(){return 0===this.width||0===this.height},t.create=function(e){return new t(e.x,e.y,e.width,e.height)},t.copy=function(t,e){t.x=e.x,t.y=e.y,t.width=e.width,t.height=e.height},t.applyTransform=function(e,n,r){if(r){if(r[1]<1e-5&&r[1]>-1e-5&&r[2]<1e-5&&r[2]>-1e-5){var i=r[0],a=r[3],o=r[4],s=r[5];return e.x=n.x*i+o,e.y=n.y*a+s,e.width=n.width*i,e.height=n.height*a,e.width<0&&(e.x+=e.width,e.width=-e.width),void(e.height<0&&(e.y+=e.height,e.height=-e.height))}HM.x=GM.x=n.x,HM.y=UM.y=n.y,WM.x=UM.x=n.x+n.width,WM.y=GM.y=n.y+n.height,HM.transform(r),UM.transform(r),WM.transform(r),GM.transform(r),e.x=$M(HM.x,WM.x,GM.x,UM.x),e.y=$M(HM.y,WM.y,GM.y,UM.y);var u=VM(HM.x,WM.x,GM.x,UM.x),c=VM(HM.y,WM.y,GM.y,UM.y);e.width=u-e.x,e.height=c-e.y}else e!==n&&t.copy(e,n)},t}();const KM=YM;var ZM="silent";function QM(){CM(this.event)}var JM=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return zI(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(cM),tC=function(t,e){this.x=t,this.y=e},eC=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],nC=new KM(0,0,0,0),rC=function(t){function e(e,n,r,i,a){var o=t.call(this)||this;return o._hovered=new tC(0,0),o.storage=e,o.painter=n,o.painterRoot=i,o._pointerSize=a,r=r||new JM,o.proxy=null,o.setHandlerProxy(r),o._draggingMgr=new sM(o),o}return zI(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(eI(eC,(function(e){t.on&&t.on(e,this[e],this)}),this),t.handler=this),this.proxy=t},e.prototype.mousemove=function(t){var e=t.zrX,n=t.zrY,r=oC(this,e,n),i=this._hovered,a=i.target;a&&!a.__zr&&(a=(i=this.findHover(i.x,i.y)).target);var o=this._hovered=r?new tC(e,n):this.findHover(e,n),s=o.target,u=this.proxy;u.setCursor&&u.setCursor(s?s.cursor:"default"),a&&s!==a&&this.dispatchToElement(i,"mouseout",t),this.dispatchToElement(o,"mousemove",t),s&&s!==a&&this.dispatchToElement(o,"mouseover",t)},e.prototype.mouseout=function(t){var e=t.zrEventControl;"only_globalout"!==e&&this.dispatchToElement(this._hovered,"mouseout",t),"no_globalout"!==e&&this.trigger("globalout",{type:"globalout",event:t})},e.prototype.resize=function(){this._hovered=new tC(0,0)},e.prototype.dispatch=function(t,e){var n=this[t];n&&n.call(this,e)},e.prototype.dispose=function(){this.proxy.dispose(),this.storage=null,this.proxy=null,this.painter=null},e.prototype.setCursorStyle=function(t){var e=this.proxy;e.setCursor&&e.setCursor(t)},e.prototype.dispatchToElement=function(t,e,n){var r=(t=t||{}).target;if(!r||!r.silent){for(var i="on"+e,a=function(t,e,n){return{type:t,event:n,target:e.target,topTarget:e.topTarget,cancelBubble:!1,offsetX:n.zrX,offsetY:n.zrY,gestureEvent:n.gestureEvent,pinchX:n.pinchX,pinchY:n.pinchY,pinchScale:n.pinchScale,wheelDelta:n.zrDelta,zrByTouch:n.zrByTouch,which:n.which,stop:QM}}(e,t,n);r&&(r[i]&&(a.cancelBubble=!!r[i].call(r,a)),r.trigger(e,a),r=r.__hostTarget?r.__hostTarget:r.parent,!a.cancelBubble););a.cancelBubble||(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer((function(t){"function"==typeof t[i]&&t[i].call(t,a),t.trigger&&t.trigger(e,a)})))}},e.prototype.findHover=function(t,e,n){var r=this.storage.getDisplayList(),i=new tC(t,e);if(aC(r,i,t,e,n),this._pointerSize&&!i.target){for(var a=[],o=this._pointerSize,s=o/2,u=new KM(t-s,e-s,o,o),c=r.length-1;c>=0;c--){var l=r[c];l===n||l.ignore||l.ignoreCoarsePointer||l.parent&&l.parent.ignoreCoarsePointer||(nC.copy(l.getBoundingRect()),l.transform&&nC.applyTransform(l.transform),nC.intersect(u)&&a.push(l))}if(a.length)for(var h=Math.PI/12,f=2*Math.PI,d=0;d<s;d+=4)for(var p=0;p<f;p+=h){if(aC(a,i,t+d*Math.cos(p),e+d*Math.sin(p),n),i.target)return i}}return i},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new AM);var n=this._gestureMgr;"start"===e&&n.clear();var r=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),r){var i=r.type;t.gestureEvent=i;var a=new tC;a.target=r.target,this.dispatchToElement(a,i,r.event)}},e}(cM);function iC(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var r=t,i=void 0,a=!1;r;){if(r.ignoreClip&&(a=!0),!a){var o=r.getClipPath();if(o&&!o.contain(e,n))return!1;r.silent&&(i=!0)}var s=r.__hostTarget;r=s||r.parent}return!i||ZM}return!1}function aC(t,e,n,r,i){for(var a=t.length-1;a>=0;a--){var o=t[a],s=void 0;if(o!==i&&!o.ignore&&(s=iC(o,n,r))&&(!e.topTarget&&(e.topTarget=o),s!==ZM)){e.target=o;break}}}function oC(t,e,n){var r=t.painter;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}eI(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],(function(t){rC.prototype[t]=function(e){var n,r,i=e.zrX,a=e.zrY,o=oC(this,i,a);if("mouseup"===t&&o||(r=(n=this.findHover(i,a)).target),"mousedown"===t)this._downEl=r,this._downPoint=[e.zrX,e.zrY],this._upEl=r;else if("mouseup"===t)this._upEl=r;else if("click"===t){if(this._downEl!==this._upEl||!this._downPoint||JI(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}}));const sC=rC;function uC(t,e,n,r){var i=e+1;if(i===n)return 1;if(r(t[i++],t[e])<0){for(;i<n&&r(t[i],t[i-1])<0;)i++;!function(t,e,n){n--;for(;e<n;){var r=t[e];t[e++]=t[n],t[n--]=r}}(t,e,i)}else for(;i<n&&r(t[i],t[i-1])>=0;)i++;return i-e}function cC(t,e,n,r,i){for(r===e&&r++;r<n;r++){for(var a,o=t[r],s=e,u=r;s<u;)i(o,t[a=s+u>>>1])<0?u=a:s=a+1;var c=r-s;switch(c){case 3:t[s+3]=t[s+2];case 2:t[s+2]=t[s+1];case 1:t[s+1]=t[s];break;default:for(;c>0;)t[s+c]=t[s+c-1],c--}t[s]=o}}function lC(t,e,n,r,i,a){var o=0,s=0,u=1;if(a(t,e[n+i])>0){for(s=r-i;u<s&&a(t,e[n+i+u])>0;)o=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}else{for(s=i+1;u<s&&a(t,e[n+i-u])<=0;)o=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s);var c=o;o=i-u,u=i-c}for(o++;o<u;){var l=o+(u-o>>>1);a(t,e[n+l])>0?o=l+1:u=l}return u}function hC(t,e,n,r,i,a){var o=0,s=0,u=1;if(a(t,e[n+i])<0){for(s=i+1;u<s&&a(t,e[n+i-u])<0;)o=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s);var c=o;o=i-u,u=i-c}else{for(s=r-i;u<s&&a(t,e[n+i+u])>=0;)o=u,(u=1+(u<<1))<=0&&(u=s);u>s&&(u=s),o+=i,u+=i}for(o++;o<u;){var l=o+(u-o>>>1);a(t,e[n+l])<0?u=l:o=l+1}return u}function fC(t,e){var n,r,i,a=7,o=0;n=t.length;var s=[];function u(n){var u=r[n],c=i[n],l=r[n+1],h=i[n+1];i[n]=c+h,n===o-3&&(r[n+1]=r[n+2],i[n+1]=i[n+2]),o--;var f=hC(t[l],t,u,c,0,e);u+=f,0!==(c-=f)&&0!==(h=lC(t[u+c-1],t,l,h,h-1,e))&&(c<=h?function(n,r,i,o){var u=0;for(u=0;u<r;u++)s[u]=t[n+u];var c=0,l=i,h=n;if(t[h++]=t[l++],0==--o){for(u=0;u<r;u++)t[h+u]=s[c+u];return}if(1===r){for(u=0;u<o;u++)t[h+u]=t[l+u];return void(t[h+o]=s[c])}var f,d,p,g=a;for(;;){f=0,d=0,p=!1;do{if(e(t[l],s[c])<0){if(t[h++]=t[l++],d++,f=0,0==--o){p=!0;break}}else if(t[h++]=s[c++],f++,d=0,1==--r){p=!0;break}}while((f|d)<g);if(p)break;do{if(0!==(f=hC(t[l],s,c,r,0,e))){for(u=0;u<f;u++)t[h+u]=s[c+u];if(h+=f,c+=f,(r-=f)<=1){p=!0;break}}if(t[h++]=t[l++],0==--o){p=!0;break}if(0!==(d=lC(s[c],t,l,o,0,e))){for(u=0;u<d;u++)t[h+u]=t[l+u];if(h+=d,l+=d,0===(o-=d)){p=!0;break}}if(t[h++]=s[c++],1==--r){p=!0;break}g--}while(f>=7||d>=7);if(p)break;g<0&&(g=0),g+=2}if((a=g)<1&&(a=1),1===r){for(u=0;u<o;u++)t[h+u]=t[l+u];t[h+o]=s[c]}else{if(0===r)throw new Error;for(u=0;u<r;u++)t[h+u]=s[c+u]}}(u,c,l,h):function(n,r,i,o){var u=0;for(u=0;u<o;u++)s[u]=t[i+u];var c=n+r-1,l=o-1,h=i+o-1,f=0,d=0;if(t[h--]=t[c--],0==--r){for(f=h-(o-1),u=0;u<o;u++)t[f+u]=s[u];return}if(1===o){for(d=(h-=r)+1,f=(c-=r)+1,u=r-1;u>=0;u--)t[d+u]=t[f+u];return void(t[h]=s[l])}var p=a;for(;;){var g=0,b=0,v=!1;do{if(e(s[l],t[c])<0){if(t[h--]=t[c--],g++,b=0,0==--r){v=!0;break}}else if(t[h--]=s[l--],b++,g=0,1==--o){v=!0;break}}while((g|b)<p);if(v)break;do{if(0!==(g=r-hC(s[l],t,n,r,r-1,e))){for(r-=g,d=(h-=g)+1,f=(c-=g)+1,u=g-1;u>=0;u--)t[d+u]=t[f+u];if(0===r){v=!0;break}}if(t[h--]=s[l--],1==--o){v=!0;break}if(0!==(b=o-lC(t[c],s,0,o,o-1,e))){for(o-=b,d=(h-=b)+1,f=(l-=b)+1,u=0;u<b;u++)t[d+u]=s[f+u];if(o<=1){v=!0;break}}if(t[h--]=t[c--],0==--r){v=!0;break}p--}while(g>=7||b>=7);if(v)break;p<0&&(p=0),p+=2}(a=p)<1&&(a=1);if(1===o){for(d=(h-=r)+1,f=(c-=r)+1,u=r-1;u>=0;u--)t[d+u]=t[f+u];t[h]=s[l]}else{if(0===o)throw new Error;for(f=h-(o-1),u=0;u<o;u++)t[f+u]=s[u]}}(u,c,l,h))}return n<120?5:n<1542?10:n<119151?19:40,r=[],i=[],{mergeRuns:function(){for(;o>1;){var t=o-2;if(t>=1&&i[t-1]<=i[t]+i[t+1]||t>=2&&i[t-2]<=i[t]+i[t-1])i[t-1]<i[t+1]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;o>1;){var t=o-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){r[o]=t,i[o]=e,o+=1}}}function dC(t,e,n,r){n||(n=0),r||(r=t.length);var i=r-n;if(!(i<2)){var a=0;if(i<32)cC(t,n,r,n+(a=uC(t,n,r,e)),e);else{var o=fC(t,e),s=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(i);do{if((a=uC(t,n,r,e))<s){var u=i;u>s&&(u=s),cC(t,n,n+u,n+a,e),a=u}o.pushRun(n,a),o.mergeRuns(),i-=a,n+=a}while(0!==i);o.forceMergeRuns()}}}var pC=!1;function gC(){pC||(pC=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function bC(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var vC=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=bC}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return!t&&n.length||this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,r=0,i=e.length;r<i;r++)this._updateAndAddDisplayable(e[r],null,t);n.length=this._displayListLen,dC(n,bC)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var r=t.getClipPath();if(t.ignoreClip)e=null;else if(r){e=e?e.slice():[];for(var i=r,a=t;i;)i.parent=a,i.updateTransform(),e.push(i),a=i,i=i.getClipPath()}if(t.childrenRef){for(var o=t.childrenRef(),s=0;s<o.length;s++){var u=o[s];t.__dirty&&(u.__dirty|=1),this._updateAndAddDisplayable(u,e,n)}t.__dirty=0}else{var c=t;e&&e.length?c.__clipPaths=e:c.__clipPaths&&c.__clipPaths.length>0&&(c.__clipPaths=[]),isNaN(c.z)&&(gC(),c.z=0),isNaN(c.z2)&&(gC(),c.z2=0),isNaN(c.zlevel)&&(gC(),c.zlevel=0),this._displayList[this._displayListLen++]=c}var l=t.getDecalElement&&t.getDecalElement();l&&this._updateAndAddDisplayable(l,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var f=t.getTextContent();f&&this._updateAndAddDisplayable(f,e,n)}},t.prototype.addRoot=function(t){t.__zr&&t.__zr.storage===this||this._roots.push(t)},t.prototype.delRoot=function(t){if(t instanceof Array)for(var e=0,n=t.length;e<n;e++)this.delRoot(t[e]);else{var r=Qk(this._roots,t);r>=0&&this._roots.splice(r,1)}},t.prototype.delAllRoots=function(){this._roots=[],this._displayList=[],this._displayListLen=0},t.prototype.getRoots=function(){return this._roots},t.prototype.dispose=function(){this._displayList=null,this._roots=null},t}();const mC=vC;const yC=Mk.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)};var wC={linear:function(t){return t},quadraticIn:function(t){return t*t},quadraticOut:function(t){return t*(2-t)},quadraticInOut:function(t){return(t*=2)<1?.5*t*t:-.5*(--t*(t-2)-1)},cubicIn:function(t){return t*t*t},cubicOut:function(t){return--t*t*t+1},cubicInOut:function(t){return(t*=2)<1?.5*t*t*t:.5*((t-=2)*t*t+2)},quarticIn:function(t){return t*t*t*t},quarticOut:function(t){return 1- --t*t*t*t},quarticInOut:function(t){return(t*=2)<1?.5*t*t*t*t:-.5*((t-=2)*t*t*t-2)},quinticIn:function(t){return t*t*t*t*t},quinticOut:function(t){return--t*t*t*t*t+1},quinticInOut:function(t){return(t*=2)<1?.5*t*t*t*t*t:.5*((t-=2)*t*t*t*t+2)},sinusoidalIn:function(t){return 1-Math.cos(t*Math.PI/2)},sinusoidalOut:function(t){return Math.sin(t*Math.PI/2)},sinusoidalInOut:function(t){return.5*(1-Math.cos(Math.PI*t))},exponentialIn:function(t){return 0===t?0:Math.pow(1024,t-1)},exponentialOut:function(t){return 1===t?1:1-Math.pow(2,-10*t)},exponentialInOut:function(t){return 0===t?0:1===t?1:(t*=2)<1?.5*Math.pow(1024,t-1):.5*(2-Math.pow(2,-10*(t-1)))},circularIn:function(t){return 1-Math.sqrt(1-t*t)},circularOut:function(t){return Math.sqrt(1- --t*t)},circularInOut:function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)},elasticIn:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),-n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/.4))},elasticOut:function(t){var e,n=.1;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=.4*Math.asin(1/n)/(2*Math.PI),n*Math.pow(2,-10*t)*Math.sin((t-e)*(2*Math.PI)/.4)+1)},elasticInOut:function(t){var e,n=.1,r=.4;return 0===t?0:1===t?1:(!n||n<1?(n=1,e=.1):e=r*Math.asin(1/n)/(2*Math.PI),(t*=2)<1?n*Math.pow(2,10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*-.5:n*Math.pow(2,-10*(t-=1))*Math.sin((t-e)*(2*Math.PI)/r)*.5+1)},backIn:function(t){var e=1.70158;return t*t*((e+1)*t-e)},backOut:function(t){var e=1.70158;return--t*t*((e+1)*t+e)+1},backInOut:function(t){var e=2.5949095;return(t*=2)<1?t*t*((e+1)*t-e)*.5:.5*((t-=2)*t*((e+1)*t+e)+2)},bounceIn:function(t){return 1-wC.bounceOut(1-t)},bounceOut:function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375},bounceInOut:function(t){return t<.5?.5*wC.bounceIn(2*t):.5*wC.bounceOut(2*t-1)+.5}};const xC=wC;var _C=Math.pow,SC=Math.sqrt,kC=1e-8,IC=1e-4,MC=SC(3),CC=1/3,TC=$I(),AC=$I(),EC=$I();function PC(t){return t>-1e-8&&t<kC}function DC(t){return t>kC||t<-1e-8}function OC(t,e,n,r,i){var a=1-i;return a*a*(a*t+3*i*e)+i*i*(i*r+3*a*n)}function LC(t,e,n,r,i){var a=1-i;return 3*(((e-t)*a+2*(n-e)*i)*a+(r-n)*i*i)}function RC(t,e,n,r,i,a){var o=r+3*(e-n)-t,s=3*(n-2*e+t),u=3*(e-t),c=t-i,l=s*s-3*o*u,h=s*u-9*o*c,f=u*u-3*s*c,d=0;if(PC(l)&&PC(h)){if(PC(s))a[0]=0;else(k=-u/s)>=0&&k<=1&&(a[d++]=k)}else{var p=h*h-4*l*f;if(PC(p)){var g=h/l,b=-g/2;(k=-s/o+g)>=0&&k<=1&&(a[d++]=k),b>=0&&b<=1&&(a[d++]=b)}else if(p>0){var v=SC(p),m=l*s+1.5*o*(-h+v),y=l*s+1.5*o*(-h-v);(k=(-s-((m=m<0?-_C(-m,CC):_C(m,CC))+(y=y<0?-_C(-y,CC):_C(y,CC))))/(3*o))>=0&&k<=1&&(a[d++]=k)}else{var w=(2*l*s-3*o*h)/(2*SC(l*l*l)),x=Math.acos(w)/3,_=SC(l),S=Math.cos(x),k=(-s-2*_*S)/(3*o),I=(b=(-s+_*(S+MC*Math.sin(x)))/(3*o),(-s+_*(S-MC*Math.sin(x)))/(3*o));k>=0&&k<=1&&(a[d++]=k),b>=0&&b<=1&&(a[d++]=b),I>=0&&I<=1&&(a[d++]=I)}}return d}function NC(t,e,n,r,i){var a=6*n-12*e+6*t,o=9*e+3*r-3*t-9*n,s=3*e-3*t,u=0;if(PC(o)){if(DC(a))(l=-s/a)>=0&&l<=1&&(i[u++]=l)}else{var c=a*a-4*o*s;if(PC(c))i[0]=-a/(2*o);else if(c>0){var l,h=SC(c),f=(-a-h)/(2*o);(l=(-a+h)/(2*o))>=0&&l<=1&&(i[u++]=l),f>=0&&f<=1&&(i[u++]=f)}}return u}function jC(t,e,n,r,i,a){var o=(e-t)*i+t,s=(n-e)*i+e,u=(r-n)*i+n,c=(s-o)*i+o,l=(u-s)*i+s,h=(l-c)*i+c;a[0]=t,a[1]=o,a[2]=c,a[3]=h,a[4]=h,a[5]=l,a[6]=u,a[7]=r}function FC(t,e,n,r,i,a,o,s,u,c,l){var h,f,d,p,g,b=.005,v=1/0;TC[0]=u,TC[1]=c;for(var m=0;m<1;m+=.05)AC[0]=OC(t,n,i,o,m),AC[1]=OC(e,r,a,s,m),(p=tM(TC,AC))<v&&(h=m,v=p);v=1/0;for(var y=0;y<32&&!(b<IC);y++)f=h-b,d=h+b,AC[0]=OC(t,n,i,o,f),AC[1]=OC(e,r,a,s,f),p=tM(AC,TC),f>=0&&p<v?(h=f,v=p):(EC[0]=OC(t,n,i,o,d),EC[1]=OC(e,r,a,s,d),g=tM(EC,TC),d<=1&&g<v?(h=d,v=g):b*=.5);return l&&(l[0]=OC(t,n,i,o,h),l[1]=OC(e,r,a,s,h)),SC(v)}function BC(t,e,n,r,i,a,o,s,u){for(var c=t,l=e,h=0,f=1/u,d=1;d<=u;d++){var p=d*f,g=OC(t,n,i,o,p),b=OC(e,r,a,s,p),v=g-c,m=b-l;h+=Math.sqrt(v*v+m*m),c=g,l=b}return h}function zC(t,e,n,r){var i=1-r;return i*(i*t+2*r*e)+r*r*n}function $C(t,e,n,r){return 2*((1-r)*(e-t)+r*(n-e))}function VC(t,e,n){var r=t+n-2*e;return 0===r?.5:(t-e)/r}function HC(t,e,n,r,i){var a=(e-t)*r+t,o=(n-e)*r+e,s=(o-a)*r+a;i[0]=t,i[1]=a,i[2]=s,i[3]=s,i[4]=o,i[5]=n}function WC(t,e,n,r,i,a,o,s,u){var c,l=.005,h=1/0;TC[0]=o,TC[1]=s;for(var f=0;f<1;f+=.05){AC[0]=zC(t,n,i,f),AC[1]=zC(e,r,a,f),(b=tM(TC,AC))<h&&(c=f,h=b)}h=1/0;for(var d=0;d<32&&!(l<IC);d++){var p=c-l,g=c+l;AC[0]=zC(t,n,i,p),AC[1]=zC(e,r,a,p);var b=tM(AC,TC);if(p>=0&&b<h)c=p,h=b;else{EC[0]=zC(t,n,i,g),EC[1]=zC(e,r,a,g);var v=tM(EC,TC);g<=1&&v<h?(c=g,h=v):l*=.5}}return u&&(u[0]=zC(t,n,i,c),u[1]=zC(e,r,a,c)),SC(h)}function GC(t,e,n,r,i,a,o){for(var s=t,u=e,c=0,l=1/o,h=1;h<=o;h++){var f=h*l,d=zC(t,n,i,f),p=zC(e,r,a,f),g=d-s,b=p-u;c+=Math.sqrt(g*g+b*b),s=d,u=p}return c}var UC=/cubic-bezier\(([0-9,\.e ]+)\)/;function XC(t){var e=t&&UC.exec(t);if(e){var n=e[1].split(","),r=+II(n[0]),i=+II(n[1]),a=+II(n[2]),o=+II(n[3]);if(isNaN(r+i+a+o))return;var s=[];return function(t){return t<=0?0:t>=1?1:RC(0,r,a,1,t,s)&&OC(0,i,o,1,s[0])}}}var qC=function(){function t(t){this._inited=!1,this._startTime=0,this._pausedTime=0,this._paused=!1,this._life=t.life||1e3,this._delay=t.delay||0,this.loop=t.loop||!1,this.onframe=t.onframe||jI,this.ondestroy=t.ondestroy||jI,this.onrestart=t.onrestart||jI,t.easing&&this.setEasing(t.easing)}return t.prototype.step=function(t,e){if(this._inited||(this._startTime=t+this._delay,this._inited=!0),!this._paused){var n=this._life,r=t-this._startTime-this._pausedTime,i=r/n;i<0&&(i=0),i=Math.min(i,1);var a=this.easingFunc,o=a?a(i):i;if(this.onframe(o),1===i){if(!this.loop)return!0;var s=r%n;this._startTime=t-s,this._pausedTime=0,this.onrestart()}return!1}this._pausedTime+=e},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=cI(t)?t:xC[t]||XC(t)},t}();const YC=qC;var KC=function(t){this.value=t},ZC=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new KC(t);return this.insertEntry(e),e},t.prototype.insertEntry=function(t){this.head?(this.tail.next=t,t.prev=this.tail,t.next=null,this.tail=t):this.head=this.tail=t,this._len++},t.prototype.remove=function(t){var e=t.prev,n=t.next;e?e.next=n:this.head=n,n?n.prev=e:this.tail=e,t.next=t.prev=null,this._len--},t.prototype.len=function(){return this._len},t.prototype.clear=function(){this.head=this.tail=null,this._len=0},t}(),QC=function(){function t(t){this._list=new ZC,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,i=null;if(null==r[t]){var a=n.len(),o=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var s=n.head;n.remove(s),delete r[s.key],i=s.value,this._lastRemovedEntry=s}o?o.value=e:o=new KC(e),o.key=t,n.insertEntry(o),r[t]=o}return i},t.prototype.get=function(t){var e=this._map[t],n=this._list;if(null!=e)return e!==n.tail&&(n.remove(e),n.insertEntry(e)),e.value},t.prototype.clear=function(){this._list.clear(),this._map={}},t.prototype.len=function(){return this._list.len()},t}();const JC=QC;var tT={transparent:[0,0,0,0],aliceblue:[240,248,255,1],antiquewhite:[250,235,215,1],aqua:[0,255,255,1],aquamarine:[127,255,212,1],azure:[240,255,255,1],beige:[245,245,220,1],bisque:[255,228,196,1],black:[0,0,0,1],blanchedalmond:[255,235,205,1],blue:[0,0,255,1],blueviolet:[138,43,226,1],brown:[165,42,42,1],burlywood:[222,184,135,1],cadetblue:[95,158,160,1],chartreuse:[127,255,0,1],chocolate:[210,105,30,1],coral:[255,127,80,1],cornflowerblue:[100,149,237,1],cornsilk:[255,248,220,1],crimson:[220,20,60,1],cyan:[0,255,255,1],darkblue:[0,0,139,1],darkcyan:[0,139,139,1],darkgoldenrod:[184,134,11,1],darkgray:[169,169,169,1],darkgreen:[0,100,0,1],darkgrey:[169,169,169,1],darkkhaki:[189,183,107,1],darkmagenta:[139,0,139,1],darkolivegreen:[85,107,47,1],darkorange:[255,140,0,1],darkorchid:[153,50,204,1],darkred:[139,0,0,1],darksalmon:[233,150,122,1],darkseagreen:[143,188,143,1],darkslateblue:[72,61,139,1],darkslategray:[47,79,79,1],darkslategrey:[47,79,79,1],darkturquoise:[0,206,209,1],darkviolet:[148,0,211,1],deeppink:[255,20,147,1],deepskyblue:[0,191,255,1],dimgray:[105,105,105,1],dimgrey:[105,105,105,1],dodgerblue:[30,144,255,1],firebrick:[178,34,34,1],floralwhite:[255,250,240,1],forestgreen:[34,139,34,1],fuchsia:[255,0,255,1],gainsboro:[220,220,220,1],ghostwhite:[248,248,255,1],gold:[255,215,0,1],goldenrod:[218,165,32,1],gray:[128,128,128,1],green:[0,128,0,1],greenyellow:[173,255,47,1],grey:[128,128,128,1],honeydew:[240,255,240,1],hotpink:[255,105,180,1],indianred:[205,92,92,1],indigo:[75,0,130,1],ivory:[255,255,240,1],khaki:[240,230,140,1],lavender:[230,230,250,1],lavenderblush:[255,240,245,1],lawngreen:[124,252,0,1],lemonchiffon:[255,250,205,1],lightblue:[173,216,230,1],lightcoral:[240,128,128,1],lightcyan:[224,255,255,1],lightgoldenrodyellow:[250,250,210,1],lightgray:[211,211,211,1],lightgreen:[144,238,144,1],lightgrey:[211,211,211,1],lightpink:[255,182,193,1],lightsalmon:[255,160,122,1],lightseagreen:[32,178,170,1],lightskyblue:[135,206,250,1],lightslategray:[119,136,153,1],lightslategrey:[119,136,153,1],lightsteelblue:[176,196,222,1],lightyellow:[255,255,224,1],lime:[0,255,0,1],limegreen:[50,205,50,1],linen:[250,240,230,1],magenta:[255,0,255,1],maroon:[128,0,0,1],mediumaquamarine:[102,205,170,1],mediumblue:[0,0,205,1],mediumorchid:[186,85,211,1],mediumpurple:[147,112,219,1],mediumseagreen:[60,179,113,1],mediumslateblue:[123,104,238,1],mediumspringgreen:[0,250,154,1],mediumturquoise:[72,209,204,1],mediumvioletred:[199,21,133,1],midnightblue:[25,25,112,1],mintcream:[245,255,250,1],mistyrose:[255,228,225,1],moccasin:[255,228,181,1],navajowhite:[255,222,173,1],navy:[0,0,128,1],oldlace:[253,245,230,1],olive:[128,128,0,1],olivedrab:[107,142,35,1],orange:[255,165,0,1],orangered:[255,69,0,1],orchid:[218,112,214,1],palegoldenrod:[238,232,170,1],palegreen:[152,251,152,1],paleturquoise:[175,238,238,1],palevioletred:[219,112,147,1],papayawhip:[255,239,213,1],peachpuff:[255,218,185,1],peru:[205,133,63,1],pink:[255,192,203,1],plum:[221,160,221,1],powderblue:[176,224,230,1],purple:[128,0,128,1],red:[255,0,0,1],rosybrown:[188,143,143,1],royalblue:[65,105,225,1],saddlebrown:[139,69,19,1],salmon:[250,128,114,1],sandybrown:[244,164,96,1],seagreen:[46,139,87,1],seashell:[255,245,238,1],sienna:[160,82,45,1],silver:[192,192,192,1],skyblue:[135,206,235,1],slateblue:[106,90,205,1],slategray:[112,128,144,1],slategrey:[112,128,144,1],snow:[255,250,250,1],springgreen:[0,255,127,1],steelblue:[70,130,180,1],tan:[210,180,140,1],teal:[0,128,128,1],thistle:[216,191,216,1],tomato:[255,99,71,1],turquoise:[64,224,208,1],violet:[238,130,238,1],wheat:[245,222,179,1],white:[255,255,255,1],whitesmoke:[245,245,245,1],yellow:[255,255,0,1],yellowgreen:[154,205,50,1]};function eT(t){return(t=Math.round(t))<0?0:t>255?255:t}function nT(t){return t<0?0:t>1?1:t}function rT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?eT(parseFloat(e)/100*255):eT(parseInt(e,10))}function iT(t){var e=t;return e.length&&"%"===e.charAt(e.length-1)?nT(parseFloat(e)/100):nT(parseFloat(e))}function aT(t,e,n){return n<0?n+=1:n>1&&(n-=1),6*n<1?t+(e-t)*n*6:2*n<1?e:3*n<2?t+(e-t)*(2/3-n)*6:t}function oT(t,e,n){return t+(e-t)*n}function sT(t,e,n,r,i){return t[0]=e,t[1]=n,t[2]=r,t[3]=i,t}function uT(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var cT=new JC(20),lT=null;function hT(t,e){lT&&uT(lT,e),lT=cT.put(t,lT||e.slice())}function fT(t,e){if(t){e=e||[];var n=cT.get(t);if(n)return uT(e,n);var r=(t+="").replace(/ /g,"").toLowerCase();if(r in tT)return uT(e,tT[r]),hT(t,e),e;var i,a=r.length;if("#"===r.charAt(0))return 4===a||5===a?(i=parseInt(r.slice(1,4),16))>=0&&i<=4095?(sT(e,(3840&i)>>4|(3840&i)>>8,240&i|(240&i)>>4,15&i|(15&i)<<4,5===a?parseInt(r.slice(4),16)/15:1),hT(t,e),e):void sT(e,0,0,0,1):7===a||9===a?(i=parseInt(r.slice(1,7),16))>=0&&i<=16777215?(sT(e,(16711680&i)>>16,(65280&i)>>8,255&i,9===a?parseInt(r.slice(7),16)/255:1),hT(t,e),e):void sT(e,0,0,0,1):void 0;var o=r.indexOf("("),s=r.indexOf(")");if(-1!==o&&s+1===a){var u=r.substr(0,o),c=r.substr(o+1,s-(o+1)).split(","),l=1;switch(u){case"rgba":if(4!==c.length)return 3===c.length?sT(e,+c[0],+c[1],+c[2],1):sT(e,0,0,0,1);l=iT(c.pop());case"rgb":return c.length>=3?(sT(e,rT(c[0]),rT(c[1]),rT(c[2]),3===c.length?l:iT(c[3])),hT(t,e),e):void sT(e,0,0,0,1);case"hsla":return 4!==c.length?void sT(e,0,0,0,1):(c[3]=iT(c[3]),dT(c,e),hT(t,e),e);case"hsl":return 3!==c.length?void sT(e,0,0,0,1):(dT(c,e),hT(t,e),e);default:return}}sT(e,0,0,0,1)}}function dT(t,e){var n=(parseFloat(t[0])%360+360)%360/360,r=iT(t[1]),i=iT(t[2]),a=i<=.5?i*(r+1):i+r-i*r,o=2*i-a;return sT(e=e||[],eT(255*aT(o,a,n+1/3)),eT(255*aT(o,a,n)),eT(255*aT(o,a,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function pT(t,e){var n=fT(t);if(n){for(var r=0;r<3;r++)n[r]=e<0?n[r]*(1-e)|0:(255-n[r])*e+n[r]|0,n[r]>255?n[r]=255:n[r]<0&&(n[r]=0);return yT(n,4===n.length?"rgba":"rgb")}}function gT(t,e,n){if(e&&e.length&&t>=0&&t<=1){n=n||[];var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),o=e[i],s=e[a],u=r-i;return n[0]=eT(oT(o[0],s[0],u)),n[1]=eT(oT(o[1],s[1],u)),n[2]=eT(oT(o[2],s[2],u)),n[3]=nT(oT(o[3],s[3],u)),n}}function bT(t,e,n){if(e&&e.length&&t>=0&&t<=1){var r=t*(e.length-1),i=Math.floor(r),a=Math.ceil(r),o=fT(e[i]),s=fT(e[a]),u=r-i,c=yT([eT(oT(o[0],s[0],u)),eT(oT(o[1],s[1],u)),eT(oT(o[2],s[2],u)),nT(oT(o[3],s[3],u))],"rgba");return n?{color:c,leftIndex:i,rightIndex:a,value:r}:c}}function vT(t,e,n,r){var i=fT(t);if(t)return i=function(t){if(t){var e,n,r=t[0]/255,i=t[1]/255,a=t[2]/255,o=Math.min(r,i,a),s=Math.max(r,i,a),u=s-o,c=(s+o)/2;if(0===u)e=0,n=0;else{n=c<.5?u/(s+o):u/(2-s-o);var l=((s-r)/6+u/2)/u,h=((s-i)/6+u/2)/u,f=((s-a)/6+u/2)/u;r===s?e=f-h:i===s?e=1/3+l-f:a===s&&(e=2/3+h-l),e<0&&(e+=1),e>1&&(e-=1)}var d=[360*e,n,c];return null!=t[3]&&d.push(t[3]),d}}(i),null!=e&&(i[0]=function(t){return(t=Math.round(t))<0?0:t>360?360:t}(e)),null!=n&&(i[1]=iT(n)),null!=r&&(i[2]=iT(r)),yT(dT(i),"rgba")}function mT(t,e){var n=fT(t);if(n&&null!=e)return n[3]=nT(e),yT(n,"rgba")}function yT(t,e){if(t&&t.length){var n=t[0]+","+t[1]+","+t[2];return"rgba"!==e&&"hsva"!==e&&"hsla"!==e||(n+=","+t[3]),e+"("+n+")"}}function wT(t,e){var n=fT(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var xT=Math.round;function _T(t){var e;if(t&&"transparent"!==t){if("string"==typeof t&&t.indexOf("rgba")>-1){var n=fT(t);n&&(t="rgb("+n[0]+","+n[1]+","+n[2]+")",e=n[3])}}else t="none";return{color:t,opacity:null==e?1:e}}var ST=1e-4;function kT(t){return t<ST&&t>-1e-4}function IT(t){return xT(1e3*t)/1e3}function MT(t){return xT(1e4*t)/1e4}var CT={left:"start",right:"end",center:"middle",middle:"middle"};function TT(t){return t&&!!t.image}function AT(t){return TT(t)||function(t){return t&&!!t.svgElement}(t)}function ET(t){return"linear"===t.type}function PT(t){return"radial"===t.type}function DT(t){return t&&("linear"===t.type||"radial"===t.type)}function OT(t){return"url(#"+t+")"}function LT(t){var e=t.getGlobalScale(),n=Math.max(e[0],e[1]);return Math.max(Math.ceil(Math.log(n)/Math.log(10)),1)}function RT(t){var e=t.x||0,n=t.y||0,r=(t.rotation||0)*FI,i=wI(t.scaleX,1),a=wI(t.scaleY,1),o=t.skewX||0,s=t.skewY||0,u=[];return(e||n)&&u.push("translate("+e+"px,"+n+"px)"),r&&u.push("rotate("+r+")"),1===i&&1===a||u.push("scale("+i+","+a+")"),(o||s)&&u.push("skew("+xT(o*FI)+"deg, "+xT(s*FI)+"deg)"),u.join(" ")}var NT=Mk.hasGlobalWindow&&cI(window.btoa)?function(t){return window.btoa(unescape(encodeURIComponent(t)))}:"undefined"!=typeof Buffer?function(t){return Buffer.from(t).toString("base64")}:function(t){return null},jT=Array.prototype.slice;function FT(t,e,n){return(e-t)*n+t}function BT(t,e,n,r){for(var i=e.length,a=0;a<i;a++)t[a]=FT(e[a],n[a],r);return t}function zT(t,e,n,r){for(var i=e.length,a=0;a<i;a++)t[a]=e[a]+n[a]*r;return t}function $T(t,e,n,r){for(var i=e.length,a=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=e[o][s]+n[o][s]*r}return t}function VT(t,e){for(var n=t.length,r=e.length,i=n>r?e:t,a=Math.min(n,r),o=i[a-1]||{color:[0,0,0,0],offset:0},s=a;s<Math.max(n,r);s++)i.push({offset:o.offset,color:o.color.slice()})}function HT(t,e,n){var r=t,i=e;if(r.push&&i.push){var a=r.length,o=i.length;if(a!==o)if(a>o)r.length=o;else for(var s=a;s<o;s++)r.push(1===n?i[s]:jT.call(i[s]));var u=r[0]&&r[0].length;for(s=0;s<r.length;s++)if(1===n)isNaN(r[s])&&(r[s]=i[s]);else for(var c=0;c<u;c++)isNaN(r[s][c])&&(r[s][c]=i[s][c])}}function WT(t){if(tI(t)){var e=t.length;if(tI(t[0])){for(var n=[],r=0;r<e;r++)n.push(jT.call(t[r]));return n}return jT.call(t)}return t}function GT(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function UT(t){return 4===t||5===t}function XT(t){return 1===t||2===t}var qT=[0,0,0,0],YT=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var r=this.keyframes,i=r.length,a=!1,o=6,s=e;if(tI(e)){var u=function(t){return tI(t&&t[0])?2:1}(e);o=u,(1===u&&!fI(e[0])||2===u&&!fI(e[0][0]))&&(a=!0)}else if(fI(e)&&!mI(e))o=0;else if(lI(e))if(isNaN(+e)){var c=fT(e);c&&(s=c,o=3)}else o=0;else if(vI(e)){var l=Kk({},s);l.colorStops=nI(e.colorStops,(function(t){return{offset:t.offset,color:fT(t.color)}})),ET(e)?o=4:PT(e)&&(o=5),s=l}0===i?this.valType=o:o===this.valType&&6!==o||(a=!0),this.discrete=this.discrete||a;var h={time:t,value:s,rawValue:e,percent:0};return n&&(h.easing=n,h.easingFunc=cI(n)?n:xC[n]||XC(n)),r.push(h),h},t.prototype.prepare=function(t,e){var n=this.keyframes;this._needsSort&&n.sort((function(t,e){return t.time-e.time}));for(var r=this.valType,i=n.length,a=n[i-1],o=this.discrete,s=XT(r),u=UT(r),c=0;c<i;c++){var l=n[c],h=l.value,f=a.value;l.percent=l.time/t,o||(s&&c!==i-1?HT(h,f,r):u&&VT(h.colorStops,f.colorStops))}if(!o&&5!==r&&e&&this.needsAnimate()&&e.needsAnimate()&&r===e.valType&&!e._finished){this._additiveTrack=e;var d=n[0].value;for(c=0;c<i;c++)0===r?n[c].additiveValue=n[c].value-d:3===r?n[c].additiveValue=zT([],n[c].value,d,-1):XT(r)&&(n[c].additiveValue=1===r?zT([],n[c].value,d,-1):$T([],n[c].value,d,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,r,i,a=null!=this._additiveTrack,o=a?"additiveValue":"value",s=this.valType,u=this.keyframes,c=u.length,l=this.propName,h=3===s,f=this._lastFr,d=Math.min;if(1===c)r=i=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=d(f+1,c-1);n>=0&&!(u[n].percent<=e);n--);n=d(n,c-2)}else{for(n=f;n<c&&!(u[n].percent>e);n++);n=d(n-1,c-2)}i=u[n+1],r=u[n]}if(r&&i){this._lastFr=n,this._lastFrP=e;var p=i.percent-r.percent,g=0===p?1:d((e-r.percent)/p,1);i.easingFunc&&(g=i.easingFunc(g));var b=a?this._additiveValue:h?qT:t[l];if(!XT(s)&&!h||b||(b=this._additiveValue=[]),this.discrete)t[l]=g<1?r.rawValue:i.rawValue;else if(XT(s))1===s?BT(b,r[o],i[o],g):function(t,e,n,r){for(var i=e.length,a=i&&e[0].length,o=0;o<i;o++){t[o]||(t[o]=[]);for(var s=0;s<a;s++)t[o][s]=FT(e[o][s],n[o][s],r)}}(b,r[o],i[o],g);else if(UT(s)){var v=r[o],m=i[o],y=4===s;t[l]={type:y?"linear":"radial",x:FT(v.x,m.x,g),y:FT(v.y,m.y,g),colorStops:nI(v.colorStops,(function(t,e){var n=m.colorStops[e];return{offset:FT(t.offset,n.offset,g),color:GT(BT([],t.color,n.color,g))}})),global:m.global},y?(t[l].x2=FT(v.x2,m.x2,g),t[l].y2=FT(v.y2,m.y2,g)):t[l].r=FT(v.r,m.r,g)}else if(h)BT(b,r[o],i[o],g),a||(t[l]=GT(b));else{var w=FT(r[o],i[o],g);a?this._additiveValue=w:t[l]=w}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,r=this._additiveValue;0===e?t[n]=t[n]+r:3===e?(fT(t[n],qT),zT(qT,qT,r,1),t[n]=GT(qT)):1===e?zT(t[n],t[n],r,1):2===e&&$T(t[n],t[n],r,1)},t}(),KT=function(){function t(t,e,n,r){this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&r?Uk("Can' use additive animation on looped animation."):(this._additiveAnimators=r,this._allowDiscrete=n)}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,aI(e),n)},t.prototype.whenWithKeys=function(t,e,n,r){for(var i=this._tracks,a=0;a<n.length;a++){var o=n[a],s=i[o];if(!s){s=i[o]=new YT(o);var u=void 0,c=this._getAdditiveTrack(o);if(c){var l=c.keyframes,h=l[l.length-1];u=h&&h.value,3===c.valType&&u&&(u=GT(u))}else u=this._target[o];if(null==u)continue;t>0&&s.addKeyframe(0,WT(u),r),this._trackKeys.push(o)}s.addKeyframe(t,WT(e[o]),r)}return this._maxTime=Math.max(this._maxTime,t),this},t.prototype.pause=function(){this._clip.pause(),this._paused=!0},t.prototype.resume=function(){this._clip.resume(),this._paused=!1},t.prototype.isPaused=function(){return!!this._paused},t.prototype.duration=function(t){return this._maxTime=t,this._force=!0,this},t.prototype._doneCallback=function(){this._setTracksFinished(),this._clip=null;var t=this._doneCbs;if(t)for(var e=t.length,n=0;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var r=0;r<n.length;r++){var i=n[r].getTrack(t);i&&(e=i)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],r=this._maxTime||0,i=0;i<this._trackKeys.length;i++){var a=this._trackKeys[i],o=this._tracks[a],s=this._getAdditiveTrack(a),u=o.keyframes,c=u.length;if(o.prepare(r,s),o.needsAnimate())if(!this._allowDiscrete&&o.discrete){var l=u[c-1];l&&(e._target[o.propName]=l.rawValue),o.setFinished()}else n.push(o)}if(n.length||this._force){var h=new YC({life:r,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var r=e._additiveAnimators;if(r){for(var i=!1,a=0;a<r.length;a++)if(r[a]._clip){i=!0;break}i||(e._additiveAnimators=null)}for(a=0;a<n.length;a++)n[a].step(e._target,t);var o=e._onframeCbs;if(o)for(a=0;a<o.length;a++)o[a](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=h,this.animation&&this.animation.addClip(h),t&&h.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return nI(this._trackKeys,(function(e){return t._tracks[e]}))},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,r=this._trackKeys,i=0;i<t.length;i++){var a=n[t[i]];a&&!a.isFinished()&&(e?a.step(this._target,1):1===this._started&&a.step(this._target,0),a.setFinished())}var o=!0;for(i=0;i<r.length;i++)if(!n[r[i]].isFinished()){o=!1;break}return o&&this._abortedCallback(),o},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var r=0;r<e.length;r++){var i=e[r],a=this._tracks[i];if(a&&!a.isFinished()){var o=a.keyframes,s=o[n?0:o.length-1];s&&(t[i]=WT(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||aI(t);for(var n=0;n<e.length;n++){var r=e[n],i=this._tracks[r];if(i){var a=i.keyframes;if(a.length>1){var o=a.pop();i.addKeyframe(o.time,t[r]),i.prepare(this._maxTime,i.getAdditiveTrack())}}}},t}();const ZT=KT;function QT(){return(new Date).getTime()}var JT=function(t){function e(e){var n=t.call(this)||this;return n._running=!1,n._time=0,n._pausedTime=0,n._pauseStart=0,n._paused=!1,e=e||{},n.stage=e.stage||{},n}return zI(e,t),e.prototype.addClip=function(t){t.animation&&this.removeClip(t),this._head?(this._tail.next=t,t.prev=this._tail,t.next=null,this._tail=t):this._head=this._tail=t,t.animation=this},e.prototype.addAnimator=function(t){t.animation=this;var e=t.getClip();e&&this.addClip(e)},e.prototype.removeClip=function(t){if(t.animation){var e=t.prev,n=t.next;e?e.next=n:this._head=n,n?n.prev=e:this._tail=e,t.next=t.prev=t.animation=null}},e.prototype.removeAnimator=function(t){var e=t.getClip();e&&this.removeClip(e),t.animation=null},e.prototype.update=function(t){for(var e=QT()-this._pausedTime,n=e-this._time,r=this._head;r;){var i=r.next;r.step(e,n)?(r.ondestroy(),this.removeClip(r),r=i):r=i}this._time=e,t||(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,yC((function e(){t._running&&(yC(e),!t._paused&&t.update())}))},e.prototype.start=function(){this._running||(this._time=QT(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=QT(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=QT()-this._pauseStart,this._paused=!1)},e.prototype.clear=function(){for(var t=this._head;t;){var e=t.next;t.prev=t.next=t.animation=null,t=e}this._head=this._tail=null},e.prototype.isFinished=function(){return null==this._head},e.prototype.animate=function(t,e){e=e||{},this.start();var n=new ZT(t,e.loop);return this.addAnimator(n),n},e}(cM);const tA=JT;var eA,nA,rA=Mk.domSupported,iA=(nA={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},{mouse:eA=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],touch:["touchstart","touchend","touchmove"],pointer:nI(eA,(function(t){var e=t.replace("mouse","pointer");return nA.hasOwnProperty(e)?e:t}))}),aA=["mousemove","mouseup"],oA=["pointermove","pointerup"],sA=!1;function uA(t){var e=t.pointerType;return"pen"===e||"touch"===e}function cA(t){t&&(t.zrByTouch=!0)}function lA(t,e){for(var n=e,r=!1;n&&9!==n.nodeType&&!(r=n.domBelongToZr||n!==e&&n===t.painterRoot);)n=n.parentNode;return r}var hA=function(t,e){this.stopPropagation=jI,this.stopImmediatePropagation=jI,this.preventDefault=jI,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},fA={mousedown:function(t){t=IM(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=IM(this.dom,t);var e=this.__mayPointerCapture;!e||t.zrX===e[0]&&t.zrY===e[1]||this.__togglePointerCapture(!0),this.trigger("mousemove",t)},mouseup:function(t){t=IM(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){lA(this,(t=IM(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){sA=!0,t=IM(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){sA||(t=IM(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){cA(t=IM(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),fA.mousemove.call(this,t),fA.mousedown.call(this,t)},touchmove:function(t){cA(t=IM(this.dom,t)),this.handler.processGesture(t,"change"),fA.mousemove.call(this,t)},touchend:function(t){cA(t=IM(this.dom,t)),this.handler.processGesture(t,"end"),fA.mouseup.call(this,t),+new Date-+this.__lastTouchMoment<300&&fA.click.call(this,t)},pointerdown:function(t){fA.mousedown.call(this,t)},pointermove:function(t){uA(t)||fA.mousemove.call(this,t)},pointerup:function(t){fA.mouseup.call(this,t)},pointerout:function(t){uA(t)||fA.mouseout.call(this,t)}};eI(["click","dblclick","contextmenu"],(function(t){fA[t]=function(e){e=IM(this.dom,e),this.trigger(t,e)}}));var dA={pointermove:function(t){uA(t)||dA.mousemove.call(this,t)},pointerup:function(t){dA.mouseup.call(this,t)},mousemove:function(t){this.trigger("mousemove",t)},mouseup:function(t){var e=this.__pointerCapturing;this.__togglePointerCapture(!1),this.trigger("mouseup",t),e&&(t.zrEventControl="only_globalout",this.trigger("mouseout",t))}};function pA(t,e){var n=e.domHandlers;Mk.pointerEventsSupported?eI(iA.pointer,(function(r){bA(e,r,(function(e){n[r].call(t,e)}))})):(Mk.touchEventsSupported&&eI(iA.touch,(function(r){bA(e,r,(function(i){n[r].call(t,i),function(t){t.touching=!0,null!=t.touchTimer&&(clearTimeout(t.touchTimer),t.touchTimer=null),t.touchTimer=setTimeout((function(){t.touching=!1,t.touchTimer=null}),700)}(e)}))})),eI(iA.mouse,(function(r){bA(e,r,(function(i){i=kM(i),e.touching||n[r].call(t,i)}))})))}function gA(t,e){function n(n){bA(e,n,(function(r){r=kM(r),lA(t,r.target)||(r=function(t,e){return IM(t.dom,new hA(t,e),!0)}(t,r),e.domHandlers[n].call(t,r))}),{capture:!0})}Mk.pointerEventsSupported?eI(oA,n):Mk.touchEventsSupported||eI(aA,n)}function bA(t,e,n,r){t.mounted[e]=n,t.listenerOpts[e]=r,MM(t.domTarget,e,n,r)}function vA(t){var e,n,r,i,a=t.mounted;for(var o in a)a.hasOwnProperty(o)&&(e=t.domTarget,n=o,r=a[o],i=t.listenerOpts[o],e.removeEventListener(n,r,i));t.mounted={}}var mA=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e};const yA=function(t){function e(e,n){var r=t.call(this)||this;return r.__pointerCapturing=!1,r.dom=e,r.painterRoot=n,r._localHandlerScope=new mA(e,fA),rA&&(r._globalHandlerScope=new mA(document,dA)),pA(r,r._localHandlerScope),r}return zI(e,t),e.prototype.dispose=function(){vA(this._localHandlerScope),rA&&vA(this._globalHandlerScope)},e.prototype.setCursor=function(t){this.dom.style&&(this.dom.style.cursor=t||"default")},e.prototype.__togglePointerCapture=function(t){if(this.__mayPointerCapture=null,rA&&+this.__pointerCapturing^+t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?gA(this,e):vA(e)}},e}(cM);var wA=1;Mk.hasGlobalWindow&&(wA=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var xA=wA,_A="#333",SA="#ccc",kA=DM,IA=5e-5;function MA(t){return t>IA||t<-5e-5}var CA=[],TA=[],AA=[1,0,0,1,0,0],EA=Math.abs,PA=function(){function t(){}return t.prototype.getLocalTransform=function(e){return t.getLocalTransform(this,e)},t.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},t.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},t.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},t.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},t.prototype.needLocalTransform=function(){return MA(this.rotation)||MA(this.x)||MA(this.y)||MA(this.scaleX-1)||MA(this.scaleY-1)||MA(this.skewX)||MA(this.skewY)},t.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;e||t?(n=n||[1,0,0,1,0,0],e?this.getLocalTransform(n):kA(n),t&&(e?LM(n,t,n):OM(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)):n&&kA(n)},t.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(CA);var n=CA[0]<0?-1:1,r=CA[1]<0?-1:1,i=((CA[0]-n)*e+n)/CA[0]||0,a=((CA[1]-r)*e+r)/CA[1]||0;t[0]*=i,t[1]*=i,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||[1,0,0,1,0,0],FM(this.invTransform,t)},t.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},t.prototype.setLocalTransform=function(t){if(t){var e=t[0]*t[0]+t[1]*t[1],n=t[2]*t[2]+t[3]*t[3],r=Math.atan2(t[1],t[0]),i=Math.PI/2+r-Math.atan2(t[3],t[2]);n=Math.sqrt(n)*Math.cos(i),e=Math.sqrt(e),this.skewX=i,this.skewY=0,this.rotation=-r,this.x=+t[4],this.y=+t[5],this.scaleX=e,this.scaleY=n,this.originX=0,this.originY=0}},t.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(LM(TA,t.invTransform,e),e=TA);var n=this.originX,r=this.originY;(n||r)&&(AA[4]=n,AA[5]=r,LM(TA,e,AA),TA[4]-=n,TA[5]-=r,e=TA),this.setLocalTransform(e)}},t.prototype.getGlobalScale=function(t){var e=this.transform;return t=t||[],e?(t[0]=Math.sqrt(e[0]*e[0]+e[1]*e[1]),t[1]=Math.sqrt(e[2]*e[2]+e[3]*e[3]),e[0]<0&&(t[0]=-t[0]),e[3]<0&&(t[1]=-t[1]),t):(t[0]=1,t[1]=1,t)},t.prototype.transformCoordToLocal=function(t,e){var n=[t,e],r=this.invTransform;return r&&nM(n,n,r),n},t.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],r=this.transform;return r&&nM(n,n,r),n},t.prototype.getLineScale=function(){var t=this.transform;return t&&EA(t[0]-1)>1e-10&&EA(t[3]-1)>1e-10?Math.sqrt(EA(t[0]*t[3]-t[2]*t[1])):1},t.prototype.copyTransform=function(t){OA(this,t)},t.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,i=t.scaleX,a=t.scaleY,o=t.anchorX,s=t.anchorY,u=t.rotation||0,c=t.x,l=t.y,h=t.skewX?Math.tan(t.skewX):0,f=t.skewY?Math.tan(-t.skewY):0;if(n||r||o||s){var d=n+o,p=r+s;e[4]=-d*i-h*p*a,e[5]=-p*a-f*d*i}else e[4]=e[5]=0;return e[0]=i,e[3]=a,e[1]=f*i,e[2]=h*a,u&&NM(e,e,u),e[4]+=n+c,e[5]+=r+l,e},t.initDefaultProps=function(){var e=t.prototype;e.scaleX=e.scaleY=e.globalScaleRatio=1,e.x=e.y=e.originX=e.originY=e.skewX=e.skewY=e.rotation=e.anchorX=e.anchorY=0}(),t}(),DA=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];function OA(t,e){for(var n=0;n<DA.length;n++){var r=DA[n];t[r]=e[r]}}const LA=PA;var RA={};function NA(t,e){var n=RA[e=e||Tk];n||(n=RA[e]=new JC(500));var r=n.get(t);return null==r&&(r=Dk.measureText(t,e).width,n.put(t,r)),r}function jA(t,e,n,r){var i=NA(t,e),a=$A(e),o=BA(0,i,n),s=zA(0,a,r);return new KM(o,s,i,a)}function FA(t,e,n,r){var i=((t||"")+"").split("\n");if(1===i.length)return jA(i[0],e,n,r);for(var a=new KM(0,0,0,0),o=0;o<i.length;o++){var s=jA(i[o],e,n,r);0===o?a.copy(s):a.union(s)}return a}function BA(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function zA(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function $A(t){return NA("国",t)}function VA(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function HA(t,e,n){var r=e.position||"inside",i=null!=e.distance?e.distance:5,a=n.height,o=n.width,s=a/2,u=n.x,c=n.y,l="left",h="top";if(r instanceof Array)u+=VA(r[0],n.width),c+=VA(r[1],n.height),l=null,h=null;else switch(r){case"left":u-=i,c+=s,l="right",h="middle";break;case"right":u+=i+o,c+=s,h="middle";break;case"top":u+=o/2,c-=i,l="center",h="bottom";break;case"bottom":u+=o/2,c+=a+i,l="center";break;case"inside":u+=o/2,c+=s,l="center",h="middle";break;case"insideLeft":u+=i,c+=s,h="middle";break;case"insideRight":u+=o-i,c+=s,l="right",h="middle";break;case"insideTop":u+=o/2,c+=i,l="center";break;case"insideBottom":u+=o/2,c+=a-i,l="center",h="bottom";break;case"insideTopLeft":u+=i,c+=i;break;case"insideTopRight":u+=o-i,c+=i,l="right";break;case"insideBottomLeft":u+=i,c+=a-i,h="bottom";break;case"insideBottomRight":u+=o-i,c+=a-i,l="right",h="bottom"}return(t=t||{}).x=u,t.y=c,t.align=l,t.verticalAlign=h,t}var WA="__zr_normal__",GA=DA.concat(["ignore"]),UA=rI(DA,(function(t,e){return t[e]=!0,t}),{ignore:!1}),XA={},qA=new KM(0,0,0,0),YA=function(){function t(t){this.id=Gk(),this.animators=[],this.currentStates=[],this.states={},this._init(t)}return t.prototype._init=function(t){this.attr(t)},t.prototype.drift=function(t,e,n){switch(this.draggable){case"horizontal":e=0;break;case"vertical":t=0}var r=this.transform;r||(r=this.transform=[1,0,0,1,0,0]),r[4]+=t,r[5]+=e,this.decomposeTransform(),this.markRedraw()},t.prototype.beforeUpdate=function(){},t.prototype.afterUpdate=function(){},t.prototype.update=function(){this.updateTransform(),this.__dirty&&this.updateInnerText()},t.prototype.updateInnerText=function(t){var e=this._textContent;if(e&&(!e.ignore||t)){this.textConfig||(this.textConfig={});var n=this.textConfig,r=n.local,i=e.innerTransformable,a=void 0,o=void 0,s=!1;i.parent=r?this:null;var u=!1;if(i.copyTransform(e),null!=n.position){var c=qA;n.layoutRect?c.copy(n.layoutRect):c.copy(this.getBoundingRect()),r||c.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(XA,n,c):HA(XA,n,c),i.x=XA.x,i.y=XA.y,a=XA.align,o=XA.verticalAlign;var l=n.origin;if(l&&null!=n.rotation){var h=void 0,f=void 0;"center"===l?(h=.5*c.width,f=.5*c.height):(h=VA(l[0],c.width),f=VA(l[1],c.height)),u=!0,i.originX=-i.x+h+(r?0:c.x),i.originY=-i.y+f+(r?0:c.y)}}null!=n.rotation&&(i.rotation=n.rotation);var d=n.offset;d&&(i.x+=d[0],i.y+=d[1],u||(i.originX=-d[0],i.originY=-d[1]));var p=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,g=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),b=void 0,v=void 0,m=void 0;p&&this.canBeInsideText()?(b=n.insideFill,v=n.insideStroke,null!=b&&"auto"!==b||(b=this.getInsideTextFill()),null!=v&&"auto"!==v||(v=this.getInsideTextStroke(b),m=!0)):(b=n.outsideFill,v=n.outsideStroke,null!=b&&"auto"!==b||(b=this.getOutsideFill()),null!=v&&"auto"!==v||(v=this.getOutsideStroke(b),m=!0)),(b=b||"#000")===g.fill&&v===g.stroke&&m===g.autoStroke&&a===g.align&&o===g.verticalAlign||(s=!0,g.fill=b,g.stroke=v,g.autoStroke=m,g.align=a,g.verticalAlign=o,e.setDefaultTextStyle(g)),e.__dirty|=1,s&&e.dirtyStyle(!0)}},t.prototype.canBeInsideText=function(){return!0},t.prototype.getInsideTextFill=function(){return"#fff"},t.prototype.getInsideTextStroke=function(t){return"#000"},t.prototype.getOutsideFill=function(){return this.__zr&&this.__zr.isDarkMode()?SA:_A},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&fT(e);n||(n=[255,255,255,1]);for(var r=n[3],i=this.__zr.isDarkMode(),a=0;a<3;a++)n[a]=n[a]*r+(i?0:255)*(1-r);return n[3]=1,yT(n,"rgba")},t.prototype.traverse=function(t,e){},t.prototype.attrKV=function(t,e){"textConfig"===t?this.setTextConfig(e):"textContent"===t?this.setTextContent(e):"clipPath"===t?this.setClipPath(e):"extra"===t?(this.extra=this.extra||{},Kk(this.extra,e)):this[t]=e},t.prototype.hide=function(){this.ignore=!0,this.markRedraw()},t.prototype.show=function(){this.ignore=!1,this.markRedraw()},t.prototype.attr=function(t,e){if("string"==typeof t)this.attrKV(t,e);else if(dI(t))for(var n=aI(t),r=0;r<n.length;r++){var i=n[r];this.attrKV(i,t[i])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var r=this.animators[n],i=r.__fromStateTransition;if(!(r.getLoop()||i&&i!==WA)){var a=r.targetName,o=a?e[a]:e;r.saveTo(o)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,GA)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null==t[i]||i in e||(e[i]=this[i])}},t.prototype.hasState=function(){return this.currentStates.length>0},t.prototype.getState=function(t){return this.states[t]},t.prototype.ensureState=function(t){var e=this.states;return e[t]||(e[t]={}),e[t]},t.prototype.clearStates=function(t){this.useState(WA,!1,t)},t.prototype.useState=function(t,e,n,r){var i=t===WA;if(this.hasState()||!i){var a=this.currentStates,o=this.stateTransition;if(!(Qk(a,t)>=0)||!e&&1!==a.length){var s;if(this.stateProxy&&!i&&(s=this.stateProxy(t)),s||(s=this.states&&this.states[t]),s||i){i||this.saveCurrentToNormalState(s);var u=!!(s&&s.hoverLayer||r);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,s,this._normalState,e,!n&&!this.__inHover&&o&&o.duration>0,o);var c=this._textContent,l=this._textGuide;return c&&c.useState(t,e,n,u),l&&l.useState(t,e,n,u),i?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2),s}Uk("State "+t+" not exists.")}}},t.prototype.useStates=function(t,e,n){if(t.length){var r=[],i=this.currentStates,a=t.length,o=a===i.length;if(o)for(var s=0;s<a;s++)if(t[s]!==i[s]){o=!1;break}if(o)return;for(s=0;s<a;s++){var u=t[s],c=void 0;this.stateProxy&&(c=this.stateProxy(u,t)),c||(c=this.states[u]),c&&r.push(c)}var l=r[a-1],h=!!(l&&l.hoverLayer||n);h&&this._toggleHoverLayerFlag(!0);var f=this._mergeStates(r),d=this.stateTransition;this.saveCurrentToNormalState(f),this._applyStateObj(t.join(","),f,this._normalState,!1,!e&&!this.__inHover&&d&&d.duration>0,d);var p=this._textContent,g=this._textGuide;p&&p.useStates(t,e,h),g&&g.useStates(t,e,h),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!h&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=-2)}else this.clearStates()},t.prototype._updateAnimationTargets=function(){for(var t=0;t<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=Qk(this.currentStates,t);if(e>=0){var n=this.currentStates.slice();n.splice(e,1),this.useStates(n)}},t.prototype.replaceState=function(t,e,n){var r=this.currentStates.slice(),i=Qk(r,t),a=Qk(r,e)>=0;i>=0?a?r.splice(i,1):r[i]=e:n&&!a&&r.push(e),this.useStates(r)},t.prototype.toggleState=function(t,e){e?this.useState(t,!0):this.removeState(t)},t.prototype._mergeStates=function(t){for(var e,n={},r=0;r<t.length;r++){var i=t[r];Kk(n,i),i.textConfig&&Kk(e=e||{},i.textConfig)}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,r,i,a){var o=!(e&&r);e&&e.textConfig?(this.textConfig=Kk({},r?this.textConfig:n.textConfig),Kk(this.textConfig,e.textConfig)):o&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,c=0;c<GA.length;c++){var l=GA[c],h=i&&UA[l];e&&null!=e[l]?h?(u=!0,s[l]=e[l]):this[l]=e[l]:o&&null!=n[l]&&(h?(u=!0,s[l]=n[l]):this[l]=n[l])}if(!i)for(c=0;c<this.animators.length;c++){var f=this.animators[c],d=f.targetName;f.getLoop()||f.__changeFinalValue(d?(e||n)[d]:e||n)}u&&this._transitionState(t,s,a)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new LA,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),Kk(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=1;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var r=t?this[t]:this;var i=new ZT(r,e,n);return t&&(i.targetName=t),this.addAnimator(i,t),i},t.prototype.addAnimator=function(t,e){var n=this.__zr,r=this;t.during((function(){r.updateDuringAnimation(e)})).done((function(){var e=r.animators,n=Qk(e,t);n>=0&&e.splice(n,1)})),this.animators.push(t),n&&n.animation.addAnimator(t),n&&n.wakeUp()},t.prototype.updateDuringAnimation=function(t){this.markRedraw()},t.prototype.stopAnimation=function(t,e){for(var n=this.animators,r=n.length,i=[],a=0;a<r;a++){var o=n[a];t&&t!==o.scope?i.push(o):o.stop(e)}return this.animators=i,this},t.prototype.animateTo=function(t,e,n){KA(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){KA(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,r){for(var i=KA(this,e,n,r),a=0;a<i.length;a++)i[a].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=1;function n(t,n,r,i){function a(t,e){Object.defineProperty(e,0,{get:function(){return t[r]},set:function(e){t[r]=e}}),Object.defineProperty(e,1,{get:function(){return t[i]},set:function(e){t[i]=e}})}Object.defineProperty(e,t,{get:function(){this[n]||a(this,this[n]=[]);return this[n]},set:function(t){this[r]=t[0],this[i]=t[1],this[n]=t,a(this,t)}})}Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function KA(t,e,n,r,i){var a=[];JA(t,"",t,e,n=n||{},r,a,i);var o=a.length,s=!1,u=n.done,c=n.aborted,l=function(){s=!0,--o<=0&&(s?u&&u():c&&c())},h=function(){--o<=0&&(s?u&&u():c&&c())};o||u&&u(),a.length>0&&n.during&&a[0].during((function(t,e){n.during(e)}));for(var f=0;f<a.length;f++){var d=a[f];l&&d.done(l),h&&d.aborted(h),n.force&&d.duration(n.duration),d.start(n.easing)}return a}function ZA(t,e,n){for(var r=0;r<n;r++)t[r]=e[r]}function QA(t,e,n){if(tI(e[n]))if(tI(t[n])||(t[n]=[]),gI(e[n])){var r=e[n].length;t[n].length!==r&&(t[n]=new e[n].constructor(r),ZA(t[n],e[n],r))}else{var i=e[n],a=t[n],o=i.length;if(tI(i[0]))for(var s=i[0].length,u=0;u<o;u++)a[u]?ZA(a[u],i[u],s):a[u]=Array.prototype.slice.call(i[u]);else ZA(a,i,o);a.length=i.length}else t[n]=e[n]}function JA(t,e,n,r,i,a,o,s){for(var u=aI(r),c=i.duration,l=i.delay,h=i.additive,f=i.setToFinal,d=!dI(a),p=t.animators,g=[],b=0;b<u.length;b++){var v=u[b],m=r[v];if(null!=m&&null!=n[v]&&(d||a[v]))if(!dI(m)||tI(m)||vI(m))g.push(v);else{if(e){s||(n[v]=m,t.updateDuringAnimation(e));continue}JA(t,v,n[v],m,i,a&&a[v],o,s)}else s||(n[v]=m,t.updateDuringAnimation(e),g.push(v))}var y=g.length;if(!h&&y)for(var w=0;w<p.length;w++){if((_=p[w]).targetName===e)if(_.stopTracks(g)){var x=Qk(p,_);p.splice(x,1)}}if(i.force||(g=iI(g,(function(t){return e=r[t],i=n[t],!(e===i||tI(e)&&tI(i)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}(e,i));var e,i})),y=g.length),y>0||i.force&&!o.length){var _,S=void 0,k=void 0,I=void 0;if(s){k={},f&&(S={});for(w=0;w<y;w++){k[v=g[w]]=n[v],f?S[v]=r[v]:n[v]=r[v]}}else if(f){I={};for(w=0;w<y;w++){I[v=g[w]]=WT(n[v]),QA(n,r,v)}}(_=new ZT(n,!1,!1,h?iI(p,(function(t){return t.targetName===e})):null)).targetName=e,i.scope&&(_.scope=i.scope),f&&S&&_.whenWithKeys(0,S,g),I&&_.whenWithKeys(0,I,g),_.whenWithKeys(null==c?500:c,s?k:r,g).delay(l||0),t.addAnimator(_,e),o.push(_)}}Jk(YA,cM),Jk(YA,LA);const tE=YA;var eE=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return zI(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.children=function(){return this._children.slice()},e.prototype.childAt=function(t){return this._children[t]},e.prototype.childOfName=function(t){for(var e=this._children,n=0;n<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,r=n.indexOf(e);r>=0&&(n.splice(r,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=Qk(this._children,t);return n>=0&&this.replaceAt(e,n),this},e.prototype.replaceAt=function(t,e){var n=this._children,r=n[e];if(t&&t!==this&&t.parent!==this&&t!==r){n[e]=t,r.parent=null;var i=this.__zr;i&&r.removeSelfFromZr(i),this._doAdd(t)}return this},e.prototype._doAdd=function(t){t.parent&&t.parent.remove(t),t.parent=this;var e=this.__zr;e&&e!==t.__zr&&t.addSelfToZr(e),e&&e.refresh()},e.prototype.remove=function(t){var e=this.__zr,n=this._children,r=Qk(n,t);return r<0||(n.splice(r,1),t.parent=null,e&&t.removeSelfFromZr(e),e&&e.refresh()),this},e.prototype.removeAll=function(){for(var t=this._children,e=this.__zr,n=0;n<t.length;n++){var r=t[n];e&&r.removeSelfFromZr(e),r.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,r=0;r<n.length;r++){var i=n[r];t.call(e,i,r)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var r=this._children[n],i=t.call(e,r);r.isGroup&&!i&&r.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].addSelfToZr(e)}},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++){this._children[n].removeSelfFromZr(e)}},e.prototype.getBoundingRect=function(t){for(var e=new KM(0,0,0,0),n=t||this._children,r=[],i=null,a=0;a<n.length;a++){var o=n[a];if(!o.ignore&&!o.invisible){var s=o.getBoundingRect(),u=o.getLocalTransform(r);u?(KM.applyTransform(e,s,u),(i=i||e.clone()).union(e)):(i=i||s.clone()).union(s)}}return i||e},e}(tE);eE.prototype.type="group";const nE=eE;var rE={},iE={};var aE=function(){function t(t,e,n){var r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var i=new mC,a=n.renderer||"canvas";rE[a]||(a=aI(rE)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var o=new rE[a](e,i,n,t),s=n.ssr||o.ssrOnly;this.storage=i,this.painter=o;var u,c=Mk.node||Mk.worker||s?null:new yA(o.getViewportRoot(),o.root),l=n.useCoarsePointer;(null==l||"auto"===l?Mk.touchEventsSupported:!!l)&&(u=wI(n.pointerSize,44)),this.handler=new sC(i,o,c,o.root,u),this.animation=new tA({stage:{update:s?null:function(){return r._flush(!0)}}}),s||this.animation.start()}return t.prototype.add=function(t){t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh()},t.prototype.setBackgroundColor=function(t){this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return wT(t,1)<.4;if(t.colorStops){for(var e=t.colorStops,n=0,r=e.length,i=0;i<r;i++)n+=wT(e[i].color,1);return(n/=r)<.4}return!1}(t)},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1},t.prototype.refresh=function(){this._needsRefresh=!0,this.animation.start()},t.prototype.flush=function(){this._flush(!1)},t.prototype._flush=function(t){var e,n=QT();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var r=QT();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:r-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},t.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},t.prototype.wakeUp=function(){this.animation.start(),this._stillFrameAccum=0},t.prototype.refreshHover=function(){this._needsRefreshHover=!0},t.prototype.refreshHoverImmediately=function(){this._needsRefreshHover=!1,this.painter.refreshHover&&"canvas"===this.painter.getType()&&this.painter.refreshHover()},t.prototype.resize=function(t){t=t||{},this.painter.resize(t.width,t.height),this.handler.resize()},t.prototype.clearAnimation=function(){this.animation.clear()},t.prototype.getWidth=function(){return this.painter.getWidth()},t.prototype.getHeight=function(){return this.painter.getHeight()},t.prototype.setCursorStyle=function(t){this.handler.setCursorStyle(t)},t.prototype.findHover=function(t,e){return this.handler.findHover(t,e)},t.prototype.on=function(t,e,n){return this.handler.on(t,e,n),this},t.prototype.off=function(t,e){this.handler.off(t,e)},t.prototype.trigger=function(t,e){this.handler.trigger(t,e)},t.prototype.clear=function(){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof nE&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()},t.prototype.dispose=function(){this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,function(t){delete iE[t]}(this.id)},t}();function oE(t,e){var n=new aE(Gk(),t,e);return iE[n.id]=n,n}var sE=1e-4;function uE(t,e,n,r){var i=e[0],a=e[1],o=n[0],s=n[1],u=a-i,c=s-o;if(0===u)return 0===c?o:(o+s)/2;if(r)if(u>0){if(t<=i)return o;if(t>=a)return s}else{if(t>=i)return o;if(t<=a)return s}else{if(t===i)return o;if(t===a)return s}return(t-i)/u*c+o}function cE(t,e){switch(t){case"center":case"middle":t="50%";break;case"left":case"top":t="0%";break;case"right":case"bottom":t="100%"}return lI(t)?(n=t,n.replace(/^\s+|\s+$/g,"")).match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t;var n}function lE(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function hE(t){return t.sort((function(t,e){return t-e})),t}function fE(t){if(t=+t,isNaN(t))return 0;if(t>1e-14)for(var e=1,n=0;n<15;n++,e*=10)if(Math.round(t*e)/e===t)return n;return function(t){var e=t.toString().toLowerCase(),n=e.indexOf("e"),r=n>0?+e.slice(n+1):0,i=n>0?n:e.length,a=e.indexOf("."),o=a<0?0:i-1-a;return Math.max(0,o-r)}(t)}function dE(t,e){var n=Math.log,r=Math.LN10,i=Math.floor(n(t[1]-t[0])/r),a=Math.round(n(Math.abs(e[1]-e[0]))/r),o=Math.min(Math.max(-i+a,0),20);return isFinite(o)?o:20}function pE(t,e){var n=rI(t,(function(t,e){return t+(isNaN(e)?0:e)}),0);if(0===n)return[];for(var r=Math.pow(10,e),i=nI(t,(function(t){return(isNaN(t)?0:t)/n*r*100})),a=100*r,o=nI(i,(function(t){return Math.floor(t)})),s=rI(o,(function(t,e){return t+e}),0),u=nI(i,(function(t,e){return t-o[e]}));s<a;){for(var c=Number.NEGATIVE_INFINITY,l=null,h=0,f=u.length;h<f;++h)u[h]>c&&(c=u[h],l=h);++o[l],u[l]=0,++s}return nI(o,(function(t){return t/r}))}function gE(t,e){var n=Math.max(fE(t),fE(e)),r=t+e;return n>20?r:lE(r,n)}var bE=9007199254740991;function vE(t){var e=2*Math.PI;return(t%e+e)%e}function mE(t){return t>-1e-4&&t<sE}var yE=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function wE(t){if(t instanceof Date)return t;if(lI(t)){var e=yE.exec(t);if(!e)return new Date(NaN);if(e[8]){var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=+e[8].slice(0,3)),new Date(Date.UTC(+e[1],+(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return new Date(+e[1],+(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0)}return null==t?new Date(NaN):new Date(Math.round(t))}function xE(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function _E(t,e){var n=xE(t),r=Math.pow(10,n),i=t/r;return t=(e?i<1.5?1:i<2.5?2:i<4?3:i<7?5:10:i<1?1:i<2?2:i<3?3:i<5?5:10)*r,n>=-20?+t.toFixed(n<0?-n:0):t}function SE(t,e){var n=(t.length-1)*e+1,r=Math.floor(n),i=+t[r-1],a=n-r;return a?i+a*(t[r]-i):i}function kE(t){t.sort((function(t,e){return s(t,e,0)?-1:1}));for(var e=-1/0,n=1,r=0;r<t.length;){for(var i=t[r].interval,a=t[r].close,o=0;o<2;o++)i[o]<=e&&(i[o]=e,a[o]=o?1:1-n),e=i[o],n=a[o];i[0]===i[1]&&a[0]*a[1]!=1?t.splice(r,1):r++}return t;function s(t,e,n){return t.interval[n]<e.interval[n]||t.interval[n]===e.interval[n]&&(t.close[n]-e.close[n]==(n?-1:1)||!n&&s(t,e,1))}}function IE(t){var e=parseFloat(t);return e==t&&(0!==e||!lI(t)||t.indexOf("x")<=0)?e:NaN}function ME(t){return!isNaN(IE(t))}function CE(){return Math.round(9*Math.random())}function TE(t,e){return 0===e?t:TE(e,t%e)}function AE(t,e){return null==t?e:null==e?t:t*e/TE(t,e)}function EE(t,e,n){return(e-t)*n+t}var PE="series\0",DE="\0_ec_\0";function OE(t){return t instanceof Array?t:null==t?[]:[t]}function LE(t,e,n){if(t){t[e]=t[e]||{},t.emphasis=t.emphasis||{},t.emphasis[e]=t.emphasis[e]||{};for(var r=0,i=n.length;r<i;r++){var a=n[r];!t.emphasis[e].hasOwnProperty(a)&&t[e].hasOwnProperty(a)&&(t.emphasis[e][a]=t[e][a])}}}var RE=["fontStyle","fontWeight","fontSize","fontFamily","rich","tag","color","textBorderColor","textBorderWidth","width","height","lineHeight","align","verticalAlign","baseline","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY","backgroundColor","borderColor","borderWidth","borderRadius","padding"];function NE(t){return!dI(t)||uI(t)||t instanceof Date?t:t.value}function jE(t){return dI(t)&&!(t instanceof Array)}function FE(t,e,n){var r="normalMerge"===n,i="replaceMerge"===n,a="replaceAll"===n;t=t||[],e=(e||[]).slice();var o=DI();eI(e,(function(t,n){dI(t)||(e[n]=null)}));var s,u,c=function(t,e,n){var r=[];if("replaceAll"===n)return r;for(var i=0;i<t.length;i++){var a=t[i];a&&null!=a.id&&e.set(a.id,i),r.push({existing:"replaceMerge"===n||HE(a)?null:a,newOption:null,keyInfo:null,brandNew:null})}return r}(t,o,n);return(r||i)&&function(t,e,n,r){eI(r,(function(i,a){if(i&&null!=i.id){var o=zE(i.id),s=n.get(o);if(null!=s){var u=t[s];kI(!u.newOption,'Duplicated option on id "'+o+'".'),u.newOption=i,u.existing=e[s],r[a]=null}}}))}(c,t,o,e),r&&function(t,e){eI(e,(function(n,r){if(n&&null!=n.name)for(var i=0;i<t.length;i++){var a=t[i].existing;if(!t[i].newOption&&a&&(null==a.id||null==n.id)&&!HE(n)&&!HE(a)&&BE("name",a,n))return t[i].newOption=n,void(e[r]=null)}}))}(c,e),r||i?function(t,e,n){eI(e,(function(e){if(e){for(var r,i=0;(r=t[i])&&(r.newOption||HE(r.existing)||r.existing&&null!=e.id&&!BE("id",e,r.existing));)i++;r?(r.newOption=e,r.brandNew=n):t.push({newOption:e,brandNew:n,existing:null,keyInfo:null}),i++}}))}(c,e,i):a&&function(t,e){eI(e,(function(e){t.push({newOption:e,brandNew:!0,existing:null,keyInfo:null})}))}(c,e),s=c,u=DI(),eI(s,(function(t){var e=t.existing;e&&u.set(e.id,t)})),eI(s,(function(t){var e=t.newOption;kI(!e||null==e.id||!u.get(e.id)||u.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&u.set(e.id,t),!t.keyInfo&&(t.keyInfo={})})),eI(s,(function(t,e){var n=t.existing,r=t.newOption,i=t.keyInfo;if(dI(r)){if(i.name=null!=r.name?zE(r.name):n?n.name:PE+e,n)i.id=zE(n.id);else if(null!=r.id)i.id=zE(r.id);else{var a=0;do{i.id="\0"+i.name+"\0"+a++}while(u.get(i.id))}u.set(i.id,t)}})),c}function BE(t,e,n){var r=$E(e[t],null),i=$E(n[t],null);return null!=r&&null!=i&&r===i}function zE(t){return $E(t,"")}function $E(t,e){return null==t?e:lI(t)?t:fI(t)||hI(t)?t+"":e}function VE(t){var e=t.name;return!(!e||!e.indexOf(PE))}function HE(t){return t&&null!=t.id&&0===zE(t.id).indexOf(DE)}function WE(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?uI(e.dataIndex)?nI(e.dataIndex,(function(e){return t.indexOfRawIndex(e)})):t.indexOfRawIndex(e.dataIndex):null!=e.name?uI(e.name)?nI(e.name,(function(e){return t.indexOfName(e)})):t.indexOfName(e.name):void 0}function GE(){var t="__ec_inner_"+UE++;return function(e){return e[t]||(e[t]={})}}var UE=CE();function XE(t,e,n){var r=qE(e,n),i=r.mainTypeSpecified,a=r.queryOptionMap,o=r.others,s=n?n.defaultMainType:null;return!i&&s&&a.set(s,{}),a.each((function(e,r){var i=ZE(t,r,e,{useDefault:s===r,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});o[r+"Models"]=i.models,o[r+"Model"]=i.models[0]})),o}function qE(t,e){var n;if(lI(t)){var r={};r[t+"Index"]=0,n=r}else n=t;var i=DI(),a={},o=!1;return eI(n,(function(t,n){if("dataIndex"!==n&&"dataIndexInside"!==n){var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],s=r[1],u=(r[2]||"").toLowerCase();if(s&&u&&!(e&&e.includeMainTypes&&Qk(e.includeMainTypes,s)<0))o=o||!!s,(i.get(s)||i.set(s,{}))[u]=t}else a[n]=t})),{mainTypeSpecified:o,queryOptionMap:i,others:a}}var YE={useDefault:!0,enableAll:!1,enableNone:!1},KE={useDefault:!1,enableAll:!0,enableNone:!0};function ZE(t,e,n,r){r=r||YE;var i=n.index,a=n.id,o=n.name,s={models:null,specified:null!=i||null!=a||null!=o};if(!s.specified){var u=void 0;return s.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],s}return"none"===i||!1===i?(kI(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),s.models=[],s):("all"===i&&(kI(r.enableAll,'`"all"` is not a valid value on index option.'),i=a=o=null),s.models=t.queryComponents({mainType:e,index:i,id:a,name:o}),s)}function QE(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function JE(t,e){var n=DI(),r=[];return eI(t,(function(t){var i=e(t);(n.get(i)||(r.push(i),n.set(i,[]))).push(t)})),{keys:r,buckets:n}}function tP(t,e,n,r,i){var a=null==e||"auto"===e;if(null==r)return r;if(fI(r))return lE(p=EE(n||0,r,i),a?Math.max(fE(n||0),fE(r)):e);if(lI(r))return i<1?n:r;for(var o=[],s=n,u=r,c=Math.max(s?s.length:0,u.length),l=0;l<c;++l){var h=t.getDimensionInfo(l);if(h&&"ordinal"===h.type)o[l]=(i<1&&s?s:u)[l];else{var f=s&&s[l]?s[l]:0,d=u[l],p=EE(f,d,i);o[l]=lE(p,a?Math.max(fE(f),fE(d)):e)}}return o}var eP="___EC__COMPONENT__CONTAINER___",nP="___EC__EXTENDED_CLASS___";function rP(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function iP(t,e){t.$constructor=t,t.extend=function(t){var e,n,r=this;return cI(n=r)&&/^class\s/.test(Function.prototype.toString.call(n))?e=function(t){function e(){return t.apply(this,arguments)||this}return Sk(e,t),e}(r):(e=function(){(t.$constructor||r).apply(this,arguments)},function(t,e){var n=t.prototype;function r(){}for(var i in r.prototype=e.prototype,t.prototype=new r,n)n.hasOwnProperty(i)&&(t.prototype[i]=n[i]);t.prototype.constructor=t,t.superClass=e}(e,this)),Kk(e.prototype,t),e[nP]=!0,e.extend=this.extend,e.superCall=sP,e.superApply=uP,e.superClass=r,e}}function aP(t,e){t.extend=e.extend}var oP=Math.round(10*Math.random());function sP(t,e){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];return this.superClass.prototype[e].apply(t,n)}function uP(t,e,n){return this.superClass.prototype[e].apply(t,n)}function cP(t){var e={};t.registerClass=function(t){var n,r=t.type||t.prototype.type;if(r){kI(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n=r),'componentType "'+n+'" illegal'),t.prototype.type=r;var i=rP(r);if(i.sub){if(i.sub!==eP){var a=function(t){var n=e[t.main];n&&n[eP]||((n=e[t.main]={})[eP]=!0);return n}(i);a[i.sub]=t}}else e[i.main]=t}return t},t.getClass=function(t,n,r){var i=e[t];if(i&&i[eP]&&(i=n?i[n]:null),r&&!i)throw new Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return i},t.getClassesByMainType=function(t){var n=rP(t),r=[],i=e[n.main];return i&&i[eP]?eI(i,(function(t,e){e!==eP&&r.push(t)})):r.push(i),r},t.hasClass=function(t){var n=rP(t);return!!e[n.main]},t.getAllClassMainTypes=function(){var t=[];return eI(e,(function(e,n){t.push(n)})),t},t.hasSubTypes=function(t){var n=rP(t),r=e[n.main];return r&&r[eP]}}function lP(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,i){for(var a={},o=0;o<t.length;o++){var s=t[o][1];if(!(r&&Qk(r,s)>=0||i&&Qk(i,s)<0)){var u=n.getShallow(s,e);null!=u&&(a[t[o][0]]=u)}}return a}}var hP=lP([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),fP=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return hP(this,t,e)},t}(),dP=new JC(50);function pP(t){if("string"==typeof t){var e=dP.get(t);return e&&e.image}return t}function gP(t,e,n,r,i){if(t){if("string"==typeof t){if(e&&e.__zrImageSrc===t||!n)return e;var a=dP.get(t),o={hostEl:n,cb:r,cbPayload:i};return a?!vP(e=a.image)&&a.pending.push(o):((e=Dk.loadImage(t,bP,bP)).__zrImageSrc=t,dP.put(t,e.__cachedImgObj={image:e,pending:[o]})),e}return t}return e}function bP(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],r=n.cb;r&&r(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function vP(t){return t&&t.width&&t.height}var mP=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function yP(t,e,n,r,i){if(!e)return"";var a=(t+"").split("\n");i=wP(e,n,r,i);for(var o=0,s=a.length;o<s;o++)a[o]=xP(a[o],i);return a.join("\n")}function wP(t,e,n,r){var i=Kk({},r=r||{});i.font=e,n=wI(n,"..."),i.maxIterations=wI(r.maxIterations,2);var a=i.minChar=wI(r.minChar,0);i.cnCharWidth=NA("国",e);var o=i.ascCharWidth=NA("a",e);i.placeholder=wI(r.placeholder,"");for(var s=t=Math.max(0,t-1),u=0;u<a&&s>=o;u++)s-=o;var c=NA(n,e);return c>s&&(n="",c=0),s=t-c,i.ellipsis=n,i.ellipsisWidth=c,i.contentWidth=s,i.containerWidth=t,i}function xP(t,e){var n=e.containerWidth,r=e.font,i=e.contentWidth;if(!n)return"";var a=NA(t,r);if(a<=n)return t;for(var o=0;;o++){if(a<=i||o>=e.maxIterations){t+=e.ellipsis;break}var s=0===o?_P(t,i,e.ascCharWidth,e.cnCharWidth):a>0?Math.floor(t.length*i/a):0;a=NA(t=t.substr(0,s),r)}return""===t&&(t=e.placeholder),t}function _P(t,e,n,r){for(var i=0,a=0,o=t.length;a<o&&i<e;a++){var s=t.charCodeAt(a);i+=0<=s&&s<=127?n:r}return a}var SP=function(){},kP=function(t){this.tokens=[],t&&(this.tokens=t)},IP=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[]};function MP(t,e,n,r,i){var a,o,s=""===e,u=i&&n.rich[i]||{},c=t.lines,l=u.font||n.font,h=!1;if(r){var f=u.padding,d=f?f[1]+f[3]:0;if(null!=u.width&&"auto"!==u.width){var p=VA(u.width,r.width)+d;c.length>0&&p+r.accumWidth>r.width&&(a=e.split("\n"),h=!0),r.accumWidth=p}else{var g=AP(e,l,r.width,r.breakAll,r.accumWidth);r.accumWidth=g.accumWidth+d,o=g.linesWidths,a=g.lines}}else a=e.split("\n");for(var b=0;b<a.length;b++){var v=a[b],m=new SP;if(m.styleName=i,m.text=v,m.isLineHolder=!v&&!s,"number"==typeof u.width?m.width=u.width:m.width=o?o[b]:NA(v,l),b||h)c.push(new kP([m]));else{var y=(c[c.length-1]||(c[0]=new kP)).tokens,w=y.length;1===w&&y[0].isLineHolder?y[0]=m:(v||!w||s)&&y.push(m)}}}var CP=rI(",&?/;] ".split(""),(function(t,e){return t[e]=!0,t}),{});function TP(t){return!function(t){var e=t.charCodeAt(0);return e>=32&&e<=591||e>=880&&e<=4351||e>=4608&&e<=5119||e>=7680&&e<=8303}(t)||!!CP[t]}function AP(t,e,n,r,i){for(var a=[],o=[],s="",u="",c=0,l=0,h=0;h<t.length;h++){var f=t.charAt(h);if("\n"!==f){var d=NA(f,e),p=!r&&!TP(f);(a.length?l+d>n:i+l+d>n)?l?(s||u)&&(p?(s||(s=u,u="",l=c=0),a.push(s),o.push(l-c),u+=f,s="",l=c+=d):(u&&(s+=u,u="",c=0),a.push(s),o.push(l),s=f,l=d)):p?(a.push(u),o.push(c),u=f,c=d):(a.push(f),o.push(d)):(l+=d,p?(u+=f,c+=d):(u&&(s+=u,u="",c=0),s+=f))}else u&&(s+=u,l+=c),a.push(s),o.push(l),s="",u="",c=0,l=0}return a.length||s||(s=t,u="",c=0),u&&(s+=u),s&&(a.push(s),o.push(l)),1===a.length&&(l+=i),{accumWidth:l,lines:a,linesWidths:o}}var EP="__zr_style_"+Math.round(10*Math.random()),PP={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},DP={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};PP[EP]=!0;var OP=["z","z2","invisible"],LP=["invisible"],RP=function(t){function e(e){return t.call(this,e)||this}var n;return zI(e,t),e.prototype._init=function(e){for(var n=aI(e),r=0;r<n.length;r++){var i=n[r];"style"===i?this.useStyle(e[i]):t.prototype.attrKV.call(this,i,e[i])}this.style||this.useStyle({})},e.prototype.beforeBrush=function(){},e.prototype.afterBrush=function(){},e.prototype.innerBeforeBrush=function(){},e.prototype.innerAfterBrush=function(){},e.prototype.shouldBePainted=function(t,e,n,r){var i=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&function(t,e,n){NP.copy(t.getBoundingRect()),t.transform&&NP.applyTransform(t.transform);return jP.width=e,jP.height=n,!NP.intersect(jP)}(this,t,e)||i&&!i[0]&&!i[3])return!1;if(n&&this.__clipPaths)for(var a=0;a<this.__clipPaths.length;++a)if(this.__clipPaths[a].isZeroArea())return!1;if(r&&this.parent)for(var o=this.parent;o;){if(o.ignore)return!1;o=o.parent}return!0},e.prototype.contain=function(t,e){return this.rectContain(t,e)},e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},e.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),r=this.style,i=r.shadowBlur||0,a=r.shadowOffsetX||0,o=r.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new KM(0,0,0,0)),e?KM.applyTransform(t,n,e):t.copy(n),(i||a||o)&&(t.width+=2*i+Math.abs(a),t.height+=2*i+Math.abs(o),t.x=Math.min(t.x,t.x+a-i),t.y=Math.min(t.y,t.y+o-i));var s=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-s),t.y=Math.floor(t.y-s),t.width=Math.ceil(t.width+1+2*s),t.height=Math.ceil(t.height+1+2*s))}return t},e.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new KM(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},e.prototype.getPrevPaintRect=function(){return this._prevPaintRect},e.prototype.animateStyle=function(t){return this.animate("style",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},e.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},e.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:Kk(this.style,t),this.dirtyStyle(),this},e.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=2,this._rect&&(this._rect=null)},e.prototype.dirty=function(){this.dirtyStyle()},e.prototype.styleChanged=function(){return!!(2&this.__dirty)},e.prototype.styleUpdated=function(){this.__dirty&=-3},e.prototype.createStyle=function(t){return LI(PP,t)},e.prototype.useStyle=function(t){t[EP]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},e.prototype.isStyleObject=function(t){return t[EP]},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,OP)},e.prototype._applyStateObj=function(e,n,r,i,a,o){t.prototype._applyStateObj.call(this,e,n,r,i,a,o);var s,u=!(n&&i);if(n&&n.style?a?i?s=n.style:(s=this._mergeStyle(this.createStyle(),r.style),this._mergeStyle(s,n.style)):(s=this._mergeStyle(this.createStyle(),i?this.style:r.style),this._mergeStyle(s,n.style)):u&&(s=r.style),s)if(a){var c=this.style;if(this.style=this.createStyle(u?{}:c),u)for(var l=aI(c),h=0;h<l.length;h++){(d=l[h])in s&&(s[d]=s[d],this.style[d]=c[d])}var f=aI(s);for(h=0;h<f.length;h++){var d=f[h];this.style[d]=this.style[d]}this._transitionState(e,{style:s},o,this.getAnimationStyleProps())}else this.useStyle(s);var p=this.__inHover?LP:OP;for(h=0;h<p.length;h++){d=p[h];n&&null!=n[d]?this[d]=n[d]:u&&null!=r[d]&&(this[d]=r[d])}},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var a=e[i];a.style&&(n=n||{},this._mergeStyle(n,a.style))}return n&&(r.style=n),r},e.prototype._mergeStyle=function(t,e){return Kk(t,e),t},e.prototype.getAnimationStyleProps=function(){return DP},e.initDefaultProps=((n=e.prototype).type="displayable",n.invisible=!1,n.z=0,n.z2=0,n.zlevel=0,n.culling=!1,n.cursor="pointer",n.rectHover=!1,n.incremental=!1,n._rect=null,n.dirtyRectTolerance=0,void(n.__dirty=3)),e}(tE),NP=new KM(0,0,0,0),jP=new KM(0,0,0,0);const FP=RP;var BP=Math.min,zP=Math.max,$P=Math.sin,VP=Math.cos,HP=2*Math.PI,WP=$I(),GP=$I(),UP=$I();function XP(t,e,n){if(0!==t.length){for(var r=t[0],i=r[0],a=r[0],o=r[1],s=r[1],u=1;u<t.length;u++)r=t[u],i=BP(i,r[0]),a=zP(a,r[0]),o=BP(o,r[1]),s=zP(s,r[1]);e[0]=i,e[1]=o,n[0]=a,n[1]=s}}function qP(t,e,n,r,i,a){i[0]=BP(t,n),i[1]=BP(e,r),a[0]=zP(t,n),a[1]=zP(e,r)}var YP=[],KP=[];function ZP(t,e,n,r,i,a,o,s,u,c){var l=NC,h=OC,f=l(t,n,i,o,YP);u[0]=1/0,u[1]=1/0,c[0]=-1/0,c[1]=-1/0;for(var d=0;d<f;d++){var p=h(t,n,i,o,YP[d]);u[0]=BP(p,u[0]),c[0]=zP(p,c[0])}f=l(e,r,a,s,KP);for(d=0;d<f;d++){var g=h(e,r,a,s,KP[d]);u[1]=BP(g,u[1]),c[1]=zP(g,c[1])}u[0]=BP(t,u[0]),c[0]=zP(t,c[0]),u[0]=BP(o,u[0]),c[0]=zP(o,c[0]),u[1]=BP(e,u[1]),c[1]=zP(e,c[1]),u[1]=BP(s,u[1]),c[1]=zP(s,c[1])}function QP(t,e,n,r,i,a,o,s){var u=VC,c=zC,l=zP(BP(u(t,n,i),1),0),h=zP(BP(u(e,r,a),1),0),f=c(t,n,i,l),d=c(e,r,a,h);o[0]=BP(t,i,f),o[1]=BP(e,a,d),s[0]=zP(t,i,f),s[1]=zP(e,a,d)}function JP(t,e,n,r,i,a,o,s,u){var c=rM,l=iM,h=Math.abs(i-a);if(h%HP<1e-4&&h>1e-4)return s[0]=t-n,s[1]=e-r,u[0]=t+n,void(u[1]=e+r);if(WP[0]=VP(i)*n+t,WP[1]=$P(i)*r+e,GP[0]=VP(a)*n+t,GP[1]=$P(a)*r+e,c(s,WP,GP),l(u,WP,GP),(i%=HP)<0&&(i+=HP),(a%=HP)<0&&(a+=HP),i>a&&!o?a+=HP:i<a&&o&&(i+=HP),o){var f=a;a=i,i=f}for(var d=0;d<a;d+=Math.PI/2)d>i&&(UP[0]=VP(d)*n+t,UP[1]=$P(d)*r+e,c(s,UP,s),l(u,UP,u))}var tD={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},eD=[],nD=[],rD=[],iD=[],aD=[],oD=[],sD=Math.min,uD=Math.max,cD=Math.cos,lD=Math.sin,hD=Math.abs,fD=Math.PI,dD=2*fD,pD="undefined"!=typeof Float32Array,gD=[];function bD(t){return Math.round(t/fD*1e8)/1e8%2*fD}function vD(t,e){var n=bD(t[0]);n<0&&(n+=dD);var r=n-t[0],i=t[1];i+=r,!e&&i-n>=dD?i=n+dD:e&&n-i>=dD?i=n-dD:!e&&n>i?i=n+(dD-bD(n-i)):e&&n<i&&(i=n-(dD-bD(i-n))),t[0]=n,t[1]=i}var mD=function(){function t(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return t.prototype.increaseVersion=function(){this._version++},t.prototype.getVersion=function(){return this._version},t.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=hD(n/xA/t)||0,this._uy=hD(n/xA/e)||0)},t.prototype.setDPR=function(t){this.dpr=t},t.prototype.setContext=function(t){this._ctx=t},t.prototype.getContext=function(){return this._ctx},t.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},t.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},t.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(tD.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},t.prototype.lineTo=function(t,e){var n=hD(t-this._xi),r=hD(e-this._yi),i=n>this._ux||r>this._uy;if(this.addData(tD.L,t,e),this._ctx&&i&&this._ctx.lineTo(t,e),i)this._xi=t,this._yi=e,this._pendingPtDist=0;else{var a=n*n+r*r;a>this._pendingPtDist&&(this._pendingPtX=t,this._pendingPtY=e,this._pendingPtDist=a)}return this},t.prototype.bezierCurveTo=function(t,e,n,r,i,a){return this._drawPendingPt(),this.addData(tD.C,t,e,n,r,i,a),this._ctx&&this._ctx.bezierCurveTo(t,e,n,r,i,a),this._xi=i,this._yi=a,this},t.prototype.quadraticCurveTo=function(t,e,n,r){return this._drawPendingPt(),this.addData(tD.Q,t,e,n,r),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,r),this._xi=n,this._yi=r,this},t.prototype.arc=function(t,e,n,r,i,a){this._drawPendingPt(),gD[0]=r,gD[1]=i,vD(gD,a),r=gD[0];var o=(i=gD[1])-r;return this.addData(tD.A,t,e,n,n,r,o,0,a?0:1),this._ctx&&this._ctx.arc(t,e,n,r,i,a),this._xi=cD(i)*n+t,this._yi=lD(i)*n+e,this},t.prototype.arcTo=function(t,e,n,r,i){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,r,i),this},t.prototype.rect=function(t,e,n,r){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,r),this.addData(tD.R,t,e,n,r),this},t.prototype.closePath=function(){this._drawPendingPt(),this.addData(tD.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},t.prototype.fill=function(t){t&&t.fill(),this.toStatic()},t.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},t.prototype.len=function(){return this._len},t.prototype.setData=function(t){var e=t.length;this.data&&this.data.length===e||!pD||(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},t.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,r=this._len,i=0;i<e;i++)n+=t[i].len();pD&&this.data instanceof Float32Array&&(this.data=new Float32Array(r+n));for(i=0;i<e;i++)for(var a=t[i].data,o=0;o<a.length;o++)this.data[r++]=a[o];this._len=r},t.prototype.addData=function(t,e,n,r,i,a,o,s,u){if(this._saveData){var c=this.data;this._len+arguments.length>c.length&&(this._expandData(),c=this.data);for(var l=0;l<arguments.length;l++)c[this._len++]=arguments[l]}},t.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},t.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},t.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,pD&&this._len>11&&(this.data=new Float32Array(t)))}},t.prototype.getBoundingRect=function(){rD[0]=rD[1]=aD[0]=aD[1]=Number.MAX_VALUE,iD[0]=iD[1]=oD[0]=oD[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,r=0,i=0,a=0;for(t=0;t<this._len;){var o=e[t++],s=1===t;switch(s&&(i=n=e[t],a=r=e[t+1]),o){case tD.M:n=i=e[t++],r=a=e[t++],aD[0]=i,aD[1]=a,oD[0]=i,oD[1]=a;break;case tD.L:qP(n,r,e[t],e[t+1],aD,oD),n=e[t++],r=e[t++];break;case tD.C:ZP(n,r,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],aD,oD),n=e[t++],r=e[t++];break;case tD.Q:QP(n,r,e[t++],e[t++],e[t],e[t+1],aD,oD),n=e[t++],r=e[t++];break;case tD.A:var u=e[t++],c=e[t++],l=e[t++],h=e[t++],f=e[t++],d=e[t++]+f;t+=1;var p=!e[t++];s&&(i=cD(f)*l+u,a=lD(f)*h+c),JP(u,c,l,h,f,d,p,aD,oD),n=cD(d)*l+u,r=lD(d)*h+c;break;case tD.R:qP(i=n=e[t++],a=r=e[t++],i+e[t++],a+e[t++],aD,oD);break;case tD.Z:n=i,r=a}rM(rD,rD,aD),iM(iD,iD,oD)}return 0===t&&(rD[0]=rD[1]=iD[0]=iD[1]=0),new KM(rD[0],rD[1],iD[0]-rD[0],iD[1]-rD[1])},t.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,r=this._uy,i=0,a=0,o=0,s=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,c=0,l=0,h=0;h<e;){var f=t[h++],d=1===h;d&&(o=i=t[h],s=a=t[h+1]);var p=-1;switch(f){case tD.M:i=o=t[h++],a=s=t[h++];break;case tD.L:var g=t[h++],b=(y=t[h++])-a;(hD(A=g-i)>n||hD(b)>r||h===e-1)&&(p=Math.sqrt(A*A+b*b),i=g,a=y);break;case tD.C:var v=t[h++],m=t[h++],y=(g=t[h++],t[h++]),w=t[h++],x=t[h++];p=BC(i,a,v,m,g,y,w,x,10),i=w,a=x;break;case tD.Q:p=GC(i,a,v=t[h++],m=t[h++],g=t[h++],y=t[h++],10),i=g,a=y;break;case tD.A:var _=t[h++],S=t[h++],k=t[h++],I=t[h++],M=t[h++],C=t[h++],T=C+M;h+=1;t[h++];d&&(o=cD(M)*k+_,s=lD(M)*I+S),p=uD(k,I)*sD(dD,Math.abs(C)),i=cD(T)*k+_,a=lD(T)*I+S;break;case tD.R:o=i=t[h++],s=a=t[h++],p=2*t[h++]+2*t[h++];break;case tD.Z:var A=o-i;b=s-a;p=Math.sqrt(A*A+b*b),i=o,a=s}p>=0&&(u[l++]=p,c+=p)}return this._pathLen=c,c},t.prototype.rebuildPath=function(t,e){var n,r,i,a,o,s,u,c,l,h,f=this.data,d=this._ux,p=this._uy,g=this._len,b=e<1,v=0,m=0,y=0;if(!b||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,c=e*this._pathLen))t:for(var w=0;w<g;){var x=f[w++],_=1===w;switch(_&&(n=i=f[w],r=a=f[w+1]),x!==tD.L&&y>0&&(t.lineTo(l,h),y=0),x){case tD.M:n=i=f[w++],r=a=f[w++],t.moveTo(i,a);break;case tD.L:o=f[w++],s=f[w++];var S=hD(o-i),k=hD(s-a);if(S>d||k>p){if(b){if(v+(q=u[m++])>c){var I=(c-v)/q;t.lineTo(i*(1-I)+o*I,a*(1-I)+s*I);break t}v+=q}t.lineTo(o,s),i=o,a=s,y=0}else{var M=S*S+k*k;M>y&&(l=o,h=s,y=M)}break;case tD.C:var C=f[w++],T=f[w++],A=f[w++],E=f[w++],P=f[w++],D=f[w++];if(b){if(v+(q=u[m++])>c){jC(i,C,A,P,I=(c-v)/q,eD),jC(a,T,E,D,I,nD),t.bezierCurveTo(eD[1],nD[1],eD[2],nD[2],eD[3],nD[3]);break t}v+=q}t.bezierCurveTo(C,T,A,E,P,D),i=P,a=D;break;case tD.Q:C=f[w++],T=f[w++],A=f[w++],E=f[w++];if(b){if(v+(q=u[m++])>c){HC(i,C,A,I=(c-v)/q,eD),HC(a,T,E,I,nD),t.quadraticCurveTo(eD[1],nD[1],eD[2],nD[2]);break t}v+=q}t.quadraticCurveTo(C,T,A,E),i=A,a=E;break;case tD.A:var O=f[w++],L=f[w++],R=f[w++],N=f[w++],j=f[w++],F=f[w++],B=f[w++],z=!f[w++],$=R>N?R:N,V=hD(R-N)>.001,H=j+F,W=!1;if(b)v+(q=u[m++])>c&&(H=j+F*(c-v)/q,W=!0),v+=q;if(V&&t.ellipse?t.ellipse(O,L,R,N,B,j,H,z):t.arc(O,L,$,j,H,z),W)break t;_&&(n=cD(j)*R+O,r=lD(j)*N+L),i=cD(H)*R+O,a=lD(H)*N+L;break;case tD.R:n=i=f[w],r=a=f[w+1],o=f[w++],s=f[w++];var G=f[w++],U=f[w++];if(b){if(v+(q=u[m++])>c){var X=c-v;t.moveTo(o,s),t.lineTo(o+sD(X,G),s),(X-=G)>0&&t.lineTo(o+G,s+sD(X,U)),(X-=U)>0&&t.lineTo(o+uD(G-X,0),s+U),(X-=G)>0&&t.lineTo(o,s+uD(U-X,0));break t}v+=q}t.rect(o,s,G,U);break;case tD.Z:if(b){var q;if(v+(q=u[m++])>c){I=(c-v)/q;t.lineTo(i*(1-I)+n*I,a*(1-I)+r*I);break t}v+=q}t.closePath(),i=n,a=r}}},t.prototype.clone=function(){var e=new t,n=this.data;return e.data=n.slice?n.slice():Array.prototype.slice.call(n),e._len=this._len,e},t.CMD=tD,t.initDefaultProps=function(){var e=t.prototype;e._saveData=!0,e._ux=0,e._uy=0,e._pendingPtDist=0,e._version=0}(),t}();const yD=mD;function wD(t,e,n,r,i,a,o){if(0===i)return!1;var s=i,u=0;if(o>e+s&&o>r+s||o<e-s&&o<r-s||a>t+s&&a>n+s||a<t-s&&a<n-s)return!1;if(t===n)return Math.abs(a-t)<=s/2;var c=(u=(e-r)/(t-n))*a-o+(t*r-n*e)/(t-n);return c*c/(u*u+1)<=s/2*s/2}function xD(t,e,n,r,i,a,o,s,u,c,l){if(0===u)return!1;var h=u;return!(l>e+h&&l>r+h&&l>a+h&&l>s+h||l<e-h&&l<r-h&&l<a-h&&l<s-h||c>t+h&&c>n+h&&c>i+h&&c>o+h||c<t-h&&c<n-h&&c<i-h&&c<o-h)&&FC(t,e,n,r,i,a,o,s,c,l,null)<=h/2}function _D(t,e,n,r,i,a,o,s,u){if(0===o)return!1;var c=o;return!(u>e+c&&u>r+c&&u>a+c||u<e-c&&u<r-c&&u<a-c||s>t+c&&s>n+c&&s>i+c||s<t-c&&s<n-c&&s<i-c)&&WC(t,e,n,r,i,a,s,u,null)<=c/2}var SD=2*Math.PI;function kD(t){return(t%=SD)<0&&(t+=SD),t}var ID=2*Math.PI;function MD(t,e,n,r,i,a,o,s,u){if(0===o)return!1;var c=o;s-=t,u-=e;var l=Math.sqrt(s*s+u*u);if(l-c>n||l+c<n)return!1;if(Math.abs(r-i)%ID<1e-4)return!0;if(a){var h=r;r=kD(i),i=kD(h)}else r=kD(r),i=kD(i);r>i&&(i+=ID);var f=Math.atan2(u,s);return f<0&&(f+=ID),f>=r&&f<=i||f+ID>=r&&f+ID<=i}function CD(t,e,n,r,i,a){if(a>e&&a>r||a<e&&a<r)return 0;if(r===e)return 0;var o=(a-e)/(r-e),s=r<e?1:-1;1!==o&&0!==o||(s=r<e?.5:-.5);var u=o*(n-t)+t;return u===i?1/0:u>i?s:0}var TD=yD.CMD,AD=2*Math.PI;var ED=[-1,-1,-1],PD=[-1,-1];function DD(t,e,n,r,i,a,o,s,u,c){if(c>e&&c>r&&c>a&&c>s||c<e&&c<r&&c<a&&c<s)return 0;var l,h=RC(e,r,a,s,c,ED);if(0===h)return 0;for(var f=0,d=-1,p=void 0,g=void 0,b=0;b<h;b++){var v=ED[b],m=0===v||1===v?.5:1;OC(t,n,i,o,v)<u||(d<0&&(d=NC(e,r,a,s,PD),PD[1]<PD[0]&&d>1&&(l=void 0,l=PD[0],PD[0]=PD[1],PD[1]=l),p=OC(e,r,a,s,PD[0]),d>1&&(g=OC(e,r,a,s,PD[1]))),2===d?v<PD[0]?f+=p<e?m:-m:v<PD[1]?f+=g<p?m:-m:f+=s<g?m:-m:v<PD[0]?f+=p<e?m:-m:f+=s<p?m:-m)}return f}function OD(t,e,n,r,i,a,o,s){if(s>e&&s>r&&s>a||s<e&&s<r&&s<a)return 0;var u=function(t,e,n,r,i){var a=t-2*e+n,o=2*(e-t),s=t-r,u=0;if(PC(a))DC(o)&&(l=-s/o)>=0&&l<=1&&(i[u++]=l);else{var c=o*o-4*a*s;if(PC(c))(l=-o/(2*a))>=0&&l<=1&&(i[u++]=l);else if(c>0){var l,h=SC(c),f=(-o-h)/(2*a);(l=(-o+h)/(2*a))>=0&&l<=1&&(i[u++]=l),f>=0&&f<=1&&(i[u++]=f)}}return u}(e,r,a,s,ED);if(0===u)return 0;var c=VC(e,r,a);if(c>=0&&c<=1){for(var l=0,h=zC(e,r,a,c),f=0;f<u;f++){var d=0===ED[f]||1===ED[f]?.5:1;zC(t,n,i,ED[f])<o||(ED[f]<c?l+=h<e?d:-d:l+=a<h?d:-d)}return l}d=0===ED[0]||1===ED[0]?.5:1;return zC(t,n,i,ED[0])<o?0:a<e?d:-d}function LD(t,e,n,r,i,a,o,s){if((s-=e)>n||s<-n)return 0;var u=Math.sqrt(n*n-s*s);ED[0]=-u,ED[1]=u;var c=Math.abs(r-i);if(c<1e-4)return 0;if(c>=AD-1e-4){r=0,i=AD;var l=a?1:-1;return o>=ED[0]+t&&o<=ED[1]+t?l:0}if(r>i){var h=r;r=i,i=h}r<0&&(r+=AD,i+=AD);for(var f=0,d=0;d<2;d++){var p=ED[d];if(p+t>o){var g=Math.atan2(s,p);l=a?1:-1;g<0&&(g=AD+g),(g>=r&&g<=i||g+AD>=r&&g+AD<=i)&&(g>Math.PI/2&&g<1.5*Math.PI&&(l=-l),f+=l)}}return f}function RD(t,e,n,r,i){for(var a,o,s=t.data,u=t.len(),c=0,l=0,h=0,f=0,d=0,p=0;p<u;){var g=s[p++],b=1===p;switch(g===TD.M&&p>1&&(n||(c+=CD(l,h,f,d,r,i))),b&&(f=l=s[p],d=h=s[p+1]),g){case TD.M:l=f=s[p++],h=d=s[p++];break;case TD.L:if(n){if(wD(l,h,s[p],s[p+1],e,r,i))return!0}else c+=CD(l,h,s[p],s[p+1],r,i)||0;l=s[p++],h=s[p++];break;case TD.C:if(n){if(xD(l,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else c+=DD(l,h,s[p++],s[p++],s[p++],s[p++],s[p],s[p+1],r,i)||0;l=s[p++],h=s[p++];break;case TD.Q:if(n){if(_D(l,h,s[p++],s[p++],s[p],s[p+1],e,r,i))return!0}else c+=OD(l,h,s[p++],s[p++],s[p],s[p+1],r,i)||0;l=s[p++],h=s[p++];break;case TD.A:var v=s[p++],m=s[p++],y=s[p++],w=s[p++],x=s[p++],_=s[p++];p+=1;var S=!!(1-s[p++]);a=Math.cos(x)*y+v,o=Math.sin(x)*w+m,b?(f=a,d=o):c+=CD(l,h,a,o,r,i);var k=(r-v)*w/y+v;if(n){if(MD(v,m,w,x,x+_,S,e,k,i))return!0}else c+=LD(v,m,w,x,x+_,S,k,i);l=Math.cos(x+_)*y+v,h=Math.sin(x+_)*w+m;break;case TD.R:if(f=l=s[p++],d=h=s[p++],a=f+s[p++],o=d+s[p++],n){if(wD(f,d,a,d,e,r,i)||wD(a,d,a,o,e,r,i)||wD(a,o,f,o,e,r,i)||wD(f,o,f,d,e,r,i))return!0}else c+=CD(a,d,a,o,r,i),c+=CD(f,o,f,d,r,i);break;case TD.Z:if(n){if(wD(l,h,f,d,e,r,i))return!0}else c+=CD(l,h,f,d,r,i);l=f,h=d}}return n||function(t,e){return Math.abs(t-e)<1e-4}(h,d)||(c+=CD(l,h,f,d,r,i)||0),0!==c}var ND=Zk({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},PP),jD={style:Zk({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},DP.style)},FD=DA.concat(["invisible","culling","z","z2","zlevel","parent"]),BD=function(t){function e(e){return t.call(this,e)||this}var n;return zI(e,t),e.prototype.update=function(){var n=this;t.prototype.update.call(this);var r=this.style;if(r.decal){var i=this._decalEl=this._decalEl||new e;i.buildPath===e.prototype.buildPath&&(i.buildPath=function(t){n.buildPath(t,n.shape)}),i.silent=!0;var a=i.style;for(var o in r)a[o]!==r[o]&&(a[o]=r[o]);a.fill=r.fill?r.decal:null,a.decal=null,a.shadowColor=null,r.strokeFirst&&(a.stroke=null);for(var s=0;s<FD.length;++s)i[FD[s]]=this[FD[s]];i.__dirty|=1}else this._decalEl&&(this._decalEl=null)},e.prototype.getDecalElement=function(){return this._decalEl},e.prototype._init=function(e){var n=aI(e);this.shape=this.getDefaultShape();var r=this.getDefaultStyle();r&&this.useStyle(r);for(var i=0;i<n.length;i++){var a=n[i],o=e[a];"style"===a?this.style?Kk(this.style,o):this.useStyle(o):"shape"===a?Kk(this.shape,o):t.prototype.attrKV.call(this,a,o)}this.style||this.useStyle({})},e.prototype.getDefaultStyle=function(){return null},e.prototype.getDefaultShape=function(){return{}},e.prototype.canBeInsideText=function(){return this.hasFill()},e.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if(lI(t)){var e=wT(t,0);return e>.5?_A:e>.2?"#eee":SA}if(t)return SA}return _A},e.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if(lI(e)){var n=this.__zr;if(!(!n||!n.isDarkMode())===wT(t,0)<.4)return e}},e.prototype.buildPath=function(t,e,n){},e.prototype.pathUpdated=function(){this.__dirty&=-5},e.prototype.getUpdatedPathProxy=function(t){return!this.path&&this.createPathProxy(),this.path.beginPath(),this.buildPath(this.path,this.shape,t),this.path},e.prototype.createPathProxy=function(){this.path=new yD(!1)},e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.getBoundingRect=function(){var t=this._rect,e=this.style,n=!t;if(n){var r=!1;this.path||(r=!0,this.createPathProxy());var i=this.path;(r||4&this.__dirty)&&(i.beginPath(),this.buildPath(i,this.shape,!1),this.pathUpdated()),t=i.getBoundingRect()}if(this._rect=t,this.hasStroke()&&this.path&&this.path.len()>0){var a=this._rectStroke||(this._rectStroke=t.clone());if(this.__dirty||n){a.copy(t);var o=e.strokeNoScale?this.getLineScale():1,s=e.lineWidth;if(!this.hasFill()){var u=this.strokeContainThreshold;s=Math.max(s,null==u?4:u)}o>1e-10&&(a.width+=s/o,a.height+=s/o,a.x-=s/o/2,a.y-=s/o/2)}return a}return t},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect(),i=this.style;if(t=n[0],e=n[1],r.contain(t,e)){var a=this.path;if(this.hasStroke()){var o=i.lineWidth,s=i.strokeNoScale?this.getLineScale():1;if(s>1e-10&&(this.hasFill()||(o=Math.max(o,this.strokeContainThreshold)),function(t,e,n,r){return RD(t,e,!0,n,r)}(a,o/s,t,e)))return!0}if(this.hasFill())return function(t,e,n){return RD(t,0,!1,e,n)}(a,t,e)}return!1},e.prototype.dirtyShape=function(){this.__dirty|=4,this._rect&&(this._rect=null),this._decalEl&&this._decalEl.dirtyShape(),this.markRedraw()},e.prototype.dirty=function(){this.dirtyStyle(),this.dirtyShape()},e.prototype.animateShape=function(t){return this.animate("shape",t)},e.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():"shape"===t?this.dirtyShape():this.markRedraw()},e.prototype.attrKV=function(e,n){"shape"===e?this.setShape(n):t.prototype.attrKV.call(this,e,n)},e.prototype.setShape=function(t,e){var n=this.shape;return n||(n=this.shape={}),"string"==typeof t?n[t]=e:Kk(n,t),this.dirtyShape(),this},e.prototype.shapeChanged=function(){return!!(4&this.__dirty)},e.prototype.createStyle=function(t){return LI(ND,t)},e.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=Kk({},this.shape))},e.prototype._applyStateObj=function(e,n,r,i,a,o){t.prototype._applyStateObj.call(this,e,n,r,i,a,o);var s,u=!(n&&i);if(n&&n.shape?a?i?s=n.shape:(s=Kk({},r.shape),Kk(s,n.shape)):(s=Kk({},i?this.shape:r.shape),Kk(s,n.shape)):u&&(s=r.shape),s)if(a){this.shape=Kk({},this.shape);for(var c={},l=aI(s),h=0;h<l.length;h++){var f=l[h];"object"==typeof s[f]?this.shape[f]=s[f]:c[f]=s[f]}this._transitionState(e,{shape:c},o)}else this.shape=s,this.dirtyShape()},e.prototype._mergeStates=function(e){for(var n,r=t.prototype._mergeStates.call(this,e),i=0;i<e.length;i++){var a=e[i];a.shape&&(n=n||{},this._mergeStyle(n,a.shape))}return n&&(r.shape=n),r},e.prototype.getAnimationStyleProps=function(){return jD},e.prototype.isZeroArea=function(){return!1},e.extend=function(t){var n=function(e){function n(n){var r=e.call(this,n)||this;return t.init&&t.init.call(r,n),r}return zI(n,e),n.prototype.getDefaultStyle=function(){return Xk(t.style)},n.prototype.getDefaultShape=function(){return Xk(t.shape)},n}(e);for(var r in t)"function"==typeof t[r]&&(n.prototype[r]=t[r]);return n},e.initDefaultProps=((n=e.prototype).type="path",n.strokeContainThreshold=5,n.segmentIgnoreThreshold=0,n.subPixelOptimize=!1,n.autoBatch=!1,void(n.__dirty=7)),e}(FP);const zD=BD;var $D=Zk({strokeFirst:!0,font:Tk,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},ND),VD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return zI(e,t),e.prototype.hasStroke=function(){var t=this.style,e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0},e.prototype.hasFill=function(){var t=this.style.fill;return null!=t&&"none"!==t},e.prototype.createStyle=function(t){return LI($D,t)},e.prototype.setBoundingRect=function(t){this._rect=t},e.prototype.getBoundingRect=function(){var t=this.style;if(!this._rect){var e=t.text;null!=e?e+="":e="";var n=FA(e,t.font,t.textAlign,t.textBaseline);if(n.x+=t.x||0,n.y+=t.y||0,this.hasStroke()){var r=t.lineWidth;n.x-=r/2,n.y-=r/2,n.width+=r,n.height+=r}this._rect=n}return this._rect},e.initDefaultProps=void(e.prototype.dirtyRectTolerance=10),e}(FP);VD.prototype.type="tspan";const HD=VD;var WD=Zk({x:0,y:0},PP),GD={style:Zk({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},DP.style)};var UD=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return zI(e,t),e.prototype.createStyle=function(t){return LI(WD,t)},e.prototype._getSize=function(t){var e=this.style,n=e[t];if(null!=n)return n;var r,i=(r=e.image)&&"string"!=typeof r&&r.width&&r.height?e.image:this.__image;if(!i)return 0;var a="width"===t?"height":"width",o=e[a];return null==o?i[t]:i[t]/i[a]*o},e.prototype.getWidth=function(){return this._getSize("width")},e.prototype.getHeight=function(){return this._getSize("height")},e.prototype.getAnimationStyleProps=function(){return GD},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new KM(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(FP);UD.prototype.type="image";const XD=UD;var qD=Math.round;function YD(t,e,n){if(e){var r=e.x1,i=e.x2,a=e.y1,o=e.y2;t.x1=r,t.x2=i,t.y1=a,t.y2=o;var s=n&&n.lineWidth;return s?(qD(2*r)===qD(2*i)&&(t.x1=t.x2=ZD(r,s,!0)),qD(2*a)===qD(2*o)&&(t.y1=t.y2=ZD(a,s,!0)),t):t}}function KD(t,e,n){if(e){var r=e.x,i=e.y,a=e.width,o=e.height;t.x=r,t.y=i,t.width=a,t.height=o;var s=n&&n.lineWidth;return s?(t.x=ZD(r,s,!0),t.y=ZD(i,s,!0),t.width=Math.max(ZD(r+a,s,!1)-t.x,0===a?0:1),t.height=Math.max(ZD(i+o,s,!1)-t.y,0===o?0:1),t):t}}function ZD(t,e,n){if(!e)return t;var r=qD(2*t);return(r+qD(e))%2==0?r/2:(r+(n?1:-1))/2}var QD=function(){this.x=0,this.y=0,this.width=0,this.height=0},JD={},tO=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new QD},e.prototype.buildPath=function(t,e){var n,r,i,a;if(this.subPixelOptimize){var o=KD(JD,e,this.style);n=o.x,r=o.y,i=o.width,a=o.height,o.r=e.r,e=o}else n=e.x,r=e.y,i=e.width,a=e.height;e.r?function(t,e){var n,r,i,a,o,s=e.x,u=e.y,c=e.width,l=e.height,h=e.r;c<0&&(s+=c,c=-c),l<0&&(u+=l,l=-l),"number"==typeof h?n=r=i=a=h:h instanceof Array?1===h.length?n=r=i=a=h[0]:2===h.length?(n=i=h[0],r=a=h[1]):3===h.length?(n=h[0],r=a=h[1],i=h[2]):(n=h[0],r=h[1],i=h[2],a=h[3]):n=r=i=a=0,n+r>c&&(n*=c/(o=n+r),r*=c/o),i+a>c&&(i*=c/(o=i+a),a*=c/o),r+i>l&&(r*=l/(o=r+i),i*=l/o),n+a>l&&(n*=l/(o=n+a),a*=l/o),t.moveTo(s+n,u),t.lineTo(s+c-r,u),0!==r&&t.arc(s+c-r,u+r,r,-Math.PI/2,0),t.lineTo(s+c,u+l-i),0!==i&&t.arc(s+c-i,u+l-i,i,0,Math.PI/2),t.lineTo(s+a,u+l),0!==a&&t.arc(s+a,u+l-a,a,Math.PI/2,Math.PI),t.lineTo(s,u+n),0!==n&&t.arc(s+n,u+n,n,Math.PI,1.5*Math.PI)}(t,e):t.rect(n,r,i,a)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(zD);tO.prototype.type="rect";const eO=tO;var nO={fill:"#000"},rO={style:Zk({fill:!0,stroke:!0,fillOpacity:!0,strokeOpacity:!0,lineWidth:!0,fontSize:!0,lineHeight:!0,width:!0,height:!0,textShadowColor:!0,textShadowBlur:!0,textShadowOffsetX:!0,textShadowOffsetY:!0,backgroundColor:!0,padding:!0,borderColor:!0,borderWidth:!0,borderRadius:!0},DP.style)},iO=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=nO,n.attr(e),n}return zI(e,t),e.prototype.childrenRef=function(){return this._children},e.prototype.update=function(){t.prototype.update.call(this),this.styleChanged()&&this._updateSubTexts();for(var e=0;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,hO(t=this.style),eI(t.rich,hO),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new KM(0,0,0,0),e=this._children,n=[],r=null,i=0;i<e.length;i++){var a=e[i],o=a.getBoundingRect(),s=a.getLocalTransform(n);s?(t.copy(o),t.applyTransform(s),(r=r||t.clone()).union(t)):(r=r||o.clone()).union(o)}this._rect=r||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||nO},e.prototype.setTextContent=function(t){0},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,r=t.rich||n&&{};return Kk(t,e),n&&r?(this._mergeRich(r,n),t.rich=r):r&&(t.rich=r),t},e.prototype._mergeRich=function(t,e){for(var n=aI(e),r=0;r<n.length;r++){var i=n[r];t[i]=t[i]||{},Kk(t[i],e[i])}},e.prototype.getAnimationStyleProps=function(){return rO},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||Tk,n=t.padding,r=function(t,e){null!=t&&(t+="");var n,r=e.overflow,i=e.padding,a=e.font,o="truncate"===r,s=$A(a),u=wI(e.lineHeight,s),c=!!e.backgroundColor,l="truncate"===e.lineOverflow,h=e.width,f=(n=null==h||"break"!==r&&"breakAll"!==r?t?t.split("\n"):[]:t?AP(t,e.font,h,"breakAll"===r,0).lines:[]).length*u,d=wI(e.height,f);if(f>d&&l){var p=Math.floor(d/u);n=n.slice(0,p)}if(t&&o&&null!=h)for(var g=wP(h,a,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),b=0;b<n.length;b++)n[b]=xP(n[b],g);var v=d,m=0;for(b=0;b<n.length;b++)m=Math.max(NA(n[b],a),m);null==h&&(h=m);var y=m;return i&&(v+=i[0]+i[2],y+=i[1]+i[3],h+=i[1]+i[3]),c&&(y=h),{lines:n,height:d,outerWidth:y,outerHeight:v,lineHeight:u,calculatedLineHeight:s,contentWidth:m,contentHeight:f,width:h}}(gO(t),t),i=bO(t),a=!!t.backgroundColor,o=r.outerHeight,s=r.outerWidth,u=r.contentWidth,c=r.lines,l=r.lineHeight,h=this._defaultStyle,f=t.x||0,d=t.y||0,p=t.align||h.align||"left",g=t.verticalAlign||h.verticalAlign||"top",b=f,v=zA(d,r.contentHeight,g);if(i||n){var m=BA(f,s,p),y=zA(d,o,g);i&&this._renderBackground(t,t,m,y,s,o)}v+=l/2,n&&(b=pO(f,p,n),"top"===g?v+=n[0]:"bottom"===g&&(v-=n[2]));for(var w=0,x=!1,_=(dO("fill"in t?t.fill:(x=!0,h.fill))),S=(fO("stroke"in t?t.stroke:a||h.autoStroke&&!x?null:(w=2,h.stroke))),k=t.textShadowBlur>0,I=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),M=r.calculatedLineHeight,C=0;C<c.length;C++){var T=this._getOrCreateChild(HD),A=T.createStyle();T.useStyle(A),A.text=c[C],A.x=b,A.y=v,p&&(A.textAlign=p),A.textBaseline="middle",A.opacity=t.opacity,A.strokeFirst=!0,k&&(A.shadowBlur=t.textShadowBlur||0,A.shadowColor=t.textShadowColor||"transparent",A.shadowOffsetX=t.textShadowOffsetX||0,A.shadowOffsetY=t.textShadowOffsetY||0),A.stroke=S,A.fill=_,S&&(A.lineWidth=t.lineWidth||w,A.lineDash=t.lineDash,A.lineDashOffset=t.lineDashOffset||0),A.font=e,cO(A,t),v+=l,I&&T.setBoundingRect(new KM(BA(A.x,t.width,A.textAlign),zA(A.y,M,A.textBaseline),u,M))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n=new IP;if(null!=t&&(t+=""),!t)return n;for(var r,i=e.width,a=e.height,o=e.overflow,s="break"!==o&&"breakAll"!==o||null==i?null:{width:i,accumWidth:0,breakAll:"breakAll"===o},u=mP.lastIndex=0;null!=(r=mP.exec(t));){var c=r.index;c>u&&MP(n,t.substring(u,c),e,s),MP(n,r[2],e,s,r[1]),u=mP.lastIndex}u<t.length&&MP(n,t.substring(u,t.length),e,s);var l=[],h=0,f=0,d=e.padding,p="truncate"===o,g="truncate"===e.lineOverflow;function b(t,e,n){t.width=e,t.lineHeight=n,h+=n,f=Math.max(f,e)}t:for(var v=0;v<n.lines.length;v++){for(var m=n.lines[v],y=0,w=0,x=0;x<m.tokens.length;x++){var _=(D=m.tokens[x]).styleName&&e.rich[D.styleName]||{},S=D.textPadding=_.padding,k=S?S[1]+S[3]:0,I=D.font=_.font||e.font;D.contentHeight=$A(I);var M=wI(_.height,D.contentHeight);if(D.innerHeight=M,S&&(M+=S[0]+S[2]),D.height=M,D.lineHeight=xI(_.lineHeight,e.lineHeight,M),D.align=_&&_.align||e.align,D.verticalAlign=_&&_.verticalAlign||"middle",g&&null!=a&&h+D.lineHeight>a){x>0?(m.tokens=m.tokens.slice(0,x),b(m,w,y),n.lines=n.lines.slice(0,v+1)):n.lines=n.lines.slice(0,v);break t}var C=_.width,T=null==C||"auto"===C;if("string"==typeof C&&"%"===C.charAt(C.length-1))D.percentWidth=C,l.push(D),D.contentWidth=NA(D.text,I);else{if(T){var A=_.backgroundColor,E=A&&A.image;E&&vP(E=pP(E))&&(D.width=Math.max(D.width,E.width*M/E.height))}var P=p&&null!=i?i-w:null;null!=P&&P<D.width?!T||P<k?(D.text="",D.width=D.contentWidth=0):(D.text=yP(D.text,P-k,I,e.ellipsis,{minChar:e.truncateMinChar}),D.width=D.contentWidth=NA(D.text,I)):D.contentWidth=NA(D.text,I)}D.width+=k,w+=D.width,_&&(y=Math.max(y,D.lineHeight))}b(m,w,y)}for(n.outerWidth=n.width=wI(i,f),n.outerHeight=n.height=wI(a,h),n.contentHeight=h,n.contentWidth=f,d&&(n.outerWidth+=d[1]+d[3],n.outerHeight+=d[0]+d[2]),v=0;v<l.length;v++){var D,O=(D=l[v]).percentWidth;D.width=parseInt(O,10)/100*n.width}return n}(gO(t),t),n=e.width,r=e.outerWidth,i=e.outerHeight,a=t.padding,o=t.x||0,s=t.y||0,u=this._defaultStyle,c=t.align||u.align,l=t.verticalAlign||u.verticalAlign,h=BA(o,r,c),f=zA(s,i,l),d=h,p=f;a&&(d+=a[3],p+=a[0]);var g=d+n;bO(t)&&this._renderBackground(t,t,h,f,r,i);for(var b=!!t.backgroundColor,v=0;v<e.lines.length;v++){for(var m=e.lines[v],y=m.tokens,w=y.length,x=m.lineHeight,_=m.width,S=0,k=d,I=g,M=w-1,C=void 0;S<w&&(!(C=y[S]).align||"left"===C.align);)this._placeToken(C,t,x,p,k,"left",b),_-=C.width,k+=C.width,S++;for(;M>=0&&"right"===(C=y[M]).align;)this._placeToken(C,t,x,p,I,"right",b),_-=C.width,I-=C.width,M--;for(k+=(n-(k-d)-(g-I)-_)/2;S<=M;)C=y[S],this._placeToken(C,t,x,p,k+C.width/2,"center",b),k+=C.width,S++;p+=x}},e.prototype._placeToken=function(t,e,n,r,i,a,o){var s=e.rich[t.styleName]||{};s.text=t.text;var u=t.verticalAlign,c=r+n/2;"top"===u?c=r+t.height/2:"bottom"===u&&(c=r+n-t.height/2),!t.isLineHolder&&bO(s)&&this._renderBackground(s,e,"right"===a?i-t.width:"center"===a?i-t.width/2:i,c-t.height/2,t.width,t.height);var l=!!s.backgroundColor,h=t.textPadding;h&&(i=pO(i,a,h),c-=t.height/2-h[0]-t.innerHeight/2);var f=this._getOrCreateChild(HD),d=f.createStyle();f.useStyle(d);var p=this._defaultStyle,g=!1,b=0,v=dO("fill"in s?s.fill:"fill"in e?e.fill:(g=!0,p.fill)),m=fO("stroke"in s?s.stroke:"stroke"in e?e.stroke:l||o||p.autoStroke&&!g?null:(b=2,p.stroke)),y=s.textShadowBlur>0||e.textShadowBlur>0;d.text=t.text,d.x=i,d.y=c,y&&(d.shadowBlur=s.textShadowBlur||e.textShadowBlur||0,d.shadowColor=s.textShadowColor||e.textShadowColor||"transparent",d.shadowOffsetX=s.textShadowOffsetX||e.textShadowOffsetX||0,d.shadowOffsetY=s.textShadowOffsetY||e.textShadowOffsetY||0),d.textAlign=a,d.textBaseline="middle",d.font=t.font||Tk,d.opacity=xI(s.opacity,e.opacity,1),cO(d,s),m&&(d.lineWidth=xI(s.lineWidth,e.lineWidth,b),d.lineDash=wI(s.lineDash,e.lineDash),d.lineDashOffset=e.lineDashOffset||0,d.stroke=m),v&&(d.fill=v);var w=t.contentWidth,x=t.contentHeight;f.setBoundingRect(new KM(BA(d.x,w,d.textAlign),zA(d.y,x,d.textBaseline),w,x))},e.prototype._renderBackground=function(t,e,n,r,i,a){var o,s,u,c=t.backgroundColor,l=t.borderWidth,h=t.borderColor,f=c&&c.image,d=c&&!f,p=t.borderRadius,g=this;if(d||t.lineHeight||l&&h){(o=this._getOrCreateChild(eO)).useStyle(o.createStyle()),o.style.fill=null;var b=o.shape;b.x=n,b.y=r,b.width=i,b.height=a,b.r=p,o.dirtyShape()}if(d)(u=o.style).fill=c||null,u.fillOpacity=wI(t.fillOpacity,1);else if(f){(s=this._getOrCreateChild(XD)).onload=function(){g.dirtyStyle()};var v=s.style;v.image=c.image,v.x=n,v.y=r,v.width=i,v.height=a}l&&h&&((u=o.style).lineWidth=l,u.stroke=h,u.strokeOpacity=wI(t.strokeOpacity,1),u.lineDash=t.borderDash,u.lineDashOffset=t.borderDashOffset||0,o.strokeContainThreshold=0,o.hasFill()&&o.hasStroke()&&(u.strokeFirst=!0,u.lineWidth*=2));var m=(o||s).style;m.shadowBlur=t.shadowBlur||0,m.shadowColor=t.shadowColor||"transparent",m.shadowOffsetX=t.shadowOffsetX||0,m.shadowOffsetY=t.shadowOffsetY||0,m.opacity=xI(t.opacity,e.opacity,1)},e.makeFont=function(t){var e="";return lO(t)&&(e=[t.fontStyle,t.fontWeight,uO(t.fontSize),t.fontFamily||"sans-serif"].join(" ")),e&&II(e)||t.textFont||t.font},e}(FP),aO={left:!0,right:1,center:1},oO={top:1,bottom:1,middle:1},sO=["fontStyle","fontWeight","fontSize","fontFamily"];function uO(t){return"string"!=typeof t||-1===t.indexOf("px")&&-1===t.indexOf("rem")&&-1===t.indexOf("em")?isNaN(+t)?"12px":t+"px":t}function cO(t,e){for(var n=0;n<sO.length;n++){var r=sO[n],i=e[r];null!=i&&(t[r]=i)}}function lO(t){return null!=t.fontSize||t.fontFamily||t.fontWeight}function hO(t){if(t){t.font=iO.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||aO[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||oO[n]?n:"top",t.padding&&(t.padding=SI(t.padding))}}function fO(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function dO(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function pO(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function gO(t){var e=t.text;return null!=e&&(e+=""),e}function bO(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}const vO=iO;var mO=GE(),yO=function(t,e,n,r){if(r){var i=mO(r);i.dataIndex=n,i.dataType=e,i.seriesIndex=t,"group"===r.type&&r.traverse((function(r){var i=mO(r);i.seriesIndex=t,i.dataIndex=n,i.dataType=e}))}},wO=1,xO={},_O=GE(),SO=GE(),kO=["emphasis","blur","select"],IO=["normal","emphasis","blur","select"],MO=10,CO="highlight",TO="downplay",AO="select",EO="unselect",PO="toggleSelect";function DO(t){return null!=t&&"none"!==t}var OO=new JC(100);function LO(t){if(lI(t)){var e=OO.get(t);return e||(e=pT(t,-.1),OO.put(t,e)),e}if(vI(t)){var n=Kk({},t);return n.colorStops=nI(t.colorStops,(function(t){return{offset:t.offset,color:pT(t.color,-.1)}})),n}return t}function RO(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function NO(t){RO(t,"emphasis",2)}function jO(t){2===t.hoverState&&RO(t,"normal",0)}function FO(t){RO(t,"blur",1)}function BO(t){1===t.hoverState&&RO(t,"normal",0)}function zO(t){t.selected=!0}function $O(t){t.selected=!1}function VO(t,e,n){e(t,n)}function HO(t,e,n){VO(t,e,n),t.isGroup&&t.traverse((function(t){VO(t,e,n)}))}function WO(t,e){switch(e){case"emphasis":t.hoverState=2;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=1;break;case"select":t.selected=!0}}function GO(t,e){var n=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var i=n&&Qk(n,"select")>=0,a=!1;if(t instanceof zD){var o=_O(t),s=i&&o.selectFill||o.normalFill,u=i&&o.selectStroke||o.normalStroke;if(DO(s)||DO(u)){var c=(r=r||{}).style||{};"inherit"===c.fill?(a=!0,r=Kk({},r),(c=Kk({},c)).fill=s):!DO(c.fill)&&DO(s)?(a=!0,r=Kk({},r),(c=Kk({},c)).fill=LO(s)):!DO(c.stroke)&&DO(u)&&(a||(r=Kk({},r),c=Kk({},c)),c.stroke=LO(u)),r.style=c}}if(r&&null==r.z2){a||(r=Kk({},r));var l=t.z2EmphasisLift;r.z2=t.z2+(null!=l?l:MO)}return r}(this,0,e,n);if("blur"===t)return function(t,e,n){var r=Qk(t.currentStates,e)>=0,i=t.style.opacity,a=r?null:function(t,e,n,r){for(var i=t.style,a={},o=0;o<e.length;o++){var s=e[o],u=i[s];a[s]=null==u?r&&r[s]:u}for(o=0;o<t.animators.length;o++){var c=t.animators[o];c.__fromStateTransition&&c.__fromStateTransition.indexOf(n)<0&&"style"===c.targetName&&c.saveTo(a,e)}return a}(t,["opacity"],e,{opacity:1}),o=(n=n||{}).style||{};return null==o.opacity&&(n=Kk({},n),o=Kk({opacity:r?i:.1*a.opacity},o),n.style=o),n}(this,t,n);if("select"===t)return function(t,e,n){if(n&&null==n.z2){n=Kk({},n);var r=t.z2SelectLift;n.z2=t.z2+(null!=r?r:9)}return n}(this,0,n)}return n}function UO(t){t.stateProxy=GO;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=GO),n&&(n.stateProxy=GO)}function XO(t,e){!eL(t,e)&&!t.__highByOuter&&HO(t,NO)}function qO(t,e){!eL(t,e)&&!t.__highByOuter&&HO(t,jO)}function YO(t,e){t.__highByOuter|=1<<(e||0),HO(t,NO)}function KO(t,e){!(t.__highByOuter&=~(1<<(e||0)))&&HO(t,jO)}function ZO(t){HO(t,FO)}function QO(t){HO(t,BO)}function JO(t){HO(t,zO)}function tL(t){HO(t,$O)}function eL(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function nL(t){var e=t.getModel(),n=[],r=[];e.eachComponent((function(e,i){var a=SO(i),o="series"===e,s=o?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);!o&&r.push(s),a.isBlured&&(s.group.traverse((function(t){BO(t)})),o&&n.push(i)),a.isBlured=!1})),eI(r,(function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)}))}function rL(t,e,n,r){var i=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var r=t.getItemGraphicEl(e[n]);r&&QO(r)}}if(n=n||"coordinateSystem",null!=t&&e&&"none"!==e){var o=i.getSeriesByIndex(t),s=o.coordinateSystem;s&&s.master&&(s=s.master);var u=[];i.eachSeries((function(t){var i=o===t,c=t.coordinateSystem;if(c&&c.master&&(c=c.master),!("series"===n&&!i||"coordinateSystem"===n&&!(c&&s?c===s:i)||"series"===e&&i)){if(r.getViewOfSeriesModel(t).group.traverse((function(t){FO(t)})),tI(e))a(t.getData(),e);else if(dI(e))for(var l=aI(e),h=0;h<l.length;h++)a(t.getData(l[h]),e[l[h]]);u.push(t),SO(t).isBlured=!0}})),i.eachComponent((function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,i)}}))}}function iL(t,e,n){if(null!=t&&null!=e){var r=n.getModel().getComponent(t,e);if(r){SO(r).isBlured=!0;var i=n.getViewOfComponentModel(r);i&&i.focusBlurEnabled&&i.group.traverse((function(t){FO(t)}))}}}function aL(t,e,n,r){var i={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return i;var a=r.getModel().getComponent(t,e);if(!a)return i;var o=r.getViewOfComponentModel(a);if(!o||!o.findHighDownDispatchers)return i;for(var s,u=o.findHighDownDispatchers(n),c=0;c<u.length;c++)if("self"===mO(u[c]).focus){s=!0;break}return{focusSelf:s,dispatchers:u}}function oL(t){eI(t.getAllData(),(function(e){var n=e.data,r=e.type;n.eachItemGraphicEl((function(e,n){t.isSelected(n,r)?JO(e):tL(e)}))}))}function sL(t){var e=[];return t.eachSeries((function(t){eI(t.getAllData(),(function(n){n.data;var r=n.type,i=t.getSelectedDataIndices();if(i.length>0){var a={dataIndex:i,seriesIndex:t.seriesIndex};null!=r&&(a.dataType=r),e.push(a)}}))})),e}function uL(t,e,n){pL(t,!0),HO(t,UO),lL(t,e,n)}function cL(t,e,n,r){r?function(t){pL(t,!1)}(t):uL(t,e,n)}function lL(t,e,n){var r=mO(t);null!=e?(r.focus=e,r.blurScope=n):r.focus&&(r.focus=null)}var hL=["emphasis","blur","select"],fL={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function dL(t,e,n,r){n=n||"itemStyle";for(var i=0;i<hL.length;i++){var a=hL[i],o=e.getModel([a,n]);t.ensureState(a).style=r?r(o):o[fL[n]]()}}function pL(t,e){var n=!1===e,r=t;t.highDownSilentOnTouch&&(r.__highDownSilentOnTouch=t.highDownSilentOnTouch),n&&!r.__highDownDispatcher||(r.__highByOuter=r.__highByOuter||0,r.__highDownDispatcher=!n)}function gL(t){return!(!t||!t.__highDownDispatcher)}function bL(t){var e=t.type;return e===AO||e===EO||e===PO}function vL(t){var e=t.type;return e===CO||e===TO}var mL=GE();function yL(t,e,n,r,i){var a;if(e&&e.ecModel){var o=e.ecModel.getUpdatePayload();a=o&&o.animation}var s="update"===t;if(e&&e.isAnimationEnabled()){var u=void 0,c=void 0,l=void 0;return r?(u=wI(r.duration,200),c=wI(r.easing,"cubicOut"),l=0):(u=e.getShallow(s?"animationDurationUpdate":"animationDuration"),c=e.getShallow(s?"animationEasingUpdate":"animationEasing"),l=e.getShallow(s?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(u=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(l=a.delay)),cI(l)&&(l=l(n,i)),cI(u)&&(u=u(n)),{duration:u||0,delay:l,easing:c}}return null}function wL(t,e,n,r,i,a,o){var s,u=!1;cI(i)?(o=a,a=i,i=null):dI(i)&&(a=i.cb,o=i.during,u=i.isFrom,s=i.removeOpt,i=i.dataIndex);var c="leave"===t;c||e.stopAnimation("leave");var l=yL(t,r,i,c?s||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,i):null);if(l&&l.duration>0){var h={duration:l.duration,delay:l.delay||0,easing:l.easing,done:a,force:!!a||!!o,setToFinal:!c,scope:t,during:o};u?e.animateFrom(n,h):e.animateTo(n,h)}else e.stopAnimation(),!u&&e.attr(n),o&&o(1),a&&a()}function xL(t,e,n,r,i,a){wL("update",t,e,n,r,i,a)}function _L(t,e,n,r,i,a){wL("enter",t,e,n,r,i,a)}function SL(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++){if("leave"===t.animators[e].scope)return!0}return!1}function kL(t,e,n,r,i,a){SL(t)||wL("leave",t,e,n,r,i,a)}function IL(t,e,n,r){t.removeTextContent(),t.removeTextGuideLine(),kL(t,{style:{opacity:0}},e,n,r)}function ML(t,e,n){function r(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse((function(t){t.isGroup||IL(t,e,n,r)})):IL(t,e,n,r)}function CL(t){mL(t).oldStyle=t.style}var TL={};function AL(t,e){for(var n=0;n<kO.length;n++){var r=kO[n],i=e[r],a=t.ensureState(r);a.style=a.style||{},a.style.text=i}var o=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(o,!0)}function EL(t,e,n){var r,i=t.labelFetcher,a=t.labelDataIndex,o=t.labelDimIndex,s=e.normal;i&&(r=i.getFormattedLabel(a,"normal",null,o,s&&s.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==r&&(r=cI(t.defaultText)?t.defaultText(a,t,n):t.defaultText);for(var u={normal:r},c=0;c<kO.length;c++){var l=kO[c],h=e[l];u[l]=wI(i?i.getFormattedLabel(a,l,null,o,h&&h.get("formatter")):null,r)}return u}function PL(t,e,n,r){n=n||TL;for(var i=t instanceof vO,a=!1,o=0;o<IO.length;o++){if((f=e[IO[o]])&&f.getShallow("show")){a=!0;break}}var s=i?t:t.getTextContent();if(a){i||(s||(s=new vO,t.setTextContent(s)),t.stateProxy&&(s.stateProxy=t.stateProxy));var u=EL(n,e),c=e.normal,l=!!c.getShallow("show"),h=OL(c,r&&r.normal,n,!1,!i);h.text=u.normal,i||t.setTextConfig(LL(c,n,!1));for(o=0;o<kO.length;o++){var f,d=kO[o];if(f=e[d]){var p=s.ensureState(d),g=!!wI(f.getShallow("show"),l);if(g!==l&&(p.ignore=!g),p.style=OL(f,r&&r[d],n,!0,!i),p.style.text=u[d],!i)t.ensureState(d).textConfig=LL(f,n,!0)}}s.silent=!!c.getShallow("silent"),null!=s.style.x&&(h.x=s.style.x),null!=s.style.y&&(h.y=s.style.y),s.ignore=!l,s.useStyle(h),s.dirty(),n.enableTextSetter&&(zL(s).setLabelText=function(t){var r=EL(n,e,t);AL(s,r)})}else s&&(s.ignore=!0);t.dirty()}function DL(t,e){e=e||"label";for(var n={normal:t.getModel(e)},r=0;r<kO.length;r++){var i=kO[r];n[i]=t.getModel([i,e])}return n}function OL(t,e,n,r,i){var a={};return function(t,e,n,r,i){n=n||TL;var a,o=e.ecModel,s=o&&o.option.textStyle,u=function(t){var e;for(;t&&t!==t.ecModel;){var n=(t.option||TL).rich;if(n){e=e||{};for(var r=aI(n),i=0;i<r.length;i++){e[r[i]]=1}}t=t.parentModel}return e}(e);if(u)for(var c in a={},u)if(u.hasOwnProperty(c)){var l=e.getModel(["rich",c]);FL(a[c]={},l,s,n,r,i,!1,!0)}a&&(t.rich=a);var h=e.get("overflow");h&&(t.overflow=h);var f=e.get("minMargin");null!=f&&(t.margin=f);FL(t,e,s,n,r,i,!0,!1)}(a,t,n,r,i),e&&Kk(a,e),a}function LL(t,e,n){e=e||{};var r,i={},a=t.getShallow("rotate"),o=wI(t.getShallow("distance"),n?null:5),s=t.getShallow("offset");return"outside"===(r=t.getShallow("position")||(n?null:"inside"))&&(r=e.defaultOutsidePosition||"top"),null!=r&&(i.position=r),null!=s&&(i.offset=s),null!=a&&(a*=Math.PI/180,i.rotation=a),null!=o&&(i.distance=o),i.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",i}var RL=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],NL=["align","lineHeight","width","height","tag","verticalAlign"],jL=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function FL(t,e,n,r,i,a,o,s){n=!i&&n||TL;var u=r&&r.inheritColor,c=e.getShallow("color"),l=e.getShallow("textBorderColor"),h=wI(e.getShallow("opacity"),n.opacity);"inherit"!==c&&"auto"!==c||(c=u||null),"inherit"!==l&&"auto"!==l||(l=u||null),a||(c=c||n.color,l=l||n.textBorderColor),null!=c&&(t.fill=c),null!=l&&(t.stroke=l);var f=wI(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=f&&(t.lineWidth=f);var d=wI(e.getShallow("textBorderType"),n.textBorderType);null!=d&&(t.lineDash=d);var p=wI(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=p&&(t.lineDashOffset=p),i||null!=h||s||(h=r&&r.defaultOpacity),null!=h&&(t.opacity=h),i||a||null==t.fill&&r.inheritColor&&(t.fill=r.inheritColor);for(var g=0;g<RL.length;g++){var b=RL[g];null!=(m=wI(e.getShallow(b),n[b]))&&(t[b]=m)}for(g=0;g<NL.length;g++){b=NL[g];null!=(m=e.getShallow(b))&&(t[b]=m)}if(null==t.verticalAlign){var v=e.getShallow("baseline");null!=v&&(t.verticalAlign=v)}if(!o||!r.disableBox){for(g=0;g<jL.length;g++){var m;b=jL[g];null!=(m=e.getShallow(b))&&(t[b]=m)}var y=e.getShallow("borderType");null!=y&&(t.borderDash=y),"auto"!==t.backgroundColor&&"inherit"!==t.backgroundColor||!u||(t.backgroundColor=u),"auto"!==t.borderColor&&"inherit"!==t.borderColor||!u||(t.borderColor=u)}}function BL(t,e){var n=e&&e.getModel("textStyle");return II([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var zL=GE();function $L(t,e,n,r){if(t){var i=zL(t);i.prevValue=i.value,i.value=n;var a=e.normal;i.valueAnimation=a.get("valueAnimation"),i.valueAnimation&&(i.precision=a.get("precision"),i.defaultInterpolatedText=r,i.statesModels=e)}}function VL(t,e,n,r,i){var a=zL(t);if(a.valueAnimation&&a.prevValue!==a.value){var o=a.defaultInterpolatedText,s=wI(a.interpolatedValue,a.prevValue),u=a.value;t.percent=0,(null==a.prevValue?_L:xL)(t,{percent:1},r,e,null,(function(r){var c=tP(n,a.precision,s,u,r);a.interpolatedValue=1===r?null:c;var l=EL({labelDataIndex:e,labelFetcher:i,defaultText:o?o(c):c+""},a.statesModels,c);AL(t,l)}))}}var HL=["textStyle","color"],WL=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],GL=new vO;const UL=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(HL):null)},t.prototype.getFont=function(){return BL({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<WL.length;n++)e[WL[n]]=this.getShallow(WL[n]);return GL.useStyle(e),GL.update(),GL.getBoundingRect()},t}();var XL,qL,YL=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],KL=lP(YL),ZL=function(){function t(){}return t.prototype.getLineStyle=function(t){return KL(this,t)},t}(),QL=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],JL=lP(QL),tR=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return JL(this,t,e)},t}(),eR=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var r=[],i=3;i<arguments.length;i++)r[i-3]=arguments[i]},t.prototype.mergeOption=function(t,e){qk(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,r=null==n?n:n[t];if(null==r&&!e){var i=this.parentModel;i&&(r=i.getShallow(t))}return r},t.prototype.getModel=function(e,n){var r=null!=e,i=r?this.parsePath(e):null;return new t(r?this._doGet(i):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(i)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new(0,this.constructor)(Xk(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!Mk.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var r=0;r<t.length&&(!t[r]||null!=(n=n&&"object"==typeof n?n[t[r]]:null));r++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();iP(eR),XL=eR,qL=["__\0is_clz",oP++].join("_"),XL.prototype[qL]=!0,XL.isInstance=function(t){return!(!t||!t[qL])},Jk(eR,ZL),Jk(eR,tR),Jk(eR,fP),Jk(eR,UL);const nR=eR;var rR=Math.round(10*Math.random());function iR(t){return[t||"",rR++].join("_")}function aR(t,e){return qk(qk({},t,!0),e,!0)}var oR="ZH",sR="EN",uR=sR,cR={},lR={},hR=Mk.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage).toUpperCase().indexOf(oR)>-1?oR:uR;function fR(t,e){t=t.toUpperCase(),lR[t]=new nR(e),cR[t]=e}function dR(t){return lR[t]}fR(sR,{time:{month:["January","February","March","April","May","June","July","August","September","October","November","December"],monthAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayOfWeek:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayOfWeekAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]},legend:{selector:{all:"All",inverse:"Inv"}},toolbox:{brush:{title:{rect:"Box Select",polygon:"Lasso Select",lineX:"Horizontally Select",lineY:"Vertically Select",keep:"Keep Selections",clear:"Clear Selections"}},dataView:{title:"Data View",lang:["Data View","Close","Refresh"]},dataZoom:{title:{zoom:"Zoom",back:"Zoom Reset"}},magicType:{title:{line:"Switch to Line Chart",bar:"Switch to Bar Chart",stack:"Stack",tiled:"Tile"}},restore:{title:"Restore"},saveAsImage:{title:"Save as Image",lang:["Right Click to Save Image"]}},series:{typeNames:{pie:"Pie chart",bar:"Bar chart",line:"Line chart",scatter:"Scatter plot",effectScatter:"Ripple scatter plot",radar:"Radar chart",tree:"Tree",treemap:"Treemap",boxplot:"Boxplot",candlestick:"Candlestick",k:"K line chart",heatmap:"Heat map",map:"Map",parallel:"Parallel coordinate map",lines:"Line graph",graph:"Relationship graph",sankey:"Sankey diagram",funnel:"Funnel chart",gauge:"Gauge",pictorialBar:"Pictorial bar",themeRiver:"Theme River Map",sunburst:"Sunburst"}},aria:{general:{withTitle:'This is a chart about "{title}"',withoutTitle:"This is a chart"},series:{single:{prefix:"",withName:" with type {seriesType} named {seriesName}.",withoutName:" with type {seriesType}."},multiple:{prefix:". It consists of {seriesCount} series count.",withName:" The {seriesId} series is a {seriesType} representing {seriesName}.",withoutName:" The {seriesId} series is a {seriesType}.",separator:{middle:"",end:""}}},data:{allData:"The data is as follows: ",partialData:"The first {displayCnt} items are: ",withName:"the data for {name} is {value}",withoutName:"{value}",separator:{middle:", ",end:". "}}}}),fR(oR,{time:{month:["一月","二月","三月","四月","五月","六月","七月","八月","九月","十月","十一月","十二月"],monthAbbr:["1月","2月","3月","4月","5月","6月","7月","8月","9月","10月","11月","12月"],dayOfWeek:["星期日","星期一","星期二","星期三","星期四","星期五","星期六"],dayOfWeekAbbr:["日","一","二","三","四","五","六"]},legend:{selector:{all:"全选",inverse:"反选"}},toolbox:{brush:{title:{rect:"矩形选择",polygon:"圈选",lineX:"横向选择",lineY:"纵向选择",keep:"保持选择",clear:"清除选择"}},dataView:{title:"数据视图",lang:["数据视图","关闭","刷新"]},dataZoom:{title:{zoom:"区域缩放",back:"区域缩放还原"}},magicType:{title:{line:"切换为折线图",bar:"切换为柱状图",stack:"切换为堆叠",tiled:"切换为平铺"}},restore:{title:"还原"},saveAsImage:{title:"保存为图片",lang:["右键另存为图片"]}},series:{typeNames:{pie:"饼图",bar:"柱状图",line:"折线图",scatter:"散点图",effectScatter:"涟漪散点图",radar:"雷达图",tree:"树图",treemap:"矩形树图",boxplot:"箱型图",candlestick:"K线图",k:"K线图",heatmap:"热力图",map:"地图",parallel:"平行坐标图",lines:"线图",graph:"关系图",sankey:"桑基图",funnel:"漏斗图",gauge:"仪表盘图",pictorialBar:"象形柱图",themeRiver:"主题河流图",sunburst:"旭日图"}},aria:{general:{withTitle:"这是一个关于“{title}”的图表。",withoutTitle:"这是一个图表,"},series:{single:{prefix:"",withName:"图表类型是{seriesType},表示{seriesName}。",withoutName:"图表类型是{seriesType}。"},multiple:{prefix:"它由{seriesCount}个图表系列组成。",withName:"第{seriesId}个系列是一个表示{seriesName}的{seriesType},",withoutName:"第{seriesId}个系列是一个{seriesType},",separator:{middle:";",end:"。"}}},data:{allData:"其数据是——",partialData:"其中,前{displayCnt}项是——",withName:"{name}的数据是{value}",withoutName:"{value}",separator:{middle:",",end:""}}}});var pR=1e3,gR=6e4,bR=36e5,vR=864e5,mR=31536e6,yR={year:"{yyyy}",month:"{MMM}",day:"{d}",hour:"{HH}:{mm}",minute:"{HH}:{mm}",second:"{HH}:{mm}:{ss}",millisecond:"{HH}:{mm}:{ss} {SSS}",none:"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss} {SSS}"},wR="{yyyy}-{MM}-{dd}",xR={year:"{yyyy}",month:"{yyyy}-{MM}",day:wR,hour:"{yyyy}-{MM}-{dd} "+yR.hour,minute:"{yyyy}-{MM}-{dd} "+yR.minute,second:"{yyyy}-{MM}-{dd} "+yR.second,millisecond:yR.none},_R=["year","month","day","hour","minute","second","millisecond"],SR=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function kR(t,e){return"0000".substr(0,e-(t+="").length)+t}function IR(t){switch(t){case"half-year":case"quarter":return"month";case"week":case"half-week":return"day";case"half-day":case"quarter-day":return"hour";default:return t}}function MR(t){return t===IR(t)}function CR(t,e,n,r){var i=wE(t),a=i[ER(n)](),o=i[PR(n)]()+1,s=Math.floor((o-1)/3)+1,u=i[DR(n)](),c=i["get"+(n?"UTC":"")+"Day"](),l=i[OR(n)](),h=(l-1)%12+1,f=i[LR(n)](),d=i[RR(n)](),p=i[NR(n)](),g=(r instanceof nR?r:dR(r||hR)||lR.EN).getModel("time"),b=g.get("month"),v=g.get("monthAbbr"),m=g.get("dayOfWeek"),y=g.get("dayOfWeekAbbr");return(e||"").replace(/{yyyy}/g,a+"").replace(/{yy}/g,a%100+"").replace(/{Q}/g,s+"").replace(/{MMMM}/g,b[o-1]).replace(/{MMM}/g,v[o-1]).replace(/{MM}/g,kR(o,2)).replace(/{M}/g,o+"").replace(/{dd}/g,kR(u,2)).replace(/{d}/g,u+"").replace(/{eeee}/g,m[c]).replace(/{ee}/g,y[c]).replace(/{e}/g,c+"").replace(/{HH}/g,kR(l,2)).replace(/{H}/g,l+"").replace(/{hh}/g,kR(h+"",2)).replace(/{h}/g,h+"").replace(/{mm}/g,kR(f,2)).replace(/{m}/g,f+"").replace(/{ss}/g,kR(d,2)).replace(/{s}/g,d+"").replace(/{SSS}/g,kR(p,3)).replace(/{S}/g,p+"")}function TR(t,e){var n=wE(t),r=n[PR(e)]()+1,i=n[DR(e)](),a=n[OR(e)](),o=n[LR(e)](),s=n[RR(e)](),u=0===n[NR(e)](),c=u&&0===s,l=c&&0===o,h=l&&0===a,f=h&&1===i;return f&&1===r?"year":f?"month":h?"day":l?"hour":c?"minute":u?"second":"millisecond"}function AR(t,e,n){var r=fI(t)?wE(t):t;switch(e=e||TR(t,n)){case"year":return r[ER(n)]();case"half-year":return r[PR(n)]()>=6?1:0;case"quarter":return Math.floor((r[PR(n)]()+1)/4);case"month":return r[PR(n)]();case"day":return r[DR(n)]();case"half-day":return r[OR(n)]()/24;case"hour":return r[OR(n)]();case"minute":return r[LR(n)]();case"second":return r[RR(n)]();case"millisecond":return r[NR(n)]()}}function ER(t){return t?"getUTCFullYear":"getFullYear"}function PR(t){return t?"getUTCMonth":"getMonth"}function DR(t){return t?"getUTCDate":"getDate"}function OR(t){return t?"getUTCHours":"getHours"}function LR(t){return t?"getUTCMinutes":"getMinutes"}function RR(t){return t?"getUTCSeconds":"getSeconds"}function NR(t){return t?"getUTCMilliseconds":"getMilliseconds"}function jR(t){return t?"setUTCFullYear":"setFullYear"}function FR(t){return t?"setUTCMonth":"setMonth"}function BR(t){return t?"setUTCDate":"setDate"}function zR(t){return t?"setUTCHours":"setHours"}function $R(t){return t?"setUTCMinutes":"setMinutes"}function VR(t){return t?"setUTCSeconds":"setSeconds"}function HR(t){return t?"setUTCMilliseconds":"setMilliseconds"}function WR(t){if(!ME(t))return lI(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function GR(t,e){return t=(t||"").toLowerCase().replace(/-(.)/g,(function(t,e){return e.toUpperCase()})),e&&t&&(t=t.charAt(0).toUpperCase()+t.slice(1)),t}var UR=SI;function XR(t,e,n){function r(t){return t&&II(t)?t:"-"}function i(t){return!(null==t||isNaN(t)||!isFinite(t))}var a="time"===e,o=t instanceof Date;if(a||o){var s=a?wE(t):t;if(!isNaN(+s))return CR(s,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(o)return"-"}if("ordinal"===e)return hI(t)?r(t):fI(t)&&i(t)?t+"":"-";var u=IE(t);return i(u)?WR(u):hI(t)?r(t):"boolean"==typeof t?t+"":"-"}var qR=["a","b","c","d","e","f","g"],YR=function(t,e){return"{"+t+(null==e?"":e)+"}"};function KR(t,e,n){uI(e)||(e=[e]);var r=e.length;if(!r)return"";for(var i=e[0].$vars||[],a=0;a<i.length;a++){var o=qR[a];t=t.replace(YR(o),YR(o,0))}for(var s=0;s<r;s++)for(var u=0;u<i.length;u++){var c=e[s][i[u]];t=t.replace(YR(qR[u],s),n?mM(c):c)}return t}function ZR(t,e){return e=e||"transparent",lI(t)?t:dI(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function QR(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}var JR=eI,tN=["left","right","top","bottom","width","height"],eN=[["width","left","right"],["height","top","bottom"]];function nN(t,e,n,r,i){var a=0,o=0;null==r&&(r=1/0),null==i&&(i=1/0);var s=0;e.eachChild((function(u,c){var l,h,f=u.getBoundingRect(),d=e.childAt(c+1),p=d&&d.getBoundingRect();if("horizontal"===t){var g=f.width+(p?-p.x+f.x:0);(l=a+g)>r||u.newline?(a=0,l=g,o+=s+n,s=f.height):s=Math.max(s,f.height)}else{var b=f.height+(p?-p.y+f.y:0);(h=o+b)>i||u.newline?(a+=s+n,o=0,h=b,s=f.width):s=Math.max(s,f.width)}u.newline||(u.x=a,u.y=o,u.markRedraw(),"horizontal"===t?a=l+n:o=h+n)}))}var rN=nN;sI(nN,"vertical"),sI(nN,"horizontal");function iN(t,e,n){n=UR(n||0);var r=e.width,i=e.height,a=cE(t.left,r),o=cE(t.top,i),s=cE(t.right,r),u=cE(t.bottom,i),c=cE(t.width,r),l=cE(t.height,i),h=n[2]+n[0],f=n[1]+n[3],d=t.aspect;switch(isNaN(c)&&(c=r-s-f-a),isNaN(l)&&(l=i-u-h-o),null!=d&&(isNaN(c)&&isNaN(l)&&(d>r/i?c=.8*r:l=.8*i),isNaN(c)&&(c=d*l),isNaN(l)&&(l=c/d)),isNaN(a)&&(a=r-s-c-f),isNaN(o)&&(o=i-u-l-h),t.left||t.right){case"center":a=r/2-c/2-n[3];break;case"right":a=r-c-f}switch(t.top||t.bottom){case"middle":case"center":o=i/2-l/2-n[0];break;case"bottom":o=i-l-h}a=a||0,o=o||0,isNaN(c)&&(c=r-f-a-(s||0)),isNaN(l)&&(l=i-h-o-(u||0));var p=new KM(a+n[3],o+n[0],c,l);return p.margin=n,p}function aN(t,e,n,r,i,a){var o,s=!i||!i.hv||i.hv[0],u=!i||!i.hv||i.hv[1],c=i&&i.boundingMode||"all";if((a=a||t).x=t.x,a.y=t.y,!s&&!u)return!1;if("raw"===c)o="group"===t.type?new KM(0,0,+e.width||0,+e.height||0):t.getBoundingRect();else if(o=t.getBoundingRect(),t.needLocalTransform()){var l=t.getLocalTransform();(o=o.clone()).applyTransform(l)}var h=iN(Zk({width:o.width,height:o.height},e),n,r),f=s?h.x-o.x:0,d=u?h.y-o.y:0;return"raw"===c?(a.x=f,a.y=d):(a.x+=f,a.y+=d),a===t&&t.markRedraw(),!0}function oN(t){var e=t.layoutMode||t.constructor.layoutMode;return dI(e)?e:e?{type:e}:null}function sN(t,e,n){var r=n&&n.ignoreSize;!uI(r)&&(r=[r,r]);var i=o(eN[0],0),a=o(eN[1],1);function o(n,i){var a={},o=0,c={},l=0;if(JR(n,(function(e){c[e]=t[e]})),JR(n,(function(t){s(e,t)&&(a[t]=c[t]=e[t]),u(a,t)&&o++,u(c,t)&&l++})),r[i])return u(e,n[1])?c[n[2]]=null:u(e,n[2])&&(c[n[1]]=null),c;if(2!==l&&o){if(o>=2)return a;for(var h=0;h<n.length;h++){var f=n[h];if(!s(a,f)&&s(t,f)){a[f]=t[f];break}}return a}return c}function s(t,e){return t.hasOwnProperty(e)}function u(t,e){return null!=t[e]&&"auto"!==t[e]}function c(t,e,n){JR(t,(function(t){e[t]=n[t]}))}c(eN[0],t,i),c(eN[1],t,a)}function uN(t){return cN({},t)}function cN(t,e){return e&&t&&JR(tN,(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t}var lN=GE(),hN=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.uid=iR("ec_cpt_model"),i}return Sk(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=oN(this),r=n?uN(t):{};qk(t,e.getTheme().get(this.mainType)),qk(t,this.getDefaultOption()),n&&sN(t,r,n)},e.prototype.mergeOption=function(t,e){qk(this.option,t,!0);var n=oN(this);n&&sN(this.option,t,n)},e.prototype.optionUpdated=function(t,e){},e.prototype.getDefaultOption=function(){var t=this.constructor;if(!function(t){return!(!t||!t[nP])}(t))return t.defaultOption;var e=lN(this);if(!e.defaultOption){for(var n=[],r=t;r;){var i=r.prototype.defaultOption;i&&n.push(i),r=r.superClass}for(var a={},o=n.length-1;o>=0;o--)a=qk(a,n[o],!0);e.defaultOption=a}return e.defaultOption},e.prototype.getReferringComponents=function(t,e){var n=t+"Index",r=t+"Id";return ZE(this.ecModel,t,{index:this.get(n,!0),id:this.get(r,!0)},e)},e.prototype.getBoxLayoutParams=function(){var t=this;return{left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")}},e.prototype.getZLevelKey=function(){return""},e.prototype.setZLevel=function(t){this.option.zlevel=t},e.protoInitialize=function(){var t=e.prototype;t.type="component",t.id="",t.name="",t.mainType="",t.subType="",t.componentIndex=0}(),e}(nR);aP(hN,nR),cP(hN),function(t){var e={};t.registerSubTypeDefaulter=function(t,n){var r=rP(t);e[r.main]=n},t.determineSubType=function(n,r){var i=r.type;if(!i){var a=rP(n).main;t.hasSubTypes(n)&&e[a]&&(i=e[a](r))}return i}}(hN),function(t,e){function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}t.topologicalTravel=function(t,r,i,a){if(t.length){var o=function(t){var r={},i=[];return eI(t,(function(a){var o=n(r,a),s=function(t,e){var n=[];return eI(t,(function(t){Qk(e,t)>=0&&n.push(t)})),n}(o.originalDeps=e(a),t);o.entryCount=s.length,0===o.entryCount&&i.push(a),eI(s,(function(t){Qk(o.predecessor,t)<0&&o.predecessor.push(t);var e=n(r,t);Qk(e.successor,t)<0&&e.successor.push(a)}))})),{graph:r,noEntryList:i}}(r),s=o.graph,u=o.noEntryList,c={};for(eI(t,(function(t){c[t]=!0}));u.length;){var l=u.pop(),h=s[l],f=!!c[l];f&&(i.call(a,l,h.originalDeps.slice()),delete c[l]),eI(h.successor,f?p:d)}eI(c,(function(){throw new Error("")}))}function d(t){s[t].entryCount--,0===s[t].entryCount&&u.push(t)}function p(t){c[t]=!0,d(t)}}}(hN,(function(t){var e=[];eI(hN.getClassesByMainType(t),(function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])})),e=nI(e,(function(t){return rP(t).main})),"dataset"!==t&&Qk(e,"dataset")<=0&&e.unshift("dataset");return e}));const fN=hN;var dN="";"undefined"!=typeof navigator&&(dN=navigator.platform||"");var pN="rgba(0, 0, 0, 0.2)";const gN={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:pN,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:pN,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:pN,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:pN,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:pN,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:pN,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:dN.match(/^Win/)?"Microsoft YaHei":"sans-serif",fontSize:12,fontStyle:"normal",fontWeight:"normal"},blendMode:null,stateAnimation:{duration:300,easing:"cubicOut"},animation:"auto",animationDuration:1e3,animationDurationUpdate:500,animationEasing:"cubicInOut",animationEasingUpdate:"cubicInOut",animationThreshold:2e3,progressiveThreshold:3e3,progressive:400,hoverLayerThreshold:3e3,useUTC:!1};var bN=DI(["tooltip","label","itemName","itemId","itemGroupId","seriesName"]),vN="original",mN="arrayRows",yN="objectRows",wN="keyedColumns",xN="typedArray",_N="unknown",SN="column",kN="row",IN=1,MN=2,CN=3,TN=GE();function AN(t,e,n){var r={},i=PN(e);if(!i||!t)return r;var a,o,s=[],u=[],c=e.ecModel,l=TN(c).datasetMap,h=i.uid+"_"+n.seriesLayoutBy;eI(t=t.slice(),(function(e,n){var i=dI(e)?e:t[n]={name:e};"ordinal"===i.type&&null==a&&(a=n,o=p(i)),r[i.name]=[]}));var f=l.get(h)||l.set(h,{categoryWayDim:o,valueWayDim:0});function d(t,e,n){for(var r=0;r<n;r++)t.push(e+r)}function p(t){var e=t.dimsDef;return e?e.length:1}return eI(t,(function(t,e){var n=t.name,i=p(t);if(null==a){var o=f.valueWayDim;d(r[n],o,i),d(u,o,i),f.valueWayDim+=i}else if(a===e)d(r[n],0,i),d(s,0,i);else{o=f.categoryWayDim;d(r[n],o,i),d(u,o,i),f.categoryWayDim+=i}})),s.length&&(r.itemName=s),u.length&&(r.seriesName=u),r}function EN(t,e,n){var r={};if(!PN(t))return r;var i,a=e.sourceFormat,o=e.dimensionsDefine;a!==yN&&a!==wN||eI(o,(function(t,e){"name"===(dI(t)?t.name:t)&&(i=e)}));var s=function(){for(var t={},r={},s=[],u=0,c=Math.min(5,n);u<c;u++){var l=ON(e.data,a,e.seriesLayoutBy,o,e.startIndex,u);s.push(l);var h=l===CN;if(h&&null==t.v&&u!==i&&(t.v=u),(null==t.n||t.n===t.v||!h&&s[t.n]===CN)&&(t.n=u),f(t)&&s[t.n]!==CN)return t;h||(l===MN&&null==r.v&&u!==i&&(r.v=u),null!=r.n&&r.n!==r.v||(r.n=u))}function f(t){return null!=t.v&&null!=t.n}return f(t)?t:f(r)?r:null}();if(s){r.value=[s.v];var u=null!=i?i:s.n;r.itemName=[u],r.seriesName=[u]}return r}function PN(t){if(!t.get("data",!0))return ZE(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},YE).models[0]}function DN(t,e){return ON(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}function ON(t,e,n,r,i,a){var o,s,u;if(gI(t))return CN;if(r){var c=r[a];dI(c)?(s=c.name,u=c.type):lI(c)&&(s=c)}if(null!=u)return"ordinal"===u?IN:CN;if(e===mN){var l=t;if(n===kN){for(var h=l[a],f=0;f<(h||[]).length&&f<5;f++)if(null!=(o=m(h[i+f])))return o}else for(f=0;f<l.length&&f<5;f++){var d=l[i+f];if(d&&null!=(o=m(d[a])))return o}}else if(e===yN){var p=t;if(!s)return CN;for(f=0;f<p.length&&f<5;f++){if((b=p[f])&&null!=(o=m(b[s])))return o}}else if(e===wN){if(!s)return CN;if(!(h=t[s])||gI(h))return CN;for(f=0;f<h.length&&f<5;f++)if(null!=(o=m(h[f])))return o}else if(e===vN){var g=t;for(f=0;f<g.length&&f<5;f++){var b,v=NE(b=g[f]);if(!uI(v))return CN;if(null!=(o=m(v[a])))return o}}function m(t){var e=lI(t);return null!=t&&isFinite(t)&&""!==t?e?MN:CN:e&&"-"!==t?IN:void 0}return CN}var LN=DI();var RN,NN,jN,FN=GE(),BN=GE(),zN=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){var r=OE(this.get("color",!0)),i=this.get("colorLayer",!0);return VN(this,FN,r,i,t,e,n)},t.prototype.clearColorPalette=function(){!function(t,e){e(t).paletteIdx=0,e(t).paletteNameMap={}}(this,FN)},t}();function $N(t,e,n,r){var i=OE(t.get(["aria","decal","decals"]));return VN(t,BN,i,null,e,n,r)}function VN(t,e,n,r,i,a,o){var s=e(a=a||t),u=s.paletteIdx||0,c=s.paletteNameMap=s.paletteNameMap||{};if(c.hasOwnProperty(i))return c[i];var l=null!=o&&r?function(t,e){for(var n=t.length,r=0;r<n;r++)if(t[r].length>e)return t[r];return t[n-1]}(r,o):n;if((l=l||n)&&l.length){var h=l[u];return i&&(c[i]=h),s.paletteIdx=(u+1)%l.length,h}}var HN=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.init=function(t,e,n,r,i,a){r=r||{},this.option=null,this._theme=new nR(r),this._locale=new nR(i),this._optionManager=a},e.prototype.setOption=function(t,e,n){var r=UN(e);this._optionManager.setOption(t,n,r),this._resetOption(null,r)},e.prototype.resetOption=function(t,e){return this._resetOption(t,UN(e))},e.prototype._resetOption=function(t,e){var n=!1,r=this._optionManager;if(!t||"recreate"===t){var i=r.mountOption("recreate"===t);0,this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(i,e)):jN(this,i),n=!0}if("timeline"!==t&&"media"!==t||this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=r.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var o=r.getMediaOption(this);o.length&&eI(o,(function(t){n=!0,this._mergeOption(t,e)}),this)}return n},e.prototype.mergeOption=function(t){this._mergeOption(t,null)},e.prototype._mergeOption=function(t,e){var n=this.option,r=this._componentsMap,i=this._componentsCount,a=[],o=DI(),s=e&&e.replaceMergeMainTypeMap;TN(this).datasetMap=DI(),eI(t,(function(t,e){null!=t&&(fN.hasClass(e)?e&&(a.push(e),o.set(e,!0)):n[e]=null==n[e]?Xk(t):qk(n[e],t,!0))})),s&&s.each((function(t,e){fN.hasClass(e)&&!o.get(e)&&(a.push(e),o.set(e,!0))})),fN.topologicalTravel(a,fN.getAllClassMainTypes(),(function(e){var a=function(t,e,n){var r=LN.get(e);if(!r)return n;var i=r(t);return i?n.concat(i):n}(this,e,OE(t[e])),o=r.get(e),u=o?s&&s.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=FE(o,a,u);(function(t,e,n){eI(t,(function(t){var r=t.newOption;dI(r)&&(t.keyInfo.mainType=e,t.keyInfo.subType=function(t,e,n,r){return e.type?e.type:n?n.subType:r.determineSubType(t,e)}(e,r,t.existing,n))}))})(c,e,fN),n[e]=null,r.set(e,null),i.set(e,0);var l,h=[],f=[],d=0;eI(c,(function(t,n){var r=t.existing,i=t.newOption;if(i){var a="series"===e,o=fN.getClass(e,t.keyInfo.subType,!a);if(!o)return;if("tooltip"===e){if(l)return void 0;l=!0}if(r&&r.constructor===o)r.name=t.keyInfo.name,r.mergeOption(i,this),r.optionUpdated(i,!1);else{var s=Kk({componentIndex:n},t.keyInfo);Kk(r=new o(i,this,this,s),s),t.brandNew&&(r.__requireNewView=!0),r.init(i,this,this),r.optionUpdated(null,!0)}}else r&&(r.mergeOption({},this),r.optionUpdated({},!1));r?(h.push(r.option),f.push(r),d++):(h.push(void 0),f.push(void 0))}),this),n[e]=h,r.set(e,f),i.set(e,d),"series"===e&&RN(this)}),this),this._seriesIndices||RN(this)},e.prototype.getOption=function(){var t=Xk(this.option);return eI(t,(function(e,n){if(fN.hasClass(n)){for(var r=OE(e),i=r.length,a=!1,o=i-1;o>=0;o--)r[o]&&!HE(r[o])?a=!0:(r[o]=null,!a&&i--);r.length=i,t[n]=r}})),delete t["\0_ec_inner"],t},e.prototype.getTheme=function(){return this._theme},e.prototype.getLocaleModel=function(){return this._locale},e.prototype.setUpdatePayload=function(t){this._payload=t},e.prototype.getUpdatePayload=function(){return this._payload},e.prototype.getComponent=function(t,e){var n=this._componentsMap.get(t);if(n){var r=n[e||0];if(r)return r;if(null==e)for(var i=0;i<n.length;i++)if(n[i])return n[i]}},e.prototype.queryComponents=function(t){var e=t.mainType;if(!e)return[];var n,r=t.index,i=t.id,a=t.name,o=this._componentsMap.get(e);return o&&o.length?(null!=r?(n=[],eI(OE(r),(function(t){o[t]&&n.push(o[t])}))):n=null!=i?WN("id",i,o):null!=a?WN("name",a,o):iI(o,(function(t){return!!t})),GN(n,t)):[]},e.prototype.findComponents=function(t){var e,n,r,i,a,o=t.query,s=t.mainType,u=(n=s+"Index",r=s+"Id",i=s+"Name",!(e=o)||null==e[n]&&null==e[r]&&null==e[i]?null:{mainType:s,index:e[n],id:e[r],name:e[i]}),c=u?this.queryComponents(u):iI(this._componentsMap.get(s),(function(t){return!!t}));return a=GN(c,t),t.filter?iI(a,t.filter):a},e.prototype.eachComponent=function(t,e,n){var r=this._componentsMap;if(cI(t)){var i=e,a=t;r.each((function(t,e){for(var n=0;t&&n<t.length;n++){var r=t[n];r&&a.call(i,e,r,r.componentIndex)}}))}else for(var o=lI(t)?r.get(t):dI(t)?this.findComponents(t):null,s=0;o&&s<o.length;s++){var u=o[s];u&&e.call(n,u,u.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=$E(t,null);return iI(this._componentsMap.get("series"),(function(t){return!!t&&null!=e&&t.name===e}))},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return iI(this._componentsMap.get("series"),(function(e){return!!e&&e.subType===t}))},e.prototype.getSeries=function(){return iI(this._componentsMap.get("series"),(function(t){return!!t}))},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){NN(this),eI(this._seriesIndices,(function(n){var r=this._componentsMap.get("series")[n];t.call(e,r,n)}),this)},e.prototype.eachRawSeries=function(t,e){eI(this._componentsMap.get("series"),(function(n){n&&t.call(e,n,n.componentIndex)}))},e.prototype.eachSeriesByType=function(t,e,n){NN(this),eI(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];i.subType===t&&e.call(n,i,r)}),this)},e.prototype.eachRawSeriesByType=function(t,e,n){return eI(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return NN(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){NN(this);var n=[];eI(this._seriesIndices,(function(r){var i=this._componentsMap.get("series")[r];t.call(e,i,r)&&n.push(r)}),this),this._seriesIndices=n,this._seriesIndicesMap=DI(n)},e.prototype.restoreData=function(t){RN(this);var e=this._componentsMap,n=[];e.each((function(t,e){fN.hasClass(e)&&n.push(e)})),fN.topologicalTravel(n,fN.getAllClassMainTypes(),(function(n){eI(e.get(n),(function(e){!e||"series"===n&&function(t,e){if(e){var n=e.seriesIndex,r=e.seriesId,i=e.seriesName;return null!=n&&t.componentIndex!==n||null!=r&&t.id!==r||null!=i&&t.name!==i}}(e,t)||e.restoreData()}))}))},e.internalField=(RN=function(t){var e=t._seriesIndices=[];eI(t._componentsMap.get("series"),(function(t){t&&e.push(t.componentIndex)})),t._seriesIndicesMap=DI(e)},NN=function(t){},void(jN=function(t,e){t.option={},t.option["\0_ec_inner"]=1,t._componentsMap=DI({series:[]}),t._componentsCount=DI();var n=e.aria;dI(n)&&null==n.enabled&&(n.enabled=!0),function(t,e){var n=t.color&&!t.colorLayer;eI(e,(function(e,r){"colorLayer"===r&&n||fN.hasClass(r)||("object"==typeof e?t[r]=t[r]?qk(t[r],e,!1):Xk(e):null==t[r]&&(t[r]=e))}))}(e,t._theme.option),qk(e,gN,!1),t._mergeOption(e,null)})),e}(nR);function WN(t,e,n){if(uI(e)){var r=DI();return eI(e,(function(t){null!=t&&(null!=$E(t,null)&&r.set(t,!0))})),iI(n,(function(e){return e&&r.get(e[t])}))}var i=$E(e,null);return iI(n,(function(e){return e&&null!=i&&e[t]===i}))}function GN(t,e){return e.hasOwnProperty("subType")?iI(t,(function(t){return t&&t.subType===e.subType})):t}function UN(t){var e=DI();return t&&eI(OE(t.replaceMerge),(function(t){e.set(t,!0)})),{replaceMergeMainTypeMap:e}}Jk(HN,zN);const XN=HN;var qN=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];const YN=function(t){eI(qN,(function(e){this[e]=oI(t[e],t)}),this)};var KN={},ZN=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];eI(KN,(function(r,i){var a=r.create(t,e);n=n.concat(a||[])})),this._coordinateSystems=n},t.prototype.update=function(t,e){eI(this._coordinateSystems,(function(n){n.update&&n.update(t,e)}))},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){KN[t]=e},t.get=function(t){return KN[t]},t}();const QN=ZN;var JN=/^(min|max)?(.+)$/,tj=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&(eI(OE(t.series),(function(t){t&&t.data&&gI(t.data)&&CI(t.data)})),eI(OE(t.dataset),(function(t){t&&t.source&&gI(t.source)&&CI(t.source)}))),t=Xk(t);var r=this._optionBackup,i=function(t,e,n){var r,i,a=[],o=t.baseOption,s=t.timeline,u=t.options,c=t.media,l=!!t.media,h=!!(u||s||o&&o.timeline);o?(i=o).timeline||(i.timeline=s):((h||l)&&(t.options=t.media=null),i=t);l&&uI(c)&&eI(c,(function(t){t&&t.option&&(t.query?a.push(t):r||(r=t))}));function f(t){eI(e,(function(e){e(t,n)}))}return f(i),eI(u,(function(t){return f(t)})),eI(a,(function(t){return f(t.option)})),{baseOption:i,timelineOptions:u||[],mediaDefault:r,mediaList:a}}(t,e,!r);this._newBaseOption=i.baseOption,r?(i.timelineOptions.length&&(r.timelineOptions=i.timelineOptions),i.mediaList.length&&(r.mediaList=i.mediaList),i.mediaDefault&&(r.mediaDefault=i.mediaDefault)):this._optionBackup=i},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],Xk(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var r=t.getComponent("timeline");r&&(e=Xk(n[r.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,r=this._api.getWidth(),i=this._api.getHeight(),a=this._mediaList,o=this._mediaDefault,s=[],u=[];if(!a.length&&!o)return u;for(var c=0,l=a.length;c<l;c++)ej(a[c].query,r,i)&&s.push(c);return!s.length&&o&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(u=nI(s,(function(t){return Xk(-1===t?o.option:a[t].option)}))),this._currentMediaIndices=s,u},t}();function ej(t,e,n){var r={width:e,height:n,aspectratio:e/n},i=!0;return eI(t,(function(t,e){var n=e.match(JN);if(n&&n[1]&&n[2]){var a=n[1],o=n[2].toLowerCase();(function(t,e,n){return"min"===n?t>=e:"max"===n?t<=e:t===e})(r[o],t,a)||(i=!1)}})),i}const nj=tj;var rj=eI,ij=dI,aj=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function oj(t){var e=t&&t.itemStyle;if(e)for(var n=0,r=aj.length;n<r;n++){var i=aj[n],a=e.normal,o=e.emphasis;a&&a[i]&&(t[i]=t[i]||{},t[i].normal?qk(t[i].normal,a[i]):t[i].normal=a[i],a[i]=null),o&&o[i]&&(t[i]=t[i]||{},t[i].emphasis?qk(t[i].emphasis,o[i]):t[i].emphasis=o[i],o[i]=null)}}function sj(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var r=t[e].normal,i=t[e].emphasis;r&&(n?(t[e].normal=t[e].emphasis=null,Zk(t[e],r)):t[e]=r),i&&(t.emphasis=t.emphasis||{},t.emphasis[e]=i,i.focus&&(t.emphasis.focus=i.focus),i.blurScope&&(t.emphasis.blurScope=i.blurScope))}}function uj(t){sj(t,"itemStyle"),sj(t,"lineStyle"),sj(t,"areaStyle"),sj(t,"label"),sj(t,"labelLine"),sj(t,"upperLabel"),sj(t,"edgeLabel")}function cj(t,e){var n=ij(t)&&t[e],r=ij(n)&&n.textStyle;if(r){0;for(var i=0,a=RE.length;i<a;i++){var o=RE[i];r.hasOwnProperty(o)&&(n[o]=r[o])}}}function lj(t){t&&(uj(t),cj(t,"label"),t.emphasis&&cj(t.emphasis,"label"))}function hj(t){return uI(t)?t:t?[t]:[]}function fj(t){return(uI(t)?t[0]:t)||{}}function dj(t,e){rj(hj(t.series),(function(t){ij(t)&&function(t){if(ij(t)){oj(t),uj(t),cj(t,"label"),cj(t,"upperLabel"),cj(t,"edgeLabel"),t.emphasis&&(cj(t.emphasis,"label"),cj(t.emphasis,"upperLabel"),cj(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&(oj(e),lj(e));var n=t.markLine;n&&(oj(n),lj(n));var r=t.markArea;r&&lj(r);var i=t.data;if("graph"===t.type){i=i||t.nodes;var a=t.links||t.edges;if(a&&!gI(a))for(var o=0;o<a.length;o++)lj(a[o]);eI(t.categories,(function(t){uj(t)}))}if(i&&!gI(i))for(o=0;o<i.length;o++)lj(i[o]);if((e=t.markPoint)&&e.data){var s=e.data;for(o=0;o<s.length;o++)lj(s[o])}if((n=t.markLine)&&n.data){var u=n.data;for(o=0;o<u.length;o++)uI(u[o])?(lj(u[o][0]),lj(u[o][1])):lj(u[o])}"gauge"===t.type?(cj(t,"axisLabel"),cj(t,"title"),cj(t,"detail")):"treemap"===t.type?(sj(t.breadcrumb,"itemStyle"),eI(t.levels,(function(t){uj(t)}))):"tree"===t.type&&uj(t.leaves)}}(t)}));var n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"];e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),rj(n,(function(e){rj(hj(t[e]),(function(t){t&&(cj(t,"axisLabel"),cj(t.axisPointer,"label"))}))})),rj(hj(t.parallel),(function(t){var e=t&&t.parallelAxisDefault;cj(e,"axisLabel"),cj(e&&e.axisPointer,"label")})),rj(hj(t.calendar),(function(t){sj(t,"itemStyle"),cj(t,"dayLabel"),cj(t,"monthLabel"),cj(t,"yearLabel")})),rj(hj(t.radar),(function(t){cj(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)})),rj(hj(t.geo),(function(t){ij(t)&&(lj(t),rj(hj(t.regions),(function(t){lj(t)})))})),rj(hj(t.timeline),(function(t){lj(t),sj(t,"label"),sj(t,"itemStyle"),sj(t,"controlStyle",!0);var e=t.data;uI(e)&&eI(e,(function(t){dI(t)&&(sj(t,"label"),sj(t,"itemStyle"))}))})),rj(hj(t.toolbox),(function(t){sj(t,"iconStyle"),rj(t.feature,(function(t){sj(t,"iconStyle")}))})),cj(fj(t.axisPointer),"label"),cj(fj(t.tooltip).axisPointer,"label")}function pj(t){t&&eI(gj,(function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])}))}var gj=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],bj=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],vj=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function mj(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<vj.length;n++){var r=vj[n][1],i=vj[n][0];null!=e[r]&&(e[i]=e[r])}}function yj(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function wj(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function xj(t,e){if(t)for(var n=0;n<t.length;n++)e(t[n]),t[n]&&xj(t[n].children,e)}function _j(t,e){dj(t,e),t.series=OE(t.series),eI(t.series,(function(t){if(dI(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){if(null!=t.clockWise&&(t.clockwise=t.clockWise),yj(t.label),(i=t.data)&&!gI(i))for(var n=0;n<i.length;n++)yj(i[n]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},(t.emphasis.scaleSize=null)&&(t.emphasis.scaleSize=t.hoverOffset))}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),r=t,i=0;i<n.length&&null!=(r=r&&r[n[i]]);i++);return r}(t,"pointer.color");null!=r&&function(t,e,n,r){for(var i,a=e.split(","),o=t,s=0;s<a.length-1;s++)null==o[i=a[s]]&&(o[i]={}),o=o[i];(r||null==o[a[s]])&&(o[a[s]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){var i;if(mj(t),mj(t.backgroundStyle),mj(t.emphasis),(i=t.data)&&!gI(i))for(n=0;n<i.length;n++)"object"==typeof i[n]&&(mj(i[n]),mj(i[n]&&i[n].emphasis))}else if("sunburst"===e){var a=t.highlightPolicy;a&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=a)),wj(t),xj(t.data,wj)}else"graph"===e||"sankey"===e?function(t){t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency"))}(t):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&Zk(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),pj(t)}})),t.dataRange&&(t.visualMap=t.dataRange),eI(bj,(function(e){var n=t[e];n&&(uI(n)||(n=[n]),eI(n,(function(t){pj(t)})))}))}function Sj(t){eI(t,(function(e,n){var r=[],i=[NaN,NaN],a=[e.stackResultDimension,e.stackedOverDimension],o=e.data,s=e.isStackedByIndex,u=e.seriesModel.get("stackStrategy")||"samesign";o.modify(a,(function(a,c,l){var h,f,d=o.get(e.stackedDimension,l);if(isNaN(d))return i;s?f=o.getRawIndex(l):h=o.get(e.stackedByDimension,l);for(var p=NaN,g=n-1;g>=0;g--){var b=t[g];if(s||(f=b.data.rawIndexOf(b.stackedByDimension,h)),f>=0){var v=b.data.getByRawIndex(b.stackResultDimension,f);if("all"===u||"positive"===u&&v>0||"negative"===u&&v<0||"samesign"===u&&d>=0&&v>0||"samesign"===u&&d<=0&&v<0){d=gE(d,v),p=v;break}}}return r[0]=d,r[1]=p,r}))}))}var kj,Ij,Mj,Cj,Tj,Aj=function(t){this.data=t.data||(t.sourceFormat===wN?{}:[]),this.sourceFormat=t.sourceFormat||_N,this.seriesLayoutBy=t.seriesLayoutBy||SN,this.startIndex=t.startIndex||0,this.dimensionsDetectedCount=t.dimensionsDetectedCount,this.metaRawOption=t.metaRawOption;var e=this.dimensionsDefine=t.dimensionsDefine;if(e)for(var n=0;n<e.length;n++){var r=e[n];null==r.type&&DN(this,n)===IN&&(r.type="ordinal")}};function Ej(t){return t instanceof Aj}function Pj(t,e,n){n=n||Oj(t);var r=e.seriesLayoutBy,i=function(t,e,n,r,i){var a,o;if(!t)return{dimensionsDefine:Lj(i),startIndex:o,dimensionsDetectedCount:a};if(e===mN){var s=t;"auto"===r||null==r?Rj((function(t){null!=t&&"-"!==t&&(lI(t)?null==o&&(o=1):o=0)}),n,s,10):o=fI(r)?r:r?1:0,i||1!==o||(i=[],Rj((function(t,e){i[e]=null!=t?t+"":""}),n,s,1/0)),a=i?i.length:n===kN?s.length:s[0]?s[0].length:null}else if(e===yN)i||(i=function(t){var e,n=0;for(;n<t.length&&!(e=t[n++]););if(e)return aI(e)}(t));else if(e===wN)i||(i=[],eI(t,(function(t,e){i.push(e)})));else if(e===vN){var u=NE(t[0]);a=uI(u)&&u.length||1}return{startIndex:o,dimensionsDefine:Lj(i),dimensionsDetectedCount:a}}(t,n,r,e.sourceHeader,e.dimensions);return new Aj({data:t,sourceFormat:n,seriesLayoutBy:r,dimensionsDefine:i.dimensionsDefine,startIndex:i.startIndex,dimensionsDetectedCount:i.dimensionsDetectedCount,metaRawOption:Xk(e)})}function Dj(t){return new Aj({data:t,sourceFormat:gI(t)?xN:vN})}function Oj(t){var e=_N;if(gI(t))e=xN;else if(uI(t)){0===t.length&&(e=mN);for(var n=0,r=t.length;n<r;n++){var i=t[n];if(null!=i){if(uI(i)){e=mN;break}if(dI(i)){e=yN;break}}}}else if(dI(t))for(var a in t)if(NI(t,a)&&tI(t[a])){e=wN;break}return e}function Lj(t){if(t){var e=DI();return nI(t,(function(t,n){var r={name:(t=dI(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var i=e.get(r.name);return i?r.name+="-"+i.count++:e.set(r.name,{count:1}),r}))}}function Rj(t,e,n,r){if(e===kN)for(var i=0;i<n.length&&i<r;i++)t(n[i]?n[i][0]:null,i);else{var a=n[0]||[];for(i=0;i<a.length&&i<r;i++)t(a[i],i)}}function Nj(t){var e=t.sourceFormat;return e===yN||e===wN}var jj=function(){function t(t,e){var n=Ej(t)?t:Dj(t);this._source=n;var r=this._data=n.data;n.sourceFormat===xN&&(this._offset=0,this._dimSize=e,this._data=r),Tj(this,r,n)}return t.prototype.getSource=function(){return this._source},t.prototype.count=function(){return 0},t.prototype.getItem=function(t,e){},t.prototype.appendData=function(t){},t.prototype.clean=function(){},t.protoInitialize=function(){var e=t.prototype;e.pure=!1,e.persistent=!0}(),t.internalField=function(){var t;Tj=function(t,i,a){var o=a.sourceFormat,s=a.seriesLayoutBy,u=a.startIndex,c=a.dimensionsDefine;if(Kk(t,Cj[Xj(o,s)]),o===xN)t.getItem=e,t.count=r,t.fillStorage=n;else{var l=zj(o,s);t.getItem=oI(l,null,i,u,c);var h=Hj(o,s);t.count=oI(h,null,i,u,c)}};var e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,r=this._dimSize,i=r*t,a=0;a<r;a++)e[a]=n[i+a];return e},n=function(t,e,n,r){for(var i=this._data,a=this._dimSize,o=0;o<a;o++){for(var s=r[o],u=null==s[0]?1/0:s[0],c=null==s[1]?-1/0:s[1],l=e-t,h=n[o],f=0;f<l;f++){var d=i[f*a+o];h[t+f]=d,d<u&&(u=d),d>c&&(c=d)}s[0]=u,s[1]=c}},r=function(){return this._data?this._data.length/this._dimSize:0};function i(t){for(var e=0;e<t.length;e++)this._data.push(t[e])}(t={}).arrayRows_column={pure:!0,appendData:i},t.arrayRows_row={pure:!0,appendData:function(){throw new Error('Do not support appendData when set seriesLayoutBy: "row".')}},t.objectRows={pure:!0,appendData:i},t.keyedColumns={pure:!0,appendData:function(t){var e=this._data;eI(t,(function(t,n){for(var r=e[n]||(e[n]=[]),i=0;i<(t||[]).length;i++)r.push(t[i])}))}},t.original={appendData:i},t.typedArray={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},Cj=t}(),t}(),Fj=function(t,e,n,r){return t[r]},Bj=((kj={}).arrayRows_column=function(t,e,n,r){return t[r+e]},kj.arrayRows_row=function(t,e,n,r,i){r+=e;for(var a=i||[],o=t,s=0;s<o.length;s++){var u=o[s];a[s]=u?u[r]:null}return a},kj.objectRows=Fj,kj.keyedColumns=function(t,e,n,r,i){for(var a=i||[],o=0;o<n.length;o++){0;var s=t[n[o].name];a[o]=s?s[r]:null}return a},kj.original=Fj,kj);function zj(t,e){return Bj[Xj(t,e)]}var $j=function(t,e,n){return t.length},Vj=((Ij={}).arrayRows_column=function(t,e,n){return Math.max(0,t.length-e)},Ij.arrayRows_row=function(t,e,n){var r=t[0];return r?Math.max(0,r.length-e):0},Ij.objectRows=$j,Ij.keyedColumns=function(t,e,n){var r=t[n[0].name];return r?r.length:0},Ij.original=$j,Ij);function Hj(t,e){return Vj[Xj(t,e)]}var Wj=function(t,e,n){return t[e]},Gj=((Mj={}).arrayRows=Wj,Mj.objectRows=function(t,e,n){return t[n]},Mj.keyedColumns=Wj,Mj.original=function(t,e,n){var r=NE(t);return r instanceof Array?r[e]:r},Mj.typedArray=Wj,Mj);function Uj(t){return Gj[t]}function Xj(t,e){return t===mN?t+"_"+e:t}function qj(t,e,n){if(t){var r=t.getRawDataItem(e);if(null!=r){var i=t.getStore(),a=i.getSource().sourceFormat;if(null!=n){var o=t.getDimensionIndex(n),s=i.getDimensionProperty(o);return Uj(a)(r,o,s)}var u=r;return a===vN&&(u=NE(r)),u}}}var Yj=/\{@(.+?)\}/g,Kj=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),r=this.getRawValue(t,e),i=n.getRawIndex(t),a=n.getName(t),o=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),u=s&&s[n.getItemVisual(t,"drawType")||"fill"],c=s&&s.stroke,l=this.mainType,h="series"===l,f=n.userOutput&&n.userOutput.get();return{componentType:l,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:h?this.subType:null,seriesIndex:this.seriesIndex,seriesId:h?this.id:null,seriesName:h?this.name:null,name:a,dataIndex:i,data:o,dataType:e,value:r,color:u,borderColor:c,dimensionNames:f?f.fullDimensions:null,encode:f?f.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,r,i,a){e=e||"normal";var o=this.getData(n),s=this.getDataParams(t,n);(a&&(s.value=a.interpolatedValue),null!=r&&uI(s.value)&&(s.value=s.value[r]),i)||(i=o.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"]));return cI(i)?(s.status=e,s.dimensionIndex=r,i(s)):lI(i)?KR(i,s).replace(Yj,(function(e,n){var r=n.length,i=n;"["===i.charAt(0)&&"]"===i.charAt(r-1)&&(i=+i.slice(1,r-1));var s=qj(o,t,i);if(a&&uI(a.interpolatedValue)){var u=o.getDimensionIndex(i);u>=0&&(s=a.interpolatedValue[u])}return null!=s?s+"":""})):void 0},t.prototype.getRawValue=function(t,e){return qj(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function Zj(t){var e,n;return dI(t)?t.type&&(n=t):e=t,{text:e,frag:n}}function Qj(t){return new Jj(t)}var Jj=function(){function t(t){t=t||{},this._reset=t.reset,this._plan=t.plan,this._count=t.count,this._onDirty=t.onDirty,this._dirty=!0}return t.prototype.perform=function(t){var e,n=this._upstream,r=t&&t.skip;if(this._dirty&&n){var i=this.context;i.data=i.outputData=n.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!r&&(e=this._plan(this.context));var a,o=l(this._modBy),s=this._modDataCount||0,u=l(t&&t.modBy),c=t&&t.modDataCount||0;function l(t){return!(t>=1)&&(t=1),t}o===u&&s===c||(e="reset"),(this._dirty||"reset"===e)&&(this._dirty=!1,a=this._doReset(r)),this._modBy=u,this._modDataCount=c;var h=t&&t.step;if(this._dueEnd=n?n._outputDueEnd:this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,d=Math.min(null!=h?this._dueIndex+h:1/0,this._dueEnd);if(!r&&(a||f<d)){var p=this._progress;if(uI(p))for(var g=0;g<p.length;g++)this._doProgress(p[g],f,d,u,c);else this._doProgress(p,f,d,u,c)}this._dueIndex=d;var b=null!=this._settedOutputEnd?this._settedOutputEnd:d;0,this._outputDueEnd=b}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,r,i){tF.reset(e,n,r,i),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:tF.next},this.context)},t.prototype._doReset=function(t){var e,n;this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),uI(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),tF=function(){var t,e,n,r,i,a={reset:function(u,c,l,h){e=u,t=c,n=l,r=h,i=Math.ceil(r/n),a.next=n>1&&r>0?s:o}};return a;function o(){return e<t?e++:null}function s(){var a=e%i*n+Math.ceil(e/i),o=e>=t?null:a<r?a:e;return e++,o}}();"undefined"!=typeof console&&console.warn&&console.log;function eF(t){0}function nF(t){throw new Error(t)}function rF(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||fI(t)||null==t||"-"===t||(t=+wE(t)),null==t||""===t?NaN:+t)}var iF=DI({number:function(t){return parseFloat(t)},time:function(t){return+wE(t)},trim:function(t){return lI(t)?II(t):t}});function aF(t){return iF.get(t)}var oF={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},sF=function(){function t(t,e){if(!fI(e)){0,nF("")}this._opFn=oF[t],this._rvalFloat=IE(e)}return t.prototype.evaluate=function(t){return fI(t)?this._opFn(t,this._rvalFloat):this._opFn(IE(t),this._rvalFloat)},t}(),uF=function(){function t(t,e){var n="desc"===t;this._resultLT=n?1:-1,null==e&&(e=n?"min":"max"),this._incomparable="min"===e?-1/0:1/0}return t.prototype.evaluate=function(t,e){var n=fI(t)?t:IE(t),r=fI(e)?e:IE(e),i=isNaN(n),a=isNaN(r);if(i&&(n=this._incomparable),a&&(r=this._incomparable),i&&a){var o=lI(t),s=lI(e);o&&(n=s?t:0),s&&(r=o?e:0)}return n<r?this._resultLT:n>r?-this._resultLT:0},t}(),cF=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=IE(e)}return t.prototype.evaluate=function(t){var e=t===this._rval;if(!e){var n=typeof t;n===this._rvalTypeof||"number"!==n&&"number"!==this._rvalTypeof||(e=IE(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function lF(t,e){return"eq"===t||"ne"===t?new cF("eq"===t,e):NI(oF,t)?new sF(t,e):null}var hF=function(){function t(){}return t.prototype.getRawData=function(){throw new Error("not supported")},t.prototype.getRawDataItem=function(t){throw new Error("not supported")},t.prototype.cloneRawData=function(){},t.prototype.getDimensionInfo=function(t){},t.prototype.cloneAllDimensionInfo=function(){},t.prototype.count=function(){},t.prototype.retrieveValue=function(t,e){},t.prototype.retrieveValueFromItem=function(t,e){},t.prototype.convertValue=function(t,e){return rF(t,e)},t}();function fF(t){if(!mF(t.sourceFormat)){0,nF("")}return t.data}function dF(t){var e=t.sourceFormat,n=t.data;if(!mF(e)){0,nF("")}if(e===mN){for(var r=[],i=0,a=n.length;i<a;i++)r.push(n[i].slice());return r}if(e===yN){for(r=[],i=0,a=n.length;i<a;i++)r.push(Kk({},n[i]));return r}}function pF(t,e,n){if(null!=n)return fI(n)||!isNaN(n)&&!NI(e,n)?t[n]:NI(e,n)?e[n]:void 0}function gF(t){return Xk(t)}var bF=DI();function vF(t,e,n,r){e.length||nF(""),dI(t)||nF("");var i=t.type,a=bF.get(i);a||nF("");var o=nI(e,(function(t){return function(t,e){var n=new hF,r=t.data,i=n.sourceFormat=t.sourceFormat,a=t.startIndex;t.seriesLayoutBy!==SN&&nF("");var o=[],s={},u=t.dimensionsDefine;if(u)eI(u,(function(t,e){var n=t.name,r={index:e,name:n,displayName:t.displayName};o.push(r),null!=n&&(NI(s,n)&&nF(""),s[n]=r)}));else for(var c=0;c<t.dimensionsDetectedCount;c++)o.push({index:c});var l=zj(i,SN);e.__isBuiltIn&&(n.getRawDataItem=function(t){return l(r,a,o,t)},n.getRawData=oI(fF,null,t)),n.cloneRawData=oI(dF,null,t);var h=Hj(i,SN);n.count=oI(h,null,r,a,o);var f=Uj(i);n.retrieveValue=function(t,e){var n=l(r,a,o,t);return d(n,e)};var d=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=o[e];return n?f(t,e,n.name):void 0}};return n.getDimensionInfo=oI(pF,null,o,s),n.cloneAllDimensionInfo=oI(gF,null,o),n}(t,a)}));return nI(OE(a.transform({upstream:o[0],upstreamList:o,config:Xk(t.config)})),(function(t,n){var r;dI(t)||nF(""),t.data||nF(""),mF(Oj(t.data))||nF("");var i=e[0];if(i&&0===n&&!t.dimensions){var a=i.startIndex;a&&(t.data=i.data.slice(0,a).concat(t.data)),r={seriesLayoutBy:SN,sourceHeader:a,dimensions:i.metaRawOption.dimensions}}else r={seriesLayoutBy:SN,sourceHeader:0,dimensions:t.dimensions};return Pj(t.data,r,null)}))}function mF(t){return t===mN||t===yN}var yF,wF="undefined",xF=typeof Uint32Array===wF?Array:Uint32Array,_F=typeof Uint16Array===wF?Array:Uint16Array,SF=typeof Int32Array===wF?Array:Int32Array,kF=typeof Float64Array===wF?Array:Float64Array,IF={float:kF,int:SF,ordinal:Array,number:Array,time:kF};function MF(t){return t>65535?xF:_F}function CF(t,e,n,r,i){var a=IF[n||"float"];if(i){var o=t[e],s=o&&o.length;if(s!==r){for(var u=new a(r),c=0;c<s;c++)u[c]=o[c];t[e]=u}}else t[e]=new a(r)}var TF=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=DI()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var r=t.getSource(),i=this.defaultDimValueGetter=yF[r.sourceFormat];this._dimValueGetter=n||i,this._rawExtent=[];Nj(r);this._dimensions=nI(e,(function(t){return{type:t.type,property:t.property}})),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,r=this._dimensions,i=n.get(t);if(null!=i){if(r[i].type===e)return i}else i=r.length;return r[i]={type:e},n.set(t,i),this._chunks[i]=new IF[e||"float"](this._rawCount),this._rawExtent[i]=[1/0,-1/0],i},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],r=this._dimensions[t],i=this._rawExtent,a=r.ordinalOffset||0,o=n.length;0===a&&(i[t]=[1/0,-1/0]);for(var s=i[t],u=a;u<o;u++){var c=n[u]=e.parseAndCollect(n[u]);isNaN(c)||(s[0]=Math.min(c,s[0]),s[1]=Math.max(c,s[1]))}r.ordinalMeta=e,r.ordinalOffset=o,r.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var r=e.count();return e.persistent||(r+=n),n<r&&this._initDataFromProvider(n,r,!0),[n,r]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,i=r.length,a=this._rawExtent,o=this.count(),s=o+Math.max(t.length,e||0),u=0;u<i;u++){CF(n,u,(d=r[u]).type,s,!0)}for(var c=[],l=o;l<s;l++)for(var h=l-o,f=0;f<i;f++){var d=r[f],p=yF.arrayRows.call(this,t[h]||c,d.property,h,f);n[f][l]=p;var g=a[f];p<g[0]&&(g[0]=p),p>g[1]&&(g[1]=p)}return this._rawCount=this._count=s,{start:o,end:s}},t.prototype._initDataFromProvider=function(t,e,n){for(var r=this._provider,i=this._chunks,a=this._dimensions,o=a.length,s=this._rawExtent,u=nI(a,(function(t){return t.property})),c=0;c<o;c++){var l=a[c];s[c]||(s[c]=[1/0,-1/0]),CF(i,c,l.type,e,n)}if(r.fillStorage)r.fillStorage(t,e,i,s);else for(var h=[],f=t;f<e;f++){h=r.getItem(f,h);for(var d=0;d<o;d++){var p=i[d],g=this._dimValueGetter(h,u[d],f,d);p[f]=g;var b=s[d];g<b[0]&&(b[0]=g),g>b[1]&&(b[1]=g)}}!r.persistent&&r.clean&&r.clean(),this._rawCount=this._count=e,this._extent=[]},t.prototype.count=function(){return this._count},t.prototype.get=function(t,e){if(!(e>=0&&e<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],r=[];if(null==e){e=t,t=[];for(var i=0;i<this._dimensions.length;i++)r.push(i)}else r=t;i=0;for(var a=r.length;i<a;i++)n.push(this.get(r[i],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=0;if(this._chunks[t])for(var n=0,r=this.count();n<r;n++){var i=this.get(t,n);isNaN(i)||(e+=i)}return e},t.prototype.getMedian=function(t){var e=[];this.each([t],(function(t){isNaN(t)||e.push(t)}));var n=e.sort((function(t,e){return t-e})),r=this.count();return 0===r?0:r%2==1?n[(r-1)/2]:(n[r/2]+n[r/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return-1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var r=0,i=this._count-1;r<=i;){var a=(r+i)/2|0;if(e[a]<t)r=a+1;else{if(!(e[a]>t))return a;i=a-1}}return-1},t.prototype.indicesOfNearest=function(t,e,n){var r=this._chunks[t],i=[];if(!r)return i;null==n&&(n=1/0);for(var a=1/0,o=-1,s=0,u=0,c=this.count();u<c;u++){var l=e-r[this.getRawIndex(u)],h=Math.abs(l);h<=n&&((h<a||h===a&&l>=0&&o<0)&&(a=h,o=l,s=0),l===o&&(i[s++]=u))}return i.length=s,i},t.prototype.getIndices=function(){var t,e=this._indices;if(e){var n=e.constructor,r=this._count;if(n===Array){t=new n(r);for(var i=0;i<r;i++)t[i]=e[i]}else t=new n(e.buffer,0,r)}else{t=new(n=MF(this._rawCount))(this.count());for(i=0;i<t.length;i++)t[i]=i}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),r=n.count(),i=new(MF(n._rawCount))(r),a=[],o=t.length,s=0,u=t[0],c=n._chunks,l=0;l<r;l++){var h=void 0,f=n.getRawIndex(l);if(0===o)h=e(l);else if(1===o){h=e(c[u][f],l)}else{for(var d=0;d<o;d++)a[d]=c[t[d]][f];a[d]=l,h=e.apply(null,a)}h&&(i[s++]=f)}return s<r&&(n._indices=i),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var r=aI(t),i=r.length;if(!i)return this;var a=e.count(),o=new(MF(e._rawCount))(a),s=0,u=r[0],c=t[u][0],l=t[u][1],h=e._chunks,f=!1;if(!e._indices){var d=0;if(1===i){for(var p=h[r[0]],g=0;g<n;g++){((y=p[g])>=c&&y<=l||isNaN(y))&&(o[s++]=d),d++}f=!0}else if(2===i){p=h[r[0]];var b=h[r[1]],v=t[r[1]][0],m=t[r[1]][1];for(g=0;g<n;g++){var y=p[g],w=b[g];(y>=c&&y<=l||isNaN(y))&&(w>=v&&w<=m||isNaN(w))&&(o[s++]=d),d++}f=!0}}if(!f)if(1===i)for(g=0;g<a;g++){var x=e.getRawIndex(g);((y=h[r[0]][x])>=c&&y<=l||isNaN(y))&&(o[s++]=x)}else for(g=0;g<a;g++){for(var _=!0,S=(x=e.getRawIndex(g),0);S<i;S++){var k=r[S];((y=h[k][x])<t[k][0]||y>t[k][1])&&(_=!1)}_&&(o[s++]=e.getRawIndex(g))}return s<a&&(e._indices=o),e._count=s,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var r=t._chunks,i=[],a=e.length,o=t.count(),s=[],u=t._rawExtent,c=0;c<e.length;c++)u[e[c]]=[1/0,-1/0];for(var l=0;l<o;l++){for(var h=t.getRawIndex(l),f=0;f<a;f++)s[f]=r[e[f]][h];s[a]=l;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(i[0]=d,d=i);for(c=0;c<d.length;c++){var p=e[c],g=d[c],b=u[p],v=r[p];v&&(v[h]=g),g<b[0]&&(b[0]=g),g>b[1]&&(b[1]=g)}}}},t.prototype.lttbDownSample=function(t,e){var n,r,i,a=this.clone([t],!0),o=a._chunks[t],s=this.count(),u=0,c=Math.floor(1/e),l=this.getRawIndex(0),h=new(MF(this._rawCount))(Math.min(2*(Math.ceil(s/c)+2),s));h[u++]=l;for(var f=1;f<s-1;f+=c){for(var d=Math.min(f+c,s-1),p=Math.min(f+2*c,s),g=(p+d)/2,b=0,v=d;v<p;v++){var m=o[I=this.getRawIndex(v)];isNaN(m)||(b+=m)}b/=p-d;var y=f,w=Math.min(f+c,s),x=f-1,_=o[l];n=-1,i=y;var S=-1,k=0;for(v=y;v<w;v++){var I;m=o[I=this.getRawIndex(v)];isNaN(m)?(k++,S<0&&(S=I)):(r=Math.abs((x-g)*(m-_)-(x-v)*(b-_)))>n&&(n=r,i=I)}k>0&&k<w-y&&(h[u++]=Math.min(S,i),i=Math.max(S,i)),h[u++]=i,l=i}return h[u++]=this.getRawIndex(s-1),a._count=u,a._indices=h,a.getRawIndex=this._getRawIdx,a},t.prototype.downSample=function(t,e,n,r){for(var i=this.clone([t],!0),a=i._chunks,o=[],s=Math.floor(1/e),u=a[t],c=this.count(),l=i._rawExtent[t]=[1/0,-1/0],h=new(MF(this._rawCount))(Math.ceil(c/s)),f=0,d=0;d<c;d+=s){s>c-d&&(s=c-d,o.length=s);for(var p=0;p<s;p++){var g=this.getRawIndex(d+p);o[p]=u[g]}var b=n(o),v=this.getRawIndex(Math.min(d+r(o,b)||0,c-1));u[v]=b,b<l[0]&&(l[0]=b),b>l[1]&&(l[1]=b),h[f++]=v}return i._count=f,i._indices=h,i._updateGetRawIdx(),i},t.prototype.each=function(t,e){if(this._count)for(var n=t.length,r=this._chunks,i=0,a=this.count();i<a;i++){var o=this.getRawIndex(i);switch(n){case 0:e(i);break;case 1:e(r[t[0]][o],i);break;case 2:e(r[t[0]][o],r[t[1]][o],i);break;default:for(var s=0,u=[];s<n;s++)u[s]=r[t[s]][o];u[s]=i,e.apply(null,u)}}},t.prototype.getDataExtent=function(t){var e=this._chunks[t],n=[1/0,-1/0];if(!e)return n;var r,i=this.count();if(!this._indices)return this._rawExtent[t].slice();if(r=this._extent[t])return r.slice();for(var a=(r=n)[0],o=r[1],s=0;s<i;s++){var u=e[this.getRawIndex(s)];u<a&&(a=u),u>o&&(o=u)}return r=[a,o],this._extent[t]=r,r},t.prototype.getRawDataItem=function(t){var e=this.getRawIndex(t);if(this._provider.persistent)return this._provider.getItem(e);for(var n=[],r=this._chunks,i=0;i<r.length;i++)n.push(r[i][e]);return n},t.prototype.clone=function(e,n){var r,i,a=new t,o=this._chunks,s=e&&rI(e,(function(t,e){return t[e]=!0,t}),{});if(s)for(var u=0;u<o.length;u++)a._chunks[u]=s[u]?(r=o[u],i=void 0,(i=r.constructor)===Array?r.slice():new i(r)):o[u];else a._chunks=o;return this._copyCommonProps(a),n||(a._indices=this._cloneIndices()),a._updateGetRawIdx(),a},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=Xk(this._extent),t._rawExtent=Xk(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var r=0;r<n;r++)e[r]=this._indices[r]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=0?this._indices[t]:-1},t.prototype._updateGetRawIdx=function(){this.getRawIndex=this._indices?this._getRawIdx:this._getRawIdxIdentity},t.internalField=function(){function t(t,e,n,r){return rF(t[r],this._dimensions[r])}yF={arrayRows:t,objectRows:function(t,e,n,r){return rF(t[e],this._dimensions[r])},keyedColumns:t,original:function(t,e,n,r){var i=t&&(null==t.value?t:t.value);return rF(i instanceof Array?i[r]:i,this._dimensions[r])},typedArray:function(t,e,n,r){return t[r]}}}(),t}();const AF=TF;var EF=function(){function t(t){this._sourceList=[],this._storeList=[],this._upstreamSignList=[],this._versionSignBase=0,this._dirty=!0,this._sourceHost=t}return t.prototype.dirty=function(){this._setLocalSource([],[]),this._storeList=[],this._dirty=!0},t.prototype._setLocalSource=function(t,e){this._sourceList=t,this._upstreamSignList=e,this._versionSignBase++,this._versionSignBase>9e10&&(this._versionSignBase=0)},t.prototype._getVersionSign=function(){return this._sourceHost.uid+"_"+this._versionSignBase},t.prototype.prepareSource=function(){this._isDirty()&&(this._createSource(),this._dirty=!1)},t.prototype._createSource=function(){this._setLocalSource([],[]);var t,e,n=this._sourceHost,r=this._getUpstreamSourceManagers(),i=!!r.length;if(DF(n)){var a=n,o=void 0,s=void 0,u=void 0;if(i){var c=r[0];c.prepareSource(),o=(u=c.getSource()).data,s=u.sourceFormat,e=[c._getVersionSign()]}else s=gI(o=a.get("data",!0))?xN:vN,e=[];var l=this._getSourceMetaRawOption()||{},h=u&&u.metaRawOption||{},f=wI(l.seriesLayoutBy,h.seriesLayoutBy)||null,d=wI(l.sourceHeader,h.sourceHeader),p=wI(l.dimensions,h.dimensions);t=f!==h.seriesLayoutBy||!!d!=!!h.sourceHeader||p?[Pj(o,{seriesLayoutBy:f,sourceHeader:d,dimensions:p},s)]:[]}else{var g=n;if(i){var b=this._applyTransform(r);t=b.sourceList,e=b.upstreamSignList}else{t=[Pj(g.get("source",!0),this._getSourceMetaRawOption(),null)],e=[]}}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,r=n.get("transform",!0),i=n.get("fromTransformResult",!0);if(null!=i){1!==t.length&&OF("")}var a,o=[],s=[];return eI(t,(function(t){t.prepareSource();var e=t.getSource(i||0);null==i||e||OF(""),o.push(e),s.push(t._getVersionSign())})),r?e=function(t,e,n){var r=OE(t),i=r.length;i||nF("");for(var a=0,o=i;a<o;a++)e=vF(r[a],e),a!==o-1&&(e.length=Math.max(e.length,1));return e}(r,o,n.componentIndex):null!=i&&(e=[(a=o[0],new Aj({data:a.data,sourceFormat:a.sourceFormat,seriesLayoutBy:a.seriesLayoutBy,dimensionsDefine:Xk(a.dimensionsDefine),startIndex:a.startIndex,dimensionsDetectedCount:a.dimensionsDetectedCount}))]),{sourceList:e,upstreamSignList:s}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var r=this._storeList,i=r[0];i||(i=r[0]={});var a=i[n];if(!a){var o=this._getUpstreamSourceManagers()[0];DF(this._sourceHost)&&o?a=o._innerGetDataStore(t,e,n):(a=new AF).initData(new jj(e,t.length),t),i[n]=a}return a},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(DF(t)){var e=PN(t);return e?[e.getSourceManager()]:[]}return nI(function(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?ZE(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},YE).models:[]}(t),(function(t){return t.getSourceManager()}))},t.prototype._getSourceMetaRawOption=function(){var t,e,n,r=this._sourceHost;if(DF(r))t=r.get("seriesLayoutBy",!0),e=r.get("sourceHeader",!0),n=r.get("dimensions",!0);else if(!this._getUpstreamSourceManagers().length){var i=r;t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)}return{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function PF(t){t.option.transform&&CI(t.option.transform)}function DF(t){return"series"===t.mainType}function OF(t){throw new Error(t)}function LF(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,i=t.fontWeight||"400",a=t.color||"#464646",o=t.fontSize||14,s=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+mM(r+"")+"px;color:"+mM(n)+";font-weight:"+mM(i+""),valueStyle:"font-size:"+mM(o+"")+"px;color:"+mM(a)+";font-weight:"+mM(s+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:i},valueStyle:{fontSize:o,fill:a,fontWeight:s}}}var RF=[0,10,20,30],NF=["","\n","\n\n","\n\n\n"];function jF(t,e){return e.type=t,e}function FF(t){return"section"===t.type}function BF(t){return FF(t)?$F:VF}function zF(t){if(FF(t)){var e=0,n=t.blocks.length,r=n>1||n>0&&!t.noHeader;return eI(t.blocks,(function(t){var n=zF(t);n>=e&&(e=n+ +(r&&(!n||FF(t)&&!t.noHeader)))})),e}return 0}function $F(t,e,n,r){var i,a=e.noHeader,o=(i=zF(e),{html:RF[i],richText:NF[i]}),s=[],u=e.blocks||[];kI(!u||uI(u)),u=u||[];var c=t.orderMode;if(e.sortBlocks&&c){u=u.slice();var l={valueAsc:"asc",valueDesc:"desc"};if(NI(l,c)){var h=new uF(l[c],null);u.sort((function(t,e){return h.evaluate(t.sortParam,e.sortParam)}))}else"seriesDesc"===c&&u.reverse()}eI(u,(function(n,i){var a=e.valueFormatter,u=BF(n)(a?Kk(Kk({},t),{valueFormatter:a}):t,n,i>0?o.html:0,r);null!=u&&s.push(u)}));var f="richText"===t.renderMode?s.join(o.richText):WF(s.join(""),a?n:o.html);if(a)return f;var d=XR(e.header,"ordinal",t.useUTC),p=LF(r,t.renderMode).nameStyle;return"richText"===t.renderMode?GF(t,d,p)+o.richText+f:WF('<div style="'+p+";"+'line-height:1;">'+mM(d)+"</div>"+f,n)}function VF(t,e,n,r){var i=t.renderMode,a=e.noName,o=e.noValue,s=!e.markerType,u=e.name,c=t.useUTC,l=e.valueFormatter||t.valueFormatter||function(t){return nI(t=uI(t)?t:[t],(function(t,e){return XR(t,uI(d)?d[e]:d,c)}))};if(!a||!o){var h=s?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",i),f=a?"":XR(u,"ordinal",c),d=e.valueType,p=o?[]:l(e.value),g=!s||!a,b=!s&&a,v=LF(r,i),m=v.nameStyle,y=v.valueStyle;return"richText"===i?(s?"":h)+(a?"":GF(t,f,m))+(o?"":function(t,e,n,r,i){var a=[i],o=r?10:20;return n&&a.push({padding:[0,0,0,o],align:"right"}),t.markupStyleCreator.wrapRichTextStyle(uI(e)?e.join(" "):e,a)}(t,p,g,b,y)):WF((s?"":h)+(a?"":function(t,e,n){return'<span style="'+n+";"+(e?"margin-left:2px":"")+'">'+mM(t)+"</span>"}(f,!s,m))+(o?"":function(t,e,n,r){var i=n?"10px":"20px",a=e?"float:right;margin-left:"+i:"";return t=uI(t)?t:[t],'<span style="'+a+";"+r+'">'+nI(t,(function(t){return mM(t)})).join(" ")+"</span>"}(p,g,b,y)),n)}}function HF(t,e,n,r,i,a){if(t)return BF(t)({useUTC:i,renderMode:n,orderMode:r,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,a)}function WF(t,e){return'<div style="'+("margin: "+e+"px 0 0")+";"+'line-height:1;">'+t+'<div style="clear:both"></div></div>'}function GF(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function UF(t,e){return ZR(t.getData().getItemVisual(e,"style")[t.visualDrawType])}function XF(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var qF=function(){function t(){this.richTextStyles={},this._nextStyleNameId=CE()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var r="richText"===n?this._generateStyleName():null,i=function(t,e){var n=lI(t)?{color:t,extraCssText:e}:t||{},r=n.color,i=n.type;e=n.extraCssText;var a=n.renderMode||"html";return r?"html"===a?"subItem"===i?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+mM(r)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+mM(r)+";"+(e||"")+'"></span>':{renderMode:a,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===i?{width:4,height:4,borderRadius:2,backgroundColor:r}:{width:10,height:10,borderRadius:5,backgroundColor:r}}:""}({color:e,type:t,renderMode:n,markerId:r});return lI(i)?i:(this.richTextStyles[r]=i.style,i.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};uI(e)?eI(e,(function(t){return Kk(n,t)})):Kk(n,e);var r=this._generateStyleName();return this.richTextStyles[r]=n,"{"+r+"|"+t+"}"},t}();function YF(t){var e,n,r,i,a=t.series,o=t.dataIndex,s=t.multipleSeries,u=a.getData(),c=u.mapDimensionsAll("defaultedTooltip"),l=c.length,h=a.getRawValue(o),f=uI(h),d=UF(a,o);if(l>1||f&&!l){var p=function(t,e,n,r,i){var a=e.getData(),o=rI(t,(function(t,e,n){var r=a.getDimensionInfo(n);return t||r&&!1!==r.tooltip&&null!=r.displayName}),!1),s=[],u=[],c=[];function l(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(o?c.push(jF("nameValue",{markerType:"subItem",markerColor:i,name:n.displayName,value:t,valueType:n.type})):(s.push(t),u.push(n.type)))}return r.length?eI(r,(function(t){l(qj(a,n,t),t)})):eI(t,l),{inlineValues:s,inlineValueTypes:u,blocks:c}}(h,a,o,c,d);e=p.inlineValues,n=p.inlineValueTypes,r=p.blocks,i=p.inlineValues[0]}else if(l){var g=u.getDimensionInfo(c[0]);i=e=qj(u,o,c[0]),n=g.type}else i=e=f?h[0]:h;var b=VE(a),v=b&&a.name||"",m=u.getName(o),y=s?v:m;return jF("section",{header:v,noHeader:s||!b,sortParam:i,blocks:[jF("nameValue",{markerType:"item",markerColor:d,name:y,noName:!II(y),value:e,valueType:n})].concat(r||[])})}var KF=GE();function ZF(t,e){return t.getName(e)||t.getId(e)}var QF=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return Sk(e,t),e.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=Qj({count:tB,reset:eB}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(KF(this).sourceManager=new EF(this)).prepareSource();var r=this.getInitialData(t,n);rB(r,this),this.dataTask.context.data=r,KF(this).dataBeforeProcessed=r,JF(this),this._initSelectedMapFromData(r)},e.prototype.mergeDefaultAndTheme=function(t,e){var n=oN(this),r=n?uN(t):{},i=this.subType;fN.hasClass(i)&&(i+="Series"),qk(t,e.getTheme().get(this.subType)),qk(t,this.getDefaultOption()),LE(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&sN(t,r,n)},e.prototype.mergeOption=function(t,e){t=qk(this.option,t,!0),this.fillDataTextStyle(t.data);var n=oN(this);n&&sN(this.option,t,n);var r=KF(this).sourceManager;r.dirty(),r.prepareSource();var i=this.getInitialData(t,e);rB(i,this),this.dataTask.dirty(),this.dataTask.context.data=i,KF(this).dataBeforeProcessed=i,JF(this),this._initSelectedMapFromData(i)},e.prototype.fillDataTextStyle=function(t){if(t&&!gI(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&LE(t[n],"label",e)},e.prototype.getInitialData=function(t,e){},e.prototype.appendData=function(t){this.getRawData().appendData(t.data)},e.prototype.getData=function(t){var e=aB(this);if(e){var n=e.context.data;return null==t?n:n.getLinkedData(t)}return KF(this).data},e.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},e.prototype.setData=function(t){var e=aB(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}KF(this).data=t},e.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return DI(t)},e.prototype.getSourceManager=function(){return KF(this).sourceManager},e.prototype.getSource=function(){return this.getSourceManager().getSource()},e.prototype.getRawData=function(){return KF(this).dataBeforeProcessed},e.prototype.getColorBy=function(){return this.get("colorBy")||"series"},e.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},e.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},e.prototype.formatTooltip=function(t,e,n){return YF({series:this,dataIndex:t,multipleSeries:e})},e.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(Mk.node&&(!t||!t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},e.prototype.restoreData=function(){this.dataTask.dirty()},e.prototype.getColorFromPalette=function(t,e,n){var r=this.ecModel,i=zN.prototype.getColorFromPalette.call(this,t,e,n);return i||(i=r.getColorFromPalette(t,e,n)),i},e.prototype.coordDimToDataDim=function(t){return this.getRawData().mapDimensionsAll(t)},e.prototype.getProgressive=function(){return this.get("progressive")},e.prototype.getProgressiveThreshold=function(){return this.get("progressiveThreshold")},e.prototype.select=function(t,e){this._innerSelect(this.getData(e),t)},e.prototype.unselect=function(t,e){var n=this.option.selectedMap;if(n){var r=this.option.selectedMode,i=this.getData(e);if("series"===r||"all"===n)return this.option.selectedMap={},void(this._selectedDataIndicesMap={});for(var a=0;a<t.length;a++){var o=ZF(i,t[a]);n[o]=!1,this._selectedDataIndicesMap[o]=-1}}},e.prototype.toggleSelect=function(t,e){for(var n=[],r=0;r<t.length;r++)n[0]=t[r],this.isSelected(t[r],e)?this.unselect(n,e):this.select(n,e)},e.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=aI(t),n=[],r=0;r<e.length;r++){var i=t[e[r]];i>=0&&n.push(i)}return n},e.prototype.isSelected=function(t,e){var n=this.option.selectedMap;if(!n)return!1;var r=this.getData(e);return("all"===n||n[ZF(r,t)])&&!r.getItemModel(t).get(["select","disabled"])},e.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},e.prototype._innerSelect=function(t,e){var n,r,i=this.option,a=i.selectedMode,o=e.length;if(a&&o)if("series"===a)i.selectedMap="all";else if("multiple"===a){dI(i.selectedMap)||(i.selectedMap={});for(var s=i.selectedMap,u=0;u<o;u++){var c=e[u];s[h=ZF(t,c)]=!0,this._selectedDataIndicesMap[h]=t.getRawIndex(c)}}else if("single"===a||!0===a){var l=e[o-1],h=ZF(t,l);i.selectedMap=((n={})[h]=!0,n),this._selectedDataIndicesMap=((r={})[h]=t.getRawIndex(l),r)}},e.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each((function(n){var r=t.getRawDataItem(n);r&&r.selected&&e.push(n)})),e.length>0&&this._innerSelect(t,e)}},e.registerClass=function(t){return fN.registerClass(t)},e.protoInitialize=function(){var t=e.prototype;t.type="series.__base__",t.seriesIndex=0,t.ignoreStyleOnData=!1,t.hasSymbolVisual=!1,t.defaultSymbol="circle",t.visualStyleAccessPath="itemStyle",t.visualDrawType="fill"}(),e}(fN);function JF(t){var e=t.name;VE(t)||(t.name=function(t){var e=t.getRawData(),n=e.mapDimensionsAll("seriesName"),r=[];return eI(n,(function(t){var n=e.getDimensionInfo(t);n.displayName&&r.push(n.displayName)})),r.join(" ")}(t)||e)}function tB(t){return t.model.getRawData().count()}function eB(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),nB}function nB(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function rB(t,e){eI(OI(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),(function(n){t.wrapMethod(n,sI(iB,e))}))}function iB(t,e){var n=aB(t);return n&&n.setOutputEnd((e||this).count()),e}function aB(t){var e=(t.ecModel||{}).scheduler,n=e&&e.getPipeline(t.uid);if(n){var r=n.currentTask;if(r){var i=r.agentStubMap;i&&(r=i.get(t.uid))}return r}}Jk(QF,Kj),Jk(QF,zN),aP(QF,fN);const oB=QF;var sB=function(){function t(){this.group=new nE,this.uid=iR("viewComponent")}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){},t.prototype.updateLayout=function(t,e,n,r){},t.prototype.updateVisual=function(t,e,n,r){},t.prototype.toggleBlurSeries=function(t,e,n){},t.prototype.eachRendered=function(t){var e=this.group;e&&e.traverse(t)},t}();iP(sB),cP(sB);const uB=sB;function cB(){var t=GE();return function(e){var n=t(e),r=e.pipelineContext,i=!!n.large,a=!!n.progressiveRender,o=n.large=!(!r||!r.large),s=n.progressiveRender=!(!r||!r.progressiveRender);return!(i===o&&a===s)&&"reset"}}var lB=yD.CMD,hB=[[],[],[]],fB=Math.sqrt,dB=Math.atan2;function pB(t,e){if(e){var n,r,i,a,o,s,u=t.data,c=t.len(),l=lB.M,h=lB.C,f=lB.L,d=lB.R,p=lB.A,g=lB.Q;for(i=0,a=0;i<c;){switch(n=u[i++],a=i,r=0,n){case l:case f:r=1;break;case h:r=3;break;case g:r=2;break;case p:var b=e[4],v=e[5],m=fB(e[0]*e[0]+e[1]*e[1]),y=fB(e[2]*e[2]+e[3]*e[3]),w=dB(-e[1]/y,e[0]/m);u[i]*=m,u[i++]+=b,u[i]*=y,u[i++]+=v,u[i++]*=m,u[i++]*=y,u[i++]+=w,u[i++]+=w,a=i+=2;break;case d:s[0]=u[i++],s[1]=u[i++],nM(s,s,e),u[a++]=s[0],u[a++]=s[1],s[0]+=u[i++],s[1]+=u[i++],nM(s,s,e),u[a++]=s[0],u[a++]=s[1]}for(o=0;o<r;o++){var x=hB[o];x[0]=u[i++],x[1]=u[i++],nM(x,x,e),u[a++]=x[0],u[a++]=x[1]}}t.increaseVersion()}}var gB=Math.sqrt,bB=Math.sin,vB=Math.cos,mB=Math.PI;function yB(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function wB(t,e){return(t[0]*e[0]+t[1]*e[1])/(yB(t)*yB(e))}function xB(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(wB(t,e))}function _B(t,e,n,r,i,a,o,s,u,c,l){var h=u*(mB/180),f=vB(h)*(t-n)/2+bB(h)*(e-r)/2,d=-1*bB(h)*(t-n)/2+vB(h)*(e-r)/2,p=f*f/(o*o)+d*d/(s*s);p>1&&(o*=gB(p),s*=gB(p));var g=(i===a?-1:1)*gB((o*o*(s*s)-o*o*(d*d)-s*s*(f*f))/(o*o*(d*d)+s*s*(f*f)))||0,b=g*o*d/s,v=g*-s*f/o,m=(t+n)/2+vB(h)*b-bB(h)*v,y=(e+r)/2+bB(h)*b+vB(h)*v,w=xB([1,0],[(f-b)/o,(d-v)/s]),x=[(f-b)/o,(d-v)/s],_=[(-1*f-b)/o,(-1*d-v)/s],S=xB(x,_);if(wB(x,_)<=-1&&(S=mB),wB(x,_)>=1&&(S=0),S<0){var k=Math.round(S/mB*1e6)/1e6;S=2*mB+k%2*mB}l.addData(c,m,y,o,s,w,S,h,a)}var SB=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/gi,kB=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;var IB=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return zI(e,t),e.prototype.applyTransform=function(t){},e}(zD);function MB(t){return null!=t.setData}function CB(t,e){var n=function(t){var e=new yD;if(!t)return e;var n,r=0,i=0,a=r,o=i,s=yD.CMD,u=t.match(SB);if(!u)return e;for(var c=0;c<u.length;c++){for(var l=u[c],h=l.charAt(0),f=void 0,d=l.match(kB)||[],p=d.length,g=0;g<p;g++)d[g]=parseFloat(d[g]);for(var b=0;b<p;){var v=void 0,m=void 0,y=void 0,w=void 0,x=void 0,_=void 0,S=void 0,k=r,I=i,M=void 0,C=void 0;switch(h){case"l":r+=d[b++],i+=d[b++],f=s.L,e.addData(f,r,i);break;case"L":r=d[b++],i=d[b++],f=s.L,e.addData(f,r,i);break;case"m":r+=d[b++],i+=d[b++],f=s.M,e.addData(f,r,i),a=r,o=i,h="l";break;case"M":r=d[b++],i=d[b++],f=s.M,e.addData(f,r,i),a=r,o=i,h="L";break;case"h":r+=d[b++],f=s.L,e.addData(f,r,i);break;case"H":r=d[b++],f=s.L,e.addData(f,r,i);break;case"v":i+=d[b++],f=s.L,e.addData(f,r,i);break;case"V":i=d[b++],f=s.L,e.addData(f,r,i);break;case"C":f=s.C,e.addData(f,d[b++],d[b++],d[b++],d[b++],d[b++],d[b++]),r=d[b-2],i=d[b-1];break;case"c":f=s.C,e.addData(f,d[b++]+r,d[b++]+i,d[b++]+r,d[b++]+i,d[b++]+r,d[b++]+i),r+=d[b-2],i+=d[b-1];break;case"S":v=r,m=i,M=e.len(),C=e.data,n===s.C&&(v+=r-C[M-4],m+=i-C[M-3]),f=s.C,k=d[b++],I=d[b++],r=d[b++],i=d[b++],e.addData(f,v,m,k,I,r,i);break;case"s":v=r,m=i,M=e.len(),C=e.data,n===s.C&&(v+=r-C[M-4],m+=i-C[M-3]),f=s.C,k=r+d[b++],I=i+d[b++],r+=d[b++],i+=d[b++],e.addData(f,v,m,k,I,r,i);break;case"Q":k=d[b++],I=d[b++],r=d[b++],i=d[b++],f=s.Q,e.addData(f,k,I,r,i);break;case"q":k=d[b++]+r,I=d[b++]+i,r+=d[b++],i+=d[b++],f=s.Q,e.addData(f,k,I,r,i);break;case"T":v=r,m=i,M=e.len(),C=e.data,n===s.Q&&(v+=r-C[M-4],m+=i-C[M-3]),r=d[b++],i=d[b++],f=s.Q,e.addData(f,v,m,r,i);break;case"t":v=r,m=i,M=e.len(),C=e.data,n===s.Q&&(v+=r-C[M-4],m+=i-C[M-3]),r+=d[b++],i+=d[b++],f=s.Q,e.addData(f,v,m,r,i);break;case"A":y=d[b++],w=d[b++],x=d[b++],_=d[b++],S=d[b++],_B(k=r,I=i,r=d[b++],i=d[b++],_,S,y,w,x,f=s.A,e);break;case"a":y=d[b++],w=d[b++],x=d[b++],_=d[b++],S=d[b++],_B(k=r,I=i,r+=d[b++],i+=d[b++],_,S,y,w,x,f=s.A,e)}}"z"!==h&&"Z"!==h||(f=s.Z,e.addData(f),r=a,i=o),n=f}return e.toStatic(),e}(t),r=Kk({},e);return r.buildPath=function(t){if(MB(t)){t.setData(n.data),(e=t.getContext())&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},r.applyTransform=function(t){pB(n,t),this.dirtyShape()},r}function TB(t,e){return new IB(CB(t,e))}function AB(t,e){e=e||{};var n=new zD;return t.shape&&n.setShape(t.shape),n.setStyle(t.style),e.bakeTransform?pB(n.path,t.getComputedTransform()):e.toLocal?n.setLocalTransform(t.getComputedTransform()):n.copyTransform(t),n.buildPath=t.buildPath,n.applyTransform=n.applyTransform,n.z=t.z,n.z2=t.z2,n.zlevel=t.zlevel,n}var EB=function(){this.cx=0,this.cy=0,this.r=0},PB=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new EB},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(zD);PB.prototype.type="circle";const DB=PB;var OB=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},LB=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new OB},e.prototype.buildPath=function(t,e){var n=.5522848,r=e.cx,i=e.cy,a=e.rx,o=e.ry,s=a*n,u=o*n;t.moveTo(r-a,i),t.bezierCurveTo(r-a,i-u,r-s,i-o,r,i-o),t.bezierCurveTo(r+s,i-o,r+a,i-u,r+a,i),t.bezierCurveTo(r+a,i+u,r+s,i+o,r,i+o),t.bezierCurveTo(r-s,i+o,r-a,i+u,r-a,i),t.closePath()},e}(zD);LB.prototype.type="ellipse";const RB=LB;var NB=Math.PI,jB=2*NB,FB=Math.sin,BB=Math.cos,zB=Math.acos,$B=Math.atan2,VB=Math.abs,HB=Math.sqrt,WB=Math.max,GB=Math.min,UB=1e-4;function XB(t,e,n,r,i,a,o){var s=t-n,u=e-r,c=(o?a:-a)/HB(s*s+u*u),l=c*u,h=-c*s,f=t+l,d=e+h,p=n+l,g=r+h,b=(f+p)/2,v=(d+g)/2,m=p-f,y=g-d,w=m*m+y*y,x=i-a,_=f*g-p*d,S=(y<0?-1:1)*HB(WB(0,x*x*w-_*_)),k=(_*y-m*S)/w,I=(-_*m-y*S)/w,M=(_*y+m*S)/w,C=(-_*m+y*S)/w,T=k-b,A=I-v,E=M-b,P=C-v;return T*T+A*A>E*E+P*P&&(k=M,I=C),{cx:k,cy:I,x0:-l,y0:-h,x1:k*(i/x-1),y1:I*(i/x-1)}}function qB(t,e){var n,r=WB(e.r,0),i=WB(e.r0||0,0),a=r>0;if(a||i>0){if(a||(r=i,i=0),i>r){var o=r;r=i,i=o}var s=e.startAngle,u=e.endAngle;if(!isNaN(s)&&!isNaN(u)){var c=e.cx,l=e.cy,h=!!e.clockwise,f=VB(u-s),d=f>jB&&f%jB;if(d>UB&&(f=d),r>UB)if(f>jB-UB)t.moveTo(c+r*BB(s),l+r*FB(s)),t.arc(c,l,r,s,u,!h),i>UB&&(t.moveTo(c+i*BB(u),l+i*FB(u)),t.arc(c,l,i,u,s,h));else{var p=void 0,g=void 0,b=void 0,v=void 0,m=void 0,y=void 0,w=void 0,x=void 0,_=void 0,S=void 0,k=void 0,I=void 0,M=void 0,C=void 0,T=void 0,A=void 0,E=r*BB(s),P=r*FB(s),D=i*BB(u),O=i*FB(u),L=f>UB;if(L){var R=e.cornerRadius;R&&(n=function(t){var e;if(uI(t)){var n=t.length;if(!n)return t;e=1===n?[t[0],t[0],0,0]:2===n?[t[0],t[0],t[1],t[1]]:3===n?t.concat(t[2]):t}else e=[t,t,t,t];return e}(R),p=n[0],g=n[1],b=n[2],v=n[3]);var N=VB(r-i)/2;if(m=GB(N,b),y=GB(N,v),w=GB(N,p),x=GB(N,g),k=_=WB(m,y),I=S=WB(w,x),(_>UB||S>UB)&&(M=r*BB(u),C=r*FB(u),T=i*BB(s),A=i*FB(s),f<NB)){var j=function(t,e,n,r,i,a,o,s){var u=n-t,c=r-e,l=o-i,h=s-a,f=h*u-l*c;if(!(f*f<UB))return[t+(f=(l*(e-a)-h*(t-i))/f)*u,e+f*c]}(E,P,T,A,M,C,D,O);if(j){var F=E-j[0],B=P-j[1],z=M-j[0],$=C-j[1],V=1/FB(zB((F*z+B*$)/(HB(F*F+B*B)*HB(z*z+$*$)))/2),H=HB(j[0]*j[0]+j[1]*j[1]);k=GB(_,(r-H)/(V+1)),I=GB(S,(i-H)/(V-1))}}}if(L)if(k>UB){var W=GB(b,k),G=GB(v,k),U=XB(T,A,E,P,r,W,h),X=XB(M,C,D,O,r,G,h);t.moveTo(c+U.cx+U.x0,l+U.cy+U.y0),k<_&&W===G?t.arc(c+U.cx,l+U.cy,k,$B(U.y0,U.x0),$B(X.y0,X.x0),!h):(W>0&&t.arc(c+U.cx,l+U.cy,W,$B(U.y0,U.x0),$B(U.y1,U.x1),!h),t.arc(c,l,r,$B(U.cy+U.y1,U.cx+U.x1),$B(X.cy+X.y1,X.cx+X.x1),!h),G>0&&t.arc(c+X.cx,l+X.cy,G,$B(X.y1,X.x1),$B(X.y0,X.x0),!h))}else t.moveTo(c+E,l+P),t.arc(c,l,r,s,u,!h);else t.moveTo(c+E,l+P);if(i>UB&&L)if(I>UB){W=GB(p,I),U=XB(D,O,M,C,i,-(G=GB(g,I)),h),X=XB(E,P,T,A,i,-W,h);t.lineTo(c+U.cx+U.x0,l+U.cy+U.y0),I<S&&W===G?t.arc(c+U.cx,l+U.cy,I,$B(U.y0,U.x0),$B(X.y0,X.x0),!h):(G>0&&t.arc(c+U.cx,l+U.cy,G,$B(U.y0,U.x0),$B(U.y1,U.x1),!h),t.arc(c,l,i,$B(U.cy+U.y1,U.cx+U.x1),$B(X.cy+X.y1,X.cx+X.x1),h),W>0&&t.arc(c+X.cx,l+X.cy,W,$B(X.y1,X.x1),$B(X.y0,X.x0),!h))}else t.lineTo(c+D,l+O),t.arc(c,l,i,u,s,h);else t.lineTo(c+D,l+O)}else t.moveTo(c,l);t.closePath()}}}var YB=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0,this.cornerRadius=0},KB=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new YB},e.prototype.buildPath=function(t,e){qB(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(zD);KB.prototype.type="sector";const ZB=KB;var QB=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},JB=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new QB},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=2*Math.PI;t.moveTo(n+e.r,r),t.arc(n,r,e.r,0,i,!1),t.moveTo(n+e.r0,r),t.arc(n,r,e.r0,0,i,!0)},e}(zD);JB.prototype.type="ring";const tz=JB;function ez(t,e,n){var r=e.smooth,i=e.points;if(i&&i.length>=2){if(r){var a=function(t,e,n,r){var i,a,o,s,u=[],c=[],l=[],h=[];if(r){o=[1/0,1/0],s=[-1/0,-1/0];for(var f=0,d=t.length;f<d;f++)rM(o,o,t[f]),iM(s,s,t[f]);rM(o,o,r[0]),iM(s,s,r[1])}for(f=0,d=t.length;f<d;f++){var p=t[f];if(n)i=t[f?f-1:d-1],a=t[(f+1)%d];else{if(0===f||f===d-1){u.push(HI(t[f]));continue}i=t[f-1],a=t[f+1]}XI(c,a,i),KI(c,c,e);var g=QI(p,i),b=QI(p,a),v=g+b;0!==v&&(g/=v,b/=v),KI(l,c,-g),KI(h,c,b);var m=GI([],p,l),y=GI([],p,h);r&&(iM(m,m,o),rM(m,m,s),iM(y,y,o),rM(y,y,s)),u.push(m),u.push(y)}return n&&u.push(u.shift()),u}(i,r,n,e.smoothConstraint);t.moveTo(i[0][0],i[0][1]);for(var o=i.length,s=0;s<(n?o:o-1);s++){var u=a[2*s],c=a[2*s+1],l=i[(s+1)%o];t.bezierCurveTo(u[0],u[1],c[0],c[1],l[0],l[1])}}else{t.moveTo(i[0][0],i[0][1]);s=1;for(var h=i.length;s<h;s++)t.lineTo(i[s][0],i[s][1])}n&&t.closePath()}}var nz=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},rz=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultShape=function(){return new nz},e.prototype.buildPath=function(t,e){ez(t,e,!0)},e}(zD);rz.prototype.type="polygon";const iz=rz;var az=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},oz=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new az},e.prototype.buildPath=function(t,e){ez(t,e,!1)},e}(zD);oz.prototype.type="polyline";const sz=oz;var uz={},cz=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},lz=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new cz},e.prototype.buildPath=function(t,e){var n,r,i,a;if(this.subPixelOptimize){var o=YD(uz,e,this.style);n=o.x1,r=o.y1,i=o.x2,a=o.y2}else n=e.x1,r=e.y1,i=e.x2,a=e.y2;var s=e.percent;0!==s&&(t.moveTo(n,r),s<1&&(i=n*(1-s)+i*s,a=r*(1-s)+a*s),t.lineTo(i,a))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(zD);lz.prototype.type="line";const hz=lz;var fz=[],dz=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function pz(t,e,n){var r=t.cpx2,i=t.cpy2;return null!=r||null!=i?[(n?LC:OC)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?LC:OC)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?$C:zC)(t.x1,t.cpx1,t.x2,e),(n?$C:zC)(t.y1,t.cpy1,t.y2,e)]}var gz=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new dz},e.prototype.buildPath=function(t,e){var n=e.x1,r=e.y1,i=e.x2,a=e.y2,o=e.cpx1,s=e.cpy1,u=e.cpx2,c=e.cpy2,l=e.percent;0!==l&&(t.moveTo(n,r),null==u||null==c?(l<1&&(HC(n,o,i,l,fz),o=fz[1],i=fz[2],HC(r,s,a,l,fz),s=fz[1],a=fz[2]),t.quadraticCurveTo(o,s,i,a)):(l<1&&(jC(n,o,u,i,l,fz),o=fz[1],u=fz[2],i=fz[3],jC(r,s,c,a,l,fz),s=fz[1],c=fz[2],a=fz[3]),t.bezierCurveTo(o,s,u,c,i,a)))},e.prototype.pointAt=function(t){return pz(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=pz(this.shape,t,!0);return ZI(e,e)},e}(zD);gz.prototype.type="bezier-curve";const bz=gz;var vz=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},mz=function(t){function e(e){return t.call(this,e)||this}return zI(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new vz},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r,0),a=e.startAngle,o=e.endAngle,s=e.clockwise,u=Math.cos(a),c=Math.sin(a);t.moveTo(u*i+n,c*i+r),t.arc(n,r,i,a,o,!s)},e}(zD);mz.prototype.type="arc";const yz=mz;var wz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return zI(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],r=0;r<n.length;r++)n[r].buildPath(t,n[r].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),zD.prototype.getBoundingRect.call(this)},e}(zD);const xz=wz;var _z=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}();const Sz=_z;const kz=function(t){function e(e,n,r,i,a,o){var s=t.call(this,a)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==r?1:r,s.y2=null==i?0:i,s.type="linear",s.global=o||!1,s}return zI(e,t),e}(Sz);var Iz=function(t){function e(e,n,r,i,a){var o=t.call(this,i)||this;return o.x=null==e?.5:e,o.y=null==n?.5:n,o.r=null==r?.5:r,o.type="radial",o.global=a||!1,o}return zI(e,t),e}(Sz);const Mz=Iz;var Cz=[0,0],Tz=[0,0],Az=new zM,Ez=new zM,Pz=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new zM;for(n=0;n<2;n++)this._axes[n]=new zM;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,i=t.x,a=t.y,o=i+t.width,s=a+t.height;if(n[0].set(i,a),n[1].set(o,a),n[2].set(o,s),n[3].set(i,s),e)for(var u=0;u<4;u++)n[u].transform(e);zM.sub(r[0],n[1],n[0]),zM.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return Az.set(1/0,1/0),Ez.set(0,0),!this._intersectCheckOneSide(this,t,Az,Ez,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,Az,Ez,r,-1)&&(n=!1,r)||r||zM.copy(e,n?Az:Ez),n},t.prototype._intersectCheckOneSide=function(t,e,n,r,i,a){for(var o=!0,s=0;s<2;s++){var u=this._axes[s];if(this._getProjMinMaxOnAxis(s,t._corners,Cz),this._getProjMinMaxOnAxis(s,e._corners,Tz),Cz[1]<Tz[0]||Cz[0]>Tz[1]){if(o=!1,i)return o;var c=Math.abs(Tz[0]-Cz[1]),l=Math.abs(Cz[0]-Tz[1]);Math.min(c,l)>r.len()&&(c<l?zM.scale(r,u,-c*a):zM.scale(r,u,l*a))}else if(n){c=Math.abs(Tz[0]-Cz[1]),l=Math.abs(Cz[0]-Tz[1]);Math.min(c,l)<n.len()&&(c<l?zM.scale(n,u,c*a):zM.scale(n,u,-l*a))}}return o},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var r=this._axes[t],i=this._origin,a=e[0].dot(r)+i[t],o=a,s=a,u=1;u<e.length;u++){var c=e[u].dot(r)+i[t];o=Math.min(c,o),s=Math.max(c,s)}n[0]=o,n[1]=s},t}();const Dz=Pz;var Oz=[],Lz=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return zI(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){(e=this._displayables[t]).parent=this,e.update(),e.parent=null}for(t=0;t<this._temporaryDisplayables.length;t++){var e;(e=this._temporaryDisplayables[t]).parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new KM(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],r=n.getBoundingRect().clone();n.needLocalTransform()&&r.applyTransform(n.getLocalTransform(Oz)),t.union(r)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1]))for(var r=0;r<this._displayables.length;r++){if(this._displayables[r].contain(t,e))return!0}return!1},e}(FP);const Rz=Lz;var Nz=Math.max,jz=Math.min,Fz={};function Bz(t){return zD.extend(t)}var zz=function(t,e){var n=CB(t,e);return function(t){function e(e){var r=t.call(this,e)||this;return r.applyTransform=n.applyTransform,r.buildPath=n.buildPath,r}return zI(e,t),e}(IB)};function $z(t,e){return zz(t,e)}function Vz(t,e){Fz[t]=e}function Hz(t){if(Fz.hasOwnProperty(t))return Fz[t]}function Wz(t,e,n,r){var i=TB(t,e);return n&&("center"===r&&(n=Uz(n,i.getBoundingRect())),qz(i,n)),i}function Gz(t,e,n){var r=new XD({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var i={width:t.width,height:t.height};r.setStyle(Uz(e,i))}}});return r}function Uz(t,e){var n,r=e.width/e.height,i=t.height*r;return n=i<=t.width?t.height:(i=t.width)/r,{x:t.x+t.width/2-i/2,y:t.y+t.height/2-n/2,width:i,height:n}}var Xz=function(t,e){for(var n=[],r=t.length,i=0;i<r;i++){var a=t[i];n.push(a.getUpdatedPathProxy(!0))}var o=new zD(e);return o.createPathProxy(),o.buildPath=function(t){if(MB(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},o};function qz(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function Yz(t,e){return YD(t,t,{lineWidth:e}),t}function Kz(t){return KD(t.shape,t.shape,t.style),t}var Zz=ZD;function Qz(t,e){for(var n=DM([]);t&&t!==e;)LM(n,t.getLocalTransform(),n),t=t.parent;return n}function Jz(t,e,n){return e&&!tI(e)&&(e=LA.getLocalTransform(e)),n&&(e=FM([],e)),nM([],t,e)}function t$(t,e,n){var r=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),i=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),a=["left"===t?-r:"right"===t?r:0,"top"===t?-i:"bottom"===t?i:0];return a=Jz(a,e,n),Math.abs(a[0])>Math.abs(a[1])?a[0]>0?"right":"left":a[1]>0?"bottom":"top"}function e$(t){return!t.isGroup}function n$(t,e,n){if(t&&e){var r=function(t){var e={};return t.traverse((function(t){e$(t)&&t.anid&&(e[t.anid]=t)})),e}(t);e.traverse((function(t){if(e$(t)&&t.anid){var e=r[t.anid];if(e){var a=i(t);t.attr(i(e)),xL(t,a,n,mO(t).dataIndex)}}}))}function i(t){var e={x:t.x,y:t.y,rotation:t.rotation};return function(t){return null!=t.shape}(t)&&(e.shape=Kk({},t.shape)),e}}function r$(t,e){return nI(t,(function(t){var n=t[0];n=Nz(n,e.x),n=jz(n,e.x+e.width);var r=t[1];return r=Nz(r,e.y),[n,r=jz(r,e.y+e.height)]}))}function i$(t,e){var n=Nz(t.x,e.x),r=jz(t.x+t.width,e.x+e.width),i=Nz(t.y,e.y),a=jz(t.y+t.height,e.y+e.height);if(r>=n&&a>=i)return{x:n,y:i,width:r-n,height:a-i}}function a$(t,e,n){var r=Kk({rectHover:!0},e),i=r.style={strokeNoScale:!0};if(n=n||{x:-1,y:-1,width:2,height:2},t)return 0===t.indexOf("image://")?(i.image=t.slice(8),Zk(i,n),new XD(r)):Wz(t.replace("path://",""),r,n,"center")}function o$(t,e,n,r,i){for(var a=0,o=i[i.length-1];a<i.length;a++){var s=i[a];if(s$(t,e,n,r,s[0],s[1],o[0],o[1]))return!0;o=s}}function s$(t,e,n,r,i,a,o,s){var u,c=n-t,l=r-e,h=o-i,f=s-a,d=u$(h,f,c,l);if((u=d)<=1e-6&&u>=-1e-6)return!1;var p=t-i,g=e-a,b=u$(p,g,c,l)/d;if(b<0||b>1)return!1;var v=u$(p,g,h,f)/d;return!(v<0||v>1)}function u$(t,e,n,r){return t*r-n*e}function c$(t){var e=t.itemTooltipOption,n=t.componentModel,r=t.itemName,i=lI(e)?{formatter:e}:e,a=n.mainType,o=n.componentIndex,s={componentType:a,name:r,$vars:["name"]};s[a+"Index"]=o;var u=t.formatterParamsExtra;u&&eI(aI(u),(function(t){NI(s,t)||(s[t]=u[t],s.$vars.push(t))}));var c=mO(t.el);c.componentMainType=a,c.componentIndex=o,c.tooltipConfig={name:r,option:Zk({content:r,formatterParams:s},i)}}function l$(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function h$(t,e){if(t)if(uI(t))for(var n=0;n<t.length;n++)l$(t[n],e);else l$(t,e)}Vz("circle",DB),Vz("ellipse",RB),Vz("sector",ZB),Vz("ring",tz),Vz("polygon",iz),Vz("polyline",sz),Vz("rect",eO),Vz("line",hz),Vz("bezierCurve",bz),Vz("arc",yz);var f$=GE(),d$=cB(),p$=function(){function t(){this.group=new nE,this.uid=iR("viewChart"),this.renderTask=Qj({plan:v$,reset:m$}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,r){0},t.prototype.highlight=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&b$(i,r,"emphasis")},t.prototype.downplay=function(t,e,n,r){var i=t.getData(r&&r.dataType);i&&b$(i,r,"normal")},t.prototype.remove=function(t,e){this.group.removeAll()},t.prototype.dispose=function(t,e){},t.prototype.updateView=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateLayout=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.updateVisual=function(t,e,n,r){this.render(t,e,n,r)},t.prototype.eachRendered=function(t){h$(this.group,t)},t.markUpdateMethod=function(t,e){f$(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g$(t,e,n){t&&gL(t)&&("emphasis"===e?YO:KO)(t,n)}function b$(t,e,n){var r=WE(t,e),i=e&&null!=e.highlightKey?function(t){var e=xO[t];return null==e&&wO<=32&&(e=xO[t]=wO++),e}(e.highlightKey):null;null!=r?eI(OE(r),(function(e){g$(t.getItemGraphicEl(e),n,i)})):t.eachItemGraphicEl((function(t){g$(t,n,i)}))}function v$(t){return d$(t.model)}function m$(t){var e=t.model,n=t.ecModel,r=t.api,i=t.payload,a=e.pipelineContext.progressiveRender,o=t.view,s=i&&f$(i).updateMethod,u=a?"incrementalPrepareRender":s&&o[s]?s:"render";return"render"!==u&&o[u](e,n,r,i),y$[u]}iP(p$),cP(p$);var y$={incrementalPrepareRender:{progress:function(t,e){e.view.incrementalRender(t,e.model,e.ecModel,e.api,e.payload)}},render:{forceFirstProgress:!0,progress:function(t,e){e.view.render(e.model,e.ecModel,e.api,e.payload)}}};const w$=p$;var x$="\0__throttleOriginMethod",_$="\0__throttleRate",S$="\0__throttleType";function k$(t,e,n){var r,i,a,o,s,u=0,c=0,l=null;function h(){c=(new Date).getTime(),l=null,t.apply(a,o||[])}e=e||0;var f=function(){for(var t=[],f=0;f<arguments.length;f++)t[f]=arguments[f];r=(new Date).getTime(),a=this,o=t;var d=s||e,p=s||n;s=null,i=r-(p?u:c)-d,clearTimeout(l),p?l=setTimeout(h,d):i>=0?h():l=setTimeout(h,-i),u=r};return f.clear=function(){l&&(clearTimeout(l),l=null)},f.debounceNextCall=function(t){s=t},f}function I$(t,e,n,r){var i=t[e];if(i){var a=i[x$]||i,o=i[S$];if(i[_$]!==n||o!==r){if(null==n||!r)return t[e]=a;(i=t[e]=k$(a,n,"debounce"===r))[x$]=a,i[S$]=r,i[_$]=n}return i}}function M$(t,e){var n=t[e];n&&n[x$]&&(n.clear&&n.clear(),t[e]=n[x$])}var C$=GE(),T$={itemStyle:lP(QL,!0),lineStyle:lP(YL,!0)},A$={lineStyle:"stroke",itemStyle:"fill"};function E$(t,e){var n=t.visualStyleMapper||T$[e];return n||(console.warn("Unknown style type '"+e+"'."),T$.itemStyle)}function P$(t,e){var n=t.visualDrawType||A$[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var D$={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=t.getModel(r),a=E$(t,r)(i),o=i.getShallow("decal");o&&(n.setVisual("decal",o),o.dirty=!0);var s=P$(t,r),u=a[s],c=cI(u)?u:null,l="auto"===a.fill||"auto"===a.stroke;if(!a[s]||c||l){var h=t.getColorFromPalette(t.name,null,e.getSeriesCount());a[s]||(a[s]=h,n.setVisual("colorFromPalette",!0)),a.fill="auto"===a.fill||cI(a.fill)?h:a.fill,a.stroke="auto"===a.stroke||cI(a.stroke)?h:a.stroke}if(n.setVisual("style",a),n.setVisual("drawType",s),!e.isSeriesFiltered(t)&&c)return n.setVisual("colorFromPalette",!1),{dataEach:function(e,n){var r=t.getDataParams(n),i=Kk({},a);i[s]=c(r),e.setItemVisual(n,"style",i)}}}},O$=new nR,L$={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!t.ignoreStyleOnData&&!e.isSeriesFiltered(t)){var n=t.getData(),r=t.visualStyleAccessPath||"itemStyle",i=E$(t,r),a=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[r]){O$.option=n[r];var o=i(O$);Kk(t.ensureUniqueItemVisual(e,"style"),o),O$.option.decal&&(t.setItemVisual(e,"decal",O$.option.decal),O$.option.decal.dirty=!0),a in o&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}},R$={performRawSeries:!0,overallReset:function(t){var e=DI();t.eachSeries((function(t){var n=t.getColorBy();if(!t.isColorBySeries()){var r=t.type+"-"+n,i=e.get(r);i||(i={},e.set(r,i)),C$(t).scope=i}})),t.eachSeries((function(e){if(!e.isColorBySeries()&&!t.isSeriesFiltered(e)){var n=e.getRawData(),r={},i=e.getData(),a=C$(e).scope,o=e.visualStyleAccessPath||"itemStyle",s=P$(e,o);i.each((function(t){var e=i.getRawIndex(t);r[e]=t})),n.each((function(t){var o=r[t];if(i.getItemVisual(o,"colorFromPalette")){var u=i.ensureUniqueItemVisual(o,"style"),c=n.getName(t)||t+"",l=n.count();u[s]=e.getColorFromPalette(c,a,l)}}))}}))}},N$=Math.PI;var j$=function(){function t(t,e,n,r){this._stageTaskMap=DI(),this.ecInstance=t,this.api=e,n=this._dataProcessorHandlers=n.slice(),r=this._visualHandlers=r.slice(),this._allHandlers=n.concat(r)}return t.prototype.restoreData=function(t,e){t.restoreData(e),this._stageTaskMap.each((function(t){var e=t.overallTask;e&&e.dirty()}))},t.prototype.getPerformArgs=function(t,e){if(t.__pipeline){var n=this._pipelineMap.get(t.__pipeline.id),r=n.context,i=!e&&n.progressiveEnabled&&(!r||r.progressiveRender)&&t.__idxInPipeline>n.blockIndex?n.step:null,a=r&&r.modDataCount;return{step:i,modBy:null!=a?Math.ceil(a/i):null,modDataCount:a}}},t.prototype.getPipeline=function(t){return this._pipelineMap.get(t)},t.prototype.updateStreamModes=function(t,e){var n=this._pipelineMap.get(t.uid),r=t.getData().count(),i=n.progressiveEnabled&&e.incrementalPrepareRender&&r>=n.threshold,a=t.get("large")&&r>=t.get("largeThreshold"),o="mod"===t.get("progressiveChunkMode")?r:null;t.pipelineContext=n.context={progressiveRender:i,modDataCount:o,large:a}},t.prototype.restorePipelines=function(t){var e=this,n=e._pipelineMap=DI();t.eachSeries((function(t){var r=t.getProgressive(),i=t.uid;n.set(i,{id:i,head:null,tail:null,threshold:t.getProgressiveThreshold(),progressiveEnabled:r&&!(t.preventIncremental&&t.preventIncremental()),blockIndex:-1,step:Math.round(r||700),count:0}),e._pipe(t,t.dataTask)}))},t.prototype.prepareStageTasks=function(){var t=this._stageTaskMap,e=this.api.getModel(),n=this.api;eI(this._allHandlers,(function(r){var i=t.get(r.uid)||t.set(r.uid,{});kI(!(r.reset&&r.overallReset),""),r.reset&&this._createSeriesStageTask(r,i,e,n),r.overallReset&&this._createOverallStageTask(r,i,e,n)}),this)},t.prototype.prepareView=function(t,e,n,r){var i=t.renderTask,a=i.context;a.model=e,a.ecModel=n,a.api=r,i.__block=!t.incrementalPrepareRender,this._pipe(e,i)},t.prototype.performDataProcessorTasks=function(t,e){this._performStageTasks(this._dataProcessorHandlers,t,e,{block:!0})},t.prototype.performVisualTasks=function(t,e,n){this._performStageTasks(this._visualHandlers,t,e,n)},t.prototype._performStageTasks=function(t,e,n,r){r=r||{};var i=!1,a=this;function o(t,e){return t.setDirty&&(!t.dirtyMap||t.dirtyMap.get(e.__pipeline.id))}eI(t,(function(t,s){if(!r.visualType||r.visualType===t.visualType){var u=a._stageTaskMap.get(t.uid),c=u.seriesTaskMap,l=u.overallTask;if(l){var h,f=l.agentStubMap;f.each((function(t){o(r,t)&&(t.dirty(),h=!0)})),h&&l.dirty(),a.updatePayload(l,n);var d=a.getPerformArgs(l,r.block);f.each((function(t){t.perform(d)})),l.perform(d)&&(i=!0)}else c&&c.each((function(s,u){o(r,s)&&s.dirty();var c=a.getPerformArgs(s,r.block);c.skip=!t.performRawSeries&&e.isSeriesFiltered(s.context.model),a.updatePayload(s,n),s.perform(c)&&(i=!0)}))}})),this.unfinished=i||this.unfinished},t.prototype.performSeriesTasks=function(t){var e;t.eachSeries((function(t){e=t.dataTask.perform()||e})),this.unfinished=e||this.unfinished},t.prototype.plan=function(){this._pipelineMap.each((function(t){var e=t.tail;do{if(e.__block){t.blockIndex=e.__idxInPipeline;break}e=e.getUpstream()}while(e)}))},t.prototype.updatePayload=function(t,e){"remain"!==e&&(t.context.payload=e)},t.prototype._createSeriesStageTask=function(t,e,n,r){var i=this,a=e.seriesTaskMap,o=e.seriesTaskMap=DI(),s=t.seriesType,u=t.getTargetSeries;function c(e){var s=e.uid,u=o.set(s,a&&a.get(s)||Qj({plan:V$,reset:H$,count:U$}));u.context={model:e,ecModel:n,api:r,useClearVisual:t.isVisual&&!t.isLayout,plan:t.plan,reset:t.reset,scheduler:i},i._pipe(e,u)}t.createOnAllSeries?n.eachRawSeries(c):s?n.eachRawSeriesByType(s,c):u&&u(n,r).each(c)},t.prototype._createOverallStageTask=function(t,e,n,r){var i=this,a=e.overallTask=e.overallTask||Qj({reset:F$});a.context={ecModel:n,api:r,overallReset:t.overallReset,scheduler:i};var o=a.agentStubMap,s=a.agentStubMap=DI(),u=t.seriesType,c=t.getTargetSeries,l=!0,h=!1;function f(t){var e=t.uid,n=s.set(e,o&&o.get(e)||(h=!0,Qj({reset:B$,onDirty:$$})));n.context={model:t,overallProgress:l},n.agent=a,n.__block=l,i._pipe(t,n)}kI(!t.createOnAllSeries,""),u?n.eachRawSeriesByType(u,f):c?c(n,r).each(f):(l=!1,eI(n.getSeries(),f)),h&&a.dirty()},t.prototype._pipe=function(t,e){var n=t.uid,r=this._pipelineMap.get(n);!r.head&&(r.head=e),r.tail&&r.tail.pipe(e),r.tail=e,e.__idxInPipeline=r.count++,e.__pipeline=r},t.wrapStageHandler=function(t,e){return cI(t)&&(t={overallReset:t,seriesType:X$(t)}),t.uid=iR("stageHandler"),e&&(t.visualType=e),t},t}();function F$(t){t.overallReset(t.ecModel,t.api,t.payload)}function B$(t){return t.overallProgress&&z$}function z$(){this.agent.dirty(),this.getDownstream().dirty()}function $$(){this.agent&&this.agent.dirty()}function V$(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function H$(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=OE(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?nI(e,(function(t,e){return G$(e)})):W$}var W$=G$(0);function G$(t){return function(e,n){var r=n.data,i=n.resetDefines[t];if(i&&i.dataEach)for(var a=e.start;a<e.end;a++)i.dataEach(r,a);else i&&i.progress&&i.progress(e,r)}}function U$(t){return t.data.count()}function X$(t){q$=null;try{t(Y$,K$)}catch(t){}return q$}var q$,Y$={},K$={};function Z$(t,e){for(var n in e.prototype)t[n]=jI}Z$(Y$,XN),Z$(K$,YN),Y$.eachSeriesByType=Y$.eachRawSeriesByType=function(t){q$=t},Y$.eachComponent=function(t){"series"===t.mainType&&t.subType&&(q$=t.subType)};const Q$=j$;var J$=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"];const tV={color:J$,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],J$]};var eV="#B9B8CE",nV="#100C2A",rV=function(){return{axisLine:{lineStyle:{color:eV}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},iV=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],aV={darkMode:!0,color:iV,backgroundColor:nV,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:eV}},textStyle:{color:eV},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:eV}},dataZoom:{borderColor:"#71708A",textStyle:{color:eV},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:eV}},timeline:{lineStyle:{color:eV},label:{color:eV},controlStyle:{color:eV,borderColor:eV}},calendar:{itemStyle:{color:nV},dayLabel:{color:eV},monthLabel:{color:eV},yearLabel:{color:eV}},timeAxis:rV(),logAxis:rV(),valueAxis:rV(),categoryAxis:rV(),line:{symbol:"circle"},graph:{color:iV},gauge:{title:{color:eV},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:eV},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};aV.categoryAxis.splitLine.show=!1;const oV=aV;var sV=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},r={};if(lI(t)){var i=rP(t);e.mainType=i.main||null,e.subType=i.sub||null}else{var a=["Index","Name","Id"],o={name:1,dataIndex:1,dataType:1};eI(t,(function(t,i){for(var s=!1,u=0;u<a.length;u++){var c=a[u],l=i.lastIndexOf(c);if(l>0&&l===i.length-c.length){var h=i.slice(0,l);"data"!==h&&(e.mainType=h,e[c.toLowerCase()]=t,s=!0)}}o.hasOwnProperty(i)&&(n[i]=t,s=!0),s||(r[i]=t)}))}return{cptQuery:e,dataQuery:n,otherQuery:r}},t.prototype.filter=function(t,e){var n=this.eventInfo;if(!n)return!0;var r=n.targetEl,i=n.packedEvent,a=n.model,o=n.view;if(!a||!o)return!0;var s=e.cptQuery,u=e.dataQuery;return c(s,a,"mainType")&&c(s,a,"subType")&&c(s,a,"index","componentIndex")&&c(s,a,"name")&&c(s,a,"id")&&c(u,i,"name")&&c(u,i,"dataIndex")&&c(u,i,"dataType")&&(!o.filterForExposedEvent||o.filterForExposedEvent(t,e.otherQuery,r,i));function c(t,e,n,r){return null==t[n]||e[r||n]===t[n]}},t.prototype.afterTrigger=function(){this.eventInfo=null},t}(),uV=["symbol","symbolSize","symbolRotate","symbolOffset"],cV=uV.concat(["symbolKeepAspect"]),lV={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData();if(t.legendIcon&&n.setVisual("legendIcon",t.legendIcon),t.hasSymbolVisual){for(var r={},i={},a=!1,o=0;o<uV.length;o++){var s=uV[o],u=t.get(s);cI(u)?(a=!0,i[s]=u):r[s]=u}if(r.symbol=r.symbol||t.defaultSymbol,n.setVisual(Kk({legendIcon:t.legendIcon||r.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},r)),!e.isSeriesFiltered(t)){var c=aI(i);return{dataEach:a?function(e,n){for(var r=t.getRawValue(n),a=t.getDataParams(n),o=0;o<c.length;o++){var s=c[o];e.setItemVisual(n,s,i[s](r,a))}}:null}}}}},hV={createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),r=0;r<cV.length;r++){var i=cV[r],a=n.getShallow(i,!0);null!=a&&t.setItemVisual(e,i,a)}}:null}}};function fV(t,e,n){switch(n){case"color":return t.getItemVisual(e,"style")[t.getVisual("drawType")];case"opacity":return t.getItemVisual(e,"style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getItemVisual(e,n)}}function dV(t,e){switch(e){case"color":return t.getVisual("style")[t.getVisual("drawType")];case"opacity":return t.getVisual("style").opacity;case"symbol":case"symbolSize":case"liftZ":return t.getVisual(e)}}function pV(t,e,n,r){switch(n){case"color":t.ensureUniqueItemVisual(e,"style")[t.getVisual("drawType")]=r,t.setItemVisual(e,"colorFromPalette",!1);break;case"opacity":t.ensureUniqueItemVisual(e,"style").opacity=r;break;case"symbol":case"symbolSize":case"liftZ":t.setItemVisual(e,n,r)}}function gV(t,e){function n(e,n){var r=[];return e.eachComponent({mainType:"series",subType:t,query:n},(function(t){r.push(t.seriesIndex)})),r}eI([[t+"ToggleSelect","toggleSelect"],[t+"Select","select"],[t+"UnSelect","unselect"]],(function(t){e(t[0],(function(e,r,i){e=Kk({},e),i.dispatchAction(Kk(e,{type:t[1],seriesIndex:n(r,e)}))}))}))}function bV(t,e,n,r,i){var a=t+e;n.isSilent(a)||r.eachComponent({mainType:"series",subType:"pie"},(function(t){for(var e=t.seriesIndex,r=t.option.selectedMap,o=i.selected,s=0;s<o.length;s++)if(o[s].seriesIndex===e){var u=t.getData(),c=WE(u,i.fromActionPayload);n.trigger(a,{type:a,seriesId:t.id,name:uI(c)?u.getName(c[0]):u.getName(c),selected:lI(r)?r:Kk({},r)})}}))}function vV(t,e,n){for(var r;t&&(!e(t)||(r=t,!n));)t=t.__hostTarget||t.parent;return r}var mV=Math.round(9*Math.random()),yV="function"==typeof Object.defineProperty,wV=function(){function t(){this._id="__ec_inner_"+mV++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return yV?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}();const xV=wV;var _V=zD.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,a=e.height/2;t.moveTo(n,r-a),t.lineTo(n+i,r+a),t.lineTo(n-i,r+a),t.closePath()}}),SV=zD.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,r=e.cy,i=e.width/2,a=e.height/2;t.moveTo(n,r-a),t.lineTo(n+i,r),t.lineTo(n,r+a),t.lineTo(n-i,r),t.closePath()}}),kV=zD.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,r=e.y,i=e.width/5*3,a=Math.max(i,e.height),o=i/2,s=o*o/(a-o),u=r-a+o+s,c=Math.asin(s/o),l=Math.cos(c)*o,h=Math.sin(c),f=Math.cos(c),d=.6*o,p=.7*o;t.moveTo(n-l,u+s),t.arc(n,u,o,Math.PI-c,2*Math.PI+c),t.bezierCurveTo(n+l-h*d,u+s+f*d,n,r-p,n,r),t.bezierCurveTo(n,r-p,n-l+h*d,u+s+f*d,n-l,u+s),t.closePath()}}),IV=zD.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,r=e.width,i=e.x,a=e.y,o=r/3*2;t.moveTo(i,a),t.lineTo(i+o,a+n),t.lineTo(i,a+n/4*3),t.lineTo(i-o,a+n),t.lineTo(i,a),t.closePath()}}),MV={line:function(t,e,n,r,i){i.x1=t,i.y1=e+r/2,i.x2=t+n,i.y2=e+r/2},rect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r},roundRect:function(t,e,n,r,i){i.x=t,i.y=e,i.width=n,i.height=r,i.r=Math.min(n,r)/4},square:function(t,e,n,r,i){var a=Math.min(n,r);i.x=t,i.y=e,i.width=a,i.height=a},circle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.r=Math.min(n,r)/2},diamond:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r},pin:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},arrow:function(t,e,n,r,i){i.x=t+n/2,i.y=e+r/2,i.width=n,i.height=r},triangle:function(t,e,n,r,i){i.cx=t+n/2,i.cy=e+r/2,i.width=n,i.height=r}},CV={};eI({line:hz,rect:eO,roundRect:eO,square:eO,circle:DB,diamond:SV,pin:kV,arrow:IV,triangle:_V},(function(t,e){CV[e]=new t}));var TV=zD.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var r=HA(t,e,n),i=this.shape;return i&&"pin"===i.symbolType&&"inside"===e.position&&(r.y=n.y+.4*n.height),r},buildPath:function(t,e,n){var r=e.symbolType;if("none"!==r){var i=CV[r];i||(i=CV[r="rect"]),MV[r](e.x,e.y,e.width,e.height,i.shape),i.buildPath(t,i.shape,n)}}});function AV(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function EV(t,e,n,r,i,a,o){var s,u=0===t.indexOf("empty");return u&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?Gz(t.slice(8),new KM(e,n,r,i),o?"center":"cover"):0===t.indexOf("path://")?Wz(t.slice(7),{},new KM(e,n,r,i),o?"center":"cover"):new TV({shape:{symbolType:t,x:e,y:n,width:r,height:i}})).__isEmptyBrush=u,s.setColor=AV,a&&s.setColor(a),s}function PV(t){return uI(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function DV(t,e){if(null!=t)return uI(t)||(t=[t,t]),[cE(t[0],e[0])||0,cE(wI(t[1],t[0]),e[1])||0]}function OV(t){return isFinite(t)}function LV(t,e,n){for(var r="radial"===e.type?function(t,e,n){var r=n.width,i=n.height,a=Math.min(r,i),o=null==e.x?.5:e.x,s=null==e.y?.5:e.y,u=null==e.r?.5:e.r;return e.global||(o=o*r+n.x,s=s*i+n.y,u*=a),o=OV(o)?o:.5,s=OV(s)?s:.5,u=u>=0&&OV(u)?u:.5,t.createRadialGradient(o,s,0,o,s,u)}(t,e,n):function(t,e,n){var r=null==e.x?0:e.x,i=null==e.x2?1:e.x2,a=null==e.y?0:e.y,o=null==e.y2?0:e.y2;return e.global||(r=r*n.width+n.x,i=i*n.width+n.x,a=a*n.height+n.y,o=o*n.height+n.y),r=OV(r)?r:0,i=OV(i)?i:1,a=OV(a)?a:0,o=OV(o)?o:0,t.createLinearGradient(r,a,i,o)}(t,e,n),i=e.colorStops,a=0;a<i.length;a++)r.addColorStop(i[a].offset,i[a].color);return r}function RV(t){return parseInt(t,10)}function NV(t,e,n){var r=["width","height"][e],i=["clientWidth","clientHeight"][e],a=["paddingLeft","paddingTop"][e],o=["paddingRight","paddingBottom"][e];if(null!=n[r]&&"auto"!==n[r])return parseFloat(n[r]);var s=document.defaultView.getComputedStyle(t);return(t[i]||RV(s[r])||RV(t.style[r]))-(RV(s[a])||0)-(RV(s[o])||0)|0}function jV(t){var e,n,r=t.style,i=r.lineDash&&r.lineWidth>0&&(e=r.lineDash,n=r.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:fI(e)?[e]:uI(e)?e:null:null),a=r.lineDashOffset;if(i){var o=r.strokeNoScale&&t.getLineScale?t.getLineScale():1;o&&1!==o&&(i=nI(i,(function(t){return t/o})),a/=o)}return[i,a]}var FV=new yD(!0);function BV(t){var e=t.stroke;return!(null==e||"none"===e||!(t.lineWidth>0))}function zV(t){return"string"==typeof t&&"none"!==t}function $V(t){var e=t.fill;return null!=e&&"none"!==e}function VV(t,e){if(null!=e.fillOpacity&&1!==e.fillOpacity){var n=t.globalAlpha;t.globalAlpha=e.fillOpacity*e.opacity,t.fill(),t.globalAlpha=n}else t.fill()}function HV(t,e){if(null!=e.strokeOpacity&&1!==e.strokeOpacity){var n=t.globalAlpha;t.globalAlpha=e.strokeOpacity*e.opacity,t.stroke(),t.globalAlpha=n}else t.stroke()}function WV(t,e,n){var r=gP(e.image,e.__image,n);if(vP(r)){var i=t.createPattern(r,e.repeat||"repeat");if("function"==typeof DOMMatrix&&i&&i.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*FI),a.scaleSelf(e.scaleX||1,e.scaleY||1),i.setTransform(a)}return i}}var GV=["shadowBlur","shadowOffsetX","shadowOffsetY"],UV=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function XV(t,e,n,r,i){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){KV(t,i),a=!0;var o=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(o)?PP.opacity:o}(r||e.blend!==n.blend)&&(a||(KV(t,i),a=!0),t.globalCompositeOperation=e.blend||PP.blend);for(var s=0;s<GV.length;s++){var u=GV[s];(r||e[u]!==n[u])&&(a||(KV(t,i),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(KV(t,i),a=!0),t.shadowColor=e.shadowColor||PP.shadowColor),a}function qV(t,e,n,r,i){var a=ZV(e,i.inHover),o=r?null:n&&ZV(n,i.inHover)||{};if(a===o)return!1;var s=XV(t,a,o,r,i);if((r||a.fill!==o.fill)&&(s||(KV(t,i),s=!0),zV(a.fill)&&(t.fillStyle=a.fill)),(r||a.stroke!==o.stroke)&&(s||(KV(t,i),s=!0),zV(a.stroke)&&(t.strokeStyle=a.stroke)),(r||a.opacity!==o.opacity)&&(s||(KV(t,i),s=!0),t.globalAlpha=null==a.opacity?1:a.opacity),e.hasStroke()){var u=a.lineWidth/(a.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==u&&(s||(KV(t,i),s=!0),t.lineWidth=u)}for(var c=0;c<UV.length;c++){var l=UV[c],h=l[0];(r||a[h]!==o[h])&&(s||(KV(t,i),s=!0),t[h]=a[h]||l[1])}return s}function YV(t,e){var n=e.transform,r=t.dpr||1;n?t.setTransform(r*n[0],r*n[1],r*n[2],r*n[3],r*n[4],r*n[5]):t.setTransform(r,0,0,r,0,0)}function KV(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function ZV(t,e){return e&&t.__hoverStyle||t.style}function QV(t,e){JV(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function JV(t,e,n,r){var i=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1))return e.__dirty&=-2,void(e.__isRendered=!1);var a=e.__clipPaths,o=n.prevElClipPaths,s=!1,u=!1;if(o&&!function(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}(a,o)||(o&&o.length&&(KV(t,n),t.restore(),u=s=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),a&&a.length&&(KV(t,n),t.save(),function(t,e,n){for(var r=!1,i=0;i<t.length;i++){var a=t[i];r=r||a.isZeroArea(),YV(e,a),e.beginPath(),a.buildPath(e,a.shape),e.clip()}n.allClipped=r}(a,t,n),s=!0),n.prevElClipPaths=a),n.allClipped)e.__isRendered=!1;else{e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var c=n.prevEl;c||(u=s=!0);var l,h,f=e instanceof zD&&e.autoBatch&&function(t){var e=$V(t),n=BV(t);return!(t.lineDash||!(+e^+n)||e&&"string"!=typeof t.fill||n&&"string"!=typeof t.stroke||t.strokePercent<1||t.strokeOpacity<1||t.fillOpacity<1)}(e.style);s||(l=i,h=c.transform,l&&h?l[0]!==h[0]||l[1]!==h[1]||l[2]!==h[2]||l[3]!==h[3]||l[4]!==h[4]||l[5]!==h[5]:l||h)?(KV(t,n),YV(t,e)):f||KV(t,n);var d=ZV(e,n.inHover);e instanceof zD?(1!==n.lastDrawType&&(u=!0,n.lastDrawType=1),qV(t,e,c,u,n),f&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,r){var i,a=BV(n),o=$V(n),s=n.strokePercent,u=s<1,c=!e.path;e.silent&&!u||!c||e.createPathProxy();var l=e.path||FV,h=e.__dirty;if(!r){var f=n.fill,d=n.stroke,p=o&&!!f.colorStops,g=a&&!!d.colorStops,b=o&&!!f.image,v=a&&!!d.image,m=void 0,y=void 0,w=void 0,x=void 0,_=void 0;(p||g)&&(_=e.getBoundingRect()),p&&(m=h?LV(t,f,_):e.__canvasFillGradient,e.__canvasFillGradient=m),g&&(y=h?LV(t,d,_):e.__canvasStrokeGradient,e.__canvasStrokeGradient=y),b&&(w=h||!e.__canvasFillPattern?WV(t,f,e):e.__canvasFillPattern,e.__canvasFillPattern=w),v&&(x=h||!e.__canvasStrokePattern?WV(t,d,e):e.__canvasStrokePattern,e.__canvasStrokePattern=w),p?t.fillStyle=m:b&&(w?t.fillStyle=w:o=!1),g?t.strokeStyle=y:v&&(x?t.strokeStyle=x:a=!1)}var S,k,I=e.getGlobalScale();l.setScale(I[0],I[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(S=(i=jV(e))[0],k=i[1]);var M=!0;(c||4&h)&&(l.setDPR(t.dpr),u?l.setContext(null):(l.setContext(t),M=!1),l.reset(),e.buildPath(l,e.shape,r),l.toStatic(),e.pathUpdated()),M&&l.rebuildPath(t,u?s:1),S&&(t.setLineDash(S),t.lineDashOffset=k),r||(n.strokeFirst?(a&&HV(t,n),o&&VV(t,n)):(o&&VV(t,n),a&&HV(t,n))),S&&t.setLineDash([])}(t,e,d,f),f&&(n.batchFill=d.fill||"",n.batchStroke=d.stroke||"")):e instanceof HD?(3!==n.lastDrawType&&(u=!0,n.lastDrawType=3),qV(t,e,c,u,n),function(t,e,n){var r,i=n.text;if(null!=i&&(i+=""),i){t.font=n.font||Tk,t.textAlign=n.textAlign,t.textBaseline=n.textBaseline;var a=void 0,o=void 0;t.setLineDash&&n.lineDash&&(a=(r=jV(e))[0],o=r[1]),a&&(t.setLineDash(a),t.lineDashOffset=o),n.strokeFirst?(BV(n)&&t.strokeText(i,n.x,n.y),$V(n)&&t.fillText(i,n.x,n.y)):($V(n)&&t.fillText(i,n.x,n.y),BV(n)&&t.strokeText(i,n.x,n.y)),a&&t.setLineDash([])}}(t,e,d)):e instanceof XD?(2!==n.lastDrawType&&(u=!0,n.lastDrawType=2),function(t,e,n,r,i){XV(t,ZV(e,i.inHover),n&&ZV(n,i.inHover),r,i)}(t,e,c,u,n),function(t,e,n){var r=e.__image=gP(n.image,e.__image,e,e.onload);if(r&&vP(r)){var i=n.x||0,a=n.y||0,o=e.getWidth(),s=e.getHeight(),u=r.width/r.height;if(null==o&&null!=s?o=s*u:null==s&&null!=o?s=o/u:null==o&&null==s&&(o=r.width,s=r.height),n.sWidth&&n.sHeight){var c=n.sx||0,l=n.sy||0;t.drawImage(r,c,l,n.sWidth,n.sHeight,i,a,o,s)}else if(n.sx&&n.sy){var h=o-(c=n.sx),f=s-(l=n.sy);t.drawImage(r,c,l,h,f,i,a,o,s)}else t.drawImage(r,i,a,o,s)}}(t,e,d)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(u=!0,n.lastDrawType=4),function(t,e,n){var r=e.getDisplayables(),i=e.getTemporalDisplayables();t.save();var a,o,s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(a=e.getCursor(),o=r.length;a<o;a++){(l=r[a]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),JV(t,l,s,a===o-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,c=i.length;u<c;u++){var l;(l=i[u]).beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),JV(t,l,s,u===c-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n)),f&&r&&KV(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}}var tH=new xV,eH=new JC(100),nH=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function rH(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),r=e.getZr(),i="svg"===r.painter.type;t.dirty&&tH.delete(t);var a=tH.get(t);if(a)return a;var o=Zk(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===o.backgroundColor&&(o.backgroundColor=null);var s={repeat:"repeat"};return function(t){for(var e,a=[n],s=!0,u=0;u<nH.length;++u){var c=o[nH[u]];if(null!=c&&!uI(c)&&!lI(c)&&!fI(c)&&"boolean"!=typeof c){s=!1;break}a.push(c)}if(s){e=a.join(",")+(i?"-svg":"");var l=eH.get(e);l&&(i?t.svgElement=l:t.image=l)}var h,f=aH(o.dashArrayX),d=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if(fI(t)){var e=Math.ceil(t);return[e,e]}var n=nI(t,(function(t){return Math.ceil(t)}));return t.length%2?n.concat(n):n}(o.dashArrayY),p=iH(o.symbol),g=(w=f,nI(w,(function(t){return oH(t)}))),b=oH(d),v=!i&&Dk.createCanvas(),m=i&&{tag:"g",attrs:{},key:"dcl",children:[]},y=function(){for(var t=1,e=0,n=g.length;e<n;++e)t=AE(t,g[e]);var r=1;for(e=0,n=p.length;e<n;++e)r=AE(r,p[e].length);t*=r;var i=b*g.length*p.length;0;return{width:Math.max(1,Math.min(t,o.maxTileWidth)),height:Math.max(1,Math.min(i,o.maxTileHeight))}}();var w;v&&(v.width=y.width*n,v.height=y.height*n,h=v.getContext("2d"));(function(){h&&(h.clearRect(0,0,v.width,v.height),o.backgroundColor&&(h.fillStyle=o.backgroundColor,h.fillRect(0,0,v.width,v.height)));for(var t=0,e=0;e<d.length;++e)t+=d[e];if(t<=0)return;var a=-b,s=0,u=0,c=0;for(;a<y.height;){if(s%2==0){for(var l=u/2%p.length,g=0,w=0,x=0;g<2*y.width;){var _=0;for(e=0;e<f[c].length;++e)_+=f[c][e];if(_<=0)break;if(w%2==0){var S=.5*(1-o.symbolSize),k=g+f[c][w]*S,I=a+d[s]*S,M=f[c][w]*o.symbolSize,C=d[s]*o.symbolSize,T=x/2%p[l].length;A(k,I,M,C,p[l][T])}g+=f[c][w],++x,++w===f[c].length&&(w=0)}++c===f.length&&(c=0)}a+=d[s],++u,++s===d.length&&(s=0)}function A(t,e,a,s,u){var c=i?1:n,l=EV(u,t*c,e*c,a*c,s*c,o.color,o.symbolKeepAspect);if(i){var f=r.painter.renderOneToVNode(l);f&&m.children.push(f)}else QV(h,l)}})(),s&&eH.put(e,v||m);t.image=v,t.svgElement=m,t.svgWidth=y.width,t.svgHeight=y.height}(s),s.rotation=o.rotation,s.scaleX=s.scaleY=i?1:1/n,tH.set(t,s),t.dirty=!1,s}function iH(t){if(!t||0===t.length)return[["rect"]];if(lI(t))return[[t]];for(var e=!0,n=0;n<t.length;++n)if(!lI(t[n])){e=!1;break}if(e)return iH([t]);var r=[];for(n=0;n<t.length;++n)lI(t[n])?r.push([t[n]]):r.push(t[n]);return r}function aH(t){if(!t||0===t.length)return[[0,0]];if(fI(t))return[[i=Math.ceil(t),i]];for(var e=!0,n=0;n<t.length;++n)if(!fI(t[n])){e=!1;break}if(e)return aH([t]);var r=[];for(n=0;n<t.length;++n)if(fI(t[n])){var i=Math.ceil(t[n]);r.push([i,i])}else{(i=nI(t[n],(function(t){return Math.ceil(t)}))).length%2==1?r.push(i.concat(i)):r.push(i)}return r}function oH(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}const sH=new cM;var uH={};var cH=2e3,lH=4500,hH={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:cH,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:lH,ARIA:6e3,DECAL:7e3}},fH=/^[a-zA-Z0-9_]+$/,dH="__connectUpdateStatus";function pH(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];if(!this.isDisposed())return bH(this,t,e);zH(this.id)}}function gH(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return bH(this,t,e)}}function bH(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),cM.prototype[e].apply(t,n)}var vH,mH,yH,wH,xH,_H,SH,kH,IH,MH,CH,TH,AH,EH,PH,DH,OH,LH,RH=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e}(cM),NH=RH.prototype;NH.on=gH("on"),NH.off=gH("off");var jH=function(t){function e(e,n,r){var i=t.call(this,new sV)||this;i._chartsViews=[],i._chartsMap={},i._componentsViews=[],i._componentsMap={},i._pendingActions=[],r=r||{},lI(n)&&(n=UH[n]),i._dom=e;var a=i._zr=oE(e,{renderer:r.renderer||"canvas",devicePixelRatio:r.devicePixelRatio,width:r.width,height:r.height,ssr:r.ssr,useDirtyRect:wI(r.useDirtyRect,!1),useCoarsePointer:wI(r.useCoarsePointer,"auto"),pointerSize:r.pointerSize});i._ssr=r.ssr,i._throttledZrFlush=k$(oI(a.flush,a),17),(n=Xk(n))&&_j(n,!0),i._theme=n,i._locale=function(t){if(lI(t)){var e=cR[t.toUpperCase()]||{};return t===oR||t===sR?Xk(e):qk(Xk(e),Xk(cR.EN),!1)}return qk(Xk(t),Xk(cR.EN),!1)}(r.locale||hR),i._coordSysMgr=new QN;var o=i._api=PH(i);function s(t,e){return t.__prio-e.__prio}return dC(GH,s),dC(HH,s),i._scheduler=new Q$(i,o,HH,GH),i._messageCenter=new RH,i._initEvents(),i.resize=oI(i.resize,i),a.animation.on("frame",i._onframe,i),MH(a,i),CH(a,i),CI(i),i}return Sk(e,t),e.prototype._onframe=function(){if(!this._disposed){LH(this);var t=this._scheduler;if(this.__pendingUpdate){var e=this.__pendingUpdate.silent;this.__flagInMainProcess=!0;try{vH(this),wH.update.call(this,null,this.__pendingUpdate.updateParams)}catch(t){throw this.__flagInMainProcess=!1,this.__pendingUpdate=null,t}this._zr.flush(),this.__flagInMainProcess=!1,this.__pendingUpdate=null,kH.call(this,e),IH.call(this,e)}else if(t.unfinished){var n=1,r=this._model,i=this._api;t.unfinished=!1;do{var a=+new Date;t.performSeriesTasks(r),t.performDataProcessorTasks(r),_H(this,r),t.performVisualTasks(r),EH(this,this._model,i,"remain",{}),n-=+new Date-a}while(n>0&&t.unfinished);t.unfinished||this._zr.flush()}}},e.prototype.getDom=function(){return this._dom},e.prototype.getId=function(){return this.id},e.prototype.getZr=function(){return this._zr},e.prototype.isSSR=function(){return this._ssr},e.prototype.setOption=function(t,e,n){if(!this.__flagInMainProcess)if(this._disposed)zH(this.id);else{var r,i,a;if(dI(e)&&(n=e.lazyUpdate,r=e.silent,i=e.replaceMerge,a=e.transition,e=e.notMerge),this.__flagInMainProcess=!0,!this._model||e){var o=new nj(this._api),s=this._theme,u=this._model=new XN;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,s,this._locale,o)}this._model.setOption(t,{replaceMerge:i},WH);var c={seriesTransition:a,optionChanged:!0};if(n)this.__pendingUpdate={silent:r,updateParams:c},this.__flagInMainProcess=!1,this.getZr().wakeUp();else{try{vH(this),wH.update.call(this,null,c)}catch(t){throw this.__pendingUpdate=null,this.__flagInMainProcess=!1,t}this._ssr||this._zr.flush(),this.__pendingUpdate=null,this.__flagInMainProcess=!1,kH.call(this,r),IH.call(this,r)}}},e.prototype.setTheme=function(){eF()},e.prototype.getModel=function(){return this._model},e.prototype.getOption=function(){return this._model&&this._model.getOption()},e.prototype.getWidth=function(){return this._zr.getWidth()},e.prototype.getHeight=function(){return this._zr.getHeight()},e.prototype.getDevicePixelRatio=function(){return this._zr.painter.dpr||Mk.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(Mk.svgSupported){var t=this._zr;return eI(t.storage.getDisplayList(),(function(t){t.stopAnimation(null,!0)})),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(!this._disposed){var e=(t=t||{}).excludeComponents,n=this._model,r=[],i=this;eI(e,(function(t){n.eachComponent({mainType:t},(function(t){var e=i._componentsMap[t.__viewId];e.group.ignore||(r.push(e),e.group.ignore=!0)}))}));var a="svg"===this._zr.painter.getType()?this.getSvgDataURL():this.renderToCanvas(t).toDataURL("image/"+(t&&t.type||"png"));return eI(r,(function(t){t.group.ignore=!1})),a}zH(this.id)},e.prototype.getConnectedDataURL=function(t){if(!this._disposed){var e="svg"===t.type,n=this.group,r=Math.min,i=Math.max,a=1/0;if(YH[n]){var o=a,s=a,u=-1/0,c=-1/0,l=[],h=t&&t.pixelRatio||this.getDevicePixelRatio();eI(qH,(function(a,h){if(a.group===n){var f=e?a.getZr().painter.getSvgDom().innerHTML:a.renderToCanvas(Xk(t)),d=a.getDom().getBoundingClientRect();o=r(d.left,o),s=r(d.top,s),u=i(d.right,u),c=i(d.bottom,c),l.push({dom:f,left:d.left,top:d.top})}}));var f=(u*=h)-(o*=h),d=(c*=h)-(s*=h),p=Dk.createCanvas(),g=oE(p,{renderer:e?"svg":"canvas"});if(g.resize({width:f,height:d}),e){var b="";return eI(l,(function(t){var e=t.left-o,n=t.top-s;b+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"})),g.painter.getSvgRoot().innerHTML=b,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()}return t.connectedBackgroundColor&&g.add(new eO({shape:{x:0,y:0,width:f,height:d},style:{fill:t.connectedBackgroundColor}})),eI(l,(function(t){var e=new XD({style:{x:t.left*h-o,y:t.top*h-s,image:t.dom}});g.add(e)})),g.refreshImmediately(),p.toDataURL("image/"+(t&&t.type||"png"))}return this.getDataURL(t)}zH(this.id)},e.prototype.convertToPixel=function(t,e){return xH(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return xH(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){var n;if(!this._disposed)return eI(XE(this._model,t),(function(t,r){r.indexOf("Models")>=0&&eI(t,(function(t){var i=t.coordinateSystem;if(i&&i.containPoint)n=n||!!i.containPoint(e);else if("seriesModels"===r){var a=this._chartsMap[t.__viewId];a&&a.containPoint&&(n=n||a.containPoint(e,t))}else 0}),this)}),this),!!n;zH(this.id)},e.prototype.getVisual=function(t,e){var n=XE(this._model,t,{defaultMainType:"series"});var r=n.seriesModel.getData(),i=n.hasOwnProperty("dataIndexInside")?n.dataIndexInside:n.hasOwnProperty("dataIndex")?r.indexOfRawIndex(n.dataIndex):null;return null!=i?fV(r,i,e):dV(r,e)},e.prototype.getViewOfComponentModel=function(t){return this._componentsMap[t.__viewId]},e.prototype.getViewOfSeriesModel=function(t){return this._chartsMap[t.__viewId]},e.prototype._initEvents=function(){var t,e,n,r=this;eI(BH,(function(t){var e=function(e){var n,i=r.getModel(),a=e.target;if("globalout"===t?n={}:a&&vV(a,(function(t){var e=mO(t);if(e&&null!=e.dataIndex){var r=e.dataModel||i.getSeriesByIndex(e.seriesIndex);return n=r&&r.getDataParams(e.dataIndex,e.dataType)||{},!0}if(e.eventData)return n=Kk({},e.eventData),!0}),!0),n){var o=n.componentType,s=n.componentIndex;"markLine"!==o&&"markPoint"!==o&&"markArea"!==o||(o="series",s=n.seriesIndex);var u=o&&null!=s&&i.getComponent(o,s),c=u&&r["series"===u.mainType?"_chartsMap":"_componentsMap"][u.__viewId];0,n.event=e,n.type=t,r._$eventProcessor.eventInfo={targetEl:a,packedEvent:n,model:u,view:c},r.trigger(t,n)}};e.zrEventfulCallAtLast=!0,r._zr.on(t,e,r)})),eI(VH,(function(t,e){r._messageCenter.on(e,(function(t){this.trigger(e,t)}),r)})),eI(["selectchanged"],(function(t){r._messageCenter.on(t,(function(e){this.trigger(t,e)}),r)})),t=this._messageCenter,e=this,n=this._api,t.on("selectchanged",(function(t){var r=n.getModel();t.isFromClick?(bV("map","selectchanged",e,r,t),bV("pie","selectchanged",e,r,t)):"select"===t.fromAction?(bV("map","selected",e,r,t),bV("pie","selected",e,r,t)):"unselect"===t.fromAction&&(bV("map","unselected",e,r,t),bV("pie","unselected",e,r,t))}))},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){this._disposed?zH(this.id):this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)zH(this.id);else{this._disposed=!0,this.getDom()&&QE(this.getDom(),ZH,"");var t=this,e=t._api,n=t._model;eI(t._componentsViews,(function(t){t.dispose(n,e)})),eI(t._chartsViews,(function(t){t.dispose(n,e)})),t._zr.dispose(),t._dom=t._model=t._chartsMap=t._componentsMap=t._chartsViews=t._componentsViews=t._scheduler=t._api=t._zr=t._throttledZrFlush=t._theme=t._coordSysMgr=t._messageCenter=null,delete qH[t.id]}},e.prototype.resize=function(t){if(!this.__flagInMainProcess)if(this._disposed)zH(this.id);else{this._zr.resize(t);var e=this._model;if(this._loadingFX&&this._loadingFX.resize(),e){var n=e.resetOption("media"),r=t&&t.silent;this.__pendingUpdate&&(null==r&&(r=this.__pendingUpdate.silent),n=!0,this.__pendingUpdate=null),this.__flagInMainProcess=!0;try{n&&vH(this),wH.update.call(this,{type:"resize",animation:Kk({duration:0},t&&t.animation)})}catch(t){throw this.__flagInMainProcess=!1,t}this.__flagInMainProcess=!1,kH.call(this,r),IH.call(this,r)}}},e.prototype.showLoading=function(t,e){if(this._disposed)zH(this.id);else if(dI(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),XH[t]){var n=XH[t](this._api,e),r=this._zr;this._loadingFX=n,r.add(n)}},e.prototype.hideLoading=function(){this._disposed?zH(this.id):(this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null)},e.prototype.makeActionFromEvent=function(t){var e=Kk({},t);return e.type=VH[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)zH(this.id);else if(dI(e)||(e={silent:!!e}),$H[t.type]&&this._model)if(this.__flagInMainProcess)this._pendingActions.push(t);else{var n=e.silent;SH.call(this,t,n);var r=e.flush;r?this._zr.flush():!1!==r&&Mk.browser.weChat&&this._throttledZrFlush(),kH.call(this,n),IH.call(this,n)}},e.prototype.updateLabelLayout=function(){sH.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)zH(this.id);else{var e=t.seriesIndex;0,this.getModel().getSeriesByIndex(e).appendData(t),this._scheduler.unfinished=!0,this.getZr().wakeUp()}},e.internalField=function(){function t(t){t.clearColorPalette(),t.eachSeries((function(t){t.clearColorPalette()}))}function e(t){for(var e=[],n=t.currentStates,r=0;r<n.length;r++){var i=n[r];"emphasis"!==i&&"blur"!==i&&"select"!==i&&e.push(i)}t.selected&&t.states.select&&e.push("select"),2===t.hoverState&&t.states.emphasis?e.push("emphasis"):1===t.hoverState&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered((function(t){return r(t,n,i,-1/0),!0}))}}function r(t,e,n,i){var a=t.getTextContent(),o=t.getTextGuideLine();if(t.isGroup)for(var s=t.childrenRef(),u=0;u<s.length;u++)i=Math.max(r(s[u],e,n,i),i);else t.z=e,t.zlevel=n,i=Math.max(t.z2,i);if(a&&(a.z=e,a.zlevel=n,isFinite(i)&&(a.z2=i+2)),o){var c=t.textGuideLineConfig;o.z=e,o.zlevel=n,isFinite(i)&&(o.z2=i+(c&&c.showAbove?1:-1))}return i}function i(t,e){e.eachRendered((function(t){if(!SL(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}}))}function a(t,n){var r=t.getModel("stateAnimation"),i=t.isAnimationEnabled(),a=r.get("duration"),o=a>0?{duration:a,delay:r.get("delay"),easing:r.get("easing")}:null;n.eachRendered((function(t){if(t.states&&t.states.emphasis){if(SL(t))return;if(t instanceof zD&&function(t){var e=_O(t);e.normalFill=t.style.fill,e.normalStroke=t.style.stroke;var n=t.states.select||{};e.selectFill=n.style&&n.style.fill||null,e.selectStroke=n.style&&n.style.stroke||null}(t),t.__dirty){var n=t.prevStates;n&&t.useStates(n)}if(i){t.stateTransition=o;var r=t.getTextContent(),a=t.getTextGuideLine();r&&(r.stateTransition=o),a&&(a.stateTransition=o)}t.__dirty&&e(t)}}))}vH=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),mH(t,!0),mH(t,!1),e.plan()},mH=function(t,e){for(var n=t._model,r=t._scheduler,i=e?t._componentsViews:t._chartsViews,a=e?t._componentsMap:t._chartsMap,o=t._zr,s=t._api,u=0;u<i.length;u++)i[u].__alive=!1;function c(t){var u=t.__requireNewView;t.__requireNewView=!1;var c="_ec_"+t.id+"_"+t.type,l=!u&&a[c];if(!l){var h=rP(t.type);0,(l=new(e?uB.getClass(h.main,h.sub):w$.getClass(h.sub))).init(n,s),a[c]=l,i.push(l),o.add(l.group)}t.__viewId=l.__id=c,l.__alive=!0,l.__model=t,l.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},!e&&r.prepareView(l,t,n,s)}e?n.eachComponent((function(t,e){"series"!==t&&c(e)})):n.eachSeries(c);for(u=0;u<i.length;){var l=i[u];l.__alive?u++:(!e&&l.renderTask.dispose(),o.remove(l.group),l.dispose(n,s),i.splice(u,1),a[l.__id]===l&&delete a[l.__id],l.__id=l.group.__ecComponentInfo=null)}},yH=function(t,e,n,r,i){var a=t._model;if(a.setUpdatePayload(n),r){var o={};o[r+"Id"]=n[r+"Id"],o[r+"Index"]=n[r+"Index"],o[r+"Name"]=n[r+"Name"];var s={mainType:r,query:o};i&&(s.subType=i);var u,c=n.excludeSeriesId;null!=c&&(u=DI(),eI(OE(c),(function(t){var e=$E(t,null);null!=e&&u.set(e,!0)}))),a&&a.eachComponent(s,(function(e){if(!(u&&null!=u.get(e.id)))if(vL(n))if(e instanceof oB)n.type!==CO||n.notBlur||e.get(["emphasis","disabled"])||function(t,e,n){var r=t.seriesIndex,i=t.getData(e.dataType);if(i){var a=WE(i,e);a=(uI(a)?a[0]:a)||0;var o=i.getItemGraphicEl(a);if(!o)for(var s=i.count(),u=0;!o&&u<s;)o=i.getItemGraphicEl(u++);if(o){var c=mO(o);rL(r,c.focus,c.blurScope,n)}else{var l=t.get(["emphasis","focus"]),h=t.get(["emphasis","blurScope"]);null!=l&&rL(r,l,h,n)}}}(e,n,t._api);else{var r=aL(e.mainType,e.componentIndex,n.name,t._api),i=r.focusSelf,a=r.dispatchers;n.type===CO&&i&&!n.notBlur&&iL(e.mainType,e.componentIndex,t._api),a&&eI(a,(function(t){n.type===CO?YO(t):KO(t)}))}else bL(n)&&e instanceof oB&&(!function(t,e,n){if(bL(e)){var r=e.dataType,i=WE(t.getData(r),e);uI(i)||(i=[i]),t[e.type===PO?"toggleSelect":e.type===AO?"select":"unselect"](i,r)}}(e,n,t._api),oL(e),OH(t))}),t),a&&a.eachComponent(s,(function(e){u&&null!=u.get(e.id)||l(t["series"===r?"_chartsMap":"_componentsMap"][e.__viewId])}),t)}else eI([].concat(t._componentsViews).concat(t._chartsViews),l);function l(r){r&&r.__alive&&r[e]&&r[e](r.__model,a,t._api,n)}},wH={prepareAndUpdate:function(t){vH(this),wH.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var r=this._model,i=this._api,a=this._zr,o=this._coordSysMgr,s=this._scheduler;if(r){r.setUpdatePayload(e),s.restoreData(r,e),s.performSeriesTasks(r),o.create(r,i),s.performDataProcessorTasks(r,e),_H(this,r),o.update(r,i),t(r),s.performVisualTasks(r,e),TH(this,r,i,e,n);var u=r.get("backgroundColor")||"transparent",c=r.get("darkMode");a.setBackgroundColor(u),null!=c&&"auto"!==c&&a.setDarkMode(c),sH.trigger("afterupdate",r,i)}},updateTransform:function(e){var n=this,r=this._model,i=this._api;if(r){r.setUpdatePayload(e);var a=[];r.eachComponent((function(t,o){if("series"!==t){var s=n.getViewOfComponentModel(o);if(s&&s.__alive)if(s.updateTransform){var u=s.updateTransform(o,r,i,e);u&&u.update&&a.push(s)}else a.push(s)}}));var o=DI();r.eachSeries((function(t){var a=n._chartsMap[t.__viewId];if(a.updateTransform){var s=a.updateTransform(t,r,i,e);s&&s.update&&o.set(t.uid,1)}else o.set(t.uid,1)})),t(r),this._scheduler.performVisualTasks(r,e,{setDirty:!0,dirtyMap:o}),EH(this,r,i,e,{},o),sH.trigger("afterupdate",r,i)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),w$.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),TH(this,n,this._api,e,{}),sH.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,r=this._model;r&&(r.setUpdatePayload(e),r.eachSeries((function(t){t.getData().clearAllVisual()})),w$.markUpdateMethod(e,"updateVisual"),t(r),this._scheduler.performVisualTasks(r,e,{visualType:"visual",setDirty:!0}),r.eachComponent((function(t,i){if("series"!==t){var a=n.getViewOfComponentModel(i);a&&a.__alive&&a.updateVisual(i,r,n._api,e)}})),r.eachSeries((function(t){n._chartsMap[t.__viewId].updateVisual(t,r,n._api,e)})),sH.trigger("afterupdate",r,this._api))},updateLayout:function(t){wH.update.call(this,t)}},xH=function(t,e,n,r){if(t._disposed)zH(t.id);else{for(var i,a=t._model,o=t._coordSysMgr.getCoordinateSystems(),s=XE(a,n),u=0;u<o.length;u++){var c=o[u];if(c[e]&&null!=(i=c[e](a,s,r)))return i}0}},_H=function(t,e){var n=t._chartsMap,r=t._scheduler;e.eachSeries((function(t){r.updateStreamModes(t,n[t.__viewId])}))},SH=function(t,e){var n=this,r=this.getModel(),i=t.type,a=t.escapeConnect,o=$H[i],s=o.actionInfo,u=(s.update||"update").split(":"),c=u.pop(),l=null!=u[0]&&rP(u[0]);this.__flagInMainProcess=!0;var h=[t],f=!1;t.batch&&(f=!0,h=nI(t.batch,(function(e){return(e=Zk(Kk({},e),t)).batch=null,e})));var d,p=[],g=bL(t),b=vL(t);if(b&&nL(this._api),eI(h,(function(e){if((d=(d=o.action(e,n._model,n._api))||Kk({},e)).type=s.event||d.type,p.push(d),b){var r=qE(t),i=r.queryOptionMap,a=r.mainTypeSpecified?i.keys()[0]:"series";yH(n,c,e,a),OH(n)}else g?(yH(n,c,e,"series"),OH(n)):l&&yH(n,c,e,l.main,l.sub)})),"none"!==c&&!b&&!g&&!l)try{this.__pendingUpdate?(vH(this),wH.update.call(this,t),this.__pendingUpdate=null):wH[c].call(this,t)}catch(t){throw this.__flagInMainProcess=!1,t}if(d=f?{type:s.event||i,escapeConnect:a,batch:p}:p[0],this.__flagInMainProcess=!1,!e){var v=this._messageCenter;if(v.trigger(d.type,d),g){var m={type:"selectchanged",escapeConnect:a,selected:sL(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};v.trigger(m.type,m)}}},kH=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();SH.call(this,n,t)}},IH=function(t){!t&&this.trigger("updated")},MH=function(t,e){t.on("rendered",(function(n){e.trigger("rendered",n),!t.animation.isFinished()||e.__pendingUpdate||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")}))},CH=function(t,e){t.on("mouseover",(function(t){var n=vV(t.target,gL);n&&(!function(t,e,n){var r=mO(t),i=aL(r.componentMainType,r.componentIndex,r.componentHighDownName,n),a=i.dispatchers,o=i.focusSelf;a?(o&&iL(r.componentMainType,r.componentIndex,n),eI(a,(function(t){return XO(t,e)}))):(rL(r.seriesIndex,r.focus,r.blurScope,n),"self"===r.focus&&iL(r.componentMainType,r.componentIndex,n),XO(t,e))}(n,t,e._api),OH(e))})).on("mouseout",(function(t){var n=vV(t.target,gL);n&&(!function(t,e,n){nL(n);var r=mO(t),i=aL(r.componentMainType,r.componentIndex,r.componentHighDownName,n).dispatchers;i?eI(i,(function(t){return qO(t,e)})):qO(t,e)}(n,t,e._api),OH(e))})).on("click",(function(t){var n=vV(t.target,(function(t){return null!=mO(t).dataIndex}),!0);if(n){var r=n.selected?"unselect":"select",i=mO(n);e._api.dispatchAction({type:r,dataType:i.dataType,dataIndexInside:i.dataIndex,seriesIndex:i.seriesIndex,isFromClick:!0})}}))},TH=function(t,e,n,r,i){!function(t){var e=[],n=[],r=!1;if(t.eachComponent((function(t,i){var a=i.get("zlevel")||0,o=i.get("z")||0,s=i.getZLevelKey();r=r||!!s,("series"===t?n:e).push({zlevel:a,z:o,idx:i.componentIndex,type:t,key:s})})),r){var i,a,o=e.concat(n);dC(o,(function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel})),eI(o,(function(e){var n=t.getComponent(e.type,e.idx),r=e.zlevel,o=e.key;null!=i&&(r=Math.max(i,r)),o?(r===i&&o!==a&&r++,a=o):a&&(r===i&&r++,a=""),i=r,n.setZLevel(r)}))}}(e),AH(t,e,n,r,i),eI(t._chartsViews,(function(t){t.__alive=!1})),EH(t,e,n,r,i),eI(t._chartsViews,(function(t){t.__alive||t.remove(e,n)}))},AH=function(t,e,r,o,s,u){eI(u||t._componentsViews,(function(t){var s=t.__model;i(s,t),t.render(s,e,r,o),n(s,t),a(s,t)}))},EH=function(t,e,r,o,s,u){var c=t._scheduler;s=Kk(s||{},{updatedSeries:e.getSeries()}),sH.trigger("series:beforeupdate",e,r,s);var l=!1;e.eachSeries((function(e){var n=t._chartsMap[e.__viewId];n.__alive=!0;var r=n.renderTask;c.updatePayload(r,o),i(e,n),u&&u.get(e.uid)&&r.dirty(),r.perform(c.getPerformArgs(r))&&(l=!0),n.group.silent=!!e.get("silent"),function(t,e){var n=t.get("blendMode")||null;e.eachRendered((function(t){t.isGroup||(t.style.blend=n)}))}(e,n),oL(e)})),c.unfinished=l||c.unfinished,sH.trigger("series:layoutlabels",e,r,s),sH.trigger("series:transition",e,r,s),e.eachSeries((function(e){var r=t._chartsMap[e.__viewId];n(e,r),a(e,r)})),function(t,e){var n=t._zr.storage,r=0;n.traverse((function(t){t.isGroup||r++})),r>e.get("hoverLayerThreshold")&&!Mk.node&&!Mk.worker&&e.eachSeries((function(e){if(!e.preventUsingHoverLayer){var n=t._chartsMap[e.__viewId];n.__alive&&n.eachRendered((function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)}))}}))}(t,e),sH.trigger("series:afterupdate",e,r,s)},OH=function(t){t.__needsUpdateStatus=!0,t.getZr().wakeUp()},LH=function(t){t.__needsUpdateStatus&&(t.getZr().storage.traverse((function(t){SL(t)||e(t)})),t.__needsUpdateStatus=!1)},PH=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return Sk(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){YO(e,n),OH(t)},n.prototype.leaveEmphasis=function(e,n){KO(e,n),OH(t)},n.prototype.enterBlur=function(e){ZO(e),OH(t)},n.prototype.leaveBlur=function(e){QO(e),OH(t)},n.prototype.enterSelect=function(e){JO(e),OH(t)},n.prototype.leaveSelect=function(e){tL(e),OH(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(YN))(t)},DH=function(t){function e(t,e){for(var n=0;n<t.length;n++){t[n][dH]=e}}eI(VH,(function(n,r){t._messageCenter.on(r,(function(n){if(YH[t.group]&&0!==t[dH]){if(n&&n.escapeConnect)return;var r=t.makeActionFromEvent(n),i=[];eI(qH,(function(e){e!==t&&e.group===t.group&&i.push(e)})),e(i,0),eI(i,(function(t){1!==t[dH]&&t.dispatchAction(r)})),e(i,2)}}))}))}}(),e}(cM),FH=jH.prototype;FH.on=pH("on"),FH.off=pH("off"),FH.one=function(t,e,n){var r=this;eF(),this.on.call(this,t,(function n(){for(var i=[],a=0;a<arguments.length;a++)i[a]=arguments[a];e&&e.apply&&e.apply(this,i),r.off(t,n)}),n)};var BH=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function zH(t){0}var $H={},VH={},HH=[],WH=[],GH=[],UH={},XH={},qH={},YH={},KH=+new Date-0,ZH=(new Date,"_echarts_instance_");function QH(t){return qH[function(t,e){return t.getAttribute?t.getAttribute(e):t[e]}(t,ZH)]}function JH(t,e){UH[t]=e}function tW(t){Qk(WH,t)<0&&WH.push(t)}function eW(t,e){oW(HH,t,e,2e3)}function nW(t,e){sH.on(t,e)}function rW(t,e,n){cI(e)&&(n=e,e="");var r=dI(t)?t.type:[t,t={event:e}][0];t.event=(t.event||r).toLowerCase(),e=t.event,VH[e]||(kI(fH.test(r)&&fH.test(e)),$H[r]||($H[r]={action:n,actionInfo:t}),VH[e]=r)}function iW(t,e){oW(GH,t,e,3e3,"visual")}var aW=[];function oW(t,e,n,r,i){if((cI(e)||dI(e))&&(n=e,e=r),!(Qk(aW,n)>=0)){aW.push(n);var a=Q$.wrapStageHandler(n,i);a.__prio=e,a.__raw=n,t.push(a)}}function sW(t,e){XH[t]=e}var uW=function(t){var e=(t=Xk(t)).type;e||nF("");var n=e.split(":");2!==n.length&&nF("");var r=!1;"echarts"===n[0]&&(e=n[1],r=!0),t.__isBuiltIn=r,bF.set(e,t)};iW(cH,D$),iW(lH,L$),iW(lH,R$),iW(cH,lV),iW(lH,hV),iW(7e3,(function(t,e){t.eachRawSeries((function(n){if(!t.isSeriesFiltered(n)){var r=n.getData();r.hasItemVisual()&&r.each((function(t){var n=r.getItemVisual(t,"decal");n&&(r.ensureUniqueItemVisual(t,"style").decal=rH(n,e))}));var i=r.getVisual("decal");if(i)r.getVisual("style").decal=rH(i,e)}}))})),tW(_j),eW(900,(function(t){var e=DI();t.eachSeries((function(t){var n=t.get("stack");if(n){var r=e.get(n)||e.set(n,[]),i=t.getData(),a={stackResultDimension:i.getCalculationInfo("stackResultDimension"),stackedOverDimension:i.getCalculationInfo("stackedOverDimension"),stackedDimension:i.getCalculationInfo("stackedDimension"),stackedByDimension:i.getCalculationInfo("stackedByDimension"),isStackedByIndex:i.getCalculationInfo("isStackedByIndex"),data:i,seriesModel:t};if(!a.stackedDimension||!a.isStackedByIndex&&!a.stackedByDimension)return;r.length&&i.setCalculationInfo("stackedOnSeries",r[r.length-1].seriesModel),r.push(a)}})),e.each(Sj)})),sW("default",(function(t,e){Zk(e=e||{},{text:"loading",textColor:"#000",fontSize:12,fontWeight:"normal",fontStyle:"normal",fontFamily:"sans-serif",maskColor:"rgba(255, 255, 255, 0.8)",showSpinner:!0,color:"#5470c6",spinnerRadius:10,lineWidth:5,zlevel:0});var n=new nE,r=new eO({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});n.add(r);var i,a=new vO({style:{text:e.text,fill:e.textColor,fontSize:e.fontSize,fontWeight:e.fontWeight,fontStyle:e.fontStyle,fontFamily:e.fontFamily},zlevel:e.zlevel,z:10001}),o=new eO({style:{fill:"none"},textContent:a,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return n.add(o),e.showSpinner&&((i=new yz({shape:{startAngle:-N$/2,endAngle:-N$/2+.1,r:e.spinnerRadius},style:{stroke:e.color,lineCap:"round",lineWidth:e.lineWidth},zlevel:e.zlevel,z:10001})).animateShape(!0).when(1e3,{endAngle:3*N$/2}).start("circularInOut"),i.animateShape(!0).when(1e3,{startAngle:3*N$/2}).delay(300).start("circularInOut"),n.add(i)),n.resize=function(){var n=a.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,u=(t.getWidth()-2*s-(e.showSpinner&&n?10:0)-n)/2-(e.showSpinner&&n?0:5+n/2)+(e.showSpinner?0:n/2)+(n?0:s),c=t.getHeight()/2;e.showSpinner&&i.setShape({cx:u,cy:c}),o.setShape({x:u-s,y:c-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},n.resize(),n})),rW({type:CO,event:CO,update:CO},jI),rW({type:TO,event:TO,update:TO},jI),rW({type:AO,event:AO,update:AO},jI),rW({type:EO,event:EO,update:EO},jI),rW({type:PO,event:PO,update:PO},jI),JH("light",tV),JH("dark",oV);var cW=[],lW={registerPreprocessor:tW,registerProcessor:eW,registerPostInit:function(t){nW("afterinit",t)},registerPostUpdate:function(t){nW("afterupdate",t)},registerUpdateLifecycle:nW,registerAction:rW,registerCoordinateSystem:function(t,e){QN.register(t,e)},registerLayout:function(t,e){oW(GH,t,e,1e3,"layout")},registerVisual:iW,registerTransform:uW,registerLoading:sW,registerMap:function(t,e,n){var r=uH["registerMap"];r&&r(t,e,n)},registerImpl:function(t,e){uH[t]=e},PRIORITY:hH,ComponentModel:fN,ComponentView:uB,SeriesModel:oB,ChartView:w$,registerComponentModel:function(t){fN.registerClass(t)},registerComponentView:function(t){uB.registerClass(t)},registerSeriesModel:function(t){oB.registerClass(t)},registerChartView:function(t){w$.registerClass(t)},registerSubTypeDefaulter:function(t,e){fN.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){var n;n=e,rE[t]=n}};function hW(t){uI(t)?eI(t,(function(t){hW(t)})):Qk(cW,t)>=0||(cW.push(t),cI(t)&&(t={install:t}),t.install(lW))}var fW=2*Math.PI,dW=yD.CMD,pW=["top","right","bottom","left"];function gW(t,e,n,r,i){var a=n.width,o=n.height;switch(t){case"top":r.set(n.x+a/2,n.y-e),i.set(0,-1);break;case"bottom":r.set(n.x+a/2,n.y+o+e),i.set(0,1);break;case"left":r.set(n.x-e,n.y+o/2),i.set(-1,0);break;case"right":r.set(n.x+a+e,n.y+o/2),i.set(1,0)}}function bW(t,e,n,r,i,a,o,s,u){o-=t,s-=e;var c=Math.sqrt(o*o+s*s),l=(o/=c)*n+t,h=(s/=c)*n+e;if(Math.abs(r-i)%fW<1e-4)return u[0]=l,u[1]=h,c-n;if(a){var f=r;r=kD(i),i=kD(f)}else r=kD(r),i=kD(i);r>i&&(i+=fW);var d=Math.atan2(s,o);if(d<0&&(d+=fW),d>=r&&d<=i||d+fW>=r&&d+fW<=i)return u[0]=l,u[1]=h,c-n;var p=n*Math.cos(r)+t,g=n*Math.sin(r)+e,b=n*Math.cos(i)+t,v=n*Math.sin(i)+e,m=(p-o)*(p-o)+(g-s)*(g-s),y=(b-o)*(b-o)+(v-s)*(v-s);return m<y?(u[0]=p,u[1]=g,Math.sqrt(m)):(u[0]=b,u[1]=v,Math.sqrt(y))}function vW(t,e,n,r,i,a,o,s){var u=i-t,c=a-e,l=n-t,h=r-e,f=Math.sqrt(l*l+h*h),d=(u*(l/=f)+c*(h/=f))/f;s&&(d=Math.min(Math.max(d,0),1)),d*=f;var p=o[0]=t+d*l,g=o[1]=e+d*h;return Math.sqrt((p-i)*(p-i)+(g-a)*(g-a))}function mW(t,e,n,r,i,a,o){n<0&&(t+=n,n=-n),r<0&&(e+=r,r=-r);var s=t+n,u=e+r,c=o[0]=Math.min(Math.max(i,t),s),l=o[1]=Math.min(Math.max(a,e),u);return Math.sqrt((c-i)*(c-i)+(l-a)*(l-a))}var yW=[];function wW(t,e,n){var r=mW(e.x,e.y,e.width,e.height,t.x,t.y,yW);return n.set(yW[0],yW[1]),r}function xW(t,e,n){for(var r,i,a=0,o=0,s=0,u=0,c=1/0,l=e.data,h=t.x,f=t.y,d=0;d<l.length;){var p=l[d++];1===d&&(s=a=l[d],u=o=l[d+1]);var g=c;switch(p){case dW.M:a=s=l[d++],o=u=l[d++];break;case dW.L:g=vW(a,o,l[d],l[d+1],h,f,yW,!0),a=l[d++],o=l[d++];break;case dW.C:g=FC(a,o,l[d++],l[d++],l[d++],l[d++],l[d],l[d+1],h,f,yW),a=l[d++],o=l[d++];break;case dW.Q:g=WC(a,o,l[d++],l[d++],l[d],l[d+1],h,f,yW),a=l[d++],o=l[d++];break;case dW.A:var b=l[d++],v=l[d++],m=l[d++],y=l[d++],w=l[d++],x=l[d++];d+=1;var _=!!(1-l[d++]);r=Math.cos(w)*m+b,i=Math.sin(w)*y+v,d<=1&&(s=r,u=i),g=bW(b,v,y,w,w+x,_,(h-b)*y/m+b,f,yW),a=Math.cos(w+x)*m+b,o=Math.sin(w+x)*y+v;break;case dW.R:g=mW(s=a=l[d++],u=o=l[d++],l[d++],l[d++],h,f,yW);break;case dW.Z:g=vW(a,o,s,u,h,f,yW,!0),a=s,o=u}g<c&&(c=g,n.set(yW[0],yW[1]))}return c}var _W=new zM,SW=new zM,kW=new zM,IW=new zM,MW=new zM;function CW(t,e){if(t){var n=t.getTextGuideLine(),r=t.getTextContent();if(r&&n){var i=t.textGuideLineConfig||{},a=[[0,0],[0,0],[0,0]],o=i.candidates||pW,s=r.getBoundingRect().clone();s.applyTransform(r.getComputedTransform());var u=1/0,c=i.anchor,l=t.getComputedTransform(),h=l&&FM([],l),f=e.get("length2")||0;c&&kW.copy(c);for(var d=0;d<o.length;d++){gW(o[d],0,s,_W,IW),zM.scaleAndAdd(SW,_W,IW,f),SW.transform(h);var p=t.getBoundingRect(),g=c?c.distance(SW):t instanceof zD?xW(SW,t.path,kW):wW(SW,p,kW);g<u&&(u=g,SW.transform(l),kW.transform(l),kW.toArray(a[0]),SW.toArray(a[1]),_W.toArray(a[2]))}EW(a,e.get("minTurnAngle")),n.setShape({points:a})}}}var TW=[],AW=new zM;function EW(t,e){if(e<=180&&e>0){e=e/180*Math.PI,_W.fromArray(t[0]),SW.fromArray(t[1]),kW.fromArray(t[2]),zM.sub(IW,_W,SW),zM.sub(MW,kW,SW);var n=IW.len(),r=MW.len();if(!(n<.001||r<.001)){IW.scale(1/n),MW.scale(1/r);var i=IW.dot(MW);if(Math.cos(e)<i){var a=vW(SW.x,SW.y,kW.x,kW.y,_W.x,_W.y,TW,!1);AW.fromArray(TW),AW.scaleAndAdd(MW,a/Math.tan(Math.PI-e));var o=kW.x!==SW.x?(AW.x-SW.x)/(kW.x-SW.x):(AW.y-SW.y)/(kW.y-SW.y);if(isNaN(o))return;o<0?zM.copy(AW,SW):o>1&&zM.copy(AW,kW),AW.toArray(t[1])}}}}function PW(t,e,n){if(n<=180&&n>0){n=n/180*Math.PI,_W.fromArray(t[0]),SW.fromArray(t[1]),kW.fromArray(t[2]),zM.sub(IW,SW,_W),zM.sub(MW,kW,SW);var r=IW.len(),i=MW.len();if(!(r<.001||i<.001))if(IW.scale(1/r),MW.scale(1/i),IW.dot(e)<Math.cos(n)){var a=vW(SW.x,SW.y,kW.x,kW.y,_W.x,_W.y,TW,!1);AW.fromArray(TW);var o=Math.PI/2,s=o+Math.acos(MW.dot(e))-n;if(s>=o)zM.copy(AW,kW);else{AW.scaleAndAdd(MW,a/Math.tan(Math.PI/2-s));var u=kW.x!==SW.x?(AW.x-SW.x)/(kW.x-SW.x):(AW.y-SW.y)/(kW.y-SW.y);if(isNaN(u))return;u<0?zM.copy(AW,SW):u>1&&zM.copy(AW,kW)}AW.toArray(t[1])}}}function DW(t,e,n,r){var i="normal"===n,a=i?t:t.ensureState(n);a.ignore=e;var o=r.get("smooth");o&&!0===o&&(o=.3),a.shape=a.shape||{},o>0&&(a.shape.smooth=o);var s=r.getModel("lineStyle").getLineStyle();i?t.useStyle(s):a.style=s}function OW(t,e){var n=e.smooth,r=e.points;if(r)if(t.moveTo(r[0][0],r[0][1]),n>0&&r.length>=3){var i=JI(r[0],r[1]),a=JI(r[1],r[2]);if(!i||!a)return t.lineTo(r[1][0],r[1][1]),void t.lineTo(r[2][0],r[2][1]);var o=Math.min(i,a)*n,s=eM([],r[1],r[0],o/i),u=eM([],r[1],r[2],o/a),c=eM([],s,u,.5);t.bezierCurveTo(s[0],s[1],s[0],s[1],c[0],c[1]),t.bezierCurveTo(u[0],u[1],u[0],u[1],r[2][0],r[2][1])}else for(var l=1;l<r.length;l++)t.lineTo(r[l][0],r[l][1])}function LW(t,e,n){var r=t.getTextGuideLine(),i=t.getTextContent();if(i){for(var a=e.normal,o=a.get("show"),s=i.ignore,u=0;u<IO.length;u++){var c=IO[u],l=e[c],h="normal"===c;if(l){var f=l.get("show");if((h?s:wI(i.states[c]&&i.states[c].ignore,s))||!wI(f,o)){var d=h?r:r&&r.states[c];d&&(d.ignore=!0);continue}r||(r=new sz,t.setTextGuideLine(r),h||!s&&o||DW(r,!0,"normal",e.normal),t.stateProxy&&(r.stateProxy=t.stateProxy)),DW(r,!1,c,l)}}if(r){Zk(r.style,n),r.style.fill=null;var p=a.get("showAbove");(t.textGuideLineConfig=t.textGuideLineConfig||{}).showAbove=p||!1,r.buildPath=OW}}else r&&t.removeTextGuideLine()}function RW(t,e){e=e||"labelLine";for(var n={normal:t.getModel(e)},r=0;r<kO.length;r++){var i=kO[r];n[i]=t.getModel([i,e])}return n}function NW(t){for(var e=[],n=0;n<t.length;n++){var r=t[n];if(!r.defaultAttr.ignore){var i=r.label,a=i.getComputedTransform(),o=i.getBoundingRect(),s=!a||a[1]<1e-5&&a[2]<1e-5,u=i.style.margin||0,c=o.clone();c.applyTransform(a),c.x-=u/2,c.y-=u/2,c.width+=u,c.height+=u;var l=s?new Dz(o,a):null;e.push({label:i,labelLine:r.labelLine,rect:c,localRect:o,obb:l,priority:r.priority,defaultAttr:r.defaultAttr,layoutOption:r.computedLayoutOption,axisAligned:s,transform:a})}}return e}function jW(t,e,n,r,i,a){var o=t.length;if(!(o<2)){t.sort((function(t,n){return t.rect[e]-n.rect[e]}));for(var s,u=0,c=!1,l=[],h=0,f=0;f<o;f++){var d=t[f],p=d.rect;(s=p[e]-u)<0&&(p[e]-=s,d.label[e]-=s,c=!0);var g=Math.max(-s,0);l.push(g),h+=g,u=p[e]+p[n]}h>0&&a&&_(-h/o,0,o);var b,v,m=t[0],y=t[o-1];return w(),b<0&&S(-b,.8),v<0&&S(v,.8),w(),x(b,v,1),x(v,b,-1),w(),b<0&&k(-b),v<0&&k(v),c}function w(){b=m.rect[e]-r,v=i-y.rect[e]-y.rect[n]}function x(t,e,n){if(t<0){var r=Math.min(e,-t);if(r>0){_(r*n,0,o);var i=r+t;i<0&&S(-i*n,1)}else S(-t*n,1)}}function _(n,r,i){0!==n&&(c=!0);for(var a=r;a<i;a++){var o=t[a];o.rect[e]+=n,o.label[e]+=n}}function S(r,i){for(var a=[],s=0,u=1;u<o;u++){var c=t[u-1].rect,l=Math.max(t[u].rect[e]-c[e]-c[n],0);a.push(l),s+=l}if(s){var h=Math.min(Math.abs(r)/s,i);if(r>0)for(u=0;u<o-1;u++){_(a[u]*h,0,u+1)}else for(u=o-1;u>0;u--){_(-(a[u-1]*h),u,o)}}}function k(t){var e=t<0?-1:1;t=Math.abs(t);for(var n=Math.ceil(t/(o-1)),r=0;r<o-1;r++)if(e>0?_(n,0,r+1):_(-n,o-r-1,o),(t-=n)<=0)return}}function FW(t,e,n,r){return jW(t,"y","height",e,n,r)}function BW(t){var e=[];t.sort((function(t,e){return e.priority-t.priority}));var n=new KM(0,0,0,0);function r(t){if(!t.ignore){var e=t.ensureState("emphasis");null==e.ignore&&(e.ignore=!1)}t.ignore=!0}for(var i=0;i<t.length;i++){var a=t[i],o=a.axisAligned,s=a.localRect,u=a.transform,c=a.label,l=a.labelLine;n.copy(a.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var h=a.obb,f=!1,d=0;d<e.length;d++){var p=e[d];if(n.intersect(p.rect)){if(o&&p.axisAligned){f=!0;break}if(p.obb||(p.obb=new Dz(p.localRect,p.transform)),h||(h=new Dz(s,u)),h.intersect(p.obb)){f=!0;break}}}f?(r(c),l&&r(l)):(c.attr("ignore",a.defaultAttr.ignore),l&&l.attr("ignore",a.defaultAttr.labelGuideIgnore),e.push(a))}}function zW(t){if(t){for(var e=[],n=0;n<t.length;n++)e.push(t[n].slice());return e}}function $W(t,e){var n=t.label,r=e&&e.getTextGuideLine();return{dataIndex:t.dataIndex,dataType:t.dataType,seriesIndex:t.seriesModel.seriesIndex,text:t.label.style.text,rect:t.hostRect,labelRect:t.rect,align:n.style.align,verticalAlign:n.style.verticalAlign,labelLinePoints:zW(r&&r.shape.points)}}var VW=["align","verticalAlign","width","height","fontSize"],HW=new LA,WW=GE(),GW=GE();function UW(t,e,n){for(var r=0;r<n.length;r++){var i=n[r];null!=e[i]&&(t[i]=e[i])}}var XW=["x","y","rotation"],qW=function(){function t(){this._labelList=[],this._chartViewList=[]}return t.prototype.clearLabels=function(){this._labelList=[],this._chartViewList=[]},t.prototype._addLabel=function(t,e,n,r,i){var a=r.style,o=r.__hostTarget.textConfig||{},s=r.getComputedTransform(),u=r.getBoundingRect().plain();KM.applyTransform(u,u,s),s?HW.setLocalTransform(s):(HW.x=HW.y=HW.rotation=HW.originX=HW.originY=0,HW.scaleX=HW.scaleY=1);var c,l=r.__hostTarget;if(l){c=l.getBoundingRect().plain();var h=l.getComputedTransform();KM.applyTransform(c,c,h)}var f=c&&l.getTextGuideLine();this._labelList.push({label:r,labelLine:f,seriesModel:n,dataIndex:t,dataType:e,layoutOption:i,computedLayoutOption:null,rect:u,hostRect:c,priority:c?c.width*c.height:0,defaultAttr:{ignore:r.ignore,labelGuideIgnore:f&&f.ignore,x:HW.x,y:HW.y,scaleX:HW.scaleX,scaleY:HW.scaleY,rotation:HW.rotation,style:{x:a.x,y:a.y,align:a.align,verticalAlign:a.verticalAlign,width:a.width,height:a.height,fontSize:a.fontSize},cursor:r.cursor,attachedPos:o.position,attachedRot:o.rotation}})},t.prototype.addLabelsOfSeries=function(t){var e=this;this._chartViewList.push(t);var n=t.__model,r=n.get("labelLayout");(cI(r)||aI(r).length)&&t.group.traverse((function(t){if(t.ignore)return!0;var i=t.getTextContent(),a=mO(t);i&&!i.disableLabelLayout&&e._addLabel(a.dataIndex,a.dataType,n,i,r)}))},t.prototype.updateLayoutConfig=function(t){var e=t.getWidth(),n=t.getHeight();function r(t,e){return function(){CW(t,e)}}for(var i=0;i<this._labelList.length;i++){var a=this._labelList[i],o=a.label,s=o.__hostTarget,u=a.defaultAttr,c=void 0;c=(c=cI(a.layoutOption)?a.layoutOption($W(a,s)):a.layoutOption)||{},a.computedLayoutOption=c;var l=Math.PI/180;s&&s.setTextConfig({local:!1,position:null!=c.x||null!=c.y?null:u.attachedPos,rotation:null!=c.rotate?c.rotate*l:u.attachedRot,offset:[c.dx||0,c.dy||0]});var h=!1;if(null!=c.x?(o.x=cE(c.x,e),o.setStyle("x",0),h=!0):(o.x=u.x,o.setStyle("x",u.style.x)),null!=c.y?(o.y=cE(c.y,n),o.setStyle("y",0),h=!0):(o.y=u.y,o.setStyle("y",u.style.y)),c.labelLinePoints){var f=s.getTextGuideLine();f&&(f.setShape({points:c.labelLinePoints}),h=!1)}WW(o).needsUpdateLabelLine=h,o.rotation=null!=c.rotate?c.rotate*l:u.rotation,o.scaleX=u.scaleX,o.scaleY=u.scaleY;for(var d=0;d<VW.length;d++){var p=VW[d];o.setStyle(p,null!=c[p]?c[p]:u.style[p])}if(c.draggable){if(o.draggable=!0,o.cursor="move",s){var g=a.seriesModel;if(null!=a.dataIndex)g=a.seriesModel.getData(a.dataType).getItemModel(a.dataIndex);o.on("drag",r(s,g.getModel("labelLine")))}}else o.off("drag"),o.cursor=u.cursor}},t.prototype.layout=function(t){var e=t.getWidth(),n=t.getHeight(),r=NW(this._labelList),i=iI(r,(function(t){return"shiftX"===t.layoutOption.moveOverlap})),a=iI(r,(function(t){return"shiftY"===t.layoutOption.moveOverlap}));!function(t,e,n,r){jW(t,"x","width",e,n,r)}(i,0,e),FW(a,0,n),BW(iI(r,(function(t){return t.layoutOption.hideOverlap})))},t.prototype.processLabelsOverall=function(){var t=this;eI(this._chartViewList,(function(e){var n=e.__model,r=e.ignoreLabelLineUpdate,i=n.isAnimationEnabled();e.group.traverse((function(e){if(e.ignore&&!e.forceLabelAnimation)return!0;var a=!r,o=e.getTextContent();!a&&o&&(a=WW(o).needsUpdateLabelLine),a&&t._updateLabelLine(e,n),i&&t._animateLabels(e,n)}))}))},t.prototype._updateLabelLine=function(t,e){var n=t.getTextContent(),r=mO(t),i=r.dataIndex;if(n&&null!=i){var a=e.getData(r.dataType),o=a.getItemModel(i),s={},u=a.getItemVisual(i,"style"),c=a.getVisual("drawType");s.stroke=u[c];var l=o.getModel("labelLine");LW(t,RW(o),s),CW(t,l)}},t.prototype._animateLabels=function(t,e){var n=t.getTextContent(),r=t.getTextGuideLine();if(n&&(t.forceLabelAnimation||!n.ignore&&!n.invisible&&!t.disableLabelAnimation&&!SL(t))){var i=(d=WW(n)).oldLayout,a=mO(t),o=a.dataIndex,s={x:n.x,y:n.y,rotation:n.rotation},u=e.getData(a.dataType);if(i){n.attr(i);var c=t.prevStates;c&&(Qk(c,"select")>=0&&n.attr(d.oldLayoutSelect),Qk(c,"emphasis")>=0&&n.attr(d.oldLayoutEmphasis)),xL(n,s,e,o)}else if(n.attr(s),!zL(n).valueAnimation){var l=wI(n.style.opacity,1);n.style.opacity=0,_L(n,{style:{opacity:l}},e,o)}if(d.oldLayout=s,n.states.select){var h=d.oldLayoutSelect={};UW(h,s,XW),UW(h,n.states.select,XW)}if(n.states.emphasis){var f=d.oldLayoutEmphasis={};UW(f,s,XW),UW(f,n.states.emphasis,XW)}VL(n,o,u,e,e)}if(r&&!r.ignore&&!r.invisible){i=(d=GW(r)).oldLayout;var d,p={points:r.shape.points};i?(r.attr({shape:i}),xL(r,{shape:p},e)):(r.setShape(p),r.style.strokePercent=0,_L(r,{style:{strokePercent:1}},e)),d.oldLayout=p}},t}();const YW=qW;var KW=GE();function ZW(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){var r=KW(e).labelManager;r||(r=KW(e).labelManager=new YW),r.clearLabels()})),t.registerUpdateLifecycle("series:layoutlabels",(function(t,e,n){var r=KW(e).labelManager;n.updatedSeries.forEach((function(t){r.addLabelsOfSeries(e.getViewOfSeriesModel(t))})),r.updateLayoutConfig(e),r.layout(e),r.processLabelsOverall()}))}function QW(t,e,n){var r=Dk.createCanvas(),i=e.getWidth(),a=e.getHeight(),o=r.style;return o&&(o.position="absolute",o.left="0",o.top="0",o.width=i+"px",o.height=a+"px",r.setAttribute("data-zr-dom-id",t)),r.width=i*n,r.height=a*n,r}hW(ZW);var JW=function(t){function e(e,n,r){var i,a=t.call(this)||this;a.motionBlur=!1,a.lastFrameAlpha=.7,a.dpr=1,a.virtual=!1,a.config={},a.incremental=!1,a.zlevel=0,a.maxRepaintRectCount=5,a.__dirty=!0,a.__firstTimePaint=!0,a.__used=!1,a.__drawIndex=0,a.__startIndex=0,a.__endIndex=0,a.__prevStartIndex=null,a.__prevEndIndex=null,r=r||xA,"string"==typeof e?i=QW(e,n,r):dI(e)&&(e=(i=e).id),a.id=e,a.dom=i;var o=i.style;return o&&(RI(i),i.onselectstart=function(){return!1},o.padding="0",o.margin="0",o.borderWidth="0"),a.painter=n,a.dpr=r,a}return zI(e,t),e.prototype.getElementCount=function(){return this.__endIndex-this.__startIndex},e.prototype.afterBrush=function(){this.__prevStartIndex=this.__startIndex,this.__prevEndIndex=this.__endIndex},e.prototype.initContext=function(){this.ctx=this.dom.getContext("2d"),this.ctx.dpr=this.dpr},e.prototype.setUnpainted=function(){this.__firstTimePaint=!0},e.prototype.createBackBuffer=function(){var t=this.dpr;this.domBack=QW("back-"+this.id,this.painter,t),this.ctxBack=this.domBack.getContext("2d"),1!==t&&this.ctxBack.scale(t,t)},e.prototype.createRepaintRects=function(t,e,n,r){if(this.__firstTimePaint)return this.__firstTimePaint=!1,null;var i,a=[],o=this.maxRepaintRectCount,s=!1,u=new KM(0,0,0,0);function c(t){if(t.isFinite()&&!t.isZero())if(0===a.length){(e=new KM(0,0,0,0)).copy(t),a.push(e)}else{for(var e,n=!1,r=1/0,i=0,c=0;c<a.length;++c){var l=a[c];if(l.intersect(t)){var h=new KM(0,0,0,0);h.copy(l),h.union(t),a[c]=h,n=!0;break}if(s){u.copy(t),u.union(l);var f=t.width*t.height,d=l.width*l.height,p=u.width*u.height-f-d;p<r&&(r=p,i=c)}}if(s&&(a[i].union(t),n=!0),!n)(e=new KM(0,0,0,0)).copy(t),a.push(e);s||(s=a.length>=o)}}for(var l=this.__startIndex;l<this.__endIndex;++l){if(d=t[l]){var h=d.shouldBePainted(n,r,!0,!0);(p=d.__isRendered&&(1&d.__dirty||!h)?d.getPrevPaintRect():null)&&c(p);var f=h&&(1&d.__dirty||!d.__isRendered)?d.getPaintRect():null;f&&c(f)}}for(l=this.__prevStartIndex;l<this.__prevEndIndex;++l){var d,p;h=(d=e[l]).shouldBePainted(n,r,!0,!0);if(d&&(!h||!d.__zr)&&d.__isRendered)(p=d.getPrevPaintRect())&&c(p)}do{i=!1;for(l=0;l<a.length;)if(a[l].isZero())a.splice(l,1);else{for(var g=l+1;g<a.length;)a[l].intersect(a[g])?(i=!0,a[l].union(a[g]),a.splice(g,1)):g++;l++}}while(i);return this._paintRects=a,a},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,r=this.dom,i=r.style,a=this.domBack;i&&(i.width=t+"px",i.height=e+"px"),r.width=t*n,r.height=e*n,a&&(a.width=t*n,a.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var r=this.dom,i=this.ctx,a=r.width,o=r.height;e=e||this.clearColor;var s=this.motionBlur&&!t,u=this.lastFrameAlpha,c=this.dpr,l=this;s&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(r,0,0,a/c,o/c));var h=this.domBack;function f(t,n,r,a){if(i.clearRect(t,n,r,a),e&&"transparent"!==e){var o=void 0;if(vI(e))o=(e.global||e.__width===r&&e.__height===a)&&e.__canvasGradient||LV(i,e,{x:0,y:0,width:r,height:a}),e.__canvasGradient=o,e.__width=r,e.__height=a;else null!=e.image&&(e.scaleX=e.scaleX||c,e.scaleY=e.scaleY||c,o=WV(i,e,{dirty:function(){l.setUnpainted(),l.__painter.refresh()}}));i.save(),i.fillStyle=o||e,i.fillRect(t,n,r,a),i.restore()}s&&(i.save(),i.globalAlpha=u,i.drawImage(h,t,n,r,a),i.restore())}!n||s?f(0,0,a,o):n.length&&eI(n,(function(t){f(t.x*c,t.y*c,t.width*c,t.height*c)}))},e}(cM);const tG=JW;var eG=1e5,nG=314159,rG=.01;var iG=function(){function t(t,e,n,r){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var i=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=Kk({},n||{}),this.dpr=n.devicePixelRatio||xA,this._singleCanvas=i,this.root=t,t.style&&(RI(t),t.innerHTML=""),this.storage=e;var a=this._zlevelList;this._prevDisplayList=[];var o=this._layers;if(i){var s=t,u=s.width,c=s.height;null!=n.width&&(u=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,s.width=u*this.dpr,s.height=c*this.dpr,this._width=u,this._height=c;var l=new tG(s,this,this.dpr);l.__builtin__=!0,l.initContext(),o[314159]=l,l.zlevel=nG,a.push(nG),this._domRoot=t}else{this._width=NV(t,0,n),this._height=NV(t,1,n);var h=this._domRoot=function(t,e){var n=document.createElement("div");return n.style.cssText=["position:relative","width:"+t+"px","height:"+e+"px","padding:0","margin:0","border-width:0"].join(";")+";",n}(this._width,this._height);t.appendChild(h)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,r=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var i=0;i<r.length;i++){var a=r[i],o=this._layers[a];if(!o.__builtin__&&o.refresh){var s=0===i?this._backgroundColor:null;o.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e=t.length,n=this._hoverlayer;if(n&&n.clear(),e){for(var r,i={inHover:!0,viewWidth:this._width,viewHeight:this._height},a=0;a<e;a++){var o=t[a];o.__inHover&&(n||(n=this._hoverlayer=this.getLayer(eG)),r||(r=n.ctx).save(),JV(r,o,i,a===e-1))}r&&r.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(eG)},t.prototype.paintOne=function(t,e){QV(t,e)},t.prototype._paintList=function(t,e,n,r){if(this._redrawId===r){n=n||!1,this._updateLayerStatus(t);var i=this._doPaintList(t,e,n),a=i.finished,o=i.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),o&&this._paintHoverList(t),a)this.eachLayer((function(t){t.afterBrush&&t.afterBrush()}));else{var s=this;yC((function(){s._paintList(t,e,n,r)}))}}},t.prototype._compositeManually=function(){var t=this.getLayer(nG).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer((function(r){r.virtual&&t.drawImage(r.dom,0,0,e,n)}))},t.prototype._doPaintList=function(t,e,n){for(var r=this,i=[],a=this._opts.useDirtyRect,o=0;o<this._zlevelList.length;o++){var s=this._zlevelList[o],u=this._layers[s];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&i.push(u)}for(var c=!0,l=!1,h=function(o){var s,u=i[o],h=u.ctx,d=a&&u.createRepaintRects(t,e,f._width,f._height),p=n?u.__startIndex:u.__drawIndex,g=!n&&u.incremental&&Date.now,b=g&&Date.now(),v=u.zlevel===f._zlevelList[0]?f._backgroundColor:null;if(u.__startIndex===u.__endIndex)u.clear(!1,v,d);else if(p===u.__startIndex){var m=t[p];m.incremental&&m.notClear&&!n||u.clear(!1,v,d)}-1===p&&(console.error("For some unknown reason. drawIndex is -1"),p=u.__startIndex);var y=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:r._width,viewHeight:r._height};for(s=p;s<u.__endIndex;s++){var i=t[s];if(i.__inHover&&(l=!0),r._doPaintEl(i,u,a,e,n,s===u.__endIndex-1),g)if(Date.now()-b>15)break}n.prevElClipPaths&&h.restore()};if(d)if(0===d.length)s=u.__endIndex;else for(var w=f.dpr,x=0;x<d.length;++x){var _=d[x];h.save(),h.beginPath(),h.rect(_.x*w,_.y*w,_.width*w,_.height*w),h.clip(),y(_),h.restore()}else h.save(),y(),h.restore();u.__drawIndex=s,u.__drawIndex<u.__endIndex&&(c=!1)},f=this,d=0;d<i.length;d++)h(d);return Mk.wxa&&eI(this._layers,(function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()})),{finished:c,needsRefreshHover:l}},t.prototype._doPaintEl=function(t,e,n,r,i,a){var o=e.ctx;if(n){var s=t.getPaintRect();(!r||s&&s.intersect(r))&&(JV(o,t,i,a),t.setPrevPaintRect(s))}else JV(o,t,i,a)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=nG);var n=this._layers[t];return n||((n=new tG("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?qk(n,this._layerConfig[t],!0):this._layerConfig[t-rG]&&qk(n,this._layerConfig[t-rG],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,r=this._zlevelList,i=r.length,a=this._domRoot,o=null,s=-1;if(!n[t]&&function(t){return!!t&&(!!t.__builtin__||"function"==typeof t.resize&&"function"==typeof t.refresh)}(e)){if(i>0&&t>r[0]){for(s=0;s<i-1&&!(r[s]<t&&r[s+1]>t);s++);o=n[r[s]]}if(r.splice(s+1,0,t),n[t]=e,!e.virtual)if(o){var u=o.dom;u.nextSibling?a.insertBefore(e.dom,u.nextSibling):a.appendChild(e.dom)}else a.firstChild?a.insertBefore(e.dom,a.firstChild):a.appendChild(e.dom);e.__painter=this}},t.prototype.eachLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r];t.call(e,this._layers[i],i)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],a=this._layers[i];a.__builtin__&&t.call(e,a,i)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,r=0;r<n.length;r++){var i=n[r],a=this._layers[i];a.__builtin__||t.call(e,a,i)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){a&&(a.__endIndex!==t&&(a.__dirty=!0),a.__endIndex=t)}if(this.eachBuiltinLayer((function(t,e){t.__dirty=t.__used=!1})),this._singleCanvas)for(var n=1;n<t.length;n++){if((s=t[n]).zlevel!==t[n-1].zlevel||s.incremental){this._needsManuallyCompositing=!0;break}}var r,i,a=null,o=0;for(i=0;i<t.length;i++){var s,u=(s=t[i]).zlevel,c=void 0;r!==u&&(r=u,o=0),s.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,o=1):c=this.getLayer(u+(o>0?rG:0),this._needsManuallyCompositing),c.__builtin__||Uk("ZLevel "+u+" has been used by unkown layer "+c.id),c!==a&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),a=c),1&s.__dirty&&!s.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),this.eachBuiltinLayer((function(t,e){!t.__used&&t.getElementCount()>0&&(t.__dirty=!0,t.__startIndex=t.__endIndex=t.__drawIndex=0),t.__dirty&&t.__drawIndex<0&&(t.__drawIndex=t.__startIndex)}))},t.prototype.clear=function(){return this.eachBuiltinLayer(this._clearLayer),this},t.prototype._clearLayer=function(t){t.clear()},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t,eI(this._layers,(function(t){t.setUnpainted()}))},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?qk(n[t],e,!0):n[t]=e;for(var r=0;r<this._zlevelList.length;r++){var i=this._zlevelList[r];if(i===t||i===t+rG)qk(this._layers[i],n[t],!0)}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,r=e[t];r&&(r.dom.parentNode.removeChild(r.dom),delete e[t],n.splice(Qk(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var r=this._opts,i=this.root;if(null!=t&&(r.width=t),null!=e&&(r.height=e),t=NV(i,0,r),e=NV(i,1,r),n.style.display="",this._width!==t||e!==this._height){for(var a in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(a)&&this._layers[a].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(nG).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new tG("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var r=e.dom.width,i=e.dom.height;this.eachLayer((function(t){t.__builtin__?n.drawImage(t.dom,0,0,r,i):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())}))}else for(var a={inHover:!1,viewWidth:this._width,viewHeight:this._height},o=this.storage.getDisplayList(!0),s=0,u=o.length;s<u;s++){var c=o[s];JV(n,c,a,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();const aG=iG;var oG=Math.sin,sG=Math.cos,uG=Math.PI,cG=2*Math.PI,lG=180/uG,hG=function(){function t(){}return t.prototype.reset=function(t){this._start=!0,this._d=[],this._str="",this._p=Math.pow(10,t||4)},t.prototype.moveTo=function(t,e){this._add("M",t,e)},t.prototype.lineTo=function(t,e){this._add("L",t,e)},t.prototype.bezierCurveTo=function(t,e,n,r,i,a){this._add("C",t,e,n,r,i,a)},t.prototype.quadraticCurveTo=function(t,e,n,r){this._add("Q",t,e,n,r)},t.prototype.arc=function(t,e,n,r,i,a){this.ellipse(t,e,n,n,0,r,i,a)},t.prototype.ellipse=function(t,e,n,r,i,a,o,s){var u=o-a,c=!s,l=Math.abs(u),h=kT(l-cG)||(c?u>=cG:-u>=cG),f=u>0?u%cG:u%cG+cG,d=!1;d=!!h||!kT(l)&&f>=uG==!!c;var p=t+n*sG(a),g=e+r*oG(a);this._start&&this._add("M",p,g);var b=Math.round(i*lG);if(h){var v=1/this._p,m=(c?1:-1)*(cG-v);this._add("A",n,r,b,1,+c,t+n*sG(a+m),e+r*oG(a+m)),v>.01&&this._add("A",n,r,b,0,+c,p,g)}else{var y=t+n*sG(o),w=e+r*oG(o);this._add("A",n,r,b,+d,+c,y,w)}},t.prototype.rect=function(t,e,n,r){this._add("M",t,e),this._add("l",n,0),this._add("l",0,r),this._add("l",-n,0),this._add("Z")},t.prototype.closePath=function(){this._d.length>0&&this._add("Z")},t.prototype._add=function(t,e,n,r,i,a,o,s,u){for(var c=[],l=this._p,h=1;h<arguments.length;h++){var f=arguments[h];if(isNaN(f))return void(this._invalid=!0);c.push(Math.round(f*l)/l)}this._d.push(t+c.join(" ")),this._start="Z"===t},t.prototype.generateStr=function(){this._str=this._invalid?"":this._d.join(""),this._d=[]},t.prototype.getStr=function(){return this._str},t}();const fG=hG;var dG="none",pG=Math.round;var gG=["lineCap","miterLimit","lineJoin"],bG=nI(gG,(function(t){return"stroke-"+t.toLowerCase()}));function vG(t,e,n,r){var i=null==e.opacity?1:e.opacity;if(n instanceof XD)t("opacity",i);else{if(function(t){var e=t.fill;return null!=e&&e!==dG}(e)){var a=_T(e.fill);t("fill",a.color);var o=null!=e.fillOpacity?e.fillOpacity*a.opacity*i:a.opacity*i;(r||o<1)&&t("fill-opacity",o)}else t("fill",dG);if(function(t){var e=t.stroke;return null!=e&&e!==dG}(e)){var s=_T(e.stroke);t("stroke",s.color);var u=e.strokeNoScale?n.getLineScale():1,c=u?(e.lineWidth||0)/u:0,l=null!=e.strokeOpacity?e.strokeOpacity*s.opacity*i:s.opacity*i,h=e.strokeFirst;if((r||1!==c)&&t("stroke-width",c),(r||h)&&t("paint-order",h?"stroke":"fill"),(r||l<1)&&t("stroke-opacity",l),e.lineDash){var f=jV(n),d=f[0],p=f[1];d&&(p=pG(p||0),t("stroke-dasharray",d.join(",")),(p||r)&&t("stroke-dashoffset",p))}else r&&t("stroke-dasharray",dG);for(var g=0;g<gG.length;g++){var b=gG[g];if(r||e[b]!==ND[b]){var v=e[b]||ND[b];v&&t(bG[g],v)}}}else r&&t("stroke",dG)}}var mG="http://www.w3.org/2000/svg",yG="http://www.w3.org/1999/xlink";function wG(t){return document.createElementNS(mG,t)}function xG(t,e,n,r,i){return{tag:t,attrs:n||{},children:r,text:i,key:e}}function _G(t,e){var n=(e=e||{}).newline?"\n":"";return function t(e){var r=e.children,i=e.tag,a=e.attrs,o=e.text;return function(t,e){var n=[];if(e)for(var r in e){var i=e[r],a=r;!1!==i&&(!0!==i&&null!=i&&(a+='="'+i+'"'),n.push(a))}return"<"+t+" "+n.join(" ")+">"}(i,a)+("style"!==i?mM(o):o||"")+(r?""+n+nI(r,(function(e){return t(e)})).join(n)+n:"")+("</"+i+">")}(t)}function SG(t){return{zrId:t,shadowCache:{},patternCache:{},gradientCache:{},clipPathCache:{},defs:{},cssNodes:{},cssAnims:{},cssClassIdx:0,cssAnimIdx:0,shadowIdx:0,gradientIdx:0,patternIdx:0,clipPathIdx:0}}function kG(t,e,n,r){return xG("svg","root",{width:t,height:e,xmlns:mG,"xmlns:xlink":yG,version:"1.1",baseProfile:"full",viewBox:!!r&&"0 0 "+t+" "+e},n)}var IG={cubicIn:"0.32,0,0.67,0",cubicOut:"0.33,1,0.68,1",cubicInOut:"0.65,0,0.35,1",quadraticIn:"0.11,0,0.5,0",quadraticOut:"0.5,1,0.89,1",quadraticInOut:"0.45,0,0.55,1",quarticIn:"0.5,0,0.75,0",quarticOut:"0.25,1,0.5,1",quarticInOut:"0.76,0,0.24,1",quinticIn:"0.64,0,0.78,0",quinticOut:"0.22,1,0.36,1",quinticInOut:"0.83,0,0.17,1",sinusoidalIn:"0.12,0,0.39,0",sinusoidalOut:"0.61,1,0.88,1",sinusoidalInOut:"0.37,0,0.63,1",exponentialIn:"0.7,0,0.84,0",exponentialOut:"0.16,1,0.3,1",exponentialInOut:"0.87,0,0.13,1",circularIn:"0.55,0,1,0.45",circularOut:"0,0.55,0.45,1",circularInOut:"0.85,0,0.15,1"},MG="transform-origin";function CG(t,e,n){var r=Kk({},t.shape);Kk(r,e),t.buildPath(n,r);var i=new fG;return i.reset(LT(t)),n.rebuildPath(i,1),i.generateStr(),i.getStr()}function TG(t,e){var n=e.originX,r=e.originY;(n||r)&&(t[MG]=n+"px "+r+"px")}var AG={fill:"fill",opacity:"opacity",lineWidth:"stroke-width",lineDashOffset:"stroke-dashoffset"};function EG(t,e){var n=e.zrId+"-ani-"+e.cssAnimIdx++;return e.cssAnims[n]=t,n}function PG(t){return lI(t)?IG[t]?"cubic-bezier("+IG[t]+")":XC(t)?t:"":""}function DG(t,e,n,r){var i=t.animators,a=i.length,o=[];if(t instanceof xz){var s=function(t,e,n){var r,i,a=t.shape.paths,o={};if(eI(a,(function(t){var e=SG(n.zrId);e.animation=!0,DG(t,{},e,!0);var a=e.cssAnims,s=e.cssNodes,u=aI(a),c=u.length;if(c){var l=a[i=u[c-1]];for(var h in l){var f=l[h];o[h]=o[h]||{d:""},o[h].d+=f.d||""}for(var d in s){var p=s[d].animation;p.indexOf(i)>=0&&(r=p)}}})),r){e.d=!1;var s=EG(o,n);return r.replace(i,s)}}(t,e,n);if(s)o.push(s);else if(!a)return}else if(!a)return;for(var u={},c=0;c<a;c++){var l=i[c],h=[l.getMaxTime()/1e3+"s"],f=PG(l.getClip().easing),d=l.getDelay();f?h.push(f):h.push("linear"),d&&h.push(d/1e3+"s"),l.getLoop()&&h.push("infinite");var p=h.join(" ");u[p]=u[p]||[p,[]],u[p][1].push(l)}function g(i){var a,o=i[1],s=o.length,u={},c={},l={};function h(t,e,n){for(var r=t.getTracks(),i=t.getMaxTime(),a=0;a<r.length;a++){var o=r[a];if(o.needsAnimate()){var s=o.keyframes,u=o.propName;if(n&&(u=n(u)),u)for(var c=0;c<s.length;c++){var l=s[c],h=Math.round(l.time/i*100)+"%",f=PG(l.easing),d=l.rawValue;(lI(d)||fI(d))&&(e[h]=e[h]||{},e[h][u]=l.rawValue,f&&(e[h]["animation-timing-function"]=f))}}}}for(var f=0;f<s;f++){(_=(x=o[f]).targetName)?"shape"===_&&h(x,c):!r&&h(x,u)}for(var d in u){var p={};OA(p,t),Kk(p,u[d]);var g=RT(p),b=u[d]["animation-timing-function"];l[d]=g?{transform:g}:{},TG(l[d],p),b&&(l[d]["animation-timing-function"]=b)}var v=!0;for(var d in c){l[d]=l[d]||{};var m=!a;b=c[d]["animation-timing-function"];m&&(a=new yD);var y=a.len();a.reset(),l[d].d=CG(t,c[d],a);var w=a.len();if(!m&&y!==w){v=!1;break}b&&(l[d]["animation-timing-function"]=b)}if(!v)for(var d in l)delete l[d].d;if(!r)for(f=0;f<s;f++){var x,_;"style"===(_=(x=o[f]).targetName)&&h(x,l,(function(t){return AG[t]}))}var S,k=aI(l),I=!0;for(f=1;f<k.length;f++){var M=k[f-1],C=k[f];if(l[M][MG]!==l[C][MG]){I=!1;break}S=l[M][MG]}if(I&&S){for(var d in l)l[d][MG]&&delete l[d][MG];e[MG]=S}if(iI(k,(function(t){return aI(l[t]).length>0})).length)return EG(l,n)+" "+i[0]+" both"}for(var b in u){(s=g(u[b]))&&o.push(s)}if(o.length){var v=n.zrId+"-cls-"+n.cssClassIdx++;n.cssNodes["."+v]={animation:o.join(",")},e.class=v}}var OG=Math.round;function LG(t){return t&&lI(t.src)}function RG(t){return t&&cI(t.toDataURL)}function NG(t,e,n,r){vG((function(i,a){var o="fill"===i||"stroke"===i;o&&DT(a)?UG(e,t,i,r):o&&AT(a)?XG(n,t,i,r):t[i]=a}),e,n,!1),function(t,e,n){var r=t.style;if(function(t){return t&&(t.shadowBlur||t.shadowOffsetX||t.shadowOffsetY)}(r)){var i=function(t){var e=t.style,n=t.getGlobalScale();return[e.shadowColor,(e.shadowBlur||0).toFixed(2),(e.shadowOffsetX||0).toFixed(2),(e.shadowOffsetY||0).toFixed(2),n[0],n[1]].join(",")}(t),a=n.shadowCache,o=a[i];if(!o){var s=t.getGlobalScale(),u=s[0],c=s[1];if(!u||!c)return;var l=r.shadowOffsetX||0,h=r.shadowOffsetY||0,f=r.shadowBlur,d=_T(r.shadowColor),p=d.opacity,g=d.color,b=f/2/u+" "+f/2/c;o=n.zrId+"-s"+n.shadowIdx++,n.defs[o]=xG("filter",o,{id:o,x:"-100%",y:"-100%",width:"300%",height:"300%"},[xG("feDropShadow","",{dx:l/u,dy:h/c,stdDeviation:b,"flood-color":g,"flood-opacity":p})]),a[i]=o}e.filter=OT(o)}}(n,t,r)}function jG(t){return kT(t[0]-1)&&kT(t[1])&&kT(t[2])&&kT(t[3]-1)}function FG(t,e,n){if(e&&(!function(t){return kT(t[4])&&kT(t[5])}(e)||!jG(e))){var r=n?10:1e4;t.transform=jG(e)?"translate("+OG(e[4]*r)/r+" "+OG(e[5]*r)/r+")":function(t){return"matrix("+IT(t[0])+","+IT(t[1])+","+IT(t[2])+","+IT(t[3])+","+MT(t[4])+","+MT(t[5])+")"}(e)}}function BG(t,e,n){for(var r=t.points,i=[],a=0;a<r.length;a++)i.push(OG(r[a][0]*n)/n),i.push(OG(r[a][1]*n)/n);e.points=i.join(" ")}function zG(t){return!t.smooth}var $G,VG,HG={circle:[($G=["cx","cy","r"],VG=nI($G,(function(t){return"string"==typeof t?[t,t]:t})),function(t,e,n){for(var r=0;r<VG.length;r++){var i=VG[r],a=t[i[0]];null!=a&&(e[i[1]]=OG(a*n)/n)}})],polyline:[BG,zG],polygon:[BG,zG]};function WG(t,e){var n=t.style,r=t.shape,i=HG[t.type],a={},o=e.animation,s="path",u=t.style.strokePercent,c=e.compress&<(t)||4;if(!i||e.willUpdate||i[1]&&!i[1](r)||o&&function(t){for(var e=t.animators,n=0;n<e.length;n++)if("shape"===e[n].targetName)return!0;return!1}(t)||u<1){var l=!t.path||t.shapeChanged();t.path||t.createPathProxy();var h=t.path;l&&(h.beginPath(),t.buildPath(h,t.shape),t.pathUpdated());var f=h.getVersion(),d=t,p=d.__svgPathBuilder;d.__svgPathVersion===f&&p&&u===d.__svgPathStrokePercent||(p||(p=d.__svgPathBuilder=new fG),p.reset(c),h.rebuildPath(p,u),p.generateStr(),d.__svgPathVersion=f,d.__svgPathStrokePercent=u),a.d=p.getStr()}else{s=t.type;var g=Math.pow(10,c);i[0](r,a,g)}return FG(a,t.transform),NG(a,n,t,e),e.animation&&DG(t,a,e),xG(s,t.id+"",a)}function GG(t,e){return t instanceof zD?WG(t,e):t instanceof XD?function(t,e){var n=t.style,r=n.image;if(r&&!lI(r)&&(LG(r)?r=r.src:RG(r)&&(r=r.toDataURL())),r){var i=n.x||0,a=n.y||0,o={href:r,width:n.width,height:n.height};return i&&(o.x=i),a&&(o.y=a),FG(o,t.transform),NG(o,n,t,e),e.animation&&DG(t,o,e),xG("image",t.id+"",o)}}(t,e):t instanceof HD?function(t,e){var n=t.style,r=n.text;if(null!=r&&(r+=""),r&&!isNaN(n.x)&&!isNaN(n.y)){var i=n.font||Tk,a=n.x||0,o=function(t,e,n){return"top"===n?t+=e/2:"bottom"===n&&(t-=e/2),t}(n.y||0,$A(i),n.textBaseline),s={"dominant-baseline":"central","text-anchor":CT[n.textAlign]||n.textAlign};if(lO(n)){var u="",c=n.fontStyle,l=uO(n.fontSize);if(!parseFloat(l))return;var h=n.fontFamily||Ck,f=n.fontWeight;u+="font-size:"+l+";font-family:"+h+";",c&&"normal"!==c&&(u+="font-style:"+c+";"),f&&"normal"!==f&&(u+="font-weight:"+f+";"),s.style=u}else s.style="font: "+i;return r.match(/\s/)&&(s["xml:space"]="preserve"),a&&(s.x=a),o&&(s.y=o),FG(s,t.transform),NG(s,n,t,e),e.animation&&DG(t,s,e),xG("text",t.id+"",s,void 0,r)}}(t,e):void 0}function UG(t,e,n,r){var i,a=t[n],o={gradientUnits:a.global?"userSpaceOnUse":"objectBoundingBox"};if(ET(a))i="linearGradient",o.x1=a.x,o.y1=a.y,o.x2=a.x2,o.y2=a.y2;else{if(!PT(a))return void 0;i="radialGradient",o.cx=wI(a.x,.5),o.cy=wI(a.y,.5),o.r=wI(a.r,.5)}for(var s=a.colorStops,u=[],c=0,l=s.length;c<l;++c){var h=100*MT(s[c].offset)+"%",f=_T(s[c].color),d=f.color,p=f.opacity,g={offset:h};g["stop-color"]=d,p<1&&(g["stop-opacity"]=p),u.push(xG("stop",c+"",g))}var b=_G(xG(i,"",o,u)),v=r.gradientCache,m=v[b];m||(m=r.zrId+"-g"+r.gradientIdx++,v[b]=m,o.id=m,r.defs[m]=xG(i,m,o,u)),e[n]=OT(m)}function XG(t,e,n,r){var i,a=t.style[n],o=t.getBoundingRect(),s={},u=a.repeat,c="no-repeat"===u,l="repeat-x"===u,h="repeat-y"===u;if(TT(a)){var f=a.imageWidth,d=a.imageHeight,p=void 0,g=a.image;if(lI(g)?p=g:LG(g)?p=g.src:RG(g)&&(p=g.toDataURL()),"undefined"==typeof Image){var b="Image width/height must been given explictly in svg-ssr renderer.";kI(f,b),kI(d,b)}else if(null==f||null==d){var v=function(t,e){if(t){var n=t.elm,r=f||e.width,i=d||e.height;"pattern"===t.tag&&(l?(i=1,r/=o.width):h&&(r=1,i/=o.height)),t.attrs.width=r,t.attrs.height=i,n&&(n.setAttribute("width",r),n.setAttribute("height",i))}},m=gP(p,null,t,(function(t){c||v(_,t),v(i,t)}));m&&m.width&&m.height&&(f=f||m.width,d=d||m.height)}i=xG("image","img",{href:p,width:f,height:d}),s.width=f,s.height=d}else a.svgElement&&(i=Xk(a.svgElement),s.width=a.svgWidth,s.height=a.svgHeight);if(i){var y,w;c?y=w=1:l?(w=1,y=s.width/o.width):h?(y=1,w=s.height/o.height):s.patternUnits="userSpaceOnUse",null==y||isNaN(y)||(s.width=y),null==w||isNaN(w)||(s.height=w);var x=RT(a);x&&(s.patternTransform=x);var _=xG("pattern","",s,[i]),S=_G(_),k=r.patternCache,I=k[S];I||(I=r.zrId+"-p"+r.patternIdx++,k[S]=I,s.id=I,_=r.defs[I]=xG("pattern",I,s,[i])),e[n]=OT(I)}}function qG(t,e,n){var r=n.clipPathCache,i=n.defs,a=r[t.id];if(!a){var o={id:a=n.zrId+"-c"+n.clipPathIdx++};r[t.id]=a,i[a]=xG("clipPath",a,o,[WG(t,n)])}e["clip-path"]=OT(a)}function YG(t){return document.createTextNode(t)}function KG(t,e,n){t.insertBefore(e,n)}function ZG(t,e){t.removeChild(e)}function QG(t,e){t.appendChild(e)}function JG(t){return t.parentNode}function tU(t){return t.nextSibling}function eU(t,e){t.textContent=e}var nU=xG("","");function rU(t){return void 0===t}function iU(t){return void 0!==t}function aU(t,e,n){for(var r={},i=e;i<=n;++i){var a=t[i].key;void 0!==a&&(r[a]=i)}return r}function oU(t,e){var n=t.key===e.key;return t.tag===e.tag&&n}function sU(t){var e,n=t.children,r=t.tag;if(iU(r)){var i=t.elm=wG(r);if(lU(nU,t),uI(n))for(e=0;e<n.length;++e){var a=n[e];null!=a&&QG(i,sU(a))}else iU(t.text)&&!dI(t.text)&&QG(i,YG(t.text))}else t.elm=YG(t.text);return t.elm}function uU(t,e,n,r,i){for(;r<=i;++r){var a=n[r];null!=a&&KG(t,sU(a),e)}}function cU(t,e,n,r){for(;n<=r;++n){var i=e[n];if(null!=i)if(iU(i.tag))ZG(JG(i.elm),i.elm);else ZG(t,i.elm)}}function lU(t,e){var n,r=e.elm,i=t&&t.attrs||{},a=e.attrs||{};if(i!==a){for(n in a){var o=a[n];i[n]!==o&&(!0===o?r.setAttribute(n,""):!1===o?r.removeAttribute(n):120!==n.charCodeAt(0)?r.setAttribute(n,o):"xmlns:xlink"===n||"xmlns"===n?r.setAttributeNS("http://www.w3.org/2000/xmlns/",n,o):58===n.charCodeAt(3)?r.setAttributeNS("http://www.w3.org/XML/1998/namespace",n,o):58===n.charCodeAt(5)?r.setAttributeNS(yG,n,o):r.setAttribute(n,o))}for(n in i)n in a||r.removeAttribute(n)}}function hU(t,e){var n=e.elm=t.elm,r=t.children,i=e.children;t!==e&&(lU(t,e),rU(e.text)?iU(r)&&iU(i)?r!==i&&function(t,e,n){for(var r,i,a,o=0,s=0,u=e.length-1,c=e[0],l=e[u],h=n.length-1,f=n[0],d=n[h];o<=u&&s<=h;)null==c?c=e[++o]:null==l?l=e[--u]:null==f?f=n[++s]:null==d?d=n[--h]:oU(c,f)?(hU(c,f),c=e[++o],f=n[++s]):oU(l,d)?(hU(l,d),l=e[--u],d=n[--h]):oU(c,d)?(hU(c,d),KG(t,c.elm,tU(l.elm)),c=e[++o],d=n[--h]):oU(l,f)?(hU(l,f),KG(t,l.elm,c.elm),l=e[--u],f=n[++s]):(rU(r)&&(r=aU(e,o,u)),rU(i=r[f.key])||(a=e[i]).tag!==f.tag?KG(t,sU(f),c.elm):(hU(a,f),e[i]=void 0,KG(t,a.elm,c.elm)),f=n[++s]);(o<=u||s<=h)&&(o>u?uU(t,null==n[h+1]?null:n[h+1].elm,n,s,h):cU(t,e,o,u))}(n,r,i):iU(i)?(iU(t.text)&&eU(n,""),uU(n,null,i,0,i.length-1)):iU(r)?cU(n,r,0,r.length-1):iU(t.text)&&eU(n,""):t.text!==e.text&&(iU(r)&&cU(n,r,0,r.length-1),eU(n,e.text)))}var fU=0,dU=function(){function t(t,e,n){if(this.type="svg",this.refreshHover=function(){0},this.configLayer=function(){0},this.storage=e,this._opts=n=Kk({},n),this.root=t,this._id="zr"+fU++,this._oldVNode=kG(n.width,n.height),t&&!n.ssr){var r=this._viewport=document.createElement("div");r.style.cssText="position:relative;overflow:hidden";var i=this._svgDom=this._oldVNode.elm=wG("svg");lU(null,this._oldVNode),r.appendChild(i),t.appendChild(r)}this.resize(n.width,n.height)}return t.prototype.getType=function(){return this.type},t.prototype.getViewportRoot=function(){return this._viewport},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.getSvgDom=function(){return this._svgDom},t.prototype.refresh=function(){if(this.root){var t=this.renderToVNode({willUpdate:!0});t.attrs.style="position:absolute;left:0;top:0;user-select:none",function(t,e){if(oU(t,e))hU(t,e);else{var n=t.elm,r=JG(n);sU(e),null!==r&&(KG(r,e.elm,tU(n)),cU(r,[t],0,0))}}(this._oldVNode,t),this._oldVNode=t}},t.prototype.renderOneToVNode=function(t){return GG(t,SG(this._id))},t.prototype.renderToVNode=function(t){t=t||{};var e=this.storage.getDisplayList(!0),n=this._width,r=this._height,i=SG(this._id);i.animation=t.animation,i.willUpdate=t.willUpdate,i.compress=t.compress;var a=[],o=this._bgVNode=function(t,e,n,r){var i;if(n&&"none"!==n)if(i=xG("rect","bg",{width:t,height:e,x:"0",y:"0",id:"0"}),DT(n))UG({fill:n},i.attrs,"fill",r);else if(AT(n))XG({style:{fill:n},dirty:jI,getBoundingRect:function(){return{width:t,height:e}}},i.attrs,"fill",r);else{var a=_T(n),o=a.color,s=a.opacity;i.attrs.fill=o,s<1&&(i.attrs["fill-opacity"]=s)}return i}(n,r,this._backgroundColor,i);o&&a.push(o);var s=t.compress?null:this._mainVNode=xG("g","main",{},[]);this._paintList(e,i,s?s.children:a),s&&a.push(s);var u=nI(aI(i.defs),(function(t){return i.defs[t]}));if(u.length&&a.push(xG("defs","defs",{},u)),t.animation){var c=function(t,e,n){var r=(n=n||{}).newline?"\n":"",i=" {"+r,a=r+"}",o=nI(aI(t),(function(e){return e+i+nI(aI(t[e]),(function(n){return n+":"+t[e][n]+";"})).join(r)+a})).join(r),s=nI(aI(e),(function(t){return"@keyframes "+t+i+nI(aI(e[t]),(function(n){return n+i+nI(aI(e[t][n]),(function(r){var i=e[t][n][r];return"d"===r&&(i='path("'+i+'")'),r+":"+i+";"})).join(r)+a})).join(r)+a})).join(r);return o||s?["<![CDATA[",o,s,"]]>"].join(r):""}(i.cssNodes,i.cssAnims,{newline:!0});if(c){var l=xG("style","stl",{},[],c);a.push(l)}}return kG(n,r,a,t.useViewBox)},t.prototype.renderToString=function(t){return t=t||{},_G(this.renderToVNode({animation:wI(t.cssAnimation,!0),willUpdate:!1,compress:!0,useViewBox:wI(t.useViewBox,!0)}),{newline:!0})},t.prototype.setBackgroundColor=function(t){this._backgroundColor=t},t.prototype.getSvgRoot=function(){return this._mainVNode&&this._mainVNode.elm},t.prototype._paintList=function(t,e,n){for(var r,i,a=t.length,o=[],s=0,u=0,c=0;c<a;c++){var l=t[c];if(!l.invisible){var h=l.__clipPaths,f=h&&h.length||0,d=i&&i.length||0,p=void 0;for(p=Math.max(f-1,d-1);p>=0&&(!h||!i||h[p]!==i[p]);p--);for(var g=d-1;g>p;g--)r=o[--s-1];for(var b=p+1;b<f;b++){var v={};qG(h[b],v,e);var m=xG("g","clip-g-"+u++,v,[]);(r?r.children:n).push(m),o[s++]=m,r=m}i=h;var y=GG(l,e);y&&(r?r.children:n).push(y)}}},t.prototype.resize=function(t,e){var n=this._opts,r=this.root,i=this._viewport;if(null!=t&&(n.width=t),null!=e&&(n.height=e),r&&i&&(i.style.display="none",t=NV(r,0,n),e=NV(r,1,n),i.style.display=""),this._width!==t||this._height!==e){if(this._width=t,this._height=e,i){var a=i.style;a.width=t+"px",a.height=e+"px"}if(AT(this._backgroundColor))this.refresh();else{var o=this._svgDom;o&&(o.setAttribute("width",t),o.setAttribute("height",e));var s=this._bgVNode&&this._bgVNode.elm;s&&(s.setAttribute("width",t),s.setAttribute("height",e))}}},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t.prototype.dispose=function(){this.root&&(this.root.innerHTML=""),this._svgDom=this._viewport=this.storage=this._oldVNode=this._bgVNode=this._mainVNode=null},t.prototype.clear=function(){this._svgDom&&(this._svgDom.innerHTML=null),this._oldVNode=null},t.prototype.toDataURL=function(t){var e=this.renderToString(),n="data:image/svg+xml;";return t?(e=NT(e))&&n+"base64,"+e:n+"charset=UTF-8,"+encodeURIComponent(e)},t}();const pU=dU;function gU(t){return null==t?0:t.length||1}function bU(t){return t}var vU=function(){function t(t,e,n,r,i,a){this._old=t,this._new=e,this._oldKeyGetter=n||bU,this._newKeyGetter=r||bU,this.context=i,this._diffModeMultiple="multiple"===a}return t.prototype.add=function(t){return this._add=t,this},t.prototype.update=function(t){return this._update=t,this},t.prototype.updateManyToOne=function(t){return this._updateManyToOne=t,this},t.prototype.updateOneToMany=function(t){return this._updateOneToMany=t,this},t.prototype.updateManyToMany=function(t){return this._updateManyToMany=t,this},t.prototype.remove=function(t){return this._remove=t,this},t.prototype.execute=function(){this[this._diffModeMultiple?"_executeMultiple":"_executeOneToOne"]()},t.prototype._executeOneToOne=function(){var t=this._old,e=this._new,n={},r=new Array(t.length),i=new Array(e.length);this._initIndexMap(t,null,r,"_oldKeyGetter"),this._initIndexMap(e,n,i,"_newKeyGetter");for(var a=0;a<t.length;a++){var o=r[a],s=n[o],u=gU(s);if(u>1){var c=s.shift();1===s.length&&(n[o]=s[0]),this._update&&this._update(c,a)}else 1===u?(n[o]=null,this._update&&this._update(s,a)):this._remove&&this._remove(a)}this._performRestAdd(i,n)},t.prototype._executeMultiple=function(){var t=this._old,e=this._new,n={},r={},i=[],a=[];this._initIndexMap(t,n,i,"_oldKeyGetter"),this._initIndexMap(e,r,a,"_newKeyGetter");for(var o=0;o<i.length;o++){var s=i[o],u=n[s],c=r[s],l=gU(u),h=gU(c);if(l>1&&1===h)this._updateManyToOne&&this._updateManyToOne(c,u),r[s]=null;else if(1===l&&h>1)this._updateOneToMany&&this._updateOneToMany(c,u),r[s]=null;else if(1===l&&1===h)this._update&&this._update(c,u),r[s]=null;else if(l>1&&h>1)this._updateManyToMany&&this._updateManyToMany(c,u),r[s]=null;else if(l>1)for(var f=0;f<l;f++)this._remove&&this._remove(u[f]);else this._remove&&this._remove(u)}this._performRestAdd(a,r)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var r=t[n],i=e[r],a=gU(i);if(a>1)for(var o=0;o<a;o++)this._add&&this._add(i[o]);else 1===a&&this._add&&this._add(i);e[r]=null}},t.prototype._initIndexMap=function(t,e,n,r){for(var i=this._diffModeMultiple,a=0;a<t.length;a++){var o="_ec_"+this[r](t[a],a);if(i||(n[a]=o),e){var s=e[o],u=gU(s);0===u?(e[o]=a,i&&n.push(o)):1===u?e[o]=[s,a]:s.push(a)}}},t}();const mU=vU;var yU=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function wU(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}function xU(t){return"category"===t?"ordinal":"time"===t?"time":"float"}const _U=function(t){this.otherDims={},null!=t&&Kk(this,t)};var SU=GE(),kU={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},IU=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=TU(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return wI(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=Nj(this.source),n=!AU(t),r="",i=[],a=0,o=0;a<t;a++){var s=void 0,u=void 0,c=void 0,l=this.dimensions[o];if(l&&l.storeDimIndex===a)s=e?l.name:null,u=l.type,c=l.ordinalMeta,o++;else{var h=this.getSourceDimension(a);h&&(s=e?h.name:null,u=h.type)}i.push({property:s,type:u,ordinalMeta:c}),!e||null==s||l&&l.isCalculationCoord||(r+=n?s.replace(/\`/g,"`1").replace(/\$/g,"`2"):s),r+="$",r+=kU[u]||"f",c&&(r+=c.uid),r+="$"}var f=this.source;return{dimensions:i,hash:[f.seriesLayoutBy,f.startIndex,r].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var r=void 0,i=this.dimensions[n];if(i&&i.storeDimIndex===e)i.isCalculationCoord||(r=i.name),n++;else{var a=this.getSourceDimension(e);a&&(r=a.name)}t.push(r)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function MU(t){return t instanceof IU}function CU(t){for(var e=DI(),n=0;n<(t||[]).length;n++){var r=t[n],i=dI(r)?r.name:r;null!=i&&null==e.get(i)&&e.set(i,n)}return e}function TU(t){var e=SU(t);return e.dimNameMap||(e.dimNameMap=CU(t.dimensionsDefine))}function AU(t){return t>30}var EU,PU,DU,OU,LU,RU,NU,jU=dI,FU=nI,BU="undefined"==typeof Int32Array?Array:Int32Array,zU=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],$U=["_approximateExtent"],VU=function(){function t(t,e){var n;this.type="list",this._dimOmitted=!1,this._nameList=[],this._idList=[],this._visual={},this._layout={},this._itemVisuals=[],this._itemLayouts=[],this._graphicEls=[],this._approximateExtent={},this._calculationInfo={},this.hasItemOption=!1,this.TRANSFERABLE_METHODS=["cloneShallow","downSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","lttbDownSample"];var r=!1;MU(t)?(n=t.dimensions,this._dimOmitted=t.isDimensionOmitted(),this._schema=t):(r=!0,n=t),n=n||["x","y"];for(var i={},a=[],o={},s=!1,u={},c=0;c<n.length;c++){var l=n[c],h=lI(l)?new _U({name:l}):l instanceof _U?l:new _U(l),f=h.name;h.type=h.type||"float",h.coordDim||(h.coordDim=f,h.coordDimIndex=0);var d=h.otherDims=h.otherDims||{};a.push(f),i[f]=h,null!=u[f]&&(s=!0),h.createInvertedIndices&&(o[f]=[]),0===d.itemName&&(this._nameDimIdx=c),0===d.itemId&&(this._idDimIdx=c),r&&(h.storeDimIndex=c)}if(this.dimensions=a,this._dimInfos=i,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=o,this._dimOmitted){var p=this._dimIdxToName=DI();eI(a,(function(t){p.set(i[t].storeDimIndex,t)}))}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var r=this._schema.getSourceDimension(e);return r?r.name:void 0},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return-1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(fI(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||this._schema.getSourceDimensionIndex(t)<0))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var r=n.encode[t];return r?r[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var r,i=this;if(t instanceof AF&&(r=t),!r){var a=this.dimensions,o=Ej(t)||tI(t)?new jj(t,a.length):t;r=new AF;var s=FU(a,(function(t){return{type:i._dimInfos[t].type,property:t}}));r.initData(o,s,n)}this._store=r,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,r.count()),this._dimSummary=function(t,e){var n={},r=n.encode={},i=DI(),a=[],o=[],s={};eI(t.dimensions,(function(e){var n,u=t.getDimensionInfo(e),c=u.coordDim;if(c){var l=u.coordDimIndex;wU(r,c)[l]=e,u.isExtraCoord||(i.set(c,1),"ordinal"!==(n=u.type)&&"time"!==n&&(a[0]=e),wU(s,c)[l]=t.getDimensionIndex(u.name)),u.defaultTooltip&&o.push(e)}bN.each((function(t,e){var n=wU(r,e),i=u.otherDims[e];null!=i&&!1!==i&&(n[i]=u.name)}))}));var u=[],c={};i.each((function(t,e){var n=r[e];c[e]=n[0],u=u.concat(n)})),n.dataDimsOnCoord=u,n.dataDimIndicesOnCoord=nI(u,(function(e){return t.getDimensionInfo(e).storeDimIndex})),n.encodeFirstDimNotExtra=c;var l=r.label;l&&l.length&&(a=l.slice());var h=r.tooltip;return h&&h.length?o=h.slice():o.length||(o=a.slice()),r.defaultedLabel=a,r.defaultedTooltip=o,n.userOutput=new yU(s,e),n}(this,this._schema),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e.length),r=n.start,i=n.end,a=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var o=r;o<i;o++){var s=o-r;this._nameList[o]=e[s],a&&NU(this,o)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var r=this._dimInfos[e[n]];r.ordinalMeta&&t.collectOrdinalMeta(r.storeDimIndex,r.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==xN&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,i=this._idList;if(n.getSource().sourceFormat===vN&&!n.pure)for(var a=[],o=t;o<e;o++){var s=n.getItem(o,a);if(!this.hasItemOption&&jE(s)&&(this.hasItemOption=!0),s){var u=s.name;null==r[o]&&null!=u&&(r[o]=$E(u,null));var c=s.id;null==i[o]&&null!=c&&(i[o]=$E(c,null))}}if(this._shouldMakeIdFromName())for(o=t;o<e;o++)NU(this,o);EU(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){jU(t)?Kk(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=DU(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),r=this._store.getOrdinalMeta(t);return r?r.categories[n]:n},t.prototype.getId=function(t){return PU(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.get(r.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,r=this._dimInfos[t];if(r)return n.getByRawIndex(r.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,r=this._store;return uI(t)?r.getValues(FU(t,(function(t){return n._getStoreDimIndex(t)})),e):r.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,r=e.length;n<r;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return-1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=(t&&this._invertedIndicesMap[t])[e];return null==n||isNaN(n)?-1:n},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){cI(t)&&(n=e,e=t,t=[]);var r=n||this,i=FU(OU(t),this._getStoreDimIndex,this);this._store.each(i,r?oI(e,r):e)},t.prototype.filterSelf=function(t,e,n){cI(t)&&(n=e,e=t,t=[]);var r=n||this,i=FU(OU(t),this._getStoreDimIndex,this);return this._store=this._store.filter(i,r?oI(e,r):e),this},t.prototype.selectRange=function(t){var e=this,n={},r=aI(t),i=[];return eI(r,(function(r){var a=e._getStoreDimIndex(r);n[a]=t[r],i.push(a)})),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){cI(t)&&(n=e,e=t,t=[]),n=n||this;var r=[];return this.each(t,(function(){r.push(e&&e.apply(this,arguments))}),n),r},t.prototype.map=function(t,e,n,r){var i=n||r||this,a=FU(OU(t),this._getStoreDimIndex,this),o=RU(this);return o._store=this._store.map(a,i?oI(e,i):e),o},t.prototype.modify=function(t,e,n,r){var i=n||r||this;var a=FU(OU(t),this._getStoreDimIndex,this);this._store.modify(a,i?oI(e,i):e)},t.prototype.downSample=function(t,e,n,r){var i=RU(this);return i._store=this._store.downSample(this._getStoreDimIndex(t),e,n,r),i},t.prototype.lttbDownSample=function(t,e){var n=RU(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new nR(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new mU(t?t.getStore().getIndices():[],this.getStore().getIndices(),(function(e){return PU(t,e)}),(function(t){return PU(e,t)}))},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},jU(t)?Kk(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],r=n&&n[e];return null==r?this.getVisual(e):r},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,r=n[t];r||(r=n[t]={});var i=r[e];return null==i&&(uI(i=this.getVisual(e))?i=i.slice():jU(i)&&(i=Kk({},i)),r[e]=i),i},t.prototype.setItemVisual=function(t,e,n){var r=this._itemVisuals[t]||{};this._itemVisuals[t]=r,jU(e)?Kk(r,e):r[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){jU(t)?Kk(this._layout,t):this._layout[t]=e},t.prototype.getLayout=function(t){return this._layout[t]},t.prototype.getItemLayout=function(t){return this._itemLayouts[t]},t.prototype.setItemLayout=function(t,e,n){this._itemLayouts[t]=n?Kk(this._itemLayouts[t]||{},e):e},t.prototype.clearItemLayouts=function(){this._itemLayouts.length=0},t.prototype.setItemGraphicEl=function(t,e){var n=this.hostModel&&this.hostModel.seriesIndex;yO(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){eI(this._graphicEls,(function(n,r){n&&t&&t.call(e,n,r)}))},t.prototype.cloneShallow=function(e){return e||(e=new t(this._schema?this._schema:FU(this.dimensions,this._getDimInfo,this),this.hostModel)),LU(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];cI(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(_I(arguments)))})},t.internalField=(EU=function(t){var e=t._invertedIndicesMap;eI(e,(function(n,r){var i=t._dimInfos[r],a=i.ordinalMeta,o=t._store;if(a){n=e[r]=new BU(a.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(s=0;s<o.count();s++)n[o.get(i.storeDimIndex,s)]=s}}))},DU=function(t,e,n){return $E(t._getCategory(e,n),null)},PU=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=DU(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},OU=function(t){return uI(t)||(t=null!=t?[t]:[]),t},RU=function(e){var n=new t(e._schema?e._schema:FU(e.dimensions,e._getDimInfo,e),e.hostModel);return LU(n,e),n},LU=function(t,e){eI(zU.concat(e.__wrappedMethods||[]),(function(n){e.hasOwnProperty(n)&&(t[n]=e[n])})),t.__wrappedMethods=e.__wrappedMethods,eI($U,(function(n){t[n]=Xk(e[n])})),t._calculationInfo=Kk({},e._calculationInfo)},void(NU=function(t,e){var n=t._nameList,r=t._idList,i=t._nameDimIdx,a=t._idDimIdx,o=n[e],s=r[e];if(null==o&&null!=i&&(n[e]=o=DU(t,i,e)),null==s&&null!=a&&(r[e]=s=DU(t,a,e)),null==s&&null!=o){var u=t._nameRepeatCount,c=u[o]=(u[o]||0)+1;s=o,c>1&&(s+="__ec__"+c),r[e]=s}})),t}();const HU=VU;function WU(t,e){Ej(t)||(t=Dj(t));var n=(e=e||{}).coordDimensions||[],r=e.dimensionsDefine||t.dimensionsDefine||[],i=DI(),a=[],o=function(t,e,n,r){var i=Math.max(t.dimensionsDetectedCount||1,e.length,n.length,r||0);return eI(e,(function(t){var e;dI(t)&&(e=t.dimsDef)&&(i=Math.max(i,e.length))})),i}(t,n,r,e.dimensionsCount),s=e.canOmitUnusedDimensions&&AU(o),u=r===t.dimensionsDefine,c=u?TU(t):CU(r),l=e.encodeDefine;!l&&e.encodeDefaulter&&(l=e.encodeDefaulter(t,o));for(var h=DI(l),f=new SF(o),d=0;d<f.length;d++)f[d]=-1;function p(t){var e=f[t];if(e<0){var n=r[t],i=dI(n)?n:{name:n},o=new _U,s=i.name;null!=s&&null!=c.get(s)&&(o.name=o.displayName=s),null!=i.type&&(o.type=i.type),null!=i.displayName&&(o.displayName=i.displayName);var u=a.length;return f[t]=u,o.storeDimIndex=t,a.push(o),o}return a[e]}if(!s)for(d=0;d<o;d++)p(d);h.each((function(t,e){var n=OE(t).slice();if(1===n.length&&!lI(n[0])&&n[0]<0)h.set(e,!1);else{var r=h.set(e,[]);eI(n,(function(t,n){var i=lI(t)?c.get(t):t;null!=i&&i<o&&(r[n]=i,b(p(i),e,n))}))}}));var g=0;function b(t,e,n){null!=bN.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,i.set(e,!0))}eI(n,(function(t){var e,n,r,i;if(lI(t))e=t,i={};else{e=(i=t).name;var a=i.ordinalMeta;i.ordinalMeta=null,(i=Kk({},i)).ordinalMeta=a,n=i.dimsDef,r=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var s=h.get(e);if(!1!==s){if(!(s=OE(s)).length)for(var c=0;c<(n&&n.length||1);c++){for(;g<o&&null!=p(g).coordDim;)g++;g<o&&s.push(g++)}eI(s,(function(t,a){var o=p(t);if(u&&null!=i.type&&(o.type=i.type),b(Zk(o,i),e,a),null==o.name&&n){var s=n[a];!dI(s)&&(s={name:s}),o.name=o.displayName=s.name,o.defaultTooltip=s.defaultTooltip}r&&Zk(o.otherDims,r)}))}}));var v=e.generateCoord,m=e.generateCoordCount,y=null!=m;m=v?m||1:0;var w=v||"value";function x(t){null==t.name&&(t.name=t.coordDim)}if(s)eI(a,(function(t){x(t)})),a.sort((function(t,e){return t.storeDimIndex-e.storeDimIndex}));else for(var _=0;_<o;_++){var S=p(_);null==S.coordDim&&(S.coordDim=GU(w,i,y),S.coordDimIndex=0,(!v||m<=0)&&(S.isExtraCoord=!0),m--),x(S),null!=S.type||DN(t,_)!==IN&&(!S.isExtraCoord||null==S.otherDims.itemName&&null==S.otherDims.seriesName)||(S.type="ordinal")}return function(t){for(var e=DI(),n=0;n<t.length;n++){var r=t[n],i=r.name,a=e.get(i)||0;a>0&&(r.name=i+(a-1)),a++,e.set(i,a)}}(a),new IU({source:t,dimensions:a,fullDimensionCount:o,dimensionOmitted:s})}function GU(t,e,n){if(n||e.hasKey(t)){for(var r=0;e.hasKey(t+r);)r++;t+=r}return e.set(t,!0),t}var UU=function(t){this.coordSysDims=[],this.axisMap=DI(),this.categoryAxisMap=DI(),this.coordSysName=t};var XU={cartesian2d:function(t,e,n,r){var i=t.getReferringComponents("xAxis",YE).models[0],a=t.getReferringComponents("yAxis",YE).models[0];e.coordSysDims=["x","y"],n.set("x",i),n.set("y",a),qU(i)&&(r.set("x",i),e.firstCategoryDimIndex=0),qU(a)&&(r.set("y",a),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,r){var i=t.getReferringComponents("singleAxis",YE).models[0];e.coordSysDims=["single"],n.set("single",i),qU(i)&&(r.set("single",i),e.firstCategoryDimIndex=0)},polar:function(t,e,n,r){var i=t.getReferringComponents("polar",YE).models[0],a=i.findAxisModel("radiusAxis"),o=i.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",a),n.set("angle",o),qU(a)&&(r.set("radius",a),e.firstCategoryDimIndex=0),qU(o)&&(r.set("angle",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},geo:function(t,e,n,r){e.coordSysDims=["lng","lat"]},parallel:function(t,e,n,r){var i=t.ecModel,a=i.getComponent("parallel",t.get("parallelIndex")),o=e.coordSysDims=a.dimensions.slice();eI(a.parallelAxisIndex,(function(t,a){var s=i.getComponent("parallelAxis",t),u=o[a];n.set(u,s),qU(s)&&(r.set(u,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=a))}))}};function qU(t){return"category"===t.get("type")}function YU(t,e,n){var r,i,a,o=(n=n||{}).byIndex,s=n.stackedCoordDimension;!function(t){return!MU(t.schema)}(e)?(i=e.schema,r=i.dimensions,a=e.store):r=e;var u,c,l,h,f=!(!t||!t.get("stack"));if(eI(r,(function(t,e){lI(t)&&(r[e]=t={name:t}),f&&!t.isExtraCoord&&(o||u||!t.ordinalMeta||(u=t),c||"ordinal"===t.type||"time"===t.type||s&&s!==t.coordDim||(c=t))})),!c||o||u||(o=!0),c){l="__\0ecstackresult_"+t.id,h="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var d=c.coordDim,p=c.type,g=0;eI(r,(function(t){t.coordDim===d&&g++}));var b={name:l,coordDim:d,coordDimIndex:g,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length},v={name:h,coordDim:h,coordDimIndex:g+1,type:p,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:r.length+1};i?(a&&(b.storeDimIndex=a.ensureCalculationDimension(h,p),v.storeDimIndex=a.ensureCalculationDimension(l,p)),i.appendCalculationDimension(b),i.appendCalculationDimension(v)):(r.push(b),r.push(v))}return{stackedDimension:c&&c.name,stackedByDimension:u&&u.name,isStackedByIndex:o,stackedOverDimension:h,stackResultDimension:l}}function KU(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function ZU(t,e){return KU(t,e)?t.getCalculationInfo("stackResultDimension"):e}const QU=function(t,e,n){n=n||{};var r,i=e.getSourceManager(),a=!1;t?(a=!0,r=Dj(t)):a=(r=i.getSource()).sourceFormat===vN;var o=function(t){var e=t.get("coordinateSystem"),n=new UU(e),r=XU[e];if(r)return r(t,n,n.axisMap,n.categoryAxisMap),n}(e),s=function(t,e){var n,r=t.get("coordinateSystem"),i=QN.get(r);return e&&e.coordSysDims&&(n=nI(e.coordSysDims,(function(t){var n={name:t},r=e.axisMap.get(t);if(r){var i=r.get("type");n.type=xU(i)}return n}))),n||(n=i&&(i.getDimensionsInfo?i.getDimensionsInfo():i.dimensions.slice())||["x","y"]),n}(e,o),u=n.useEncodeDefaulter,c=cI(u)?u:u?sI(AN,s,e):null,l=WU(r,{coordDimensions:s,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:c,canOmitUnusedDimensions:!a}),h=function(t,e,n){var r,i;return n&&eI(t,(function(t,a){var o=t.coordDim,s=n.categoryAxisMap.get(o);s&&(null==r&&(r=a),t.ordinalMeta=s.getOrdinalMeta(),e&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(i=!0)})),i||null==r||(t[r].otherDims.itemName=0),r}(l.dimensions,n.createInvertedIndices,o),f=a?null:i.getSharedDataStore(l),d=YU(e,{schema:l,store:f}),p=new HU(l,e);p.setCalculationInfo(d);var g=null!=h&&function(t){if(t.sourceFormat===vN){return!uI(NE(function(t){var e=0;for(;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[])))}}(r)?function(t,e,n,r){return r===h?n:this.defaultDimValueGetter(t,e,n,r)}:null;return p.hasItemOption=!1,p.initData(a?r:f,null,g),p};var JU=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Sk(e,t),e.prototype.getInitialData=function(t){return QU(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new nE,n=EV("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var r=this.getData().getVisual("symbol"),i=this.getData().getVisual("symbolRotate"),a="none"===r?"circle":r,o=.8*t.itemHeight,s=EV(a,(t.itemWidth-o)/2,(t.itemHeight-o)/2,o,o,t.itemStyle.fill);e.add(s),s.setStyle(t.itemStyle);var u="inherit"===t.iconRotate?i:t.iconRotate||0;return s.rotation=u*Math.PI/180,s.setOrigin([t.itemWidth/2,t.itemHeight/2]),a.indexOf("empty")>-1&&(s.style.stroke=s.style.fill,s.style.fill="#fff",s.style.lineWidth=2),e},e.type="series.line",e.dependencies=["grid","polar"],e.defaultOption={z:3,coordinateSystem:"cartesian2d",legendHoverLink:!0,clip:!0,label:{position:"top"},endLabel:{show:!1,valueAnimation:!0,distance:8},lineStyle:{width:2,type:"solid"},emphasis:{scale:!0},step:!1,smooth:!1,smoothMonotone:null,symbol:"emptyCircle",symbolSize:4,symbolRotate:null,showSymbol:!0,showAllSymbol:"auto",connectNulls:!1,sampling:"none",animationEasing:"linear",progressive:0,hoverLayerThreshold:1/0,universalTransition:{divideShape:"clone"},triggerLineEvent:!1},e}(oB);const tX=JU;function eX(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var i=qj(t,e,n[0]);return null!=i?i+"":null}if(r){for(var a=[],o=0;o<n.length;o++)a.push(qj(t,e,n[o]));return a.join(" ")}}function nX(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!uI(e))return e+"";for(var r=[],i=0;i<n.length;i++){var a=t.getDimensionIndex(n[i]);a>=0&&r.push(e[a])}return r.join(" ")}var rX=function(t){function e(e,n,r,i){var a=t.call(this)||this;return a.updateData(e,n,r,i),a}return Sk(e,t),e.prototype._createSymbol=function(t,e,n,r,i){this.removeAll();var a=EV(t,-1,-1,2,2,null,i);a.attr({z2:100,culling:!0,scaleX:r[0]/2,scaleY:r[1]/2}),a.drift=iX,this._symbolType=t,this.add(a)},e.prototype.stopSymbolAnimation=function(t){this.childAt(0).stopAnimation(null,t)},e.prototype.getSymbolType=function(){return this._symbolType},e.prototype.getSymbolPath=function(){return this.childAt(0)},e.prototype.highlight=function(){YO(this.childAt(0))},e.prototype.downplay=function(){KO(this.childAt(0))},e.prototype.setZ=function(t,e){var n=this.childAt(0);n.zlevel=t,n.z=e},e.prototype.setDraggable=function(t,e){var n=this.childAt(0);n.draggable=t,n.cursor=!e&&t?"move":n.cursor},e.prototype.updateData=function(t,n,r,i){this.silent=!1;var a=t.getItemVisual(n,"symbol")||"circle",o=t.hostModel,s=e.getSymbolSize(t,n),u=a!==this._symbolType,c=i&&i.disableAnimation;if(u){var l=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(a,t,n,s,l)}else{(f=this.childAt(0)).silent=!1;var h={scaleX:s[0]/2,scaleY:s[1]/2};c?f.attr(h):xL(f,h,o,n),CL(f)}if(this._updateCommon(t,n,s,r,i),u){var f=this.childAt(0);if(!c){h={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:f.style.opacity}};f.scaleX=f.scaleY=0,f.style.opacity=0,_L(f,h,o,n)}}c&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,r,i){var a,o,s,u,c,l,h,f,d,p=this.childAt(0),g=t.hostModel;if(r&&(a=r.emphasisItemStyle,o=r.blurItemStyle,s=r.selectItemStyle,u=r.focus,c=r.blurScope,h=r.labelStatesModels,f=r.hoverScale,d=r.cursorStyle,l=r.emphasisDisabled),!r||t.hasItemOption){var b=r&&r.itemModel?r.itemModel:t.getItemModel(e),v=b.getModel("emphasis");a=v.getModel("itemStyle").getItemStyle(),s=b.getModel(["select","itemStyle"]).getItemStyle(),o=b.getModel(["blur","itemStyle"]).getItemStyle(),u=v.get("focus"),c=v.get("blurScope"),l=v.get("disabled"),h=DL(b),f=v.getShallow("scale"),d=b.getShallow("cursor")}var m=t.getItemVisual(e,"symbolRotate");p.attr("rotation",(m||0)*Math.PI/180||0);var y=DV(t.getItemVisual(e,"symbolOffset"),n);y&&(p.x=y[0],p.y=y[1]),d&&p.attr("cursor",d);var w=t.getItemVisual(e,"style"),x=w.fill;if(p instanceof XD){var _=p.style;p.useStyle(Kk({image:_.image,x:_.x,y:_.y,width:_.width,height:_.height},w))}else p.__isEmptyBrush?p.useStyle(Kk({},w)):p.useStyle(w),p.style.decal=null,p.setColor(x,i&&i.symbolInnerColor),p.style.strokeNoScale=!0;var S=t.getItemVisual(e,"liftZ"),k=this._z2;null!=S?null==k&&(this._z2=p.z2,p.z2+=S):null!=k&&(p.z2=k,this._z2=null);var I=i&&i.useNameLabel;PL(p,h,{labelFetcher:g,labelDataIndex:e,defaultText:function(e){return I?t.getName(e):eX(t,e)},inheritColor:x,defaultOpacity:w.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var M=p.ensureState("emphasis");M.style=a,p.ensureState("select").style=s,p.ensureState("blur").style=o;var C=null==f||!0===f?Math.max(1.1,3/this._sizeY):isFinite(f)&&f>0?+f:1;M.scaleX=this._sizeX*C,M.scaleY=this._sizeY*C,this.setSymbolScale(1),cL(this,u,c,l)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var r=this.childAt(0),i=mO(this).dataIndex,a=n&&n.animation;if(this.silent=r.silent=!0,n&&n.fadeLabel){var o=r.getTextContent();o&&kL(o,{style:{opacity:0}},e,{dataIndex:i,removeOpt:a,cb:function(){r.removeTextContent()}})}else r.removeTextContent();kL(r,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:i,cb:t,removeOpt:a})},e.getSymbolSize=function(t,e){return PV(t.getItemVisual(e,"symbolSize"))},e}(nE);function iX(t,e){this.parent.drift(t,e)}const aX=rX;function oX(t,e,n,r){return e&&!isNaN(e[0])&&!isNaN(e[1])&&!(r.isIgnore&&r.isIgnore(n))&&!(r.clipShape&&!r.clipShape.contain(e[0],e[1]))&&"none"!==t.getItemVisual(n,"symbol")}function sX(t){return null==t||dI(t)||(t={isIgnore:t}),t||{}}function uX(t){var e=t.hostModel,n=e.getModel("emphasis");return{emphasisItemStyle:n.getModel("itemStyle").getItemStyle(),blurItemStyle:e.getModel(["blur","itemStyle"]).getItemStyle(),selectItemStyle:e.getModel(["select","itemStyle"]).getItemStyle(),focus:n.get("focus"),blurScope:n.get("blurScope"),emphasisDisabled:n.get("disabled"),hoverScale:n.get("scale"),labelStatesModels:DL(e),cursorStyle:e.get("cursor")}}var cX=function(){function t(t){this.group=new nE,this._SymbolCtor=t||aX}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=sX(e);var n=this.group,r=t.hostModel,i=this._data,a=this._SymbolCtor,o=e.disableAnimation,s=uX(t),u={disableAnimation:o},c=e.getSymbolPoint||function(e){return t.getItemLayout(e)};i||n.removeAll(),t.diff(i).add((function(r){var i=c(r);if(oX(t,i,r,e)){var o=new a(t,r,s,u);o.setPosition(i),t.setItemGraphicEl(r,o),n.add(o)}})).update((function(l,h){var f=i.getItemGraphicEl(h),d=c(l);if(oX(t,d,l,e)){var p=t.getItemVisual(l,"symbol")||"circle",g=f&&f.getSymbolType&&f.getSymbolType();if(!f||g&&g!==p)n.remove(f),(f=new a(t,l,s,u)).setPosition(d);else{f.updateData(t,l,s,u);var b={x:d[0],y:d[1]};o?f.attr(b):xL(f,b,r)}n.add(f),t.setItemGraphicEl(l,f)}else n.remove(f)})).remove((function(t){var e=i.getItemGraphicEl(t);e&&e.fadeOut((function(){n.remove(e)}),r)})).execute(),this._getSymbolPoint=c,this._data=t},t.prototype.updateLayout=function(){var t=this,e=this._data;e&&e.eachItemGraphicEl((function(e,n){var r=t._getSymbolPoint(n);e.setPosition(r),e.markRedraw()}))},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=uX(t),this._data=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e,n){function r(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[],n=sX(n);for(var i=t.start;i<t.end;i++){var a=e.getItemLayout(i);if(oX(e,a,i,n)){var o=new this._SymbolCtor(e,i,this._seriesScope);o.traverse(r),o.setPosition(a),this.group.add(o),e.setItemGraphicEl(i,o),this._progressiveEls.push(o)}}},t.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl((function(t){t.fadeOut((function(){e.remove(t)}),n.hostModel)})):e.removeAll()},t}();const lX=cX;function hX(t,e,n){var r=t.getBaseAxis(),i=t.getOtherAxis(r),a=function(t,e){var n=0,r=t.scale.getExtent();"start"===e?n=r[0]:"end"===e?n=r[1]:fI(e)&&!isNaN(e)?n=e:r[0]>0?n=r[0]:r[1]<0&&(n=r[1]);return n}(i,n),o=r.dim,s=i.dim,u=e.mapDimension(s),c=e.mapDimension(o),l="x"===s||"radius"===s?1:0,h=nI(t.dimensions,(function(t){return e.mapDimension(t)})),f=!1,d=e.getCalculationInfo("stackResultDimension");return KU(e,h[0])&&(f=!0,h[0]=d),KU(e,h[1])&&(f=!0,h[1]=d),{dataDimsForPoint:h,valueStart:a,valueAxisDim:s,baseAxisDim:o,stacked:!!f,valueDim:u,baseDim:c,baseDataOffset:l,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function fX(t,e,n,r){var i=NaN;t.stacked&&(i=n.get(n.getCalculationInfo("stackedOverDimension"),r)),isNaN(i)&&(i=t.valueStart);var a=t.baseDataOffset,o=[];return o[a]=n.get(t.baseDim,r),o[1-a]=i,e.dataToPoint(o)}var dX="undefined"!=typeof Float32Array,pX=dX?Float32Array:Array;function gX(t){return uI(t)?dX?new Float32Array(t):t:new pX(t)}var bX=Math.min,vX=Math.max;function mX(t,e){return isNaN(t)||isNaN(e)}function yX(t,e,n,r,i,a,o,s,u){for(var c,l,h,f,d,p,g=n,b=0;b<r;b++){var v=e[2*g],m=e[2*g+1];if(g>=i||g<0)break;if(mX(v,m)){if(u){g+=a;continue}break}if(g===n)t[a>0?"moveTo":"lineTo"](v,m),h=v,f=m;else{var y=v-c,w=m-l;if(y*y+w*w<.5){g+=a;continue}if(o>0){for(var x=g+a,_=e[2*x],S=e[2*x+1];_===v&&S===m&&b<r;)b++,g+=a,_=e[2*(x+=a)],S=e[2*x+1],y=(v=e[2*g])-c,w=(m=e[2*g+1])-l;var k=b+1;if(u)for(;mX(_,S)&&k<r;)k++,_=e[2*(x+=a)],S=e[2*x+1];var I=.5,M=0,C=0,T=void 0,A=void 0;if(k>=r||mX(_,S))d=v,p=m;else{M=_-c,C=S-l;var E=v-c,P=_-v,D=m-l,O=S-m,L=void 0,R=void 0;if("x"===s){var N=M>0?1:-1;d=v-N*(L=Math.abs(E))*o,p=m,T=v+N*(R=Math.abs(P))*o,A=m}else if("y"===s){var j=C>0?1:-1;d=v,p=m-j*(L=Math.abs(D))*o,T=v,A=m+j*(R=Math.abs(O))*o}else L=Math.sqrt(E*E+D*D),d=v-M*o*(1-(I=(R=Math.sqrt(P*P+O*O))/(R+L))),p=m-C*o*(1-I),A=m+C*o*I,T=bX(T=v+M*o*I,vX(_,v)),A=bX(A,vX(S,m)),T=vX(T,bX(_,v)),p=m-(C=(A=vX(A,bX(S,m)))-m)*L/R,d=bX(d=v-(M=T-v)*L/R,vX(c,v)),p=bX(p,vX(l,m)),T=v+(M=v-(d=vX(d,bX(c,v))))*R/L,A=m+(C=m-(p=vX(p,bX(l,m))))*R/L}t.bezierCurveTo(h,f,d,p,v,m),h=T,f=A}else t.lineTo(v,m)}c=v,l=m,g+=a}return b}var wX=function(){this.smooth=0,this.smoothConstraint=!0},xX=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return Sk(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new wX},e.prototype.buildPath=function(t,e){var n=e.points,r=0,i=n.length/2;if(e.connectNulls){for(;i>0&&mX(n[2*i-2],n[2*i-1]);i--);for(;r<i&&mX(n[2*r],n[2*r+1]);r++);}for(;r<i;)r+=yX(t,n,r,i,i,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,r,i=this.path.data,a=yD.CMD,o="x"===e,s=[],u=0;u<i.length;){var c=void 0,l=void 0,h=void 0,f=void 0,d=void 0,p=void 0,g=void 0;switch(i[u++]){case a.M:n=i[u++],r=i[u++];break;case a.L:if(c=i[u++],l=i[u++],(g=o?(t-n)/(c-n):(t-r)/(l-r))<=1&&g>=0){var b=o?(l-r)*g+r:(c-n)*g+n;return o?[t,b]:[b,t]}n=c,r=l;break;case a.C:c=i[u++],l=i[u++],h=i[u++],f=i[u++],d=i[u++],p=i[u++];var v=o?RC(n,c,h,d,t,s):RC(r,l,f,p,t,s);if(v>0)for(var m=0;m<v;m++){var y=s[m];if(y<=1&&y>=0){b=o?OC(r,l,f,p,y):OC(n,c,h,d,y);return o?[t,b]:[b,t]}}n=d,r=p}}},e}(zD),_X=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e}(wX),SX=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new _X},e.prototype.buildPath=function(t,e){var n=e.points,r=e.stackedOnPoints,i=0,a=n.length/2,o=e.smoothMonotone;if(e.connectNulls){for(;a>0&&mX(n[2*a-2],n[2*a-1]);a--);for(;i<a&&mX(n[2*i],n[2*i+1]);i++);}for(;i<a;){var s=yX(t,n,i,a,a,1,e.smooth,o,e.connectNulls);yX(t,r,i+s-1,s,a,-1,e.stackedOnSmooth,o,e.connectNulls),i+=s+1,t.closePath()}},e}(zD);function kX(t,e,n,r,i){var a=t.getArea(),o=a.x,s=a.y,u=a.width,c=a.height,l=n.get(["lineStyle","width"])||2;o-=l/2,s-=l/2,u+=l,c+=l,o=Math.floor(o),u=Math.round(u);var h=new eO({shape:{x:o,y:s,width:u,height:c}});if(e){var f=t.getBaseAxis(),d=f.isHorizontal(),p=f.inverse;d?(p&&(h.shape.x+=u),h.shape.width=0):(p||(h.shape.y+=c),h.shape.height=0);var g=cI(i)?function(t){i(t,h)}:null;_L(h,{shape:{width:u,height:c,x:o,y:s}},n,null,r,g)}return h}function IX(t,e,n){var r=t.getArea(),i=lE(r.r0,1),a=lE(r.r,1),o=new ZB({shape:{cx:lE(t.cx,1),cy:lE(t.cy,1),r0:i,r:a,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}});e&&("angle"===t.getBaseAxis().dim?o.shape.endAngle=r.startAngle:o.shape.r=i,_L(o,{shape:{endAngle:r.endAngle,r:a}},n));return o}function MX(t,e,n,r,i){return t?"polar"===t.type?IX(t,e,n):"cartesian2d"===t.type?kX(t,e,n,r,i):null:null}function CX(t,e){return t.type===e}function TX(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function AX(t){for(var e=1/0,n=1/0,r=-1/0,i=-1/0,a=0;a<t.length;){var o=t[a++],s=t[a++];isNaN(o)||(e=Math.min(o,e),r=Math.max(o,r)),isNaN(s)||(n=Math.min(s,n),i=Math.max(s,i))}return[[e,n],[r,i]]}function EX(t,e){var n=AX(t),r=n[0],i=n[1],a=AX(e),o=a[0],s=a[1];return Math.max(Math.abs(r[0]-o[0]),Math.abs(r[1]-o[1]),Math.abs(i[0]-s[0]),Math.abs(i[1]-s[1]))}function PX(t){return fI(t)?t:t?.5:0}function DX(t,e,n,r){var i=e.getBaseAxis(),a="x"===i.dim||"radius"===i.dim?0:1,o=[],s=0,u=[],c=[],l=[],h=[];if(r){for(s=0;s<t.length;s+=2)isNaN(t[s])||isNaN(t[s+1])||h.push(t[s],t[s+1]);t=h}for(s=0;s<t.length-2;s+=2)switch(l[0]=t[s+2],l[1]=t[s+3],c[0]=t[s],c[1]=t[s+1],o.push(c[0],c[1]),n){case"end":u[a]=l[a],u[1-a]=c[1-a],o.push(u[0],u[1]);break;case"middle":var f=(c[a]+l[a])/2,d=[];u[a]=d[a]=f,u[1-a]=c[1-a],d[1-a]=l[1-a],o.push(u[0],u[1]),o.push(d[0],d[1]);break;default:u[a]=c[a],u[1-a]=l[1-a],o.push(u[0],u[1])}return o.push(t[s++],t[s++]),o}function OX(t,e,n){var r=t.getVisual("visualMeta");if(r&&r.length&&t.count()&&"cartesian2d"===e.type){for(var i,a,o=r.length-1;o>=0;o--){var s=t.getDimensionInfo(r[o].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){a=r[o];break}}if(a){var u=e.getAxis(i),c=nI(a.stops,(function(t){return{coord:u.toGlobalCoord(u.dataToCoord(t.value)),color:t.color}})),l=c.length,h=a.outerColors.slice();l&&c[0].coord>c[l-1].coord&&(c.reverse(),h.reverse());var f=function(t,e){var n,r,i=[],a=t.length;function o(t,e,n){var r=t.coord;return{coord:n,color:bT((n-r)/(e.coord-r),[t.color,e.color])}}for(var s=0;s<a;s++){var u=t[s],c=u.coord;if(c<0)n=u;else{if(c>e){r?i.push(o(r,u,e)):n&&i.push(o(n,u,0),o(n,u,e));break}n&&(i.push(o(n,u,0)),n=null),i.push(u),r=u}}return i}(c,"x"===i?n.getWidth():n.getHeight()),d=f.length;if(!d&&l)return c[0].coord<0?h[1]?h[1]:c[l-1].color:h[0]?h[0]:c[0].color;var p=f[0].coord-10,g=f[d-1].coord+10,b=g-p;if(b<.001)return"transparent";eI(f,(function(t){t.offset=(t.coord-p)/b})),f.push({offset:d?f[d-1].offset:.5,color:h[1]||"transparent"}),f.unshift({offset:d?f[0].offset:.5,color:h[0]||"transparent"});var v=new kz(0,0,0,0,f,!0);return v[i]=p,v[i+"2"]=g,v}}}function LX(t,e,n){var r=t.get("showAllSymbol"),i="auto"===r;if(!r||i){var a=n.getAxesByScale("ordinal")[0];if(a&&(!i||!function(t,e){var n=t.getExtent(),r=Math.abs(n[1]-n[0])/t.scale.count();isNaN(r)&&(r=0);for(var i=e.count(),a=Math.max(1,Math.round(i/5)),o=0;o<i;o+=a)if(1.5*aX.getSymbolSize(e,o)[t.isHorizontal()?1:0]>r)return!1;return!0}(a,e))){var o=e.mapDimension(a.dim),s={};return eI(a.getViewLabels(),(function(t){var e=a.scale.getRawOrdinalNumber(t.tickValue);s[e]=1})),function(t){return!s.hasOwnProperty(e.get(o,t))}}}}function RX(t,e){return[t[2*e],t[2*e+1]]}function NX(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<kO.length;e++)if(t.get([kO[e],"endLabel","show"]))return!0;return!1}function jX(t,e,n,r){if(CX(e,"cartesian2d")){var i=r.getModel("endLabel"),a=i.get("valueAnimation"),o=r.getData(),s={lastFrameIndex:0},u=NX(r)?function(n,r){t._endLabelOnDuring(n,r,o,s,a,i,e)}:null,c=e.getBaseAxis().isHorizontal(),l=kX(e,n,r,(function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})}),u);if(!r.get("clip",!0)){var h=l.shape,f=Math.max(h.width,h.height);c?(h.y-=f,h.height+=2*f):(h.x-=f,h.width+=2*f)}return u&&u(1,l),l}return IX(e,n,r)}var FX=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.init=function(){var t=new nE,e=new lX;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem,a=this.group,o=t.getData(),s=t.getModel("lineStyle"),u=t.getModel("areaStyle"),c=o.getLayout("points")||[],l="polar"===i.type,h=this._coordSys,f=this._symbolDraw,d=this._polyline,p=this._polygon,g=this._lineGroup,b=!e.ssr&&t.isAnimationEnabled(),v=!u.isEmpty(),m=u.get("origin"),y=hX(i,o,m),w=v&&function(t,e,n){if(!n.valueDim)return[];for(var r=e.count(),i=gX(2*r),a=0;a<r;a++){var o=fX(n,t,e,a);i[2*a]=o[0],i[2*a+1]=o[1]}return i}(i,o,y),x=t.get("showSymbol"),_=t.get("connectNulls"),S=x&&!l&&LX(t,o,i),k=this._data;k&&k.eachItemGraphicEl((function(t,e){t.__temp&&(a.remove(t),k.setItemGraphicEl(e,null))})),x||f.remove(),a.add(g);var I,M=!l&&t.get("step");i&&i.getArea&&t.get("clip",!0)&&(null!=(I=i.getArea()).width?(I.x-=.1,I.y-=.1,I.width+=.2,I.height+=.2):I.r0&&(I.r0-=.5,I.r+=.5)),this._clipShapeForSymbol=I;var C=OX(o,i,n)||o.getVisual("style")[o.getVisual("drawType")];if(d&&h.type===i.type&&M===this._step){v&&!p?p=this._newPolygon(c,w):p&&!v&&(g.remove(p),p=this._polygon=null),l||this._initOrUpdateEndLabel(t,i,ZR(C));var T=g.getClipPath();if(T)_L(T,{shape:jX(this,i,!1,t).shape},t);else g.setClipPath(jX(this,i,!0,t));x&&f.updateData(o,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),TX(this._stackedOnPoints,w)&&TX(this._points,c)||(b?this._doUpdateAnimation(o,w,i,n,M,m,_):(M&&(c=DX(c,i,M,_),w&&(w=DX(w,i,M,_))),d.setShape({points:c}),p&&p.setShape({points:c,stackedOnPoints:w})))}else x&&f.updateData(o,{isIgnore:S,clipShape:I,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),b&&this._initSymbolLabelAnimation(o,i,I),M&&(c=DX(c,i,M,_),w&&(w=DX(w,i,M,_))),d=this._newPolyline(c),v?p=this._newPolygon(c,w):p&&(g.remove(p),p=this._polygon=null),l||this._initOrUpdateEndLabel(t,i,ZR(C)),g.setClipPath(jX(this,i,!0,t));var A=t.getModel("emphasis"),E=A.get("focus"),P=A.get("blurScope"),D=A.get("disabled");(d.useStyle(Zk(s.getLineStyle(),{fill:"none",stroke:C,lineJoin:"bevel"})),dL(d,t,"lineStyle"),d.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"]))&&(d.getState("emphasis").style.lineWidth=+d.style.lineWidth+1);mO(d).seriesIndex=t.seriesIndex,cL(d,E,P,D);var O=PX(t.get("smooth")),L=t.get("smoothMonotone");if(d.setShape({smooth:O,smoothMonotone:L,connectNulls:_}),p){var R=o.getCalculationInfo("stackedOnSeries"),N=0;p.useStyle(Zk(u.getAreaStyle(),{fill:C,opacity:.7,lineJoin:"bevel",decal:o.getVisual("style").decal})),R&&(N=PX(R.get("smooth"))),p.setShape({smooth:O,stackedOnSmooth:N,smoothMonotone:L,connectNulls:_}),dL(p,t,"areaStyle"),mO(p).seriesIndex=t.seriesIndex,cL(p,E,P,D)}var j=function(t){r._changePolyState(t)};o.eachItemGraphicEl((function(t){t&&(t.onHoverStateChange=j)})),this._polyline.onHoverStateChange=j,this._data=o,this._coordSys=i,this._stackedOnPoints=w,this._points=c,this._step=M,this._valueOrigin=m,t.get("triggerLineEvent")&&(this.packEventData(t,d),p&&this.packEventData(t,p))},e.prototype.packEventData=function(t,e){mO(e).eventData={componentType:"series",componentSubType:"line",componentIndex:t.componentIndex,seriesIndex:t.seriesIndex,seriesName:t.name,seriesType:"line"}},e.prototype.highlight=function(t,e,n,r){var i=t.getData(),a=WE(i,r);if(this._changePolyState("emphasis"),!(a instanceof Array)&&null!=a&&a>=0){var o=i.getLayout("points"),s=i.getItemGraphicEl(a);if(!s){var u=o[2*a],c=o[2*a+1];if(isNaN(u)||isNaN(c))return;if(this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(u,c))return;var l=t.get("zlevel")||0,h=t.get("z")||0;(s=new aX(i,a)).x=u,s.y=c,s.setZ(l,h);var f=s.getSymbolPath().getTextContent();f&&(f.zlevel=l,f.z=h,f.z2=this._polyline.z2+1),s.__temp=!0,i.setItemGraphicEl(a,s),s.stopSymbolAnimation(!0),this.group.add(s)}s.highlight()}else w$.prototype.highlight.call(this,t,e,n,r)},e.prototype.downplay=function(t,e,n,r){var i=t.getData(),a=WE(i,r);if(this._changePolyState("normal"),null!=a&&a>=0){var o=i.getItemGraphicEl(a);o&&(o.__temp?(i.setItemGraphicEl(a,null),this.group.remove(o)):o.downplay())}else w$.prototype.downplay.call(this,t,e,n,r)},e.prototype._changePolyState=function(t){var e=this._polygon;WO(this._polyline,t),e&&WO(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new xX({shape:{points:t},segmentIgnoreThreshold:2,z2:10}),this._lineGroup.add(e),this._polyline=e,e},e.prototype._newPolygon=function(t,e){var n=this._polygon;return n&&this._lineGroup.remove(n),n=new SX({shape:{points:t,stackedOnPoints:e},segmentIgnoreThreshold:2}),this._lineGroup.add(n),this._polygon=n,n},e.prototype._initSymbolLabelAnimation=function(t,e,n){var r,i,a=e.getBaseAxis(),o=a.inverse;"cartesian2d"===e.type?(r=a.isHorizontal(),i=!1):"polar"===e.type&&(r="angle"===a.dim,i=!0);var s=t.hostModel,u=s.get("animationDuration");cI(u)&&(u=u(null));var c=s.get("animationDelay")||0,l=cI(c)?c(null):c;t.eachItemGraphicEl((function(t,a){var s=t;if(s){var h=[t.x,t.y],f=void 0,d=void 0,p=void 0;if(n)if(i){var g=n,b=e.pointToCoord(h);r?(f=g.startAngle,d=g.endAngle,p=-b[1]/180*Math.PI):(f=g.r0,d=g.r,p=b[0])}else{var v=n;r?(f=v.x,d=v.x+v.width,p=t.x):(f=v.y+v.height,d=v.y,p=t.y)}var m=d===f?0:(p-f)/(d-f);o&&(m=1-m);var y=cI(c)?c(a):u*m+l,w=s.getSymbolPath(),x=w.getTextContent();s.attr({scaleX:0,scaleY:0}),s.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:y}),x&&x.animateFrom({style:{opacity:0}},{duration:300,delay:y}),w.disableLabelAnimation=!0}}))},e.prototype._initOrUpdateEndLabel=function(t,e,n){var r=t.getModel("endLabel");if(NX(t)){var i=t.getData(),a=this._polyline,o=i.getLayout("points");if(!o)return a.removeTextContent(),void(this._endLabel=null);var s=this._endLabel;s||((s=this._endLabel=new vO({z2:200})).ignoreClip=!0,a.setTextContent(this._endLabel),a.disableLabelAnimation=!0);var u=function(t){for(var e,n,r=t.length/2;r>0&&(e=t[2*r-2],n=t[2*r-1],isNaN(e)||isNaN(n));r--);return r-1}(o);u>=0&&(PL(a,DL(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:u,defaultText:function(t,e,n){return null!=n?nX(i,n):eX(i,t)},enableTextSetter:!0},function(t,e){var n=e.getBaseAxis(),r=n.isHorizontal(),i=n.inverse,a=r?i?"right":"left":"center",o=r?"middle":i?"top":"bottom";return{normal:{align:t.get("align")||a,verticalAlign:t.get("verticalAlign")||o}}}(r,e)),a.textConfig.position=null)}else this._endLabel&&(this._polyline.removeTextContent(),this._endLabel=null)},e.prototype._endLabelOnDuring=function(t,e,n,r,i,a,o){var s=this._endLabel,u=this._polyline;if(s){t<1&&null==r.originalX&&(r.originalX=s.x,r.originalY=s.y);var c=n.getLayout("points"),l=n.hostModel,h=l.get("connectNulls"),f=a.get("precision"),d=a.get("distance")||0,p=o.getBaseAxis(),g=p.isHorizontal(),b=p.inverse,v=e.shape,m=b?g?v.x:v.y+v.height:g?v.x+v.width:v.y,y=(g?d:0)*(b?-1:1),w=(g?0:-d)*(b?-1:1),x=g?"x":"y",_=function(t,e,n){for(var r,i,a=t.length/2,o="x"===n?0:1,s=0,u=-1,c=0;c<a;c++)if(i=t[2*c+o],!isNaN(i)&&!isNaN(t[2*c+1-o]))if(0!==c){if(r<=e&&i>=e||r>=e&&i<=e){u=c;break}s=c,r=i}else r=i;return{range:[s,u],t:(e-r)/(i-r)}}(c,m,x),S=_.range,k=S[1]-S[0],I=void 0;if(k>=1){if(k>1&&!h){var M=RX(c,S[0]);s.attr({x:M[0]+y,y:M[1]+w}),i&&(I=l.getRawValue(S[0]))}else{(M=u.getPointOn(m,x))&&s.attr({x:M[0]+y,y:M[1]+w});var C=l.getRawValue(S[0]),T=l.getRawValue(S[1]);i&&(I=tP(n,f,C,T,_.t))}r.lastFrameIndex=S[0]}else{var A=1===t||r.lastFrameIndex>0?S[0]:0;M=RX(c,A);i&&(I=l.getRawValue(A)),s.attr({x:M[0]+y,y:M[1]+w})}i&&zL(s).setLabelText(I)}},e.prototype._doUpdateAnimation=function(t,e,n,r,i,a,o){var s=this._polyline,u=this._polygon,c=t.hostModel,l=function(t,e,n,r,i,a,o,s){for(var u=function(t,e){var n=[];return e.diff(t).add((function(t){n.push({cmd:"+",idx:t})})).update((function(t,e){n.push({cmd:"=",idx:e,idx1:t})})).remove((function(t){n.push({cmd:"-",idx:t})})).execute(),n}(t,e),c=[],l=[],h=[],f=[],d=[],p=[],g=[],b=hX(i,e,o),v=t.getLayout("points")||[],m=e.getLayout("points")||[],y=0;y<u.length;y++){var w=u[y],x=!0,_=void 0,S=void 0;switch(w.cmd){case"=":_=2*w.idx,S=2*w.idx1;var k=v[_],I=v[_+1],M=m[S],C=m[S+1];(isNaN(k)||isNaN(I))&&(k=M,I=C),c.push(k,I),l.push(M,C),h.push(n[_],n[_+1]),f.push(r[S],r[S+1]),g.push(e.getRawIndex(w.idx1));break;case"+":var T=w.idx,A=b.dataDimsForPoint,E=i.dataToPoint([e.get(A[0],T),e.get(A[1],T)]);S=2*T,c.push(E[0],E[1]),l.push(m[S],m[S+1]);var P=fX(b,i,e,T);h.push(P[0],P[1]),f.push(r[S],r[S+1]),g.push(e.getRawIndex(T));break;case"-":x=!1}x&&(d.push(w),p.push(p.length))}p.sort((function(t,e){return g[t]-g[e]}));var D=c.length,O=gX(D),L=gX(D),R=gX(D),N=gX(D),j=[];for(y=0;y<p.length;y++){var F=p[y],B=2*y,z=2*F;O[B]=c[z],O[B+1]=c[z+1],L[B]=l[z],L[B+1]=l[z+1],R[B]=h[z],R[B+1]=h[z+1],N[B]=f[z],N[B+1]=f[z+1],j[y]=d[F]}return{current:O,next:L,stackedOnCurrent:R,stackedOnNext:N,status:j}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin),h=l.current,f=l.stackedOnCurrent,d=l.next,p=l.stackedOnNext;if(i&&(h=DX(l.current,n,i,o),f=DX(l.stackedOnCurrent,n,i,o),d=DX(l.next,n,i,o),p=DX(l.stackedOnNext,n,i,o)),EX(h,d)>3e3||u&&EX(f,p)>3e3)return s.stopAnimation(),s.setShape({points:d}),void(u&&(u.stopAnimation(),u.setShape({points:d,stackedOnPoints:p})));s.shape.__points=l.current,s.shape.points=h;var g={shape:{points:d}};l.current!==h&&(g.shape.__points=l.next),s.stopAnimation(),xL(s,g,c),u&&(u.setShape({points:h,stackedOnPoints:f}),u.stopAnimation(),xL(u,{shape:{stackedOnPoints:p}},c),s.shape.points!==u.shape.points&&(u.shape.points=s.shape.points));for(var b=[],v=l.status,m=0;m<v.length;m++){if("="===v[m].cmd){var y=t.getItemGraphicEl(v[m].idx1);y&&b.push({el:y,ptIdx:m})}}s.animators&&s.animators.length&&s.animators[0].during((function(){u&&u.dirtyShape();for(var t=s.shape.__points,e=0;e<b.length;e++){var n=b[e].el,r=2*b[e].ptIdx;n.x=t[r],n.y=t[r+1],n.markRedraw()}}))},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl((function(t,r){t.__temp&&(e.remove(t),n.setItemGraphicEl(r,null))})),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(w$);const BX=FX;function zX(t,e){return{seriesType:t,plan:cB(),reset:function(t){var n=t.getData(),r=t.coordinateSystem,i=t.pipelineContext,a=e||i.large;if(r){var o=nI(r.dimensions,(function(t){return n.mapDimension(t)})).slice(0,2),s=o.length,u=n.getCalculationInfo("stackResultDimension");KU(n,o[0])&&(o[0]=u),KU(n,o[1])&&(o[1]=u);var c=n.getStore(),l=n.getDimensionIndex(o[0]),h=n.getDimensionIndex(o[1]);return s&&{progress:function(t,e){for(var n=t.end-t.start,i=a&&gX(n*s),o=[],u=[],f=t.start,d=0;f<t.end;f++){var p=void 0;if(1===s){var g=c.get(l,f);p=r.dataToPoint(g,null,u)}else o[0]=c.get(l,f),o[1]=c.get(h,f),p=r.dataToPoint(o,null,u);a?(i[d++]=p[0],i[d++]=p[1]):e.setItemLayout(f,p.slice())}a&&e.setLayout("points",i)}}}}}}var $X={average:function(t){for(var e=0,n=0,r=0;r<t.length;r++)isNaN(t[r])||(e+=t[r],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},VX=function(t){return Math.round(t.length/2)};function HX(t){return{seriesType:t,reset:function(t,e,n){var r=t.getData(),i=t.get("sampling"),a=t.coordinateSystem,o=r.count();if(o>10&&"cartesian2d"===a.type&&i){var s=a.getBaseAxis(),u=a.getOtherAxis(s),c=s.getExtent(),l=n.getDevicePixelRatio(),h=Math.abs(c[1]-c[0])*(l||1),f=Math.round(o/h);if(isFinite(f)&&f>1){"lttb"===i&&t.setData(r.lttbDownSample(r.mapDimension(u.dim),1/f));var d=void 0;lI(i)?d=$X[i]:cI(i)&&(d=i),d&&t.setData(r.downSample(r.mapDimension(u.dim),1/f,d,VX))}}}}}var WX="__ec_stack_";function GX(t){return t.get("stack")||WX+t.seriesIndex}function UX(t){return t.dim+t.index}function XX(t,e){var n=[];return e.eachSeriesByType(t,(function(t){QX(t)&&n.push(t)})),n}function qX(t){var e=function(t){var e={};eI(t,(function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var r=t.getData(),i=n.dim+"_"+n.index,a=r.getDimensionIndex(r.mapDimension(n.dim)),o=r.getStore(),s=0,u=o.count();s<u;++s){var c=o.get(a,s);e[i]?e[i].push(c):e[i]=[c]}}));var n={};for(var r in e)if(e.hasOwnProperty(r)){var i=e[r];if(i){i.sort((function(t,e){return t-e}));for(var a=null,o=1;o<i.length;++o){var s=i[o]-i[o-1];s>0&&(a=null===a?s:Math.min(a,s))}n[r]=a}}return n}(t),n=[];return eI(t,(function(t){var r,i=t.coordinateSystem.getBaseAxis(),a=i.getExtent();if("category"===i.type)r=i.getBandWidth();else if("value"===i.type||"time"===i.type){var o=i.dim+"_"+i.index,s=e[o],u=Math.abs(a[1]-a[0]),c=i.scale.getExtent(),l=Math.abs(c[1]-c[0]);r=s?u/l*s:u}else{var h=t.getData();r=Math.abs(a[1]-a[0])/h.count()}var f=cE(t.get("barWidth"),r),d=cE(t.get("barMaxWidth"),r),p=cE(t.get("barMinWidth")||(JX(t)?.5:1),r),g=t.get("barGap"),b=t.get("barCategoryGap");n.push({bandWidth:r,barWidth:f,barMaxWidth:d,barMinWidth:p,barGap:g,barCategoryGap:b,axisKey:UX(i),stackId:GX(t)})})),YX(n)}function YX(t){var e={};eI(t,(function(t,n){var r=t.axisKey,i=t.bandWidth,a=e[r]||{bandWidth:i,remainedWidth:i,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},o=a.stacks;e[r]=a;var s=t.stackId;o[s]||a.autoWidthCount++,o[s]=o[s]||{width:0,maxWidth:0};var u=t.barWidth;u&&!o[s].width&&(o[s].width=u,u=Math.min(a.remainedWidth,u),a.remainedWidth-=u);var c=t.barMaxWidth;c&&(o[s].maxWidth=c);var l=t.barMinWidth;l&&(o[s].minWidth=l);var h=t.barGap;null!=h&&(a.gap=h);var f=t.barCategoryGap;null!=f&&(a.categoryGap=f)}));var n={};return eI(e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,a=t.categoryGap;if(null==a){var o=aI(r).length;a=Math.max(35-4*o,15)+"%"}var s=cE(a,i),u=cE(t.gap,1),c=t.remainedWidth,l=t.autoWidthCount,h=(c-s)/(l+(l-1)*u);h=Math.max(h,0),eI(r,(function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){r=t.width;e&&(r=Math.min(r,e)),n&&(r=Math.max(r,n)),t.width=r,c-=r+u*r,l--}else{var r=h;e&&e<r&&(r=Math.min(e,c)),n&&n>r&&(r=n),r!==h&&(t.width=r,c-=r+u*r,l--)}})),h=(c-s)/(l+(l-1)*u),h=Math.max(h,0);var f,d=0;eI(r,(function(t,e){t.width||(t.width=h),f=t,d+=t.width*(1+u)})),f&&(d-=f.width*u);var p=-d/2;eI(r,(function(t,r){n[e][r]=n[e][r]||{bandWidth:i,offset:p,width:t.width},p+=t.width*(1+u)}))})),n}function KX(t,e){var n=XX(t,e),r=qX(n);eI(n,(function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=GX(t),a=r[UX(n)][i],o=a.offset,s=a.width;e.setLayout({bandWidth:a.bandWidth,offset:o,size:s})}))}function ZX(t){return{seriesType:t,plan:cB(),reset:function(t){if(QX(t)){var e=t.getData(),n=t.coordinateSystem,r=n.getBaseAxis(),i=n.getOtherAxis(r),a=e.getDimensionIndex(e.mapDimension(i.dim)),o=e.getDimensionIndex(e.mapDimension(r.dim)),s=t.get("showBackground",!0),u=e.mapDimension(i.dim),c=e.getCalculationInfo("stackResultDimension"),l=KU(e,u)&&!!e.getCalculationInfo("stackedOnSeries"),h=i.isHorizontal(),f=function(t,e){return e.toGlobalCoord(e.dataToCoord("log"===e.type?1:0))}(0,i),d=JX(t),p=t.get("barMinHeight")||0,g=c&&e.getDimensionIndex(c),b=e.getLayout("size"),v=e.getLayout("offset");return{progress:function(t,e){for(var r,i=t.count,u=d&&gX(3*i),c=d&&s&&gX(3*i),m=d&&gX(i),y=n.master.getRect(),w=h?y.width:y.height,x=e.getStore(),_=0;null!=(r=t.next());){var S=x.get(l?g:a,r),k=x.get(o,r),I=f,M=void 0;l&&(M=+S-x.get(a,r));var C=void 0,T=void 0,A=void 0,E=void 0;if(h){var P=n.dataToPoint([S,k]);if(l)I=n.dataToPoint([M,k])[0];C=I,T=P[1]+v,A=P[0]-I,E=b,Math.abs(A)<p&&(A=(A<0?-1:1)*p)}else{P=n.dataToPoint([k,S]);if(l)I=n.dataToPoint([k,M])[1];C=P[0]+v,T=I,A=b,E=P[1]-I,Math.abs(E)<p&&(E=(E<=0?-1:1)*p)}d?(u[_]=C,u[_+1]=T,u[_+2]=h?A:E,c&&(c[_]=h?y.x:C,c[_+1]=h?T:y.y,c[_+2]=w),m[r]=r):e.setItemLayout(r,{x:C,y:T,width:A,height:E}),_+=3}d&&e.setLayout({largePoints:u,largeDataIndices:m,largeBackgroundPoints:c,valueAxisHorizontal:h})}}}}}}function QX(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function JX(t){return t.pipelineContext&&t.pipelineContext.large}var tq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return QU(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var i=r.clampData(t),a=r.dataToPoint(i);if(n)eI(r.getAxes(),(function(t,n){if("category"===t.type&&null!=e){var r=t.getTicksCoords(),o=i[n],s="x1"===e[n]||"y1"===e[n];if(s&&(o+=1),r.length<2)return;if(2===r.length)return void(a[n]=t.toGlobalCoord(t.getExtent()[s?1:0]));for(var u=void 0,c=void 0,l=1,h=0;h<r.length;h++){var f=r[h].coord,d=h===r.length-1?r[h-1].tickValue+l:r[h].tickValue;if(d===o){c=f;break}if(d<o)u=f;else if(null!=u&&d>o){c=(f+u)/2;break}1===h&&(l=d-r[0].tickValue)}null==c&&(u?u&&(c=r[r.length-1].coord):c=r[0].coord),a[n]=t.toGlobalCoord(c)}}));else{var o=this.getData(),s=o.getLayout("offset"),u=o.getLayout("size"),c=r.getBaseAxis().isHorizontal()?0:1;a[c]+=s+u/2}return a}return[NaN,NaN]},e.type="series.__base_bar__",e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,barMinHeight:0,barMinAngle:0,large:!1,largeThreshold:400,progressive:3e3,progressiveChunkMode:"mod"},e}(oB);oB.registerClass(tq);const eq=tq;const nq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.getInitialData=function(){return QU(null,this,{useEncodeDefaulter:!0,createInvertedIndices:!!this.get("realtimeSort",!0)||null})},e.prototype.getProgressive=function(){return!!this.get("large")&&this.get("progressive")},e.prototype.getProgressiveThreshold=function(){var t=this.get("progressiveThreshold"),e=this.get("largeThreshold");return e>t&&(t=e),t},e.prototype.brushSelector=function(t,e,n){return n.rect(e.getItemLayout(t))},e.type="series.bar",e.dependencies=["grid","polar"],e.defaultOption=aR(eq.defaultOption,{clip:!0,roundCap:!1,showBackground:!1,backgroundStyle:{color:"rgba(180, 180, 180, 0.2)",borderColor:null,borderWidth:0,borderType:"solid",borderRadius:0,shadowBlur:0,shadowColor:null,shadowOffsetX:0,shadowOffsetY:0,opacity:1},select:{itemStyle:{borderColor:"#212121"}},realtimeSort:!1}),e}(eq);var rq=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},iq=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new rq},e.prototype.buildPath=function(t,e){var n=e.cx,r=e.cy,i=Math.max(e.r0||0,0),a=Math.max(e.r,0),o=.5*(a-i),s=i+o,u=e.startAngle,c=e.endAngle,l=e.clockwise,h=2*Math.PI,f=l?c-u<h:u-c<h;f||(u=c-(l?h:-h));var d=Math.cos(u),p=Math.sin(u),g=Math.cos(c),b=Math.sin(c);f?(t.moveTo(d*i+n,p*i+r),t.arc(d*s+n,p*s+r,o,-Math.PI+u,u,!l)):t.moveTo(d*a+n,p*a+r),t.arc(n,r,a,u,c,!l),t.arc(g*s+n,b*s+r,o,c-2*Math.PI,c-Math.PI,!l),0!==i&&t.arc(n,r,i,c,u,l)},e}(zD);const aq=iq;function oq(t,e,n){return e*Math.sin(t)*(n?-1:1)}function sq(t,e,n){return e*Math.cos(t)*(n?1:-1)}function uq(t,e,n){var r=t.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;uI(r)||(r=[r,r,r,r]);var i=Math.abs(e.r||0-e.r0||0);return{cornerRadius:nI(r,(function(t){return VA(t,i)}))}}var cq=Math.max,lq=Math.min;var hq=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return Sk(e,t),e.prototype.render=function(t,e,n,r){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var i=t.get("coordinateSystem");("cartesian2d"===i||"polar"===i)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,r))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t,e,n,r){var i,a=this.group,o=t.getData(),s=this._data,u=t.coordinateSystem,c=u.getBaseAxis();"cartesian2d"===u.type?i=c.isHorizontal():"polar"===u.type&&(i="angle"===c.dim);var l=t.isAnimationEnabled()?t:null,h=function(t,e){var n=t.get("realtimeSort",!0),r=e.getBaseAxis();0;if(n&&"category"===r.type&&"cartesian2d"===e.type)return{baseAxis:r,otherAxis:e.getOtherAxis(r)}}(t,u);h&&this._enableRealtimeSort(h,o,n);var f=t.get("clip",!0)||h,d=function(t,e){var n=t.getArea&&t.getArea();if(CX(t,"cartesian2d")){var r=t.getBaseAxis();if("category"!==r.type||!r.onBand){var i=e.getLayout("bandWidth");r.isHorizontal()?(n.x-=i,n.width+=2*i):(n.y-=i,n.height+=2*i)}}return n}(u,o);a.removeClipPath();var p=t.get("roundCap",!0),g=t.get("showBackground",!0),b=t.getModel("backgroundStyle"),v=b.get("borderRadius")||0,m=[],y=this._backgroundEls,w=r&&r.isInitSort,x=r&&"changeAxisOrder"===r.type;function _(t){var e=yq[u.type](o,t),n=function(t,e,n){return new("polar"===t.type?ZB:eO)({shape:Mq(e,n,t),silent:!0,z2:0})}(u,i,e);return n.useStyle(b.getItemStyle()),"cartesian2d"===u.type?n.setShape("r",v):n.setShape("cornerRadius",v),m[t]=n,n}o.diff(s).add((function(e){var n=o.getItemModel(e),r=yq[u.type](o,e,n);if(g&&_(e),o.hasValue(e)&&mq[u.type](r)){var s=!1;f&&(s=fq[u.type](d,r));var b=dq[u.type](t,o,e,r,i,l,c.model,!1,p);h&&(b.forceLabelAnimation=!0),xq(b,o,e,n,r,t,i,"polar"===u.type),w?b.attr({shape:r}):h?pq(h,l,b,r,e,i,!1,!1):_L(b,{shape:r},t,e),o.setItemGraphicEl(e,b),a.add(b),b.ignore=s}})).update((function(e,n){var r=o.getItemModel(e),S=yq[u.type](o,e,r);if(g){var k=void 0;0===y.length?k=_(n):((k=y[n]).useStyle(b.getItemStyle()),"cartesian2d"===u.type?k.setShape("r",v):k.setShape("cornerRadius",v),m[e]=k);var I=yq[u.type](o,e);xL(k,{shape:Mq(i,I,u)},l,e)}var M=s.getItemGraphicEl(n);if(o.hasValue(e)&&mq[u.type](S)){var C=!1;if(f&&(C=fq[u.type](d,S))&&a.remove(M),M?CL(M):M=dq[u.type](t,o,e,S,i,l,c.model,!!M,p),h&&(M.forceLabelAnimation=!0),x){var T=M.getTextContent();if(T){var A=zL(T);null!=A.prevValue&&(A.prevValue=A.value)}}else xq(M,o,e,r,S,t,i,"polar"===u.type);w?M.attr({shape:S}):h?pq(h,l,M,S,e,i,!0,x):xL(M,{shape:S},t,e,null),o.setItemGraphicEl(e,M),M.ignore=C,a.add(M)}else a.remove(M)})).remove((function(e){var n=s.getItemGraphicEl(e);n&&ML(n,t,e)})).execute();var S=this._backgroundGroup||(this._backgroundGroup=new nE);S.removeAll();for(var k=0;k<m.length;++k)S.add(m[k]);a.add(S),this._backgroundEls=m,this._data=o},e.prototype._renderLarge=function(t,e,n){this._clear(),kq(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),kq(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&MX(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var r=this;if(e.count()){var i=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var a=function(t){var n=e.getItemGraphicEl(t),r=n&&n.shape;return r&&Math.abs(i.isHorizontal()?r.height:r.width)||0};this._onRendered=function(){r._updateSortWithinSameData(e,a,i,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var r=[];return t.each(t.mapDimension(e.dim),(function(t,e){var i=n(e);i=null==i?NaN:i,r.push({dataIndex:e,mappedValue:i,ordinalNumber:t})})),r.sort((function(t,e){return e.mappedValue-t.mappedValue})),{ordinalNumbers:nI(r,(function(t){return t.ordinalNumber}))}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var r=n.scale,i=t.mapDimension(n.dim),a=Number.MAX_VALUE,o=0,s=r.getOrdinalMeta().categories.length;o<s;++o){var u=t.rawIndexOf(i,r.getRawOrdinalNumber(o)),c=u<0?Number.MIN_VALUE:e(t.indexOfRawIndex(u));if(c>a)return!0;a=c}return!1},e.prototype._isOrderDifferentInView=function(t,e){for(var n=e.scale,r=n.getExtent(),i=Math.max(0,r[0]),a=Math.min(r[1],n.getOrdinalMeta().categories.length-1);i<=a;++i)if(t.ordinalNumbers[i]!==n.getRawOrdinalNumber(i))return!0},e.prototype._updateSortWithinSameData=function(t,e,n,r){if(this._isOrderChangedWithinSameData(t,e,n)){var i=this._dataSort(t,n,e);this._isOrderDifferentInView(i,n)&&(this._removeOnRenderedListener(r),r.dispatchAction({type:"changeAxisOrder",componentType:n.dim+"Axis",axisId:n.index,sortInfo:i}))}},e.prototype._dispatchInitSort=function(t,e,n){var r=e.baseAxis,i=this._dataSort(t,r,(function(n){return t.get(t.mapDimension(e.otherAxis.dim),n)}));n.dispatchAction({type:"changeAxisOrder",componentType:r.dim+"Axis",isInitSort:!0,axisId:r.index,sortInfo:i})},e.prototype.remove=function(t,e){this._clear(this._model),this._removeOnRenderedListener(e)},e.prototype.dispose=function(t,e){this._removeOnRenderedListener(e)},e.prototype._removeOnRenderedListener=function(t){this._onRendered&&(t.getZr().off("rendered",this._onRendered),this._onRendered=null)},e.prototype._clear=function(t){var e=this.group,n=this._data;t&&t.isAnimationEnabled()&&n&&!this._isLargeDraw?(this._removeBackground(),this._backgroundEls=[],n.eachItemGraphicEl((function(e){ML(e,t,mO(e).dataIndex)}))):e.removeAll(),this._data=null,this._isFirstFrame=!0},e.prototype._removeBackground=function(){this.group.remove(this._backgroundGroup),this._backgroundGroup=null},e.type="bar",e}(w$),fq={cartesian2d:function(t,e){var n=e.width<0?-1:1,r=e.height<0?-1:1;n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height);var i=t.x+t.width,a=t.y+t.height,o=cq(e.x,t.x),s=lq(e.x+e.width,i),u=cq(e.y,t.y),c=lq(e.y+e.height,a),l=s<o,h=c<u;return e.x=l&&o>i?s:o,e.y=h&&u>a?c:u,e.width=l?0:s-o,e.height=h?0:c-u,n<0&&(e.x+=e.width,e.width=-e.width),r<0&&(e.y+=e.height,e.height=-e.height),l||h},polar:function(t,e){var n=e.r0<=e.r?1:-1;if(n<0){var r=e.r;e.r=e.r0,e.r0=r}var i=lq(e.r,t.r),a=cq(e.r0,t.r0);e.r=i,e.r0=a;var o=i-a<0;if(n<0){r=e.r;e.r=e.r0,e.r0=r}return o}},dq={cartesian2d:function(t,e,n,r,i,a,o,s,u){var c=new eO({shape:Kk({},r),z2:1});(c.__dataIndex=n,c.name="item",a)&&(c.shape[i?"height":"width"]=0);return c},polar:function(t,e,n,r,i,a,o,s,u){var c=!i&&u?aq:ZB,l=new c({shape:r,z2:1});l.name="item";var h,f,d=wq(i);if(l.calculateTextPosition=(h=d,f=({isRoundCap:c===aq}||{}).isRoundCap,function(t,e,n){var r=e.position;if(!r||r instanceof Array)return HA(t,e,n);var i=h(r),a=null!=e.distance?e.distance:5,o=this.shape,s=o.cx,u=o.cy,c=o.r,l=o.r0,d=(c+l)/2,p=o.startAngle,g=o.endAngle,b=(p+g)/2,v=f?Math.abs(c-l)/2:0,m=Math.cos,y=Math.sin,w=s+c*m(p),x=u+c*y(p),_="left",S="top";switch(i){case"startArc":w=s+(l-a)*m(b),x=u+(l-a)*y(b),_="center",S="top";break;case"insideStartArc":w=s+(l+a)*m(b),x=u+(l+a)*y(b),_="center",S="bottom";break;case"startAngle":w=s+d*m(p)+oq(p,a+v,!1),x=u+d*y(p)+sq(p,a+v,!1),_="right",S="middle";break;case"insideStartAngle":w=s+d*m(p)+oq(p,-a+v,!1),x=u+d*y(p)+sq(p,-a+v,!1),_="left",S="middle";break;case"middle":w=s+d*m(b),x=u+d*y(b),_="center",S="middle";break;case"endArc":w=s+(c+a)*m(b),x=u+(c+a)*y(b),_="center",S="bottom";break;case"insideEndArc":w=s+(c-a)*m(b),x=u+(c-a)*y(b),_="center",S="top";break;case"endAngle":w=s+d*m(g)+oq(g,a+v,!0),x=u+d*y(g)+sq(g,a+v,!0),_="left",S="middle";break;case"insideEndAngle":w=s+d*m(g)+oq(g,-a+v,!0),x=u+d*y(g)+sq(g,-a+v,!0),_="right",S="middle";break;default:return HA(t,e,n)}return(t=t||{}).x=w,t.y=x,t.align=_,t.verticalAlign=S,t}),a){var p=i?"r":"endAngle",g={};l.shape[p]=i?r.r0:r.startAngle,g[p]=r[p],(s?xL:_L)(l,{shape:g},a)}return l}};function pq(t,e,n,r,i,a,o,s){var u,c;a?(c={x:r.x,width:r.width},u={y:r.y,height:r.height}):(c={y:r.y,height:r.height},u={x:r.x,width:r.width}),s||(o?xL:_L)(n,{shape:u},e,i,null),(o?xL:_L)(n,{shape:c},e?t.baseAxis.model:null,i)}function gq(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var bq=["x","y","width","height"],vq=["cx","cy","r","startAngle","endAngle"],mq={cartesian2d:function(t){return!gq(t,bq)},polar:function(t){return!gq(t,vq)}},yq={cartesian2d:function(t,e,n){var r=t.getItemLayout(e),i=n?function(t,e){var n=t.get(["itemStyle","borderColor"]);if(!n||"none"===n)return 0;var r=t.get(["itemStyle","borderWidth"])||0,i=isNaN(e.width)?Number.MAX_VALUE:Math.abs(e.width),a=isNaN(e.height)?Number.MAX_VALUE:Math.abs(e.height);return Math.min(r,i,a)}(n,r):0,a=r.width>0?1:-1,o=r.height>0?1:-1;return{x:r.x+a*i/2,y:r.y+o*i/2,width:r.width-a*i,height:r.height-o*i}},polar:function(t,e,n){var r=t.getItemLayout(e);return{cx:r.cx,cy:r.cy,r0:r.r0,r:r.r,startAngle:r.startAngle,endAngle:r.endAngle,clockwise:r.clockwise}}};function wq(t){return function(t){var e=t?"Arc":"Angle";return function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}(t)}function xq(t,e,n,r,i,a,o,s){var u=e.getItemVisual(n,"style");if(s){if(!a.get("roundCap")){var c=t.shape;Kk(c,uq(r.getModel("itemStyle"),c,!0)),t.setShape(c)}}else{var l=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",l)}t.useStyle(u);var h=r.getShallow("cursor");h&&t.attr("cursor",h);var f=s?o?i.r>=i.r0?"endArc":"startArc":i.endAngle>=i.startAngle?"endAngle":"startAngle":o?i.height>=0?"bottom":"top":i.width>=0?"right":"left",d=DL(r);PL(t,d,{labelFetcher:a,labelDataIndex:n,defaultText:eX(a.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var p=t.getTextContent();if(s&&p){var g=r.get(["label","position"]);t.textConfig.inside="middle"===g||null,function(t,e,n,r){if(fI(r))t.setTextConfig({rotation:r});else if(uI(e))t.setTextConfig({rotation:0});else{var i,a=t.shape,o=a.clockwise?a.startAngle:a.endAngle,s=a.clockwise?a.endAngle:a.startAngle,u=(o+s)/2,c=n(e);switch(c){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":i=u;break;case"startAngle":case"insideStartAngle":i=o;break;case"endAngle":case"insideEndAngle":i=s;break;default:return void t.setTextConfig({rotation:0})}var l=1.5*Math.PI-i;"middle"===c&&l>Math.PI/2&&l<1.5*Math.PI&&(l-=Math.PI),t.setTextConfig({rotation:l})}}(t,"outside"===g?f:g,wq(o),r.get(["label","rotate"]))}$L(p,d,a.getRawValue(n),(function(t){return nX(e,t)}));var b=r.getModel(["emphasis"]);cL(t,b.get("focus"),b.get("blurScope"),b.get("disabled")),dL(t,r),function(t){return null!=t.startAngle&&null!=t.endAngle&&t.startAngle===t.endAngle}(i)&&(t.style.fill="none",t.style.stroke="none",eI(t.states,(function(t){t.style&&(t.style.fill=t.style.stroke="none")})))}var _q=function(){},Sq=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new _q},e.prototype.buildPath=function(t,e){for(var n=e.points,r=this.baseDimIdx,i=1-this.baseDimIdx,a=[],o=[],s=this.barWidth,u=0;u<n.length;u+=3)o[r]=s,o[i]=n[u+2],a[r]=n[u+r],a[i]=n[u+i],t.rect(a[0],a[1],o[0],o[1])},e}(zD);function kq(t,e,n,r){var i=t.getData(),a=i.getLayout("valueAxisHorizontal")?1:0,o=i.getLayout("largeDataIndices"),s=i.getLayout("size"),u=t.getModel("backgroundStyle"),c=i.getLayout("largeBackgroundPoints");if(c){var l=new Sq({shape:{points:c},incremental:!!r,silent:!0,z2:0});l.baseDimIdx=a,l.largeDataIndices=o,l.barWidth=s,l.useStyle(u.getItemStyle()),e.add(l),n&&n.push(l)}var h=new Sq({shape:{points:i.getLayout("largePoints")},incremental:!!r,ignoreCoarsePointer:!0,z2:1});h.baseDimIdx=a,h.largeDataIndices=o,h.barWidth=s,e.add(h),h.useStyle(i.getVisual("style")),mO(h).seriesIndex=t.seriesIndex,t.get("silent")||(h.on("mousedown",Iq),h.on("mousemove",Iq)),n&&n.push(h)}var Iq=k$((function(t){var e=function(t,e,n){for(var r=t.baseDimIdx,i=1-r,a=t.shape.points,o=t.largeDataIndices,s=[],u=[],c=t.barWidth,l=0,h=a.length/3;l<h;l++){var f=3*l;if(u[r]=c,u[i]=a[f+2],s[r]=a[f+r],s[i]=a[f+i],u[i]<0&&(s[i]+=u[i],u[i]=-u[i]),e>=s[0]&&e<=s[0]+u[0]&&n>=s[1]&&n<=s[1]+u[1])return o[l]}return-1}(this,t.offsetX,t.offsetY);mO(this).dataIndex=e>=0?e:null}),30,!1);function Mq(t,e,n){if(CX(n,"cartesian2d")){var r=e,i=n.getArea();return{x:t?r.x:i.x,y:t?i.y:r.y,width:t?r.width:i.width,height:t?i.height:r.height}}var a=e;return{cx:(i=n.getArea()).cx,cy:i.cy,r0:t?i.r0:a.r0,r:t?i.r:a.r,startAngle:t?a.startAngle:0,endAngle:t?a.endAngle:2*Math.PI}}const Cq=hq;var Tq=2*Math.PI,Aq=Math.PI/180;function Eq(t,e){return iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}function Pq(t,e){var n=Eq(t,e),r=t.get("center"),i=t.get("radius");uI(i)||(i=[0,i]);var a,o,s=cE(n.width,e.getWidth()),u=cE(n.height,e.getHeight()),c=Math.min(s,u),l=cE(i[0],c/2),h=cE(i[1],c/2),f=t.coordinateSystem;if(f){var d=f.dataToPoint(r);a=d[0]||0,o=d[1]||0}else uI(r)||(r=[r,r]),a=cE(r[0],s)+n.x,o=cE(r[1],u)+n.y;return{cx:a,cy:o,r0:l,r:h}}function Dq(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.getData(),r=e.mapDimension("value"),i=Eq(t,n),a=Pq(t,n),o=a.cx,s=a.cy,u=a.r,c=a.r0,l=-t.get("startAngle")*Aq,h=t.get("minAngle")*Aq,f=0;e.each(r,(function(t){!isNaN(t)&&f++}));var d=e.getSum(r),p=Math.PI/(d||f)*2,g=t.get("clockwise"),b=t.get("roseType"),v=t.get("stillShowZeroSum"),m=e.getDataExtent(r);m[0]=0;var y=Tq,w=0,x=l,_=g?1:-1;if(e.setLayout({viewRect:i,r:u}),e.each(r,(function(t,n){var r;if(isNaN(t))e.setItemLayout(n,{angle:NaN,startAngle:NaN,endAngle:NaN,clockwise:g,cx:o,cy:s,r0:c,r:b?NaN:u});else{(r="area"!==b?0===d&&v?p:t*p:Tq/f)<h?(r=h,y-=h):w+=t;var i=x+_*r;e.setItemLayout(n,{angle:r,startAngle:x,endAngle:i,clockwise:g,cx:o,cy:s,r0:c,r:b?uE(t,m,[c,u]):u}),x=i}})),y<Tq&&f)if(y<=.001){var S=Tq/f;e.each(r,(function(t,n){if(!isNaN(t)){var r=e.getItemLayout(n);r.angle=S,r.startAngle=l+_*n*S,r.endAngle=l+_*(n+1)*S}}))}else p=y/w,x=l,e.each(r,(function(t,n){if(!isNaN(t)){var r=e.getItemLayout(n),i=r.angle===h?h:t*p;r.startAngle=x,r.endAngle=x+_*i,x+=_*i}}))}))}function Oq(t){return{seriesType:t,reset:function(t,e){var n=e.findComponents({mainType:"legend"});if(n&&n.length){var r=t.getData();r.filterSelf((function(t){for(var e=r.getName(t),i=0;i<n.length;i++)if(!n[i].isSelected(e))return!1;return!0}))}}}}var Lq=Math.PI/180;function Rq(t,e,n,r,i,a,o,s,u,c){if(!(t.length<2)){for(var l=t.length,h=0;h<l;h++)if("outer"===t[h].position&&"labelLine"===t[h].labelAlignTo){var f=t[h].label.x-c;t[h].linePoints[1][0]+=f,t[h].label.x=c}FW(t,u,u+o)&&function(t){for(var a={list:[],maxY:0},o={list:[],maxY:0},s=0;s<t.length;s++)if("none"===t[s].labelAlignTo){var u=t[s],c=u.label.y>n?o:a,l=Math.abs(u.label.y-n);if(l>=c.maxY){var h=u.label.x-e-u.len2*i,f=r+u.len,p=Math.abs(h)<f?Math.sqrt(l*l/(1-h*h/f/f)):f;c.rB=p,c.maxY=l}c.list.push(u)}d(a),d(o)}(t)}function d(t){for(var a=t.rB,o=a*a,s=0;s<t.list.length;s++){var u=t.list[s],c=Math.abs(u.label.y-n),l=r+u.len,h=l*l,f=Math.sqrt((1-Math.abs(c*c/o))*h),d=e+(f+u.len2)*i,p=d-u.label.x;Nq(u,u.targetTextWidth-p*i,!0),u.label.x=d}}}function Nq(t,e,n){if(void 0===n&&(n=!1),null==t.labelStyleWidth){var r=t.label,i=r.style,a=t.rect,o=i.backgroundColor,s=i.padding,u=s?s[1]+s[3]:0,c=i.overflow,l=a.width+(o?0:u);if(e<l||n){var h=a.height;if(c&&c.match("break")){r.setStyle("backgroundColor",null),r.setStyle("width",e-u);var f=r.getBoundingRect();r.setStyle("width",Math.ceil(f.width)),r.setStyle("backgroundColor",o)}else{var d=e-u,p=e<l?d:n?d>t.unconstrainedWidth?null:d:null;r.setStyle("width",p)}var g=r.getBoundingRect();a.width=g.width;var b=(r.style.margin||0)+2.1;a.height=g.height+b,a.y-=(a.height-h)/2}}}function jq(t){return"center"===t.position}function Fq(t){var e,n,r=t.getData(),i=[],a=!1,o=(t.get("minShowLabelAngle")||0)*Lq,s=r.getLayout("viewRect"),u=r.getLayout("r"),c=s.width,l=s.x,h=s.y,f=s.height;function d(t){t.ignore=!0}r.each((function(t){var s=r.getItemGraphicEl(t),h=s.shape,f=s.getTextContent(),p=s.getTextGuideLine(),g=r.getItemModel(t),b=g.getModel("label"),v=b.get("position")||g.get(["emphasis","label","position"]),m=b.get("distanceToLabelLine"),y=b.get("alignTo"),w=cE(b.get("edgeDistance"),c),x=b.get("bleedMargin"),_=g.getModel("labelLine"),S=_.get("length");S=cE(S,c);var k=_.get("length2");if(k=cE(k,c),Math.abs(h.endAngle-h.startAngle)<o)return eI(f.states,d),f.ignore=!0,void(p&&(eI(p.states,d),p.ignore=!0));if(function(t){if(!t.ignore)return!0;for(var e in t.states)if(!1===t.states[e].ignore)return!0;return!1}(f)){var I,M,C,T,A=(h.startAngle+h.endAngle)/2,E=Math.cos(A),P=Math.sin(A);e=h.cx,n=h.cy;var D="inside"===v||"inner"===v;if("center"===v)I=h.cx,M=h.cy,T="center";else{var O=(D?(h.r+h.r0)/2*E:h.r*E)+e,L=(D?(h.r+h.r0)/2*P:h.r*P)+n;if(I=O+3*E,M=L+3*P,!D){var R=O+E*(S+u-h.r),N=L+P*(S+u-h.r),j=R+(E<0?-1:1)*k;I="edge"===y?E<0?l+w:l+c-w:j+(E<0?-m:m),M=N,C=[[O,L],[R,N],[j,N]]}T=D?"center":"edge"===y?E>0?"right":"left":E>0?"left":"right"}var F=Math.PI,B=0,z=b.get("rotate");if(fI(z))B=z*(F/180);else if("center"===v)B=0;else if("radial"===z||!0===z){B=E<0?-A+F:-A}else if("tangential"===z&&"outside"!==v&&"outer"!==v){var $=Math.atan2(E,P);$<0&&($=2*F+$),P>0&&($=F+$),B=$-F}if(a=!!B,f.x=I,f.y=M,f.rotation=B,f.setStyle({verticalAlign:"middle"}),D){f.setStyle({align:T});var V=f.states.select;V&&(V.x+=f.x,V.y+=f.y)}else{var H=f.getBoundingRect().clone();H.applyTransform(f.getComputedTransform());var W=(f.style.margin||0)+2.1;H.y-=W/2,H.height+=W,i.push({label:f,labelLine:p,position:v,len:S,len2:k,minTurnAngle:_.get("minTurnAngle"),maxSurfaceAngle:_.get("maxSurfaceAngle"),surfaceNormal:new zM(E,P),linePoints:C,textAlign:T,labelDistance:m,labelAlignTo:y,edgeDistance:w,bleedMargin:x,rect:H,unconstrainedWidth:H.width,labelStyleWidth:f.style.width})}s.setTextConfig({inside:D})}})),!a&&t.get("avoidLabelOverlap")&&function(t,e,n,r,i,a,o,s){for(var u=[],c=[],l=Number.MAX_VALUE,h=-Number.MAX_VALUE,f=0;f<t.length;f++){var d=t[f].label;jq(t[f])||(d.x<e?(l=Math.min(l,d.x),u.push(t[f])):(h=Math.max(h,d.x),c.push(t[f])))}for(f=0;f<t.length;f++)if(!jq(b=t[f])&&b.linePoints){if(null!=b.labelStyleWidth)continue;d=b.label;var p=b.linePoints,g=void 0;g="edge"===b.labelAlignTo?d.x<e?p[2][0]-b.labelDistance-o-b.edgeDistance:o+i-b.edgeDistance-p[2][0]-b.labelDistance:"labelLine"===b.labelAlignTo?d.x<e?l-o-b.bleedMargin:o+i-h-b.bleedMargin:d.x<e?d.x-o-b.bleedMargin:o+i-d.x-b.bleedMargin,b.targetTextWidth=g,Nq(b,g)}for(Rq(c,e,n,r,1,0,a,0,s,h),Rq(u,e,n,r,-1,0,a,0,s,l),f=0;f<t.length;f++){var b;if(!jq(b=t[f])&&b.linePoints){d=b.label,p=b.linePoints;var v="edge"===b.labelAlignTo,m=d.style.padding,y=m?m[1]+m[3]:0,w=d.style.backgroundColor?0:y,x=b.rect.width+w,_=p[1][0]-p[2][0];v?d.x<e?p[2][0]=o+b.edgeDistance+x+b.labelDistance:p[2][0]=o+i-b.edgeDistance-x-b.labelDistance:(d.x<e?p[2][0]=d.x+b.labelDistance:p[2][0]=d.x-b.labelDistance,p[1][0]=p[2][0]+_),p[1][1]=p[2][1]=d.y}}}(i,e,n,u,c,f,l,h);for(var p=0;p<i.length;p++){var g=i[p],b=g.label,v=g.labelLine,m=isNaN(b.x)||isNaN(b.y);if(b){b.setStyle({align:g.textAlign}),m&&(eI(b.states,d),b.ignore=!0);var y=b.states.select;y&&(y.x+=b.x,y.y+=b.y)}if(v){var w=g.linePoints;m||!w?(eI(v.states,d),v.ignore=!0):(EW(w,g.minTurnAngle),PW(w,g.surfaceNormal,g.maxSurfaceAngle),v.setShape({points:w}),b.__hostTarget.textGuideLineConfig={anchor:new zM(w[0][0],w[0][1])})}}}var Bq=function(t){function e(e,n,r){var i=t.call(this)||this;i.z2=2;var a=new vO;return i.setTextContent(a),i.updateData(e,n,r,!0),i}return Sk(e,t),e.prototype.updateData=function(t,e,n,r){var i=this,a=t.hostModel,o=t.getItemModel(e),s=o.getModel("emphasis"),u=t.getItemLayout(e),c=Kk(uq(o.getModel("itemStyle"),u,!0),u);if(isNaN(c.startAngle))i.setShape(c);else{if(r){i.setShape(c);var l=a.getShallow("animationType");a.ecModel.ssr?(_L(i,{scaleX:0,scaleY:0},a,{dataIndex:e,isFrom:!0}),i.originX=c.cx,i.originY=c.cy):"scale"===l?(i.shape.r=u.r0,_L(i,{shape:{r:u.r}},a,e)):null!=n?(i.setShape({startAngle:n,endAngle:n}),_L(i,{shape:{startAngle:u.startAngle,endAngle:u.endAngle}},a,e)):(i.shape.endAngle=u.startAngle,xL(i,{shape:{endAngle:u.endAngle}},a,e))}else CL(i),xL(i,{shape:c},a,e);i.useStyle(t.getItemVisual(e,"style")),dL(i,o);var h=(u.startAngle+u.endAngle)/2,f=a.get("selectedOffset"),d=Math.cos(h)*f,p=Math.sin(h)*f,g=o.getShallow("cursor");g&&i.attr("cursor",g),this._updateLabel(a,t,e),i.ensureState("emphasis").shape=Kk({r:u.r+(s.get("scale")&&s.get("scaleSize")||0)},uq(s.getModel("itemStyle"),u)),Kk(i.ensureState("select"),{x:d,y:p,shape:uq(o.getModel(["select","itemStyle"]),u)}),Kk(i.ensureState("blur"),{shape:uq(o.getModel(["blur","itemStyle"]),u)});var b=i.getTextGuideLine(),v=i.getTextContent();b&&Kk(b.ensureState("select"),{x:d,y:p}),Kk(v.ensureState("select"),{x:d,y:p}),cL(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))}},e.prototype._updateLabel=function(t,e,n){var r=this,i=e.getItemModel(n),a=i.getModel("labelLine"),o=e.getItemVisual(n,"style"),s=o&&o.fill,u=o&&o.opacity;PL(r,DL(i),{labelFetcher:e.hostModel,labelDataIndex:n,inheritColor:s,defaultOpacity:u,defaultText:t.getFormattedLabel(n,"normal")||e.getName(n)});var c=r.getTextContent();r.setTextConfig({position:null,rotation:null}),c.attr({z2:10});var l=t.get(["label","position"]);if("outside"!==l&&"outer"!==l)r.removeTextGuideLine();else{var h=this.getTextGuideLine();h||(h=new sz,this.setTextGuideLine(h)),LW(this,RW(i),{stroke:s,opacity:xI(a.get(["lineStyle","opacity"]),u,1)})}},e}(ZB);const zq=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.ignoreLabelLineUpdate=!0,e}return Sk(e,t),e.prototype.render=function(t,e,n,r){var i,a=t.getData(),o=this._data,s=this.group;if(!o&&a.count()>0){for(var u=a.getItemLayout(0),c=1;isNaN(u&&u.startAngle)&&c<a.count();++c)u=a.getItemLayout(c);u&&(i=u.startAngle)}if(this._emptyCircleSector&&s.remove(this._emptyCircleSector),0===a.count()&&t.get("showEmptyCircle")){var l=new ZB({shape:Pq(t,n)});l.useStyle(t.getModel("emptyCircleStyle").getItemStyle()),this._emptyCircleSector=l,s.add(l)}a.diff(o).add((function(t){var e=new Bq(a,t,i);a.setItemGraphicEl(t,e),s.add(e)})).update((function(t,e){var n=o.getItemGraphicEl(e);n.updateData(a,t,i),n.off("click"),s.add(n),a.setItemGraphicEl(t,n)})).remove((function(e){ML(o.getItemGraphicEl(e),t,e)})).execute(),Fq(t),"expansion"!==t.get("animationTypeUpdate")&&(this._data=a)},e.prototype.dispose=function(){},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,a=Math.sqrt(r*r+i*i);return a<=n.r&&a>=n.r0}},e.type="pie",e}(w$);function $q(t,e,n){e=uI(e)&&{coordDimensions:e}||Kk({encodeDefine:t.getEncode()},e);var r=t.getSource(),i=WU(r,e).dimensions,a=new HU(i,t);return a.initData(r,n),a}var Vq=function(){function t(t,e){this._getDataWithEncodedVisual=t,this._getRawData=e}return t.prototype.getAllNames=function(){var t=this._getRawData();return t.mapArray(t.getName)},t.prototype.containName=function(t){return this._getRawData().indexOfName(t)>=0},t.prototype.indexOfName=function(t){return this._getDataWithEncodedVisual().indexOfName(t)},t.prototype.getItemVisual=function(t,e){return this._getDataWithEncodedVisual().getItemVisual(t,e)},t}();const Hq=Vq;var Wq=GE();const Gq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hq(oI(this.getData,this),oI(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.mergeOption=function(){t.prototype.mergeOption.apply(this,arguments)},e.prototype.getInitialData=function(){return $q(this,{coordDimensions:["value"],encodeDefaulter:sI(EN,this)})},e.prototype.getDataParams=function(e){var n=this.getData(),r=Wq(n),i=r.seats;if(!i){var a=[];n.each(n.mapDimension("value"),(function(t){a.push(t)})),i=r.seats=pE(a,n.hostModel.get("percentPrecision"))}var o=t.prototype.getDataParams.call(this,e);return o.percent=i[e]||0,o.$vars.push("percent"),o},e.prototype._defaultLabelLine=function(t){LE(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.type="series.pie",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,minShowLabelAngle:0,selectedOffset:10,percentPrecision:2,stillShowZeroSum:!0,left:0,top:0,right:0,bottom:0,width:null,height:null,label:{rotate:0,show:!0,overflow:"truncate",position:"outer",alignTo:"none",edgeDistance:"25%",bleedMargin:10,distanceToLabelLine:5},labelLine:{show:!0,length:15,length2:15,smooth:!1,minTurnAngle:90,maxSurfaceAngle:90,lineStyle:{width:1,type:"solid"}},itemStyle:{borderWidth:1,borderJoin:"round"},showEmptyCircle:!0,emptyCircleStyle:{color:"lightgray",opacity:1},labelLayout:{hideOverlap:!0},emphasis:{scale:!0,scaleSize:5},avoidLabelOverlap:!0,animationType:"expansion",animationDuration:1e3,animationTypeUpdate:"transition",animationEasingUpdate:"cubicInOut",animationDurationUpdate:500,animationEasing:"cubicInOut"},e}(oB);const Uq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return QU(null,this,{useEncodeDefaulter:!0})},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?5e3:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?1e4:this.get("progressiveThreshold"):t},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.prototype.getZLevelKey=function(){return this.getData().count()>this.getProgressiveThreshold()?this.id:""},e.type="series.scatter",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,symbolSize:10,large:!1,largeThreshold:2e3,itemStyle:{opacity:.8},emphasis:{scale:!0},clip:!0,select:{itemStyle:{borderColor:"#212121"}},universalTransition:{divideShape:"clone"}},e}(oB);var Xq=function(){},qq=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new Xq},e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.buildPath=function(t,e){var n,r=e.points,i=e.size,a=this.symbolProxy,o=a.shape,s=t.getContext?t.getContext():t,u=s&&i[0]<4,c=this.softClipShape;if(u)this._ctx=s;else{for(this._ctx=null,n=this._off;n<r.length;){var l=r[n++],h=r[n++];isNaN(l)||isNaN(h)||(c&&!c.contain(l,h)||(o.x=l-i[0]/2,o.y=h-i[1]/2,o.width=i[0],o.height=i[1],a.buildPath(t,o,!0)))}this.incremental&&(this._off=n,this.notClear=!0)}},e.prototype.afterBrush=function(){var t,e=this.shape,n=e.points,r=e.size,i=this._ctx,a=this.softClipShape;if(i){for(t=this._off;t<n.length;){var o=n[t++],s=n[t++];isNaN(o)||isNaN(s)||(a&&!a.contain(o,s)||i.fillRect(o-r[0]/2,s-r[1]/2,r[0],r[1]))}this.incremental&&(this._off=t,this.notClear=!0)}},e.prototype.findDataIndex=function(t,e){for(var n=this.shape,r=n.points,i=n.size,a=Math.max(i[0],4),o=Math.max(i[1],4),s=r.length/2-1;s>=0;s--){var u=2*s,c=r[u]-a/2,l=r[u+1]-o/2;if(t>=c&&e>=l&&t<=c+a&&e<=l+o)return s}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape,n=e.points,r=e.size,i=r[0],a=r[1],o=1/0,s=1/0,u=-1/0,c=-1/0,l=0;l<n.length;){var h=n[l++],f=n[l++];o=Math.min(h,o),u=Math.max(h,u),s=Math.min(f,s),c=Math.max(f,c)}t=this._rect=new KM(o-i/2,s-a/2,u-o+i,c-s+a)}return t},e}(zD),Yq=function(){function t(){this.group=new nE}return t.prototype.updateData=function(t,e){this._clear();var n=this._create();n.setShape({points:t.getLayout("points")}),this._setCommon(n,t,e)},t.prototype.updateLayout=function(t){var e=t.getLayout("points");this.group.eachChild((function(t){if(null!=t.startIndex){var n=2*(t.endIndex-t.startIndex),r=4*t.startIndex*2;e=new Float32Array(e.buffer,r,n)}t.setShape("points",e),t.reset()}))},t.prototype.incrementalPrepareUpdate=function(t){this._clear()},t.prototype.incrementalUpdate=function(t,e,n){var r=this._newAdded[0],i=e.getLayout("points"),a=r&&r.shape.points;if(a&&a.length<2e4){var o=a.length,s=new Float32Array(o+i.length);s.set(a),s.set(i,o),r.endIndex=t.end,r.setShape({points:s})}else{this._newAdded=[];var u=this._create();u.startIndex=t.start,u.endIndex=t.end,u.incremental=!0,u.setShape({points:i}),this._setCommon(u,e,n)}},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new qq({cursor:"default"});return t.ignoreCoarsePointer=!0,this.group.add(t),this._newAdded.push(t),t},t.prototype._setCommon=function(t,e,n){var r=e.hostModel;n=n||{};var i=e.getVisual("symbolSize");t.setShape("size",i instanceof Array?i:[i,i]),t.softClipShape=n.clipShape||null,t.symbolProxy=EV(e.getVisual("symbol"),0,0,0,0),t.setColor=t.symbolProxy.setColor;var a=t.shape.size[0]<4;t.useStyle(r.getModel("itemStyle").getItemStyle(a?["color","shadowBlur","shadowColor"]:["color"]));var o=e.getVisual("style"),s=o&&o.fill;s&&t.setColor(s);var u=mO(t);u.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){u.dataIndex=null;var n=t.hoverDataIdx;n>=0&&(u.dataIndex=n+(t.startIndex||0))}))},t.prototype.remove=function(){this._clear()},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const Kq=Yq;var Zq=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).updateData(r,{clipShape:this._getClipShape(t)}),this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateSymbolDraw(r,t).incrementalPrepareUpdate(r),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._symbolDraw.incrementalUpdate(t,e.getData(),{clipShape:this._getClipShape(e)}),this._finished=t.end===e.getData().count()},e.prototype.updateTransform=function(t,e,n){var r=t.getData();if(this.group.dirty(),!this._finished||r.count()>1e4)return{update:!0};var i=zX("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout(r)},e.prototype.eachRendered=function(t){this._symbolDraw&&this._symbolDraw.eachRendered(t)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype._updateSymbolDraw=function(t,e){var n=this._symbolDraw,r=e.pipelineContext.large;return n&&r===this._isLargeDraw||(n&&n.remove(),n=this._symbolDraw=r?new Kq:new lX,this._isLargeDraw=r,this.group.removeAll()),this.group.add(n.group),n},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0),this._symbolDraw=null},e.prototype.dispose=function(){},e.type="scatter",e}(w$);const Qq=Zq;const Jq=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.type="grid",e.dependencies=["xAxis","yAxis"],e.layoutMode="box",e.defaultOption={show:!1,z:0,left:"10%",top:60,right:"10%",bottom:70,containLabel:!1,backgroundColor:"rgba(0,0,0,0)",borderWidth:1,borderColor:"#ccc"},e}(fN);var tY=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),eY=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",YE).models[0]},e.type="cartesian2dAxis",e}(fN);Jk(eY,tY);var nY={show:!0,z:0,inverse:!1,name:"",nameLocation:"end",nameRotate:null,nameTruncate:{maxWidth:null,ellipsis:"...",placeholder:"."},nameTextStyle:{},nameGap:15,silent:!1,triggerEvent:!1,tooltip:{show:!1},axisPointer:{},axisLine:{show:!0,onZero:!0,onZeroAxisIndex:null,lineStyle:{color:"#6E7079",width:1,type:"solid"},symbol:["none","none"],symbolSize:[10,15]},axisTick:{show:!0,inside:!1,length:5,lineStyle:{width:1}},axisLabel:{show:!0,inside:!1,rotate:0,showMinLabel:null,showMaxLabel:null,margin:8,fontSize:12},splitLine:{show:!0,lineStyle:{color:["#E0E6F1"],width:1,type:"solid"}},splitArea:{show:!1,areaStyle:{color:["rgba(250,250,250,0.2)","rgba(210,219,238,0.2)"]}}},rY=qk({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},nY),iY=qk({boundaryGap:[0,0],axisLine:{show:"auto"},axisTick:{show:"auto"},splitNumber:5,minorTick:{show:!1,splitNumber:5,length:3,lineStyle:{}},minorSplitLine:{show:!1,lineStyle:{color:"#F4F7FD",width:1}}},nY);const aY={category:rY,value:iY,time:qk({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},iY),log:Zk({logBase:10},iY)};var oY=0;function sY(t){return dI(t)&&null!=t.value?t.value:t+""}const uY=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++oY}return t.createByAxisModel=function(e){var n=e.option,r=n.data,i=r&&nI(r,sY);return new t({categories:i,needCollect:!i,deduplication:!1!==n.dedplication})},t.prototype.getOrdinal=function(t){return this._getOrCreateMap().get(t)},t.prototype.parseAndCollect=function(t){var e,n=this._needCollect;if(!lI(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=DI(this.categories))},t}();var cY={value:1,category:1,time:1,log:1};function lY(t,e,n,r){eI(cY,(function(i,a){var o=qk(qk({},aY[a],!0),r,!0),s=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return Sk(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=oN(this),r=n?uN(t):{};qk(t,e.getTheme().get(a+"Axis")),qk(t,this.getDefaultOption()),t.type=hY(t),n&&sN(t,r,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=uY.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=o,n}(n);t.registerComponentModel(s)})),t.registerSubTypeDefaulter(e+"Axis",hY)}function hY(t){return t.type||(t.data?"category":"value")}var fY=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1])},t.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=t),isNaN(e)||(n[1]=e)},t.prototype.isInExtentRange=function(t){return this._extent[0]<=t&&this._extent[1]>=t},t.prototype.isBlank=function(){return this._isBlank},t.prototype.setBlank=function(t){this._isBlank=t},t}();cP(fY);const dY=fY;function pY(t){return"interval"===t.type||"log"===t.type}function gY(t,e,n,r){var i={},a=t[1]-t[0],o=i.interval=_E(a/e,!0);null!=n&&o<n&&(o=i.interval=n),null!=r&&o>r&&(o=i.interval=r);var s=i.intervalPrecision=vY(o);return function(t,e){!isFinite(t[0])&&(t[0]=e[0]),!isFinite(t[1])&&(t[1]=e[1]),mY(t,0,e),mY(t,1,e),t[0]>t[1]&&(t[0]=t[1])}(i.niceTickExtent=[lE(Math.ceil(t[0]/o)*o,s),lE(Math.floor(t[1]/o)*o,s)],t),i}function bY(t){var e=Math.pow(10,xE(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,lE(n*e)}function vY(t){return fE(t)+2}function mY(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function yY(t,e){return t>=e[0]&&t<=e[1]}function wY(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function xY(t,e){return t*(e[1]-e[0])+e[0]}var _Y=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new uY({})),uI(r)&&(r=new uY({categories:nI(r,(function(t){return dI(t)?t.value:t}))})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return Sk(e,t),e.prototype.parse=function(t){return null==t?NaN:lI(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return yY(t=this.parse(t),this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return wY(t=this._getTickNumber(this.parse(t)),this._extent)},e.prototype.scale=function(t){return t=Math.round(xY(t,this._extent)),this.getRawOrdinalNumber(t)},e.prototype.getTicks=function(){for(var t=[],e=this._extent,n=e[0];n<=e[1];)t.push({value:n}),n++;return t},e.prototype.getMinorTicks=function(t){},e.prototype.setSortInfo=function(t){if(null!=t){for(var e=t.ordinalNumbers,n=this._ordinalNumbersByTick=[],r=this._ticksByOrdinalNumber=[],i=0,a=this._ordinalMeta.categories.length,o=Math.min(a,e.length);i<o;++i){var s=e[i];n[i]=s,r[s]=i}for(var u=0;i<a;++i){for(;null!=r[u];)u++;n.push(u),r[u]=i}}else this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(dY);dY.registerClass(_Y);const SY=_Y;var kY=lE,IY=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="interval",e._interval=0,e._intervalPrecision=2,e}return Sk(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return yY(t,this._extent)},e.prototype.normalize=function(t){return wY(t,this._extent)},e.prototype.scale=function(t){return xY(t,this._extent)},e.prototype.setExtent=function(t,e){var n=this._extent;isNaN(t)||(n[0]=parseFloat(t)),isNaN(e)||(n[1]=parseFloat(e))},e.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[1]&&(e[1]=t[1]),this.setExtent(e[0],e[1])},e.prototype.getInterval=function(){return this._interval},e.prototype.setInterval=function(t){this._interval=t,this._niceExtent=this._extent.slice(),this._intervalPrecision=vY(t)},e.prototype.getTicks=function(t){var e=this._interval,n=this._extent,r=this._niceExtent,i=this._intervalPrecision,a=[];if(!e)return a;n[0]<r[0]&&(t?a.push({value:kY(r[0]-e,i)}):a.push({value:n[0]}));for(var o=r[0];o<=r[1]&&(a.push({value:o}),(o=kY(o+e,i))!==a[a.length-1].value);)if(a.length>1e4)return[];var s=a.length?a[a.length-1].value:r[1];return n[1]>s&&(t?a.push({value:kY(s+e,i)}):a.push({value:n[1]})),a},e.prototype.getMinorTicks=function(t){for(var e=this.getTicks(!0),n=[],r=this.getExtent(),i=1;i<e.length;i++){for(var a=e[i],o=e[i-1],s=0,u=[],c=(a.value-o.value)/t;s<t-1;){var l=kY(o.value+(s+1)*c);l>r[0]&&l<r[1]&&u.push(l),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;return null==n?n=fE(t.value)||0:"auto"===n&&(n=this._intervalPrecision),WR(kY(t.value,n,!0))},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var r=this._extent,i=r[1]-r[0];if(isFinite(i)){i<0&&(i=-i,r.reverse());var a=gY(r,t,e,n);this._intervalPrecision=a.intervalPrecision,this._interval=a.interval,this._niceExtent=a.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;var r=e[1]-e[0];isFinite(r)||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=kY(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=kY(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(dY);dY.registerClass(IY);const MY=IY;var CY=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return Sk(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return CR(t.value,xR[function(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}(IR(this._minLevelUnit))]||xR.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var r=this.getSetting("useUTC");return function(t,e,n,r,i){var a=null;if(lI(n))a=n;else if(cI(n))a=n(t.value,e,{level:t.level});else{var o=Kk({},yR);if(t.level>0)for(var s=0;s<_R.length;++s)o[_R[s]]="{primary|"+o[_R[s]]+"}";var u=n?!1===n.inherit?n:Zk(n,o):o,c=TR(t.value,i);if(u[c])a=u[c];else if(u.inherit){for(s=SR.indexOf(c)-1;s>=0;--s)if(u[c]){a=u[c];break}a=a||o.none}if(uI(a)){var l=null==t.level?0:t.level>=0?t.level:a.length+t.level;a=a[l=Math.min(l,a.length-1)]}}return CR(new Date(t.value),a,i,r)}(t,e,n,this.getSetting("locale"),r)},e.prototype.getTicks=function(){var t=this._interval,e=this._extent,n=[];if(!t)return n;n.push({value:e[0],level:0});var r=this.getSetting("useUTC"),i=function(t,e,n,r){var i=1e4,a=SR,o=0;function s(t,e,n,i,a,o,s){for(var u=new Date(e),c=e,l=u[i]();c<n&&c<=r[1];)s.push({value:c}),l+=t,u[a](l),c=u.getTime();s.push({value:c,notAdd:!0})}function u(t,i,a){var o=[],u=!i.length;if(!function(t,e,n,r){var i=wE(e),a=wE(n),o=function(t){return AR(i,t,r)===AR(a,t,r)},s=function(){return o("year")},u=function(){return s()&&o("month")},c=function(){return u()&&o("day")},l=function(){return c()&&o("hour")},h=function(){return l()&&o("minute")},f=function(){return h()&&o("second")},d=function(){return f()&&o("millisecond")};switch(t){case"year":return s();case"month":return u();case"day":return c();case"hour":return l();case"minute":return h();case"second":return f();case"millisecond":return d()}}(IR(t),r[0],r[1],n)){u&&(i=[{value:LY(new Date(r[0]),t,n)},{value:r[1]}]);for(var c=0;c<i.length-1;c++){var l=i[c].value,h=i[c+1].value;if(l!==h){var f=void 0,d=void 0,p=void 0,g=!1;switch(t){case"year":f=Math.max(1,Math.round(e/vR/365)),d=ER(n),p=jR(n);break;case"half-year":case"quarter":case"month":f=EY(e),d=PR(n),p=FR(n);break;case"week":case"half-week":case"day":f=AY(e,31),d=DR(n),p=BR(n),g=!0;break;case"half-day":case"quarter-day":case"hour":f=PY(e),d=OR(n),p=zR(n);break;case"minute":f=DY(e,!0),d=LR(n),p=$R(n);break;case"second":f=DY(e,!1),d=RR(n),p=VR(n);break;case"millisecond":f=OY(e),d=NR(n),p=HR(n)}s(f,l,h,d,p,g,o),"year"===t&&a.length>1&&0===c&&a.unshift({value:a[0].value-f})}}for(c=0;c<o.length;c++)a.push(o[c]);return o}}for(var c=[],l=[],h=0,f=0,d=0;d<a.length&&o++<i;++d){var p=IR(a[d]);if(MR(a[d]))if(u(a[d],c[c.length-1]||[],l),p!==(a[d+1]?IR(a[d+1]):null)){if(l.length){f=h,l.sort((function(t,e){return t.value-e.value}));for(var g=[],b=0;b<l.length;++b){var v=l[b].value;0!==b&&l[b-1].value===v||(g.push(l[b]),v>=r[0]&&v<=r[1]&&h++)}var m=(r[1]-r[0])/e;if(h>1.5*m&&f>m/1.5)break;if(c.push(g),h>m||t===a[d])break}l=[]}}0;var y=iI(nI(c,(function(t){return iI(t,(function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd}))})),(function(t){return t.length>0})),w=[],x=y.length-1;for(d=0;d<y.length;++d)for(var _=y[d],S=0;S<_.length;++S)w.push({value:_[S].value,level:x-d});w.sort((function(t,e){return t.value-e.value}));var k=[];for(d=0;d<w.length;++d)0!==d&&w[d].value===w[d-1].value||k.push(w[d]);return k}(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(i)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=vR,e[1]+=vR),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-vR}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var r=this._extent,i=r[1]-r[0];this._approxInterval=i/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var a=TY.length,o=Math.min(function(t,e,n,r){for(;n<r;){var i=n+r>>>1;t[i][1]<e?n=i+1:r=i}return n}(TY,this._approxInterval,0,a),a-1);this._interval=TY[o][1],this._minLevelUnit=TY[Math.max(o-1,0)][0]},e.prototype.parse=function(t){return fI(t)?t:+wE(t)},e.prototype.contain=function(t){return yY(this.parse(t),this._extent)},e.prototype.normalize=function(t){return wY(this.parse(t),this._extent)},e.prototype.scale=function(t){return xY(t,this._extent)},e.type="time",e}(MY),TY=[["second",pR],["minute",gR],["hour",bR],["quarter-day",216e5],["half-day",432e5],["day",10368e4],["half-week",3024e5],["week",6048e5],["month",26784e5],["quarter",8208e6],["half-year",mR/2],["year",mR]];function AY(t,e){return(t/=vR)>16?16:t>7.5?7:t>3.5?4:t>1.5?2:1}function EY(t){return(t/=2592e6)>6?6:t>3?3:t>2?2:1}function PY(t){return(t/=bR)>12?12:t>6?6:t>3.5?4:t>2?2:1}function DY(t,e){return(t/=e?gR:pR)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}function OY(t){return _E(t,!0)}function LY(t,e,n){var r=new Date(t);switch(IR(e)){case"year":case"month":r[FR(n)](0);case"day":r[BR(n)](1);case"hour":r[zR(n)](0);case"minute":r[$R(n)](0);case"second":r[VR(n)](0),r[HR(n)](0)}return r.getTime()}dY.registerClass(CY);const RY=CY;var NY=dY.prototype,jY=MY.prototype,FY=lE,BY=Math.floor,zY=Math.ceil,$Y=Math.pow,VY=Math.log,HY=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new MY,e._interval=0,e}return Sk(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent();return nI(jY.getTicks.call(this,t),(function(t){var e=t.value,i=lE($Y(this.base,e));return i=e===n[0]&&this._fixMin?GY(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?GY(i,r[1]):i}}),this)},e.prototype.setExtent=function(t,e){var n=VY(this.base);t=VY(Math.max(0,t))/n,e=VY(Math.max(0,e))/n,jY.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=NY.getExtent.call(this);e[0]=$Y(t,e[0]),e[1]=$Y(t,e[1]);var n=this._originalScale.getExtent();return this._fixMin&&(e[0]=GY(e[0],n[0])),this._fixMax&&(e[1]=GY(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=VY(t[0])/VY(e),t[1]=VY(t[1])/VY(e),NY.unionExtent.call(this,t)},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.calcNiceTicks=function(t){t=t||10;var e=this._extent,n=e[1]-e[0];if(!(n===1/0||n<=0)){var r,i=(r=n,Math.pow(10,xE(r)));for(t/n*i<=.5&&(i*=10);!isNaN(i)&&Math.abs(i)<1&&Math.abs(i)>0;)i*=10;var a=[lE(zY(e[0]/i)*i),lE(BY(e[1]/i)*i)];this._interval=i,this._niceExtent=a}},e.prototype.calcNiceExtent=function(t){jY.calcNiceExtent.call(this,t),this._fixMin=t.fixMin,this._fixMax=t.fixMax},e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return yY(t=VY(t)/VY(this.base),this._extent)},e.prototype.normalize=function(t){return wY(t=VY(t)/VY(this.base),this._extent)},e.prototype.scale=function(t){return t=xY(t,this._extent),$Y(this.base,t)},e.type="log",e}(dY),WY=HY.prototype;function GY(t,e){return FY(t,fE(e))}WY.getMinorTicks=jY.getMinorTicks,WY.getLabel=jY.getLabel,dY.registerClass(HY);const UY=HY;var XY=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var i=this._modelMinRaw=e.get("min",!0);cI(i)?this._modelMinNum=ZY(t,i({min:n[0],max:n[1]})):"dataMin"!==i&&(this._modelMinNum=ZY(t,i));var a=this._modelMaxRaw=e.get("max",!0);if(cI(a)?this._modelMaxNum=ZY(t,a({min:n[0],max:n[1]})):"dataMax"!==a&&(this._modelMaxNum=ZY(t,a)),r)this._axisDataLen=e.getCategories().length;else{var o=e.get("boundaryGap"),s=uI(o)?o:[o||0,o||0];"boolean"==typeof s[0]||"boolean"==typeof s[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[VA(s[0],1),VA(s[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,i=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),o="dataMin"===this._modelMinRaw?e:this._modelMinNum,s="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=o,c=null!=s;null==o&&(o=t?r?0:NaN:e-i[0]*a),null==s&&(s=t?r?r-1:NaN:n+i[1]*a),(null==o||!isFinite(o))&&(o=NaN),(null==s||!isFinite(s))&&(s=NaN);var l=mI(o)||mI(s)||t&&!r;this._needCrossZero&&(o>0&&s>0&&!u&&(o=0),o<0&&s<0&&!c&&(s=0));var h=this._determinedMin,f=this._determinedMax;return null!=h&&(o=h,u=!0),null!=f&&(s=f,c=!0),{min:o,max:s,minFixed:u,maxFixed:c,isBlank:l}},t.prototype.modifyDataMinMax=function(t,e){this[YY[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[qY[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),qY={min:"_determinedMin",max:"_determinedMax"},YY={min:"_dataMin",max:"_dataMax"};function KY(t,e,n){var r=t.rawExtentInfo;return r||(r=new XY(t,e,n),t.rawExtentInfo=r,r)}function ZY(t,e){return null==e?null:mI(e)?NaN:t.parse(e)}function QY(t,e){var n=t.type,r=KY(t,e,t.getExtent()).calculate();t.setBlank(r.isBlank);var i=r.min,a=r.max,o=e.ecModel;if(o&&"time"===n){var s=XX("bar",o),u=!1;if(eI(s,(function(t){u=u||t.getBaseAxis()===e.axis})),u){var c=qX(s),l=function(t,e,n,r){var i=n.axis.getExtent(),a=i[1]-i[0],o=function(t,e,n){if(t&&e){var r=t[UX(e)];return null!=r&&null!=n?r[GX(n)]:r}}(r,n.axis);if(void 0===o)return{min:t,max:e};var s=1/0;eI(o,(function(t){s=Math.min(t.offset,s)}));var u=-1/0;eI(o,(function(t){u=Math.max(t.offset+t.width,u)})),s=Math.abs(s),u=Math.abs(u);var c=s+u,l=e-t,h=l/(1-(s+u)/a)-l;return{min:t-=h*(s/c),max:e+=h*(u/c)}}(i,a,e,c);i=l.min,a=l.max}}return{extent:[i,a],fixMin:r.minFixed,fixMax:r.maxFixed}}function JY(t,e){var n=e,r=QY(t,n),i=r.extent,a=n.get("splitNumber");t instanceof UY&&(t.base=n.get("logBase"));var o=t.type,s=n.get("interval"),u="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:a,fixMin:r.fixMin,fixMax:r.fixMax,minInterval:u?n.get("minInterval"):null,maxInterval:u?n.get("maxInterval"):null}),null!=s&&t.setInterval&&t.setInterval(s)}function tK(t,e){if(e=e||t.get("type"))switch(e){case"category":return new SY({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new RY({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(dY.getClass(e)||MY)}}function eK(t){var e,n=t.getLabelModel().get("formatter"),r="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?(e=n,function(n,r){return t.scale.getFormattedLabel(n,r,e)}):lI(n)?function(e){return function(n){var r=t.scale.getLabel(n);return e.replace("{value}",null!=r?r:"")}}(n):cI(n)?function(e){return function(n,i){return null!=r&&(i=n.value-r),e(nK(t,n),i,null!=n.level?{level:n.level}:null)}}(n):function(e){return t.scale.getLabel(e)}}function nK(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function rK(t,e){var n=e*Math.PI/180,r=t.width,i=t.height,a=r*Math.abs(Math.cos(n))+Math.abs(i*Math.sin(n)),o=r*Math.abs(Math.sin(n))+Math.abs(i*Math.cos(n));return new KM(t.x,t.y,a,o)}function iK(t){var e=t.get("interval");return null==e?"auto":e}function aK(t){return"category"===t.type&&0===iK(t.getLabelModel())}function oK(t,e){var n={};return eI(t.mapDimensionsAll(e),(function(e){n[ZU(t,e)]=!0})),aI(n)}var sK=function(){function t(t){this.type="cartesian",this._dimList=[],this._axes={},this.name=t||""}return t.prototype.getAxis=function(t){return this._axes[t]},t.prototype.getAxes=function(){return nI(this._dimList,(function(t){return this._axes[t]}),this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),iI(this.getAxes(),(function(e){return e.scale.type===t}))},t.prototype.addAxis=function(t){var e=t.dim;this._axes[e]=t,this._dimList.push(e)},t}();var uK=["x","y"];function cK(t){return"interval"===t.type||"time"===t.type}var lK=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=uK,e}return Sk(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(cK(t)&&cK(e)){var n=t.getExtent(),r=e.getExtent(),i=this.dataToPoint([n[0],r[0]]),a=this.dataToPoint([n[1],r[1]]),o=n[1]-n[0],s=r[1]-r[0];if(o&&s){var u=(a[0]-i[0])/o,c=(a[1]-i[1])/s,l=i[0]-n[0]*u,h=i[1]-r[0]*c,f=this._transform=[u,0,0,c,l,h];this._invTransform=FM([],f)}}},e.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAxis("x")},e.prototype.containPoint=function(t){var e=this.getAxis("x"),n=this.getAxis("y");return e.contain(e.toLocalCoord(t[0]))&&n.contain(n.toLocalCoord(t[1]))},e.prototype.containData=function(t){return this.getAxis("x").containData(t[0])&&this.getAxis("y").containData(t[1])},e.prototype.containZone=function(t,e){var n=this.dataToPoint(t),r=this.dataToPoint(e),i=this.getArea(),a=new KM(n[0],n[1],r[0]-n[0],r[1]-n[1]);return i.intersect(a)},e.prototype.dataToPoint=function(t,e,n){n=n||[];var r=t[0],i=t[1];if(this._transform&&null!=r&&isFinite(r)&&null!=i&&isFinite(i))return nM(n,t,this._transform);var a=this.getAxis("x"),o=this.getAxis("y");return n[0]=a.toGlobalCoord(a.dataToCoord(r,e)),n[1]=o.toGlobalCoord(o.dataToCoord(i,e)),n},e.prototype.clampData=function(t,e){var n=this.getAxis("x").scale,r=this.getAxis("y").scale,i=n.getExtent(),a=r.getExtent(),o=n.parse(t[0]),s=r.parse(t[1]);return(e=e||[])[0]=Math.min(Math.max(Math.min(i[0],i[1]),o),Math.max(i[0],i[1])),e[1]=Math.min(Math.max(Math.min(a[0],a[1]),s),Math.max(a[0],a[1])),e},e.prototype.pointToData=function(t,e){var n=[];if(this._invTransform)return nM(n,t,this._invTransform);var r=this.getAxis("x"),i=this.getAxis("y");return n[0]=r.coordToData(r.toLocalCoord(t[0]),e),n[1]=i.coordToData(i.toLocalCoord(t[1]),e),n},e.prototype.getOtherAxis=function(t){return this.getAxis("x"===t.dim?"y":"x")},e.prototype.getArea=function(){var t=this.getAxis("x").getGlobalExtent(),e=this.getAxis("y").getGlobalExtent(),n=Math.min(t[0],t[1]),r=Math.min(e[0],e[1]),i=Math.max(t[0],t[1])-n,a=Math.max(e[0],e[1])-r;return new KM(n,r,i,a)},e}(sK);const hK=lK;var fK=GE();function dK(t){return"category"===t.type?function(t){var e=t.getLabelModel(),n=gK(t,e);return!e.get("show")||t.scale.isBlank()?{labels:[],labelCategoryInterval:n.labelCategoryInterval}:n}(t):function(t){var e=t.scale.getTicks(),n=eK(t);return{labels:nI(e,(function(e,r){return{level:e.level,formattedLabel:n(e,r),rawLabel:t.scale.getLabel(e),tickValue:e.value}}))}}(t)}function pK(t,e){return"category"===t.type?function(t,e){var n,r,i=bK(t,"ticks"),a=iK(e),o=vK(i,a);if(o)return o;e.get("show")&&!t.scale.isBlank()||(n=[]);if(cI(a))n=wK(t,a,!0);else if("auto"===a){var s=gK(t,t.getLabelModel());r=s.labelCategoryInterval,n=nI(s.labels,(function(t){return t.tickValue}))}else n=yK(t,r=a,!0);return mK(i,a,{ticks:n,tickCategoryInterval:r})}(t,e):{ticks:nI(t.scale.getTicks(),(function(t){return t.value}))}}function gK(t,e){var n,r,i=bK(t,"labels"),a=iK(e),o=vK(i,a);return o||(cI(a)?n=wK(t,a):(r="auto"===a?function(t){var e=fK(t).autoInterval;return null!=e?e:fK(t).autoInterval=t.calculateCategoryInterval()}(t):a,n=yK(t,r)),mK(i,a,{labels:n,labelCategoryInterval:r}))}function bK(t,e){return fK(t)[e]||(fK(t)[e]=[])}function vK(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function mK(t,e,n){return t.push({key:e,value:n}),n}function yK(t,e,n){var r=eK(t),i=t.scale,a=i.getExtent(),o=t.getLabelModel(),s=[],u=Math.max((e||0)+1,1),c=a[0],l=i.count();0!==c&&u>1&&l/u>2&&(c=Math.round(Math.ceil(c/u)*u));var h=aK(t),f=o.get("showMinLabel")||h,d=o.get("showMaxLabel")||h;f&&c!==a[0]&&g(a[0]);for(var p=c;p<=a[1];p+=u)g(p);function g(t){var e={value:t};s.push(n?t:{formattedLabel:r(e),rawLabel:i.getLabel(e),tickValue:t})}return d&&p-u!==a[1]&&g(a[1]),s}function wK(t,e,n){var r=t.scale,i=eK(t),a=[];return eI(r.getTicks(),(function(t){var o=r.getLabel(t),s=t.value;e(t.value,o)&&a.push(n?s:{formattedLabel:i(t),rawLabel:o,tickValue:s})})),a}var xK=[0,1],_K=function(){function t(t,e,n){this.onBand=!1,this.inverse=!1,this.dim=t,this.scale=e,this._extent=n||[0,0]}return t.prototype.contain=function(t){var e=this._extent,n=Math.min(e[0],e[1]),r=Math.max(e[0],e[1]);return t>=n&&t<=r},t.prototype.containData=function(t){return this.scale.contain(t)},t.prototype.getExtent=function(){return this._extent.slice()},t.prototype.getPixelPrecision=function(t){return dE(t||this.scale.getExtent(),this._extent)},t.prototype.setExtent=function(t,e){var n=this._extent;n[0]=t,n[1]=e},t.prototype.dataToCoord=function(t,e){var n=this._extent,r=this.scale;return t=r.normalize(t),this.onBand&&"ordinal"===r.type&&SK(n=n.slice(),r.count()),uE(t,xK,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,r=this.scale;this.onBand&&"ordinal"===r.type&&SK(n=n.slice(),r.count());var i=uE(t,n,xK,e);return this.scale.scale(i)},t.prototype.pointToData=function(t,e){},t.prototype.getTicksCoords=function(t){var e=(t=t||{}).tickModel||this.getTickModel(),n=nI(pK(this,e).ticks,(function(t){return{coord:this.dataToCoord("ordinal"===this.scale.type?this.scale.getRawOrdinalNumber(t):t),tickValue:t}}),this);return function(t,e,n,r){var i=e.length;if(!t.onBand||n||!i)return;var a,o,s=t.getExtent();if(1===i)e[0].coord=s[0],a=e[1]={coord:s[0]};else{var u=e[i-1].tickValue-e[0].tickValue,c=(e[i-1].coord-e[0].coord)/u;eI(e,(function(t){t.coord-=c/2})),o=1+t.scale.getExtent()[1]-e[i-1].tickValue,a={coord:e[i-1].coord+c*o},e.push(a)}var l=s[0]>s[1];h(e[0].coord,s[0])&&(r?e[0].coord=s[0]:e.shift());r&&h(s[0],e[0].coord)&&e.unshift({coord:s[0]});h(s[1],a.coord)&&(r?a.coord=s[1]:e.pop());r&&h(a.coord,s[1])&&e.push({coord:s[1]});function h(t,e){return t=lE(t),e=lE(e),l?t>e:t<e}}(this,n,e.get("alignWithLabel"),t.clamp),n},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");return t>0&&t<100||(t=5),nI(this.scale.getMinorTicks(t),(function(t){return nI(t,(function(t){return{coord:this.dataToCoord(t),tickValue:t}}),this)}),this)},t.prototype.getViewLabels=function(){return dK(this).labels},t.prototype.getLabelModel=function(){return this.model.getModel("axisLabel")},t.prototype.getTickModel=function(){return this.model.getModel("axisTick")},t.prototype.getBandWidth=function(){var t=this._extent,e=this.scale.getExtent(),n=e[1]-e[0]+(this.onBand?1:0);0===n&&(n=1);var r=Math.abs(t[1]-t[0]);return Math.abs(r)/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e=function(t){var e=t.getLabelModel();return{axisRotate:t.getRotate?t.getRotate():t.isHorizontal&&!t.isHorizontal()?90:0,labelRotate:e.get("rotate")||0,font:e.getFont()}}(t),n=eK(t),r=(e.axisRotate-e.labelRotate)/180*Math.PI,i=t.scale,a=i.getExtent(),o=i.count();if(a[1]-a[0]<1)return 0;var s=1;o>40&&(s=Math.max(1,Math.floor(o/40)));for(var u=a[0],c=t.dataToCoord(u+1)-t.dataToCoord(u),l=Math.abs(c*Math.cos(r)),h=Math.abs(c*Math.sin(r)),f=0,d=0;u<=a[1];u+=s){var p,g,b=FA(n({value:u}),e.font,"center","top");p=1.3*b.width,g=1.3*b.height,f=Math.max(f,p,7),d=Math.max(d,g,7)}var v=f/l,m=d/h;isNaN(v)&&(v=1/0),isNaN(m)&&(m=1/0);var y=Math.max(0,Math.floor(Math.min(v,m))),w=fK(t.model),x=t.getExtent(),_=w.lastAutoInterval,S=w.lastTickCount;return null!=_&&null!=S&&Math.abs(_-y)<=1&&Math.abs(S-o)<=1&&_>y&&w.axisExtent0===x[0]&&w.axisExtent1===x[1]?y=_:(w.lastTickCount=o,w.lastAutoInterval=y,w.axisExtent0=x[0],w.axisExtent1=x[1]),y}(this)},t}();function SK(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}const kK=_K;var IK=function(t){function e(e,n,r,i,a){var o=t.call(this,e,n,r)||this;return o.index=0,o.type=i||"value",o.position=a||"bottom",o}return Sk(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.getGlobalExtent=function(t){var e=this.getExtent();return e[0]=this.toGlobalCoord(e[0]),e[1]=this.toGlobalCoord(e[1]),t&&e[0]>e[1]&&e.reverse(),e},e.prototype.pointToData=function(t,e){return this.coordToData(this.toLocalCoord(t["x"===this.dim?0:1]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(kK);const MK=IK;function CK(t,e,n){n=n||{};var r=t.coordinateSystem,i=e.axis,a={},o=i.getAxesOnZeroOf()[0],s=i.position,u=o?"onZero":s,c=i.dim,l=r.getRect(),h=[l.x,l.x+l.width,l.y,l.y+l.height],f={left:0,right:1,top:0,bottom:1,onZero:2},d=e.get("offset")||0,p="x"===c?[h[2]-d,h[3]+d]:[h[0]-d,h[1]+d];if(o){var g=o.toGlobalCoord(o.dataToCoord(0));p[f.onZero]=Math.max(Math.min(g,p[1]),p[0])}a.position=["y"===c?p[f[u]]:h[0],"x"===c?p[f[u]]:h[3]],a.rotation=Math.PI/2*("x"===c?0:1);a.labelDirection=a.tickDirection=a.nameDirection={top:-1,bottom:1,left:-1,right:1}[s],a.labelOffset=o?p[f[s]]-p[f.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),yI(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var b=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-b:b,a.z2=1,a}function TK(t){return"cartesian2d"===t.get("coordinateSystem")}function AK(t){var e={xAxisModel:null,yAxisModel:null};return eI(e,(function(n,r){var i=r.replace(/Model$/,""),a=t.getReferringComponents(i,YE).models[0];e[r]=a})),e}var EK=Math.log;function PK(t,e,n){var r=MY.prototype,i=r.getTicks.call(n),a=r.getTicks.call(n,!0),o=i.length-1,s=r.getInterval.call(n),u=QY(t,e),c=u.extent,l=u.fixMin,h=u.fixMax;if("log"===t.type){var f=EK(t.base);c=[EK(c[0])/f,EK(c[1])/f]}t.setExtent(c[0],c[1]),t.calcNiceExtent({splitNumber:o,fixMin:l,fixMax:h});var d=r.getExtent.call(t);l&&(c[0]=d[0]),h&&(c[1]=d[1]);var p=r.getInterval.call(t),g=c[0],b=c[1];if(l&&h)p=(b-g)/o;else if(l)for(b=c[0]+p*o;b<c[1]&&isFinite(b)&&isFinite(c[1]);)p=bY(p),b=c[0]+p*o;else if(h)for(g=c[1]-p*o;g>c[0]&&isFinite(g)&&isFinite(c[0]);)p=bY(p),g=c[1]-p*o;else{t.getTicks().length-1>o&&(p=bY(p));var v=p*o;(g=lE((b=Math.ceil(c[1]/p)*p)-v))<0&&c[0]>=0?(g=0,b=lE(v)):b>0&&c[1]<=0&&(b=0,g=-lE(v))}var m=(i[0].value-a[0].value)/s,y=(i[o].value-a[o].value)/s;r.setExtent.call(t,g+p*m,b+p*y),r.setInterval.call(t,p),(m||y)&&r.setNiceExtent.call(t,g+p,b-p)}var DK=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=uK,this._initCartesian(t,e,n),this.model=t}return t.prototype.getRect=function(){return this._rect},t.prototype.update=function(t,e){var n=this._axesMap;function r(t){var e,n=aI(t),r=n.length;if(r){for(var i=[],a=r-1;a>=0;a--){var o=t[+n[a]],s=o.model,u=o.scale;pY(u)&&s.get("alignTicks")&&null==s.get("interval")?i.push(o):(JY(u,s),pY(u)&&(e=o))}i.length&&(e||JY((e=i.pop()).scale,e.model),eI(i,(function(t){PK(t.scale,t.model,e.scale)})))}}this._updateScale(t,this.model),r(n.x),r(n.y);var i={};eI(n.x,(function(t){LK(n,"y",t,i)})),eI(n.y,(function(t){LK(n,"x",t,i)})),this.resize(this.model,e)},t.prototype.resize=function(t,e,n){var r=t.getBoxLayoutParams(),i=!n&&t.get("containLabel"),a=iN(r,{width:e.getWidth(),height:e.getHeight()});this._rect=a;var o=this._axesList;function s(){eI(o,(function(t){var e=t.isHorizontal(),n=e?[0,a.width]:[0,a.height],r=t.inverse?1:0;t.setExtent(n[r],n[1-r]),function(t,e){var n=t.getExtent(),r=n[0]+n[1];t.toGlobalCoord="x"===t.dim?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord="x"===t.dim?function(t){return t-e}:function(t){return r-t+e}}(t,e?a.x:a.y)}))}s(),i&&(eI(o,(function(t){if(!t.model.get(["axisLabel","inside"])){var e=function(t){var e=t.model,n=t.scale;if(e.get(["axisLabel","show"])&&!n.isBlank()){var r,i,a=n.getExtent();i=n instanceof SY?n.count():(r=n.getTicks()).length;var o,s=t.getLabelModel(),u=eK(t),c=1;i>40&&(c=Math.ceil(i/40));for(var l=0;l<i;l+=c){var h=u(r?r[l]:{value:a[0]+l},l),f=rK(s.getTextRect(h),s.get("rotate")||0);o?o.union(f):o=f}return o}}(t);if(e){var n=t.isHorizontal()?"height":"width",r=t.model.get(["axisLabel","margin"]);a[n]-=e[n]+r,"top"===t.position?a.y+=e.height+r:"left"===t.position&&(a.x+=e.width+r)}}})),s()),eI(this._coordsList,(function(t){t.calcAffineTransform()}))},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}dI(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var r=0,i=this._coordsList;r<i.length;r++)if(i[r].getAxis("x").index===t||i[r].getAxis("y").index===e)return i[r]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.dataToPoint(n):r.axis?r.axis.toGlobalCoord(r.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var r=this._findConvertTarget(e);return r.cartesian?r.cartesian.pointToData(n):r.axis?r.axis.coordToData(r.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,r=t.seriesModel,i=t.xAxisModel||r&&r.getReferringComponents("xAxis",YE).models[0],a=t.yAxisModel||r&&r.getReferringComponents("yAxis",YE).models[0],o=t.gridModel,s=this._coordsList;if(r)Qk(s,e=r.coordinateSystem)<0&&(e=null);else if(i&&a)e=this.getCartesian(i.componentIndex,a.componentIndex);else if(i)n=this.getAxis("x",i.componentIndex);else if(a)n=this.getAxis("y",a.componentIndex);else if(o){o.coordinateSystem===this&&(e=this._coordsList[0])}return{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var r=this,i=this,a={left:!1,right:!1,top:!1,bottom:!1},o={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y)return this._axesMap={},void(this._axesList=[]);function u(e){return function(n,r){if(OK(n,t)){var u=n.get("position");"x"===e?"top"!==u&&"bottom"!==u&&(u=a.bottom?"top":"bottom"):"left"!==u&&"right"!==u&&(u=a.left?"right":"left"),a[u]=!0;var c=new MK(e,tK(n),[0,0],n.get("type"),u),l="category"===c.type;c.onBand=l&&n.get("boundaryGap"),c.inverse=n.get("inverse"),n.axis=c,c.model=n,c.grid=i,c.index=r,i._axesList.push(c),o[e][r]=c,s[e]++}}}this._axesMap=o,eI(o.x,(function(e,n){eI(o.y,(function(i,a){var o="x"+n+"y"+a,s=new hK(o);s.master=r,s.model=t,r._coordsMap[o]=s,r._coordsList.push(s),s.addAxis(e),s.addAxis(i)}))}))},t.prototype._updateScale=function(t,e){function n(t,e){eI(oK(t,e.dim),(function(n){e.scale.unionExtentFromData(t,n)}))}eI(this._axesList,(function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}})),t.eachSeries((function(t){if(TK(t)){var r=AK(t),i=r.xAxisModel,a=r.yAxisModel;if(!OK(i,e)||!OK(a,e))return;var o=this.getCartesian(i.componentIndex,a.componentIndex),s=t.getData(),u=o.getAxis("x"),c=o.getAxis("y");n(s,u),n(s,c)}}),this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return eI(this.getCartesians(),(function(r){var i=null!=t&&"auto"!==t?r.getAxis(t):r.getBaseAxis(),a=r.getOtherAxis(i);Qk(e,i)<0&&e.push(i),Qk(n,a)<0&&n.push(a)})),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var r=[];return e.eachComponent("grid",(function(i,a){var o=new t(i,e,n);o.name="grid_"+a,o.resize(i,n,!0),i.coordinateSystem=o,r.push(o)})),e.eachSeries((function(t){if(TK(t)){var e=AK(t),n=e.xAxisModel,r=e.yAxisModel;0;var i=n.getCoordSysModel().coordinateSystem;t.coordinateSystem=i.getCartesian(n.componentIndex,r.componentIndex)}})),r},t.dimensions=uK,t}();function OK(t,e){return t.getCoordSysModel()===e}function LK(t,e,n,r){n.getAxesOnZeroOf=function(){return i?[i]:[]};var i,a=t[e],o=n.model,s=o.get(["axisLine","onZero"]),u=o.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=u)RK(a[u])&&(i=a[u]);else for(var c in a)if(a.hasOwnProperty(c)&&RK(a[c])&&!r[l(a[c])]){i=a[c];break}i&&(r[l(i)]=!0)}function l(t){return t.dim+"_"+t.index}}function RK(t){return t&&"category"!==t.type&&"time"!==t.type&&function(t){var e=t.scale.getExtent(),n=e[0],r=e[1];return!(n>0&&r>0||n<0&&r<0)}(t)}const NK=DK;var jK=Math.PI,FK=function(){function t(t,e){this.group=new nE,this.opt=e,this.axisModel=t,Zk(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new nE({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!BK[t]},t.prototype.add=function(t){BK[t](this.opt,this.axisModel,this.group,this._transformGroup)},t.prototype.getGroup=function(){return this.group},t.innerTextLayout=function(t,e,n){var r,i,a=vE(e-t);return mE(a)?(i=n>0?"top":"bottom",r="center"):mE(a-jK)?(i=n>0?"bottom":"top",r="center"):(i="middle",r=a>0&&a<jK?n>0?"right":"left":n>0?"left":"right"),{rotation:a,textAlign:r,textVerticalAlign:i}},t.makeAxisEventDataBase=function(t){var e={componentType:t.mainType,componentIndex:t.componentIndex};return e[t.mainType+"Index"]=t.componentIndex,e},t.isLabelSilent=function(t){var e=t.get("tooltip");return t.get("silent")||!(t.get("triggerEvent")||e&&e.show)},t}(),BK={axisLine:function(t,e,n,r){var i=e.get(["axisLine","show"]);if("auto"===i&&t.handleAutoShown&&(i=t.handleAutoShown("axisLine")),i){var a=e.axis.getExtent(),o=r.transform,s=[a[0],0],u=[a[1],0],c=s[0]>u[0];o&&(nM(s,s,o),nM(u,u,o));var l=Kk({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),h=new hz({shape:{x1:s[0],y1:s[1],x2:u[0],y2:u[1]},style:l,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});Yz(h.shape,h.style.lineWidth),h.anid="line",n.add(h);var f=e.get(["axisLine","symbol"]);if(null!=f){var d=e.get(["axisLine","symbolSize"]);lI(f)&&(f=[f,f]),(lI(d)||fI(d))&&(d=[d,d]);var p=DV(e.get(["axisLine","symbolOffset"])||0,d),g=d[0],b=d[1];eI([{rotate:t.rotation+Math.PI/2,offset:p[0],r:0},{rotate:t.rotation-Math.PI/2,offset:p[1],r:Math.sqrt((s[0]-u[0])*(s[0]-u[0])+(s[1]-u[1])*(s[1]-u[1]))}],(function(e,r){if("none"!==f[r]&&null!=f[r]){var i=EV(f[r],-g/2,-b/2,g,b,l.stroke,!0),a=e.r+e.offset,o=c?u:s;i.attr({rotation:e.rotate,x:o[0]+a*Math.cos(t.rotation),y:o[1]-a*Math.sin(t.rotation),silent:!0,z2:11}),n.add(i)}}))}}},axisTickLabel:function(t,e,n,r){var i=function(t,e,n,r){var i=n.axis,a=n.getModel("axisTick"),o=a.get("show");"auto"===o&&r.handleAutoShown&&(o=r.handleAutoShown("axisTick"));if(!o||i.scale.isBlank())return;for(var s=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),c=HK(i.getTicksCoords(),e.transform,u,Zk(s.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),l=0;l<c.length;l++)t.add(c[l]);return c}(n,r,e,t),a=function(t,e,n,r){var i=n.axis;if(!yI(r.axisLabelShow,n.get(["axisLabel","show"]))||i.scale.isBlank())return;var a=n.getModel("axisLabel"),o=a.get("margin"),s=i.getViewLabels(),u=(yI(r.labelRotate,a.get("rotate"))||0)*jK/180,c=FK.innerTextLayout(r.rotation,u,r.labelDirection),l=n.getCategories&&n.getCategories(!0),h=[],f=FK.isLabelSilent(n),d=n.get("triggerEvent");return eI(s,(function(s,u){var p="ordinal"===i.scale.type?i.scale.getRawOrdinalNumber(s.tickValue):s.tickValue,g=s.formattedLabel,b=s.rawLabel,v=a;if(l&&l[p]){var m=l[p];dI(m)&&m.textStyle&&(v=new nR(m.textStyle,a,n.ecModel))}var y=v.getTextColor()||n.get(["axisLine","lineStyle","color"]),w=i.dataToCoord(p),x=new vO({x:w,y:r.labelOffset+r.labelDirection*o,rotation:c.rotation,silent:f,z2:10+(s.level||0),style:OL(v,{text:g,align:v.getShallow("align",!0)||c.textAlign,verticalAlign:v.getShallow("verticalAlign",!0)||v.getShallow("baseline",!0)||c.textVerticalAlign,fill:cI(y)?y("category"===i.type?b:"value"===i.type?p+"":p,u):y})});if(x.anid="label_"+p,d){var _=FK.makeAxisEventDataBase(n);_.targetType="axisLabel",_.value=b,_.tickIndex=u,"category"===i.type&&(_.dataIndex=p),mO(x).eventData=_}e.add(x),x.updateTransform(),h.push(x),t.add(x),x.decomposeTransform()})),h}(n,r,e,t);(function(t,e,n){if(aK(t.axis))return;var r=t.get(["axisLabel","showMinLabel"]),i=t.get(["axisLabel","showMaxLabel"]);n=n||[];var a=(e=e||[])[0],o=e[1],s=e[e.length-1],u=e[e.length-2],c=n[0],l=n[1],h=n[n.length-1],f=n[n.length-2];!1===r?(zK(a),zK(c)):$K(a,o)&&(r?(zK(o),zK(l)):(zK(a),zK(c)));!1===i?(zK(s),zK(h)):$K(u,s)&&(i?(zK(u),zK(f)):(zK(s),zK(h)))}(e,a,i),function(t,e,n,r){var i=n.axis,a=n.getModel("minorTick");if(!a.get("show")||i.scale.isBlank())return;var o=i.getMinorTicksCoords();if(!o.length)return;for(var s=a.getModel("lineStyle"),u=r*a.get("length"),c=Zk(s.getLineStyle(),Zk(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),l=0;l<o.length;l++)for(var h=HK(o[l],e.transform,u,c,"minorticks_"+l),f=0;f<h.length;f++)t.add(h[f])}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"]))&&BW(NW(nI(a,(function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}}))))},axisName:function(t,e,n,r){var i=yI(t.axisName,e.get("name"));if(i){var a,o,s=e.get("nameLocation"),u=t.nameDirection,c=e.getModel("nameTextStyle"),l=e.get("nameGap")||0,h=e.axis.getExtent(),f=h[0]>h[1]?-1:1,d=["start"===s?h[0]-f*l:"end"===s?h[1]+f*l:(h[0]+h[1])/2,VK(s)?t.labelOffset+u*l:0],p=e.get("nameRotate");null!=p&&(p=p*jK/180),VK(s)?a=FK.innerTextLayout(t.rotation,null!=p?p:t.rotation,u):(a=function(t,e,n,r){var i,a,o=vE(n-t),s=r[0]>r[1],u="start"===e&&!s||"start"!==e&&s;mE(o-jK/2)?(a=u?"bottom":"top",i="center"):mE(o-1.5*jK)?(a=u?"top":"bottom",i="center"):(a="middle",i=o<1.5*jK&&o>jK/2?u?"left":"right":u?"right":"left");return{rotation:o,textAlign:i,textVerticalAlign:a}}(t.rotation,s,p||0,h),null!=(o=t.axisNameAvailableWidth)&&(o=Math.abs(o/Math.sin(a.rotation)),!isFinite(o)&&(o=null)));var g=c.getFont(),b=e.get("nameTruncate",!0)||{},v=b.ellipsis,m=yI(t.nameTruncateMaxWidth,b.maxWidth,o),y=new vO({x:d[0],y:d[1],rotation:a.rotation,silent:FK.isLabelSilent(e),style:OL(c,{text:i,font:g,overflow:"truncate",width:m,ellipsis:v,fill:c.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:c.get("align")||a.textAlign,verticalAlign:c.get("verticalAlign")||a.textVerticalAlign}),z2:1});if(c$({el:y,componentModel:e,itemName:i}),y.__fullText=i,y.anid="name",e.get("triggerEvent")){var w=FK.makeAxisEventDataBase(e);w.targetType="axisName",w.name=i,mO(y).eventData=w}r.add(y),y.updateTransform(),n.add(y),y.decomposeTransform()}}};function zK(t){t&&(t.ignore=!0)}function $K(t,e){var n=t&&t.getBoundingRect().clone(),r=e&&e.getBoundingRect().clone();if(n&&r){var i=DM([]);return NM(i,i,-t.rotation),n.applyTransform(LM([],i,t.getLocalTransform())),r.applyTransform(LM([],i,e.getLocalTransform())),n.intersect(r)}}function VK(t){return"middle"===t||"center"===t}function HK(t,e,n,r,i){for(var a=[],o=[],s=[],u=0;u<t.length;u++){var c=t[u].coord;o[0]=c,o[1]=0,s[0]=c,s[1]=n,e&&(nM(o,o,e),nM(s,s,e));var l=new hz({shape:{x1:o[0],y1:o[1],x2:s[0],y2:s[1]},style:r,z2:2,autoBatch:!0,silent:!0});Yz(l.shape,l.style.lineWidth),l.anid=i+"_"+t[u].tickValue,a.push(l)}return a}const WK=FK;function GK(t,e){var n={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return function(t,e,n){var r=e.getComponent("tooltip"),i=e.getComponent("axisPointer"),a=i.get("link",!0)||[],o=[];eI(n.getCoordinateSystems(),(function(n){if(n.axisPointerEnabled){var s=KK(n.model),u=t.coordSysAxesInfo[s]={};t.coordSysMap[s]=n;var c=n.model.getModel("tooltip",r);if(eI(n.getAxes(),sI(d,!1,null)),n.getTooltipAxes&&r&&c.get("show")){var l="axis"===c.get("trigger"),h="cross"===c.get(["axisPointer","type"]),f=n.getTooltipAxes(c.get(["axisPointer","axis"]));(l||h)&&eI(f.baseAxes,sI(d,!h||"cross",l)),h&&eI(f.otherAxes,sI(d,"cross",!1))}}function d(r,s,l){var h=l.model.getModel("axisPointer",i),f=h.get("show");if(f&&("auto"!==f||r||YK(h))){null==s&&(s=h.get("triggerTooltip")),h=r?function(t,e,n,r,i,a){var o=e.getModel("axisPointer"),s={};eI(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],(function(t){s[t]=Xk(o.get(t))})),s.snap="category"!==t.type&&!!a,"cross"===o.get("type")&&(s.type="line");var u=s.label||(s.label={});if(null==u.show&&(u.show=!1),"cross"===i){var c=o.get(["label","show"]);if(u.show=null==c||c,!a){var l=s.lineStyle=o.get("crossStyle");l&&Zk(u,l.textStyle)}}return t.model.getModel("axisPointer",new nR(s,n,r))}(l,c,i,e,r,s):h;var d=h.get("snap"),p=KK(l.model),g=s||d||"category"===l.type,b=t.axesInfo[p]={key:p,axis:l,coordSys:n,axisPointerModel:h,triggerTooltip:s,involveSeries:g,snap:d,useHandle:YK(h),seriesModels:[],linkGroup:null};u[p]=b,t.seriesInvolved=t.seriesInvolved||g;var v=function(t,e){for(var n=e.model,r=e.dim,i=0;i<t.length;i++){var a=t[i]||{};if(UK(a[r+"AxisId"],n.id)||UK(a[r+"AxisIndex"],n.componentIndex)||UK(a[r+"AxisName"],n.name))return i}}(a,l);if(null!=v){var m=o[v]||(o[v]={axesInfo:{}});m.axesInfo[p]=b,m.mapper=a[v].mapper,b.linkGroup=m}}}}))}(n,t,e),n.seriesInvolved&&function(t,e){e.eachSeries((function(e){var n=e.coordinateSystem,r=e.get(["tooltip","trigger"],!0),i=e.get(["tooltip","show"],!0);n&&"none"!==r&&!1!==r&&"item"!==r&&!1!==i&&!1!==e.get(["axisPointer","show"],!0)&&eI(t.coordSysAxesInfo[KK(n.model)],(function(t){var r=t.axis;n.getAxis(r.dim)===r&&(t.seriesModels.push(e),null==t.seriesDataCount&&(t.seriesDataCount=0),t.seriesDataCount+=e.getData().count())}))}))}(n,t),n}function UK(t,e){return"all"===t||uI(t)&&Qk(t,e)>=0||t===e}function XK(t){var e=qK(t);if(e){var n=e.axisPointerModel,r=e.axis.scale,i=n.option,a=n.get("status"),o=n.get("value");null!=o&&(o=r.parse(o));var s=YK(n);null==a&&(i.status=s?"show":"hide");var u=r.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==o||o>u[1])&&(o=u[1]),o<u[0]&&(o=u[0]),i.value=o,s&&(i.status=e.axis.scale.isBlank()?"hide":"show")}}function qK(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[KK(t)]}function YK(t){return!!t.get(["handle","show"])}function KK(t){return t.type+"||"+t.id}var ZK={};const QK=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(e,n,r,i){this.axisPointerClass&&XK(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,r,!0)},e.prototype.updateAxisPointer=function(t,e,n,r){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,r){var i=e.getAxisPointerClass(this.axisPointerClass);if(i){var a=function(t){var e=qK(t);return e&&e.axisPointerModel}(t);a?(this._axisPointer||(this._axisPointer=new i)).render(t,a,n,r):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){ZK[t]=e},e.getAxisPointerClass=function(t){return t&&ZK[t]},e.type="axis",e}(uB);var JK=GE();function tZ(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var a=n.getModel("splitArea"),o=a.getModel("areaStyle"),s=o.get("color"),u=r.coordinateSystem.getRect(),c=i.getTicksCoords({tickModel:a,clamp:!0});if(c.length){var l=s.length,h=JK(t).splitAreaColors,f=DI(),d=0;if(h)for(var p=0;p<c.length;p++){var g=h.get(c[p].tickValue);if(null!=g){d=(g+(l-1)*p)%l;break}}var b=i.toGlobalCoord(c[0].coord),v=o.getAreaStyle();s=uI(s)?s:[s];for(p=1;p<c.length;p++){var m=i.toGlobalCoord(c[p].coord),y=void 0,w=void 0,x=void 0,_=void 0;i.isHorizontal()?(y=b,w=u.y,x=m-y,_=u.height,b=y+x):(y=u.x,w=b,x=u.width,b=w+(_=m-w));var S=c[p-1].tickValue;null!=S&&f.set(S,d),e.add(new eO({anid:null!=S?"area_"+S:null,shape:{x:y,y:w,width:x,height:_},style:Zk({fill:s[d]},v),autoBatch:!0,silent:!0})),d=(d+1)%l}JK(t).splitAreaColors=f}}}function eZ(t){JK(t).splitAreaColors=null}var nZ=["axisLine","axisTickLabel","axisName"],rZ=["splitArea","splitLine","minorSplitLine"],iZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return Sk(e,t),e.prototype.render=function(e,n,r,i){this.group.removeAll();var a=this._axisGroup;if(this._axisGroup=new nE,this.group.add(this._axisGroup),e.get("show")){var o=e.getCoordSysModel(),s=CK(o,e),u=new WK(e,Kk({handleAutoShown:function(t){for(var n=o.coordinateSystem.getCartesians(),r=0;r<n.length;r++)if(pY(n[r].getOtherAxis(e.axis).scale))return!0;return!1}},s));eI(nZ,u.add,u),this._axisGroup.add(u.getGroup()),eI(rZ,(function(t){e.get([t,"show"])&&aZ[t](this,this._axisGroup,e,o)}),this),i&&"changeAxisOrder"===i.type&&i.isInitSort||n$(a,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)}},e.prototype.remove=function(){eZ(this)},e.type="cartesianAxis",e}(QK),aZ={splitLine:function(t,e,n,r){var i=n.axis;if(!i.scale.isBlank()){var a=n.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=uI(s)?s:[s];for(var u=r.coordinateSystem.getRect(),c=i.isHorizontal(),l=0,h=i.getTicksCoords({tickModel:a}),f=[],d=[],p=o.getLineStyle(),g=0;g<h.length;g++){var b=i.toGlobalCoord(h[g].coord);c?(f[0]=b,f[1]=u.y,d[0]=b,d[1]=u.y+u.height):(f[0]=u.x,f[1]=b,d[0]=u.x+u.width,d[1]=b);var v=l++%s.length,m=h[g].tickValue,y=new hz({anid:null!=m?"line_"+h[g].tickValue:null,autoBatch:!0,shape:{x1:f[0],y1:f[1],x2:d[0],y2:d[1]},style:Zk({stroke:s[v]},p),silent:!0});Yz(y.shape,p.lineWidth),e.add(y)}}},minorSplitLine:function(t,e,n,r){var i=n.axis,a=n.getModel("minorSplitLine").getModel("lineStyle"),o=r.coordinateSystem.getRect(),s=i.isHorizontal(),u=i.getMinorTicksCoords();if(u.length)for(var c=[],l=[],h=a.getLineStyle(),f=0;f<u.length;f++)for(var d=0;d<u[f].length;d++){var p=i.toGlobalCoord(u[f][d].coord);s?(c[0]=p,c[1]=o.y,l[0]=p,l[1]=o.y+o.height):(c[0]=o.x,c[1]=p,l[0]=o.x+o.width,l[1]=p);var g=new hz({anid:"minor_line_"+u[f][d].tickValue,autoBatch:!0,shape:{x1:c[0],y1:c[1],x2:l[0],y2:l[1]},style:h,silent:!0});Yz(g.shape,h.lineWidth),e.add(g)}},splitArea:function(t,e,n,r){tZ(t,e,n,r)}},oZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="xAxis",e}(iZ),sZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=oZ.type,e}return Sk(e,t),e.type="yAxis",e}(iZ);var uZ=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return Sk(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new eO({shape:t.coordinateSystem.getRect(),style:Zk({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(uB),cZ={offset:0};function lZ(t){t.registerComponentView(uZ),t.registerComponentModel(Jq),t.registerCoordinateSystem("cartesian2d",NK),lY(t,"x",eY,cZ),lY(t,"y",eY,cZ),t.registerComponentView(oZ),t.registerComponentView(sZ),t.registerPreprocessor((function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})}))}function hZ(t){t.eachSeriesByType("radar",(function(t){var e=t.getData(),n=[],r=t.coordinateSystem;if(r){var i=r.getIndicatorAxes();eI(i,(function(t,a){e.each(e.mapDimension(i[a].dim),(function(t,e){n[e]=n[e]||[];var i=r.dataToPoint(t,a);n[e][a]=fZ(i)?i:dZ(r)}))})),e.each((function(t){var i=function(t,e,n){if(t&&e)for(var r=0,i=t.length;r<i;r++)if(e.call(n,t[r],r,t))return t[r]}(n[t],(function(t){return fZ(t)}))||dZ(r);n[t].push(i.slice()),e.setItemLayout(t,n[t])}))}}))}function fZ(t){return!isNaN(t[0])&&!isNaN(t[1])}function dZ(t){return[t.cx,t.cy]}function pZ(t){var e=t.polar;if(e){uI(e)||(e=[e]);var n=[];eI(e,(function(e,r){e.indicator?(e.type&&!e.shape&&(e.shape=e.type),t.radar=t.radar||[],uI(t.radar)||(t.radar=[t.radar]),t.radar.push(e)):n.push(e)})),t.polar=n}eI(t.series,(function(t){t&&"radar"===t.type&&t.polarIndex&&(t.radarIndex=t.polarIndex)}))}var gZ=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=n.type,e}return Sk(n,t),n.prototype.render=function(t,n,r){var i=t.coordinateSystem,a=this.group,o=t.getData(),s=this._data;function u(t,e){var n=t.getItemVisual(e,"symbol")||"circle";if("none"!==n){var r=PV(t.getItemVisual(e,"symbolSize")),i=EV(n,-1,-1,2,2),a=t.getItemVisual(e,"symbolRotate")||0;return i.attr({style:{strokeNoScale:!0},z2:100,scaleX:r[0]/2,scaleY:r[1]/2,rotation:a*Math.PI/180||0}),i}}function c(n,r,i,a,o,s){i.removeAll();for(var c=0;c<r.length-1;c++){var l=u(a,o);l&&(l.__dimIdx=c,n[c]?(l.setPosition(n[c]),e[s?"initProps":"updateProps"](l,{x:r[c][0],y:r[c][1]},t,o)):l.setPosition(r[c]),i.add(l))}}function l(t){return nI(t,(function(t){return[i.cx,i.cy]}))}o.diff(s).add((function(e){var n=o.getItemLayout(e);if(n){var r=new iz,i=new sz,a={shape:{points:n}};r.shape.points=l(n),i.shape.points=l(n),_L(r,a,t,e),_L(i,a,t,e);var s=new nE,u=new nE;s.add(i),s.add(r),s.add(u),c(i.shape.points,n,u,o,e,!0),o.setItemGraphicEl(e,s)}})).update((function(e,n){var r=s.getItemGraphicEl(n),i=r.childAt(0),a=r.childAt(1),u=r.childAt(2),l={shape:{points:o.getItemLayout(e)}};l.shape.points&&(c(i.shape.points,l.shape.points,u,o,e,!1),CL(a),CL(i),xL(i,l,t),xL(a,l,t),o.setItemGraphicEl(e,r))})).remove((function(t){a.remove(s.getItemGraphicEl(t))})).execute(),o.eachItemGraphicEl((function(t,e){var n=o.getItemModel(e),r=t.childAt(0),i=t.childAt(1),s=t.childAt(2),u=o.getItemVisual(e,"style"),c=u.fill;a.add(t),r.useStyle(Zk(n.getModel("lineStyle").getLineStyle(),{fill:"none",stroke:c})),dL(r,n,"lineStyle"),dL(i,n,"areaStyle");var l=n.getModel("areaStyle"),h=l.isEmpty()&&l.parentModel.isEmpty();i.ignore=h,eI(["emphasis","select","blur"],(function(t){var e=n.getModel([t,"areaStyle"]),r=e.isEmpty()&&e.parentModel.isEmpty();i.ensureState(t).ignore=r&&h})),i.useStyle(Zk(l.getAreaStyle(),{fill:c,opacity:.7,decal:u.decal}));var f=n.getModel("emphasis"),d=f.getModel("itemStyle").getItemStyle();s.eachChild((function(t){if(t instanceof XD){var r=t.style;t.useStyle(Kk({image:r.image,x:r.x,y:r.y,width:r.width,height:r.height},u))}else t.useStyle(u),t.setColor(c),t.style.strokeNoScale=!0;t.ensureState("emphasis").style=Xk(d);var i=o.getStore().get(o.getDimensionIndex(t.__dimIdx),e);(null==i||isNaN(i))&&(i=""),PL(t,DL(n),{labelFetcher:o.hostModel,labelDataIndex:e,labelDimIndex:t.__dimIdx,defaultText:i,inheritColor:c,defaultOpacity:u.opacity})})),cL(t,f.get("focus"),f.get("blurScope"),f.get("disabled"))})),this._data=o},n.prototype.remove=function(){this.group.removeAll(),this._data=null},n.type="radar",n}(w$);const bZ=gZ;var vZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Sk(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hq(oI(this.getData,this),oI(this.getRawData,this))},e.prototype.getInitialData=function(t,e){return $q(this,{generateCoord:"indicator_",generateCoordCount:1/0})},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.coordinateSystem.getIndicatorAxes(),a=this.getData().getName(t),o=""===a?this.name:a,s=UF(this,t);return jF("section",{header:o,sortBlocks:!0,blocks:nI(i,(function(e){var n=r.get(r.mapDimension(e.dim),t);return jF("nameValue",{markerType:"subItem",markerColor:s,name:e.name,value:n,sortParam:n})}))})},e.prototype.getTooltipPosition=function(t){if(null!=t)for(var e=this.getData(),n=this.coordinateSystem,r=e.getValues(nI(n.dimensions,(function(t){return e.mapDimension(t)})),t),i=0,a=r.length;i<a;i++)if(!isNaN(r[i])){var o=n.getIndicatorAxes();return n.coordToPoint(o[i].dataToCoord(r[i]),i)}},e.type="series.radar",e.dependencies=["radar"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"radar",legendHoverLink:!0,radarIndex:0,lineStyle:{width:2,type:"solid",join:"round"},label:{position:"top"},symbolSize:8},e}(oB);const mZ=vZ;var yZ=aY.value;function wZ(t,e){return Zk({show:e},t)}var xZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.optionUpdated=function(){var t=this.get("boundaryGap"),e=this.get("splitNumber"),n=this.get("scale"),r=this.get("axisLine"),i=this.get("axisTick"),a=this.get("axisLabel"),o=this.get("axisName"),s=this.get(["axisName","show"]),u=this.get(["axisName","formatter"]),c=this.get("axisNameGap"),l=this.get("triggerEvent"),h=nI(this.get("indicator")||[],(function(h){null!=h.max&&h.max>0&&!h.min?h.min=0:null!=h.min&&h.min<0&&!h.max&&(h.max=0);var f=o;null!=h.color&&(f=Zk({color:h.color},o));var d=qk(Xk(h),{boundaryGap:t,splitNumber:e,scale:n,axisLine:r,axisTick:i,axisLabel:a,name:h.text,showName:s,nameLocation:"end",nameGap:c,nameTextStyle:f,triggerEvent:l},!1);if(lI(u)){var p=d.name;d.name=u.replace("{value}",null!=p?p:"")}else cI(u)&&(d.name=u(d.name,d));var g=new nR(d,null,this.ecModel);return Jk(g,tY.prototype),g.mainType="radar",g.componentIndex=this.componentIndex,g}),this);this._indicatorModels=h},e.prototype.getIndicatorModels=function(){return this._indicatorModels},e.type="radar",e.defaultOption={z:0,center:["50%","50%"],radius:"75%",startAngle:90,axisName:{show:!0},boundaryGap:[0,0],splitNumber:5,axisNameGap:15,scale:!1,shape:"polygon",axisLine:qk({lineStyle:{color:"#bbb"}},yZ.axisLine),axisLabel:wZ(yZ.axisLabel,!1),axisTick:wZ(yZ.axisTick,!1),splitLine:wZ(yZ.splitLine,!0),splitArea:wZ(yZ.splitArea,!0),indicator:[]},e}(fN);const _Z=xZ;var SZ=["axisLine","axisTickLabel","axisName"],kZ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){this.group.removeAll(),this._buildAxes(t),this._buildSplitLineAndArea(t)},e.prototype._buildAxes=function(t){var e=t.coordinateSystem;eI(nI(e.getIndicatorAxes(),(function(t){var n=t.model.get("showName")?t.name:"";return new WK(t.model,{axisName:n,position:[e.cx,e.cy],rotation:t.angle,labelDirection:-1,tickDirection:-1,nameDirection:1})})),(function(t){eI(SZ,t.add,t),this.group.add(t.getGroup())}),this)},e.prototype._buildSplitLineAndArea=function(t){var e=t.coordinateSystem,n=e.getIndicatorAxes();if(n.length){var r=t.get("shape"),i=t.getModel("splitLine"),a=t.getModel("splitArea"),o=i.getModel("lineStyle"),s=a.getModel("areaStyle"),u=i.get("show"),c=a.get("show"),l=o.get("color"),h=s.get("color"),f=uI(l)?l:[l],d=uI(h)?h:[h],p=[],g=[];if("circle"===r)for(var b=n[0].getTicksCoords(),v=e.cx,m=e.cy,y=0;y<b.length;y++){if(u)p[C(p,f,y)].push(new DB({shape:{cx:v,cy:m,r:b[y].coord}}));if(c&&y<b.length-1)g[C(g,d,y)].push(new tz({shape:{cx:v,cy:m,r0:b[y].coord,r:b[y+1].coord}}))}else{var w,x=nI(n,(function(t,n){var r=t.getTicksCoords();return w=null==w?r.length-1:Math.min(r.length-1,w),nI(r,(function(t){return e.coordToPoint(t.coord,n)}))})),_=[];for(y=0;y<=w;y++){for(var S=[],k=0;k<n.length;k++)S.push(x[k][y]);if(S[0]&&S.push(S[0].slice()),u)p[C(p,f,y)].push(new sz({shape:{points:S}}));if(c&&_)g[C(g,d,y-1)].push(new iz({shape:{points:S.concat(_)}}));_=S.slice().reverse()}}var I=o.getLineStyle(),M=s.getAreaStyle();eI(g,(function(t,e){this.group.add(Xz(t,{style:Zk({stroke:"none",fill:d[e%d.length]},M),silent:!0}))}),this),eI(p,(function(t,e){this.group.add(Xz(t,{style:Zk({fill:"none",stroke:f[e%f.length]},I),silent:!0}))}),this)}function C(t,e,n){var r=n%e.length;return t[r]=t[r]||[],r}},e.type="radar",e}(uB);const IZ=kZ;var MZ=function(t){function e(e,n,r){var i=t.call(this,e,n,r)||this;return i.type="value",i.angle=0,i.name="",i}return Sk(e,t),e}(kK);const CZ=MZ;var TZ=function(){function t(t,e,n){this.dimensions=[],this._model=t,this._indicatorAxes=nI(t.getIndicatorModels(),(function(t,e){var n="indicator_"+e,r=new CZ(n,new MY);return r.name=t.get("name"),r.model=t,t.axis=r,this.dimensions.push(n),r}),this),this.resize(t,n)}return t.prototype.getIndicatorAxes=function(){return this._indicatorAxes},t.prototype.dataToPoint=function(t,e){var n=this._indicatorAxes[e];return this.coordToPoint(n.dataToCoord(t),e)},t.prototype.coordToPoint=function(t,e){var n=this._indicatorAxes[e].angle;return[this.cx+t*Math.cos(n),this.cy-t*Math.sin(n)]},t.prototype.pointToData=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=Math.sqrt(e*e+n*n);e/=r,n/=r;for(var i,a=Math.atan2(-n,e),o=1/0,s=-1,u=0;u<this._indicatorAxes.length;u++){var c=this._indicatorAxes[u],l=Math.abs(a-c.angle);l<o&&(i=c,s=u,o=l)}return[s,+(i&&i.coordToData(r))]},t.prototype.resize=function(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),a=Math.min(r,i)/2;this.cx=cE(n[0],r),this.cy=cE(n[1],i),this.startAngle=t.get("startAngle")*Math.PI/180;var o=t.get("radius");(lI(o)||fI(o))&&(o=[0,o]),this.r0=cE(o[0],a),this.r=cE(o[1],a),eI(this._indicatorAxes,(function(t,e){t.setExtent(this.r0,this.r);var n=this.startAngle+e*Math.PI*2/this._indicatorAxes.length;n=Math.atan2(Math.sin(n),Math.cos(n)),t.angle=n}),this)},t.prototype.update=function(t,e){var n=this._indicatorAxes,r=this._model;eI(n,(function(t){t.scale.setExtent(1/0,-1/0)})),t.eachSeriesByType("radar",(function(e,i){if("radar"===e.get("coordinateSystem")&&t.getComponent("radar",e.get("radarIndex"))===r){var a=e.getData();eI(n,(function(t){t.scale.unionExtentFromData(a,a.mapDimension(t.dim))}))}}),this);var i=r.get("splitNumber"),a=new MY;a.setExtent(0,i),a.setInterval(1),eI(n,(function(t,e){PK(t.scale,t.model,a)}))},t.prototype.convertToPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.convertFromPixel=function(t,e,n){return console.warn("Not implemented."),null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.create=function(e,n){var r=[];return e.eachComponent("radar",(function(i){var a=new t(i,e,n);r.push(a),i.coordinateSystem=a})),e.eachSeriesByType("radar",(function(t){"radar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("radarIndex")||0])})),r},t.dimensions=[],t}();const AZ=TZ;function EZ(t){t.registerCoordinateSystem("radar",AZ),t.registerComponentModel(_Z),t.registerComponentView(IZ),t.registerVisual({seriesType:"radar",reset:function(t){var e=t.getData();e.each((function(t){e.setItemVisual(t,"legendIcon","roundRect")})),e.setVisual("legendIcon","roundRect")}})}var PZ="\0_ec_interaction_mutex";function DZ(t,e){return!!OZ(t)[e]}function OZ(t){return t[PZ]||(t[PZ]={})}rW({type:"takeGlobalCursor",event:"globalCursorTaken",update:"update"},jI);var LZ=function(t){function e(e){var n=t.call(this)||this;n._zr=e;var r=oI(n._mousedownHandler,n),i=oI(n._mousemoveHandler,n),a=oI(n._mouseupHandler,n),o=oI(n._mousewheelHandler,n),s=oI(n._pinchHandler,n);return n.enable=function(t,n){this.disable(),this._opt=Zk(Xk(n)||{},{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),null==t&&(t=!0),!0!==t&&"move"!==t&&"pan"!==t||(e.on("mousedown",r),e.on("mousemove",i),e.on("mouseup",a)),!0!==t&&"scale"!==t&&"zoom"!==t||(e.on("mousewheel",o),e.on("pinch",s))},n.disable=function(){e.off("mousedown",r),e.off("mousemove",i),e.off("mouseup",a),e.off("mousewheel",o),e.off("pinch",s)},n}return Sk(e,t),e.prototype.isDragging=function(){return this._dragging},e.prototype.isPinching=function(){return this._pinching},e.prototype.setPointerChecker=function(t){this.pointerChecker=t},e.prototype.dispose=function(){this.disable()},e.prototype._mousedownHandler=function(t){if(!TM(t)){for(var e=t.target;e;){if(e.draggable)return;e=e.__hostTarget||e.parent}var n=t.offsetX,r=t.offsetY;this.pointerChecker&&this.pointerChecker(t,n,r)&&(this._x=n,this._y=r,this._dragging=!0)}},e.prototype._mousemoveHandler=function(t){if(this._dragging&&jZ("moveOnMouseMove",t,this._opt)&&"pinch"!==t.gestureEvent&&!DZ(this._zr,"globalPan")){var e=t.offsetX,n=t.offsetY,r=this._x,i=this._y,a=e-r,o=n-i;this._x=e,this._y=n,this._opt.preventDefaultMouseMove&&CM(t.event),NZ(this,"pan","moveOnMouseMove",t,{dx:a,dy:o,oldX:r,oldY:i,newX:e,newY:n,isAvailableBehavior:null})}},e.prototype._mouseupHandler=function(t){TM(t)||(this._dragging=!1)},e.prototype._mousewheelHandler=function(t){var e=jZ("zoomOnMouseWheel",t,this._opt),n=jZ("moveOnMouseWheel",t,this._opt),r=t.wheelDelta,i=Math.abs(r),a=t.offsetX,o=t.offsetY;if(0!==r&&(e||n)){if(e){var s=i>3?1.4:i>1?1.2:1.1;RZ(this,"zoom","zoomOnMouseWheel",t,{scale:r>0?s:1/s,originX:a,originY:o,isAvailableBehavior:null})}if(n){var u=Math.abs(r);RZ(this,"scrollMove","moveOnMouseWheel",t,{scrollDelta:(r>0?1:-1)*(u>3?.4:u>1?.15:.05),originX:a,originY:o,isAvailableBehavior:null})}}},e.prototype._pinchHandler=function(t){DZ(this._zr,"globalPan")||RZ(this,"zoom",null,t,{scale:t.pinchScale>1?1.1:1/1.1,originX:t.pinchX,originY:t.pinchY,isAvailableBehavior:null})},e}(cM);function RZ(t,e,n,r,i){t.pointerChecker&&t.pointerChecker(r,i.originX,i.originY)&&(CM(r.event),NZ(t,e,n,r,i))}function NZ(t,e,n,r,i){i.isAvailableBehavior=oI(jZ,null,n,r),t.trigger(e,i)}function jZ(t,e,n){var r=n[t];return!t||r&&(!lI(r)||e.event[r+"Key"])}const FZ=LZ;function BZ(t,e,n){var r=t.target;r.x+=e,r.y+=n,r.dirty()}function zZ(t,e,n,r){var i=t.target,a=t.zoomLimit,o=t.zoom=t.zoom||1;if(o*=e,a){var s=a.min||0,u=a.max||1/0;o=Math.max(Math.min(u,o),s)}var c=o/t.zoom;t.zoom=o,i.x-=(n-i.x)*(c-1),i.y-=(r-i.y)*(c-1),i.scaleX*=c,i.scaleY*=c,i.dirty()}var $Z,VZ={axisPointer:1,tooltip:1,brush:1};function HZ(t,e,n){var r=e.getComponentByElement(t.topTarget),i=r&&r.coordinateSystem;return r&&r!==n&&!VZ.hasOwnProperty(r.mainType)&&i&&i.model!==n}function WZ(t){lI(t)&&(t=(new DOMParser).parseFromString(t,"text/xml"));var e=t;for(9===e.nodeType&&(e=e.firstChild);"svg"!==e.nodeName.toLowerCase()||1!==e.nodeType;)e=e.nextSibling;return e}var GZ={fill:"fill",stroke:"stroke","stroke-width":"lineWidth",opacity:"opacity","fill-opacity":"fillOpacity","stroke-opacity":"strokeOpacity","stroke-dasharray":"lineDash","stroke-dashoffset":"lineDashOffset","stroke-linecap":"lineCap","stroke-linejoin":"lineJoin","stroke-miterlimit":"miterLimit","font-family":"fontFamily","font-size":"fontSize","font-style":"fontStyle","font-weight":"fontWeight","text-anchor":"textAlign",visibility:"visibility",display:"display"},UZ=aI(GZ),XZ={"alignment-baseline":"textBaseline","stop-color":"stopColor"},qZ=aI(XZ),YZ=function(){function t(){this._defs={},this._root=null}return t.prototype.parse=function(t,e){e=e||{};var n=WZ(t);this._defsUsePending=[];var r=new nE;this._root=r;var i=[],a=n.getAttribute("viewBox")||"",o=parseFloat(n.getAttribute("width")||e.width),s=parseFloat(n.getAttribute("height")||e.height);isNaN(o)&&(o=null),isNaN(s)&&(s=null),eQ(n,r,null,!0,!1);for(var u,c,l=n.firstChild;l;)this._parseNode(l,r,i,null,!1,!1),l=l.nextSibling;if(function(t,e){for(var n=0;n<e.length;n++){var r=e[n];r[0].style[r[1]]=t[r[2]]}}(this._defs,this._defsUsePending),this._defsUsePending=[],a){var h=aQ(a);h.length>=4&&(u={x:parseFloat(h[0]||0),y:parseFloat(h[1]||0),width:parseFloat(h[2]),height:parseFloat(h[3])})}if(u&&null!=o&&null!=s&&(c=lQ(u,{x:0,y:0,width:o,height:s}),!e.ignoreViewBox)){var f=r;(r=new nE).add(f),f.scaleX=f.scaleY=c.scale,f.x=c.x,f.y=c.y}return e.ignoreRootClip||null==o||null==s||r.setClipPath(new eO({shape:{x:0,y:0,width:o,height:s}})),{root:r,width:o,height:s,viewBoxRect:u,viewBoxTransform:c,named:i}},t.prototype._parseNode=function(t,e,n,r,i,a){var o,s=t.nodeName.toLowerCase(),u=r;if("defs"===s&&(i=!0),"text"===s&&(a=!0),"defs"===s||"switch"===s)o=e;else{if(!i){var c=$Z[s];if(c&&NI($Z,s)){o=c.call(this,t,e);var l=t.getAttribute("name");if(l){var h={name:l,namedFrom:null,svgNodeTagLower:s,el:o};n.push(h),"g"===s&&(u=h)}else r&&n.push({name:r.name,namedFrom:r,svgNodeTagLower:s,el:o});e.add(o)}}var f=KZ[s];if(f&&NI(KZ,s)){var d=f.call(this,t),p=t.getAttribute("id");p&&(this._defs[p]=d)}}if(o&&o.isGroup)for(var g=t.firstChild;g;)1===g.nodeType?this._parseNode(g,o,n,u,i,a):3===g.nodeType&&a&&this._parseText(g,o),g=g.nextSibling},t.prototype._parseText=function(t,e){var n=new HD({style:{text:t.textContent},silent:!0,x:this._textX||0,y:this._textY||0});JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),function(t,e){var n=e.__selfStyle;if(n){var r=n.textBaseline,i=r;r&&"auto"!==r?"baseline"===r?i="alphabetic":"before-edge"===r||"text-before-edge"===r?i="top":"after-edge"===r||"text-after-edge"===r?i="bottom":"central"!==r&&"mathematical"!==r||(i="middle"):i="alphabetic",t.style.textBaseline=i}var a=e.__inheritedStyle;if(a){var o=a.textAlign,s=o;o&&("middle"===o&&(s="center"),t.style.textAlign=s)}}(n,e);var r=n.style,i=r.fontSize;i&&i<9&&(r.fontSize=9,n.scaleX*=i/9,n.scaleY*=i/9);var a=(r.fontSize||r.fontFamily)&&[r.fontStyle,r.fontWeight,(r.fontSize||12)+"px",r.fontFamily||"sans-serif"].join(" ");r.font=a;var o=n.getBoundingRect();return this._textX+=o.width,e.add(n),n},t.internalField=void($Z={g:function(t,e){var n=new nE;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n},rect:function(t,e){var n=new eO;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.setShape({x:parseFloat(t.getAttribute("x")||"0"),y:parseFloat(t.getAttribute("y")||"0"),width:parseFloat(t.getAttribute("width")||"0"),height:parseFloat(t.getAttribute("height")||"0")}),n.silent=!0,n},circle:function(t,e){var n=new DB;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),r:parseFloat(t.getAttribute("r")||"0")}),n.silent=!0,n},line:function(t,e){var n=new hz;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.setShape({x1:parseFloat(t.getAttribute("x1")||"0"),y1:parseFloat(t.getAttribute("y1")||"0"),x2:parseFloat(t.getAttribute("x2")||"0"),y2:parseFloat(t.getAttribute("y2")||"0")}),n.silent=!0,n},ellipse:function(t,e){var n=new RB;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.setShape({cx:parseFloat(t.getAttribute("cx")||"0"),cy:parseFloat(t.getAttribute("cy")||"0"),rx:parseFloat(t.getAttribute("rx")||"0"),ry:parseFloat(t.getAttribute("ry")||"0")}),n.silent=!0,n},polygon:function(t,e){var n,r=t.getAttribute("points");r&&(n=tQ(r));var i=new iz({shape:{points:n||[]},silent:!0});return JZ(e,i),eQ(t,i,this._defsUsePending,!1,!1),i},polyline:function(t,e){var n,r=t.getAttribute("points");r&&(n=tQ(r));var i=new sz({shape:{points:n||[]},silent:!0});return JZ(e,i),eQ(t,i,this._defsUsePending,!1,!1),i},image:function(t,e){var n=new XD;return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.setStyle({image:t.getAttribute("xlink:href")||t.getAttribute("href"),x:+t.getAttribute("x"),y:+t.getAttribute("y"),width:+t.getAttribute("width"),height:+t.getAttribute("height")}),n.silent=!0,n},text:function(t,e){var n=t.getAttribute("x")||"0",r=t.getAttribute("y")||"0",i=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0";this._textX=parseFloat(n)+parseFloat(i),this._textY=parseFloat(r)+parseFloat(a);var o=new nE;return JZ(e,o),eQ(t,o,this._defsUsePending,!1,!0),o},tspan:function(t,e){var n=t.getAttribute("x"),r=t.getAttribute("y");null!=n&&(this._textX=parseFloat(n)),null!=r&&(this._textY=parseFloat(r));var i=t.getAttribute("dx")||"0",a=t.getAttribute("dy")||"0",o=new nE;return JZ(e,o),eQ(t,o,this._defsUsePending,!1,!0),this._textX+=parseFloat(i),this._textY+=parseFloat(a),o},path:function(t,e){var n=TB(t.getAttribute("d")||"");return JZ(e,n),eQ(t,n,this._defsUsePending,!1,!1),n.silent=!0,n}}),t}(),KZ={lineargradient:function(t){var e=parseInt(t.getAttribute("x1")||"0",10),n=parseInt(t.getAttribute("y1")||"0",10),r=parseInt(t.getAttribute("x2")||"10",10),i=parseInt(t.getAttribute("y2")||"0",10),a=new kz(e,n,r,i);return ZZ(t,a),QZ(t,a),a},radialgradient:function(t){var e=parseInt(t.getAttribute("cx")||"0",10),n=parseInt(t.getAttribute("cy")||"0",10),r=parseInt(t.getAttribute("r")||"0",10),i=new Mz(e,n,r);return ZZ(t,i),QZ(t,i),i}};function ZZ(t,e){"userSpaceOnUse"===t.getAttribute("gradientUnits")&&(e.global=!0)}function QZ(t,e){for(var n=t.firstChild;n;){if(1===n.nodeType&&"stop"===n.nodeName.toLocaleLowerCase()){var r=n.getAttribute("offset"),i=void 0;i=r&&r.indexOf("%")>0?parseInt(r,10)/100:r?parseFloat(r):0;var a={};cQ(n,a,a);var o=a.stopColor||n.getAttribute("stop-color")||"#000000";e.colorStops.push({offset:i,color:o})}n=n.nextSibling}}function JZ(t,e){t&&t.__inheritedStyle&&(e.__inheritedStyle||(e.__inheritedStyle={}),Zk(e.__inheritedStyle,t.__inheritedStyle))}function tQ(t){for(var e=aQ(t),n=[],r=0;r<e.length;r+=2){var i=parseFloat(e[r]),a=parseFloat(e[r+1]);n.push([i,a])}return n}function eQ(t,e,n,r,i){var a=e,o=a.__inheritedStyle=a.__inheritedStyle||{},s={};1===t.nodeType&&(function(t,e){var n=t.getAttribute("transform");if(n){n=n.replace(/,/g," ");var r=[],i=null;n.replace(oQ,(function(t,e,n){return r.push(e,n),""}));for(var a=r.length-1;a>0;a-=2){var o=r[a],s=r[a-1],u=aQ(o);switch(i=i||[1,0,0,1,0,0],s){case"translate":RM(i,i,[parseFloat(u[0]),parseFloat(u[1]||"0")]);break;case"scale":jM(i,i,[parseFloat(u[0]),parseFloat(u[1]||u[0])]);break;case"rotate":NM(i,i,-parseFloat(u[0])*sQ);break;case"skewX":LM(i,[1,0,Math.tan(parseFloat(u[0])*sQ),1,0,0],i);break;case"skewY":LM(i,[1,Math.tan(parseFloat(u[0])*sQ),0,1,0,0],i);break;case"matrix":i[0]=parseFloat(u[0]),i[1]=parseFloat(u[1]),i[2]=parseFloat(u[2]),i[3]=parseFloat(u[3]),i[4]=parseFloat(u[4]),i[5]=parseFloat(u[5])}}e.setLocalTransform(i)}}(t,e),cQ(t,o,s),r||function(t,e,n){for(var r=0;r<UZ.length;r++){var i=UZ[r];null!=(a=t.getAttribute(i))&&(e[GZ[i]]=a)}for(r=0;r<qZ.length;r++){var a;i=qZ[r];null!=(a=t.getAttribute(i))&&(n[XZ[i]]=a)}}(t,o,s)),a.style=a.style||{},null!=o.fill&&(a.style.fill=rQ(a,"fill",o.fill,n)),null!=o.stroke&&(a.style.stroke=rQ(a,"stroke",o.stroke,n)),eI(["lineWidth","opacity","fillOpacity","strokeOpacity","miterLimit","fontSize"],(function(t){null!=o[t]&&(a.style[t]=parseFloat(o[t]))})),eI(["lineDashOffset","lineCap","lineJoin","fontWeight","fontFamily","fontStyle","textAlign"],(function(t){null!=o[t]&&(a.style[t]=o[t])})),i&&(a.__selfStyle=s),o.lineDash&&(a.style.lineDash=nI(aQ(o.lineDash),(function(t){return parseFloat(t)}))),"hidden"!==o.visibility&&"collapse"!==o.visibility||(a.invisible=!0),"none"===o.display&&(a.ignore=!0)}var nQ=/^url\(\s*#(.*?)\)/;function rQ(t,e,n,r){var i=n&&n.match(nQ);if(!i)return"none"===n&&(n=null),n;var a=II(i[1]);r.push([t,e,a])}var iQ=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g;function aQ(t){return t.match(iQ)||[]}var oQ=/(translate|scale|rotate|skewX|skewY|matrix)\(([\-\s0-9\.eE,]*)\)/g,sQ=Math.PI/180;var uQ=/([^\s:;]+)\s*:\s*([^:;]+)/g;function cQ(t,e,n){var r,i=t.getAttribute("style");if(i)for(uQ.lastIndex=0;null!=(r=uQ.exec(i));){var a=r[1],o=NI(GZ,a)?GZ[a]:null;o&&(e[o]=r[2]);var s=NI(XZ,a)?XZ[a]:null;s&&(n[s]=r[2])}}function lQ(t,e){var n=e.width/t.width,r=e.height/t.height,i=Math.min(n,r);return{scale:i,x:-(t.x+t.width/2)*i+(e.x+e.width/2),y:-(t.y+t.height/2)*i+(e.y+e.height/2)}}function hQ(t,e){return Math.abs(t-e)<1e-8}function fQ(t,e,n){var r=0,i=t[0];if(!i)return!1;for(var a=1;a<t.length;a++){var o=t[a];r+=CD(i[0],i[1],o[0],o[1],e,n),i=o}var s=t[0];return hQ(i[0],s[0])&&hQ(i[1],s[1])||(r+=CD(i[0],i[1],s[0],s[1],e,n)),0!==r}var dQ=[];function pQ(t,e){for(var n=0;n<t.length;n++)nM(t[n],t[n],e)}function gQ(t,e,n,r){for(var i=0;i<t.length;i++){var a=t[i];r&&(a=r.project(a)),a&&isFinite(a[0])&&isFinite(a[1])&&(rM(e,e,a),iM(n,n,a))}}var bQ=function(){function t(t){this.name=t}return t.prototype.setCenter=function(t){this._center=t},t.prototype.getCenter=function(){var t=this._center;return t||(t=this._center=this.calcCenter()),t},t}(),vQ=function(t,e){this.type="polygon",this.exterior=t,this.interiors=e},mQ=function(t){this.type="linestring",this.points=t},yQ=function(t){function e(e,n,r){var i=t.call(this,e)||this;return i.type="geoJSON",i.geometries=n,i._center=r&&[r[0],r[1]],i}return Sk(e,t),e.prototype.calcCenter=function(){for(var t,e=this.geometries,n=0,r=0;r<e.length;r++){var i=e[r],a=i.exterior,o=a&&a.length;o>n&&(t=i,n=o)}if(t)return function(t){for(var e=0,n=0,r=0,i=t.length,a=t[i-1][0],o=t[i-1][1],s=0;s<i;s++){var u=t[s][0],c=t[s][1],l=a*c-u*o;e+=l,n+=(a+u)*l,r+=(o+c)*l,a=u,o=c}return e?[n/e/3,r/e/3,e]:[t[0][0]||0,t[0][1]||0]}(t.exterior);var s=this.getBoundingRect();return[s.x+s.width/2,s.y+s.height/2]},e.prototype.getBoundingRect=function(t){var e=this._rect;if(e&&!t)return e;var n=[1/0,1/0],r=[-1/0,-1/0];return eI(this.geometries,(function(e){"polygon"===e.type?gQ(e.exterior,n,r,t):eI(e.points,(function(e){gQ(e,n,r,t)}))})),isFinite(n[0])&&isFinite(n[1])&&isFinite(r[0])&&isFinite(r[1])||(n[0]=n[1]=r[0]=r[1]=0),e=new KM(n[0],n[1],r[0]-n[0],r[1]-n[1]),t||(this._rect=e),e},e.prototype.contain=function(t){var e=this.getBoundingRect(),n=this.geometries;if(!e.contain(t[0],t[1]))return!1;t:for(var r=0,i=n.length;r<i;r++){var a=n[r];if("polygon"===a.type){var o=a.exterior,s=a.interiors;if(fQ(o,t[0],t[1])){for(var u=0;u<(s?s.length:0);u++)if(fQ(s[u],t[0],t[1]))continue t;return!0}}}return!1},e.prototype.transformTo=function(t,e,n,r){var i=this.getBoundingRect(),a=i.width/i.height;n?r||(r=n/a):n=a*r;for(var o=new KM(t,e,n,r),s=i.calculateTransform(o),u=this.geometries,c=0;c<u.length;c++){var l=u[c];"polygon"===l.type?(pQ(l.exterior,s),eI(l.interiors,(function(t){pQ(t,s)}))):eI(l.points,(function(t){pQ(t,s)}))}(i=this._rect).copy(o),this._center=[i.x+i.width/2,i.y+i.height/2]},e.prototype.cloneShallow=function(t){null==t&&(t=this.name);var n=new e(t,this.geometries,this._center);return n._rect=this._rect,n.transformTo=null,n},e}(bQ),wQ=function(t){function e(e,n){var r=t.call(this,e)||this;return r.type="geoSVG",r._elOnlyForCalculate=n,r}return Sk(e,t),e.prototype.calcCenter=function(){for(var t=this._elOnlyForCalculate,e=t.getBoundingRect(),n=[e.x+e.width/2,e.y+e.height/2],r=DM(dQ),i=t;i&&!i.isGeoSVGGraphicRoot;)LM(r,i.getLocalTransform(),r),i=i.parent;return FM(r,r),nM(n,n,r),n},e}(bQ),xQ=DI(["rect","circle","line","ellipse","polygon","polyline","path","text","tspan","g"]),_Q=function(){function t(t,e){this.type="geoSVG",this._usedGraphicMap=DI(),this._freedGraphics=[],this._mapName=t,this._parsedXML=WZ(e)}return t.prototype.load=function(){var t=this._firstGraphic;if(!t){t=this._firstGraphic=this._buildGraphic(this._parsedXML),this._freedGraphics.push(t),this._boundingRect=this._firstGraphic.boundingRect.clone();var e=function(t){var e=[],n=DI();return eI(t,(function(t){if(null==t.namedFrom){var r=new wQ(t.name,t.el);e.push(r),n.set(t.name,r)}})),{regions:e,regionsMap:n}}(t.named),n=e.regions,r=e.regionsMap;this._regions=n,this._regionsMap=r}return{boundingRect:this._boundingRect,regions:this._regions,regionsMap:this._regionsMap}},t.prototype._buildGraphic=function(t){var e,n,r,i;try{kI(null!=(n=(e=t&&(r=t,i={ignoreViewBox:!0,ignoreRootClip:!0},(new YZ).parse(r,i))||{}).root))}catch(t){throw new Error("Invalid svg format\n"+t.message)}var a=new nE;a.add(n),a.isGeoSVGGraphicRoot=!0;var o=e.width,s=e.height,u=e.viewBoxRect,c=this._boundingRect;if(!c){var l=void 0,h=void 0,f=void 0,d=void 0;if(null!=o?(l=0,f=o):u&&(l=u.x,f=u.width),null!=s?(h=0,d=s):u&&(h=u.y,d=u.height),null==l||null==h){var p=n.getBoundingRect();null==l&&(l=p.x,f=p.width),null==h&&(h=p.y,d=p.height)}c=this._boundingRect=new KM(l,h,f,d)}if(u){var g=lQ(u,c);n.scaleX=n.scaleY=g.scale,n.x=g.x,n.y=g.y}a.setClipPath(new eO({shape:c.plain()}));var b=[];return eI(e.named,(function(t){var e;null!=xQ.get(t.svgNodeTagLower)&&(b.push(t),(e=t.el).silent=!1,e.isGroup&&e.traverse((function(t){t.silent=!1})))})),{root:a,boundingRect:c,named:b}},t.prototype.useGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);return n||(n=this._freedGraphics.pop()||this._buildGraphic(this._parsedXML),e.set(t,n),n)},t.prototype.freeGraphic=function(t){var e=this._usedGraphicMap,n=e.get(t);n&&(e.removeKey(t),this._freedGraphics.push(n))},t}();function SQ(t,e,n){for(var r=0;r<t.length;r++)t[r]=kQ(t[r],e[r],n)}function kQ(t,e,n){for(var r=[],i=e[0],a=e[1],o=0;o<t.length;o+=2){var s=t.charCodeAt(o)-64,u=t.charCodeAt(o+1)-64;s=s>>1^-(1&s),u=u>>1^-(1&u),i=s+=i,a=u+=a,r.push([s/n,u/n])}return r}function IQ(t,e){return nI(iI((t=function(t){if(!t.UTF8Encoding)return t;var e=t,n=e.UTF8Scale;return null==n&&(n=1024),eI(e.features,(function(t){var e=t.geometry,r=e.encodeOffsets,i=e.coordinates;if(r)switch(e.type){case"LineString":e.coordinates=kQ(i,r,n);break;case"Polygon":case"MultiLineString":SQ(i,r,n);break;case"MultiPolygon":eI(i,(function(t,e){return SQ(t,r[e],n)}))}})),e.UTF8Encoding=!1,e}(t)).features,(function(t){return t.geometry&&t.properties&&t.geometry.coordinates.length>0})),(function(t){var n=t.properties,r=t.geometry,i=[];switch(r.type){case"Polygon":var a=r.coordinates;i.push(new vQ(a[0],a.slice(1)));break;case"MultiPolygon":eI(r.coordinates,(function(t){t[0]&&i.push(new vQ(t[0],t.slice(1)))}));break;case"LineString":i.push(new mQ([r.coordinates]));break;case"MultiLineString":i.push(new mQ(r.coordinates))}var o=new yQ(n[e||"name"],i,n.cp);return o.properties=n,o}))}for(var MQ=[126,25],CQ="南海诸岛",TQ=[[[0,3.5],[7,11.2],[15,11.9],[30,7],[42,.7],[52,.7],[56,7.7],[59,.7],[64,.7],[64,0],[5,0],[0,3.5]],[[13,16.1],[19,14.7],[16,21.7],[11,23.1],[13,16.1]],[[12,32.2],[14,38.5],[15,38.5],[13,32.2],[12,32.2]],[[16,47.6],[12,53.2],[13,53.2],[18,47.6],[16,47.6]],[[6,64.4],[8,70],[9,70],[8,64.4],[6,64.4]],[[23,82.6],[29,79.8],[30,79.8],[25,82.6],[23,82.6]],[[37,70.7],[43,62.3],[44,62.3],[39,70.7],[37,70.7]],[[48,51.1],[51,45.5],[53,45.5],[50,51.1],[48,51.1]],[[51,35],[51,28.7],[53,28.7],[53,35],[51,35]],[[52,22.4],[55,17.5],[56,17.5],[53,22.4],[52,22.4]],[[58,12.6],[62,7],[63,7],[60,12.6],[58,12.6]],[[0,3.5],[0,93.1],[64,93.1],[64,0],[63,0],[63,92.4],[1,92.4],[1,3.5],[0,3.5]]],AQ=0;AQ<TQ.length;AQ++)for(var EQ=0;EQ<TQ[AQ].length;EQ++)TQ[AQ][EQ][0]/=10.5,TQ[AQ][EQ][1]/=-14,TQ[AQ][EQ][0]+=MQ[0],TQ[AQ][EQ][1]+=MQ[1];var PQ={南海诸岛:[32,80],广东:[0,-10],香港:[10,5],澳门:[-10,10],天津:[5,5]};var DQ=[[[123.45165252685547,25.73527164402261],[123.49731445312499,25.73527164402261],[123.49731445312499,25.750734064600884],[123.45165252685547,25.750734064600884],[123.45165252685547,25.73527164402261]]];var OQ=function(){function t(t,e,n){var r;this.type="geoJSON",this._parsedMap=DI(),this._mapName=t,this._specialAreas=n,this._geoJSON=lI(r=e)?"undefined"!=typeof JSON&&JSON.parse?JSON.parse(r):new Function("return ("+r+");")():r}return t.prototype.load=function(t,e){e=e||"name";var n=this._parsedMap.get(e);if(!n){var r=this._parseToRegions(e);n=this._parsedMap.set(e,{regions:r,boundingRect:LQ(r)})}var i=DI(),a=[];return eI(n.regions,(function(e){var n=e.name;t&&NI(t,n)&&(e=e.cloneShallow(n=t[n])),a.push(e),i.set(n,e)})),{regions:a,boundingRect:n.boundingRect||new KM(0,0,0,0),regionsMap:i}},t.prototype._parseToRegions=function(t){var e,n=this._mapName,r=this._geoJSON;try{e=r?IQ(r,t):[]}catch(t){throw new Error("Invalid geoJson format\n"+t.message)}return function(t,e){if("china"===t){for(var n=0;n<e.length;n++)if(e[n].name===CQ)return;e.push(new yQ(CQ,nI(TQ,(function(t){return{type:"polygon",exterior:t}})),MQ))}}(n,e),eI(e,(function(t){var e=t.name;!function(t,e){if("china"===t){var n=PQ[e.name];if(n){var r=e.getCenter();r[0]+=n[0]/10.5,r[1]+=-n[1]/14,e.setCenter(r)}}}(n,t),function(t,e){"china"===t&&"台湾"===e.name&&e.geometries.push({type:"polygon",exterior:DQ[0]})}(n,t);var r=this._specialAreas&&this._specialAreas[e];r&&t.transformTo(r.left,r.top,r.width,r.height)}),this),e},t.prototype.getMapForUser=function(){return{geoJson:this._geoJSON,geoJSON:this._geoJSON,specialAreas:this._specialAreas}},t}();function LQ(t){for(var e,n=0;n<t.length;n++){var r=t[n].getBoundingRect();(e=e||r.clone()).union(r)}return e}var RQ=DI();const NQ=function(t,e,n){if(e.svg){var r=new _Q(t,e.svg);RQ.set(t,r)}else{var i=e.geoJson||e.geoJSON;i&&!e.features?n=e.specialAreas:i=e;r=new OQ(t,i,n);RQ.set(t,r)}},jQ=function(t){return RQ.get(t)},FQ=function(t){var e=RQ.get(t);return e&&"geoJSON"===e.type&&e.getMapForUser()},BQ=function(t,e,n){var r=RQ.get(t);if(r)return r.load(e,n)};var zQ=["rect","circle","line","ellipse","polygon","polyline","path"],$Q=DI(zQ),VQ=DI(zQ.concat(["g"])),HQ=DI(zQ.concat(["g"])),WQ=GE();function GQ(t){var e=t.getItemStyle(),n=t.get("areaColor");return null!=n&&(e.fill=n),e}function UQ(t){var e=t.style;e&&(e.stroke=e.stroke||e.fill,e.fill=null)}var XQ=function(){function t(t){var e=new nE;this.uid=iR("ec_map_draw"),this._controller=new FZ(t.getZr()),this._controllerHost={target:e},this.group=e,e.add(this._regionsGroup=new nE),e.add(this._svgGroup=new nE)}return t.prototype.draw=function(t,e,n,r,i){var a="geo"===t.mainType,o=t.getData&&t.getData();a&&e.eachComponent({mainType:"series",subType:"map"},(function(e){o||e.getHostGeoModel()!==t||(o=e.getData())}));var s=t.coordinateSystem,u=this._regionsGroup,c=this.group,l=s.getTransformInfo(),h=l.raw,f=l.roam;!u.childAt(0)||i?(c.x=f.x,c.y=f.y,c.scaleX=f.scaleX,c.scaleY=f.scaleY,c.dirty()):xL(c,f,t);var d=o&&o.getVisual("visualMeta")&&o.getVisual("visualMeta").length>0,p={api:n,geo:s,mapOrGeoModel:t,data:o,isVisualEncodedByVisualMap:d,isGeo:a,transformInfoRaw:h};"geoJSON"===s.resourceType?this._buildGeoJSON(p):"geoSVG"===s.resourceType&&this._buildSVG(p),this._updateController(t,e,n),this._updateMapSelectHandler(t,u,n,r)},t.prototype._buildGeoJSON=function(t){var e=this._regionsGroupByName=DI(),n=DI(),r=this._regionsGroup,i=t.transformInfoRaw,a=t.mapOrGeoModel,o=t.data,s=t.geo.projection,u=s&&s.stream;function c(t,e){return e&&(t=e(t)),t&&[t[0]*i.scaleX+i.x,t[1]*i.scaleY+i.y]}function l(t){for(var e=[],n=!u&&s&&s.project,r=0;r<t.length;++r){var i=c(t[r],n);i&&e.push(i)}return e}function h(t){return{shape:{points:l(t)}}}r.removeAll(),eI(t.geo.regions,(function(i){var l=i.name,f=e.get(l),d=n.get(l)||{},p=d.dataIdx,g=d.regionModel;f||(f=e.set(l,new nE),r.add(f),p=o?o.indexOfName(l):null,g=t.isGeo?a.getRegionModel(l):o?o.getItemModel(p):null,n.set(l,{dataIdx:p,regionModel:g}));var b=[],v=[];eI(i.geometries,(function(t){if("polygon"===t.type){var e=[t.exterior].concat(t.interiors||[]);u&&(e=JQ(e,u)),eI(e,(function(t){b.push(new iz(h(t)))}))}else{var n=t.points;u&&(n=JQ(n,u,!0)),eI(n,(function(t){v.push(new sz(h(t)))}))}}));var m=c(i.getCenter(),s&&s.project);function y(e,n){if(e.length){var r=new xz({culling:!0,segmentIgnoreThreshold:1,shape:{paths:e}});f.add(r),qQ(t,r,p,g),YQ(t,r,l,g,a,p,m),n&&(UQ(r),eI(r.states,UQ))}}y(b),y(v,!0)})),e.each((function(e,r){var i=n.get(r),o=i.dataIdx,s=i.regionModel;KQ(t,e,r,s,a,o),ZQ(t,e,r,s,a),QQ(t,e,r,s,a)}),this)},t.prototype._buildSVG=function(t){var e=t.geo.map,n=t.transformInfoRaw;this._svgGroup.x=n.x,this._svgGroup.y=n.y,this._svgGroup.scaleX=n.scaleX,this._svgGroup.scaleY=n.scaleY,this._svgResourceChanged(e)&&(this._freeSVG(),this._useSVG(e));var r=this._svgDispatcherMap=DI(),i=!1;eI(this._svgGraphicRecord.named,(function(e){var n=e.name,a=t.mapOrGeoModel,o=t.data,s=e.svgNodeTagLower,u=e.el,c=o?o.indexOfName(n):null,l=a.getRegionModel(n);(null!=$Q.get(s)&&u instanceof FP&&qQ(t,u,c,l),u instanceof FP&&(u.culling=!0),u.z2EmphasisLift=0,e.namedFrom)||(null!=HQ.get(s)&&YQ(t,u,n,l,a,c,null),KQ(t,u,n,l,a,c),ZQ(t,u,n,l,a),null!=VQ.get(s)&&("self"===QQ(t,u,n,l,a)&&(i=!0),(r.get(n)||r.set(n,[])).push(u)))}),this),this._enableBlurEntireSVG(i,t)},t.prototype._enableBlurEntireSVG=function(t,e){if(t&&e.isGeo){var n=e.mapOrGeoModel.getModel(["blur","itemStyle"]).getItemStyle().opacity;this._svgGraphicRecord.root.traverse((function(t){if(!t.isGroup){UO(t);var e=t.ensureState("blur").style||{};null==e.opacity&&null!=n&&(e.opacity=n),t.ensureState("emphasis")}}))}},t.prototype.remove=function(){this._regionsGroup.removeAll(),this._regionsGroupByName=null,this._svgGroup.removeAll(),this._freeSVG(),this._controller.dispose(),this._controllerHost=null},t.prototype.findHighDownDispatchers=function(t,e){if(null==t)return[];var n=e.coordinateSystem;if("geoJSON"===n.resourceType){var r=this._regionsGroupByName;if(r){var i=r.get(t);return i?[i]:[]}}else if("geoSVG"===n.resourceType)return this._svgDispatcherMap&&this._svgDispatcherMap.get(t)||[]},t.prototype._svgResourceChanged=function(t){return this._svgMapName!==t},t.prototype._useSVG=function(t){var e=jQ(t);if(e&&"geoSVG"===e.type){var n=e.useGraphic(this.uid);this._svgGroup.add(n.root),this._svgGraphicRecord=n,this._svgMapName=t}},t.prototype._freeSVG=function(){var t=this._svgMapName;if(null!=t){var e=jQ(t);e&&"geoSVG"===e.type&&e.freeGraphic(this.uid),this._svgGraphicRecord=null,this._svgDispatcherMap=null,this._svgGroup.removeAll(),this._svgMapName=null}},t.prototype._updateController=function(t,e,n){var r=t.coordinateSystem,i=this._controller,a=this._controllerHost;a.zoomLimit=t.get("scaleLimit"),a.zoom=r.getZoom(),i.enable(t.get("roam")||!1);var o=t.mainType;function s(){var e={type:"geoRoam",componentType:o};return e[o+"Id"]=t.id,e}i.off("pan").on("pan",(function(t){this._mouseDownFlag=!1,BZ(a,t.dx,t.dy),n.dispatchAction(Kk(s(),{dx:t.dx,dy:t.dy,animation:{duration:0}}))}),this),i.off("zoom").on("zoom",(function(t){this._mouseDownFlag=!1,zZ(a,t.scale,t.originX,t.originY),n.dispatchAction(Kk(s(),{zoom:t.scale,originX:t.originX,originY:t.originY,animation:{duration:0}}))}),this),i.setPointerChecker((function(e,i,a){return r.containPoint([i,a])&&!HZ(e,n,t)}))},t.prototype.resetForLabelLayout=function(){this.group.traverse((function(t){var e=t.getTextContent();e&&(e.ignore=WQ(e).ignore)}))},t.prototype._updateMapSelectHandler=function(t,e,n,r){var i=this;e.off("mousedown"),e.off("click"),t.get("selectedMode")&&(e.on("mousedown",(function(){i._mouseDownFlag=!0})),e.on("click",(function(t){i._mouseDownFlag&&(i._mouseDownFlag=!1)})))},t}();function qQ(t,e,n,r){var i=r.getModel("itemStyle"),a=r.getModel(["emphasis","itemStyle"]),o=r.getModel(["blur","itemStyle"]),s=r.getModel(["select","itemStyle"]),u=GQ(i),c=GQ(a),l=GQ(s),h=GQ(o),f=t.data;if(f){var d=f.getItemVisual(n,"style"),p=f.getItemVisual(n,"decal");t.isVisualEncodedByVisualMap&&d.fill&&(u.fill=d.fill),p&&(u.decal=rH(p,t.api))}e.setStyle(u),e.style.strokeNoScale=!0,e.ensureState("emphasis").style=c,e.ensureState("select").style=l,e.ensureState("blur").style=h,UO(e)}function YQ(t,e,n,r,i,a,o){var s=t.data,u=t.isGeo,c=s&&isNaN(s.get(s.mapDimension("value"),a)),l=s&&s.getItemLayout(a);if(u||c||l&&l.showLabel){var h=u?n:a,f=void 0;(!s||a>=0)&&(f=i);var d=o?{normal:{align:"center",verticalAlign:"middle"}}:null;PL(e,DL(r),{labelFetcher:f,labelDataIndex:h,defaultText:n},d);var p=e.getTextContent();if(p&&(WQ(p).ignore=p.ignore,e.textConfig&&o)){var g=e.getBoundingRect().clone();e.textConfig.layoutRect=g,e.textConfig.position=[(o[0]-g.x)/g.width*100+"%",(o[1]-g.y)/g.height*100+"%"]}e.disableLabelAnimation=!0}else e.removeTextContent(),e.removeTextConfig(),e.disableLabelAnimation=null}function KQ(t,e,n,r,i,a){t.data?t.data.setItemGraphicEl(a,e):mO(e).eventData={componentType:"geo",componentIndex:i.componentIndex,geoIndex:i.componentIndex,name:n,region:r&&r.option||{}}}function ZQ(t,e,n,r,i){t.data||c$({el:e,componentModel:i,itemName:n,itemTooltipOption:r.get("tooltip")})}function QQ(t,e,n,r,i){e.highDownSilentOnTouch=!!i.get("selectedMode");var a=r.getModel("emphasis"),o=a.get("focus");return cL(e,o,a.get("blurScope"),a.get("disabled")),t.isGeo&&function(t,e,n){var r=mO(t);r.componentMainType=e.mainType,r.componentIndex=e.componentIndex,r.componentHighDownName=n}(e,i,n),o}function JQ(t,e,n){var r,i=[];function a(){r=[]}function o(){r.length&&(i.push(r),r=[])}var s=e({polygonStart:a,polygonEnd:o,lineStart:a,lineEnd:o,point:function(t,e){isFinite(t)&&isFinite(e)&&r.push([t,e])},sphere:function(){}});return!n&&s.polygonStart(),eI(t,(function(t){s.lineStart();for(var e=0;e<t.length;e++)s.point(t[e][0],t[e][1]);s.lineEnd()})),!n&&s.polygonEnd(),i}const tJ=XQ;var eJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n,r){if(!r||"mapToggleSelect"!==r.type||r.from!==this.uid){var i=this.group;if(i.removeAll(),!t.getHostGeoModel()){if(this._mapDraw&&r&&"geoRoam"===r.type&&this._mapDraw.resetForLabelLayout(),r&&"geoRoam"===r.type&&"series"===r.componentType&&r.seriesId===t.id)(a=this._mapDraw)&&i.add(a.group);else if(t.needsDrawMap){var a=this._mapDraw||new tJ(n);i.add(a.group),a.draw(t,e,n,this,r),this._mapDraw=a}else this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null;t.get("showLegendSymbol")&&e.getComponent("legend")&&this._renderSymbols(t,e,n)}}},e.prototype.remove=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null,this.group.removeAll()},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove(),this._mapDraw=null},e.prototype._renderSymbols=function(t,e,n){var r=t.originalData,i=this.group;r.each(r.mapDimension("value"),(function(e,n){if(!isNaN(e)){var a=r.getItemLayout(n);if(a&&a.point){var o=a.point,s=a.offset,u=new DB({style:{fill:t.getData().getVisual("style").fill},shape:{cx:o[0]+9*s,cy:o[1],r:3},silent:!0,z2:8+(s?0:11)});if(!s){var c=t.mainSeries.getData(),l=r.getName(n),h=c.indexOfName(l),f=r.getItemModel(n),d=f.getModel("label"),p=c.getItemGraphicEl(h);PL(u,DL(f),{labelFetcher:{getFormattedLabel:function(e,n){return t.getFormattedLabel(h,n)}},defaultText:l}),u.disableLabelAnimation=!0,d.get("position")||u.setTextConfig({position:"bottom"}),p.onHoverStateChange=function(t){WO(u,t)}}i.add(u)}}}))},e.type="map",e}(w$);const nJ=eJ;var rJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.needsDrawMap=!1,n.seriesGroup=[],n.getTooltipPosition=function(t){if(null!=t){var e=this.getData().getName(t),n=this.coordinateSystem,r=n.getRegion(e);return r&&n.dataToPoint(r.getCenter())}},n}return Sk(e,t),e.prototype.getInitialData=function(t){for(var e=$q(this,{coordDimensions:["value"],encodeDefaulter:sI(EN,this)}),n=DI(),r=[],i=0,a=e.count();i<a;i++){var o=e.getName(i);n.set(o,!0)}return eI(BQ(this.getMapType(),this.option.nameMap,this.option.nameProperty).regions,(function(t){var e=t.name;n.get(e)||r.push(e)})),e.appendValues([],r),e},e.prototype.getHostGeoModel=function(){var t=this.option.geoIndex;return null!=t?this.ecModel.getComponent("geo",t):null},e.prototype.getMapType=function(){return(this.getHostGeoModel()||this).option.map},e.prototype.getRawValue=function(t){var e=this.getData();return e.get(e.mapDimension("value"),t)},e.prototype.getRegionModel=function(t){var e=this.getData();return e.getItemModel(e.indexOfName(t))},e.prototype.formatTooltip=function(t,e,n){for(var r=this.getData(),i=this.getRawValue(t),a=r.getName(t),o=this.seriesGroup,s=[],u=0;u<o.length;u++){var c=o[u].originalData.indexOfName(a),l=r.mapDimension("value");isNaN(o[u].originalData.get(l,c))||s.push(o[u].name)}return jF("section",{header:s.join(", "),noHeader:!s.length,blocks:[jF("nameValue",{name:a,value:i})]})},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.getLegendIcon=function(t){var e=t.icon||"roundRect",n=EV(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill);return n.setStyle(t.itemStyle),n.style.stroke="none",e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2),n},e.type="series.map",e.dependencies=["geo"],e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"geo",map:"",left:"center",top:"center",aspectScale:null,showLegendSymbol:!0,boundingCoords:null,center:null,zoom:1,scaleLimit:null,selectedMode:!0,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444",areaColor:"#eee"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{areaColor:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},nameProperty:"name"},e}(oB);const iJ=rJ;function aJ(t){var e={};t.eachSeriesByType("map",(function(t){var n=t.getHostGeoModel(),r=n?"o"+n.id:"i"+t.getMapType();(e[r]=e[r]||[]).push(t)})),eI(e,(function(t,e){for(var n,r,i,a=(n=nI(t,(function(t){return t.getData()})),r=t[0].get("mapValueCalculation"),i={},eI(n,(function(t){t.each(t.mapDimension("value"),(function(e,n){var r="ec-"+t.getName(n);i[r]=i[r]||[],isNaN(e)||i[r].push(e)}))})),n[0].map(n[0].mapDimension("value"),(function(t,e){for(var a="ec-"+n[0].getName(e),o=0,s=1/0,u=-1/0,c=i[a].length,l=0;l<c;l++)s=Math.min(s,i[a][l]),u=Math.max(u,i[a][l]),o+=i[a][l];return 0===c?NaN:"min"===r?s:"max"===r?u:"average"===r?o/c:o}))),o=0;o<t.length;o++)t[o].originalData=t[o].getData();for(o=0;o<t.length;o++)t[o].seriesGroup=t,t[o].needsDrawMap=0===o&&!t[o].getHostGeoModel(),t[o].setData(a.cloneShallow()),t[o].mainSeries=t[0]}))}function oJ(t){var e={};t.eachSeriesByType("map",(function(n){var r=n.getMapType();if(!n.getHostGeoModel()&&!e[r]){var i={};eI(n.seriesGroup,(function(e){var n=e.coordinateSystem,r=e.originalData;e.get("showLegendSymbol")&&t.getComponent("legend")&&r.each(r.mapDimension("value"),(function(t,e){var a=r.getName(e),o=n.getRegion(a);if(o&&!isNaN(t)){var s=i[a]||0,u=n.dataToPoint(o.getCenter());i[a]=s+1,r.setItemLayout(e,{point:u,offset:s})}}))}));var a=n.getData();a.each((function(t){var e=a.getName(t),n=a.getItemLayout(t)||{};n.showLabel=!i[e],a.setItemLayout(t,n)})),e[r]=!0}}))}var sJ=nM,uJ=function(t){function e(e){var n=t.call(this)||this;return n.type="view",n.dimensions=["x","y"],n._roamTransformable=new LA,n._rawTransformable=new LA,n.name=e,n}return Sk(e,t),e.prototype.setBoundingRect=function(t,e,n,r){return this._rect=new KM(t,e,n,r),this._rect},e.prototype.getBoundingRect=function(){return this._rect},e.prototype.setViewRect=function(t,e,n,r){this._transformTo(t,e,n,r),this._viewRect=new KM(t,e,n,r)},e.prototype._transformTo=function(t,e,n,r){var i=this.getBoundingRect(),a=this._rawTransformable;a.transform=i.calculateTransform(new KM(t,e,n,r));var o=a.parent;a.parent=null,a.decomposeTransform(),a.parent=o,this._updateTransform()},e.prototype.setCenter=function(t,e){t&&(this._center=[cE(t[0],e.getWidth()),cE(t[1],e.getHeight())],this._updateCenterAndZoom())},e.prototype.setZoom=function(t){t=t||1;var e=this.zoomLimit;e&&(null!=e.max&&(t=Math.min(e.max,t)),null!=e.min&&(t=Math.max(e.min,t))),this._zoom=t,this._updateCenterAndZoom()},e.prototype.getDefaultCenter=function(){var t=this.getBoundingRect();return[t.x+t.width/2,t.y+t.height/2]},e.prototype.getCenter=function(){return this._center||this.getDefaultCenter()},e.prototype.getZoom=function(){return this._zoom||1},e.prototype.getRoamTransform=function(){return this._roamTransformable.getLocalTransform()},e.prototype._updateCenterAndZoom=function(){var t=this._rawTransformable.getLocalTransform(),e=this._roamTransformable,n=this.getDefaultCenter(),r=this.getCenter(),i=this.getZoom();r=nM([],r,t),n=nM([],n,t),e.originX=r[0],e.originY=r[1],e.x=n[0]-r[0],e.y=n[1]-r[1],e.scaleX=e.scaleY=i,this._updateTransform()},e.prototype._updateTransform=function(){var t=this._roamTransformable,e=this._rawTransformable;e.parent=t,t.updateTransform(),e.updateTransform(),OM(this.transform||(this.transform=[]),e.transform||[1,0,0,1,0,0]),this._rawTransform=e.getLocalTransform(),this.invTransform=this.invTransform||[],FM(this.invTransform,this.transform),this.decomposeTransform()},e.prototype.getTransformInfo=function(){var t=this._rawTransformable,e=this._roamTransformable,n=new LA;return n.transform=e.transform,n.decomposeTransform(),{roam:{x:n.x,y:n.y,scaleX:n.scaleX,scaleY:n.scaleY},raw:{x:t.x,y:t.y,scaleX:t.scaleX,scaleY:t.scaleY}}},e.prototype.getViewRect=function(){return this._viewRect},e.prototype.getViewRectAfterRoam=function(){var t=this.getBoundingRect().clone();return t.applyTransform(this.transform),t},e.prototype.dataToPoint=function(t,e,n){var r=e?this._rawTransform:this.transform;return n=n||[],r?sJ(n,t,r):VI(n,t)},e.prototype.pointToData=function(t){var e=this.invTransform;return e?sJ([],t,e):[t[0],t[1]]},e.prototype.convertToPixel=function(t,e,n){var r=cJ(e);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var r=cJ(e);return r===this?r.pointToData(n):null},e.prototype.containPoint=function(t){return this.getViewRectAfterRoam().contain(t[0],t[1])},e.dimensions=["x","y"],e}(LA);function cJ(t){var e=t.seriesModel;return e?e.coordinateSystem:null}const lJ=uJ;var hJ={geoJSON:{aspectScale:.75,invertLongitute:!0},geoSVG:{aspectScale:1,invertLongitute:!1}},fJ=["lng","lat"],dJ=function(t){function e(e,n,r){var i=t.call(this,e)||this;i.dimensions=fJ,i.type="geo",i._nameCoordMap=DI(),i.map=n;var a,o=r.projection,s=BQ(n,r.nameMap,r.nameProperty),u=jQ(n),c=(i.resourceType=u?u.type:null,i.regions=s.regions),l=hJ[u.type];if(i._regionsMap=s.regionsMap,i.regions=s.regions,i.projection=o,o)for(var h=0;h<c.length;h++){var f=c[h].getBoundingRect(o);(a=a||f.clone()).union(f)}else a=s.boundingRect;return i.setBoundingRect(a.x,a.y,a.width,a.height),i.aspectScale=o?1:wI(r.aspectScale,l.aspectScale),i._invertLongitute=!o&&l.invertLongitute,i}return Sk(e,t),e.prototype._transformTo=function(t,e,n,r){var i=this.getBoundingRect(),a=this._invertLongitute;i=i.clone(),a&&(i.y=-i.y-i.height);var o=this._rawTransformable;o.transform=i.calculateTransform(new KM(t,e,n,r));var s=o.parent;o.parent=null,o.decomposeTransform(),o.parent=s,a&&(o.scaleY=-o.scaleY),this._updateTransform()},e.prototype.getRegion=function(t){return this._regionsMap.get(t)},e.prototype.getRegionByCoord=function(t){for(var e=this.regions,n=0;n<e.length;n++){var r=e[n];if("geoJSON"===r.type&&r.contain(t))return e[n]}},e.prototype.addGeoCoord=function(t,e){this._nameCoordMap.set(t,e)},e.prototype.getGeoCoord=function(t){var e=this._regionsMap.get(t);return this._nameCoordMap.get(t)||e&&e.getCenter()},e.prototype.dataToPoint=function(t,e,n){if(lI(t)&&(t=this.getGeoCoord(t)),t){var r=this.projection;return r&&(t=r.project(t)),t&&this.projectedToPoint(t,e,n)}},e.prototype.pointToData=function(t){var e=this.projection;return e&&(t=e.unproject(t)),t&&this.pointToProjected(t)},e.prototype.pointToProjected=function(e){return t.prototype.pointToData.call(this,e)},e.prototype.projectedToPoint=function(e,n,r){return t.prototype.dataToPoint.call(this,e,n,r)},e.prototype.convertToPixel=function(t,e,n){var r=pJ(e);return r===this?r.dataToPoint(n):null},e.prototype.convertFromPixel=function(t,e,n){var r=pJ(e);return r===this?r.pointToData(n):null},e}(lJ);function pJ(t){var e=t.geoModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem||(n.getReferringComponents("geo",YE).models[0]||{}).coordinateSystem:null}Jk(dJ,lJ);const gJ=dJ;function bJ(t,e){var n=t.get("boundingCoords");if(null!=n){var r=n[0],i=n[1];if(isFinite(r[0])&&isFinite(r[1])&&isFinite(i[0])&&isFinite(i[1])){var a=this.projection;if(a){var o=r[0],s=r[1],u=i[0],c=i[1];r=[1/0,1/0],i=[-1/0,-1/0];var l=function(t,e,n,o){for(var s=n-t,u=o-e,c=0;c<=100;c++){var l=c/100,h=a.project([t+s*l,e+u*l]);rM(r,r,h),iM(i,i,h)}};l(o,s,u,s),l(u,s,u,c),l(u,c,o,c),l(o,c,u,s)}this.setBoundingRect(r[0],r[1],i[0]-r[0],i[1]-r[1])}else 0}var h,f,d,p=this.getBoundingRect(),g=t.get("layoutCenter"),b=t.get("layoutSize"),v=e.getWidth(),m=e.getHeight(),y=p.width/p.height*this.aspectScale,w=!1;if(g&&b&&(h=[cE(g[0],v),cE(g[1],m)],f=cE(b,Math.min(v,m)),isNaN(h[0])||isNaN(h[1])||isNaN(f)||(w=!0)),w)d={},y>1?(d.width=f,d.height=f/y):(d.height=f,d.width=f*y),d.y=h[1]-d.height/2,d.x=h[0]-d.width/2;else{var x=t.getBoxLayoutParams();x.aspect=y,d=iN(x,{width:v,height:m})}this.setViewRect(d.x,d.y,d.width,d.height),this.setCenter(t.get("center"),e),this.setZoom(t.get("zoom"))}var vJ=function(){function t(){this.dimensions=fJ}return t.prototype.create=function(t,e){var n=[];function r(t){return{nameProperty:t.get("nameProperty"),aspectScale:t.get("aspectScale"),projection:t.get("projection")}}t.eachComponent("geo",(function(t,i){var a=t.get("map"),o=new gJ(a+i,a,Kk({nameMap:t.get("nameMap")},r(t)));o.zoomLimit=t.get("scaleLimit"),n.push(o),t.coordinateSystem=o,o.model=t,o.resize=bJ,o.resize(t,e)})),t.eachSeries((function(t){if("geo"===t.get("coordinateSystem")){var e=t.get("geoIndex")||0;t.coordinateSystem=n[e]}}));var i={};return t.eachSeriesByType("map",(function(t){if(!t.getHostGeoModel()){var e=t.getMapType();i[e]=i[e]||[],i[e].push(t)}})),eI(i,(function(t,i){var a=nI(t,(function(t){return t.get("nameMap")})),o=new gJ(i,i,Kk({nameMap:Yk(a)},r(t[0])));o.zoomLimit=yI.apply(null,nI(t,(function(t){return t.get("scaleLimit")}))),n.push(o),o.resize=bJ,o.resize(t[0],e),eI(t,(function(t){t.coordinateSystem=o,function(t,e){eI(e.get("geoCoord"),(function(e,n){t.addGeoCoord(n,e)}))}(o,t)}))})),n},t.prototype.getFilledRegions=function(t,e,n,r){for(var i=(t||[]).slice(),a=DI(),o=0;o<i.length;o++)a.set(i[o].name,i[o]);return eI(BQ(e,n,r).regions,(function(t){var e=t.name;!a.get(e)&&i.push({name:e})})),i},t}();const mJ=new vJ;var yJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(t,e,n){var r=jQ(t.map);if(r&&"geoJSON"===r.type){var i=t.itemStyle=t.itemStyle||{};"color"in i||(i.color="#eee")}this.mergeDefaultAndTheme(t,n),LE(t,"label",["show"])},e.prototype.optionUpdated=function(){var t=this,e=this.option;e.regions=mJ.getFilledRegions(e.regions,e.map,e.nameMap,e.nameProperty);var n={};this._optionModelMap=rI(e.regions||[],(function(e,r){var i=r.name;return i&&(e.set(i,new nR(r,t,t.ecModel)),r.selected&&(n[i]=!0)),e}),DI()),e.selectedMap||(e.selectedMap=n)},e.prototype.getRegionModel=function(t){return this._optionModelMap.get(t)||new nR(null,this,this.ecModel)},e.prototype.getFormattedLabel=function(t,e){var n=this.getRegionModel(t),r="normal"===e?n.get(["label","formatter"]):n.get(["emphasis","label","formatter"]),i={name:t};return cI(r)?(i.status=e,r(i)):lI(r)?r.replace("{a}",null!=t?t:""):void 0},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.select=function(t){var e=this.option,n=e.selectedMode;n&&("multiple"!==n&&(e.selectedMap=null),(e.selectedMap||(e.selectedMap={}))[t]=!0)},e.prototype.unSelect=function(t){var e=this.option.selectedMap;e&&(e[t]=!1)},e.prototype.toggleSelected=function(t){this[this.isSelected(t)?"unSelect":"select"](t)},e.prototype.isSelected=function(t){var e=this.option.selectedMap;return!(!e||!e[t])},e.type="geo",e.layoutMode="box",e.defaultOption={z:0,show:!0,left:"center",top:"center",aspectScale:null,silent:!1,map:"",boundingCoords:null,center:null,zoom:1,scaleLimit:null,label:{show:!1,color:"#000"},itemStyle:{borderWidth:.5,borderColor:"#444"},emphasis:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},select:{label:{show:!0,color:"rgb(100,0,0)"},itemStyle:{color:"rgba(255,215,0,0.8)"}},regions:[]},e}(fN);const wJ=yJ;function xJ(t,e){return t.pointToProjected?t.pointToProjected(e):t.pointToData(e)}function _J(t,e,n,r){var i=t.getZoom(),a=t.getCenter(),o=e.zoom,s=t.projectedToPoint?t.projectedToPoint(a):t.dataToPoint(a);if(null!=e.dx&&null!=e.dy&&(s[0]-=e.dx,s[1]-=e.dy,t.setCenter(xJ(t,s),r)),null!=o){if(n){var u=n.min||0,c=n.max||1/0;o=Math.max(Math.min(i*o,c),u)/i}t.scaleX*=o,t.scaleY*=o;var l=(e.originX-t.x)*(o-1),h=(e.originY-t.y)*(o-1);t.x-=l,t.y-=h,t.updateTransform(),t.setCenter(xJ(t,s),r),t.setZoom(o*i)}return{center:t.getCenter(),zoom:t.getZoom()}}var SJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.focusBlurEnabled=!0,n}return Sk(e,t),e.prototype.init=function(t,e){this._api=e},e.prototype.render=function(t,e,n,r){if(this._model=t,!t.get("show"))return this._mapDraw&&this._mapDraw.remove(),void(this._mapDraw=null);this._mapDraw||(this._mapDraw=new tJ(n));var i=this._mapDraw;i.draw(t,e,n,this,r),i.group.on("click",this._handleRegionClick,this),i.group.silent=t.get("silent"),this.group.add(i.group),this.updateSelectStatus(t,e,n)},e.prototype._handleRegionClick=function(t){var e;vV(t.target,(function(t){return null!=(e=mO(t).eventData)}),!0),e&&this._api.dispatchAction({type:"geoToggleSelect",geoId:this._model.id,name:e.name})},e.prototype.updateSelectStatus=function(t,e,n){var r=this;this._mapDraw.group.traverse((function(t){var e=mO(t).eventData;if(e)return r._model.isSelected(e.name)?n.enterSelect(t):n.leaveSelect(t),!0}))},e.prototype.findHighDownDispatchers=function(t){return this._mapDraw&&this._mapDraw.findHighDownDispatchers(t,this._model)},e.prototype.dispose=function(){this._mapDraw&&this._mapDraw.remove()},e.type="geo",e}(uB);const kJ=SJ;function IJ(t,e,n){NQ(t,e,n)}function MJ(t){function e(e,n){n.update="geo:updateSelectStatus",t.registerAction(n,(function(t,n){var r={},i=[];return n.eachComponent({mainType:"geo",query:t},(function(n){n[e](t.name),eI(n.coordinateSystem.regions,(function(t){r[t.name]=n.isSelected(t.name)||!1}));var a=[];eI(r,(function(t,e){r[e]&&a.push(e)})),i.push({geoIndex:n.componentIndex,name:a})})),{selected:r,allSelected:i,name:t.name}}))}t.registerCoordinateSystem("geo",mJ),t.registerComponentModel(wJ),t.registerComponentView(kJ),t.registerImpl("registerMap",IJ),t.registerImpl("getMap",(function(t){return FQ(t)})),e("toggleSelected",{type:"geoToggleSelect",event:"geoselectchanged"}),e("select",{type:"geoSelect",event:"geoselected"}),e("unSelect",{type:"geoUnSelect",event:"geounselected"}),t.registerAction({type:"geoRoam",event:"geoRoam",update:"updateTransform"},(function(t,e,n){var r=t.componentType||"series";e.eachComponent({mainType:r,query:t},(function(e){var i=e.coordinateSystem;if("geo"===i.type){var a=_J(i,t,e.get("scaleLimit"),n);e.setCenter&&e.setCenter(a.center),e.setZoom&&e.setZoom(a.zoom),"series"===r&&eI(e.seriesGroup,(function(t){t.setCenter(a.center),t.setZoom(a.zoom)}))}}))}))}function CJ(t,e){var n=t.isExpand?t.children:[],r=t.parentNode.children,i=t.hierNode.i?r[t.hierNode.i-1]:null;if(n.length){!function(t){var e=t.children,n=e.length,r=0,i=0;for(;--n>=0;){var a=e[n];a.hierNode.prelim+=r,a.hierNode.modifier+=r,i+=a.hierNode.change,r+=a.hierNode.shift+i}}(t);var a=(n[0].hierNode.prelim+n[n.length-1].hierNode.prelim)/2;i?(t.hierNode.prelim=i.hierNode.prelim+e(t,i),t.hierNode.modifier=t.hierNode.prelim-a):t.hierNode.prelim=a}else i&&(t.hierNode.prelim=i.hierNode.prelim+e(t,i));t.parentNode.hierNode.defaultAncestor=function(t,e,n,r){if(e){for(var i=t,a=t,o=a.parentNode.children[0],s=e,u=i.hierNode.modifier,c=a.hierNode.modifier,l=o.hierNode.modifier,h=s.hierNode.modifier;s=PJ(s),a=DJ(a),s&&a;){i=PJ(i),o=DJ(o),i.hierNode.ancestor=t;var f=s.hierNode.prelim+h-a.hierNode.prelim-c+r(s,a);f>0&&(LJ(OJ(s,t,n),t,f),c+=f,u+=f),h+=s.hierNode.modifier,c+=a.hierNode.modifier,u+=i.hierNode.modifier,l+=o.hierNode.modifier}s&&!PJ(i)&&(i.hierNode.thread=s,i.hierNode.modifier+=h-u),a&&!DJ(o)&&(o.hierNode.thread=a,o.hierNode.modifier+=c-l,n=t)}return n}(t,i,t.parentNode.hierNode.defaultAncestor||r[0],e)}function TJ(t){var e=t.hierNode.prelim+t.parentNode.hierNode.modifier;t.setLayout({x:e},!0),t.hierNode.modifier+=t.parentNode.hierNode.modifier}function AJ(t){return arguments.length?t:RJ}function EJ(t,e){return t-=Math.PI/2,{x:e*Math.cos(t),y:e*Math.sin(t)}}function PJ(t){var e=t.children;return e.length&&t.isExpand?e[e.length-1]:t.hierNode.thread}function DJ(t){var e=t.children;return e.length&&t.isExpand?e[0]:t.hierNode.thread}function OJ(t,e,n){return t.hierNode.ancestor.parentNode===e.parentNode?t.hierNode.ancestor:n}function LJ(t,e,n){var r=n/(e.hierNode.i-t.hierNode.i);e.hierNode.change-=r,e.hierNode.shift+=n,e.hierNode.modifier+=n,e.hierNode.prelim+=n,t.hierNode.change+=r}function RJ(t,e){return t.parentNode===e.parentNode?1:2}var NJ=function(){this.parentPoint=[],this.childPoints=[]},jJ=function(t){function e(e){return t.call(this,e)||this}return Sk(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new NJ},e.prototype.buildPath=function(t,e){var n=e.childPoints,r=n.length,i=e.parentPoint,a=n[0],o=n[r-1];if(1===r)return t.moveTo(i[0],i[1]),void t.lineTo(a[0],a[1]);var s=e.orient,u="TB"===s||"BT"===s?0:1,c=1-u,l=cE(e.forkPosition,1),h=[];h[u]=i[u],h[c]=i[c]+(o[c]-i[c])*l,t.moveTo(i[0],i[1]),t.lineTo(h[0],h[1]),t.moveTo(a[0],a[1]),h[u]=a[u],t.lineTo(h[0],h[1]),h[u]=o[u],t.lineTo(h[0],h[1]),t.lineTo(o[0],o[1]);for(var f=1;f<r-1;f++){var d=n[f];t.moveTo(d[0],d[1]),h[u]=d[u],t.lineTo(h[0],h[1])}},e}(zD),FJ=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._mainGroup=new nE,n}return Sk(e,t),e.prototype.init=function(t,e){this._controller=new FZ(e.getZr()),this._controllerHost={target:this.group},this.group.add(this._mainGroup)},e.prototype.render=function(t,e,n){var r=t.getData(),i=t.layoutInfo,a=this._mainGroup;"radial"===t.get("layout")?(a.x=i.x+i.width/2,a.y=i.y+i.height/2):(a.x=i.x,a.y=i.y),this._updateViewCoordSys(t,n),this._updateController(t,e,n);var o=this._data;r.diff(o).add((function(e){BJ(r,e)&&zJ(r,e,null,a,t)})).update((function(e,n){var i=o.getItemGraphicEl(n);BJ(r,e)?zJ(r,e,i,a,t):i&&HJ(o,n,i,a,t)})).remove((function(e){var n=o.getItemGraphicEl(e);n&&HJ(o,e,n,a,t)})).execute(),this._nodeScaleRatio=t.get("nodeScaleRatio"),this._updateNodeAndLinkScale(t),!0===t.get("expandAndCollapse")&&r.eachItemGraphicEl((function(e,r){e.off("click").on("click",(function(){n.dispatchAction({type:"treeExpandAndCollapse",seriesId:t.id,dataIndex:r})}))})),this._data=r},e.prototype._updateViewCoordSys=function(t,e){var n=t.getData(),r=[];n.each((function(t){var e=n.getItemLayout(t);!e||isNaN(e.x)||isNaN(e.y)||r.push([+e.x,+e.y])}));var i=[],a=[];XP(r,i,a);var o=this._min,s=this._max;a[0]-i[0]==0&&(i[0]=o?o[0]:i[0]-1,a[0]=s?s[0]:a[0]+1),a[1]-i[1]==0&&(i[1]=o?o[1]:i[1]-1,a[1]=s?s[1]:a[1]+1);var u=t.coordinateSystem=new lJ;u.zoomLimit=t.get("scaleLimit"),u.setBoundingRect(i[0],i[1],a[0]-i[0],a[1]-i[1]),u.setCenter(t.get("center"),e),u.setZoom(t.get("zoom")),this.group.attr({x:u.x,y:u.y,scaleX:u.scaleX,scaleY:u.scaleY}),this._min=i,this._max=a},e.prototype._updateController=function(t,e,n){var r=this,i=this._controller,a=this._controllerHost,o=this.group;i.setPointerChecker((function(e,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!HZ(e,n,t)})),i.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){BZ(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"treeRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){zZ(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"treeRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),r._updateNodeAndLinkScale(t),n.updateLabelLayout()}))},e.prototype._updateNodeAndLinkScale=function(t){var e=t.getData(),n=this._getNodeGlobalScale(t);e.eachItemGraphicEl((function(t,e){t.setSymbolScale(n)}))},e.prototype._getNodeGlobalScale=function(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=this._nodeScaleRatio,r=e.scaleX||1;return((e.getZoom()-1)*n+1)/r},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype.remove=function(){this._mainGroup.removeAll(),this._data=null},e.type="tree",e}(w$);function BJ(t,e){var n=t.getItemLayout(e);return n&&!isNaN(n.x)&&!isNaN(n.y)}function zJ(t,e,n,r,i){var a=!n,o=t.tree.getNodeByDataIndex(e),s=o.getModel(),u=o.getVisual("style").fill,c=!1===o.isExpand&&0!==o.children.length?u:"#fff",l=t.tree.root,h=o.parentNode===l?o:o.parentNode||o,f=t.getItemGraphicEl(h.dataIndex),d=h.getLayout(),p=f?{x:f.__oldX,y:f.__oldY,rawX:f.__radialOldRawX,rawY:f.__radialOldRawY}:d,g=o.getLayout();a?((n=new aX(t,e,null,{symbolInnerColor:c,useNameLabel:!0})).x=p.x,n.y=p.y):n.updateData(t,e,null,{symbolInnerColor:c,useNameLabel:!0}),n.__radialOldRawX=n.__radialRawX,n.__radialOldRawY=n.__radialRawY,n.__radialRawX=g.rawX,n.__radialRawY=g.rawY,r.add(n),t.setItemGraphicEl(e,n),n.__oldX=n.x,n.__oldY=n.y,xL(n,{x:g.x,y:g.y},i);var b=n.getSymbolPath();if("radial"===i.get("layout")){var v=l.children[0],m=v.getLayout(),y=v.children.length,w=void 0,x=void 0;if(g.x===m.x&&!0===o.isExpand&&v.children.length){var _={x:(v.children[0].getLayout().x+v.children[y-1].getLayout().x)/2,y:(v.children[0].getLayout().y+v.children[y-1].getLayout().y)/2};(w=Math.atan2(_.y-m.y,_.x-m.x))<0&&(w=2*Math.PI+w),(x=_.x<m.x)&&(w-=Math.PI)}else(w=Math.atan2(g.y-m.y,g.x-m.x))<0&&(w=2*Math.PI+w),0===o.children.length||0!==o.children.length&&!1===o.isExpand?(x=g.x<m.x)&&(w-=Math.PI):(x=g.x>m.x)||(w-=Math.PI);var S=x?"left":"right",k=s.getModel("label"),I=k.get("rotate"),M=I*(Math.PI/180),C=b.getTextContent();C&&(b.setTextConfig({position:k.get("position")||S,rotation:null==I?-w:M,origin:"center"}),C.setStyle("verticalAlign","middle"))}var T=s.get(["emphasis","focus"]),A="relative"===T?OI(o.getAncestorsIndices(),o.getDescendantIndices()):"ancestor"===T?o.getAncestorsIndices():"descendant"===T?o.getDescendantIndices():null;A&&(mO(n).focus=A),function(t,e,n,r,i,a,o,s){var u=e.getModel(),c=t.get("edgeShape"),l=t.get("layout"),h=t.getOrient(),f=t.get(["lineStyle","curveness"]),d=t.get("edgeForkPosition"),p=u.getModel("lineStyle").getLineStyle(),g=r.__edge;if("curve"===c)e.parentNode&&e.parentNode!==n&&(g||(g=r.__edge=new bz({shape:WJ(l,h,f,i,i)})),xL(g,{shape:WJ(l,h,f,a,o)},t));else if("polyline"===c)if("orthogonal"===l){if(e!==n&&e.children&&0!==e.children.length&&!0===e.isExpand){for(var b=e.children,v=[],m=0;m<b.length;m++){var y=b[m].getLayout();v.push([y.x,y.y])}g||(g=r.__edge=new jJ({shape:{parentPoint:[o.x,o.y],childPoints:[[o.x,o.y]],orient:h,forkPosition:d}})),xL(g,{shape:{parentPoint:[o.x,o.y],childPoints:v}},t)}}else 0;g&&("polyline"!==c||e.isExpand)&&(g.useStyle(Zk({strokeNoScale:!0,fill:null},p)),dL(g,u,"lineStyle"),UO(g),s.add(g))}(i,o,l,n,p,d,g,r),n.__edge&&(n.onHoverStateChange=function(e){if("blur"!==e){var r=o.parentNode&&t.getItemGraphicEl(o.parentNode.dataIndex);r&&1===r.hoverState||WO(n.__edge,e)}})}function $J(t,e,n,r,i){var a=VJ(e.tree.root,t),o=a.source,s=a.sourceLayout,u=e.getItemGraphicEl(t.dataIndex);if(u){var c=e.getItemGraphicEl(o.dataIndex).__edge,l=u.__edge||(!1===o.isExpand||1===o.children.length?c:void 0),h=r.get("edgeShape"),f=r.get("layout"),d=r.get("orient"),p=r.get(["lineStyle","curveness"]);l&&("curve"===h?kL(l,{shape:WJ(f,d,p,s,s),style:{opacity:0}},r,{cb:function(){n.remove(l)},removeOpt:i}):"polyline"===h&&"orthogonal"===r.get("layout")&&kL(l,{shape:{parentPoint:[s.x,s.y],childPoints:[[s.x,s.y]]},style:{opacity:0}},r,{cb:function(){n.remove(l)},removeOpt:i}))}}function VJ(t,e){for(var n,r=e.parentNode===t?e:e.parentNode||e;null==(n=r.getLayout());)r=r.parentNode===t?r:r.parentNode||r;return{source:r,sourceLayout:n}}function HJ(t,e,n,r,i){var a=t.tree.getNodeByDataIndex(e),o=VJ(t.tree.root,a).sourceLayout,s={duration:i.get("animationDurationUpdate"),easing:i.get("animationEasingUpdate")};kL(n,{x:o.x+1,y:o.y+1},i,{cb:function(){r.remove(n),t.setItemGraphicEl(e,null)},removeOpt:s}),n.fadeOut(null,t.hostModel,{fadeLabel:!0,animation:s}),a.children.forEach((function(e){$J(e,t,r,i,s)})),$J(a,t,r,i,s)}function WJ(t,e,n,r,i){var a,o,s,u,c,l,h,f;if("radial"===t){c=r.rawX,h=r.rawY,l=i.rawX,f=i.rawY;var d=EJ(c,h),p=EJ(c,h+(f-h)*n),g=EJ(l,f+(h-f)*n),b=EJ(l,f);return{x1:d.x||0,y1:d.y||0,x2:b.x||0,y2:b.y||0,cpx1:p.x||0,cpy1:p.y||0,cpx2:g.x||0,cpy2:g.y||0}}return c=r.x,h=r.y,l=i.x,f=i.y,"LR"!==e&&"RL"!==e||(a=c+(l-c)*n,o=h,s=l+(c-l)*n,u=f),"TB"!==e&&"BT"!==e||(a=c,o=h+(f-h)*n,s=l,u=f+(h-f)*n),{x1:c,y1:h,x2:l,y2:f,cpx1:a,cpy1:o,cpx2:s,cpy2:u}}const GJ=FJ;var UJ=GE();function XJ(t,e){if(UJ(r=this).mainData===r){var n=Kk({},UJ(this).datas);n[this.dataType]=e,QJ(e,n,t)}else JJ(e,this.dataType,UJ(this).mainData,t);var r;return e}function qJ(t,e){return t.struct&&t.struct.update(),e}function YJ(t,e){return eI(UJ(e).datas,(function(n,r){n!==e&&JJ(n.cloneShallow(),r,e,t)})),e}function KJ(t){var e=UJ(this).mainData;return null==t||null==e?e:UJ(e).datas[t]}function ZJ(){var t=UJ(this).mainData;return null==t?[{data:t}]:nI(aI(UJ(t).datas),(function(e){return{type:e,data:UJ(t).datas[e]}}))}function QJ(t,e,n){UJ(t).datas={},eI(e,(function(e,r){JJ(e,r,t,n)}))}function JJ(t,e,n,r){UJ(n).datas[e]=t,UJ(t).mainData=n,t.dataType=e,r.struct&&(t[r.structAttr]=r.struct,r.struct[r.datasAttr[e]]=t),t.getLinkedData=KJ,t.getLinkedDataAll=ZJ}const t1=function(t){var e=t.mainData,n=t.datas;n||(n={main:e},t.datasAttr={main:"data"}),t.datas=t.mainData=null,QJ(e,n,t),eI(n,(function(n){eI(e.TRANSFERABLE_METHODS,(function(e){n.wrapMethod(e,sI(XJ,t))}))})),e.wrapMethod("cloneShallow",sI(YJ,t)),eI(e.CHANGABLE_METHODS,(function(n){e.wrapMethod(n,sI(qJ,t))})),kI(n[e.dataType]===e)};var e1=function(){function t(t,e){this.depth=0,this.height=0,this.dataIndex=-1,this.children=[],this.viewChildren=[],this.isExpand=!1,this.name=t||"",this.hostTree=e}return t.prototype.isRemoved=function(){return this.dataIndex<0},t.prototype.eachNode=function(t,e,n){cI(t)&&(n=e,e=t,t=null),lI(t=t||{})&&(t={order:t});var r,i=t.order||"preorder",a=this[t.attr||"children"];"preorder"===i&&(r=e.call(n,this));for(var o=0;!r&&o<a.length;o++)a[o].eachNode(t,e,n);"postorder"===i&&e.call(n,this)},t.prototype.updateDepthAndHeight=function(t){var e=0;this.depth=t;for(var n=0;n<this.children.length;n++){var r=this.children[n];r.updateDepthAndHeight(t+1),r.height>e&&(e=r.height)}this.height=e+1},t.prototype.getNodeById=function(t){if(this.getId()===t)return this;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].getNodeById(t);if(i)return i}},t.prototype.contains=function(t){if(t===this)return!0;for(var e=0,n=this.children,r=n.length;e<r;e++){var i=n[e].contains(t);if(i)return i}},t.prototype.getAncestors=function(t){for(var e=[],n=t?this:this.parentNode;n;)e.push(n),n=n.parentNode;return e.reverse(),e},t.prototype.getAncestorsIndices=function(){for(var t=[],e=this;e;)t.push(e.dataIndex),e=e.parentNode;return t.reverse(),t},t.prototype.getDescendantIndices=function(){var t=[];return this.eachNode((function(e){t.push(e.dataIndex)})),t},t.prototype.getValue=function(t){var e=this.hostTree.data;return e.getStore().get(e.getDimensionIndex(t||"value"),this.dataIndex)},t.prototype.setLayout=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemLayout(this.dataIndex,t,e)},t.prototype.getLayout=function(){return this.hostTree.data.getItemLayout(this.dataIndex)},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostTree.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getLevelModel=function(){return(this.hostTree.levelModels||[])[this.depth]},t.prototype.setVisual=function(t,e){this.dataIndex>=0&&this.hostTree.data.setItemVisual(this.dataIndex,t,e)},t.prototype.getVisual=function(t){return this.hostTree.data.getItemVisual(this.dataIndex,t)},t.prototype.getRawIndex=function(){return this.hostTree.data.getRawIndex(this.dataIndex)},t.prototype.getId=function(){return this.hostTree.data.getId(this.dataIndex)},t.prototype.getChildIndex=function(){if(this.parentNode){for(var t=this.parentNode.children,e=0;e<t.length;++e)if(t[e]===this)return e;return-1}return-1},t.prototype.isAncestorOf=function(t){for(var e=t.parentNode;e;){if(e===this)return!0;e=e.parentNode}return!1},t.prototype.isDescendantOf=function(t){return t!==this&&t.isAncestorOf(this)},t}(),n1=function(){function t(t){this.type="tree",this._nodes=[],this.hostModel=t}return t.prototype.eachNode=function(t,e,n){this.root.eachNode(t,e,n)},t.prototype.getNodeByDataIndex=function(t){var e=this.data.getRawIndex(t);return this._nodes[e]},t.prototype.getNodeById=function(t){return this.root.getNodeById(t)},t.prototype.update=function(){for(var t=this.data,e=this._nodes,n=0,r=e.length;n<r;n++)e[n].dataIndex=-1;for(n=0,r=t.count();n<r;n++)e[t.getRawIndex(n)].dataIndex=n},t.prototype.clearLayouts=function(){this.data.clearItemLayouts()},t.createTree=function(e,n,r){var i=new t(n),a=[],o=1;!function t(e,n){var r=e.value;o=Math.max(o,uI(r)?r.length:1),a.push(e);var s=new e1($E(e.name,""),i);n?function(t,e){var n=e.children;if(t.parentNode===e)return;n.push(t),t.parentNode=e}(s,n):i.root=s,i._nodes.push(s);var u=e.children;if(u)for(var c=0;c<u.length;c++)t(u[c],s)}(e),i.root.updateDepthAndHeight(0);var s=WU(a,{coordDimensions:["value"],dimensionsCount:o}).dimensions,u=new HU(s,n);return u.initData(a),r&&r(u),t1({mainData:u,struct:i,structAttr:"tree"}),i.update(),i},t}();const r1=n1;function i1(t,e,n){if(t&&Qk(e,t.type)>=0){var r=n.getData().tree.root,i=t.targetNode;if(lI(i)&&(i=r.getNodeById(i)),i&&r.contains(i))return{node:i};var a=t.targetNodeId;if(null!=a&&(i=r.getNodeById(a)))return{node:i}}}function a1(t){for(var e=[];t;)(t=t.parentNode)&&e.push(t);return e.reverse()}function o1(t,e){return Qk(a1(t),e)>=0}function s1(t,e){for(var n=[];t;){var r=t.dataIndex;n.push({name:t.name,dataIndex:r,value:e.getRawValue(r)}),t=t.parentNode}return n.reverse(),n}var u1=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.hasSymbolVisual=!0,e.ignoreStyleOnData=!0,e}return Sk(e,t),e.prototype.getInitialData=function(t){var e={name:t.name,children:t.data},n=t.leaves||{},r=new nR(n,this,this.ecModel),i=r1.createTree(e,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e);return n&&n.children.length&&n.isExpand||(t.parentModel=r),t}))}));var a=0;i.eachNode("preorder",(function(t){t.depth>a&&(a=t.depth)}));var o=t.expandAndCollapse&&t.initialTreeDepth>=0?t.initialTreeDepth:a;return i.root.eachNode("preorder",(function(t){var e=t.hostTree.data.getRawDataItem(t.dataIndex);t.isExpand=e&&null!=e.collapsed?!e.collapsed:t.depth<=o})),i.data},e.prototype.getOrient=function(){var t=this.get("orient");return"horizontal"===t?t="LR":"vertical"===t&&(t="TB"),t},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.formatTooltip=function(t,e,n){for(var r=this.getData().tree,i=r.root.children[0],a=r.getNodeByDataIndex(t),o=a.getValue(),s=a.name;a&&a!==i;)s=a.parentNode.name+"."+s,a=a.parentNode;return jF("nameValue",{name:s,value:o,noValue:isNaN(o)||null==o})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=s1(r,this),n.collapsed=!r.isExpand,n},e.type="series.tree",e.layoutMode="box",e.defaultOption={z:2,coordinateSystem:"view",left:"12%",top:"12%",right:"12%",bottom:"12%",layout:"orthogonal",edgeShape:"curve",edgeForkPosition:"50%",roam:!1,nodeScaleRatio:.4,center:null,zoom:1,orient:"LR",symbol:"emptyCircle",symbolSize:7,expandAndCollapse:!0,initialTreeDepth:2,lineStyle:{color:"#ccc",width:1.5,curveness:.5},itemStyle:{color:"lightsteelblue",borderWidth:1.5},label:{show:!0},animationEasing:"linear",animationDuration:700,animationDurationUpdate:500},e}(oB);const c1=u1;function l1(t,e){for(var n,r=[t];n=r.pop();)if(e(n),n.isExpand){var i=n.children;if(i.length)for(var a=i.length-1;a>=0;a--)r.push(i[a])}}function h1(t,e){t.eachSeriesByType("tree",(function(t){!function(t,e){var n=function(t,e){return iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=n;var r=t.get("layout"),i=0,a=0,o=null;"radial"===r?(i=2*Math.PI,a=Math.min(n.height,n.width)/2,o=AJ((function(t,e){return(t.parentNode===e.parentNode?1:2)/t.depth}))):(i=n.width,a=n.height,o=AJ());var s=t.getData().tree.root,u=s.children[0];if(u){!function(t){var e=t;e.hierNode={defaultAncestor:null,ancestor:e,prelim:0,modifier:0,change:0,shift:0,i:0,thread:null};for(var n,r,i=[e];n=i.pop();)if(r=n.children,n.isExpand&&r.length)for(var a=r.length-1;a>=0;a--){var o=r[a];o.hierNode={defaultAncestor:null,ancestor:o,prelim:0,modifier:0,change:0,shift:0,i:a,thread:null},i.push(o)}}(s),function(t,e,n){for(var r,i=[t],a=[];r=i.pop();)if(a.push(r),r.isExpand){var o=r.children;if(o.length)for(var s=0;s<o.length;s++)i.push(o[s])}for(;r=a.pop();)e(r,n)}(u,CJ,o),s.hierNode.modifier=-u.hierNode.prelim,l1(u,TJ);var c=u,l=u,h=u;l1(u,(function(t){var e=t.getLayout().x;e<c.getLayout().x&&(c=t),e>l.getLayout().x&&(l=t),t.depth>h.depth&&(h=t)}));var f=c===l?1:o(c,l)/2,d=f-c.getLayout().x,p=0,g=0,b=0,v=0;if("radial"===r)p=i/(l.getLayout().x+f+d),g=a/(h.depth-1||1),l1(u,(function(t){b=(t.getLayout().x+d)*p,v=(t.depth-1)*g;var e=EJ(b,v);t.setLayout({x:e.x,y:e.y,rawX:b,rawY:v},!0)}));else{var m=t.getOrient();"RL"===m||"LR"===m?(g=a/(l.getLayout().x+f+d),p=i/(h.depth-1||1),l1(u,(function(t){v=(t.getLayout().x+d)*g,b="LR"===m?(t.depth-1)*p:i-(t.depth-1)*p,t.setLayout({x:b,y:v},!0)}))):"TB"!==m&&"BT"!==m||(p=i/(l.getLayout().x+f+d),g=a/(h.depth-1||1),l1(u,(function(t){b=(t.getLayout().x+d)*p,v="TB"===m?(t.depth-1)*g:a-(t.depth-1)*g,t.setLayout({x:b,y:v},!0)})))}}}(t,e)}))}function f1(t){t.eachSeriesByType("tree",(function(t){var e=t.getData();e.tree.eachNode((function(t){var n=t.getModel().getModel("itemStyle").getItemStyle();Kk(e.ensureUniqueItemVisual(t.dataIndex,"style"),n)}))}))}var d1=["treemapZoomToNode","treemapRender","treemapMove"];function p1(t){var e=t.getData().tree,n={};e.eachNode((function(e){for(var r=e;r&&r.depth>1;)r=r.parentNode;var i=$N(t.ecModel,r.name||r.dataIndex+"",n);e.setVisual("decal",i)}))}var g1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventUsingHoverLayer=!0,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};b1(n);var r=t.levels||[],i=this.designatedVisualItemStyle={},a=new nR({itemStyle:i},this,e);r=t.levels=function(t,e){var n,r,i=OE(e.get("color")),a=OE(e.get(["aria","decal","decals"]));if(!i)return;eI(t=t||[],(function(t){var e=new nR(t),i=e.get("color"),a=e.get("decal");(e.get(["itemStyle","color"])||i&&"none"!==i)&&(n=!0),(e.get(["itemStyle","decal"])||a&&"none"!==a)&&(r=!0)}));var o=t[0]||(t[0]={});n||(o.color=i.slice());!r&&a&&(o.decal=a.slice());return t}(r,e);var o=nI(r||[],(function(t){return new nR(t,a,e)}),this),s=r1.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=s.getNodeByDataIndex(e),r=n?o[n.depth]:null;return t.parentModel=r||a,t}))}));return s.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t);return jF("nameValue",{name:r.getName(t),value:i})},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treeAncestors=s1(r,this),n.treePathInfo=n.treeAncestors,n},e.prototype.setLayoutInfo=function(t){this.layoutInfo=this.layoutInfo||{},Kk(this.layoutInfo,t)},e.prototype.mapIdToIndex=function(t){var e=this._idIndexMap;e||(e=this._idIndexMap=DI(),this._idIndexMapCount=0);var n=e.get(t);return null==n&&e.set(t,n=this._idIndexMapCount++),n},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){p1(this)},e.type="series.treemap",e.layoutMode="box",e.defaultOption={progressive:0,left:"center",top:"middle",width:"80%",height:"80%",sort:!0,clipWindow:"origin",squareRatio:.5*(1+Math.sqrt(5)),leafDepth:null,drillDownIcon:"▶",zoomToNodeRatio:.1024,roam:!0,nodeClick:"zoomToNode",animation:!0,animationDurationUpdate:900,animationEasing:"quinticInOut",breadcrumb:{show:!0,height:22,left:"center",top:"bottom",emptyItemWidth:25,itemStyle:{color:"rgba(0,0,0,0.7)",textStyle:{color:"#fff"}},emphasis:{itemStyle:{color:"rgba(0,0,0,0.9)"}}},label:{show:!0,distance:0,padding:5,position:"inside",color:"#fff",overflow:"truncate"},upperLabel:{show:!1,position:[0,"50%"],height:20,overflow:"truncate",verticalAlign:"middle"},itemStyle:{color:null,colorAlpha:null,colorSaturation:null,borderWidth:0,gapWidth:0,borderColor:"#fff",borderColorSaturation:null},emphasis:{upperLabel:{show:!0,position:[0,"50%"],overflow:"truncate",verticalAlign:"middle"}},visualDimension:0,visualMin:null,visualMax:null,color:[],colorAlpha:null,colorSaturation:null,colorMappingBy:"index",visibleMin:10,childrenVisibleMin:null,levels:[]},e}(oB);function b1(t){var e=0;eI(t.children,(function(t){b1(t);var n=t.value;uI(n)&&(n=n[0]),e+=n}));var n=t.value;uI(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),uI(t.value)?t.value[0]=n:t.value=n}const v1=g1;var m1=function(){function t(t){this.group=new nE,t.add(this.group)}return t.prototype.render=function(t,e,n,r){var i=t.getModel("breadcrumb"),a=this.group;if(a.removeAll(),i.get("show")&&n){var o=i.getModel("itemStyle"),s=i.getModel("emphasis"),u=o.getModel("textStyle"),c=s.getModel(["itemStyle","textStyle"]),l={pos:{left:i.get("left"),right:i.get("right"),top:i.get("top"),bottom:i.get("bottom")},box:{width:e.getWidth(),height:e.getHeight()},emptyItemWidth:i.get("emptyItemWidth"),totalWidth:0,renderList:[]};this._prepare(n,l,u),this._renderContent(t,l,o,s,u,c,r),aN(a,l.pos,l.box)}},t.prototype._prepare=function(t,e,n){for(var r=t;r;r=r.parentNode){var i=$E(r.getModel().get("name"),""),a=n.getTextRect(i),o=Math.max(a.width+16,e.emptyItemWidth);e.totalWidth+=o+8,e.renderList.push({node:r,text:i,width:o})}},t.prototype._renderContent=function(t,e,n,r,i,a,o){for(var s,u,c,l,h,f,d,p,g,b=0,v=e.emptyItemWidth,m=t.get(["breadcrumb","height"]),y=(s=e.pos,u=e.box,l=u.width,h=u.height,f=cE(s.left,l),d=cE(s.top,h),p=cE(s.right,l),g=cE(s.bottom,h),(isNaN(f)||isNaN(parseFloat(s.left)))&&(f=0),(isNaN(p)||isNaN(parseFloat(s.right)))&&(p=l),(isNaN(d)||isNaN(parseFloat(s.top)))&&(d=0),(isNaN(g)||isNaN(parseFloat(s.bottom)))&&(g=h),c=UR(c||0),{width:Math.max(p-f-c[1]-c[3],0),height:Math.max(g-d-c[0]-c[2],0)}),w=e.totalWidth,x=e.renderList,_=r.getModel("itemStyle").getItemStyle(),S=x.length-1;S>=0;S--){var k=x[S],I=k.node,M=k.width,C=k.text;w>y.width&&(w-=M-v,M=v,C=null);var T=new iz({shape:{points:y1(b,0,M,m,S===x.length-1,0===S)},style:Zk(n.getItemStyle(),{lineJoin:"bevel"}),textContent:new vO({style:OL(i,{text:C})}),textConfig:{position:"inside"},z2:1e5,onclick:sI(o,I)});T.disableLabelAnimation=!0,T.getTextContent().ensureState("emphasis").style=OL(a,{text:C}),T.ensureState("emphasis").style=_,cL(T,r.get("focus"),r.get("blurScope"),r.get("disabled")),this.group.add(T),w1(T,t,I),b+=M+8}},t.prototype.remove=function(){this.group.removeAll()},t}();function y1(t,e,n,r,i,a){var o=[[i?t:t-5,e],[t+n,e],[t+n,e+r],[i?t:t-5,e+r]];return!a&&o.splice(2,0,[t+n+5,e+r/2]),!i&&o.push([t,e+r/2]),o}function w1(t,e,n){mO(t).eventData={componentType:"series",componentSubType:"treemap",componentIndex:e.componentIndex,seriesIndex:e.seriesIndex,seriesName:e.name,seriesType:"treemap",selfType:"breadcrumb",nodeData:{dataIndex:n&&n.dataIndex,name:n&&n.name},treePathInfo:n&&s1(n,e)}}const x1=m1;var _1=function(){function t(){this._storage=[],this._elExistsMap={}}return t.prototype.add=function(t,e,n,r,i){return!this._elExistsMap[t.id]&&(this._elExistsMap[t.id]=!0,this._storage.push({el:t,target:e,duration:n,delay:r,easing:i}),!0)},t.prototype.finished=function(t){return this._finishedCallback=t,this},t.prototype.start=function(){for(var t=this,e=this._storage.length,n=function(){--e<=0&&(t._storage.length=0,t._elExistsMap={},t._finishedCallback&&t._finishedCallback())},r=0,i=this._storage.length;r<i;r++){var a=this._storage[r];a.el.animateTo(a.target,{duration:a.duration,delay:a.delay,easing:a.easing,setToFinal:!0,done:n,aborted:n})}return this},t}();var S1=nE,k1=eO,I1="label",M1="upperLabel",C1=lP([["fill","color"],["stroke","strokeColor"],["lineWidth","strokeWidth"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"]]),T1=function(t){var e=C1(t);return e.stroke=e.fill=e.lineWidth=null,e},A1=GE(),E1=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._state="ready",n._storage={nodeGroup:[],background:[],content:[]},n}return Sk(e,t),e.prototype.render=function(t,e,n,r){if(!(Qk(e.findComponents({mainType:"series",subType:"treemap",query:r}),t)<0)){this.seriesModel=t,this.api=n,this.ecModel=e;var i=i1(r,["treemapZoomToNode","treemapRootToNode"],t),a=r&&r.type,o=t.layoutInfo,s=!this._oldTree,u=this._storage,c="treemapRootToNode"===a&&i&&u?{rootNodeGroup:u.nodeGroup[i.node.getRawIndex()],direction:r.direction}:null,l=this._giveContainerGroup(o),h=t.get("animation"),f=this._doRender(l,t,c);!h||s||a&&"treemapZoomToNode"!==a&&"treemapRootToNode"!==a?f.renderFinally():this._doAnimation(l,f,t,c),this._resetController(n),this._renderBreadcrumb(t,n,i)}},e.prototype._giveContainerGroup=function(t){var e=this._containerGroup;return e||(e=this._containerGroup=new S1,this._initEvents(e),this.group.add(e)),e.x=t.x,e.y=t.y,e},e.prototype._doRender=function(t,e,n){var r=e.getData().tree,i=this._oldTree,a={nodeGroup:[],background:[],content:[]},o={nodeGroup:[],background:[],content:[]},s=this._storage,u=[];function c(t,r,i,c){return function(t,e,n,r,i,a,o,s,u,c){if(!o)return;var l=o.getLayout(),h=t.getData(),f=o.getModel();if(h.setItemGraphicEl(o.dataIndex,null),!l||!l.isInView)return;var d=l.width,p=l.height,g=l.borderWidth,b=l.invisible,v=o.getRawIndex(),m=s&&s.getRawIndex(),y=o.viewChildren,w=l.upperHeight,x=y&&y.length,_=f.getModel("itemStyle"),S=f.getModel(["emphasis","itemStyle"]),k=f.getModel(["blur","itemStyle"]),I=f.getModel(["select","itemStyle"]),M=_.get("borderRadius")||0,C=z("nodeGroup",S1);if(!C)return;if(u.add(C),C.x=l.x||0,C.y=l.y||0,C.markRedraw(),A1(C).nodeWidth=d,A1(C).nodeHeight=p,l.isAboveViewRoot)return C;var T=z("background",k1,c,20);T&&R(C,T,x&&l.upperLabelHeight);var A=f.getModel("emphasis"),E=A.get("focus"),P=A.get("blurScope"),D=A.get("disabled"),O="ancestor"===E?o.getAncestorsIndices():"descendant"===E?o.getDescendantIndices():E;if(x)gL(C)&&pL(C,!1),T&&(pL(T,!D),h.setItemGraphicEl(o.dataIndex,T),lL(T,O,P));else{var L=z("content",k1,c,30);L&&N(C,L),T.disableMorphing=!0,T&&gL(T)&&pL(T,!1),pL(C,!D),h.setItemGraphicEl(o.dataIndex,C),lL(C,O,P)}return C;function R(e,n,r){var i=mO(n);if(i.dataIndex=o.dataIndex,i.seriesIndex=t.seriesIndex,n.setShape({x:0,y:0,width:d,height:p,r:M}),b)j(n);else{n.invisible=!1;var a=o.getVisual("style"),s=a.stroke,u=T1(_);u.fill=s;var c=C1(S);c.fill=S.get("borderColor");var l=C1(k);l.fill=k.get("borderColor");var h=C1(I);if(h.fill=I.get("borderColor"),r){var f=d-2*g;F(n,s,a.opacity,{x:g,y:0,width:f,height:w})}else n.removeTextContent();n.setStyle(u),n.ensureState("emphasis").style=c,n.ensureState("blur").style=l,n.ensureState("select").style=h,UO(n)}e.add(n)}function N(e,n){var r=mO(n);r.dataIndex=o.dataIndex,r.seriesIndex=t.seriesIndex;var i=Math.max(d-2*g,0),a=Math.max(p-2*g,0);if(n.culling=!0,n.setShape({x:g,y:g,width:i,height:a,r:M}),b)j(n);else{n.invisible=!1;var s=o.getVisual("style"),u=s.fill,c=T1(_);c.fill=u,c.decal=s.decal;var l=C1(S),h=C1(k),f=C1(I);F(n,u,s.opacity,null),n.setStyle(c),n.ensureState("emphasis").style=l,n.ensureState("blur").style=h,n.ensureState("select").style=f,UO(n)}e.add(n)}function j(t){!t.invisible&&a.push(t)}function F(e,n,r,i){var a=f.getModel(i?M1:I1),s=$E(f.get("name"),null),u=a.getShallow("show");PL(e,DL(f,i?M1:I1),{defaultText:u?s:null,inheritColor:n,defaultOpacity:r,labelFetcher:t,labelDataIndex:o.dataIndex});var c=e.getTextContent();if(c){var h=c.style,d=SI(h.padding||0);i&&(e.setTextConfig({layoutRect:i}),c.disableLabelLayout=!0),c.beforeUpdate=function(){var t=Math.max((i?i.width:e.shape.width)-d[1]-d[3],0),n=Math.max((i?i.height:e.shape.height)-d[0]-d[2],0);h.width===t&&h.height===n||c.setStyle({width:t,height:n})},h.truncateMinChar=2,h.lineOverflow="truncate",B(h,i,l);var p=c.getState("emphasis");B(p?p.style:null,i,l)}}function B(e,n,r){var i=e?e.text:null;if(!n&&r.isLeafRoot&&null!=i){var a=t.get("drillDownIcon",!0);e.text=a?a+" "+i:i}}function z(t,r,a,o){var s=null!=m&&n[t][m],u=i[t];return s?(n[t][m]=null,$(u,s)):b||((s=new r)instanceof FP&&(s.z2=function(t,e){return 100*t+e}(a,o)),V(u,s)),e[t][v]=s}function $(t,e){var n=t[v]={};e instanceof S1?(n.oldX=e.x,n.oldY=e.y):n.oldShape=Kk({},e.shape)}function V(t,e){var n=t[v]={},a=o.parentNode,s=e instanceof nE;if(a&&(!r||"drillDown"===r.direction)){var u=0,c=0,l=i.background[a.getRawIndex()];!r&&l&&l.oldShape&&(u=l.oldShape.width,c=l.oldShape.height),s?(n.oldX=0,n.oldY=c):n.oldShape={x:u,y:c,width:0,height:0}}n.fadein=!s}}(e,o,s,n,a,u,t,r,i,c)}!function t(e,n,r,i,a){i?(n=e,eI(e,(function(t,e){!t.isRemoved()&&s(e,e)}))):new mU(n,e,o,o).add(s).update(s).remove(sI(s,null)).execute();function o(t){return t.getId()}function s(o,s){var u=null!=o?e[o]:null,l=null!=s?n[s]:null,h=c(u,l,r,a);h&&t(u&&u.viewChildren||[],l&&l.viewChildren||[],h,i,a+1)}}(r.root?[r.root]:[],i&&i.root?[i.root]:[],t,r===i||!i,0);var l=function(t){var e={nodeGroup:[],background:[],content:[]};return t&&eI(t,(function(t,n){var r=e[n];eI(t,(function(t){t&&(r.push(t),A1(t).willDelete=!0)}))})),e}(s);return this._oldTree=r,this._storage=o,{lastsForAnimation:a,willDeleteEls:l,renderFinally:function(){eI(l,(function(t){eI(t,(function(t){t.parent&&t.parent.remove(t)}))})),eI(u,(function(t){t.invisible=!0,t.dirty()}))}}},e.prototype._doAnimation=function(t,e,n,r){var i=n.get("animationDurationUpdate"),a=n.get("animationEasing"),o=(cI(i)?0:i)||0,s=(cI(a)?null:a)||"cubicOut",u=new _1;eI(e.willDeleteEls,(function(t,e){eI(t,(function(t,n){if(!t.invisible){var i,a=t.parent,c=A1(a);if(r&&"drillDown"===r.direction)i=a===r.rootNodeGroup?{shape:{x:0,y:0,width:c.nodeWidth,height:c.nodeHeight},style:{opacity:0}}:{style:{opacity:0}};else{var l=0,h=0;c.willDelete||(l=c.nodeWidth/2,h=c.nodeHeight/2),i="nodeGroup"===e?{x:l,y:h,style:{opacity:0}}:{shape:{x:l,y:h,width:0,height:0},style:{opacity:0}}}i&&u.add(t,i,o,0,s)}}))})),eI(this._storage,(function(t,n){eI(t,(function(t,r){var i=e.lastsForAnimation[n][r],a={};i&&(t instanceof nE?null!=i.oldX&&(a.x=t.x,a.y=t.y,t.x=i.oldX,t.y=i.oldY):(i.oldShape&&(a.shape=Kk({},t.shape),t.setShape(i.oldShape)),i.fadein?(t.setStyle("opacity",0),a.style={opacity:1}):1!==t.style.opacity&&(a.style={opacity:1})),u.add(t,a,o,0,s))}))}),this),this._state="animating",u.finished(oI((function(){this._state="ready",e.renderFinally()}),this)).start()},e.prototype._resetController=function(t){var e=this._controller;e||((e=this._controller=new FZ(t.getZr())).enable(this.seriesModel.get("roam")),e.on("pan",oI(this._onPan,this)),e.on("zoom",oI(this._onZoom,this)));var n=new KM(0,0,t.getWidth(),t.getHeight());e.setPointerChecker((function(t,e,r){return n.contain(e,r)}))},e.prototype._clearController=function(){var t=this._controller;t&&(t.dispose(),t=null)},e.prototype._onPan=function(t){if("animating"!==this._state&&(Math.abs(t.dx)>3||Math.abs(t.dy)>3)){var e=this.seriesModel.getData().tree.root;if(!e)return;var n=e.getLayout();if(!n)return;this.api.dispatchAction({type:"treemapMove",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:n.x+t.dx,y:n.y+t.dy,width:n.width,height:n.height}})}},e.prototype._onZoom=function(t){var e=t.originX,n=t.originY;if("animating"!==this._state){var r=this.seriesModel.getData().tree.root;if(!r)return;var i=r.getLayout();if(!i)return;var a=new KM(i.x,i.y,i.width,i.height),o=this.seriesModel.layoutInfo,s=[1,0,0,1,0,0];RM(s,s,[-(e-=o.x),-(n-=o.y)]),jM(s,s,[t.scale,t.scale]),RM(s,s,[e,n]),a.applyTransform(s),this.api.dispatchAction({type:"treemapRender",from:this.uid,seriesId:this.seriesModel.id,rootRect:{x:a.x,y:a.y,width:a.width,height:a.height}})}},e.prototype._initEvents=function(t){var e=this;t.on("click",(function(t){if("ready"===e._state){var n=e.seriesModel.get("nodeClick",!0);if(n){var r=e.findTarget(t.offsetX,t.offsetY);if(r){var i=r.node;if(i.getLayout().isLeafRoot)e._rootToNode(r);else if("zoomToNode"===n)e._zoomToNode(r);else if("link"===n){var a=i.hostTree.data.getItemModel(i.dataIndex),o=a.get("link",!0),s=a.get("target",!0)||"blank";o&&QR(o,s)}}}}}),this)},e.prototype._renderBreadcrumb=function(t,e,n){var r=this;n||(n=null!=t.get("leafDepth",!0)?{node:t.getViewRoot()}:this.findTarget(e.getWidth()/2,e.getHeight()/2))||(n={node:t.getData().tree.root}),(this._breadcrumb||(this._breadcrumb=new x1(this.group))).render(t,e,n.node,(function(e){"animating"!==r._state&&(o1(t.getViewRoot(),e)?r._rootToNode({node:e}):r._zoomToNode({node:e}))}))},e.prototype.remove=function(){this._clearController(),this._containerGroup&&this._containerGroup.removeAll(),this._storage={nodeGroup:[],background:[],content:[]},this._state="ready",this._breadcrumb&&this._breadcrumb.remove()},e.prototype.dispose=function(){this._clearController()},e.prototype._zoomToNode=function(t){this.api.dispatchAction({type:"treemapZoomToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype._rootToNode=function(t){this.api.dispatchAction({type:"treemapRootToNode",from:this.uid,seriesId:this.seriesModel.id,targetNode:t.node})},e.prototype.findTarget=function(t,e){var n;return this.seriesModel.getViewRoot().eachNode({attr:"viewChildren",order:"preorder"},(function(r){var i=this._storage.background[r.getRawIndex()];if(i){var a=i.transformCoordToLocal(t,e),o=i.shape;if(!(o.x<=a[0]&&a[0]<=o.x+o.width&&o.y<=a[1]&&a[1]<=o.y+o.height))return!1;n={node:r,offsetX:a[0],offsetY:a[1]}}}),this),n},e.type="treemap",e}(w$);const P1=E1;var D1=eI,O1=dI,L1=-1,R1=function(){function t(e){var n=e.mappingMethod,r=e.type,i=this.option=Xk(e);this.type=r,this.mappingMethod=n,this._normalizeData=G1[n];var a=t.visualHandlers[r];this.applyVisual=a.applyVisual,this.getColorMapper=a.getColorMapper,this._normalizedToVisual=a._normalizedToVisual[n],"piecewise"===n?(N1(i),function(t){var e=t.pieceList;t.hasSpecialVisual=!1,eI(e,(function(e,n){e.originIndex=n,null!=e.visual&&(t.hasSpecialVisual=!0)}))}(i)):"category"===n?i.categories?function(t){var e=t.categories,n=t.categoryMap={},r=t.visual;if(D1(e,(function(t,e){n[t]=e})),!uI(r)){var i=[];dI(r)?D1(r,(function(t,e){var r=n[e];i[null!=r?r:L1]=t})):i[-1]=r,r=W1(t,i)}for(var a=e.length-1;a>=0;a--)null==r[a]&&(delete n[e[a]],e.pop())}(i):N1(i,!0):(kI("linear"!==n||i.dataExtent),N1(i))}return t.prototype.mapValueToVisual=function(t){var e=this._normalizeData(t);return this._normalizedToVisual(e,t)},t.prototype.getNormalizer=function(){return oI(this._normalizeData,this)},t.listVisualTypes=function(){return aI(t.visualHandlers)},t.isValidType=function(e){return t.visualHandlers.hasOwnProperty(e)},t.eachVisual=function(t,e,n){dI(t)?eI(t,e,n):e.call(n,t)},t.mapVisual=function(e,n,r){var i,a=uI(e)?[]:dI(e)?{}:(i=!0,null);return t.eachVisual(e,(function(t,e){var o=n.call(r,t,e);i?a=o:a[e]=o})),a},t.retrieveVisuals=function(e){var n,r={};return e&&D1(t.visualHandlers,(function(t,i){e.hasOwnProperty(i)&&(r[i]=e[i],n=!0)})),n?r:null},t.prepareVisualTypes=function(t){if(uI(t))t=t.slice();else{if(!O1(t))return[];var e=[];D1(t,(function(t,n){e.push(n)})),t=e}return t.sort((function(t,e){return"color"===e&&"color"!==t&&0===t.indexOf("color")?1:-1})),t},t.dependsOn=function(t,e){return"color"===e?!(!t||0!==t.indexOf(e)):t===e},t.findPieceIndex=function(t,e,n){for(var r,i=1/0,a=0,o=e.length;a<o;a++){var s=e[a].value;if(null!=s){if(s===t||lI(s)&&s===t+"")return a;n&&h(s,a)}}for(a=0,o=e.length;a<o;a++){var u=e[a],c=u.interval,l=u.close;if(c){if(c[0]===-1/0){if(U1(l[1],t,c[1]))return a}else if(c[1]===1/0){if(U1(l[0],c[0],t))return a}else if(U1(l[0],c[0],t)&&U1(l[1],t,c[1]))return a;n&&h(c[0],a),n&&h(c[1],a)}}if(n)return t===1/0?e.length-1:t===-1/0?0:r;function h(e,n){var a=Math.abs(e-t);a<i&&(i=a,r=n)}},t.visualHandlers={color:{applyVisual:B1("color"),getColorMapper:function(){var t=this.option;return oI("category"===t.mappingMethod?function(t,e){return!e&&(t=this._normalizeData(t)),z1.call(this,t)}:function(e,n,r){var i=!!r;return!n&&(e=this._normalizeData(e)),r=gT(e,t.parsedVisual,r),i?r:yT(r,"rgba")},this)},_normalizedToVisual:{linear:function(t){return yT(gT(t,this.option.parsedVisual),"rgba")},category:z1,piecewise:function(t,e){var n=H1.call(this,e);return null==n&&(n=yT(gT(t,this.option.parsedVisual),"rgba")),n},fixed:$1}},colorHue:j1((function(t,e){return vT(t,e)})),colorSaturation:j1((function(t,e){return vT(t,null,e)})),colorLightness:j1((function(t,e){return vT(t,null,null,e)})),colorAlpha:j1((function(t,e){return mT(t,e)})),decal:{applyVisual:B1("decal"),_normalizedToVisual:{linear:null,category:z1,piecewise:null,fixed:null}},opacity:{applyVisual:B1("opacity"),_normalizedToVisual:V1([0,1])},liftZ:{applyVisual:B1("liftZ"),_normalizedToVisual:{linear:$1,category:$1,piecewise:$1,fixed:$1}},symbol:{applyVisual:function(t,e,n){n("symbol",this.mapValueToVisual(t))},_normalizedToVisual:{linear:F1,category:z1,piecewise:function(t,e){var n=H1.call(this,e);return null==n&&(n=F1.call(this,t)),n},fixed:$1}},symbolSize:{applyVisual:B1("symbolSize"),_normalizedToVisual:V1([0,1])}},t}();function N1(t,e){var n=t.visual,r=[];dI(n)?D1(n,(function(t){r.push(t)})):null!=n&&r.push(n);e||1!==r.length||{color:1,symbol:1}.hasOwnProperty(t.type)||(r[1]=r[0]),W1(t,r)}function j1(t){return{applyVisual:function(e,n,r){var i=this.mapValueToVisual(e);r("color",t(n("color"),i))},_normalizedToVisual:V1([0,1])}}function F1(t){var e=this.option.visual;return e[Math.round(uE(t,[0,1],[0,e.length-1],!0))]||{}}function B1(t){return function(e,n,r){r(t,this.mapValueToVisual(e))}}function z1(t){var e=this.option.visual;return e[this.option.loop&&t!==L1?t%e.length:t]}function $1(){return this.option.visual[0]}function V1(t){return{linear:function(e){return uE(e,t,this.option.visual,!0)},category:z1,piecewise:function(e,n){var r=H1.call(this,n);return null==r&&(r=uE(e,t,this.option.visual,!0)),r},fixed:$1}}function H1(t){var e=this.option,n=e.pieceList;if(e.hasSpecialVisual){var r=n[R1.findPieceIndex(t,n)];if(r&&r.visual)return r.visual[this.type]}}function W1(t,e){return t.visual=e,"color"===t.type&&(t.parsedVisual=nI(e,(function(t){var e=fT(t);return e||[0,0,0,1]}))),e}var G1={linear:function(t){return uE(t,this.option.dataExtent,[0,1],!0)},piecewise:function(t){var e=this.option.pieceList,n=R1.findPieceIndex(t,e,!0);if(null!=n)return uE(n,[0,e.length-1],[0,1],!0)},category:function(t){var e=this.option.categories?this.option.categoryMap[t]:t;return null==e?L1:e},fixed:jI};function U1(t,e,n){return t?e<=n:e<n}const X1=R1;var q1=GE();const Y1={seriesType:"treemap",reset:function(t){var e=t.getData().tree.root;e.isRemoved()||K1(e,{},t.getViewRoot().getAncestors(),t)}};function K1(t,e,n,r){var i=t.getModel(),a=t.getLayout(),o=t.hostTree.data;if(a&&!a.invisible&&a.isInView){var s,u=i.getModel("itemStyle"),c=function(t,e,n){var r=Kk({},e),i=n.designatedVisualItemStyle;return eI(["color","colorAlpha","colorSaturation"],(function(n){i[n]=e[n];var a=t.get(n);i[n]=null,null!=a&&(r[n]=a)})),r}(u,e,r),l=o.ensureUniqueItemVisual(t.dataIndex,"style"),h=u.get("borderColor"),f=u.get("borderColorSaturation");null!=f&&(h=function(t,e){return null!=e?vT(e,null,null,t):null}(f,s=Z1(c))),l.stroke=h;var d=t.viewChildren;if(d&&d.length){var p=function(t,e,n,r,i,a){if(!a||!a.length)return;var o=J1(e,"color")||null!=i.color&&"none"!==i.color&&(J1(e,"colorAlpha")||J1(e,"colorSaturation"));if(!o)return;var s=e.get("visualMin"),u=e.get("visualMax"),c=n.dataExtent.slice();null!=s&&s<c[0]&&(c[0]=s),null!=u&&u>c[1]&&(c[1]=u);var l=e.get("colorMappingBy"),h={type:o.name,dataExtent:c,visual:o.range};"color"!==h.type||"index"!==l&&"id"!==l?h.mappingMethod="linear":(h.mappingMethod="category",h.loop=!0);var f=new X1(h);return q1(f).drColorMappingBy=l,f}(0,i,a,0,c,d);eI(d,(function(t,e){if(t.depth>=n.length||t===n[t.depth]){var a=function(t,e,n,r,i,a){var o=Kk({},e);if(i){var s=i.type,u="color"===s&&q1(i).drColorMappingBy,c="index"===u?r:"id"===u?a.mapIdToIndex(n.getId()):n.getValue(t.get("visualDimension"));o[s]=i.mapValueToVisual(c)}return o}(i,c,t,e,p,r);K1(t,a,n,r)}}))}else s=Z1(c),l.fill=s}}function Z1(t){var e=Q1(t,"color");if(e){var n=Q1(t,"colorAlpha"),r=Q1(t,"colorSaturation");return r&&(e=vT(e,null,null,r)),n&&(e=mT(e,n)),e}}function Q1(t,e){var n=t[e];if(null!=n&&"none"!==n)return n}function J1(t,e){var n=t.get(e);return uI(n)&&n.length?{name:e,range:n}:null}var t0=Math.max,e0=Math.min,n0=yI,r0=eI,i0=["itemStyle","borderWidth"],a0=["itemStyle","gapWidth"],o0=["upperLabel","show"],s0=["upperLabel","height"];const u0={seriesType:"treemap",reset:function(t,e,n,r){var i=n.getWidth(),a=n.getHeight(),o=t.option,s=iN(t.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()}),u=o.size||[],c=cE(n0(s.width,u[0]),i),l=cE(n0(s.height,u[1]),a),h=r&&r.type,f=i1(r,["treemapZoomToNode","treemapRootToNode"],t),d="treemapRender"===h||"treemapMove"===h?r.rootRect:null,p=t.getViewRoot(),g=a1(p);if("treemapMove"!==h){var b="treemapZoomToNode"===h?function(t,e,n,r,i){var a,o=(e||{}).node,s=[r,i];if(!o||o===n)return s;var u=r*i,c=u*t.option.zoomToNodeRatio;for(;a=o.parentNode;){for(var l=0,h=a.children,f=0,d=h.length;f<d;f++)l+=h[f].getValue();var p=o.getValue();if(0===p)return s;c*=l/p;var g=a.getModel(),b=g.get(i0);(c+=4*b*b+(3*b+Math.max(b,d0(g)))*Math.pow(c,.5))>bE&&(c=bE),o=a}c<u&&(c=u);var v=Math.pow(c/u,.5);return[r*v,i*v]}(t,f,p,c,l):d?[d.width,d.height]:[c,l],v=o.sort;v&&"asc"!==v&&"desc"!==v&&(v="desc");var m={squareRatio:o.squareRatio,sort:v,leafDepth:o.leafDepth};p.hostTree.clearLayouts();var y={x:0,y:0,width:b[0],height:b[1],area:b[0]*b[1]};p.setLayout(y),c0(p,m,!1,0),y=p.getLayout(),r0(g,(function(t,e){var n=(g[e+1]||p).getValue();t.setLayout(Kk({dataExtent:[n,n],borderWidth:0,upperHeight:0},y))}))}var w=t.getData().tree.root;w.setLayout(function(t,e,n){if(e)return{x:e.x,y:e.y};var r={x:0,y:0};if(!n)return r;var i=n.node,a=i.getLayout();if(!a)return r;var o=[a.width/2,a.height/2],s=i;for(;s;){var u=s.getLayout();o[0]+=u.x,o[1]+=u.y,s=s.parentNode}return{x:t.width/2-o[0],y:t.height/2-o[1]}}(s,d,f),!0),t.setLayoutInfo(s),f0(w,new KM(-s.x,-s.y,i,a),g,p,0)}};function c0(t,e,n,r){var i,a;if(!t.isRemoved()){var o=t.getLayout();i=o.width,a=o.height;var s=t.getModel(),u=s.get(i0),c=s.get(a0)/2,l=d0(s),h=Math.max(u,l),f=u-c,d=h-c;t.setLayout({borderWidth:u,upperHeight:h,upperLabelHeight:l},!0);var p=(i=t0(i-2*f,0))*(a=t0(a-f-d,0)),g=function(t,e,n,r,i,a){var o=t.children||[],s=r.sort;"asc"!==s&&"desc"!==s&&(s=null);var u=null!=r.leafDepth&&r.leafDepth<=a;if(i&&!u)return t.viewChildren=[];o=iI(o,(function(t){return!t.isRemoved()})),function(t,e){e&&t.sort((function(t,n){var r="asc"===e?t.getValue()-n.getValue():n.getValue()-t.getValue();return 0===r?"asc"===e?t.dataIndex-n.dataIndex:n.dataIndex-t.dataIndex:r}))}(o,s);var c=function(t,e,n){for(var r=0,i=0,a=e.length;i<a;i++)r+=e[i].getValue();var o,s=t.get("visualDimension");e&&e.length?"value"===s&&n?(o=[e[e.length-1].getValue(),e[0].getValue()],"asc"===n&&o.reverse()):(o=[1/0,-1/0],r0(e,(function(t){var e=t.getValue(s);e<o[0]&&(o[0]=e),e>o[1]&&(o[1]=e)}))):o=[NaN,NaN];return{sum:r,dataExtent:o}}(e,o,s);if(0===c.sum)return t.viewChildren=[];if(c.sum=function(t,e,n,r,i){if(!r)return n;for(var a=t.get("visibleMin"),o=i.length,s=o,u=o-1;u>=0;u--){var c=i["asc"===r?o-u-1:u].getValue();c/n*e<a&&(s=u,n-=c)}return"asc"===r?i.splice(0,o-s):i.splice(s,o-s),n}(e,n,c.sum,s,o),0===c.sum)return t.viewChildren=[];for(var l=0,h=o.length;l<h;l++){var f=o[l].getValue()/c.sum*n;o[l].setLayout({area:f})}u&&(o.length&&t.setLayout({isLeafRoot:!0},!0),o.length=0);return t.viewChildren=o,t.setLayout({dataExtent:c.dataExtent},!0),o}(t,s,p,e,n,r);if(g.length){var b={x:f,y:d,width:i,height:a},v=e0(i,a),m=1/0,y=[];y.area=0;for(var w=0,x=g.length;w<x;){var _=g[w];y.push(_),y.area+=_.getLayout().area;var S=l0(y,v,e.squareRatio);S<=m?(w++,m=S):(y.area-=y.pop().getLayout().area,h0(y,v,b,c,!1),v=e0(b.width,b.height),y.length=y.area=0,m=1/0)}if(y.length&&h0(y,v,b,c,!0),!n){var k=s.get("childrenVisibleMin");null!=k&&p<k&&(n=!0)}for(w=0,x=g.length;w<x;w++)c0(g[w],e,n,r+1)}}}function l0(t,e,n){for(var r=0,i=1/0,a=0,o=void 0,s=t.length;a<s;a++)(o=t[a].getLayout().area)&&(o<i&&(i=o),o>r&&(r=o));var u=t.area*t.area,c=e*e*n;return u?t0(c*r/u,u/(c*i)):1/0}function h0(t,e,n,r,i){var a=e===n.width?0:1,o=1-a,s=["x","y"],u=["width","height"],c=n[s[a]],l=e?t.area/e:0;(i||l>n[u[o]])&&(l=n[u[o]]);for(var h=0,f=t.length;h<f;h++){var d=t[h],p={},g=l?d.getLayout().area/l:0,b=p[u[o]]=t0(l-2*r,0),v=n[s[a]]+n[u[a]]-c,m=h===f-1||v<g?v:g,y=p[u[a]]=t0(m-2*r,0);p[s[o]]=n[s[o]]+e0(r,b/2),p[s[a]]=c+e0(r,y/2),c+=m,d.setLayout(p,!0)}n[s[o]]+=l,n[u[o]]-=l}function f0(t,e,n,r,i){var a=t.getLayout(),o=n[i],s=o&&o===t;if(!(o&&!s||i===n.length&&t!==r)){t.setLayout({isInView:!0,invisible:!s&&!e.intersect(a),isAboveViewRoot:s},!0);var u=new KM(e.x-a.x,e.y-a.y,e.width,e.height);r0(t.viewChildren||[],(function(t){f0(t,u,n,r,i+1)}))}}function d0(t){return t.get(o0)?t.get(s0):0}function p0(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getGraph().data,i=n.mapArray(n.getName);r.filterSelf((function(t){var n=r.getItemModel(t).getShallow("category");if(null!=n){fI(n)&&(n=i[n]);for(var a=0;a<e.length;a++)if(!e[a].isSelected(n))return!1}return!0}))}))}function g0(t){var e={};t.eachSeriesByType("graph",(function(t){var n=t.getCategoriesData(),r=t.getData(),i={};n.each((function(r){var a=n.getName(r);i["ec-"+a]=r;var o=n.getItemModel(r),s=o.getModel("itemStyle").getItemStyle();s.fill||(s.fill=t.getColorFromPalette(a,e)),n.setItemVisual(r,"style",s);for(var u=["symbol","symbolSize","symbolKeepAspect"],c=0;c<u.length;c++){var l=o.getShallow(u[c],!0);null!=l&&n.setItemVisual(r,u[c],l)}})),n.count()&&r.each((function(t){var e=r.getItemModel(t).getShallow("category");if(null!=e){lI(e)&&(e=i["ec-"+e]);var a=n.getItemVisual(e,"style");Kk(r.ensureUniqueItemVisual(t,"style"),a);for(var o=["symbol","symbolSize","symbolKeepAspect"],s=0;s<o.length;s++)r.setItemVisual(t,o[s],n.getItemVisual(e,o[s]))}}))}))}function b0(t){return t instanceof Array||(t=[t,t]),t}function v0(t){t.eachSeriesByType("graph",(function(t){var e=t.getGraph(),n=t.getEdgeData(),r=b0(t.get("edgeSymbol")),i=b0(t.get("edgeSymbolSize"));n.setVisual("fromSymbol",r&&r[0]),n.setVisual("toSymbol",r&&r[1]),n.setVisual("fromSymbolSize",i&&i[0]),n.setVisual("toSymbolSize",i&&i[1]),n.setVisual("style",t.getModel("lineStyle").getLineStyle()),n.each((function(t){var r=n.getItemModel(t),i=e.getEdgeByIndex(t),a=b0(r.getShallow("symbol",!0)),o=b0(r.getShallow("symbolSize",!0)),s=r.getModel("lineStyle").getLineStyle(),u=n.ensureUniqueItemVisual(t,"style");switch(Kk(u,s),u.stroke){case"source":var c=i.node1.getVisual("style");u.stroke=c&&c.fill;break;case"target":c=i.node2.getVisual("style");u.stroke=c&&c.fill}a[0]&&i.setVisual("fromSymbol",a[0]),a[1]&&i.setVisual("toSymbol",a[1]),o[0]&&i.setVisual("fromSymbolSize",o[0]),o[1]&&i.setVisual("toSymbolSize",o[1])}))}))}var m0="--\x3e",y0=function(t){return t.get("autoCurveness")||null},w0=function(t,e){var n=y0(t),r=20,i=[];if(fI(n))r=n;else if(uI(n))return void(t.__curvenessList=n);e>r&&(r=e);var a=r%2?r+2:r+3;i=[];for(var o=0;o<a;o++)i.push((o%2?o+1:o)/10*(o%2?-1:1));t.__curvenessList=i},x0=function(t,e,n){var r=[t.id,t.dataIndex].join("."),i=[e.id,e.dataIndex].join(".");return[n.uid,r,i].join(m0)},_0=function(t){var e=t.split(m0);return[e[0],e[2],e[1]].join(m0)},S0=function(t,e){var n=e.__edgeMap;return n[t]?n[t].length:0};function k0(t,e,n,r){var i=y0(e),a=uI(i);if(!i)return null;var o=function(t,e){var n=x0(t.node1,t.node2,e);return e.__edgeMap[n]}(t,e);if(!o)return null;for(var s=-1,u=0;u<o.length;u++)if(o[u]===n){s=u;break}var c=function(t,e){return S0(x0(t.node1,t.node2,e),e)+S0(x0(t.node2,t.node1,e),e)}(t,e);w0(e,c),t.lineStyle=t.lineStyle||{};var l=x0(t.node1,t.node2,e),h=e.__curvenessList,f=a||c%2?0:1;if(o.isForward)return h[f+s];var d=_0(l),p=S0(d,e),g=h[s+p+f];return r?a?i&&0===i[0]?(p+f)%2?g:-g:((p%2?0:1)+f)%2?g:-g:(p+f)%2?g:-g:h[s+p+f]}function I0(t){var e=t.coordinateSystem;if(!e||"view"===e.type){var n=t.getGraph();n.eachNode((function(t){var e=t.getModel();t.setLayout([+e.get("x"),+e.get("y")])})),M0(n,t)}}function M0(t,e){t.eachEdge((function(t,n){var r=xI(t.getModel().get(["lineStyle","curveness"]),-k0(t,e,n,!0),0),i=HI(t.node1.getLayout()),a=HI(t.node2.getLayout()),o=[i,a];+r&&o.push([(i[0]+a[0])/2-(i[1]-a[1])*r,(i[1]+a[1])/2-(a[0]-i[0])*r]),t.setLayout(o)}))}function C0(t,e){t.eachSeriesByType("graph",(function(t){var e=t.get("layout"),n=t.coordinateSystem;if(n&&"view"!==n.type){var r=t.getData(),i=[];eI(n.dimensions,(function(t){i=i.concat(r.mapDimensionsAll(t))}));for(var a=0;a<r.count();a++){for(var o=[],s=!1,u=0;u<i.length;u++){var c=r.get(i[u],a);isNaN(c)||(s=!0),o.push(c)}s?r.setItemLayout(a,n.dataToPoint(o)):r.setItemLayout(a,[NaN,NaN])}M0(r.graph,t)}else e&&"none"!==e||I0(t)}))}function T0(t){var e=t.coordinateSystem;if("view"!==e.type)return 1;var n=t.option.nodeScaleRatio,r=e.scaleX;return((e.getZoom()-1)*n+1)/r}function A0(t){var e=t.getVisual("symbolSize");return e instanceof Array&&(e=(e[0]+e[1])/2),+e}var E0=Math.PI,P0=[];function D0(t,e,n,r){var i=t.coordinateSystem;if(!i||"view"===i.type){var a=i.getBoundingRect(),o=t.getData(),s=o.graph,u=a.width/2+a.x,c=a.height/2+a.y,l=Math.min(a.width,a.height)/2,h=o.count();if(o.setLayout({cx:u,cy:c}),h){if(n){var f=i.pointToData(r),d=f[0],p=f[1],g=[d-u,p-c];ZI(g,g),KI(g,g,l),n.setLayout([u+g[0],c+g[1]],!0),L0(n,t.get(["circular","rotateLabel"]),u,c)}O0[e](t,s,o,l,u,c,h),s.eachEdge((function(e,n){var r,i=xI(e.getModel().get(["lineStyle","curveness"]),k0(e,t,n),0),a=HI(e.node1.getLayout()),o=HI(e.node2.getLayout()),s=(a[0]+o[0])/2,l=(a[1]+o[1])/2;+i&&(r=[u*(i*=3)+s*(1-i),c*i+l*(1-i)]),e.setLayout([a,o,r])}))}}}var O0={value:function(t,e,n,r,i,a,o){var s=0,u=n.getSum("value"),c=2*Math.PI/(u||o);e.eachNode((function(t){var e=t.getValue("value"),n=c*(u?e:1)/2;s+=n,t.setLayout([r*Math.cos(s)+i,r*Math.sin(s)+a]),s+=n}))},symbolSize:function(t,e,n,r,i,a,o){var s=0;P0.length=o;var u=T0(t);e.eachNode((function(t){var e=A0(t);isNaN(e)&&(e=2),e<0&&(e=0),e*=u;var n=Math.asin(e/2/r);isNaN(n)&&(n=E0/2),P0[t.dataIndex]=n,s+=2*n}));var c=(2*E0-s)/o/2,l=0;e.eachNode((function(t){var e=c+P0[t.dataIndex];l+=e,(!t.getLayout()||!t.getLayout().fixed)&&t.setLayout([r*Math.cos(l)+i,r*Math.sin(l)+a]),l+=e}))}};function L0(t,e,n,r){var i=t.getGraphicEl();if(i){var a=t.getModel().get(["label","rotate"])||0,o=i.getSymbolPath();if(e){var s=t.getLayout(),u=Math.atan2(s[1]-r,s[0]-n);u<0&&(u=2*Math.PI+u);var c=s[0]<n;c&&(u-=Math.PI);var l=c?"left":"right";o.setTextConfig({rotation:-u,position:l,origin:"center"});var h=o.ensureState("emphasis");Kk(h.textConfig||(h.textConfig={}),{position:l})}else o.setTextConfig({rotation:a*=Math.PI/180})}}function R0(t){t.eachSeriesByType("graph",(function(t){"circular"===t.get("layout")&&D0(t,"symbolSize")}))}var N0=UI;function j0(t){t.eachSeriesByType("graph",(function(t){var e=t.coordinateSystem;if(!e||"view"===e.type)if("force"===t.get("layout")){var n=t.preservedPoints||{},r=t.getGraph(),i=r.data,a=r.edgeData,o=t.getModel("force"),s=o.get("initLayout");t.preservedPoints?i.each((function(t){var e=i.getId(t);i.setItemLayout(t,n[e]||[NaN,NaN])})):s&&"none"!==s?"circular"===s&&D0(t,"value"):I0(t);var u=i.getDataExtent("value"),c=a.getDataExtent("value"),l=o.get("repulsion"),h=o.get("edgeLength"),f=uI(l)?l:[l,l],d=uI(h)?h:[h,h];d=[d[1],d[0]];var p=i.mapArray("value",(function(t,e){var n=i.getItemLayout(e),r=uE(t,u,f);return isNaN(r)&&(r=(f[0]+f[1])/2),{w:r,rep:r,fixed:i.getItemModel(e).get("fixed"),p:!n||isNaN(n[0])||isNaN(n[1])?null:n}})),g=a.mapArray("value",(function(e,n){var i=r.getEdgeByIndex(n),a=uE(e,c,d);isNaN(a)&&(a=(d[0]+d[1])/2);var o=i.getModel(),s=xI(i.getModel().get(["lineStyle","curveness"]),-k0(i,t,n,!0),0);return{n1:p[i.node1.dataIndex],n2:p[i.node2.dataIndex],d:a,curveness:s,ignoreForceLayout:o.get("ignoreForceLayout")}})),b=e.getBoundingRect(),v=function(t,e,n){for(var r=t,i=e,a=n.rect,o=a.width,s=a.height,u=[a.x+o/2,a.y+s/2],c=null==n.gravity?.1:n.gravity,l=0;l<r.length;l++){var h=r[l];h.p||(h.p=$I(o*(Math.random()-.5)+u[0],s*(Math.random()-.5)+u[1])),h.pp=HI(h.p),h.edges=null}var f,d,p=null==n.friction?.6:n.friction,g=p;return{warmUp:function(){g=.8*p},setFixed:function(t){r[t].fixed=!0},setUnfixed:function(t){r[t].fixed=!1},beforeStep:function(t){f=t},afterStep:function(t){d=t},step:function(t){f&&f(r,i);for(var e=[],n=r.length,a=0;a<i.length;a++){var o=i[a];if(!o.ignoreForceLayout){var s=o.n1;XI(e,(b=o.n2).p,s.p);var l=qI(e)-o.d,h=b.w/(s.w+b.w);isNaN(h)&&(h=0),ZI(e,e),!s.fixed&&N0(s.p,s.p,e,h*l*g),!b.fixed&&N0(b.p,b.p,e,-(1-h)*l*g)}}for(a=0;a<n;a++)(y=r[a]).fixed||(XI(e,u,y.p),N0(y.p,y.p,e,c*g));for(a=0;a<n;a++){s=r[a];for(var p=a+1;p<n;p++){var b;XI(e,(b=r[p]).p,s.p),0===(l=qI(e))&&(WI(e,Math.random()-.5,Math.random()-.5),l=1);var v=(s.rep+b.rep)/l/l;!s.fixed&&N0(s.pp,s.pp,e,v),!b.fixed&&N0(b.pp,b.pp,e,-v)}}var m=[];for(a=0;a<n;a++){var y;(y=r[a]).fixed||(XI(m,y.p,y.pp),N0(y.p,y.p,m,g),VI(y.pp,y.p))}var w=(g*=.992)<.01;d&&d(r,i,w),t&&t(w)}}}(p,g,{rect:b,gravity:o.get("gravity"),friction:o.get("friction")});v.beforeStep((function(t,e){for(var n=0,i=t.length;n<i;n++)t[n].fixed&&VI(t[n].p,r.getNodeByIndex(n).getLayout())})),v.afterStep((function(t,e,a){for(var o=0,s=t.length;o<s;o++)t[o].fixed||r.getNodeByIndex(o).setLayout(t[o].p),n[i.getId(o)]=t[o].p;for(o=0,s=e.length;o<s;o++){var u=e[o],c=r.getEdgeByIndex(o),l=u.n1.p,h=u.n2.p,f=c.getLayout();(f=f?f.slice():[])[0]=f[0]||[],f[1]=f[1]||[],VI(f[0],l),VI(f[1],h),+u.curveness&&(f[2]=[(l[0]+h[0])/2-(l[1]-h[1])*u.curveness,(l[1]+h[1])/2-(h[0]-l[0])*u.curveness]),c.setLayout(f)}})),t.forceLayout=v,t.preservedPoints=n,v.step()}else t.forceLayout=null}))}function F0(t,e){var n=[];return t.eachSeriesByType("graph",(function(t){var r=t.get("coordinateSystem");if(!r||"view"===r){var i=t.getData(),a=[],o=[];XP(i.mapArray((function(t){var e=i.getItemModel(t);return[+e.get("x"),+e.get("y")]})),a,o),o[0]-a[0]==0&&(o[0]+=1,a[0]-=1),o[1]-a[1]==0&&(o[1]+=1,a[1]-=1);var s=(o[0]-a[0])/(o[1]-a[1]),u=function(t,e,n){return iN(Kk(t.getBoxLayoutParams(),{aspect:n}),{width:e.getWidth(),height:e.getHeight()})}(t,e,s);isNaN(s)&&(a=[u.x,u.y],o=[u.x+u.width,u.y+u.height]);var c=o[0]-a[0],l=o[1]-a[1],h=u.width,f=u.height,d=t.coordinateSystem=new lJ;d.zoomLimit=t.get("scaleLimit"),d.setBoundingRect(a[0],a[1],c,l),d.setViewRect(u.x,u.y,h,f),d.setCenter(t.get("center"),e),d.setZoom(t.get("zoom")),n.push(d)}})),n}var B0=hz.prototype,z0=bz.prototype,$0=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1};!function(t){function e(){return null!==t&&t.apply(this,arguments)||this}Sk(e,t)}($0);function V0(t){return isNaN(+t.cpx1)||isNaN(+t.cpy1)}var H0=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-line",n}return Sk(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new $0},e.prototype.buildPath=function(t,e){V0(e)?B0.buildPath.call(this,t,e):z0.buildPath.call(this,t,e)},e.prototype.pointAt=function(t){return V0(this.shape)?B0.pointAt.call(this,t):z0.pointAt.call(this,t)},e.prototype.tangentAt=function(t){var e=this.shape,n=V0(e)?[e.x2-e.x1,e.y2-e.y1]:z0.tangentAt.call(this,t);return ZI(n,n)},e}(zD);const W0=H0;var G0=["fromSymbol","toSymbol"];function U0(t){return"_"+t+"Type"}function X0(t,e,n){var r=e.getItemVisual(n,t);if(r&&"none"!==r){var i=e.getItemVisual(n,t+"Size"),a=e.getItemVisual(n,t+"Rotate"),o=e.getItemVisual(n,t+"Offset"),s=e.getItemVisual(n,t+"KeepAspect"),u=PV(i),c=DV(o||0,u),l=EV(r,-u[0]/2+c[0],-u[1]/2+c[1],u[0],u[1],null,s);return l.__specifiedRotation=null==a||isNaN(a)?void 0:+a*Math.PI/180||0,l.name=t,l}}function q0(t,e){t.x1=e[0][0],t.y1=e[0][1],t.x2=e[1][0],t.y2=e[1][1],t.percent=1;var n=e[2];n?(t.cpx1=n[0],t.cpy1=n[1]):(t.cpx1=NaN,t.cpy1=NaN)}var Y0=function(t){function e(e,n,r){var i=t.call(this)||this;return i._createLine(e,n,r),i}return Sk(e,t),e.prototype._createLine=function(t,e,n){var r=t.hostModel,i=function(t){var e=new W0({name:"line",subPixelOptimize:!0});return q0(e.shape,t),e}(t.getItemLayout(e));i.shape.percent=0,_L(i,{shape:{percent:1}},r,e),this.add(i),eI(G0,(function(n){var r=X0(n,t,e);this.add(r),this[U0(n)]=t.getItemVisual(e,n)}),this),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var r=t.hostModel,i=this.childOfName("line"),a=t.getItemLayout(e),o={shape:{}};q0(o.shape,a),xL(i,o,r,e),eI(G0,(function(n){var r=t.getItemVisual(e,n),i=U0(n);if(this[i]!==r){this.remove(this.childOfName(n));var a=X0(n,t,e);this.add(a)}this[i]=r}),this),this._updateCommonStl(t,e,n)},e.prototype.getLinePath=function(){return this.childAt(0)},e.prototype._updateCommonStl=function(t,e,n){var r=t.hostModel,i=this.childOfName("line"),a=n&&n.emphasisLineStyle,o=n&&n.blurLineStyle,s=n&&n.selectLineStyle,u=n&&n.labelStatesModels,c=n&&n.emphasisDisabled,l=n&&n.focus,h=n&&n.blurScope;if(!n||t.hasItemOption){var f=t.getItemModel(e),d=f.getModel("emphasis");a=d.getModel("lineStyle").getLineStyle(),o=f.getModel(["blur","lineStyle"]).getLineStyle(),s=f.getModel(["select","lineStyle"]).getLineStyle(),c=d.get("disabled"),l=d.get("focus"),h=d.get("blurScope"),u=DL(f)}var p=t.getItemVisual(e,"style"),g=p.stroke;i.useStyle(p),i.style.fill=null,i.style.strokeNoScale=!0,i.ensureState("emphasis").style=a,i.ensureState("blur").style=o,i.ensureState("select").style=s,eI(G0,(function(t){var e=this.childOfName(t);if(e){e.setColor(g),e.style.opacity=p.opacity;for(var n=0;n<kO.length;n++){var r=kO[n],a=i.getState(r);if(a){var o=a.style||{},s=e.ensureState(r),u=s.style||(s.style={});null!=o.stroke&&(u[e.__isEmptyBrush?"stroke":"fill"]=o.stroke),null!=o.opacity&&(u.opacity=o.opacity)}}e.markRedraw()}}),this);var b=r.getRawValue(e);PL(this,u,{labelDataIndex:e,labelFetcher:{getFormattedLabel:function(e,n){return r.getFormattedLabel(e,n,t.dataType)}},inheritColor:g||"#000",defaultOpacity:p.opacity,defaultText:(null==b?t.getName(e):isFinite(b)?lE(b):b)+""});var v=this.getTextContent();if(v){var m=u.normal;v.__align=v.style.align,v.__verticalAlign=v.style.verticalAlign,v.__position=m.get("position")||"middle";var y=m.get("distance");uI(y)||(y=[y,y]),v.__labelDistance=y}this.setTextConfig({position:null,local:!0,inside:!1}),cL(this,l,h,c)},e.prototype.highlight=function(){YO(this)},e.prototype.downplay=function(){KO(this)},e.prototype.updateLayout=function(t,e){this.setLinePoints(t.getItemLayout(e))},e.prototype.setLinePoints=function(t){var e=this.childOfName("line");q0(e.shape,t),e.dirty()},e.prototype.beforeUpdate=function(){var t=this,e=t.childOfName("fromSymbol"),n=t.childOfName("toSymbol"),r=t.getTextContent();if(e||n||r&&!r.ignore){for(var i=1,a=this.parent;a;)a.scaleX&&(i/=a.scaleX),a=a.parent;var o=t.childOfName("line");if(this.__dirty||o.__dirty){var s=o.shape.percent,u=o.pointAt(0),c=o.pointAt(s),l=XI([],c,u);if(ZI(l,l),e&&(e.setPosition(u),S(e,0),e.scaleX=e.scaleY=i*s,e.markRedraw()),n&&(n.setPosition(c),S(n,1),n.scaleX=n.scaleY=i*s,n.markRedraw()),r&&!r.ignore){r.x=r.y=0,r.originX=r.originY=0;var h=void 0,f=void 0,d=r.__labelDistance,p=d[0]*i,g=d[1]*i,b=s/2,v=o.tangentAt(b),m=[v[1],-v[0]],y=o.pointAt(b);m[1]>0&&(m[0]=-m[0],m[1]=-m[1]);var w=v[0]<0?-1:1;if("start"!==r.__position&&"end"!==r.__position){var x=-Math.atan2(v[1],v[0]);c[0]<u[0]&&(x=Math.PI+x),r.rotation=x}var _=void 0;switch(r.__position){case"insideStartTop":case"insideMiddleTop":case"insideEndTop":case"middle":_=-g,f="bottom";break;case"insideStartBottom":case"insideMiddleBottom":case"insideEndBottom":_=g,f="top";break;default:_=0,f="middle"}switch(r.__position){case"end":r.x=l[0]*p+c[0],r.y=l[1]*g+c[1],h=l[0]>.8?"left":l[0]<-.8?"right":"center",f=l[1]>.8?"top":l[1]<-.8?"bottom":"middle";break;case"start":r.x=-l[0]*p+u[0],r.y=-l[1]*g+u[1],h=l[0]>.8?"right":l[0]<-.8?"left":"center",f=l[1]>.8?"bottom":l[1]<-.8?"top":"middle";break;case"insideStartTop":case"insideStart":case"insideStartBottom":r.x=p*w+u[0],r.y=u[1]+_,h=v[0]<0?"right":"left",r.originX=-p*w,r.originY=-_;break;case"insideMiddleTop":case"insideMiddle":case"insideMiddleBottom":case"middle":r.x=y[0],r.y=y[1]+_,h="center",r.originY=-_;break;case"insideEndTop":case"insideEnd":case"insideEndBottom":r.x=-p*w+c[0],r.y=c[1]+_,h=v[0]>=0?"right":"left",r.originX=p*w,r.originY=-_}r.scaleX=r.scaleY=i,r.setStyle({verticalAlign:r.__verticalAlign||f,align:r.__align||h})}}}function S(t,e){var n=t.__specifiedRotation;if(null==n){var r=o.tangentAt(e);t.attr("rotation",(1===e?-1:1)*Math.PI/2-Math.atan2(r[1],r[0]))}else t.attr("rotation",n)}},e}(nE);const K0=Y0;var Z0=function(){function t(t){this.group=new nE,this._LineCtor=t||K0}return t.prototype.updateData=function(t){var e=this;this._progressiveEls=null;var n=this,r=n.group,i=n._lineData;n._lineData=t,i||r.removeAll();var a=Q0(t);t.diff(i).add((function(n){e._doAdd(t,n,a)})).update((function(n,r){e._doUpdate(i,t,r,n,a)})).remove((function(t){r.remove(i.getItemGraphicEl(t))})).execute()},t.prototype.updateLayout=function(){var t=this._lineData;t&&t.eachItemGraphicEl((function(e,n){e.updateLayout(t,n)}),this)},t.prototype.incrementalPrepareUpdate=function(t){this._seriesScope=Q0(t),this._lineData=null,this.group.removeAll()},t.prototype.incrementalUpdate=function(t,e){function n(t){t.isGroup||function(t){return t.animators&&t.animators.length>0}(t)||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}this._progressiveEls=[];for(var r=t.start;r<t.end;r++){if(t2(e.getItemLayout(r))){var i=new this._LineCtor(e,r,this._seriesScope);i.traverse(n),this.group.add(i),e.setItemGraphicEl(r,i),this._progressiveEls.push(i)}}},t.prototype.remove=function(){this.group.removeAll()},t.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},t.prototype._doAdd=function(t,e,n){if(t2(t.getItemLayout(e))){var r=new this._LineCtor(t,e,n);t.setItemGraphicEl(e,r),this.group.add(r)}},t.prototype._doUpdate=function(t,e,n,r,i){var a=t.getItemGraphicEl(n);t2(e.getItemLayout(r))?(a?a.updateData(e,r,i):a=new this._LineCtor(e,r,i),e.setItemGraphicEl(r,a),this.group.add(a)):this.group.remove(a)},t}();function Q0(t){var e=t.hostModel,n=e.getModel("emphasis");return{lineStyle:e.getModel("lineStyle").getLineStyle(),emphasisLineStyle:n.getModel(["lineStyle"]).getLineStyle(),blurLineStyle:e.getModel(["blur","lineStyle"]).getLineStyle(),selectLineStyle:e.getModel(["select","lineStyle"]).getLineStyle(),emphasisDisabled:n.get("disabled"),blurScope:n.get("blurScope"),focus:n.get("focus"),labelStatesModels:DL(e)}}function J0(t){return isNaN(t[0])||isNaN(t[1])}function t2(t){return t&&!J0(t[0])&&!J0(t[1])}const e2=Z0;var n2=[],r2=[],i2=[],a2=zC,o2=tM,s2=Math.abs;function u2(t,e,n){for(var r,i=t[0],a=t[1],o=t[2],s=1/0,u=n*n,c=.1,l=.1;l<=.9;l+=.1){n2[0]=a2(i[0],a[0],o[0],l),n2[1]=a2(i[1],a[1],o[1],l),(d=s2(o2(n2,e)-u))<s&&(s=d,r=l)}for(var h=0;h<32;h++){var f=r+c;r2[0]=a2(i[0],a[0],o[0],r),r2[1]=a2(i[1],a[1],o[1],r),i2[0]=a2(i[0],a[0],o[0],f),i2[1]=a2(i[1],a[1],o[1],f);var d=o2(r2,e)-u;if(s2(d)<.01)break;var p=o2(i2,e)-u;c/=2,d<0?p>=0?r+=c:r-=c:p>=0?r-=c:r+=c}return r}function c2(t,e){var n=[],r=HC,i=[[],[],[]],a=[[],[]],o=[];e/=2,t.eachEdge((function(t,s){var u=t.getLayout(),c=t.getVisual("fromSymbol"),l=t.getVisual("toSymbol");u.__original||(u.__original=[HI(u[0]),HI(u[1])],u[2]&&u.__original.push(HI(u[2])));var h=u.__original;if(null!=u[2]){if(VI(i[0],h[0]),VI(i[1],h[2]),VI(i[2],h[1]),c&&"none"!==c){var f=A0(t.node1),d=u2(i,h[0],f*e);r(i[0][0],i[1][0],i[2][0],d,n),i[0][0]=n[3],i[1][0]=n[4],r(i[0][1],i[1][1],i[2][1],d,n),i[0][1]=n[3],i[1][1]=n[4]}if(l&&"none"!==l){f=A0(t.node2),d=u2(i,h[1],f*e);r(i[0][0],i[1][0],i[2][0],d,n),i[1][0]=n[1],i[2][0]=n[2],r(i[0][1],i[1][1],i[2][1],d,n),i[1][1]=n[1],i[2][1]=n[2]}VI(u[0],i[0]),VI(u[1],i[2]),VI(u[2],i[1])}else{if(VI(a[0],h[0]),VI(a[1],h[1]),XI(o,a[1],a[0]),ZI(o,o),c&&"none"!==c){f=A0(t.node1);UI(a[0],a[0],o,f*e)}if(l&&"none"!==l){f=A0(t.node2);UI(a[1],a[1],o,-f*e)}VI(u[0],a[0]),VI(u[1],a[1])}}))}function l2(t){return"view"===t.type}var h2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(t,e){var n=new lX,r=new e2,i=this.group;this._controller=new FZ(e.getZr()),this._controllerHost={target:i},i.add(n.group),i.add(r.group),this._symbolDraw=n,this._lineDraw=r,this._firstRender=!0},e.prototype.render=function(t,e,n){var r=this,i=t.coordinateSystem;this._model=t;var a=this._symbolDraw,o=this._lineDraw,s=this.group;if(l2(i)){var u={x:i.x,y:i.y,scaleX:i.scaleX,scaleY:i.scaleY};this._firstRender?s.attr(u):xL(s,u,t)}c2(t.getGraph(),T0(t));var c=t.getData();a.updateData(c);var l=t.getEdgeData();o.updateData(l),this._updateNodeAndLinkScale(),this._updateController(t,e,n),clearTimeout(this._layoutTimeout);var h=t.forceLayout,f=t.get(["force","layoutAnimation"]);h&&this._startForceLayoutIteration(h,f);var d=t.get("layout");c.graph.eachNode((function(e){var n=e.dataIndex,i=e.getGraphicEl(),a=e.getModel();if(i){i.off("drag").off("dragend");var o=a.get("draggable");o&&i.on("drag",(function(a){switch(d){case"force":h.warmUp(),!r._layouting&&r._startForceLayoutIteration(h,f),h.setFixed(n),c.setItemLayout(n,[i.x,i.y]);break;case"circular":c.setItemLayout(n,[i.x,i.y]),e.setLayout({fixed:!0},!0),D0(t,"symbolSize",e,[a.offsetX,a.offsetY]),r.updateLayout(t);break;default:c.setItemLayout(n,[i.x,i.y]),M0(t.getGraph(),t),r.updateLayout(t)}})).on("dragend",(function(){h&&h.setUnfixed(n)})),i.setDraggable(o,!!a.get("cursor")),"adjacency"===a.get(["emphasis","focus"])&&(mO(i).focus=e.getAdjacentDataIndices())}})),c.graph.eachEdge((function(t){var e=t.getGraphicEl(),n=t.getModel().get(["emphasis","focus"]);e&&"adjacency"===n&&(mO(e).focus={edge:[t.dataIndex],node:[t.node1.dataIndex,t.node2.dataIndex]})}));var p="circular"===t.get("layout")&&t.get(["circular","rotateLabel"]),g=c.getLayout("cx"),b=c.getLayout("cy");c.graph.eachNode((function(t){L0(t,p,g,b)})),this._firstRender=!1},e.prototype.dispose=function(){this._controller&&this._controller.dispose(),this._controllerHost=null},e.prototype._startForceLayoutIteration=function(t,e){var n=this;!function r(){t.step((function(t){n.updateLayout(n._model),(n._layouting=!t)&&(e?n._layoutTimeout=setTimeout(r,16):r())}))}()},e.prototype._updateController=function(t,e,n){var r=this,i=this._controller,a=this._controllerHost,o=this.group;i.setPointerChecker((function(e,r,i){var a=o.getBoundingRect();return a.applyTransform(o.transform),a.contain(r,i)&&!HZ(e,n,t)})),l2(t.coordinateSystem)?(i.enable(t.get("roam")),a.zoomLimit=t.get("scaleLimit"),a.zoom=t.coordinateSystem.getZoom(),i.off("pan").off("zoom").on("pan",(function(e){BZ(a,e.dx,e.dy),n.dispatchAction({seriesId:t.id,type:"graphRoam",dx:e.dx,dy:e.dy})})).on("zoom",(function(e){zZ(a,e.scale,e.originX,e.originY),n.dispatchAction({seriesId:t.id,type:"graphRoam",zoom:e.scale,originX:e.originX,originY:e.originY}),r._updateNodeAndLinkScale(),c2(t.getGraph(),T0(t)),r._lineDraw.updateLayout(),n.updateLabelLayout()}))):i.disable()},e.prototype._updateNodeAndLinkScale=function(){var t=this._model,e=t.getData(),n=T0(t);e.eachItemGraphicEl((function(t,e){t&&t.setSymbolScale(n)}))},e.prototype.updateLayout=function(t){c2(t.getGraph(),T0(t)),this._symbolDraw.updateLayout(),this._lineDraw.updateLayout()},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(),this._lineDraw&&this._lineDraw.remove()},e.type="graph",e}(w$);const f2=h2;function d2(t){return"_EC_"+t}var p2=function(){function t(t){this.type="graph",this.nodes=[],this.edges=[],this._nodesMap={},this._edgesMap={},this._directed=t||!1}return t.prototype.isDirected=function(){return this._directed},t.prototype.addNode=function(t,e){t=null==t?""+e:""+t;var n=this._nodesMap;if(!n[d2(t)]){var r=new g2(t,e);return r.hostGraph=this,this.nodes.push(r),n[d2(t)]=r,r}},t.prototype.getNodeByIndex=function(t){var e=this.data.getRawIndex(t);return this.nodes[e]},t.prototype.getNodeById=function(t){return this._nodesMap[d2(t)]},t.prototype.addEdge=function(t,e,n){var r=this._nodesMap,i=this._edgesMap;if(fI(t)&&(t=this.nodes[t]),fI(e)&&(e=this.nodes[e]),t instanceof g2||(t=r[d2(t)]),e instanceof g2||(e=r[d2(e)]),t&&e){var a=t.id+"-"+e.id,o=new b2(t,e,n);return o.hostGraph=this,this._directed&&(t.outEdges.push(o),e.inEdges.push(o)),t.edges.push(o),t!==e&&e.edges.push(o),this.edges.push(o),i[a]=o,o}},t.prototype.getEdgeByIndex=function(t){var e=this.edgeData.getRawIndex(t);return this.edges[e]},t.prototype.getEdge=function(t,e){t instanceof g2&&(t=t.id),e instanceof g2&&(e=e.id);var n=this._edgesMap;return this._directed?n[t+"-"+e]:n[t+"-"+e]||n[e+"-"+t]},t.prototype.eachNode=function(t,e){for(var n=this.nodes,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&t.call(e,n[i],i)},t.prototype.eachEdge=function(t,e){for(var n=this.edges,r=n.length,i=0;i<r;i++)n[i].dataIndex>=0&&n[i].node1.dataIndex>=0&&n[i].node2.dataIndex>=0&&t.call(e,n[i],i)},t.prototype.breadthFirstTraverse=function(t,e,n,r){if(e instanceof g2||(e=this._nodesMap[d2(e)]),e){for(var i="out"===n?"outEdges":"in"===n?"inEdges":"edges",a=0;a<this.nodes.length;a++)this.nodes[a].__visited=!1;if(!t.call(r,e,null))for(var o=[e];o.length;){var s=o.shift(),u=s[i];for(a=0;a<u.length;a++){var c=u[a],l=c.node1===s?c.node2:c.node1;if(!l.__visited){if(t.call(r,l,s))return;o.push(l),l.__visited=!0}}}}},t.prototype.update=function(){for(var t=this.data,e=this.edgeData,n=this.nodes,r=this.edges,i=0,a=n.length;i<a;i++)n[i].dataIndex=-1;for(i=0,a=t.count();i<a;i++)n[t.getRawIndex(i)].dataIndex=i;e.filterSelf((function(t){var n=r[e.getRawIndex(t)];return n.node1.dataIndex>=0&&n.node2.dataIndex>=0}));for(i=0,a=r.length;i<a;i++)r[i].dataIndex=-1;for(i=0,a=e.count();i<a;i++)r[e.getRawIndex(i)].dataIndex=i},t.prototype.clone=function(){for(var e=new t(this._directed),n=this.nodes,r=this.edges,i=0;i<n.length;i++)e.addNode(n[i].id,n[i].dataIndex);for(i=0;i<r.length;i++){var a=r[i];e.addEdge(a.node1.id,a.node2.id,a.dataIndex)}return e},t}(),g2=function(){function t(t,e){this.inEdges=[],this.outEdges=[],this.edges=[],this.dataIndex=-1,this.id=null==t?"":t,this.dataIndex=null==e?-1:e}return t.prototype.degree=function(){return this.edges.length},t.prototype.inDegree=function(){return this.inEdges.length},t.prototype.outDegree=function(){return this.outEdges.length},t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.data.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){for(var t={edge:[],node:[]},e=0;e<this.edges.length;e++){var n=this.edges[e];n.dataIndex<0||(t.edge.push(n.dataIndex),t.node.push(n.node1.dataIndex,n.node2.dataIndex))}return t},t}(),b2=function(){function t(t,e,n){this.dataIndex=-1,this.node1=t,this.node2=e,this.dataIndex=null==n?-1:n}return t.prototype.getModel=function(t){if(!(this.dataIndex<0))return this.hostGraph.edgeData.getItemModel(this.dataIndex).getModel(t)},t.prototype.getAdjacentDataIndices=function(){return{edge:[this.dataIndex],node:[this.node1.dataIndex,this.node2.dataIndex]}},t}();function v2(t,e){return{getValue:function(n){var r=this[t][e];return r.getStore().get(r.getDimensionIndex(n||"value"),this.dataIndex)},setVisual:function(n,r){this.dataIndex>=0&&this[t][e].setItemVisual(this.dataIndex,n,r)},getVisual:function(n){return this[t][e].getItemVisual(this.dataIndex,n)},setLayout:function(n,r){this.dataIndex>=0&&this[t][e].setItemLayout(this.dataIndex,n,r)},getLayout:function(){return this[t][e].getItemLayout(this.dataIndex)},getGraphicEl:function(){return this[t][e].getItemGraphicEl(this.dataIndex)},getRawIndex:function(){return this[t][e].getRawIndex(this.dataIndex)}}}Jk(g2,v2("hostGraph","data")),Jk(b2,v2("hostGraph","edgeData"));const m2=p2;function y2(t,e,n,r,i){for(var a=new m2(r),o=0;o<t.length;o++)a.addNode(yI(t[o].id,t[o].name,o),o);var s=[],u=[],c=0;for(o=0;o<e.length;o++){var l=e[o],h=l.source,f=l.target;a.addEdge(h,f,c)&&(u.push(l),s.push(yI($E(l.id,null),h+" > "+f)),c++)}var d,p=n.get("coordinateSystem");if("cartesian2d"===p||"polar"===p)d=QU(t,n);else{var g=QN.get(p),b=g&&g.dimensions||[];Qk(b,"value")<0&&b.concat(["value"]);var v=WU(t,{coordDimensions:b,encodeDefine:n.getEncode()}).dimensions;(d=new HU(v,n)).initData(t)}var m=new HU(["value"],n);return m.initData(u,s),i&&i(d,m),t1({mainData:d,struct:a,structAttr:"graph",datas:{node:d,edge:m},datasAttr:{node:"data",edge:"edgeData"}}),a.update(),a}var w2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Sk(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments);var n=this;function r(){return n._categoriesData}this.legendVisualProvider=new Hq(r,r),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this.fillDataTextStyle(e.edges||e.links),this._updateCategoriesData()},e.prototype.mergeDefaultAndTheme=function(e){t.prototype.mergeDefaultAndTheme.apply(this,arguments),LE(e,"edgeLabel",["show"])},e.prototype.getInitialData=function(t,e){var n,r=t.edges||t.links||[],i=t.data||t.nodes||[],a=this;if(i&&r){y0(n=this)&&(n.__curvenessList=[],n.__edgeMap={},w0(n));var o=y2(i,r,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t){var e=a._categoriesModels[t.getShallow("category")];return e&&(e.parentModel=t.parentModel,t.parentModel=e),t}));var n=nR.prototype.getModel;function r(t,e){var r=n.call(this,t,e);return r.resolveParentPath=i,r}function i(t){if(t&&("label"===t[0]||"label"===t[1])){var e=t.slice();return"label"===t[0]?e[0]="edgeLabel":"label"===t[1]&&(e[1]="edgeLabel"),e}return t}e.wrapMethod("getItemModel",(function(t){return t.resolveParentPath=i,t.getModel=r,t}))}));return eI(o.edges,(function(t){!function(t,e,n,r){if(y0(n)){var i=x0(t,e,n),a=n.__edgeMap,o=a[_0(i)];a[i]&&!o?a[i].isForward=!0:o&&a[i]&&(o.isForward=!0,a[i].isForward=!1),a[i]=a[i]||[],a[i].push(r)}}(t.node1,t.node2,this,t.dataIndex)}),this),o.data}},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.getCategoriesData=function(){return this._categoriesData},e.prototype.formatTooltip=function(t,e,n){if("edge"===n){var r=this.getData(),i=this.getDataParams(t,n),a=r.graph.getEdgeByIndex(t),o=r.getName(a.node1.dataIndex),s=r.getName(a.node2.dataIndex),u=[];return null!=o&&u.push(o),null!=s&&u.push(s),jF("nameValue",{name:u.join(" > "),value:i.value,noValue:null==i.value})}return YF({series:this,dataIndex:t,multipleSeries:e})},e.prototype._updateCategoriesData=function(){var t=nI(this.option.categories||[],(function(t){return null!=t.value?t:Kk({value:0},t)})),e=new HU(["value"],this);e.initData(t),this._categoriesData=e,this._categoriesModels=e.mapArray((function(t){return e.getItemModel(t)}))},e.prototype.setZoom=function(t){this.option.zoom=t},e.prototype.setCenter=function(t){this.option.center=t},e.prototype.isAnimationEnabled=function(){return t.prototype.isAnimationEnabled.call(this)&&!("force"===this.get("layout")&&this.get(["force","layoutAnimation"]))},e.type="series.graph",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={z:2,coordinateSystem:"view",legendHoverLink:!0,layout:null,circular:{rotateLabel:!1},force:{initLayout:null,repulsion:[0,50],gravity:.1,friction:.6,edgeLength:30,layoutAnimation:!0},left:"center",top:"center",symbol:"circle",symbolSize:10,edgeSymbol:["none","none"],edgeSymbolSize:10,edgeLabel:{position:"middle",distance:5},draggable:!1,roam:!1,center:null,zoom:1,nodeScaleRatio:.6,label:{show:!1,formatter:"{b}"},itemStyle:{},lineStyle:{color:"#aaa",width:1,opacity:.5},emphasis:{scale:!0,label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(oB);const x2=w2;var _2={type:"graphRoam",event:"graphRoam",update:"none"};var S2=function(){this.angle=0,this.width=10,this.r=10,this.x=0,this.y=0},k2=function(t){function e(e){var n=t.call(this,e)||this;return n.type="pointer",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new S2},e.prototype.buildPath=function(t,e){var n=Math.cos,r=Math.sin,i=e.r,a=e.width,o=e.angle,s=e.x-n(o)*a*(a>=i/3?1:2),u=e.y-r(o)*a*(a>=i/3?1:2);o=e.angle-Math.PI/2,t.moveTo(s,u),t.lineTo(e.x+n(o)*a,e.y+r(o)*a),t.lineTo(e.x+n(e.angle)*i,e.y+r(e.angle)*i),t.lineTo(e.x-n(o)*a,e.y-r(o)*a),t.lineTo(s,u)},e}(zD);const I2=k2;function M2(t,e){var n=null==t?"":t+"";return e&&(lI(e)?n=e.replace("{value}",n):cI(e)&&(n=e(t))),n}var C2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){this.group.removeAll();var r=t.get(["axisLine","lineStyle","color"]),i=function(t,e){var n=t.get("center"),r=e.getWidth(),i=e.getHeight(),a=Math.min(r,i);return{cx:cE(n[0],e.getWidth()),cy:cE(n[1],e.getHeight()),r:cE(t.get("radius"),a/2)}}(t,n);this._renderMain(t,e,n,r,i),this._data=t.getData()},e.prototype.dispose=function(){},e.prototype._renderMain=function(t,e,n,r,i){var a=this.group,o=t.get("clockwise"),s=-t.get("startAngle")/180*Math.PI,u=-t.get("endAngle")/180*Math.PI,c=t.getModel("axisLine"),l=c.get("roundCap")?aq:ZB,h=c.get("show"),f=c.getModel("lineStyle"),d=f.get("width"),p=[s,u];vD(p,!o);for(var g=(u=p[1])-(s=p[0]),b=s,v=[],m=0;h&&m<r.length;m++){var y=new l({shape:{startAngle:b,endAngle:u=s+g*Math.min(Math.max(r[m][0],0),1),cx:i.cx,cy:i.cy,clockwise:o,r0:i.r-d,r:i.r},silent:!0});y.setStyle({fill:r[m][1]}),y.setStyle(f.getLineStyle(["color","width"])),v.push(y),b=u}v.reverse(),eI(v,(function(t){return a.add(t)}));var w=function(t){if(t<=0)return r[0][1];var e;for(e=0;e<r.length;e++)if(r[e][0]>=t&&(0===e?0:r[e-1][0])<t)return r[e][1];return r[e-1][1]};this._renderTicks(t,e,n,w,i,s,u,o,d),this._renderTitleAndDetail(t,e,n,w,i),this._renderAnchor(t,i),this._renderPointer(t,e,n,w,i,s,u,o,d)},e.prototype._renderTicks=function(t,e,n,r,i,a,o,s,u){for(var c,l,h=this.group,f=i.cx,d=i.cy,p=i.r,g=+t.get("min"),b=+t.get("max"),v=t.getModel("splitLine"),m=t.getModel("axisTick"),y=t.getModel("axisLabel"),w=t.get("splitNumber"),x=m.get("splitNumber"),_=cE(v.get("length"),p),S=cE(m.get("length"),p),k=a,I=(o-a)/w,M=I/x,C=v.getModel("lineStyle").getLineStyle(),T=m.getModel("lineStyle").getLineStyle(),A=v.get("distance"),E=0;E<=w;E++){if(c=Math.cos(k),l=Math.sin(k),v.get("show")){var P=new hz({shape:{x1:c*(p-(D=A?A+u:u))+f,y1:l*(p-D)+d,x2:c*(p-_-D)+f,y2:l*(p-_-D)+d},style:C,silent:!0});"auto"===C.stroke&&P.setStyle({stroke:r(E/w)}),h.add(P)}if(y.get("show")){var D=y.get("distance")+A,O=M2(lE(E/w*(b-g)+g),y.get("formatter")),L=r(E/w),R=c*(p-_-D)+f,N=l*(p-_-D)+d,j=y.get("rotate"),F=0;"radial"===j?(F=-k+2*Math.PI)>Math.PI/2&&(F+=Math.PI):"tangential"===j?F=-k-Math.PI/2:fI(j)&&(F=j*Math.PI/180),0===F?h.add(new vO({style:OL(y,{text:O,x:R,y:N,verticalAlign:l<-.8?"top":l>.8?"bottom":"middle",align:c<-.4?"left":c>.4?"right":"center"},{inheritColor:L}),silent:!0})):h.add(new vO({style:OL(y,{text:O,x:R,y:N,verticalAlign:"middle",align:"center"},{inheritColor:L}),silent:!0,originX:R,originY:N,rotation:F}))}if(m.get("show")&&E!==w){D=(D=m.get("distance"))?D+u:u;for(var B=0;B<=x;B++){c=Math.cos(k),l=Math.sin(k);var z=new hz({shape:{x1:c*(p-D)+f,y1:l*(p-D)+d,x2:c*(p-S-D)+f,y2:l*(p-S-D)+d},silent:!0,style:T});"auto"===T.stroke&&z.setStyle({stroke:r((E+B/x)/w)}),h.add(z),k+=M}k-=M}else k+=I}},e.prototype._renderPointer=function(t,e,n,r,i,a,o,s,u){var c=this.group,l=this._data,h=this._progressEls,f=[],d=t.get(["pointer","show"]),p=t.getModel("progress"),g=p.get("show"),b=t.getData(),v=b.mapDimension("value"),m=+t.get("min"),y=+t.get("max"),w=[m,y],x=[a,o];function _(e,n){var r,a=b.getItemModel(e).getModel("pointer"),o=cE(a.get("width"),i.r),s=cE(a.get("length"),i.r),u=t.get(["pointer","icon"]),c=a.get("offsetCenter"),l=cE(c[0],i.r),h=cE(c[1],i.r),f=a.get("keepAspect");return(r=u?EV(u,l-o/2,h-s,o,s,null,f):new I2({shape:{angle:-Math.PI/2,width:o,r:s,x:l,y:h}})).rotation=-(n+Math.PI/2),r.x=i.cx,r.y=i.cy,r}function S(t,e){var n=p.get("roundCap")?aq:ZB,r=p.get("overlap"),o=r?p.get("width"):u/b.count(),c=r?i.r-o:i.r-(t+1)*o,l=r?i.r:i.r-t*o,h=new n({shape:{startAngle:a,endAngle:e,cx:i.cx,cy:i.cy,clockwise:s,r0:c,r:l}});return r&&(h.z2=y-b.get(v,t)%y),h}(g||d)&&(b.diff(l).add((function(e){var n=b.get(v,e);if(d){var r=_(e,a);_L(r,{rotation:-((isNaN(+n)?x[0]:uE(n,w,x,!0))+Math.PI/2)},t),c.add(r),b.setItemGraphicEl(e,r)}if(g){var i=S(e,a),o=p.get("clip");_L(i,{shape:{endAngle:uE(n,w,x,o)}},t),c.add(i),yO(t.seriesIndex,b.dataType,e,i),f[e]=i}})).update((function(e,n){var r=b.get(v,e);if(d){var i=l.getItemGraphicEl(n),o=i?i.rotation:a,s=_(e,o);s.rotation=o,xL(s,{rotation:-((isNaN(+r)?x[0]:uE(r,w,x,!0))+Math.PI/2)},t),c.add(s),b.setItemGraphicEl(e,s)}if(g){var u=h[n],m=S(e,u?u.shape.endAngle:a),y=p.get("clip");xL(m,{shape:{endAngle:uE(r,w,x,y)}},t),c.add(m),yO(t.seriesIndex,b.dataType,e,m),f[e]=m}})).execute(),b.each((function(t){var e=b.getItemModel(t),n=e.getModel("emphasis"),i=n.get("focus"),a=n.get("blurScope"),o=n.get("disabled");if(d){var s=b.getItemGraphicEl(t),u=b.getItemVisual(t,"style"),c=u.fill;if(s instanceof XD){var l=s.style;s.useStyle(Kk({image:l.image,x:l.x,y:l.y,width:l.width,height:l.height},u))}else s.useStyle(u),"pointer"!==s.type&&s.setColor(c);s.setStyle(e.getModel(["pointer","itemStyle"]).getItemStyle()),"auto"===s.style.fill&&s.setStyle("fill",r(uE(b.get(v,t),w,[0,1],!0))),s.z2EmphasisLift=0,dL(s,e),cL(s,i,a,o)}if(g){var h=f[t];h.useStyle(b.getItemVisual(t,"style")),h.setStyle(e.getModel(["progress","itemStyle"]).getItemStyle()),h.z2EmphasisLift=0,dL(h,e),cL(h,i,a,o)}})),this._progressEls=f)},e.prototype._renderAnchor=function(t,e){var n=t.getModel("anchor");if(n.get("show")){var r=n.get("size"),i=n.get("icon"),a=n.get("offsetCenter"),o=n.get("keepAspect"),s=EV(i,e.cx-r/2+cE(a[0],e.r),e.cy-r/2+cE(a[1],e.r),r,r,null,o);s.z2=n.get("showAbove")?1:0,s.setStyle(n.getModel("itemStyle").getItemStyle()),this.group.add(s)}},e.prototype._renderTitleAndDetail=function(t,e,n,r,i){var a=this,o=t.getData(),s=o.mapDimension("value"),u=+t.get("min"),c=+t.get("max"),l=new nE,h=[],f=[],d=t.isAnimationEnabled(),p=t.get(["pointer","showAbove"]);o.diff(this._data).add((function(t){h[t]=new vO({silent:!0}),f[t]=new vO({silent:!0})})).update((function(t,e){h[t]=a._titleEls[e],f[t]=a._detailEls[e]})).execute(),o.each((function(e){var n=o.getItemModel(e),a=o.get(s,e),g=new nE,b=r(uE(a,[u,c],[0,1],!0)),v=n.getModel("title");if(v.get("show")){var m=v.get("offsetCenter"),y=i.cx+cE(m[0],i.r),w=i.cy+cE(m[1],i.r);(T=h[e]).attr({z2:p?0:2,style:OL(v,{x:y,y:w,text:o.getName(e),align:"center",verticalAlign:"middle"},{inheritColor:b})}),g.add(T)}var x=n.getModel("detail");if(x.get("show")){var _=x.get("offsetCenter"),S=i.cx+cE(_[0],i.r),k=i.cy+cE(_[1],i.r),I=cE(x.get("width"),i.r),M=cE(x.get("height"),i.r),C=t.get(["progress","show"])?o.getItemVisual(e,"style").fill:b,T=f[e],A=x.get("formatter");T.attr({z2:p?0:2,style:OL(x,{x:S,y:k,text:M2(a,A),width:isNaN(I)?null:I,height:isNaN(M)?null:M,align:"center",verticalAlign:"middle"},{inheritColor:C})}),$L(T,{normal:x},a,(function(t){return M2(t,A)})),d&&VL(T,e,o,t,{getFormattedLabel:function(t,e,n,r,i,o){return M2(o?o.interpolatedValue:a,A)}}),g.add(T)}l.add(g)})),this.group.add(l),this._titleEls=h,this._detailEls=f},e.type="gauge",e}(w$);const T2=C2;const A2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="itemStyle",n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return $q(this,["value"])},e.type="series.gauge",e.defaultOption={z:2,colorBy:"data",center:["50%","50%"],legendHoverLink:!0,radius:"75%",startAngle:225,endAngle:-45,clockwise:!0,min:0,max:100,splitNumber:10,axisLine:{show:!0,roundCap:!1,lineStyle:{color:[[1,"#E6EBF8"]],width:10}},progress:{show:!1,overlap:!0,width:10,roundCap:!1,clip:!0},splitLine:{show:!0,length:10,distance:10,lineStyle:{color:"#63677A",width:3,type:"solid"}},axisTick:{show:!0,splitNumber:5,length:6,distance:10,lineStyle:{color:"#63677A",width:1,type:"solid"}},axisLabel:{show:!0,distance:15,color:"#464646",fontSize:12,rotate:0},pointer:{icon:null,offsetCenter:[0,0],show:!0,showAbove:!0,length:"60%",width:6,keepAspect:!1},anchor:{show:!1,showAbove:!1,size:6,icon:"circle",offsetCenter:[0,0],keepAspect:!1,itemStyle:{color:"#fff",borderWidth:0,borderColor:"#5470c6"}},title:{show:!0,offsetCenter:[0,"20%"],color:"#464646",fontSize:16,valueAnimation:!1},detail:{show:!0,backgroundColor:"rgba(0,0,0,0)",borderWidth:0,borderColor:"#ccc",width:100,height:null,padding:[5,10],offsetCenter:[0,"40%"],color:"#464646",fontSize:30,fontWeight:"bold",lineHeight:30,valueAnimation:!1}},e}(oB);var E2=["itemStyle","opacity"],P2=function(t){function e(e,n){var r=t.call(this)||this,i=r,a=new sz,o=new vO;return i.setTextContent(o),r.setTextGuideLine(a),r.updateData(e,n,!0),r}return Sk(e,t),e.prototype.updateData=function(t,e,n){var r=this,i=t.hostModel,a=t.getItemModel(e),o=t.getItemLayout(e),s=a.getModel("emphasis"),u=a.get(E2);u=null==u?1:u,n||CL(r),r.useStyle(t.getItemVisual(e,"style")),r.style.lineJoin="round",n?(r.setShape({points:o.points}),r.style.opacity=0,_L(r,{style:{opacity:u}},i,e)):xL(r,{style:{opacity:u},shape:{points:o.points}},i,e),dL(r,a),this._updateLabel(t,e),cL(this,s.get("focus"),s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t,e){var n=this,r=this.getTextGuideLine(),i=n.getTextContent(),a=t.hostModel,o=t.getItemModel(e),s=t.getItemLayout(e).label,u=t.getItemVisual(e,"style"),c=u.fill;PL(i,DL(o),{labelFetcher:t.hostModel,labelDataIndex:e,defaultOpacity:u.opacity,defaultText:t.getName(e)},{normal:{align:s.textAlign,verticalAlign:s.verticalAlign}}),n.setTextConfig({local:!0,inside:!!s.inside,insideStroke:c,outsideFill:c});var l=s.linePoints;r.setShape({points:l}),n.textGuideLineConfig={anchor:l?new zM(l[0][0],l[0][1]):null},xL(i,{style:{x:s.x,y:s.y}},a,e),i.attr({rotation:s.rotation,originX:s.x,originY:s.y,z2:10}),LW(n,RW(o),{stroke:c})},e}(iz);const D2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreLabelLineUpdate=!0,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._data,a=this.group;r.diff(i).add((function(t){var e=new P2(r,t);r.setItemGraphicEl(t,e),a.add(e)})).update((function(t,e){var n=i.getItemGraphicEl(e);n.updateData(r,t),a.add(n),r.setItemGraphicEl(t,n)})).remove((function(e){ML(i.getItemGraphicEl(e),t,e)})).execute(),this._data=r},e.prototype.remove=function(){this.group.removeAll(),this._data=null},e.prototype.dispose=function(){},e.type="funnel",e}(w$);var O2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hq(oI(this.getData,this),oI(this.getRawData,this)),this._defaultLabelLine(e)},e.prototype.getInitialData=function(t,e){return $q(this,{coordDimensions:["value"],encodeDefaulter:sI(EN,this)})},e.prototype._defaultLabelLine=function(t){LE(t,"labelLine",["show"]);var e=t.labelLine,n=t.emphasis.labelLine;e.show=e.show&&t.label.show,n.show=n.show&&t.emphasis.label.show},e.prototype.getDataParams=function(e){var n=this.getData(),r=t.prototype.getDataParams.call(this,e),i=n.mapDimension("value"),a=n.getSum(i);return r.percent=a?+(n.get(i,e)/a*100).toFixed(2):0,r.$vars.push("percent"),r},e.type="series.funnel",e.defaultOption={z:2,legendHoverLink:!0,colorBy:"data",left:80,top:60,right:80,bottom:60,minSize:"0%",maxSize:"100%",sort:"descending",orient:"vertical",gap:0,funnelAlign:"center",label:{show:!0,position:"outer"},labelLine:{show:!0,length:20,lineStyle:{width:1}},itemStyle:{borderColor:"#fff",borderWidth:1},emphasis:{label:{show:!0}},select:{itemStyle:{borderColor:"#212121"}}},e}(oB);const L2=O2;function R2(t,e){t.eachSeriesByType("funnel",(function(t){var n=t.getData(),r=n.mapDimension("value"),i=t.get("sort"),a=function(t,e){return iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e),o=t.get("orient"),s=a.width,u=a.height,c=function(t,e){for(var n=t.mapDimension("value"),r=t.mapArray(n,(function(t){return t})),i=[],a="ascending"===e,o=0,s=t.count();o<s;o++)i[o]=o;return cI(e)?i.sort(e):"none"!==e&&i.sort((function(t,e){return a?r[t]-r[e]:r[e]-r[t]})),i}(n,i),l=a.x,h=a.y,f="horizontal"===o?[cE(t.get("minSize"),u),cE(t.get("maxSize"),u)]:[cE(t.get("minSize"),s),cE(t.get("maxSize"),s)],d=n.getDataExtent(r),p=t.get("min"),g=t.get("max");null==p&&(p=Math.min(d[0],0)),null==g&&(g=d[1]);var b=t.get("funnelAlign"),v=t.get("gap"),m=(("horizontal"===o?s:u)-v*(n.count()-1))/n.count(),y=function(t,e){if("horizontal"===o){var i=uE(n.get(r,t)||0,[p,g],f,!0),a=void 0;switch(b){case"top":a=h;break;case"center":a=h+(u-i)/2;break;case"bottom":a=h+(u-i)}return[[e,a],[e,a+i]]}var c,d=uE(n.get(r,t)||0,[p,g],f,!0);switch(b){case"left":c=l;break;case"center":c=l+(s-d)/2;break;case"right":c=l+s-d}return[[c,e],[c+d,e]]};"ascending"===i&&(m=-m,v=-v,"horizontal"===o?l+=s:h+=u,c=c.reverse());for(var w=0;w<c.length;w++){var x=c[w],_=c[w+1],S=n.getItemModel(x);if("horizontal"===o){var k=S.get(["itemStyle","width"]);null==k?k=m:(k=cE(k,s),"ascending"===i&&(k=-k));var I=y(x,l),M=y(_,l+k);l+=k+v,n.setItemLayout(x,{points:I.concat(M.slice().reverse())})}else{var C=S.get(["itemStyle","height"]);null==C?C=m:(C=cE(C,u),"ascending"===i&&(C=-C));I=y(x,h),M=y(_,h+C);h+=C+v,n.setItemLayout(x,{points:I.concat(M.slice().reverse())})}}!function(t){var e=t.hostModel.get("orient");t.each((function(n){var r,i,a,o,s=t.getItemModel(n),u=s.getModel("label").get("position"),c=s.getModel("labelLine"),l=t.getItemLayout(n),h=l.points,f="inner"===u||"inside"===u||"center"===u||"insideLeft"===u||"insideRight"===u;if(f)"insideLeft"===u?(i=(h[0][0]+h[3][0])/2+5,a=(h[0][1]+h[3][1])/2,r="left"):"insideRight"===u?(i=(h[1][0]+h[2][0])/2-5,a=(h[1][1]+h[2][1])/2,r="right"):(i=(h[0][0]+h[1][0]+h[2][0]+h[3][0])/4,a=(h[0][1]+h[1][1]+h[2][1]+h[3][1])/4,r="center"),o=[[i,a],[i,a]];else{var d=void 0,p=void 0,g=void 0,b=void 0,v=c.get("length");"left"===u?(d=(h[3][0]+h[0][0])/2,p=(h[3][1]+h[0][1])/2,i=(g=d-v)-5,r="right"):"right"===u?(d=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,i=(g=d+v)+5,r="left"):"top"===u?(d=(h[3][0]+h[0][0])/2,a=(b=(p=(h[3][1]+h[0][1])/2)-v)-5,r="center"):"bottom"===u?(d=(h[1][0]+h[2][0])/2,a=(b=(p=(h[1][1]+h[2][1])/2)+v)+5,r="center"):"rightTop"===u?(d="horizontal"===e?h[3][0]:h[1][0],p="horizontal"===e?h[3][1]:h[1][1],"horizontal"===e?(a=(b=p-v)-5,r="center"):(i=(g=d+v)+5,r="top")):"rightBottom"===u?(d=h[2][0],p=h[2][1],"horizontal"===e?(a=(b=p+v)+5,r="center"):(i=(g=d+v)+5,r="bottom")):"leftTop"===u?(d=h[0][0],p="horizontal"===e?h[0][1]:h[1][1],"horizontal"===e?(a=(b=p-v)-5,r="center"):(i=(g=d-v)-5,r="right")):"leftBottom"===u?(d="horizontal"===e?h[1][0]:h[3][0],p="horizontal"===e?h[1][1]:h[2][1],"horizontal"===e?(a=(b=p+v)+5,r="center"):(i=(g=d-v)-5,r="right")):(d=(h[1][0]+h[2][0])/2,p=(h[1][1]+h[2][1])/2,"horizontal"===e?(a=(b=p+v)+5,r="center"):(i=(g=d+v)+5,r="left")),"horizontal"===e?i=g=d:a=b=p,o=[[d,p],[g,b]]}l.label={linePoints:o,x:i,y:a,verticalAlign:"middle",textAlign:r,inside:f}}))}(n)}))}var N2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._dataGroup=new nE,n._initialized=!1,n}return Sk(e,t),e.prototype.init=function(){this.group.add(this._dataGroup)},e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._dataGroup,a=t.getData(),o=this._data,s=t.coordinateSystem,u=s.dimensions,c=B2(t);if(a.diff(o).add((function(t){z2(F2(a,i,t,u,s),a,t,c)})).update((function(e,n){var r=o.getItemGraphicEl(n),i=j2(a,e,u,s);a.setItemGraphicEl(e,r),xL(r,{shape:{points:i}},t,e),CL(r),z2(r,a,e,c)})).remove((function(t){var e=o.getItemGraphicEl(t);i.remove(e)})).execute(),!this._initialized){this._initialized=!0;var l=function(t,e,n){var r=t.model,i=t.getRect(),a=new eO({shape:{x:i.x,y:i.y,width:i.width,height:i.height}}),o="horizontal"===r.get("layout")?"width":"height";return a.setShape(o,0),_L(a,{shape:{width:i.width,height:i.height}},e,n),a}(s,t,(function(){setTimeout((function(){i.removeClipPath()}))}));i.setClipPath(l)}this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this._initialized=!0,this._data=null,this._dataGroup.removeAll()},e.prototype.incrementalRender=function(t,e,n){for(var r=e.getData(),i=e.coordinateSystem,a=i.dimensions,o=B2(e),s=this._progressiveEls=[],u=t.start;u<t.end;u++){var c=F2(r,this._dataGroup,u,a,i);c.incremental=!0,z2(c,r,u,o),s.push(c)}},e.prototype.remove=function(){this._dataGroup&&this._dataGroup.removeAll(),this._data=null},e.type="parallel",e}(w$);function j2(t,e,n,r){for(var i,a=[],o=0;o<n.length;o++){var s=n[o],u=t.get(t.mapDimension(s),e);i=u,("category"===r.getAxis(s).type?null==i:null==i||isNaN(i))||a.push(r.dataToPoint(u,s))}return a}function F2(t,e,n,r,i){var a=j2(t,n,r,i),o=new sz({shape:{points:a},z2:10});return e.add(o),t.setItemGraphicEl(n,o),o}function B2(t){var e=t.get("smooth",!0);return!0===e&&(e=.3),mI(e=IE(e))&&(e=0),{smooth:e}}function z2(t,e,n,r){t.useStyle(e.getItemVisual(n,"style")),t.style.fill=null,t.setShape("smooth",r.smooth);var i=e.getItemModel(n),a=i.getModel("emphasis");dL(t,i,"lineStyle"),cL(t,a.get("focus"),a.get("blurScope"),a.get("disabled"))}const $2=N2;function V2(t){var e=t.ecModel.getComponent("parallel",t.get("parallelIndex"));if(e){var n={};return eI(e.dimensions,(function(t){var e=+t.replace("dim","");n[t]=e})),n}}const H2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return QU(null,this,{useEncodeDefaulter:oI(V2,null,this)})},e.prototype.getRawIndicesByActiveState=function(t){var e=this.coordinateSystem,n=this.getData(),r=[];return e.eachActiveState(n,(function(e,i){t===e&&r.push(n.getRawIndex(i))})),r},e.type="series.parallel",e.dependencies=["parallel"],e.defaultOption={z:2,coordinateSystem:"parallel",parallelIndex:0,label:{show:!1},inactiveOpacity:.05,activeOpacity:1,lineStyle:{width:1,opacity:.45,type:"solid"},emphasis:{label:{show:!1}},progressive:500,smooth:!1,animationEasing:"linear"},e}(oB);var W2=["lineStyle","opacity"];const G2={seriesType:"parallel",reset:function(t,e){var n=t.coordinateSystem,r={normal:t.get(["lineStyle","opacity"]),active:t.get("activeOpacity"),inactive:t.get("inactiveOpacity")};return{progress:function(t,e){n.eachActiveState(e,(function(t,n){var i=r[t];if("normal"===t&&e.hasItemOption){var a=e.getItemModel(n).get(W2,!0);null!=a&&(i=a)}e.ensureUniqueItemVisual(n,"style").opacity=i}),t.start,t.end)}}}};function U2(t){!function(t){if(t.parallel)return;var e=!1;eI(t.series,(function(t){t&&"parallel"===t.type&&(e=!0)})),e&&(t.parallel=[{}])}(t),function(t){eI(OE(t.parallelAxis),(function(e){if(dI(e)){var n=e.parallelIndex||0,r=OE(t.parallel)[n];r&&r.parallelAxisDefault&&qk(e,r.parallelAxisDefault,!1)}}))}(t)}var X2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){this._model=t,this._api=n,this._handlers||(this._handlers={},eI(q2,(function(t,e){n.getZr().on(e,this._handlers[e]=oI(t,this))}),this)),I$(this,"_throttledDispatchExpand",t.get("axisExpandRate"),"fixRate")},e.prototype.dispose=function(t,e){M$(this,"_throttledDispatchExpand"),eI(this._handlers,(function(t,n){e.getZr().off(n,t)})),this._handlers=null},e.prototype._throttledDispatchExpand=function(t){this._dispatchExpand(t)},e.prototype._dispatchExpand=function(t){t&&this._api.dispatchAction(Kk({type:"parallelAxisExpand"},t))},e.type="parallel",e}(uB),q2={mousedown:function(t){Y2(this,"click")&&(this._mouseDownPoint=[t.offsetX,t.offsetY])},mouseup:function(t){var e=this._mouseDownPoint;if(Y2(this,"click")&&e){var n=[t.offsetX,t.offsetY];if(Math.pow(e[0]-n[0],2)+Math.pow(e[1]-n[1],2)>5)return;var r=this._model.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]);"none"!==r.behavior&&this._dispatchExpand({axisExpandWindow:r.axisExpandWindow})}this._mouseDownPoint=null},mousemove:function(t){if(!this._mouseDownPoint&&Y2(this,"mousemove")){var e=this._model,n=e.coordinateSystem.getSlidedAxisExpandWindow([t.offsetX,t.offsetY]),r=n.behavior;"jump"===r&&this._throttledDispatchExpand.debounceNextCall(e.get("axisExpandDebounce")),this._throttledDispatchExpand("none"===r?null:{axisExpandWindow:n.axisExpandWindow,animation:"jump"===r?null:{duration:0}})}}};function Y2(t,e){var n=t._model;return n.get("axisExpandable")&&n.get("axisExpandTriggerOn")===e}const K2=X2;const Z2=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(){t.prototype.init.apply(this,arguments),this.mergeOption({})},e.prototype.mergeOption=function(t){var e=this.option;t&&qk(e,t,!0),this._initDimensions()},e.prototype.contains=function(t,e){var n=t.get("parallelIndex");return null!=n&&e.getComponent("parallel",n)===this},e.prototype.setAxisExpand=function(t){eI(["axisExpandable","axisExpandCenter","axisExpandCount","axisExpandWidth","axisExpandWindow"],(function(e){t.hasOwnProperty(e)&&(this.option[e]=t[e])}),this)},e.prototype._initDimensions=function(){var t=this.dimensions=[],e=this.parallelAxisIndex=[];eI(iI(this.ecModel.queryComponents({mainType:"parallelAxis"}),(function(t){return(t.get("parallelIndex")||0)===this.componentIndex}),this),(function(n){t.push("dim"+n.get("dim")),e.push(n.componentIndex)}))},e.type="parallel",e.dependencies=["parallelAxis"],e.layoutMode="box",e.defaultOption={z:0,left:80,top:60,right:80,bottom:60,layout:"horizontal",axisExpandable:!1,axisExpandCenter:null,axisExpandCount:0,axisExpandWidth:50,axisExpandRate:17,axisExpandDebounce:50,axisExpandSlideTriggerArea:[-.15,.05,.4],axisExpandTriggerOn:"click",parallelAxisDefault:null},e}(fN);var Q2=function(t){function e(e,n,r,i,a){var o=t.call(this,e,n,r)||this;return o.type=i||"value",o.axisIndex=a,o}return Sk(e,t),e.prototype.isHorizontal=function(){return"horizontal"!==this.coordinateSystem.getModel().get("layout")},e}(kK);const J2=Q2;function t3(t,e,n,r,i,a){t=t||0;var o=n[1]-n[0];if(null!=i&&(i=n3(i,[0,o])),null!=a&&(a=Math.max(a,null!=i?i:0)),"all"===r){var s=Math.abs(e[1]-e[0]);s=n3(s,[0,o]),i=a=n3(s,[i,a]),r=0}e[0]=n3(e[0],n),e[1]=n3(e[1],n);var u=e3(e,r);e[r]+=t;var c,l=i||0,h=n.slice();return u.sign<0?h[0]+=l:h[1]-=l,e[r]=n3(e[r],h),c=e3(e,r),null!=i&&(c.sign!==u.sign||c.span<i)&&(e[1-r]=e[r]+u.sign*i),c=e3(e,r),null!=a&&c.span>a&&(e[1-r]=e[r]+c.sign*a),e}function e3(t,e){var n=t[e]-t[1-e];return{span:Math.abs(n),sign:n>0?-1:n<0?1:e?-1:1}}function n3(t,e){return Math.min(null!=e[1]?e[1]:1/0,Math.max(null!=e[0]?e[0]:-1/0,t))}var r3=eI,i3=Math.min,a3=Math.max,o3=Math.floor,s3=Math.ceil,u3=lE,c3=Math.PI,l3=function(){function t(t,e,n){this.type="parallel",this._axesMap=DI(),this._axesLayout={},this.dimensions=t.dimensions,this._model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=t.dimensions,i=t.parallelAxisIndex;r3(r,(function(t,n){var r=i[n],a=e.getComponent("parallelAxis",r),o=this._axesMap.set(t,new J2(t,tK(a),[0,0],a.get("type"),r)),s="category"===o.type;o.onBand=s&&a.get("boundaryGap"),o.inverse=a.get("inverse"),a.axis=o,o.model=a,o.coordinateSystem=a.coordinateSystem=this}),this)},t.prototype.update=function(t,e){this._updateAxesFromSeries(this._model,t)},t.prototype.containPoint=function(t){var e=this._makeLayoutInfo(),n=e.axisBase,r=e.layoutBase,i=e.pixelDimIndex,a=t[1-i],o=t[i];return a>=n&&a<=n+e.axisLength&&o>=r&&o<=r+e.layoutLength},t.prototype.getModel=function(){return this._model},t.prototype._updateAxesFromSeries=function(t,e){e.eachSeries((function(n){if(t.contains(n,e)){var r=n.getData();r3(this.dimensions,(function(t){var e=this._axesMap.get(t);e.scale.unionExtentFromData(r,r.mapDimension(t)),JY(e.scale,e.model)}),this)}}),this)},t.prototype.resize=function(t,e){this._rect=iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()}),this._layoutAxes()},t.prototype.getRect=function(){return this._rect},t.prototype._makeLayoutInfo=function(){var t,e=this._model,n=this._rect,r=["x","y"],i=["width","height"],a=e.get("layout"),o="horizontal"===a?0:1,s=n[i[o]],u=[0,s],c=this.dimensions.length,l=h3(e.get("axisExpandWidth"),u),h=h3(e.get("axisExpandCount")||0,[0,c]),f=e.get("axisExpandable")&&c>3&&c>h&&h>1&&l>0&&s>0,d=e.get("axisExpandWindow");d?(t=h3(d[1]-d[0],u),d[1]=d[0]+t):(t=h3(l*(h-1),u),(d=[l*(e.get("axisExpandCenter")||o3(c/2))-t/2])[1]=d[0]+t);var p=(s-t)/(c-h);p<3&&(p=0);var g=[o3(u3(d[0]/l,1))+1,s3(u3(d[1]/l,1))-1],b=p/l*d[0];return{layout:a,pixelDimIndex:o,layoutBase:n[r[o]],layoutLength:s,axisBase:n[r[1-o]],axisLength:n[i[1-o]],axisExpandable:f,axisExpandWidth:l,axisCollapseWidth:p,axisExpandWindow:d,axisCount:c,winInnerIndices:g,axisExpandWindow0Pos:b}},t.prototype._layoutAxes=function(){var t=this._rect,e=this._axesMap,n=this.dimensions,r=this._makeLayoutInfo(),i=r.layout;e.each((function(t){var e=[0,r.axisLength],n=t.inverse?1:0;t.setExtent(e[n],e[1-n])})),r3(n,(function(e,n){var a=(r.axisExpandable?d3:f3)(n,r),o={horizontal:{x:a.position,y:r.axisLength},vertical:{x:0,y:a.position}},s={horizontal:c3/2,vertical:0},u=[o[i].x+t.x,o[i].y+t.y],c=s[i],l=[1,0,0,1,0,0];NM(l,l,c),RM(l,l,u),this._axesLayout[e]={position:u,rotation:c,transform:l,axisNameAvailableWidth:a.axisNameAvailableWidth,axisLabelShow:a.axisLabelShow,nameTruncateMaxWidth:a.nameTruncateMaxWidth,tickDirection:1,labelDirection:1}}),this)},t.prototype.getAxis=function(t){return this._axesMap.get(t)},t.prototype.dataToPoint=function(t,e){return this.axisCoordToPoint(this._axesMap.get(e).dataToCoord(t),e)},t.prototype.eachActiveState=function(t,e,n,r){null==n&&(n=0),null==r&&(r=t.count());var i=this._axesMap,a=this.dimensions,o=[],s=[];eI(a,(function(e){o.push(t.mapDimension(e)),s.push(i.get(e).model)}));for(var u=this.hasAxisBrushed(),c=n;c<r;c++){var l=void 0;if(u){l="active";for(var h=t.getValues(o,c),f=0,d=a.length;f<d;f++){if("inactive"===s[f].getActiveState(h[f])){l="inactive";break}}}else l="normal";e(l,c)}},t.prototype.hasAxisBrushed=function(){for(var t=this.dimensions,e=this._axesMap,n=!1,r=0,i=t.length;r<i;r++)"normal"!==e.get(t[r]).model.getActiveState()&&(n=!0);return n},t.prototype.axisCoordToPoint=function(t,e){return Jz([t,0],this._axesLayout[e].transform)},t.prototype.getAxisLayout=function(t){return Xk(this._axesLayout[t])},t.prototype.getSlidedAxisExpandWindow=function(t){var e=this._makeLayoutInfo(),n=e.pixelDimIndex,r=e.axisExpandWindow.slice(),i=r[1]-r[0],a=[0,e.axisExpandWidth*(e.axisCount-1)];if(!this.containPoint(t))return{behavior:"none",axisExpandWindow:r};var o,s=t[n]-e.layoutBase-e.axisExpandWindow0Pos,u="slide",c=e.axisCollapseWidth,l=this._model.get("axisExpandSlideTriggerArea"),h=null!=l[0];if(c)h&&c&&s<i*l[0]?(u="jump",o=s-i*l[2]):h&&c&&s>i*(1-l[0])?(u="jump",o=s-i*(1-l[2])):(o=s-i*l[1])>=0&&(o=s-i*(1-l[1]))<=0&&(o=0),(o*=e.axisExpandWidth/c)?t3(o,r,a,"all"):u="none";else{var f=r[1]-r[0];(r=[a3(0,a[1]*s/f-f/2)])[1]=i3(a[1],r[0]+f),r[0]=r[1]-f}return{axisExpandWindow:r,behavior:u}},t}();function h3(t,e){return i3(a3(t,e[0]),e[1])}function f3(t,e){var n=e.layoutLength/(e.axisCount-1);return{position:n*t,axisNameAvailableWidth:n,axisLabelShow:!0}}function d3(t,e){var n,r,i=e.layoutLength,a=e.axisExpandWidth,o=e.axisCount,s=e.axisCollapseWidth,u=e.winInnerIndices,c=s,l=!1;return t<u[0]?(n=t*s,r=s):t<=u[1]?(n=e.axisExpandWindow0Pos+t*a-e.axisExpandWindow[0],c=a,l=!0):(n=i-(o-1-t)*s,r=s),{position:n,axisNameAvailableWidth:c,axisLabelShow:l,nameTruncateMaxWidth:r}}const p3=l3;const g3={create:function(t,e){var n=[];return t.eachComponent("parallel",(function(r,i){var a=new p3(r,t,e);a.name="parallel_"+i,a.resize(r,e),r.coordinateSystem=a,a.model=r,n.push(a)})),t.eachSeries((function(t){if("parallel"===t.get("coordinateSystem")){var e=t.getReferringComponents("parallel",YE).models[0];t.coordinateSystem=e.coordinateSystem}})),n}};var b3=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.activeIntervals=[],n}return Sk(e,t),e.prototype.getAreaSelectStyle=function(){return lP([["fill","color"],["lineWidth","borderWidth"],["stroke","borderColor"],["width","width"],["opacity","opacity"]])(this.getModel("areaSelectStyle"))},e.prototype.setActiveIntervals=function(t){var e=this.activeIntervals=Xk(t);if(e)for(var n=e.length-1;n>=0;n--)hE(e[n])},e.prototype.getActiveState=function(t){var e=this.activeIntervals;if(!e.length)return"normal";if(null==t||isNaN(+t))return"inactive";if(1===e.length){var n=e[0];if(n[0]<=t&&t<=n[1])return"active"}else for(var r=0,i=e.length;r<i;r++)if(e[r][0]<=t&&t<=e[r][1])return"active";return"inactive"},e}(fN);Jk(b3,tY);const v3=b3;var m3=!0,y3=Math.min,w3=Math.max,x3=Math.pow,_3="globalPan",S3={w:[0,0],e:[0,1],n:[1,0],s:[1,1]},k3={w:"ew",e:"ew",n:"ns",s:"ns",ne:"nesw",sw:"nesw",nw:"nwse",se:"nwse"},I3={brushStyle:{lineWidth:2,stroke:"rgba(210,219,238,0.3)",fill:"#D2DBEE"},transformable:!0,brushMode:"single",removeOnClick:!1},M3=0,C3=function(t){function e(e){var n=t.call(this)||this;return n._track=[],n._covers=[],n._handlers={},n._zr=e,n.group=new nE,n._uid="brushController_"+M3++,eI(t4,(function(t,e){this._handlers[e]=oI(t,this)}),n),n}return Sk(e,t),e.prototype.enableBrush=function(t){return this._brushType&&this._doDisableBrush(),t.brushType&&this._doEnableBrush(t),this},e.prototype._doEnableBrush=function(t){var e=this._zr;this._enableGlobalPan||function(t,e,n){OZ(t)[e]=n}(e,_3,this._uid),eI(this._handlers,(function(t,n){e.on(n,t)})),this._brushType=t.brushType,this._brushOption=qk(Xk(I3),t,!0)},e.prototype._doDisableBrush=function(){var t=this._zr;!function(t,e,n){var r=OZ(t);r[e]===n&&(r[e]=null)}(t,_3,this._uid),eI(this._handlers,(function(e,n){t.off(n,e)})),this._brushType=this._brushOption=null},e.prototype.setPanels=function(t){if(t&&t.length){var e=this._panels={};eI(t,(function(t){e[t.panelId]=Xk(t)}))}else this._panels=null;return this},e.prototype.mount=function(t){t=t||{},this._enableGlobalPan=t.enableGlobalPan;var e=this.group;return this._zr.add(e),e.attr({x:t.x||0,y:t.y||0,rotation:t.rotation||0,scaleX:t.scaleX||1,scaleY:t.scaleY||1}),this._transform=e.getLocalTransform(),this},e.prototype.updateCovers=function(t){t=nI(t,(function(t){return qk(Xk(I3),t,!0)}));var e=this._covers,n=this._covers=[],r=this,i=this._creatingCover;return new mU(e,t,(function(t,e){return a(t.__brushOption,e)}),a).add(o).update(o).remove((function(t){e[t]!==i&&r.group.remove(e[t])})).execute(),this;function a(t,e){return(null!=t.id?t.id:"\0-brush-index-"+e)+"-"+t.brushType}function o(a,o){var s=t[a];if(null!=o&&e[o]===i)n[a]=e[o];else{var u=n[a]=null!=o?(e[o].__brushOption=s,e[o]):A3(r,T3(r,s));D3(r,u)}}},e.prototype.unmount=function(){return this.enableBrush(!1),N3(this),this._zr.remove(this.group),this},e.prototype.dispose=function(){this.unmount(),this.off()},e}(cM);function T3(t,e){var n=n4[e.brushType].createCover(t,e);return n.__brushOption=e,P3(n,e),t.group.add(n),n}function A3(t,e){var n=O3(e);return n.endCreating&&(n.endCreating(t,e),P3(e,e.__brushOption)),e}function E3(t,e){var n=e.__brushOption;O3(e).updateCoverShape(t,e,n.range,n)}function P3(t,e){var n=e.z;null==n&&(n=1e4),t.traverse((function(t){t.z=n,t.z2=n}))}function D3(t,e){O3(e).updateCommon(t,e),E3(t,e)}function O3(t){return n4[t.__brushOption.brushType]}function L3(t,e,n){var r,i=t._panels;if(!i)return m3;var a=t._transform;return eI(i,(function(t){t.isTargetByCursor(e,n,a)&&(r=t)})),r}function R3(t,e){var n=t._panels;if(!n)return m3;var r=e.__brushOption.panelId;return null!=r?n[r]:m3}function N3(t){var e=t._covers,n=e.length;return eI(e,(function(e){t.group.remove(e)}),t),e.length=0,!!n}function j3(t,e){var n=nI(t._covers,(function(t){var e=t.__brushOption,n=Xk(e.range);return{brushType:e.brushType,panelId:e.panelId,range:n}}));t.trigger("brush",{areas:n,isEnd:!!e.isEnd,removeOnClick:!!e.removeOnClick})}function F3(t){var e=t.length-1;return e<0&&(e=0),[t[0],t[e]]}function B3(t,e,n,r){var i=new nE;return i.add(new eO({name:"main",style:H3(n),silent:!0,draggable:!0,cursor:"move",drift:sI(U3,t,e,i,["n","s","w","e"]),ondragend:sI(j3,e,{isEnd:!0})})),eI(r,(function(n){i.add(new eO({name:n.join(""),style:{opacity:0},draggable:!0,silent:!0,invisible:!0,drift:sI(U3,t,e,i,n),ondragend:sI(j3,e,{isEnd:!0})}))})),i}function z3(t,e,n,r){var i=r.brushStyle.lineWidth||0,a=w3(i,6),o=n[0][0],s=n[1][0],u=o-i/2,c=s-i/2,l=n[0][1],h=n[1][1],f=l-a+i/2,d=h-a+i/2,p=l-o,g=h-s,b=p+i,v=g+i;V3(t,e,"main",o,s,p,g),r.transformable&&(V3(t,e,"w",u,c,a,v),V3(t,e,"e",f,c,a,v),V3(t,e,"n",u,c,b,a),V3(t,e,"s",u,d,b,a),V3(t,e,"nw",u,c,a,a),V3(t,e,"ne",f,c,a,a),V3(t,e,"sw",u,d,a,a),V3(t,e,"se",f,d,a,a))}function $3(t,e){var n=e.__brushOption,r=n.transformable,i=e.childAt(0);i.useStyle(H3(n)),i.attr({silent:!r,cursor:r?"move":"default"}),eI([["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]],(function(n){var i=e.childOfName(n.join("")),a=1===n.length?G3(t,n[0]):function(t,e){var n=[G3(t,e[0]),G3(t,e[1])];return("e"===n[0]||"w"===n[0])&&n.reverse(),n.join("")}(t,n);i&&i.attr({silent:!r,invisible:!r,cursor:r?k3[a]+"-resize":null})}))}function V3(t,e,n,r,i,a,o){var s=e.childOfName(n);s&&s.setShape(function(t){var e=y3(t[0][0],t[1][0]),n=y3(t[0][1],t[1][1]),r=w3(t[0][0],t[1][0]),i=w3(t[0][1],t[1][1]);return{x:e,y:n,width:r-e,height:i-n}}(Y3(t,e,[[r,i],[r+a,i+o]])))}function H3(t){return Zk({strokeNoScale:!0},t.brushStyle)}function W3(t,e,n,r){var i=[y3(t,n),y3(e,r)],a=[w3(t,n),w3(e,r)];return[[i[0],a[0]],[i[1],a[1]]]}function G3(t,e){var n=t$({w:"left",e:"right",n:"top",s:"bottom"}[e],function(t){return Qz(t.group)}(t));return{left:"w",right:"e",top:"n",bottom:"s"}[n]}function U3(t,e,n,r,i,a){var o=n.__brushOption,s=t.toRectRange(o.range),u=q3(e,i,a);eI(r,(function(t){var e=S3[t];s[e[0]][e[1]]+=u[e[0]]})),o.range=t.fromRectRange(W3(s[0][0],s[1][0],s[0][1],s[1][1])),D3(e,n),j3(e,{isEnd:!1})}function X3(t,e,n,r){var i=e.__brushOption.range,a=q3(t,n,r);eI(i,(function(t){t[0]+=a[0],t[1]+=a[1]})),D3(t,e),j3(t,{isEnd:!1})}function q3(t,e,n){var r=t.group,i=r.transformCoordToLocal(e,n),a=r.transformCoordToLocal(0,0);return[i[0]-a[0],i[1]-a[1]]}function Y3(t,e,n){var r=R3(t,e);return r&&r!==m3?r.clipPath(n,t._transform):Xk(n)}function K3(t){var e=t.event;e.preventDefault&&e.preventDefault()}function Z3(t,e,n){return t.childOfName("main").contain(e,n)}function Q3(t,e,n,r){var i,a=t._creatingCover,o=t._creatingPanel,s=t._brushOption;if(t._track.push(n.slice()),function(t){var e=t._track;if(!e.length)return!1;var n=e[e.length-1],r=e[0],i=n[0]-r[0],a=n[1]-r[1];return x3(i*i+a*a,.5)>6}(t)||a){if(o&&!a){"single"===s.brushMode&&N3(t);var u=Xk(s);u.brushType=J3(u.brushType,o),u.panelId=o===m3?null:o.panelId,a=t._creatingCover=T3(t,u),t._covers.push(a)}if(a){var c=n4[J3(t._brushType,o)];a.__brushOption.range=c.getCreatingRange(Y3(t,a,t._track)),r&&(A3(t,a),c.updateCommon(t,a)),E3(t,a),i={isEnd:r}}}else r&&"single"===s.brushMode&&s.removeOnClick&&L3(t,e,n)&&N3(t)&&(i={isEnd:r,removeOnClick:!0});return i}function J3(t,e){return"auto"===t?e.defaultBrushType:t}var t4={mousedown:function(t){if(this._dragging)e4(this,t);else if(!t.target||!t.target.draggable){K3(t);var e=this.group.transformCoordToLocal(t.offsetX,t.offsetY);this._creatingCover=null,(this._creatingPanel=L3(this,t,e))&&(this._dragging=!0,this._track=[e.slice()])}},mousemove:function(t){var e=t.offsetX,n=t.offsetY,r=this.group.transformCoordToLocal(e,n);if(function(t,e,n){if(t._brushType&&!function(t,e,n){var r=t._zr;return e<0||e>r.getWidth()||n<0||n>r.getHeight()}(t,e.offsetX,e.offsetY)){var r=t._zr,i=t._covers,a=L3(t,e,n);if(!t._dragging)for(var o=0;o<i.length;o++){var s=i[o].__brushOption;if(a&&(a===m3||s.panelId===a.panelId)&&n4[s.brushType].contain(i[o],n[0],n[1]))return}a&&r.setCursorStyle("crosshair")}}(this,t,r),this._dragging){K3(t);var i=Q3(this,t,r,!1);i&&j3(this,i)}},mouseup:function(t){e4(this,t)}};function e4(t,e){if(t._dragging){K3(e);var n=e.offsetX,r=e.offsetY,i=t.group.transformCoordToLocal(n,r),a=Q3(t,e,i,!0);t._dragging=!1,t._track=[],t._creatingCover=null,a&&j3(t,a)}}var n4={lineX:r4(0),lineY:r4(1),rect:{createCover:function(t,e){function n(t){return t}return B3({toRectRange:n,fromRectRange:n},t,e,[["w"],["e"],["n"],["s"],["s","e"],["s","w"],["n","e"],["n","w"]])},getCreatingRange:function(t){var e=F3(t);return W3(e[1][0],e[1][1],e[0][0],e[0][1])},updateCoverShape:function(t,e,n,r){z3(t,e,n,r)},updateCommon:$3,contain:Z3},polygon:{createCover:function(t,e){var n=new nE;return n.add(new sz({name:"main",style:H3(e),silent:!0})),n},getCreatingRange:function(t){return t},endCreating:function(t,e){e.remove(e.childAt(0)),e.add(new iz({name:"main",draggable:!0,drift:sI(X3,t,e),ondragend:sI(j3,t,{isEnd:!0})}))},updateCoverShape:function(t,e,n,r){e.childAt(0).setShape({points:Y3(t,e,n)})},updateCommon:$3,contain:Z3}};function r4(t){return{createCover:function(e,n){return B3({toRectRange:function(e){var n=[e,[0,100]];return t&&n.reverse(),n},fromRectRange:function(e){return e[t]}},e,n,[[["w"],["e"]],[["n"],["s"]]][t])},getCreatingRange:function(e){var n=F3(e);return[y3(n[0][t],n[1][t]),w3(n[0][t],n[1][t])]},updateCoverShape:function(e,n,r,i){var a,o=R3(e,n);if(o!==m3&&o.getLinearBrushOtherExtent)a=o.getLinearBrushOtherExtent(t);else{var s=e._zr;a=[0,[s.getWidth(),s.getHeight()][1-t]]}var u=[r,a];t&&u.reverse(),z3(e,n,u,i)},updateCommon:$3,contain:Z3}}const i4=C3;function a4(t){return t=u4(t),function(e){return r$(e,t)}}function o4(t,e){return t=u4(t),function(n){var r=null!=e?e:n,i=r?t.width:t.height,a=r?t.x:t.y;return[a,a+(i||0)]}}function s4(t,e,n){var r=u4(t);return function(t,i){return r.contain(i[0],i[1])&&!HZ(t,e,n)}}function u4(t){return KM.create(t)}var c4=["axisLine","axisTickLabel","axisName"],l4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(e,n){t.prototype.init.apply(this,arguments),(this._brushController=new i4(n.getZr())).on("brush",oI(this._onBrush,this))},e.prototype.render=function(t,e,n,r){if(!function(t,e,n){return n&&"axisAreaSelect"===n.type&&e.findComponents({mainType:"parallelAxis",query:n})[0]===t}(t,e,r)){this.axisModel=t,this.api=n,this.group.removeAll();var i=this._axisGroup;if(this._axisGroup=new nE,this.group.add(this._axisGroup),t.get("show")){var a=function(t,e){return e.getComponent("parallel",t.get("parallelIndex"))}(t,e),o=a.coordinateSystem,s=t.getAreaSelectStyle(),u=s.width,c=t.axis.dim,l=Kk({strokeContainThreshold:u},o.getAxisLayout(c)),h=new WK(t,l);eI(c4,h.add,h),this._axisGroup.add(h.getGroup()),this._refreshBrushController(l,s,t,a,u,n),n$(i,this._axisGroup,t)}}},e.prototype._refreshBrushController=function(t,e,n,r,i,a){var o=n.axis.getExtent(),s=o[1]-o[0],u=Math.min(30,.1*Math.abs(s)),c=KM.create({x:o[0],y:-i/2,width:s,height:i});c.x-=u,c.width+=2*u,this._brushController.mount({enableGlobalPan:!0,rotation:t.rotation,x:t.position[0],y:t.position[1]}).setPanels([{panelId:"pl",clipPath:a4(c),isTargetByCursor:s4(c,a,r),getLinearBrushOtherExtent:o4(c,0)}]).enableBrush({brushType:"lineX",brushStyle:e,removeOnClick:!0}).updateCovers(function(t){var e=t.axis;return nI(t.activeIntervals,(function(t){return{brushType:"lineX",panelId:"pl",range:[e.dataToCoord(t[0],!0),e.dataToCoord(t[1],!0)]}}))}(n))},e.prototype._onBrush=function(t){var e=t.areas,n=this.axisModel,r=n.axis,i=nI(e,(function(t){return[r.coordToData(t.range[0],!0),r.coordToData(t.range[1],!0)]}));(!n.option.realtime===t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"axisAreaSelect",parallelAxisId:n.id,intervals:i})},e.prototype.dispose=function(){this._brushController.dispose()},e.type="parallelAxis",e}(uB);const h4=l4;var f4={type:"axisAreaSelect",event:"axisAreaSelected"};var d4={type:"value",areaSelectStyle:{width:20,borderWidth:1,borderColor:"rgba(160,197,232)",color:"rgba(160,197,232)",opacity:.3},realtime:!0,z:10};function p4(t){t.registerComponentView(K2),t.registerComponentModel(Z2),t.registerCoordinateSystem("parallel",g3),t.registerPreprocessor(U2),t.registerComponentModel(v3),t.registerComponentView(h4),lY(t,"parallel",v3,d4),function(t){t.registerAction(f4,(function(t,e){e.eachComponent({mainType:"parallelAxis",query:t},(function(e){e.axis.model.setActiveIntervals(t.intervals)}))})),t.registerAction("parallelAxisExpand",(function(t,e){e.eachComponent({mainType:"parallel",query:t},(function(e){e.setAxisExpand(t)}))}))}(t)}var g4=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.cpx2=0,this.cpy2=0,this.extent=0},b4=function(t){function e(e){return t.call(this,e)||this}return Sk(e,t),e.prototype.getDefaultShape=function(){return new g4},e.prototype.buildPath=function(t,e){var n=e.extent;t.moveTo(e.x1,e.y1),t.bezierCurveTo(e.cpx1,e.cpy1,e.cpx2,e.cpy2,e.x2,e.y2),"vertical"===e.orient?(t.lineTo(e.x2+n,e.y2),t.bezierCurveTo(e.cpx2+n,e.cpy2,e.cpx1+n,e.cpy1,e.x1+n,e.y1)):(t.lineTo(e.x2,e.y2+n),t.bezierCurveTo(e.cpx2,e.cpy2+n,e.cpx1,e.cpy1+n,e.x1,e.y1+n)),t.closePath()},e.prototype.highlight=function(){YO(this)},e.prototype.downplay=function(){KO(this)},e}(zD),v4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._focusAdjacencyDisabled=!1,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=this,i=t.getGraph(),a=this.group,o=t.layoutInfo,s=o.width,u=o.height,c=t.getData(),l=t.getData("edge"),h=t.get("orient");this._model=t,a.removeAll(),a.x=o.x,a.y=o.y,i.eachEdge((function(e){var n=new b4,r=mO(n);r.dataIndex=e.dataIndex,r.seriesIndex=t.seriesIndex,r.dataType="edge";var i,o,c,f,d,p,g,b,v=e.getModel(),m=v.getModel("lineStyle"),y=m.get("curveness"),w=e.node1.getLayout(),x=e.node1.getModel(),_=x.get("localX"),S=x.get("localY"),k=e.node2.getLayout(),I=e.node2.getModel(),M=I.get("localX"),C=I.get("localY"),T=e.getLayout();switch(n.shape.extent=Math.max(1,T.dy),n.shape.orient=h,"vertical"===h?(i=(null!=_?_*s:w.x)+T.sy,o=(null!=S?S*u:w.y)+w.dy,c=(null!=M?M*s:k.x)+T.ty,d=i,p=o*(1-y)+(f=null!=C?C*u:k.y)*y,g=c,b=o*y+f*(1-y)):(i=(null!=_?_*s:w.x)+w.dx,o=(null!=S?S*u:w.y)+T.sy,d=i*(1-y)+(c=null!=M?M*s:k.x)*y,p=o,g=i*y+c*(1-y),b=f=(null!=C?C*u:k.y)+T.ty),n.setShape({x1:i,y1:o,x2:c,y2:f,cpx1:d,cpy1:p,cpx2:g,cpy2:b}),n.useStyle(m.getItemStyle()),n.style.fill){case"source":n.style.fill=e.node1.getVisual("color"),n.style.decal=e.node1.getVisual("style").decal;break;case"target":n.style.fill=e.node2.getVisual("color"),n.style.decal=e.node2.getVisual("style").decal;break;case"gradient":var A=e.node1.getVisual("color"),E=e.node2.getVisual("color");lI(A)&&lI(E)&&(n.style.fill=new kz(0,0,+("horizontal"===h),+("vertical"===h),[{color:A,offset:0},{color:E,offset:1}]))}PL(n,DL(v,"edgeLabel"),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:""+v.get("value")}),n.setTextConfig({position:"inside"});var P=v.getModel("emphasis");dL(n,v,"lineStyle",(function(t){return t.getItemStyle()})),a.add(n),l.setItemGraphicEl(e.dataIndex,n);var D=P.get("focus");cL(n,"adjacency"===D?e.getAdjacentDataIndices():D,P.get("blurScope"),P.get("disabled")),mO(n).dataType="edge"})),i.eachNode((function(e){var n=e.getLayout(),r=e.getModel(),i=r.get("localX"),o=r.get("localY"),l=r.getModel("emphasis"),h=new eO({shape:{x:null!=i?i*s:n.x,y:null!=o?o*u:n.y,width:n.dx,height:n.dy},style:r.getModel("itemStyle").getItemStyle(),z2:10});PL(h,DL(r),{labelFetcher:t,labelDataIndex:e.dataIndex,defaultText:e.id}),h.disableLabelAnimation=!0,h.setStyle("fill",e.getVisual("color")),h.setStyle("decal",e.getVisual("style").decal),dL(h,r),a.add(h),c.setItemGraphicEl(e.dataIndex,h),mO(h).dataType="node";var f=l.get("focus");cL(h,"adjacency"===f?e.getAdjacentDataIndices():f,l.get("blurScope"),l.get("disabled"))})),c.eachItemGraphicEl((function(e,i){c.getItemModel(i).get("draggable")&&(e.drift=function(e,a){r._focusAdjacencyDisabled=!0,this.shape.x+=e,this.shape.y+=a,this.dirty(),n.dispatchAction({type:"dragNode",seriesId:t.id,dataIndex:c.getRawIndex(i),localX:this.shape.x/s,localY:this.shape.y/u})},e.ondragend=function(){r._focusAdjacencyDisabled=!1},e.draggable=!0,e.cursor="move")})),!this._data&&t.isAnimationEnabled()&&a.setClipPath(function(t,e,n){var r=new eO({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _L(r,{shape:{width:t.width+20}},e,n),r}(a.getBoundingRect(),t,(function(){a.removeClipPath()}))),this._data=t.getData()},e.prototype.dispose=function(){},e.type="sankey",e}(w$);const m4=v4;var y4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){var n=t.edges||t.links,r=t.data||t.nodes,i=t.levels;this.levelModels=[];for(var a=this.levelModels,o=0;o<i.length;o++)null!=i[o].depth&&i[o].depth>=0&&(a[i[o].depth]=new nR(i[o],this,e));if(r&&n){var s=y2(r,n,this,!0,(function(t,e){t.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getData().getItemLayout(e);if(r){var i=r.depth,a=n.levelModels[i];a&&(t.parentModel=a)}return t})),e.wrapMethod("getItemModel",(function(t,e){var n=t.parentModel,r=n.getGraph().getEdgeByIndex(e).node1.getLayout();if(r){var i=r.depth,a=n.levelModels[i];a&&(t.parentModel=a)}return t}))}));return s.data}},e.prototype.setNodePosition=function(t,e){var n=(this.option.data||this.option.nodes)[t];n.localX=e[0],n.localY=e[1]},e.prototype.getGraph=function(){return this.getData().graph},e.prototype.getEdgeData=function(){return this.getGraph().edgeData},e.prototype.formatTooltip=function(t,e,n){function r(t){return isNaN(t)||null==t}if("edge"===n){var i=this.getDataParams(t,n),a=i.data,o=i.value;return jF("nameValue",{name:a.source+" -- "+a.target,value:o,noValue:r(o)})}var s=this.getGraph().getNodeByIndex(t).getLayout().value,u=this.getDataParams(t,n).data.name;return jF("nameValue",{name:null!=u?u+"":null,value:s,noValue:r(s)})},e.prototype.optionUpdated=function(){},e.prototype.getDataParams=function(e,n){var r=t.prototype.getDataParams.call(this,e,n);if(null==r.value&&"node"===n){var i=this.getGraph().getNodeByIndex(e).getLayout().value;r.value=i}return r},e.type="series.sankey",e.defaultOption={z:2,coordinateSystem:"view",left:"5%",top:"5%",right:"20%",bottom:"5%",orient:"horizontal",nodeWidth:20,nodeGap:8,draggable:!0,layoutIterations:32,label:{show:!0,position:"right",fontSize:12},edgeLabel:{show:!1,fontSize:12},levels:[],nodeAlign:"justify",lineStyle:{color:"#314656",opacity:.2,curveness:.5},emphasis:{label:{show:!0},lineStyle:{opacity:.5}},select:{itemStyle:{borderColor:"#212121"}},animationEasing:"linear",animationDuration:1e3},e}(oB);const w4=y4;function x4(t,e){t.eachSeriesByType("sankey",(function(t){var n=t.get("nodeWidth"),r=t.get("nodeGap"),i=function(t,e){return iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()})}(t,e);t.layoutInfo=i;var a=i.width,o=i.height,s=t.getGraph(),u=s.nodes,c=s.edges;!function(t){eI(t,(function(t){var e=P4(t.outEdges,E4),n=P4(t.inEdges,E4),r=t.getValue()||0,i=Math.max(e,n,r);t.setLayout({value:i},!0)}))}(u);var l=iI(u,(function(t){return 0===t.getLayout().value}));!function(t,e,n,r,i,a,o,s,u){(function(t,e,n,r,i,a,o){for(var s=[],u=[],c=[],l=[],h=0,f=0;f<e.length;f++)s[f]=1;for(f=0;f<t.length;f++)u[f]=t[f].inEdges.length,0===u[f]&&c.push(t[f]);var d=-1;for(;c.length;){for(var p=0;p<c.length;p++){var g=c[p],b=g.hostGraph.data.getRawDataItem(g.dataIndex),v=null!=b.depth&&b.depth>=0;v&&b.depth>d&&(d=b.depth),g.setLayout({depth:v?b.depth:h},!0),"vertical"===a?g.setLayout({dy:n},!0):g.setLayout({dx:n},!0);for(var m=0;m<g.outEdges.length;m++){var y=g.outEdges[m];s[e.indexOf(y)]=0;var w=y.node2;0==--u[t.indexOf(w)]&&l.indexOf(w)<0&&l.push(w)}}++h,c=l,l=[]}for(f=0;f<s.length;f++)if(1===s[f])throw new Error("Sankey is a DAG, the original data has cycle!");var x=d>h-1?d:h-1;o&&"left"!==o&&function(t,e,n,r){if("right"===e){for(var i=[],a=t,o=0;a.length;){for(var s=0;s<a.length;s++){var u=a[s];u.setLayout({skNodeHeight:o},!0);for(var c=0;c<u.inEdges.length;c++){var l=u.inEdges[c];i.indexOf(l.node1)<0&&i.push(l.node1)}}a=i,i=[],++o}eI(t,(function(t){_4(t)||t.setLayout({depth:Math.max(0,r-t.getLayout().skNodeHeight)},!0)}))}else"justify"===e&&function(t,e){eI(t,(function(t){_4(t)||t.outEdges.length||t.setLayout({depth:e},!0)}))}(t,r)}(t,o,0,x);!function(t,e,n){eI(t,(function(t){var r=t.getLayout().depth*e;"vertical"===n?t.setLayout({y:r},!0):t.setLayout({x:r},!0)}))}(t,"vertical"===a?(i-n)/x:(r-n)/x,a)})(t,e,n,i,a,s,u),function(t,e,n,r,i,a,o){var s=function(t,e){var n=[],r="vertical"===e?"y":"x",i=JE(t,(function(t){return t.getLayout()[r]}));return i.keys.sort((function(t,e){return t-e})),eI(i.keys,(function(t){n.push(i.buckets.get(t))})),n}(t,o);(function(t,e,n,r,i,a){var o=1/0;eI(t,(function(t){var e=t.length,s=0;eI(t,(function(t){s+=t.getLayout().value}));var u="vertical"===a?(r-(e-1)*i)/s:(n-(e-1)*i)/s;u<o&&(o=u)})),eI(t,(function(t){eI(t,(function(t,e){var n=t.getLayout().value*o;"vertical"===a?(t.setLayout({x:e},!0),t.setLayout({dx:n},!0)):(t.setLayout({y:e},!0),t.setLayout({dy:n},!0))}))})),eI(e,(function(t){var e=+t.getValue()*o;t.setLayout({dy:e},!0)}))})(s,e,n,r,i,o),S4(s,i,n,r,o);for(var u=1;a>0;a--)k4(s,u*=.99,o),S4(s,i,n,r,o),D4(s,u,o),S4(s,i,n,r,o)}(t,e,a,i,r,o,s),function(t,e){var n="vertical"===e?"x":"y";eI(t,(function(t){t.outEdges.sort((function(t,e){return t.node2.getLayout()[n]-e.node2.getLayout()[n]})),t.inEdges.sort((function(t,e){return t.node1.getLayout()[n]-e.node1.getLayout()[n]}))})),eI(t,(function(t){var e=0,n=0;eI(t.outEdges,(function(t){t.setLayout({sy:e},!0),e+=t.getLayout().dy})),eI(t.inEdges,(function(t){t.setLayout({ty:n},!0),n+=t.getLayout().dy}))}))}(t,s)}(u,c,n,r,a,o,0!==l.length?0:t.get("layoutIterations"),t.get("orient"),t.get("nodeAlign"))}))}function _4(t){var e=t.hostGraph.data.getRawDataItem(t.dataIndex);return null!=e.depth&&e.depth>=0}function S4(t,e,n,r,i){var a="vertical"===i?"x":"y";eI(t,(function(t){var o,s,u;t.sort((function(t,e){return t.getLayout()[a]-e.getLayout()[a]}));for(var c=0,l=t.length,h="vertical"===i?"dx":"dy",f=0;f<l;f++)(u=c-(s=t[f]).getLayout()[a])>0&&(o=s.getLayout()[a]+u,"vertical"===i?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),c=s.getLayout()[a]+s.getLayout()[h]+e;if((u=c-e-("vertical"===i?r:n))>0){o=s.getLayout()[a]-u,"vertical"===i?s.setLayout({x:o},!0):s.setLayout({y:o},!0),c=o;for(f=l-2;f>=0;--f)(u=(s=t[f]).getLayout()[a]+s.getLayout()[h]+e-c)>0&&(o=s.getLayout()[a]-u,"vertical"===i?s.setLayout({x:o},!0):s.setLayout({y:o},!0)),c=s.getLayout()[a]}}))}function k4(t,e,n){eI(t.slice().reverse(),(function(t){eI(t,(function(t){if(t.outEdges.length){var r=P4(t.outEdges,I4,n)/P4(t.outEdges,E4);if(isNaN(r)){var i=t.outEdges.length;r=i?P4(t.outEdges,M4,n)/i:0}if("vertical"===n){var a=t.getLayout().x+(r-A4(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(r-A4(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function I4(t,e){return A4(t.node2,e)*t.getValue()}function M4(t,e){return A4(t.node2,e)}function C4(t,e){return A4(t.node1,e)*t.getValue()}function T4(t,e){return A4(t.node1,e)}function A4(t,e){return"vertical"===e?t.getLayout().x+t.getLayout().dx/2:t.getLayout().y+t.getLayout().dy/2}function E4(t){return t.getValue()}function P4(t,e,n){for(var r=0,i=t.length,a=-1;++a<i;){var o=+e(t[a],n);isNaN(o)||(r+=o)}return r}function D4(t,e,n){eI(t,(function(t){eI(t,(function(t){if(t.inEdges.length){var r=P4(t.inEdges,C4,n)/P4(t.inEdges,E4);if(isNaN(r)){var i=t.inEdges.length;r=i?P4(t.inEdges,T4,n)/i:0}if("vertical"===n){var a=t.getLayout().x+(r-A4(t,n))*e;t.setLayout({x:a},!0)}else{var o=t.getLayout().y+(r-A4(t,n))*e;t.setLayout({y:o},!0)}}}))}))}function O4(t){t.eachSeriesByType("sankey",(function(t){var e=t.getGraph(),n=e.nodes,r=e.edges;if(n.length){var i=1/0,a=-1/0;eI(n,(function(t){var e=t.getLayout().value;e<i&&(i=e),e>a&&(a=e)})),eI(n,(function(e){var n=new X1({type:"color",mappingMethod:"linear",dataExtent:[i,a],visual:t.get("color")}).mapValueToVisual(e.getLayout().value),r=e.getModel().get(["itemStyle","color"]);null!=r?(e.setVisual("color",r),e.setVisual("style",{fill:r})):(e.setVisual("color",n),e.setVisual("style",{fill:n}))}))}r.length&&eI(r,(function(t){var e=t.getModel().get("lineStyle");t.setVisual("style",e)}))}))}var L4=function(){function t(){}return t.prototype.getInitialData=function(t,e){var n,r,i=e.getComponent("xAxis",this.get("xAxisIndex")),a=e.getComponent("yAxis",this.get("yAxisIndex")),o=i.get("type"),s=a.get("type");"category"===o?(t.layout="horizontal",n=i.getOrdinalMeta(),r=!0):"category"===s?(t.layout="vertical",n=a.getOrdinalMeta(),r=!0):t.layout=t.layout||"horizontal";var u=["x","y"],c="horizontal"===t.layout?0:1,l=this._baseAxisDim=u[c],h=u[1-c],f=[i,a],d=f[c].get("type"),p=f[1-c].get("type"),g=t.data;if(g&&r){var b=[];eI(g,(function(t,e){var n;uI(t)?(n=t.slice(),t.unshift(e)):uI(t.value)?((n=Kk({},t)).value=n.value.slice(),t.value.unshift(e)):n=t,b.push(n)})),t.data=b}var v=this.defaultValueDimensions,m=[{name:l,type:xU(d),ordinalMeta:n,otherDims:{tooltip:!1,itemName:0},dimsDef:["base"]},{name:h,type:xU(p),dimsDef:v.slice()}];return $q(this,{coordDimensions:m,dimensionsCount:v.length+1,encodeDefaulter:sI(AN,m,this)})},t.prototype.getBaseAxis=function(){var t=this._baseAxisDim;return this.ecModel.getComponent(t+"Axis",this.get(t+"AxisIndex")).axis},t}(),R4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"min",defaultTooltip:!0},{name:"Q1",defaultTooltip:!0},{name:"median",defaultTooltip:!0},{name:"Q3",defaultTooltip:!0},{name:"max",defaultTooltip:!0}],n.visualDrawType="stroke",n}return Sk(e,t),e.type="series.boxplot",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,boxWidth:[7,50],itemStyle:{color:"#fff",borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2,shadowBlur:5,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}},animationDuration:800},e}(oB);Jk(R4,L4,!0);const N4=R4;var j4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this.group,a=this._data;this._data||i.removeAll();var o="horizontal"===t.get("layout")?1:0;r.diff(a).add((function(t){if(r.hasValue(t)){var e=z4(r.getItemLayout(t),r,t,o,!0);r.setItemGraphicEl(t,e),i.add(e)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(r.hasValue(t)){var s=r.getItemLayout(t);n?(CL(n),$4(s,n,r,t)):n=z4(s,r,t,o),i.add(n),r.setItemGraphicEl(t,n)}else i.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&i.remove(e)})).execute(),this._data=r},e.prototype.remove=function(t){var e=this.group,n=this._data;this._data=null,n&&n.eachItemGraphicEl((function(t){t&&e.remove(t)}))},e.type="boxplot",e}(w$),F4=function(){},B4=function(t){function e(e){var n=t.call(this,e)||this;return n.type="boxplotBoxPath",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new F4},e.prototype.buildPath=function(t,e){var n=e.points,r=0;for(t.moveTo(n[r][0],n[r][1]),r++;r<4;r++)t.lineTo(n[r][0],n[r][1]);for(t.closePath();r<n.length;r++)t.moveTo(n[r][0],n[r][1]),r++,t.lineTo(n[r][0],n[r][1])},e}(zD);function z4(t,e,n,r,i){var a=t.ends,o=new B4({shape:{points:i?V4(a,r,t):a}});return $4(t,o,e,n,i),o}function $4(t,n,r,i,a){var o=r.hostModel;(0,e[a?"initProps":"updateProps"])(n,{shape:{points:t.ends}},o,i),n.useStyle(r.getItemVisual(i,"style")),n.style.strokeNoScale=!0,n.z2=100;var s=r.getItemModel(i),u=s.getModel("emphasis");dL(n,s),cL(n,u.get("focus"),u.get("blurScope"),u.get("disabled"))}function V4(t,e,n){return nI(t,(function(t){return(t=t.slice())[e]=n.initBaseline,t}))}const H4=j4;var W4=eI;function G4(t){var e=function(t){var e=[],n=[];return t.eachSeriesByType("boxplot",(function(t){var r=t.getBaseAxis(),i=Qk(n,r);i<0&&(i=n.length,n[i]=r,e[i]={axis:r,seriesModels:[]}),e[i].seriesModels.push(t)})),e}(t);W4(e,(function(t){var e=t.seriesModels;e.length&&(!function(t){var e,n=t.axis,r=t.seriesModels,i=r.length,a=t.boxWidthList=[],o=t.boxOffsetList=[],s=[];if("category"===n.type)e=n.getBandWidth();else{var u=0;W4(r,(function(t){u=Math.max(u,t.getData().count())}));var c=n.getExtent();e=Math.abs(c[1]-c[0])/u}W4(r,(function(t){var n=t.get("boxWidth");uI(n)||(n=[n,n]),s.push([cE(n[0],e)||0,cE(n[1],e)||0])}));var l=.8*e-2,h=l/i*.3,f=(l-h*(i-1))/i,d=f/2-l/2;W4(r,(function(t,e){o.push(d),d+=h+f,a.push(Math.min(Math.max(f,s[e][0]),s[e][1]))}))}(t),W4(e,(function(e,n){!function(t,e,n){var r=t.coordinateSystem,i=t.getData(),a=n/2,o="horizontal"===t.get("layout")?0:1,s=1-o,u=["x","y"],c=i.mapDimension(u[o]),l=i.mapDimensionsAll(u[s]);if(null==c||l.length<5)return;for(var h=0;h<i.count();h++){var f=i.get(c,h),d=y(f,l[2],h),p=y(f,l[0],h),g=y(f,l[1],h),b=y(f,l[3],h),v=y(f,l[4],h),m=[];w(m,g,!1),w(m,b,!0),m.push(p,g,v,b),x(m,p),x(m,v),x(m,d),i.setItemLayout(h,{initBaseline:d[s],ends:m})}function y(t,n,a){var u,c=i.get(n,a),l=[];return l[o]=t,l[s]=c,isNaN(t)||isNaN(c)?u=[NaN,NaN]:(u=r.dataToPoint(l))[o]+=e,u}function w(t,e,n){var r=e.slice(),i=e.slice();r[o]+=a,i[o]-=a,n?t.push(r,i):t.push(i,r)}function x(t,e){var n=e.slice(),r=e.slice();n[o]-=a,r[o]+=a,t.push(n,r)}}(e,t.boxOffsetList[n],t.boxWidthList[n])})))}))}var U4={type:"echarts:boxplot",transform:function(t){var e=t.upstream;if(e.sourceFormat!==mN){0,nF("")}var n=function(t,e){for(var n=[],r=[],i=(e=e||{}).boundIQR,a="none"===i||0===i,o=0;o<t.length;o++){var s=hE(t[o].slice()),u=SE(s,.25),c=SE(s,.5),l=SE(s,.75),h=s[0],f=s[s.length-1],d=(null==i?1.5:i)*(l-u),p=a?h:Math.max(h,u-d),g=a?f:Math.min(f,l+d),b=e.itemNameFormatter,v=cI(b)?b({value:o}):lI(b)?b.replace("{value}",o+""):o+"";n.push([v,p,u,c,l,g]);for(var m=0;m<s.length;m++){var y=s[m];if(y<p||y>g){var w=[v,y];r.push(w)}}}return{boxData:n,outliers:r}}(e.getRawData(),t.config);return[{dimensions:["ItemName","Low","Q1","Q2","Q3","High"],data:n.boxData},{data:n.outliers}]}};var X4=["color","borderColor"],q4=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){this.group.removeClipPath(),this._progressiveEls=null,this._updateDrawMode(t),this._isLargeDraw?this._renderLarge(t):this._renderNormal(t)},e.prototype.incrementalPrepareRender=function(t,e,n){this._clear(),this._updateDrawMode(t)},e.prototype.incrementalRender=function(t,e,n,r){this._progressiveEls=[],this._isLargeDraw?this._incrementalRenderLarge(t,e):this._incrementalRenderNormal(t,e)},e.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},e.prototype._updateDrawMode=function(t){var e=t.pipelineContext.large;null!=this._isLargeDraw&&e===this._isLargeDraw||(this._isLargeDraw=e,this._clear())},e.prototype._renderNormal=function(t){var e=t.getData(),n=this._data,r=this.group,i=e.getLayout("isSimpleBox"),a=t.get("clip",!0),o=t.coordinateSystem,s=o.getArea&&o.getArea();this._data||r.removeAll(),e.diff(n).add((function(n){if(e.hasValue(n)){var o=e.getItemLayout(n);if(a&&Q4(s,o))return;var u=Z4(o,n,!0);_L(u,{shape:{points:o.ends}},t,n),J4(u,e,n,i),r.add(u),e.setItemGraphicEl(n,u)}})).update((function(o,u){var c=n.getItemGraphicEl(u);if(e.hasValue(o)){var l=e.getItemLayout(o);a&&Q4(s,l)?r.remove(c):(c?(xL(c,{shape:{points:l.ends}},t,o),CL(c)):c=Z4(l,o),J4(c,e,o,i),r.add(c),e.setItemGraphicEl(o,c))}else r.remove(c)})).remove((function(t){var e=n.getItemGraphicEl(t);e&&r.remove(e)})).execute(),this._data=e},e.prototype._renderLarge=function(t){this._clear(),r5(t,this.group);var e=t.get("clip",!0)?MX(t.coordinateSystem,!1,t):null;e?this.group.setClipPath(e):this.group.removeClipPath()},e.prototype._incrementalRenderNormal=function(t,e){for(var n,r=e.getData(),i=r.getLayout("isSimpleBox");null!=(n=t.next());){var a=Z4(r.getItemLayout(n),n);J4(a,r,n,i),a.incremental=!0,this.group.add(a),this._progressiveEls.push(a)}},e.prototype._incrementalRenderLarge=function(t,e){r5(e,this.group,this._progressiveEls,!0)},e.prototype.remove=function(t){this._clear()},e.prototype._clear=function(){this.group.removeAll(),this._data=null},e.type="candlestick",e}(w$),Y4=function(){},K4=function(t){function e(e){var n=t.call(this,e)||this;return n.type="normalCandlestickBox",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new Y4},e.prototype.buildPath=function(t,e){var n=e.points;this.__simpleBox?(t.moveTo(n[4][0],n[4][1]),t.lineTo(n[6][0],n[6][1])):(t.moveTo(n[0][0],n[0][1]),t.lineTo(n[1][0],n[1][1]),t.lineTo(n[2][0],n[2][1]),t.lineTo(n[3][0],n[3][1]),t.closePath(),t.moveTo(n[4][0],n[4][1]),t.lineTo(n[5][0],n[5][1]),t.moveTo(n[6][0],n[6][1]),t.lineTo(n[7][0],n[7][1]))},e}(zD);function Z4(t,e,n){var r=t.ends;return new K4({shape:{points:n?t5(r,t):r},z2:100})}function Q4(t,e){for(var n=!0,r=0;r<e.ends.length;r++)if(t.contain(e.ends[r][0],e.ends[r][1])){n=!1;break}return n}function J4(t,e,n,r){var i=e.getItemModel(n);t.useStyle(e.getItemVisual(n,"style")),t.style.strokeNoScale=!0,t.__simpleBox=r,dL(t,i)}function t5(t,e){return nI(t,(function(t){return(t=t.slice())[1]=e.initBaseline,t}))}var e5=function(){},n5=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeCandlestickBox",n}return Sk(e,t),e.prototype.getDefaultShape=function(){return new e5},e.prototype.buildPath=function(t,e){for(var n=e.points,r=0;r<n.length;)if(this.__sign===n[r++]){var i=n[r++];t.moveTo(i,n[r++]),t.lineTo(i,n[r++])}else r+=3},e}(zD);function r5(t,e,n,r){var i=t.getData(),a=i.getLayout("largePoints"),o=new n5({shape:{points:a},__sign:1,ignoreCoarsePointer:!0});e.add(o);var s=new n5({shape:{points:a},__sign:-1,ignoreCoarsePointer:!0});e.add(s);var u=new n5({shape:{points:a},__sign:0,ignoreCoarsePointer:!0});e.add(u),i5(1,o,t,i),i5(-1,s,t,i),i5(0,u,t,i),r&&(o.incremental=!0,s.incremental=!0),n&&n.push(o,s)}function i5(t,e,n,r){var i=n.get(["itemStyle",t>0?"borderColor":"borderColor0"])||n.get(["itemStyle",t>0?"color":"color0"]);0===t&&(i=n.get(["itemStyle","borderColorDoji"]));var a=n.getModel("itemStyle").getItemStyle(X4);e.useStyle(a),e.style.fill=null,e.style.stroke=i}const a5=q4;var o5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.defaultValueDimensions=[{name:"open",defaultTooltip:!0},{name:"close",defaultTooltip:!0},{name:"lowest",defaultTooltip:!0},{name:"highest",defaultTooltip:!0}],n}return Sk(e,t),e.prototype.getShadowDim=function(){return"open"},e.prototype.brushSelector=function(t,e,n){var r=e.getItemLayout(t);return r&&n.rect(r.brushRect)},e.type="series.candlestick",e.dependencies=["xAxis","yAxis","grid"],e.defaultOption={z:2,coordinateSystem:"cartesian2d",legendHoverLink:!0,layout:null,clip:!0,itemStyle:{color:"#eb5454",color0:"#47b262",borderColor:"#eb5454",borderColor0:"#47b262",borderColorDoji:null,borderWidth:1},emphasis:{scale:!0,itemStyle:{borderWidth:2}},barMaxWidth:null,barMinWidth:null,barWidth:null,large:!0,largeThreshold:600,progressive:3e3,progressiveThreshold:1e4,progressiveChunkMode:"mod",animationEasing:"linear",animationDuration:300},e}(oB);Jk(o5,L4,!0);const s5=o5;function u5(t){t&&uI(t.series)&&eI(t.series,(function(t){dI(t)&&"k"===t.type&&(t.type="candlestick")}))}var c5=["itemStyle","borderColor"],l5=["itemStyle","borderColor0"],h5=["itemStyle","borderColorDoji"],f5=["itemStyle","color"],d5=["itemStyle","color0"],p5={seriesType:"candlestick",plan:cB(),performRawSeries:!0,reset:function(t,e){function n(t,e){return e.get(t>0?f5:d5)}function r(t,e){return e.get(0===t?h5:t>0?c5:l5)}if(!e.isSeriesFiltered(t))return!t.pipelineContext.large&&{progress:function(t,e){for(var i;null!=(i=t.next());){var a=e.getItemModel(i),o=e.getItemLayout(i).sign,s=a.getItemStyle();s.fill=n(o,a),s.stroke=r(o,a)||s.fill,Kk(e.ensureUniqueItemVisual(i,"style"),s)}}}}};const g5=p5;var b5={seriesType:"candlestick",plan:cB(),reset:function(t){var e=t.coordinateSystem,n=t.getData(),r=function(t,e){var n,r=t.getBaseAxis(),i="category"===r.type?r.getBandWidth():(n=r.getExtent(),Math.abs(n[1]-n[0])/e.count()),a=cE(wI(t.get("barMaxWidth"),i),i),o=cE(wI(t.get("barMinWidth"),1),i),s=t.get("barWidth");return null!=s?cE(s,i):Math.max(Math.min(i/2,a),o)}(t,n),i=["x","y"],a=n.getDimensionIndex(n.mapDimension(i[0])),o=nI(n.mapDimensionsAll(i[1]),n.getDimensionIndex,n),s=o[0],u=o[1],c=o[2],l=o[3];if(n.setLayout({candleWidth:r,isSimpleBox:r<=1.3}),!(a<0||o.length<4))return{progress:t.pipelineContext.large?function(n,r){var i,o,h=gX(4*n.count),f=0,d=[],p=[],g=r.getStore(),b=!!t.get(["itemStyle","borderColorDoji"]);for(;null!=(o=n.next());){var v=g.get(a,o),m=g.get(s,o),y=g.get(u,o),w=g.get(c,o),x=g.get(l,o);isNaN(v)||isNaN(w)||isNaN(x)?(h[f++]=NaN,f+=3):(h[f++]=v5(g,o,m,y,u,b),d[0]=v,d[1]=w,i=e.dataToPoint(d,null,p),h[f++]=i?i[0]:NaN,h[f++]=i?i[1]:NaN,d[1]=x,i=e.dataToPoint(d,null,p),h[f++]=i?i[1]:NaN)}r.setLayout("largePoints",h)}:function(t,n){var i,o=n.getStore();for(;null!=(i=t.next());){var h=o.get(a,i),f=o.get(s,i),d=o.get(u,i),p=o.get(c,i),g=o.get(l,i),b=Math.min(f,d),v=Math.max(f,d),m=k(b,h),y=k(v,h),w=k(p,h),x=k(g,h),_=[];I(_,y,0),I(_,m,1),_.push(C(x),C(y),C(w),C(m));var S=!!n.getItemModel(i).get(["itemStyle","borderColorDoji"]);n.setItemLayout(i,{sign:v5(o,i,f,d,u,S),initBaseline:f>d?y[1]:m[1],ends:_,brushRect:M(p,g,h)})}function k(t,n){var r=[];return r[0]=n,r[1]=t,isNaN(n)||isNaN(t)?[NaN,NaN]:e.dataToPoint(r)}function I(t,e,n){var i=e.slice(),a=e.slice();i[0]=Zz(i[0]+r/2,1,!1),a[0]=Zz(a[0]-r/2,1,!0),n?t.push(i,a):t.push(a,i)}function M(t,e,n){var i=k(t,n),a=k(e,n);return i[0]-=r/2,a[0]-=r/2,{x:i[0],y:i[1],width:r,height:a[1]-i[1]}}function C(t){return t[0]=Zz(t[0],1),t}}}}};function v5(t,e,n,r,i,a){return n>r?-1:n<r?1:a?0:e>0?t.get(i,e-1)<=r?1:-1:1}const m5=b5;function y5(t,e){var n=e.rippleEffectColor||e.color;t.eachChild((function(t){t.attr({z:e.z,zlevel:e.zlevel,style:{stroke:"stroke"===e.brushType?n:null,fill:"fill"===e.brushType?n:null}})}))}var w5=function(t){function e(e,n){var r=t.call(this)||this,i=new aX(e,n),a=new nE;return r.add(i),r.add(a),r.updateData(e,n),r}return Sk(e,t),e.prototype.stopEffectAnimation=function(){this.childAt(1).removeAll()},e.prototype.startEffectAnimation=function(t){for(var e=t.symbolType,n=t.color,r=t.rippleNumber,i=this.childAt(1),a=0;a<r;a++){var o=EV(e,-1,-1,2,2,n);o.attr({style:{strokeNoScale:!0},z2:99,silent:!0,scaleX:.5,scaleY:.5});var s=-a/r*t.period+t.effectOffset;o.animate("",!0).when(t.period,{scaleX:t.rippleScale/2,scaleY:t.rippleScale/2}).delay(s).start(),o.animateStyle(!0).when(t.period,{opacity:0}).delay(s).start(),i.add(o)}y5(i,t)},e.prototype.updateEffectAnimation=function(t){for(var e=this._effectCfg,n=this.childAt(1),r=["symbolType","period","rippleScale","rippleNumber"],i=0;i<r.length;i++){var a=r[i];if(e[a]!==t[a])return this.stopEffectAnimation(),void this.startEffectAnimation(t)}y5(n,t)},e.prototype.highlight=function(){YO(this)},e.prototype.downplay=function(){KO(this)},e.prototype.getSymbolType=function(){var t=this.childAt(0);return t&&t.getSymbolType()},e.prototype.updateData=function(t,e){var n=this,r=t.hostModel;this.childAt(0).updateData(t,e);var i=this.childAt(1),a=t.getItemModel(e),o=t.getItemVisual(e,"symbol"),s=PV(t.getItemVisual(e,"symbolSize")),u=t.getItemVisual(e,"style"),c=u&&u.fill,l=a.getModel("emphasis");i.setScale(s),i.traverse((function(t){t.setStyle("fill",c)}));var h=DV(t.getItemVisual(e,"symbolOffset"),s);h&&(i.x=h[0],i.y=h[1]);var f=t.getItemVisual(e,"symbolRotate");i.rotation=(f||0)*Math.PI/180||0;var d={};d.showEffectOn=r.get("showEffectOn"),d.rippleScale=a.get(["rippleEffect","scale"]),d.brushType=a.get(["rippleEffect","brushType"]),d.period=1e3*a.get(["rippleEffect","period"]),d.effectOffset=e/t.count(),d.z=r.getShallow("z")||0,d.zlevel=r.getShallow("zlevel")||0,d.symbolType=o,d.color=c,d.rippleEffectColor=a.get(["rippleEffect","color"]),d.rippleNumber=a.get(["rippleEffect","number"]),"render"===d.showEffectOn?(this._effectCfg?this.updateEffectAnimation(d):this.startEffectAnimation(d),this._effectCfg=d):(this._effectCfg=null,this.stopEffectAnimation(),this.onHoverStateChange=function(t){"emphasis"===t?"render"!==d.showEffectOn&&n.startEffectAnimation(d):"normal"===t&&"render"!==d.showEffectOn&&n.stopEffectAnimation()}),this._effectCfg=d,cL(this,l.get("focus"),l.get("blurScope"),l.get("disabled"))},e.prototype.fadeOut=function(t){t&&t()},e}(nE);const x5=w5;var _5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(){this._symbolDraw=new lX(x5)},e.prototype.render=function(t,e,n){var r=t.getData(),i=this._symbolDraw;i.updateData(r,{clipShape:this._getClipShape(t)}),this.group.add(i.group)},e.prototype._getClipShape=function(t){var e=t.coordinateSystem,n=e&&e.getArea&&e.getArea();return t.get("clip",!0)?n:null},e.prototype.updateTransform=function(t,e,n){var r=t.getData();this.group.dirty();var i=zX("").reset(t,e,n);i.progress&&i.progress({start:0,end:r.count(),count:r.count()},r),this._symbolDraw.updateLayout()},e.prototype._updateGroupTransform=function(t){var e=t.coordinateSystem;e&&e.getRoamTransform&&(this.group.transform=function(t){var e=[1,0,0,1,0,0];return OM(e,t),e}(e.getRoamTransform()),this.group.decomposeTransform())},e.prototype.remove=function(t,e){this._symbolDraw&&this._symbolDraw.remove(!0)},e.type="effectScatter",e}(w$);const S5=_5;const k5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return QU(null,this,{useEncodeDefaulter:!0})},e.prototype.brushSelector=function(t,e,n){return n.point(e.getItemLayout(t))},e.type="series.effectScatter",e.dependencies=["grid","polar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,effectType:"ripple",progressive:0,showEffectOn:"render",clip:!0,rippleEffect:{period:4,scale:2.5,brushType:"fill",number:3},universalTransition:{divideShape:"clone"},symbolSize:10},e}(oB);var I5=function(t){function e(e,n,r){var i=t.call(this)||this;return i.add(i.createLine(e,n,r)),i._updateEffectSymbol(e,n),i}return Sk(e,t),e.prototype.createLine=function(t,e,n){return new K0(t,e,n)},e.prototype._updateEffectSymbol=function(t,e){var n=t.getItemModel(e).getModel("effect"),r=n.get("symbolSize"),i=n.get("symbol");uI(r)||(r=[r,r]);var a=t.getItemVisual(e,"style"),o=n.get("color")||a&&a.stroke,s=this.childAt(1);this._symbolType!==i&&(this.remove(s),(s=EV(i,-.5,-.5,1,1,o)).z2=100,s.culling=!0,this.add(s)),s&&(s.setStyle("shadowColor",o),s.setStyle(n.getItemStyle(["color"])),s.scaleX=r[0],s.scaleY=r[1],s.setColor(o),this._symbolType=i,this._symbolScale=r,this._updateEffectAnimation(t,n,e))},e.prototype._updateEffectAnimation=function(t,e,n){var r=this.childAt(1);if(r){var i=t.getItemLayout(n),a=1e3*e.get("period"),o=e.get("loop"),s=e.get("roundTrip"),u=e.get("constantSpeed"),c=yI(e.get("delay"),(function(e){return e/t.count()*a/3}));if(r.ignore=!0,this._updateAnimationPoints(r,i),u>0&&(a=this._getLineLength(r)/u*1e3),a!==this._period||o!==this._loop||s!==this._roundTrip){r.stopAnimation();var l=void 0;l=cI(c)?c(n):c,r.__t>0&&(l=-a*r.__t),this._animateSymbol(r,a,l,o,s)}this._period=a,this._loop=o,this._roundTrip=s}},e.prototype._animateSymbol=function(t,e,n,r,i){if(e>0){t.__t=0;var a=this,o=t.animate("",r).when(i?2*e:e,{__t:i?2:1}).delay(n).during((function(){a._updateSymbolPosition(t)}));r||o.done((function(){a.remove(t)})),o.start()}},e.prototype._getLineLength=function(t){return JI(t.__p1,t.__cp1)+JI(t.__cp1,t.__p2)},e.prototype._updateAnimationPoints=function(t,e){t.__p1=e[0],t.__p2=e[1],t.__cp1=e[2]||[(e[0][0]+e[1][0])/2,(e[0][1]+e[1][1])/2]},e.prototype.updateData=function(t,e,n){this.childAt(0).updateData(t,e,n),this._updateEffectSymbol(t,e)},e.prototype._updateSymbolPosition=function(t){var e=t.__p1,n=t.__p2,r=t.__cp1,i=t.__t<1?t.__t:2-t.__t,a=[t.x,t.y],o=a.slice(),s=zC,u=$C;a[0]=s(e[0],r[0],n[0],i),a[1]=s(e[1],r[1],n[1],i);var c=t.__t<1?u(e[0],r[0],n[0],i):u(n[0],r[0],e[0],1-i),l=t.__t<1?u(e[1],r[1],n[1],i):u(n[1],r[1],e[1],1-i);t.rotation=-Math.atan2(l,c)-Math.PI/2,"line"!==this._symbolType&&"rect"!==this._symbolType&&"roundRect"!==this._symbolType||(void 0!==t.__lastT&&t.__lastT<t.__t?(t.scaleY=1.05*JI(o,a),1===i&&(a[0]=o[0]+(a[0]-o[0])/2,a[1]=o[1]+(a[1]-o[1])/2)):1===t.__lastT?t.scaleY=2*JI(e,a):t.scaleY=this._symbolScale[1]),t.__lastT=t.__t,t.ignore=!1,t.x=a[0],t.y=a[1]},e.prototype.updateLayout=function(t,e){this.childAt(0).updateLayout(t,e);var n=t.getItemModel(e).getModel("effect");this._updateEffectAnimation(t,n,e)},e}(nE);const M5=I5;var C5=function(t){function e(e,n,r){var i=t.call(this)||this;return i._createPolyline(e,n,r),i}return Sk(e,t),e.prototype._createPolyline=function(t,e,n){var r=t.getItemLayout(e),i=new sz({shape:{points:r}});this.add(i),this._updateCommonStl(t,e,n)},e.prototype.updateData=function(t,e,n){var r=t.hostModel;xL(this.childAt(0),{shape:{points:t.getItemLayout(e)}},r,e),this._updateCommonStl(t,e,n)},e.prototype._updateCommonStl=function(t,e,n){var r=this.childAt(0),i=t.getItemModel(e),a=n&&n.emphasisLineStyle,o=n&&n.focus,s=n&&n.blurScope,u=n&&n.emphasisDisabled;if(!n||t.hasItemOption){var c=i.getModel("emphasis");a=c.getModel("lineStyle").getLineStyle(),u=c.get("disabled"),o=c.get("focus"),s=c.get("blurScope")}r.useStyle(t.getItemVisual(e,"style")),r.style.fill=null,r.style.strokeNoScale=!0,r.ensureState("emphasis").style=a,cL(this,o,s,u)},e.prototype.updateLayout=function(t,e){this.childAt(0).setShape("points",t.getItemLayout(e))},e}(nE);const T5=C5;var A5=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e._lastFrame=0,e._lastFramePercent=0,e}return Sk(e,t),e.prototype.createLine=function(t,e,n){return new T5(t,e,n)},e.prototype._updateAnimationPoints=function(t,e){this._points=e;for(var n=[0],r=0,i=1;i<e.length;i++){var a=e[i-1],o=e[i];r+=JI(a,o),n.push(r)}if(0!==r){for(i=0;i<n.length;i++)n[i]/=r;this._offsets=n,this._length=r}else this._length=0},e.prototype._getLineLength=function(){return this._length},e.prototype._updateSymbolPosition=function(t){var e=t.__t<1?t.__t:2-t.__t,n=this._points,r=this._offsets,i=n.length;if(r){var a,o=this._lastFrame;if(e<this._lastFramePercent){for(a=Math.min(o+1,i-1);a>=0&&!(r[a]<=e);a--);a=Math.min(a,i-2)}else{for(a=o;a<i&&!(r[a]>e);a++);a=Math.min(a-1,i-2)}var s=(e-r[a])/(r[a+1]-r[a]),u=n[a],c=n[a+1];t.x=u[0]*(1-s)+s*c[0],t.y=u[1]*(1-s)+s*c[1];var l=t.__t<1?c[0]-u[0]:u[0]-c[0],h=t.__t<1?c[1]-u[1]:u[1]-c[1];t.rotation=-Math.atan2(h,l)-Math.PI/2,this._lastFrame=a,this._lastFramePercent=e,t.ignore=!1}},e}(M5);const E5=A5;var P5=function(){this.polyline=!1,this.curveness=0,this.segs=[]},D5=function(t){function e(e){var n=t.call(this,e)||this;return n._off=0,n.hoverDataIdx=-1,n}return Sk(e,t),e.prototype.reset=function(){this.notClear=!1,this._off=0},e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new P5},e.prototype.buildPath=function(t,e){var n,r=e.segs,i=e.curveness;if(e.polyline)for(n=this._off;n<r.length;){var a=r[n++];if(a>0){t.moveTo(r[n++],r[n++]);for(var o=1;o<a;o++)t.lineTo(r[n++],r[n++])}}else for(n=this._off;n<r.length;){var s=r[n++],u=r[n++],c=r[n++],l=r[n++];if(t.moveTo(s,u),i>0){var h=(s+c)/2-(u-l)*i,f=(u+l)/2-(c-s)*i;t.quadraticCurveTo(h,f,c,l)}else t.lineTo(c,l)}this.incremental&&(this._off=n,this.notClear=!0)},e.prototype.findDataIndex=function(t,e){var n=this.shape,r=n.segs,i=n.curveness,a=this.style.lineWidth;if(n.polyline)for(var o=0,s=0;s<r.length;){var u=r[s++];if(u>0)for(var c=r[s++],l=r[s++],h=1;h<u;h++){if(wD(c,l,f=r[s++],d=r[s++],a,t,e))return o}o++}else for(o=0,s=0;s<r.length;){c=r[s++],l=r[s++];var f=r[s++],d=r[s++];if(i>0){if(_D(c,l,(c+f)/2-(l-d)*i,(l+d)/2-(f-c)*i,f,d,a,t,e))return o}else if(wD(c,l,f,d,a,t,e))return o;o++}return-1},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e),r=this.getBoundingRect();return t=n[0],e=n[1],r.contain(t,e)?(this.hoverDataIdx=this.findDataIndex(t,e))>=0:(this.hoverDataIdx=-1,!1)},e.prototype.getBoundingRect=function(){var t=this._rect;if(!t){for(var e=this.shape.segs,n=1/0,r=1/0,i=-1/0,a=-1/0,o=0;o<e.length;){var s=e[o++],u=e[o++];n=Math.min(s,n),i=Math.max(s,i),r=Math.min(u,r),a=Math.max(u,a)}t=this._rect=new KM(n,r,i,a)}return t},e}(zD),O5=function(){function t(){this.group=new nE}return t.prototype.updateData=function(t){this._clear();var e=this._create();e.setShape({segs:t.getLayout("linesPoints")}),this._setCommon(e,t)},t.prototype.incrementalPrepareUpdate=function(t){this.group.removeAll(),this._clear()},t.prototype.incrementalUpdate=function(t,e){var n=this._newAdded[0],r=e.getLayout("linesPoints"),i=n&&n.shape.segs;if(i&&i.length<2e4){var a=i.length,o=new Float32Array(a+r.length);o.set(i),o.set(r,a),n.setShape({segs:o})}else{this._newAdded=[];var s=this._create();s.incremental=!0,s.setShape({segs:r}),this._setCommon(s,e),s.__startIndex=t.start}},t.prototype.remove=function(){this._clear()},t.prototype.eachRendered=function(t){this._newAdded[0]&&t(this._newAdded[0])},t.prototype._create=function(){var t=new D5({cursor:"default",ignoreCoarsePointer:!0});return this._newAdded.push(t),this.group.add(t),t},t.prototype._setCommon=function(t,e,n){var r=e.hostModel;t.setShape({polyline:r.get("polyline"),curveness:r.get(["lineStyle","curveness"])}),t.useStyle(r.getModel("lineStyle").getLineStyle()),t.style.strokeNoScale=!0;var i=e.getVisual("style");i&&i.stroke&&t.setStyle("stroke",i.stroke),t.setStyle("fill",null);var a=mO(t);a.seriesIndex=r.seriesIndex,t.on("mousemove",(function(e){a.dataIndex=null;var n=t.hoverDataIdx;n>0&&(a.dataIndex=n+t.__startIndex)}))},t.prototype._clear=function(){this._newAdded=[],this.group.removeAll()},t}();const L5=O5;var R5={seriesType:"lines",plan:cB(),reset:function(t){var e=t.coordinateSystem;if(e){var n=t.get("polyline"),r=t.pipelineContext.large;return{progress:function(i,a){var o=[];if(r){var s=void 0,u=i.end-i.start;if(n){for(var c=0,l=i.start;l<i.end;l++)c+=t.getLineCoordsCount(l);s=new Float32Array(u+2*c)}else s=new Float32Array(4*u);var h=0,f=[];for(l=i.start;l<i.end;l++){var d=t.getLineCoords(l,o);n&&(s[h++]=d);for(var p=0;p<d;p++)f=e.dataToPoint(o[p],!1,f),s[h++]=f[0],s[h++]=f[1]}a.setLayout("linesPoints",s)}else for(l=i.start;l<i.end;l++){var g=a.getItemModel(l),b=(d=t.getLineCoords(l,o),[]);if(n)for(var v=0;v<d;v++)b.push(e.dataToPoint(o[v]));else{b[0]=e.dataToPoint(o[0]),b[1]=e.dataToPoint(o[1]);var m=g.get(["lineStyle","curveness"]);+m&&(b[2]=[(b[0][0]+b[1][0])/2-(b[0][1]-b[1][1])*m,(b[0][1]+b[1][1])/2-(b[1][0]-b[0][0])*m])}a.setItemLayout(l,b)}}}}}};const N5=R5;var j5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this._updateLineDraw(r,t),a=t.get("zlevel"),o=t.get(["effect","trailLength"]),s=n.getZr(),u="svg"===s.painter.getType();u||s.painter.getLayer(a).clear(!0),null==this._lastZlevel||u||s.configLayer(this._lastZlevel,{motionBlur:!1}),this._showEffect(t)&&o>0&&(u||s.configLayer(a,{motionBlur:!0,lastFrameAlpha:Math.max(Math.min(o/10+.9,1),0)})),i.updateData(r);var c=t.get("clip",!0)&&MX(t.coordinateSystem,!1,t);c?this.group.setClipPath(c):this.group.removeClipPath(),this._lastZlevel=a,this._finished=!0},e.prototype.incrementalPrepareRender=function(t,e,n){var r=t.getData();this._updateLineDraw(r,t).incrementalPrepareUpdate(r),this._clearLayer(n),this._finished=!1},e.prototype.incrementalRender=function(t,e,n){this._lineDraw.incrementalUpdate(t,e.getData()),this._finished=t.end===e.getData().count()},e.prototype.eachRendered=function(t){this._lineDraw&&this._lineDraw.eachRendered(t)},e.prototype.updateTransform=function(t,e,n){var r=t.getData(),i=t.pipelineContext;if(!this._finished||i.large||i.progressiveRender)return{update:!0};var a=N5.reset(t,e,n);a.progress&&a.progress({start:0,end:r.count(),count:r.count()},r),this._lineDraw.updateLayout(),this._clearLayer(n)},e.prototype._updateLineDraw=function(t,e){var n=this._lineDraw,r=this._showEffect(e),i=!!e.get("polyline"),a=e.pipelineContext.large;return n&&r===this._hasEffet&&i===this._isPolyline&&a===this._isLargeDraw||(n&&n.remove(),n=this._lineDraw=a?new L5:new e2(i?r?E5:T5:r?M5:K0),this._hasEffet=r,this._isPolyline=i,this._isLargeDraw=a),this.group.add(n.group),n},e.prototype._showEffect=function(t){return!!t.get(["effect","show"])},e.prototype._clearLayer=function(t){var e=t.getZr();"svg"===e.painter.getType()||null==this._lastZlevel||e.painter.getLayer(this._lastZlevel).clear(!0)},e.prototype.remove=function(t,e){this._lineDraw&&this._lineDraw.remove(),this._lineDraw=null,this._clearLayer(e)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.type="lines",e}(w$);const F5=j5;var B5="undefined"==typeof Uint32Array?Array:Uint32Array,z5="undefined"==typeof Float64Array?Array:Float64Array;function $5(t){var e=t.data;e&&e[0]&&e[0][0]&&e[0][0].coord&&(t.data=nI(e,(function(t){var e={coords:[t[0].coord,t[1].coord]};return t[0].name&&(e.fromName=t[0].name),t[1].name&&(e.toName=t[1].name),Yk([e,t[0],t[1]])})))}var V5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.visualStyleAccessPath="lineStyle",n.visualDrawType="stroke",n}return Sk(e,t),e.prototype.init=function(e){e.data=e.data||[],$5(e);var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count)),t.prototype.init.apply(this,arguments)},e.prototype.mergeOption=function(e){if($5(e),e.data){var n=this._processFlatCoordsArray(e.data);this._flatCoords=n.flatCoords,this._flatCoordsOffset=n.flatCoordsOffset,n.flatCoords&&(e.data=new Float32Array(n.count))}t.prototype.mergeOption.apply(this,arguments)},e.prototype.appendData=function(t){var e=this._processFlatCoordsArray(t.data);e.flatCoords&&(this._flatCoords?(this._flatCoords=OI(this._flatCoords,e.flatCoords),this._flatCoordsOffset=OI(this._flatCoordsOffset,e.flatCoordsOffset)):(this._flatCoords=e.flatCoords,this._flatCoordsOffset=e.flatCoordsOffset),t.data=new Float32Array(e.count)),this.getRawData().appendData(t.data)},e.prototype._getCoordsFromItemModel=function(t){var e=this.getData().getItemModel(t);return e.option instanceof Array?e.option:e.getShallow("coords")},e.prototype.getLineCoordsCount=function(t){return this._flatCoordsOffset?this._flatCoordsOffset[2*t+1]:this._getCoordsFromItemModel(t).length},e.prototype.getLineCoords=function(t,e){if(this._flatCoordsOffset){for(var n=this._flatCoordsOffset[2*t],r=this._flatCoordsOffset[2*t+1],i=0;i<r;i++)e[i]=e[i]||[],e[i][0]=this._flatCoords[n+2*i],e[i][1]=this._flatCoords[n+2*i+1];return r}var a=this._getCoordsFromItemModel(t);for(i=0;i<a.length;i++)e[i]=e[i]||[],e[i][0]=a[i][0],e[i][1]=a[i][1];return a.length},e.prototype._processFlatCoordsArray=function(t){var e=0;if(this._flatCoords&&(e=this._flatCoords.length),fI(t[0])){for(var n=t.length,r=new B5(n),i=new z5(n),a=0,o=0,s=0,u=0;u<n;){s++;var c=t[u++];r[o++]=a+e,r[o++]=c;for(var l=0;l<c;l++){var h=t[u++],f=t[u++];i[a++]=h,i[a++]=f}}return{flatCoordsOffset:new Uint32Array(r.buffer,0,o),flatCoords:i,count:s}}return{flatCoordsOffset:null,flatCoords:null,count:t.length}},e.prototype.getInitialData=function(t,e){var n=new HU(["value"],this);return n.hasItemOption=!1,n.initData(t.data,[],(function(t,e,r,i){if(t instanceof Array)return NaN;n.hasItemOption=!0;var a=t.value;return null!=a?a instanceof Array?a[i]:a:void 0})),n},e.prototype.formatTooltip=function(t,e,n){var r=this.getData().getItemModel(t),i=r.get("name");if(i)return i;var a=r.get("fromName"),o=r.get("toName"),s=[];return null!=a&&s.push(a),null!=o&&s.push(o),jF("nameValue",{name:s.join(" > ")})},e.prototype.preventIncremental=function(){return!!this.get(["effect","show"])},e.prototype.getProgressive=function(){var t=this.option.progressive;return null==t?this.option.large?1e4:this.get("progressive"):t},e.prototype.getProgressiveThreshold=function(){var t=this.option.progressiveThreshold;return null==t?this.option.large?2e4:this.get("progressiveThreshold"):t},e.prototype.getZLevelKey=function(){var t=this.getModel("effect"),e=t.get("trailLength");return this.getData().count()>this.getProgressiveThreshold()?this.id:t.get("show")&&e>0?e+"":""},e.type="series.lines",e.dependencies=["grid","polar","geo","calendar"],e.defaultOption={coordinateSystem:"geo",z:2,legendHoverLink:!0,xAxisIndex:0,yAxisIndex:0,symbol:["none","none"],symbolSize:[10,10],geoIndex:0,effect:{show:!1,period:4,constantSpeed:0,symbol:"circle",symbolSize:3,loop:!0,trailLength:.2},large:!1,largeThreshold:2e3,polyline:!1,clip:!0,label:{show:!1,position:"end"},lineStyle:{opacity:.5}},e}(oB);const H5=V5;function W5(t){return t instanceof Array||(t=[t,t]),t}const G5={seriesType:"lines",reset:function(t){var e=W5(t.get("symbol")),n=W5(t.get("symbolSize")),r=t.getData();return r.setVisual("fromSymbol",e&&e[0]),r.setVisual("toSymbol",e&&e[1]),r.setVisual("fromSymbolSize",n&&n[0]),r.setVisual("toSymbolSize",n&&n[1]),{dataEach:r.hasItemOption?function(t,e){var n=t.getItemModel(e),r=W5(n.getShallow("symbol",!0)),i=W5(n.getShallow("symbolSize",!0));r[0]&&t.setItemVisual(e,"fromSymbol",r[0]),r[1]&&t.setItemVisual(e,"toSymbol",r[1]),i[0]&&t.setItemVisual(e,"fromSymbolSize",i[0]),i[1]&&t.setItemVisual(e,"toSymbolSize",i[1])}:null}}};var U5=function(){function t(){this.blurSize=30,this.pointSize=20,this.maxOpacity=1,this.minOpacity=0,this._gradientPixels={inRange:null,outOfRange:null};var t=Dk.createCanvas();this.canvas=t}return t.prototype.update=function(t,e,n,r,i,a){var o=this._getBrush(),s=this._getGradient(i,"inRange"),u=this._getGradient(i,"outOfRange"),c=this.pointSize+this.blurSize,l=this.canvas,h=l.getContext("2d"),f=t.length;l.width=e,l.height=n;for(var d=0;d<f;++d){var p=t[d],g=p[0],b=p[1],v=r(p[2]);h.globalAlpha=v,h.drawImage(o,g-c,b-c)}if(!l.width||!l.height)return l;for(var m=h.getImageData(0,0,l.width,l.height),y=m.data,w=0,x=y.length,_=this.minOpacity,S=this.maxOpacity-_;w<x;){v=y[w+3]/256;var k=4*Math.floor(255*v);if(v>0){var I=a(v)?s:u;v>0&&(v=v*S+_),y[w++]=I[k],y[w++]=I[k+1],y[w++]=I[k+2],y[w++]=I[k+3]*v*256}else w+=4}return h.putImageData(m,0,0),l},t.prototype._getBrush=function(){var t=this._brushCanvas||(this._brushCanvas=Dk.createCanvas()),e=this.pointSize+this.blurSize,n=2*e;t.width=n,t.height=n;var r=t.getContext("2d");return r.clearRect(0,0,n,n),r.shadowOffsetX=n,r.shadowBlur=this.blurSize,r.shadowColor="#000",r.beginPath(),r.arc(-e,e,this.pointSize,0,2*Math.PI,!0),r.closePath(),r.fill(),t},t.prototype._getGradient=function(t,e){for(var n=this._gradientPixels,r=n[e]||(n[e]=new Uint8ClampedArray(1024)),i=[0,0,0,0],a=0,o=0;o<256;o++)t[e](o/255,!0,i),r[a++]=i[0],r[a++]=i[1],r[a++]=i[2],r[a++]=i[3];return r},t}();const X5=U5;function q5(t){var e=t.dimensions;return"lng"===e[0]&&"lat"===e[1]}var Y5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r;e.eachComponent("visualMap",(function(e){e.eachTargetSeries((function(n){n===t&&(r=e)}))})),this._progressiveEls=null,this.group.removeAll();var i=t.coordinateSystem;"cartesian2d"===i.type||"calendar"===i.type?this._renderOnCartesianAndCalendar(t,n,0,t.getData().count()):q5(i)&&this._renderOnGeo(i,t,r,n)},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll()},e.prototype.incrementalRender=function(t,e,n,r){var i=e.coordinateSystem;i&&(q5(i)?this.render(e,n,r):(this._progressiveEls=[],this._renderOnCartesianAndCalendar(e,r,t.start,t.end,!0)))},e.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},e.prototype._renderOnCartesianAndCalendar=function(t,e,n,r,i){var a,o,s,u,c=t.coordinateSystem,l=CX(c,"cartesian2d");if(l){var h=c.getAxis("x"),f=c.getAxis("y");0,a=h.getBandWidth()+.5,o=f.getBandWidth()+.5,s=h.scale.getExtent(),u=f.scale.getExtent()}for(var d=this.group,p=t.getData(),g=t.getModel(["emphasis","itemStyle"]).getItemStyle(),b=t.getModel(["blur","itemStyle"]).getItemStyle(),v=t.getModel(["select","itemStyle"]).getItemStyle(),m=t.get(["itemStyle","borderRadius"]),y=DL(t),w=t.getModel("emphasis"),x=w.get("focus"),_=w.get("blurScope"),S=w.get("disabled"),k=l?[p.mapDimension("x"),p.mapDimension("y"),p.mapDimension("value")]:[p.mapDimension("time"),p.mapDimension("value")],I=n;I<r;I++){var M=void 0,C=p.getItemVisual(I,"style");if(l){var T=p.get(k[0],I),A=p.get(k[1],I);if(isNaN(p.get(k[2],I))||isNaN(T)||isNaN(A)||T<s[0]||T>s[1]||A<u[0]||A>u[1])continue;var E=c.dataToPoint([T,A]);M=new eO({shape:{x:E[0]-a/2,y:E[1]-o/2,width:a,height:o},style:C})}else{if(isNaN(p.get(k[1],I)))continue;M=new eO({z2:1,shape:c.dataToRect([p.get(k[0],I)]).contentShape,style:C})}if(p.hasItemOption){var P=p.getItemModel(I),D=P.getModel("emphasis");g=D.getModel("itemStyle").getItemStyle(),b=P.getModel(["blur","itemStyle"]).getItemStyle(),v=P.getModel(["select","itemStyle"]).getItemStyle(),m=P.get(["itemStyle","borderRadius"]),x=D.get("focus"),_=D.get("blurScope"),S=D.get("disabled"),y=DL(P)}M.shape.r=m;var O=t.getRawValue(I),L="-";O&&null!=O[2]&&(L=O[2]+""),PL(M,y,{labelFetcher:t,labelDataIndex:I,defaultOpacity:C.opacity,defaultText:L}),M.ensureState("emphasis").style=g,M.ensureState("blur").style=b,M.ensureState("select").style=v,cL(M,x,_,S),M.incremental=i,i&&(M.states.emphasis.hoverLayer=!0),d.add(M),p.setItemGraphicEl(I,M),this._progressiveEls&&this._progressiveEls.push(M)}},e.prototype._renderOnGeo=function(t,e,n,r){var i=n.targetVisuals.inRange,a=n.targetVisuals.outOfRange,o=e.getData(),s=this._hmLayer||this._hmLayer||new X5;s.blurSize=e.get("blurSize"),s.pointSize=e.get("pointSize"),s.minOpacity=e.get("minOpacity"),s.maxOpacity=e.get("maxOpacity");var u=t.getViewRect().clone(),c=t.getRoamTransform();u.applyTransform(c);var l=Math.max(u.x,0),h=Math.max(u.y,0),f=Math.min(u.width+u.x,r.getWidth()),d=Math.min(u.height+u.y,r.getHeight()),p=f-l,g=d-h,b=[o.mapDimension("lng"),o.mapDimension("lat"),o.mapDimension("value")],v=o.mapArray(b,(function(e,n,r){var i=t.dataToPoint([e,n]);return i[0]-=l,i[1]-=h,i.push(r),i})),m=n.getExtent(),y="visualMap.continuous"===n.type?function(t,e){var n=t[1]-t[0];return e=[(e[0]-t[0])/n,(e[1]-t[0])/n],function(t){return t>=e[0]&&t<=e[1]}}(m,n.option.range):function(t,e,n){var r=t[1]-t[0],i=(e=nI(e,(function(e){return{interval:[(e.interval[0]-t[0])/r,(e.interval[1]-t[0])/r]}}))).length,a=0;return function(t){var r;for(r=a;r<i;r++)if((o=e[r].interval)[0]<=t&&t<=o[1]){a=r;break}if(r===i)for(r=a-1;r>=0;r--){var o;if((o=e[r].interval)[0]<=t&&t<=o[1]){a=r;break}}return r>=0&&r<i&&n[r]}}(m,n.getPieceList(),n.option.selected);s.update(v,p,g,i.color.getNormalizer(),{inRange:i.color.getColorMapper(),outOfRange:a.color.getColorMapper()},y);var w=new XD({style:{width:p,height:g,x:l,y:h,image:s.canvas},silent:!0});this.group.add(w)},e.type="heatmap",e}(w$);const K5=Y5;const Z5=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){return QU(null,this,{generateCoord:"value"})},e.prototype.preventIncremental=function(){var t=QN.get(this.get("coordinateSystem"));if(t&&t.dimensions)return"lng"===t.dimensions[0]&&"lat"===t.dimensions[1]},e.type="series.heatmap",e.dependencies=["grid","geo","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,geoIndex:0,blurSize:30,pointSize:20,maxOpacity:1,minOpacity:0,select:{itemStyle:{borderColor:"#212121"}}},e}(oB);var Q5=["itemStyle","borderWidth"],J5=[{xy:"x",wh:"width",index:0,posDesc:["left","right"]},{xy:"y",wh:"height",index:1,posDesc:["top","bottom"]}],t6=new DB;function e6(t,e,n,r){var i=t.getItemLayout(e),a=n.get("symbolRepeat"),o=n.get("symbolClip"),s=n.get("symbolPosition")||"start",u=(n.get("symbolRotate")||0)*Math.PI/180||0,c=n.get("symbolPatternSize")||2,l=n.isAnimationEnabled(),h={dataIndex:e,layout:i,itemModel:n,symbolType:t.getItemVisual(e,"symbol")||"circle",style:t.getItemVisual(e,"style"),symbolClip:o,symbolRepeat:a,symbolRepeatDirection:n.get("symbolRepeatDirection"),symbolPatternSize:c,rotation:u,animationModel:l?n:null,hoverScale:l&&n.get(["emphasis","scale"]),z2:n.getShallow("z",!0)||0};!function(t,e,n,r,i){var a,o=r.valueDim,s=t.get("symbolBoundingData"),u=r.coordSys.getOtherAxis(r.coordSys.getBaseAxis()),c=u.toGlobalCoord(u.dataToCoord(0)),l=1-+(n[o.wh]<=0);if(uI(s)){var h=[n6(u,s[0])-c,n6(u,s[1])-c];h[1]<h[0]&&h.reverse(),a=h[l]}else a=null!=s?n6(u,s)-c:e?r.coordSysExtent[o.index][l]-c:n[o.wh];i.boundingLength=a,e&&(i.repeatCutLength=n[o.wh]);i.pxSign=a>0?1:-1}(n,a,i,r,h),function(t,e,n,r,i,a,o,s,u,c){var l,h=u.valueDim,f=u.categoryDim,d=Math.abs(n[f.wh]),p=t.getItemVisual(e,"symbolSize");l=uI(p)?p.slice():null==p?["100%","100%"]:[p,p];l[f.index]=cE(l[f.index],d),l[h.index]=cE(l[h.index],r?d:Math.abs(a)),c.symbolSize=l,(c.symbolScale=[l[0]/s,l[1]/s])[h.index]*=(u.isHorizontal?-1:1)*o}(t,e,i,a,0,h.boundingLength,h.pxSign,c,r,h),function(t,e,n,r,i){var a=t.get(Q5)||0;a&&(t6.attr({scaleX:e[0],scaleY:e[1],rotation:n}),t6.updateTransform(),a/=t6.getLineScale(),a*=e[r.valueDim.index]);i.valueLineWidth=a||0}(n,h.symbolScale,u,r,h);var f=h.symbolSize,d=DV(n.get("symbolOffset"),f);return function(t,e,n,r,i,a,o,s,u,c,l,h){var f=l.categoryDim,d=l.valueDim,p=h.pxSign,g=Math.max(e[d.index]+s,0),b=g;if(r){var v=Math.abs(u),m=yI(t.get("symbolMargin"),"15%")+"",y=!1;m.lastIndexOf("!")===m.length-1&&(y=!0,m=m.slice(0,m.length-1));var w=cE(m,e[d.index]),x=Math.max(g+2*w,0),_=y?0:2*w,S=ME(r),k=S?r:v6((v+_)/x);x=g+2*(w=(v-k*g)/2/(y?k:Math.max(k-1,1))),_=y?0:2*w,S||"fixed"===r||(k=c?v6((Math.abs(c)+_)/x):0),b=k*x-_,h.repeatTimes=k,h.symbolMargin=w}var I=p*(b/2),M=h.pathPosition=[];M[f.index]=n[f.wh]/2,M[d.index]="start"===o?I:"end"===o?u-I:u/2,a&&(M[0]+=a[0],M[1]+=a[1]);var C=h.bundlePosition=[];C[f.index]=n[f.xy],C[d.index]=n[d.xy];var T=h.barRectShape=Kk({},n);T[d.wh]=p*Math.max(Math.abs(n[d.wh]),Math.abs(M[d.index]+I)),T[f.wh]=n[f.wh];var A=h.clipShape={};A[f.xy]=-n[f.xy],A[f.wh]=l.ecSize[f.wh],A[d.xy]=0,A[d.wh]=n[d.wh]}(n,f,i,a,0,d,s,h.valueLineWidth,h.boundingLength,h.repeatCutLength,r,h),h}function n6(t,e){return t.toGlobalCoord(t.dataToCoord(t.scale.parse(e)))}function r6(t){var e=t.symbolPatternSize,n=EV(t.symbolType,-e/2,-e/2,e,e);return n.attr({culling:!0}),"image"!==n.type&&n.setStyle({strokeNoScale:!0}),n}function i6(t,e,n,r){var i=t.__pictorialBundle,a=n.symbolSize,o=n.valueLineWidth,s=n.pathPosition,u=e.valueDim,c=n.repeatTimes||0,l=0,h=a[e.valueDim.index]+o+2*n.symbolMargin;for(p6(t,(function(t){t.__pictorialAnimationIndex=l,t.__pictorialRepeatTimes=c,l<c?g6(t,null,p(l),n,r):g6(t,null,{scaleX:0,scaleY:0},n,r,(function(){i.remove(t)})),l++}));l<c;l++){var f=r6(n);f.__pictorialAnimationIndex=l,f.__pictorialRepeatTimes=c,i.add(f);var d=p(l);g6(f,{x:d.x,y:d.y,scaleX:0,scaleY:0},{scaleX:d.scaleX,scaleY:d.scaleY,rotation:d.rotation},n,r)}function p(t){var e=s.slice(),r=n.pxSign,i=t;return("start"===n.symbolRepeatDirection?r>0:r<0)&&(i=c-1-t),e[u.index]=h*(i-c/2+.5)+s[u.index],{x:e[0],y:e[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation}}}function a6(t,e,n,r){var i=t.__pictorialBundle,a=t.__pictorialMainPath;a?g6(a,null,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:n.symbolScale[0],scaleY:n.symbolScale[1],rotation:n.rotation},n,r):(a=t.__pictorialMainPath=r6(n),i.add(a),g6(a,{x:n.pathPosition[0],y:n.pathPosition[1],scaleX:0,scaleY:0,rotation:n.rotation},{scaleX:n.symbolScale[0],scaleY:n.symbolScale[1]},n,r))}function o6(t,e,n){var r=Kk({},e.barRectShape),i=t.__pictorialBarRect;i?g6(i,null,{shape:r},e,n):((i=t.__pictorialBarRect=new eO({z2:2,shape:r,silent:!0,style:{stroke:"transparent",fill:"transparent",lineWidth:0}})).disableMorphing=!0,t.add(i))}function s6(t,n,r,i){if(r.symbolClip){var a=t.__pictorialClipPath,o=Kk({},r.clipShape),s=n.valueDim,u=r.animationModel,c=r.dataIndex;if(a)xL(a,{shape:o},u,c);else{o[s.wh]=0,a=new eO({shape:o}),t.__pictorialBundle.setClipPath(a),t.__pictorialClipPath=a;var l={};l[s.wh]=r.clipShape[s.wh],e[i?"updateProps":"initProps"](a,{shape:l},u,c)}}}function u6(t,e){var n=t.getItemModel(e);return n.getAnimationDelayParams=c6,n.isAnimationEnabled=l6,n}function c6(t){return{index:t.__pictorialAnimationIndex,count:t.__pictorialRepeatTimes}}function l6(){return this.parentModel.isAnimationEnabled()&&!!this.getShallow("animation")}function h6(t,e,n,r){var i=new nE,a=new nE;return i.add(a),i.__pictorialBundle=a,a.x=n.bundlePosition[0],a.y=n.bundlePosition[1],n.symbolRepeat?i6(i,e,n):a6(i,0,n),o6(i,n,r),s6(i,e,n,r),i.__pictorialShapeStr=d6(t,n),i.__pictorialSymbolMeta=n,i}function f6(t,e,n,r){var i=r.__pictorialBarRect;i&&i.removeTextContent();var a=[];p6(r,(function(t){a.push(t)})),r.__pictorialMainPath&&a.push(r.__pictorialMainPath),r.__pictorialClipPath&&(n=null),eI(a,(function(t){kL(t,{scaleX:0,scaleY:0},n,e,(function(){r.parent&&r.parent.remove(r)}))})),t.setItemGraphicEl(e,null)}function d6(t,e){return[t.getItemVisual(e.dataIndex,"symbol")||"none",!!e.symbolRepeat,!!e.symbolClip].join(":")}function p6(t,e,n){eI(t.__pictorialBundle.children(),(function(r){r!==t.__pictorialBarRect&&e.call(n,r)}))}function g6(t,n,r,i,a,o){n&&t.attr(n),i.symbolClip&&!a?r&&t.attr(r):r&&e[a?"updateProps":"initProps"](t,r,i.animationModel,i.dataIndex,o)}function b6(t,e,n){var r=n.dataIndex,i=n.itemModel,a=i.getModel("emphasis"),o=a.getModel("itemStyle").getItemStyle(),s=i.getModel(["blur","itemStyle"]).getItemStyle(),u=i.getModel(["select","itemStyle"]).getItemStyle(),c=i.getShallow("cursor"),l=a.get("focus"),h=a.get("blurScope"),f=a.get("scale");p6(t,(function(t){if(t instanceof XD){var e=t.style;t.useStyle(Kk({image:e.image,x:e.x,y:e.y,width:e.width,height:e.height},n.style))}else t.useStyle(n.style);var r=t.ensureState("emphasis");r.style=o,f&&(r.scaleX=1.1*t.scaleX,r.scaleY=1.1*t.scaleY),t.ensureState("blur").style=s,t.ensureState("select").style=u,c&&(t.cursor=c),t.z2=n.z2}));var d=e.valueDim.posDesc[+(n.boundingLength>0)];PL(t.__pictorialBarRect,DL(i),{labelFetcher:e.seriesModel,labelDataIndex:r,defaultText:eX(e.seriesModel.getData(),r),inheritColor:n.style.fill,defaultOpacity:n.style.opacity,defaultOutsidePosition:d}),cL(t,l,h,a.get("disabled"))}function v6(t){var e=Math.round(t);return Math.abs(t-e)<1e-4?e:Math.ceil(t)}const m6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=this.group,i=t.getData(),a=this._data,o=t.coordinateSystem,s=o.getBaseAxis().isHorizontal(),u=o.master.getRect(),c={ecSize:{width:n.getWidth(),height:n.getHeight()},seriesModel:t,coordSys:o,coordSysExtent:[[u.x,u.x+u.width],[u.y,u.y+u.height]],isHorizontal:s,valueDim:J5[+s],categoryDim:J5[1-+s]};return i.diff(a).add((function(t){if(i.hasValue(t)){var e=u6(i,t),n=e6(i,t,e,c),a=h6(i,c,n);i.setItemGraphicEl(t,a),r.add(a),b6(a,c,n)}})).update((function(t,e){var n=a.getItemGraphicEl(e);if(i.hasValue(t)){var o=u6(i,t),s=e6(i,t,o,c),u=d6(i,s);n&&u!==n.__pictorialShapeStr&&(r.remove(n),i.setItemGraphicEl(t,null),n=null),n?function(t,e,n){var r=n.animationModel,i=n.dataIndex;xL(t.__pictorialBundle,{x:n.bundlePosition[0],y:n.bundlePosition[1]},r,i),n.symbolRepeat?i6(t,e,n,!0):a6(t,e,n,!0);o6(t,n,!0),s6(t,e,n,!0)}(n,c,s):n=h6(i,c,s,!0),i.setItemGraphicEl(t,n),n.__pictorialSymbolMeta=s,r.add(n),b6(n,c,s)}else r.remove(n)})).remove((function(t){var e=a.getItemGraphicEl(t);e&&f6(a,t,e.__pictorialSymbolMeta.animationModel,e)})).execute(),this._data=i,this.group},e.prototype.remove=function(t,e){var n=this.group,r=this._data;t.get("animation")?r&&r.eachItemGraphicEl((function(e){f6(r,mO(e).dataIndex,t,e)})):n.removeAll()},e.type="pictorialBar",e}(w$);const y6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n.defaultSymbol="roundRect",n}return Sk(e,t),e.prototype.getInitialData=function(e){return e.stack=null,t.prototype.getInitialData.apply(this,arguments)},e.type="series.pictorialBar",e.dependencies=["grid"],e.defaultOption=aR(eq.defaultOption,{symbol:"circle",symbolSize:null,symbolRotate:null,symbolPosition:null,symbolOffset:null,symbolMargin:null,symbolRepeat:!1,symbolRepeatDirection:"end",symbolClip:!1,symbolBoundingData:null,symbolPatternSize:400,barGap:"-100%",progressive:0,emphasis:{scale:!1},select:{itemStyle:{borderColor:"#212121"}}}),e}(eq);var w6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._layers=[],n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=t.getData(),i=this,a=this.group,o=t.getLayerSeries(),s=r.getLayout("layoutInfo"),u=s.rect,c=s.boundaryGap;function l(t){return t.name}a.x=0,a.y=u.y+c[0];var h=new mU(this._layersSeries||[],o,l,l),f=[];function d(e,n,s){var u=i._layers;if("remove"!==e){for(var c,l,h=[],d=[],p=o[n].indices,g=0;g<p.length;g++){var b=r.getItemLayout(p[g]),v=b.x,m=b.y0,y=b.y;h.push(v,m),d.push(v,m+y),c=r.getItemVisual(p[g],"style")}var w=r.getItemLayout(p[0]),x=t.getModel("label").get("margin"),_=t.getModel("emphasis");if("add"===e){var S=f[n]=new nE;l=new SX({shape:{points:h,stackedOnPoints:d,smooth:.4,stackedOnSmooth:.4,smoothConstraint:!1},z2:0}),S.add(l),a.add(S),t.isAnimationEnabled()&&l.setClipPath(function(t,e,n){var r=new eO({shape:{x:t.x-10,y:t.y-10,width:0,height:t.height+20}});return _L(r,{shape:{x:t.x-50,width:t.width+100,height:t.height+20}},e,n),r}(l.getBoundingRect(),t,(function(){l.removeClipPath()})))}else{S=u[s];l=S.childAt(0),a.add(S),f[n]=S,xL(l,{shape:{points:h,stackedOnPoints:d}},t),CL(l)}PL(l,DL(t),{labelDataIndex:p[g-1],defaultText:r.getName(p[g-1]),inheritColor:c.fill},{normal:{verticalAlign:"middle"}}),l.setTextConfig({position:null,local:!0});var k=l.getTextContent();k&&(k.x=w.x-x,k.y=w.y0+w.y/2),l.useStyle(c),r.setItemGraphicEl(n,l),dL(l,t),cL(l,_.get("focus"),_.get("blurScope"),_.get("disabled"))}else a.remove(u[n])}h.add(oI(d,this,"add")).update(oI(d,this,"update")).remove(oI(d,this,"remove")).execute(),this._layersSeries=o,this._layers=f},e.type="themeRiver",e}(w$);const x6=w6;var _6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(e){t.prototype.init.apply(this,arguments),this.legendVisualProvider=new Hq(oI(this.getData,this),oI(this.getRawData,this))},e.prototype.fixData=function(t){var e=t.length,n={},r=JE(t,(function(t){return n.hasOwnProperty(t[0]+"")||(n[t[0]+""]=-1),t[2]})),i=[];r.buckets.each((function(t,e){i.push({name:e,dataList:t})}));for(var a=i.length,o=0;o<a;++o){for(var s=i[o].name,u=0;u<i[o].dataList.length;++u){var c=i[o].dataList[u][0]+"";n[c]=o}for(var c in n)n.hasOwnProperty(c)&&n[c]!==o&&(n[c]=o,t[e]=[c,0,s],e++)}return t},e.prototype.getInitialData=function(t,e){for(var n=this.getReferringComponents("singleAxis",YE).models[0].get("type"),r=iI(t.data,(function(t){return void 0!==t[2]})),i=this.fixData(r||[]),a=[],o=this.nameMap=DI(),s=0,u=0;u<i.length;++u)a.push(i[u][2]),o.get(i[u][2])||(o.set(i[u][2],s),s++);var c=WU(i,{coordDimensions:["single"],dimensionsDefine:[{name:"time",type:xU(n)},{name:"value",type:"float"},{name:"name",type:"ordinal"}],encodeDefine:{single:0,value:1,itemName:2}}).dimensions,l=new HU(c,this);return l.initData(i),l},e.prototype.getLayerSeries=function(){for(var t=this.getData(),e=t.count(),n=[],r=0;r<e;++r)n[r]=r;var i=t.mapDimension("single"),a=JE(n,(function(e){return t.get("name",e)})),o=[];return a.buckets.each((function(e,n){e.sort((function(e,n){return t.get(i,e)-t.get(i,n)})),o.push({name:n,indices:e})})),o},e.prototype.getAxisTooltipData=function(t,e,n){uI(t)||(t=t?[t]:[]);for(var r,i=this.getData(),a=this.getLayerSeries(),o=[],s=a.length,u=0;u<s;++u){for(var c=Number.MAX_VALUE,l=-1,h=a[u].indices.length,f=0;f<h;++f){var d=i.get(t[0],a[u].indices[f]),p=Math.abs(d-e);p<=c&&(r=d,c=p,l=a[u].indices[f])}o.push(l)}return{dataIndices:o,nestestValue:r}},e.prototype.formatTooltip=function(t,e,n){var r=this.getData();return jF("nameValue",{name:r.getName(t),value:r.get(r.mapDimension("value"),t)})},e.type="series.themeRiver",e.dependencies=["singleAxis"],e.defaultOption={z:2,colorBy:"data",coordinateSystem:"singleAxis",boundaryGap:["10%","10%"],singleAxisIndex:0,animationEasing:"linear",label:{margin:4,show:!0,position:"left",fontSize:11},emphasis:{label:{show:!0}}},e}(oB);const S6=_6;function k6(t,e){t.eachSeriesByType("themeRiver",(function(t){var e=t.getData(),n=t.coordinateSystem,r={},i=n.getRect();r.rect=i;var a=t.get("boundaryGap"),o=n.getAxis();(r.boundaryGap=a,"horizontal"===o.orient)?(a[0]=cE(a[0],i.height),a[1]=cE(a[1],i.height),I6(e,t,i.height-a[0]-a[1])):(a[0]=cE(a[0],i.width),a[1]=cE(a[1],i.width),I6(e,t,i.width-a[0]-a[1]));e.setLayout("layoutInfo",r)}))}function I6(t,e,n){if(t.count())for(var r,i=e.coordinateSystem,a=e.getLayerSeries(),o=t.mapDimension("single"),s=t.mapDimension("value"),u=nI(a,(function(e){return nI(e.indices,(function(e){var n=i.dataToPoint(t.get(o,e));return n[1]=t.get(s,e),n}))})),c=function(t){for(var e=t.length,n=t[0].length,r=[],i=[],a=0,o=0;o<n;++o){for(var s=0,u=0;u<e;++u)s+=t[u][o][1];s>a&&(a=s),r.push(s)}for(var c=0;c<n;++c)i[c]=(a-r[c])/2;a=0;for(var l=0;l<n;++l){var h=r[l]+i[l];h>a&&(a=h)}return{y0:i,max:a}}(u),l=c.y0,h=n/c.max,f=a.length,d=a[0].indices.length,p=0;p<d;++p){r=l[p]*h,t.setItemLayout(a[0].indices[p],{layerIndex:0,x:u[0][p][0],y0:r,y:u[0][p][1]*h});for(var g=1;g<f;++g)r+=u[g-1][p][1]*h,t.setItemLayout(a[g].indices[p],{layerIndex:g,x:u[g][p][0],y0:r,y:u[g][p][1]*h})}}var M6=function(t){function e(e,n,r,i){var a=t.call(this)||this;a.z2=2,a.textConfig={inside:!0},mO(a).seriesIndex=n.seriesIndex;var o=new vO({z2:4,silent:e.getModel().get(["label","silent"])});return a.setTextContent(o),a.updateData(!0,e,n,r,i),a}return Sk(e,t),e.prototype.updateData=function(t,e,n,r,i){this.node=e,e.piece=this,n=n||this._seriesModel,r=r||this._ecModel;var a=this;mO(a).dataIndex=e.dataIndex;var o=e.getModel(),s=o.getModel("emphasis"),u=e.getLayout(),c=Kk({},u);c.label=null;var l=e.getVisual("style");l.lineJoin="bevel";var h=e.getVisual("decal");h&&(l.decal=rH(h,i));var f=uq(o.getModel("itemStyle"),c,!0);Kk(c,f),eI(kO,(function(t){var e=a.ensureState(t),n=o.getModel([t,"itemStyle"]);e.style=n.getItemStyle();var r=uq(n,c);r&&(e.shape=r)})),t?(a.setShape(c),a.shape.r=u.r0,_L(a,{shape:{r:u.r}},n,e.dataIndex)):(xL(a,{shape:c},n),CL(a)),a.useStyle(l),this._updateLabel(n);var d=o.getShallow("cursor");d&&a.attr("cursor",d),this._seriesModel=n||this._seriesModel,this._ecModel=r||this._ecModel;var p=s.get("focus");cL(this,"ancestor"===p?e.getAncestorsIndices():"descendant"===p?e.getDescendantIndices():p,s.get("blurScope"),s.get("disabled"))},e.prototype._updateLabel=function(t){var e=this,n=this.node.getModel(),r=n.getModel("label"),i=this.node.getLayout(),a=i.endAngle-i.startAngle,o=(i.startAngle+i.endAngle)/2,s=Math.cos(o),u=Math.sin(o),c=this,l=c.getTextContent(),h=this.node.dataIndex,f=r.get("minAngle")/180*Math.PI,d=r.get("show")&&!(null!=f&&Math.abs(a)<f);function p(t,e){var n=t.get(e);return null==n?r.get(e):n}l.ignore=!d,eI(IO,(function(r){var f="normal"===r?n.getModel("label"):n.getModel([r,"label"]),d="normal"===r,g=d?l:l.ensureState(r),b=t.getFormattedLabel(h,r);d&&(b=b||e.node.name),g.style=OL(f,{},null,"normal"!==r,!0),b&&(g.style.text=b);var v=f.get("show");null==v||d||(g.ignore=!v);var m,y=p(f,"position"),w=d?c:c.states[r],x=w.style.fill;w.textConfig={outsideFill:"inherit"===f.get("color")?x:null,inside:"outside"!==y};var _=p(f,"distance")||0,S=p(f,"align");"outside"===y?(m=i.r+_,S=o>Math.PI/2?"right":"left"):S&&"center"!==S?"left"===S?(m=i.r0+_,o>Math.PI/2&&(S="right")):"right"===S&&(m=i.r-_,o>Math.PI/2&&(S="left")):(m=a===2*Math.PI&&0===i.r0?0:(i.r+i.r0)/2,S="center"),g.style.align=S,g.style.verticalAlign=p(f,"verticalAlign")||"middle",g.x=m*s+i.cx,g.y=m*u+i.cy;var k=p(f,"rotate"),I=0;"radial"===k?(I=kD(-o))>Math.PI/2&&I<1.5*Math.PI&&(I+=Math.PI):"tangential"===k?(I=Math.PI/2-o)>Math.PI/2?I-=Math.PI:I<-Math.PI/2&&(I+=Math.PI):fI(k)&&(I=k*Math.PI/180),g.rotation=I})),l.dirtyStyle()},e}(ZB);const C6=M6;var T6="sunburstRootToNode",A6="sunburstHighlight";var E6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n,r){var i=this;this.seriesModel=t,this.api=n,this.ecModel=e;var a=t.getData(),o=a.tree.root,s=t.getViewRoot(),u=this.group,c=t.get("renderLabelForZeroData"),l=[];s.eachNode((function(t){l.push(t)}));var h=this._oldChildren||[];!function(r,i){if(0===r.length&&0===i.length)return;function s(t){return t.getId()}function l(s,l){!function(r,i){c||!r||r.getValue()||(r=null);if(r!==o&&i!==o)if(i&&i.piece)r?(i.piece.updateData(!1,r,t,e,n),a.setItemGraphicEl(r.dataIndex,i.piece)):function(t){if(!t)return;t.piece&&(u.remove(t.piece),t.piece=null)}(i);else if(r){var s=new C6(r,t,e,n);u.add(s),a.setItemGraphicEl(r.dataIndex,s)}}(null==s?null:r[s],null==l?null:i[l])}new mU(i,r,s,s).add(l).update(l).remove(sI(l,null)).execute()}(l,h),function(r,a){a.depth>0?(i.virtualPiece?i.virtualPiece.updateData(!1,r,t,e,n):(i.virtualPiece=new C6(r,t,e,n),u.add(i.virtualPiece)),a.piece.off("click"),i.virtualPiece.on("click",(function(t){i._rootToNode(a.parentNode)}))):i.virtualPiece&&(u.remove(i.virtualPiece),i.virtualPiece=null)}(o,s),this._initEvents(),this._oldChildren=l},e.prototype._initEvents=function(){var t=this;this.group.off("click"),this.group.on("click",(function(e){var n=!1;t.seriesModel.getViewRoot().eachNode((function(r){if(!n&&r.piece&&r.piece===e.target){var i=r.getModel().get("nodeClick");if("rootToNode"===i)t._rootToNode(r);else if("link"===i){var a=r.getModel(),o=a.get("link");if(o)QR(o,a.get("target",!0)||"_blank")}n=!0}}))}))},e.prototype._rootToNode=function(t){t!==this.seriesModel.getViewRoot()&&this.api.dispatchAction({type:T6,from:this.uid,seriesId:this.seriesModel.id,targetNode:t})},e.prototype.containPoint=function(t,e){var n=e.getData().getItemLayout(0);if(n){var r=t[0]-n.cx,i=t[1]-n.cy,a=Math.sqrt(r*r+i*i);return a<=n.r&&a>=n.r0}},e.type="sunburst",e}(w$);const P6=E6;var D6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.ignoreStyleOnData=!0,n}return Sk(e,t),e.prototype.getInitialData=function(t,e){var n={name:t.name,children:t.data};O6(n);var r=this._levelModels=nI(t.levels||[],(function(t){return new nR(t,this,e)}),this),i=r1.createTree(n,this,(function(t){t.wrapMethod("getItemModel",(function(t,e){var n=i.getNodeByDataIndex(e),a=r[n.depth];return a&&(t.parentModel=a),t}))}));return i.data},e.prototype.optionUpdated=function(){this.resetViewRoot()},e.prototype.getDataParams=function(e){var n=t.prototype.getDataParams.apply(this,arguments),r=this.getData().tree.getNodeByDataIndex(e);return n.treePathInfo=s1(r,this),n},e.prototype.getLevelModel=function(t){return this._levelModels&&this._levelModels[t.depth]},e.prototype.getViewRoot=function(){return this._viewRoot},e.prototype.resetViewRoot=function(t){t?this._viewRoot=t:t=this._viewRoot;var e=this.getRawData().tree.root;t&&(t===e||e.contains(t))||(this._viewRoot=e)},e.prototype.enableAriaDecal=function(){p1(this)},e.type="series.sunburst",e.defaultOption={z:2,center:["50%","50%"],radius:[0,"75%"],clockwise:!0,startAngle:90,minAngle:0,stillShowZeroSum:!0,nodeClick:"rootToNode",renderLabelForZeroData:!1,label:{rotate:"radial",show:!0,opacity:1,align:"center",position:"inside",distance:5,silent:!0},itemStyle:{borderWidth:1,borderColor:"white",borderType:"solid",shadowBlur:0,shadowColor:"rgba(0, 0, 0, 0.2)",shadowOffsetX:0,shadowOffsetY:0,opacity:1},emphasis:{focus:"descendant"},blur:{itemStyle:{opacity:.2},label:{opacity:.1}},animationType:"expansion",animationDuration:1e3,animationDurationUpdate:500,data:[],sort:"desc"},e}(oB);function O6(t){var e=0;eI(t.children,(function(t){O6(t);var n=t.value;uI(n)&&(n=n[0]),e+=n}));var n=t.value;uI(n)&&(n=n[0]),(null==n||isNaN(n))&&(n=e),n<0&&(n=0),uI(t.value)?t.value[0]=n:t.value=n}const L6=D6;var R6=Math.PI/180;function N6(t,e,n){e.eachSeriesByType(t,(function(t){var e=t.get("center"),r=t.get("radius");uI(r)||(r=[0,r]),uI(e)||(e=[e,e]);var i=n.getWidth(),a=n.getHeight(),o=Math.min(i,a),s=cE(e[0],i),u=cE(e[1],a),c=cE(r[0],o/2),l=cE(r[1],o/2),h=-t.get("startAngle")*R6,f=t.get("minAngle")*R6,d=t.getData().tree.root,p=t.getViewRoot(),g=p.depth,b=t.get("sort");null!=b&&j6(p,b);var v=0;eI(p.children,(function(t){!isNaN(t.getValue())&&v++}));var m=p.getValue(),y=Math.PI/(m||v)*2,w=p.depth>0,x=p.height-(w?-1:1),_=(l-c)/(x||1),S=t.get("clockwise"),k=t.get("stillShowZeroSum"),I=S?1:-1,M=function(e,n){if(e){var r=n;if(e!==d){var i=e.getValue(),a=0===m&&k?y:i*y;a<f&&(a=f),r=n+I*a;var l=e.depth-g-(w?-1:1),h=c+_*l,p=c+_*(l+1),b=t.getLevelModel(e);if(b){var v=b.get("r0",!0),x=b.get("r",!0),C=b.get("radius",!0);null!=C&&(v=C[0],x=C[1]),null!=v&&(h=cE(v,o/2)),null!=x&&(p=cE(x,o/2))}e.setLayout({angle:a,startAngle:n,endAngle:r,clockwise:S,cx:s,cy:u,r0:h,r:p})}if(e.children&&e.children.length){var T=0;eI(e.children,(function(t){T+=M(t,n+T)}))}return r-n}};if(w){var C=c,T=c+_,A=2*Math.PI;d.setLayout({angle:A,startAngle:h,endAngle:h+A,clockwise:S,cx:s,cy:u,r0:C,r:T})}M(p,h)}))}function j6(t,e){var n=t.children||[];t.children=function(t,e){if(cI(e)){var n=nI(t,(function(t,e){var n=t.getValue();return{params:{depth:t.depth,height:t.height,dataIndex:t.dataIndex,getValue:function(){return n}},index:e}}));return n.sort((function(t,n){return e(t.params,n.params)})),nI(n,(function(e){return t[e.index]}))}var r="asc"===e;return t.sort((function(t,e){var n=(t.getValue()-e.getValue())*(r?1:-1);return 0===n?(t.dataIndex-e.dataIndex)*(r?-1:1):n}))}(n,e),n.length&&eI(t.children,(function(t){j6(t,e)}))}function F6(t){var e={};t.eachSeriesByType("sunburst",(function(t){var n=t.getData(),r=n.tree;r.eachNode((function(i){var a=i.getModel().getModel("itemStyle").getItemStyle();a.fill||(a.fill=function(t,n,r){for(var i=t;i&&i.depth>1;)i=i.parentNode;var a=n.getColorFromPalette(i.name||i.dataIndex+"",e);return t.depth>1&&lI(a)&&(a=pT(a,(t.depth-1)/(r-1)*.5)),a}(i,t,r.root.height)),Kk(n.ensureUniqueItemVisual(i.dataIndex,"style"),a)}))}))}var B6={color:"fill",borderColor:"stroke"},z6={symbol:1,symbolSize:1,symbolKeepAspect:1,legendIcon:1,visualMeta:1,liftZ:1,decal:1},$6=GE();const V6=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.optionUpdated=function(){this.currentZLevel=this.get("zlevel",!0),this.currentZ=this.get("z",!0)},e.prototype.getInitialData=function(t,e){return QU(null,this)},e.prototype.getDataParams=function(e,n,r){var i=t.prototype.getDataParams.call(this,e,n);return r&&(i.info=$6(r).info),i},e.type="series.custom",e.dependencies=["grid","polar","geo","singleAxis","calendar"],e.defaultOption={coordinateSystem:"cartesian2d",z:2,legendHoverLink:!0,clip:!1},e}(oB);function H6(t,e){return e=e||[0,0],nI(["x","y"],(function(n,r){var i=this.getAxis(n),a=e[r],o=t[r]/2;return"category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(a-o)-i.dataToCoord(a+o))}),this)}function W6(t,e){return e=e||[0,0],nI([0,1],(function(n){var r=e[n],i=t[n]/2,a=[],o=[];return a[n]=r-i,o[n]=r+i,a[1-n]=o[1-n]=e[1-n],Math.abs(this.dataToPoint(a)[n]-this.dataToPoint(o)[n])}),this)}function G6(t,e){var n=this.getAxis(),r=e instanceof Array?e[0]:e,i=(t instanceof Array?t[0]:t)/2;return"category"===n.type?n.getBandWidth():Math.abs(n.dataToCoord(r-i)-n.dataToCoord(r+i))}function U6(t,e){return e=e||[0,0],nI(["Radius","Angle"],(function(n,r){var i=this["get"+n+"Axis"](),a=e[r],o=t[r]/2,s="category"===i.type?i.getBandWidth():Math.abs(i.dataToCoord(a-o)-i.dataToCoord(a+o));return"Angle"===n&&(s=s*Math.PI/180),s}),this)}function X6(t,e,n,r){return t&&(t.legacy||!1!==t.legacy&&!n&&!r&&"tspan"!==e&&("text"===e||NI(t,"text")))}function q6(t,e,n){var r,i,a,o=t;if("text"===e)a=o;else{a={},NI(o,"text")&&(a.text=o.text),NI(o,"rich")&&(a.rich=o.rich),NI(o,"textFill")&&(a.fill=o.textFill),NI(o,"textStroke")&&(a.stroke=o.textStroke),NI(o,"fontFamily")&&(a.fontFamily=o.fontFamily),NI(o,"fontSize")&&(a.fontSize=o.fontSize),NI(o,"fontStyle")&&(a.fontStyle=o.fontStyle),NI(o,"fontWeight")&&(a.fontWeight=o.fontWeight),i={type:"text",style:a,silent:!0},r={};var s=NI(o,"textPosition");n?r.position=s?o.textPosition:"inside":s&&(r.position=o.textPosition),NI(o,"textPosition")&&(r.position=o.textPosition),NI(o,"textOffset")&&(r.offset=o.textOffset),NI(o,"textRotation")&&(r.rotation=o.textRotation),NI(o,"textDistance")&&(r.distance=o.textDistance)}return Y6(a,t),eI(a.rich,(function(t){Y6(t,t)})),{textConfig:r,textContent:i}}function Y6(t,e){e&&(e.font=e.textFont||e.font,NI(e,"textStrokeWidth")&&(t.lineWidth=e.textStrokeWidth),NI(e,"textAlign")&&(t.align=e.textAlign),NI(e,"textVerticalAlign")&&(t.verticalAlign=e.textVerticalAlign),NI(e,"textLineHeight")&&(t.lineHeight=e.textLineHeight),NI(e,"textWidth")&&(t.width=e.textWidth),NI(e,"textHeight")&&(t.height=e.textHeight),NI(e,"textBackgroundColor")&&(t.backgroundColor=e.textBackgroundColor),NI(e,"textPadding")&&(t.padding=e.textPadding),NI(e,"textBorderColor")&&(t.borderColor=e.textBorderColor),NI(e,"textBorderWidth")&&(t.borderWidth=e.textBorderWidth),NI(e,"textBorderRadius")&&(t.borderRadius=e.textBorderRadius),NI(e,"textBoxShadowColor")&&(t.shadowColor=e.textBoxShadowColor),NI(e,"textBoxShadowBlur")&&(t.shadowBlur=e.textBoxShadowBlur),NI(e,"textBoxShadowOffsetX")&&(t.shadowOffsetX=e.textBoxShadowOffsetX),NI(e,"textBoxShadowOffsetY")&&(t.shadowOffsetY=e.textBoxShadowOffsetY))}function K6(t,e,n){var r=t;r.textPosition=r.textPosition||n.position||"inside",null!=n.offset&&(r.textOffset=n.offset),null!=n.rotation&&(r.textRotation=n.rotation),null!=n.distance&&(r.textDistance=n.distance);var i=r.textPosition.indexOf("inside")>=0,a=t.fill||"#000";Z6(r,e);var o=null==r.textFill;return i?o&&(r.textFill=n.insideFill||"#fff",!r.textStroke&&n.insideStroke&&(r.textStroke=n.insideStroke),!r.textStroke&&(r.textStroke=a),null==r.textStrokeWidth&&(r.textStrokeWidth=2)):(o&&(r.textFill=t.fill||n.outsideFill||"#000"),!r.textStroke&&n.outsideStroke&&(r.textStroke=n.outsideStroke)),r.text=e.text,r.rich=e.rich,eI(e.rich,(function(t){Z6(t,t)})),r}function Z6(t,e){e&&(NI(e,"fill")&&(t.textFill=e.fill),NI(e,"stroke")&&(t.textStroke=e.fill),NI(e,"lineWidth")&&(t.textStrokeWidth=e.lineWidth),NI(e,"font")&&(t.font=e.font),NI(e,"fontStyle")&&(t.fontStyle=e.fontStyle),NI(e,"fontWeight")&&(t.fontWeight=e.fontWeight),NI(e,"fontSize")&&(t.fontSize=e.fontSize),NI(e,"fontFamily")&&(t.fontFamily=e.fontFamily),NI(e,"align")&&(t.textAlign=e.align),NI(e,"verticalAlign")&&(t.textVerticalAlign=e.verticalAlign),NI(e,"lineHeight")&&(t.textLineHeight=e.lineHeight),NI(e,"width")&&(t.textWidth=e.width),NI(e,"height")&&(t.textHeight=e.height),NI(e,"backgroundColor")&&(t.textBackgroundColor=e.backgroundColor),NI(e,"padding")&&(t.textPadding=e.padding),NI(e,"borderColor")&&(t.textBorderColor=e.borderColor),NI(e,"borderWidth")&&(t.textBorderWidth=e.borderWidth),NI(e,"borderRadius")&&(t.textBorderRadius=e.borderRadius),NI(e,"shadowColor")&&(t.textBoxShadowColor=e.shadowColor),NI(e,"shadowBlur")&&(t.textBoxShadowBlur=e.shadowBlur),NI(e,"shadowOffsetX")&&(t.textBoxShadowOffsetX=e.shadowOffsetX),NI(e,"shadowOffsetY")&&(t.textBoxShadowOffsetY=e.shadowOffsetY),NI(e,"textShadowColor")&&(t.textShadowColor=e.textShadowColor),NI(e,"textShadowBlur")&&(t.textShadowBlur=e.textShadowBlur),NI(e,"textShadowOffsetX")&&(t.textShadowOffsetX=e.textShadowOffsetX),NI(e,"textShadowOffsetY")&&(t.textShadowOffsetY=e.textShadowOffsetY))}var Q6={position:["x","y"],scale:["scaleX","scaleY"],origin:["originX","originY"]},J6=aI(Q6),t8=(rI(DA,(function(t,e){return t[e]=1,t}),{}),DA.join(", "),["","style","shape","extra"]),e8=GE();function n8(t,e,n,r,i){var a=t+"Animation",o=yL(t,r,i)||{},s=e8(e).userDuring;return o.duration>0&&(o.during=s?oI(c8,{el:e,userDuring:s}):null,o.setToFinal=!0,o.scope=t),Kk(o,n[a]),o}function r8(t,e,n,r){var i=(r=r||{}).dataIndex,a=r.isInit,o=r.clearStyle,s=n.isAnimationEnabled(),u=e8(t),c=e.style;u.userDuring=e.during;var l={},h={};if(function(t,e,n){for(var r=0;r<J6.length;r++){var i=J6[r],a=Q6[i],o=e[i];o&&(n[a[0]]=o[0],n[a[1]]=o[1])}for(r=0;r<DA.length;r++){var s=DA[r];null!=e[s]&&(n[s]=e[s])}}(0,e,h),h8("shape",e,h),h8("extra",e,h),!a&&s&&(function(t,e,n){for(var r=e.transition,i=o8(r)?DA:OE(r||[]),a=0;a<i.length;a++){var o=i[a];if("style"!==o&&"shape"!==o&&"extra"!==o){var s=t[o];0,n[o]=s}}}(t,e,l),l8("shape",t,e,l),l8("extra",t,e,l),function(t,e,n,r){if(!n)return;var i,a=t.style;if(a){var o=n.transition,s=e.transition;if(o&&!o8(o)){var u=OE(o);!i&&(i=r.style={});for(var c=0;c<u.length;c++){var l=a[p=u[c]];i[p]=l}}else if(t.getAnimationStyleProps&&(o8(s)||o8(o)||Qk(s,"style")>=0)){var h=t.getAnimationStyleProps(),f=h?h.style:null;if(f){!i&&(i=r.style={});var d=aI(n);for(c=0;c<d.length;c++){var p;if(f[p=d[c]]){l=a[p];i[p]=l}}}}}}(t,e,c,l)),h.style=c,function(t,e,n){var r=e.style;if(!t.isGroup&&r){if(n){t.useStyle({});for(var i=t.animators,a=0;a<i.length;a++){var o=i[a];"style"===o.targetName&&o.changeTarget(t.style)}}t.setStyle(r)}e&&(e.style=null,e&&t.attr(e),e.style=r)}(t,h,o),function(t,e){NI(e,"silent")&&(t.silent=e.silent),NI(e,"ignore")&&(t.ignore=e.ignore),t instanceof FP&&NI(e,"invisible")&&(t.invisible=e.invisible);t instanceof zD&&NI(e,"autoBatch")&&(t.autoBatch=e.autoBatch)}(t,e),s)if(a){var f={};eI(t8,(function(t){var n=t?e[t]:e;n&&n.enterFrom&&(t&&(f[t]=f[t]||{}),Kk(t?f[t]:f,n.enterFrom))}));var d=n8("enter",t,e,n,i);d.duration>0&&t.animateFrom(f,d)}else!function(t,e,n,r,i){if(i){var a=n8("update",t,e,r,n);a.duration>0&&t.animateFrom(i,a)}}(t,e,i||0,n,l);i8(t,e),c?t.dirty():t.markRedraw()}function i8(t,e){for(var n=e8(t).leaveToProps,r=0;r<t8.length;r++){var i=t8[r],a=i?e[i]:e;a&&a.leaveTo&&(n||(n=e8(t).leaveToProps={}),i&&(n[i]=n[i]||{}),Kk(i?n[i]:n,a.leaveTo))}}function a8(t,e,n,r){if(t){var i=t.parent,a=e8(t).leaveToProps;if(a){var o=n8("update",t,e,n,0);o.done=function(){i.remove(t),r&&r()},t.animateTo(a,o)}else i.remove(t),r&&r()}}function o8(t){return"all"===t}var s8={},u8={setTransform:function(t,e){return s8.el[t]=e,this},getTransform:function(t){return s8.el[t]},setShape:function(t,e){var n=s8.el;return(n.shape||(n.shape={}))[t]=e,n.dirtyShape&&n.dirtyShape(),this},getShape:function(t){var e=s8.el.shape;if(e)return e[t]},setStyle:function(t,e){var n=s8.el,r=n.style;return r&&(r[t]=e,n.dirtyStyle&&n.dirtyStyle()),this},getStyle:function(t){var e=s8.el.style;if(e)return e[t]},setExtra:function(t,e){return(s8.el.extra||(s8.el.extra={}))[t]=e,this},getExtra:function(t){var e=s8.el.extra;if(e)return e[t]}};function c8(){var t=this,e=t.el;if(e){var n=e8(e).userDuring,r=t.userDuring;n===r?(s8.el=e,r(u8)):t.el=t.userDuring=null}}function l8(t,e,n,r){var i=n[t];if(i){var a,o=e[t];if(o){var s=n.transition,u=i.transition;if(u)if(!a&&(a=r[t]={}),o8(u))Kk(a,o);else for(var c=OE(u),l=0;l<c.length;l++){var h=o[d=c[l]];a[d]=h}else if(o8(s)||Qk(s,t)>=0){!a&&(a=r[t]={});var f=aI(o);for(l=0;l<f.length;l++){var d;h=o[d=f[l]];f8(i[d],h)&&(a[d]=h)}}}}}function h8(t,e,n){var r=e[t];if(r)for(var i=n[t]={},a=aI(r),o=0;o<a.length;o++){var s=a[o];i[s]=WT(r[s])}}function f8(t,e){return tI(t)?t!==e:null!=t&&isFinite(t)}var d8=GE(),p8=["percent","easing","shape","style","extra"];function g8(t){t.stopAnimation("keyframe"),t.attr(d8(t))}function b8(t,e,n){if(n.isAnimationEnabled()&&e)if(uI(e))eI(e,(function(e){b8(t,e,n)}));else{var r=e.keyframes,i=e.duration;if(n&&null==i){var a=yL("enter",n,0);i=a&&a.duration}if(r&&i){var o=d8(t);eI(t8,(function(n){if(!n||t[n]){var a;r.sort((function(t,e){return t.percent-e.percent})),eI(r,(function(r){var s=t.animators,u=n?r[n]:r;if(u){var c=aI(u);if(n||(c=iI(c,(function(t){return Qk(p8,t)<0}))),c.length){a||((a=t.animate(n,e.loop,!0)).scope="keyframe");for(var l=0;l<s.length;l++)s[l]!==a&&s[l].targetName===a.targetName&&s[l].stopTracks(c);n&&(o[n]=o[n]||{});var h=n?o[n]:o;eI(c,(function(e){h[e]=((n?t[n]:t)||{})[e]})),a.whenWithKeys(i*r.percent,u,c,r.easing)}}})),a&&a.delay(e.delay||0).duration(i).start(e.easing)}}))}}}var v8="emphasis",m8="normal",y8="blur",w8="select",x8=[m8,v8,y8,w8],_8={normal:["itemStyle"],emphasis:[v8,"itemStyle"],blur:[y8,"itemStyle"],select:[w8,"itemStyle"]},S8={normal:["label"],emphasis:[v8,"label"],blur:[y8,"label"],select:[w8,"label"]},k8=["x","y"],I8={normal:{},emphasis:{},blur:{},select:{}},M8={cartesian2d:function(t){var e=t.master.getRect();return{coordSys:{type:"cartesian2d",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:oI(H6,t)}}},geo:function(t){var e=t.getBoundingRect();return{coordSys:{type:"geo",x:e.x,y:e.y,width:e.width,height:e.height,zoom:t.getZoom()},api:{coord:function(e){return t.dataToPoint(e)},size:oI(W6,t)}}},single:function(t){var e=t.getRect();return{coordSys:{type:"singleAxis",x:e.x,y:e.y,width:e.width,height:e.height},api:{coord:function(e){return t.dataToPoint(e)},size:oI(G6,t)}}},polar:function(t){var e=t.getRadiusAxis(),n=t.getAngleAxis(),r=e.getExtent();return r[0]>r[1]&&r.reverse(),{coordSys:{type:"polar",cx:t.cx,cy:t.cy,r:r[1],r0:r[0]},api:{coord:function(r){var i=e.dataToRadius(r[0]),a=n.dataToAngle(r[1]),o=t.coordToPoint([i,a]);return o.push(i,a*Math.PI/180),o},size:oI(U6,t)}}},calendar:function(t){var e=t.getRect(),n=t.getRangeInfo();return{coordSys:{type:"calendar",x:e.x,y:e.y,width:e.width,height:e.height,cellWidth:t.getCellWidth(),cellHeight:t.getCellHeight(),rangeInfo:{start:n.start,end:n.end,weeks:n.weeks,dayCount:n.allDay}},api:{coord:function(e,n){return t.dataToPoint(e,n)}}}}};function C8(t){return t instanceof zD}function T8(t){return t instanceof FP}var A8=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n,r){this._progressiveEls=null;var i=this._data,a=t.getData(),o=this.group,s=R8(t,a,e,n);i||o.removeAll(),a.diff(i).add((function(e){j8(n,null,e,s(e,r),t,o,a)})).remove((function(e){var n=i.getItemGraphicEl(e);n&&a8(n,$6(n).option,t)})).update((function(e,u){var c=i.getItemGraphicEl(u);j8(n,c,e,s(e,r),t,o,a)})).execute();var u=t.get("clip",!0)?MX(t.coordinateSystem,!1,t):null;u?o.setClipPath(u):o.removeClipPath(),this._data=a},e.prototype.incrementalPrepareRender=function(t,e,n){this.group.removeAll(),this._data=null},e.prototype.incrementalRender=function(t,e,n,r,i){var a=e.getData(),o=R8(e,a,n,r),s=this._progressiveEls=[];function u(t){t.isGroup||(t.incremental=!0,t.ensureState("emphasis").hoverLayer=!0)}for(var c=t.start;c<t.end;c++){var l=j8(null,null,c,o(c,i),e,this.group,a);l&&(l.traverse(u),s.push(l))}},e.prototype.eachRendered=function(t){h$(this._progressiveEls||this.group,t)},e.prototype.filterForExposedEvent=function(t,e,n,r){var i=e.element;if(null==i||n.name===i)return!0;for(;(n=n.__hostTarget||n.parent)&&n!==this.group;)if(n.name===i)return!0;return!1},e.type="custom",e}(w$);const E8=A8;function P8(t){var e,n=t.type;if("path"===n){var r=t.shape,i=null!=r.width&&null!=r.height?{x:r.x||0,y:r.y||0,width:r.width,height:r.height}:null,a=X8(r);e=Wz(a,null,i,r.layout||"center"),$6(e).customPathData=a}else if("image"===n)e=new XD({}),$6(e).customImagePath=t.style.image;else if("text"===n)e=new vO({});else if("group"===n)e=new nE;else{if("compoundPath"===n)throw new Error('"compoundPath" is not supported yet.');var o=Hz(n);if(!o){0,nF("")}e=new o}return $6(e).customGraphicType=n,e.name=t.name,e.z2EmphasisLift=1,e.z2SelectLift=1,e}function D8(t,e,n,r,i,a,o){g8(e);var s=i&&i.normal.cfg;s&&e.setTextConfig(s),r&&null==r.transition&&(r.transition=k8);var u=r&&r.style;if(u){if("text"===e.type){var c=u;NI(c,"textFill")&&(c.fill=c.textFill),NI(c,"textStroke")&&(c.stroke=c.textStroke)}var l=void 0,h=C8(e)?u.decal:null;t&&h&&(h.dirty=!0,l=rH(h,t)),u.__decalPattern=l}T8(e)&&(u&&(l=u.__decalPattern)&&(u.decal=l));r8(e,r,a,{dataIndex:n,isInit:o,clearStyle:!0}),b8(e,r.keyframeAnimation,a)}function O8(t,e,n,r,i){var a=e.isGroup?null:e,o=i&&i[t].cfg;if(a){var s=a.ensureState(t);if(!1===r){var u=a.getState(t);u&&(u.style=null)}else s.style=r||null;o&&(s.textConfig=o),UO(a)}}function L8(t,e,n){var r=n===m8,i=r?e:$8(e,n),a=i?i.z2:null;null!=a&&((r?t:t.ensureState(n)).z2=a||0)}function R8(t,e,n,r){var i=t.get("renderItem"),a=t.coordinateSystem,o={};a&&(o=a.prepareCustoms?a.prepareCustoms(a):M8[a.type](a));for(var s,u,c=Zk({getWidth:r.getWidth,getHeight:r.getHeight,getZr:r.getZr,getDevicePixelRatio:r.getDevicePixelRatio,value:function(t,n){return null==n&&(n=s),e.getStore().get(e.getDimensionIndex(t||0),n)},style:function(n,r){0;null==r&&(r=s);var i=e.getItemVisual(r,"style"),a=i&&i.fill,o=i&&i.opacity,u=m(r,m8).getItemStyle();null!=a&&(u.fill=a),null!=o&&(u.opacity=o);var c={inheritColor:lI(a)?a:"#000"},l=y(r,m8),h=OL(l,null,c,!1,!0);h.text=l.getShallow("show")?wI(t.getFormattedLabel(r,m8),eX(e,r)):null;var f=LL(l,c,!1);return x(n,u),u=K6(u,h,f),n&&w(u,n),u.legacy=!0,u},ordinalRawValue:function(t,n){null==n&&(n=s),t=t||0;var r=e.getDimensionInfo(t);if(!r){var i=e.getDimensionIndex(t);return i>=0?e.getStore().get(i,n):void 0}var a=e.get(r.name,n),o=r&&r.ordinalMeta;return o?o.categories[a]:a},styleEmphasis:function(n,r){0;null==r&&(r=s);var i=m(r,v8).getItemStyle(),a=y(r,v8),o=OL(a,null,null,!0,!0);o.text=a.getShallow("show")?xI(t.getFormattedLabel(r,v8),t.getFormattedLabel(r,m8),eX(e,r)):null;var u=LL(a,null,!0);return x(n,i),i=K6(i,o,u),n&&w(i,n),i.legacy=!0,i},visual:function(t,n){if(null==n&&(n=s),NI(B6,t)){var r=e.getItemVisual(n,"style");return r?r[B6[t]]:null}if(NI(z6,t))return e.getItemVisual(n,t)},barLayout:function(t){if("cartesian2d"===a.type){return function(t){var e=[],n=t.axis,r="axis0";if("category"===n.type){for(var i=n.getBandWidth(),a=0;a<t.count;a++)e.push(Zk({bandWidth:i,axisKey:r,stackId:WX+a},t));var o=YX(e),s=[];for(a=0;a<t.count;a++){var u=o.axis0[WX+a];u.offsetCenter=u.offset+u.width/2,s.push(u)}return s}}(Zk({axis:a.getBaseAxis()},t))}},currentSeriesIndices:function(){return n.getCurrentSeriesIndices()},font:function(t){return BL(t,n)}},o.api||{}),l={context:{},seriesId:t.id,seriesName:t.name,seriesIndex:t.seriesIndex,coordSys:o.coordSys,dataInsideLength:e.count(),encode:N8(t.getData())},h={},f={},d={},p={},g=0;g<x8.length;g++){var b=x8[g];d[b]=t.getModel(_8[b]),p[b]=t.getModel(S8[b])}function v(t){return t===s?u||(u=e.getItemModel(t)):e.getItemModel(t)}function m(t,n){return e.hasItemOption?t===s?h[n]||(h[n]=v(t).getModel(_8[n])):v(t).getModel(_8[n]):d[n]}function y(t,n){return e.hasItemOption?t===s?f[n]||(f[n]=v(t).getModel(S8[n])):v(t).getModel(S8[n]):p[n]}return function(t,n){return s=t,u=null,h={},f={},i&&i(Zk({dataIndexInside:t,dataIndex:e.getRawIndex(t),actionType:n?n.type:null},l),c)};function w(t,e){for(var n in e)NI(e,n)&&(t[n]=e[n])}function x(t,e){t&&(t.textFill&&(e.textFill=t.textFill),t.textPosition&&(e.textPosition=t.textPosition))}}function N8(t){var e={};return eI(t.dimensions,(function(n){var r=t.getDimensionInfo(n);if(!r.isExtraCoord){var i=r.coordDim;(e[i]=e[i]||[])[r.coordDimIndex]=t.getDimensionIndex(n)}})),e}function j8(t,e,n,r,i,a,o){if(r){var s=F8(t,e,n,r,i,a);return s&&o.setItemGraphicEl(n,s),s&&cL(s,r.focus,r.blurScope,r.emphasisDisabled),s}a.remove(e)}function F8(t,e,n,r,i,a){var o=-1,s=e;e&&B8(e,r,i)&&(o=Qk(a.childrenRef(),e),e=null);var u,c,l=!e,h=e;h?h.clearStates():(h=P8(r),s&&(u=s,(c=h).copyTransform(u),T8(c)&&T8(u)&&(c.setStyle(u.style),c.z=u.z,c.z2=u.z2,c.zlevel=u.zlevel,c.invisible=u.invisible,c.ignore=u.ignore,C8(c)&&C8(u)&&c.setShape(u.shape)))),!1===r.morph?h.disableMorphing=!0:h.disableMorphing&&(h.disableMorphing=!1),I8.normal.cfg=I8.normal.conOpt=I8.emphasis.cfg=I8.emphasis.conOpt=I8.blur.cfg=I8.blur.conOpt=I8.select.cfg=I8.select.conOpt=null,I8.isLegacy=!1,function(t,e,n,r,i,a){if(t.isGroup)return;z8(n,null,a),z8(n,v8,a);var o=a.normal.conOpt,s=a.emphasis.conOpt,u=a.blur.conOpt,c=a.select.conOpt;if(null!=o||null!=s||null!=c||null!=u){var l=t.getTextContent();if(!1===o)l&&t.removeTextContent();else{o=a.normal.conOpt=o||{type:"text"},l?l.clearStates():(l=P8(o),t.setTextContent(l)),D8(null,l,e,o,null,r,i);for(var h=o&&o.style,f=0;f<x8.length;f++){var d=x8[f];if(d!==m8){var p=a[d].conOpt;O8(d,l,0,V8(o,p,d),null)}}h?l.dirty():l.markRedraw()}}}(h,n,r,i,l,I8),function(t,e,n,r,i){var a=n.clipPath;if(!1===a)t&&t.getClipPath()&&t.removeClipPath();else if(a){var o=t.getClipPath();o&&B8(o,a,r)&&(o=null),o||(o=P8(a),t.setClipPath(o)),D8(null,o,e,a,null,r,i)}}(h,n,r,i,l),D8(t,h,n,r,I8,i,l),NI(r,"info")&&($6(h).info=r.info);for(var f=0;f<x8.length;f++){var d=x8[f];if(d!==m8){var p=$8(r,d);O8(d,h,0,V8(r,p,d),I8)}}return function(t,e,n){if(!t.isGroup){var r=t,i=n.currentZ,a=n.currentZLevel;r.z=i,r.zlevel=a;var o=e.z2;null!=o&&(r.z2=o||0);for(var s=0;s<x8.length;s++)L8(r,e,x8[s])}}(h,r,i),"group"===r.type&&function(t,e,n,r,i){var a=r.children,o=a?a.length:0,s=r.$mergeChildren,u="byName"===s||r.diffChildrenByName,c=!1===s;if(!o&&!u&&!c)return;if(u)return l={api:t,oldChildren:e.children()||[],newChildren:a||[],dataIndex:n,seriesModel:i,group:e},void new mU(l.oldChildren,l.newChildren,W8,W8,l).add(G8).update(G8).remove(U8).execute();var l;c&&e.removeAll();for(var h=0;h<o;h++){var f=a[h],d=e.childAt(h);f?(null==f.ignore&&(f.ignore=!1),F8(t,d,n,f,i,e)):d.ignore=!0}for(var p=e.childCount()-1;p>=h;p--){var g=e.childAt(p);H8(e,g,i)}}(t,h,n,r,i),o>=0?a.replaceAt(h,o):a.add(h),h}function B8(t,e,n){var r,i=$6(t),a=e.type,o=e.shape,s=e.style;return n.isUniversalTransitionEnabled()||null!=a&&a!==i.customGraphicType||"path"===a&&((r=o)&&(NI(r,"pathData")||NI(r,"d")))&&X8(o)!==i.customPathData||"image"===a&&NI(s,"image")&&s.image!==i.customImagePath}function z8(t,e,n){var r=e?$8(t,e):t,i=e?V8(t,r,v8):t.style,a=t.type,o=r?r.textConfig:null,s=t.textContent,u=s?e?$8(s,e):s:null;if(i&&(n.isLegacy||X6(i,a,!!o,!!u))){n.isLegacy=!0;var c=q6(i,a,!e);!o&&c.textConfig&&(o=c.textConfig),!u&&c.textContent&&(u=c.textContent)}if(!e&&u){var l=u;!l.type&&(l.type="text")}var h=e?n[e]:n.normal;h.cfg=o,h.conOpt=u}function $8(t,e){return e?t?t[e]:null:t}function V8(t,e,n){var r=e&&e.style;return null==r&&n===v8&&t&&(r=t.styleEmphasis),r}function H8(t,e,n){e&&a8(e,$6(t).option,n)}function W8(t,e){var n=t&&t.name;return null!=n?n:"e\0\0"+e}function G8(t,e){var n=this.context,r=null!=t?n.newChildren[t]:null,i=null!=e?n.oldChildren[e]:null;F8(n.api,i,n.dataIndex,r,n.seriesModel,n.group)}function U8(t){var e=this.context,n=e.oldChildren[t];n&&a8(n,$6(n).option,e.seriesModel)}function X8(t){return t&&(t.pathData||t.d)}var q8=GE(),Y8=Xk,K8=oI,Z8=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,r){var i=e.get("value"),a=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,r||this._lastValue!==i||this._lastStatus!==a){this._lastValue=i,this._lastStatus=a;var o=this._group,s=this._handle;if(!a||"hide"===a)return o&&o.hide(),void(s&&s.hide());o&&o.show(),s&&s.show();var u={};this.makeElOption(u,i,t,e,n);var c=u.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var l=this._moveAnimation=this.determineAnimation(t,e);if(o){var h=sI(Q8,e,l);this.updatePointerEl(o,u,h),this.updateLabelEl(o,u,h,e)}else o=this._group=new nE,this.createPointerEl(o,u,t,e),this.createLabelEl(o,u,t,e),n.getZr().add(o);n9(o,e,!0),this._renderHandle(i)}},t.prototype.remove=function(t){this.clear(t)},t.prototype.dispose=function(t){this.clear(t)},t.prototype.determineAnimation=function(t,e){var n=e.get("animation"),r=t.axis,i="category"===r.type,a=e.get("snap");if(!a&&!i)return!1;if("auto"===n||null==n){var o=this.animationThreshold;if(i&&r.getBandWidth()>o)return!0;if(a){var s=qK(t).seriesDataCount,u=r.getExtent();return Math.abs(u[0]-u[1])/s>o}return!1}return!0===n},t.prototype.makeElOption=function(t,e,n,r,i){},t.prototype.createPointerEl=function(t,n,r,i){var a=n.pointer;if(a){var o=q8(t).pointerEl=new e[a.type](Y8(n.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,r){if(e.label){var i=q8(t).labelEl=new vO(Y8(e.label));t.add(i),t9(i,r)}},t.prototype.updatePointerEl=function(t,e,n){var r=q8(t).pointerEl;r&&e.pointer&&(r.setStyle(e.pointer.style),n(r,{shape:e.pointer.shape}))},t.prototype.updateLabelEl=function(t,e,n,r){var i=q8(t).labelEl;i&&(i.setStyle(e.label.style),n(i,{x:e.label.x,y:e.label.y}),t9(i,r))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,r=this._api.getZr(),i=this._handle,a=n.getModel("handle"),o=n.get("status");if(!a.get("show")||!o||"hide"===o)return i&&r.remove(i),void(this._handle=null);this._handle||(e=!0,i=this._handle=a$(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){CM(t.event)},onmousedown:K8(this._onHandleDragMove,this,0,0),drift:K8(this._onHandleDragMove,this),ondragend:K8(this._onHandleDragEnd,this)}),r.add(i)),n9(i,n,!1),i.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var s=a.get("size");uI(s)||(s=[s,s]),i.scaleX=s[0]/2,i.scaleY=s[1]/2,I$(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){Q8(this._axisPointerModel,!e&&this._moveAnimation,this._handle,e9(this.getHandleTransform(t,this._axisModel,this._axisPointerModel)))},t.prototype._onHandleDragMove=function(t,e){var n=this._handle;if(n){this._dragging=!0;var r=this.updateHandleTransform(e9(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=r,n.stopAnimation(),n.attr(e9(r)),q8(n).lastProp=null,this._doDispatchAxisPointer()}},t.prototype._doDispatchAxisPointer=function(){if(this._handle){var t=this._payloadInfo,e=this._axisModel;this._api.dispatchAction({type:"updateAxisPointer",x:t.cursorPoint[0],y:t.cursorPoint[1],tooltipOption:t.tooltipOption,axesInfo:[{axisDim:e.axis.dim,axisIndex:e.componentIndex}]})}},t.prototype._onHandleDragEnd=function(){if(this._dragging=!1,this._handle){var t=this._axisPointerModel.get("value");this._moveHandleToValue(t),this._api.dispatchAction({type:"hideTip"})}},t.prototype.clear=function(t){this._lastValue=null,this._lastStatus=null;var e=t.getZr(),n=this._group,r=this._handle;e&&n&&(this._lastGraphicKey=null,n&&e.remove(n),r&&e.remove(r),this._group=null,this._handle=null,this._payloadInfo=null),M$(this,"_doDispatchAxisPointer")},t.prototype.doClear=function(){},t.prototype.buildLabel=function(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}},t}();function Q8(t,e,n,r){J8(q8(n).lastProp,r)||(q8(n).lastProp=r,e?xL(n,r,t):(n.stopAnimation(),n.attr(r)))}function J8(t,e){if(dI(t)&&dI(e)){var n=!0;return eI(e,(function(e,r){n=n&&J8(t[r],e)})),!!n}return t===e}function t9(t,e){t[e.get(["label","show"])?"show":"hide"]()}function e9(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function n9(t,e,n){var r=e.get("z"),i=e.get("zlevel");t&&t.traverse((function(t){"group"!==t.type&&(null!=r&&(t.z=r),null!=i&&(t.zlevel=i),t.silent=n)}))}const r9=Z8;function i9(t){var e,n=t.get("type"),r=t.getModel(n+"Style");return"line"===n?(e=r.getLineStyle()).fill=null:"shadow"===n&&((e=r.getAreaStyle()).stroke=null),e}function a9(t,e,n,r,i){var a=o9(n.get("value"),e.axis,e.ecModel,n.get("seriesDataIndices"),{precision:n.get(["label","precision"]),formatter:n.get(["label","formatter"])}),o=n.getModel("label"),s=UR(o.get("padding")||0),u=o.getFont(),c=FA(a,u),l=i.position,h=c.width+s[1]+s[3],f=c.height+s[0]+s[2],d=i.align;"right"===d&&(l[0]-=h),"center"===d&&(l[0]-=h/2);var p=i.verticalAlign;"bottom"===p&&(l[1]-=f),"middle"===p&&(l[1]-=f/2),function(t,e,n,r){var i=r.getWidth(),a=r.getHeight();t[0]=Math.min(t[0]+e,i)-e,t[1]=Math.min(t[1]+n,a)-n,t[0]=Math.max(t[0],0),t[1]=Math.max(t[1],0)}(l,h,f,r);var g=o.get("backgroundColor");g&&"auto"!==g||(g=e.get(["axisLine","lineStyle","color"])),t.label={x:l[0],y:l[1],style:OL(o,{text:a,font:u,fill:o.getTextColor(),padding:s,backgroundColor:g}),z2:10}}function o9(t,e,n,r,i){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:i.precision}),o=i.formatter;if(o){var s={value:nK(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};eI(r,(function(t){var e=n.getSeriesByIndex(t.seriesIndex),r=t.dataIndexInside,i=e&&e.getDataParams(r);i&&s.seriesData.push(i)})),lI(o)?a=o.replace("{value}",a):cI(o)&&(a=o(s))}return a}function s9(t,e,n){var r=[1,0,0,1,0,0];return NM(r,r,n.rotation),RM(r,r,n.position),Jz([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],r)}function u9(t,e,n,r,i,a){var o=WK.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=i.get(["label","margin"]),a9(e,r,i,a,{position:s9(r.axis,t,n),align:o.textAlign,verticalAlign:o.textVerticalAlign})}function c9(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function l9(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}function h9(t,e,n,r,i,a){return{cx:t,cy:e,r0:n,r,startAngle:i,endAngle:a,clockwise:!0}}var f9=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var a=n.axis,o=a.grid,s=r.get("type"),u=d9(o,a).getOtherAxis(a).getGlobalExtent(),c=a.toGlobalCoord(a.dataToCoord(e,!0));if(s&&"none"!==s){var l=i9(r),h=p9[s](a,c,u);h.style=l,t.graphicKey=h.type,t.pointer=h}u9(e,t,CK(o.model,n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=CK(e.axis.grid.model,e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=s9(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,a=i.grid,o=i.getGlobalExtent(!0),s=d9(a,i).getOtherAxis(i).getGlobalExtent(),u="x"===i.dim?0:1,c=[t.x,t.y];c[u]+=e[u],c[u]=Math.min(o[1],c[u]),c[u]=Math.max(o[0],c[u]);var l=(s[1]+s[0])/2,h=[l,l];h[u]=c[u];return{x:c[0],y:c[1],rotation:t.rotation,cursorPoint:h,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][u]}},e}(r9);function d9(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var p9={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:c9([e,n[0]],[e,n[1]],g9(t))}},shadow:function(t,e,n){var r=Math.max(1,t.getBandWidth()),i=n[1]-n[0];return{type:"Rect",shape:l9([e-r/2,n[0]],[r,i],g9(t))}}};function g9(t){return"x"===t.dim?0:1}const b9=f9;const v9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="axisPointer",e.defaultOption={show:"auto",z:50,type:"line",snap:!1,triggerTooltip:!0,value:null,status:null,link:[],animation:null,animationDurationUpdate:200,lineStyle:{color:"#B9BEC9",width:1,type:"dashed"},shadowStyle:{color:"rgba(210,219,238,0.2)"},label:{show:!0,formatter:null,precision:"auto",margin:3,color:"#fff",padding:[5,7,5,7],backgroundColor:"auto",borderColor:null,borderWidth:0,borderRadius:3},handle:{show:!1,icon:"M10.7,11.9v-1.3H9.3v1.3c-4.9,0.3-8.8,4.4-8.8,9.4c0,5,3.9,9.1,8.8,9.4h1.3c4.9-0.3,8.8-4.4,8.8-9.4C19.5,16.3,15.6,12.2,10.7,11.9z M13.3,24.4H6.7v-1.2h6.6z M13.3,22H6.7v-1.2h6.6z M13.3,19.6H6.7v-1.2h6.6z",size:45,margin:50,color:"#333",shadowBlur:3,shadowColor:"#aaa",shadowOffsetX:0,shadowOffsetY:2,throttle:40}},e}(fN);var m9=GE(),y9=eI;function w9(t,e,n){if(!Mk.node){var r=e.getZr();m9(r).records||(m9(r).records={}),function(t,e){if(m9(t).initialized)return;function n(n,r){t.on(n,(function(n){var i=function(t){var e={showTip:[],hideTip:[]},n=function(r){var i=e[r.type];i?i.push(r):(r.dispatchAction=n,t.dispatchAction(r))};return{dispatchAction:n,pendings:e}}(e);y9(m9(t).records,(function(t){t&&r(t,n,i.dispatchAction)})),function(t,e){var n,r=t.showTip.length,i=t.hideTip.length;r?n=t.showTip[r-1]:i&&(n=t.hideTip[i-1]);n&&(n.dispatchAction=null,e.dispatchAction(n))}(i.pendings,e)}))}m9(t).initialized=!0,n("click",sI(_9,"click")),n("mousemove",sI(_9,"mousemove")),n("globalout",x9)}(r,e),(m9(r).records[t]||(m9(r).records[t]={})).handler=n}}function x9(t,e,n){t.handler("leave",null,n)}function _9(t,e,n,r){e.handler(t,n,r)}function S9(t,e){if(!Mk.node){var n=e.getZr();(m9(n).records||{})[t]&&(m9(n).records[t]=null)}}var k9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=e.getComponent("tooltip"),i=t.get("triggerOn")||r&&r.get("triggerOn")||"mousemove|click";w9("axisPointer",n,(function(t,e,n){"none"!==i&&("leave"===t||i.indexOf(t)>=0)&&n({type:"updateAxisPointer",currTrigger:t,x:e&&e.offsetX,y:e&&e.offsetY})}))},e.prototype.remove=function(t,e){S9("axisPointer",e)},e.prototype.dispose=function(t,e){S9("axisPointer",e)},e.type="axisPointer",e}(uB);const I9=k9;function M9(t,e){var n,r=[],i=t.seriesIndex;if(null==i||!(n=e.getSeriesByIndex(i)))return{point:[]};var a=n.getData(),o=WE(a,t);if(null==o||o<0||uI(o))return{point:[]};var s=a.getItemGraphicEl(o),u=n.coordinateSystem;if(n.getTooltipPosition)r=n.getTooltipPosition(o)||[];else if(u&&u.dataToPoint)if(t.isStacked){var c=u.getBaseAxis(),l=u.getOtherAxis(c).dim,h=c.dim,f="x"===l||"radius"===l?1:0,d=a.mapDimension(h),p=[];p[f]=a.get(d,o),p[1-f]=a.get(a.getCalculationInfo("stackResultDimension"),o),r=u.dataToPoint(p)||[]}else r=u.dataToPoint(a.getValues(nI(u.dimensions,(function(t){return a.mapDimension(t)})),o))||[];else if(s){var g=s.getBoundingRect().clone();g.applyTransform(s.transform),r=[g.x+g.width/2,g.y+g.height/2]}return{point:r,el:s}}var C9=GE();function T9(t,e,n){var r=t.currTrigger,i=[t.x,t.y],a=t,o=t.dispatchAction||oI(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){O9(i)&&(i=M9({seriesIndex:a.seriesIndex,dataIndex:a.dataIndex},e).point);var u=O9(i),c=a.axesInfo,l=s.axesInfo,h="leave"===r||O9(i),f={},d={},p={list:[],map:{}},g={showPointer:sI(E9,d),showTooltip:sI(P9,p)};eI(s.coordSysMap,(function(t,e){var n=u||t.containPoint(i);eI(s.coordSysAxesInfo[e],(function(t,e){var r=t.axis,a=function(t,e){for(var n=0;n<(t||[]).length;n++){var r=t[n];if(e.axis.dim===r.axisDim&&e.axis.model.componentIndex===r.axisIndex)return r}}(c,t);if(!h&&n&&(!c||a)){var o=a&&a.value;null!=o||u||(o=r.pointToData(i)),null!=o&&A9(t,o,g,!1,f)}}))}));var b={};return eI(l,(function(t,e){var n=t.linkGroup;n&&!d[e]&&eI(n.axesInfo,(function(e,r){var i=d[r];if(e!==t&&i){var a=i.value;n.mapper&&(a=t.axis.scale.parse(n.mapper(a,D9(e),D9(t)))),b[t.key]=a}}))})),eI(b,(function(t,e){A9(l[e],t,g,!0,f)})),function(t,e,n){var r=n.axesInfo=[];eI(e,(function(e,n){var i=e.axisPointerModel.option,a=t[n];a?(!e.useHandle&&(i.status="show"),i.value=a.value,i.seriesDataIndices=(a.payloadBatch||[]).slice()):!e.useHandle&&(i.status="hide"),"show"===i.status&&r.push({axisDim:e.axis.dim,axisIndex:e.axis.model.componentIndex,value:i.value})}))}(d,l,f),function(t,e,n,r){if(O9(e)||!t.list.length)return void r({type:"hideTip"});var i=((t.list[0].dataByAxis[0]||{}).seriesDataIndices||[])[0]||{};r({type:"showTip",escapeConnect:!0,x:e[0],y:e[1],tooltipOption:n.tooltipOption,position:n.position,dataIndexInside:i.dataIndexInside,dataIndex:i.dataIndex,seriesIndex:i.seriesIndex,dataByCoordSys:t.list})}(p,i,t,o),function(t,e,n){var r=n.getZr(),i="axisPointerLastHighlights",a=C9(r)[i]||{},o=C9(r)[i]={};eI(t,(function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&eI(n.seriesDataIndices,(function(t){var e=t.seriesIndex+" | "+t.dataIndex;o[e]=t}))}));var s=[],u=[];eI(a,(function(t,e){!o[e]&&u.push(t)})),eI(o,(function(t,e){!a[e]&&s.push(t)})),u.length&&n.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:u}),s.length&&n.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:s})}(l,0,n),f}}function A9(t,e,n,r,i){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e))if(t.involveSeries){var o=function(t,e){var n=e.axis,r=n.dim,i=t,a=[],o=Number.MAX_VALUE,s=-1;return eI(e.seriesModels,(function(e,u){var c,l,h=e.getData().mapDimensionsAll(r);if(e.getAxisTooltipData){var f=e.getAxisTooltipData(h,t,n);l=f.dataIndices,c=f.nestestValue}else{if(!(l=e.getData().indicesOfNearest(h[0],t,"category"===n.type?.5:null)).length)return;c=e.getData().get(h[0],l[0])}if(null!=c&&isFinite(c)){var d=t-c,p=Math.abs(d);p<=o&&((p<o||d>=0&&s<0)&&(o=p,s=d,i=c,a.length=0),eI(l,(function(t){a.push({seriesIndex:e.seriesIndex,dataIndexInside:t,dataIndex:e.getData().getRawIndex(t)})})))}})),{payloadBatch:a,snapToValue:i}}(e,t),s=o.payloadBatch,u=o.snapToValue;s[0]&&null==i.seriesIndex&&Kk(i,s[0]),!r&&t.snap&&a.containData(u)&&null!=u&&(e=u),n.showPointer(t,e,s),n.showTooltip(t,o,u)}else n.showPointer(t,e)}function E9(t,e,n,r){t[e.key]={value:n,payloadBatch:r}}function P9(t,e,n,r){var i=n.payloadBatch,a=e.axis,o=a.model,s=e.axisPointerModel;if(e.triggerTooltip&&i.length){var u=e.coordSys.model,c=KK(u),l=t.map[c];l||(l=t.map[c]={coordSysId:u.id,coordSysIndex:u.componentIndex,coordSysType:u.type,coordSysMainType:u.mainType,dataByAxis:[]},t.list.push(l)),l.dataByAxis.push({axisDim:a.dim,axisIndex:o.componentIndex,axisType:o.type,axisId:o.id,value:r,valueLabelOpt:{precision:s.get(["label","precision"]),formatter:s.get(["label","formatter"])},seriesDataIndices:i.slice()})}}function D9(t){var e=t.axis.model,n={},r=n.axisDim=t.axis.dim;return n.axisIndex=n[r+"AxisIndex"]=e.componentIndex,n.axisName=n[r+"AxisName"]=e.name,n.axisId=n[r+"AxisId"]=e.id,n}function O9(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function L9(t){QK.registerAxisPointerClass("CartesianAxisPointer",b9),t.registerComponentModel(v9),t.registerComponentView(I9),t.registerPreprocessor((function(t){if(t){(!t.axisPointer||0===t.axisPointer.length)&&(t.axisPointer={});var e=t.axisPointer.link;e&&!uI(e)&&(t.axisPointer.link=[e])}})),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=GK(t,e)})),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},T9)}var R9=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var a=n.axis;"angle"===a.dim&&(this.animationThreshold=Math.PI/18);var o=a.polar,s=o.getOtherAxis(a).getExtent(),u=a.dataToCoord(e),c=r.get("type");if(c&&"none"!==c){var l=i9(r),h=N9[c](a,o,u,s);h.style=l,t.graphicKey=h.type,t.pointer=h}var f=function(t,e,n,r,i){var a=e.axis,o=a.dataToCoord(t),s=r.getAngleAxis().getExtent()[0];s=s/180*Math.PI;var u,c,l,h=r.getRadiusAxis().getExtent();if("radius"===a.dim){var f=[1,0,0,1,0,0];NM(f,f,s),RM(f,f,[r.cx,r.cy]),u=Jz([o,-i],f);var d=e.getModel("axisLabel").get("rotate")||0,p=WK.innerTextLayout(s,d*Math.PI/180,-1);c=p.textAlign,l=p.textVerticalAlign}else{var g=h[1];u=r.coordToPoint([g+i,o]);var b=r.cx,v=r.cy;c=Math.abs(u[0]-b)/g<.3?"center":u[0]>b?"left":"right",l=Math.abs(u[1]-v)/g<.3?"middle":u[1]>v?"top":"bottom"}return{position:u,align:c,verticalAlign:l}}(e,n,0,o,r.get(["label","margin"]));a9(t,n,r,i,f)},e}(r9);var N9={line:function(t,e,n,r){return"angle"===t.dim?{type:"Line",shape:c9(e.coordToPoint([r[0],n]),e.coordToPoint([r[1],n]))}:{type:"Circle",shape:{cx:e.cx,cy:e.cy,r:n}}},shadow:function(t,e,n,r){var i=Math.max(1,t.getBandWidth()),a=Math.PI/180;return"angle"===t.dim?{type:"Sector",shape:h9(e.cx,e.cy,r[0],r[1],(-n-i/2)*a,(i/2-n)*a)}:{type:"Sector",shape:h9(e.cx,e.cy,n-i/2,n+i/2,0,2*Math.PI)}}};const j9=R9;const F9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.findAxisModel=function(t){var e;return this.ecModel.eachComponent(t,(function(t){t.getCoordSysModel()===this&&(e=t)}),this),e},e.type="polar",e.dependencies=["radiusAxis","angleAxis"],e.defaultOption={z:0,center:["50%","50%"],radius:"80%"},e}(fN);var B9=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("polar",YE).models[0]},e.type="polarAxis",e}(fN);Jk(B9,tY);var z9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="angleAxis",e}(B9),$9=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="radiusAxis",e}(B9),V9=function(t){function e(e,n){return t.call(this,"radius",e,n)||this}return Sk(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e}(kK);V9.prototype.dataToRadius=kK.prototype.dataToCoord,V9.prototype.radiusToData=kK.prototype.coordToData;const H9=V9;var W9=GE(),G9=function(t){function e(e,n){return t.call(this,"angle",e,n||[0,360])||this}return Sk(e,t),e.prototype.pointToData=function(t,e){return this.polar.pointToData(t,e)["radius"===this.dim?0:1]},e.prototype.calculateCategoryInterval=function(){var t=this,e=t.getLabelModel(),n=t.scale,r=n.getExtent(),i=n.count();if(r[1]-r[0]<1)return 0;var a=r[0],o=t.dataToCoord(a+1)-t.dataToCoord(a),s=Math.abs(o),u=FA(null==a?"":a+"",e.getFont(),"center","top"),c=Math.max(u.height,7)/s;isNaN(c)&&(c=1/0);var l=Math.max(0,Math.floor(c)),h=W9(t.model),f=h.lastAutoInterval,d=h.lastTickCount;return null!=f&&null!=d&&Math.abs(f-l)<=1&&Math.abs(d-i)<=1&&f>l?l=f:(h.lastTickCount=i,h.lastAutoInterval=l),l},e}(kK);G9.prototype.dataToAngle=kK.prototype.dataToCoord,G9.prototype.angleToData=kK.prototype.coordToData;const U9=G9;var X9=["radius","angle"],q9=function(){function t(t){this.dimensions=X9,this.type="polar",this.cx=0,this.cy=0,this._radiusAxis=new H9,this._angleAxis=new U9,this.axisPointerEnabled=!0,this.name=t||"",this._radiusAxis.polar=this._angleAxis.polar=this}return t.prototype.containPoint=function(t){var e=this.pointToCoord(t);return this._radiusAxis.contain(e[0])&&this._angleAxis.contain(e[1])},t.prototype.containData=function(t){return this._radiusAxis.containData(t[0])&&this._angleAxis.containData(t[1])},t.prototype.getAxis=function(t){return this["_"+t+"Axis"]},t.prototype.getAxes=function(){return[this._radiusAxis,this._angleAxis]},t.prototype.getAxesByScale=function(t){var e=[],n=this._angleAxis,r=this._radiusAxis;return n.scale.type===t&&e.push(n),r.scale.type===t&&e.push(r),e},t.prototype.getAngleAxis=function(){return this._angleAxis},t.prototype.getRadiusAxis=function(){return this._radiusAxis},t.prototype.getOtherAxis=function(t){var e=this._angleAxis;return t===e?this._radiusAxis:e},t.prototype.getBaseAxis=function(){return this.getAxesByScale("ordinal")[0]||this.getAxesByScale("time")[0]||this.getAngleAxis()},t.prototype.getTooltipAxes=function(t){var e=null!=t&&"auto"!==t?this.getAxis(t):this.getBaseAxis();return{baseAxes:[e],otherAxes:[this.getOtherAxis(e)]}},t.prototype.dataToPoint=function(t,e){return this.coordToPoint([this._radiusAxis.dataToRadius(t[0],e),this._angleAxis.dataToAngle(t[1],e)])},t.prototype.pointToData=function(t,e){var n=this.pointToCoord(t);return[this._radiusAxis.radiusToData(n[0],e),this._angleAxis.angleToData(n[1],e)]},t.prototype.pointToCoord=function(t){var e=t[0]-this.cx,n=t[1]-this.cy,r=this.getAngleAxis(),i=r.getExtent(),a=Math.min(i[0],i[1]),o=Math.max(i[0],i[1]);r.inverse?a=o-360:o=a+360;var s=Math.sqrt(e*e+n*n);e/=s,n/=s;for(var u=Math.atan2(-n,e)/Math.PI*180,c=u<a?1:-1;u<a||u>o;)u+=360*c;return[s,u]},t.prototype.coordToPoint=function(t){var e=t[0],n=t[1]/180*Math.PI;return[Math.cos(n)*e+this.cx,-Math.sin(n)*e+this.cy]},t.prototype.getArea=function(){var t=this.getAngleAxis(),e=this.getRadiusAxis().getExtent().slice();e[0]>e[1]&&e.reverse();var n=t.getExtent(),r=Math.PI/180;return{cx:this.cx,cy:this.cy,r0:e[0],r:e[1],startAngle:-n[0]*r,endAngle:-n[1]*r,clockwise:t.inverse,contain:function(t,e){var n=t-this.cx,r=e-this.cy,i=n*n+r*r-1e-4,a=this.r,o=this.r0;return i<=a*a&&i>=o*o}}},t.prototype.convertToPixel=function(t,e,n){return Y9(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return Y9(e)===this?this.pointToData(n):null},t}();function Y9(t){var e=t.seriesModel,n=t.polarModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const K9=q9;function Z9(t,e){var n=this,r=n.getAngleAxis(),i=n.getRadiusAxis();if(r.scale.setExtent(1/0,-1/0),i.scale.setExtent(1/0,-1/0),t.eachSeries((function(t){if(t.coordinateSystem===n){var e=t.getData();eI(oK(e,"radius"),(function(t){i.scale.unionExtentFromData(e,t)})),eI(oK(e,"angle"),(function(t){r.scale.unionExtentFromData(e,t)}))}})),JY(r.scale,r.model),JY(i.scale,i.model),"category"===r.type&&!r.onBand){var a=r.getExtent(),o=360/r.scale.count();r.inverse?a[1]+=o:a[1]-=o,r.setExtent(a[0],a[1])}}function Q9(t,e){if(t.type=e.get("type"),t.scale=tK(e),t.onBand=e.get("boundaryGap")&&"category"===t.type,t.inverse=e.get("inverse"),function(t){return"angleAxis"===t.mainType}(e)){t.inverse=t.inverse!==e.get("clockwise");var n=e.get("startAngle");t.setExtent(n,n+(t.inverse?-360:360))}e.axis=t,t.model=e}var J9={dimensions:X9,create:function(t,e){var n=[];return t.eachComponent("polar",(function(t,r){var i=new K9(r+"");i.update=Z9;var a=i.getRadiusAxis(),o=i.getAngleAxis(),s=t.findAxisModel("radiusAxis"),u=t.findAxisModel("angleAxis");Q9(a,s),Q9(o,u),function(t,e,n){var r=e.get("center"),i=n.getWidth(),a=n.getHeight();t.cx=cE(r[0],i),t.cy=cE(r[1],a);var o=t.getRadiusAxis(),s=Math.min(i,a)/2,u=e.get("radius");null==u?u=[0,"100%"]:uI(u)||(u=[0,u]);var c=[cE(u[0],s),cE(u[1],s)];o.inverse?o.setExtent(c[1],c[0]):o.setExtent(c[0],c[1])}(i,t,e),n.push(i),t.coordinateSystem=i,i.model=t})),t.eachSeries((function(t){if("polar"===t.get("coordinateSystem")){var e=t.getReferringComponents("polar",YE).models[0];0,t.coordinateSystem=e.coordinateSystem}})),n}};const t7=J9;var e7=["axisLine","axisLabel","axisTick","minorTick","splitLine","minorSplitLine","splitArea"];function n7(t,e,n){e[1]>e[0]&&(e=e.slice().reverse());var r=t.coordToPoint([e[0],n]),i=t.coordToPoint([e[1],n]);return{x1:r[0],y1:r[1],x2:i[0],y2:i[1]}}function r7(t){return t.getRadiusAxis().inverse?0:1}function i7(t){var e=t[0],n=t[t.length-1];e&&n&&Math.abs(Math.abs(e.coord-n.coord)-360)<1e-4&&t.pop()}var a7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Sk(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=t.axis,r=n.polar,i=r.getRadiusAxis().getExtent(),a=n.getTicksCoords(),o=n.getMinorTicksCoords(),s=nI(n.getViewLabels(),(function(t){t=Xk(t);var e=n.scale,r="ordinal"===e.type?e.getRawOrdinalNumber(t.tickValue):t.tickValue;return t.coord=n.dataToCoord(r),t}));i7(s),i7(a),eI(e7,(function(e){!t.get([e,"show"])||n.scale.isBlank()&&"axisLine"!==e||o7[e](this.group,t,r,a,o,i,s)}),this)}},e.type="angleAxis",e}(QK),o7={axisLine:function(t,e,n,r,i,a){var o,s=e.getModel(["axisLine","lineStyle"]),u=r7(n),c=u?0:1;(o=0===a[c]?new DB({shape:{cx:n.cx,cy:n.cy,r:a[u]},style:s.getLineStyle(),z2:1,silent:!0}):new tz({shape:{cx:n.cx,cy:n.cy,r:a[u],r0:a[c]},style:s.getLineStyle(),z2:1,silent:!0})).style.fill=null,t.add(o)},axisTick:function(t,e,n,r,i,a){var o=e.getModel("axisTick"),s=(o.get("inside")?-1:1)*o.get("length"),u=a[r7(n)],c=nI(r,(function(t){return new hz({shape:n7(n,[u,u+s],t.coord)})}));t.add(Xz(c,{style:Zk(o.getModel("lineStyle").getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])})}))},minorTick:function(t,e,n,r,i,a){if(i.length){for(var o=e.getModel("axisTick"),s=e.getModel("minorTick"),u=(o.get("inside")?-1:1)*s.get("length"),c=a[r7(n)],l=[],h=0;h<i.length;h++)for(var f=0;f<i[h].length;f++)l.push(new hz({shape:n7(n,[c,c+u],i[h][f].coord)}));t.add(Xz(l,{style:Zk(s.getModel("lineStyle").getLineStyle(),Zk(o.getLineStyle(),{stroke:e.get(["axisLine","lineStyle","color"])}))}))}},axisLabel:function(t,e,n,r,i,a,o){var s=e.getCategories(!0),u=e.getModel("axisLabel"),c=u.get("margin"),l=e.get("triggerEvent");eI(o,(function(r,i){var o=u,h=r.tickValue,f=a[r7(n)],d=n.coordToPoint([f+c,r.coord]),p=n.cx,g=n.cy,b=Math.abs(d[0]-p)/f<.3?"center":d[0]>p?"left":"right",v=Math.abs(d[1]-g)/f<.3?"middle":d[1]>g?"top":"bottom";if(s&&s[h]){var m=s[h];dI(m)&&m.textStyle&&(o=new nR(m.textStyle,u,u.ecModel))}var y=new vO({silent:WK.isLabelSilent(e),style:OL(o,{x:d[0],y:d[1],fill:o.getTextColor()||e.get(["axisLine","lineStyle","color"]),text:r.formattedLabel,align:b,verticalAlign:v})});if(t.add(y),l){var w=WK.makeAxisEventDataBase(e);w.targetType="axisLabel",w.value=r.rawLabel,mO(y).eventData=w}}),this)},splitLine:function(t,e,n,r,i,a){var o=e.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],l=0;l<r.length;l++){var h=u++%s.length;c[h]=c[h]||[],c[h].push(new hz({shape:n7(n,a,r[l].coord)}))}for(l=0;l<c.length;l++)t.add(Xz(c[l],{style:Zk({stroke:s[l%s.length]},o.getLineStyle()),silent:!0,z:e.get("z")}))},minorSplitLine:function(t,e,n,r,i,a){if(i.length){for(var o=e.getModel("minorSplitLine").getModel("lineStyle"),s=[],u=0;u<i.length;u++)for(var c=0;c<i[u].length;c++)s.push(new hz({shape:n7(n,a,i[u][c].coord)}));t.add(Xz(s,{style:o.getLineStyle(),silent:!0,z:e.get("z")}))}},splitArea:function(t,e,n,r,i,a){if(r.length){var o=e.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],l=Math.PI/180,h=-r[0].coord*l,f=Math.min(a[0],a[1]),d=Math.max(a[0],a[1]),p=e.get("clockwise"),g=1,b=r.length;g<=b;g++){var v=g===b?r[0].coord:r[g].coord,m=u++%s.length;c[m]=c[m]||[],c[m].push(new ZB({shape:{cx:n.cx,cy:n.cy,r0:f,r:d,startAngle:h,endAngle:-v*l,clockwise:p},silent:!0})),h=-v*l}for(g=0;g<c.length;g++)t.add(Xz(c[g],{style:Zk({fill:s[g%s.length]},o.getAreaStyle()),silent:!0}))}}};const s7=a7;var u7=["axisLine","axisTickLabel","axisName"],c7=["splitLine","splitArea","minorSplitLine"],l7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="PolarAxisPointer",n}return Sk(e,t),e.prototype.render=function(t,e){if(this.group.removeAll(),t.get("show")){var n=this._axisGroup,r=this._axisGroup=new nE;this.group.add(r);var i=t.axis,a=i.polar,o=a.getAngleAxis(),s=i.getTicksCoords(),u=i.getMinorTicksCoords(),c=o.getExtent()[0],l=i.getExtent(),h=function(t,e,n){return{position:[t.cx,t.cy],rotation:n/180*Math.PI,labelDirection:-1,tickDirection:-1,nameDirection:1,labelRotate:e.getModel("axisLabel").get("rotate"),z2:1}}(a,t,c),f=new WK(t,h);eI(u7,f.add,f),r.add(f.getGroup()),n$(n,r,t),eI(c7,(function(e){t.get([e,"show"])&&!i.scale.isBlank()&&h7[e](this.group,t,a,c,l,s,u)}),this)}},e.type="radiusAxis",e}(QK),h7={splitLine:function(t,e,n,r,i,a){var o=e.getModel("splitLine").getModel("lineStyle"),s=o.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],l=0;l<a.length;l++){var h=u++%s.length;c[h]=c[h]||[],c[h].push(new DB({shape:{cx:n.cx,cy:n.cy,r:Math.max(a[l].coord,0)}}))}for(l=0;l<c.length;l++)t.add(Xz(c[l],{style:Zk({stroke:s[l%s.length],fill:null},o.getLineStyle()),silent:!0}))},minorSplitLine:function(t,e,n,r,i,a,o){if(o.length){for(var s=e.getModel("minorSplitLine").getModel("lineStyle"),u=[],c=0;c<o.length;c++)for(var l=0;l<o[c].length;l++)u.push(new DB({shape:{cx:n.cx,cy:n.cy,r:o[c][l].coord}}));t.add(Xz(u,{style:Zk({fill:null},s.getLineStyle()),silent:!0}))}},splitArea:function(t,e,n,r,i,a){if(a.length){var o=e.getModel("splitArea").getModel("areaStyle"),s=o.get("color"),u=0;s=s instanceof Array?s:[s];for(var c=[],l=a[0].coord,h=1;h<a.length;h++){var f=u++%s.length;c[f]=c[f]||[],c[f].push(new ZB({shape:{cx:n.cx,cy:n.cy,r0:l,r:a[h].coord,startAngle:0,endAngle:2*Math.PI},silent:!0})),l=a[h].coord}for(h=0;h<c.length;h++)t.add(Xz(c[h],{style:Zk({fill:s[h%s.length]},o.getAreaStyle()),silent:!0}))}}};const f7=l7;function d7(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function p7(t,e){return e.dim+t.model.componentIndex}const g7=function(t,e,n){var r={},i=function(t){var e={};eI(t,(function(t,n){var r=t.getData(),i=t.coordinateSystem,a=i.getBaseAxis(),o=p7(i,a),s=a.getExtent(),u="category"===a.type?a.getBandWidth():Math.abs(s[1]-s[0])/r.count(),c=e[o]||{bandWidth:u,remainedWidth:u,autoWidthCount:0,categoryGap:"20%",gap:"30%",stacks:{}},l=c.stacks;e[o]=c;var h=d7(t);l[h]||c.autoWidthCount++,l[h]=l[h]||{width:0,maxWidth:0};var f=cE(t.get("barWidth"),u),d=cE(t.get("barMaxWidth"),u),p=t.get("barGap"),g=t.get("barCategoryGap");f&&!l[h].width&&(f=Math.min(c.remainedWidth,f),l[h].width=f,c.remainedWidth-=f),d&&(l[h].maxWidth=d),null!=p&&(c.gap=p),null!=g&&(c.categoryGap=g)}));var n={};return eI(e,(function(t,e){n[e]={};var r=t.stacks,i=t.bandWidth,a=cE(t.categoryGap,i),o=cE(t.gap,1),s=t.remainedWidth,u=t.autoWidthCount,c=(s-a)/(u+(u-1)*o);c=Math.max(c,0),eI(r,(function(t,e){var n=t.maxWidth;n&&n<c&&(n=Math.min(n,s),t.width&&(n=Math.min(n,t.width)),s-=n,t.width=n,u--)})),c=(s-a)/(u+(u-1)*o),c=Math.max(c,0);var l,h=0;eI(r,(function(t,e){t.width||(t.width=c),l=t,h+=t.width*(1+o)})),l&&(h-=l.width*o);var f=-h/2;eI(r,(function(t,r){n[e][r]=n[e][r]||{offset:f,width:t.width},f+=t.width*(1+o)}))})),n}(iI(e.getSeriesByType(t),(function(t){return!e.isSeriesFiltered(t)&&t.coordinateSystem&&"polar"===t.coordinateSystem.type})));e.eachSeriesByType(t,(function(t){if("polar"===t.coordinateSystem.type){var e=t.getData(),n=t.coordinateSystem,a=n.getBaseAxis(),o=p7(n,a),s=d7(t),u=i[o][s],c=u.offset,l=u.width,h=n.getOtherAxis(a),f=t.coordinateSystem.cx,d=t.coordinateSystem.cy,p=t.get("barMinHeight")||0,g=t.get("barMinAngle")||0;r[s]=r[s]||[];for(var b=e.mapDimension(h.dim),v=e.mapDimension(a.dim),m=KU(e,b),y="radius"!==a.dim||!t.get("roundCap",!0),w=h.dataToCoord(0),x=0,_=e.count();x<_;x++){var S=e.get(b,x),k=e.get(v,x),I=S>=0?"p":"n",M=w;m&&(r[s][k]||(r[s][k]={p:w,n:w}),M=r[s][k][I]);var C=void 0,T=void 0,A=void 0,E=void 0;if("radius"===h.dim){var P=h.dataToCoord(S)-w,D=a.dataToCoord(k);Math.abs(P)<p&&(P=(P<0?-1:1)*p),C=M,T=M+P,E=(A=D-c)-l,m&&(r[s][k][I]=T)}else{var O=h.dataToCoord(S,y)-w,L=a.dataToCoord(k);Math.abs(O)<g&&(O=(O<0?-1:1)*g),T=(C=L+c)+l,A=M,E=M+O,m&&(r[s][k][I]=E)}e.setItemLayout(x,{cx:f,cy:d,r0:C,r:T,startAngle:-A*Math.PI/180,endAngle:-E*Math.PI/180,clockwise:A>=E})}}}))};var b7={startAngle:90,clockwise:!0,splitNumber:12,axisLabel:{rotate:0}},v7={splitNumber:5},m7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="polar",e}(uB);function y7(t,e){e=e||{};var n=t.coordinateSystem,r=t.axis,i={},a=r.position,o=r.orient,s=n.getRect(),u=[s.x,s.x+s.width,s.y,s.y+s.height],c={horizontal:{top:u[2],bottom:u[3]},vertical:{left:u[0],right:u[1]}};i.position=["vertical"===o?c.vertical[a]:u[0],"horizontal"===o?c.horizontal[a]:u[3]];i.rotation=Math.PI/2*{horizontal:0,vertical:1}[o];i.labelDirection=i.tickDirection=i.nameDirection={top:-1,bottom:1,right:1,left:-1}[a],t.get(["axisTick","inside"])&&(i.tickDirection=-i.tickDirection),yI(e.labelInside,t.get(["axisLabel","inside"]))&&(i.labelDirection=-i.labelDirection);var l=e.rotate;return null==l&&(l=t.get(["axisLabel","rotate"])),i.labelRotation="top"===a?-l:l,i.z2=1,i}var w7=["axisLine","axisTickLabel","axisName"],x7=["splitArea","splitLine"],_7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="SingleAxisPointer",n}return Sk(e,t),e.prototype.render=function(e,n,r,i){var a=this.group;a.removeAll();var o=this._axisGroup;this._axisGroup=new nE;var s=y7(e),u=new WK(e,s);eI(w7,u.add,u),a.add(this._axisGroup),a.add(u.getGroup()),eI(x7,(function(t){e.get([t,"show"])&&S7[t](this,this.group,this._axisGroup,e)}),this),n$(o,this._axisGroup,e),t.prototype.render.call(this,e,n,r,i)},e.prototype.remove=function(){eZ(this)},e.type="singleAxis",e}(QK),S7={splitLine:function(t,e,n,r){var i=r.axis;if(!i.scale.isBlank()){var a=r.getModel("splitLine"),o=a.getModel("lineStyle"),s=o.get("color");s=s instanceof Array?s:[s];for(var u=o.get("width"),c=r.coordinateSystem.getRect(),l=i.isHorizontal(),h=[],f=0,d=i.getTicksCoords({tickModel:a}),p=[],g=[],b=0;b<d.length;++b){var v=i.toGlobalCoord(d[b].coord);l?(p[0]=v,p[1]=c.y,g[0]=v,g[1]=c.y+c.height):(p[0]=c.x,p[1]=v,g[0]=c.x+c.width,g[1]=v);var m=new hz({shape:{x1:p[0],y1:p[1],x2:g[0],y2:g[1]},silent:!0});Yz(m.shape,u);var y=f++%s.length;h[y]=h[y]||[],h[y].push(m)}var w=o.getLineStyle(["color"]);for(b=0;b<h.length;++b)e.add(Xz(h[b],{style:Zk({stroke:s[b%s.length]},w),silent:!0}))}},splitArea:function(t,e,n,r){tZ(t,n,r,r)}};const k7=_7;var I7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.getCoordSysModel=function(){return this},e.type="singleAxis",e.layoutMode="box",e.defaultOption={left:"5%",top:"5%",right:"5%",bottom:"5%",type:"value",position:"bottom",orient:"horizontal",axisLine:{show:!0,lineStyle:{width:1,type:"solid"}},tooltip:{show:!0},axisTick:{show:!0,length:6,lineStyle:{width:1}},axisLabel:{show:!0,interval:"auto"},splitLine:{show:!0,lineStyle:{type:"dashed",opacity:.2}}},e}(fN);Jk(I7,tY.prototype);const M7=I7;var C7=function(t){function e(e,n,r,i,a){var o=t.call(this,e,n,r)||this;return o.type=i||"value",o.position=a||"bottom",o}return Sk(e,t),e.prototype.isHorizontal=function(){var t=this.position;return"top"===t||"bottom"===t},e.prototype.pointToData=function(t,e){return this.coordinateSystem.pointToData(t)[0]},e}(kK);const T7=C7;var A7=["single"],E7=function(){function t(t,e,n){this.type="single",this.dimension="single",this.dimensions=A7,this.axisPointerEnabled=!0,this.model=t,this._init(t,e,n)}return t.prototype._init=function(t,e,n){var r=this.dimension,i=new T7(r,tK(t),[0,0],t.get("type"),t.get("position")),a="category"===i.type;i.onBand=a&&t.get("boundaryGap"),i.inverse=t.get("inverse"),i.orient=t.get("orient"),t.axis=i,i.model=t,i.coordinateSystem=this,this._axis=i},t.prototype.update=function(t,e){t.eachSeries((function(t){if(t.coordinateSystem===this){var e=t.getData();eI(e.mapDimensionsAll(this.dimension),(function(t){this._axis.scale.unionExtentFromData(e,t)}),this),JY(this._axis.scale,this._axis.model)}}),this)},t.prototype.resize=function(t,e){this._rect=iN({left:t.get("left"),top:t.get("top"),right:t.get("right"),bottom:t.get("bottom"),width:t.get("width"),height:t.get("height")},{width:e.getWidth(),height:e.getHeight()}),this._adjustAxis()},t.prototype.getRect=function(){return this._rect},t.prototype._adjustAxis=function(){var t=this._rect,e=this._axis,n=e.isHorizontal(),r=n?[0,t.width]:[0,t.height],i=e.inverse?1:0;e.setExtent(r[i],r[1-i]),this._updateAxisTransform(e,n?t.x:t.y)},t.prototype._updateAxisTransform=function(t,e){var n=t.getExtent(),r=n[0]+n[1],i=t.isHorizontal();t.toGlobalCoord=i?function(t){return t+e}:function(t){return r-t+e},t.toLocalCoord=i?function(t){return t-e}:function(t){return r-t+e}},t.prototype.getAxis=function(){return this._axis},t.prototype.getBaseAxis=function(){return this._axis},t.prototype.getAxes=function(){return[this._axis]},t.prototype.getTooltipAxes=function(){return{baseAxes:[this.getAxis()],otherAxes:[]}},t.prototype.containPoint=function(t){var e=this.getRect(),n=this.getAxis();return"horizontal"===n.orient?n.contain(n.toLocalCoord(t[0]))&&t[1]>=e.y&&t[1]<=e.y+e.height:n.contain(n.toLocalCoord(t[1]))&&t[0]>=e.y&&t[0]<=e.y+e.height},t.prototype.pointToData=function(t){var e=this.getAxis();return[e.coordToData(e.toLocalCoord(t["horizontal"===e.orient?0:1]))]},t.prototype.dataToPoint=function(t){var e=this.getAxis(),n=this.getRect(),r=[],i="horizontal"===e.orient?0:1;return t instanceof Array&&(t=t[0]),r[i]=e.toGlobalCoord(e.dataToCoord(+t)),r[1-i]=0===i?n.y+n.height/2:n.x+n.width/2,r},t.prototype.convertToPixel=function(t,e,n){return P7(e)===this?this.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){return P7(e)===this?this.pointToData(n):null},t}();function P7(t){var e=t.seriesModel,n=t.singleAxisModel;return n&&n.coordinateSystem||e&&e.coordinateSystem}const D7=E7;const O7={create:function(t,e){var n=[];return t.eachComponent("singleAxis",(function(r,i){var a=new D7(r,t,e);a.name="single_"+i,a.resize(r,e),r.coordinateSystem=a,n.push(a)})),t.eachSeries((function(t){if("singleAxis"===t.get("coordinateSystem")){var e=t.getReferringComponents("singleAxis",YE).models[0];t.coordinateSystem=e&&e.coordinateSystem}})),n},dimensions:A7};var L7=["x","y"],R7=["width","height"],N7=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.makeElOption=function(t,e,n,r,i){var a=n.axis,o=a.coordinateSystem,s=B7(o,1-F7(a)),u=o.dataToPoint(e)[0],c=r.get("type");if(c&&"none"!==c){var l=i9(r),h=j7[c](a,u,s);h.style=l,t.graphicKey=h.type,t.pointer=h}u9(e,t,y7(n),n,r,i)},e.prototype.getHandleTransform=function(t,e,n){var r=y7(e,{labelInside:!1});r.labelMargin=n.get(["handle","margin"]);var i=s9(e.axis,t,r);return{x:i[0],y:i[1],rotation:r.rotation+(r.labelDirection<0?Math.PI:0)}},e.prototype.updateHandleTransform=function(t,e,n,r){var i=n.axis,a=i.coordinateSystem,o=F7(i),s=B7(a,o),u=[t.x,t.y];u[o]+=e[o],u[o]=Math.min(s[1],u[o]),u[o]=Math.max(s[0],u[o]);var c=B7(a,1-o),l=(c[1]+c[0])/2,h=[l,l];return h[o]=u[o],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:h,tooltipOption:{verticalAlign:"middle"}}},e}(r9),j7={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:c9([e,n[0]],[e,n[1]],F7(t))}},shadow:function(t,e,n){var r=t.getBandWidth(),i=n[1]-n[0];return{type:"Rect",shape:l9([e-r/2,n[0]],[r,i],F7(t))}}};function F7(t){return t.isHorizontal()?0:1}function B7(t,e){var n=t.getRect();return[n[L7[e]],n[L7[e]]+n[R7[e]]]}const z7=N7;var $7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="single",e}(uB);function V7(t,e){var n,r=t.cellSize;1===(n=uI(r)?r:t.cellSize=[r,r]).length&&(n[1]=n[0]);var i=nI([0,1],(function(t){return function(t,e){return null!=t[eN[e][0]]||null!=t[eN[e][1]]&&null!=t[eN[e][2]]}(e,t)&&(n[t]="auto"),null!=n[t]&&"auto"!==n[t]}));sN(t,e,{type:"box",ignoreSize:i})}const H7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(e,n,r){var i=uN(e);t.prototype.init.apply(this,arguments),V7(e,i)},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),V7(this.option,e)},e.prototype.getCellSize=function(){return this.option.cellSize},e.type="calendar",e.defaultOption={z:2,left:80,top:60,cellSize:20,orient:"horizontal",splitLine:{show:!0,lineStyle:{color:"#000",width:1,type:"solid"}},itemStyle:{color:"#fff",borderWidth:1,borderColor:"#ccc"},dayLabel:{show:!0,firstDay:0,position:"start",margin:"50%",color:"#000"},monthLabel:{show:!0,position:"start",margin:5,align:"center",formatter:null,color:"#000"},yearLabel:{show:!0,position:null,margin:30,formatter:null,color:"#ccc",fontFamily:"sans-serif",fontWeight:"bolder",fontSize:20}},e}(fN);var W7=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){var r=this.group;r.removeAll();var i=t.coordinateSystem,a=i.getRangeInfo(),o=i.getOrient(),s=e.getLocaleModel();this._renderDayRect(t,a,r),this._renderLines(t,a,o,r),this._renderYearText(t,a,o,r),this._renderMonthText(t,s,o,r),this._renderWeekText(t,s,a,o,r)},e.prototype._renderDayRect=function(t,e,n){for(var r=t.coordinateSystem,i=t.getModel("itemStyle").getItemStyle(),a=r.getCellWidth(),o=r.getCellHeight(),s=e.start.time;s<=e.end.time;s=r.getNextNDay(s,1).time){var u=r.dataToRect([s],!1).tl,c=new eO({shape:{x:u[0],y:u[1],width:a,height:o},cursor:"default",style:i});n.add(c)}},e.prototype._renderLines=function(t,e,n,r){var i=this,a=t.coordinateSystem,o=t.getModel(["splitLine","lineStyle"]).getLineStyle(),s=t.get(["splitLine","show"]),u=o.lineWidth;this._tlpoints=[],this._blpoints=[],this._firstDayOfMonth=[],this._firstDayPoints=[];for(var c=e.start,l=0;c.time<=e.end.time;l++){f(c.formatedDate),0===l&&(c=a.getDateInfo(e.start.y+"-"+e.start.m));var h=c.date;h.setMonth(h.getMonth()+1),c=a.getDateInfo(h)}function f(e){i._firstDayOfMonth.push(a.getDateInfo(e)),i._firstDayPoints.push(a.dataToRect([e],!1).tl);var u=i._getLinePointsOfOneWeek(t,e,n);i._tlpoints.push(u[0]),i._blpoints.push(u[u.length-1]),s&&i._drawSplitline(u,o,r)}f(a.getNextNDay(e.end.time,1).formatedDate),s&&this._drawSplitline(i._getEdgesPoints(i._tlpoints,u,n),o,r),s&&this._drawSplitline(i._getEdgesPoints(i._blpoints,u,n),o,r)},e.prototype._getEdgesPoints=function(t,e,n){var r=[t[0].slice(),t[t.length-1].slice()],i="horizontal"===n?0:1;return r[0][i]=r[0][i]-e/2,r[1][i]=r[1][i]+e/2,r},e.prototype._drawSplitline=function(t,e,n){var r=new sz({z2:20,shape:{points:t},style:e});n.add(r)},e.prototype._getLinePointsOfOneWeek=function(t,e,n){for(var r=t.coordinateSystem,i=r.getDateInfo(e),a=[],o=0;o<7;o++){var s=r.getNextNDay(i.time,o),u=r.dataToRect([s.time],!1);a[2*s.day]=u.tl,a[2*s.day+1]=u["horizontal"===n?"bl":"tr"]}return a},e.prototype._formatterLabel=function(t,e){return lI(t)&&t?function(t,e,n){return eI(e,(function(e,r){t=t.replace("{"+r+"}",n?mM(e):e)})),t}(t,e):cI(t)?t(e):e.nameMap},e.prototype._yearTextPositionControl=function(t,e,n,r,i){var a=e[0],o=e[1],s=["center","bottom"];"bottom"===r?(o+=i,s=["center","top"]):"left"===r?a-=i:"right"===r?(a+=i,s=["center","top"]):o-=i;var u=0;return"left"!==r&&"right"!==r||(u=Math.PI/2),{rotation:u,x:a,y:o,style:{align:s[0],verticalAlign:s[1]}}},e.prototype._renderYearText=function(t,e,n,r){var i=t.getModel("yearLabel");if(i.get("show")){var a=i.get("margin"),o=i.get("position");o||(o="horizontal"!==n?"top":"left");var s=[this._tlpoints[this._tlpoints.length-1],this._blpoints[0]],u=(s[0][0]+s[1][0])/2,c=(s[0][1]+s[1][1])/2,l="horizontal"===n?0:1,h={top:[u,s[l][1]],bottom:[u,s[1-l][1]],left:[s[1-l][0],c],right:[s[l][0],c]},f=e.start.y;+e.end.y>+e.start.y&&(f=f+"-"+e.end.y);var d=i.get("formatter"),p={start:e.start.y,end:e.end.y,nameMap:f},g=this._formatterLabel(d,p),b=new vO({z2:30,style:OL(i,{text:g})});b.attr(this._yearTextPositionControl(b,h[o],n,o,a)),r.add(b)}},e.prototype._monthTextPositionControl=function(t,e,n,r,i){var a="left",o="top",s=t[0],u=t[1];return"horizontal"===n?(u+=i,e&&(a="center"),"start"===r&&(o="bottom")):(s+=i,e&&(o="middle"),"start"===r&&(a="right")),{x:s,y:u,align:a,verticalAlign:o}},e.prototype._renderMonthText=function(t,e,n,r){var i=t.getModel("monthLabel");if(i.get("show")){var a=i.get("nameMap"),o=i.get("margin"),s=i.get("position"),u=i.get("align"),c=[this._tlpoints,this._blpoints];a&&!lI(a)||(a&&(e=dR(a)||e),a=e.get(["time","monthAbbr"])||[]);var l="start"===s?0:1,h="horizontal"===n?0:1;o="start"===s?-o:o;for(var f="center"===u,d=0;d<c[l].length-1;d++){var p=c[l][d].slice(),g=this._firstDayOfMonth[d];if(f){var b=this._firstDayPoints[d];p[h]=(b[h]+c[0][d+1][h])/2}var v=i.get("formatter"),m=a[+g.m-1],y={yyyy:g.y,yy:(g.y+"").slice(2),MM:g.m,M:+g.m,nameMap:m},w=this._formatterLabel(v,y),x=new vO({z2:30,style:Kk(OL(i,{text:w}),this._monthTextPositionControl(p,f,n,s,o))});r.add(x)}}},e.prototype._weekTextPositionControl=function(t,e,n,r,i){var a="center",o="middle",s=t[0],u=t[1],c="start"===n;return"horizontal"===e?(s=s+r+(c?1:-1)*i[0]/2,a=c?"right":"left"):(u=u+r+(c?1:-1)*i[1]/2,o=c?"bottom":"top"),{x:s,y:u,align:a,verticalAlign:o}},e.prototype._renderWeekText=function(t,e,n,r,i){var a=t.getModel("dayLabel");if(a.get("show")){var o=t.coordinateSystem,s=a.get("position"),u=a.get("nameMap"),c=a.get("margin"),l=o.getFirstDayOfWeek();if(!u||lI(u))u&&(e=dR(u)||e),u=e.get(["time","dayOfWeekShort"])||nI(e.get(["time","dayOfWeekAbbr"]),(function(t){return t[0]}));var h=o.getNextNDay(n.end.time,7-n.lweek).time,f=[o.getCellWidth(),o.getCellHeight()];c=cE(c,Math.min(f[1],f[0])),"start"===s&&(h=o.getNextNDay(n.start.time,-(7+n.fweek)).time,c=-c);for(var d=0;d<7;d++){var p,g=o.getNextNDay(h,d),b=o.dataToRect([g.time],!1).center;p=Math.abs((d+l)%7);var v=new vO({z2:30,style:Kk(OL(a,{text:u[p]}),this._weekTextPositionControl(b,r,s,c,f))});i.add(v)}}},e.type="calendar",e}(uB);const G7=W7;var U7=864e5,X7=function(){function t(e,n,r){this.type="calendar",this.dimensions=t.dimensions,this.getDimensionsInfo=t.getDimensionsInfo,this._model=e}return t.getDimensionsInfo=function(){return[{name:"time",type:"time"},"value"]},t.prototype.getRangeInfo=function(){return this._rangeInfo},t.prototype.getModel=function(){return this._model},t.prototype.getRect=function(){return this._rect},t.prototype.getCellWidth=function(){return this._sw},t.prototype.getCellHeight=function(){return this._sh},t.prototype.getOrient=function(){return this._orient},t.prototype.getFirstDayOfWeek=function(){return this._firstDayOfWeek},t.prototype.getDateInfo=function(t){var e=(t=wE(t)).getFullYear(),n=t.getMonth()+1,r=n<10?"0"+n:""+n,i=t.getDate(),a=i<10?"0"+i:""+i,o=t.getDay();return{y:e+"",m:r,d:a,day:o=Math.abs((o+7-this.getFirstDayOfWeek())%7),time:t.getTime(),formatedDate:e+"-"+r+"-"+a,date:t}},t.prototype.getNextNDay=function(t,e){return 0===(e=e||0)||(t=new Date(this.getDateInfo(t).time)).setDate(t.getDate()+e),this.getDateInfo(t)},t.prototype.update=function(t,e){this._firstDayOfWeek=+this._model.getModel("dayLabel").get("firstDay"),this._orient=this._model.get("orient"),this._lineWidth=this._model.getModel("itemStyle").getItemStyle().lineWidth||0,this._rangeInfo=this._getRangeInfo(this._initRangeOption());var n=this._rangeInfo.weeks||1,r=["width","height"],i=this._model.getCellSize().slice(),a=this._model.getBoxLayoutParams(),o="horizontal"===this._orient?[n,7]:[7,n];eI([0,1],(function(t){c(i,t)&&(a[r[t]]=i[t]*o[t])}));var s={width:e.getWidth(),height:e.getHeight()},u=this._rect=iN(a,s);function c(t,e){return null!=t[e]&&"auto"!==t[e]}eI([0,1],(function(t){c(i,t)||(i[t]=u[r[t]]/o[t])})),this._sw=i[0],this._sh=i[1]},t.prototype.dataToPoint=function(t,e){uI(t)&&(t=t[0]),null==e&&(e=!0);var n=this.getDateInfo(t),r=this._rangeInfo,i=n.formatedDate;if(e&&!(n.time>=r.start.time&&n.time<r.end.time+U7))return[NaN,NaN];var a=n.day,o=this._getRangeInfo([r.start.time,i]).nthWeek;return"vertical"===this._orient?[this._rect.x+a*this._sw+this._sw/2,this._rect.y+o*this._sh+this._sh/2]:[this._rect.x+o*this._sw+this._sw/2,this._rect.y+a*this._sh+this._sh/2]},t.prototype.pointToData=function(t){var e=this.pointToDate(t);return e&&e.time},t.prototype.dataToRect=function(t,e){var n=this.dataToPoint(t,e);return{contentShape:{x:n[0]-(this._sw-this._lineWidth)/2,y:n[1]-(this._sh-this._lineWidth)/2,width:this._sw-this._lineWidth,height:this._sh-this._lineWidth},center:n,tl:[n[0]-this._sw/2,n[1]-this._sh/2],tr:[n[0]+this._sw/2,n[1]-this._sh/2],br:[n[0]+this._sw/2,n[1]+this._sh/2],bl:[n[0]-this._sw/2,n[1]+this._sh/2]}},t.prototype.pointToDate=function(t){var e=Math.floor((t[0]-this._rect.x)/this._sw)+1,n=Math.floor((t[1]-this._rect.y)/this._sh)+1,r=this._rangeInfo.range;return"vertical"===this._orient?this._getDateByWeeksAndDay(n,e-1,r):this._getDateByWeeksAndDay(e,n-1,r)},t.prototype.convertToPixel=function(t,e,n){var r=q7(e);return r===this?r.dataToPoint(n):null},t.prototype.convertFromPixel=function(t,e,n){var r=q7(e);return r===this?r.pointToData(n):null},t.prototype.containPoint=function(t){return console.warn("Not implemented."),!1},t.prototype._initRangeOption=function(){var t,e=this._model.get("range");if(uI(e)&&1===e.length&&(e=e[0]),uI(e))t=e;else{var n=e.toString();if(/^\d{4}$/.test(n)&&(t=[n+"-01-01",n+"-12-31"]),/^\d{4}[\/|-]\d{1,2}$/.test(n)){var r=this.getDateInfo(n),i=r.date;i.setMonth(i.getMonth()+1);var a=this.getNextNDay(i,-1);t=[r.formatedDate,a.formatedDate]}/^\d{4}[\/|-]\d{1,2}[\/|-]\d{1,2}$/.test(n)&&(t=[n,n])}if(!t)return e;var o=this._getRangeInfo(t);return o.start.time>o.end.time&&t.reverse(),t},t.prototype._getRangeInfo=function(t){var e,n=[this.getDateInfo(t[0]),this.getDateInfo(t[1])];n[0].time>n[1].time&&(e=!0,n.reverse());var r=Math.floor(n[1].time/U7)-Math.floor(n[0].time/U7)+1,i=new Date(n[0].time),a=i.getDate(),o=n[1].date.getDate();i.setDate(a+r-1);var s=i.getDate();if(s!==o)for(var u=i.getTime()-n[1].time>0?1:-1;(s=i.getDate())!==o&&(i.getTime()-n[1].time)*u>0;)r-=u,i.setDate(s-u);var c=Math.floor((r+n[0].day+6)/7),l=e?1-c:c-1;return e&&n.reverse(),{range:[n[0].formatedDate,n[1].formatedDate],start:n[0],end:n[1],allDay:r,weeks:c,nthWeek:l,fweek:n[0].day,lweek:n[1].day}},t.prototype._getDateByWeeksAndDay=function(t,e,n){var r=this._getRangeInfo(n);if(t>r.weeks||0===t&&e<r.fweek||t===r.weeks&&e>r.lweek)return null;var i=7*(t-1)-r.fweek+e,a=new Date(r.start.time);return a.setDate(+r.start.d+i),this.getDateInfo(a)},t.create=function(e,n){var r=[];return e.eachComponent("calendar",(function(i){var a=new t(i,e,n);r.push(a),i.coordinateSystem=a})),e.eachSeries((function(t){"calendar"===t.get("coordinateSystem")&&(t.coordinateSystem=r[t.get("calendarIndex")||0])})),r},t.dimensions=["time","value"],t}();function q7(t){var e=t.calendarModel,n=t.seriesModel;return e?e.coordinateSystem:n?n.coordinateSystem:null}const Y7=X7;function K7(t,e){var n;return eI(e,(function(e){null!=t[e]&&"auto"!==t[e]&&(n=!0)})),n}var Z7=["transition","enterFrom","leaveTo"],Q7=Z7.concat(["enterAnimation","updateAnimation","leaveAnimation"]);function J7(t,e,n){if(n&&(!t[n]&&e[n]&&(t[n]={}),t=t[n],e=e[n]),t&&e)for(var r=n?Z7:Q7,i=0;i<r.length;i++){var a=r[i];null==t[a]&&null!=e[a]&&(t[a]=e[a])}}var ttt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.preventAutoZ=!0,n}return Sk(e,t),e.prototype.mergeOption=function(e,n){var r=this.option.elements;this.option.elements=null,t.prototype.mergeOption.call(this,e,n),this.option.elements=r},e.prototype.optionUpdated=function(t,e){var n=this.option,r=(e?n:t).elements,i=n.elements=e?[]:n.elements,a=[];this._flatten(r,a,null);var o=FE(i,a,"normalMerge"),s=this._elOptionsToUpdate=[];eI(o,(function(t,e){var n=t.newOption;n&&(s.push(n),function(t,e){var n=t.existing;if(e.id=t.keyInfo.id,!e.type&&n&&(e.type=n.type),null==e.parentId){var r=e.parentOption;r?e.parentId=r.id:n&&(e.parentId=n.parentId)}e.parentOption=null}(t,n),function(t,e,n){var r=Kk({},n),i=t[e],a=n.$action||"merge";"merge"===a?i?(qk(i,r,!0),sN(i,r,{ignoreSize:!0}),cN(n,i),J7(n,i),J7(n,i,"shape"),J7(n,i,"style"),J7(n,i,"extra"),n.clipPath=i.clipPath):t[e]=r:"replace"===a?t[e]=r:"remove"===a&&i&&(t[e]=null)}(i,e,n),function(t,e){if(t&&(t.hv=e.hv=[K7(e,["left","right"]),K7(e,["top","bottom"])],"group"===t.type)){var n=t,r=e;null==n.width&&(n.width=r.width=0),null==n.height&&(n.height=r.height=0)}}(i[e],n))}),this),n.elements=iI(i,(function(t){return t&&delete t.$action,null!=t}))},e.prototype._flatten=function(t,e,n){eI(t,(function(t){if(t){n&&(t.parentOption=n),e.push(t);var r=t.children;r&&r.length&&this._flatten(r,e,t),delete t.children}}),this)},e.prototype.useElOptionsToUpdate=function(){var t=this._elOptionsToUpdate;return this._elOptionsToUpdate=null,t},e.type="graphic",e.defaultOption={elements:[]},e}(fN),ett={path:null,compoundPath:null,group:nE,image:XD,text:vO},ntt=GE(),rtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(){this._elMap=DI()},e.prototype.render=function(t,e,n){t!==this._lastGraphicModel&&this._clear(),this._lastGraphicModel=t,this._updateElements(t),this._relocate(t,n)},e.prototype._updateElements=function(t){var e=t.useElOptionsToUpdate();if(e){var n=this._elMap,r=this.group,i=t.get("z"),a=t.get("zlevel");eI(e,(function(e){var o=$E(e.id,null),s=null!=o?n.get(o):null,u=$E(e.parentId,null),c=null!=u?n.get(u):r,l=e.type,h=e.style;"text"===l&&h&&e.hv&&e.hv[1]&&(h.textVerticalAlign=h.textBaseline=h.verticalAlign=h.align=null);var f=e.textContent,d=e.textConfig;if(h&&X6(h,l,!!d,!!f)){var p=q6(h,l,!0);!d&&p.textConfig&&(d=e.textConfig=p.textConfig),!f&&p.textContent&&(f=p.textContent)}var g=function(t){return t=Kk({},t),eI(["id","parentId","$action","hv","bounding","textContent","clipPath"].concat(tN),(function(e){delete t[e]})),t}(e);var b=e.$action||"merge",v="merge"===b,m="replace"===b;if(v){var y=s;(M=!s)?y=att(o,c,e.type,n):(y&&(ntt(y).isNew=!1),g8(y)),y&&(r8(y,g,t,{isInit:M}),stt(y,e,i,a))}else if(m){ott(s,e,n,t);var w=att(o,c,e.type,n);w&&(r8(w,g,t,{isInit:!0}),stt(w,e,i,a))}else"remove"===b&&(i8(s,e),ott(s,e,n,t));var x=n.get(o);if(x&&f)if(v){var _=x.getTextContent();_?_.attr(f):x.setTextContent(new vO(f))}else m&&x.setTextContent(new vO(f));if(x){var S=e.clipPath;if(S){var k=S.type,I=void 0,M=!1;if(v){var C=x.getClipPath();I=(M=!C||ntt(C).type!==k)?itt(k):C}else m&&(M=!0,I=itt(k));x.setClipPath(I),r8(I,S,t,{isInit:M}),b8(I,S.keyframeAnimation,t)}var T=ntt(x);x.setTextConfig(d),T.option=e,function(t,e,n){var r=mO(t).eventData;t.silent||t.ignore||r||(r=mO(t).eventData={componentType:"graphic",componentIndex:e.componentIndex,name:t.name});r&&(r.info=n.info)}(x,t,e),c$({el:x,componentModel:t,itemName:x.name,itemTooltipOption:e.tooltip}),b8(x,e.keyframeAnimation,t)}}))}},e.prototype._relocate=function(t,e){for(var n=t.option.elements,r=this.group,i=this._elMap,a=e.getWidth(),o=e.getHeight(),s=["x","y"],u=0;u<n.length;u++){if((p=null!=(d=$E((f=n[u]).id,null))?i.get(d):null)&&p.isGroup){var c=(g=p.parent)===r,l=ntt(p),h=ntt(g);l.width=cE(l.option.width,c?a:h.width)||0,l.height=cE(l.option.height,c?o:h.height)||0}}for(u=n.length-1;u>=0;u--){var f,d,p;if(p=null!=(d=$E((f=n[u]).id,null))?i.get(d):null){var g=p.parent,b=(h=ntt(g),{}),v=aN(p,f,g===r?{width:a,height:o}:{width:h.width,height:h.height},null,{hv:f.hv,boundingMode:f.bounding},b);if(!ntt(p).isNew&&v){for(var m=f.transition,y={},w=0;w<s.length;w++){var x=s[w],_=b[x];m&&(o8(m)||Qk(m,x)>=0)?y[x]=_:p[x]=_}xL(p,y,t,0)}else p.attr(b)}}},e.prototype._clear=function(){var t=this,e=this._elMap;e.each((function(n){ott(n,ntt(n).option,e,t._lastGraphicModel)})),this._elMap=DI()},e.prototype.dispose=function(){this._clear()},e.type="graphic",e}(uB);function itt(t){var e=new(NI(ett,t)?ett[t]:Hz(t))({});return ntt(e).type=t,e}function att(t,e,n,r){var i=itt(n);return e.add(i),r.set(t,i),ntt(i).id=t,ntt(i).isNew=!0,i}function ott(t,e,n,r){t&&t.parent&&("group"===t.type&&t.traverse((function(t){ott(t,e,n,r)})),a8(t,e,r),n.removeKey(ntt(t).id))}function stt(t,e,n,r){t.isGroup||eI([["cursor",FP.prototype.cursor],["zlevel",r||0],["z",n||0],["z2",0]],(function(n){var r=n[0];NI(e,r)?t[r]=wI(e[r],n[1]):null==t[r]&&(t[r]=n[1])})),eI(aI(e),(function(n){if(0===n.indexOf("on")){var r=e[n];t[n]=cI(r)?r:null}})),NI(e,"draggable")&&(t.draggable=e.draggable),null!=e.name&&(t.name=e.name),null!=e.id&&(t.id=e.id)}var utt=["x","y","radius","angle","single"],ctt=["cartesian2d","polar","singleAxis"];function ltt(t){return t+"Axis"}function htt(t,e){var n,r=DI(),i=[],a=DI();t.eachComponent({mainType:"dataZoom",query:e},(function(t){a.get(t.uid)||s(t)}));do{n=!1,t.eachComponent("dataZoom",o)}while(n);function o(t){!a.get(t.uid)&&function(t){var e=!1;return t.eachTargetAxis((function(t,n){var i=r.get(t);i&&i[n]&&(e=!0)})),e}(t)&&(s(t),n=!0)}function s(t){a.set(t.uid,!0),i.push(t),t.eachTargetAxis((function(t,e){(r.get(t)||r.set(t,[]))[e]=!0}))}return i}function ftt(t){var e=t.ecModel,n={infoList:[],infoMap:DI()};return t.eachTargetAxis((function(t,r){var i=e.getComponent(ltt(t),r);if(i){var a=i.getCoordSysModel();if(a){var o=a.uid,s=n.infoMap.get(o);s||(s={model:a,axisModels:[]},n.infoList.push(s),n.infoMap.set(o,s)),s.axisModels.push(i)}}})),n}var dtt=function(){function t(){this.indexList=[],this.indexMap=[]}return t.prototype.add=function(t){this.indexMap[t]||(this.indexList.push(t),this.indexMap[t]=!0)},t}(),ptt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._autoThrottle=!0,n._noTarget=!0,n._rangePropMode=["percent","percent"],n}return Sk(e,t),e.prototype.init=function(t,e,n){var r=gtt(t);this.settledOption=r,this.mergeDefaultAndTheme(t,n),this._doInit(r)},e.prototype.mergeOption=function(t){var e=gtt(t);qk(this.option,t,!0),qk(this.settledOption,e,!0),this._doInit(e)},e.prototype._doInit=function(t){var e=this.option;this._setDefaultThrottle(t),this._updateRangeUse(t);var n=this.settledOption;eI([["start","startValue"],["end","endValue"]],(function(t,r){"value"===this._rangePropMode[r]&&(e[t[0]]=n[t[0]]=null)}),this),this._resetTarget()},e.prototype._resetTarget=function(){var t=this.get("orient",!0),e=this._targetAxisInfoMap=DI();this._fillSpecifiedTargetAxis(e)?this._orient=t||this._makeAutoOrientByTargetAxis():(this._orient=t||"horizontal",this._fillAutoTargetAxisByOrient(e,this._orient)),this._noTarget=!0,e.each((function(t){t.indexList.length&&(this._noTarget=!1)}),this)},e.prototype._fillSpecifiedTargetAxis=function(t){var e=!1;return eI(utt,(function(n){var r=this.getReferringComponents(ltt(n),KE);if(r.specified){e=!0;var i=new dtt;eI(r.models,(function(t){i.add(t.componentIndex)})),t.set(n,i)}}),this),e},e.prototype._fillAutoTargetAxisByOrient=function(t,e){var n=this.ecModel,r=!0;if(r){var i="vertical"===e?"y":"x";a(n.findComponents({mainType:i+"Axis"}),i)}r&&a(n.findComponents({mainType:"singleAxis",filter:function(t){return t.get("orient",!0)===e}}),"single");function a(e,n){var i=e[0];if(i){var a=new dtt;if(a.add(i.componentIndex),t.set(n,a),r=!1,"x"===n||"y"===n){var o=i.getReferringComponents("grid",YE).models[0];o&&eI(e,(function(t){i.componentIndex!==t.componentIndex&&o===t.getReferringComponents("grid",YE).models[0]&&a.add(t.componentIndex)}))}}}r&&eI(utt,(function(e){if(r){var i=n.findComponents({mainType:ltt(e),filter:function(t){return"category"===t.get("type",!0)}});if(i[0]){var a=new dtt;a.add(i[0].componentIndex),t.set(e,a),r=!1}}}),this)},e.prototype._makeAutoOrientByTargetAxis=function(){var t;return this.eachTargetAxis((function(e){!t&&(t=e)}),this),"y"===t?"vertical":"horizontal"},e.prototype._setDefaultThrottle=function(t){if(t.hasOwnProperty("throttle")&&(this._autoThrottle=!1),this._autoThrottle){var e=this.ecModel.option;this.option.throttle=e.animation&&e.animationDurationUpdate>0?100:20}},e.prototype._updateRangeUse=function(t){var e=this._rangePropMode,n=this.get("rangeMode");eI([["start","startValue"],["end","endValue"]],(function(r,i){var a=null!=t[r[0]],o=null!=t[r[1]];a&&!o?e[i]="percent":!a&&o?e[i]="value":n?e[i]=n[i]:a&&(e[i]="percent")}))},e.prototype.noTarget=function(){return this._noTarget},e.prototype.getFirstTargetAxisModel=function(){var t;return this.eachTargetAxis((function(e,n){null==t&&(t=this.ecModel.getComponent(ltt(e),n))}),this),t},e.prototype.eachTargetAxis=function(t,e){this._targetAxisInfoMap.each((function(n,r){eI(n.indexList,(function(n){t.call(e,r,n)}))}))},e.prototype.getAxisProxy=function(t,e){var n=this.getAxisModel(t,e);if(n)return n.__dzAxisProxy},e.prototype.getAxisModel=function(t,e){var n=this._targetAxisInfoMap.get(t);if(n&&n.indexMap[e])return this.ecModel.getComponent(ltt(t),e)},e.prototype.setRawRange=function(t){var e=this.option,n=this.settledOption;eI([["start","startValue"],["end","endValue"]],(function(r){null==t[r[0]]&&null==t[r[1]]||(e[r[0]]=n[r[0]]=t[r[0]],e[r[1]]=n[r[1]]=t[r[1]])}),this),this._updateRangeUse(t)},e.prototype.setCalculatedRange=function(t){var e=this.option;eI(["start","startValue","end","endValue"],(function(n){e[n]=t[n]}))},e.prototype.getPercentRange=function(){var t=this.findRepresentativeAxisProxy();if(t)return t.getDataPercentWindow()},e.prototype.getValueRange=function(t,e){if(null!=t||null!=e)return this.getAxisProxy(t,e).getDataValueWindow();var n=this.findRepresentativeAxisProxy();return n?n.getDataValueWindow():void 0},e.prototype.findRepresentativeAxisProxy=function(t){if(t)return t.__dzAxisProxy;for(var e,n=this._targetAxisInfoMap.keys(),r=0;r<n.length;r++)for(var i=n[r],a=this._targetAxisInfoMap.get(i),o=0;o<a.indexList.length;o++){var s=this.getAxisProxy(i,a.indexList[o]);if(s.hostedBy(this))return s;e||(e=s)}return e},e.prototype.getRangePropMode=function(){return this._rangePropMode.slice()},e.prototype.getOrient=function(){return this._orient},e.type="dataZoom",e.dependencies=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","series","toolbox"],e.defaultOption={z:4,filterMode:"filter",start:0,end:100},e}(fN);function gtt(t){var e={};return eI(["start","end","startValue","endValue","throttle"],(function(n){t.hasOwnProperty(n)&&(e[n]=t[n])})),e}const btt=ptt;const vtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="dataZoom.select",e}(btt);const mtt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n,r){this.dataZoomModel=t,this.ecModel=e,this.api=n},e.type="dataZoom",e}(uB);const ytt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="dataZoom.select",e}(mtt);var wtt=eI,xtt=hE,_tt=function(){function t(t,e,n,r){this._dimName=t,this._axisIndex=e,this.ecModel=r,this._dataZoomModel=n}return t.prototype.hostedBy=function(t){return this._dataZoomModel===t},t.prototype.getDataValueWindow=function(){return this._valueWindow.slice()},t.prototype.getDataPercentWindow=function(){return this._percentWindow.slice()},t.prototype.getTargetSeriesModels=function(){var t=[];return this.ecModel.eachSeries((function(e){if(function(t){var e=t.get("coordinateSystem");return Qk(ctt,e)>=0}(e)){var n=ltt(this._dimName),r=e.getReferringComponents(n,YE).models[0];r&&this._axisIndex===r.componentIndex&&t.push(e)}}),this),t},t.prototype.getAxisModel=function(){return this.ecModel.getComponent(this._dimName+"Axis",this._axisIndex)},t.prototype.getMinMaxSpan=function(){return Xk(this._minMaxSpan)},t.prototype.calculateDataWindow=function(t){var e,n=this._dataExtent,r=this.getAxisModel().axis.scale,i=this._dataZoomModel.getRangePropMode(),a=[0,100],o=[],s=[];wtt(["start","end"],(function(u,c){var l=t[u],h=t[u+"Value"];"percent"===i[c]?(null==l&&(l=a[c]),h=r.parse(uE(l,a,n))):(e=!0,l=uE(h=null==h?n[c]:r.parse(h),n,a)),s[c]=null==h||isNaN(h)?n[c]:h,o[c]=null==l||isNaN(l)?a[c]:l})),xtt(s),xtt(o);var u=this._minMaxSpan;function c(t,e,n,i,a){var o=a?"Span":"ValueSpan";t3(0,t,n,"all",u["min"+o],u["max"+o]);for(var s=0;s<2;s++)e[s]=uE(t[s],n,i,!0),a&&(e[s]=r.parse(e[s]))}return e?c(s,o,n,a,!1):c(o,s,a,n,!0),{valueWindow:s,percentWindow:o}},t.prototype.reset=function(t){if(t===this._dataZoomModel){var e=this.getTargetSeriesModels();this._dataExtent=function(t,e,n){var r=[1/0,-1/0];wtt(n,(function(t){!function(t,e,n){e&&eI(oK(e,n),(function(n){var r=e.getApproximateExtent(n);r[0]<t[0]&&(t[0]=r[0]),r[1]>t[1]&&(t[1]=r[1])}))}(r,t.getData(),e)}));var i=t.getAxisModel(),a=KY(i.axis.scale,i,r).calculate();return[a.min,a.max]}(this,this._dimName,e),this._updateMinMaxSpan();var n=this.calculateDataWindow(t.settledOption);this._valueWindow=n.valueWindow,this._percentWindow=n.percentWindow,this._setAxisModel()}},t.prototype.filterData=function(t,e){if(t===this._dataZoomModel){var n=this._dimName,r=this.getTargetSeriesModels(),i=t.get("filterMode"),a=this._valueWindow;"none"!==i&&wtt(r,(function(t){var e=t.getData(),r=e.mapDimensionsAll(n);if(r.length){if("weakFilter"===i){var o=e.getStore(),s=nI(r,(function(t){return e.getDimensionIndex(t)}),e);e.filterSelf((function(t){for(var e,n,i,u=0;u<r.length;u++){var c=o.get(s[u],t),l=!isNaN(c),h=c<a[0],f=c>a[1];if(l&&!h&&!f)return!0;l&&(i=!0),h&&(e=!0),f&&(n=!0)}return i&&e&&n}))}else wtt(r,(function(n){if("empty"===i)t.setData(e=e.map(n,(function(t){return function(t){return t>=a[0]&&t<=a[1]}(t)?t:NaN})));else{var r={};r[n]=a,e.selectRange(r)}}));wtt(r,(function(t){e.setApproximateExtent(a,t)}))}}))}},t.prototype._updateMinMaxSpan=function(){var t=this._minMaxSpan={},e=this._dataZoomModel,n=this._dataExtent;wtt(["min","max"],(function(r){var i=e.get(r+"Span"),a=e.get(r+"ValueSpan");null!=a&&(a=this.getAxisModel().axis.scale.parse(a)),null!=a?i=uE(n[0]+a,n,[0,100],!0):null!=i&&(a=uE(i,[0,100],n,!0)-n[0]),t[r+"Span"]=i,t[r+"ValueSpan"]=a}),this)},t.prototype._setAxisModel=function(){var t=this.getAxisModel(),e=this._percentWindow,n=this._valueWindow;if(e){var r=dE(n,[0,500]);r=Math.min(r,20);var i=t.axis.scale.rawExtentInfo;0!==e[0]&&i.setDeterminedMinMax("min",+n[0].toFixed(r)),100!==e[1]&&i.setDeterminedMinMax("max",+n[1].toFixed(r)),i.freeze()}},t}();const Stt=_tt;var ktt={getTargetSeries:function(t){function e(e){t.eachComponent("dataZoom",(function(n){n.eachTargetAxis((function(r,i){var a=t.getComponent(ltt(r),i);e(r,i,a,n)}))}))}e((function(t,e,n,r){n.__dzAxisProxy=null}));var n=[];e((function(e,r,i,a){i.__dzAxisProxy||(i.__dzAxisProxy=new Stt(e,r,a,t),n.push(i.__dzAxisProxy))}));var r=DI();return eI(n,(function(t){eI(t.getTargetSeriesModels(),(function(t){r.set(t.uid,t)}))})),r},overallReset:function(t,e){t.eachComponent("dataZoom",(function(t){t.eachTargetAxis((function(e,n){t.getAxisProxy(e,n).reset(t)})),t.eachTargetAxis((function(n,r){t.getAxisProxy(n,r).filterData(t,e)}))})),t.eachComponent("dataZoom",(function(t){var e=t.findRepresentativeAxisProxy();if(e){var n=e.getDataPercentWindow(),r=e.getDataValueWindow();t.setCalculatedRange({start:n[0],end:n[1],startValue:r[0],endValue:r[1]})}}))}};const Itt=ktt;var Mtt=!1;function Ctt(t){Mtt||(Mtt=!0,t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,Itt),function(t){t.registerAction("dataZoom",(function(t,e){eI(htt(e,t),(function(e){e.setRawRange({start:t.start,end:t.end,startValue:t.startValue,endValue:t.endValue})}))}))}(t),t.registerSubTypeDefaulter("dataZoom",(function(){return"slider"})))}function Ttt(t){t.registerComponentModel(vtt),t.registerComponentView(ytt),Ctt(t)}var Att=function(){},Ett={};function Ptt(t,e){Ett[t]=e}function Dtt(t){return Ett[t]}const Ott=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.optionUpdated=function(){t.prototype.optionUpdated.apply(this,arguments);var e=this.ecModel;eI(this.option.feature,(function(t,n){var r=Dtt(n);r&&(r.getDefaultOption&&(r.defaultOption=r.getDefaultOption(e)),qk(t,r.defaultOption))}))},e.type="toolbox",e.layoutMode={type:"box",ignoreSize:!0},e.defaultOption={show:!0,z:6,orient:"horizontal",left:"right",top:"top",backgroundColor:"transparent",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemSize:15,itemGap:8,showTitle:!0,iconStyle:{borderColor:"#666",color:"none"},emphasis:{iconStyle:{borderColor:"#3E98C5"}},tooltip:{show:!1,position:"bottom"}},e}(fN);function Ltt(t,e){var n=UR(e.get("padding")),r=e.getItemStyle(["color","opacity"]);return r.fill=e.get("backgroundColor"),t=new eO({shape:{x:t.x-n[3],y:t.y-n[0],width:t.width+n[1]+n[3],height:t.height+n[0]+n[2],r:e.get("borderRadius")},style:r,silent:!0,z2:-1})}var Rtt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.render=function(t,e,n,r){var i=this.group;if(i.removeAll(),t.get("show")){var a=+t.get("itemSize"),o="vertical"===t.get("orient"),s=t.get("feature")||{},u=this._features||(this._features={}),c=[];eI(s,(function(t,e){c.push(e)})),new mU(this._featureNames||[],c).add(l).update(l).remove(sI(l,null)).execute(),this._featureNames=c,function(t,e,n){var r=e.getBoxLayoutParams(),i=e.get("padding"),a={width:n.getWidth(),height:n.getHeight()},o=iN(r,a,i);rN(e.get("orient"),t,e.get("itemGap"),o.width,o.height),aN(t,r,a,i)}(i,t,n),i.add(Ltt(i.getBoundingRect(),t)),o||i.eachChild((function(t){var e=t.__title,r=t.ensureState("emphasis"),o=r.textConfig||(r.textConfig={}),s=t.getTextContent(),u=s&&s.ensureState("emphasis");if(u&&!cI(u)&&e){var c=u.style||(u.style={}),l=FA(e,vO.makeFont(c)),h=t.x+i.x,f=!1;t.y+i.y+a+l.height>n.getHeight()&&(o.position="top",f=!0);var d=f?-5-l.height:a+10;h+l.width/2>n.getWidth()?(o.position=["100%",d],c.align="right"):h-l.width/2<0&&(o.position=[0,d],c.align="left")}}))}function l(l,h){var f,d=c[l],p=c[h],g=s[d],b=new nR(g,t,t.ecModel);if(r&&null!=r.newTitle&&r.featureName===d&&(g.title=r.newTitle),d&&!p){if(function(t){return 0===t.indexOf("my")}(d))f={onclick:b.option.onclick,featureName:d};else{var v=Dtt(d);if(!v)return;f=new v}u[d]=f}else if(!(f=u[p]))return;f.uid=iR("toolbox-feature"),f.model=b,f.ecModel=e,f.api=n;var m=f instanceof Att;d||!p?!b.get("show")||m&&f.unusable?m&&f.remove&&f.remove(e,n):(!function(r,s,u){var c,l,h=r.getModel("iconStyle"),f=r.getModel(["emphasis","iconStyle"]),d=s instanceof Att&&s.getIcons?s.getIcons():r.get("icon"),p=r.get("title")||{};lI(d)?(c={})[u]=d:c=d;lI(p)?(l={})[u]=p:l=p;var g=r.iconPaths={};eI(c,(function(u,c){var d=a$(u,{},{x:-a/2,y:-a/2,width:a,height:a});d.setStyle(h.getItemStyle()),d.ensureState("emphasis").style=f.getItemStyle();var p=new vO({style:{text:l[c],align:f.get("textAlign"),borderRadius:f.get("textBorderRadius"),padding:f.get("textPadding"),fill:null},ignore:!0});d.setTextContent(p),c$({el:d,componentModel:t,itemName:c,formatterParamsExtra:{title:l[c]}}),d.__title=l[c],d.on("mouseover",(function(){var e=f.getItemStyle(),r=o?null==t.get("right")&&"right"!==t.get("left")?"right":"left":null==t.get("bottom")&&"bottom"!==t.get("top")?"bottom":"top";p.setStyle({fill:f.get("textFill")||e.fill||e.stroke||"#000",backgroundColor:f.get("textBackgroundColor")}),d.setTextConfig({position:f.get("textPosition")||r}),p.ignore=!t.get("showTitle"),n.enterEmphasis(this)})).on("mouseout",(function(){"emphasis"!==r.get(["iconStatus",c])&&n.leaveEmphasis(this),p.hide()})),("emphasis"===r.get(["iconStatus",c])?YO:KO)(d),i.add(d),d.on("click",oI(s.onclick,s,e,n,c)),g[c]=d}))}(b,f,d),b.setIconStatus=function(t,e){var n=this.option,r=this.iconPaths;n.iconStatus=n.iconStatus||{},n.iconStatus[t]=e,r[t]&&("emphasis"===e?YO:KO)(r[t])},f instanceof Att&&f.render&&f.render(b,e,n,r)):m&&f.dispose&&f.dispose(e,n)}},e.prototype.updateView=function(t,e,n,r){eI(this._features,(function(t){t instanceof Att&&t.updateView&&t.updateView(t.model,e,n,r)}))},e.prototype.remove=function(t,e){eI(this._features,(function(n){n instanceof Att&&n.remove&&n.remove(t,e)})),this.group.removeAll()},e.prototype.dispose=function(t,e){eI(this._features,(function(n){n instanceof Att&&n.dispose&&n.dispose(t,e)}))},e.type="toolbox",e}(uB);const Ntt=Rtt;var jtt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.onclick=function(t,e){var n=this.model,r=n.get("name")||t.get("title.0.text")||"echarts",i="svg"===e.getZr().painter.getType(),a=i?"svg":n.get("type",!0)||"png",o=e.getConnectedDataURL({type:a,backgroundColor:n.get("backgroundColor",!0)||t.get("backgroundColor")||"#fff",connectedBackgroundColor:n.get("connectedBackgroundColor"),excludeComponents:n.get("excludeComponents"),pixelRatio:n.get("pixelRatio")}),s=Mk.browser;if(cI(MouseEvent)&&(s.newEdge||!s.ie&&!s.edge)){var u=document.createElement("a");u.download=r+"."+a,u.target="_blank",u.href=o;var c=new MouseEvent("click",{view:document.defaultView,bubbles:!0,cancelable:!1});u.dispatchEvent(c)}else if(window.navigator.msSaveOrOpenBlob||i){var l=o.split(","),h=l[0].indexOf("base64")>-1,f=i?decodeURIComponent(l[1]):l[1];h&&(f=window.atob(f));var d=r+"."+a;if(window.navigator.msSaveOrOpenBlob){for(var p=f.length,g=new Uint8Array(p);p--;)g[p]=f.charCodeAt(p);var b=new Blob([g]);window.navigator.msSaveOrOpenBlob(b,d)}else{var v=document.createElement("iframe");document.body.appendChild(v);var m=v.contentWindow,y=m.document;y.open("image/svg+xml","replace"),y.write(f),y.close(),m.focus(),y.execCommand("SaveAs",!0,d),document.body.removeChild(v)}}else{var w=n.get("lang"),x='<body style="margin:0;"><img src="'+o+'" style="max-width:100%;" title="'+(w&&w[0]||"")+'" /></body>',_=window.open();_.document.write(x),_.document.title=r}},e.getDefaultOption=function(t){return{show:!0,icon:"M4.7,22.9L29.3,45.5L54.7,23.4M4.6,43.6L4.6,58L53.8,58L53.8,43.6M29.2,45.1L29.2,0",title:t.getLocaleModel().get(["toolbox","saveAsImage","title"]),type:"png",connectedBackgroundColor:"#fff",name:"",excludeComponents:["toolbox"],lang:t.getLocaleModel().get(["toolbox","saveAsImage","lang"])}},e}(Att);const Ftt=jtt;var Btt="__ec_magicType_stack__",ztt=[["line","bar"],["stack"]],$tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.getIcons=function(){var t=this.model,e=t.get("icon"),n={};return eI(t.get("type"),(function(t){e[t]&&(n[t]=e[t])})),n},e.getDefaultOption=function(t){return{show:!0,type:[],icon:{line:"M4.1,28.9h7.1l9.3-22l7.4,38l9.7-19.7l3,12.8h14.9M4.1,58h51.4",bar:"M6.7,22.9h10V48h-10V22.9zM24.9,13h10v35h-10V13zM43.2,2h10v46h-10V2zM3.1,58h53.7",stack:"M8.2,38.4l-8.4,4.1l30.6,15.3L60,42.5l-8.1-4.1l-21.5,11L8.2,38.4z M51.9,30l-8.1,4.2l-13.4,6.9l-13.9-6.9L8.2,30l-8.4,4.2l8.4,4.2l22.2,11l21.5-11l8.1-4.2L51.9,30z M51.9,21.7l-8.1,4.2L35.7,30l-5.3,2.8L24.9,30l-8.4-4.1l-8.3-4.2l-8.4,4.2L8.2,30l8.3,4.2l13.9,6.9l13.4-6.9l8.1-4.2l8.1-4.1L51.9,21.7zM30.4,2.2L-0.2,17.5l8.4,4.1l8.3,4.2l8.4,4.2l5.5,2.7l5.3-2.7l8.1-4.2l8.1-4.2l8.1-4.1L30.4,2.2z"},title:t.getLocaleModel().get(["toolbox","magicType","title"]),option:{},seriesIndex:{}}},e.prototype.onclick=function(t,e,n){var r=this.model,i=r.get(["seriesIndex",n]);if(Vtt[n]){var a,o={series:[]};eI(ztt,(function(t){Qk(t,n)>=0&&eI(t,(function(t){r.setIconStatus(t,"normal")}))})),r.setIconStatus(n,"emphasis"),t.eachComponent({mainType:"series",query:null==i?null:{seriesIndex:i}},(function(t){var e=t.subType,i=t.id,a=Vtt[n](e,i,t,r);a&&(Zk(a,t.option),o.series.push(a));var s=t.coordinateSystem;if(s&&"cartesian2d"===s.type&&("line"===n||"bar"===n)){var u=s.getAxesByScale("ordinal")[0];if(u){var c=u.dim+"Axis",l=t.getReferringComponents(c,YE).models[0].componentIndex;o[c]=o[c]||[];for(var h=0;h<=l;h++)o[c][l]=o[c][l]||{};o[c][l].boundaryGap="bar"===n}}}));var s=n;"stack"===n&&(a=qk({stack:r.option.title.tiled,tiled:r.option.title.stack},r.option.title),"emphasis"!==r.get(["iconStatus",n])&&(s="tiled")),e.dispatchAction({type:"changeMagicType",currentType:s,newOption:o,newTitle:a,featureName:"magicType"})}},e}(Att),Vtt={line:function(t,e,n,r){if("bar"===t)return qk({id:e,type:"line",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","line"])||{},!0)},bar:function(t,e,n,r){if("line"===t)return qk({id:e,type:"bar",data:n.get("data"),stack:n.get("stack"),markPoint:n.get("markPoint"),markLine:n.get("markLine")},r.get(["option","bar"])||{},!0)},stack:function(t,e,n,r){var i=n.get("stack")===Btt;if("line"===t||"bar"===t)return r.setIconStatus("stack",i?"normal":"emphasis"),qk({id:e,stack:i?"":Btt},r.get(["option","stack"])||{},!0)}};rW({type:"changeMagicType",event:"magicTypeChanged",update:"prepareAndUpdate"},(function(t,e){e.mergeOption(t.newOption)}));const Htt=$tt;var Wtt=new Array(60).join("-"),Gtt="\t";function Utt(t){return t.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}var Xtt=new RegExp("[\t]+","g");function qtt(t,e){var n=t.split(new RegExp("\n*"+Wtt+"\n*","g")),r={series:[]};return eI(n,(function(t,n){if(function(t){if(t.slice(0,t.indexOf("\n")).indexOf(Gtt)>=0)return!0}(t)){var i=function(t){for(var e=t.split(/\n+/g),n=[],r=nI(Utt(e.shift()).split(Xtt),(function(t){return{name:t,data:[]}})),i=0;i<e.length;i++){var a=Utt(e[i]).split(Xtt);n.push(a.shift());for(var o=0;o<a.length;o++)r[o]&&(r[o].data[i]=a[o])}return{series:r,categories:n}}(t),a=e[n],o=a.axisDim+"Axis";a&&(r[o]=r[o]||[],r[o][a.axisIndex]={data:i.categories},r.series=r.series.concat(i.series))}else{i=function(t){for(var e=t.split(/\n+/g),n=Utt(e.shift()),r=[],i=0;i<e.length;i++){var a=Utt(e[i]);if(a){var o=a.split(Xtt),s="",u=void 0,c=!1;isNaN(o[0])?(c=!0,s=o[0],o=o.slice(1),r[i]={name:s,value:[]},u=r[i].value):u=r[i]=[];for(var l=0;l<o.length;l++)u.push(+o[l]);1===u.length&&(c?r[i].value=u[0]:r[i]=u[0])}}return{name:n,data:r}}(t);r.series.push(i)}})),r}var Ytt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.onclick=function(t,e){setTimeout((function(){e.dispatchAction({type:"hideTip"})}));var n=e.getDom(),r=this.model;this._dom&&n.removeChild(this._dom);var i=document.createElement("div");i.style.cssText="position:absolute;top:0;bottom:0;left:0;right:0;padding:5px",i.style.backgroundColor=r.get("backgroundColor")||"#fff";var a=document.createElement("h4"),o=r.get("lang")||[];a.innerHTML=o[0]||r.get("title"),a.style.cssText="margin:10px 20px",a.style.color=r.get("textColor");var s=document.createElement("div"),u=document.createElement("textarea");s.style.cssText="overflow:auto";var c=r.get("optionToContent"),l=r.get("contentToOption"),h=function(t){var e,n,r,i=function(t){var e={},n=[],r=[];return t.eachRawSeries((function(t){var i=t.coordinateSystem;if(!i||"cartesian2d"!==i.type&&"polar"!==i.type)n.push(t);else{var a=i.getBaseAxis();if("category"===a.type){var o=a.dim+"_"+a.index;e[o]||(e[o]={categoryAxis:a,valueAxis:i.getOtherAxis(a),series:[]},r.push({axisDim:a.dim,axisIndex:a.index})),e[o].series.push(t)}else n.push(t)}})),{seriesGroupByCategoryAxis:e,other:n,meta:r}}(t);return{value:iI([(n=i.seriesGroupByCategoryAxis,r=[],eI(n,(function(t,e){var n=t.categoryAxis,i=t.valueAxis.dim,a=[" "].concat(nI(t.series,(function(t){return t.name}))),o=[n.model.getCategories()];eI(t.series,(function(t){var e=t.getRawData();o.push(t.getRawData().mapArray(e.mapDimension(i),(function(t){return t})))}));for(var s=[a.join(Gtt)],u=0;u<o[0].length;u++){for(var c=[],l=0;l<o.length;l++)c.push(o[l][u]);s.push(c.join(Gtt))}r.push(s.join("\n"))})),r.join("\n\n"+Wtt+"\n\n")),(e=i.other,nI(e,(function(t){var e=t.getRawData(),n=[t.name],r=[];return e.each(e.dimensions,(function(){for(var t=arguments.length,i=arguments[t-1],a=e.getName(i),o=0;o<t-1;o++)r[o]=arguments[o];n.push((a?a+Gtt:"")+r.join(Gtt))})),n.join("\n")})).join("\n\n"+Wtt+"\n\n"))],(function(t){return!!t.replace(/[\n\t\s]/g,"")})).join("\n\n"+Wtt+"\n\n"),meta:i.meta}}(t);if(cI(c)){var f=c(e.getOption());lI(f)?s.innerHTML=f:bI(f)&&s.appendChild(f)}else{u.readOnly=r.get("readOnly");var d=u.style;d.cssText="display:block;width:100%;height:100%;font-family:monospace;font-size:14px;line-height:1.6rem;resize:none;box-sizing:border-box;outline:none",d.color=r.get("textColor"),d.borderColor=r.get("textareaBorderColor"),d.backgroundColor=r.get("textareaColor"),u.value=h.value,s.appendChild(u)}var p=h.meta,g=document.createElement("div");g.style.cssText="position:absolute;bottom:5px;left:0;right:0";var b="float:right;margin-right:20px;border:none;cursor:pointer;padding:2px 5px;font-size:12px;border-radius:3px",v=document.createElement("div"),m=document.createElement("div");b+=";background-color:"+r.get("buttonColor"),b+=";color:"+r.get("buttonTextColor");var y=this;function w(){n.removeChild(i),y._dom=null}MM(v,"click",w),MM(m,"click",(function(){if(null==l&&null!=c||null!=l&&null==c)w();else{var t;try{t=cI(l)?l(s,e.getOption()):qtt(u.value,p)}catch(t){throw w(),new Error("Data view format error "+t)}t&&e.dispatchAction({type:"changeDataView",newOption:t}),w()}})),v.innerHTML=o[1],m.innerHTML=o[2],m.style.cssText=v.style.cssText=b,!r.get("readOnly")&&g.appendChild(m),g.appendChild(v),i.appendChild(a),i.appendChild(s),i.appendChild(g),s.style.height=n.clientHeight-80+"px",n.appendChild(i),this._dom=i},e.prototype.remove=function(t,e){this._dom&&e.getDom().removeChild(this._dom)},e.prototype.dispose=function(t,e){this.remove(t,e)},e.getDefaultOption=function(t){return{show:!0,readOnly:!1,optionToContent:null,contentToOption:null,icon:"M17.5,17.3H33 M17.5,17.3H33 M45.4,29.5h-28 M11.5,2v56H51V14.8L38.4,2H11.5z M38.4,2.2v12.7H51 M45.4,41.7h-28",title:t.getLocaleModel().get(["toolbox","dataView","title"]),lang:t.getLocaleModel().get(["toolbox","dataView","lang"]),backgroundColor:"#fff",textColor:"#000",textareaColor:"#fff",textareaBorderColor:"#333",buttonColor:"#c23531",buttonTextColor:"#fff"}},e}(Att);function Ktt(t,e){return nI(t,(function(t,n){var r=e&&e[n];if(dI(r)&&!uI(r)){dI(t)&&!uI(t)||(t={value:t});var i=null!=r.name&&null==t.name;return t=Zk(t,r),i&&delete t.name,t}return t}))}rW({type:"changeDataView",event:"dataViewChanged",update:"prepareAndUpdate"},(function(t,e){var n=[];eI(t.newOption.series,(function(t){var r=e.getSeriesByName(t.name)[0];if(r){var i=r.get("data");n.push({name:t.name,data:Ktt(t.data,i)})}else n.push(Kk({type:"scatter"},t))})),e.mergeOption(Zk({series:n},t.newOption))}));const Ztt=Ytt;var Qtt=eI,Jtt=GE();function tet(t){var e=Jtt(t);return e.snapshots||(e.snapshots=[{}]),e.snapshots}var eet=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.onclick=function(t,e){!function(t){Jtt(t).snapshots=null}(t),e.dispatchAction({type:"restore",from:this.uid})},e.getDefaultOption=function(t){return{show:!0,icon:"M3.8,33.4 M47,18.9h9.8V8.7 M56.3,20.1 C52.1,9,40.5,0.6,26.8,2.1C12.6,3.7,1.6,16.2,2.1,30.6 M13,41.1H3.1v10.2 M3.7,39.9c4.2,11.1,15.8,19.5,29.5,18 c14.2-1.6,25.2-14.1,24.7-28.5",title:t.getLocaleModel().get(["toolbox","restore","title"])}},e}(Att);rW({type:"restore",event:"restore",update:"prepareAndUpdate"},(function(t,e){e.resetOption("recreate")}));const net=eet;var ret=["grid","xAxis","yAxis","geo","graph","polar","radiusAxis","angleAxis","bmap"],iet=function(){function t(t,e,n){var r=this;this._targetInfoList=[];var i=oet(e,t);eI(set,(function(t,e){(!n||!n.include||Qk(n.include,e)>=0)&&t(i,r._targetInfoList)}))}return t.prototype.setOutputRanges=function(t,e){return this.matchOutputRanges(t,e,(function(t,e,n){if((t.coordRanges||(t.coordRanges=[])).push(e),!t.coordRange){t.coordRange=e;var r=het[t.brushType](0,n,e);t.__rangeOffset={offset:det[t.brushType](r.values,t.range,[1,1]),xyMinMax:r.xyMinMax}}})),t},t.prototype.matchOutputRanges=function(t,e,n){eI(t,(function(t){var r=this.findTargetInfo(t,e);r&&!0!==r&&eI(r.coordSyses,(function(r){var i=het[t.brushType](1,r,t.range,!0);n(t,i.values,r,e)}))}),this)},t.prototype.setInputRanges=function(t,e){eI(t,(function(t){var n,r,i,a,o,s=this.findTargetInfo(t,e);if(t.range=t.range||[],s&&!0!==s){t.panelId=s.panelId;var u=het[t.brushType](0,s.coordSys,t.coordRange),c=t.__rangeOffset;t.range=c?det[t.brushType](u.values,c.offset,(n=u.xyMinMax,r=c.xyMinMax,i=get(n),a=get(r),o=[i[0]/a[0],i[1]/a[1]],isNaN(o[0])&&(o[0]=1),isNaN(o[1])&&(o[1]=1),o)):u.values}}),this)},t.prototype.makePanelOpts=function(t,e){return nI(this._targetInfoList,(function(n){var r=n.getPanelRect();return{panelId:n.panelId,defaultBrushType:e?e(n):null,clipPath:a4(r),isTargetByCursor:s4(r,t,n.coordSysModel),getLinearBrushOtherExtent:o4(r)}}))},t.prototype.controlSeries=function(t,e,n){var r=this.findTargetInfo(t,n);return!0===r||r&&Qk(r.coordSyses,e.coordinateSystem)>=0},t.prototype.findTargetInfo=function(t,e){for(var n=this._targetInfoList,r=oet(e,t),i=0;i<n.length;i++){var a=n[i],o=t.panelId;if(o){if(a.panelId===o)return a}else for(var s=0;s<uet.length;s++)if(uet[s](r,a))return a}return!0},t}();function aet(t){return t[0]>t[1]&&t.reverse(),t}function oet(t,e){return XE(t,e,{includeMainTypes:ret})}var set={grid:function(t,e){var n=t.xAxisModels,r=t.yAxisModels,i=t.gridModels,a=DI(),o={},s={};(n||r||i)&&(eI(n,(function(t){var e=t.axis.grid.model;a.set(e.id,e),o[e.id]=!0})),eI(r,(function(t){var e=t.axis.grid.model;a.set(e.id,e),s[e.id]=!0})),eI(i,(function(t){a.set(t.id,t),o[t.id]=!0,s[t.id]=!0})),a.each((function(t){var i=t.coordinateSystem,a=[];eI(i.getCartesians(),(function(t,e){(Qk(n,t.getAxis("x").model)>=0||Qk(r,t.getAxis("y").model)>=0)&&a.push(t)})),e.push({panelId:"grid--"+t.id,gridModel:t,coordSysModel:t,coordSys:a[0],coordSyses:a,getPanelRect:cet.grid,xAxisDeclared:o[t.id],yAxisDeclared:s[t.id]})})))},geo:function(t,e){eI(t.geoModels,(function(t){var n=t.coordinateSystem;e.push({panelId:"geo--"+t.id,geoModel:t,coordSysModel:t,coordSys:n,coordSyses:[n],getPanelRect:cet.geo})}))}},uet=[function(t,e){var n=t.xAxisModel,r=t.yAxisModel,i=t.gridModel;return!i&&n&&(i=n.axis.grid.model),!i&&r&&(i=r.axis.grid.model),i&&i===e.gridModel},function(t,e){var n=t.geoModel;return n&&n===e.geoModel}],cet={grid:function(){return this.coordSys.master.getRect().clone()},geo:function(){var t=this.coordSys,e=t.getBoundingRect().clone();return e.applyTransform(Qz(t)),e}},het={lineX:sI(fet,0),lineY:sI(fet,1),rect:function(t,e,n,r){var i=t?e.pointToData([n[0][0],n[1][0]],r):e.dataToPoint([n[0][0],n[1][0]],r),a=t?e.pointToData([n[0][1],n[1][1]],r):e.dataToPoint([n[0][1],n[1][1]],r),o=[aet([i[0],a[0]]),aet([i[1],a[1]])];return{values:o,xyMinMax:o}},polygon:function(t,e,n,r){var i=[[1/0,-1/0],[1/0,-1/0]];return{values:nI(n,(function(n){var a=t?e.pointToData(n,r):e.dataToPoint(n,r);return i[0][0]=Math.min(i[0][0],a[0]),i[1][0]=Math.min(i[1][0],a[1]),i[0][1]=Math.max(i[0][1],a[0]),i[1][1]=Math.max(i[1][1],a[1]),a})),xyMinMax:i}}};function fet(t,e,n,r){var i=n.getAxis(["x","y"][t]),a=aet(nI([0,1],(function(t){return e?i.coordToData(i.toLocalCoord(r[t]),!0):i.toGlobalCoord(i.dataToCoord(r[t]))}))),o=[];return o[t]=a,o[1-t]=[NaN,NaN],{values:a,xyMinMax:o}}var det={lineX:sI(pet,0),lineY:sI(pet,1),rect:function(t,e,n){return[[t[0][0]-n[0]*e[0][0],t[0][1]-n[0]*e[0][1]],[t[1][0]-n[1]*e[1][0],t[1][1]-n[1]*e[1][1]]]},polygon:function(t,e,n){return nI(t,(function(t,r){return[t[0]-n[0]*e[r][0],t[1]-n[1]*e[r][1]]}))}};function pet(t,e,n,r){return[e[0]-r[t]*n[0],e[1]-r[t]*n[1]]}function get(t){return t?[t[0][1]-t[0][0],t[1][1]-t[1][0]]:[NaN,NaN]}const bet=iet;var vet,met,yet=eI,wet=DE+"toolbox-dataZoom_",xet=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.render=function(t,e,n,r){this._brushController||(this._brushController=new i4(n.getZr()),this._brushController.on("brush",oI(this._onBrush,this)).mount()),function(t,e,n,r,i){var a=n._isZoomActive;r&&"takeGlobalCursor"===r.type&&(a="dataZoomSelect"===r.key&&r.dataZoomSelectActive);n._isZoomActive=a,t.setIconStatus("zoom",a?"emphasis":"normal");var o=new bet(ket(t),e,{include:["grid"]}).makePanelOpts(i,(function(t){return t.xAxisDeclared&&!t.yAxisDeclared?"lineX":!t.xAxisDeclared&&t.yAxisDeclared?"lineY":"rect"}));n._brushController.setPanels(o).enableBrush(!(!a||!o.length)&&{brushType:"auto",brushStyle:t.getModel("brushStyle").getItemStyle()})}(t,e,this,r,n),function(t,e){t.setIconStatus("back",function(t){return tet(t).length}(e)>1?"emphasis":"normal")}(t,e)},e.prototype.onclick=function(t,e,n){_et[n].call(this)},e.prototype.remove=function(t,e){this._brushController&&this._brushController.unmount()},e.prototype.dispose=function(t,e){this._brushController&&this._brushController.dispose()},e.prototype._onBrush=function(t){var e=t.areas;if(t.isEnd&&e.length){var n={},r=this.ecModel;this._brushController.updateCovers([]),new bet(ket(this.model),r,{include:["grid"]}).matchOutputRanges(e,r,(function(t,e,n){if("cartesian2d"===n.type){var r=t.brushType;"rect"===r?(i("x",n,e[0]),i("y",n,e[1])):i({lineX:"x",lineY:"y"}[r],n,e)}})),function(t,e){var n=tet(t);Qtt(e,(function(e,r){for(var i=n.length-1;i>=0&&!n[i][r];i--);if(i<0){var a=t.queryComponents({mainType:"dataZoom",subType:"select",id:r})[0];if(a){var o=a.getPercentRange();n[0][r]={dataZoomId:r,start:o[0],end:o[1]}}}})),n.push(e)}(r,n),this._dispatchZoomAction(n)}function i(t,e,i){var a=e.getAxis(t),o=a.model,s=function(t,e,n){var r;return n.eachComponent({mainType:"dataZoom",subType:"select"},(function(n){n.getAxisModel(t,e.componentIndex)&&(r=n)})),r}(t,o,r),u=s.findRepresentativeAxisProxy(o).getMinMaxSpan();null==u.minValueSpan&&null==u.maxValueSpan||(i=t3(0,i.slice(),a.scale.getExtent(),0,u.minValueSpan,u.maxValueSpan)),s&&(n[s.id]={dataZoomId:s.id,startValue:i[0],endValue:i[1]})}},e.prototype._dispatchZoomAction=function(t){var e=[];yet(t,(function(t,n){e.push(Xk(t))})),e.length&&this.api.dispatchAction({type:"dataZoom",from:this.uid,batch:e})},e.getDefaultOption=function(t){return{show:!0,filterMode:"filter",icon:{zoom:"M0,13.5h26.9 M13.5,26.9V0 M32.1,13.5H58V58H13.5 V32.1",back:"M22,1.4L9.9,13.5l12.3,12.3 M10.3,13.5H54.9v44.6 H10.3v-26"},title:t.getLocaleModel().get(["toolbox","dataZoom","title"]),brushStyle:{borderWidth:0,color:"rgba(210,219,238,0.2)"}}},e}(Att),_et={zoom:function(){var t=!this._isZoomActive;this.api.dispatchAction({type:"takeGlobalCursor",key:"dataZoomSelect",dataZoomSelectActive:t})},back:function(){this._dispatchZoomAction(function(t){var e=tet(t),n=e[e.length-1];e.length>1&&e.pop();var r={};return Qtt(n,(function(t,n){for(var i=e.length-1;i>=0;i--)if(t=e[i][n]){r[n]=t;break}})),r}(this.ecModel))}};function ket(t){var e={xAxisIndex:t.get("xAxisIndex",!0),yAxisIndex:t.get("yAxisIndex",!0),xAxisId:t.get("xAxisId",!0),yAxisId:t.get("yAxisId",!0)};return null==e.xAxisIndex&&null==e.xAxisId&&(e.xAxisIndex="all"),null==e.yAxisIndex&&null==e.yAxisId&&(e.yAxisIndex="all"),e}vet="dataZoom",met=function(t){var e=t.getComponent("toolbox",0),n=["feature","dataZoom"];if(e&&null!=e.get(n)){var r=e.getModel(n),i=[],a=XE(t,ket(r));return yet(a.xAxisModels,(function(t){return o(t,"xAxis","xAxisIndex")})),yet(a.yAxisModels,(function(t){return o(t,"yAxis","yAxisIndex")})),i}function o(t,e,n){var a=t.componentIndex,o={type:"select",$fromToolbox:!0,filterMode:r.get("filterMode",!0)||"filter",id:wet+e+a};o[n]=a,i.push(o)}},kI(null==LN.get(vet)&&met),LN.set(vet,met);const Iet=xet;const Met=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="tooltip",e.dependencies=["axisPointer"],e.defaultOption={z:60,show:!0,showContent:!0,trigger:"item",triggerOn:"mousemove|click",alwaysShowContent:!1,displayMode:"single",renderMode:"auto",confine:null,showDelay:0,hideDelay:100,transitionDuration:.4,enterable:!1,backgroundColor:"#fff",shadowBlur:10,shadowColor:"rgba(0, 0, 0, .2)",shadowOffsetX:1,shadowOffsetY:2,borderRadius:4,borderWidth:1,padding:null,extraCssText:"",axisPointer:{type:"line",axis:"auto",animation:"auto",animationDurationUpdate:200,animationEasingUpdate:"exponentialOut",crossStyle:{color:"#999",width:1,type:"dashed",textStyle:{}}},textStyle:{color:"#666",fontSize:14}},e}(fN);function Cet(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function Tet(t){if(Mk.domSupported)for(var e=document.documentElement.style,n=0,r=t.length;n<r;n++)if(t[n]in e)return t[n]}var Aet=Tet(["transform","webkitTransform","OTransform","MozTransform","msTransform"]);function Eet(t,e){if(!t)return e;e=GR(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var Pet=Eet(Tet(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),"transition"),Det=Eet(Aet,"transform"),Oet="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(Mk.transform3dSupported?"will-change:transform;":"");function Let(t,e,n){var r=t.toFixed(0)+"px",i=e.toFixed(0)+"px";if(!Mk.transformSupported)return n?"top:"+i+";left:"+r+";":[["top",i],["left",r]];var a=Mk.transform3dSupported,o="translate"+(a?"3d":"")+"("+r+","+i+(a?",0":"")+")";return n?"top:0;left:0;"+Det+":"+o+";":[["top",0],["left",0],[Aet,o]]}function Ret(t,e,n){var r=[],i=t.get("transitionDuration"),a=t.get("backgroundColor"),o=t.get("shadowBlur"),s=t.get("shadowColor"),u=t.get("shadowOffsetX"),c=t.get("shadowOffsetY"),l=t.getModel("textStyle"),h=XF(t,"html"),f=u+"px "+c+"px "+o+"px "+s;return r.push("box-shadow:"+f),e&&i&&r.push(function(t,e){var n="cubic-bezier(0.23,1,0.32,1)",r=" "+t/2+"s "+n,i="opacity"+r+",visibility"+r;return e||(r=" "+t+"s "+n,i+=Mk.transformSupported?","+Det+r:",left"+r+",top"+r),Pet+":"+i}(i,n)),a&&r.push("background-color:"+a),eI(["width","color","radius"],(function(e){var n="border-"+e,i=GR(n),a=t.get(i);null!=a&&r.push(n+":"+a+("color"===e?"":"px"))})),r.push(function(t){var e=[],n=t.get("fontSize"),r=t.getTextColor();r&&e.push("color:"+r),e.push("font:"+t.getFont()),n&&e.push("line-height:"+Math.round(3*n/2)+"px");var i=t.get("textShadowColor"),a=t.get("textShadowBlur")||0,o=t.get("textShadowOffsetX")||0,s=t.get("textShadowOffsetY")||0;return i&&a&&e.push("text-shadow:"+o+"px "+s+"px "+a+"px "+i),eI(["decoration","align"],(function(n){var r=t.get(n);r&&e.push("text-"+n+":"+r)})),e.join(";")}(l)),null!=h&&r.push("padding:"+UR(h).join("px ")+"px"),r.join(";")+";"}function Net(t,e,n,r,i){var a=e&&e.painter;if(n){var o=a&&a.getViewportRoot();o&&function(t,e,n,r,i){pM(dM,e,r,i,!0)&&pM(t,n,dM[0],dM[1])}(t,o,document.body,r,i)}else{t[0]=r,t[1]=i;var s=a&&a.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var jet=function(){function t(t,e,n){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,Mk.wxa)return null;var r=document.createElement("div");r.domBelongToZr=!0,this.el=r;var i=this._zr=e.getZr(),a=this._appendToBody=n&&n.appendToBody;Net(this._styleCoord,i,a,e.getWidth()/2,e.getHeight()/2),a?document.body.appendChild(r):t.appendChild(r),this._container=t;var o=this;r.onmouseenter=function(){o._enterable&&(clearTimeout(o._hideTimeout),o._show=!0),o._inContent=!0},r.onmousemove=function(t){if(t=t||window.event,!o._enterable){var e=i.handler;IM(i.painter.getViewportRoot(),t,!0),e.dispatch("mousemove",t)}},r.onmouseleave=function(){o._inContent=!1,o._enterable&&o._show&&o.hideLater(o._hideDelay)}}return t.prototype.update=function(t){var e,n,r,i=this._container,a=(n="position",(r=(e=i).currentStyle||document.defaultView&&document.defaultView.getComputedStyle(e))?n?r[n]:r:null),o=i.style;"absolute"!==o.position&&"absolute"!==a&&(o.position="relative");var s=t.get("alwaysShowContent");s&&this._moveIfResized(),this._alwaysShowContent=s,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n=this.el,r=n.style,i=this._styleCoord;n.innerHTML?r.cssText=Oet+Ret(t,!this._firstShow,this._longHide)+Let(i[0],i[1],!0)+"border-color:"+ZR(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):r.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,r,i){var a=this.el;if(null!=t){var o="";if(lI(i)&&"item"===n.get("trigger")&&!Cet(n)&&(o=function(t,e,n){if(!lI(n)||"inside"===n)return"";var r=t.get("backgroundColor"),i=t.get("borderWidth");e=ZR(e);var a,o,s="left"===(a=n)?"right":"right"===a?"left":"top"===a?"bottom":"top",u=Math.max(1.5*Math.round(i),6),c="",l=Det+":";Qk(["left","right"],s)>-1?(c+="top:50%",l+="translateY(-50%) rotate("+(o="left"===s?-225:-45)+"deg)"):(c+="left:50%",l+="translateX(-50%) rotate("+(o="top"===s?225:45)+"deg)");var h=o*Math.PI/180,f=u+i,d=f*Math.abs(Math.cos(h))+f*Math.abs(Math.sin(h)),p=e+" solid "+i+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",(c+=";"+s+":-"+Math.round(100*((d-Math.SQRT2*i)/2+Math.SQRT2*i-(d-f)/2))/100+"px")+";"+l+";","border-bottom:"+p,"border-right:"+p,"background-color:"+r+";"].join("")+'"></div>'}(n,r,i)),lI(t))a.innerHTML=t+o;else if(t){a.innerHTML="",uI(t)||(t=[t]);for(var s=0;s<t.length;s++)bI(t[s])&&t[s].parentNode!==a&&a.appendChild(t[s]);if(o&&a.childNodes.length){var u=document.createElement("div");u.innerHTML=o,a.appendChild(u)}}}else a.innerHTML=""},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return[t.offsetWidth,t.offsetHeight]},t.prototype.moveTo=function(t,e){var n=this._styleCoord;if(Net(n,this._zr,this._appendToBody,t,e),null!=n[0]&&null!=n[1]){var r=this.el.style;eI(Let(n[0],n[1]),(function(t){r[t[0]]=t[1]}))}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",Mk.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout((function(){return t._longHide=!0}),500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(oI(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this.el.parentNode.removeChild(this.el)},t}();const Fet=jet;function Bet(t){return Math.max(0,t)}function zet(t){var e=Bet(t.shadowBlur||0),n=Bet(t.shadowOffsetX||0),r=Bet(t.shadowOffsetY||0);return{left:Bet(e-n),right:Bet(e+n),top:Bet(e-r),bottom:Bet(e+r)}}function $et(t,e,n,r){t[0]=n,t[1]=r,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}const Vet=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),$et(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,r,i){var a=this;dI(t)&&nF(""),this.el&&this._zr.remove(this.el);var o=n.getModel("textStyle");this.el=new vO({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:r,textShadowColor:o.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:XF(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),eI(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],(function(t){a.el.style[t]=n.get(t)})),eI(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],(function(t){a.el.style[t]=o.get(t)||0})),this._zr.add(this.el);var s=this;this.el.on("mouseover",(function(){s._enterable&&(clearTimeout(s._hideTimeout),s._show=!0),s._inContent=!0})),this.el.on("mouseout",(function(){s._enterable&&s._show&&s.hideLater(s._hideDelay),s._inContent=!1}))},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=zet(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var r=this._styleCoord;$et(r,this._zr,t,e),t=r[0],e=r[1];var i=n.style,a=Bet(i.borderWidth||0),o=zet(i);n.x=t+a+o.left,n.y=e+a+o.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(oI(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();var Het=new eO({shape:{x:-1,y:-1,width:2,height:2}}),Wet=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(t,e){if(!Mk.node&&e.getDom()){var n,r=t.getComponent("tooltip"),i=this._renderMode="auto"===(n=r.get("renderMode"))?Mk.domSupported?"html":"richText":n||"html";this._tooltipContent="richText"===i?new Vet(e):new Fet(e.getDom(),e,{appendToBody:r.get("appendToBody",!0)})}},e.prototype.render=function(t,e,n){if(!Mk.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var r=this._tooltipContent;r.update(t),r.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?I$(this,"_updatePosition",50,"fixRate"):M$(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");w9("itemTooltip",this._api,oI((function(e,n,r){"none"!==t&&(t.indexOf(e)>=0?this._tryShow(n,r):"leave"===e&&this._hide(r))}),this))},e.prototype._keepShow=function(){var t=this._tooltipModel,e=this._ecModel,n=this._api,r=t.get("triggerOn");if(null!=this._lastX&&null!=this._lastY&&"none"!==r&&"click"!==r){var i=this;clearTimeout(this._refreshUpdateTimeout),this._refreshUpdateTimeout=setTimeout((function(){!n.isDisposed()&&i.manuallyShowTip(t,e,n,{x:i._lastX,y:i._lastY,dataByCoordSys:i._lastDataByCoordSys})}))}},e.prototype.manuallyShowTip=function(t,e,n,r){if(r.from!==this.uid&&!Mk.node&&n.getDom()){var i=Uet(r,n);this._ticket="";var a=r.dataByCoordSys,o=function(t,e,n){var r=qE(t).queryOptionMap,i=r.keys()[0];if(!i||"series"===i)return;var a,o=ZE(e,i,r.get(i),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(!o)return;if(n.getViewOfComponentModel(o).group.traverse((function(e){var n=mO(e).tooltipConfig;if(n&&n.name===t.name)return a=e,!0})),a)return{componentMainType:i,componentIndex:o.componentIndex,el:a}}(r,e,n);if(o){var s=o.el.getBoundingRect().clone();s.applyTransform(o.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:o.el,position:r.position,positionDefault:"bottom"},i)}else if(r.tooltip&&null!=r.x&&null!=r.y){var u=Het;u.x=r.x,u.y=r.y,u.update(),mO(u).tooltipConfig={name:null,option:r.tooltip},this._tryShow({offsetX:r.x,offsetY:r.y,target:u},i)}else if(a)this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,dataByCoordSys:a,tooltipOption:r.tooltipOption},i);else if(null!=r.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,r))return;var c=M9(r,e),l=c.point[0],h=c.point[1];null!=l&&null!=h&&this._tryShow({offsetX:l,offsetY:h,target:c.el,position:r.position,positionDefault:"bottom"},i)}else null!=r.x&&null!=r.y&&(n.dispatchAction({type:"updateAxisPointer",x:r.x,y:r.y}),this._tryShow({offsetX:r.x,offsetY:r.y,position:r.position,target:n.getZr().findHover(r.x,r.y).target},i))}},e.prototype.manuallyHideTip=function(t,e,n,r){var i=this._tooltipContent;this._tooltipModel&&i.hideLater(this._tooltipModel.get("hideDelay")),this._lastX=this._lastY=this._lastDataByCoordSys=null,r.from!==this.uid&&this._hide(Uet(r,n))},e.prototype._manuallyAxisShowTip=function(t,e,n,r){var i=r.seriesIndex,a=r.dataIndex,o=e.getComponent("axisPointer").coordSysAxesInfo;if(null!=i&&null!=a&&null!=o){var s=e.getSeriesByIndex(i);if(s)if("axis"===Get([s.getData().getItemModel(a),s,(s.coordinateSystem||{}).model],this._tooltipModel).get("trigger"))return n.dispatchAction({type:"updateAxisPointer",seriesIndex:i,dataIndex:a,position:r.position}),!0}},e.prototype._tryShow=function(t,e){var n=t.target;if(this._tooltipModel){this._lastX=t.offsetX,this._lastY=t.offsetY;var r=t.dataByCoordSys;if(r&&r.length)this._showAxisTooltip(r,t);else if(n){var i,a;this._lastDataByCoordSys=null,vV(n,(function(t){return null!=mO(t).dataIndex?(i=t,!0):null!=mO(t).tooltipConfig?(a=t,!0):void 0}),!0),i?this._showSeriesItemTooltip(t,i,e):a?this._showComponentItemTooltip(t,a,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=oI(e,this),clearTimeout(this._showTimout),n>0?this._showTimout=setTimeout(e,n):e()},e.prototype._showAxisTooltip=function(t,e){var n=this._ecModel,r=this._tooltipModel,i=[e.offsetX,e.offsetY],a=Get([e.tooltipOption],r),o=this._renderMode,s=[],u=jF("section",{blocks:[],noHeader:!0}),c=[],l=new qF;eI(t,(function(t){eI(t.dataByAxis,(function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),i=t.value;if(e&&null!=i){var a=o9(i,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),h=jF("section",{header:a,noHeader:!II(a),sortBlocks:!0,blocks:[]});u.blocks.push(h),eI(t.seriesDataIndices,(function(u){var f=n.getSeriesByIndex(u.seriesIndex),d=u.dataIndexInside,p=f.getDataParams(d);if(!(p.dataIndex<0)){p.axisDim=t.axisDim,p.axisIndex=t.axisIndex,p.axisType=t.axisType,p.axisId=t.axisId,p.axisValue=nK(e.axis,{value:i}),p.axisValueLabel=a,p.marker=l.makeTooltipMarker("item",ZR(p.color),o);var g=Zj(f.formatTooltip(d,!0,null)),b=g.frag;if(b){var v=Get([f],r).get("valueFormatter");h.blocks.push(v?Kk({valueFormatter:v},b):b)}g.text&&c.push(g.text),s.push(p)}}))}}))})),u.blocks.reverse(),c.reverse();var h=e.position,f=a.get("order"),d=HF(u,l,o,f,n.get("useUTC"),a.get("textStyle"));d&&c.unshift(d);var p="richText"===o?"\n\n":"<br/>",g=c.join(p);this._showOrMove(a,(function(){this._updateContentNotChangedOnAxis(t,s)?this._updatePosition(a,h,i[0],i[1],this._tooltipContent,s):this._showTooltipContent(a,g,s,Math.random()+"",i[0],i[1],h,null,l)}))},e.prototype._showSeriesItemTooltip=function(t,e,n){var r=this._ecModel,i=mO(e),a=i.seriesIndex,o=r.getSeriesByIndex(a),s=i.dataModel||o,u=i.dataIndex,c=i.dataType,l=s.getData(c),h=this._renderMode,f=t.positionDefault,d=Get([l.getItemModel(u),s,o&&(o.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),p=d.get("trigger");if(null==p||"item"===p){var g=s.getDataParams(u,c),b=new qF;g.marker=b.makeTooltipMarker("item",ZR(g.color),h);var v=Zj(s.formatTooltip(u,!1,c)),m=d.get("order"),y=d.get("valueFormatter"),w=v.frag,x=w?HF(y?Kk({valueFormatter:y},w):w,b,h,m,r.get("useUTC"),d.get("textStyle")):v.text,_="item_"+s.name+"_"+u;this._showOrMove(d,(function(){this._showTooltipContent(d,x,g,_,t.offsetX,t.offsetY,t.position,t.target,b)})),n({type:"showTip",dataIndexInside:u,dataIndex:l.getRawIndex(u),seriesIndex:a,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var r=mO(e),i=r.tooltipConfig.option||{};if(lI(i)){i={content:i,formatter:i}}var a=[i],o=this._ecModel.getComponent(r.componentMainType,r.componentIndex);o&&a.push(o),a.push({formatter:i.content});var s=t.positionDefault,u=Get(a,this._tooltipModel,s?{position:s}:null),c=u.get("content"),l=Math.random()+"",h=new qF;this._showOrMove(u,(function(){var n=Xk(u.get("formatterParams")||{});this._showTooltipContent(u,c,n,l,t.offsetX,t.offsetY,t.position,e,h)})),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,r,i,a,o,s,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var c=this._tooltipContent;c.setEnterable(t.get("enterable"));var l=t.get("formatter");o=o||t.get("position");var h=e,f=this._getNearestPoint([i,a],n,t.get("trigger"),t.get("borderColor")).color;if(l)if(lI(l)){var d=t.ecModel.get("useUTC"),p=uI(n)?n[0]:n;h=l,p&&p.axisType&&p.axisType.indexOf("time")>=0&&(h=CR(p.axisValue,h,d)),h=KR(h,n,!0)}else if(cI(l)){var g=oI((function(e,r){e===this._ticket&&(c.setContent(r,u,t,f,o),this._updatePosition(t,o,i,a,c,n,s))}),this);this._ticket=r,h=l(n,r,g)}else h=l;c.setContent(h,u,t,f,o),c.show(t,f),this._updatePosition(t,o,i,a,c,n,s)}},e.prototype._getNearestPoint=function(t,e,n,r){return"axis"===n||uI(e)?{color:r||("html"===this._renderMode?"#fff":"none")}:uI(e)?void 0:{color:r||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,r,i,a,o){var s=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var c=i.getSize(),l=t.get("align"),h=t.get("verticalAlign"),f=o&&o.getBoundingRect().clone();if(o&&f.applyTransform(o.transform),cI(e)&&(e=e([n,r],a,i.el,f,{viewSize:[s,u],contentSize:c.slice()})),uI(e))n=cE(e[0],s),r=cE(e[1],u);else if(dI(e)){var d=e;d.width=c[0],d.height=c[1];var p=iN(d,{width:s,height:u});n=p.x,r=p.y,l=null,h=null}else if(lI(e)&&o){var g=function(t,e,n,r){var i=n[0],a=n[1],o=Math.ceil(Math.SQRT2*r)+8,s=0,u=0,c=e.width,l=e.height;switch(t){case"inside":s=e.x+c/2-i/2,u=e.y+l/2-a/2;break;case"top":s=e.x+c/2-i/2,u=e.y-a-o;break;case"bottom":s=e.x+c/2-i/2,u=e.y+l+o;break;case"left":s=e.x-i-o,u=e.y+l/2-a/2;break;case"right":s=e.x+c+o,u=e.y+l/2-a/2}return[s,u]}(e,f,c,t.get("borderWidth"));n=g[0],r=g[1]}else{g=function(t,e,n,r,i,a,o){var s=n.getSize(),u=s[0],c=s[1];null!=a&&(t+u+a+2>r?t-=u+a:t+=a);null!=o&&(e+c+o>i?e-=c+o:e+=o);return[t,e]}(n,r,i,s,u,l?null:20,h?null:20);n=g[0],r=g[1]}if(l&&(n-=Xet(l)?c[0]/2:"right"===l?c[0]:0),h&&(r-=Xet(h)?c[1]/2:"bottom"===h?c[1]:0),Cet(t)){g=function(t,e,n,r,i){var a=n.getSize(),o=a[0],s=a[1];return t=Math.min(t+o,r)-o,e=Math.min(e+s,i)-s,t=Math.max(t,0),e=Math.max(e,0),[t,e]}(n,r,i,s,u);n=g[0],r=g[1]}i.moveTo(n,r)},e.prototype._updateContentNotChangedOnAxis=function(t,e){var n=this._lastDataByCoordSys,r=this._cbParamsList,i=!!n&&n.length===t.length;return i&&eI(n,(function(n,a){var o=n.dataByAxis||[],s=(t[a]||{}).dataByAxis||[];(i=i&&o.length===s.length)&&eI(o,(function(t,n){var a=s[n]||{},o=t.seriesDataIndices||[],u=a.seriesDataIndices||[];(i=i&&t.value===a.value&&t.axisType===a.axisType&&t.axisId===a.axisId&&o.length===u.length)&&eI(o,(function(t,e){var n=u[e];i=i&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex})),r&&eI(t.seriesDataIndices,(function(t){var n=t.seriesIndex,a=e[n],o=r[n];a&&o&&o.data!==a.data&&(i=!1)}))}))})),this._lastDataByCoordSys=t,this._cbParamsList=e,!!i},e.prototype._hide=function(t){this._lastDataByCoordSys=null,t({type:"hideTip",from:this.uid})},e.prototype.dispose=function(t,e){!Mk.node&&e.getDom()&&(M$(this,"_updatePosition"),this._tooltipContent.dispose(),S9("itemTooltip",e))},e.type="tooltip",e}(uB);function Get(t,e,n){var r,i=e.ecModel;n?(r=new nR(n,i,i),r=new nR(e.option,r,i)):r=e;for(var a=t.length-1;a>=0;a--){var o=t[a];o&&(o instanceof nR&&(o=o.get("tooltip",!0)),lI(o)&&(o={formatter:o}),o&&(r=new nR(o,r,i)))}return r}function Uet(t,e){return t.dispatchAction||oI(e.dispatchAction,e)}function Xet(t){return"center"===t||"middle"===t}const qet=Wet;var Yet=["rect","polygon","keep","clear"];function Ket(t,e){var n=OE(t?t.brush:[]);if(n.length){var r=[];eI(n,(function(t){var e=t.hasOwnProperty("toolbox")?t.toolbox:[];e instanceof Array&&(r=r.concat(e))}));var i=t&&t.toolbox;uI(i)&&(i=i[0]),i||(i={feature:{}},t.toolbox=[i]);var a=i.feature||(i.feature={}),o=a.brush||(a.brush={}),s=o.type||(o.type=[]);s.push.apply(s,r),function(t){var e={};eI(t,(function(t){e[t]=1})),t.length=0,eI(e,(function(e,n){t.push(n)}))}(s),e&&!s.length&&s.push.apply(s,Yet)}}var Zet=eI;function Qet(t){if(t)for(var e in t)if(t.hasOwnProperty(e))return!0}function Jet(t,e,n){var r={};return Zet(e,(function(e){var i,a=r[e]=((i=function(){}).prototype.__hidden=i.prototype,new i);Zet(t[e],(function(t,r){if(X1.isValidType(r)){var i={type:r,visual:t};n&&n(i,e),a[r]=new X1(i),"opacity"===r&&((i=Xk(i)).type="colorAlpha",a.__hidden.__alphaForOpacity=new X1(i))}}))})),r}function tnt(t,e,n){var r;eI(n,(function(t){e.hasOwnProperty(t)&&Qet(e[t])&&(r=!0)})),r&&eI(n,(function(n){e.hasOwnProperty(n)&&Qet(e[n])?t[n]=Xk(e[n]):delete t[n]}))}var ent={lineX:nnt(0),lineY:nnt(1),rect:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])},rect:function(t,e,n){return t&&n.boundingRect.intersect(t)}},polygon:{point:function(t,e,n){return t&&n.boundingRect.contain(t[0],t[1])&&fQ(n.range,t[0],t[1])},rect:function(t,e,n){var r=n.range;if(!t||r.length<=1)return!1;var i=t.x,a=t.y,o=t.width,s=t.height,u=r[0];return!!(fQ(r,i,a)||fQ(r,i+o,a)||fQ(r,i,a+s)||fQ(r,i+o,a+s)||KM.create(t).contain(u[0],u[1])||o$(i,a,i+o,a,r)||o$(i,a,i,a+s,r)||o$(i+o,a,i+o,a+s,r)||o$(i,a+s,i+o,a+s,r))||void 0}}};function nnt(t){var e=["x","y"],n=["width","height"];return{point:function(e,n,r){if(e){var i=r.range;return rnt(e[t],i)}},rect:function(r,i,a){if(r){var o=a.range,s=[r[e[t]],r[e[t]]+r[n[t]]];return s[1]<s[0]&&s.reverse(),rnt(s[0],o)||rnt(s[1],o)||rnt(o[0],s)||rnt(o[1],s)}}}}function rnt(t,e){return e[0]<=t&&t<=e[1]}var int=["inBrush","outOfBrush"],ant="__ecBrushSelect",ont="__ecInBrushSelectEvent";function snt(t){t.eachComponent({mainType:"brush"},(function(e){(e.brushTargetManager=new bet(e.option,t)).setInputRanges(e.areas,t)}))}function unt(t,e,n){var r,i,a=[];t.eachComponent({mainType:"brush"},(function(t){n&&"takeGlobalCursor"===n.type&&t.setBrushOption("brush"===n.key?n.brushOption:{brushType:!1})})),snt(t),t.eachComponent({mainType:"brush"},(function(e,n){var o={brushId:e.id,brushIndex:n,brushName:e.name,areas:Xk(e.areas),selected:[]};a.push(o);var s=e.option,u=s.brushLink,c=[],l=[],h=[],f=!1;n||(r=s.throttleType,i=s.throttleDelay);var d=nI(e.areas,(function(t){var e=hnt[t.brushType],n=Zk({boundingRect:e?e(t):void 0},t);return n.selectors=function(t){var e=t.brushType,n={point:function(r){return ent[e].point(r,n,t)},rect:function(r){return ent[e].rect(r,n,t)}};return n}(n),n})),p=Jet(e.option,int,(function(t){t.mappingMethod="fixed"}));function g(t){return"all"===u||!!c[t]}function b(t){return!!t.length}uI(u)&&eI(u,(function(t){c[t]=1})),t.eachSeries((function(n,r){var i=h[r]=[];"parallel"===n.subType?function(t,e){var n=t.coordinateSystem;f=f||n.hasAxisBrushed(),g(e)&&n.eachActiveState(t.getData(),(function(t,e){"active"===t&&(l[e]=1)}))}(n,r):function(n,r,i){if(!n.brushSelector||function(t,e){var n=t.option.seriesIndex;return null!=n&&"all"!==n&&(uI(n)?Qk(n,e)<0:e!==n)}(e,r))return;if(eI(d,(function(r){e.brushTargetManager.controlSeries(r,n,t)&&i.push(r),f=f||b(i)})),g(r)&&b(i)){var a=n.getData();a.each((function(t){lnt(n,i,a,t)&&(l[t]=1)}))}}(n,r,i)})),t.eachSeries((function(t,e){var n={seriesId:t.id,seriesIndex:e,seriesName:t.name,dataIndex:[]};o.selected.push(n);var r=h[e],i=t.getData(),a=g(e)?function(t){return l[t]?(n.dataIndex.push(i.getRawIndex(t)),"inBrush"):"outOfBrush"}:function(e){return lnt(t,r,i,e)?(n.dataIndex.push(i.getRawIndex(e)),"inBrush"):"outOfBrush"};(g(e)?f:b(r))&&function(t,e,n,r,i,a){var o,s={};function u(t){return fV(n,o,t)}function c(t,e){pV(n,o,t,e)}function l(t,l){o=null==a?t:l;var h=n.getRawDataItem(o);if(!h||!1!==h.visualMap)for(var f=r.call(i,t),d=e[f],p=s[f],g=0,b=p.length;g<b;g++){var v=p[g];d[v]&&d[v].applyVisual(t,u,c)}}eI(t,(function(t){var n=X1.prepareVisualTypes(e[t]);s[t]=n})),null==a?n.each(l):n.each([a],l)}(int,p,i,a)}))})),function(t,e,n,r,i){if(!i)return;var a=t.getZr();if(a[ont])return;a.__ecBrushSelect||(a.__ecBrushSelect=cnt);I$(a,ant,n,e)(t,r)}(e,r,i,a,n)}function cnt(t,e){if(!t.isDisposed()){var n=t.getZr();n[ont]=!0,t.dispatchAction({type:"brushSelect",batch:e}),n[ont]=!1}}function lnt(t,e,n,r){for(var i=0,a=e.length;i<a;i++){var o=e[i];if(t.brushSelector(r,n,o.selectors,o))return!0}}var hnt={rect:function(t){return fnt(t.range)},polygon:function(t){for(var e,n=t.range,r=0,i=n.length;r<i;r++){e=e||[[1/0,-1/0],[1/0,-1/0]];var a=n[r];a[0]<e[0][0]&&(e[0][0]=a[0]),a[0]>e[0][1]&&(e[0][1]=a[0]),a[1]<e[1][0]&&(e[1][0]=a[1]),a[1]>e[1][1]&&(e[1][1]=a[1])}return e&&fnt(e)}};function fnt(t){return new KM(t[0][0],t[1][0],t[0][1]-t[0][0],t[1][1]-t[1][0])}const dnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e,this.model,(this._brushController=new i4(e.getZr())).on("brush",oI(this._onBrush,this)).mount()},e.prototype.render=function(t,e,n,r){this.model=t,this._updateController(t,e,n,r)},e.prototype.updateTransform=function(t,e,n,r){snt(e),this._updateController(t,e,n,r)},e.prototype.updateVisual=function(t,e,n,r){this.updateTransform(t,e,n,r)},e.prototype.updateView=function(t,e,n,r){this._updateController(t,e,n,r)},e.prototype._updateController=function(t,e,n,r){(!r||r.$from!==t.id)&&this._brushController.setPanels(t.brushTargetManager.makePanelOpts(n)).enableBrush(t.brushOption).updateCovers(t.areas.slice())},e.prototype.dispose=function(){this._brushController.dispose()},e.prototype._onBrush=function(t){var e=this.model.id,n=this.model.brushTargetManager.setOutputRanges(t.areas,this.ecModel);(!t.isEnd||t.removeOnClick)&&this.api.dispatchAction({type:"brush",brushId:e,areas:Xk(n),$from:e}),t.isEnd&&this.api.dispatchAction({type:"brushEnd",brushId:e,areas:Xk(n),$from:e})},e.type="brush",e}(uB);function pnt(t,e){return qk({brushType:t.brushType,brushMode:t.brushMode,transformable:t.transformable,brushStyle:new nR(t.brushStyle).getItemStyle(),removeOnClick:t.removeOnClick,z:t.z},e,!0)}const gnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.areas=[],n.brushOption={},n}return Sk(e,t),e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&tnt(n,t,["inBrush","outOfBrush"]);var r=n.inBrush=n.inBrush||{};n.outOfBrush=n.outOfBrush||{color:"#ddd"},r.hasOwnProperty("liftZ")||(r.liftZ=5)},e.prototype.setAreas=function(t){t&&(this.areas=nI(t,(function(t){return pnt(this.option,t)}),this))},e.prototype.setBrushOption=function(t){this.brushOption=pnt(this.option,t),this.brushType=this.brushOption.brushType},e.type="brush",e.dependencies=["geo","grid","xAxis","yAxis","parallel","series"],e.defaultOption={seriesIndex:"all",brushType:"rect",brushMode:"single",transformable:!0,brushStyle:{borderWidth:1,color:"rgba(210,219,238,0.3)",borderColor:"#D2DBEE"},throttleType:"fixRate",throttleDelay:0,removeOnClick:!0,z:1e4},e}(fN);var bnt=["rect","polygon","lineX","lineY","keep","clear"];const vnt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return Sk(e,t),e.prototype.render=function(t,e,n){var r,i,a;e.eachComponent({mainType:"brush"},(function(t){r=t.brushType,i=t.brushOption.brushMode||"single",a=a||!!t.areas.length})),this._brushType=r,this._brushMode=i,eI(t.get("type",!0),(function(e){t.setIconStatus(e,("keep"===e?"multiple"===i:"clear"===e?a:e===r)?"emphasis":"normal")}))},e.prototype.updateView=function(t,e,n){this.render(t,e,n)},e.prototype.getIcons=function(){var t=this.model,e=t.get("icon",!0),n={};return eI(t.get("type",!0),(function(t){e[t]&&(n[t]=e[t])})),n},e.prototype.onclick=function(t,e,n){var r=this._brushType,i=this._brushMode;"clear"===n?(e.dispatchAction({type:"axisAreaSelect",intervals:[]}),e.dispatchAction({type:"brush",command:"clear",areas:[]})):e.dispatchAction({type:"takeGlobalCursor",key:"brush",brushOption:{brushType:"keep"===n?r:r!==n&&n,brushMode:"keep"===n?"multiple"===i?"single":"multiple":i}})},e.getDefaultOption=function(t){return{show:!0,type:bnt.slice(),icon:{rect:"M7.3,34.7 M0.4,10V-0.2h9.8 M89.6,10V-0.2h-9.8 M0.4,60v10.2h9.8 M89.6,60v10.2h-9.8 M12.3,22.4V10.5h13.1 M33.6,10.5h7.8 M49.1,10.5h7.8 M77.5,22.4V10.5h-13 M12.3,31.1v8.2 M77.7,31.1v8.2 M12.3,47.6v11.9h13.1 M33.6,59.5h7.6 M49.1,59.5 h7.7 M77.5,47.6v11.9h-13",polygon:"M55.2,34.9c1.7,0,3.1,1.4,3.1,3.1s-1.4,3.1-3.1,3.1 s-3.1-1.4-3.1-3.1S53.5,34.9,55.2,34.9z M50.4,51c1.7,0,3.1,1.4,3.1,3.1c0,1.7-1.4,3.1-3.1,3.1c-1.7,0-3.1-1.4-3.1-3.1 C47.3,52.4,48.7,51,50.4,51z M55.6,37.1l1.5-7.8 M60.1,13.5l1.6-8.7l-7.8,4 M59,19l-1,5.3 M24,16.1l6.4,4.9l6.4-3.3 M48.5,11.6 l-5.9,3.1 M19.1,12.8L9.7,5.1l1.1,7.7 M13.4,29.8l1,7.3l6.6,1.6 M11.6,18.4l1,6.1 M32.8,41.9 M26.6,40.4 M27.3,40.2l6.1,1.6 M49.9,52.1l-5.6-7.6l-4.9-1.2",lineX:"M15.2,30 M19.7,15.6V1.9H29 M34.8,1.9H40.4 M55.3,15.6V1.9H45.9 M19.7,44.4V58.1H29 M34.8,58.1H40.4 M55.3,44.4 V58.1H45.9 M12.5,20.3l-9.4,9.6l9.6,9.8 M3.1,29.9h16.5 M62.5,20.3l9.4,9.6L62.3,39.7 M71.9,29.9H55.4",lineY:"M38.8,7.7 M52.7,12h13.2v9 M65.9,26.6V32 M52.7,46.3h13.2v-9 M24.9,12H11.8v9 M11.8,26.6V32 M24.9,46.3H11.8v-9 M48.2,5.1l-9.3-9l-9.4,9.2 M38.9-3.9V12 M48.2,53.3l-9.3,9l-9.4-9.2 M38.9,62.3V46.4",keep:"M4,10.5V1h10.3 M20.7,1h6.1 M33,1h6.1 M55.4,10.5V1H45.2 M4,17.3v6.6 M55.6,17.3v6.6 M4,30.5V40h10.3 M20.7,40 h6.1 M33,40h6.1 M55.4,30.5V40H45.2 M21,18.9h62.9v48.6H21V18.9z",clear:"M22,14.7l30.9,31 M52.9,14.7L22,45.7 M4.7,16.8V4.2h13.1 M26,4.2h7.8 M41.6,4.2h7.8 M70.3,16.8V4.2H57.2 M4.7,25.9v8.6 M70.3,25.9v8.6 M4.7,43.2v12.6h13.1 M26,55.8h7.8 M41.6,55.8h7.8 M70.3,43.2v12.6H57.2"},title:t.getLocaleModel().get(["toolbox","brush","title"])}},e}(Att);var mnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Sk(e,t),e.type="title",e.defaultOption={z:6,show:!0,text:"",target:"blank",subtext:"",subtarget:"blank",left:0,top:0,backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,padding:5,itemGap:10,textStyle:{fontSize:18,fontWeight:"bold",color:"#464646"},subtextStyle:{fontSize:12,color:"#6E7079"}},e}(fN),ynt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var r=this.group,i=t.getModel("textStyle"),a=t.getModel("subtextStyle"),o=t.get("textAlign"),s=wI(t.get("textBaseline"),t.get("textVerticalAlign")),u=new vO({style:OL(i,{text:t.get("text"),fill:i.getTextColor()},{disableBox:!0}),z2:10}),c=u.getBoundingRect(),l=t.get("subtext"),h=new vO({style:OL(a,{text:l,fill:a.getTextColor(),y:c.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),f=t.get("link"),d=t.get("sublink"),p=t.get("triggerEvent",!0);u.silent=!f&&!p,h.silent=!d&&!p,f&&u.on("click",(function(){QR(f,"_"+t.get("target"))})),d&&h.on("click",(function(){QR(d,"_"+t.get("subtarget"))})),mO(u).eventData=mO(h).eventData=p?{componentType:"title",componentIndex:t.componentIndex}:null,r.add(u),l&&r.add(h);var g=r.getBoundingRect(),b=t.getBoxLayoutParams();b.width=g.width,b.height=g.height;var v=iN(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));o||("middle"===(o=t.get("left")||t.get("right"))&&(o="center"),"right"===o?v.x+=v.width:"center"===o&&(v.x+=v.width/2)),s||("center"===(s=t.get("top")||t.get("bottom"))&&(s="middle"),"bottom"===s?v.y+=v.height:"middle"===s&&(v.y+=v.height/2),s=s||"top"),r.x=v.x,r.y=v.y,r.markRedraw();var m={align:o,verticalAlign:s};u.setStyle(m),h.setStyle(m),g=r.getBoundingRect();var y=v.margin,w=t.getItemStyle(["color","opacity"]);w.fill=t.get("backgroundColor");var x=new eO({shape:{x:g.x-y[3],y:g.y-y[0],width:g.width+y[1]+y[3],height:g.height+y[0]+y[2],r:t.get("borderRadius")},style:w,subPixelOptimize:!0,silent:!0});r.add(x)}},e.type="title",e}(uB);var wnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode="box",n}return Sk(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._initData()},e.prototype.mergeOption=function(e){t.prototype.mergeOption.apply(this,arguments),this._initData()},e.prototype.setCurrentIndex=function(t){null==t&&(t=this.option.currentIndex);var e=this._data.count();this.option.loop?t=(t%e+e)%e:(t>=e&&(t=e-1),t<0&&(t=0)),this.option.currentIndex=t},e.prototype.getCurrentIndex=function(){return this.option.currentIndex},e.prototype.isIndexMax=function(){return this.getCurrentIndex()>=this._data.count()-1},e.prototype.setPlayState=function(t){this.option.autoPlay=!!t},e.prototype.getPlayState=function(){return!!this.option.autoPlay},e.prototype._initData=function(){var t,e=this.option,n=e.data||[],r=e.axisType,i=this._names=[];"category"===r?(t=[],eI(n,(function(e,n){var r,a=$E(NE(e),"");dI(e)?(r=Xk(e)).value=n:r=n,t.push(r),i.push(a)}))):t=n;var a={category:"ordinal",time:"time",value:"number"}[r]||"number";(this._data=new HU([{name:"value",type:a}],this)).initData(t,i)},e.prototype.getData=function(){return this._data},e.prototype.getCategories=function(){if("category"===this.get("axisType"))return this._names.slice()},e.type="timeline",e.defaultOption={z:4,show:!0,axisType:"time",realtime:!0,left:"20%",top:null,right:"20%",bottom:0,width:null,height:40,padding:5,controlPosition:"left",autoPlay:!1,rewind:!1,loop:!0,playInterval:2e3,currentIndex:0,itemStyle:{},label:{color:"#000"},data:[]},e}(fN);const xnt=wnt;var _nt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="timeline.slider",e.defaultOption=aR(xnt.defaultOption,{backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderWidth:0,orient:"horizontal",inverse:!1,tooltip:{trigger:"item"},symbol:"circle",symbolSize:12,lineStyle:{show:!0,width:2,color:"#DAE1F5"},label:{position:"auto",show:!0,interval:"auto",rotate:0,color:"#A4B1D7"},itemStyle:{color:"#A4B1D7",borderWidth:1},checkpointStyle:{symbol:"circle",symbolSize:15,color:"#316bf3",borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0, 0, 0, 0.3)",animation:!0,animationDuration:300,animationEasing:"quinticInOut"},controlStyle:{show:!0,showPlayBtn:!0,showPrevBtn:!0,showNextBtn:!0,itemSize:24,itemGap:12,position:"left",playIcon:"path://M31.6,53C17.5,53,6,41.5,6,27.4S17.5,1.8,31.6,1.8C45.7,1.8,57.2,13.3,57.2,27.4S45.7,53,31.6,53z M31.6,3.3 C18.4,3.3,7.5,14.1,7.5,27.4c0,13.3,10.8,24.1,24.1,24.1C44.9,51.5,55.7,40.7,55.7,27.4C55.7,14.1,44.9,3.3,31.6,3.3z M24.9,21.3 c0-2.2,1.6-3.1,3.5-2l10.5,6.1c1.899,1.1,1.899,2.9,0,4l-10.5,6.1c-1.9,1.1-3.5,0.2-3.5-2V21.3z",stopIcon:"path://M30.9,53.2C16.8,53.2,5.3,41.7,5.3,27.6S16.8,2,30.9,2C45,2,56.4,13.5,56.4,27.6S45,53.2,30.9,53.2z M30.9,3.5C17.6,3.5,6.8,14.4,6.8,27.6c0,13.3,10.8,24.1,24.101,24.1C44.2,51.7,55,40.9,55,27.6C54.9,14.4,44.1,3.5,30.9,3.5z M36.9,35.8c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H36c0.5,0,0.9,0.4,0.9,1V35.8z M27.8,35.8 c0,0.601-0.4,1-0.9,1h-1.3c-0.5,0-0.9-0.399-0.9-1V19.5c0-0.6,0.4-1,0.9-1H27c0.5,0,0.9,0.4,0.9,1L27.8,35.8L27.8,35.8z",nextIcon:"M2,18.5A1.52,1.52,0,0,1,.92,18a1.49,1.49,0,0,1,0-2.12L7.81,9.36,1,3.11A1.5,1.5,0,1,1,3,.89l8,7.34a1.48,1.48,0,0,1,.49,1.09,1.51,1.51,0,0,1-.46,1.1L3,18.08A1.5,1.5,0,0,1,2,18.5Z",prevIcon:"M10,.5A1.52,1.52,0,0,1,11.08,1a1.49,1.49,0,0,1,0,2.12L4.19,9.64,11,15.89a1.5,1.5,0,1,1-2,2.22L1,10.77A1.48,1.48,0,0,1,.5,9.68,1.51,1.51,0,0,1,1,8.58L9,.92A1.5,1.5,0,0,1,10,.5Z",prevBtnSize:18,nextBtnSize:18,color:"#A4B1D7",borderColor:"#A4B1D7",borderWidth:1},emphasis:{label:{show:!0,color:"#6f778d"},itemStyle:{color:"#316BF3"},controlStyle:{color:"#316BF3",borderColor:"#316BF3",borderWidth:2}},progress:{lineStyle:{color:"#316BF3"},itemStyle:{color:"#316BF3"},label:{color:"#6f778d"}},data:[]}),e}(xnt);Jk(_nt,Kj.prototype);const Snt=_nt;const knt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="timeline",e}(uB);var Int=function(t){function e(e,n,r,i){var a=t.call(this,e,n,r)||this;return a.type=i||"value",a}return Sk(e,t),e.prototype.getLabelModel=function(){return this.model.getModel("label")},e.prototype.isHorizontal=function(){return"horizontal"===this.model.get("orient")},e}(kK);const Mnt=Int;var Cnt=Math.PI,Tnt=GE(),Ant=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(t,e){this.api=e},e.prototype.render=function(t,e,n){if(this.model=t,this.api=n,this.ecModel=e,this.group.removeAll(),t.get("show",!0)){var r=this._layout(t,n),i=this._createGroup("_mainGroup"),a=this._createGroup("_labelGroup"),o=this._axis=this._createAxis(r,t);t.formatTooltip=function(t){return jF("nameValue",{noName:!0,value:o.scale.getLabel({value:t})})},eI(["AxisLine","AxisTick","Control","CurrentPointer"],(function(e){this["_render"+e](r,i,o,t)}),this),this._renderAxisLabel(r,a,o,t),this._position(r,t)}this._doPlayStop(),this._updateTicksStatus()},e.prototype.remove=function(){this._clearTimer(),this.group.removeAll()},e.prototype.dispose=function(){this._clearTimer()},e.prototype._layout=function(t,e){var n,r,i,a,o=t.get(["label","position"]),s=t.get("orient"),u=function(t,e){return iN(t.getBoxLayoutParams(),{width:e.getWidth(),height:e.getHeight()},t.get("padding"))}(t,e),c={horizontal:"center",vertical:(n=null==o||"auto"===o?"horizontal"===s?u.y+u.height/2<e.getHeight()/2?"-":"+":u.x+u.width/2<e.getWidth()/2?"+":"-":lI(o)?{horizontal:{top:"-",bottom:"+"},vertical:{left:"-",right:"+"}}[s][o]:o)>=0||"+"===n?"left":"right"},l={horizontal:n>=0||"+"===n?"top":"bottom",vertical:"middle"},h={horizontal:0,vertical:Cnt/2},f="vertical"===s?u.height:u.width,d=t.getModel("controlStyle"),p=d.get("show",!0),g=p?d.get("itemSize"):0,b=p?d.get("itemGap"):0,v=g+b,m=t.get(["label","rotate"])||0;m=m*Cnt/180;var y=d.get("position",!0),w=p&&d.get("showPlayBtn",!0),x=p&&d.get("showPrevBtn",!0),_=p&&d.get("showNextBtn",!0),S=0,k=f;"left"===y||"bottom"===y?(w&&(r=[0,0],S+=v),x&&(i=[S,0],S+=v),_&&(a=[k-g,0],k-=v)):(w&&(r=[k-g,0],k-=v),x&&(i=[0,0],S+=v),_&&(a=[k-g,0],k-=v));var I=[S,k];return t.get("inverse")&&I.reverse(),{viewRect:u,mainLength:f,orient:s,rotation:h[s],labelRotation:m,labelPosOpt:n,labelAlign:t.get(["label","align"])||c[s],labelBaseline:t.get(["label","verticalAlign"])||t.get(["label","baseline"])||l[s],playPosition:r,prevBtnPosition:i,nextBtnPosition:a,axisExtent:I,controlSize:g,controlGap:b}},e.prototype._position=function(t,e){var n=this._mainGroup,r=this._labelGroup,i=t.viewRect;if("vertical"===t.orient){var a=[1,0,0,1,0,0],o=i.x,s=i.y+i.height;RM(a,a,[-o,-s]),NM(a,a,-Cnt/2),RM(a,a,[o,s]),(i=i.clone()).applyTransform(a)}var u=b(i),c=b(n.getBoundingRect()),l=b(r.getBoundingRect()),h=[n.x,n.y],f=[r.x,r.y];f[0]=h[0]=u[0][0];var d,p=t.labelPosOpt;null==p||lI(p)?(v(h,c,u,1,d="+"===p?0:1),v(f,l,u,1,1-d)):(v(h,c,u,1,d=p>=0?0:1),f[1]=h[1]+p);function g(t){t.originX=u[0][0]-t.x,t.originY=u[1][0]-t.y}function b(t){return[[t.x,t.x+t.width],[t.y,t.y+t.height]]}function v(t,e,n,r,i){t[r]+=n[r][i]-e[r][i]}n.setPosition(h),r.setPosition(f),n.rotation=r.rotation=t.rotation,g(n),g(r)},e.prototype._createAxis=function(t,e){var n=e.getData(),r=e.get("axisType"),i=function(t,e){if(e=e||t.get("type"))switch(e){case"category":return new SY({ordinalMeta:t.getCategories(),extent:[1/0,-1/0]});case"time":return new RY({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new MY}}(e,r);i.getTicks=function(){return n.mapArray(["value"],(function(t){return{value:t}}))};var a=n.getDataExtent("value");i.setExtent(a[0],a[1]),i.calcNiceTicks();var o=new Mnt("value",i,t.axisExtent,r);return o.model=e,o},e.prototype._createGroup=function(t){var e=this[t]=new nE;return this.group.add(e),e},e.prototype._renderAxisLine=function(t,e,n,r){var i=n.getExtent();if(r.get(["lineStyle","show"])){var a=new hz({shape:{x1:i[0],y1:0,x2:i[1],y2:0},style:Kk({lineCap:"round"},r.getModel("lineStyle").getLineStyle()),silent:!0,z2:1});e.add(a);var o=this._progressLine=new hz({shape:{x1:i[0],x2:this._currentPointer?this._currentPointer.x:i[0],y1:0,y2:0},style:Zk({lineCap:"round",lineWidth:a.style.lineWidth},r.getModel(["progress","lineStyle"]).getLineStyle()),silent:!0,z2:1});e.add(o)}},e.prototype._renderAxisTick=function(t,e,n,r){var i=this,a=r.getData(),o=n.scale.getTicks();this._tickSymbols=[],eI(o,(function(t){var o=n.dataToCoord(t.value),s=a.getItemModel(t.value),u=s.getModel("itemStyle"),c=s.getModel(["emphasis","itemStyle"]),l=s.getModel(["progress","itemStyle"]),h={x:o,y:0,onclick:oI(i._changeTimeline,i,t.value)},f=Ent(s,u,e,h);f.ensureState("emphasis").style=c.getItemStyle(),f.ensureState("progress").style=l.getItemStyle(),uL(f);var d=mO(f);s.get("tooltip")?(d.dataIndex=t.value,d.dataModel=r):d.dataIndex=d.dataModel=null,i._tickSymbols.push(f)}))},e.prototype._renderAxisLabel=function(t,e,n,r){var i=this;if(n.getLabelModel().get("show")){var a=r.getData(),o=n.getViewLabels();this._tickLabels=[],eI(o,(function(r){var o=r.tickValue,s=a.getItemModel(o),u=s.getModel("label"),c=s.getModel(["emphasis","label"]),l=s.getModel(["progress","label"]),h=n.dataToCoord(r.tickValue),f=new vO({x:h,y:0,rotation:t.labelRotation-t.rotation,onclick:oI(i._changeTimeline,i,o),silent:!1,style:OL(u,{text:r.formattedLabel,align:t.labelAlign,verticalAlign:t.labelBaseline})});f.ensureState("emphasis").style=OL(c),f.ensureState("progress").style=OL(l),e.add(f),uL(f),Tnt(f).dataIndex=o,i._tickLabels.push(f)}))}},e.prototype._renderControl=function(t,e,n,r){var i=t.controlSize,a=t.rotation,o=r.getModel("controlStyle").getItemStyle(),s=r.getModel(["emphasis","controlStyle"]).getItemStyle(),u=r.getPlayState(),c=r.get("inverse",!0);function l(t,n,u,c){if(t){var l=VA(wI(r.get(["controlStyle",n+"BtnSize"]),i),i),h=function(t,e,n,r){var i=r.style,a=a$(t.get(["controlStyle",e]),r||{},new KM(n[0],n[1],n[2],n[3]));i&&a.setStyle(i);return a}(r,n+"Icon",[0,-l/2,l,l],{x:t[0],y:t[1],originX:i/2,originY:0,rotation:c?-a:0,rectHover:!0,style:o,onclick:u});h.ensureState("emphasis").style=s,e.add(h),uL(h)}}l(t.nextBtnPosition,"next",oI(this._changeTimeline,this,c?"-":"+")),l(t.prevBtnPosition,"prev",oI(this._changeTimeline,this,c?"+":"-")),l(t.playPosition,u?"stop":"play",oI(this._handlePlayClick,this,!u),!0)},e.prototype._renderCurrentPointer=function(t,e,n,r){var i=r.getData(),a=r.getCurrentIndex(),o=i.getItemModel(a).getModel("checkpointStyle"),s=this,u={onCreate:function(t){t.draggable=!0,t.drift=oI(s._handlePointerDrag,s),t.ondragend=oI(s._handlePointerDragend,s),Pnt(t,s._progressLine,a,n,r,!0)},onUpdate:function(t){Pnt(t,s._progressLine,a,n,r)}};this._currentPointer=Ent(o,o,this._mainGroup,{},this._currentPointer,u)},e.prototype._handlePlayClick=function(t){this._clearTimer(),this.api.dispatchAction({type:"timelinePlayChange",playState:t,from:this.uid})},e.prototype._handlePointerDrag=function(t,e,n){this._clearTimer(),this._pointerChangeTimeline([n.offsetX,n.offsetY])},e.prototype._handlePointerDragend=function(t){this._pointerChangeTimeline([t.offsetX,t.offsetY],!0)},e.prototype._pointerChangeTimeline=function(t,e){var n=this._toAxisCoord(t)[0],r=hE(this._axis.getExtent().slice());n>r[1]&&(n=r[1]),n<r[0]&&(n=r[0]),this._currentPointer.x=n,this._currentPointer.markRedraw();var i=this._progressLine;i&&(i.shape.x2=n,i.dirty());var a=this._findNearestTick(n),o=this.model;(e||a!==o.getCurrentIndex()&&o.get("realtime"))&&this._changeTimeline(a)},e.prototype._doPlayStop=function(){var t=this;this._clearTimer(),this.model.getPlayState()&&(this._timer=setTimeout((function(){var e=t.model;t._changeTimeline(e.getCurrentIndex()+(e.get("rewind",!0)?-1:1))}),this.model.get("playInterval")))},e.prototype._toAxisCoord=function(t){return Jz(t,this._mainGroup.getLocalTransform(),!0)},e.prototype._findNearestTick=function(t){var e,n=this.model.getData(),r=1/0,i=this._axis;return n.each(["value"],(function(n,a){var o=i.dataToCoord(n),s=Math.abs(o-t);s<r&&(r=s,e=a)})),e},e.prototype._clearTimer=function(){this._timer&&(clearTimeout(this._timer),this._timer=null)},e.prototype._changeTimeline=function(t){var e=this.model.getCurrentIndex();"+"===t?t=e+1:"-"===t&&(t=e-1),this.api.dispatchAction({type:"timelineChange",currentIndex:t,from:this.uid})},e.prototype._updateTicksStatus=function(){var t=this.model.getCurrentIndex(),e=this._tickSymbols,n=this._tickLabels;if(e)for(var r=0;r<e.length;r++)e&&e[r]&&e[r].toggleState("progress",r<t);if(n)for(r=0;r<n.length;r++)n&&n[r]&&n[r].toggleState("progress",Tnt(n[r]).dataIndex<=t)},e.type="timeline.slider",e}(knt);function Ent(t,e,n,r,i,a){var o=e.get("color");i?(i.setColor(o),n.add(i),a&&a.onUpdate(i)):((i=EV(t.get("symbol"),-1,-1,2,2,o)).setStyle("strokeNoScale",!0),n.add(i),a&&a.onCreate(i));var s=e.getItemStyle(["color"]);i.setStyle(s),r=qk({rectHover:!0,z2:100},r,!0);var u=PV(t.get("symbolSize"));r.scaleX=u[0]/2,r.scaleY=u[1]/2;var c=DV(t.get("symbolOffset"),u);c&&(r.x=(r.x||0)+c[0],r.y=(r.y||0)+c[1]);var l=t.get("symbolRotate");return r.rotation=(l||0)*Math.PI/180||0,i.attr(r),i.updateTransform(),i}function Pnt(t,e,n,r,i,a){if(!t.dragging){var o=i.getModel("checkpointStyle"),s=r.dataToCoord(i.getData().get("value",n));if(a||!o.get("animation",!0))t.attr({x:s,y:0}),e&&e.attr({shape:{x2:s}});else{var u={duration:o.get("animationDuration",!0),easing:o.get("animationEasing",!0)};t.stopAnimation(null,!0),t.animateTo({x:s,y:0},u),e&&e.animateTo({shape:{x2:s}},u)}}}const Dnt=Ant;function Ont(t){var e=t&&t.timeline;uI(e)||(e=e?[e]:[]),eI(e,(function(t){t&&function(t){var e=t.type,n={number:"value",time:"time"};n[e]&&(t.axisType=n[e],delete t.type);if(Lnt(t),Rnt(t,"controlPosition")){var r=t.controlStyle||(t.controlStyle={});Rnt(r,"position")||(r.position=t.controlPosition),"none"!==r.position||Rnt(r,"show")||(r.show=!1,delete r.position),delete t.controlPosition}eI(t.data||[],(function(t){dI(t)&&!uI(t)&&(!Rnt(t,"value")&&Rnt(t,"name")&&(t.value=t.name),Lnt(t))}))}(t)}))}function Lnt(t){var e=t.itemStyle||(t.itemStyle={}),n=e.emphasis||(e.emphasis={}),r=t.label||t.label||{},i=r.normal||(r.normal={}),a={normal:1,emphasis:1};eI(r,(function(t,e){a[e]||Rnt(i,e)||(i[e]=t)})),n.label&&!Rnt(r,"emphasis")&&(r.emphasis=n.label,delete n.label)}function Rnt(t,e){return t.hasOwnProperty(e)}function Nnt(t,e){if(!t)return!1;for(var n=uI(t)?t:[t],r=0;r<n.length;r++)if(n[r]&&n[r][e])return!0;return!1}function jnt(t){LE(t,"label",["show"])}var Fnt=GE(),Bnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.createdBySelf=!1,n}return Sk(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),this._mergeOption(t,n,!1,!0)},e.prototype.isAnimationEnabled=function(){if(Mk.node)return!1;var t=this.__hostSeries;return this.getShallow("animation")&&t&&t.isAnimationEnabled()},e.prototype.mergeOption=function(t,e){this._mergeOption(t,e,!1,!1)},e.prototype._mergeOption=function(t,e,n,r){var i=this.mainType;n||e.eachSeries((function(t){var n=t.get(this.mainType,!0),a=Fnt(t)[i];n&&n.data?(a?a._mergeOption(n,e,!0):(r&&jnt(n),eI(n.data,(function(t){t instanceof Array?(jnt(t[0]),jnt(t[1])):jnt(t)})),Kk(a=this.createMarkerModelFromSeries(n,this,e),{mainType:this.mainType,seriesIndex:t.seriesIndex,name:t.name,createdBySelf:!0}),a.__hostSeries=t),Fnt(t)[i]=a):Fnt(t)[i]=null}),this)},e.prototype.formatTooltip=function(t,e,n){var r=this.getData(),i=this.getRawValue(t),a=r.getName(t);return jF("section",{header:this.name,blocks:[jF("nameValue",{name:a,value:i,noName:!a,noValue:null==i})]})},e.prototype.getData=function(){return this._data},e.prototype.setData=function(t){this._data=t},e.getMarkerModelFromSeries=function(t,e){return Fnt(t)[e]},e.type="marker",e.dependencies=["series","grid","polar","geo"],e}(fN);Jk(Bnt,Kj.prototype);const znt=Bnt;const $nt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markPoint",e.defaultOption={z:5,symbol:"pin",symbolSize:50,tooltip:{trigger:"item"},label:{show:!0,position:"inside"},itemStyle:{borderWidth:2},emphasis:{label:{show:!0}}},e}(znt);function Vnt(t){return!(isNaN(parseFloat(t.x))&&isNaN(parseFloat(t.y)))}function Hnt(t,e,n,r,i,a){var o=[],s=KU(e,r)?e.getCalculationInfo("stackResultDimension"):r,u=Ynt(e,s,t),c=e.indicesOfNearest(s,u)[0];o[i]=e.get(n,c),o[a]=e.get(s,c);var l=e.get(r,c),h=fE(e.get(r,c));return(h=Math.min(h,20))>=0&&(o[a]=+o[a].toFixed(h)),[o,l]}var Wnt={min:sI(Hnt,"min"),max:sI(Hnt,"max"),average:sI(Hnt,"average"),median:sI(Hnt,"median")};function Gnt(t,e){if(e){var n=t.getData(),r=t.coordinateSystem,i=r&&r.dimensions;if(!function(t){return!isNaN(parseFloat(t.x))&&!isNaN(parseFloat(t.y))}(e)&&!uI(e.coord)&&uI(i)){var a=Unt(e,n,r,t);if((e=Xk(e)).type&&Wnt[e.type]&&a.baseAxis&&a.valueAxis){var o=Qk(i,a.baseAxis.dim),s=Qk(i,a.valueAxis.dim),u=Wnt[e.type](n,a.baseDataDim,a.valueDataDim,o,s);e.coord=u[0],e.value=u[1]}else e.coord=[null!=e.xAxis?e.xAxis:e.radiusAxis,null!=e.yAxis?e.yAxis:e.angleAxis]}if(null!=e.coord&&uI(i))for(var c=e.coord,l=0;l<2;l++)Wnt[c[l]]&&(c[l]=Ynt(n,n.mapDimension(i[l]),c[l]));else e.coord=[];return e}}function Unt(t,e,n,r){var i={};return null!=t.valueIndex||null!=t.valueDim?(i.valueDataDim=null!=t.valueIndex?e.getDimension(t.valueIndex):t.valueDim,i.valueAxis=n.getAxis(function(t,e){var n=t.getData().getDimensionInfo(e);return n&&n.coordDim}(r,i.valueDataDim)),i.baseAxis=n.getOtherAxis(i.valueAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim)):(i.baseAxis=r.getBaseAxis(),i.valueAxis=n.getOtherAxis(i.baseAxis),i.baseDataDim=e.mapDimension(i.baseAxis.dim),i.valueDataDim=e.mapDimension(i.valueAxis.dim)),i}function Xnt(t,e){return!(t&&t.containData&&e.coord&&!Vnt(e))||t.containData(e.coord)}function qnt(t,e){return t?function(t,n,r,i){return rF(i<2?t.coord&&t.coord[i]:t.value,e[i])}:function(t,n,r,i){return rF(t.value,e[i])}}function Ynt(t,e,n){if("average"===n){var r=0,i=0;return t.each(e,(function(t,e){isNaN(t)||(r+=t,i++)})),r/i}return"median"===n?t.getMedian(e):t.getDataExtent(e)["max"===n?1:0]}var Knt=GE();const Znt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.init=function(){this.markerGroupMap=DI()},e.prototype.render=function(t,e,n){var r=this,i=this.markerGroupMap;i.each((function(t){Knt(t).keep=!1})),e.eachSeries((function(t){var i=znt.getMarkerModelFromSeries(t,r.type);i&&r.renderSeries(t,i,e,n)})),i.each((function(t){!Knt(t).keep&&r.group.remove(t.group)}))},e.prototype.markKeep=function(t){Knt(t).keep=!0},e.prototype.toggleBlurSeries=function(t,e){var n=this;eI(t,(function(t){var r=znt.getMarkerModelFromSeries(t,n.type);r&&r.getData().eachItemGraphicEl((function(t){t&&(e?ZO(t):QO(t))}))}))},e.type="marker",e}(uB);function Qnt(t,e,n){var r=e.coordinateSystem;t.each((function(i){var a,o=t.getItemModel(i),s=cE(o.get("x"),n.getWidth()),u=cE(o.get("y"),n.getHeight());if(isNaN(s)||isNaN(u)){if(e.getMarkerPosition)a=e.getMarkerPosition(t.getValues(t.dimensions,i));else if(r){var c=t.get(r.dimensions[0],i),l=t.get(r.dimensions[1],i);a=r.dataToPoint([c,l])}}else a=[s,u];isNaN(s)||(a[0]=s),isNaN(u)||(a[1]=u),t.setItemLayout(i,a)}))}var Jnt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=znt.getMarkerModelFromSeries(t,"markPoint");e&&(Qnt(e.getData(),t,n),this.markerGroupMap.get(t.id).updateLayout())}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,u=s.get(a)||s.set(a,new lX),c=function(t,e,n){var r;r=t?nI(t&&t.dimensions,(function(t){return Kk(Kk({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new HU(r,n),a=nI(n.get("data"),sI(Gnt,e));t&&(a=iI(a,sI(Xnt,t)));var o=qnt(!!t,r);return i.initData(a,null,o),i}(i,t,e);e.setData(c),Qnt(e.getData(),t,r),c.each((function(t){var n=c.getItemModel(t),r=n.getShallow("symbol"),i=n.getShallow("symbolSize"),a=n.getShallow("symbolRotate"),s=n.getShallow("symbolOffset"),u=n.getShallow("symbolKeepAspect");if(cI(r)||cI(i)||cI(a)||cI(s)){var l=e.getRawValue(t),h=e.getDataParams(t);cI(r)&&(r=r(l,h)),cI(i)&&(i=i(l,h)),cI(a)&&(a=a(l,h)),cI(s)&&(s=s(l,h))}var f=n.getModel("itemStyle").getItemStyle(),d=dV(o,"color");f.fill||(f.fill=d),c.setItemVisual(t,{symbol:r,symbolSize:i,symbolRotate:a,symbolOffset:s,symbolKeepAspect:u,style:f})})),u.updateData(c),this.group.add(u.group),c.eachItemGraphicEl((function(t){t.traverse((function(t){mO(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markPoint",e}(Znt);const trt=Jnt;const ert=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markLine",e.defaultOption={z:5,symbol:["circle","arrow"],symbolSize:[8,16],symbolOffset:0,precision:2,tooltip:{trigger:"item"},label:{show:!0,position:"end",distance:5},lineStyle:{type:"dashed"},emphasis:{label:{show:!0},lineStyle:{width:3}},animationEasing:"linear"},e}(znt);var nrt=GE(),rrt=function(t,e,n,r){var i,a=t.getData();if(uI(r))i=r;else{var o=r.type;if("min"===o||"max"===o||"average"===o||"median"===o||null!=r.xAxis||null!=r.yAxis){var s=void 0,u=void 0;if(null!=r.yAxis||null!=r.xAxis)s=e.getAxis(null!=r.yAxis?"y":"x"),u=yI(r.yAxis,r.xAxis);else{var c=Unt(r,a,e,t);s=c.valueAxis,u=Ynt(a,ZU(a,c.valueDataDim),o)}var l="x"===s.dim?0:1,h=1-l,f=Xk(r),d={coord:[]};f.type=null,f.coord=[],f.coord[h]=-1/0,d.coord[h]=1/0;var p=n.get("precision");p>=0&&fI(u)&&(u=+u.toFixed(Math.min(p,20))),f.coord[l]=d.coord[l]=u,i=[f,d,{type:o,valueIndex:r.valueIndex,value:u}]}else i=[]}var g=[Gnt(t,i[0]),Gnt(t,i[1]),Kk({},i[2])];return g[2].type=g[2].type||null,qk(g[2],g[0]),qk(g[2],g[1]),g};function irt(t){return!isNaN(t)&&!isFinite(t)}function art(t,e,n,r){var i=1-t,a=r.dimensions[t];return irt(e[i])&&irt(n[i])&&e[t]===n[t]&&r.getAxis(a).containData(e[t])}function ort(t,e){if("cartesian2d"===t.type){var n=e[0].coord,r=e[1].coord;if(n&&r&&(art(1,n,r,t)||art(0,n,r,t)))return!0}return Xnt(t,e[0])&&Xnt(t,e[1])}function srt(t,e,n,r,i){var a,o=r.coordinateSystem,s=t.getItemModel(e),u=cE(s.get("x"),i.getWidth()),c=cE(s.get("y"),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition)a=r.getMarkerPosition(t.getValues(t.dimensions,e));else{var l=o.dimensions,h=t.get(l[0],e),f=t.get(l[1],e);a=o.dataToPoint([h,f])}if(CX(o,"cartesian2d")){var d=o.getAxis("x"),p=o.getAxis("y");l=o.dimensions;irt(t.get(l[0],e))?a[0]=d.toGlobalCoord(d.getExtent()[n?0:1]):irt(t.get(l[1],e))&&(a[1]=p.toGlobalCoord(p.getExtent()[n?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];t.setItemLayout(e,a)}const urt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=znt.getMarkerModelFromSeries(t,"markLine");if(e){var r=e.getData(),i=nrt(e).from,a=nrt(e).to;i.each((function(e){srt(i,e,!0,t,n),srt(a,e,!1,t,n)})),r.each((function(t){r.setItemLayout(t,[i.getItemLayout(t),a.getItemLayout(t)])})),this.markerGroupMap.get(t.id).updateLayout()}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,u=s.get(a)||s.set(a,new e2);this.group.add(u.group);var c=function(t,e,n){var r;r=t?nI(t&&t.dimensions,(function(t){return Kk(Kk({},e.getData().getDimensionInfo(e.getData().mapDimension(t))||{}),{name:t,ordinalMeta:null})})):[{name:"value",type:"float"}];var i=new HU(r,n),a=new HU(r,n),o=new HU([],n),s=nI(n.get("data"),sI(rrt,e,t,n));t&&(s=iI(s,sI(ort,t)));var u=qnt(!!t,r);return i.initData(nI(s,(function(t){return t[0]})),null,u),a.initData(nI(s,(function(t){return t[1]})),null,u),o.initData(nI(s,(function(t){return t[2]}))),o.hasItemOption=!0,{from:i,to:a,line:o}}(i,t,e),l=c.from,h=c.to,f=c.line;nrt(e).from=l,nrt(e).to=h,e.setData(f);var d=e.get("symbol"),p=e.get("symbolSize"),g=e.get("symbolRotate"),b=e.get("symbolOffset");function v(e,n,i){var a=e.getItemModel(n);srt(e,n,i,t,r);var s=a.getModel("itemStyle").getItemStyle();null==s.fill&&(s.fill=dV(o,"color")),e.setItemVisual(n,{symbolKeepAspect:a.get("symbolKeepAspect"),symbolOffset:wI(a.get("symbolOffset",!0),b[i?0:1]),symbolRotate:wI(a.get("symbolRotate",!0),g[i?0:1]),symbolSize:wI(a.get("symbolSize"),p[i?0:1]),symbol:wI(a.get("symbol",!0),d[i?0:1]),style:s})}uI(d)||(d=[d,d]),uI(p)||(p=[p,p]),uI(g)||(g=[g,g]),uI(b)||(b=[b,b]),c.from.each((function(t){v(l,t,!0),v(h,t,!1)})),f.each((function(t){var e=f.getItemModel(t).getModel("lineStyle").getLineStyle();f.setItemLayout(t,[l.getItemLayout(t),h.getItemLayout(t)]),null==e.stroke&&(e.stroke=l.getItemVisual(t,"style").fill),f.setItemVisual(t,{fromSymbolKeepAspect:l.getItemVisual(t,"symbolKeepAspect"),fromSymbolOffset:l.getItemVisual(t,"symbolOffset"),fromSymbolRotate:l.getItemVisual(t,"symbolRotate"),fromSymbolSize:l.getItemVisual(t,"symbolSize"),fromSymbol:l.getItemVisual(t,"symbol"),toSymbolKeepAspect:h.getItemVisual(t,"symbolKeepAspect"),toSymbolOffset:h.getItemVisual(t,"symbolOffset"),toSymbolRotate:h.getItemVisual(t,"symbolRotate"),toSymbolSize:h.getItemVisual(t,"symbolSize"),toSymbol:h.getItemVisual(t,"symbol"),style:e})})),u.updateData(f),c.line.eachItemGraphicEl((function(t){mO(t).dataModel=e,t.traverse((function(t){mO(t).dataModel=e}))})),this.markKeep(u),u.group.silent=e.get("silent")||t.get("silent")},e.type="markLine",e}(Znt);const crt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.createMarkerModelFromSeries=function(t,n,r){return new e(t,n,r)},e.type="markArea",e.defaultOption={z:1,tooltip:{trigger:"item"},animation:!1,label:{show:!0,position:"top"},itemStyle:{borderWidth:0},emphasis:{label:{show:!0,position:"top"}}},e}(znt);var lrt=GE(),hrt=function(t,e,n,r){var i=r[0],a=r[1];if(i&&a){var o=Gnt(t,i),s=Gnt(t,a),u=o.coord,c=s.coord;u[0]=yI(u[0],-1/0),u[1]=yI(u[1],-1/0),c[0]=yI(c[0],1/0),c[1]=yI(c[1],1/0);var l=Yk([{},o,s]);return l.coord=[o.coord,s.coord],l.x0=o.x,l.y0=o.y,l.x1=s.x,l.y1=s.y,l}};function frt(t){return!isNaN(t)&&!isFinite(t)}function drt(t,e,n,r){var i=1-t;return frt(e[i])&&frt(n[i])}function prt(t,e){var n=e.coord[0],r=e.coord[1],i={coord:n,x:e.x0,y:e.y0},a={coord:r,x:e.x1,y:e.y1};return CX(t,"cartesian2d")?!(!n||!r||!drt(1,n,r)&&!drt(0,n,r))||function(t,e,n){return!(t&&t.containZone&&e.coord&&n.coord&&!Vnt(e)&&!Vnt(n))||t.containZone(e.coord,n.coord)}(t,i,a):Xnt(t,i)||Xnt(t,a)}function grt(t,e,n,r,i){var a,o=r.coordinateSystem,s=t.getItemModel(e),u=cE(s.get(n[0]),i.getWidth()),c=cE(s.get(n[1]),i.getHeight());if(isNaN(u)||isNaN(c)){if(r.getMarkerPosition){var l=t.getValues(["x0","y0"],e),h=t.getValues(["x1","y1"],e),f=o.clampData(l),d=o.clampData(h),p=[];"x0"===n[0]?p[0]=f[0]>d[0]?h[0]:l[0]:p[0]=f[0]>d[0]?l[0]:h[0],"y0"===n[1]?p[1]=f[1]>d[1]?h[1]:l[1]:p[1]=f[1]>d[1]?l[1]:h[1],a=r.getMarkerPosition(p,n,!0)}else{var g=[m=t.get(n[0],e),y=t.get(n[1],e)];o.clampData&&o.clampData(g,g),a=o.dataToPoint(g,!0)}if(CX(o,"cartesian2d")){var b=o.getAxis("x"),v=o.getAxis("y"),m=t.get(n[0],e),y=t.get(n[1],e);frt(m)?a[0]=b.toGlobalCoord(b.getExtent()["x0"===n[0]?0:1]):frt(y)&&(a[1]=v.toGlobalCoord(v.getExtent()["y0"===n[1]?0:1]))}isNaN(u)||(a[0]=u),isNaN(c)||(a[1]=c)}else a=[u,c];return a}var brt=[["x0","y0"],["x1","y0"],["x1","y1"],["x0","y1"]],vrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.updateTransform=function(t,e,n){e.eachSeries((function(t){var e=znt.getMarkerModelFromSeries(t,"markArea");if(e){var r=e.getData();r.each((function(e){var i=nI(brt,(function(i){return grt(r,e,i,t,n)}));r.setItemLayout(e,i),r.getItemGraphicEl(e).setShape("points",i)}))}}),this)},e.prototype.renderSeries=function(t,e,n,r){var i=t.coordinateSystem,a=t.id,o=t.getData(),s=this.markerGroupMap,u=s.get(a)||s.set(a,{group:new nE});this.group.add(u.group),this.markKeep(u);var c=function(t,e,n){var r,i,a=["x0","y0","x1","y1"];if(t){var o=nI(t&&t.dimensions,(function(t){var n=e.getData();return Kk(Kk({},n.getDimensionInfo(n.mapDimension(t))||{}),{name:t,ordinalMeta:null})}));i=nI(a,(function(t,e){return{name:t,type:o[e%2].type}})),r=new HU(i,n)}else r=new HU(i=[{name:"value",type:"float"}],n);var s=nI(n.get("data"),sI(hrt,e,t,n));t&&(s=iI(s,sI(prt,t)));var u=t?function(t,e,n,r){return rF(t.coord[Math.floor(r/2)][r%2],i[r])}:function(t,e,n,r){return rF(t.value,i[r])};return r.initData(s,null,u),r.hasItemOption=!0,r}(i,t,e);e.setData(c),c.each((function(e){var n=nI(brt,(function(n){return grt(c,e,n,t,r)})),a=i.getAxis("x").scale,s=i.getAxis("y").scale,u=a.getExtent(),l=s.getExtent(),h=[a.parse(c.get("x0",e)),a.parse(c.get("x1",e))],f=[s.parse(c.get("y0",e)),s.parse(c.get("y1",e))];hE(h),hE(f);var d=!!(u[0]>h[1]||u[1]<h[0]||l[0]>f[1]||l[1]<f[0]);c.setItemLayout(e,{points:n,allClipped:d});var p=c.getItemModel(e).getModel("itemStyle").getItemStyle(),g=dV(o,"color");p.fill||(p.fill=g,lI(p.fill)&&(p.fill=mT(p.fill,.4))),p.stroke||(p.stroke=g),c.setItemVisual(e,"style",p)})),c.diff(lrt(u).data).add((function(t){var e=c.getItemLayout(t);if(!e.allClipped){var n=new iz({shape:{points:e.points}});c.setItemGraphicEl(t,n),u.group.add(n)}})).update((function(t,n){var r=lrt(u).data.getItemGraphicEl(n),i=c.getItemLayout(t);i.allClipped?r&&u.group.remove(r):(r?xL(r,{shape:{points:i.points}},e,t):r=new iz({shape:{points:i.points}}),c.setItemGraphicEl(t,r),u.group.add(r))})).remove((function(t){var e=lrt(u).data.getItemGraphicEl(t);u.group.remove(e)})).execute(),c.eachItemGraphicEl((function(t,n){var r=c.getItemModel(n),i=c.getItemVisual(n,"style");t.useStyle(c.getItemVisual(n,"style")),PL(t,DL(r),{labelFetcher:e,labelDataIndex:n,defaultText:c.getName(n)||"",inheritColor:lI(i.fill)?mT(i.fill,1):"#000"}),dL(t,r),cL(t,null,null,r.get(["emphasis","disabled"])),mO(t).dataModel=e})),lrt(u).data=c,u.group.silent=e.get("silent")||t.get("silent")},e.type="markArea",e}(Znt);const mrt=vrt;var yrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.layoutMode={type:"box",ignoreSize:!0},n}return Sk(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),uI(e)&&eI(e,(function(t,r){lI(t)&&(t={type:t}),e[r]=qk(t,function(t,e){return"all"===e?{type:"all",title:t.getLocaleModel().get(["legend","selector","all"])}:"inverse"===e?{type:"inverse",title:t.getLocaleModel().get(["legend","selector","inverse"])}:void 0}(n,t.type))}))},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var r=t[n].get("name");if(this.isSelected(r)){this.select(r),e=!0;break}}!e&&this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries((function(r){var i,a=r.name;if(n.push(a),r.legendVisualProvider){var o=r.legendVisualProvider.getAllNames();t.isSeriesFiltered(r)||(n=n.concat(o)),o.length?e=e.concat(o):i=!0}else i=!0;i&&VE(r)&&e.push(r.name)})),this._availableNames=n;var r=this.get("data")||e,i=DI(),a=nI(r,(function(t){return(lI(t)||fI(t))&&(t={name:t}),i.get(t.name)?null:(i.set(t.name,!0),new nR(t,this,this.ecModel))}),this);this._data=iI(a,(function(t){return!!t}))},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;"single"===this.get("selectedMode")&&eI(this._data,(function(t){e[t.get("name")]=!1}));e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;eI(t,(function(t){e[t.get("name",!0)]=!0}))},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;eI(t,(function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]}))},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&Qk(this._availableNames,t)>=0},e.prototype.getOrient=function(){return"vertical"===this.get("orient")?{index:1,name:"vertical"}:{index:0,name:"horizontal"}},e.type="legend.plain",e.dependencies=["series"],e.defaultOption={z:4,show:!0,orient:"horizontal",left:"center",top:0,align:"auto",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",borderRadius:0,borderWidth:0,padding:5,itemGap:10,itemWidth:25,itemHeight:14,symbolRotate:"inherit",symbolKeepAspect:!0,inactiveColor:"#ccc",inactiveBorderColor:"#ccc",inactiveBorderWidth:"auto",itemStyle:{color:"inherit",opacity:"inherit",borderColor:"inherit",borderWidth:"auto",borderCap:"inherit",borderJoin:"inherit",borderDashOffset:"inherit",borderMiterLimit:"inherit"},lineStyle:{width:"auto",color:"inherit",inactiveColor:"#ccc",inactiveWidth:2,opacity:"inherit",type:"inherit",cap:"inherit",join:"inherit",dashOffset:"inherit",miterLimit:"inherit"},textStyle:{color:"#333"},selectedMode:!0,selector:!1,selectorLabel:{show:!0,borderRadius:10,padding:[3,5,3,5],fontSize:12,fontFamily:"sans-serif",color:"#666",borderWidth:1,borderColor:"#666"},emphasis:{selectorLabel:{show:!0,color:"#eee",backgroundColor:"#666"}},selectorPosition:"auto",selectorItemGap:7,selectorButtonGap:10,tooltip:{show:!1}},e}(fN);const wrt=yrt;var xrt=sI,_rt=eI,Srt=nE,krt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return Sk(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new Srt),this.group.add(this._selectorGroup=new Srt),this._isFirstRender=!0},e.prototype.getContentGroup=function(){return this._contentGroup},e.prototype.getSelectorGroup=function(){return this._selectorGroup},e.prototype.render=function(t,e,n){var r=this._isFirstRender;if(this._isFirstRender=!1,this.resetInner(),t.get("show",!0)){var i=t.get("align"),a=t.get("orient");i&&"auto"!==i||(i="right"===t.get("left")&&"vertical"===a?"right":"left");var o=t.get("selector",!0),s=t.get("selectorPosition",!0);!o||s&&"auto"!==s||(s="horizontal"===a?"end":"start"),this.renderInner(i,t,e,n,o,a,s);var u=t.getBoxLayoutParams(),c={width:n.getWidth(),height:n.getHeight()},l=t.get("padding"),h=iN(u,c,l),f=this.layoutInner(t,i,h,r,o,s),d=iN(Zk({width:f.width,height:f.height},u),c,l);this.group.x=d.x-f.x,this.group.y=d.y-f.y,this.group.markRedraw(),this.group.add(this._backgroundEl=Ltt(f,t))}},e.prototype.resetInner=function(){this.getContentGroup().removeAll(),this._backgroundEl&&this.group.remove(this._backgroundEl),this.getSelectorGroup().removeAll()},e.prototype.renderInner=function(t,e,n,r,i,a,o){var s=this.getContentGroup(),u=DI(),c=e.get("selectedMode"),l=[];n.eachRawSeries((function(t){!t.get("legendHoverLink")&&l.push(t.id)})),_rt(e.getData(),(function(i,a){var o=i.get("name");if(!this.newlineDisabled&&(""===o||"\n"===o)){var h=new Srt;return h.newline=!0,void s.add(h)}var f=n.getSeriesByName(o)[0];if(!u.get(o)){if(f){var d=f.getData(),p=d.getVisual("legendLineStyle")||{},g=d.getVisual("legendIcon"),b=d.getVisual("style");this._createItem(f,o,a,i,e,t,p,b,g,c,r).on("click",xrt(Irt,o,null,r,l)).on("mouseover",xrt(Crt,f.name,null,r,l)).on("mouseout",xrt(Trt,f.name,null,r,l)),u.set(o,!0)}else n.eachRawSeries((function(n){if(!u.get(o)&&n.legendVisualProvider){var s=n.legendVisualProvider;if(!s.containName(o))return;var h=s.indexOfName(o),f=s.getItemVisual(h,"style"),d=s.getItemVisual(h,"legendIcon"),p=fT(f.fill);p&&0===p[3]&&(p[3]=.2,f=Kk(Kk({},f),{fill:yT(p,"rgba")})),this._createItem(n,o,a,i,e,t,{},f,d,c,r).on("click",xrt(Irt,null,o,r,l)).on("mouseover",xrt(Crt,null,o,r,l)).on("mouseout",xrt(Trt,null,o,r,l)),u.set(o,!0)}}),this);0}}),this),i&&this._createSelector(i,e,r,a,o)},e.prototype._createSelector=function(t,e,n,r,i){var a=this.getSelectorGroup();_rt(t,(function(t){var r=t.type,i=new vO({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===r?"legendAllSelect":"legendInverseSelect"})}});a.add(i),PL(i,{normal:e.getModel("selectorLabel"),emphasis:e.getModel(["emphasis","selectorLabel"])},{defaultText:t.title}),uL(i)}))},e.prototype._createItem=function(t,e,n,r,i,a,o,s,u,c,l){var h=t.visualDrawType,f=i.get("itemWidth"),d=i.get("itemHeight"),p=i.isSelected(e),g=r.get("symbolRotate"),b=r.get("symbolKeepAspect"),v=r.get("icon"),m=function(t,e,n,r,i,a,o){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=e.lineWidth>0?2:0),_rt(t,(function(n,r){"inherit"===t[r]&&(t[r]=e[r])}))}var u=e.getModel("itemStyle"),c=u.getItemStyle(),l=0===t.lastIndexOf("empty",0)?"fill":"stroke",h=u.getShallow("decal");c.decal=h&&"inherit"!==h?rH(h,o):r.decal,"inherit"===c.fill&&(c.fill=r[i]);"inherit"===c.stroke&&(c.stroke=r[l]);"inherit"===c.opacity&&(c.opacity=("fill"===i?r:n).opacity);s(c,r);var f=e.getModel("lineStyle"),d=f.getLineStyle();if(s(d,n),"auto"===c.fill&&(c.fill=r.fill),"auto"===c.stroke&&(c.stroke=r.fill),"auto"===d.stroke&&(d.stroke=r.fill),!a){var p=e.get("inactiveBorderWidth"),g=c[l];c.lineWidth="auto"===p?r.lineWidth>0&&g?2:0:c.lineWidth,c.fill=e.get("inactiveColor"),c.stroke=e.get("inactiveBorderColor"),d.stroke=f.get("inactiveColor"),d.lineWidth=f.get("inactiveWidth")}return{itemStyle:c,lineStyle:d}}(u=v||u||"roundRect",r,o,s,h,p,l),y=new Srt,w=r.getModel("textStyle");if(!cI(t.getLegendIcon)||v&&"inherit"!==v){var x="inherit"===v&&t.getData().getVisual("symbol")?"inherit"===g?t.getData().getVisual("symbolRotate"):g:0;y.add(function(t){var e=t.icon||"roundRect",n=EV(e,0,0,t.itemWidth,t.itemHeight,t.itemStyle.fill,t.symbolKeepAspect);n.setStyle(t.itemStyle),n.rotation=(t.iconRotate||0)*Math.PI/180,n.setOrigin([t.itemWidth/2,t.itemHeight/2]),e.indexOf("empty")>-1&&(n.style.stroke=n.style.fill,n.style.fill="#fff",n.style.lineWidth=2);return n}({itemWidth:f,itemHeight:d,icon:u,iconRotate:x,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:b}))}else y.add(t.getLegendIcon({itemWidth:f,itemHeight:d,icon:u,iconRotate:g,itemStyle:m.itemStyle,lineStyle:m.lineStyle,symbolKeepAspect:b}));var _="left"===a?f+5:-5,S=a,k=i.get("formatter"),I=e;lI(k)&&k?I=k.replace("{name}",null!=e?e:""):cI(k)&&(I=k(e));var M=r.get("inactiveColor");y.add(new vO({style:OL(w,{text:I,x:_,y:d/2,fill:p?w.getTextColor():M,align:S,verticalAlign:"middle"})}));var C=new eO({shape:y.getBoundingRect(),invisible:!0}),T=r.getModel("tooltip");return T.get("show")&&c$({el:C,componentModel:i,itemName:e,itemTooltipOption:T.option}),y.add(C),y.eachChild((function(t){t.silent=!0})),C.silent=!c,this.getContentGroup().add(y),uL(y),y.__legendDataIndex=n,y},e.prototype.layoutInner=function(t,e,n,r,i,a){var o=this.getContentGroup(),s=this.getSelectorGroup();rN(t.get("orient"),o,t.get("itemGap"),n.width,n.height);var u=o.getBoundingRect(),c=[-u.x,-u.y];if(s.markRedraw(),o.markRedraw(),i){rN("horizontal",s,t.get("selectorItemGap",!0));var l=s.getBoundingRect(),h=[-l.x,-l.y],f=t.get("selectorButtonGap",!0),d=t.getOrient().index,p=0===d?"width":"height",g=0===d?"height":"width",b=0===d?"y":"x";"end"===a?h[d]+=u[p]+f:c[d]+=l[p]+f,h[1-d]+=u[g]/2-l[g]/2,s.x=h[0],s.y=h[1],o.x=c[0],o.y=c[1];var v={x:0,y:0};return v[p]=u[p]+f+l[p],v[g]=Math.max(u[g],l[g]),v[b]=Math.min(0,l[b]+h[1-d]),v}return o.x=c[0],o.y=c[1],this.group.getBoundingRect()},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(uB);function Irt(t,e,n,r){Trt(t,e,n,r),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),Crt(t,e,n,r)}function Mrt(t){for(var e,n=t.getZr().storage.getDisplayList(),r=0,i=n.length;r<i&&!(e=n[r].states.emphasis);)r++;return e&&e.hoverLayer}function Crt(t,e,n,r){Mrt(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:r})}function Trt(t,e,n,r){Mrt(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:r})}const Art=krt;function Ert(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries((function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0}))}function Prt(t,e,n){var r,i={},a="toggleSelected"===t;return n.eachComponent("legend",(function(n){a&&null!=r?n[r?"select":"unSelect"](e.name):"allSelect"===t||"inverseSelect"===t?n[t]():(n[t](e.name),r=n.isSelected(e.name)),eI(n.getData(),(function(t){var e=t.get("name");if("\n"!==e&&""!==e){var r=n.isSelected(e);i.hasOwnProperty(e)?i[e]=i[e]&&r:i[e]=r}}))})),"allSelect"===t||"inverseSelect"===t?{selected:i}:{name:e.name,selected:i}}function Drt(t){t.registerComponentModel(wrt),t.registerComponentView(Art),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,Ert),t.registerSubTypeDefaulter("legend",(function(){return"plain"})),function(t){t.registerAction("legendToggleSelect","legendselectchanged",sI(Prt,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",sI(Prt,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",sI(Prt,"inverseSelect")),t.registerAction("legendSelect","legendselected",sI(Prt,"select")),t.registerAction("legendUnSelect","legendunselected",sI(Prt,"unSelect"))}(t)}function Ort(t,e,n){var r=[1,1];r[t.getOrient().index]=0,sN(e,n,{type:"box",ignoreSize:!!r})}const Lrt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,r){var i=uN(e);t.prototype.init.call(this,e,n,r),Ort(this,e,i)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),Ort(this,this.option,e)},e.type="legend.scroll",e.defaultOption=aR(wrt.defaultOption,{scrollDataIndex:0,pageButtonItemGap:5,pageButtonGap:null,pageButtonPosition:"end",pageFormatter:"{current}/{total}",pageIcons:{horizontal:["M0,0L12,-10L12,10z","M0,0L-12,-10L-12,10z"],vertical:["M0,0L20,0L10,-20z","M0,0L20,0L10,20z"]},pageIconColor:"#2f4554",pageIconInactiveColor:"#aaa",pageIconSize:15,pageTextStyle:{color:"#333"},animationDurationUpdate:800}),e}(wrt);var Rrt=nE,Nrt=["width","height"],jrt=["x","y"],Frt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return Sk(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new Rrt),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new Rrt)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,r,i,a,o,s){var u=this;t.prototype.renderInner.call(this,e,n,r,i,a,o,s);var c=this._controllerGroup,l=n.get("pageIconSize",!0),h=uI(l)?l:[l,l];d("pagePrev",0);var f=n.getModel("pageTextStyle");function d(t,e){var r=t+"DataIndex",a=a$(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:oI(u._pageGo,u,r,n,i)},{x:-h[0]/2,y:-h[1]/2,width:h[0],height:h[1]});a.name=t,c.add(a)}c.add(new vO({name:"pageText",style:{text:"xx/xx",fill:f.getTextColor(),font:f.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),d("pageNext",1)},e.prototype.layoutInner=function(t,e,n,r,i,a){var o=this.getSelectorGroup(),s=t.getOrient().index,u=Nrt[s],c=jrt[s],l=Nrt[1-s],h=jrt[1-s];i&&rN("horizontal",o,t.get("selectorItemGap",!0));var f=t.get("selectorButtonGap",!0),d=o.getBoundingRect(),p=[-d.x,-d.y],g=Xk(n);i&&(g[u]=n[u]-d[u]-f);var b=this._layoutContentAndController(t,r,g,s,u,l,h,c);if(i){if("end"===a)p[s]+=b[u]+f;else{var v=d[u]+f;p[s]-=v,b[c]-=v}b[u]+=d[u]+f,p[1-s]+=b[h]+b[l]/2-d[l]/2,b[l]=Math.max(b[l],d[l]),b[h]=Math.min(b[h],d[h]+p[1-s]),o.x=p[0],o.y=p[1],o.markRedraw()}return b},e.prototype._layoutContentAndController=function(t,e,n,r,i,a,o,s){var u=this.getContentGroup(),c=this._containerGroup,l=this._controllerGroup;rN(t.get("orient"),u,t.get("itemGap"),r?n.width:null,r?null:n.height),rN("horizontal",l,t.get("pageButtonItemGap",!0));var h=u.getBoundingRect(),f=l.getBoundingRect(),d=this._showController=h[i]>n[i],p=[-h.x,-h.y];e||(p[r]=u[s]);var g=[0,0],b=[-f.x,-f.y],v=wI(t.get("pageButtonGap",!0),t.get("itemGap",!0));d&&("end"===t.get("pageButtonPosition",!0)?b[r]+=n[i]-f[i]:g[r]+=f[i]+v);b[1-r]+=h[a]/2-f[a]/2,u.setPosition(p),c.setPosition(g),l.setPosition(b);var m={x:0,y:0};if(m[i]=d?n[i]:h[i],m[a]=Math.max(h[a],f[a]),m[o]=Math.min(0,f[o]+b[1-r]),c.__rectSize=n[i],d){var y={x:0,y:0};y[i]=Math.max(n[i]-f[i]-v,0),y[a]=m[a],c.setClipPath(new eO({shape:y})),c.__rectSize=y[i]}else l.eachChild((function(t){t.attr({invisible:!0,silent:!0})}));var w=this._getPageInfo(t);return null!=w.pageIndex&&xL(u,{x:w.contentPosition[0],y:w.contentPosition[1]},d?t:null),this._updatePageInfoView(t,w),m},e.prototype._pageGo=function(t,e,n){var r=this._getPageInfo(e)[t];null!=r&&n.dispatchAction({type:"legendScroll",scrollDataIndex:r,legendId:e.id})},e.prototype._updatePageInfoView=function(t,e){var n=this._controllerGroup;eI(["pagePrev","pageNext"],(function(r){var i=null!=e[r+"DataIndex"],a=n.childOfName(r);a&&(a.setStyle("fill",i?t.get("pageIconColor",!0):t.get("pageIconInactiveColor",!0)),a.cursor=i?"pointer":"default")}));var r=n.childOfName("pageText"),i=t.get("pageFormatter"),a=e.pageIndex,o=null!=a?a+1:0,s=e.pageCount;r&&i&&r.setStyle("text",lI(i)?i.replace("{current}",null==o?"":o+"").replace("{total}",null==s?"":s+""):i({current:o,total:s}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),r=this._containerGroup.__rectSize,i=t.getOrient().index,a=Nrt[i],o=jrt[i],s=this._findTargetItemIndex(e),u=n.children(),c=u[s],l=u.length,h=l?1:0,f={contentPosition:[n.x,n.y],pageCount:h,pageIndex:h-1,pagePrevDataIndex:null,pageNextDataIndex:null};if(!c)return f;var d=m(c);f.contentPosition[i]=-d.s;for(var p=s+1,g=d,b=d,v=null;p<=l;++p)(!(v=m(u[p]))&&b.e>g.s+r||v&&!y(v,g.s))&&(g=b.i>g.i?b:v)&&(null==f.pageNextDataIndex&&(f.pageNextDataIndex=g.i),++f.pageCount),b=v;for(p=s-1,g=d,b=d,v=null;p>=-1;--p)(v=m(u[p]))&&y(b,v.s)||!(g.i<b.i)||(b=g,null==f.pagePrevDataIndex&&(f.pagePrevDataIndex=g.i),++f.pageCount,++f.pageIndex),g=v;return f;function m(t){if(t){var e=t.getBoundingRect(),n=e[o]+t[o];return{s:n,e:n+e[a],i:t.__legendDataIndex}}}function y(t,e){return t.e>=e&&t.s<=e+r}},e.prototype._findTargetItemIndex=function(t){return this._showController?(this.getContentGroup().eachChild((function(r,i){var a=r.__legendDataIndex;null==n&&null!=a&&(n=i),a===t&&(e=i)})),null!=e?e:n):0;var e,n},e.type="legend.scroll",e}(Art);const Brt=Frt;function zrt(t){hW(Drt),t.registerComponentModel(Lrt),t.registerComponentView(Brt),function(t){t.registerAction("legendScroll","legendscroll",(function(t,e){var n=t.scrollDataIndex;null!=n&&e.eachComponent({mainType:"legend",subType:"scroll",query:t},(function(t){t.setScrollDataIndex(n)}))}))}(t)}const $rt=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="dataZoom.inside",e.defaultOption=aR(btt.defaultOption,{disabled:!1,zoomLock:!1,zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!1,preventDefaultMouseMove:!0}),e}(btt);var Vrt=GE();function Hrt(t,e,n){Vrt(t).coordSysRecordMap.each((function(t){var r=t.dataZoomInfoMap.get(e.uid);r&&(r.getRange=n)}))}function Wrt(t,e){if(e){t.removeKey(e.model.uid);var n=e.controller;n&&n.dispose()}}function Grt(t,e){t.isDisposed()||t.dispatchAction({type:"dataZoom",animation:{easing:"cubicOut",duration:100},batch:e})}function Urt(t,e,n,r){return t.coordinateSystem.containPoint([n,r])}function Xrt(t){t.registerProcessor(t.PRIORITY.PROCESSOR.FILTER,(function(t,e){var n=Vrt(e),r=n.coordSysRecordMap||(n.coordSysRecordMap=DI());r.each((function(t){t.dataZoomInfoMap=null})),t.eachComponent({mainType:"dataZoom",subType:"inside"},(function(t){eI(ftt(t).infoList,(function(n){var i=n.model.uid,a=r.get(i)||r.set(i,function(t,e){var n={model:e,containsPoint:sI(Urt,e),dispatchAction:sI(Grt,t),dataZoomInfoMap:null,controller:null},r=n.controller=new FZ(t.getZr());return eI(["pan","zoom","scrollMove"],(function(t){r.on(t,(function(e){var r=[];n.dataZoomInfoMap.each((function(i){if(e.isAvailableBehavior(i.model.option)){var a=(i.getRange||{})[t],o=a&&a(i.dzReferCoordSysInfo,n.model.mainType,n.controller,e);!i.model.get("disabled",!0)&&o&&r.push({dataZoomId:i.model.id,start:o[0],end:o[1]})}})),r.length&&n.dispatchAction(r)}))})),n}(e,n.model));(a.dataZoomInfoMap||(a.dataZoomInfoMap=DI())).set(t.uid,{dzReferCoordSysInfo:n,model:t,getRange:null})}))})),r.each((function(t){var e,n=t.controller,i=t.dataZoomInfoMap;if(i){var a=i.keys()[0];null!=a&&(e=i.get(a))}if(e){var o=function(t){var e,n="type_",r={type_true:2,type_move:1,type_false:0,type_undefined:-1},i=!0;return t.each((function(t){var a=t.model,o=!a.get("disabled",!0)&&(!a.get("zoomLock",!0)||"move");r[n+o]>r[n+e]&&(e=o),i=i&&a.get("preventDefaultMouseMove",!0)})),{controlType:e,opt:{zoomOnMouseWheel:!0,moveOnMouseMove:!0,moveOnMouseWheel:!0,preventDefaultMouseMove:!!i}}}(i);n.enable(o.controlType,o.opt),n.setPointerChecker(t.containsPoint),I$(t,"dispatchAction",e.model.get("throttle",!0),"fixRate")}else Wrt(r,t)}))}))}var qrt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataZoom.inside",e}return Sk(e,t),e.prototype.render=function(e,n,r){t.prototype.render.apply(this,arguments),e.noTarget()?this._clear():(this.range=e.getPercentRange(),Hrt(r,e,{pan:oI(Yrt.pan,this),zoom:oI(Yrt.zoom,this),scrollMove:oI(Yrt.scrollMove,this)}))},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){!function(t,e){for(var n=Vrt(t).coordSysRecordMap,r=n.keys(),i=0;i<r.length;i++){var a=r[i],o=n.get(a),s=o.dataZoomInfoMap;if(s){var u=e.uid;s.get(u)&&(s.removeKey(u),s.keys().length||Wrt(n,o))}}}(this.api,this.dataZoomModel),this.range=null},e.type="dataZoom.inside",e}(mtt),Yrt={zoom:function(t,e,n,r){var i=this.range,a=i.slice(),o=t.axisModels[0];if(o){var s=Zrt[e](null,[r.originX,r.originY],o,n,t),u=(s.signal>0?s.pixelStart+s.pixelLength-s.pixel:s.pixel-s.pixelStart)/s.pixelLength*(a[1]-a[0])+a[0],c=Math.max(1/r.scale,0);a[0]=(a[0]-u)*c+u,a[1]=(a[1]-u)*c+u;var l=this.dataZoomModel.findRepresentativeAxisProxy().getMinMaxSpan();return t3(0,a,[0,100],0,l.minSpan,l.maxSpan),this.range=a,i[0]!==a[0]||i[1]!==a[1]?a:void 0}},pan:Krt((function(t,e,n,r,i,a){var o=Zrt[r]([a.oldX,a.oldY],[a.newX,a.newY],e,i,n);return o.signal*(t[1]-t[0])*o.pixel/o.pixelLength})),scrollMove:Krt((function(t,e,n,r,i,a){return Zrt[r]([0,0],[a.scrollDelta,a.scrollDelta],e,i,n).signal*(t[1]-t[0])*a.scrollDelta}))};function Krt(t){return function(e,n,r,i){var a=this.range,o=a.slice(),s=e.axisModels[0];if(s)return t3(t(o,s,e,n,r,i),o,[0,100],"all"),this.range=o,a[0]!==o[0]||a[1]!==o[1]?o:void 0}}var Zrt={grid:function(t,e,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem.getRect();return t=t||[0,0],"x"===a.dim?(o.pixel=e[0]-t[0],o.pixelLength=s.width,o.pixelStart=s.x,o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=s.height,o.pixelStart=s.y,o.signal=a.inverse?-1:1),o},polar:function(t,e,n,r,i){var a=n.axis,o={},s=i.model.coordinateSystem,u=s.getRadiusAxis().getExtent(),c=s.getAngleAxis().getExtent();return t=t?s.pointToCoord(t):[0,0],e=s.pointToCoord(e),"radiusAxis"===n.mainType?(o.pixel=e[0]-t[0],o.pixelLength=u[1]-u[0],o.pixelStart=u[0],o.signal=a.inverse?1:-1):(o.pixel=e[1]-t[1],o.pixelLength=c[1]-c[0],o.pixelStart=c[0],o.signal=a.inverse?-1:1),o},singleAxis:function(t,e,n,r,i){var a=n.axis,o=i.model.coordinateSystem.getRect(),s={};return t=t||[0,0],"horizontal"===a.orient?(s.pixel=e[0]-t[0],s.pixelLength=o.width,s.pixelStart=o.x,s.signal=a.inverse?1:-1):(s.pixel=e[1]-t[1],s.pixelLength=o.height,s.pixelStart=o.y,s.signal=a.inverse?-1:1),s}};const Qrt=qrt;function Jrt(t){Ctt(t),t.registerComponentModel($rt),t.registerComponentView(Qrt),Xrt(t)}const tit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.type="dataZoom.slider",e.layoutMode="box",e.defaultOption=aR(btt.defaultOption,{show:!0,right:"ph",top:"ph",width:"ph",height:"ph",left:null,bottom:null,borderColor:"#d2dbee",borderRadius:3,backgroundColor:"rgba(47,69,84,0)",dataBackground:{lineStyle:{color:"#d2dbee",width:.5},areaStyle:{color:"#d2dbee",opacity:.2}},selectedDataBackground:{lineStyle:{color:"#8fb0f7",width:.5},areaStyle:{color:"#8fb0f7",opacity:.2}},fillerColor:"rgba(135,175,274,0.2)",handleIcon:"path://M-9.35,34.56V42m0-40V9.5m-2,0h4a2,2,0,0,1,2,2v21a2,2,0,0,1-2,2h-4a2,2,0,0,1-2-2v-21A2,2,0,0,1-11.35,9.5Z",handleSize:"100%",handleStyle:{color:"#fff",borderColor:"#ACB8D1"},moveHandleSize:7,moveHandleIcon:"path://M-320.9-50L-320.9-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-348-41-339-50-320.9-50z M-212.3-50L-212.3-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-239.4-41-230.4-50-212.3-50z M-103.7-50L-103.7-50c18.1,0,27.1,9,27.1,27.1V85.7c0,18.1-9,27.1-27.1,27.1l0,0c-18.1,0-27.1-9-27.1-27.1V-22.9C-130.9-41-121.8-50-103.7-50z",moveHandleStyle:{color:"#D2DBEE",opacity:.7},showDetail:!0,showDataShadow:"auto",realtime:!0,zoomLock:!1,textStyle:{color:"#6E7079"},brushSelect:!0,brushStyle:{color:"rgba(135,175,274,0.15)"},emphasis:{handleStyle:{borderColor:"#8FB0F7"},moveHandleStyle:{color:"#8FB0F7"}}}),e}(btt);var eit=eO,nit="horizontal",rit="vertical",iit=["line","bar","candlestick","scatter"],ait={easing:"cubicOut",duration:100,delay:0},oit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._displayables={},n}return Sk(e,t),e.prototype.init=function(t,e){this.api=e,this._onBrush=oI(this._onBrush,this),this._onBrushEnd=oI(this._onBrushEnd,this)},e.prototype.render=function(e,n,r,i){if(t.prototype.render.apply(this,arguments),I$(this,"_dispatchZoomAction",e.get("throttle"),"fixRate"),this._orient=e.getOrient(),!1!==e.get("show")){if(e.noTarget())return this._clear(),void this.group.removeAll();i&&"dataZoom"===i.type&&i.from===this.uid||this._buildView(),this._updateView()}else this.group.removeAll()},e.prototype.dispose=function(){this._clear(),t.prototype.dispose.apply(this,arguments)},e.prototype._clear=function(){M$(this,"_dispatchZoomAction");var t=this.api.getZr();t.off("mousemove",this._onBrush),t.off("mouseup",this._onBrushEnd)},e.prototype._buildView=function(){var t=this.group;t.removeAll(),this._brushing=!1,this._displayables.brushRect=null,this._resetLocation(),this._resetInterval();var e=this._displayables.sliderGroup=new nE;this._renderBackground(),this._renderHandle(),this._renderDataShadow(),t.add(e),this._positionGroup()},e.prototype._resetLocation=function(){var t=this.dataZoomModel,e=this.api,n=t.get("brushSelect")?7:0,r=this._findCoordRect(),i={width:e.getWidth(),height:e.getHeight()},a=this._orient===nit?{right:i.width-r.x-r.width,top:i.height-30-7-n,width:r.width,height:30}:{right:7,top:r.y,width:30,height:r.height},o=uN(t.option);eI(["right","top","width","height"],(function(t){"ph"===o[t]&&(o[t]=a[t])}));var s=iN(o,i);this._location={x:s.x,y:s.y},this._size=[s.width,s.height],this._orient===rit&&this._size.reverse()},e.prototype._positionGroup=function(){var t=this.group,e=this._location,n=this._orient,r=this.dataZoomModel.getFirstTargetAxisModel(),i=r&&r.get("inverse"),a=this._displayables.sliderGroup,o=(this._dataShadowInfo||{}).otherAxisInverse;a.attr(n!==nit||i?n===nit&&i?{scaleY:o?1:-1,scaleX:-1}:n!==rit||i?{scaleY:o?-1:1,scaleX:-1,rotation:Math.PI/2}:{scaleY:o?-1:1,scaleX:1,rotation:Math.PI/2}:{scaleY:o?1:-1,scaleX:1});var s=t.getBoundingRect([a]);t.x=e.x-s.x,t.y=e.y-s.y,t.markRedraw()},e.prototype._getViewExtent=function(){return[0,this._size[0]]},e.prototype._renderBackground=function(){var t=this.dataZoomModel,e=this._size,n=this._displayables.sliderGroup,r=t.get("brushSelect");n.add(new eit({silent:!0,shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:t.get("backgroundColor")},z2:-40}));var i=new eit({shape:{x:0,y:0,width:e[0],height:e[1]},style:{fill:"transparent"},z2:0,onclick:oI(this._onClickPanel,this)}),a=this.api.getZr();r?(i.on("mousedown",this._onBrushStart,this),i.cursor="crosshair",a.on("mousemove",this._onBrush),a.on("mouseup",this._onBrushEnd)):(a.off("mousemove",this._onBrush),a.off("mouseup",this._onBrushEnd)),n.add(i)},e.prototype._renderDataShadow=function(){var t=this._dataShadowInfo=this._prepareDataShadowInfo();if(this._displayables.dataShadowSegs=[],t){var e=this._size,n=this._shadowSize||[],r=t.series,i=r.getRawData(),a=r.getShadowDim&&r.getShadowDim(),o=a&&i.getDimensionInfo(a)?r.getShadowDim():t.otherDim;if(null!=o){var s=this._shadowPolygonPts,u=this._shadowPolylinePts;if(i!==this._shadowData||o!==this._shadowDim||e[0]!==n[0]||e[1]!==n[1]){var c=i.getDataExtent(o),l=.3*(c[1]-c[0]);c=[c[0]-l,c[1]+l];var h,f=[0,e[1]],d=[0,e[0]],p=[[e[0],0],[0,0]],g=[],b=d[1]/(i.count()-1),v=0,m=Math.round(i.count()/e[0]);i.each([o],(function(t,e){if(m>0&&e%m)v+=b;else{var n=null==t||isNaN(t)||""===t,r=n?0:uE(t,c,f,!0);n&&!h&&e?(p.push([p[p.length-1][0],0]),g.push([g[g.length-1][0],0])):!n&&h&&(p.push([v,0]),g.push([v,0])),p.push([v,r]),g.push([v,r]),v+=b,h=n}})),s=this._shadowPolygonPts=p,u=this._shadowPolylinePts=g}this._shadowData=i,this._shadowDim=o,this._shadowSize=[e[0],e[1]];for(var y=this.dataZoomModel,w=0;w<3;w++){var x=_(1===w);this._displayables.sliderGroup.add(x),this._displayables.dataShadowSegs.push(x)}}}function _(t){var e=y.getModel(t?"selectedDataBackground":"dataBackground"),n=new nE,r=new iz({shape:{points:s},segmentIgnoreThreshold:1,style:e.getModel("areaStyle").getAreaStyle(),silent:!0,z2:-20}),i=new sz({shape:{points:u},segmentIgnoreThreshold:1,style:e.getModel("lineStyle").getLineStyle(),silent:!0,z2:-19});return n.add(r),n.add(i),n}},e.prototype._prepareDataShadowInfo=function(){var t=this.dataZoomModel,e=t.get("showDataShadow");if(!1!==e){var n,r=this.ecModel;return t.eachTargetAxis((function(i,a){eI(t.getAxisProxy(i,a).getTargetSeriesModels(),(function(t){if(!(n||!0!==e&&Qk(iit,t.get("type"))<0)){var o,s=r.getComponent(ltt(i),a).axis,u={x:"y",y:"x",radius:"angle",angle:"radius"}[i],c=t.coordinateSystem;null!=u&&c.getOtherAxis&&(o=c.getOtherAxis(s).inverse),u=t.getData().mapDimension(u),n={thisAxis:s,series:t,thisDim:i,otherDim:u,otherAxisInverse:o}}}),this)}),this),n}},e.prototype._renderHandle=function(){var t=this.group,e=this._displayables,n=e.handles=[null,null],r=e.handleLabels=[null,null],i=this._displayables.sliderGroup,a=this._size,o=this.dataZoomModel,s=this.api,u=o.get("borderRadius")||0,c=o.get("brushSelect"),l=e.filler=new eit({silent:c,style:{fill:o.get("fillerColor")},textConfig:{position:"inside"}});i.add(l),i.add(new eit({silent:!0,subPixelOptimize:!0,shape:{x:0,y:0,width:a[0],height:a[1],r:u},style:{stroke:o.get("dataBackgroundColor")||o.get("borderColor"),lineWidth:1,fill:"rgba(0,0,0,0)"}})),eI([0,1],(function(e){var a=o.get("handleIcon");!CV[a]&&a.indexOf("path://")<0&&a.indexOf("image://")<0&&(a="path://"+a);var s=EV(a,-1,0,2,2,null,!0);s.attr({cursor:sit(this._orient),draggable:!0,drift:oI(this._onDragMove,this,e),ondragend:oI(this._onDragEnd,this),onmouseover:oI(this._showDataInfo,this,!0),onmouseout:oI(this._showDataInfo,this,!1),z2:5});var u=s.getBoundingRect(),c=o.get("handleSize");this._handleHeight=cE(c,this._size[1]),this._handleWidth=u.width/u.height*this._handleHeight,s.setStyle(o.getModel("handleStyle").getItemStyle()),s.style.strokeNoScale=!0,s.rectHover=!0,s.ensureState("emphasis").style=o.getModel(["emphasis","handleStyle"]).getItemStyle(),uL(s);var l=o.get("handleColor");null!=l&&(s.style.fill=l),i.add(n[e]=s);var h=o.getModel("textStyle");t.add(r[e]=new vO({silent:!0,invisible:!0,style:OL(h,{x:0,y:0,text:"",verticalAlign:"middle",align:"center",fill:h.getTextColor(),font:h.getFont()}),z2:10}))}),this);var h=l;if(c){var f=cE(o.get("moveHandleSize"),a[1]),d=e.moveHandle=new eO({style:o.getModel("moveHandleStyle").getItemStyle(),silent:!0,shape:{r:[0,0,2,2],y:a[1]-.5,height:f}}),p=.8*f,g=e.moveHandleIcon=EV(o.get("moveHandleIcon"),-p/2,-p/2,p,p,"#fff",!0);g.silent=!0,g.y=a[1]+f/2-.5,d.ensureState("emphasis").style=o.getModel(["emphasis","moveHandleStyle"]).getItemStyle();var b=Math.min(a[1]/2,Math.max(f,10));(h=e.moveZone=new eO({invisible:!0,shape:{y:a[1]-b,height:f+b}})).on("mouseover",(function(){s.enterEmphasis(d)})).on("mouseout",(function(){s.leaveEmphasis(d)})),i.add(d),i.add(g),i.add(h)}h.attr({draggable:!0,cursor:sit(this._orient),drift:oI(this._onDragMove,this,"all"),ondragstart:oI(this._showDataInfo,this,!0),ondragend:oI(this._onDragEnd,this),onmouseover:oI(this._showDataInfo,this,!0),onmouseout:oI(this._showDataInfo,this,!1)})},e.prototype._resetInterval=function(){var t=this._range=this.dataZoomModel.getPercentRange(),e=this._getViewExtent();this._handleEnds=[uE(t[0],[0,100],e,!0),uE(t[1],[0,100],e,!0)]},e.prototype._updateInterval=function(t,e){var n=this.dataZoomModel,r=this._handleEnds,i=this._getViewExtent(),a=n.findRepresentativeAxisProxy().getMinMaxSpan(),o=[0,100];t3(e,r,i,n.get("zoomLock")?"all":t,null!=a.minSpan?uE(a.minSpan,o,i,!0):null,null!=a.maxSpan?uE(a.maxSpan,o,i,!0):null);var s=this._range,u=this._range=hE([uE(r[0],i,o,!0),uE(r[1],i,o,!0)]);return!s||s[0]!==u[0]||s[1]!==u[1]},e.prototype._updateView=function(t){var e=this._displayables,n=this._handleEnds,r=hE(n.slice()),i=this._size;eI([0,1],(function(t){var r=e.handles[t],a=this._handleHeight;r.attr({scaleX:a/2,scaleY:a/2,x:n[t]+(t?-1:1),y:i[1]/2-a/2})}),this),e.filler.setShape({x:r[0],y:0,width:r[1]-r[0],height:i[1]});var a={x:r[0],width:r[1]-r[0]};e.moveHandle&&(e.moveHandle.setShape(a),e.moveZone.setShape(a),e.moveZone.getBoundingRect(),e.moveHandleIcon&&e.moveHandleIcon.attr("x",a.x+a.width/2));for(var o=e.dataShadowSegs,s=[0,r[0],r[1],i[0]],u=0;u<o.length;u++){var c=o[u],l=c.getClipPath();l||(l=new eO,c.setClipPath(l)),l.setShape({x:s[u],y:0,width:s[u+1]-s[u],height:i[1]})}this._updateDataInfo(t)},e.prototype._updateDataInfo=function(t){var e=this.dataZoomModel,n=this._displayables,r=n.handleLabels,i=this._orient,a=["",""];if(e.get("showDetail")){var o=e.findRepresentativeAxisProxy();if(o){var s=o.getAxisModel().axis,u=this._range,c=t?o.calculateDataWindow({start:u[0],end:u[1]}).valueWindow:o.getDataValueWindow();a=[this._formatLabel(c[0],s),this._formatLabel(c[1],s)]}}var l=hE(this._handleEnds.slice());function h(t){var e=Qz(n.handles[t].parent,this.group),o=t$(0===t?"right":"left",e),s=this._handleWidth/2+5,u=Jz([l[t]+(0===t?-s:s),this._size[1]/2],e);r[t].setStyle({x:u[0],y:u[1],verticalAlign:i===nit?"middle":o,align:i===nit?o:"center",text:a[t]})}h.call(this,0),h.call(this,1)},e.prototype._formatLabel=function(t,e){var n=this.dataZoomModel,r=n.get("labelFormatter"),i=n.get("labelPrecision");null!=i&&"auto"!==i||(i=e.getPixelPrecision());var a=null==t||isNaN(t)?"":"category"===e.type||"time"===e.type?e.scale.getLabel({value:Math.round(t)}):t.toFixed(Math.min(i,20));return cI(r)?r(t,a):lI(r)?r.replace("{value}",a):a},e.prototype._showDataInfo=function(t){t=this._dragging||t;var e=this._displayables,n=e.handleLabels;n[0].attr("invisible",!t),n[1].attr("invisible",!t),e.moveHandle&&this.api[t?"enterEmphasis":"leaveEmphasis"](e.moveHandle,1)},e.prototype._onDragMove=function(t,e,n,r){this._dragging=!0,CM(r.event);var i=Jz([e,n],this._displayables.sliderGroup.getLocalTransform(),!0),a=this._updateInterval(t,i[0]),o=this.dataZoomModel.get("realtime");this._updateView(!o),a&&o&&this._dispatchZoomAction(!0)},e.prototype._onDragEnd=function(){this._dragging=!1,this._showDataInfo(!1),!this.dataZoomModel.get("realtime")&&this._dispatchZoomAction(!1)},e.prototype._onClickPanel=function(t){var e=this._size,n=this._displayables.sliderGroup.transformCoordToLocal(t.offsetX,t.offsetY);if(!(n[0]<0||n[0]>e[0]||n[1]<0||n[1]>e[1])){var r=this._handleEnds,i=(r[0]+r[1])/2,a=this._updateInterval("all",n[0]-i);this._updateView(),a&&this._dispatchZoomAction(!1)}},e.prototype._onBrushStart=function(t){var e=t.offsetX,n=t.offsetY;this._brushStart=new zM(e,n),this._brushing=!0,this._brushStartTime=+new Date},e.prototype._onBrushEnd=function(t){if(this._brushing){var e=this._displayables.brushRect;if(this._brushing=!1,e){e.attr("ignore",!0);var n=e.shape;if(!(+new Date-this._brushStartTime<200&&Math.abs(n.width)<5)){var r=this._getViewExtent(),i=[0,100];this._range=hE([uE(n.x,r,i,!0),uE(n.x+n.width,r,i,!0)]),this._handleEnds=[n.x,n.x+n.width],this._updateView(),this._dispatchZoomAction(!1)}}}},e.prototype._onBrush=function(t){this._brushing&&(CM(t.event),this._updateBrushRect(t.offsetX,t.offsetY))},e.prototype._updateBrushRect=function(t,e){var n=this._displayables,r=this.dataZoomModel,i=n.brushRect;i||(i=n.brushRect=new eit({silent:!0,style:r.getModel("brushStyle").getItemStyle()}),n.sliderGroup.add(i)),i.attr("ignore",!1);var a=this._brushStart,o=this._displayables.sliderGroup,s=o.transformCoordToLocal(t,e),u=o.transformCoordToLocal(a.x,a.y),c=this._size;s[0]=Math.max(Math.min(c[0],s[0]),0),i.setShape({x:u[0],y:0,width:s[0]-u[0],height:c[1]})},e.prototype._dispatchZoomAction=function(t){var e=this._range;this.api.dispatchAction({type:"dataZoom",from:this.uid,dataZoomId:this.dataZoomModel.id,animation:t?ait:null,start:e[0],end:e[1]})},e.prototype._findCoordRect=function(){var t,e=ftt(this.dataZoomModel).infoList;if(!t&&e.length){var n=e[0].model.coordinateSystem;t=n.getRect&&n.getRect()}if(!t){var r=this.api.getWidth(),i=this.api.getHeight();t={x:.2*r,y:.2*i,width:.6*r,height:.6*i}}return t},e.type="dataZoom.slider",e}(mtt);function sit(t){return"vertical"===t?"ns-resize":"ew-resize"}const uit=oit;function cit(t){t.registerComponentModel(tit),t.registerComponentView(uit),Ctt(t)}var lit={get:function(t,e,n){var r=Xk((hit[t]||{})[e]);return n&&uI(r)?r[r.length-1]:r}},hit={color:{active:["#006edd","#e0ffff"],inactive:["rgba(0,0,0,0)"]},colorHue:{active:[0,360],inactive:[0,0]},colorSaturation:{active:[.3,1],inactive:[0,0]},colorLightness:{active:[.9,.5],inactive:[0,0]},colorAlpha:{active:[.3,1],inactive:[0,0]},opacity:{active:[.3,1],inactive:[0,0]},symbol:{active:["circle","roundRect","diamond"],inactive:["none"]},symbolSize:{active:[10,50],inactive:[0,0]}};const fit=lit;var dit=X1.mapVisual,pit=X1.eachVisual,git=uI,bit=eI,vit=hE,mit=uE,yit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.stateList=["inRange","outOfRange"],n.replacableOptionKeys=["inRange","outOfRange","target","controller","color"],n.layoutMode={type:"box",ignoreSize:!0},n.dataBound=[-1/0,1/0],n.targetVisuals={},n.controllerVisuals={},n}return Sk(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},e.prototype.optionUpdated=function(t,e){var n=this.option;!e&&tnt(n,t,this.replacableOptionKeys),this.textStyleModel=this.getModel("textStyle"),this.resetItemSize(),this.completeVisualOption()},e.prototype.resetVisual=function(t){var e=this.stateList;t=oI(t,this),this.controllerVisuals=Jet(this.option.controller,e,t),this.targetVisuals=Jet(this.option.target,e,t)},e.prototype.getItemSymbol=function(){return null},e.prototype.getTargetSeriesIndices=function(){var t=this.option.seriesIndex,e=[];return null==t||"all"===t?this.ecModel.eachSeries((function(t,n){e.push(n)})):e=OE(t),e},e.prototype.eachTargetSeries=function(t,e){eI(this.getTargetSeriesIndices(),(function(n){var r=this.ecModel.getSeriesByIndex(n);r&&t.call(e,r)}),this)},e.prototype.isTargetSeries=function(t){var e=!1;return this.eachTargetSeries((function(n){n===t&&(e=!0)})),e},e.prototype.formatValueText=function(t,e,n){var r,i=this.option,a=i.precision,o=this.dataBound,s=i.formatter;n=n||["<",">"],uI(t)&&(t=t.slice(),r=!0);var u=e?t:r?[c(t[0]),c(t[1])]:c(t);return lI(s)?s.replace("{value}",r?u[0]:u).replace("{value2}",r?u[1]:u):cI(s)?r?s(t[0],t[1]):s(t):r?t[0]===o[0]?n[0]+" "+u[1]:t[1]===o[1]?n[1]+" "+u[0]:u[0]+" - "+u[1]:u;function c(t){return t===o[0]?"min":t===o[1]?"max":(+t).toFixed(Math.min(a,20))}},e.prototype.resetExtent=function(){var t=this.option,e=vit([t.min,t.max]);this._dataExtent=e},e.prototype.getDataDimensionIndex=function(t){var e=this.option.dimension;if(null!=e)return t.getDimensionIndex(e);for(var n=t.dimensions,r=n.length-1;r>=0;r--){var i=n[r],a=t.getDimensionInfo(i);if(!a.isCalculationCoord)return a.storeDimIndex}},e.prototype.getExtent=function(){return this._dataExtent.slice()},e.prototype.completeVisualOption=function(){var t=this.ecModel,e=this.option,n={inRange:e.inRange,outOfRange:e.outOfRange},r=e.target||(e.target={}),i=e.controller||(e.controller={});qk(r,n),qk(i,n);var a=this.isCategory();function o(n){git(e.color)&&!n.inRange&&(n.inRange={color:e.color.slice().reverse()}),n.inRange=n.inRange||{color:t.get("gradientColor")}}o.call(this,r),o.call(this,i),function(t,e,n){var r=t[e],i=t[n];r&&!i&&(i=t[n]={},bit(r,(function(t,e){if(X1.isValidType(e)){var n=fit.get(e,"inactive",a);null!=n&&(i[e]=n,"color"!==e||i.hasOwnProperty("opacity")||i.hasOwnProperty("colorAlpha")||(i.opacity=[0,0]))}})))}.call(this,r,"inRange","outOfRange"),function(t){var e=(t.inRange||{}).symbol||(t.outOfRange||{}).symbol,n=(t.inRange||{}).symbolSize||(t.outOfRange||{}).symbolSize,r=this.get("inactiveColor"),i=this.getItemSymbol()||"roundRect";bit(this.stateList,(function(o){var s=this.itemSize,u=t[o];u||(u=t[o]={color:a?r:[r]}),null==u.symbol&&(u.symbol=e&&Xk(e)||(a?i:[i])),null==u.symbolSize&&(u.symbolSize=n&&Xk(n)||(a?s[0]:[s[0],s[0]])),u.symbol=dit(u.symbol,(function(t){return"none"===t?i:t}));var c=u.symbolSize;if(null!=c){var l=-1/0;pit(c,(function(t){t>l&&(l=t)})),u.symbolSize=dit(c,(function(t){return mit(t,[0,l],[0,s[0]],!0)}))}}),this)}.call(this,i)},e.prototype.resetItemSize=function(){this.itemSize=[parseFloat(this.get("itemWidth")),parseFloat(this.get("itemHeight"))]},e.prototype.isCategory=function(){return!!this.option.categories},e.prototype.setSelected=function(t){},e.prototype.getSelected=function(){return null},e.prototype.getValueState=function(t){return null},e.prototype.getVisualMeta=function(t){return null},e.type="visualMap",e.dependencies=["series"],e.defaultOption={show:!0,z:4,seriesIndex:"all",min:0,max:200,left:0,right:null,top:null,bottom:0,itemWidth:null,itemHeight:null,inverse:!1,orient:"vertical",backgroundColor:"rgba(0,0,0,0)",borderColor:"#ccc",contentColor:"#5793f3",inactiveColor:"#aaa",borderWidth:0,padding:5,textGap:10,precision:0,textStyle:{color:"#333"}},e}(fN);const wit=yit;var xit=[20,140],_it=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent(),this.resetVisual((function(t){t.mappingMethod="linear",t.dataExtent=this.getExtent()})),this._resetRange()},e.prototype.resetItemSize=function(){t.prototype.resetItemSize.apply(this,arguments);var e=this.itemSize;(null==e[0]||isNaN(e[0]))&&(e[0]=xit[0]),(null==e[1]||isNaN(e[1]))&&(e[1]=xit[1])},e.prototype._resetRange=function(){var t=this.getExtent(),e=this.option.range;!e||e.auto?(t.auto=1,this.option.range=t):uI(e)&&(e[0]>e[1]&&e.reverse(),e[0]=Math.max(e[0],t[0]),e[1]=Math.min(e[1],t[1]))},e.prototype.completeVisualOption=function(){t.prototype.completeVisualOption.apply(this,arguments),eI(this.stateList,(function(t){var e=this.option.controller[t].symbolSize;e&&e[0]!==e[1]&&(e[0]=e[1]/3)}),this)},e.prototype.setSelected=function(t){this.option.range=t.slice(),this._resetRange()},e.prototype.getSelected=function(){var t=this.getExtent(),e=hE((this.get("range")||[]).slice());return e[0]>t[1]&&(e[0]=t[1]),e[1]>t[1]&&(e[1]=t[1]),e[0]<t[0]&&(e[0]=t[0]),e[1]<t[0]&&(e[1]=t[0]),e},e.prototype.getValueState=function(t){var e=this.option.range,n=this.getExtent();return(e[0]<=n[0]||e[0]<=t)&&(e[1]>=n[1]||t<=e[1])?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[];return this.eachTargetSeries((function(n){var r=[],i=n.getData();i.each(this.getDataDimensionIndex(i),(function(e,n){t[0]<=e&&e<=t[1]&&r.push(n)}),this),e.push({seriesId:n.id,dataIndex:r})}),this),e},e.prototype.getVisualMeta=function(t){var e=Sit(this,"outOfRange",this.getExtent()),n=Sit(this,"inRange",this.option.range.slice()),r=[];function i(e,n){r.push({value:e,color:t(e,n)})}for(var a=0,o=0,s=n.length,u=e.length;o<u&&(!n.length||e[o]<=n[0]);o++)e[o]<n[a]&&i(e[o],"outOfRange");for(var c=1;a<s;a++,c=0)c&&r.length&&i(n[a],"outOfRange"),i(n[a],"inRange");for(c=1;o<u;o++)(!n.length||n[n.length-1]<e[o])&&(c&&(r.length&&i(r[r.length-1].value,"outOfRange"),c=0),i(e[o],"outOfRange"));var l=r.length;return{stops:r,outerColors:[l?r[0].color:"transparent",l?r[l-1].color:"transparent"]}},e.type="visualMap.continuous",e.defaultOption=aR(wit.defaultOption,{align:"auto",calculable:!1,hoverLink:!0,realtime:!0,handleIcon:"path://M-11.39,9.77h0a3.5,3.5,0,0,1-3.5,3.5h-22a3.5,3.5,0,0,1-3.5-3.5h0a3.5,3.5,0,0,1,3.5-3.5h22A3.5,3.5,0,0,1-11.39,9.77Z",handleSize:"120%",handleStyle:{borderColor:"#fff",borderWidth:1},indicatorIcon:"circle",indicatorSize:"50%",indicatorStyle:{borderColor:"#fff",borderWidth:2,shadowBlur:2,shadowOffsetX:1,shadowOffsetY:1,shadowColor:"rgba(0,0,0,0.2)"}}),e}(wit);function Sit(t,e,n){if(n[0]===n[1])return n.slice();for(var r=(n[1]-n[0])/200,i=n[0],a=[],o=0;o<=200&&i<n[1];o++)a.push(i),i+=r;return a.push(n[1]),a}const kit=_it;var Iit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.autoPositionValues={left:1,right:1,top:1,bottom:1},n}return Sk(e,t),e.prototype.init=function(t,e){this.ecModel=t,this.api=e},e.prototype.render=function(t,e,n,r){this.visualMapModel=t,!1!==t.get("show")?this.doRender(t,e,n,r):this.group.removeAll()},e.prototype.renderBackground=function(t){var e=this.visualMapModel,n=UR(e.get("padding")||0),r=t.getBoundingRect();t.add(new eO({z2:-1,silent:!0,shape:{x:r.x-n[3],y:r.y-n[0],width:r.width+n[3]+n[1],height:r.height+n[0]+n[2]},style:{fill:e.get("backgroundColor"),stroke:e.get("borderColor"),lineWidth:e.get("borderWidth")}}))},e.prototype.getControllerVisual=function(t,e,n){var r=(n=n||{}).forceState,i=this.visualMapModel,a={};if("color"===e){var o=i.get("contentColor");a.color=o}function s(t){return a[t]}function u(t,e){a[t]=e}var c=i.controllerVisuals[r||i.getValueState(t)];return eI(X1.prepareVisualTypes(c),(function(r){var i=c[r];n.convertOpacityToAlpha&&"opacity"===r&&(r="colorAlpha",i=c.__alphaForOpacity),X1.dependsOn(r,e)&&i&&i.applyVisual(t,s,u)})),a[e]},e.prototype.positionGroup=function(t){var e=this.visualMapModel,n=this.api;aN(t,e.getBoxLayoutParams(),{width:n.getWidth(),height:n.getHeight()})},e.prototype.doRender=function(t,e,n,r){},e.type="visualMap",e}(uB);const Mit=Iit;var Cit=[["left","right","width"],["top","bottom","height"]];function Tit(t,e,n){var r=t.option,i=r.align;if(null!=i&&"auto"!==i)return i;for(var a={width:e.getWidth(),height:e.getHeight()},o="horizontal"===r.orient?1:0,s=Cit[o],u=[0,null,10],c={},l=0;l<3;l++)c[Cit[1-o][l]]=u[l],c[s[l]]=2===l?n[0]:r[s[l]];var h=[["x","width",3],["y","height",0]][o],f=iN(c,a,r.padding);return s[(f.margin[h[2]]||0)+f[h[0]]+.5*f[h[1]]<.5*a[h[1]]?0:1]}function Ait(t,e){return eI(t||[],(function(t){null!=t.dataIndex&&(t.dataIndexInside=t.dataIndex,t.dataIndex=null),t.highlightKey="visualMap"+(e?e.componentIndex:"")})),t}var Eit=uE,Pit=eI,Dit=Math.min,Oit=Math.max,Lit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._shapes={},n._dataInterval=[],n._handleEnds=[],n._hoverLinkDataIndices=[],n}return Sk(e,t),e.prototype.doRender=function(t,e,n,r){this._api=n,r&&"selectDataRange"===r.type&&r.from===this.uid||this._buildView()},e.prototype._buildView=function(){this.group.removeAll();var t=this.visualMapModel,e=this.group;this._orient=t.get("orient"),this._useHandle=t.get("calculable"),this._resetInterval(),this._renderBar(e);var n=t.get("text");this._renderEndsText(e,n,0),this._renderEndsText(e,n,1),this._updateView(!0),this.renderBackground(e),this._updateView(),this._enableHoverLinkToSeries(),this._enableHoverLinkFromSeries(),this.positionGroup(e)},e.prototype._renderEndsText=function(t,e,n){if(e){var r=e[1-n];r=null!=r?r+"":"";var i=this.visualMapModel,a=i.get("textGap"),o=i.itemSize,s=this._shapes.mainGroup,u=this._applyTransform([o[0]/2,0===n?-a:o[1]+a],s),c=this._applyTransform(0===n?"bottom":"top",s),l=this._orient,h=this.visualMapModel.textStyleModel;this.group.add(new vO({style:OL(h,{x:u[0],y:u[1],verticalAlign:"horizontal"===l?"middle":c,align:"horizontal"===l?c:"center",text:r})}))}},e.prototype._renderBar=function(t){var e=this.visualMapModel,n=this._shapes,r=e.itemSize,i=this._orient,a=this._useHandle,o=Tit(e,this.api,r),s=n.mainGroup=this._createBarGroup(o),u=new nE;s.add(u),u.add(n.outOfRange=Rit()),u.add(n.inRange=Rit(null,a?jit(this._orient):null,oI(this._dragHandle,this,"all",!1),oI(this._dragHandle,this,"all",!0))),u.setClipPath(new eO({shape:{x:0,y:0,width:r[0],height:r[1],r:3}}));var c=e.textStyleModel.getTextRect("国"),l=Oit(c.width,c.height);a&&(n.handleThumbs=[],n.handleLabels=[],n.handleLabelPoints=[],this._createHandle(e,s,0,r,l,i),this._createHandle(e,s,1,r,l,i)),this._createIndicator(e,s,r,l,i),t.add(s)},e.prototype._createHandle=function(t,e,n,r,i,a){var o=oI(this._dragHandle,this,n,!1),s=oI(this._dragHandle,this,n,!0),u=VA(t.get("handleSize"),r[0]),c=EV(t.get("handleIcon"),-u/2,-u/2,u,u,null,!0),l=jit(this._orient);c.attr({cursor:l,draggable:!0,drift:o,ondragend:s,onmousemove:function(t){CM(t.event)}}),c.x=r[0]/2,c.useStyle(t.getModel("handleStyle").getItemStyle()),c.setStyle({strokeNoScale:!0,strokeFirst:!0}),c.style.lineWidth*=2,c.ensureState("emphasis").style=t.getModel(["emphasis","handleStyle"]).getItemStyle(),pL(c,!0),e.add(c);var h=this.visualMapModel.textStyleModel,f=new vO({cursor:l,draggable:!0,drift:o,onmousemove:function(t){CM(t.event)},ondragend:s,style:OL(h,{x:0,y:0,text:""})});f.ensureState("blur").style={opacity:.1},f.stateTransition={duration:200},this.group.add(f);var d=[u,0],p=this._shapes;p.handleThumbs[n]=c,p.handleLabelPoints[n]=d,p.handleLabels[n]=f},e.prototype._createIndicator=function(t,e,n,r,i){var a=VA(t.get("indicatorSize"),n[0]),o=EV(t.get("indicatorIcon"),-a/2,-a/2,a,a,null,!0);o.attr({cursor:"move",invisible:!0,silent:!0,x:n[0]/2});var s=t.getModel("indicatorStyle").getItemStyle();if(o instanceof XD){var u=o.style;o.useStyle(Kk({image:u.image,x:u.x,y:u.y,width:u.width,height:u.height},s))}else o.useStyle(s);e.add(o);var c=this.visualMapModel.textStyleModel,l=new vO({silent:!0,invisible:!0,style:OL(c,{x:0,y:0,text:""})});this.group.add(l);var h=[("horizontal"===i?r/2:6)+n[0]/2,0],f=this._shapes;f.indicator=o,f.indicatorLabel=l,f.indicatorLabelPoint=h,this._firstShowIndicator=!0},e.prototype._dragHandle=function(t,e,n,r){if(this._useHandle){if(this._dragging=!e,!e){var i=this._applyTransform([n,r],this._shapes.mainGroup,!0);this._updateInterval(t,i[1]),this._hideIndicator(),this._updateView()}e===!this.visualMapModel.get("realtime")&&this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:this._dataInterval.slice()}),e?!this._hovering&&this._clearHoverLinkToSeries():Nit(this.visualMapModel)&&this._doHoverLinkToSeries(this._handleEnds[t],!1)}},e.prototype._resetInterval=function(){var t=this.visualMapModel,e=this._dataInterval=t.getSelected(),n=t.getExtent(),r=[0,t.itemSize[1]];this._handleEnds=[Eit(e[0],n,r,!0),Eit(e[1],n,r,!0)]},e.prototype._updateInterval=function(t,e){e=e||0;var n=this.visualMapModel,r=this._handleEnds,i=[0,n.itemSize[1]];t3(e,r,i,t,0);var a=n.getExtent();this._dataInterval=[Eit(r[0],i,a,!0),Eit(r[1],i,a,!0)]},e.prototype._updateView=function(t){var e=this.visualMapModel,n=e.getExtent(),r=this._shapes,i=[0,e.itemSize[1]],a=t?i:this._handleEnds,o=this._createBarVisual(this._dataInterval,n,a,"inRange"),s=this._createBarVisual(n,n,i,"outOfRange");r.inRange.setStyle({fill:o.barColor}).setShape("points",o.barPoints),r.outOfRange.setStyle({fill:s.barColor}).setShape("points",s.barPoints),this._updateHandle(a,o)},e.prototype._createBarVisual=function(t,e,n,r){var i={forceState:r,convertOpacityToAlpha:!0},a=this._makeColorGradient(t,i),o=[this.getControllerVisual(t[0],"symbolSize",i),this.getControllerVisual(t[1],"symbolSize",i)],s=this._createBarPoints(n,o);return{barColor:new kz(0,0,0,1,a),barPoints:s,handlesColor:[a[0].color,a[a.length-1].color]}},e.prototype._makeColorGradient=function(t,e){var n=[],r=(t[1]-t[0])/100;n.push({color:this.getControllerVisual(t[0],"color",e),offset:0});for(var i=1;i<100;i++){var a=t[0]+r*i;if(a>t[1])break;n.push({color:this.getControllerVisual(a,"color",e),offset:i/100})}return n.push({color:this.getControllerVisual(t[1],"color",e),offset:1}),n},e.prototype._createBarPoints=function(t,e){var n=this.visualMapModel.itemSize;return[[n[0]-e[0],t[0]],[n[0],t[0]],[n[0],t[1]],[n[0]-e[1],t[1]]]},e.prototype._createBarGroup=function(t){var e=this._orient,n=this.visualMapModel.get("inverse");return new nE("horizontal"!==e||n?"horizontal"===e&&n?{scaleX:"bottom"===t?-1:1,rotation:-Math.PI/2}:"vertical"!==e||n?{scaleX:"left"===t?1:-1}:{scaleX:"left"===t?1:-1,scaleY:-1}:{scaleX:"bottom"===t?1:-1,rotation:Math.PI/2})},e.prototype._updateHandle=function(t,e){if(this._useHandle){var n=this._shapes,r=this.visualMapModel,i=n.handleThumbs,a=n.handleLabels,o=r.itemSize,s=r.getExtent();Pit([0,1],(function(u){var c=i[u];c.setStyle("fill",e.handlesColor[u]),c.y=t[u];var l=Eit(t[u],[0,o[1]],s,!0),h=this.getControllerVisual(l,"symbolSize");c.scaleX=c.scaleY=h/o[0],c.x=o[0]-h/2;var f=Jz(n.handleLabelPoints[u],Qz(c,this.group));a[u].setStyle({x:f[0],y:f[1],text:r.formatValueText(this._dataInterval[u]),verticalAlign:"middle",align:"vertical"===this._orient?this._applyTransform("left",n.mainGroup):"center"})}),this)}},e.prototype._showIndicator=function(t,e,n,r){var i=this.visualMapModel,a=i.getExtent(),o=i.itemSize,s=[0,o[1]],u=this._shapes,c=u.indicator;if(c){c.attr("invisible",!1);var l=this.getControllerVisual(t,"color",{convertOpacityToAlpha:!0}),h=this.getControllerVisual(t,"symbolSize"),f=Eit(t,a,s,!0),d=o[0]-h/2,p={x:c.x,y:c.y};c.y=f,c.x=d;var g=Jz(u.indicatorLabelPoint,Qz(c,this.group)),b=u.indicatorLabel;b.attr("invisible",!1);var v=this._applyTransform("left",u.mainGroup),m="horizontal"===this._orient;b.setStyle({text:(n||"")+i.formatValueText(e),verticalAlign:m?v:"middle",align:m?"center":v});var y={x:d,y:f,style:{fill:l}},w={style:{x:g[0],y:g[1]}};if(i.ecModel.isAnimationEnabled()&&!this._firstShowIndicator){var x={duration:100,easing:"cubicInOut",additive:!0};c.x=p.x,c.y=p.y,c.animateTo(y,x),b.animateTo(w,x)}else c.attr(y),b.attr(w);this._firstShowIndicator=!1;var _=this._shapes.handleLabels;if(_)for(var S=0;S<_.length;S++)this._api.enterBlur(_[S])}},e.prototype._enableHoverLinkToSeries=function(){var t=this;this._shapes.mainGroup.on("mousemove",(function(e){if(t._hovering=!0,!t._dragging){var n=t.visualMapModel.itemSize,r=t._applyTransform([e.offsetX,e.offsetY],t._shapes.mainGroup,!0,!0);r[1]=Dit(Oit(0,r[1]),n[1]),t._doHoverLinkToSeries(r[1],0<=r[0]&&r[0]<=n[0])}})).on("mouseout",(function(){t._hovering=!1,!t._dragging&&t._clearHoverLinkToSeries()}))},e.prototype._enableHoverLinkFromSeries=function(){var t=this.api.getZr();this.visualMapModel.option.hoverLink?(t.on("mouseover",this._hoverLinkFromSeriesMouseOver,this),t.on("mouseout",this._hideIndicator,this)):this._clearHoverLinkFromSeries()},e.prototype._doHoverLinkToSeries=function(t,e){var n=this.visualMapModel,r=n.itemSize;if(n.option.hoverLink){var i=[0,r[1]],a=n.getExtent();t=Dit(Oit(i[0],t),i[1]);var o=function(t,e,n){var r=6,i=t.get("hoverLinkDataSize");i&&(r=Eit(i,e,n,!0)/2);return r}(n,a,i),s=[t-o,t+o],u=Eit(t,i,a,!0),c=[Eit(s[0],i,a,!0),Eit(s[1],i,a,!0)];s[0]<i[0]&&(c[0]=-1/0),s[1]>i[1]&&(c[1]=1/0),e&&(c[0]===-1/0?this._showIndicator(u,c[1],"< ",o):c[1]===1/0?this._showIndicator(u,c[0],"> ",o):this._showIndicator(u,u,"≈ ",o));var l=this._hoverLinkDataIndices,h=[];(e||Nit(n))&&(h=this._hoverLinkDataIndices=n.findTargetDataIndices(c));var f=function(t,e){var n={},r={};return i(t||[],n),i(e||[],r,n),[a(n),a(r)];function i(t,e,n){for(var r=0,i=t.length;r<i;r++){var a=$E(t[r].seriesId,null);if(null==a)return;for(var o=OE(t[r].dataIndex),s=n&&n[a],u=0,c=o.length;u<c;u++){var l=o[u];s&&s[l]?s[l]=null:(e[a]||(e[a]={}))[l]=1}}}function a(t,e){var n=[];for(var r in t)if(t.hasOwnProperty(r)&&null!=t[r])if(e)n.push(+r);else{var i=a(t[r],!0);i.length&&n.push({seriesId:r,dataIndex:i})}return n}}(l,h);this._dispatchHighDown("downplay",Ait(f[0],n)),this._dispatchHighDown("highlight",Ait(f[1],n))}},e.prototype._hoverLinkFromSeriesMouseOver=function(t){var e;if(vV(t.target,(function(t){var n=mO(t);if(null!=n.dataIndex)return e=n,!0}),!0),e){var n=this.ecModel.getSeriesByIndex(e.seriesIndex),r=this.visualMapModel;if(r.isTargetSeries(n)){var i=n.getData(e.dataType),a=i.getStore().get(r.getDataDimensionIndex(i),e.dataIndex);isNaN(a)||this._showIndicator(a,a)}}},e.prototype._hideIndicator=function(){var t=this._shapes;t.indicator&&t.indicator.attr("invisible",!0),t.indicatorLabel&&t.indicatorLabel.attr("invisible",!0);var e=this._shapes.handleLabels;if(e)for(var n=0;n<e.length;n++)this._api.leaveBlur(e[n])},e.prototype._clearHoverLinkToSeries=function(){this._hideIndicator();var t=this._hoverLinkDataIndices;this._dispatchHighDown("downplay",Ait(t,this.visualMapModel)),t.length=0},e.prototype._clearHoverLinkFromSeries=function(){this._hideIndicator();var t=this.api.getZr();t.off("mouseover",this._hoverLinkFromSeriesMouseOver),t.off("mouseout",this._hideIndicator)},e.prototype._applyTransform=function(t,e,n,r){var i=Qz(e,r?null:this.group);return uI(t)?Jz(t,i,n):t$(t,i,n)},e.prototype._dispatchHighDown=function(t,e){e&&e.length&&this.api.dispatchAction({type:t,batch:e})},e.prototype.dispose=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.prototype.remove=function(){this._clearHoverLinkFromSeries(),this._clearHoverLinkToSeries()},e.type="visualMap.continuous",e}(Mit);function Rit(t,e,n,r){return new iz({shape:{points:t},draggable:!!n,cursor:e,drift:n,onmousemove:function(t){CM(t.event)},ondragend:r})}function Nit(t){var e=t.get("hoverLinkOnHandle");return!!(null==e?t.get("realtime"):e)}function jit(t){return"vertical"===t?"ns-resize":"ew-resize"}const Fit=Lit;var Bit={type:"selectDataRange",event:"dataRangeSelected",update:"update"},zit=function(t,e){e.eachComponent({mainType:"visualMap",query:t},(function(e){e.setSelected(t.selected)}))},$it=[{createOnAllSeries:!0,reset:function(t,e){var n=[];return e.eachComponent("visualMap",(function(e){var r,i,a,o,s,u=t.pipelineContext;!e.isTargetSeries(t)||u&&u.large||n.push((r=e.stateList,i=e.targetVisuals,a=oI(e.getValueState,e),o=e.getDataDimensionIndex(t.getData()),s={},eI(r,(function(t){var e=X1.prepareVisualTypes(i[t]);s[t]=e})),{progress:function(t,e){var n,r;function u(t){return fV(e,r,t)}function c(t,n){pV(e,r,t,n)}null!=o&&(n=e.getDimensionIndex(o));for(var l=e.getStore();null!=(r=t.next());){var h=e.getRawDataItem(r);if(!h||!1!==h.visualMap)for(var f=null!=o?l.get(n,r):r,d=a(f),p=i[d],g=s[d],b=0,v=g.length;b<v;b++){var m=g[b];p[m]&&p[m].applyVisual(f,u,c)}}}}))})),n}},{createOnAllSeries:!0,reset:function(t,e){var n=t.getData(),r=[];e.eachComponent("visualMap",(function(e){if(e.isTargetSeries(t)){var i=e.getVisualMeta(oI(Vit,null,t,e))||{stops:[],outerColors:[]},a=e.getDataDimensionIndex(n);a>=0&&(i.dimension=a,r.push(i))}})),t.getData().setVisual("visualMeta",r)}}];function Vit(t,e,n,r){for(var i=e.targetVisuals[r],a=X1.prepareVisualTypes(i),o={color:dV(t.getData(),"color")},s=0,u=a.length;s<u;s++){var c=a[s],l=i["opacity"===c?"__alphaForOpacity":c];l&&l.applyVisual(n,h,f)}return o.color;function h(t){return o[t]}function f(t,e){o[t]=e}}var Hit=eI;function Wit(t){var e=t&&t.visualMap;uI(e)||(e=e?[e]:[]),Hit(e,(function(t){if(t){Git(t,"splitList")&&!Git(t,"pieces")&&(t.pieces=t.splitList,delete t.splitList);var e=t.pieces;e&&uI(e)&&Hit(e,(function(t){dI(t)&&(Git(t,"start")&&!Git(t,"min")&&(t.min=t.start),Git(t,"end")&&!Git(t,"max")&&(t.max=t.end))}))}}))}function Git(t,e){return t&&t.hasOwnProperty&&t.hasOwnProperty(e)}var Uit=!1;function Xit(t){Uit||(Uit=!0,t.registerSubTypeDefaulter("visualMap",(function(t){return t.categories||(t.pieces?t.pieces.length>0:t.splitNumber>0)&&!t.calculable?"piecewise":"continuous"})),t.registerAction(Bit,zit),eI($it,(function(e){t.registerVisual(t.PRIORITY.VISUAL.COMPONENT,e)})),t.registerPreprocessor(Wit))}function qit(t){t.registerComponentModel(kit),t.registerComponentView(Fit),Xit(t)}var Yit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n._pieceList=[],n}return Sk(e,t),e.prototype.optionUpdated=function(e,n){t.prototype.optionUpdated.apply(this,arguments),this.resetExtent();var r=this._mode=this._determineMode();this._pieceList=[],Kit[this._mode].call(this,this._pieceList),this._resetSelected(e,n);var i=this.option.categories;this.resetVisual((function(t,e){"categories"===r?(t.mappingMethod="category",t.categories=Xk(i)):(t.dataExtent=this.getExtent(),t.mappingMethod="piecewise",t.pieceList=nI(this._pieceList,(function(t){return t=Xk(t),"inRange"!==e&&(t.visual=null),t})))}))},e.prototype.completeVisualOption=function(){var e=this.option,n={},r=X1.listVisualTypes(),i=this.isCategory();function a(t,e,n){return t&&t[e]&&t[e].hasOwnProperty(n)}eI(e.pieces,(function(t){eI(r,(function(e){t.hasOwnProperty(e)&&(n[e]=1)}))})),eI(n,(function(t,n){var r=!1;eI(this.stateList,(function(t){r=r||a(e,t,n)||a(e.target,t,n)}),this),!r&&eI(this.stateList,(function(t){(e[t]||(e[t]={}))[n]=fit.get(n,"inRange"===t?"active":"inactive",i)}))}),this),t.prototype.completeVisualOption.apply(this,arguments)},e.prototype._resetSelected=function(t,e){var n=this.option,r=this._pieceList,i=(e?n:t).selected||{};if(n.selected=i,eI(r,(function(t,e){var n=this.getSelectedMapKey(t);i.hasOwnProperty(n)||(i[n]=!0)}),this),"single"===n.selectedMode){var a=!1;eI(r,(function(t,e){var n=this.getSelectedMapKey(t);i[n]&&(a?i[n]=!1:a=!0)}),this)}},e.prototype.getItemSymbol=function(){return this.get("itemSymbol")},e.prototype.getSelectedMapKey=function(t){return"categories"===this._mode?t.value+"":t.index+""},e.prototype.getPieceList=function(){return this._pieceList},e.prototype._determineMode=function(){var t=this.option;return t.pieces&&t.pieces.length>0?"pieces":this.option.categories?"categories":"splitNumber"},e.prototype.setSelected=function(t){this.option.selected=Xk(t)},e.prototype.getValueState=function(t){var e=X1.findPieceIndex(t,this._pieceList);return null!=e&&this.option.selected[this.getSelectedMapKey(this._pieceList[e])]?"inRange":"outOfRange"},e.prototype.findTargetDataIndices=function(t){var e=[],n=this._pieceList;return this.eachTargetSeries((function(r){var i=[],a=r.getData();a.each(this.getDataDimensionIndex(a),(function(e,r){X1.findPieceIndex(e,n)===t&&i.push(r)}),this),e.push({seriesId:r.id,dataIndex:i})}),this),e},e.prototype.getRepresentValue=function(t){var e;if(this.isCategory())e=t.value;else if(null!=t.value)e=t.value;else{var n=t.interval||[];e=n[0]===-1/0&&n[1]===1/0?0:(n[0]+n[1])/2}return e},e.prototype.getVisualMeta=function(t){if(!this.isCategory()){var e=[],n=["",""],r=this,i=this._pieceList.slice();if(i.length){var a=i[0].interval[0];a!==-1/0&&i.unshift({interval:[-1/0,a]}),(a=i[i.length-1].interval[1])!==1/0&&i.push({interval:[a,1/0]})}else i.push({interval:[-1/0,1/0]});var o=-1/0;return eI(i,(function(t){var e=t.interval;e&&(e[0]>o&&s([o,e[0]],"outOfRange"),s(e.slice()),o=e[1])}),this),{stops:e,outerColors:n}}function s(i,a){var o=r.getRepresentValue({interval:i});a||(a=r.getValueState(o));var s=t(o,a);i[0]===-1/0?n[0]=s:i[1]===1/0?n[1]=s:e.push({value:i[0],color:s},{value:i[1],color:s})}},e.type="visualMap.piecewise",e.defaultOption=aR(wit.defaultOption,{selected:null,minOpen:!1,maxOpen:!1,align:"auto",itemWidth:20,itemHeight:14,itemSymbol:"roundRect",pieces:null,categories:null,splitNumber:5,selectedMode:"multiple",itemGap:10,hoverLink:!0}),e}(wit),Kit={splitNumber:function(t){var e=this.option,n=Math.min(e.precision,20),r=this.getExtent(),i=e.splitNumber;i=Math.max(parseInt(i,10),1),e.splitNumber=i;for(var a=(r[1]-r[0])/i;+a.toFixed(n)!==a&&n<5;)n++;e.precision=n,a=+a.toFixed(n),e.minOpen&&t.push({interval:[-1/0,r[0]],close:[0,0]});for(var o=0,s=r[0];o<i;s+=a,o++){var u=o===i-1?r[1]:s+a;t.push({interval:[s,u],close:[1,1]})}e.maxOpen&&t.push({interval:[r[1],1/0],close:[0,0]}),kE(t),eI(t,(function(t,e){t.index=e,t.text=this.formatValueText(t.interval)}),this)},categories:function(t){var e=this.option;eI(e.categories,(function(e){t.push({text:this.formatValueText(e,!0),value:e})}),this),Zit(e,t)},pieces:function(t){var e=this.option;eI(e.pieces,(function(e,n){dI(e)||(e={value:e});var r={text:"",index:n};if(null!=e.label&&(r.text=e.label),e.hasOwnProperty("value")){var i=r.value=e.value;r.interval=[i,i],r.close=[1,1]}else{for(var a=r.interval=[],o=r.close=[0,0],s=[1,0,1],u=[-1/0,1/0],c=[],l=0;l<2;l++){for(var h=[["gte","gt","min"],["lte","lt","max"]][l],f=0;f<3&&null==a[l];f++)a[l]=e[h[f]],o[l]=s[f],c[l]=2===f;null==a[l]&&(a[l]=u[l])}c[0]&&a[1]===1/0&&(o[0]=0),c[1]&&a[0]===-1/0&&(o[1]=0),a[0]===a[1]&&o[0]&&o[1]&&(r.value=a[0])}r.visual=X1.retrieveVisuals(e),t.push(r)}),this),Zit(e,t),kE(t),eI(t,(function(t){var e=t.close,n=[["<","≤"][e[1]],[">","≥"][e[0]]];t.text=t.text||this.formatValueText(null!=t.value?t.value:t.interval,!1,n)}),this)}};function Zit(t,e){var n=t.inverse;("vertical"===t.orient?!n:n)&&e.reverse()}const Qit=Yit;var Jit=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return Sk(e,t),e.prototype.doRender=function(){var t=this.group;t.removeAll();var e=this.visualMapModel,n=e.get("textGap"),r=e.textStyleModel,i=r.getFont(),a=r.getTextColor(),o=this._getItemAlign(),s=e.itemSize,u=this._getViewData(),c=u.endsText,l=yI(e.get("showLabel",!0),!c);c&&this._renderEndsText(t,c[0],s,l,o),eI(u.viewPieceList,(function(r){var u=r.piece,c=new nE;c.onclick=oI(this._onItemClick,this,u),this._enableHoverLink(c,r.indexInModelPieceList);var h=e.getRepresentValue(u);if(this._createItemSymbol(c,h,[0,0,s[0],s[1]]),l){var f=this.visualMapModel.getValueState(h);c.add(new vO({style:{x:"right"===o?-n:s[0]+n,y:s[1]/2,text:u.text,verticalAlign:"middle",align:o,font:i,fill:a,opacity:"outOfRange"===f?.5:1}}))}t.add(c)}),this),c&&this._renderEndsText(t,c[1],s,l,o),rN(e.get("orient"),t,e.get("itemGap")),this.renderBackground(t),this.positionGroup(t)},e.prototype._enableHoverLink=function(t,e){var n=this;t.on("mouseover",(function(){return r("highlight")})).on("mouseout",(function(){return r("downplay")}));var r=function(t){var r=n.visualMapModel;r.option.hoverLink&&n.api.dispatchAction({type:t,batch:Ait(r.findTargetDataIndices(e),r)})}},e.prototype._getItemAlign=function(){var t=this.visualMapModel,e=t.option;if("vertical"===e.orient)return Tit(t,this.api,t.itemSize);var n=e.align;return n&&"auto"!==n||(n="left"),n},e.prototype._renderEndsText=function(t,e,n,r,i){if(e){var a=new nE,o=this.visualMapModel.textStyleModel;a.add(new vO({style:OL(o,{x:r?"right"===i?n[0]:0:n[0]/2,y:n[1]/2,verticalAlign:"middle",align:r?i:"center",text:e})})),t.add(a)}},e.prototype._getViewData=function(){var t=this.visualMapModel,e=nI(t.getPieceList(),(function(t,e){return{piece:t,indexInModelPieceList:e}})),n=t.get("text"),r=t.get("orient"),i=t.get("inverse");return("horizontal"===r?i:!i)?e.reverse():n&&(n=n.slice().reverse()),{viewPieceList:e,endsText:n}},e.prototype._createItemSymbol=function(t,e,n){t.add(EV(this.getControllerVisual(e,"symbol"),n[0],n[1],n[2],n[3],this.getControllerVisual(e,"color")))},e.prototype._onItemClick=function(t){var e=this.visualMapModel,n=e.option,r=n.selectedMode;if(r){var i=Xk(n.selected),a=e.getSelectedMapKey(t);"single"===r||!0===r?(i[a]=!0,eI(i,(function(t,e){i[e]=e===a}))):i[a]=!i[a],this.api.dispatchAction({type:"selectDataRange",from:this.uid,visualMapId:this.visualMapModel.id,selected:i})}},e.type="visualMap.piecewise",e}(Mit);const tat=Jit;function eat(t){t.registerComponentModel(Qit),t.registerComponentView(tat),Xit(t)}var nat={label:{enabled:!0},decal:{show:!1}},rat=GE(),iat={};function aat(t,e){var n=t.getModel("aria");if(n.get("enabled")){var r=Xk(nat);qk(r.label,t.getLocaleModel().get("aria"),!1),qk(n.option,r,!1),function(){if(n.getModel("decal").get("show")){var e=DI();t.eachSeries((function(t){if(!t.isColorBySeries()){var n=e.get(t.type);n||(n={},e.set(t.type,n)),rat(t).scope=n}})),t.eachRawSeries((function(e){if(!t.isSeriesFiltered(e))if(cI(e.enableAriaDecal))e.enableAriaDecal();else{var n=e.getData();if(e.isColorBySeries()){var r=$N(e.ecModel,e.name,iat,t.getSeriesCount()),i=n.getVisual("decal");n.setVisual("decal",c(i,r))}else{var a=e.getRawData(),o={},s=rat(e).scope;n.each((function(t){var e=n.getRawIndex(t);o[e]=t}));var u=a.count();a.each((function(t){var r=o[t],i=a.getName(t)||t+"",l=$N(e.ecModel,i,s,u),h=n.getItemVisual(r,"decal");n.setItemVisual(r,"decal",c(h,l))}))}}function c(t,e){var n=t?Kk(Kk({},e),t):e;return n.dirty=!0,n}}))}}(),function(){var r=t.getLocaleModel().get("aria"),a=n.getModel("label");if(a.option=Zk(a.option,r),!a.get("enabled"))return;var o=e.getZr().dom;if(a.get("description"))return void o.setAttribute("aria-label",a.get("description"));var s,u=t.getSeriesCount(),c=a.get(["data","maxCount"])||10,l=a.get(["series","maxCount"])||10,h=Math.min(u,l);if(u<1)return;var f=function(){var e=t.get("title");e&&e.length&&(e=e[0]);return e&&e.text}();if(f){var d=a.get(["general","withTitle"]);s=i(d,{title:f})}else s=a.get(["general","withoutTitle"]);var p=[],g=u>1?a.get(["series","multiple","prefix"]):a.get(["series","single","prefix"]);s+=i(g,{seriesCount:u}),t.eachSeries((function(e,n){if(n<h){var r=void 0,o=e.get("name")?"withName":"withoutName";r=i(r=u>1?a.get(["series","multiple",o]):a.get(["series","single",o]),{seriesId:e.seriesIndex,seriesName:e.get("name"),seriesType:(y=e.subType,t.getLocaleModel().get(["series","typeNames"])[y]||"自定义图")});var s=e.getData();if(s.count()>c)r+=i(a.get(["data","partialData"]),{displayCnt:c});else r+=a.get(["data","allData"]);for(var l=a.get(["data","separator","middle"]),f=a.get(["data","separator","end"]),d=[],g=0;g<s.count();g++)if(g<c){var b=s.getName(g),v=s.getValues(g),m=a.get(["data",b?"withName":"withoutName"]);d.push(i(m,{name:b,value:v.join(l)}))}r+=d.join(l)+f,p.push(r)}var y}));var b=a.getModel(["series","multiple","separator"]),v=b.get("middle"),m=b.get("end");s+=p.join(v)+m,o.setAttribute("aria-label",s)}()}function i(t,e){if(!lI(t))return t;var n=t;return eI(e,(function(t,e){n=n.replace(new RegExp("\\{\\s*"+e+"\\s*\\}","g"),t)})),n}}function oat(t){if(t&&t.aria){var e=t.aria;null!=e.show&&(e.enabled=e.show),e.label=e.label||{},eI(["description","general","series","data"],(function(t){null!=e[t]&&(e.label[t]=e[t])}))}}var sat={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},uat=function(){function t(t){var e;if(null==(this._condVal=lI(t)?new RegExp(t):(e=t,"[object RegExp]"===Rk.call(e)?t:null))){0,nF("")}}return t.prototype.evaluate=function(t){var e=typeof t;return lI(e)?this._condVal.test(t):!!fI(e)&&this._condVal.test(t+"")},t}(),cat=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),lat=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),hat=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),fat=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),dat=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,r=0;r<this.subCondList.length;r++)if(!this.subCondList[r].evaluate(t?n:e))return!1;return!0},t}();function pat(t,e){if(!0===t||!1===t){var n=new cat;return n.value=t,n}return bat(t)||nF(""),t.and?gat("and",t,e):t.or?gat("or",t,e):t.not?function(t,e){var n=t.not,r="";0;bat(n)||nF(r);var i=new fat;i.child=pat(n,e),i.child||nF(r);return i}(t,e):function(t,e){for(var n="",r=e.prepareGetValue(t),i=[],a=aI(t),o=t.parser,s=o?aF(o):null,u=0;u<a.length;u++){var c=a[u];if("parser"!==c&&!e.valueGetterAttrMap.get(c)){var l=NI(sat,c)?sat[c]:c,h=t[c],f=s?s(h):h,d=lF(l,f)||"reg"===l&&new uat(f);d||nF(n),i.push(d)}}i.length||nF(n);var p=new dat;return p.valueGetterParam=r,p.valueParser=s,p.getValue=e.getValue,p.subCondList=i,p}(t,e)}function gat(t,e,n){var r=e[t];uI(r)||nF(""),r.length||nF("");var i="and"===t?new lat:new hat;return i.children=nI(r,(function(t){return pat(t,n)})),i.children.length||nF(""),i}function bat(t){return dI(t)&&!tI(t)}var vat=function(){function t(t,e){this._cond=pat(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}();var mat={type:"echarts:filter",transform:function(t){for(var e,n,r,i=t.upstream,a=(n=t.config,r={valueGetterAttrMap:DI({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;NI(t,"dimension")||nF("");var n=i.getDimensionInfo(e);return n||nF(""),{dimIdx:n.index}},getValue:function(t){return i.retrieveValueFromItem(e,t.dimIdx)}},new vat(n,r)),o=[],s=0,u=i.count();s<u;s++)e=i.getRawDataItem(s),a.evaluate()&&o.push(e);return{data:o}}};var yat={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,r="",i=OE(n);i.length||nF(r);var a=[];eI(i,(function(t){var n=t.dimension,i=t.order,o=t.parser,s=t.incomparable;if(null==n&&nF(r),"asc"!==i&&"desc"!==i&&nF(r),s&&"min"!==s&&"max"!==s){0,nF("")}if("asc"!==i&&"desc"!==i){0,nF("")}var u=e.getDimensionInfo(n);u||nF(r);var c=o?aF(o):null;o&&!c&&nF(r),a.push({dimIdx:u.index,parser:c,comparator:new uF(i,s)})}));var o=e.sourceFormat;o!==mN&&o!==yN&&nF(r);for(var s=[],u=0,c=e.count();u<c;u++)s.push(e.getRawDataItem(u));return s.sort((function(t,n){for(var r=0;r<a.length;r++){var i=a[r],o=e.retrieveValueFromItem(t,i.dimIdx),s=e.retrieveValueFromItem(n,i.dimIdx);i.parser&&(o=i.parser(o),s=i.parser(s));var u=i.comparator.evaluate(o,s);if(0!==u)return u}return 0})),{data:s}}};var wat=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Sk(e,t),e.prototype.init=function(e,n,r){t.prototype.init.call(this,e,n,r),this._sourceManager=new EF(this),PF(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),PF(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:SN},e}(fN),xat=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return Sk(e,t),e.type="dataset",e}(uB);var _at=yD.CMD;function Sat(t,e){return Math.abs(t-e)<1e-5}function kat(t){var e,n,r,i,a,o=t.data,s=t.len(),u=[],c=0,l=0,h=0,f=0;function d(t,n){e&&e.length>2&&u.push(e),e=[t,n]}function p(t,n,r,i){Sat(t,r)&&Sat(n,i)||e.push(t,n,r,i,r,i)}function g(t,n,r,i,a,o){var s=Math.abs(n-t),u=4*Math.tan(s/4)/3,c=n<t?-1:1,l=Math.cos(t),h=Math.sin(t),f=Math.cos(n),d=Math.sin(n),p=l*a+r,g=h*o+i,b=f*a+r,v=d*o+i,m=a*u*c,y=o*u*c;e.push(p-m*h,g+y*l,b+m*d,v-y*f,b,v)}for(var b=0;b<s;){var v=o[b++],m=1===b;switch(m&&(h=c=o[b],f=l=o[b+1],v!==_at.L&&v!==_at.C&&v!==_at.Q||(e=[h,f])),v){case _at.M:c=h=o[b++],l=f=o[b++],d(h,f);break;case _at.L:p(c,l,n=o[b++],r=o[b++]),c=n,l=r;break;case _at.C:e.push(o[b++],o[b++],o[b++],o[b++],c=o[b++],l=o[b++]);break;case _at.Q:n=o[b++],r=o[b++],i=o[b++],a=o[b++],e.push(c+2/3*(n-c),l+2/3*(r-l),i+2/3*(n-i),a+2/3*(r-a),i,a),c=i,l=a;break;case _at.A:var y=o[b++],w=o[b++],x=o[b++],_=o[b++],S=o[b++],k=o[b++]+S;b+=1;var I=!o[b++];n=Math.cos(S)*x+y,r=Math.sin(S)*_+w,m?d(h=n,f=r):p(c,l,n,r),c=Math.cos(k)*x+y,l=Math.sin(k)*_+w;for(var M=(I?-1:1)*Math.PI/2,C=S;I?C>k:C<k;C+=M){g(C,I?Math.max(C+M,k):Math.min(C+M,k),y,w,x,_)}break;case _at.R:h=c=o[b++],f=l=o[b++],n=h+o[b++],r=f+o[b++],d(n,f),p(n,f,n,r),p(n,r,h,r),p(h,r,h,f),p(h,f,n,f);break;case _at.Z:e&&p(c,l,h,f),c=h,l=f}}return e&&e.length>2&&u.push(e),u}function Iat(t,e,n,r,i,a,o,s,u,c){if(Sat(t,n)&&Sat(e,r)&&Sat(i,o)&&Sat(a,s))u.push(o,s);else{var l=2/c,h=l*l,f=o-t,d=s-e,p=Math.sqrt(f*f+d*d);f/=p,d/=p;var g=n-t,b=r-e,v=i-o,m=a-s,y=g*g+b*b,w=v*v+m*m;if(y<h&&w<h)u.push(o,s);else{var x=f*g+d*b,_=-f*v-d*m;if(y-x*x<h&&x>=0&&w-_*_<h&&_>=0)u.push(o,s);else{var S=[],k=[];jC(t,n,i,o,.5,S),jC(e,r,a,s,.5,k),Iat(S[0],k[0],S[1],k[1],S[2],k[2],S[3],k[3],u,c),Iat(S[4],k[4],S[5],k[5],S[6],k[6],S[7],k[7],u,c)}}}}function Mat(t,e,n){var r=t[e],i=t[1-e],a=Math.abs(r/i),o=Math.ceil(Math.sqrt(a*n)),s=Math.floor(n/o);0===s&&(s=1,o=n);for(var u=[],c=0;c<o;c++)u.push(s);var l=n-o*s;if(l>0)for(c=0;c<l;c++)u[c%o]+=1;return u}function Cat(t,e,n){for(var r=t.r0,i=t.r,a=t.startAngle,o=t.endAngle,s=Math.abs(o-a),u=s*i,c=i-r,l=u>Math.abs(c),h=Mat([u,c],l?0:1,e),f=(l?s:c)/h.length,d=0;d<h.length;d++)for(var p=(l?c:s)/h[d],g=0;g<h[d];g++){var b={};l?(b.startAngle=a+f*d,b.endAngle=a+f*(d+1),b.r0=r+p*g,b.r=r+p*(g+1)):(b.startAngle=a+p*g,b.endAngle=a+p*(g+1),b.r0=r+f*d,b.r=r+f*(d+1)),b.clockwise=t.clockwise,b.cx=t.cx,b.cy=t.cy,n.push(b)}}function Tat(t,e,n,r){return t*r-n*e}function Aat(t,e,n,r,i,a,o,s){var u=n-t,c=r-e,l=o-i,h=s-a,f=Tat(l,h,u,c);if(Math.abs(f)<1e-6)return null;var d=Tat(t-i,e-a,l,h)/f;return d<0||d>1?null:new zM(d*u+t,d*c+e)}function Eat(t,e,n){var r=new zM;zM.sub(r,n,e),r.normalize();var i=new zM;return zM.sub(i,t,e),i.dot(r)}function Pat(t,e){var n=t[t.length-1];n&&n[0]===e[0]&&n[1]===e[1]||t.push(e)}function Dat(t){var e=t.points,n=[],r=[];XP(e,n,r);var i=new KM(n[0],n[1],r[0]-n[0],r[1]-n[1]),a=i.width,o=i.height,s=i.x,u=i.y,c=new zM,l=new zM;return a>o?(c.x=l.x=s+a/2,c.y=u,l.y=u+o):(c.y=l.y=u+o/2,c.x=s,l.x=s+a),function(t,e,n){for(var r=t.length,i=[],a=0;a<r;a++){var o=t[a],s=t[(a+1)%r],u=Aat(o[0],o[1],s[0],s[1],e.x,e.y,n.x,n.y);u&&i.push({projPt:Eat(u,e,n),pt:u,idx:a})}if(i.length<2)return[{points:t},{points:t}];i.sort((function(t,e){return t.projPt-e.projPt}));var c=i[0],l=i[i.length-1];if(l.idx<c.idx){var h=c;c=l,l=h}var f=[c.pt.x,c.pt.y],d=[l.pt.x,l.pt.y],p=[f],g=[d];for(a=c.idx+1;a<=l.idx;a++)Pat(p,t[a].slice());for(Pat(p,d),Pat(p,f),a=l.idx+1;a<=c.idx+r;a++)Pat(g,t[a%r].slice());return Pat(g,f),Pat(g,d),[{points:p},{points:g}]}(e,c,l)}function Oat(t,e,n,r){if(1===n)r.push(e);else{var i=Math.floor(n/2),a=t(e);Oat(t,a[0],i,r),Oat(t,a[1],n-i,r)}return r}function Lat(t,e){e.setStyle(t.style),e.z=t.z,e.z2=t.z2,e.zlevel=t.zlevel}function Rat(t,e){var n,r=[],i=t.shape;switch(t.type){case"rect":!function(t,e,n){for(var r=t.width,i=t.height,a=r>i,o=Mat([r,i],a?0:1,e),s=a?"width":"height",u=a?"height":"width",c=a?"x":"y",l=a?"y":"x",h=t[s]/o.length,f=0;f<o.length;f++)for(var d=t[u]/o[f],p=0;p<o[f];p++){var g={};g[c]=f*h,g[l]=p*d,g[s]=h,g[u]=d,g.x+=t.x,g.y+=t.y,n.push(g)}}(i,e,r),n=eO;break;case"sector":Cat(i,e,r),n=ZB;break;case"circle":Cat({r0:0,r:i.r,startAngle:0,endAngle:2*Math.PI,cx:i.cx,cy:i.cy},e,r),n=ZB;break;default:var a=t.getComputedTransform(),o=a?Math.sqrt(Math.max(a[0]*a[0]+a[1]*a[1],a[2]*a[2]+a[3]*a[3])):1,s=nI(function(t,e){var n=kat(t),r=[];e=e||1;for(var i=0;i<n.length;i++){var a=n[i],o=[],s=a[0],u=a[1];o.push(s,u);for(var c=2;c<a.length;){var l=a[c++],h=a[c++],f=a[c++],d=a[c++],p=a[c++],g=a[c++];Iat(s,u,l,h,f,d,p,g,o,e),s=p,u=g}r.push(o)}return r}(t.getUpdatedPathProxy(),o),(function(t){return function(t){for(var e=[],n=0;n<t.length;)e.push([t[n++],t[n++]]);return e}(t)})),u=s.length;if(0===u)Oat(Dat,{points:s[0]},e,r);else if(u===e)for(var c=0;c<u;c++)r.push({points:s[c]});else{var l=0,h=nI(s,(function(t){var e=[],n=[];XP(t,e,n);var r=(n[1]-e[1])*(n[0]-e[0]);return l+=r,{poly:t,area:r}}));h.sort((function(t,e){return e.area-t.area}));var f=e;for(c=0;c<u;c++){var d=h[c];if(f<=0)break;var p=c===u-1?f:Math.ceil(d.area/l*e);p<0||(Oat(Dat,{points:d.poly},p,r),f-=p)}}n=iz}if(!n)return function(t,e){for(var n=[],r=0;r<e;r++)n.push(AB(t));return n}(t,e);var g=[];for(c=0;c<r.length;c++){var b=new n;b.setShape(r[c]),Lat(t,b),g.push(b)}return g}function Nat(t,e){var n=t.length,r=e.length;if(n===r)return[t,e];for(var i=[],a=[],o=n<r?t:e,s=Math.min(n,r),u=Math.abs(r-n)/6,c=(s-2)/6,l=Math.ceil(u/c)+1,h=[o[0],o[1]],f=u,d=2;d<s;){var p=o[d-2],g=o[d-1],b=o[d++],v=o[d++],m=o[d++],y=o[d++],w=o[d++],x=o[d++];if(f<=0)h.push(b,v,m,y,w,x);else{for(var _=Math.min(f,l-1)+1,S=1;S<=_;S++){var k=S/_;jC(p,b,m,w,k,i),jC(g,v,y,x,k,a),p=i[3],g=a[3],h.push(i[1],a[1],i[2],a[2],p,g),b=i[5],v=a[5],m=i[6],y=a[6]}f-=_-1}}return o===t?[h,e]:[t,h]}function jat(t,e){for(var n=t.length,r=t[n-2],i=t[n-1],a=[],o=0;o<e.length;)a[o++]=r,a[o++]=i;return a}function Fat(t){for(var e=0,n=0,r=0,i=t.length,a=0,o=i-2;a<i;o=a,a+=2){var s=t[o],u=t[o+1],c=t[a],l=t[a+1],h=s*l-c*u;e+=h,n+=(s+c)*h,r+=(u+l)*h}return 0===e?[t[0]||0,t[1]||0]:[n/e/3,r/e/3,e]}function Bat(t,e,n,r){for(var i=(t.length-2)/6,a=1/0,o=0,s=t.length,u=s-2,c=0;c<i;c++){for(var l=6*c,h=0,f=0;f<s;f+=2){var d=0===f?l:(l+f-2)%u+2,p=t[d]-n[0],g=t[d+1]-n[1],b=e[f]-r[0]-p,v=e[f+1]-r[1]-g;h+=b*b+v*v}h<a&&(a=h,o=c)}return o}function zat(t){for(var e=[],n=t.length,r=0;r<n;r+=2)e[r]=t[n-r-2],e[r+1]=t[n-r-1];return e}function $at(t){return t.__isCombineMorphing}var Vat="__mOriginal_";function Hat(t,e,n){var r=Vat+e,i=t[r]||t[e];t[r]||(t[r]=t[e]);var a=n.replace,o=n.after,s=n.before;t[e]=function(){var t,e=arguments;return s&&s.apply(this,e),t=a?a.apply(this,e):i.apply(this,e),o&&o.apply(this,e),t}}function Wat(t,e){var n=Vat+e;t[n]&&(t[e]=t[n],t[n]=null)}function Gat(t,e){for(var n=0;n<t.length;n++)for(var r=t[n],i=0;i<r.length;){var a=r[i],o=r[i+1];r[i++]=e[0]*a+e[2]*o+e[4],r[i++]=e[1]*a+e[3]*o+e[5]}}function Uat(t,e){var n=t.getUpdatedPathProxy(),r=e.getUpdatedPathProxy(),i=function(t,e){for(var n,r,i,a=[],o=[],s=0;s<Math.max(t.length,e.length);s++){var u=t[s],c=e[s],l=void 0,h=void 0;u?c?(r=l=(n=Nat(u,c))[0],i=h=n[1]):(h=jat(i||u,u),l=u):(l=jat(r||c,c),h=c),a.push(l),o.push(h)}return[a,o]}(kat(n),kat(r)),a=i[0],o=i[1],s=t.getComputedTransform(),u=e.getComputedTransform();s&&Gat(a,s),u&&Gat(o,u),Hat(e,"updateTransform",{replace:function(){this.transform=null}}),e.transform=null;var c=function(t,e,n,r){for(var i,a=[],o=0;o<t.length;o++){var s=t[o],u=e[o],c=Fat(s),l=Fat(u);null==i&&(i=c[2]<0!=l[2]<0);var h=[],f=[],d=0,p=1/0,g=[],b=s.length;i&&(s=zat(s));for(var v=6*Bat(s,u,c,l),m=b-2,y=0;y<m;y+=2){var w=(v+y)%m+2;h[y+2]=s[w]-c[0],h[y+3]=s[w+1]-c[1]}if(h[0]=s[v]-c[0],h[1]=s[v+1]-c[1],n>0)for(var x=r/n,_=-r/2;_<=r/2;_+=x){var S=Math.sin(_),k=Math.cos(_),I=0;for(y=0;y<s.length;y+=2){var M=h[y],C=h[y+1],T=u[y]-l[0],A=u[y+1]-l[1],E=T*k-A*S,P=T*S+A*k;g[y]=E,g[y+1]=P;var D=E-M,O=P-C;I+=D*D+O*O}if(I<p){p=I,d=_;for(var L=0;L<g.length;L++)f[L]=g[L]}}else for(var R=0;R<b;R+=2)f[R]=u[R]-l[0],f[R+1]=u[R+1]-l[1];a.push({from:h,to:f,fromCp:c,toCp:l,rotation:-d})}return a}(a,o,10,Math.PI),l=[];Hat(e,"buildPath",{replace:function(t){for(var n=e.__morphT,r=1-n,i=[],a=0;a<c.length;a++){var o=c[a],s=o.from,u=o.to,h=o.rotation*n,f=o.fromCp,d=o.toCp,p=Math.sin(h),g=Math.cos(h);eM(i,f,d,n);for(var b=0;b<s.length;b+=2){var v=s[b],m=s[b+1],y=v*r+(S=u[b])*n,w=m*r+(k=u[b+1])*n;l[b]=y*g-w*p+i[0],l[b+1]=y*p+w*g+i[1]}var x=l[0],_=l[1];t.moveTo(x,_);for(b=2;b<s.length;){var S=l[b++],k=l[b++],I=l[b++],M=l[b++],C=l[b++],T=l[b++];x===S&&_===k&&I===C&&M===T?t.lineTo(C,T):t.bezierCurveTo(S,k,I,M,C,T),x=C,_=T}}}})}function Xat(t,e,n){if(!t||!e)return e;var r=n.done,i=n.during;return Uat(t,e),e.__morphT=0,e.animateTo({__morphT:1},Zk({during:function(t){e.dirtyShape(),i&&i(t)},done:function(){Wat(e,"buildPath"),Wat(e,"updateTransform"),e.__morphT=-1,e.createPathProxy(),e.dirtyShape(),r&&r()}},n)),e}function qat(t,e,n,r,i,a){t=i===n?0:Math.round(32767*(t-n)/(i-n)),e=a===r?0:Math.round(32767*(e-r)/(a-r));for(var o,s=0,u=32768;u>0;u/=2){var c=0,l=0;(t&u)>0&&(c=1),(e&u)>0&&(l=1),s+=u*u*(3*c^l),0===l&&(1===c&&(t=u-1-t,e=u-1-e),o=t,t=e,e=o)}return s}function Yat(t){var e=1/0,n=1/0,r=-1/0,i=-1/0,a=nI(t,(function(t){var a=t.getBoundingRect(),o=t.getComputedTransform(),s=a.x+a.width/2+(o?o[4]:0),u=a.y+a.height/2+(o?o[5]:0);return e=Math.min(s,e),n=Math.min(u,n),r=Math.max(s,r),i=Math.max(u,i),[s,u]}));return nI(a,(function(a,o){return{cp:a,z:qat(a[0],a[1],e,n,r,i),path:t[o]}})).sort((function(t,e){return t.z-e.z})).map((function(t){return t.path}))}function Kat(t){return Rat(t.path,t.count)}function Zat(t){return uI(t[0])}function Qat(t,e){for(var n=[],r=t.length,i=0;i<r;i++)n.push({one:t[i],many:[]});for(i=0;i<e.length;i++){var a=e[i].length,o=void 0;for(o=0;o<a;o++)n[o%r].many.push(e[i][o])}var s=0;for(i=r-1;i>=0;i--)if(!n[i].many.length){var u=n[s].many;if(u.length<=1){if(!s)return n;s=0}a=u.length;var c=Math.ceil(a/2);n[i].many=u.slice(c,a),n[s].many=u.slice(0,c),s++}return n}var Jat={clone:function(t){for(var e=[],n=1-Math.pow(1-t.path.style.opacity,1/t.count),r=0;r<t.count;r++){var i=AB(t.path);i.setStyle("opacity",n),e.push(i)}return e},split:null};function tot(t,e,n,r,i,a){if(t.length&&e.length){var o=yL("update",r,i);if(o&&o.duration>0){var s,u,c=r.getModel("universalTransition").get("delay"),l=Object.assign({setToFinal:!0},o);Zat(t)&&(s=t,u=e),Zat(e)&&(s=e,u=t);for(var h=s?s===t:t.length>e.length,f=s?Qat(u,s):Qat(h?e:t,[h?t:e]),d=0,p=0;p<f.length;p++)d+=f[p].many.length;var g=0;for(p=0;p<f.length;p++)b(f[p],h,g,d),g+=f[p].many.length}}function b(t,e,r,i,o){var s=t.many,u=t.one;if(1!==s.length||o)for(var h=Zk({dividePath:Jat[n],individualDelay:c&&function(t,e,n,a){return c(t+r,i)}},l),f=e?function(t,e,n){var r=[];!function t(e){for(var n=0;n<e.length;n++){var i=e[n];$at(i)?t(i.childrenRef()):i instanceof zD&&r.push(i)}}(t);var i=r.length;if(!i)return{fromIndividuals:[],toIndividuals:[],count:0};var a=(n.dividePath||Kat)({path:e,count:i});if(a.length!==i)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0};r=Yat(r),a=Yat(a);for(var o=n.done,s=n.during,u=n.individualDelay,c=new LA,l=0;l<i;l++){var h=r[l],f=a[l];f.parent=e,f.copyTransform(c),u||Uat(h,f)}function d(t){for(var e=0;e<a.length;e++)a[e].addSelfToZr(t)}function p(){e.__isCombineMorphing=!1,e.__morphT=-1,e.childrenRef=null,Wat(e,"addSelfToZr"),Wat(e,"removeSelfFromZr")}e.__isCombineMorphing=!0,e.childrenRef=function(){return a},Hat(e,"addSelfToZr",{after:function(t){d(t)}}),Hat(e,"removeSelfFromZr",{after:function(t){for(var e=0;e<a.length;e++)a[e].removeSelfFromZr(t)}});var g=a.length;if(u){var b=g,v=function(){0==--b&&(p(),o&&o())};for(l=0;l<g;l++){var m=u?Zk({delay:(n.delay||0)+u(l,g,r[l],a[l]),done:v},n):n;Xat(r[l],a[l],m)}}else e.__morphT=0,e.animateTo({__morphT:1},Zk({during:function(t){for(var n=0;n<g;n++){var r=a[n];r.__morphT=e.__morphT,r.dirtyShape()}s&&s(t)},done:function(){p();for(var e=0;e<t.length;e++)Wat(t[e],"updateTransform");o&&o()}},n));return e.__zr&&d(e.__zr),{fromIndividuals:r,toIndividuals:a,count:g}}(s,u,h):function(t,e,n){var r=e.length,i=[],a=n.dividePath||Kat;if($at(t)){!function t(e){for(var n=0;n<e.length;n++){var r=e[n];$at(r)?t(r.childrenRef()):r instanceof zD&&i.push(r)}}(t.childrenRef());var o=i.length;if(o<r)for(var s=0,u=o;u<r;u++)i.push(AB(i[s++%o]));i.length=r}else{i=a({path:t,count:r});var c=t.getComputedTransform();for(u=0;u<i.length;u++)i[u].setLocalTransform(c);if(i.length!==r)return console.error("Invalid morphing: unmatched splitted path"),{fromIndividuals:[],toIndividuals:[],count:0}}i=Yat(i),e=Yat(e);var l=n.individualDelay;for(u=0;u<r;u++){var h=l?Zk({delay:(n.delay||0)+l(u,r,i[u],e[u])},n):n;Xat(i[u],e[u],h)}return{fromIndividuals:i,toIndividuals:e,count:e.length}}(u,s,h),d=f.fromIndividuals,p=f.toIndividuals,g=d.length,v=0;v<g;v++){m=c?Zk({delay:c(v,g)},l):l;a(d[v],p[v],e?s[v]:t.one,e?t.one:s[v],m)}else{var m,y=e?s[0]:u,w=e?u:s[0];if($at(y))b({many:[y],one:w},!0,r,i,!0);else Xat(y,w,m=c?Zk({delay:c(r,i)},l):l),a(y,w,y,w,m)}}}function eot(t){if(!t)return[];if(uI(t)){for(var e=[],n=0;n<t.length;n++)e.push(eot(t[n]));return e}var r=[];return t.traverse((function(t){t instanceof zD&&!t.disableMorphing&&!t.invisible&&!t.ignore&&r.push(t)})),r}var not=GE();function rot(t){var e=[];return eI(t,(function(t){var n=t.data;if(!(n.count()>1e4))for(var r=n.getIndices(),i=function(t){for(var e=t.dimensions,n=0;n<e.length;n++){var r=t.getDimensionInfo(e[n]);if(r&&0===r.otherDims.itemGroupId)return e[n]}}(n),a=0;a<r.length;a++)e.push({dataGroupId:t.dataGroupId,data:n,dim:t.dim||i,divide:t.divide,dataIndex:a})})),e}function iot(t,e,n){t.traverse((function(t){t instanceof zD&&_L(t,{style:{opacity:0}},e,{dataIndex:n,isFrom:!0})}))}function aot(t){if(t.parent){var e=t.getComputedTransform();t.setLocalTransform(e),t.parent.remove(t)}}function oot(t){t.stopAnimation(),t.isGroup&&t.traverse((function(t){t.stopAnimation()}))}function sot(t,e,n){var r=yL("update",n,e);r&&t.traverse((function(t){if(t instanceof FP){var e=function(t){return mL(t).oldStyle}(t);e&&t.animateFrom({style:e},r)}}))}function uot(t,e,n){var r=rot(t),i=rot(e);function a(t,e,n,r,i){(n||t)&&e.animateFrom({style:n&&n!==t?Kk(Kk({},n.style),t.style):t.style},i)}function o(t){for(var e=0;e<t.length;e++)if(t[e].dim)return t[e].dim}var s=o(r),u=o(i),c=!1;function l(t,e){return function(n){var r=n.data,i=n.dataIndex;if(e)return r.getId(i);var a=n.dataGroupId,o=t?s||u:u||s,c=o&&r.getDimensionInfo(o),l=c&&c.ordinalMeta;if(c){var h=r.get(c.name,i);return l&&l.categories[h]||h+""}var f=r.getRawDataItem(i);return f&&f.groupId?f.groupId+"":a||r.getId(i)}}var h=function(t,e){var n=t.length;if(n!==e.length)return!1;for(var r=0;r<n;r++){var i=t[r],a=e[r];if(i.data.getId(i.dataIndex)!==a.data.getId(a.dataIndex))return!1}return!0}(r,i),f={};if(!h)for(var d=0;d<i.length;d++){var p=i[d],g=p.data.getItemGraphicEl(p.dataIndex);g&&(f[g.id]=!0)}function b(t,e){var n=r[e],o=i[t],s=o.data.hostModel,u=n.data.getItemGraphicEl(n.dataIndex),l=o.data.getItemGraphicEl(o.dataIndex);u!==l?u&&f[u.id]||l&&(oot(l),u?(oot(u),aot(u),c=!0,tot(eot(u),eot(l),o.divide,s,t,a)):iot(l,s,t)):l&&sot(l,o.dataIndex,s)}new mU(r,i,l(!0,h),l(!1,h),null,"multiple").update(b).updateManyToOne((function(t,e){var n=i[t],o=n.data,s=o.hostModel,u=o.getItemGraphicEl(n.dataIndex),l=iI(nI(e,(function(t){return r[t].data.getItemGraphicEl(r[t].dataIndex)})),(function(t){return t&&t!==u&&!f[t.id]}));u&&(oot(u),l.length?(eI(l,(function(t){oot(t),aot(t)})),c=!0,tot(eot(l),eot(u),n.divide,s,t,a)):iot(u,s,n.dataIndex))})).updateOneToMany((function(t,e){var n=r[e],o=n.data.getItemGraphicEl(n.dataIndex);if(!o||!f[o.id]){var s=iI(nI(t,(function(t){return i[t].data.getItemGraphicEl(i[t].dataIndex)})),(function(t){return t&&t!==o})),u=i[t[0]].data.hostModel;s.length&&(eI(s,(function(t){return oot(t)})),o?(oot(o),aot(o),c=!0,tot(eot(o),eot(s),n.divide,u,t[0],a)):eI(s,(function(e){return iot(e,u,t[0])})))}})).updateManyToMany((function(t,e){new mU(e,t,(function(t){return r[t].data.getId(r[t].dataIndex)}),(function(t){return i[t].data.getId(i[t].dataIndex)})).update((function(n,r){b(t[n],e[r])})).execute()})).execute(),c&&eI(e,(function(t){var e=t.data.hostModel,r=e&&n.getViewOfSeriesModel(e),i=yL("update",e,0);r&&e.isAnimationEnabled()&&i&&i.duration>0&&r.group.traverse((function(t){t instanceof zD&&!t.animators.length&&t.animateFrom({style:{opacity:0}},i)}))}))}function cot(t){var e=t.getModel("universalTransition").get("seriesKey");return e||t.id}function lot(t){return uI(t)?t.sort().join(","):t}function hot(t){if(t.hostModel)return t.hostModel.getModel("universalTransition").get("divideShape")}function fot(t,e){var n=DI(),r=DI(),i=DI();return eI(t.oldSeries,(function(e,n){var a=t.oldDataGroupIds[n],o=t.oldData[n],s=cot(e),u=lot(s);r.set(u,{dataGroupId:a,data:o}),uI(s)&&eI(s,(function(t){i.set(t,{key:u,dataGroupId:a,data:o})}))})),eI(e.updatedSeries,(function(t){if(t.isUniversalTransitionEnabled()&&t.isAnimationEnabled()){var e=t.get("dataGroupId"),a=t.getData(),o=cot(t),s=lot(o),u=r.get(s);if(u)n.set(s,{oldSeries:[{dataGroupId:u.dataGroupId,divide:hot(u.data),data:u.data}],newSeries:[{dataGroupId:e,divide:hot(a),data:a}]});else if(uI(o)){0;var c=[];eI(o,(function(t){var e=r.get(t);e.data&&c.push({dataGroupId:e.dataGroupId,divide:hot(e.data),data:e.data})})),c.length&&n.set(s,{oldSeries:c,newSeries:[{dataGroupId:e,data:a,divide:hot(a)}]})}else{var l=i.get(o);if(l){var h=n.get(l.key);h||(h={oldSeries:[{dataGroupId:l.dataGroupId,data:l.data,divide:hot(l.data)}],newSeries:[]},n.set(l.key,h)),h.newSeries.push({dataGroupId:e,data:a,divide:hot(a)})}}}})),n}function dot(t,e){for(var n=0;n<t.length;n++){if(null!=e.seriesIndex&&e.seriesIndex===t[n].seriesIndex||null!=e.seriesId&&e.seriesId===t[n].id)return n}}hW([function(t){t.registerPainter("canvas",aG)}]),hW([function(t){t.registerPainter("svg",pU)}]),hW([function(t){t.registerChartView(BX),t.registerSeriesModel(tX),t.registerLayout(zX("line",!0)),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,HX("line"))},function(t){t.registerChartView(Cq),t.registerSeriesModel(nq),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,sI(KX,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ZX("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,HX("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},(function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},(function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)}))}))},function(t){t.registerChartView(zq),t.registerSeriesModel(Gq),gV("pie",t.registerAction),t.registerLayout(sI(Dq,"pie")),t.registerProcessor(Oq("pie")),t.registerProcessor(function(t){return{seriesType:t,reset:function(t,e){var n=t.getData();n.filterSelf((function(t){var e=n.mapDimension("value"),r=n.get(e,t);return!(fI(r)&&!isNaN(r)&&r<0)}))}}}("pie"))},function(t){hW(lZ),t.registerSeriesModel(Uq),t.registerChartView(Qq),t.registerLayout(zX("scatter"))},function(t){hW(EZ),t.registerChartView(bZ),t.registerSeriesModel(mZ),t.registerLayout(hZ),t.registerProcessor(Oq("radar")),t.registerPreprocessor(pZ)},function(t){hW(MJ),t.registerChartView(nJ),t.registerSeriesModel(iJ),t.registerLayout(oJ),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,aJ),gV("map",t.registerAction)},function(t){t.registerChartView(GJ),t.registerSeriesModel(c1),t.registerLayout(h1),t.registerVisual(f1),function(t){t.registerAction({type:"treeExpandAndCollapse",event:"treeExpandAndCollapse",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var n=t.dataIndex,r=e.getData().tree.getNodeByDataIndex(n);r.isExpand=!r.isExpand}))})),t.registerAction({type:"treeRoam",event:"treeRoam",update:"none"},(function(t,e,n){e.eachComponent({mainType:"series",subType:"tree",query:t},(function(e){var r=_J(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))}(t)},function(t){t.registerSeriesModel(v1),t.registerChartView(P1),t.registerVisual(Y1),t.registerLayout(u0),function(t){for(var e=0;e<d1.length;e++)t.registerAction({type:d1[e],update:"updateView"},jI);t.registerAction({type:"treemapRootToNode",update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"treemap",query:t},(function(e,n){var r=i1(t,["treemapZoomToNode","treemapRootToNode"],e);if(r){var i=e.getViewRoot();i&&(t.direction=o1(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}))}))}(t)},function(t){t.registerChartView(f2),t.registerSeriesModel(x2),t.registerProcessor(p0),t.registerVisual(g0),t.registerVisual(v0),t.registerLayout(C0),t.registerLayout(t.PRIORITY.VISUAL.POST_CHART_LAYOUT,R0),t.registerLayout(j0),t.registerCoordinateSystem("graphView",{dimensions:lJ.dimensions,create:F0}),t.registerAction({type:"focusNodeAdjacency",event:"focusNodeAdjacency",update:"series:focusNodeAdjacency"},jI),t.registerAction({type:"unfocusNodeAdjacency",event:"unfocusNodeAdjacency",update:"series:unfocusNodeAdjacency"},jI),t.registerAction(_2,(function(t,e,n){e.eachComponent({mainType:"series",query:t},(function(e){var r=_J(e.coordinateSystem,t,void 0,n);e.setCenter&&e.setCenter(r.center),e.setZoom&&e.setZoom(r.zoom)}))}))},function(t){t.registerChartView(T2),t.registerSeriesModel(A2)},function(t){t.registerChartView(D2),t.registerSeriesModel(L2),t.registerLayout(R2),t.registerProcessor(Oq("funnel"))},function(t){hW(p4),t.registerChartView($2),t.registerSeriesModel(H2),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,G2)},function(t){t.registerChartView(m4),t.registerSeriesModel(w4),t.registerLayout(x4),t.registerVisual(O4),t.registerAction({type:"dragNode",event:"dragnode",update:"update"},(function(t,e){e.eachComponent({mainType:"series",subType:"sankey",query:t},(function(e){e.setNodePosition(t.dataIndex,[t.localX,t.localY])}))}))},function(t){t.registerSeriesModel(N4),t.registerChartView(H4),t.registerLayout(G4),t.registerTransform(U4)},function(t){t.registerChartView(a5),t.registerSeriesModel(s5),t.registerPreprocessor(u5),t.registerVisual(g5),t.registerLayout(m5)},function(t){t.registerChartView(S5),t.registerSeriesModel(k5),t.registerLayout(zX("effectScatter"))},function(t){t.registerChartView(F5),t.registerSeriesModel(H5),t.registerLayout(N5),t.registerVisual(G5)},function(t){t.registerChartView(K5),t.registerSeriesModel(Z5)},function(t){t.registerChartView(m6),t.registerSeriesModel(y6),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,sI(KX,"pictorialBar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,ZX("pictorialBar"))},function(t){t.registerChartView(x6),t.registerSeriesModel(S6),t.registerLayout(k6),t.registerProcessor(Oq("themeRiver"))},function(t){t.registerChartView(P6),t.registerSeriesModel(L6),t.registerLayout(sI(N6,"sunburst")),t.registerProcessor(sI(Oq,"sunburst")),t.registerVisual(F6),function(t){t.registerAction({type:T6,update:"updateView"},(function(t,e){e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e,n){var r=i1(t,[T6],e);if(r){var i=e.getViewRoot();i&&(t.direction=o1(i,r.node)?"rollUp":"drillDown"),e.resetViewRoot(r.node)}}))})),t.registerAction({type:A6,update:"none"},(function(t,e,n){t=Kk({},t),e.eachComponent({mainType:"series",subType:"sunburst",query:t},(function(e){var n=i1(t,[A6],e);n&&(t.dataIndex=n.node.dataIndex)})),n.dispatchAction(Kk(t,{type:"highlight"}))})),t.registerAction({type:"sunburstUnhighlight",update:"updateView"},(function(t,e,n){t=Kk({},t),n.dispatchAction(Kk(t,{type:"downplay"}))}))}(t)},function(t){t.registerChartView(E8),t.registerSeriesModel(V6)}]),hW((function(t){hW(lZ),hW(L9)})),hW((function(t){hW(L9),QK.registerAxisPointerClass("PolarAxisPointer",j9),t.registerCoordinateSystem("polar",t7),t.registerComponentModel(F9),t.registerComponentView(m7),lY(t,"angle",z9,b7),lY(t,"radius",$9,v7),t.registerComponentView(s7),t.registerComponentView(f7),t.registerLayout(sI(g7,"bar"))})),hW(MJ),hW((function(t){hW(L9),QK.registerAxisPointerClass("SingleAxisPointer",z7),t.registerComponentView($7),t.registerComponentView(k7),t.registerComponentModel(M7),lY(t,"single",M7,M7.defaultOption),t.registerCoordinateSystem("single",O7)})),hW(p4),hW((function(t){t.registerComponentModel(H7),t.registerComponentView(G7),t.registerCoordinateSystem("calendar",Y7)})),hW((function(t){t.registerComponentModel(ttt),t.registerComponentView(rtt),t.registerPreprocessor((function(t){var e=t.graphic;uI(e)?e[0]&&e[0].elements?t.graphic=[t.graphic[0]]:t.graphic=[{elements:e}]:e&&!e.elements&&(t.graphic=[{elements:[e]}])}))})),hW((function(t){t.registerComponentModel(Ott),t.registerComponentView(Ntt),Ptt("saveAsImage",Ftt),Ptt("magicType",Htt),Ptt("dataView",Ztt),Ptt("dataZoom",Iet),Ptt("restore",net),hW(Ttt)})),hW((function(t){hW(L9),t.registerComponentModel(Met),t.registerComponentView(qet),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},jI),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},jI)})),hW(L9),hW((function(t){t.registerComponentView(dnt),t.registerComponentModel(gnt),t.registerPreprocessor(Ket),t.registerVisual(t.PRIORITY.VISUAL.BRUSH,unt),t.registerAction({type:"brush",event:"brush",update:"updateVisual"},(function(t,e){e.eachComponent({mainType:"brush",query:t},(function(e){e.setAreas(t.areas)}))})),t.registerAction({type:"brushSelect",event:"brushSelected",update:"none"},jI),t.registerAction({type:"brushEnd",event:"brushEnd",update:"none"},jI),Ptt("brush",vnt)})),hW((function(t){t.registerComponentModel(mnt),t.registerComponentView(ynt)})),hW((function(t){t.registerComponentModel(Snt),t.registerComponentView(Dnt),t.registerSubTypeDefaulter("timeline",(function(){return"slider"})),function(t){t.registerAction({type:"timelineChange",event:"timelineChanged",update:"prepareAndUpdate"},(function(t,e,n){var r=e.getComponent("timeline");return r&&null!=t.currentIndex&&(r.setCurrentIndex(t.currentIndex),!r.get("loop",!0)&&r.isIndexMax()&&r.getPlayState()&&(r.setPlayState(!1),n.dispatchAction({type:"timelinePlayChange",playState:!1,from:t.from}))),e.resetOption("timeline",{replaceMerge:r.get("replaceMerge",!0)}),Zk({currentIndex:r.option.currentIndex},t)})),t.registerAction({type:"timelinePlayChange",event:"timelinePlayChanged",update:"update"},(function(t,e){var n=e.getComponent("timeline");n&&null!=t.playState&&n.setPlayState(t.playState)}))}(t),t.registerPreprocessor(Ont)})),hW((function(t){t.registerComponentModel($nt),t.registerComponentView(trt),t.registerPreprocessor((function(t){Nnt(t.series,"markPoint")&&(t.markPoint=t.markPoint||{})}))})),hW((function(t){t.registerComponentModel(ert),t.registerComponentView(urt),t.registerPreprocessor((function(t){Nnt(t.series,"markLine")&&(t.markLine=t.markLine||{})}))})),hW((function(t){t.registerComponentModel(crt),t.registerComponentView(mrt),t.registerPreprocessor((function(t){Nnt(t.series,"markArea")&&(t.markArea=t.markArea||{})}))})),hW((function(t){hW(Drt),hW(zrt)})),hW((function(t){hW(Jrt),hW(cit)})),hW(Jrt),hW(cit),hW((function(t){hW(qit),hW(eat)})),hW(qit),hW(eat),hW((function(t){t.registerPreprocessor(oat),t.registerVisual(t.PRIORITY.VISUAL.ARIA,aat)})),hW((function(t){t.registerTransform(mat),t.registerTransform(yat)})),hW((function(t){t.registerComponentModel(wat),t.registerComponentView(xat)})),hW((function(t){t.registerUpdateLifecycle("series:beforeupdate",(function(t,e,n){eI(OE(n.seriesTransition),(function(t){eI(OE(t.to),(function(t){for(var e=n.updatedSeries,r=0;r<e.length;r++)(null!=t.seriesIndex&&t.seriesIndex===e[r].seriesIndex||null!=t.seriesId&&t.seriesId===e[r].id)&&(e[r].__universalTransitionEnabled=!0)}))}))})),t.registerUpdateLifecycle("series:transition",(function(t,e,n){var r=not(e);if(r.oldSeries&&n.updatedSeries&&n.optionChanged){var i=n.seriesTransition;if(i)eI(OE(i),(function(t){!function(t,e,n,r){var i=[],a=[];eI(OE(t.from),(function(t){var n=dot(e.oldSeries,t);n>=0&&i.push({dataGroupId:e.oldDataGroupIds[n],data:e.oldData[n],divide:hot(e.oldData[n]),dim:t.dimension})})),eI(OE(t.to),(function(t){var r=dot(n.updatedSeries,t);if(r>=0){var i=n.updatedSeries[r].getData();a.push({dataGroupId:e.oldDataGroupIds[r],data:i,divide:hot(i),dim:t.dimension})}})),i.length>0&&a.length>0&&uot(i,a,r)}(t,r,n,e)}));else{var a=fot(r,n);eI(a.keys(),(function(t){var n=a.get(t);uot(n.oldSeries,n.newSeries,e)}))}eI(n.updatedSeries,(function(t){t.__universalTransitionEnabled&&(t.__universalTransitionEnabled=!1)}))}for(var o=t.getSeries(),s=r.oldSeries=[],u=r.oldDataGroupIds=[],c=r.oldData=[],l=0;l<o.length;l++){var h=o[l].getData();h.count()<1e4&&(s.push(o[l]),u.push(o[l].get("dataGroupId")),c.push(h))}}))})),hW(ZW);const pot=t=>{let{loading:e,option:r,settings:i,style:a,theme:o,events:s}=t;const u=(0,n.useRef)(null);return(0,n.useEffect)((()=>{let t;null!==u.current&&(t=function(t,e,n){var r=!(n&&n.ssr);if(r){var i=QH(t);if(i)return i}var a=new jH(t,e,n);return a.id="ec_"+KH++,qH[a.id]=a,r&&QE(t,ZH,a.id),DH(a),sH.trigger("afterinit",a),a}(u.current,o,{renderer:"svg"}));const e=()=>{t?.resize()};return window.addEventListener("resize",e),()=>{t?.dispose(),window.removeEventListener("resize",e)}}),[o]),(0,n.useEffect)((()=>{if(null!==u.current){const t=QH(u.current);!0===e?t?.showLoading():t?.hideLoading()}}),[e]),(0,n.useEffect)((()=>{if(null!==u.current){const t=QH(u.current);t&&(t.setOption(r,i),s&&Object.keys(s).forEach((e=>{t.on(e,s[e])})))}}),[r,i,o,s]),n.createElement("div",{"data-testid":"echart-container",ref:u,style:{width:"100%",height:"100%",...a}})},got=t=>t?.pools?.map((t=>[t.name||"",t.openSlots||0,t.queuedSlots||0,t.runningSlots||0,t.scheduledSlots||0,t.deferredSlots||0]))||[],bot=t=>{const{data:e,isError:r}=hk(),i={dataset:{source:[["pool","open","queued","running","scheduled","deferred"],...got(e)]},tooltip:{trigger:"axis",axisPointer:{type:"shadow"}},legend:{data:["open","queued","running","scheduled","deferred"]},grid:{left:"0%",right:"5%",top:"30%",bottom:"0%",containLabel:!0},xAxis:{type:"value"},yAxis:{type:"category"},series:[{type:"bar",stack:"total",barMaxWidth:10,itemStyle:{color:stateColors.success}},{type:"bar",stack:"total",barMaxWidth:10,itemStyle:{color:stateColors.queued}},{type:"bar",stack:"total",barMaxWidth:10,itemStyle:{color:stateColors.running}},{type:"bar",stack:"total",barMaxWidth:10,itemStyle:{color:stateColors.scheduled}},{type:"bar",stack:"total",barMaxWidth:10,itemStyle:{color:stateColors.deferred}}]};return n.createElement(Wr,t,n.createElement(yk,{hasData:!!e,isError:r},n.createElement(iw,{w:"100%"},n.createElement(aw,{textAlign:"center",p:3},n.createElement(Jr,{size:"md"},"Pools Slots")),n.createElement(ow,null,n.createElement($r,{height:"250px"},n.createElement(pot,{option:i}))))))},vot=t=>{const{data:e,isError:r}=dk({paused:!1}),{data:i,isError:a}=dk({});return n.createElement(Wr,t,n.createElement(yk,{hasData:!!i&&!!e,isError:a||r},n.createElement(iw,{w:"100%"},n.createElement(aw,{textAlign:"center",p:3},n.createElement(Jr,{size:"md"},"Unpaused DAGs")),n.createElement(ow,null,n.createElement(Yr,{justifyContent:"center",mb:4},n.createElement(Jr,{as:"b",size:"xl"},e?.totalEntries)),n.createElement(Yr,{justifyContent:"end",textAlign:"right"},n.createElement(hi,{size:"md",color:"gray.500"},"out of ",n.createElement(hi,{as:"b"},i?.totalEntries)," total DAGs"))))))};var mot=(...t)=>t.filter(Boolean).join(" "),[yot,wot]=jr({name:"TableStylesContext",errorMessage:"useTableStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<Table />\" "}),xot=Mr(((t,e)=>{const r=Ar("Table",t),{className:i,...a}=Rn(t);return n.createElement(yot,{value:r},n.createElement(Er.table,{ref:e,__css:r.table,className:mot("chakra-table",i),...a}))}));xot.displayName="Table";Mr(((t,e)=>{const{overflow:r,overflowX:i,className:a,...o}=t;return n.createElement(Er.div,{ref:e,className:mot("chakra-table__container",a),...o,__css:{display:"block",whiteSpace:"nowrap",WebkitOverflowScrolling:"touch",overflowX:r??i??"auto",overflowY:"hidden",maxWidth:"100%"}})}));var _ot=Mr(((t,e)=>{const{placement:r="bottom",...i}=t,a=wot();return n.createElement(Er.caption,{...i,ref:e,__css:{...a.caption,captionSide:r}})}));_ot.displayName="TableCaption";var Sot=Mr(((t,e)=>{const r=wot();return n.createElement(Er.thead,{...t,ref:e,__css:r.thead})})),kot=Mr(((t,e)=>{const r=wot();return n.createElement(Er.tbody,{...t,ref:e,__css:r.tbody})})),Iot=(Mr(((t,e)=>{const r=wot();return n.createElement(Er.tfoot,{...t,ref:e,__css:r.tfoot})})),Mr((({isNumeric:t,...e},r)=>{const i=wot();return n.createElement(Er.th,{...e,ref:r,__css:i.th,"data-is-numeric":t})}))),Mot=Mr(((t,e)=>{const r=wot();return n.createElement(Er.tr,{...t,ref:e,__css:r.tr})})),Cot=Mr((({isNumeric:t,...e},r)=>{const i=wot();return n.createElement(Er.td,{...e,ref:r,__css:i.td,"data-is-numeric":t})}));const Tot=t=>{const{data:e,isError:r}=pk({dagId:"~",state:["running"],orderBy:"start_date",limit:5});return n.createElement(Wr,t,n.createElement(yk,{hasData:!!e,isError:r},n.createElement(iw,{w:"100%"},n.createElement(aw,{textAlign:"center",p:3},n.createElement(Jr,{size:"md"},"Top 5 longest Dag Runs to finish")),n.createElement(ow,null,n.createElement($r,{mt:2,mb:5},void 0!==e?.totalEntries&&e.totalEntries>0?n.createElement(xot,{size:"sm",style:{tableLayout:"fixed",width:"100%"}},n.createElement(Sot,null,n.createElement(Mot,null,n.createElement(Iot,null,"Dag Id"),n.createElement(Iot,null,"Run Type"),n.createElement(Iot,null,"Duration"))),n.createElement(kot,null,e?.dagRuns?.map((t=>n.createElement(Mot,{key:t.dagRunId},n.createElement(Cot,{textOverflow:"ellipsis",overflow:"hidden",whiteSpace:"nowrap"},n.createElement(ei,{href:`dags/${t.dagId}/grid?dag_run_id=${encodeURIComponent(t.dagRunId)}`},t.dagId)),n.createElement(Cot,null,t.runType),n.createElement(Cot,null,Fy(jy(t.startDate,t.endDate)))))))):n.createElement(Yr,{justifyContent:"center"},n.createElement(Jr,{as:"b",size:"sm"},"No dag running"))),n.createElement(Yr,{justifyContent:"end",textAlign:"right"},n.createElement(hi,{size:"md",color:"gray.500"},"out of ",n.createElement(hi,{as:"b"},e?.totalEntries)," total running Dag Runs"))))))},Aot=()=>n.createElement(Yr,{w:"100%"},n.createElement(iw,{w:"100%"},n.createElement(aw,null,n.createElement(Yr,{alignItems:"center"},n.createElement(Jr,{size:"md"},"Live Metrics"),n.createElement(l_,{label:"Based on real time metrics and current resources state.",size:18}))),n.createElement(ow,null,n.createElement(Yr,{flexWrap:"wrap",alignItems:"center"},n.createElement(Yr,{direction:"column",w:"25%",minW:"300px",minH:"200px",pr:4,justifyContent:"space-around"},n.createElement(vot,null),n.createElement(Tot,null)),n.createElement(bot,{width:"50%",minW:"300px",pr:4}),n.createElement(xk,{width:"25%",minW:"300px"})))));var Eot=(...t)=>t.filter(Boolean).join(" "),Pot=t=>t?"":void 0,[Dot,Oot]=jr({strict:!1,name:"ButtonGroupContext"});function Lot(t){const{children:e,className:r,...i}=t,a=(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{"aria-hidden":!0,focusable:!1}):e,o=Eot("chakra-button__icon",r);return n.createElement(Er.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...i,className:o},a)}function Rot(t){const{label:e,placement:r,spacing:i="0.5rem",children:a=n.createElement(nh,{color:"currentColor",width:"1em",height:"1em"}),className:o,__css:s,...u}=t,c=Eot("chakra-button__spinner",o),l="start"===r?"marginEnd":"marginStart",h=(0,n.useMemo)((()=>({display:"flex",alignItems:"center",position:e?"relative":"absolute",[l]:e?i:0,fontSize:"1em",lineHeight:"normal",...s})),[s,e,l,i]);return n.createElement(Er.div,{className:c,...u,__css:h},a)}Lot.displayName="ButtonIcon",Rot.displayName="ButtonSpinner";var Not=Mr(((t,e)=>{const r=Oot(),i=Tr("Button",{...r,...t}),{isDisabled:a=(null==r?void 0:r.isDisabled),isLoading:o,isActive:s,children:u,leftIcon:c,rightIcon:l,loadingText:h,iconSpacing:f="0.5rem",type:d,spinner:p,spinnerPlacement:g="start",className:b,as:v,...m}=Rn(t),y=(0,n.useMemo)((()=>{const t={...null==i?void 0:i._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...i,...!!r&&{_focus:t}}}),[i,r]),{ref:w,type:x}=function(t){const[e,r]=(0,n.useState)(!t),i=(0,n.useCallback)((t=>{t&&r("BUTTON"===t.tagName)}),[]);return{ref:i,type:e?"button":void 0}}(v),_={rightIcon:l,leftIcon:c,iconSpacing:f,children:u};return n.createElement(Er.button,{disabled:a||o,ref:uw(e,w),as:v,type:d??x,"data-active":Pot(s),"data-loading":Pot(o),__css:y,className:Eot("chakra-button",b),...m},o&&"start"===g&&n.createElement(Rot,{className:"chakra-button__spinner--start",label:h,placement:"start",spacing:f},p),o?h||n.createElement(Er.span,{opacity:0},n.createElement(jot,{..._})):n.createElement(jot,{..._}),o&&"end"===g&&n.createElement(Rot,{className:"chakra-button__spinner--end",label:h,placement:"end",spacing:f},p))}));function jot(t){const{leftIcon:e,rightIcon:r,children:i,iconSpacing:a}=t;return n.createElement(n.Fragment,null,e&&n.createElement(Lot,{marginEnd:a},e),i,r&&n.createElement(Lot,{marginStart:a},r))}Not.displayName="Button";var Fot={horizontal:{"> *:first-of-type:not(:last-of-type)":{borderEndRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderStartRadius:0}},vertical:{"> *:first-of-type:not(:last-of-type)":{borderBottomRadius:0},"> *:not(:first-of-type):not(:last-of-type)":{borderRadius:0},"> *:not(:first-of-type):last-of-type":{borderTopRadius:0}}},Bot={horizontal:t=>({"& > *:not(style) ~ *:not(style)":{marginStart:t}}),vertical:t=>({"& > *:not(style) ~ *:not(style)":{marginTop:t}})},zot=Mr((function(t,e){const{size:r,colorScheme:i,variant:a,className:o,spacing:s="0.5rem",isAttached:u,isDisabled:c,orientation:l="horizontal",...h}=t,f=Eot("chakra-button__group",o),d=(0,n.useMemo)((()=>({size:r,colorScheme:i,variant:a,isDisabled:c})),[r,i,a,c]);let p={display:"inline-flex",...u?Fot[l]:Bot[l](s)};const g="vertical"===l;return n.createElement(Dot,{value:d},n.createElement(Er.div,{ref:e,role:"group",__css:p,className:f,"data-attached":u?"":void 0,"data-orientation":l,flexDir:g?"column":void 0,...h}))}));zot.displayName="ButtonGroup",Mr(((t,e)=>{const{icon:r,children:i,isRound:a,"aria-label":o,...s}=t,u=r||i,c=(0,n.isValidElement)(u)?(0,n.cloneElement)(u,{"aria-hidden":!0,focusable:!1}):null;return n.createElement(Not,{padding:"0",borderRadius:a?"full":void 0,ref:e,"aria-label":o,...s},c)})).displayName="IconButton";const $ot="start_date",Vot="end_date",Hot=new Date;Hot.setMilliseconds(0);const Wot=Hot.toISOString(),Got=()=>{const[t,e]=function(t){let e=(0,n.useRef)(zi(t)),r=Ni(),i=(0,n.useMemo)((()=>{let t=zi(r.search);for(let n of e.current.keys())t.has(n)||e.current.getAll(n).forEach((e=>{t.append(n,e)}));return t}),[r.search]),a=ji();return[i,(0,n.useCallback)(((t,e)=>{a("?"+zi(t),e)}),[a])]}(),r=t.get(Vot)||moment(Wot).add(1,"h").toISOString(),i=(n,r)=>i=>{const a=r?r(i):i,o=new ik(t);a?o.set(n,a):o.delete(n),e(o)};return{filters:{startDate:t.get($ot)||moment(r).subtract(1,"d").toISOString(),endDate:r},onStartDateChange:i($ot,(t=>moment(t).utc().format())),onEndDateChange:i(Vot,(t=>moment(t).utc().format())),clearFilters:()=>{t.delete($ot),t.delete(Vot),e(t)}}};var Uot=(...t)=>t.filter(Boolean).join(" "),Xot=t=>t?"":void 0,qot=t=>!!t||void 0;function Yot(...t){return function(e){t.some((t=>(null==t||t(e),null==e?void 0:e.defaultPrevented)))}}var[Kot,Zot]=jr({name:"FormControlStylesContext",errorMessage:"useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormControl />\" "}),[Qot,Jot]=jr({strict:!1,name:"FormControlContext"});var tst=Mr((function(t,e){const r=Ar("Form",t),i=Rn(t),{getRootProps:a,htmlProps:o,...s}=function(t){const{id:e,isRequired:r,isInvalid:i,isDisabled:a,isReadOnly:o,...s}=t,u=(0,n.useId)(),c=e||`field-${u}`,l=`${c}-label`,h=`${c}-feedback`,f=`${c}-helptext`,[d,p]=(0,n.useState)(!1),[g,b]=(0,n.useState)(!1),[v,m]=(0,n.useState)(!1),y=(0,n.useCallback)(((t={},e=null)=>({id:f,...t,ref:sw(e,(t=>{t&&b(!0)}))})),[f]),w=(0,n.useCallback)(((t={},e=null)=>({...t,ref:e,"data-focus":Xot(v),"data-disabled":Xot(a),"data-invalid":Xot(i),"data-readonly":Xot(o),id:t.id??l,htmlFor:t.htmlFor??c})),[c,a,v,i,o,l]),x=(0,n.useCallback)(((t={},e=null)=>({id:h,...t,ref:sw(e,(t=>{t&&p(!0)})),"aria-live":"polite"})),[h]),_=(0,n.useCallback)(((t={},e=null)=>({...t,...s,ref:e,role:"group"})),[s]),S=(0,n.useCallback)(((t={},e=null)=>({...t,ref:e,role:"presentation","aria-hidden":!0,children:t.children||"*"})),[]);return{isRequired:!!r,isInvalid:!!i,isReadOnly:!!o,isDisabled:!!a,isFocused:!!v,onFocus:()=>m(!0),onBlur:()=>m(!1),hasFeedbackText:d,setHasFeedbackText:p,hasHelpText:g,setHasHelpText:b,id:c,labelId:l,feedbackId:h,helpTextId:f,htmlProps:s,getHelpTextProps:y,getErrorMessageProps:x,getRootProps:_,getLabelProps:w,getRequiredIndicatorProps:S}}(i),u=Uot("chakra-form-control",t.className);return n.createElement(Qot,{value:s},n.createElement(Kot,{value:r},n.createElement(Er.div,{...a({},e),className:u,__css:r.container})))}));tst.displayName="FormControl";var est=Mr((function(t,e){const r=Jot(),i=Zot(),a=Uot("chakra-form__helper-text",t.className);return n.createElement(Er.div,{...null==r?void 0:r.getHelpTextProps(t,e),__css:i.helperText,className:a})}));function nst(t){const{isDisabled:e,isInvalid:n,isReadOnly:r,isRequired:i,...a}=function(t){const e=Jot(),{id:n,disabled:r,readOnly:i,required:a,isRequired:o,isInvalid:s,isReadOnly:u,isDisabled:c,onFocus:l,onBlur:h,...f}=t,d=t["aria-describedby"]?[t["aria-describedby"]]:[];(null==e?void 0:e.hasFeedbackText)&&(null==e?void 0:e.isInvalid)&&d.push(e.feedbackId);(null==e?void 0:e.hasHelpText)&&d.push(e.helpTextId);return{...f,"aria-describedby":d.join(" ")||void 0,id:n??(null==e?void 0:e.id),isDisabled:r??c??(null==e?void 0:e.isDisabled),isReadOnly:i??u??(null==e?void 0:e.isReadOnly),isRequired:a??o??(null==e?void 0:e.isRequired),isInvalid:s??(null==e?void 0:e.isInvalid),onFocus:Yot(null==e?void 0:e.onFocus,l),onBlur:Yot(null==e?void 0:e.onBlur,h)}}(t);return{...a,disabled:e,readOnly:r,required:i,"aria-invalid":qot(n),"aria-required":qot(i),"aria-readonly":qot(r)}}est.displayName="FormHelperText";var[rst,ist]=jr({name:"FormErrorStylesContext",errorMessage:"useFormErrorStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<FormError />\" "}),ast=Mr(((t,e)=>{const r=Ar("FormError",t),i=Rn(t),a=Jot();return(null==a?void 0:a.isInvalid)?n.createElement(rst,{value:r},n.createElement(Er.div,{...null==a?void 0:a.getErrorMessageProps(i,e),className:Uot("chakra-form__error-message",t.className),__css:{display:"flex",alignItems:"center",...r.text}})):null}));ast.displayName="FormErrorMessage";var ost=Mr(((t,e)=>{const r=ist(),i=Jot();if(!(null==i?void 0:i.isInvalid))return null;const a=Uot("chakra-form__error-icon",t.className);return n.createElement(Nr,{ref:e,"aria-hidden":!0,...t,__css:r.icon,className:a},n.createElement("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"}))}));ost.displayName="FormErrorIcon";var sst=Mr((function(t,e){const r=Tr("FormLabel",t),i=Rn(t),{className:a,children:o,requiredIndicator:s=n.createElement(ust,null),optionalIndicator:u=null,...c}=i,l=Jot(),h=(null==l?void 0:l.getLabelProps(c,e))??{ref:e,...c};return n.createElement(Er.label,{...h,className:Uot("chakra-form__label",i.className),__css:{display:"block",textAlign:"start",...r}},o,(null==l?void 0:l.isRequired)?s:u)}));sst.displayName="FormLabel";var ust=Mr((function(t,e){const r=Jot(),i=Zot();if(!(null==r?void 0:r.isRequired))return null;const a=Uot("chakra-form__required-indicator",t.className);return n.createElement(Er.span,{...null==r?void 0:r.getRequiredIndicatorProps(t,e),__css:i.requiredIndicator,className:a})}));ust.displayName="RequiredIndicator";var cst=Mr((function(t,e){const{htmlSize:r,...i}=t,a=Ar("Input",i),o=nst(Rn(i)),s=Or("chakra-input",t.className);return n.createElement(Er.input,{size:r,...o,__css:a.field,ref:e,className:s})}));cst.displayName="Input",cst.id="Input";var[lst,hst]=jr({name:"InputGroupStylesContext",errorMessage:"useInputGroupStyles returned is 'undefined'. Seems you forgot to wrap the components in \"<InputGroup />\" "}),fst=Mr((function(t,e){const r=Ar("Input",t),{children:i,className:a,...o}=Rn(t),s=Or("chakra-input__group",a),u={},c=Fr(i),l=r.field;c.forEach((t=>{r&&(l&&"InputLeftElement"===t.type.id&&(u.paddingStart=l.height??l.h),l&&"InputRightElement"===t.type.id&&(u.paddingEnd=l.height??l.h),"InputRightAddon"===t.type.id&&(u.borderEndRadius=0),"InputLeftAddon"===t.type.id&&(u.borderStartRadius=0))}));const h=c.map((e=>{var r,i;const a=Lr({size:(null==(r=e.props)?void 0:r.size)||t.size,variant:(null==(i=e.props)?void 0:i.variant)||t.variant});return"Input"!==e.type.id?(0,n.cloneElement)(e,a):(0,n.cloneElement)(e,Object.assign(a,u,e.props))}));return n.createElement(Er.div,{className:s,ref:e,__css:{width:"100%",display:"flex",position:"relative"},...o},n.createElement(lst,{value:r},h))}));fst.displayName="InputGroup";var dst={left:{marginEnd:"-1px",borderEndRadius:0,borderEndColor:"transparent"},right:{marginStart:"-1px",borderStartRadius:0,borderStartColor:"transparent"}},pst=Er("div",{baseStyle:{flex:"0 0 auto",width:"auto",display:"flex",alignItems:"center",whiteSpace:"nowrap"}}),gst=Mr((function(t,e){const{placement:r="left",...i}=t,a=dst[r]??{},o=hst();return n.createElement(pst,{ref:e,...i,__css:{...o.addon,...a}})}));gst.displayName="InputAddon";var bst=Mr((function(t,e){return n.createElement(gst,{ref:e,placement:"left",...t,className:Or("chakra-input__left-addon",t.className)})}));bst.displayName="InputLeftAddon",bst.id="InputLeftAddon";var vst=Mr((function(t,e){return n.createElement(gst,{ref:e,placement:"right",...t,className:Or("chakra-input__right-addon",t.className)})}));vst.displayName="InputRightAddon",vst.id="InputRightAddon";var mst=Er("div",{baseStyle:{display:"flex",alignItems:"center",justifyContent:"center",position:"absolute",top:"0",zIndex:2}}),yst=Mr((function(t,e){const{placement:r="left",...i}=t,a=hst(),o=a.field,s={["left"===r?"insetStart":"insetEnd"]:"0",width:(null==o?void 0:o.height)??(null==o?void 0:o.h),height:(null==o?void 0:o.height)??(null==o?void 0:o.h),fontSize:null==o?void 0:o.fontSize,...a.element};return n.createElement(mst,{ref:e,__css:s,...i})}));yst.id="InputElement",yst.displayName="InputElement";var wst=Mr((function(t,e){const{className:r,...i}=t,a=Or("chakra-input__left-element",r);return n.createElement(yst,{ref:e,placement:"left",className:a,...i})}));wst.id="InputLeftElement",wst.displayName="InputLeftElement";var xst=Mr((function(t,e){const{className:r,...i}=t,a=Or("chakra-input__right-element",r);return n.createElement(yst,{ref:e,placement:"right",className:a,...i})}));xst.id="InputRightElement",xst.displayName="InputRightElement";const _st=t=>{const e=navigator.userAgent.toLowerCase();if(!(e.includes("firefox")||e.includes("safari")))return n.createElement(cst,_t({type:"datetime-local"},t));const{value:r,onChange:i,...a}=t;let o=moment(r);o=o.isValid()?o:moment();const s=moment(o).format("YYYY-MM-DD"),u=moment(o).format("HH:mm:ss");return n.createElement(Yr,null,n.createElement(cst,_t({type:"date",value:s,onChange:t=>{i&&i({...t,target:{...t.target,value:`${t.target.value}T${u}`}})}},a,{borderRightWidth:0,borderRightRadius:0,paddingInlineEnd:0})),n.createElement(cst,_t({type:"time",value:u,onChange:t=>{i&&i({...t,target:{...t.target,value:`${s}T${t.target.value}`}})}},a,{borderLeftWidth:0,borderLeftRadius:0,paddingInlineStart:0})))},Sst=()=>{const{filters:t,onStartDateChange:e,onEndDateChange:r,clearFilters:i}=Got(),{timezone:a}=$y(),o=moment(t.startDate),s=moment(t.endDate),u=o.tz(a).format(Ly),c=s.tz(a).format(Ly),l={backgroundColor:"white",size:"lg"};return n.createElement(Yr,{backgroundColor:"blackAlpha.200",mb:4,px:4,py:5,justifyContent:"space-between",flexWrap:"wrap",gap:4},n.createElement(Yr,{justifyContent:"space-between",flexWrap:"wrap",gap:4},n.createElement($r,{px:2},n.createElement(hi,{fontSize:"sm",as:"b",position:"absolute",mt:"-14px",ml:1},"Start Date"),n.createElement(_st,_t({},l,{value:u||"",onChange:t=>e(t.target.value)}))),n.createElement($r,{px:2},n.createElement(hi,{fontSize:"sm",as:"b",position:"absolute",mt:"-14px",ml:1},"End Date"),n.createElement(_st,_t({},l,{value:c||"",onChange:t=>r(t.target.value)}))),n.createElement(Yr,{alignItems:"center"},n.createElement(hi,{whiteSpace:"nowrap"},"for a period of"," ",Fy(jy(u,c))))),n.createElement(Yr,{px:2},n.createElement(Not,{colorScheme:"cyan","aria-label":"Reset filters",background:"white",variant:"outline",onClick:i,size:"lg"},"Clear Filters")))},kst=(0,Wy.mapKeys)(stateColors,((t,e)=>(0,Wy.camelCase)(e))),Ist=t=>{let{title:e,data:r,colorPalette:i=kst,...a}=t;const o=pr(),[s,u]=(t=>{if(void 0===t)return[0,[]];let e=0;const n=[];return Object.entries(t).forEach((t=>{let[r,i]=t;e+=i,n.push({name:r,value:i})})),n.sort(((t,e)=>e.value-t.value)),[e,n]})(r),c={title:{text:`on a total of ${s}`,left:"right",top:"bottom",textStyle:{fontSize:"14px",color:o.colors.gray[500]}},tooltip:{trigger:"item"},legend:{left:"center",type:"scroll"},color:u?.map((t=>{let e=i[t.name];return void 0===e&&(console.warn(`The color for ${t.name} is missing from the palette, defaulting to black`),e="black"),e})),series:[{name:e,type:"pie",radius:["35%","60%"],avoidLabelOverlap:!1,top:"0%",itemStyle:{borderRadius:5,borderColor:"#fff",borderWidth:2},label:{show:!1,position:"center"},emphasis:{label:{show:!0,fontSize:16,fontWeight:"bold"}},data:u}]};return n.createElement($r,a,n.createElement(iw,{h:"100%"},n.createElement(aw,{textAlign:"center",p:3},n.createElement(Jr,{size:"md"},e)),n.createElement(ow,null,n.createElement(pot,{option:c}))))},Mst=()=>{const{filters:{startDate:t,endDate:e}}=Got(),{data:r,isError:i}=bk(t,e);return n.createElement(Yr,{w:"100%"},n.createElement(iw,{w:"100%"},n.createElement(aw,null,n.createElement(Yr,{alignItems:"center"},n.createElement(Jr,{size:"md"},"Historical metrics"),n.createElement(l_,{label:"Based on historical data. You can adjust the period by setting a different start and end date filter.",size:18}))),n.createElement(ow,null,n.createElement(Sst,null),n.createElement(Yr,{justifyContent:"center",minH:"200px",alignItems:"center"},n.createElement(yk,{hasData:!!r,isError:i},n.createElement(Yr,{flexWrap:"wrap",width:"100%"},n.createElement(Ist,{title:"Dag Run States",data:r?.dagRunStates,width:"33.33%",minW:"300px",minH:"350px",pr:4,colorPalette:{failed:stateColors.failed,queued:stateColors.queued,running:stateColors.running,success:stateColors.success}}),n.createElement(Ist,{title:"Dag Run Types",data:r?.dagRunTypes,width:"33.33%",minW:"300px",minH:"350px",pr:4,colorPalette:{backfill:stateColors.deferred,datasetTriggered:stateColors.queued,manual:stateColors.success,scheduled:stateColors.scheduled}}),n.createElement(Ist,{title:"Task Instance States",data:r?.taskInstanceStates,width:"33.33%",minW:"300px",minH:"350px"})))))))},Cst=document.querySelector("#root")?.attachShadow({mode:"open"}),Tst=ut({container:Cst,key:"c"}),Ast=document.getElementById("react-container"),Est=()=>n.createElement(Yr,{alignItems:"flex-start",flexDirection:"column",justifyContent:"space-between"},n.createElement(Jr,{mt:3,mb:2,fontWeight:"normal",size:"lg"},"Cluster Activity"),n.createElement(Aot,null),n.createElement(Mst,null)),Pst=Est;if(Ast){Cst?.appendChild(Ast);(0,i.H)(Ast).render(n.createElement(tw,{cache:Tst},n.createElement(Est,null)))}})(),s})()));
|