mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
14 lines
2.7 MiB
14 lines
2.7 MiB
(function (global, factory) {
|
||
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('ckeditor5')) :
|
||
typeof define === 'function' && define.amd ? define(['exports', 'ckeditor5'], factory) :
|
||
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global["@ckeditor/ckeditor5-mermaid"] = {}, global.ckeditor5));
|
||
})(this, (function (exports, ckeditor5) { 'use strict';
|
||
|
||
var a,o,s='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M8 1.219C4.254 1.219 1.219 4.28 1.219 8A6.78 6.78 0 0 0 8 14.781c3.719 0 6.781-3.035 6.781-6.781 0-3.719-3.062-6.781-6.781-6.781Zm0 12.25A5.45 5.45 0 0 1 2.531 8 5.467 5.467 0 0 1 8 2.531c3.008 0 5.469 2.461 5.469 5.469A5.467 5.467 0 0 1 8 13.469Zm0-9.242c-.656 0-1.148.52-1.148 1.148 0 .656.492 1.148 1.148 1.148.629 0 1.148-.492 1.148-1.148 0-.629-.52-1.148-1.148-1.148Zm1.531 6.945v-.656a.353.353 0 0 0-.328-.329h-.328V7.454a.353.353 0 0 0-.328-.328h-1.75a.332.332 0 0 0-.328.328v.656c0 .192.136.329.328.329h.328v1.75h-.328a.333.333 0 0 0-.328.328v.656c0 .191.136.328.328.328h2.406a.332.332 0 0 0 .328-.328Z"/></svg>\n',u='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="m8 11.5 3.004-3.004 3.003 3.004-3.003 3.004L8 11.5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M9.504 2.863v3h3v-3h-3Zm-1 4h5v-5h-5v5Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M11.004 14.504 8 11.5l2.504-2.504V6.07h1v2.926l2.503 2.504-3.003 3.004ZM9.414 11.5l1.59-1.59 1.59 1.59-1.59 1.59-1.59-1.59ZM6.837 4.999h2.625v-1h-2.57a2.5 2.5 0 1 0-2.974 2.814V9h-2v5h5V9h-2V6.813c.934-.19 1.68-.9 1.919-1.814Zm-3.919-.636a1.5 1.5 0 1 1 3 0 1.5 1.5 0 0 1-3 0Zm0 5.637v3h3v-3h-3Z"/></svg>\n',l='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M13.8 11.609V13.4a.4.4 0 0 1-.4.4H2.6a.4.4 0 0 1-.4-.4v-1.791H1V13.4A1.6 1.6 0 0 0 2.6 15h10.8a1.6 1.6 0 0 0 1.6-1.6v-1.791h-1.2ZM13.8 4.997H15V2.6A1.6 1.6 0 0 0 13.4 1H2.6A1.6 1.6 0 0 0 1 2.6v2.397h1.2V2.6c0-.22.18-.4.4-.4h10.8c.22 0 .4.18.4.4v2.397Z"/><path d="M8 11.095c-1.92 0-3.837-.919-5.749-2.757L2 8.095l.251-.242c3.815-3.677 7.683-3.677 11.498 0l.251.242-.251.243C11.84 10.176 9.925 11.095 8 11.096Zm-5.02-3c3.375 3.1 6.665 3.1 10.04 0-3.375-3.1-6.665-3.095-10.04 0Z"/><path fill-rule="evenodd" clip-rule="evenodd" d="M13.514 8.095c-3.676 3.543-7.352 3.543-11.028 0 3.676-3.542 7.352-3.542 11.028 0Zm-3.586 0A1.926 1.926 0 0 1 8 10.02a1.926 1.926 0 0 1-1.928-1.924c0-1.062.863-1.924 1.928-1.924s1.928.862 1.928 1.924Z"/><path d="M8 8.861a.767.767 0 1 0 .002-1.533A.767.767 0 0 0 8 8.86Z"/></svg>\n',h='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M13.8 3.076H8.588V13.8H13.4a.4.4 0 0 0 .4-.4V3.076Zm-6.412 0H2.2V13.4c0 .22.18.4.4.4h4.788V3.076ZM2.6 1A1.6 1.6 0 0 0 1 2.6v10.8A1.6 1.6 0 0 0 2.6 15h10.8a1.6 1.6 0 0 0 1.6-1.6V2.6A1.6 1.6 0 0 0 13.4 1H2.6Z"/></svg>\n',f='<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path d="M11.609 2.2H13.4c.22 0 .4.18.4.4v10.8a.4.4 0 0 1-.4.4h-1.791V15H13.4a1.6 1.6 0 0 0 1.6-1.6V2.6A1.6 1.6 0 0 0 13.4 1h-1.791v1.2ZM4.997 2.2V1H2.6A1.6 1.6 0 0 0 1 2.6v10.8A1.6 1.6 0 0 0 2.6 15h2.397v-1.2H2.6a.4.4 0 0 1-.4-.4V2.6c0-.22.18-.4.4-.4h2.397Z"/><path d="M3.511 4.778a.75.75 0 0 1 .75-.75h3.697a.75.75 0 1 1 0 1.5H4.26a.75.75 0 0 1-.75-.75ZM6.595 7.629a.75.75 0 0 1 .75-.75h3.588a.75.75 0 0 1 0 1.5H7.345a.75.75 0 0 1-.75-.75ZM6.595 10.48a.75.75 0 0 1 .75-.75h1.143a.75.75 0 1 1 0 1.5H7.345a.75.75 0 0 1-.75-.75ZM3.511 7.629a.75.75 0 0 1 .75-.75h.983a.75.75 0 1 1 0 1.5h-.983a.75.75 0 0 1-.75-.75ZM3.511 10.48a.75.75 0 0 1 .75-.75h.983a.75.75 0 1 1 0 1.5h-.983a.75.75 0 0 1-.75-.75Z"/></svg>\n',d="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},g={exports:{}};o=g.exports,(a=g).exports=function(){function t(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var r=i.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");i=i.map((function(t){return t.replace(a,"\n")}));}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];return e.forEach((function(t,e){var n=o.match(/(?:^|\n)( *)$/),r=n?n[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+r+t})).join("\n")),o+=a+i[e+1];})),o}var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==d?d:"undefined"!=typeof self?self:{};function n(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var i,r={};i=function(){var t=1e3,e=6e4,n=36e5,i="millisecond",r="second",a="minute",o="hour",s="day",c="week",u="month",l="quarter",h="year",f="date",d="Invalid Date",g=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,p=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},w=function(t,e,n){var i=String(t);return !i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},y={s:w,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return (e<=0?"+":"-")+w(i,2,"0")+":"+w(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,u),a=n-r<0,o=e.clone().add(i+(a?-1:1),u);return +(-(i+(n-r)/(a?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:u,y:h,w:c,d:s,D:f,h:o,m:a,s:r,ms:i,Q:l}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},m="en",v={};v[m]=b;var x=function(t){return t instanceof T},k=function t(e,n,i){var r;if(!e)return m;if("string"==typeof e){var a=e.toLowerCase();v[a]&&(r=a),n&&(v[a]=n,r=a);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else {var s=e.name;v[s]=e,r=s;}return !i&&r&&(m=r),r||!i&&m},_=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},E=y;E.l=k,E.i=x,E.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function b(t){this.$L=k(t.locale,null,!0),this.parse(t);}var w=b.prototype;return w.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(g);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.$x=t.x||{},this.init();},w.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},w.$utils=function(){return E},w.isValid=function(){return !(this.$d.toString()===d)},w.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},w.isAfter=function(t,e){return _(t)<this.startOf(e)},w.isBefore=function(t,e){return this.endOf(e)<_(t)},w.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},w.unix=function(){return Math.floor(this.valueOf()/1e3)},w.valueOf=function(){return this.$d.getTime()},w.startOf=function(t,e){var n=this,i=!!E.u(e)||e,l=E.p(t),d=function(t,e){var r=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return i?r:r.endOf(s)},g=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(i?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,b=this.$M,w=this.$D,y="set"+(this.$u?"UTC":"");switch(l){case h:return i?d(1,0):d(31,11);case u:return i?d(1,b):d(0,b+1);case c:var m=this.$locale().weekStart||0,v=(p<m?p+7:p)-m;return d(i?w-v:w+(6-v),b);case s:case f:return g(y+"Hours",0);case o:return g(y+"Minutes",1);case a:return g(y+"Seconds",2);case r:return g(y+"Milliseconds",3);default:return this.clone()}},w.endOf=function(t){return this.startOf(t,!1)},w.$set=function(t,e){var n,c=E.p(t),l="set"+(this.$u?"UTC":""),d=(n={},n[s]=l+"Date",n[f]=l+"Date",n[u]=l+"Month",n[h]=l+"FullYear",n[o]=l+"Hours",n[a]=l+"Minutes",n[r]=l+"Seconds",n[i]=l+"Milliseconds",n)[c],g=c===s?this.$D+(e-this.$W):e;if(c===u||c===h){var p=this.clone().set(f,1);p.$d[d](g),p.init(),this.$d=p.set(f,Math.min(this.$D,p.daysInMonth())).$d;}else d&&this.$d[d](g);return this.init(),this},w.set=function(t,e){return this.clone().$set(t,e)},w.get=function(t){return this[E.p(t)]()},w.add=function(i,l){var f,d=this;i=Number(i);var g=E.p(l),p=function(t){var e=_(d);return E.w(e.date(e.date()+Math.round(t*i)),d)};if(g===u)return this.set(u,this.$M+i);if(g===h)return this.set(h,this.$y+i);if(g===s)return p(1);if(g===c)return p(7);var b=(f={},f[a]=e,f[o]=n,f[r]=t,f)[g]||1,w=this.$d.getTime()+i*b;return E.w(w,this)},w.subtract=function(t,e){return this.add(-1*t,e)},w.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||d;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=function(t,n,r,a){return t&&(t[n]||t(e,i))||r[n].slice(0,a)},h=function(t){return E.s(a%12||12,t,"0")},f=n.meridiem||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i},g={YY:String(this.$y).slice(-2),YYYY:this.$y,M:s+1,MM:E.s(s+1,2,"0"),MMM:l(n.monthsShort,s,u,3),MMMM:l(u,s),D:this.$D,DD:E.s(this.$D,2,"0"),d:String(this.$W),dd:l(n.weekdaysMin,this.$W,c,2),ddd:l(n.weekdaysShort,this.$W,c,3),dddd:c[this.$W],H:String(a),HH:E.s(a,2,"0"),h:h(1),hh:h(2),a:f(a,o,!0),A:f(a,o,!1),m:String(o),mm:E.s(o,2,"0"),s:String(this.$s),ss:E.s(this.$s,2,"0"),SSS:E.s(this.$ms,3,"0"),Z:r};return i.replace(p,(function(t,e){return e||g[t]||r.replace(":","")}))},w.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},w.diff=function(i,f,d){var g,p=E.p(f),b=_(i),w=(b.utcOffset()-this.utcOffset())*e,y=this-b,m=E.m(this,b);return m=(g={},g[h]=m/12,g[u]=m,g[l]=m/3,g[c]=(y-w)/6048e5,g[s]=(y-w)/864e5,g[o]=y/n,g[a]=y/e,g[r]=y/t,g)[p]||y,d?m:E.a(m)},w.daysInMonth=function(){return this.endOf(u).$D},w.$locale=function(){return v[this.$L]},w.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=k(t,e,!0);return i&&(n.$L=i),n},w.clone=function(){return E.w(this.$d,this)},w.toDate=function(){return new Date(this.valueOf())},w.toJSON=function(){return this.isValid()?this.toISOString():null},w.toISOString=function(){return this.$d.toISOString()},w.toString=function(){return this.$d.toUTCString()},b}(),C=T.prototype;return _.prototype=C,[["$ms",i],["$s",r],["$m",a],["$H",o],["$W",s],["$M",u],["$y",h],["$D",f]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),_.extend=function(t,e){return t.$i||(t(e,T,_),t.$i=!0),_},_.locale=k,_.isDayjs=x,_.unix=function(t){return _(1e3*t)},_.en=v[m],_.Ls=v,_.p={},_},{get exports(){return r},set exports(t){r=t;}}.exports=i();const s=r,u={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},l={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},h=function(t="fatal"){let e=u.fatal;"string"==typeof t?(t=t.toLowerCase())in u&&(e=u[t]):"number"==typeof t&&(e=t),l.trace=()=>{},l.debug=()=>{},l.info=()=>{},l.warn=()=>{},l.error=()=>{},l.fatal=()=>{},e<=u.fatal&&(l.fatal=console.error?console.error.bind(console,f("FATAL"),"color: orange"):console.log.bind(console,"[35m",f("FATAL"))),e<=u.error&&(l.error=console.error?console.error.bind(console,f("ERROR"),"color: orange"):console.log.bind(console,"[31m",f("ERROR"))),e<=u.warn&&(l.warn=console.warn?console.warn.bind(console,f("WARN"),"color: orange"):console.log.bind(console,"[33m",f("WARN"))),e<=u.info&&(l.info=console.info?console.info.bind(console,f("INFO"),"color: lightblue"):console.log.bind(console,"[34m",f("INFO"))),e<=u.debug&&(l.debug=console.debug?console.debug.bind(console,f("DEBUG"),"color: lightgreen"):console.log.bind(console,"[32m",f("DEBUG"))),e<=u.trace&&(l.trace=console.debug?console.debug.bind(console,f("TRACE"),"color: lightgreen"):console.log.bind(console,"[32m",f("TRACE")));},f=t=>`%c${s().format("ss.SSS")} : ${t} : `;var g={};Object.defineProperty(g,"__esModule",{value:!0});var p=g.sanitizeUrl=void 0,b=/^([^\w]*)(javascript|data|vbscript)/im,w=/&#(\w+)(^\w|;)?/g,y=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,m=/^([^:]+):/gm,v=[".","/"];function x(t){return v.indexOf(t[0])>-1}function k(t){return t.replace(w,(function(t,e){return String.fromCharCode(e)}))}function _(t){var e=k(t||"").replace(y,"").trim();if(!e)return "about:blank";if(x(e))return e;var n=e.match(m);if(!n)return e;var i=n[0];return b.test(i)?"about:blank":e}function E(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function T(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function C(t){let e,n,i;function r(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<0?r=e+1:a=e;}while(r<a)}return r}function a(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<=0?r=e+1:a=e;}while(r<a)}return r}function o(t,e,n=0,a=t.length){const o=r(t,e,n,a-1);return o>n&&i(t[o-1],e)>-i(t[o],e)?o-1:o}return 2!==t.length?(e=E,n=(e,n)=>E(t(e),n),i=(e,n)=>t(e)-n):(e=t===E||t===T?t:S,n=t,i=t),{left:r,center:o,right:a}}function S(){return 0}function A(t){return null===t?NaN:+t}p=g.sanitizeUrl=_;const M=C(E).right;C(A).center;const I=M;class O extends Map{constructor(t,e=P){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n);}get(t){return super.get(L(this,t))}has(t){return super.has(L(this,t))}set(t,e){return super.set(D(this,t),e)}delete(t){return super.delete(N(this,t))}}function L({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function D({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function N({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function P(t){return null!==t&&"object"==typeof t?t.valueOf():t}var B=Math.sqrt(50),R=Math.sqrt(10),j=Math.sqrt(2);function $(t,e,n){var i,r,a,o,s=-1;if(n=+n,(t=+t)==(e=+e)&&n>0)return [t];if((i=e<t)&&(r=t,t=e,e=r),0===(o=F(t,e,n))||!isFinite(o))return [];if(o>0){let n=Math.round(t/o),i=Math.round(e/o);for(n*o<t&&++n,i*o>e&&--i,a=new Array(r=i-n+1);++s<r;)a[s]=(n+s)*o;}else {o=-o;let n=Math.round(t*o),i=Math.round(e*o);for(n/o<t&&++n,i/o>e&&--i,a=new Array(r=i-n+1);++s<r;)a[s]=(n+s)/o;}return i&&a.reverse(),a}function F(t,e,n){var i=(e-t)/Math.max(0,n),r=Math.floor(Math.log(i)/Math.LN10),a=i/Math.pow(10,r);return r>=0?(a>=B?10:a>=R?5:a>=j?2:1)*Math.pow(10,r):-Math.pow(10,-r)/(a>=B?10:a>=R?5:a>=j?2:1)}function z(t,e,n){var i=Math.abs(e-t)/Math.max(0,n),r=Math.pow(10,Math.floor(Math.log(i)/Math.LN10)),a=i/r;return a>=B?r*=10:a>=R?r*=5:a>=j&&(r*=2),e<t?-r:r}function H(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else {let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r);}return n}function U(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else {let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r);}return n}function G(t){return t}var q=1,K=2,Y=3,W=4,X=1e-6;function V(t){return "translate("+t+",0)"}function Z(t){return "translate(0,"+t+")"}function Q(t){return e=>+t(e)}function J(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function tt(){return !this.__axis}function et(t,e){var n=[],i=null,r=null,a=6,o=6,s=3,c="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,u=t===q||t===W?-1:1,l=t===W||t===K?"x":"y",h=t===q||t===Y?V:Z;function f(f){var d=null==i?e.ticks?e.ticks.apply(e,n):e.domain():i,g=null==r?e.tickFormat?e.tickFormat.apply(e,n):G:r,p=Math.max(a,0)+s,b=e.range(),w=+b[0]+c,y=+b[b.length-1]+c,m=(e.bandwidth?J:Q)(e.copy(),c),v=f.selection?f.selection():f,x=v.selectAll(".domain").data([null]),k=v.selectAll(".tick").data(d,e).order(),_=k.exit(),E=k.enter().append("g").attr("class","tick"),T=k.select("line"),C=k.select("text");x=x.merge(x.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),k=k.merge(E),T=T.merge(E.append("line").attr("stroke","currentColor").attr(l+"2",u*a)),C=C.merge(E.append("text").attr("fill","currentColor").attr(l,u*p).attr("dy",t===q?"0em":t===Y?"0.71em":"0.32em")),f!==v&&(x=x.transition(f),k=k.transition(f),T=T.transition(f),C=C.transition(f),_=_.transition(f).attr("opacity",X).attr("transform",(function(t){return isFinite(t=m(t))?h(t+c):this.getAttribute("transform")})),E.attr("opacity",X).attr("transform",(function(t){var e=this.parentNode.__axis;return h((e&&isFinite(e=e(t))?e:m(t))+c)}))),_.remove(),x.attr("d",t===W||t===K?o?"M"+u*o+","+w+"H"+c+"V"+y+"H"+u*o:"M"+c+","+w+"V"+y:o?"M"+w+","+u*o+"V"+c+"H"+y+"V"+u*o:"M"+w+","+c+"H"+y),k.attr("opacity",1).attr("transform",(function(t){return h(m(t)+c)})),T.attr(l+"2",u*a),C.attr(l,u*p).text(g),v.filter(tt).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===K?"start":t===W?"end":"middle"),v.each((function(){this.__axis=m;}));}return f.scale=function(t){return arguments.length?(e=t,f):e},f.ticks=function(){return n=Array.from(arguments),f},f.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),f):n.slice()},f.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),f):i&&i.slice()},f.tickFormat=function(t){return arguments.length?(r=t,f):r},f.tickSize=function(t){return arguments.length?(a=o=+t,f):a},f.tickSizeInner=function(t){return arguments.length?(a=+t,f):a},f.tickSizeOuter=function(t){return arguments.length?(o=+t,f):o},f.tickPadding=function(t){return arguments.length?(s=+t,f):s},f.offset=function(t){return arguments.length?(c=+t,f):c},f}function nt(t){return et(q,t)}function it(t){return et(Y,t)}var rt={value:()=>{}};function at(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[];}return new ot(i)}function ot(t){this._=t;}function st(t,e){return t.trim().split(/^|\s+/).map((function(t){var n="",i=t.indexOf(".");if(i>=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return {type:t,name:n}}))}function ct(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function ut(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=rt,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}ot.prototype=at.prototype={constructor:ot,on:function(t,e){var n,i=this._,r=st(t+"",i),a=-1,o=r.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++a<o;)if(n=(t=r[a]).type)i[n]=ut(i[n],t.name,e);else if(null==e)for(n in i)i[n]=ut(i[n],t.name,null);return this}for(;++a<o;)if((n=(t=r[a]).type)&&(n=ct(i[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new ot(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),a=0;a<n;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(i=this._[t]).length;a<n;++a)i[a].value.apply(e,r);},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,a=i.length;r<a;++r)i[r].value.apply(e,n);}};var lt="http://www.w3.org/1999/xhtml";const ht={svg:"http://www.w3.org/2000/svg",xhtml:lt,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function ft(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),ht.hasOwnProperty(e)?{space:ht[e],local:t}:t}function dt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===lt&&e.documentElement.namespaceURI===lt?e.createElement(t):e.createElementNS(n,t)}}function gt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function pt(t){var e=ft(t);return (e.local?gt:dt)(e)}function bt(){}function wt(t){return null==t?bt:function(){return this.querySelector(t)}}function yt(t){"function"!=typeof t&&(t=wt(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o,s=e[r],c=s.length,u=i[r]=new Array(c),l=0;l<c;++l)(a=s[l])&&(o=t.call(a,a.__data__,l,s))&&("__data__"in a&&(o.__data__=a.__data__),u[l]=o);return new sn(i,this._parents)}function mt(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function vt(){return []}function xt(t){return null==t?vt:function(){return this.querySelectorAll(t)}}function kt(t){return function(){return mt(t.apply(this,arguments))}}function _t(t){t="function"==typeof t?kt(t):xt(t);for(var e=this._groups,n=e.length,i=[],r=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,u=0;u<c;++u)(o=s[u])&&(i.push(t.call(o,o.__data__,u,s)),r.push(o));return new sn(i,r)}function Et(t){return function(){return this.matches(t)}}function Tt(t){return function(e){return e.matches(t)}}var Ct=Array.prototype.find;function St(t){return function(){return Ct.call(this.children,t)}}function At(){return this.firstElementChild}function Mt(t){return this.select(null==t?At:St("function"==typeof t?t:Tt(t)))}var It=Array.prototype.filter;function Ot(){return Array.from(this.children)}function Lt(t){return function(){return It.call(this.children,t)}}function Dt(t){return this.selectAll(null==t?Ot:Lt("function"==typeof t?t:Tt(t)))}function Nt(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new sn(i,this._parents)}function Pt(t){return new Array(t.length)}function Bt(){return new sn(this._enter||this._groups.map(Pt),this._parents)}function Rt(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e;}function jt(t){return function(){return t}}function $t(t,e,n,i,r,a){for(var o,s=0,c=e.length,u=a.length;s<u;++s)(o=e[s])?(o.__data__=a[s],i[s]=o):n[s]=new Rt(t,a[s]);for(;s<c;++s)(o=e[s])&&(r[s]=o);}function Ft(t,e,n,i,r,a,o){var s,c,u,l=new Map,h=e.length,f=a.length,d=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=u=o.call(c,c.__data__,s,e)+"",l.has(u)?r[s]=c:l.set(u,c));for(s=0;s<f;++s)u=o.call(t,a[s],s,a)+"",(c=l.get(u))?(i[s]=c,c.__data__=a[s],l.delete(u)):n[s]=new Rt(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&l.get(d[s])===c&&(r[s]=c);}function zt(t){return t.__data__}function Ht(t,e){if(!arguments.length)return Array.from(this,zt);var n=e?Ft:$t,i=this._parents,r=this._groups;"function"!=typeof t&&(t=jt(t));for(var a=r.length,o=new Array(a),s=new Array(a),c=new Array(a),u=0;u<a;++u){var l=i[u],h=r[u],f=h.length,d=Ut(t.call(l,l&&l.__data__,u,i)),g=d.length,p=s[u]=new Array(g),b=o[u]=new Array(g);n(l,h,p,b,c[u]=new Array(f),d,e);for(var w,y,m=0,v=0;m<g;++m)if(w=p[m]){for(m>=v&&(v=m+1);!(y=b[v])&&++v<g;);w._next=y||null;}}return (o=new sn(o,i))._enter=s,o._exit=c,o}function Ut(t){return "object"==typeof t&&"length"in t?t:Array.from(t)}function Gt(){return new sn(this._exit||this._groups.map(Pt),this._parents)}function qt(t,e,n){var i=this.enter(),r=this,a=this.exit();return "function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(r=e(r))&&(r=r.selection()),null==n?a.remove():n(a),i&&r?i.merge(r).order():r}function Kt(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,a=i.length,o=Math.min(r,a),s=new Array(r),c=0;c<o;++c)for(var u,l=n[c],h=i[c],f=l.length,d=s[c]=new Array(f),g=0;g<f;++g)(u=l[g]||h[g])&&(d[g]=u);for(;c<r;++c)s[c]=n[c];return new sn(s,this._parents)}function Yt(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],a=r.length-1,o=r[a];--a>=0;)(i=r[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this}function Wt(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=Xt);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a<i;++a){for(var o,s=n[a],c=s.length,u=r[a]=new Array(c),l=0;l<c;++l)(o=s[l])&&(u[l]=o);u.sort(e);}return new sn(r,this._parents).order()}function Xt(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}function Vt(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this}function Zt(){return Array.from(this)}function Qt(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,a=i.length;r<a;++r){var o=i[r];if(o)return o}return null}function Jt(){let t=0;for(const e of this)++t;return t}function te(){return !this.node()}function ee(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,a=e[n],o=0,s=a.length;o<s;++o)(r=a[o])&&t.call(r,r.__data__,o,a);return this}function ne(t){return function(){this.removeAttribute(t);}}function ie(t){return function(){this.removeAttributeNS(t.space,t.local);}}function re(t,e){return function(){this.setAttribute(t,e);}}function ae(t,e){return function(){this.setAttributeNS(t.space,t.local,e);}}function oe(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n);}}function se(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n);}}function ce(t,e){var n=ft(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?ie:ne:"function"==typeof e?n.local?se:oe:n.local?ae:re)(n,e))}function ue(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function le(t){return function(){this.style.removeProperty(t);}}function he(t,e,n){return function(){this.style.setProperty(t,e,n);}}function fe(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n);}}function de(t,e,n){return arguments.length>1?this.each((null==e?le:"function"==typeof e?fe:he)(t,e,null==n?"":n)):ge(this.node(),t)}function ge(t,e){return t.style.getPropertyValue(e)||ue(t).getComputedStyle(t,null).getPropertyValue(e)}function pe(t){return function(){delete this[t];}}function be(t,e){return function(){this[t]=e;}}function we(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n;}}function ye(t,e){return arguments.length>1?this.each((null==e?pe:"function"==typeof e?we:be)(t,e)):this.node()[t]}function me(t){return t.trim().split(/^|\s+/)}function ve(t){return t.classList||new xe(t)}function xe(t){this._node=t,this._names=me(t.getAttribute("class")||"");}function ke(t,e){for(var n=ve(t),i=-1,r=e.length;++i<r;)n.add(e[i]);}function _e(t,e){for(var n=ve(t),i=-1,r=e.length;++i<r;)n.remove(e[i]);}function Ee(t){return function(){ke(this,t);}}function Te(t){return function(){_e(this,t);}}function Ce(t,e){return function(){(e.apply(this,arguments)?ke:_e)(this,t);}}function Se(t,e){var n=me(t+"");if(arguments.length<2){for(var i=ve(this.node()),r=-1,a=n.length;++r<a;)if(!i.contains(n[r]))return !1;return !0}return this.each(("function"==typeof e?Ce:e?Ee:Te)(n,e))}function Ae(){this.textContent="";}function Me(t){return function(){this.textContent=t;}}function Ie(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e;}}function Oe(t){return arguments.length?this.each(null==t?Ae:("function"==typeof t?Ie:Me)(t)):this.node().textContent}function Le(){this.innerHTML="";}function De(t){return function(){this.innerHTML=t;}}function Ne(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e;}}function Pe(t){return arguments.length?this.each(null==t?Le:("function"==typeof t?Ne:De)(t)):this.node().innerHTML}function Be(){this.nextSibling&&this.parentNode.appendChild(this);}function Re(){return this.each(Be)}function je(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild);}function $e(){return this.each(je)}function Fe(t){var e="function"==typeof t?t:pt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))}function ze(){return null}function He(t,e){var n="function"==typeof t?t:pt(t),i=null==e?ze:"function"==typeof e?e:wt(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))}function Ue(){var t=this.parentNode;t&&t.removeChild(this);}function Ge(){return this.each(Ue)}function qe(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ke(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function Ye(t){return this.select(t?Ke:qe)}function We(t){return arguments.length?this.property("__data__",t):this.node().__data__}function Xe(t){return function(e){t.call(this,e,this.__data__);}}function Ve(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function Ze(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=e.length;i<a;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on;}}}function Qe(t,e,n){return function(){var i,r=this.__on,a=Xe(e);if(r)for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),void(i.value=e);this.addEventListener(t.type,a,n),i={type:t.type,name:t.name,value:e,listener:a,options:n},r?r.push(i):this.__on=[i];}}function Je(t,e,n){var i,r,a=Ve(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?Qe:Ze,i=0;i<o;++i)this.each(s(a[i],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(i=0,c=s[u];i<o;++i)if((r=a[i]).type===c.type&&r.name===c.name)return c.value}function tn(t,e,n){var i=ue(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r);}function en(t,e){return function(){return tn(this,t,e)}}function nn(t,e){return function(){return tn(this,t,e.apply(this,arguments))}}function rn(t,e){return this.each(("function"==typeof e?nn:en)(t,e))}function*an(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],a=0,o=r.length;a<o;++a)(i=r[a])&&(yield i);}Rt.prototype={constructor:Rt,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}},xe.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")));},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")));},contains:function(t){return this._names.indexOf(t)>=0}};var on=[null];function sn(t,e){this._groups=t,this._parents=e;}function cn(){return new sn([[document.documentElement]],on)}function un(){return this}function ln(t){return "string"==typeof t?new sn([[document.querySelector(t)]],[document.documentElement]):new sn([[t]],on)}function hn(t){return "string"==typeof t?new sn([document.querySelectorAll(t)],[document.documentElement]):new sn([mt(t)],on)}function fn(t,e,n){t.prototype=e.prototype=n,n.constructor=t;}function dn(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function gn(){}sn.prototype=cn.prototype={constructor:sn,select:yt,selectAll:_t,selectChild:Mt,selectChildren:Dt,filter:Nt,data:Ht,enter:Bt,exit:Gt,join:qt,merge:Kt,selection:un,order:Yt,sort:Wt,call:Vt,nodes:Zt,node:Qt,size:Jt,empty:te,each:ee,attr:ce,style:de,property:ye,classed:Se,text:Oe,html:Pe,raise:Re,lower:$e,append:Fe,insert:He,remove:Ge,clone:Ye,datum:We,on:Je,dispatch:rn,[Symbol.iterator]:an};var pn=.7,bn=1/pn,wn="\\s*([+-]?\\d+)\\s*",yn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",mn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",vn=/^#([0-9a-f]{3,8})$/,xn=new RegExp(`^rgb\\(${wn},${wn},${wn}\\)$`),kn=new RegExp(`^rgb\\(${mn},${mn},${mn}\\)$`),_n=new RegExp(`^rgba\\(${wn},${wn},${wn},${yn}\\)$`),En=new RegExp(`^rgba\\(${mn},${mn},${mn},${yn}\\)$`),Tn=new RegExp(`^hsl\\(${yn},${mn},${mn}\\)$`),Cn=new RegExp(`^hsla\\(${yn},${mn},${mn},${yn}\\)$`),Sn={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function An(){return this.rgb().formatHex()}function Mn(){return this.rgb().formatHex8()}function In(){return qn(this).formatHsl()}function On(){return this.rgb().formatRgb()}function Ln(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=vn.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?Dn(e):3===n?new Rn(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?Nn(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Nn(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=xn.exec(t))?new Rn(e[1],e[2],e[3],1):(e=kn.exec(t))?new Rn(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=_n.exec(t))?Nn(e[1],e[2],e[3],e[4]):(e=En.exec(t))?Nn(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Tn.exec(t))?Gn(e[1],e[2]/100,e[3]/100,1):(e=Cn.exec(t))?Gn(e[1],e[2]/100,e[3]/100,e[4]):Sn.hasOwnProperty(t)?Dn(Sn[t]):"transparent"===t?new Rn(NaN,NaN,NaN,0):null}function Dn(t){return new Rn(t>>16&255,t>>8&255,255&t,1)}function Nn(t,e,n,i){return i<=0&&(t=e=n=NaN),new Rn(t,e,n,i)}function Pn(t){return t instanceof gn||(t=Ln(t)),t?new Rn((t=t.rgb()).r,t.g,t.b,t.opacity):new Rn}function Bn(t,e,n,i){return 1===arguments.length?Pn(t):new Rn(t,e,n,null==i?1:i)}function Rn(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i;}function jn(){return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}`}function $n(){return `#${Un(this.r)}${Un(this.g)}${Un(this.b)}${Un(255*(isNaN(this.opacity)?1:this.opacity))}`}function Fn(){const t=zn(this.opacity);return `${1===t?"rgb(":"rgba("}${Hn(this.r)}, ${Hn(this.g)}, ${Hn(this.b)}${1===t?")":`, ${t})`}`}function zn(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Hn(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Un(t){return ((t=Hn(t))<16?"0":"")+t.toString(16)}function Gn(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Yn(t,e,n,i)}function qn(t){if(t instanceof Yn)return new Yn(t.h,t.s,t.l,t.opacity);if(t instanceof gn||(t=Ln(t)),!t)return new Yn;if(t instanceof Yn)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,c=(a+r)/2;return s?(o=e===a?(n-i)/s+6*(n<i):n===a?(i-e)/s+2:(e-n)/s+4,s/=c<.5?a+r:2-a-r,o*=60):s=c>0&&c<1?0:o,new Yn(o,s,c,t.opacity)}function Kn(t,e,n,i){return 1===arguments.length?qn(t):new Yn(t,e,n,null==i?1:i)}function Yn(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i;}function Wn(t){return (t=(t||0)%360)<0?t+360:t}function Xn(t){return Math.max(0,Math.min(1,t||0))}function Vn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}fn(gn,Ln,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:An,formatHex:An,formatHex8:Mn,formatHsl:In,formatRgb:On,toString:On}),fn(Rn,Bn,dn(gn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new Rn(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?pn:Math.pow(pn,t),new Rn(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Rn(Hn(this.r),Hn(this.g),Hn(this.b),zn(this.opacity))},displayable(){return -.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:jn,formatHex:jn,formatHex8:$n,formatRgb:Fn,toString:Fn})),fn(Yn,Kn,dn(gn,{brighter(t){return t=null==t?bn:Math.pow(bn,t),new Yn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?pn:Math.pow(pn,t),new Yn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Rn(Vn(t>=240?t-240:t+120,r,i),Vn(t,r,i),Vn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Yn(Wn(this.h),Xn(this.s),Xn(this.l),zn(this.opacity))},displayable(){return (0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=zn(this.opacity);return `${1===t?"hsl(":"hsla("}${Wn(this.h)}, ${100*Xn(this.s)}%, ${100*Xn(this.l)}%${1===t?")":`, ${t})`}`}}));const Zn=Math.PI/180,Qn=180/Math.PI,Jn=18,ti=.96422,ei=1,ni=.82521,ii=4/29,ri=6/29,ai=3*ri*ri,oi=ri*ri*ri;function si(t){if(t instanceof ui)return new ui(t.l,t.a,t.b,t.opacity);if(t instanceof bi)return wi(t);t instanceof Rn||(t=Pn(t));var e,n,i=di(t.r),r=di(t.g),a=di(t.b),o=li((.2225045*i+.7168786*r+.0606169*a)/ei);return i===r&&r===a?e=n=o:(e=li((.4360747*i+.3850649*r+.1430804*a)/ti),n=li((.0139322*i+.0971045*r+.7141733*a)/ni)),new ui(116*o-16,500*(e-o),200*(o-n),t.opacity)}function ci(t,e,n,i){return 1===arguments.length?si(t):new ui(t,e,n,null==i?1:i)}function ui(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i;}function li(t){return t>oi?Math.pow(t,1/3):t/ai+ii}function hi(t){return t>ri?t*t*t:ai*(t-ii)}function fi(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function di(t){return (t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function gi(t){if(t instanceof bi)return new bi(t.h,t.c,t.l,t.opacity);if(t instanceof ui||(t=si(t)),0===t.a&&0===t.b)return new bi(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*Qn;return new bi(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function pi(t,e,n,i){return 1===arguments.length?gi(t):new bi(t,e,n,null==i?1:i)}function bi(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i;}function wi(t){if(isNaN(t.h))return new ui(t.l,0,0,t.opacity);var e=t.h*Zn;return new ui(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}fn(ui,ci,dn(gn,{brighter(t){return new ui(this.l+Jn*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new ui(this.l-Jn*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Rn(fi(3.1338561*(e=ti*hi(e))-1.6168667*(t=ei*hi(t))-.4906146*(n=ni*hi(n))),fi(-.9787684*e+1.9161415*t+.033454*n),fi(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),fn(bi,pi,dn(gn,{brighter(t){return new bi(this.h,this.c,this.l+Jn*(null==t?1:t),this.opacity)},darker(t){return new bi(this.h,this.c,this.l-Jn*(null==t?1:t),this.opacity)},rgb(){return wi(this).rgb()}}));const yi=t=>()=>t;function mi(t,e){return function(n){return t+n*e}}function vi(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}function xi(t,e){var n=e-t;return n?mi(t,n>180||n<-180?n-360*Math.round(n/360):n):yi(isNaN(t)?e:t)}function ki(t){return 1==(t=+t)?_i:function(e,n){return n-e?vi(e,n,t):yi(isNaN(e)?n:e)}}function _i(t,e){var n=e-t;return n?mi(t,n):yi(isNaN(t)?e:t)}const Ei=function t(e){var n=ki(e);function i(t,e){var i=n((t=Bn(t)).r,(e=Bn(e)).r),r=n(t.g,e.g),a=n(t.b,e.b),o=_i(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function Ti(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(a){for(n=0;n<i;++n)r[n]=t[n]*(1-a)+e[n]*a;return r}}function Ci(t){return ArrayBuffer.isView(t)&&!(t instanceof DataView)}function Si(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,a=new Array(r),o=new Array(i);for(n=0;n<r;++n)a[n]=Bi(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=a[n](t);return o}}function Ai(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function Mi(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}function Ii(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=Bi(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}var Oi=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,Li=new RegExp(Oi.source,"g");function Di(t){return function(){return t}}function Ni(t){return function(e){return t(e)+""}}function Pi(t,e){var n,i,r,a=Oi.lastIndex=Li.lastIndex=0,o=-1,s=[],c=[];for(t+="",e+="";(n=Oi.exec(t))&&(i=Li.exec(e));)(r=i.index)>a&&(r=e.slice(a,r),s[o]?s[o]+=r:s[++o]=r),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:Mi(n,i)})),a=Li.lastIndex;return a<e.length&&(r=e.slice(a),s[o]?s[o]+=r:s[++o]=r),s.length<2?c[0]?Ni(c[0].x):Di(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)s[(n=c[i]).i]=n.x(t);return s.join("")})}function Bi(t,e){var n,i=typeof e;return null==e||"boolean"===i?yi(e):("number"===i?Mi:"string"===i?(n=Ln(e))?(e=n,Ei):Pi:e instanceof Ln?Ei:e instanceof Date?Ai:Ci(e)?Ti:Array.isArray(e)?Si:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?Ii:Mi)(t,e)}function Ri(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}var ji,$i=180/Math.PI,Fi={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function zi(t,e,n,i,r,a){var o,s,c;return (o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:r,translateY:a,rotate:Math.atan2(e,t)*$i,skewX:Math.atan(c)*$i,scaleX:o,scaleY:s}}function Hi(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?Fi:zi(e.a,e.b,e.c,e.d,e.e,e.f)}function Ui(t){return null==t?Fi:(ji||(ji=document.createElementNS("http://www.w3.org/2000/svg","g")),ji.setAttribute("transform",t),(t=ji.transform.baseVal.consolidate())?zi((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):Fi)}function Gi(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}function a(t,i,r,a,o,s){if(t!==r||i!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:Mi(t,r)},{i:c-2,x:Mi(i,a)});}else (r||a)&&o.push("translate("+r+e+a+n);}function o(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(r(n)+"rotate(",null,i)-2,x:Mi(t,e)})):e&&n.push(r(n)+"rotate("+e+i);}function s(t,e,n,a){t!==e?a.push({i:n.push(r(n)+"skewX(",null,i)-2,x:Mi(t,e)}):e&&n.push(r(n)+"skewX("+e+i);}function c(t,e,n,i,a,o){if(t!==n||e!==i){var s=a.push(r(a)+"scale(",null,",",null,")");o.push({i:s-4,x:Mi(t,n)},{i:s-2,x:Mi(e,i)});}else 1===n&&1===i||a.push(r(a)+"scale("+n+","+i+")");}return function(e,n){var i=[],r=[];return e=t(e),n=t(n),a(e.translateX,e.translateY,n.translateX,n.translateY,i,r),o(e.rotate,n.rotate,i,r),s(e.skewX,n.skewX,i,r),c(e.scaleX,e.scaleY,n.scaleX,n.scaleY,i,r),e=n=null,function(t){for(var e,n=-1,a=r.length;++n<a;)i[(e=r[n]).i]=e.x(t);return i.join("")}}}var qi=Gi(Hi,"px, ","px)","deg)"),Ki=Gi(Ui,", ",")",")");function Yi(t){return function(e,n){var i=t((e=pi(e)).h,(n=pi(n)).h),r=_i(e.c,n.c),a=_i(e.l,n.l),o=_i(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=r(t),e.l=a(t),e.opacity=o(t),e+""}}}const Wi=Yi(xi);var Xi,Vi,Zi=0,Qi=0,Ji=0,tr=1e3,er=0,nr=0,ir=0,rr="object"==typeof performance&&performance.now?performance:Date,ar="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17);};function or(){return nr||(ar(sr),nr=rr.now()+ir)}function sr(){nr=0;}function cr(){this._call=this._time=this._next=null;}function ur(t,e,n){var i=new cr;return i.restart(t,e,n),i}function lr(){or(),++Zi;for(var t,e=Xi;e;)(t=nr-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Zi;}function hr(){nr=(er=rr.now())+ir,Zi=Qi=0;try{lr();}finally{Zi=0,dr(),nr=0;}}function fr(){var t=rr.now(),e=t-er;e>tr&&(ir-=e,er=t);}function dr(){for(var t,e,n=Xi,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:Xi=e);Vi=t,gr(i);}function gr(t){Zi||(Qi&&(Qi=clearTimeout(Qi)),t-nr>24?(t<1/0&&(Qi=setTimeout(hr,t-rr.now()-ir)),Ji&&(Ji=clearInterval(Ji))):(Ji||(er=rr.now(),Ji=setInterval(fr,tr)),Zi=1,ar(hr)));}function pr(t,e,n){var i=new cr;return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e);}),e,n),i}cr.prototype=ur.prototype={constructor:cr,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?or():+n)+(null==e?0:+e),this._next||Vi===this||(Vi?Vi._next=this:Xi=this,Vi=this),this._call=t,this._time=n,gr();},stop:function(){this._call&&(this._call=null,this._time=1/0,gr());}};var br=at("start","end","cancel","interrupt"),wr=[],yr=0,mr=1,vr=2,xr=3,kr=4,_r=5,Er=6;function Tr(t,e,n,i,r,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};Mr(t,n,{name:e,index:i,group:r,on:br,tween:wr,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:yr});}function Cr(t,e){var n=Ar(t,e);if(n.state>yr)throw new Error("too late; already scheduled");return n}function Sr(t,e){var n=Ar(t,e);if(n.state>xr)throw new Error("too late; already running");return n}function Ar(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function Mr(t,e,n){var i,r=t.__transition;function a(t){n.state=mr,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay);}function o(a){var u,l,h,f;if(n.state!==mr)return c();for(u in r)if((f=r[u]).name===n.name){if(f.state===xr)return pr(o);f.state===kr?(f.state=Er,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u<e&&(f.state=Er,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[u]);}if(pr((function(){n.state===xr&&(n.state=kr,n.timer.restart(s,n.delay,n.time),s(a));})),n.state=vr,n.on.call("start",t,t.__data__,n.index,n.group),n.state===vr){for(n.state=xr,i=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=f);i.length=l+1;}}function s(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(c),n.state=_r,1),a=-1,o=i.length;++a<o;)i[a].call(t,r);n.state===_r&&(n.on.call("end",t,t.__data__,n.index,n.group),c());}function c(){for(var i in n.state=Er,n.timer.stop(),delete r[e],r)return;delete t.__transition;}r[e]=n,n.timer=ur(a,0,n.time);}function Ir(t,e){var n,i,r,a=t.__transition,o=!0;if(a){for(r in e=null==e?null:e+"",a)(n=a[r]).name===e?(i=n.state>vr&&n.state<_r,n.state=Er,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[r]):o=!1;o&&delete t.__transition;}}function Or(t){return this.each((function(){Ir(this,t);}))}function Lr(t,e){var n,i;return function(){var r=Sr(this,t),a=r.tween;if(a!==n)for(var o=0,s=(i=n=a).length;o<s;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i;}}function Dr(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var a=Sr(this,t),o=a.tween;if(o!==i){r=(i=o).slice();for(var s={name:e,value:n},c=0,u=r.length;c<u;++c)if(r[c].name===e){r[c]=s;break}c===u&&r.push(s);}a.tween=r;}}function Nr(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=Ar(this.node(),n).tween,a=0,o=r.length;a<o;++a)if((i=r[a]).name===t)return i.value;return null}return this.each((null==e?Lr:Dr)(n,t,e))}function Pr(t,e,n){var i=t._id;return t.each((function(){var t=Sr(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments);})),function(t){return Ar(t,i).value[e]}}function Br(t,e){var n;return ("number"==typeof e?Mi:e instanceof Ln?Ei:(n=Ln(e))?(e=n,Ei):Pi)(t,e)}function Rr(t){return function(){this.removeAttribute(t);}}function jr(t){return function(){this.removeAttributeNS(t.space,t.local);}}function $r(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?r:r=e(i=o,n)}}function Fr(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?r:r=e(i=o,n)}}function zr(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return (o=this.getAttribute(t))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttribute(t);}}function Hr(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return (o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttributeNS(t.space,t.local);}}function Ur(t,e){var n=ft(t),i="transform"===n?Ki:Br;return this.attrTween(t,"function"==typeof e?(n.local?Hr:zr)(n,i,Pr(this,"attr."+t,e)):null==e?(n.local?jr:Rr)(n):(n.local?Fr:$r)(n,i,e))}function Gr(t,e){return function(n){this.setAttribute(t,e.call(this,n));}}function qr(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n));}}function Kr(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&qr(t,r)),n}return r._value=e,r}function Yr(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&Gr(t,r)),n}return r._value=e,r}function Wr(t,e){var n="attr."+t;if(arguments.length<2)return (n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=ft(t);return this.tween(n,(i.local?Kr:Yr)(i,e))}function Xr(t,e){return function(){Cr(this,t).delay=+e.apply(this,arguments);}}function Vr(t,e){return e=+e,function(){Cr(this,t).delay=e;}}function Zr(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Xr:Vr)(e,t)):Ar(this.node(),e).delay}function Qr(t,e){return function(){Sr(this,t).duration=+e.apply(this,arguments);}}function Jr(t,e){return e=+e,function(){Sr(this,t).duration=e;}}function ta(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?Qr:Jr)(e,t)):Ar(this.node(),e).duration}function ea(t,e){if("function"!=typeof e)throw new Error;return function(){Sr(this,t).ease=e;}}function na(t){var e=this._id;return arguments.length?this.each(ea(e,t)):Ar(this.node(),e).ease}function ia(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;Sr(this,t).ease=n;}}function ra(t){if("function"!=typeof t)throw new Error;return this.each(ia(this._id,t))}function aa(t){"function"!=typeof t&&(t=Et(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Na(i,this._parents,this._name,this._id)}function oa(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,a=Math.min(i,r),o=new Array(i),s=0;s<a;++s)for(var c,u=e[s],l=n[s],h=u.length,f=o[s]=new Array(h),d=0;d<h;++d)(c=u[d]||l[d])&&(f[d]=c);for(;s<i;++s)o[s]=e[s];return new Na(o,this._parents,this._name,this._id)}function sa(t){return (t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}function ca(t,e,n){var i,r,a=sa(e)?Cr:Sr;return function(){var o=a(this,t),s=o.on;s!==i&&(r=(i=s).copy()).on(e,n),o.on=r;}}function ua(t,e){var n=this._id;return arguments.length<2?Ar(this.node(),n).on.on(t):this.each(ca(n,t,e))}function la(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this);}}function ha(){return this.on("end.remove",la(this._id))}function fa(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=wt(t));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o<r;++o)for(var s,c,u=i[o],l=u.length,h=a[o]=new Array(l),f=0;f<l;++f)(s=u[f])&&(c=t.call(s,s.__data__,f,u))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,Tr(h[f],e,n,f,h,Ar(s,n)));return new Na(a,this._parents,e,n)}function da(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=xt(t));for(var i=this._groups,r=i.length,a=[],o=[],s=0;s<r;++s)for(var c,u=i[s],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,d=t.call(c,c.__data__,h,u),g=Ar(c,n),p=0,b=d.length;p<b;++p)(f=d[p])&&Tr(f,e,n,p,d,g);a.push(d),o.push(c);}return new Na(a,o,e,n)}var ga=cn.prototype.constructor;function pa(){return new ga(this._groups,this._parents)}function ba(t,e){var n,i,r;return function(){var a=ge(this,t),o=(this.style.removeProperty(t),ge(this,t));return a===o?null:a===n&&o===i?r:r=e(n=a,i=o)}}function wa(t){return function(){this.style.removeProperty(t);}}function ya(t,e,n){var i,r,a=n+"";return function(){var o=ge(this,t);return o===a?null:o===i?r:r=e(i=o,n)}}function ma(t,e,n){var i,r,a;return function(){var o=ge(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=ge(this,t)),o===c?null:o===i&&c===r?a:(r=c,a=e(i=o,s))}}function va(t,e){var n,i,r,a,o="style."+e,s="end."+o;return function(){var c=Sr(this,t),u=c.on,l=null==c.value[o]?a||(a=wa(e)):void 0;u===n&&r===l||(i=(n=u).copy()).on(s,r=l),c.on=i;}}function xa(t,e,n){var i="transform"==(t+="")?qi:Br;return null==e?this.styleTween(t,ba(t,i)).on("end.style."+t,wa(t)):"function"==typeof e?this.styleTween(t,ma(t,i,Pr(this,"style."+t,e))).each(va(this._id,t)):this.styleTween(t,ya(t,i,e),n).on("end.style."+t,null)}function ka(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n);}}function _a(t,e,n){var i,r;function a(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&ka(t,a,n)),i}return a._value=e,a}function Ea(t,e,n){var i="style."+(t+="");if(arguments.length<2)return (i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,_a(t,e,null==n?"":n))}function Ta(t){return function(){this.textContent=t;}}function Ca(t){return function(){var e=t(this);this.textContent=null==e?"":e;}}function Sa(t){return this.tween("text","function"==typeof t?Ca(Pr(this,"text",t)):Ta(null==t?"":t+""))}function Aa(t){return function(e){this.textContent=t.call(this,e);}}function Ma(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&Aa(i)),e}return i._value=t,i}function Ia(t){var e="text";if(arguments.length<1)return (e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,Ma(t))}function Oa(){for(var t=this._name,e=this._id,n=Pa(),i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)if(o=s[u]){var l=Ar(o,e);Tr(o,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease});}return new Na(i,this._parents,t,n)}function La(){var t,e,n=this,i=n._id,r=n.size();return new Promise((function(a,o){var s={value:o},c={value:function(){0==--r&&a();}};n.each((function(){var n=Sr(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e;})),0===r&&a();}))}var Da=0;function Na(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i;}function Pa(){return ++Da}var Ba=cn.prototype;function Ra(t){return ((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}Na.prototype={constructor:Na,select:fa,selectAll:da,selectChild:Ba.selectChild,selectChildren:Ba.selectChildren,filter:aa,merge:oa,selection:pa,transition:Oa,call:Ba.call,nodes:Ba.nodes,node:Ba.node,size:Ba.size,empty:Ba.empty,each:Ba.each,on:ua,attr:Ur,attrTween:Wr,style:xa,styleTween:Ea,text:Sa,textTween:Ia,remove:ha,tween:Nr,delay:Zr,duration:ta,ease:na,easeVarying:ra,end:La,[Symbol.iterator]:Ba[Symbol.iterator]};var ja={time:null,delay:0,duration:250,ease:Ra};function $a(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}function Fa(t){var e,n;t instanceof Na?(e=t._id,t=t._name):(e=Pa(),(n=ja).time=or(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)(o=s[u])&&Tr(o,t,e,u,s,n||$a(o,e));return new Na(i,this._parents,t,e)}cn.prototype.interrupt=Or,cn.prototype.transition=Fa;const za=Math.PI,Ha=2*za,Ua=1e-6,Ga=Ha-Ua;function qa(){this._x0=this._y0=this._x1=this._y1=null,this._="";}function Ka(){return new qa}function Ya(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function Wa(t,e){return fetch(t,e).then(Ya)}function Xa(t){return (e,n)=>Wa(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}qa.prototype=Ka.prototype={constructor:qa,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e);},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z");},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e);},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i);},bezierCurveTo:function(t,e,n,i,r,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+a);},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var a=this._x1,o=this._y1,s=n-t,c=i-e,u=a-t,l=o-e,h=u*u+l*l;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>Ua)if(Math.abs(l*s-c*u)>Ua&&r){var f=n-a,d=i-o,g=s*s+c*c,p=f*f+d*d,b=Math.sqrt(g),w=Math.sqrt(h),y=r*Math.tan((za-Math.acos((g+h-p)/(2*b*w)))/2),m=y/w,v=y/b;Math.abs(m-1)>Ua&&(this._+="L"+(t+m*u)+","+(e+m*l)),this._+="A"+r+","+r+",0,0,"+ +(l*f>u*d)+","+(this._x1=t+v*s)+","+(this._y1=e+v*c);}else this._+="L"+(this._x1=t)+","+(this._y1=e);},arc:function(t,e,n,i,r,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(i),s=n*Math.sin(i),c=t+o,u=e+s,l=1^a,h=a?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>Ua||Math.abs(this._y1-u)>Ua)&&(this._+="L"+c+","+u),n&&(h<0&&(h=h%Ha+Ha),h>Ga?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):h>Ua&&(this._+="A"+n+","+n+",0,"+ +(h>=za)+","+l+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))));},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z";},toString:function(){return this._}};var Va=Xa("image/svg+xml");function Za(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)}function Qa(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return [i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function Ja(t){return (t=Qa(Math.abs(t)))?t[1]:NaN}function to(t,e){return function(n,i){for(var r=n.length,a=[],o=0,s=t[0],c=0;r>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),a.push(n.substring(r-=s,r+s)),!((c+=s+1)>i));)s=t[o=(o+1)%t.length];return a.reverse().join(e)}}function eo(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}var no,io=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function ro(t){if(!(e=io.exec(t)))throw new Error("invalid format: "+t);var e;return new ao({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function ao(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+"";}function oo(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0);}return r>0?t.slice(0,r)+t.slice(e+1):t}function so(t,e){var n=Qa(t,e);if(!n)return t+"";var i=n[0],r=n[1],a=r-(no=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return a===o?i:a>o?i+new Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+Qa(t,Math.max(0,e+a-1))[0]}function co(t,e){var n=Qa(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}ro.prototype=ao.prototype,ao.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const uo={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:Za,e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>co(100*t,e),r:co,s:so,X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function lo(t){return t}var ho,fo,go,po=Array.prototype.map,bo=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function wo(t){var e=void 0===t.grouping||void 0===t.thousands?lo:to(po.call(t.grouping,Number),t.thousands+""),n=void 0===t.currency?"":t.currency[0]+"",i=void 0===t.currency?"":t.currency[1]+"",r=void 0===t.decimal?".":t.decimal+"",a=void 0===t.numerals?lo:eo(po.call(t.numerals,String)),o=void 0===t.percent?"%":t.percent+"",s=void 0===t.minus?"−":t.minus+"",c=void 0===t.nan?"NaN":t.nan+"";function u(t){var u=(t=ro(t)).fill,l=t.align,h=t.sign,f=t.symbol,d=t.zero,g=t.width,p=t.comma,b=t.precision,w=t.trim,y=t.type;"n"===y?(p=!0,y="g"):uo[y]||(void 0===b&&(b=12),w=!0,y="g"),(d||"0"===u&&"="===l)&&(d=!0,u="0",l="=");var m="$"===f?n:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",v="$"===f?i:/[%p]/.test(y)?o:"",x=uo[y],k=/[defgprs%]/.test(y);function _(t){var n,i,o,f=m,_=v;if("c"===y)_=x(t)+_,t="";else {var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?c:x(Math.abs(t),b),w&&(t=oo(t)),E&&0==+t&&"+"!==h&&(E=!1),f=(E?"("===h?h:s:"-"===h||"("===h?"":h)+f,_=("s"===y?bo[8+no/3]:"")+_+(E&&"("===h?")":""),k)for(n=-1,i=t.length;++n<i;)if(48>(o=t.charCodeAt(n))||o>57){_=(46===o?r+t.slice(n+1):t.slice(n))+_,t=t.slice(0,n);break}}p&&!d&&(t=e(t,1/0));var T=f.length+t.length+_.length,C=T<g?new Array(g-T+1).join(u):"";switch(p&&d&&(t=e(C+t,C.length?g-_.length:1/0),C=""),l){case"<":t=f+t+_+C;break;case"=":t=f+C+t+_;break;case"^":t=C.slice(0,T=C.length>>1)+f+t+_+C.slice(T);break;default:t=C+f+t+_;}return a(t)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),_.toString=function(){return t+""},_}function l(t,e){var n=u(((t=ro(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ja(e)/3))),r=Math.pow(10,-i),a=bo[8+i/3];return function(t){return n(r*t)+a}}return {format:u,formatPrefix:l}}function yo(t){return ho=wo(t),fo=ho.format,go=ho.formatPrefix,ho}function mo(t){return Math.max(0,-Ja(Math.abs(t)))}function vo(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ja(e)/3)))-Ja(Math.abs(t)))}function xo(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ja(e)-Ja(t))+1}function ko(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t);}return this}yo({thousands:",",grouping:[3],currency:["$",""]});const _o=Symbol("implicit");function Eo(){var t=new O,e=[],n=[],i=_o;function r(r){let a=t.get(r);if(void 0===a){if(i!==_o)return i;t.set(r,a=e.push(r)-1);}return n[a%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new O;for(const i of n)t.has(i)||t.set(i,e.push(i)-1);return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return Eo(e,n).unknown(i)},ko.apply(r,arguments),r}function To(t){return function(){return t}}function Co(t){return +t}var So=[0,1];function Ao(t){return t}function Mo(t,e){return (e-=t=+t)?function(n){return (n-t)/e}:To(isNaN(e)?NaN:.5)}function Io(t,e){var n;return t>e&&(n=t,t=e,e=n),function(n){return Math.max(t,Math.min(e,n))}}function Oo(t,e,n){var i=t[0],r=t[1],a=e[0],o=e[1];return r<i?(i=Mo(r,i),a=n(o,a)):(i=Mo(i,r),a=n(a,o)),function(t){return a(i(t))}}function Lo(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),a=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=Mo(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=I(t,e,1,i)-1;return a[n](r[n](e))}}function Do(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function No(){var t,e,n,i,r,a,o=So,s=So,c=Bi,u=Ao;function l(){var t=Math.min(o.length,s.length);return u!==Ao&&(u=Io(o[0],o[t-1])),i=t>2?Lo:Oo,r=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),s,c)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=i(s,o.map(t),Mi)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Co),l()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=Ri,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ao,l()):u!==Ao},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,l()}}function Po(){return No()(Ao,Ao)}function Bo(t,e,n,i){var r,a=z(t,e,n);switch((i=ro(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=vo(a,o))||(i.precision=r),go(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=xo(a,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=mo(a))||(i.precision=r-2*("%"===i.type));}return fo(i)}function Ro(t){var e=t.domain;return t.ticks=function(t){var n=e();return $(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return Bo(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,a=e(),o=0,s=a.length-1,c=a[o],u=a[s],l=10;for(u<c&&(r=c,c=u,u=r,r=o,o=s,s=r);l-- >0;){if((r=F(c,u,n))===i)return a[o]=c,a[s]=u,e(a);if(r>0)c=Math.floor(c/r)*r,u=Math.ceil(u/r)*r;else {if(!(r<0))break;c=Math.ceil(c*r)/r,u=Math.floor(u*r)/r;}i=r;}return t},t}function jo(){var t=Po();return t.copy=function(){return Do(t,jo())},ko.apply(t,arguments),Ro(t)}function $o(t,e){var n,i=0,r=(t=t.slice()).length-1,a=t[i],o=t[r];return o<a&&(n=i,i=r,r=n,n=a,a=o,o=n),t[i]=e.floor(a),t[r]=e.ceil(o),t}var Fo=new Date,zo=new Date;function Ho(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=function(e){return t(e=new Date(+e)),e},r.ceil=function(n){return t(n=new Date(n-1)),e(n,1),t(n),n},r.round=function(t){var e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=function(t,n){return e(t=new Date(+t),null==n?1:Math.floor(n)),t},r.range=function(n,i,a){var o,s=[];if(n=r.ceil(n),a=null==a?1:Math.floor(a),!(n<i&&a>0))return s;do{s.push(o=new Date(+n)),e(n,a),t(n);}while(o<n&&n<i);return s},r.filter=function(n){return Ho((function(e){if(e>=e)for(;t(e),!n(e);)e.setTime(e-1);}),(function(t,i){if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););}))},n&&(r.count=function(e,i){return Fo.setTime(+e),zo.setTime(+i),t(Fo),t(zo),Math.floor(n(Fo,zo))},r.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?function(e){return i(e)%t==0}:function(e){return r.count(0,e)%t==0}):r:null}),r}var Uo=Ho((function(){}),(function(t,e){t.setTime(+t+e);}),(function(t,e){return e-t}));Uo.every=function(t){return t=Math.floor(t),isFinite(t)&&t>0?t>1?Ho((function(e){e.setTime(Math.floor(e/t)*t);}),(function(e,n){e.setTime(+e+n*t);}),(function(e,n){return (n-e)/t})):Uo:null};const Go=Uo;Uo.range;const qo=1e3,Ko=60*qo,Yo=60*Ko,Wo=24*Yo,Xo=7*Wo,Vo=30*Wo,Zo=365*Wo;var Qo=Ho((function(t){t.setTime(t-t.getMilliseconds());}),(function(t,e){t.setTime(+t+e*qo);}),(function(t,e){return (e-t)/qo}),(function(t){return t.getUTCSeconds()}));const Jo=Qo;Qo.range;var ts=Ho((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qo);}),(function(t,e){t.setTime(+t+e*Ko);}),(function(t,e){return (e-t)/Ko}),(function(t){return t.getMinutes()}));const es=ts;ts.range;var ns=Ho((function(t){t.setTime(t-t.getMilliseconds()-t.getSeconds()*qo-t.getMinutes()*Ko);}),(function(t,e){t.setTime(+t+e*Yo);}),(function(t,e){return (e-t)/Yo}),(function(t){return t.getHours()}));const is=ns;ns.range;var rs=Ho((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ko)/Wo),(t=>t.getDate()-1));const as=rs;function os(t){return Ho((function(e){e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0);}),(function(t,e){t.setDate(t.getDate()+7*e);}),(function(t,e){return (e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*Ko)/Xo}))}rs.range;var ss=os(0),cs=os(1),us=os(2),ls=os(3),hs=os(4),fs=os(5),ds=os(6);ss.range,cs.range,us.range,ls.range,hs.range,fs.range,ds.range;var gs=Ho((function(t){t.setDate(1),t.setHours(0,0,0,0);}),(function(t,e){t.setMonth(t.getMonth()+e);}),(function(t,e){return e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())}),(function(t){return t.getMonth()}));const ps=gs;gs.range;var bs=Ho((function(t){t.setMonth(0,1),t.setHours(0,0,0,0);}),(function(t,e){t.setFullYear(t.getFullYear()+e);}),(function(t,e){return e.getFullYear()-t.getFullYear()}),(function(t){return t.getFullYear()}));bs.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ho((function(e){e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0);}),(function(e,n){e.setFullYear(e.getFullYear()+n*t);})):null};const ws=bs;bs.range,Ho((function(t){t.setUTCSeconds(0,0);}),(function(t,e){t.setTime(+t+e*Ko);}),(function(t,e){return (e-t)/Ko}),(function(t){return t.getUTCMinutes()})).range,Ho((function(t){t.setUTCMinutes(0,0,0);}),(function(t,e){t.setTime(+t+e*Yo);}),(function(t,e){return (e-t)/Yo}),(function(t){return t.getUTCHours()})).range;var ys=Ho((function(t){t.setUTCHours(0,0,0,0);}),(function(t,e){t.setUTCDate(t.getUTCDate()+e);}),(function(t,e){return (e-t)/Wo}),(function(t){return t.getUTCDate()-1}));const ms=ys;function vs(t){return Ho((function(e){e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0);}),(function(t,e){t.setUTCDate(t.getUTCDate()+7*e);}),(function(t,e){return (e-t)/Xo}))}ys.range;var xs=vs(0),ks=vs(1),_s=vs(2),Es=vs(3),Ts=vs(4),Cs=vs(5),Ss=vs(6);xs.range,ks.range,_s.range,Es.range,Ts.range,Cs.range,Ss.range,Ho((function(t){t.setUTCDate(1),t.setUTCHours(0,0,0,0);}),(function(t,e){t.setUTCMonth(t.getUTCMonth()+e);}),(function(t,e){return e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())}),(function(t){return t.getUTCMonth()})).range;var As=Ho((function(t){t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);}),(function(t,e){t.setUTCFullYear(t.getUTCFullYear()+e);}),(function(t,e){return e.getUTCFullYear()-t.getUTCFullYear()}),(function(t){return t.getUTCFullYear()}));As.every=function(t){return isFinite(t=Math.floor(t))&&t>0?Ho((function(e){e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0);}),(function(e,n){e.setUTCFullYear(e.getUTCFullYear()+n*t);})):null};const Ms=As;function Is(t,e,n,i,r,a){const o=[[Jo,1,qo],[Jo,5,5*qo],[Jo,15,15*qo],[Jo,30,30*qo],[a,1,Ko],[a,5,5*Ko],[a,15,15*Ko],[a,30,30*Ko],[r,1,Yo],[r,3,3*Yo],[r,6,6*Yo],[r,12,12*Yo],[i,1,Wo],[i,2,2*Wo],[n,1,Xo],[e,1,Vo],[e,3,3*Vo],[t,1,Zo]];function s(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:c(t,e,n),a=r?r.range(t,+e+1):[];return i?a.reverse():a}function c(e,n,i){const r=Math.abs(n-e)/i,a=C((([,,t])=>t)).right(o,r);if(a===o.length)return t.every(z(e/Zo,n/Zo,i));if(0===a)return Go.every(Math.max(z(e,n,i),1));const[s,c]=o[r/o[a-1][2]<o[a][2]/r?a-1:a];return s.every(c)}return [s,c]}As.range;const[Os,Ls]=Is(ws,ps,ss,as,is,es);function Ds(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Ns(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Ps(t,e,n){return {y:t,m:e,d:n,H:0,M:0,S:0,L:0}}function Bs(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=qs(r),l=Ks(r),h=qs(a),f=Ks(a),d=qs(o),g=Ks(o),p=qs(s),b=Ks(s),w=qs(c),y=Ks(c),m={a:D,A:N,b:P,B:B,c:null,d:dc,e:dc,f:yc,g:Mc,G:Oc,H:gc,I:pc,j:bc,L:wc,m:mc,M:vc,p:R,q:j,Q:tu,s:eu,S:xc,u:kc,U:_c,V:Tc,w:Cc,W:Sc,x:null,X:null,y:Ac,Y:Ic,Z:Lc,"%":Jc},v={a:$,A:F,b:z,B:H,c:null,d:Dc,e:Dc,f:jc,g:Xc,G:Zc,H:Nc,I:Pc,j:Bc,L:Rc,m:$c,M:Fc,p:U,q:G,Q:tu,s:eu,S:zc,u:Hc,U:Uc,V:qc,w:Kc,W:Yc,x:null,X:null,y:Wc,Y:Vc,Z:Qc,"%":Jc},x={a:C,A:S,b:A,B:M,c:I,d:ic,e:ic,f:uc,g:Js,G:Qs,H:ac,I:ac,j:rc,L:cc,m:nc,M:oc,p:T,q:ec,Q:hc,s:fc,S:sc,u:Ws,U:Xs,V:Vs,w:Ys,W:Zs,x:O,X:L,y:Js,Y:Qs,Z:tc,"%":lc};function k(t,e){return function(n){var i,r,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(r=$s[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(a=e[i])&&(i=a(n,r)),o.push(i),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function _(t,e){return function(n){var i,r,a=Ps(1900,void 0,1);if(E(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=Ns(Ps(a.y,0,1))).getUTCDay(),i=r>4||0===r?ks.ceil(i):ks(i),i=ms.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(r=(i=Ds(Ps(a.y,0,1))).getDay(),i=r>4||0===r?cs.ceil(i):cs(i),i=as.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7);}else ("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),r="Z"in a?Ns(Ps(a.y,0,1)).getUTCDay():Ds(Ps(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(r+5)%7:a.w+7*a.U-(r+6)%7);return "Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Ns(a)):Ds(a)}}function E(t,e,n,i){for(var r,a,o=0,s=e.length,c=n.length;o<s;){if(i>=c)return -1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(a=x[r in $s?e.charAt(o++):r])||(i=a(t,n,i))<0)return -1}else if(r!=n.charCodeAt(i++))return -1}return i}function T(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1}function C(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=g.get(i[0].toLowerCase()),n+i[0].length):-1}function S(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=f.get(i[0].toLowerCase()),n+i[0].length):-1}function A(t,e,n){var i=w.exec(e.slice(n));return i?(t.m=y.get(i[0].toLowerCase()),n+i[0].length):-1}function M(t,e,n){var i=p.exec(e.slice(n));return i?(t.m=b.get(i[0].toLowerCase()),n+i[0].length):-1}function I(t,n,i){return E(t,e,n,i)}function O(t,e,i){return E(t,n,e,i)}function L(t,e,n){return E(t,i,e,n)}function D(t){return o[t.getDay()]}function N(t){return a[t.getDay()]}function P(t){return c[t.getMonth()]}function B(t){return s[t.getMonth()]}function R(t){return r[+(t.getHours()>=12)]}function j(t){return 1+~~(t.getMonth()/3)}function $(t){return o[t.getUTCDay()]}function F(t){return a[t.getUTCDay()]}function z(t){return c[t.getUTCMonth()]}function H(t){return s[t.getUTCMonth()]}function U(t){return r[+(t.getUTCHours()>=12)]}function G(t){return 1+~~(t.getUTCMonth()/3)}return m.x=k(n,m),m.X=k(i,m),m.c=k(e,m),v.x=k(n,v),v.X=k(i,v),v.c=k(e,v),{format:function(t){var e=k(t+="",m);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",v);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}var Rs,js,$s={"-":"",_:" ",0:"0"},Fs=/^\s*\d+/,zs=/^%/,Hs=/[\\^$*+?|[\]().{}]/g;function Us(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",a=r.length;return i+(a<n?new Array(n-a+1).join(e)+r:r)}function Gs(t){return t.replace(Hs,"\\$&")}function qs(t){return new RegExp("^(?:"+t.map(Gs).join("|")+")","i")}function Ks(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function Ys(t,e,n){var i=Fs.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function Ws(t,e,n){var i=Fs.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function Xs(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function Vs(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function Zs(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function Qs(t,e,n){var i=Fs.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function Js(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function tc(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function ec(t,e,n){var i=Fs.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function nc(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function ic(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function rc(t,e,n){var i=Fs.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function ac(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function oc(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function sc(t,e,n){var i=Fs.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function cc(t,e,n){var i=Fs.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function uc(t,e,n){var i=Fs.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function lc(t,e,n){var i=zs.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function hc(t,e,n){var i=Fs.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function fc(t,e,n){var i=Fs.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function dc(t,e){return Us(t.getDate(),e,2)}function gc(t,e){return Us(t.getHours(),e,2)}function pc(t,e){return Us(t.getHours()%12||12,e,2)}function bc(t,e){return Us(1+as.count(ws(t),t),e,3)}function wc(t,e){return Us(t.getMilliseconds(),e,3)}function yc(t,e){return wc(t,e)+"000"}function mc(t,e){return Us(t.getMonth()+1,e,2)}function vc(t,e){return Us(t.getMinutes(),e,2)}function xc(t,e){return Us(t.getSeconds(),e,2)}function kc(t){var e=t.getDay();return 0===e?7:e}function _c(t,e){return Us(ss.count(ws(t)-1,t),e,2)}function Ec(t){var e=t.getDay();return e>=4||0===e?hs(t):hs.ceil(t)}function Tc(t,e){return t=Ec(t),Us(hs.count(ws(t),t)+(4===ws(t).getDay()),e,2)}function Cc(t){return t.getDay()}function Sc(t,e){return Us(cs.count(ws(t)-1,t),e,2)}function Ac(t,e){return Us(t.getFullYear()%100,e,2)}function Mc(t,e){return Us((t=Ec(t)).getFullYear()%100,e,2)}function Ic(t,e){return Us(t.getFullYear()%1e4,e,4)}function Oc(t,e){var n=t.getDay();return Us((t=n>=4||0===n?hs(t):hs.ceil(t)).getFullYear()%1e4,e,4)}function Lc(t){var e=t.getTimezoneOffset();return (e>0?"-":(e*=-1,"+"))+Us(e/60|0,"0",2)+Us(e%60,"0",2)}function Dc(t,e){return Us(t.getUTCDate(),e,2)}function Nc(t,e){return Us(t.getUTCHours(),e,2)}function Pc(t,e){return Us(t.getUTCHours()%12||12,e,2)}function Bc(t,e){return Us(1+ms.count(Ms(t),t),e,3)}function Rc(t,e){return Us(t.getUTCMilliseconds(),e,3)}function jc(t,e){return Rc(t,e)+"000"}function $c(t,e){return Us(t.getUTCMonth()+1,e,2)}function Fc(t,e){return Us(t.getUTCMinutes(),e,2)}function zc(t,e){return Us(t.getUTCSeconds(),e,2)}function Hc(t){var e=t.getUTCDay();return 0===e?7:e}function Uc(t,e){return Us(xs.count(Ms(t)-1,t),e,2)}function Gc(t){var e=t.getUTCDay();return e>=4||0===e?Ts(t):Ts.ceil(t)}function qc(t,e){return t=Gc(t),Us(Ts.count(Ms(t),t)+(4===Ms(t).getUTCDay()),e,2)}function Kc(t){return t.getUTCDay()}function Yc(t,e){return Us(ks.count(Ms(t)-1,t),e,2)}function Wc(t,e){return Us(t.getUTCFullYear()%100,e,2)}function Xc(t,e){return Us((t=Gc(t)).getUTCFullYear()%100,e,2)}function Vc(t,e){return Us(t.getUTCFullYear()%1e4,e,4)}function Zc(t,e){var n=t.getUTCDay();return Us((t=n>=4||0===n?Ts(t):Ts.ceil(t)).getUTCFullYear()%1e4,e,4)}function Qc(){return "+0000"}function Jc(){return "%"}function tu(t){return +t}function eu(t){return Math.floor(+t/1e3)}function nu(t){return Rs=Bs(t),js=Rs.format,Rs.parse,Rs.utcFormat,Rs.utcParse,Rs}function iu(t){return new Date(t)}function ru(t){return t instanceof Date?+t:+new Date(+t)}function au(t,e,n,i,r,a,o,s,c,u){var l=Po(),h=l.invert,f=l.domain,d=u(".%L"),g=u(":%S"),p=u("%I:%M"),b=u("%I %p"),w=u("%a %d"),y=u("%b %d"),m=u("%B"),v=u("%Y");function x(t){return (c(t)<t?d:s(t)<t?g:o(t)<t?p:a(t)<t?b:i(t)<t?r(t)<t?w:y:n(t)<t?m:v)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,ru)):f().map(iu)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?x:u(e)},l.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f($o(n,t)):l},l.copy=function(){return Do(l,au(t,e,n,i,r,a,o,s,c,u))},l}function ou(){return ko.apply(au(Os,Ls,ws,ps,ss,as,is,es,Jo,js).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}function su(t){return function(){return t}}nu({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]});const cu=Math.abs,uu=Math.atan2,lu=Math.cos,hu=Math.max,fu=Math.min,du=Math.sin,gu=Math.sqrt,pu=1e-12,bu=Math.PI,wu=bu/2,yu=2*bu;function mu(t){return t>1?0:t<-1?bu:Math.acos(t)}function vu(t){return t>=1?wu:t<=-1?-wu:Math.asin(t)}function xu(t){return t.innerRadius}function ku(t){return t.outerRadius}function _u(t){return t.startAngle}function Eu(t){return t.endAngle}function Tu(t){return t&&t.padAngle}function Cu(t,e,n,i,r,a,o,s){var c=n-t,u=i-e,l=o-r,h=s-a,f=h*c-l*u;if(!(f*f<pu))return [t+(f=(l*(e-a)-h*(t-r))/f)*c,e+f*u]}function Su(t,e,n,i,r,a,o){var s=t-n,c=e-i,u=(o?a:-a)/gu(s*s+c*c),l=u*c,h=-u*s,f=t+l,d=e+h,g=n+l,p=i+h,b=(f+g)/2,w=(d+p)/2,y=g-f,m=p-d,v=y*y+m*m,x=r-a,k=f*p-g*d,_=(m<0?-1:1)*gu(hu(0,x*x*v-k*k)),E=(k*m-y*_)/v,T=(-k*y-m*_)/v,C=(k*m+y*_)/v,S=(-k*y+m*_)/v,A=E-b,M=T-w,I=C-b,O=S-w;return A*A+M*M>I*I+O*O&&(E=C,T=S),{cx:E,cy:T,x01:-l,y01:-h,x11:E*(r/x-1),y11:T*(r/x-1)}}function Au(){var t=xu,e=ku,n=su(0),i=null,r=_u,a=Eu,o=Tu,s=null;function c(){var c,u,l=+t.apply(this,arguments),h=+e.apply(this,arguments),f=r.apply(this,arguments)-wu,d=a.apply(this,arguments)-wu,g=cu(d-f),p=d>f;if(s||(s=c=Ka()),h<l&&(u=h,h=l,l=u),h>pu)if(g>yu-pu)s.moveTo(h*lu(f),h*du(f)),s.arc(0,0,h,f,d,!p),l>pu&&(s.moveTo(l*lu(d),l*du(d)),s.arc(0,0,l,d,f,p));else {var b,w,y=f,m=d,v=f,x=d,k=g,_=g,E=o.apply(this,arguments)/2,T=E>pu&&(i?+i.apply(this,arguments):gu(l*l+h*h)),C=fu(cu(h-l)/2,+n.apply(this,arguments)),S=C,A=C;if(T>pu){var M=vu(T/l*du(E)),I=vu(T/h*du(E));(k-=2*M)>pu?(v+=M*=p?1:-1,x-=M):(k=0,v=x=(f+d)/2),(_-=2*I)>pu?(y+=I*=p?1:-1,m-=I):(_=0,y=m=(f+d)/2);}var O=h*lu(y),L=h*du(y),D=l*lu(x),N=l*du(x);if(C>pu){var P,B=h*lu(m),R=h*du(m),j=l*lu(v),$=l*du(v);if(g<bu&&(P=Cu(O,L,j,$,B,R,D,N))){var F=O-P[0],z=L-P[1],H=B-P[0],U=R-P[1],G=1/du(mu((F*H+z*U)/(gu(F*F+z*z)*gu(H*H+U*U)))/2),q=gu(P[0]*P[0]+P[1]*P[1]);S=fu(C,(l-q)/(G-1)),A=fu(C,(h-q)/(G+1));}}_>pu?A>pu?(b=Su(j,$,O,L,h,A,p),w=Su(B,R,D,N,h,A,p),s.moveTo(b.cx+b.x01,b.cy+b.y01),A<C?s.arc(b.cx,b.cy,A,uu(b.y01,b.x01),uu(w.y01,w.x01),!p):(s.arc(b.cx,b.cy,A,uu(b.y01,b.x01),uu(b.y11,b.x11),!p),s.arc(0,0,h,uu(b.cy+b.y11,b.cx+b.x11),uu(w.cy+w.y11,w.cx+w.x11),!p),s.arc(w.cx,w.cy,A,uu(w.y11,w.x11),uu(w.y01,w.x01),!p))):(s.moveTo(O,L),s.arc(0,0,h,y,m,!p)):s.moveTo(O,L),l>pu&&k>pu?S>pu?(b=Su(D,N,B,R,l,-S,p),w=Su(O,L,j,$,l,-S,p),s.lineTo(b.cx+b.x01,b.cy+b.y01),S<C?s.arc(b.cx,b.cy,S,uu(b.y01,b.x01),uu(w.y01,w.x01),!p):(s.arc(b.cx,b.cy,S,uu(b.y01,b.x01),uu(b.y11,b.x11),!p),s.arc(0,0,l,uu(b.cy+b.y11,b.cx+b.x11),uu(w.cy+w.y11,w.cx+w.x11),p),s.arc(w.cx,w.cy,S,uu(w.y11,w.x11),uu(w.y01,w.x01),!p))):s.arc(0,0,l,x,v,p):s.lineTo(D,N);}else s.moveTo(0,0);if(s.closePath(),c)return s=null,c+""||null}return c.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+r.apply(this,arguments)+ +a.apply(this,arguments))/2-bu/2;return [lu(i)*n,du(i)*n]},c.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),c):t},c.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:su(+t),c):e},c.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:su(+t),c):n},c.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:su(+t),c):i},c.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:su(+t),c):r},c.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:su(+t),c):a},c.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:su(+t),c):o},c.context=function(t){return arguments.length?(s=null==t?null:t,c):s},c}function Mu(t){return "object"==typeof t&&"length"in t?t:Array.from(t)}function Iu(t){this._context=t;}function Ou(t){return new Iu(t)}function Lu(t){return t[0]}function Du(t){return t[1]}function Nu(t,e){var n=su(!0),i=null,r=Ou,a=null;function o(o){var s,c,u,l=(o=Mu(o)).length,h=!1;for(null==i&&(a=r(u=Ka())),s=0;s<=l;++s)!(s<l&&n(c=o[s],s,o))===h&&((h=!h)?a.lineStart():a.lineEnd()),h&&a.point(+t(c,s,o),+e(c,s,o));if(u)return a=null,u+""||null}return t="function"==typeof t?t:void 0===t?Lu:su(t),e="function"==typeof e?e:void 0===e?Du:su(e),o.x=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),o):t},o.y=function(t){return arguments.length?(e="function"==typeof t?t:su(+t),o):e},o.defined=function(t){return arguments.length?(n="function"==typeof t?t:su(!!t),o):n},o.curve=function(t){return arguments.length?(r=t,null!=i&&(a=r(i)),o):r},o.context=function(t){return arguments.length?(null==t?i=a=null:a=r(i=t),o):i},o}function Pu(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function Bu(t){return t}function Ru(){var t=Bu,e=Pu,n=null,i=su(0),r=su(yu),a=su(0);function o(o){var s,c,u,l,h,f=(o=Mu(o)).length,d=0,g=new Array(f),p=new Array(f),b=+i.apply(this,arguments),w=Math.min(yu,Math.max(-yu,r.apply(this,arguments)-b)),y=Math.min(Math.abs(w)/f,a.apply(this,arguments)),m=y*(w<0?-1:1);for(s=0;s<f;++s)(h=p[g[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?g.sort((function(t,n){return e(p[t],p[n])})):null!=n&&g.sort((function(t,e){return n(o[t],o[e])})),s=0,u=d?(w-f*m)/d:0;s<f;++s,b=l)c=g[s],l=b+((h=p[c])>0?h*u:0)+m,p[c]={data:o[c],index:s,value:h,startAngle:b,endAngle:l,padAngle:y};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:su(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:su(+t),o):i},o.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:su(+t),o):r},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:su(+t),o):a},o}Iu.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._point=0;},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e);}}};class ju{constructor(t,e){this._context=t,this._x=e;}areaStart(){this._line=0;}areaEnd(){this._line=NaN;}lineStart(){this._point=0;}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e);}this._x0=t,this._y0=e;}}function $u(t){return new ju(t,!0)}function Fu(t){return new ju(t,!1)}function zu(){}function Hu(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6);}function Uu(t){this._context=t;}function Gu(t){return new Uu(t)}function qu(t){this._context=t;}function Ku(t){return new qu(t)}function Yu(t){this._context=t;}function Wu(t){return new Yu(t)}function Xu(t,e){this._basis=new Uu(t),this._beta=e;}Uu.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0;},lineEnd:function(){switch(this._point){case 3:Hu(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1);}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:Hu(this,t,e);}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e;}},qu.prototype={areaStart:zu,areaEnd:zu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0;},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4);}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:Hu(this,t,e);}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e;}},Yu.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0;},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:Hu(this,t,e);}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e;}},Xu.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart();},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i,r=t[0],a=e[0],o=t[n]-r,s=e[n]-a,c=-1;++c<=n;)i=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(r+i*o),this._beta*e[c]+(1-this._beta)*(a+i*s));this._x=this._y=null,this._basis.lineEnd();},point:function(t,e){this._x.push(+t),this._y.push(+e);}};const Vu=function t(e){function n(t){return 1===e?new Uu(t):new Xu(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Zu(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2);}function Qu(t,e){this._context=t,this._k=(1-e)/6;}Qu.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0;},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:Zu(this,this._x1,this._y1);}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:Zu(this,t,e);}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const Ju=function t(e){function n(t){return new Qu(t,e)}return n.tension=function(e){return t(+e)},n}(0);function tl(t,e){this._context=t,this._k=(1-e)/6;}tl.prototype={areaStart:zu,areaEnd:zu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0;},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:Zu(this,t,e);}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const el=function t(e){function n(t){return new tl(t,e)}return n.tension=function(e){return t(+e)},n}(0);function nl(t,e){this._context=t,this._k=(1-e)/6;}nl.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0;},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:Zu(this,t,e);}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const il=function t(e){function n(t){return new nl(t,e)}return n.tension=function(e){return t(+e)},n}(0);function rl(t,e,n){var i=t._x1,r=t._y1,a=t._x2,o=t._y2;if(t._l01_a>pu){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c;}if(t._l23_a>pu){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/l;}t._context.bezierCurveTo(i,r,a,o,t._x2,t._y2);}function al(t,e){this._context=t,this._alpha=e;}al.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0;},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2);}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha));}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:rl(this,t,e);}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const ol=function t(e){function n(t){return e?new al(t,e):new Qu(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function sl(t,e){this._context=t,this._alpha=e;}sl.prototype={areaStart:zu,areaEnd:zu,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0;},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5);}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha));}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:rl(this,t,e);}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const cl=function t(e){function n(t){return e?new sl(t,e):new tl(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function ul(t,e){this._context=t,this._alpha=e;}ul.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0;},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha));}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:rl(this,t,e);}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e;}};const ll=function t(e){function n(t){return e?new ul(t,e):new nl(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function hl(t){this._context=t;}function fl(t){return new hl(t)}function dl(t){return t<0?-1:1}function gl(t,e,n){var i=t._x1-t._x0,r=e-t._x1,a=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),s=(a*r+o*i)/(i+r);return (dl(a)+dl(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function pl(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function bl(t,e,n){var i=t._x0,r=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,r+s*e,a-s,o-s*n,a,o);}function wl(t){this._context=t;}function yl(t){this._context=new ml(t);}function ml(t){this._context=t;}function vl(t){return new wl(t)}function xl(t){return new yl(t)}function kl(t){this._context=t;}function _l(t){var e,n,i=t.length-1,r=new Array(i),a=new Array(i),o=new Array(i);for(r[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,a[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/a[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/a[e];for(a[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)a[e]=2*t[e+1]-r[e+1];return [r,a]}function El(t){return new kl(t)}function Tl(t,e){this._context=t,this._t=e;}function Cl(t){return new Tl(t,.5)}function Sl(t){return new Tl(t,0)}function Al(t){return new Tl(t,1)}function Ml(t,e,n){this.k=t,this.x=e,this.y=n;}function Il(t){return (Il="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function Ol(t,e){return (Ol=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function Ll(){if("undefined"==typeof Reflect||!Reflect.construct)return !1;if(Reflect.construct.sham)return !1;if("function"==typeof Proxy)return !0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return !1}}function Dl(t,e,n){return (Dl=Ll()?Reflect.construct:function(t,e,n){var i=[null];i.push.apply(i,e);var r=new(Function.bind.apply(t,i));return n&&Ol(r,n.prototype),r}).apply(null,arguments)}function Nl(t){return Pl(t)||Bl(t)||Rl(t)||$l()}function Pl(t){if(Array.isArray(t))return jl(t)}function Bl(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}function Rl(t,e){if(t){if("string"==typeof t)return jl(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return "Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jl(t,e):void 0}}function jl(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function $l(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}hl.prototype={areaStart:zu,areaEnd:zu,lineStart:function(){this._point=0;},lineEnd:function(){this._point&&this._context.closePath();},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e));}},wl.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0;},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:bl(this,this._t0,pl(this,this._t0));}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line;},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,bl(this,pl(this,n=gl(this,t,e)),n);break;default:bl(this,this._t0,n=gl(this,t,e));}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n;}}},(yl.prototype=Object.create(wl.prototype)).point=function(t,e){wl.prototype.point.call(this,e,t);},ml.prototype={moveTo:function(t,e){this._context.moveTo(e,t);},closePath:function(){this._context.closePath();},lineTo:function(t,e){this._context.lineTo(e,t);},bezierCurveTo:function(t,e,n,i,r,a){this._context.bezierCurveTo(e,t,i,n,a,r);}},kl.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x=[],this._y=[];},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=_l(t),r=_l(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(i[0][a],r[0][a],i[1][a],r[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null;},point:function(t,e){this._x.push(+t),this._y.push(+e);}},Tl.prototype={areaStart:function(){this._line=0;},areaEnd:function(){this._line=NaN;},lineStart:function(){this._x=this._y=NaN,this._point=0;},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line);},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else {var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e);}}this._x=t,this._y=e;}},Ml.prototype={constructor:Ml,scale:function(t){return 1===t?this:new Ml(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ml(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return [t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return [(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return (t-this.x)/this.k},invertY:function(t){return (t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return "translate("+this.x+","+this.y+") scale("+this.k+")"}},Ml.prototype;var Fl=Object.hasOwnProperty,zl=Object.setPrototypeOf,Hl=Object.isFrozen,Ul=Object.getPrototypeOf,Gl=Object.getOwnPropertyDescriptor,ql=Object.freeze,Kl=Object.seal,Yl=Object.create,Wl="undefined"!=typeof Reflect&&Reflect,Xl=Wl.apply,Vl=Wl.construct;Xl||(Xl=function(t,e,n){return t.apply(e,n)}),ql||(ql=function(t){return t}),Kl||(Kl=function(t){return t}),Vl||(Vl=function(t,e){return Dl(t,Nl(e))});var Zl=ch(Array.prototype.forEach),Ql=ch(Array.prototype.pop),Jl=ch(Array.prototype.push),th=ch(String.prototype.toLowerCase),eh=ch(String.prototype.toString),nh=ch(String.prototype.match),ih=ch(String.prototype.replace),rh=ch(String.prototype.indexOf),ah=ch(String.prototype.trim),oh=ch(RegExp.prototype.test),sh=uh(TypeError);function ch(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return Xl(t,e,i)}}function uh(t){return function(){for(var e=arguments.length,n=new Array(e),i=0;i<e;i++)n[i]=arguments[i];return Vl(t,n)}}function lh(t,e,n){n=n||th,zl&&zl(t,null);for(var i=e.length;i--;){var r=e[i];if("string"==typeof r){var a=n(r);a!==r&&(Hl(e)||(e[i]=a),r=a);}t[r]=!0;}return t}function hh(t){var e,n=Yl(null);for(e in t)!0===Xl(Fl,t,[e])&&(n[e]=t[e]);return n}function fh(t,e){for(;null!==t;){var n=Gl(t,e);if(n){if(n.get)return ch(n.get);if("function"==typeof n.value)return ch(n.value)}t=Ul(t);}function i(t){return console.warn("fallback value for",t),null}return i}var dh=ql(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),gh=ql(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ph=ql(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),bh=ql(["animate","color-profile","cursor","discard","fedropshadow","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),wh=ql(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover"]),yh=ql(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),mh=ql(["#text"]),vh=ql(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),xh=ql(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),kh=ql(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),_h=ql(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Eh=Kl(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Th=Kl(/<%[\w\W]*|[\w\W]*%>/gm),Ch=Kl(/\${[\w\W]*}/gm),Sh=Kl(/^data-[\-\w.\u00B7-\uFFFF]/),Ah=Kl(/^aria-[\-\w]+$/),Mh=Kl(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Ih=Kl(/^(?:\w+script|data):/i),Oh=Kl(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Lh=Kl(/^html$/i),Dh=function(){return "undefined"==typeof window?null:window},Nh=function(t,e){if("object"!==Il(t)||"function"!=typeof t.createPolicy)return null;var n=null,i="data-tt-policy-suffix";e.currentScript&&e.currentScript.hasAttribute(i)&&(n=e.currentScript.getAttribute(i));var r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:function(t){return t},createScriptURL:function(t){return t}})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}};function Ph(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dh(),e=function(t){return Ph(t)};if(e.version="2.4.3",e.removed=[],!t||!t.document||9!==t.document.nodeType)return e.isSupported=!1,e;var n=t.document,i=t.document,r=t.DocumentFragment,a=t.HTMLTemplateElement,o=t.Node,s=t.Element,c=t.NodeFilter,u=t.NamedNodeMap,l=void 0===u?t.NamedNodeMap||t.MozNamedAttrMap:u,h=t.HTMLFormElement,f=t.DOMParser,d=t.trustedTypes,g=s.prototype,p=fh(g,"cloneNode"),b=fh(g,"nextSibling"),w=fh(g,"childNodes"),y=fh(g,"parentNode");if("function"==typeof a){var m=i.createElement("template");m.content&&m.content.ownerDocument&&(i=m.content.ownerDocument);}var v=Nh(d,n),x=v?v.createHTML(""):"",k=i,_=k.implementation,E=k.createNodeIterator,T=k.createDocumentFragment,C=k.getElementsByTagName,S=n.importNode,A={};try{A=hh(i).documentMode?i.documentMode:{};}catch(t){}var M={};e.isSupported="function"==typeof y&&_&&void 0!==_.createHTMLDocument&&9!==A;var I,O,L=Eh,D=Th,N=Ch,P=Sh,B=Ah,R=Ih,j=Oh,$=Mh,F=null,z=lh({},[].concat(Nl(dh),Nl(gh),Nl(ph),Nl(wh),Nl(mh))),H=null,U=lh({},[].concat(Nl(vh),Nl(xh),Nl(kh),Nl(_h))),G=Object.seal(Object.create(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),q=null,K=null,Y=!0,W=!0,X=!1,V=!1,Z=!1,Q=!1,J=!1,tt=!1,et=!1,nt=!1,it=!0,rt=!1,at="user-content-",ot=!0,st=!1,ct={},ut=null,lt=lh({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]),ht=null,ft=lh({},["audio","video","img","source","image","track"]),dt=null,gt=lh({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pt="http://www.w3.org/1998/Math/MathML",bt="http://www.w3.org/2000/svg",wt="http://www.w3.org/1999/xhtml",yt=wt,mt=!1,vt=null,xt=lh({},[pt,bt,wt],eh),kt=["application/xhtml+xml","text/html"],_t="text/html",Et=null,Tt=i.createElement("form"),Ct=function(t){return t instanceof RegExp||t instanceof Function},St=function(t){Et&&Et===t||(t&&"object"===Il(t)||(t={}),t=hh(t),I=I=-1===kt.indexOf(t.PARSER_MEDIA_TYPE)?_t:t.PARSER_MEDIA_TYPE,O="application/xhtml+xml"===I?eh:th,F="ALLOWED_TAGS"in t?lh({},t.ALLOWED_TAGS,O):z,H="ALLOWED_ATTR"in t?lh({},t.ALLOWED_ATTR,O):U,vt="ALLOWED_NAMESPACES"in t?lh({},t.ALLOWED_NAMESPACES,eh):xt,dt="ADD_URI_SAFE_ATTR"in t?lh(hh(gt),t.ADD_URI_SAFE_ATTR,O):gt,ht="ADD_DATA_URI_TAGS"in t?lh(hh(ft),t.ADD_DATA_URI_TAGS,O):ft,ut="FORBID_CONTENTS"in t?lh({},t.FORBID_CONTENTS,O):lt,q="FORBID_TAGS"in t?lh({},t.FORBID_TAGS,O):{},K="FORBID_ATTR"in t?lh({},t.FORBID_ATTR,O):{},ct="USE_PROFILES"in t&&t.USE_PROFILES,Y=!1!==t.ALLOW_ARIA_ATTR,W=!1!==t.ALLOW_DATA_ATTR,X=t.ALLOW_UNKNOWN_PROTOCOLS||!1,V=t.SAFE_FOR_TEMPLATES||!1,Z=t.WHOLE_DOCUMENT||!1,tt=t.RETURN_DOM||!1,et=t.RETURN_DOM_FRAGMENT||!1,nt=t.RETURN_TRUSTED_TYPE||!1,J=t.FORCE_BODY||!1,it=!1!==t.SANITIZE_DOM,rt=t.SANITIZE_NAMED_PROPS||!1,ot=!1!==t.KEEP_CONTENT,st=t.IN_PLACE||!1,$=t.ALLOWED_URI_REGEXP||$,yt=t.NAMESPACE||wt,t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(G.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&Ct(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(G.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(G.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),V&&(W=!1),et&&(tt=!0),ct&&(F=lh({},Nl(mh)),H=[],!0===ct.html&&(lh(F,dh),lh(H,vh)),!0===ct.svg&&(lh(F,gh),lh(H,xh),lh(H,_h)),!0===ct.svgFilters&&(lh(F,ph),lh(H,xh),lh(H,_h)),!0===ct.mathMl&&(lh(F,wh),lh(H,kh),lh(H,_h))),t.ADD_TAGS&&(F===z&&(F=hh(F)),lh(F,t.ADD_TAGS,O)),t.ADD_ATTR&&(H===U&&(H=hh(H)),lh(H,t.ADD_ATTR,O)),t.ADD_URI_SAFE_ATTR&&lh(dt,t.ADD_URI_SAFE_ATTR,O),t.FORBID_CONTENTS&&(ut===lt&&(ut=hh(ut)),lh(ut,t.FORBID_CONTENTS,O)),ot&&(F["#text"]=!0),Z&&lh(F,["html","head","body"]),F.table&&(lh(F,["tbody"]),delete q.tbody),ql&&ql(t),Et=t);},At=lh({},["mi","mo","mn","ms","mtext"]),Mt=lh({},["foreignobject","desc","title","annotation-xml"]),It=lh({},["title","style","font","a","script"]),Ot=lh({},gh);lh(Ot,ph),lh(Ot,bh);var Lt=lh({},wh);lh(Lt,yh);var Dt=function(t){var e=y(t);e&&e.tagName||(e={namespaceURI:yt,tagName:"template"});var n=th(t.tagName),i=th(e.tagName);return !!vt[t.namespaceURI]&&(t.namespaceURI===bt?e.namespaceURI===wt?"svg"===n:e.namespaceURI===pt?"svg"===n&&("annotation-xml"===i||At[i]):Boolean(Ot[n]):t.namespaceURI===pt?e.namespaceURI===wt?"math"===n:e.namespaceURI===bt?"math"===n&&Mt[i]:Boolean(Lt[n]):t.namespaceURI===wt?!(e.namespaceURI===bt&&!Mt[i])&&!(e.namespaceURI===pt&&!At[i])&&!Lt[n]&&(It[n]||!Ot[n]):!("application/xhtml+xml"!==I||!vt[t.namespaceURI]))},Nt=function(t){Jl(e.removed,{element:t});try{t.parentNode.removeChild(t);}catch(e){try{t.outerHTML=x;}catch(e){t.remove();}}},Pt=function(t,n){try{Jl(e.removed,{attribute:n.getAttributeNode(t),from:n});}catch(t){Jl(e.removed,{attribute:null,from:n});}if(n.removeAttribute(t),"is"===t&&!H[t])if(tt||et)try{Nt(n);}catch(t){}else try{n.setAttribute(t,"");}catch(t){}},Bt=function(t){var e,n;if(J)t="<remove></remove>"+t;else {var r=nh(t,/^[\r\n\t ]+/);n=r&&r[0];}"application/xhtml+xml"===I&&yt===wt&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");var a=v?v.createHTML(t):t;if(yt===wt)try{e=(new f).parseFromString(a,I);}catch(t){}if(!e||!e.documentElement){e=_.createDocument(yt,"template",null);try{e.documentElement.innerHTML=mt?x:a;}catch(t){}}var o=e.body||e.documentElement;return t&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),yt===wt?C.call(e,Z?"html":"body")[0]:Z?e.documentElement:o},Rt=function(t){return E.call(t.ownerDocument||t,t,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,null,!1)},jt=function(t){return t instanceof h&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof l)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},$t=function(t){return "object"===Il(o)?t instanceof o:t&&"object"===Il(t)&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},Ft=function(t,n,i){M[t]&&Zl(M[t],(function(t){t.call(e,n,i,Et);}));},zt=function(t){var n;if(Ft("beforeSanitizeElements",t,null),jt(t))return Nt(t),!0;if(oh(/[\u0080-\uFFFF]/,t.nodeName))return Nt(t),!0;var i=O(t.nodeName);if(Ft("uponSanitizeElement",t,{tagName:i,allowedTags:F}),t.hasChildNodes()&&!$t(t.firstElementChild)&&(!$t(t.content)||!$t(t.content.firstElementChild))&&oh(/<[/\w]/g,t.innerHTML)&&oh(/<[/\w]/g,t.textContent))return Nt(t),!0;if("select"===i&&oh(/<template/i,t.innerHTML))return Nt(t),!0;if(!F[i]||q[i]){if(!q[i]&&Ut(i)){if(G.tagNameCheck instanceof RegExp&&oh(G.tagNameCheck,i))return !1;if(G.tagNameCheck instanceof Function&&G.tagNameCheck(i))return !1}if(ot&&!ut[i]){var r=y(t)||t.parentNode,a=w(t)||t.childNodes;if(a&&r)for(var o=a.length-1;o>=0;--o)r.insertBefore(p(a[o],!0),b(t));}return Nt(t),!0}return t instanceof s&&!Dt(t)?(Nt(t),!0):"noscript"!==i&&"noembed"!==i||!oh(/<\/no(script|embed)/i,t.innerHTML)?(V&&3===t.nodeType&&(n=t.textContent,n=ih(n,L," "),n=ih(n,D," "),n=ih(n,N," "),t.textContent!==n&&(Jl(e.removed,{element:t.cloneNode()}),t.textContent=n)),Ft("afterSanitizeElements",t,null),!1):(Nt(t),!0)},Ht=function(t,e,n){if(it&&("id"===e||"name"===e)&&(n in i||n in Tt))return !1;if(W&&!K[e]&&oh(P,e));else if(Y&&oh(B,e));else if(!H[e]||K[e]){if(!(Ut(t)&&(G.tagNameCheck instanceof RegExp&&oh(G.tagNameCheck,t)||G.tagNameCheck instanceof Function&&G.tagNameCheck(t))&&(G.attributeNameCheck instanceof RegExp&&oh(G.attributeNameCheck,e)||G.attributeNameCheck instanceof Function&&G.attributeNameCheck(e))||"is"===e&&G.allowCustomizedBuiltInElements&&(G.tagNameCheck instanceof RegExp&&oh(G.tagNameCheck,n)||G.tagNameCheck instanceof Function&&G.tagNameCheck(n))))return !1}else if(dt[e]);else if(oh($,ih(n,j,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==rh(n,"data:")||!ht[t])if(X&&!oh(R,ih(n,j,"")));else if(n)return !1;return !0},Ut=function(t){return t.indexOf("-")>0},Gt=function(t){var n,i,r,a;Ft("beforeSanitizeAttributes",t,null);var o=t.attributes;if(o){var s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H};for(a=o.length;a--;){var c=n=o[a],u=c.name,l=c.namespaceURI;if(i="value"===u?n.value:ah(n.value),r=O(u),s.attrName=r,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,Ft("uponSanitizeAttribute",t,s),i=s.attrValue,!s.forceKeepAttr&&(Pt(u,t),s.keepAttr))if(oh(/\/>/i,i))Pt(u,t);else {V&&(i=ih(i,L," "),i=ih(i,D," "),i=ih(i,N," "));var h=O(t.nodeName);if(Ht(h,r,i)){if(!rt||"id"!==r&&"name"!==r||(Pt(u,t),i=at+i),v&&"object"===Il(d)&&"function"==typeof d.getAttributeType)if(l);else switch(d.getAttributeType(h,r)){case"TrustedHTML":i=v.createHTML(i);break;case"TrustedScriptURL":i=v.createScriptURL(i);}try{l?t.setAttributeNS(l,u,i):t.setAttribute(u,i),Ql(e.removed);}catch(t){}}}}Ft("afterSanitizeAttributes",t,null);}},qt=function t(e){var n,i=Rt(e);for(Ft("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)Ft("uponSanitizeShadowNode",n,null),zt(n)||(n.content instanceof r&&t(n.content),Gt(n));Ft("afterSanitizeShadowDOM",e,null);};return e.sanitize=function(i){var a,s,c,u,l,h=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if((mt=!i)&&(i="\x3c!--\x3e"),"string"!=typeof i&&!$t(i)){if("function"!=typeof i.toString)throw sh("toString is not a function");if("string"!=typeof(i=i.toString()))throw sh("dirty is not a string, aborting")}if(!e.isSupported){if("object"===Il(t.toStaticHTML)||"function"==typeof t.toStaticHTML){if("string"==typeof i)return t.toStaticHTML(i);if($t(i))return t.toStaticHTML(i.outerHTML)}return i}if(Q||St(h),e.removed=[],"string"==typeof i&&(st=!1),st){if(i.nodeName){var f=O(i.nodeName);if(!F[f]||q[f])throw sh("root node is forbidden and cannot be sanitized in-place")}}else if(i instanceof o)1===(s=(a=Bt("\x3c!----\x3e")).ownerDocument.importNode(i,!0)).nodeType&&"BODY"===s.nodeName||"HTML"===s.nodeName?a=s:a.appendChild(s);else {if(!tt&&!V&&!Z&&-1===i.indexOf("<"))return v&&nt?v.createHTML(i):i;if(!(a=Bt(i)))return tt?null:nt?x:""}a&&J&&Nt(a.firstChild);for(var d=Rt(st?i:a);c=d.nextNode();)3===c.nodeType&&c===u||zt(c)||(c.content instanceof r&&qt(c.content),Gt(c),u=c);if(u=null,st)return i;if(tt){if(et)for(l=T.call(a.ownerDocument);a.firstChild;)l.appendChild(a.firstChild);else l=a;return H.shadowroot&&(l=S.call(n,l,!0)),l}var g=Z?a.outerHTML:a.innerHTML;return Z&&F["!doctype"]&&a.ownerDocument&&a.ownerDocument.doctype&&a.ownerDocument.doctype.name&&oh(Lh,a.ownerDocument.doctype.name)&&(g="<!DOCTYPE "+a.ownerDocument.doctype.name+">\n"+g),V&&(g=ih(g,L," "),g=ih(g,D," "),g=ih(g,N," ")),v&&nt?v.createHTML(g):g},e.setConfig=function(t){St(t),Q=!0;},e.clearConfig=function(){Et=null,Q=!1;},e.isValidAttribute=function(t,e,n){Et||St({});var i=O(t),r=O(e);return Ht(i,r,n)},e.addHook=function(t,e){"function"==typeof e&&(M[t]=M[t]||[],Jl(M[t],e));},e.removeHook=function(t){if(M[t])return Ql(M[t])},e.removeHooks=function(t){M[t]&&(M[t]=[]);},e.removeAllHooks=function(){M={};},e}var Bh=Ph();const Rh=t=>t?Gh(t).replace(/\\n/g,"#br#").split("#br#"):[""],jh=t=>Bh.sanitize(t),$h=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=jh(t):"loose"!==n&&(t=(t=(t=Gh(t)).replace(/</g,"<").replace(/>/g,">")).replace(/=/g,"="),t=Uh(t));}return t},Fh=(t,e)=>t?t=e.dompurifyConfig?Bh.sanitize($h(t,e),e.dompurifyConfig).toString():Bh.sanitize($h(t,e),{FORBID_TAGS:["style"]}).toString():t,zh=(t,e)=>"string"==typeof t?Fh(t,e):t.flat().map((t=>Fh(t,e))),Hh=/<br\s*\/?>/gi,Uh=t=>t.replace(/#br#/g,"<br/>"),Gh=t=>t.replace(Hh,"#br#"),qh=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),Kh=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>");}while(t!=e);return Kh(t)}return e},Yh={getRows:Rh,sanitizeText:Fh,sanitizeTextOrArray:zh,hasBreaks:t=>Hh.test(t),splitBreaks:t=>t.split(Hh),lineBreakRegex:Hh,removeScript:jh,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:qh},Wh={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(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),hsl2rgb:({h:t,s:e,l:n},i)=>{if(!e)return 2.55*n;t/=360,e/=100;const r=(n/=100)<.5?n*(1+e):n+e-n*e,a=2*n-r;switch(i){case"r":return 255*Wh.hue2rgb(a,r,t+1/3);case"g":return 255*Wh.hue2rgb(a,r,t);case"b":return 255*Wh.hue2rgb(a,r,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},i)=>{t/=255,e/=255,n/=255;const r=Math.max(t,e,n),a=Math.min(t,e,n),o=(r+a)/2;if("l"===i)return 100*o;if(r===a)return 0;const s=r-a;if("s"===i)return 100*(o>.5?s/(2-r-a):s/(r+a));switch(r){case t:return 60*((e-n)/s+(e<n?6:0));case e:return 60*((n-t)/s+2);case n:return 60*((t-e)/s+4);default:return -1}}},Xh={channel:Wh,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}},Vh={};for(let t=0;t<=255;t++)Vh[t]=Xh.unit.dec2hex(t);const Zh={ALL:0,RGB:1,HSL:2};class Qh{constructor(){this.type=Zh.ALL;}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t;}reset(){this.type=Zh.ALL;}is(t){return this.type===t}}const Jh=Qh;class tf{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new Jh;}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=Zh.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:i}=t;void 0===e&&(t.h=Xh.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=Xh.channel.rgb2hsl(t,"s")),void 0===i&&(t.l=Xh.channel.rgb2hsl(t,"l"));}_ensureRGB(){const t=this.data,{r:e,g:n,b:i}=t;void 0===e&&(t.r=Xh.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=Xh.channel.hsl2rgb(t,"g")),void 0===i&&(t.b=Xh.channel.hsl2rgb(t,"b"));}get r(){const t=this.data,e=t.r;return this.type.is(Zh.HSL)||void 0===e?(this._ensureHSL(),Xh.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(Zh.HSL)||void 0===e?(this._ensureHSL(),Xh.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(Zh.HSL)||void 0===e?(this._ensureHSL(),Xh.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(Zh.RGB)||void 0===e?(this._ensureRGB(),Xh.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(Zh.RGB)||void 0===e?(this._ensureRGB(),Xh.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(Zh.RGB)||void 0===e?(this._ensureRGB(),Xh.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(Zh.RGB),this.changed=!0,this.data.r=t;}set g(t){this.type.set(Zh.RGB),this.changed=!0,this.data.g=t;}set b(t){this.type.set(Zh.RGB),this.changed=!0,this.data.b=t;}set h(t){this.type.set(Zh.HSL),this.changed=!0,this.data.h=t;}set s(t){this.type.set(Zh.HSL),this.changed=!0,this.data.s=t;}set l(t){this.type.set(Zh.HSL),this.changed=!0,this.data.l=t;}set a(t){this.changed=!0,this.data.a=t;}}const ef=new tf({r:0,g:0,b:0,a:0},"transparent"),nf={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(nf.re);if(!e)return;const n=e[1],i=parseInt(n,16),r=n.length,a=r%4==0,o=r>4,s=o?1:17,c=o?8:4,u=a?0:-1,l=o?255:15;return ef.set({r:(i>>c*(u+3)&l)*s,g:(i>>c*(u+2)&l)*s,b:(i>>c*(u+1)&l)*s,a:a?(i&l)*s/255:1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`#${Vh[Math.round(e)]}${Vh[Math.round(n)]}${Vh[Math.round(i)]}${Vh[Math.round(255*r)]}`:`#${Vh[Math.round(e)]}${Vh[Math.round(n)]}${Vh[Math.round(i)]}`}},rf=nf,af={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(af.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return Xh.channel.clamp.h(.9*parseFloat(t));case"rad":return Xh.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return Xh.channel.clamp.h(360*parseFloat(t))}}return Xh.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(af.re);if(!n)return;const[,i,r,a,o,s]=n;return ef.set({h:af._hue2deg(i),s:Xh.channel.clamp.s(parseFloat(r)),l:Xh.channel.clamp.l(parseFloat(a)),a:o?Xh.channel.clamp.a(s?parseFloat(o)/100:parseFloat(o)):1},t)},stringify:t=>{const{h:e,s:n,l:i,a:r}=t;return r<1?`hsla(${Xh.lang.round(e)}, ${Xh.lang.round(n)}%, ${Xh.lang.round(i)}%, ${r})`:`hsl(${Xh.lang.round(e)}, ${Xh.lang.round(n)}%, ${Xh.lang.round(i)}%)`}},of=af,sf={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=sf.colors[t];if(e)return rf.parse(e)},stringify:t=>{const e=rf.stringify(t);for(const t in sf.colors)if(sf.colors[t]===e)return t}},cf=sf,uf={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(uf.re);if(!n)return;const[,i,r,a,o,s,c,u,l]=n;return ef.set({r:Xh.channel.clamp.r(r?2.55*parseFloat(i):parseFloat(i)),g:Xh.channel.clamp.g(o?2.55*parseFloat(a):parseFloat(a)),b:Xh.channel.clamp.b(c?2.55*parseFloat(s):parseFloat(s)),a:u?Xh.channel.clamp.a(l?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`rgba(${Xh.lang.round(e)}, ${Xh.lang.round(n)}, ${Xh.lang.round(i)}, ${Xh.lang.round(r)})`:`rgb(${Xh.lang.round(e)}, ${Xh.lang.round(n)}, ${Xh.lang.round(i)})`}},lf=uf,hf={format:{keyword:cf,hex:rf,rgb:lf,rgba:lf,hsl:of,hsla:of},parse:t=>{if("string"!=typeof t)return t;const e=rf.parse(t)||lf.parse(t)||of.parse(t)||cf.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(Zh.HSL)||void 0===t.data.r?of.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?lf.stringify(t):rf.stringify(t)},ff=(t,e)=>{const n=hf.parse(t);for(const t in e)n[t]=Xh.channel.clamp[t](e[t]);return hf.stringify(n)},df=(t,e,n=0,i=1)=>{if("number"!=typeof t)return ff(t,{a:e});const r=ef.set({r:Xh.channel.clamp.r(t),g:Xh.channel.clamp.g(e),b:Xh.channel.clamp.b(n),a:Xh.channel.clamp.a(i)});return hf.stringify(r)},gf=t=>{const{r:e,g:n,b:i}=hf.parse(t),r=.2126*Xh.channel.toLinear(e)+.7152*Xh.channel.toLinear(n)+.0722*Xh.channel.toLinear(i);return Xh.lang.round(r)},pf=t=>gf(t)>=.5,bf=t=>!pf(t),wf=(t,e,n)=>{const i=hf.parse(t),r=i[e],a=Xh.channel.clamp[e](r+n);return r!==a&&(i[e]=a),hf.stringify(i)},yf=(t,e)=>wf(t,"l",e),mf=(t,e)=>wf(t,"l",-e),vf=(t,e)=>{const n=hf.parse(t),i={};for(const t in e)e[t]&&(i[t]=n[t]+e[t]);return ff(t,i)},xf=(t,e,n=50)=>{const{r:i,g:r,b:a,a:o}=hf.parse(t),{r:s,g:c,b:u,a:l}=hf.parse(e),h=n/100,f=2*h-1,d=o-l,g=((f*d==-1?f:(f+d)/(1+f*d))+1)/2,p=1-g;return df(i*g+s*p,r*g+c*p,a*g+u*p,o*h+l*(1-h))},kf=(t,e=100)=>{const n=hf.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,xf(n,t,e)},_f=(t,e)=>vf(t,e?{s:-40,l:10}:{s:-40,l:-10}),Ef="#ffffff",Tf="#f2f2f2";let Cf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px";}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||vf(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||vf(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||_f(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||_f(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||_f(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||_f(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||kf(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||kf(this.tertiaryColor),this.lineColor=this.lineColor||kf(this.background),this.textColor=this.textColor||this.primaryTextColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?mf(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||mf(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||kf(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||yf(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||vf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||vf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||vf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||vf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||vf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||vf(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||vf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||vf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||vf(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=mf(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=mf(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||kf(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||yf(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||mf(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||vf(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||vf(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||vf(this.primaryColor,{h:64}),this.fillType3=this.fillType3||vf(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||vf(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||vf(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||vf(this.primaryColor,{h:128}),this.fillType7=this.fillType7||vf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||vf(this.primaryColor,{l:-10}),this.pie5=this.pie5||vf(this.secondaryColor,{l:-10}),this.pie6=this.pie6||vf(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||vf(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||vf(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||vf(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||vf(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||vf(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||vf(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?mf(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||vf(this.primaryColor,{h:-30}),this.git4=this.git4||vf(this.primaryColor,{h:-60}),this.git5=this.git5||vf(this.primaryColor,{h:-90}),this.git6=this.git6||vf(this.primaryColor,{h:60}),this.git7=this.git7||vf(this.primaryColor,{h:120}),this.darkMode?(this.git0=yf(this.git0,25),this.git1=yf(this.git1,25),this.git2=yf(this.git2,25),this.git3=yf(this.git3,25),this.git4=yf(this.git4,25),this.git5=yf(this.git5,25),this.git6=yf(this.git6,25),this.git7=yf(this.git7,25)):(this.git0=mf(this.git0,25),this.git1=mf(this.git1,25),this.git2=mf(this.git2,25),this.git3=mf(this.git3,25),this.git4=mf(this.git4,25),this.git5=mf(this.git5,25),this.git6=mf(this.git6,25),this.git7=mf(this.git7,25)),this.gitInv0=this.gitInv0||kf(this.git0),this.gitInv1=this.gitInv1||kf(this.git1),this.gitInv2=this.gitInv2||kf(this.git2),this.gitInv3=this.gitInv3||kf(this.git3),this.gitInv4=this.gitInv4||kf(this.git4),this.gitInv5=this.gitInv5||kf(this.git5),this.gitInv6=this.gitInv6||kf(this.git6),this.gitInv7=this.gitInv7||kf(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ef,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Tf;}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e];})),this.updateColors(),e.forEach((e=>{this[e]=t[e];}));}};const Sf=t=>{const e=new Cf;return e.calculate(t),e};let Af=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=yf(this.primaryColor,16),this.tertiaryColor=vf(this.primaryColor,{h:-160}),this.primaryBorderColor=kf(this.background),this.secondaryBorderColor=_f(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=_f(this.tertiaryColor,this.darkMode),this.primaryTextColor=kf(this.primaryColor),this.secondaryTextColor=kf(this.secondaryColor),this.tertiaryTextColor=kf(this.tertiaryColor),this.lineColor=kf(this.background),this.textColor=kf(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=yf(kf("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=df(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=mf("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.taskBorderColor=df(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=df(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd";}updateColors(){this.secondBkg=yf(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=yf(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=yf(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=vf(this.primaryColor,{h:64}),this.fillType3=vf(this.secondaryColor,{h:64}),this.fillType4=vf(this.primaryColor,{h:-64}),this.fillType5=vf(this.secondaryColor,{h:-64}),this.fillType6=vf(this.primaryColor,{h:128}),this.fillType7=vf(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||vf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||vf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||vf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||vf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||vf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||vf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||vf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||vf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||vf(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||kf(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||yf(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||vf(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||vf(this.mainBkg,{h:30,s:-30,l:-(4*t-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?mf(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=yf(this.secondaryColor,20),this.git1=yf(this.pie2||this.secondaryColor,20),this.git2=yf(this.pie3||this.tertiaryColor,20),this.git3=yf(this.pie4||vf(this.primaryColor,{h:-30}),20),this.git4=yf(this.pie5||vf(this.primaryColor,{h:-60}),20),this.git5=yf(this.pie6||vf(this.primaryColor,{h:-90}),10),this.git6=yf(this.pie7||vf(this.primaryColor,{h:60}),10),this.git7=yf(this.pie8||vf(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||kf(this.git0),this.gitInv1=this.gitInv1||kf(this.git1),this.gitInv2=this.gitInv2||kf(this.git2),this.gitInv3=this.gitInv3||kf(this.git3),this.gitInv4=this.gitInv4||kf(this.git4),this.gitInv5=this.gitInv5||kf(this.git5),this.gitInv6=this.gitInv6||kf(this.git6),this.gitInv7=this.gitInv7||kf(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||yf(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||yf(this.background,2);}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e];})),this.updateColors(),e.forEach((e=>{this[e]=t[e];}));}};const Mf=t=>{const e=new Af;return e.calculate(t),e};let If=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=vf(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=vf(this.primaryColor,{h:-160}),this.primaryBorderColor=_f(this.primaryColor,this.darkMode),this.secondaryBorderColor=_f(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=_f(this.tertiaryColor,this.darkMode),this.primaryTextColor=kf(this.primaryColor),this.secondaryTextColor=kf(this.secondaryColor),this.tertiaryTextColor=kf(this.tertiaryColor),this.lineColor=kf(this.background),this.textColor=kf(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=df(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors();}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||vf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||vf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||vf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||vf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||vf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||vf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||vf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||vf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||vf(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||mf(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||mf(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=mf(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||mf(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||vf(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||vf(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||vf(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||kf(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||kf(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor;}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=yf(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=vf(this.primaryColor,{h:64}),this.fillType3=vf(this.secondaryColor,{h:64}),this.fillType4=vf(this.primaryColor,{h:-64}),this.fillType5=vf(this.secondaryColor,{h:-64}),this.fillType6=vf(this.primaryColor,{h:128}),this.fillType7=vf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||vf(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||vf(this.primaryColor,{l:-10}),this.pie5=this.pie5||vf(this.secondaryColor,{l:-30}),this.pie6=this.pie6||vf(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||vf(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||vf(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||vf(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||vf(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||vf(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||vf(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||vf(this.primaryColor,{h:-30}),this.git4=this.git4||vf(this.primaryColor,{h:-60}),this.git5=this.git5||vf(this.primaryColor,{h:-90}),this.git6=this.git6||vf(this.primaryColor,{h:60}),this.git7=this.git7||vf(this.primaryColor,{h:120}),this.darkMode?(this.git0=yf(this.git0,25),this.git1=yf(this.git1,25),this.git2=yf(this.git2,25),this.git3=yf(this.git3,25),this.git4=yf(this.git4,25),this.git5=yf(this.git5,25),this.git6=yf(this.git6,25),this.git7=yf(this.git7,25)):(this.git0=mf(this.git0,25),this.git1=mf(this.git1,25),this.git2=mf(this.git2,25),this.git3=mf(this.git3,25),this.git4=mf(this.git4,25),this.git5=mf(this.git5,25),this.git6=mf(this.git6,25),this.git7=mf(this.git7,25)),this.gitInv0=this.gitInv0||mf(kf(this.git0),25),this.gitInv1=this.gitInv1||kf(this.git1),this.gitInv2=this.gitInv2||kf(this.git2),this.gitInv3=this.gitInv3||kf(this.git3),this.gitInv4=this.gitInv4||kf(this.git4),this.gitInv5=this.gitInv5||kf(this.git5),this.gitInv6=this.gitInv6||kf(this.git6),this.gitInv7=this.gitInv7||kf(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||kf(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||kf(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ef,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Tf;}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e];})),this.updateColors(),e.forEach((e=>{this[e]=t[e];}));}};const Of=t=>{const e=new If;return e.calculate(t),e};let Lf=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=yf("#cde498",10),this.primaryBorderColor=_f(this.primaryColor,this.darkMode),this.secondaryBorderColor=_f(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=_f(this.tertiaryColor,this.darkMode),this.primaryTextColor=kf(this.primaryColor),this.secondaryTextColor=kf(this.secondaryColor),this.tertiaryTextColor=kf(this.primaryColor),this.lineColor=kf(this.background),this.textColor=kf(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222";}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||vf(this.primaryColor,{h:30}),this.cScale4=this.cScale4||vf(this.primaryColor,{h:60}),this.cScale5=this.cScale5||vf(this.primaryColor,{h:90}),this.cScale6=this.cScale6||vf(this.primaryColor,{h:120}),this.cScale7=this.cScale7||vf(this.primaryColor,{h:150}),this.cScale8=this.cScale8||vf(this.primaryColor,{h:210}),this.cScale9=this.cScale9||vf(this.primaryColor,{h:270}),this.cScale10=this.cScale10||vf(this.primaryColor,{h:300}),this.cScale11=this.cScale11||vf(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||mf(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||mf(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=mf(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||mf(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||vf(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||vf(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||vf(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.actorBorder=mf(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=vf(this.primaryColor,{h:64}),this.fillType3=vf(this.secondaryColor,{h:64}),this.fillType4=vf(this.primaryColor,{h:-64}),this.fillType5=vf(this.secondaryColor,{h:-64}),this.fillType6=vf(this.primaryColor,{h:128}),this.fillType7=vf(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||vf(this.primaryColor,{l:-30}),this.pie5=this.pie5||vf(this.secondaryColor,{l:-30}),this.pie6=this.pie6||vf(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||vf(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||vf(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||vf(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||vf(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||vf(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||vf(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||vf(this.primaryColor,{h:-30}),this.git4=this.git4||vf(this.primaryColor,{h:-60}),this.git5=this.git5||vf(this.primaryColor,{h:-90}),this.git6=this.git6||vf(this.primaryColor,{h:60}),this.git7=this.git7||vf(this.primaryColor,{h:120}),this.darkMode?(this.git0=yf(this.git0,25),this.git1=yf(this.git1,25),this.git2=yf(this.git2,25),this.git3=yf(this.git3,25),this.git4=yf(this.git4,25),this.git5=yf(this.git5,25),this.git6=yf(this.git6,25),this.git7=yf(this.git7,25)):(this.git0=mf(this.git0,25),this.git1=mf(this.git1,25),this.git2=mf(this.git2,25),this.git3=mf(this.git3,25),this.git4=mf(this.git4,25),this.git5=mf(this.git5,25),this.git6=mf(this.git6,25),this.git7=mf(this.git7,25)),this.gitInv0=this.gitInv0||kf(this.git0),this.gitInv1=this.gitInv1||kf(this.git1),this.gitInv2=this.gitInv2||kf(this.git2),this.gitInv3=this.gitInv3||kf(this.git3),this.gitInv4=this.gitInv4||kf(this.git4),this.gitInv5=this.gitInv5||kf(this.git5),this.gitInv6=this.gitInv6||kf(this.git6),this.gitInv7=this.gitInv7||kf(this.git7),this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ef,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Tf;}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e];})),this.updateColors(),e.forEach((e=>{this[e]=t[e];}));}};const Df=t=>{const e=new Lf;return e.calculate(t),e};class Nf{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=yf(this.contrast,55),this.background="#ffffff",this.tertiaryColor=vf(this.primaryColor,{h:-160}),this.primaryBorderColor=_f(this.primaryColor,this.darkMode),this.secondaryBorderColor=_f(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=_f(this.tertiaryColor,this.darkMode),this.primaryTextColor=kf(this.primaryColor),this.secondaryTextColor=kf(this.secondaryColor),this.tertiaryTextColor=kf(this.tertiaryColor),this.lineColor=kf(this.background),this.textColor=kf(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder="calculated",this.personBkg="calculated",this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222";}updateColors(){this.secondBkg=yf(this.contrast,55),this.border2=this.contrast,this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||kf(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||yf(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||mf(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||vf(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||vf(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.actorBorder=yf(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.sectionBkgColor=yf(this.contrast,30),this.sectionBkgColor2=yf(this.contrast,30),this.taskBorderColor=mf(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=yf(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=mf(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=vf(this.primaryColor,{h:64}),this.fillType3=vf(this.secondaryColor,{h:64}),this.fillType4=vf(this.primaryColor,{h:-64}),this.fillType5=vf(this.secondaryColor,{h:-64}),this.fillType6=vf(this.primaryColor,{h:128}),this.fillType7=vf(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOpacity=this.pieOpacity||"0.7",this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||this.primaryBorderColor,this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=mf(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||vf(this.primaryColor,{h:-30}),this.git4=this.pie5||vf(this.primaryColor,{h:-60}),this.git5=this.pie6||vf(this.primaryColor,{h:-90}),this.git6=this.pie7||vf(this.primaryColor,{h:60}),this.git7=this.pie8||vf(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||kf(this.git0),this.gitInv1=this.gitInv1||kf(this.git1),this.gitInv2=this.gitInv2||kf(this.git2),this.gitInv3=this.gitInv3||kf(this.git3),this.gitInv4=this.gitInv4||kf(this.git4),this.gitInv5=this.gitInv5||kf(this.git5),this.gitInv6=this.gitInv6||kf(this.git6),this.gitInv7=this.gitInv7||kf(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||Ef,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||Tf;}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e];})),this.updateColors(),e.forEach((e=>{this[e]=t[e];}));}}const Pf={base:{getThemeVariables:Sf},dark:{getThemeVariables:Mf},default:{getThemeVariables:Of},forest:{getThemeVariables:Df},neutral:{getThemeVariables:t=>{const e=new Nf;return e.calculate(t),e}}},Bf={theme:"default",themeVariables:Pf.default.getThemeVariables(),themeCSS:void 0,maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},sequence:{hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20,messageFont:function(){return {fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return {fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return {fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0},requirement:{useWidth:void 0,useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,personFont:function(){return {fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return {fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return {fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return {fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return {fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return {fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return {fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return {fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return {fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return {fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return {fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return {fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return {fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return {fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return {fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return {fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return {fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return {fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return {fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return {fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return {fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return {fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};Bf.class&&(Bf.class.arrowMarkerAbsolute=Bf.arrowMarkerAbsolute),Bf.gitGraph&&(Bf.gitGraph.arrowMarkerAbsolute=Bf.arrowMarkerAbsolute);const Rf=(t,e="")=>Object.keys(t).reduce(((n,i)=>Array.isArray(t[i])?n:"object"==typeof t[i]&&null!==t[i]?[...n,e+i,...Rf(t[i],"")]:[...n,e+i]),[]),jf=Rf(Bf,""),$f=Bf;function Ff(t){return null==t}function zf(t){return "object"==typeof t&&null!==t}function Hf(t){return Array.isArray(t)?t:Ff(t)?[]:[t]}function Uf(t,e){var n,i,r,a;if(e)for(n=0,i=(a=Object.keys(e)).length;n<i;n+=1)t[r=a[n]]=e[r];return t}function Gf(t,e){var n,i="";for(n=0;n<e;n+=1)i+=t;return i}function qf(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t}var Kf={isNothing:Ff,isObject:zf,toArray:Hf,repeat:Gf,isNegativeZero:qf,extend:Uf};function Yf(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),i+" "+n):i}function Wf(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Yf(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||"";}Wf.prototype=Object.create(Error.prototype),Wf.prototype.constructor=Wf,Wf.prototype.toString=function(t){return this.name+": "+Yf(this,t)};var Xf=Wf;function Vf(t,e,n,i,r){var a="",o="",s=Math.floor(r/2)-1;return i-e>s&&(e=i-s+(a=" ... ").length),n-i>s&&(n=i+s-(o=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"→")+o,pos:i-e+a.length}}function Zf(t,e){return Kf.repeat(" ",e-t.length)+t}function Qf(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,i=/\r?\n|\r|\0/g,r=[0],a=[],o=-1;n=i.exec(t.buffer);)a.push(n.index),r.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s,c,u="",l=Math.min(t.line+e.linesAfter,a.length).toString().length,h=e.maxLength-(e.indent+l+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)c=Vf(t.buffer,r[o-s],a[o-s],t.position-(r[o]-r[o-s]),h),u=Kf.repeat(" ",e.indent)+Zf((t.line-s+1).toString(),l)+" | "+c.str+"\n"+u;for(c=Vf(t.buffer,r[o],a[o],t.position,h),u+=Kf.repeat(" ",e.indent)+Zf((t.line+1).toString(),l)+" | "+c.str+"\n",u+=Kf.repeat("-",e.indent+l+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=Vf(t.buffer,r[o+s],a[o+s],t.position-(r[o]-r[o+s]),h),u+=Kf.repeat(" ",e.indent)+Zf((t.line+s+1).toString(),l)+" | "+c.str+"\n";return u.replace(/\n$/,"")}var Jf=Qf,td=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ed=["scalar","sequence","mapping"];function nd(t){var e={};return null!==t&&Object.keys(t).forEach((function(n){t[n].forEach((function(t){e[String(t)]=n;}));})),e}function id(t,e){if(e=e||{},Object.keys(e).forEach((function(e){if(-1===td.indexOf(e))throw new Xf('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return !0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=nd(e.styleAliases||null),-1===ed.indexOf(this.kind))throw new Xf('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')}var rd=id;function ad(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,i){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=i);})),n[e]=t;})),n}function od(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t;}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return n}function sd(t){return this.extend(t)}sd.prototype.extend=function(t){var e=[],n=[];if(t instanceof rd)n.push(t);else if(Array.isArray(t))n=n.concat(t);else {if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Xf("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit));}e.forEach((function(t){if(!(t instanceof rd))throw new Xf("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Xf("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Xf("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof rd))throw new Xf("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create(sd.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=ad(i,"implicit"),i.compiledExplicit=ad(i,"explicit"),i.compiledTypeMap=od(i.compiledImplicit,i.compiledExplicit),i};var cd=sd,ud=new rd("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),ld=new rd("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),hd=new rd("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}}),fd=new cd({explicit:[ud,ld,hd]});function dd(t){if(null===t)return !0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)}function gd(){return null}function pd(t){return null===t}var bd=new rd("tag:yaml.org,2002:null",{kind:"scalar",resolve:dd,construct:gd,predicate:pd,represent:{canonical:function(){return "~"},lowercase:function(){return "null"},uppercase:function(){return "NULL"},camelcase:function(){return "Null"},empty:function(){return ""}},defaultStyle:"lowercase"});function wd(t){if(null===t)return !1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)}function yd(t){return "true"===t||"True"===t||"TRUE"===t}function md(t){return "[object Boolean]"===Object.prototype.toString.call(t)}var vd=new rd("tag:yaml.org,2002:bool",{kind:"scalar",resolve:wd,construct:yd,predicate:md,represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function xd(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function kd(t){return 48<=t&&t<=55}function _d(t){return 48<=t&&t<=57}function Ed(t){if(null===t)return !1;var e,n=t.length,i=0,r=!1;if(!n)return !1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===n)return !0;if("b"===(e=t[++i])){for(i++;i<n;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return !1;r=!0;}return r&&"_"!==e}if("x"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!xd(t.charCodeAt(i)))return !1;r=!0;}return r&&"_"!==e}if("o"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!kd(t.charCodeAt(i)))return !1;r=!0;}return r&&"_"!==e}}if("_"===e)return !1;for(;i<n;i++)if("_"!==(e=t[i])){if(!_d(t.charCodeAt(i)))return !1;r=!0;}return !(!r||"_"===e)}function Td(t){var e,n=t,i=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(i=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return i*parseInt(n.slice(2),2);if("x"===n[1])return i*parseInt(n.slice(2),16);if("o"===n[1])return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)}function Cd(t){return "[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Kf.isNegativeZero(t)}var Sd=new rd("tag:yaml.org,2002:int",{kind:"scalar",resolve:Ed,construct:Td,predicate:Cd,represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),Ad=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");function Md(t){return null!==t&&!(!Ad.test(t)||"_"===t[t.length-1])}function Id(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)}var Od=/^[-+]?[0-9]+e/;function Ld(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return ".nan";case"uppercase":return ".NAN";case"camelcase":return ".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return ".inf";case"uppercase":return ".INF";case"camelcase":return ".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return "-.inf";case"uppercase":return "-.INF";case"camelcase":return "-.Inf"}else if(Kf.isNegativeZero(t))return "-0.0";return n=t.toString(10),Od.test(n)?n.replace("e",".e"):n}function Dd(t){return "[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Kf.isNegativeZero(t))}var Nd=new rd("tag:yaml.org,2002:float",{kind:"scalar",resolve:Md,construct:Id,predicate:Dd,represent:Ld,defaultStyle:"lowercase"}),Pd=fd.extend({implicit:[bd,vd,Sd,Nd]}),Bd=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Rd=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$");function jd(t){return null!==t&&(null!==Bd.exec(t)||null!==Rd.exec(t))}function $d(t){var e,n,i,r,a,o,s,c,u=0,l=null;if(null===(e=Bd.exec(t))&&(e=Rd.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],i=+e[2]-1,r=+e[3],!e[4])return new Date(Date.UTC(n,i,r));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u;}return e[9]&&(l=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(l=-l)),c=new Date(Date.UTC(n,i,r,a,o,s,u)),l&&c.setTime(c.getTime()-l),c}function Fd(t){return t.toISOString()}var zd=new rd("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:jd,construct:$d,instanceOf:Date,represent:Fd});function Hd(t){return "<<"===t||null===t}var Ud=new rd("tag:yaml.org,2002:merge",{kind:"scalar",resolve:Hd}),Gd="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";function qd(t){if(null===t)return !1;var e,n,i=0,r=t.length,a=Gd;for(n=0;n<r;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return !1;i+=6;}return i%8==0}function Kd(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,a=Gd,o=0,s=[];for(e=0;e<r;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(i.charAt(e));return 0==(n=r%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)}function Yd(t){var e,n,i="",r=0,a=t.length,o=Gd;for(e=0;e<a;e++)e%3==0&&e&&(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]),r=(r<<8)+t[e];return 0==(n=a%3)?(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]):2===n?(i+=o[r>>10&63],i+=o[r>>4&63],i+=o[r<<2&63],i+=o[64]):1===n&&(i+=o[r>>2&63],i+=o[r<<4&63],i+=o[64],i+=o[64]),i}function Wd(t){return "[object Uint8Array]"===Object.prototype.toString.call(t)}var Xd=new rd("tag:yaml.org,2002:binary",{kind:"scalar",resolve:qd,construct:Kd,predicate:Wd,represent:Yd}),Vd=Object.prototype.hasOwnProperty,Zd=Object.prototype.toString;function Qd(t){if(null===t)return !0;var e,n,i,r,a,o=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(i=s[e],a=!1,"[object Object]"!==Zd.call(i))return !1;for(r in i)if(Vd.call(i,r)){if(a)return !1;a=!0;}if(!a)return !1;if(-1!==o.indexOf(r))return !1;o.push(r);}return !0}function Jd(t){return null!==t?t:[]}var tg=new rd("tag:yaml.org,2002:omap",{kind:"sequence",resolve:Qd,construct:Jd}),eg=Object.prototype.toString;function ng(t){if(null===t)return !0;var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1){if(i=o[e],"[object Object]"!==eg.call(i))return !1;if(1!==(r=Object.keys(i)).length)return !1;a[e]=[r[0],i[r[0]]];}return !0}function ig(t){if(null===t)return [];var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1)i=o[e],r=Object.keys(i),a[e]=[r[0],i[r[0]]];return a}var rg=new rd("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:ng,construct:ig}),ag=Object.prototype.hasOwnProperty;function og(t){if(null===t)return !0;var e,n=t;for(e in n)if(ag.call(n,e)&&null!==n[e])return !1;return !0}function sg(t){return null!==t?t:{}}var cg=new rd("tag:yaml.org,2002:set",{kind:"mapping",resolve:og,construct:sg}),ug=Pd.extend({implicit:[zd,Ud],explicit:[Xd,tg,rg,cg]}),lg=Object.prototype.hasOwnProperty,hg=1,fg=2,dg=3,gg=4,pg=1,bg=2,wg=3,yg=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,mg=/[\x85\u2028\u2029]/,vg=/[,\[\]\{\}]/,xg=/^(?:!|!!|![a-z\-]+!)$/i,kg=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function _g(t){return Object.prototype.toString.call(t)}function Eg(t){return 10===t||13===t}function Tg(t){return 9===t||32===t}function Cg(t){return 9===t||32===t||10===t||13===t}function Sg(t){return 44===t||91===t||93===t||123===t||125===t}function Ag(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function Mg(t){return 120===t?2:117===t?4:85===t?8:0}function Ig(t){return 48<=t&&t<=57?t-48:-1}function Og(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"
":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function Lg(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var Dg=new Array(256),Ng=new Array(256),Pg=0;Pg<256;Pg++)Dg[Pg]=Og(Pg)?1:0,Ng[Pg]=Og(Pg);function Bg(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||ug,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[];}function Rg(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=Jf(n),new Xf(e,n)}function jg(t,e){throw Rg(t,e)}function $g(t,e){t.onWarning&&t.onWarning.call(null,Rg(t,e));}var Fg={YAML:function(t,e,n){var i,r,a;null!==t.version&&jg(t,"duplication of %YAML directive"),1!==n.length&&jg(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&jg(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),a=parseInt(i[2],10),1!==r&&jg(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&$g(t,"unsupported YAML version of the document");},TAG:function(t,e,n){var i,r;2!==n.length&&jg(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],xg.test(i)||jg(t,"ill-formed tag handle (first argument) of the TAG directive"),lg.call(t.tagMap,i)&&jg(t,'there is a previously declared suffix for "'+i+'" tag handle'),kg.test(r)||jg(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r);}catch(e){jg(t,"tag prefix is malformed: "+r);}t.tagMap[i]=r;}};function zg(t,e,n,i){var r,a,o,s;if(e<n){if(s=t.input.slice(e,n),i)for(r=0,a=s.length;r<a;r+=1)9===(o=s.charCodeAt(r))||32<=o&&o<=1114111||jg(t,"expected valid JSON character");else yg.test(s)&&jg(t,"the stream contains non-printable characters");t.result+=s;}}function Hg(t,e,n,i){var r,a,o,s;for(Kf.isObject(n)||jg(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(r=Object.keys(n)).length;o<s;o+=1)a=r[o],lg.call(e,a)||(e[a]=n[a],i[a]=!0);}function Ug(t,e,n,i,r,a,o,s,c){var u,l;if(Array.isArray(r))for(u=0,l=(r=Array.prototype.slice.call(r)).length;u<l;u+=1)Array.isArray(r[u])&&jg(t,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===_g(r[u])&&(r[u]="[object Object]");if("object"==typeof r&&"[object Object]"===_g(r)&&(r="[object Object]"),r=String(r),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(a))for(u=0,l=a.length;u<l;u+=1)Hg(t,e,a[u],n);else Hg(t,e,a,n);else t.json||lg.call(n,r)||!lg.call(e,r)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=c||t.position,jg(t,"duplicated mapping key")),"__proto__"===r?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[r]=a,delete n[r];return e}function Gg(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):jg(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1;}function qg(t,e,n){for(var i=0,r=t.input.charCodeAt(t.position);0!==r;){for(;Tg(r);)9===r&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),r=t.input.charCodeAt(++t.position);if(e&&35===r)do{r=t.input.charCodeAt(++t.position);}while(10!==r&&13!==r&&0!==r);if(!Eg(r))break;for(Gg(t),r=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===r;)t.lineIndent++,r=t.input.charCodeAt(++t.position);}return -1!==n&&0!==i&&t.lineIndent<n&&$g(t,"deficient indentation"),i}function Kg(t){var e,n=t.position;return !(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!Cg(e)))}function Yg(t,e){1===e?t.result+=" ":e>1&&(t.result+=Kf.repeat("\n",e-1));}function Wg(t,e,n){var i,r,a,o,s,c,u,l,h=t.kind,f=t.result;if(Cg(l=t.input.charCodeAt(t.position))||Sg(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return !1;if((63===l||45===l)&&(Cg(i=t.input.charCodeAt(t.position+1))||n&&Sg(i)))return !1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;0!==l;){if(58===l){if(Cg(i=t.input.charCodeAt(t.position+1))||n&&Sg(i))break}else if(35===l){if(Cg(t.input.charCodeAt(t.position-1)))break}else {if(t.position===t.lineStart&&Kg(t)||n&&Sg(l))break;if(Eg(l)){if(s=t.line,c=t.lineStart,u=t.lineIndent,qg(t,!1,-1),t.lineIndent>=e){o=!0,l=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=c,t.lineIndent=u;break}}o&&(zg(t,r,a,!1),Yg(t,t.line-s),r=a=t.position,o=!1),Tg(l)||(a=t.position+1),l=t.input.charCodeAt(++t.position);}return zg(t,r,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}function Xg(t,e){var n,i,r;if(39!==(n=t.input.charCodeAt(t.position)))return !1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(zg(t,i,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return !0;i=t.position,t.position++,r=t.position;}else Eg(n)?(zg(t,i,r,!0),Yg(t,qg(t,!1,e)),i=r=t.position):t.position===t.lineStart&&Kg(t)?jg(t,"unexpected end of the document within a single quoted scalar"):(t.position++,r=t.position);jg(t,"unexpected end of the stream within a single quoted scalar");}function Vg(t,e){var n,i,r,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return !1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return zg(t,n,t.position,!0),t.position++,!0;if(92===s){if(zg(t,n,t.position,!0),Eg(s=t.input.charCodeAt(++t.position)))qg(t,!1,e);else if(s<256&&Dg[s])t.result+=Ng[s],t.position++;else if((o=Mg(s))>0){for(r=o,a=0;r>0;r--)(o=Ag(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:jg(t,"expected hexadecimal character");t.result+=Lg(a),t.position++;}else jg(t,"unknown escape sequence");n=i=t.position;}else Eg(s)?(zg(t,n,i,!0),Yg(t,qg(t,!1,e)),n=i=t.position):t.position===t.lineStart&&Kg(t)?jg(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position);}jg(t,"unexpected end of the stream within a double quoted scalar");}function Zg(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g=!0,p=t.tag,b=t.anchor,w=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,u=!1,a=[];else {if(123!==d)return !1;o=125,u=!0,a={};}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),d=t.input.charCodeAt(++t.position);0!==d;){if(qg(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=p,t.anchor=b,t.kind=u?"mapping":"sequence",t.result=a,!0;g?44===d&&jg(t,"expected the node content, but found ','"):jg(t,"missed comma between flow collection entries"),h=l=f=null,s=c=!1,63===d&&Cg(t.input.charCodeAt(t.position+1))&&(s=c=!0,t.position++,qg(t,!0,e)),n=t.line,i=t.lineStart,r=t.position,rp(t,e,hg,!1,!0),h=t.tag,l=t.result,qg(t,!0,e),d=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),qg(t,!0,e),rp(t,e,hg,!1,!0),f=t.result),u?Ug(t,a,w,h,l,f,n,i,r):s?a.push(Ug(t,null,w,h,l,f,n,i,r)):a.push(l),qg(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(g=!0,d=t.input.charCodeAt(++t.position)):g=!1;}jg(t,"unexpected end of the stream within a flow collection");}function Qg(t,e){var n,i,r,a,o=pg,s=!1,c=!1,u=e,l=0,h=!1;if(124===(a=t.input.charCodeAt(t.position)))i=!1;else {if(62!==a)return !1;i=!0;}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)pg===o?o=43===a?wg:bg:jg(t,"repeat of a chomping mode identifier");else {if(!((r=Ig(a))>=0))break;0===r?jg(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?jg(t,"repeat of an indentation width identifier"):(u=e+r-1,c=!0);}if(Tg(a)){do{a=t.input.charCodeAt(++t.position);}while(Tg(a));if(35===a)do{a=t.input.charCodeAt(++t.position);}while(!Eg(a)&&0!==a)}for(;0!==a;){for(Gg(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),Eg(a))l++;else {if(t.lineIndent<u){o===wg?t.result+=Kf.repeat("\n",s?1+l:l):o===pg&&s&&(t.result+="\n");break}for(i?Tg(a)?(h=!0,t.result+=Kf.repeat("\n",s?1+l:l)):h?(h=!1,t.result+=Kf.repeat("\n",l+1)):0===l?s&&(t.result+=" "):t.result+=Kf.repeat("\n",l):t.result+=Kf.repeat("\n",s?1+l:l),s=!0,c=!0,l=0,n=t.position;!Eg(a)&&0!==a;)a=t.input.charCodeAt(++t.position);zg(t,n,t.position,!1);}}return !0}function Jg(t,e){var n,i,r=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return !1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,jg(t,"tab characters must not be used in indentation")),45===i)&&Cg(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,qg(t,!0,-1)&&t.lineIndent<=e)o.push(null),i=t.input.charCodeAt(t.position);else if(n=t.line,rp(t,e,dg,!1,!0),o.push(t.result),qg(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==i)jg(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return !!s&&(t.tag=r,t.anchor=a,t.kind="sequence",t.result=o,!0)}function tp(t,e,n){var i,r,a,o,s,c,u,l=t.tag,h=t.anchor,f={},d=Object.create(null),g=null,p=null,b=null,w=!1,y=!1;if(-1!==t.firstTabInLine)return !1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),u=t.input.charCodeAt(t.position);0!==u;){if(w||-1===t.firstTabInLine||(t.position=t.firstTabInLine,jg(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),a=t.line,63!==u&&58!==u||!Cg(i)){if(o=t.line,s=t.lineStart,c=t.position,!rp(t,n,fg,!1,!0))break;if(t.line===a){for(u=t.input.charCodeAt(t.position);Tg(u);)u=t.input.charCodeAt(++t.position);if(58===u)Cg(u=t.input.charCodeAt(++t.position))||jg(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(Ug(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!1,r=!1,g=t.tag,p=t.result;else {if(!y)return t.tag=l,t.anchor=h,!0;jg(t,"can not read an implicit mapping pair; a colon is missed");}}else {if(!y)return t.tag=l,t.anchor=h,!0;jg(t,"can not read a block mapping entry; a multiline key may not be an implicit key");}}else 63===u?(w&&(Ug(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!0,r=!0):w?(w=!1,r=!0):jg(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,u=i;if((t.line===a||t.lineIndent>e)&&(w&&(o=t.line,s=t.lineStart,c=t.position),rp(t,e,gg,!0,r)&&(w?p=t.result:b=t.result),w||(Ug(t,f,d,g,p,b,o,s,c),g=p=b=null),qg(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==u)jg(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&Ug(t,f,d,g,p,null,o,s,c),y&&(t.tag=l,t.anchor=h,t.kind="mapping",t.result=f),y}function ep(t){var e,n,i,r,a=!1,o=!1;if(33!==(r=t.input.charCodeAt(t.position)))return !1;if(null!==t.tag&&jg(t,"duplication of a tag property"),60===(r=t.input.charCodeAt(++t.position))?(a=!0,r=t.input.charCodeAt(++t.position)):33===r?(o=!0,n="!!",r=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{r=t.input.charCodeAt(++t.position);}while(0!==r&&62!==r);t.position<t.length?(i=t.input.slice(e,t.position),r=t.input.charCodeAt(++t.position)):jg(t,"unexpected end of the stream within a verbatim tag");}else {for(;0!==r&&!Cg(r);)33===r&&(o?jg(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),xg.test(n)||jg(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),r=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),vg.test(i)&&jg(t,"tag suffix cannot contain flow indicator characters");}i&&!kg.test(i)&&jg(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i);}catch(e){jg(t,"tag name is malformed: "+i);}return a?t.tag=i:lg.call(t.tagMap,n)?t.tag=t.tagMap[n]+i:"!"===n?t.tag="!"+i:"!!"===n?t.tag="tag:yaml.org,2002:"+i:jg(t,'undeclared tag handle "'+n+'"'),!0}function np(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return !1;for(null!==t.anchor&&jg(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!Cg(n)&&!Sg(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&jg(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function ip(t){var e,n,i;if(42!==(i=t.input.charCodeAt(t.position)))return !1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!Cg(i)&&!Sg(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&jg(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),lg.call(t.anchorMap,n)||jg(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],qg(t,!0,-1),!0}function rp(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g=1,p=!1,b=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=o=s=gg===n||dg===n,i&&qg(t,!0,-1)&&(p=!0,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)),1===g)for(;ep(t)||np(t);)qg(t,!0,-1)?(p=!0,s=a,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)):s=!1;if(s&&(s=p||r),1!==g&&gg!==n||(f=hg===n||fg===n?e:e+1,d=t.position-t.lineStart,1===g?s&&(Jg(t,d)||tp(t,d,f))||Zg(t,f)?b=!0:(o&&Qg(t,f)||Xg(t,f)||Vg(t,f)?b=!0:ip(t)?(b=!0,null===t.tag&&null===t.anchor||jg(t,"alias node should not have any properties")):Wg(t,f,hg===n)&&(b=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===g&&(b=s&&Jg(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&jg(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),c=0,u=t.implicitTypes.length;c<u;c+=1)if((h=t.implicitTypes[c]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(lg.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,c=0,u=(l=t.typeMap.multi[t.kind||"fallback"]).length;c<u;c+=1)if(t.tag.slice(0,l[c].tag.length)===l[c].tag){h=l[c];break}h||jg(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&jg(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):jg(t,"cannot resolve a node with !<"+t.tag+"> explicit tag");}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||b}function ap(t){var e,n,i,r,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(r=t.input.charCodeAt(t.position))&&(qg(t,!0,-1),r=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==r));){for(o=!0,r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!Cg(r);)r=t.input.charCodeAt(++t.position);for(i=[],(n=t.input.slice(e,t.position)).length<1&&jg(t,"directive name must not be less than one character in length");0!==r;){for(;Tg(r);)r=t.input.charCodeAt(++t.position);if(35===r){do{r=t.input.charCodeAt(++t.position);}while(0!==r&&!Eg(r));break}if(Eg(r))break;for(e=t.position;0!==r&&!Cg(r);)r=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position));}0!==r&&Gg(t),lg.call(Fg,n)?Fg[n](t,n,i):$g(t,'unknown document directive "'+n+'"');}qg(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,qg(t,!0,-1)):o&&jg(t,"directives end mark is expected"),rp(t,t.lineIndent-1,gg,!1,!0),qg(t,!0,-1),t.checkLineBreaks&&mg.test(t.input.slice(a,t.position))&&$g(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&Kg(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,qg(t,!0,-1)):t.position<t.length-1&&jg(t,"end of the stream or a document separator is expected");}function op(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new Bg(t,e),i=t.indexOf("\0");for(-1!==i&&(n.position=i,jg(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)ap(n);return n.documents}function sp(t,e,n){null!==e&&"object"==typeof e&&void 0===n&&(n=e,e=null);var i=op(t,n);if("function"!=typeof e)return i;for(var r=0,a=i.length;r<a;r+=1)e(i[r]);}function cp(t,e){var n=op(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Xf("expected a single document in the stream, but found more")}}var up=fd,lp={loadAll:sp,load:cp}.load;const hp=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s;function fp(t,e){var n;const i=t.match(hp);if(i){const r=lp(i[1],{schema:up});return (null==r?void 0:r.title)&&(null==(n=e.setDiagramTitle)||n.call(e,r.title)),t.slice(i[0].length)}return t}const dp=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,gp=/\s*%%.*\n/gm,pp={},bp=function(t,e){t=t.replace(hp,"").replace(dp,"").replace(gp,"\n");for(const[n,{detector:i}]of Object.entries(pp))if(i(t,e))return n;throw new Error(`No diagram type detected for text: ${t}`)},wp=(...t)=>{for(const{id:e,detector:n,loader:i}of t)yp(e,n,i);},yp=(t,e,n)=>{pp[t]?l.error(`Detector with key ${t} already exists`):pp[t]={detector:e,loader:n},l.debug(`Detector with key ${t} added${n?" with loader":""}`);},mp=t=>pp[t].loader,vp=function(t,e,n){const{depth:i,clobber:r}=Object.assign({depth:2,clobber:!1},n);return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>vp(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e);})),t):void 0===t||i<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=vp(t[n],e[n],{depth:i-1,clobber:r}));})),t)},xp=vp;var kp="object"==typeof d&&d&&d.Object===Object&&d;const _p=kp;var Ep="object"==typeof self&&self&&self.Object===Object&&self,Tp=_p||Ep||Function("return this")();const Cp=Tp;var Sp=Cp.Symbol;const Ap=Sp;var Mp=Object.prototype,Ip=Mp.hasOwnProperty,Op=Mp.toString,Lp=Ap?Ap.toStringTag:void 0;function Dp(t){var e=Ip.call(t,Lp),n=t[Lp];try{t[Lp]=void 0;var i=!0;}catch(t){}var r=Op.call(t);return i&&(e?t[Lp]=n:delete t[Lp]),r}var Np=Object.prototype.toString;function Pp(t){return Np.call(t)}var Bp="[object Null]",Rp="[object Undefined]",jp=Ap?Ap.toStringTag:void 0;function $p(t){return null==t?void 0===t?Rp:Bp:jp&&jp in Object(t)?Dp(t):Pp(t)}function Fp(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var zp="[object AsyncFunction]",Hp="[object Function]",Up="[object GeneratorFunction]",Gp="[object Proxy]";function qp(t){if(!Fp(t))return !1;var e=$p(t);return e==Hp||e==Up||e==zp||e==Gp}const Kp=Cp["__core-js_shared__"];var Yp,Wp=(Yp=/[^.]+$/.exec(Kp&&Kp.keys&&Kp.keys.IE_PROTO||""))?"Symbol(src)_1."+Yp:"";function Xp(t){return !!Wp&&Wp in t}var Vp=Function.prototype.toString;function Zp(t){if(null!=t){try{return Vp.call(t)}catch(t){}try{return t+""}catch(t){}}return ""}var Qp=/[\\^$.*+?()[\]{}|]/g,Jp=/^\[object .+?Constructor\]$/,tb=Function.prototype,eb=Object.prototype,nb=tb.toString,ib=eb.hasOwnProperty,rb=RegExp("^"+nb.call(ib).replace(Qp,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ab(t){return !(!Fp(t)||Xp(t))&&(qp(t)?rb:Jp).test(Zp(t))}function ob(t,e){return null==t?void 0:t[e]}function sb(t,e){var n=ob(t,e);return ab(n)?n:void 0}const cb=sb(Object,"create");function ub(){this.__data__=cb?cb(null):{},this.size=0;}function lb(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var hb="__lodash_hash_undefined__",fb=Object.prototype.hasOwnProperty;function db(t){var e=this.__data__;if(cb){var n=e[t];return n===hb?void 0:n}return fb.call(e,t)?e[t]:void 0}var gb=Object.prototype.hasOwnProperty;function pb(t){var e=this.__data__;return cb?void 0!==e[t]:gb.call(e,t)}var bb="__lodash_hash_undefined__";function wb(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=cb&&void 0===e?bb:e,this}function yb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}function mb(){this.__data__=[],this.size=0;}function vb(t,e){return t===e||t!=t&&e!=e}function xb(t,e){for(var n=t.length;n--;)if(vb(t[n][0],e))return n;return -1}yb.prototype.clear=ub,yb.prototype.delete=lb,yb.prototype.get=db,yb.prototype.has=pb,yb.prototype.set=wb;var kb=Array.prototype.splice;function _b(t){var e=this.__data__,n=xb(e,t);return !(n<0||(n==e.length-1?e.pop():kb.call(e,n,1),--this.size,0))}function Eb(t){var e=this.__data__,n=xb(e,t);return n<0?void 0:e[n][1]}function Tb(t){return xb(this.__data__,t)>-1}function Cb(t,e){var n=this.__data__,i=xb(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}function Sb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}Sb.prototype.clear=mb,Sb.prototype.delete=_b,Sb.prototype.get=Eb,Sb.prototype.has=Tb,Sb.prototype.set=Cb;const Ab=sb(Cp,"Map");function Mb(){this.size=0,this.__data__={hash:new yb,map:new(Ab||Sb),string:new yb};}function Ib(t){var e=typeof t;return "string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}function Ob(t,e){var n=t.__data__;return Ib(e)?n["string"==typeof e?"string":"hash"]:n.map}function Lb(t){var e=Ob(this,t).delete(t);return this.size-=e?1:0,e}function Db(t){return Ob(this,t).get(t)}function Nb(t){return Ob(this,t).has(t)}function Pb(t,e){var n=Ob(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}function Bb(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}Bb.prototype.clear=Mb,Bb.prototype.delete=Lb,Bb.prototype.get=Db,Bb.prototype.has=Nb,Bb.prototype.set=Pb;var Rb="Expected a function";function jb(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(Rb);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(jb.Cache||Bb),n}jb.Cache=Bb;const $b={curveBasis:Gu,curveBasisClosed:Ku,curveBasisOpen:Wu,curveBumpX:$u,curveBumpY:Fu,curveBundle:Vu,curveCardinalClosed:el,curveCardinalOpen:il,curveCardinal:Ju,curveCatmullRomClosed:cl,curveCatmullRomOpen:ll,curveCatmullRom:ol,curveLinear:Ou,curveLinearClosed:fl,curveMonotoneX:vl,curveMonotoneY:xl,curveNatural:El,curveStep:Cl,curveStepAfter:Al,curveStepBefore:Sl},Fb=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,zb=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Hb=function(t,e){const n=Ub(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const t=n.map((t=>t.args));fw(t),i=xp(i,[...t]);}else i=n.args;if(i){let n=bp(t,e);["config"].forEach((t=>{void 0!==i[t]&&("flowchart-v2"===n&&(n="flowchart"),i[n]=i[t],delete i[t]);}));}return i},Ub=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${zb.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(n,"").replace(/'/gm,'"'),l.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const r=[];for(;null!==(i=Fb.exec(t));)if(i.index===Fb.lastIndex&&Fb.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){const t=i[1]?i[1]:i[2],e=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;r.push({type:t,args:e});}return 0===r.length&&r.push({type:t,args:null}),1===r.length?r[0]:r}catch(n){return l.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}},Gb=function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return -1};function qb(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return $b[n]||e}function Kb(t,e){const n=t.trim();if(n)return "loose"!==e.securityLevel?p(n):n}const Yb=(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let a=window;for(let t=0;t<i;t++)if(a=a[n[t]],!a)return;a[r](...e);};function Wb(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function Xb(t){let e,n=0;t.forEach((t=>{n+=Wb(t,e),e=t;}));let i,r=n/2;return e=void 0,t.forEach((t=>{if(e&&!i){const n=Wb(t,e);if(n<r)r-=n;else {const a=r/n;a<=0&&(i=e),a>=1&&(i={x:t.x,y:t.y}),a>0&&a<1&&(i={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y});}}e=t;})),i}function Vb(t){return 1===t.length?t[0]:Xb(t)}const Zb=(t,e,n)=>{let i;l.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let r,a=25;i=void 0,e.forEach((t=>{if(i&&!r){const e=Wb(t,i);if(e<a)a-=e;else {const n=a/e;n<=0&&(r=i),n>=1&&(r={x:t.x,y:t.y}),n>0&&n<1&&(r={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y});}}i=t;}));const o=t?10:5,s=Math.atan2(e[0].y-r.y,e[0].x-r.x),c={x:0,y:0};return c.x=Math.sin(s)*o+(e[0].x+r.x)/2,c.y=-Math.cos(s)*o+(e[0].y+r.y)/2,c};function Qb(t,e,n){let i,r=JSON.parse(JSON.stringify(n));l.info("our points",r),"start_left"!==e&&"start_right"!==e&&(r=r.reverse()),r.forEach((t=>{i=t;}));let a,o=25+t;i=void 0,r.forEach((t=>{if(i&&!a){const e=Wb(t,i);if(e<o)o-=e;else {const n=o/e;n<=0&&(a=i),n>=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y});}}i=t;}));const s=10+.5*t,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(c)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2,"start_left"===e&&(u.x=Math.sin(c+Math.PI)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c+Math.PI)*s+(r[0].y+a.y)/2),"end_right"===e&&(u.x=Math.sin(c-Math.PI)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c-Math.PI)*s+(r[0].y+a.y)/2-5),"end_left"===e&&(u.x=Math.sin(c)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2-5),u}function Jb(t){let e="",n="";for(const i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return {style:e,labelStyle:n}}let tw=0;const ew=()=>(tw++,"id-"+Math.random().toString(36).substr(2,12)+"-"+tw);function nw(t){let e="";const n="0123456789abcdef",i=n.length;for(let r=0;r<t;r++)e+=n.charAt(Math.floor(Math.random()*i));return e}const iw=t=>nw(t.length),rw=function(){return {x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0}},aw=function(t,e){const n=e.text.replace(Yh.lineBreakRegex," "),[,i]=bw(e.fontSize),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",i),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);const a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(n),r},ow=jb(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),Yh.lineBreakRegex.test(t))return t;const i=t.split(" "),r=[];let a="";return i.forEach(((t,o)=>{const s=uw(`${t} `,n),c=uw(a,n);if(s>e){const{hyphenatedStrings:i,remainingWord:o}=sw(t,e,"-",n);r.push(a,...i),a=o;}else c+s>=e?(r.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===i.length&&r.push(a);})),r.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),sw=jb(((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const r=[...t],a=[];let o="";return r.forEach(((t,s)=>{const c=`${o}${t}`;if(uw(c,i)>=e){const t=s+1,e=r.length===t,i=`${c}${n}`;a.push(e?c:i),o="";}else o=c;})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`));function cw(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),lw(t,e).height}function uw(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),lw(t,e).width}const lw=jb(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:i,fontWeight:r}=e;if(!t)return {width:0,height:0};const[,a]=bw(n),o=["sans-serif",i],s=t.split(Yh.lineBreakRegex),c=[],u=ln("body");if(!u.remove)return {width:0,height:0,lineHeight:0};const l=u.append("svg");for(const t of o){let e=0;const n={width:0,height:0,lineHeight:0};for(const i of s){const o=rw();o.text=i;const s=aw(l,o).style("font-size",a).style("font-weight",r).style("font-family",t),c=(s._groups||s)[0][0].getBBox();n.width=Math.round(Math.max(n.width,c.width)),e=Math.round(c.height),n.height+=e,n.lineHeight=Math.round(Math.max(n.lineHeight,e));}c.push(n);}return l.remove(),c[isNaN(c[1].height)||isNaN(c[1].width)||isNaN(c[1].lineHeight)||c[0].height>c[1].height&&c[0].width>c[1].width&&c[0].lineHeight>c[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let hw;const fw=t=>{if(l.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>fw(t))):Object.keys(t).forEach((e=>{l.debug("Checking key",e),e.startsWith("__")&&(l.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(l.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(l.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(l.debug("sanitizing themeCss option"),t[e]=dw(t[e])),e.includes("fontFamily")&&(l.debug("sanitizing fontFamily option"),t[e]=dw(t[e])),e.includes("altFontFamily")&&(l.debug("sanitizing altFontFamily option"),t[e]=dw(t[e])),jf.includes(e)?"object"==typeof t[e]&&(l.debug("sanitize deleting object",e),fw(t[e])):(l.debug("sanitize deleting option",e),delete t[e]);}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="");}}l.debug("After sanitization",t);},dw=t=>{let e=0,n=0;for(const i of t){if(e<n)return "{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&n++;}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t};function gw(t){return "str"in t}function pw(t){return t instanceof Error?t.message:String(t)}const bw=t=>{if("number"==typeof t)return [t,t+"px"];const e=parseInt(t,10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]},ww={assignWithDepth:xp,wrapLabel:ow,calculateTextHeight:cw,calculateTextWidth:uw,calculateTextDimensions:lw,detectInit:Hb,detectDirective:Ub,isSubstringInArray:Gb,interpolateToCurve:qb,calcLabelPosition:Vb,calcCardinalityPosition:Zb,calcTerminalLabelPosition:Qb,formatUrl:Kb,getStylesFromArray:Jb,generateId:ew,random:iw,runFunc:Yb,entityDecode:function(t){return hw=hw||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),hw.innerHTML=t,unescape(hw.textContent)},initIdGenerator:class{constructor(t,e){this.deterministic=t,this.seed=e,this.count=e?e.length:0;}next(){return this.deterministic?this.count++:Date.now()}},directiveSanitizer:fw,sanitizeCss:dw,insertTitle:(t,e,n,i)=>{if(!i)return;const r=t.node().getBBox();t.append("text").text(i).attr("x",r.x+r.width/2).attr("y",-n).attr("class",e);},parseFontSize:bw};var yw="comm",mw="rule",vw="decl",xw="@import",kw="@keyframes",_w=Math.abs,Ew=String.fromCharCode;function Tw(t){return t.trim()}function Cw(t,e,n){return t.replace(e,n)}function Sw(t,e){return t.indexOf(e)}function Aw(t,e){return 0|t.charCodeAt(e)}function Mw(t,e,n){return t.slice(e,n)}function Iw(t){return t.length}function Ow(t){return t.length}function Lw(t,e){return e.push(t),t}var Dw=1,Nw=1,Pw=0,Bw=0,Rw=0,jw="";function $w(t,e,n,i,r,a,o){return {value:t,root:e,parent:n,type:i,props:r,children:a,line:Dw,column:Nw,length:o,return:""}}function Fw(){return Rw}function zw(){return Rw=Bw>0?Aw(jw,--Bw):0,Nw--,10===Rw&&(Nw=1,Dw--),Rw}function Hw(){return Rw=Bw<Pw?Aw(jw,Bw++):0,Nw++,10===Rw&&(Nw=1,Dw++),Rw}function Uw(){return Aw(jw,Bw)}function Gw(){return Bw}function qw(t,e){return Mw(jw,t,e)}function Kw(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 Yw(t){return Dw=Nw=1,Pw=Iw(jw=t),Bw=0,[]}function Ww(t){return jw="",t}function Xw(t){return Tw(qw(Bw-1,Qw(91===t?t+2:40===t?t+1:t)))}function Vw(t){for(;(Rw=Uw())&&Rw<33;)Hw();return Kw(t)>2||Kw(Rw)>3?"":" "}function Zw(t,e){for(;--e&&Hw()&&!(Rw<48||Rw>102||Rw>57&&Rw<65||Rw>70&&Rw<97););return qw(t,Gw()+(e<6&&32==Uw()&&32==Hw()))}function Qw(t){for(;Hw();)switch(Rw){case t:return Bw;case 34:case 39:34!==t&&39!==t&&Qw(Rw);break;case 40:41===t&&Qw(t);break;case 92:Hw();}return Bw}function Jw(t,e){for(;Hw()&&t+Rw!==57&&(t+Rw!==84||47!==Uw()););return "/*"+qw(e,Bw-1)+"*"+Ew(47===t?t:Hw())}function ty(t){for(;!Kw(Uw());)Hw();return qw(t,Bw)}function ey(t){return Ww(ny("",null,null,null,[""],t=Yw(t),0,[0],t))}function ny(t,e,n,i,r,a,o,s,c){for(var u=0,l=0,h=o,f=0,d=0,g=0,p=1,b=1,w=1,y=0,m="",v=r,x=a,k=i,_=m;b;)switch(g=y,y=Hw()){case 40:if(108!=g&&58==Aw(_,h-1)){-1!=Sw(_+=Cw(Xw(y),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:_+=Xw(y);break;case 9:case 10:case 13:case 32:_+=Vw(g);break;case 92:_+=Zw(Gw()-1,7);continue;case 47:switch(Uw()){case 42:case 47:Lw(ry(Jw(Hw(),Gw()),e,n),c);break;default:_+="/";}break;case 123*p:s[u++]=Iw(_)*w;case 125*p:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+l:d>0&&Iw(_)-h&&Lw(d>32?ay(_+";",i,n,h-1):ay(Cw(_," ","")+";",i,n,h-2),c);break;case 59:_+=";";default:if(Lw(k=iy(_,e,n,u,l,r,s,m,v=[],x=[],h),a),123===y)if(0===l)ny(_,e,k,k,v,a,h,s,x);else switch(f){case 100:case 109:case 115:ny(t,k,k,i&&Lw(iy(t,k,k,0,0,r,s,m,r,v=[],h),x),r,x,h,s,i?v:x);break;default:ny(_,k,k,k,[""],x,0,s,x);}}u=l=d=0,p=w=1,m=_="",h=o;break;case 58:h=1+Iw(_),d=g;default:if(p<1)if(123==y)--p;else if(125==y&&0==p++&&125==zw())continue;switch(_+=Ew(y),y*p){case 38:w=l>0?1:(_+="\f",-1);break;case 44:s[u++]=(Iw(_)-1)*w,w=1;break;case 64:45===Uw()&&(_+=Xw(Hw())),f=Uw(),l=h=Iw(m=_+=ty(Gw())),y++;break;case 45:45===g&&2==Iw(_)&&(p=0);}}return a}function iy(t,e,n,i,r,a,o,s,c,u,l){for(var h=r-1,f=0===r?a:[""],d=Ow(f),g=0,p=0,b=0;g<i;++g)for(var w=0,y=Mw(t,h+1,h=_w(p=o[g])),m=t;w<d;++w)(m=Tw(p>0?f[w]+" "+y:Cw(y,/&\f/g,f[w])))&&(c[b++]=m);return $w(t,e,n,0===r?mw:s,c,u,l)}function ry(t,e,n){return $w(t,e,n,yw,Ew(Fw()),Mw(t,2,-2),0)}function ay(t,e,n,i){return $w(t,e,n,vw,Mw(t,0,i),Mw(t,i+1,-1),i)}function oy(t,e){for(var n="",i=Ow(t),r=0;r<i;r++)n+=e(t[r],r,t,e)||"";return n}function sy(t,e,n,i){switch(t.type){case xw:case vw:return t.return=t.return||t.value;case yw:return "";case kw:return t.return=t.value+"{"+oy(t.children,i)+"}";case mw:t.value=t.props.join(",");}return Iw(n=oy(t.children,i))?t.return=t.value+"{"+n+"}":""}const cy="9.4.3",uy=Object.freeze($f);let ly,hy=xp({},uy),fy=[],dy=xp({},uy);const gy=(t,e)=>{let n=xp({},t),i={};for(const t of e)xy(t),i=xp(i,t);if(n=xp(n,i),i.theme&&i.theme in Pf){const t=xp({},ly),e=xp(t.themeVariables||{},i.themeVariables);n.theme&&n.theme in Pf&&(n.themeVariables=Pf[n.theme].getThemeVariables(e));}return dy=n,Sy(dy),dy},py=t=>(hy=xp({},uy),hy=xp(hy,t),t.theme&&Pf[t.theme]&&(hy.themeVariables=Pf[t.theme].getThemeVariables(t.themeVariables)),gy(hy,fy),hy),by=t=>{ly=xp({},t);},wy=t=>(hy=xp(hy,t),gy(hy,fy),hy),yy=()=>xp({},hy),my=t=>(Sy(t),xp(dy,t),vy()),vy=()=>xp({},dy),xy=t=>{["secure",...hy.secure??[]].forEach((e=>{void 0!==t[e]&&(l.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e]);})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&delete t[e];})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&xy(t[e]);}));},ky=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),fy.push(t),gy(hy,fy);},_y=(t=hy)=>{fy=[],gy(t,fy);};var Ey=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(Ey||{});const Ty={},Cy=t=>{Ty[t]||(l.warn(Ey[t]),Ty[t]=!0);},Sy=t=>{t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&Cy("LAZY_LOAD_DEPRECATED");},Ay=function(t,e){for(let n of e)t.attr(n[0],n[1]);},My=function(t,e,n){let i=new Map;return n?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i},Iy=function(t,e,n,i){const r=My(e,n,i);Ay(t,r);},Oy=function(t,e,n,i){const r=e.node().getBBox(),a=r.width,o=r.height;l.info(`SVG bounds: ${a}x${o}`,r);let s=0,c=0;l.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,l.info(`Calculated bounds: ${s}x${c}`),Iy(e,c,s,i);const u=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",u);},Ly=t=>`g.classGroup text {\n fill: ${t.nodeBorder};\n fill: ${t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`,Dy=t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n`,Ny=()=>"",Py=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`,By=t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`,Ry=()=>"",jy=t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`,$y=t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 100%;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 100%;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`,Fy=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,zy=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`,Hy=t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,Uy=t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,Gy={flowchart:Py,"flowchart-v2":Py,sequence:Fy,gantt:By,classDiagram:Ly,"classDiagram-v2":Ly,class:Ly,stateDiagram:zy,state:zy,info:Ry,pie:jy,er:Dy,error:Ny,journey:Hy,requirement:$y,c4:Uy},qy=(t,e)=>{Gy[t]=e;},Ky=(t,e,n)=>{let i="";return t in Gy&&Gy[t]?i=Gy[t](n):l.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${i}\n\n ${e}\n`};let Yy="",Wy="",Xy="";const Vy=t=>Fh(t,vy()),Zy=function(){Yy="",Xy="",Wy="";},Qy=function(t){Yy=Vy(t).replace(/^\s+/g,"");},Jy=function(){return Yy||Wy},tm=function(t){Xy=Vy(t).replace(/\n\s+/g,"\n");},em=function(){return Xy},nm=function(t){Wy=Vy(t);},im=function(){return Wy},rm={setAccTitle:Qy,getAccTitle:Jy,setDiagramTitle:nm,getDiagramTitle:im,getAccDescription:em,setAccDescription:tm,clear:Zy},am=Object.freeze(Object.defineProperty({__proto__:null,clear:Zy,default:rm,getAccDescription:em,getAccTitle:Jy,getDiagramTitle:im,setAccDescription:tm,setAccTitle:Qy,setDiagramTitle:nm},Symbol.toStringTag,{value:"Module"}));let om={};const sm=function(t,e,n,i){l.debug("parseDirective is being called",e,n,i);try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":om={};break;case"type_directive":if(!om)throw new Error("currentDirective is undefined");om.type=e.toLowerCase();break;case"arg_directive":if(!om)throw new Error("currentDirective is undefined");om.args=JSON.parse(e);break;case"close_directive":cm(t,om,i),om=void 0;}}catch(t){l.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),l.error(t.message);}},cm=function(t,e,n){switch(l.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t]);})),l.info("sanitize in handleDirective",e.args),fw(e.args),l.info("sanitize in handleDirective (done)",e.args),ky(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":l.warn("themeCss encountered");break;default:l.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e);}},um=l,lm=h,hm=vy,fm=t=>Fh(t,hm()),dm=Oy,gm=()=>am,pm=(t,e,n,i)=>sm(t,e,n,i),bm={},wm=(t,e,n)=>{if(bm[t])throw new Error(`Diagram ${t} already registered.`);bm[t]=e,n&&yp(t,n),qy(t,e.styles),e.injectUtils&&e.injectUtils(um,lm,hm,fm,dm,gm(),pm);},ym=t=>{if(t in bm)return bm[t];throw new Error(`Diagram ${t} not found.`)};var mm=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,7],i=[1,5],r=[1,9],a=[1,6],o=[2,6],s=[1,16],c=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],l=[8,13,14,20,22,24,25,27,29,32,37,40],h=[1,26],f=[6,8,14,50,55],d=[8,14,55],g=[1,53],p=[1,52],b=[8,14,30,33,35,38,55],w=[1,67],y=[1,68],m=[1,69],v=[8,14,33,35,42,55],x={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:return a[s];case 4:return a[s-1];case 5:return i.setDirection(a[s-3]),a[s-1];case 7:i.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:i.checkout(a[s]);break;case 23:i.branch(a[s]);break;case 24:i.branch(a[s-2],a[s]);break;case 25:i.cherryPick(a[s],"",void 0);break;case 26:i.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:i.cherryPick(a[s-2],"","");break;case 28:i.cherryPick(a[s],"",a[s-2]);break;case 30:i.merge(a[s],"","","");break;case 31:i.merge(a[s-2],a[s],"","");break;case 32:i.merge(a[s-2],"",a[s],"");break;case 33:i.merge(a[s-2],"","",a[s]);break;case 34:i.merge(a[s-4],a[s],"",a[s-2]);break;case 35:i.merge(a[s-4],"",a[s],a[s-2]);break;case 36:i.merge(a[s-4],"",a[s-2],a[s]);break;case 37:i.merge(a[s-4],a[s-2],a[s],"");break;case 38:i.merge(a[s-4],a[s-2],"",a[s]);break;case 39:i.merge(a[s-4],a[s],a[s-2],"");break;case 40:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:i.commit(a[s]);break;case 47:i.commit("","",i.commitType.NORMAL,a[s]);break;case 48:i.commit("","",a[s],"");break;case 49:i.commit("","",a[s],a[s-2]);break;case 50:i.commit("","",a[s-2],a[s]);break;case 51:i.commit("",a[s],i.commitType.NORMAL,"");break;case 52:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 53:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 54:i.commit("",a[s-2],a[s],"");break;case 55:i.commit("",a[s],a[s-2],"");break;case 56:i.commit("",a[s-4],a[s-2],a[s]);break;case 57:i.commit("",a[s-4],a[s],a[s-2]);break;case 58:i.commit("",a[s-2],a[s-4],a[s]);break;case 59:i.commit("",a[s],a[s-4],a[s-2]);break;case 60:i.commit("",a[s],a[s-2],a[s-4]);break;case 61:i.commit("",a[s-2],a[s],a[s-4]);break;case 62:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 63:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 64:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 65:i.commit(a[s-2],"",a[s],"");break;case 66:i.commit(a[s],"",a[s-2],"");break;case 67:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 69:i.commit(a[s-4],"",a[s-2],a[s]);break;case 70:i.commit(a[s-4],"",a[s],a[s-2]);break;case 71:i.commit(a[s-2],"",a[s-4],a[s]);break;case 72:i.commit(a[s],"",a[s-4],a[s-2]);break;case 73:i.commit(a[s],"",a[s-2],a[s-4]);break;case 74:i.commit(a[s-2],"",a[s],a[s-4]);break;case 75:i.commit(a[s-4],a[s],a[s-2],"");break;case 76:i.commit(a[s-4],a[s-2],a[s],"");break;case 77:i.commit(a[s-2],a[s],a[s-4],"");break;case 78:i.commit(a[s],a[s-2],a[s-4],"");break;case 79:i.commit(a[s],a[s-4],a[s-2],"");break;case 80:i.commit(a[s-2],a[s-4],a[s],"");break;case 81:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 82:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 83:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 85:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 86:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph");}},table:[{3:1,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{3:11,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{7:12,8:o,9:[1,13],10:[1,14],11:15,14:s},t(c,[2,124]),t(c,[2,125]),t(c,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:o,11:15,14:s},{9:[1,21]},t(u,[2,10],{12:22,13:[1,23]}),t(l,[2,9]),{9:[1,25],48:24,53:h},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:o,11:15,14:s},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},t(l,[2,8]),t(f,[2,116]),{49:45,52:[1,46]},t(f,[2,121]),{1:[2,4]},{8:[1,47]},t(u,[2,11]),{4:48,8:n,14:i,55:a},t(u,[2,13]),t(d,[2,14]),t(d,[2,15]),t(d,[2,16]),{21:[1,49]},{23:[1,50]},t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),{28:51,34:g,54:p},t(d,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:g,54:p},{33:[1,61],35:[1,62]},{28:63,34:g,54:p},{48:64,53:h},{53:[2,120]},{1:[2,5]},t(u,[2,12]),t(d,[2,17]),t(d,[2,18]),t(d,[2,22]),t(b,[2,122]),t(b,[2,123]),t(d,[2,46]),{34:[1,65]},{39:66,43:w,44:y,45:m},{34:[1,70]},{34:[1,71]},t(d,[2,112]),t(d,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(d,[2,23],{30:[1,78]}),t(f,[2,117]),t(d,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(d,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(v,[2,113]),t(v,[2,114]),t(v,[2,115]),t(d,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(d,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:w,44:y,45:m},{34:[1,93]},t(d,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:w,44:y,45:m},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:w,44:y,45:m},{34:[1,106]},{34:[1,107]},{39:108,43:w,44:y,45:m},{34:[1,109]},t(d,[2,31],{35:[1,111],38:[1,110]}),t(d,[2,32],{33:[1,113],35:[1,112]}),t(d,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(d,[2,24]),t(d,[2,49],{33:[1,120],42:[1,121]}),t(d,[2,53],{38:[1,122],42:[1,123]}),t(d,[2,63],{33:[1,125],38:[1,124]}),t(d,[2,50],{33:[1,126],42:[1,127]}),t(d,[2,55],{35:[1,128],42:[1,129]}),t(d,[2,66],{33:[1,131],35:[1,130]}),t(d,[2,52],{38:[1,132],42:[1,133]}),t(d,[2,54],{35:[1,134],42:[1,135]}),t(d,[2,67],{35:[1,137],38:[1,136]}),t(d,[2,64],{33:[1,139],38:[1,138]}),t(d,[2,65],{33:[1,141],35:[1,140]}),t(d,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:w,44:y,45:m},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:w,44:y,45:m},t(d,[2,26]),t(d,[2,27]),t(d,[2,28]),t(d,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:w,44:y,45:m},{34:[1,153]},{39:154,43:w,44:y,45:m},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:w,44:y,45:m},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:w,44:y,45:m},{34:[1,167]},{39:168,43:w,44:y,45:m},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:w,44:y,45:m},{34:[1,173]},t(d,[2,37],{35:[1,174]}),t(d,[2,38],{38:[1,175]}),t(d,[2,36],{33:[1,176]}),t(d,[2,39],{35:[1,177]}),t(d,[2,34],{38:[1,178]}),t(d,[2,35],{33:[1,179]}),t(d,[2,60],{42:[1,180]}),t(d,[2,73],{33:[1,181]}),t(d,[2,61],{42:[1,182]}),t(d,[2,84],{38:[1,183]}),t(d,[2,74],{33:[1,184]}),t(d,[2,83],{38:[1,185]}),t(d,[2,59],{42:[1,186]}),t(d,[2,72],{33:[1,187]}),t(d,[2,58],{42:[1,188]}),t(d,[2,78],{35:[1,189]}),t(d,[2,71],{33:[1,190]}),t(d,[2,77],{35:[1,191]}),t(d,[2,57],{42:[1,192]}),t(d,[2,85],{38:[1,193]}),t(d,[2,56],{42:[1,194]}),t(d,[2,79],{35:[1,195]}),t(d,[2,80],{35:[1,196]}),t(d,[2,86],{38:[1,197]}),t(d,[2,70],{33:[1,198]}),t(d,[2,81],{38:[1,199]}),t(d,[2,69],{33:[1,200]}),t(d,[2,75],{35:[1,201]}),t(d,[2,76],{35:[1,202]}),t(d,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:w,44:y,45:m},{34:[1,206]},{34:[1,207]},{39:208,43:w,44:y,45:m},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:w,44:y,45:m},{34:[1,214]},{39:215,43:w,44:y,45:m},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:w,44:y,45:m},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:w,44:y,45:m},{34:[1,228]},{39:229,43:w,44:y,45:m},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:w,44:y,45:m},t(d,[2,40]),t(d,[2,42]),t(d,[2,41]),t(d,[2,43]),t(d,[2,45]),t(d,[2,44]),t(d,[2,101]),t(d,[2,102]),t(d,[2,99]),t(d,[2,100]),t(d,[2,104]),t(d,[2,103]),t(d,[2,108]),t(d,[2,107]),t(d,[2,106]),t(d,[2,105]),t(d,[2,110]),t(d,[2,109]),t(d,[2,98]),t(d,[2,97]),t(d,[2,96]),t(d,[2,95]),t(d,[2,93]),t(d,[2,94]),t(d,[2,92]),t(d,[2,91]),t(d,[2,90]),t(d,[2,89]),t(d,[2,87]),t(d,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return "acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return "CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:BT\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function _(){this.yy={};}return x.lexer=k,_.prototype=x,x.Parser=_,new _}();mm.parser=mm;const vm=mm,xm=t=>null!==t.match(/^\s*gitGraph/);let km=vy().gitGraph.mainBranchName,_m=vy().gitGraph.mainBranchOrder,Em={},Tm=null,Cm={};Cm[km]={name:km,order:_m};let Sm={};Sm[km]=Tm;let Am=km,Mm="LR",Im=0;function Om(){return iw({length:7})}function Lm(t,e){const n=Object.create(null);return t.reduce(((t,i)=>{const r=e(i);return n[r]||(n[r]=!0,t.push(i)),t}),[])}let Dm={};const Nm=function(t,e,n,i){l.debug("Entering commit:",t,e,n,i),e=Yh.sanitizeText(e,vy()),t=Yh.sanitizeText(t,vy()),i=Yh.sanitizeText(i,vy());const r={id:e||Im+"-"+Om(),message:t,seq:Im++,type:n||Um.NORMAL,tag:i||"",parents:null==Tm?[]:[Tm.id],branch:Am};Tm=r,Em[r.id]=r,Sm[Am]=r.id,l.debug("in pushCommit "+r.id);},Pm=function(t,e){if(t=Yh.sanitizeText(t,vy()),void 0!==Sm[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}Sm[t]=null!=Tm?Tm.id:null,Cm[t]={name:t,order:e?parseInt(e,10):null},jm(t),l.debug("in createBranch");},Bm=function(t,e,n,i){t=Yh.sanitizeText(t,vy()),e=Yh.sanitizeText(e,vy());const r=Em[Sm[Am]],a=Em[Sm[t]];if(Am===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===r||!r){let e=new Error('Incorrect usage of "merge". Current branch ('+Am+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===Sm[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(r===a){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==Em[e]){let r=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw r.hash={text:"merge "+t+e+n+i,token:"merge "+t+e+n+i,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+i]},r}const o={id:e||Im+"-"+Om(),message:"merged branch "+t+" into "+Am,seq:Im++,parents:[null==Tm?null:Tm.id,Sm[t]],branch:Am,type:Um.MERGE,customType:n,customId:!!e,tag:i||""};Tm=o,Em[o.id]=o,Sm[Am]=o.id,l.debug(Sm),l.debug("in mergeBranch");},Rm=function(t,e,n){if(l.debug("Entering cherryPick:",t,e,n),t=Yh.sanitizeText(t,vy()),e=Yh.sanitizeText(e,vy()),n=Yh.sanitizeText(n,vy()),!t||void 0===Em[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let i=Em[t],r=i.branch;if(i.type===Um.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===Em[e]){if(r===Am){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const a=Em[Sm[Am]];if(void 0===a||!a){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+Am+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o={id:Im+"-"+Om(),message:"cherry-picked "+i+" into "+Am,seq:Im++,parents:[null==Tm?null:Tm.id,i.id],branch:Am,type:Um.CHERRY_PICK,tag:n??"cherry-pick:"+i.id};Tm=o,Em[o.id]=o,Sm[Am]=o.id,l.debug(Sm),l.debug("in cherryPick");}},jm=function(t){if(t=Yh.sanitizeText(t,vy()),void 0===Sm[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{Am=t;const e=Sm[Am];Tm=Em[e];}};function $m(t,e,n){const i=t.indexOf(e);-1===i?t.push(n):t.splice(i,1,n);}function Fm(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|";}));const i=[n,e.id,e.seq];for(let t in Sm)Sm[t]===e.id&&i.push(t);if(l.debug(i.join(" ")),e.parents&&2==e.parents.length){const n=Em[e.parents[0]];$m(t,e,n),t.push(Em[e.parents[1]]);}else {if(0==e.parents.length)return;{const n=Em[e.parents];$m(t,e,n);}}Fm(t=Lm(t,(t=>t.id)));}const zm=function(){l.debug(Em),Fm([Hm()[0]]);},Hm=function(){const t=Object.keys(Em).map((function(t){return Em[t]}));return t.forEach((function(t){l.debug(t.id);})),t.sort(((t,e)=>t.seq-e.seq)),t},Um={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Gm={parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().gitGraph,setDirection:function(t){Mm=t;},setOptions:function(t){l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{Dm=JSON.parse(t);}catch(t){l.error("error while parsing gitGraph options",t.message);}},getOptions:function(){return Dm},commit:Nm,branch:Pm,merge:Bm,cherryPick:Rm,checkout:jm,prettyPrint:zm,clear:function(){Em={},Tm=null;let t=vy().gitGraph.mainBranchName,e=vy().gitGraph.mainBranchOrder;Sm={},Sm[t]=null,Cm={},Cm[t]={name:t,order:e},Am=t,Im=0,Zy();},getBranchesAsObjArray:function(){return Object.values(Cm).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return Sm},getCommits:function(){return Em},getCommitsArray:Hm,getCurrentBranch:function(){return Am},getDirection:function(){return Mm},getHead:function(){return Tm},setAccTitle:Qy,getAccTitle:Jy,getAccDescription:em,setAccDescription:tm,setDiagramTitle:nm,getDiagramTitle:im,commitType:Um};let qm={};const Km={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},Ym=8;let Wm={},Xm={},Vm=[],Zm=0;const Qm=()=>{Wm={},Xm={},qm={},Zm=0,Vm=[];},Jm=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const t of n){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=t.trim(),e.appendChild(n);}return e},tv=(t,e,n)=>{const i=hm().gitGraph,r=t.append("g").attr("class","commit-bullets"),a=t.append("g").attr("class","commit-labels");let o=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const s=e[t],c=Wm[s.branch].pos,u=o+10;if(n){let t,e=void 0!==s.customType&&""!==s.customType?s.customType:s.type;switch(e){case Km.NORMAL:t="commit-normal";break;case Km.REVERSE:t="commit-reverse";break;case Km.HIGHLIGHT:t="commit-highlight";break;case Km.MERGE:t="commit-merge";break;case Km.CHERRY_PICK:t="commit-cherry-pick";break;default:t="commit-normal";}if(e===Km.HIGHLIGHT){const e=r.append("rect");e.attr("x",u-10),e.attr("y",c-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${s.id} commit-highlight${Wm[s.branch].index%Ym} ${t}-outer`),r.append("rect").attr("x",u-6).attr("y",c-6).attr("height",12).attr("width",12).attr("class",`commit ${s.id} commit${Wm[s.branch].index%Ym} ${t}-inner`);}else if(e===Km.CHERRY_PICK)r.append("circle").attr("cx",u).attr("cy",c).attr("r",10).attr("class",`commit ${s.id} ${t}`),r.append("circle").attr("cx",u-3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),r.append("circle").attr("cx",u+3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${s.id} ${t}`),r.append("line").attr("x1",u+3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`),r.append("line").attr("x1",u-3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${s.id} ${t}`);else {const n=r.append("circle");if(n.attr("cx",u),n.attr("cy",c),n.attr("r",s.type===Km.MERGE?9:10),n.attr("class",`commit ${s.id} commit${Wm[s.branch].index%Ym}`),e===Km.MERGE){const e=r.append("circle");e.attr("cx",u),e.attr("cy",c),e.attr("r",6),e.attr("class",`commit ${t} ${s.id} commit${Wm[s.branch].index%Ym}`);}e===Km.REVERSE&&r.append("path").attr("d",`M ${u-5},${c-5}L${u+5},${c+5}M${u-5},${c+5}L${u+5},${c-5}`).attr("class",`commit ${t} ${s.id} commit${Wm[s.branch].index%Ym}`);}}if(Xm[s.id]={x:o+10,y:c},n){const t=4,e=2;if(s.type!==Km.CHERRY_PICK&&(s.customId&&s.type===Km.MERGE||s.type!==Km.MERGE)&&i.showCommitLabel){const t=a.append("g"),n=t.insert("rect").attr("class","commit-label-bkg"),r=t.append("text").attr("x",o).attr("y",c+25).attr("class","commit-label").text(s.id);let u=r.node().getBBox();if(n.attr("x",o+10-u.width/2-e).attr("y",c+13.5).attr("width",u.width+2*e).attr("height",u.height+2*e),r.attr("x",o+10-u.width/2),i.rotateCommitLabel){let e=-7.5-(u.width+10)/25*9.5,n=10+u.width/25*8.5;t.attr("transform","translate("+e+", "+n+") rotate(-45, "+o+", "+c+")");}}if(s.tag){const n=a.insert("polygon"),i=a.append("circle"),r=a.append("text").attr("y",c-16).attr("class","tag-label").text(s.tag);let u=r.node().getBBox();r.attr("x",o+10-u.width/2);const l=u.height/2,h=c-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${o-u.width/2-t/2},${h+e}\n ${o-u.width/2-t/2},${h-e}\n ${o+10-u.width/2-t},${h-l-e}\n ${o+10+u.width/2+t},${h-l-e}\n ${o+10+u.width/2+t},${h+l+e}\n ${o+10-u.width/2-t},${h+l+e}`),i.attr("cx",o-u.width/2+t/2).attr("cy",h).attr("r",1.5).attr("class","tag-hole");}}o+=50,o>Zm&&(Zm=o);}));},ev=(t,e,n)=>Object.keys(n).filter((i=>n[i].branch===e.branch&&n[i].seq>t.seq&&n[i].seq<e.seq)).length>0,nv=(t,e,n=0)=>{const i=t+Math.abs(t-e)/2;if(n>5)return i;if(Vm.every((t=>Math.abs(t-i)>=10)))return Vm.push(i),i;const r=Math.abs(t-e);return nv(t,e-r/5,n+1)},iv=(t,e,n,i)=>{const r=Xm[e.id],a=Xm[n.id],o=ev(e,n,i);let s,c="",u="",l=0,h=0,f=Wm[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",l=10,h=10,f=Wm[n.branch].index;const t=r.y<a.y?nv(r.y,a.y):nv(a.y,r.y);s=r.y<a.y?`M ${r.x} ${r.y} L ${r.x} ${t-l} ${c} ${r.x+h} ${t} L ${a.x-l} ${t} ${u} ${a.x} ${t+h} L ${a.x} ${a.y}`:`M ${r.x} ${r.y} L ${r.x} ${t+l} ${u} ${r.x+h} ${t} L ${a.x-l} ${t} ${c} ${a.x} ${t-h} L ${a.x} ${a.y}`;}else r.y<a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=Wm[n.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`),r.y>a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=Wm[e.branch].index,s=`M ${r.x} ${r.y} L ${a.x-l} ${r.y} ${c} ${a.x} ${r.y-h} L ${a.x} ${a.y}`),r.y===a.y&&(f=Wm[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`);t.append("path").attr("d",s).attr("class","arrow arrow"+f%Ym);},rv=(t,e)=>{const n=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{iv(n,e[t],i,e);}));}));},av=(t,e)=>{const n=hm().gitGraph,i=t.append("g");e.forEach(((t,e)=>{const r=e%Ym,a=Wm[t.name].pos,o=i.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",Zm),o.attr("y2",a),o.attr("class","branch branch"+r),Vm.push(a);let s=t.name;const c=Jm(s),u=i.insert("rect"),l=i.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+r);l.node().appendChild(c);let h=c.getBBox();u.attr("class","branchLabelBkg label"+r).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),l.attr("transform","translate("+(-h.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-h.height/2-1)+")"),u.attr("transform","translate(-19, "+(a-h.height/2)+")");}));},ov={draw:function(t,e,n,i){Qm();const r=hm(),a=r.gitGraph;l.debug("in gitgraph renderer",t+"\n","id:",e,n),qm=i.db.getCommits();const o=i.db.getBranchesAsObjArray();let s=0;o.forEach(((t,e)=>{Wm[t.name]={pos:s,index:e},s+=50+(a.rotateCommitLabel?40:0);}));const c=ln(`[id="${e}"]`);tv(c,qm,!1),a.showBranches&&av(c,o),rv(c,qm),tv(c,qm,!0),ww.insertTitle(c,"gitTitleText",a.titleTopMargin,i.db.getDiagramTitle()),dm(void 0,c,a.diagramPadding,a.useMaxWidth??r.useMaxWidth);}},sv=t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n }\n`;var cv=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,6],n=[1,7],i=[1,8],r=[1,9],a=[1,16],o=[1,11],s=[1,12],u=[1,13],l=[1,14],h=[1,15],f=[1,27],d=[1,33],g=[1,34],p=[1,35],b=[1,36],w=[1,37],y=[1,72],m=[1,73],v=[1,74],x=[1,75],k=[1,76],_=[1,77],E=[1,78],T=[1,38],C=[1,39],S=[1,40],A=[1,41],M=[1,42],I=[1,43],O=[1,44],L=[1,45],D=[1,46],N=[1,47],P=[1,48],B=[1,49],R=[1,50],j=[1,51],$=[1,52],F=[1,53],z=[1,54],H=[1,55],U=[1,56],G=[1,57],q=[1,59],K=[1,60],Y=[1,61],W=[1,62],X=[1,63],V=[1,64],Z=[1,65],Q=[1,66],J=[1,67],tt=[1,68],et=[1,69],nt=[24,52],it=[24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],rt=[15,24,44,46,47,48,49,50,51,52,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],at=[1,94],ot=[1,95],st=[1,96],ct=[1,97],ut=[15,24,52],lt=[7,8,9,10,18,22,25,26,27,28],ht=[15,24,43,52],ft=[15,24,43,52,86,87,89,90],dt=[15,43],gt=[44,46,47,48,49,50,51,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84],pt={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,directive:6,direction_tb:7,direction_bt:8,direction_rl:9,direction_lr:10,graphConfig:11,openDirective:12,typeDirective:13,closeDirective:14,NEWLINE:15,":":16,argDirective:17,open_directive:18,type_directive:19,arg_directive:20,close_directive:21,C4_CONTEXT:22,statements:23,EOF:24,C4_CONTAINER:25,C4_COMPONENT:26,C4_DYNAMIC:27,C4_DEPLOYMENT:28,otherStatements:29,diagramStatements:30,otherStatement:31,title:32,accDescription:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,boundaryStatement:39,boundaryStartStatement:40,boundaryStopStatement:41,boundaryStart:42,LBRACE:43,ENTERPRISE_BOUNDARY:44,attributes:45,SYSTEM_BOUNDARY:46,BOUNDARY:47,CONTAINER_BOUNDARY:48,NODE:49,NODE_L:50,NODE_R:51,RBRACE:52,diagramStatement:53,PERSON:54,PERSON_EXT:55,SYSTEM:56,SYSTEM_DB:57,SYSTEM_QUEUE:58,SYSTEM_EXT:59,SYSTEM_EXT_DB:60,SYSTEM_EXT_QUEUE:61,CONTAINER:62,CONTAINER_DB:63,CONTAINER_QUEUE:64,CONTAINER_EXT:65,CONTAINER_EXT_DB:66,CONTAINER_EXT_QUEUE:67,COMPONENT:68,COMPONENT_DB:69,COMPONENT_QUEUE:70,COMPONENT_EXT:71,COMPONENT_EXT_DB:72,COMPONENT_EXT_QUEUE:73,REL:74,BIREL:75,REL_U:76,REL_D:77,REL_L:78,REL_R:79,REL_B:80,REL_INDEX:81,UPDATE_EL_STYLE:82,UPDATE_REL_STYLE:83,UPDATE_LAYOUT_CONFIG:84,attribute:85,STR:86,STR_KEY:87,STR_VALUE:88,ATTRIBUTE:89,ATTRIBUTE_EMPTY:90,$accept:0,$end:1},terminals_:{2:"error",7:"direction_tb",8:"direction_bt",9:"direction_rl",10:"direction_lr",15:"NEWLINE",16:":",18:"open_directive",19:"type_directive",20:"arg_directive",21:"close_directive",22:"C4_CONTEXT",24:"EOF",25:"C4_CONTAINER",26:"C4_COMPONENT",27:"C4_DYNAMIC",28:"C4_DEPLOYMENT",32:"title",33:"accDescription",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",43:"LBRACE",44:"ENTERPRISE_BOUNDARY",46:"SYSTEM_BOUNDARY",47:"BOUNDARY",48:"CONTAINER_BOUNDARY",49:"NODE",50:"NODE_L",51:"NODE_R",52:"RBRACE",54:"PERSON",55:"PERSON_EXT",56:"SYSTEM",57:"SYSTEM_DB",58:"SYSTEM_QUEUE",59:"SYSTEM_EXT",60:"SYSTEM_EXT_DB",61:"SYSTEM_EXT_QUEUE",62:"CONTAINER",63:"CONTAINER_DB",64:"CONTAINER_QUEUE",65:"CONTAINER_EXT",66:"CONTAINER_EXT_DB",67:"CONTAINER_EXT_QUEUE",68:"COMPONENT",69:"COMPONENT_DB",70:"COMPONENT_QUEUE",71:"COMPONENT_EXT",72:"COMPONENT_EXT_DB",73:"COMPONENT_EXT_QUEUE",74:"REL",75:"BIREL",76:"REL_U",77:"REL_D",78:"REL_L",79:"REL_R",80:"REL_B",81:"REL_INDEX",82:"UPDATE_EL_STYLE",83:"UPDATE_REL_STYLE",84:"UPDATE_LAYOUT_CONFIG",86:"STR",87:"STR_KEY",88:"STR_VALUE",89:"ATTRIBUTE",90:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[3,2],[5,1],[5,1],[5,1],[5,1],[4,1],[6,4],[6,6],[12,1],[13,1],[17,1],[14,1],[11,4],[11,4],[11,4],[11,4],[11,4],[23,1],[23,1],[23,2],[29,1],[29,2],[29,3],[31,1],[31,1],[31,2],[31,2],[31,1],[39,3],[40,3],[40,3],[40,4],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[42,2],[41,1],[30,1],[30,2],[30,3],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,1],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[53,2],[45,1],[45,2],[85,1],[85,2],[85,1],[85,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","c4Context");break;case 15:case 16:case 17:case 18:case 19:i.setC4Type(a[s-3]);break;case 26:i.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 27:i.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 28:this.$=a[s].trim(),i.setTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 35:case 36:a[s].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 37:i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 38:a[s].splice(2,0,"CONTAINER"),i.addContainerBoundary(...a[s]),this.$=a[s];break;case 39:i.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 40:i.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 41:i.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 42:i.popBoundaryParseStack();break;case 46:i.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 47:i.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 48:i.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 49:i.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 50:i.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 51:i.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 52:i.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 53:i.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 54:i.addContainer("container",...a[s]),this.$=a[s];break;case 55:i.addContainer("container_db",...a[s]),this.$=a[s];break;case 56:i.addContainer("container_queue",...a[s]),this.$=a[s];break;case 57:i.addContainer("external_container",...a[s]),this.$=a[s];break;case 58:i.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 59:i.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 60:i.addComponent("component",...a[s]),this.$=a[s];break;case 61:i.addComponent("component_db",...a[s]),this.$=a[s];break;case 62:i.addComponent("component_queue",...a[s]),this.$=a[s];break;case 63:i.addComponent("external_component",...a[s]),this.$=a[s];break;case 64:i.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 65:i.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 67:i.addRel("rel",...a[s]),this.$=a[s];break;case 68:i.addRel("birel",...a[s]),this.$=a[s];break;case 69:i.addRel("rel_u",...a[s]),this.$=a[s];break;case 70:i.addRel("rel_d",...a[s]),this.$=a[s];break;case 71:i.addRel("rel_l",...a[s]),this.$=a[s];break;case 72:i.addRel("rel_r",...a[s]),this.$=a[s];break;case 73:i.addRel("rel_b",...a[s]),this.$=a[s];break;case 74:a[s].splice(0,1),i.addRel("rel",...a[s]),this.$=a[s];break;case 75:i.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 76:i.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 77:i.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 78:this.$=[a[s]];break;case 79:a[s].unshift(a[s-1]),this.$=a[s];break;case 80:case 82:this.$=a[s].trim();break;case 81:let t={};t[a[s-1].trim()]=a[s].trim(),this.$=t;break;case 83:this.$="";}},table:[{3:1,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[3]},{1:[2,1]},{1:[2,2]},{3:17,4:2,5:3,6:4,7:e,8:n,9:i,10:r,11:5,12:10,18:a,22:o,25:s,26:u,27:l,28:h},{1:[2,8]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{1:[2,7]},{13:18,19:[1,19]},{15:[1,20]},{15:[1,21]},{15:[1,22]},{15:[1,23]},{15:[1,24]},{19:[2,11]},{1:[2,3]},{14:25,16:[1,26],21:f},t([16,21],[2,12]),{23:28,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{23:79,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{23:80,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{23:81,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{23:82,29:29,30:30,31:31,32:d,33:g,34:p,36:b,38:w,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{15:[1,83]},{17:84,20:[1,85]},{15:[2,14]},{24:[1,86]},t(nt,[2,20],{53:32,39:58,40:70,42:71,30:87,44:y,46:m,47:v,48:x,49:k,50:_,51:E,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et}),t(nt,[2,21]),t(it,[2,23],{15:[1,88]}),t(nt,[2,43],{15:[1,89]}),t(rt,[2,26]),t(rt,[2,27]),{35:[1,90]},{37:[1,91]},t(rt,[2,30]),{45:92,85:93,86:at,87:ot,89:st,90:ct},{45:98,85:93,86:at,87:ot,89:st,90:ct},{45:99,85:93,86:at,87:ot,89:st,90:ct},{45:100,85:93,86:at,87:ot,89:st,90:ct},{45:101,85:93,86:at,87:ot,89:st,90:ct},{45:102,85:93,86:at,87:ot,89:st,90:ct},{45:103,85:93,86:at,87:ot,89:st,90:ct},{45:104,85:93,86:at,87:ot,89:st,90:ct},{45:105,85:93,86:at,87:ot,89:st,90:ct},{45:106,85:93,86:at,87:ot,89:st,90:ct},{45:107,85:93,86:at,87:ot,89:st,90:ct},{45:108,85:93,86:at,87:ot,89:st,90:ct},{45:109,85:93,86:at,87:ot,89:st,90:ct},{45:110,85:93,86:at,87:ot,89:st,90:ct},{45:111,85:93,86:at,87:ot,89:st,90:ct},{45:112,85:93,86:at,87:ot,89:st,90:ct},{45:113,85:93,86:at,87:ot,89:st,90:ct},{45:114,85:93,86:at,87:ot,89:st,90:ct},{45:115,85:93,86:at,87:ot,89:st,90:ct},{45:116,85:93,86:at,87:ot,89:st,90:ct},t(ut,[2,66]),{45:117,85:93,86:at,87:ot,89:st,90:ct},{45:118,85:93,86:at,87:ot,89:st,90:ct},{45:119,85:93,86:at,87:ot,89:st,90:ct},{45:120,85:93,86:at,87:ot,89:st,90:ct},{45:121,85:93,86:at,87:ot,89:st,90:ct},{45:122,85:93,86:at,87:ot,89:st,90:ct},{45:123,85:93,86:at,87:ot,89:st,90:ct},{45:124,85:93,86:at,87:ot,89:st,90:ct},{45:125,85:93,86:at,87:ot,89:st,90:ct},{45:126,85:93,86:at,87:ot,89:st,90:ct},{45:127,85:93,86:at,87:ot,89:st,90:ct},{30:128,39:58,40:70,42:71,44:y,46:m,47:v,48:x,49:k,50:_,51:E,53:32,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et},{15:[1,130],43:[1,129]},{45:131,85:93,86:at,87:ot,89:st,90:ct},{45:132,85:93,86:at,87:ot,89:st,90:ct},{45:133,85:93,86:at,87:ot,89:st,90:ct},{45:134,85:93,86:at,87:ot,89:st,90:ct},{45:135,85:93,86:at,87:ot,89:st,90:ct},{45:136,85:93,86:at,87:ot,89:st,90:ct},{45:137,85:93,86:at,87:ot,89:st,90:ct},{24:[1,138]},{24:[1,139]},{24:[1,140]},{24:[1,141]},t(lt,[2,9]),{14:142,21:f},{21:[2,13]},{1:[2,15]},t(nt,[2,22]),t(it,[2,24],{31:31,29:143,32:d,33:g,34:p,36:b,38:w}),t(nt,[2,44],{29:29,30:30,31:31,53:32,39:58,40:70,42:71,23:144,32:d,33:g,34:p,36:b,38:w,44:y,46:m,47:v,48:x,49:k,50:_,51:E,54:T,55:C,56:S,57:A,58:M,59:I,60:O,61:L,62:D,63:N,64:P,65:B,66:R,67:j,68:$,69:F,70:z,71:H,72:U,73:G,74:q,75:K,76:Y,77:W,78:X,79:V,80:Z,81:Q,82:J,83:tt,84:et}),t(rt,[2,28]),t(rt,[2,29]),t(ut,[2,46]),t(ht,[2,78],{85:93,45:145,86:at,87:ot,89:st,90:ct}),t(ft,[2,80]),{88:[1,146]},t(ft,[2,82]),t(ft,[2,83]),t(ut,[2,47]),t(ut,[2,48]),t(ut,[2,49]),t(ut,[2,50]),t(ut,[2,51]),t(ut,[2,52]),t(ut,[2,53]),t(ut,[2,54]),t(ut,[2,55]),t(ut,[2,56]),t(ut,[2,57]),t(ut,[2,58]),t(ut,[2,59]),t(ut,[2,60]),t(ut,[2,61]),t(ut,[2,62]),t(ut,[2,63]),t(ut,[2,64]),t(ut,[2,65]),t(ut,[2,67]),t(ut,[2,68]),t(ut,[2,69]),t(ut,[2,70]),t(ut,[2,71]),t(ut,[2,72]),t(ut,[2,73]),t(ut,[2,74]),t(ut,[2,75]),t(ut,[2,76]),t(ut,[2,77]),{41:147,52:[1,148]},{15:[1,149]},{43:[1,150]},t(dt,[2,35]),t(dt,[2,36]),t(dt,[2,37]),t(dt,[2,38]),t(dt,[2,39]),t(dt,[2,40]),t(dt,[2,41]),{1:[2,16]},{1:[2,17]},{1:[2,18]},{1:[2,19]},{15:[1,151]},t(it,[2,25]),t(nt,[2,45]),t(ht,[2,79]),t(ft,[2,81]),t(ut,[2,31]),t(ut,[2,42]),t(gt,[2,32]),t(gt,[2,33],{15:[1,152]}),t(lt,[2,10]),t(gt,[2,34])],defaultActions:{2:[2,1],3:[2,2],5:[2,8],6:[2,4],7:[2,5],8:[2,6],9:[2,7],16:[2,11],17:[2,3],27:[2,14],85:[2,13],86:[2,15],138:[2,16],139:[2,17],140:[2,18],141:[2,19]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},bt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return "acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return "EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return "STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return "STR_VALUE";case 86:return "LBRACE";case 87:return "RBRACE";case 88:return "SPACE";case 89:return "EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function wt(){this.yy={};}return pt.lexer=bt,wt.prototype=pt,pt.Parser=wt,new wt}();cv.parser=cv;const uv=cv,lv=t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/);let hv=[],fv=[""],dv="global",gv="",pv=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],bv=[],wv="",yv=!1,mv=4,vv=2;var xv;const kv=function(t,e,n,i,r,a,o,s,c){if(null==t||null==e||null==n||null==i)return;let u={};const l=bv.find((t=>t.from===e&&t.to===n));if(l?u=l:bv.push(u),u.type=t,u.from=e,u.to=n,u.label={text:i},null==r)u.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]={text:e};}else u.techn={text:r};if(null==a)u.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]={text:e};}else u.descr={text:a};if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e;}else u.sprite=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e;}else u.tags=s;if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e;}else u.link=c;u.wrap=Ov();},_v=function(t,e,n,i,r,a,o){if(null===e||null===n)return;let s={};const c=hv.find((t=>t.alias===e));if(c&&e===c.alias?s=c:(s.alias=e,hv.push(s)),s.label=null==n?{text:""}:{text:n},null==i)s.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e};}else s.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e;}else s.sprite=r;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e;}else s.tags=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=e;}else s.link=o;s.typeC4Shape={text:t},s.parentBoundary=dv,s.wrap=Ov();},Ev=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=hv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,hv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e};}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e};}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e;}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e;}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e;}else c.link=s;c.wrap=Ov(),c.typeC4Shape={text:t},c.parentBoundary=dv;},Tv=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=hv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,hv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e};}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e};}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e;}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e;}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e;}else c.link=s;c.wrap=Ov(),c.typeC4Shape={text:t},c.parentBoundary=dv;},Cv=function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=pv.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,pv.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e};}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e;}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e;}else a.link=r;a.parentBoundary=dv,a.wrap=Ov(),gv=dv,dv=t,fv.push(gv);},Sv=function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=pv.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,pv.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e};}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e;}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e;}else a.link=r;a.parentBoundary=dv,a.wrap=Ov(),gv=dv,dv=t,fv.push(gv);},Av=function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=pv.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,pv.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e};}else c.type={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e};}else c.descr={text:r};if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e;}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e;}else c.link=s;c.nodeType=t,c.parentBoundary=dv,c.wrap=Ov(),gv=dv,dv=e,fv.push(gv);},Mv=function(t){return null==t?hv:hv.filter((e=>e.parentBoundary===t))},Iv=function(t){return Object.keys(Mv(t))},Ov=function(){return yv},Lv={addPersonOrSystem:_v,addPersonOrSystemBoundary:Cv,addContainer:Ev,addContainerBoundary:Sv,addComponent:Tv,addDeploymentNode:Av,popBoundaryParseStack:function(){dv=gv,fv.pop(),gv=fv.pop(),fv.push(gv);},addRel:kv,updateElStyle:function(t,e,n,i,r,a,o,s,c,u,l){let h=hv.find((t=>t.alias===e));if(void 0!==h||(h=pv.find((t=>t.alias===e)),void 0!==h)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];h[t]=e;}else h.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];h[t]=e;}else h.fontColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];h[t]=e;}else h.borderColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];h[t]=e;}else h.shadowing=a;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];h[t]=e;}else h.shape=o;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];h[t]=e;}else h.sprite=s;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];h[t]=e;}else h.techn=c;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];h[t]=e;}else h.legendText=u;if(null!=l)if("object"==typeof l){let[t,e]=Object.entries(l)[0];h[t]=e;}else h.legendSprite=l;}},updateRelStyle:function(t,e,n,i,r,a,o){const s=bv.find((t=>t.from===e&&t.to===n));if(void 0!==s){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e;}else s.textColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e;}else s.lineColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=parseInt(e);}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=parseInt(e);}else s.offsetY=parseInt(o);}},updateLayoutConfig:function(t,e,n){let i=mv,r=vv;if("object"==typeof e){const t=Object.values(e)[0];i=parseInt(t);}else i=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];r=parseInt(t);}else r=parseInt(n);i>=1&&(mv=i),r>=1&&(vv=r);},autoWrap:Ov,setWrap:function(t){yv=t;},getC4ShapeArray:Mv,getC4Shape:function(t){return hv.find((e=>e.alias===t))},getC4ShapeKeys:Iv,getBoundarys:function(t){return null==t?pv:pv.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return dv},getParentBoundaryParse:function(){return gv},getRels:function(){return bv},getTitle:function(){return wv},getC4Type:function(){return xv},getC4ShapeInRow:function(){return mv},getC4BoundaryInRow:function(){return vv},setAccTitle:Qy,getAccTitle:Jy,getAccDescription:em,setAccDescription:tm,parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().c4,clear:function(){hv=[],pv=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],gv="",dv="global",fv=[""],bv=[],fv=[""],wv="",yv=!1,mv=4,vv=2;},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=Fh(t,vy());wv=e;},setC4Type:function(t){let e=Fh(t,vy());xv=e;}},Dv=function(t,e){const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return "undefined"!==e.class&&n.attr("class",e.class),n},Nv=function(t,e,n,i,r,a){const o=t.append("image");o.attr("width",e),o.attr("height",n),o.attr("x",i),o.attr("y",r);let s=a.startsWith("data:image/png;base64")?a:p(a);o.attr("xlink:href",s);},Pv=(t,e,n)=>{const i=t.append("g");let r=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",a=t.lineColor?t.lineColor:"#444444",o=t.offsetX?parseInt(t.offsetX):0,s=t.offsetY?parseInt(t.offsetY):0,c="";if(0===r){let e=i.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",a),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)"),r=-1;}else {let e=i.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",a).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)");}let u=n.messageFont();Wv(n)(t.label.text,i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+s,t.label.width,t.label.height,{fill:e},u),t.techn&&""!==t.techn.text&&(u=n.messageFont(),Wv(n)("["+t.techn.text+"]",i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+s,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},u));}},Bv=function(t,e,n){const i=t.append("g");let r=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",o=e.fontColor?e.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(s={"stroke-width":1});let c={x:e.x,y:e.y,fill:r,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:s};Dv(i,c);let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=o,Wv(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},u),e.type&&""!==e.type.text&&(u=n.boundaryFont(),u.fontColor=o,Wv(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},u)),e.descr&&""!==e.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=o,Wv(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},u));},Rv=function(t,e,n){var i;let r=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],a=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],o=e.fontColor?e.fontColor:"#FFFFFF",s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":s="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";}const c=t.append("g");c.attr("class","person-man");const u=Kv();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":u.x=e.x,u.y=e.y,u.fill=r,u.width=e.width,u.height=e.height,u.stroke=a,u.rx=2.5,u.ry=2.5,u.attrs={"stroke-width":.5},Dv(c,u);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":c.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":c.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),c.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",a).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2));}let l=Yv(n,e.typeC4Shape.text);switch(c.append("text").attr("fill",o).attr("font-family",l.fontFamily).attr("font-size",l.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":Nv(c,48,48,e.x+e.width/2-24,e.y+e.image.Y,s);}let h=n[e.typeC4Shape.text+"Font"]();return h.fontWeight="bold",h.fontSize=h.fontSize+2,h.fontColor=o,Wv(n)(e.label.text,c,e.x,e.y+e.label.Y,e.width,e.height,{fill:o},h),h=n[e.typeC4Shape.text+"Font"](),h.fontColor=o,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?Wv(n)(e.techn.text,c,e.x,e.y+e.techn.Y,e.width,e.height,{fill:o,"font-style":"italic"},h):e.type&&""!==e.type.text&&Wv(n)(e.type.text,c,e.x,e.y+e.type.Y,e.width,e.height,{fill:o,"font-style":"italic"},h),e.descr&&""!==e.descr.text&&(h=n.personFont(),h.fontColor=o,Wv(n)(e.descr.text,c,e.x,e.y+e.descr.Y,e.width,e.height,{fill:o},h)),e.height},jv=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");},$v=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");},Fv=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");},zv=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z");},Hv=function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z");},Uv=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");},Gv=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6);},qv=function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7");},Kv=function(){return {x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},Yv=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Wv=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("text-anchor","middle").text(t),s);}function e(t,e,n,r,a,o,s,c){const{fontSize:u,fontFamily:l,fontWeight:h}=c,f=t.split(Yh.lineBreakRegex);for(let t=0;t<f.length;t++){const o=t*u-u*(f.length-1)/2,c=e.append("text").attr("x",n+a/2).attr("y",r).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",u).style("font-weight",h).style("font-family",l);c.append("tspan").attr("dy",o).text(f[t]).attr("alignment-baseline","mathematical"),i(c,s);}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c);}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n]);}return function(i){return "fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),Xv={drawRect:Dv,drawBoundary:Bv,drawC4Shape:Rv,drawRels:Pv,drawImage:Nv,insertArrowHead:zv,insertArrowEnd:Hv,insertArrowFilledHead:Uv,insertDynamicNumber:Gv,insertArrowCrossHead:qv,insertDatabaseIcon:jv,insertComputerIcon:$v,insertClockIcon:Fv,getNoteRect:Kv,sanitizeUrl:p};let Vv=0,Zv=0,Qv=4,Jv=2;cv.yy=Lv;let tx={};class ex{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,nx(t.db.getConfig());}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i;}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e]);}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,i=this.nextData.starty+2*t.margin,r=i+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>Qv)&&(e=this.nextData.startx+t.margin+tx.nextLinePaddingX,i=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=i+t.height,this.nextData.cnt=1),t.x=e,t.y=i,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max);}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},nx(t.db.getConfig());}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t;}}const nx=function(t){xp(tx,t),t.fontFamily&&(tx.personFontFamily=tx.systemFontFamily=tx.messageFontFamily=t.fontFamily),t.fontSize&&(tx.personFontSize=tx.systemFontSize=tx.messageFontSize=t.fontSize),t.fontWeight&&(tx.personFontWeight=tx.systemFontWeight=tx.messageFontWeight=t.fontWeight);},ix=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),rx=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight}),ax=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight});function ox(t,e,n,i,r){if(!e[t].width)if(n)e[t].text=ow(e[t].text,r,i),e[t].textLines=e[t].text.split(Yh.lineBreakRegex).length,e[t].width=r,e[t].height=cw(e[t].text,i);else {let n=e[t].text.split(Yh.lineBreakRegex);e[t].textLines=n.length;let r=0;e[t].height=0,e[t].width=0;for(const a of n)e[t].width=Math.max(uw(a,i),e[t].width),r=cw(a,i),e[t].height=e[t].height+r;}}const sx=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=tx.c4ShapeMargin-35;let i=e.wrap&&tx.wrap,r=rx(tx);r.fontSize=r.fontSize+2,r.fontWeight="bold",ox("label",e,i,r,uw(e.label.text,r)),Xv.drawBoundary(t,e,tx);},cx=function(t,e,n,i){let r=0;for(const a of i){r=0;const i=n[a];let o=ix(tx,i.typeC4Shape.text);switch(o.fontSize=o.fontSize-2,i.typeC4Shape.width=uw("<<"+i.typeC4Shape.text+">>",o),i.typeC4Shape.height=o.fontSize+2,i.typeC4Shape.Y=tx.c4ShapePadding,r=i.typeC4Shape.Y+i.typeC4Shape.height-4,i.image={width:0,height:0,Y:0},i.typeC4Shape.text){case"person":case"external_person":i.image.width=48,i.image.height=48,i.image.Y=r,r=i.image.Y+i.image.height;}i.sprite&&(i.image.width=48,i.image.height=48,i.image.Y=r,r=i.image.Y+i.image.height);let s=i.wrap&&tx.wrap,c=tx.width-2*tx.c4ShapePadding,u=ix(tx,i.typeC4Shape.text);u.fontSize=u.fontSize+2,u.fontWeight="bold",ox("label",i,s,u,c),i.label.Y=r+8,r=i.label.Y+i.label.height,i.type&&""!==i.type.text?(i.type.text="["+i.type.text+"]",ox("type",i,s,ix(tx,i.typeC4Shape.text),c),i.type.Y=r+5,r=i.type.Y+i.type.height):i.techn&&""!==i.techn.text&&(i.techn.text="["+i.techn.text+"]",ox("techn",i,s,ix(tx,i.techn.text),c),i.techn.Y=r+5,r=i.techn.Y+i.techn.height);let l=r,h=i.label.width;i.descr&&""!==i.descr.text&&(ox("descr",i,s,ix(tx,i.typeC4Shape.text),c),i.descr.Y=r+20,r=i.descr.Y+i.descr.height,h=Math.max(i.label.width,i.descr.width),l=r-5*i.descr.textLines),h+=tx.c4ShapePadding,i.width=Math.max(i.width||tx.width,h,tx.width),i.height=Math.max(i.height||tx.height,l,tx.height),i.margin=i.margin||tx.c4ShapeMargin,t.insert(i),Xv.drawC4Shape(e,i,tx);}t.bumpLastMargin(tx.c4ShapeMargin);};let ux=class{constructor(t,e){this.x=t,this.y=e;}},lx=function(t,e){let n=t.x,i=t.y,r=e.x,a=e.y,o=n+t.width/2,s=i+t.height/2,c=Math.abs(n-r),u=Math.abs(i-a),l=u/c,h=t.height/t.width,f=null;return i==a&&n<r?f=new ux(n+t.width,s):i==a&&n>r?f=new ux(n,s):n==r&&i<a?f=new ux(o,i+t.height):n==r&&i>a&&(f=new ux(o,i)),n>r&&i<a?f=h>=l?new ux(n,s+l*t.width/2):new ux(o-c/u*t.height/2,i+t.height):n<r&&i<a?f=h>=l?new ux(n+t.width,s+l*t.width/2):new ux(o+c/u*t.height/2,i+t.height):n<r&&i>a?f=h>=l?new ux(n+t.width,s-l*t.width/2):new ux(o+t.height/2*c/u,i):n>r&&i>a&&(f=h>=l?new ux(n,s-t.width/2*l):new ux(o-t.height/2*c/u,i)),f},hx=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=lx(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:lx(e,n)}};const fx=function(t,e,n,i){let r=0;for(let t of e){r+=1;let e=t.wrap&&tx.wrap,a=ax(tx);"C4Dynamic"===i.db.getC4Type()&&(t.label.text=r+": "+t.label.text);let o=uw(t.label.text,a);ox("label",t,e,a,o),t.techn&&""!==t.techn.text&&(o=uw(t.techn.text,a),ox("techn",t,e,a,o)),t.descr&&""!==t.descr.text&&(o=uw(t.descr.text,a),ox("descr",t,e,a,o));let s=n(t.from),c=n(t.to),u=hx(s,c);t.startPoint=u.startPoint,t.endPoint=u.endPoint;}Xv.drawRels(t,e,tx);};function dx(t,e,n,i,r){let a=new ex(r);a.data.widthLimit=n.data.widthLimit/Math.min(Jv,i.length);for(let[o,s]of i.entries()){let i=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let c=s.wrap&&tx.wrap,u=rx(tx);if(u.fontSize=u.fontSize+2,u.fontWeight="bold",ox("label",s,c,u,a.data.widthLimit),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&""!==s.type.text&&(s.type.text="["+s.type.text+"]",ox("type",s,c,rx(tx),a.data.widthLimit),s.type.Y=i+5,i=s.type.Y+s.type.height),s.descr&&""!==s.descr.text){let t=rx(tx);t.fontSize=t.fontSize-2,ox("descr",s,c,t,a.data.widthLimit),s.descr.Y=i+20,i=s.descr.Y+s.descr.height;}if(0==o||o%Jv==0){let t=n.data.startx+tx.diagramMarginX,e=n.data.stopy+tx.diagramMarginY+i;a.setData(t,t,e,e);}else {let t=a.data.stopx!==a.data.startx?a.data.stopx+tx.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e);}a.name=s.alias;let l=r.db.getC4ShapeArray(s.alias),h=r.db.getC4ShapeKeys(s.alias);h.length>0&&cx(a,t,l,h),e=s.alias;let f=r.db.getBoundarys(e);f.length>0&&dx(t,e,a,f,r),"global"!==s.alias&&sx(t,s,a),n.data.stopy=Math.max(a.data.stopy+tx.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+tx.c4ShapeMargin,n.data.stopx),Vv=Math.max(Vv,n.data.stopx),Zv=Math.max(Zv,n.data.stopy);}}const gx={drawPersonOrSystemArray:cx,drawBoundary:sx,setConf:nx,draw:function(t,e,n,i){tx=vy().c4;const r=vy().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body");let s=i.db;i.db.setWrap(tx.wrap),Qv=s.getC4ShapeInRow(),Jv=s.getC4BoundaryInRow(),l.debug(`C:${JSON.stringify(tx,null,2)}`);const c="sandbox"===r?o.select(`[id="${e}"]`):ln(`[id="${e}"]`);Xv.insertComputerIcon(c),Xv.insertDatabaseIcon(c),Xv.insertClockIcon(c);let u=new ex(i);u.setData(tx.diagramMarginX,tx.diagramMarginX,tx.diagramMarginY,tx.diagramMarginY),u.data.widthLimit=screen.availWidth,Vv=tx.diagramMarginX,Zv=tx.diagramMarginY;const h=i.db.getTitle();dx(c,"",u,i.db.getBoundarys(""),i),Xv.insertArrowHead(c),Xv.insertArrowEnd(c),Xv.insertArrowCrossHead(c),Xv.insertArrowFilledHead(c),fx(c,i.db.getRels(),i.db.getC4Shape,i),u.data.stopx=Vv,u.data.stopy=Zv;const f=u.data;let d=f.stopy-f.starty+2*tx.diagramMarginY;const g=f.stopx-f.startx+2*tx.diagramMarginX;h&&c.append("text").text(h).attr("x",(f.stopx-f.startx)/2-4*tx.diagramMarginX).attr("y",f.starty+tx.diagramMarginY),Iy(c,d,g,tx.useMaxWidth);const p=h?60:0;c.attr("viewBox",f.startx-tx.diagramMarginX+" -"+(tx.diagramMarginY+p)+" "+g+" "+(d+p)),l.debug("models:",f);}};var px=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,7],i=[1,8],r=[1,9],a=[1,10],o=[1,13],s=[1,12],c=[1,16,25],u=[1,20],l=[1,32],h=[1,33],f=[1,34],d=[1,36],g=[1,39],p=[1,37],b=[1,38],w=[1,44],y=[1,45],m=[1,40],v=[1,41],x=[1,42],k=[1,43],_=[1,48],E=[1,49],T=[1,50],C=[1,51],S=[16,25],A=[1,65],M=[1,66],I=[1,67],O=[1,68],L=[1,69],D=[1,70],N=[1,71],P=[1,80],B=[16,25,32,45,46,54,60,61,62,63,64,65,66,71,73],R=[16,25,30,32,45,46,50,54,60,61,62,63,64,65,66,71,73,88,89,90,91],j=[5,8,9,10,11,16,19,23,25],$=[54,88,89,90,91],F=[54,65,66,88,89,90,91],z=[54,60,61,62,63,64,88,89,90,91],H=[16,25,32],U=[1,107],G={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statments:5,direction:6,directive:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,statements:24,EOF:25,statement:26,className:27,alphaNumToken:28,classLiteralName:29,GENERICTYPE:30,relationStatement:31,LABEL:32,classStatement:33,methodStatement:34,annotationStatement:35,clickStatement:36,cssClassStatement:37,noteStatement:38,acc_title:39,acc_title_value:40,acc_descr:41,acc_descr_value:42,acc_descr_multiline_value:43,CLASS:44,STYLE_SEPARATOR:45,STRUCT_START:46,members:47,STRUCT_STOP:48,ANNOTATION_START:49,ANNOTATION_END:50,MEMBER:51,SEPARATOR:52,relation:53,STR:54,NOTE_FOR:55,noteText:56,NOTE:57,relationType:58,lineType:59,AGGREGATION:60,EXTENSION:61,COMPOSITION:62,DEPENDENCY:63,LOLLIPOP:64,LINE:65,DOTTED_LINE:66,CALLBACK:67,LINK:68,LINK_TARGET:69,CLICK:70,CALLBACK_NAME:71,CALLBACK_ARGS:72,HREF:73,CSSCLASS:74,commentToken:75,textToken:76,graphCodeTokens:77,textNoTagsToken:78,TAGSTART:79,TAGEND:80,"==":81,"--":82,PCT:83,DEFAULT:84,SPACE:85,MINUS:86,keywords:87,UNICODE_TEXT:88,NUM:89,ALPHA:90,BQUOTE_STR:91,$accept:0,$end:1},terminals_:{2:"error",5:"statments",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",25:"EOF",30:"GENERICTYPE",32:"LABEL",39:"acc_title",40:"acc_title_value",41:"acc_descr",42:"acc_descr_value",43:"acc_descr_multiline_value",44:"CLASS",45:"STYLE_SEPARATOR",46:"STRUCT_START",48:"STRUCT_STOP",49:"ANNOTATION_START",50:"ANNOTATION_END",51:"MEMBER",52:"SEPARATOR",54:"STR",55:"NOTE_FOR",57:"NOTE",60:"AGGREGATION",61:"EXTENSION",62:"COMPOSITION",63:"DEPENDENCY",64:"LOLLIPOP",65:"LINE",66:"DOTTED_LINE",67:"CALLBACK",68:"LINK",69:"LINK_TARGET",70:"CLICK",71:"CALLBACK_NAME",72:"CALLBACK_ARGS",73:"HREF",74:"CSSCLASS",77:"graphCodeTokens",79:"TAGSTART",80:"TAGEND",81:"==",82:"--",83:"PCT",84:"DEFAULT",85:"SPACE",86:"MINUS",87:"keywords",88:"UNICODE_TEXT",89:"NUM",90:"ALPHA",91:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[3,1],[3,2],[6,1],[6,1],[6,1],[6,1],[4,1],[7,4],[7,6],[13,1],[14,1],[18,1],[15,1],[12,4],[24,1],[24,2],[24,3],[27,1],[27,1],[27,2],[27,2],[27,2],[26,1],[26,2],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,2],[26,2],[26,1],[33,2],[33,4],[33,5],[33,7],[35,4],[47,1],[47,2],[34,1],[34,2],[34,1],[34,1],[31,3],[31,4],[31,4],[31,5],[38,3],[38,2],[53,3],[53,2],[53,2],[53,1],[58,1],[58,1],[58,1],[58,1],[58,1],[59,1],[59,1],[36,3],[36,4],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[36,3],[36,4],[36,4],[36,5],[37,3],[75,1],[75,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[76,1],[78,1],[78,1],[78,1],[78,1],[28,1],[28,1],[28,1],[29,1],[56,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.setDirection("TB");break;case 6:i.setDirection("BT");break;case 7:i.setDirection("RL");break;case 8:i.setDirection("LR");break;case 12:i.parseDirective("%%{","open_directive");break;case 13:i.parseDirective(a[s],"type_directive");break;case 14:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 15:i.parseDirective("}%%","close_directive","class");break;case 20:case 21:this.$=a[s];break;case 22:this.$=a[s-1]+a[s];break;case 23:case 24:this.$=a[s-1]+"~"+a[s];break;case 25:i.addRelation(a[s]);break;case 26:a[s-1].title=i.cleanupLabel(a[s]),i.addRelation(a[s-1]);break;case 35:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 36:case 37:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 38:i.addClass(a[s]);break;case 39:i.addClass(a[s-2]),i.setCssClass(a[s-2],a[s]);break;case 40:i.addClass(a[s-3]),i.addMembers(a[s-3],a[s-1]);break;case 41:i.addClass(a[s-5]),i.setCssClass(a[s-5],a[s-3]),i.addMembers(a[s-5],a[s-1]);break;case 42:i.addAnnotation(a[s],a[s-2]);break;case 43:this.$=[a[s]];break;case 44:a[s].push(a[s-1]),this.$=a[s];break;case 45:case 47:case 48:break;case 46:i.addMember(a[s-1],i.cleanupLabel(a[s]));break;case 49:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 50:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 51:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 52:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 53:i.addNote(a[s],a[s-1]);break;case 54:i.addNote(a[s]);break;case 55:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 56:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 57:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 58:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 59:this.$=i.relationType.AGGREGATION;break;case 60:this.$=i.relationType.EXTENSION;break;case 61:this.$=i.relationType.COMPOSITION;break;case 62:this.$=i.relationType.DEPENDENCY;break;case 63:this.$=i.relationType.LOLLIPOP;break;case 64:this.$=i.lineType.LINE;break;case 65:this.$=i.lineType.DOTTED_LINE;break;case 66:case 72:this.$=a[s-2],i.setClickEvent(a[s-1],a[s]);break;case 67:case 73:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 68:case 76:this.$=a[s-2],i.setLink(a[s-1],a[s]);break;case 69:case 77:this.$=a[s-3],i.setLink(a[s-2],a[s-1],a[s]);break;case 70:case 78:this.$=a[s-3],i.setLink(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 71:case 79:this.$=a[s-4],i.setLink(a[s-3],a[s-2],a[s]),i.setTooltip(a[s-3],a[s-1]);break;case 74:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 75:this.$=a[s-4],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 80:i.setCssClass(a[s-1],a[s]);}},table:[{3:1,4:2,5:e,6:4,7:5,8:n,9:i,10:r,11:a,12:6,13:11,19:o,23:s},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{3:14,4:2,5:e,6:4,7:5,8:n,9:i,10:r,11:a,12:6,13:11,19:o,23:s},{1:[2,9]},t(c,[2,5]),t(c,[2,6]),t(c,[2,7]),t(c,[2,8]),{14:15,20:[1,16]},{16:[1,17]},{20:[2,12]},{1:[2,4]},{15:18,17:[1,19],22:u},t([17,22],[2,13]),{6:31,7:30,8:n,9:i,10:r,11:a,13:11,19:o,24:21,26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:l,41:h,43:f,44:d,49:g,51:p,52:b,55:w,57:y,67:m,68:v,70:x,74:k,88:_,89:E,90:T,91:C},{16:[1,52]},{18:53,21:[1,54]},{16:[2,15]},{25:[1,55]},{16:[1,56],25:[2,17]},t(S,[2,25],{32:[1,57]}),t(S,[2,27]),t(S,[2,28]),t(S,[2,29]),t(S,[2,30]),t(S,[2,31]),t(S,[2,32]),t(S,[2,33]),t(S,[2,34]),{40:[1,58]},{42:[1,59]},t(S,[2,37]),t(S,[2,45],{53:60,58:63,59:64,32:[1,62],54:[1,61],60:A,61:M,62:I,63:O,64:L,65:D,66:N}),{27:72,28:46,29:47,88:_,89:E,90:T,91:C},t(S,[2,47]),t(S,[2,48]),{28:73,88:_,89:E,90:T},{27:74,28:46,29:47,88:_,89:E,90:T,91:C},{27:75,28:46,29:47,88:_,89:E,90:T,91:C},{27:76,28:46,29:47,88:_,89:E,90:T,91:C},{54:[1,77]},{27:78,28:46,29:47,88:_,89:E,90:T,91:C},{54:P,56:79},t(B,[2,20],{28:46,29:47,27:81,30:[1,82],88:_,89:E,90:T,91:C}),t(B,[2,21],{30:[1,83]}),t(R,[2,94]),t(R,[2,95]),t(R,[2,96]),t([16,25,30,32,45,46,54,60,61,62,63,64,65,66,71,73],[2,97]),t(j,[2,10]),{15:84,22:u},{22:[2,14]},{1:[2,16]},{6:31,7:30,8:n,9:i,10:r,11:a,13:11,19:o,24:85,25:[2,18],26:22,27:35,28:46,29:47,31:23,33:24,34:25,35:26,36:27,37:28,38:29,39:l,41:h,43:f,44:d,49:g,51:p,52:b,55:w,57:y,67:m,68:v,70:x,74:k,88:_,89:E,90:T,91:C},t(S,[2,26]),t(S,[2,35]),t(S,[2,36]),{27:86,28:46,29:47,54:[1,87],88:_,89:E,90:T,91:C},{53:88,58:63,59:64,60:A,61:M,62:I,63:O,64:L,65:D,66:N},t(S,[2,46]),{59:89,65:D,66:N},t($,[2,58],{58:90,60:A,61:M,62:I,63:O,64:L}),t(F,[2,59]),t(F,[2,60]),t(F,[2,61]),t(F,[2,62]),t(F,[2,63]),t(z,[2,64]),t(z,[2,65]),t(S,[2,38],{45:[1,91],46:[1,92]}),{50:[1,93]},{54:[1,94]},{54:[1,95]},{71:[1,96],73:[1,97]},{28:98,88:_,89:E,90:T},{54:P,56:99},t(S,[2,54]),t(S,[2,98]),t(B,[2,22]),t(B,[2,23]),t(B,[2,24]),{16:[1,100]},{25:[2,19]},t(H,[2,49]),{27:101,28:46,29:47,88:_,89:E,90:T,91:C},{27:102,28:46,29:47,54:[1,103],88:_,89:E,90:T,91:C},t($,[2,57],{58:104,60:A,61:M,62:I,63:O,64:L}),t($,[2,56]),{28:105,88:_,89:E,90:T},{47:106,51:U},{27:108,28:46,29:47,88:_,89:E,90:T,91:C},t(S,[2,66],{54:[1,109]}),t(S,[2,68],{54:[1,111],69:[1,110]}),t(S,[2,72],{54:[1,112],72:[1,113]}),t(S,[2,76],{54:[1,115],69:[1,114]}),t(S,[2,80]),t(S,[2,53]),t(j,[2,11]),t(H,[2,51]),t(H,[2,50]),{27:116,28:46,29:47,88:_,89:E,90:T,91:C},t($,[2,55]),t(S,[2,39],{46:[1,117]}),{48:[1,118]},{47:119,48:[2,43],51:U},t(S,[2,42]),t(S,[2,67]),t(S,[2,69]),t(S,[2,70],{69:[1,120]}),t(S,[2,73]),t(S,[2,74],{54:[1,121]}),t(S,[2,77]),t(S,[2,78],{69:[1,122]}),t(H,[2,52]),{47:123,51:U},t(S,[2,40]),{48:[2,44]},t(S,[2,71]),t(S,[2,75]),t(S,[2,79]),{48:[1,124]},t(S,[2,41])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],6:[2,9],13:[2,12],14:[2,4],20:[2,15],54:[2,14],55:[2,16],85:[2,19],119:[2,44]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},q={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 27:break;case 11:return this.begin("acc_title"),39;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),41;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 39:case 42:case 45:case 48:case 51:case 54:this.popState();break;case 17:return "acc_descr_multiline_value";case 18:return 16;case 20:case 21:return 23;case 22:return this.begin("struct"),46;case 23:return "EDGE_STATE";case 24:return "EOF_IN_STRUCT";case 25:return "OPEN_IN_STRUCT";case 26:return this.popState(),48;case 28:return "MEMBER";case 29:return 44;case 30:return 74;case 31:return 67;case 32:return 68;case 33:return 70;case 34:return 55;case 35:return 57;case 36:return 49;case 37:return 50;case 38:this.begin("generic");break;case 40:return "GENERICTYPE";case 41:this.begin("string");break;case 43:return "STR";case 44:this.begin("bqstring");break;case 46:return "BQUOTE_STR";case 47:this.begin("href");break;case 49:return 73;case 50:this.begin("callback_name");break;case 52:this.popState(),this.begin("callback_args");break;case 53:return 71;case 55:return 72;case 56:case 57:case 58:case 59:return 69;case 60:case 61:return 61;case 62:case 63:return 63;case 64:return 62;case 65:return 60;case 66:return 64;case 67:return 65;case 68:return 66;case 69:return 32;case 70:return 45;case 71:return 86;case 72:return "DOT";case 73:return "PLUS";case 74:return 83;case 75:case 76:return "EQUALS";case 77:return 90;case 78:return "PUNCTUATION";case 79:return 89;case 80:return 88;case 81:return 85;case 82:return 25}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:[{])/,/^(?:\[\*\])/,/^(?:$)/,/^(?:[{])/,/^(?:[}])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:class\b)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:[~])/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[`])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},callback_args:{rules:[54,55],inclusive:!1},callback_name:{rules:[51,52,53],inclusive:!1},href:{rules:[48,49],inclusive:!1},struct:{rules:[23,24,25,26,27,28],inclusive:!1},generic:{rules:[39,40],inclusive:!1},bqstring:{rules:[45,46],inclusive:!1},string:{rules:[42,43],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,29,30,31,32,33,34,35,36,37,38,41,44,47,50,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82],inclusive:!0}}};function K(){this.yy={};}return G.lexer=q,K.prototype=G,G.Parser=K,new K}();px.parser=px;const bx=px,wx=(t,e)=>{var n;return "dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},yx=(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},mx="classid-";let vx=[],xx={},kx=[],_x=0,Ex=[];const Tx=t=>Yh.sanitizeText(t,vy()),Cx=function(t,e,n){cU.parseDirective(this,t,e,n);},Sx=function(t){let e="",n=t;if(t.indexOf("~")>0){let i=t.split("~");n=i[0],e=Yh.sanitizeText(i[1],vy());}return {className:n,type:e}},Ax=function(t){let e=Sx(t);void 0===xx[e.className]&&(xx[e.className]={id:e.className,type:e.type,cssClasses:[],methods:[],members:[],annotations:[],domId:mx+e.className+"-"+_x},_x++);},Mx=function(t){const e=Object.keys(xx);for(const n of e)if(xx[n].id===t)return xx[n].domId},Ix=function(){vx=[],xx={},kx=[],Ex=[],Ex.push(Vx),Zy();},Ox=function(t){return xx[t]},Lx=function(){return xx},Dx=function(){return vx},Nx=function(){return kx},Px=function(t){l.debug("Adding relation: "+JSON.stringify(t)),Ax(t.id1),Ax(t.id2),t.id1=Sx(t.id1).className,t.id2=Sx(t.id2).className,t.relationTitle1=Yh.sanitizeText(t.relationTitle1.trim(),vy()),t.relationTitle2=Yh.sanitizeText(t.relationTitle2.trim(),vy()),vx.push(t);},Bx=function(t,e){const n=Sx(t).className;xx[n].annotations.push(e);},Rx=function(t,e){const n=Sx(t).className,i=xx[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(Tx(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(Tx(t)):t&&i.members.push(Tx(t));}},jx=function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>Rx(t,e))));},$x=function(t,e){const n={id:`note${kx.length}`,class:e,text:t};kx.push(n);},Fx=function(t){return ":"===t.substring(0,1)?Yh.sanitizeText(t.substr(1).trim(),vy()):Tx(t.trim())},zx=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=mx+n),void 0!==xx[n]&&xx[n].cssClasses.push(e);}));},Hx=function(t,e){const n=vy();t.split(",").forEach((function(t){void 0!==e&&(xx[t].tooltip=Yh.sanitizeText(e,n));}));},Ux=function(t){return xx[t].tooltip},Gx=function(t,e,n){const i=vy();t.split(",").forEach((function(t){let r=t;t[0].match(/\d/)&&(r=mx+r),void 0!==xx[r]&&(xx[r].link=ww.formatUrl(e,i),"sandbox"===i.securityLevel?xx[r].linkTarget="_top":xx[r].linkTarget="string"==typeof n?Tx(n):"_blank");})),zx(t,"clickable");},qx=function(t,e,n){t.split(",").forEach((function(t){Kx(t,e,n),xx[t].haveCallback=!0;})),zx(t,"clickable");},Kx=function(t,e,n){const i=vy();let r=t,a=Mx(r);if("loose"===i.securityLevel&&void 0!==e&&void 0!==xx[r]){let t=[];if("string"==typeof n){t=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<t.length;e++){let n=t[e].trim();'"'===n.charAt(0)&&'"'===n.charAt(n.length-1)&&(n=n.substr(1,n.length-2)),t[e]=n;}}0===t.length&&t.push(a),Ex.push((function(){const n=document.querySelector(`[id="${a}"]`);null!==n&&n.addEventListener("click",(function(){ww.runFunc(e,...t);}),!1);}));}},Yx=function(t){Ex.forEach((function(e){e(t);}));},Wx={LINE:0,DOTTED_LINE:1},Xx={AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},Vx=function(t){let e=ln(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=ln("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ln(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=ln(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0);})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),ln(this).classed("hover",!1);}));};Ex.push(Vx);let Zx="TB";const Qx={parseDirective:Cx,setAccTitle:Qy,getAccTitle:Jy,getAccDescription:em,setAccDescription:tm,getConfig:()=>vy().class,addClass:Ax,bindFunctions:Yx,clear:Ix,getClass:Ox,getClasses:Lx,getNotes:Nx,addAnnotation:Bx,addNote:$x,getRelations:Dx,addRelation:Px,getDirection:()=>Zx,setDirection:t=>{Zx=t;},addMember:Rx,addMembers:jx,cleanupLabel:Fx,lineType:Wx,relationType:Xx,setClickEvent:qx,setCssClass:zx,setLink:Gx,getTooltip:Ux,setTooltip:Hx,lookUpDomId:Mx,setDiagramTitle:nm,getDiagramTitle:im};function Jx(t){return null!=t&&"object"==typeof t}var tk="[object Symbol]";function ek(t){return "symbol"==typeof t||Jx(t)&&$p(t)==tk}function nk(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}const ik=Array.isArray;var rk=1/0,ak=Ap?Ap.prototype:void 0,ok=ak?ak.toString:void 0;function sk(t){if("string"==typeof t)return t;if(ik(t))return nk(t,sk)+"";if(ek(t))return ok?ok.call(t):"";var e=t+"";return "0"==e&&1/t==-rk?"-0":e}var ck=/\s/;function uk(t){for(var e=t.length;e--&&ck.test(t.charAt(e)););return e}var lk=/^\s+/;function hk(t){return t?t.slice(0,uk(t)+1).replace(lk,""):t}var fk=NaN,dk=/^[-+]0x[0-9a-f]+$/i,gk=/^0b[01]+$/i,pk=/^0o[0-7]+$/i,bk=parseInt;function wk(t){if("number"==typeof t)return t;if(ek(t))return fk;if(Fp(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Fp(e)?e+"":e;}if("string"!=typeof t)return 0===t?t:+t;t=hk(t);var n=gk.test(t);return n||pk.test(t)?bk(t.slice(2),n?2:8):dk.test(t)?fk:+t}var yk=1/0,mk=17976931348623157e292;function vk(t){return t?(t=wk(t))===yk||t===-yk?(t<0?-1:1)*mk:t==t?t:0:0===t?t:0}function xk(t){var e=vk(t),n=e%1;return e==e?n?e-n:e:0}function kk(t){return t}const _k=sb(Cp,"WeakMap");var Ek=Object.create,Tk=function(){function t(){}return function(e){if(!Fp(e))return {};if(Ek)return Ek(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();const Ck=Tk;function Sk(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 Ak(){}function Mk(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var Ik=800,Ok=16,Lk=Date.now;function Dk(t){var e=0,n=0;return function(){var i=Lk(),r=Ok-(i-n);if(n=i,r>0){if(++e>=Ik)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}function Nk(t){return function(){return t}}const Pk=function(){try{var t=sb(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),Bk=Dk(Pk?function(t,e){return Pk(t,"toString",{configurable:!0,enumerable:!1,value:Nk(e),writable:!0})}:kk);function Rk(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}function jk(t,e,n,i){for(var r=t.length,a=n+-1;++a<r;)if(e(t[a],a,t))return a;return -1}function $k(t){return t!=t}function Fk(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return -1}function zk(t,e,n){return e==e?Fk(t,e,n):jk(t,$k,n)}function Hk(t,e){return !(null==t||!t.length)&&zk(t,e,0)>-1}var Uk=9007199254740991,Gk=/^(?:0|[1-9]\d*)$/;function qk(t,e){var n=typeof t;return !!(e=null==e?Uk:e)&&("number"==n||"symbol"!=n&&Gk.test(t))&&t>-1&&t%1==0&&t<e}function Kk(t,e,n){"__proto__"==e&&Pk?Pk(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n;}var Yk=Object.prototype.hasOwnProperty;function Wk(t,e,n){var i=t[e];Yk.call(t,e)&&vb(i,n)&&(void 0!==n||e in t)||Kk(t,e,n);}function Xk(t,e,n,i){var r=!n;n||(n={});for(var a=-1,o=e.length;++a<o;){var s=e[a],c=void 0;void 0===c&&(c=t[s]),r?Kk(n,s,c):Wk(n,s,c);}return n}var Vk=Math.max;function Zk(t,e,n){return e=Vk(void 0===e?t.length-1:e,0),function(){for(var i=arguments,r=-1,a=Vk(i.length-e,0),o=Array(a);++r<a;)o[r]=i[e+r];r=-1;for(var s=Array(e+1);++r<e;)s[r]=i[r];return s[e]=n(o),Sk(t,this,s)}}function Qk(t,e){return Bk(Zk(t,e,kk),t+"")}var Jk=9007199254740991;function t_(t){return "number"==typeof t&&t>-1&&t%1==0&&t<=Jk}function e_(t){return null!=t&&t_(t.length)&&!qp(t)}function n_(t,e,n){if(!Fp(n))return !1;var i=typeof e;return !!("number"==i?e_(n)&&qk(e,n.length):"string"==i&&e in n)&&vb(n[e],t)}function i_(t){return Qk((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&n_(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++i<r;){var s=n[i];s&&t(e,s,i,a);}return e}))}var r_=Object.prototype;function a_(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||r_)}function o_(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}var s_="[object Arguments]";function c_(t){return Jx(t)&&$p(t)==s_}var u_=Object.prototype,l_=u_.hasOwnProperty,h_=u_.propertyIsEnumerable,f_=c_(function(){return arguments}())?c_:function(t){return Jx(t)&&l_.call(t,"callee")&&!h_.call(t,"callee")};const d_=f_;function g_(){return !1}var p_=o&&!o.nodeType&&o,b_=p_&&a&&!a.nodeType&&a,w_=b_&&b_.exports===p_?Cp.Buffer:void 0;const y_=(w_?w_.isBuffer:void 0)||g_;var m_="[object Arguments]",v_="[object Array]",x_="[object Boolean]",k_="[object Date]",__="[object Error]",E_="[object Function]",T_="[object Map]",C_="[object Number]",S_="[object Object]",A_="[object RegExp]",M_="[object Set]",I_="[object String]",O_="[object WeakMap]",L_="[object ArrayBuffer]",D_="[object DataView]",N_="[object Float64Array]",P_="[object Int8Array]",B_="[object Int16Array]",R_="[object Int32Array]",j_="[object Uint8Array]",$_="[object Uint8ClampedArray]",F_="[object Uint16Array]",z_="[object Uint32Array]",H_={};function U_(t){return Jx(t)&&t_(t.length)&&!!H_[$p(t)]}function G_(t){return function(e){return t(e)}}H_["[object Float32Array]"]=H_[N_]=H_[P_]=H_[B_]=H_[R_]=H_[j_]=H_[$_]=H_[F_]=H_[z_]=!0,H_[m_]=H_[v_]=H_[L_]=H_[x_]=H_[D_]=H_[k_]=H_[__]=H_[E_]=H_[T_]=H_[C_]=H_[S_]=H_[A_]=H_[M_]=H_[I_]=H_[O_]=!1;var q_=o&&!o.nodeType&&o,K_=q_&&a&&!a.nodeType&&a,Y_=K_&&K_.exports===q_&&_p.process;const W_=function(){try{var t=K_&&K_.require&&K_.require("util").types;return t||Y_&&Y_.binding&&Y_.binding("util")}catch(t){}}();var X_=W_&&W_.isTypedArray;const V_=X_?G_(X_):U_;var Z_=Object.prototype.hasOwnProperty;function Q_(t,e){var n=ik(t),i=!n&&d_(t),r=!n&&!i&&y_(t),a=!n&&!i&&!r&&V_(t),o=n||i||r||a,s=o?o_(t.length,String):[],c=s.length;for(var u in t)!e&&!Z_.call(t,u)||o&&("length"==u||r&&("offset"==u||"parent"==u)||a&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||qk(u,c))||s.push(u);return s}function J_(t,e){return function(n){return t(e(n))}}const tE=J_(Object.keys,Object);var eE=Object.prototype.hasOwnProperty;function nE(t){if(!a_(t))return tE(t);var e=[];for(var n in Object(t))eE.call(t,n)&&"constructor"!=n&&e.push(n);return e}function iE(t){return e_(t)?Q_(t):nE(t)}function rE(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}var aE=Object.prototype.hasOwnProperty;function oE(t){if(!Fp(t))return rE(t);var e=a_(t),n=[];for(var i in t)("constructor"!=i||!e&&aE.call(t,i))&&n.push(i);return n}function sE(t){return e_(t)?Q_(t,!0):oE(t)}var cE=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,uE=/^\w*$/;function lE(t,e){if(ik(t))return !1;var n=typeof t;return !("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ek(t))||uE.test(t)||!cE.test(t)||null!=e&&t in Object(e)}var hE=500;function fE(t){var e=jb(t,(function(t){return n.size===hE&&n.clear(),t})),n=e.cache;return e}var dE=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,gE=/\\(\\)?/g;const pE=fE((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(dE,(function(t,n,i,r){e.push(i?r.replace(gE,"$1"):n||t);})),e}));function bE(t){return null==t?"":sk(t)}function wE(t,e){return ik(t)?t:lE(t,e)?[t]:pE(bE(t))}var yE=1/0;function mE(t){if("string"==typeof t||ek(t))return t;var e=t+"";return "0"==e&&1/t==-yE?"-0":e}function vE(t,e){for(var n=0,i=(e=wE(e,t)).length;null!=t&&n<i;)t=t[mE(e[n++])];return n&&n==i?t:void 0}function xE(t,e,n){var i=null==t?void 0:vE(t,e);return void 0===i?n:i}function kE(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}var _E=Ap?Ap.isConcatSpreadable:void 0;function EE(t){return ik(t)||d_(t)||!!(_E&&t&&t[_E])}function TE(t,e,n,i,r){var a=-1,o=t.length;for(n||(n=EE),r||(r=[]);++a<o;){var s=t[a];n(s)?kE(r,s):i||(r[r.length]=s);}return r}function CE(t){return null!=t&&t.length?TE(t):[]}function SE(t){return Bk(Zk(t,void 0,CE),t+"")}const AE=J_(Object.getPrototypeOf,Object);var ME="[object Object]",IE=Function.prototype,OE=Object.prototype,LE=IE.toString,DE=OE.hasOwnProperty,NE=LE.call(Object);function PE(t){if(!Jx(t)||$p(t)!=ME)return !1;var e=AE(t);if(null===e)return !0;var n=DE.call(e,"constructor")&&e.constructor;return "function"==typeof n&&n instanceof n&&LE.call(n)==NE}function BE(t,e,n,i){var r=-1,a=null==t?0:t.length;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n}function RE(){this.__data__=new Sb,this.size=0;}function jE(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n}function $E(t){return this.__data__.get(t)}function FE(t){return this.__data__.has(t)}var zE=200;function HE(t,e){var n=this.__data__;if(n instanceof Sb){var i=n.__data__;if(!Ab||i.length<zE-1)return i.push([t,e]),this.size=++n.size,this;n=this.__data__=new Bb(i);}return n.set(t,e),this.size=n.size,this}function UE(t){var e=this.__data__=new Sb(t);this.size=e.size;}function GE(t,e){return t&&Xk(e,iE(e),t)}function qE(t,e){return t&&Xk(e,sE(e),t)}UE.prototype.clear=RE,UE.prototype.delete=jE,UE.prototype.get=$E,UE.prototype.has=FE,UE.prototype.set=HE;var KE=o&&!o.nodeType&&o,YE=KE&&a&&!a.nodeType&&a,WE=YE&&YE.exports===KE?Cp.Buffer:void 0,XE=WE?WE.allocUnsafe:void 0;function VE(t,e){if(e)return t.slice();var n=t.length,i=XE?XE(n):new t.constructor(n);return t.copy(i),i}function ZE(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o);}return a}function QE(){return []}var JE=Object.prototype.propertyIsEnumerable,tT=Object.getOwnPropertySymbols;const eT=tT?function(t){return null==t?[]:(t=Object(t),ZE(tT(t),(function(e){return JE.call(t,e)})))}:QE;function nT(t,e){return Xk(t,eT(t),e)}const iT=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)kE(e,eT(t)),t=AE(t);return e}:QE;function rT(t,e){return Xk(t,iT(t),e)}function aT(t,e,n){var i=e(t);return ik(t)?i:kE(i,n(t))}function oT(t){return aT(t,iE,eT)}function sT(t){return aT(t,sE,iT)}const cT=sb(Cp,"DataView"),uT=sb(Cp,"Promise"),lT=sb(Cp,"Set");var hT="[object Map]",fT="[object Object]",dT="[object Promise]",gT="[object Set]",pT="[object WeakMap]",bT="[object DataView]",wT=Zp(cT),yT=Zp(Ab),mT=Zp(uT),vT=Zp(lT),xT=Zp(_k),kT=$p;(cT&&kT(new cT(new ArrayBuffer(1)))!=bT||Ab&&kT(new Ab)!=hT||uT&&kT(uT.resolve())!=dT||lT&&kT(new lT)!=gT||_k&&kT(new _k)!=pT)&&(kT=function(t){var e=$p(t),n=e==fT?t.constructor:void 0,i=n?Zp(n):"";if(i)switch(i){case wT:return bT;case yT:return hT;case mT:return dT;case vT:return gT;case xT:return pT}return e});const _T=kT;var ET=Object.prototype.hasOwnProperty;function TT(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&ET.call(t,"index")&&(n.index=t.index,n.input=t.input),n}const CT=Cp.Uint8Array;function ST(t){var e=new t.constructor(t.byteLength);return new CT(e).set(new CT(t)),e}function AT(t,e){var n=e?ST(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}var MT=/\w*$/;function IT(t){var e=new t.constructor(t.source,MT.exec(t));return e.lastIndex=t.lastIndex,e}var OT=Ap?Ap.prototype:void 0,LT=OT?OT.valueOf:void 0;function DT(t){return LT?Object(LT.call(t)):{}}function NT(t,e){var n=e?ST(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}var PT="[object Boolean]",BT="[object Date]",RT="[object Map]",jT="[object Number]",$T="[object RegExp]",FT="[object Set]",zT="[object String]",HT="[object Symbol]",UT="[object ArrayBuffer]",GT="[object DataView]",qT="[object Float32Array]",KT="[object Float64Array]",YT="[object Int8Array]",WT="[object Int16Array]",XT="[object Int32Array]",VT="[object Uint8Array]",ZT="[object Uint8ClampedArray]",QT="[object Uint16Array]",JT="[object Uint32Array]";function tC(t,e,n){var i=t.constructor;switch(e){case UT:return ST(t);case PT:case BT:return new i(+t);case GT:return AT(t,n);case qT:case KT:case YT:case WT:case XT:case VT:case ZT:case QT:case JT:return NT(t,n);case RT:return new i;case jT:case zT:return new i(t);case $T:return IT(t);case FT:return new i;case HT:return DT(t)}}function eC(t){return "function"!=typeof t.constructor||a_(t)?{}:Ck(AE(t))}var nC="[object Map]";function iC(t){return Jx(t)&&_T(t)==nC}var rC=W_&&W_.isMap;const aC=rC?G_(rC):iC;var oC="[object Set]";function sC(t){return Jx(t)&&_T(t)==oC}var cC=W_&&W_.isSet;const uC=cC?G_(cC):sC;var lC=1,hC=2,fC=4,dC="[object Arguments]",gC="[object Array]",pC="[object Boolean]",bC="[object Date]",wC="[object Error]",yC="[object Function]",mC="[object GeneratorFunction]",vC="[object Map]",xC="[object Number]",kC="[object Object]",_C="[object RegExp]",EC="[object Set]",TC="[object String]",CC="[object Symbol]",SC="[object WeakMap]",AC="[object ArrayBuffer]",MC="[object DataView]",IC="[object Float32Array]",OC="[object Float64Array]",LC="[object Int8Array]",DC="[object Int16Array]",NC="[object Int32Array]",PC="[object Uint8Array]",BC="[object Uint8ClampedArray]",RC="[object Uint16Array]",jC="[object Uint32Array]",$C={};function FC(t,e,n,i,r,a){var o,s=e&lC,c=e&hC,u=e&fC;if(void 0!==o)return o;if(!Fp(t))return t;var l=ik(t);if(l){if(o=TT(t),!s)return Mk(t,o)}else {var h=_T(t),f=h==yC||h==mC;if(y_(t))return VE(t,s);if(h==kC||h==dC||f&&!r){if(o=c||f?{}:eC(t),!s)return c?rT(t,qE(o,t)):nT(t,GE(o,t))}else {if(!$C[h])return r?t:{};o=tC(t,h,s);}}a||(a=new UE);var d=a.get(t);if(d)return d;a.set(t,o),uC(t)?t.forEach((function(i){o.add(FC(i,e,n,i,t,a));})):aC(t)&&t.forEach((function(i,r){o.set(r,FC(i,e,n,r,t,a));}));var g=l?void 0:(u?c?sT:oT:c?sE:iE)(t);return Rk(g||t,(function(i,r){g&&(i=t[r=i]),Wk(o,r,FC(i,e,n,r,t,a));})),o}$C[dC]=$C[gC]=$C[AC]=$C[MC]=$C[pC]=$C[bC]=$C[IC]=$C[OC]=$C[LC]=$C[DC]=$C[NC]=$C[vC]=$C[xC]=$C[kC]=$C[_C]=$C[EC]=$C[TC]=$C[CC]=$C[PC]=$C[BC]=$C[RC]=$C[jC]=!0,$C[wC]=$C[yC]=$C[SC]=!1;var zC=4;function HC(t){return FC(t,zC)}var UC=1,GC=4;function qC(t){return FC(t,UC|GC)}var KC="__lodash_hash_undefined__";function YC(t){return this.__data__.set(t,KC),this}function WC(t){return this.__data__.has(t)}function XC(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new Bb;++e<n;)this.add(t[e]);}function VC(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return !0;return !1}function ZC(t,e){return t.has(e)}XC.prototype.add=XC.prototype.push=YC,XC.prototype.has=WC;var QC=1,JC=2;function tS(t,e,n,i,r,a){var o=n&QC,s=t.length,c=e.length;if(s!=c&&!(o&&c>s))return !1;var u=a.get(t),l=a.get(e);if(u&&l)return u==e&&l==t;var h=-1,f=!0,d=n&JC?new XC:void 0;for(a.set(t,e),a.set(e,t);++h<s;){var g=t[h],p=e[h];if(i)var b=o?i(p,g,h,e,t,a):i(g,p,h,t,e,a);if(void 0!==b){if(b)continue;f=!1;break}if(d){if(!VC(e,(function(t,e){if(!ZC(d,e)&&(g===t||r(g,t,n,i,a)))return d.push(e)}))){f=!1;break}}else if(g!==p&&!r(g,p,n,i,a)){f=!1;break}}return a.delete(t),a.delete(e),f}function eS(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t];})),n}function nS(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t;})),n}var iS=1,rS=2,aS="[object Boolean]",oS="[object Date]",sS="[object Error]",cS="[object Map]",uS="[object Number]",lS="[object RegExp]",hS="[object Set]",fS="[object String]",dS="[object Symbol]",gS="[object ArrayBuffer]",pS="[object DataView]",bS=Ap?Ap.prototype:void 0,wS=bS?bS.valueOf:void 0;function yS(t,e,n,i,r,a,o){switch(n){case pS:if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return !1;t=t.buffer,e=e.buffer;case gS:return !(t.byteLength!=e.byteLength||!a(new CT(t),new CT(e)));case aS:case oS:case uS:return vb(+t,+e);case sS:return t.name==e.name&&t.message==e.message;case lS:case fS:return t==e+"";case cS:var s=eS;case hS:var c=i&iS;if(s||(s=nS),t.size!=e.size&&!c)return !1;var u=o.get(t);if(u)return u==e;i|=rS,o.set(t,e);var l=tS(s(t),s(e),i,r,a,o);return o.delete(t),l;case dS:if(wS)return wS.call(t)==wS.call(e)}return !1}var mS=1,vS=Object.prototype.hasOwnProperty;function xS(t,e,n,i,r,a){var o=n&mS,s=oT(t),c=s.length;if(c!=oT(e).length&&!o)return !1;for(var u=c;u--;){var l=s[u];if(!(o?l in e:vS.call(e,l)))return !1}var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=!0;a.set(t,e),a.set(e,t);for(var g=o;++u<c;){var p=t[l=s[u]],b=e[l];if(i)var w=o?i(b,p,l,e,t,a):i(p,b,l,t,e,a);if(!(void 0===w?p===b||r(p,b,n,i,a):w)){d=!1;break}g||(g="constructor"==l);}if(d&&!g){var y=t.constructor,m=e.constructor;y==m||!("constructor"in t)||!("constructor"in e)||"function"==typeof y&&y instanceof y&&"function"==typeof m&&m instanceof m||(d=!1);}return a.delete(t),a.delete(e),d}var kS=1,_S="[object Arguments]",ES="[object Array]",TS="[object Object]",CS=Object.prototype.hasOwnProperty;function SS(t,e,n,i,r,a){var o=ik(t),s=ik(e),c=o?ES:_T(t),u=s?ES:_T(e),l=(c=c==_S?TS:c)==TS,h=(u=u==_S?TS:u)==TS,f=c==u;if(f&&y_(t)){if(!y_(e))return !1;o=!0,l=!1;}if(f&&!l)return a||(a=new UE),o||V_(t)?tS(t,e,n,i,r,a):yS(t,e,c,n,i,r,a);if(!(n&kS)){var d=l&&CS.call(t,"__wrapped__"),g=h&&CS.call(e,"__wrapped__");if(d||g){var p=d?t.value():t,b=g?e.value():e;return a||(a=new UE),r(p,b,n,i,a)}}return !!f&&(a||(a=new UE),xS(t,e,n,i,r,a))}function AS(t,e,n,i,r){return t===e||(null==t||null==e||!Jx(t)&&!Jx(e)?t!=t&&e!=e:SS(t,e,n,i,AS,r))}var MS=1,IS=2;function OS(t,e,n,i){var r=n.length,a=r;if(null==t)return !a;for(t=Object(t);r--;){var o=n[r];if(o[2]?o[1]!==t[o[0]]:!(o[0]in t))return !1}for(;++r<a;){var s=(o=n[r])[0],c=t[s],u=o[1];if(o[2]){if(void 0===c&&!(s in t))return !1}else {var l,h=new UE;if(!(void 0===l?AS(u,c,MS|IS,i,h):l))return !1}}return !0}function LS(t){return t==t&&!Fp(t)}function DS(t){for(var e=iE(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,LS(r)];}return e}function NS(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}}function PS(t){var e=DS(t);return 1==e.length&&e[0][2]?NS(e[0][0],e[0][1]):function(n){return n===t||OS(n,t,e)}}function BS(t,e){return null!=t&&e in Object(t)}function RS(t,e,n){for(var i=-1,r=(e=wE(e,t)).length,a=!1;++i<r;){var o=mE(e[i]);if(!(a=null!=t&&n(t,o)))break;t=t[o];}return a||++i!=r?a:!!(r=null==t?0:t.length)&&t_(r)&&qk(o,r)&&(ik(t)||d_(t))}function jS(t,e){return null!=t&&RS(t,e,BS)}var $S=1,FS=2;function zS(t,e){return lE(t)&&LS(e)?NS(mE(t),e):function(n){var i=xE(n,t);return void 0===i&&i===e?jS(n,t):AS(e,i,$S|FS)}}function HS(t){return function(e){return null==e?void 0:e[t]}}function US(t){return function(e){return vE(e,t)}}function GS(t){return lE(t)?HS(mE(t)):US(t)}function qS(t){return "function"==typeof t?t:null==t?kk:"object"==typeof t?ik(t)?zS(t[0],t[1]):PS(t):GS(t)}function KS(t){return function(t,e,n){for(var i=-1,r=Object(t),a=n(t),o=a.length;o--;){var s=a[++i];if(!1===e(r[s],s,r))break}return t}}const YS=KS();function WS(t,e){return t&&YS(t,e,iE)}function XS(t,e){return function(e,n){if(null==e)return e;if(!e_(e))return t(e,n);for(var i=e.length,r=-1,a=Object(e);++r<i&&!1!==n(a[r],r,a););return e}}const VS=XS(WS);var ZS=Object.prototype,QS=ZS.hasOwnProperty;const JS=Qk((function(t,e){t=Object(t);var n=-1,i=e.length,r=i>2?e[2]:void 0;for(r&&n_(e[0],e[1],r)&&(i=1);++n<i;)for(var a=e[n],o=sE(a),s=-1,c=o.length;++s<c;){var u=o[s],l=t[u];(void 0===l||vb(l,ZS[u])&&!QS.call(t,u))&&(t[u]=a[u]);}return t}));function tA(t,e,n){(void 0!==n&&!vb(t[e],n)||void 0===n&&!(e in t))&&Kk(t,e,n);}function eA(t){return Jx(t)&&e_(t)}function nA(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}function iA(t){return Xk(t,sE(t))}function rA(t,e,n,i,r,a,o){var s=nA(t,n),c=nA(e,n),u=o.get(c);if(u)tA(t,n,u);else {var l=a?a(s,c,n+"",t,e,o):void 0,h=void 0===l;if(h){var f=ik(c),d=!f&&y_(c),g=!f&&!d&&V_(c);l=c,f||d||g?ik(s)?l=s:eA(s)?l=Mk(s):d?(h=!1,l=VE(c,!0)):g?(h=!1,l=NT(c,!0)):l=[]:PE(c)||d_(c)?(l=s,d_(s)?l=iA(s):Fp(s)&&!qp(s)||(l=eC(c))):h=!1;}h&&(o.set(c,l),r(l,c,i,a,o),o.delete(c)),tA(t,n,l);}}function aA(t,e,n,i,r){t!==e&&YS(e,(function(a,o){if(r||(r=new UE),Fp(a))rA(t,e,o,n,aA,i,r);else {var s=i?i(nA(t,o),a,o+"",t,e,r):void 0;void 0===s&&(s=a),tA(t,o,s);}}),sE);}function oA(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}function sA(t){return "function"==typeof t?t:kk}function cA(t,e){return (ik(t)?Rk:VS)(t,sA(e))}function uA(t,e){var n=[];return VS(t,(function(t,i,r){e(t,i,r)&&n.push(t);})),n}function lA(t,e){return (ik(t)?ZE:uA)(t,qS(e))}function hA(t){return function(e,n,i){var r=Object(e);if(!e_(e)){var a=qS(n);e=iE(e),n=function(t){return a(r[t],t,r)};}var o=t(e,n,i);return o>-1?r[a?e[o]:o]:void 0}}var fA=Math.max;function dA(t,e,n){var i=null==t?0:t.length;if(!i)return -1;var r=null==n?0:xk(n);return r<0&&(r=fA(i+r,0)),jk(t,qS(e),r)}const gA=hA(dA);function pA(t,e){var n=-1,i=e_(t)?Array(t.length):[];return VS(t,(function(t,r,a){i[++n]=e(t,r,a);})),i}function bA(t,e){return (ik(t)?nk:pA)(t,qS(e))}function wA(t,e){return null==t?t:YS(t,sA(e),sE)}function yA(t,e){return t>e}var mA=Object.prototype,vA=mA.hasOwnProperty;function xA(t,e){return null!=t&&vA.call(t,e)}function kA(t,e){return null!=t&&RS(t,e,xA)}function _A(t,e){return nk(e,(function(e){return t[e]}))}function EA(t){return null==t?[]:_A(t,iE(t))}var TA="[object Map]",CA="[object Set]",SA=Object.prototype,AA=SA.hasOwnProperty;function MA(t){if(null==t)return !0;if(e_(t)&&(ik(t)||"string"==typeof t||"function"==typeof t.splice||y_(t)||V_(t)||d_(t)))return !t.length;var e=_T(t);if(e==TA||e==CA)return !t.size;if(a_(t))return !nE(t).length;for(var n in t)if(AA.call(t,n))return !1;return !0}function IA(t){return void 0===t}function OA(t,e){return t<e}function LA(t,e){var n={};return e=qS(e),WS(t,(function(t,i,r){Kk(n,i,e(t,i,r));})),n}function DA(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],o=e(a);if(null!=o&&(void 0===s?o==o&&!ek(o):n(o,s)))var s=o,c=a;}return c}function NA(t){return t&&t.length?DA(t,kk,yA):void 0}const PA=i_((function(t,e,n){aA(t,e,n);}));function BA(t){return t&&t.length?DA(t,kk,OA):void 0}function RA(t,e){return t&&t.length?DA(t,qS(e),OA):void 0}function jA(t,e,n,i){if(!Fp(t))return t;for(var r=-1,a=(e=wE(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=mE(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=void 0)&&(u=Fp(l)?l:qk(e[r+1])?[]:{});}Wk(s,c,u),s=s[c];}return t}function $A(t,e,n){for(var i=-1,r=e.length,a={};++i<r;){var o=e[i],s=vE(t,o);n(s,o)&&jA(a,wE(o,t),s);}return a}function FA(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}function zA(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=ek(t),o=void 0!==e,s=null===e,c=e==e,u=ek(e);if(!s&&!u&&!a&&t>e||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!c)return -1}return 0}function HA(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var c=zA(r[i],a[i]);if(c)return i>=s?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}function UA(t,e,n){e=e.length?nk(e,(function(t){return ik(t)?function(e){return vE(e,1===t.length?t[0]:t)}:t})):[kk];var i=-1;return e=nk(e,G_(qS)),FA(pA(t,(function(t,n,r){return {criteria:nk(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return HA(t,e,n)}))}function GA(t,e){return $A(t,e,(function(e,n){return jS(t,n)}))}const qA=SE((function(t,e){return null==t?{}:GA(t,e)}));var KA=Math.ceil,YA=Math.max;function WA(t,e,n,i){for(var r=-1,a=YA(KA((e-t)/(n||1)),0),o=Array(a);a--;)o[++r]=t,t+=n;return o}function XA(t){return function(t,e,n){return n&&"number"!=typeof n&&n_(t,e,n)&&(e=n=void 0),t=vk(t),void 0===e?(e=t,t=0):e=vk(e),WA(t,e,n=void 0===n?t<e?1:-1:vk(n))}}const VA=XA();function ZA(t,e,n,i,r){return r(t,(function(t,r,a){n=i?(i=!1,t):e(n,t,r,a);})),n}function QA(t,e,n){var i=ik(t)?BE:ZA,r=arguments.length<3;return i(t,qS(e),n,r,VS)}const JA=Qk((function(t,e){if(null==t)return [];var n=e.length;return n>1&&n_(t,e[0],e[1])?e=[]:n>2&&n_(e[0],e[1],e[2])&&(e=[e[0]]),UA(t,TE(e),[])}));var tM=1/0;const eM=lT&&1/nS(new lT([,-0]))[1]==tM?function(t){return new lT(t)}:Ak;var nM=200;function iM(t,e,n){var i=-1,r=Hk,a=t.length,o=!0,s=[],c=s;if(a>=nM){var u=eM(t);if(u)return nS(u);o=!1,r=ZC,c=new XC;}else c=s;t:for(;++i<a;){var l=t[i],h=l;if(l=0!==l?l:0,o&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;s.push(l);}else r(c,h,n)||(c!==s&&c.push(h),s.push(l));}return s}const rM=Qk((function(t){return iM(TE(t,1,eA,!0))}));var aM=0;function oM(t){var e=++aM;return bE(t)+e}function sM(t,e,n){for(var i=-1,r=t.length,a=e.length,o={};++i<r;){var s=i<a?e[i]:void 0;n(o,t[i],s);}return o}function cM(t,e){return sM(t||[],e||[],Wk)}var uM="\0",lM="\0",hM="";class fM{constructor(t={}){this._isDirected=!kA(t,"directed")||t.directed,this._isMultigraph=!!kA(t,"multigraph")&&t.multigraph,this._isCompound=!!kA(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=Nk(void 0),this._defaultEdgeLabelFn=Nk(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[lM]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={};}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return qp(t)||(t=Nk(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return iE(this._nodes)}sources(){var t=this;return lA(this.nodes(),(function(e){return MA(t._in[e])}))}sinks(){var t=this;return lA(this.nodes(),(function(e){return MA(t._out[e])}))}setNodes(t,e){var n=arguments,i=this;return cA(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t);})),this}setNode(t,e){return kA(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=lM,this._children[t]={},this._children[lM][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return kA(this._nodes,t)}removeNode(t){var e=this;if(kA(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t]);};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],cA(this.children(t),(function(t){e.setParent(t);})),delete this._children[t]),cA(iE(this._in[t]),n),delete this._in[t],delete this._preds[t],cA(iE(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount;}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(IA(e))e=lM;else {for(var n=e+="";!IA(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e);}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t];}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==lM)return e}}children(t){if(IA(t)&&(t=lM),this._isCompound){var e=this._children[t];if(e)return iE(e)}else {if(t===lM)return this.nodes();if(this.hasNode(t))return []}}predecessors(t){var e=this._preds[t];if(e)return iE(e)}successors(t){var e=this._sucs[t];if(e)return iE(e)}neighbors(t){var e=this.predecessors(t);if(e)return rM(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;cA(this._nodes,(function(n,i){t(i)&&e.setNode(i,n);})),cA(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t));}));var i={};function r(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(i[t]=a,a):a in i?i[a]:r(a)}return this._isCompound&&cA(e.nodes(),(function(t){e.setParent(t,r(t));})),e}setDefaultEdgeLabel(t){return qp(t)||(t=Nk(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return EA(this._edgeObjs)}setPath(t,e){var n=this,i=arguments;return QA(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this}setEdge(){var t,e,n,i,r=!1,a=arguments[0];"object"==typeof a&&null!==a&&"v"in a?(t=a.v,e=a.w,n=a.name,2===arguments.length&&(i=arguments[1],r=!0)):(t=a,e=arguments[1],n=arguments[3],arguments.length>2&&(i=arguments[2],r=!0)),t=""+t,e=""+e,IA(n)||(n=""+n);var o=pM(this._isDirected,t,e,n);if(kA(this._edgeLabels,o))return r&&(this._edgeLabels[o]=i),this;if(!IA(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[o]=r?i:this._defaultEdgeLabelFn(t,e,n);var s=bM(this._isDirected,t,e,n);return t=s.v,e=s.w,Object.freeze(s),this._edgeObjs[o]=s,dM(this._preds[e],t),dM(this._sucs[t],e),this._in[e][o]=s,this._out[t][o]=s,this._edgeCount++,this}edge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n);return this._edgeLabels[i]}hasEdge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n);return kA(this._edgeLabels,i)}removeEdge(t,e,n){var i=1===arguments.length?wM(this._isDirected,arguments[0]):pM(this._isDirected,t,e,n),r=this._edgeObjs[i];return r&&(t=r.v,e=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],gM(this._preds[e],t),gM(this._sucs[t],e),delete this._in[e][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var i=EA(n);return e?lA(i,(function(t){return t.v===e})):i}}outEdges(t,e){var n=this._out[t];if(n){var i=EA(n);return e?lA(i,(function(t){return t.w===e})):i}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function dM(t,e){t[e]?t[e]++:t[e]=1;}function gM(t,e){--t[e]||delete t[e];}function pM(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o;}return r+hM+a+hM+(IA(i)?uM:i)}function bM(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o;}var s={v:r,w:a};return i&&(s.name=i),s}function wM(t,e){return pM(t,e.v,e.w,e.name)}fM.prototype._nodeCount=0,fM.prototype._edgeCount=0;class yM{constructor(){var t={};t._next=t._prev=t,this._sentinel=t;}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return mM(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&mM(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e;}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,vM)),n=n._prev;return "["+t.join(", ")+"]"}}function mM(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev;}function vM(t,e){if("_next"!==t&&"_prev"!==t)return e}var xM=Nk(1);function kM(t,e){if(t.nodeCount()<=1)return [];var n=TM(t,e||xM);return CE(bA(_M(n.graph,n.buckets,n.zeroIdx),(function(e){return t.outEdges(e.v,e.w)})))}function _M(t,e,n){for(var i,r=[],a=e[e.length-1],o=e[0];t.nodeCount();){for(;i=o.dequeue();)EM(t,e,n,i);for(;i=a.dequeue();)EM(t,e,n,i);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue()){r=r.concat(EM(t,e,n,i,!0));break}}return r}function EM(t,e,n,i,r){var a=r?[]:void 0;return cA(t.inEdges(i.v),(function(i){var o=t.edge(i),s=t.node(i.v);r&&a.push({v:i.v,w:i.w}),s.out-=o,CM(e,n,s);})),cA(t.outEdges(i.v),(function(i){var r=t.edge(i),a=i.w,o=t.node(a);o.in-=r,CM(e,n,o);})),t.removeNode(i.v),a}function TM(t,e){var n=new fM,i=0,r=0;cA(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0});})),cA(t.edges(),(function(t){var a=n.edge(t.v,t.w)||0,o=e(t),s=a+o;n.setEdge(t.v,t.w,s),r=Math.max(r,n.node(t.v).out+=o),i=Math.max(i,n.node(t.w).in+=o);}));var a=VA(r+i+3).map((function(){return new yM})),o=i+1;return cA(n.nodes(),(function(t){CM(a,o,n.node(t));})),{graph:n,buckets:a,zeroIdx:o}}function CM(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n);}function SM(t){function e(t){return function(e){return t.edge(e).weight}}cA("greedy"===t.graph().acyclicer?kM(t,e(t)):AM(t),(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,oM("rev"));}));}function AM(t){var e=[],n={},i={};function r(a){kA(i,a)||(i[a]=!0,n[a]=!0,cA(t.outEdges(a),(function(t){kA(n,t.w)?e.push(t):r(t.w);})),delete n[a]);}return cA(t.nodes(),r),e}function MM(t){cA(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var i=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,i);}}));}function IM(t,e,n,i){var r;do{r=oM(i);}while(t.hasNode(r));return n.dummy=e,t.setNode(r,n),r}function OM(t){var e=(new fM).setGraph(t.graph());return cA(t.nodes(),(function(n){e.setNode(n,t.node(n));})),cA(t.edges(),(function(n){var i=e.edge(n.v,n.w)||{weight:0,minlen:1},r=t.edge(n);e.setEdge(n.v,n.w,{weight:i.weight+r.weight,minlen:Math.max(i.minlen,r.minlen)});})),e}function LM(t){var e=new fM({multigraph:t.isMultigraph()}).setGraph(t.graph());return cA(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n));})),cA(t.edges(),(function(n){e.setEdge(n,t.edge(n));})),e}function DM(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=u*o/s,i=u):(o<0&&(c=-c),n=c,i=c*s/o),{x:r+n,y:a+i}}function NM(t){var e=bA(VA(jM(t)+1),(function(){return []}));return cA(t.nodes(),(function(n){var i=t.node(n),r=i.rank;IA(r)||(e[r][i.order]=n);})),e}function PM(t){var e=BA(bA(t.nodes(),(function(e){return t.node(e).rank})));cA(t.nodes(),(function(n){var i=t.node(n);kA(i,"rank")&&(i.rank-=e);}));}function BM(t){var e=BA(bA(t.nodes(),(function(e){return t.node(e).rank}))),n=[];cA(t.nodes(),(function(i){var r=t.node(i).rank-e;n[r]||(n[r]=[]),n[r].push(i);}));var i=0,r=t.graph().nodeRankFactor;cA(n,(function(e,n){IA(e)&&n%r!=0?--i:i&&cA(e,(function(e){t.node(e).rank+=i;}));}));}function RM(t,e,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),IM(t,"border",r,e)}function jM(t){return NA(bA(t.nodes(),(function(e){var n=t.node(e).rank;if(!IA(n))return n})))}function $M(t,e){var n={lhs:[],rhs:[]};return cA(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t);})),n}function FM(t,e){return e()}function zM(t){function e(n){var i=t.children(n),r=t.node(n);if(i.length&&cA(i,e),kA(r,"minRank")){r.borderLeft=[],r.borderRight=[];for(var a=r.minRank,o=r.maxRank+1;a<o;++a)HM(t,"borderLeft","_bl",n,r,a),HM(t,"borderRight","_br",n,r,a);}}cA(t.children(),e);}function HM(t,e,n,i,r,a){var o={width:0,height:0,rank:a,borderType:e},s=r[e][a-1],c=IM(t,"border",o,n);r[e][a]=c,t.setParent(c,i),s&&t.setEdge(s,c,{weight:1});}function UM(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||qM(t);}function GM(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||YM(t),"lr"!==e&&"rl"!==e||(XM(t),qM(t));}function qM(t){cA(t.nodes(),(function(e){KM(t.node(e));})),cA(t.edges(),(function(e){KM(t.edge(e));}));}function KM(t){var e=t.width;t.width=t.height,t.height=e;}function YM(t){cA(t.nodes(),(function(e){WM(t.node(e));})),cA(t.edges(),(function(e){var n=t.edge(e);cA(n.points,WM),kA(n,"y")&&WM(n);}));}function WM(t){t.y=-t.y;}function XM(t){cA(t.nodes(),(function(e){VM(t.node(e));})),cA(t.edges(),(function(e){var n=t.edge(e);cA(n.points,VM),kA(n,"x")&&VM(n);}));}function VM(t){var e=t.x;t.x=t.y,t.y=e;}function ZM(t){t.graph().dummyChains=[],cA(t.edges(),(function(e){QM(t,e);}));}function QM(t,e){var n=e.v,i=t.node(n).rank,r=e.w,a=t.node(r).rank,o=e.name,s=t.edge(e),c=s.labelRank;if(a!==i+1){var u,l,h;for(t.removeEdge(e),h=0,++i;i<a;++h,++i)s.points=[],u=IM(t,"edge",l={width:0,height:0,edgeLabel:s,edgeObj:e,rank:i},"_d"),i===c&&(l.width=s.width,l.height=s.height,l.dummy="edge-label",l.labelpos=s.labelpos),t.setEdge(n,u,{weight:s.weight},o),0===h&&t.graph().dummyChains.push(u),n=u;t.setEdge(n,r,{weight:s.weight},o);}}function JM(t){cA(t.graph().dummyChains,(function(e){var n,i=t.node(e),r=i.edgeLabel;for(t.setEdge(i.edgeObj,r);i.dummy;)n=t.successors(e)[0],t.removeNode(e),r.points.push({x:i.x,y:i.y}),"edge-label"===i.dummy&&(r.x=i.x,r.y=i.y,r.width=i.width,r.height=i.height),e=n,i=t.node(e);}));}function tI(t){var e={};function n(i){var r=t.node(i);if(kA(e,i))return r.rank;e[i]=!0;var a=BA(bA(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return a!==Number.POSITIVE_INFINITY&&null!=a||(a=0),r.rank=a}cA(t.sources(),n);}function eI(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function nI(t){var e,n,i=new fM({directed:!1}),r=t.nodes()[0],a=t.nodeCount();for(i.setNode(r,{});iI(i,t)<a;)e=rI(i,t),n=i.hasNode(e.v)?eI(t,e):-eI(t,e),aI(i,t,n);return i}function iI(t,e){function n(i){cA(e.nodeEdges(i),(function(r){var a=r.v,o=i===a?r.w:a;t.hasNode(o)||eI(e,r)||(t.setNode(o,{}),t.setEdge(i,o,{}),n(o));}));}return cA(t.nodes(),n),t.nodeCount()}function rI(t,e){return RA(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return eI(e,n)}))}function aI(t,e,n){cA(t.nodes(),(function(t){e.node(t).rank+=n;}));}function oI(t,e,n){ik(e)||(e=[e]);var i=(t.isDirected()?t.successors:t.neighbors).bind(t),r=[],a={};return cA(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);sI(t,e,"post"===n,a,i,r);})),r}function sI(t,e,n,i,r,a){kA(i,e)||(i[e]=!0,n||a.push(e),cA(r(e),(function(e){sI(t,e,n,i,r,a);})),n&&a.push(e));}function cI(t,e){return oI(t,e,"post")}function uI(t,e){return oI(t,e,"pre")}function lI(t){tI(t=OM(t));var e,n=nI(t);for(gI(n),hI(n,t);e=bI(n);)yI(n,t,e,wI(n,t,e));}function hI(t,e){var n=cI(t,t.nodes());cA(n=n.slice(0,n.length-1),(function(n){fI(t,e,n);}));}function fI(t,e,n){var i=t.node(n).parent;t.edge(n,i).cutvalue=dI(t,e,n);}function dI(t,e,n){var i=t.node(n).parent,r=!0,a=e.edge(n,i),o=0;return a||(r=!1,a=e.edge(i,n)),o=a.weight,cA(e.nodeEdges(n),(function(a){var s=a.v===n,c=s?a.w:a.v;if(c!==i){var u=s===r,l=e.edge(a).weight;if(o+=u?l:-l,vI(t,n,c)){var h=t.edge(n,c).cutvalue;o+=u?-h:h;}}})),o}function gI(t,e){arguments.length<2&&(e=t.nodes()[0]),pI(t,{},1,e);}function pI(t,e,n,i,r){var a=n,o=t.node(i);return e[i]=!0,cA(t.neighbors(i),(function(r){kA(e,r)||(n=pI(t,e,n,r,i));})),o.low=a,o.lim=n++,r?o.parent=r:delete o.parent,n}function bI(t){return gA(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function wI(t,e,n){var i=n.v,r=n.w;e.hasEdge(i,r)||(i=n.w,r=n.v);var a=t.node(i),o=t.node(r),s=a,c=!1;return a.lim>o.lim&&(s=o,c=!0),RA(lA(e.edges(),(function(e){return c===xI(t,t.node(e.v),s)&&c!==xI(t,t.node(e.w),s)})),(function(t){return eI(e,t)}))}function yI(t,e,n,i){var r=n.v,a=n.w;t.removeEdge(r,a),t.setEdge(i.v,i.w,{}),gI(t),hI(t,e),mI(t,e);}function mI(t,e){var n=gA(t.nodes(),(function(t){return !e.node(t).parent})),i=uI(t,n);cA(i=i.slice(1),(function(n){var i=t.node(n).parent,r=e.edge(n,i),a=!1;r||(r=e.edge(i,n),a=!0),e.node(n).rank=e.node(i).rank+(a?r.minlen:-r.minlen);}));}function vI(t,e,n){return t.hasEdge(e,n)}function xI(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function kI(t){switch(t.graph().ranker){case"network-simplex":default:TI(t);break;case"tight-tree":EI(t);break;case"longest-path":_I(t);}}lI.initLowLimValues=gI,lI.initCutValues=hI,lI.calcCutValue=dI,lI.leaveEdge=bI,lI.enterEdge=wI,lI.exchangeEdges=yI;var _I=tI;function EI(t){tI(t),nI(t);}function TI(t){lI(t);}function CI(t){var e=IM(t,"root",{},"_root"),n=AI(t),i=NA(EA(n))-1,r=2*i+1;t.graph().nestingRoot=e,cA(t.edges(),(function(e){t.edge(e).minlen*=r;}));var a=MI(t)+1;cA(t.children(),(function(o){SI(t,e,r,a,i,n,o);})),t.graph().nodeRankFactor=r;}function SI(t,e,n,i,r,a,o){var s=t.children(o);if(s.length){var c=RM(t,"_bt"),u=RM(t,"_bb"),l=t.node(o);t.setParent(c,o),l.borderTop=c,t.setParent(u,o),l.borderBottom=u,cA(s,(function(s){SI(t,e,n,i,r,a,s);var l=t.node(s),h=l.borderTop?l.borderTop:s,f=l.borderBottom?l.borderBottom:s,d=l.borderTop?i:2*i,g=h!==f?1:r-a[o]+1;t.setEdge(c,h,{weight:d,minlen:g,nestingEdge:!0}),t.setEdge(f,u,{weight:d,minlen:g,nestingEdge:!0});})),t.parent(o)||t.setEdge(e,c,{weight:0,minlen:r+a[o]});}else o!==e&&t.setEdge(e,o,{weight:0,minlen:n});}function AI(t){var e={};function n(i,r){var a=t.children(i);a&&a.length&&cA(a,(function(t){n(t,r+1);})),e[i]=r;}return cA(t.children(),(function(t){n(t,1);})),e}function MI(t){return QA(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}function II(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,cA(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e);}));}function OI(t,e,n){var i,r={};cA(n,(function(n){for(var a,o,s=t.parent(n);s;){if((a=t.parent(s))?(o=r[a],r[a]=s):(o=i,i=s),o&&o!==s)return void e.setEdge(o,s);s=a;}}));}function LI(t,e,n){var i=DI(t),r=new fM({compound:!0}).setGraph({root:i}).setDefaultNodeLabel((function(e){return t.node(e)}));return cA(t.nodes(),(function(a){var o=t.node(a),s=t.parent(a);(o.rank===e||o.minRank<=e&&e<=o.maxRank)&&(r.setNode(a),r.setParent(a,s||i),cA(t[n](a),(function(e){var n=e.v===a?e.w:e.v,i=r.edge(n,a),o=IA(i)?0:i.weight;r.setEdge(n,a,{weight:t.edge(e).weight+o});})),kA(o,"minRank")&&r.setNode(a,{borderLeft:o.borderLeft[e],borderRight:o.borderRight[e]}));})),r}function DI(t){for(var e;t.hasNode(e=oM("_root")););return e}function NI(t,e){for(var n=0,i=1;i<e.length;++i)n+=PI(t,e[i-1],e[i]);return n}function PI(t,e,n){for(var i=cM(n,bA(n,(function(t,e){return e}))),r=CE(bA(e,(function(e){return JA(bA(t.outEdges(e),(function(e){return {pos:i[e.w],weight:t.edge(e).weight}})),"pos")}))),a=1;a<n.length;)a<<=1;var o=2*a-1;a-=1;var s=bA(new Array(o),(function(){return 0})),c=0;return cA(r.forEach((function(t){var e=t.pos+a;s[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=s[e+1]),s[e=e-1>>1]+=t.weight;c+=t.weight*n;}))),c}function BI(t){var e={},n=lA(t.nodes(),(function(e){return !t.children(e).length})),i=NA(bA(n,(function(e){return t.node(e).rank}))),r=bA(VA(i+1),(function(){return []}));function a(n){if(!kA(e,n)){e[n]=!0;var i=t.node(n);r[i.rank].push(n),cA(t.successors(n),a);}}return cA(JA(n,(function(e){return t.node(e).rank})),a),r}function RI(t,e){return bA(e,(function(e){var n=t.inEdges(e);if(n.length){var i=QA(n,(function(e,n){var i=t.edge(n),r=t.node(n.v);return {sum:e.sum+i.weight*r.order,weight:e.weight+i.weight}}),{sum:0,weight:0});return {v:e,barycenter:i.sum/i.weight,weight:i.weight}}return {v:e}}))}function jI(t,e){var n={};return cA(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};IA(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight);})),cA(e.edges(),(function(t){var e=n[t.v],i=n[t.w];IA(e)||IA(i)||(i.indegree++,e.out.push(n[t.w]));})),$I(lA(n,(function(t){return !t.indegree})))}function $I(t){var e=[];function n(t){return function(e){e.merged||(IA(e.barycenter)||IA(t.barycenter)||e.barycenter>=t.barycenter)&&FI(t,e);}}function i(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n);}}for(;t.length;){var r=t.pop();e.push(r),cA(r.in.reverse(),n(r)),cA(r.out,i(r));}return bA(lA(e,(function(t){return !t.merged})),(function(t){return qA(t,["vs","i","barycenter","weight"])}))}function FI(t,e){var n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight),e.weight&&(n+=e.barycenter*e.weight,i+=e.weight),t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0;}function zI(t,e){var n=$M(t,(function(t){return kA(t,"barycenter")})),i=n.lhs,r=JA(n.rhs,(function(t){return -t.i})),a=[],o=0,s=0,c=0;i.sort(UI(!!e)),c=HI(a,r,c),cA(i,(function(t){c+=t.vs.length,a.push(t.vs),o+=t.barycenter*t.weight,s+=t.weight,c=HI(a,r,c);}));var u={vs:CE(a)};return s&&(u.barycenter=o/s,u.weight=s),u}function HI(t,e,n){for(var i;e.length&&(i=oA(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}function UI(t){return function(e,n){return e.barycenter<n.barycenter?-1:e.barycenter>n.barycenter?1:t?n.i-e.i:e.i-n.i}}function GI(t,e,n,i){var r=t.children(e),a=t.node(e),o=a?a.borderLeft:void 0,s=a?a.borderRight:void 0,c={};o&&(r=lA(r,(function(t){return t!==o&&t!==s})));var u=RI(t,r);cA(u,(function(e){if(t.children(e.v).length){var r=GI(t,e.v,n,i);c[e.v]=r,kA(r,"barycenter")&&KI(e,r);}}));var l=jI(u,n);qI(l,c);var h=zI(l,i);if(o&&(h.vs=CE([o,h.vs,s]),t.predecessors(o).length)){var f=t.node(t.predecessors(o)[0]),d=t.node(t.predecessors(s)[0]);kA(h,"barycenter")||(h.barycenter=0,h.weight=0),h.barycenter=(h.barycenter*h.weight+f.order+d.order)/(h.weight+2),h.weight+=2;}return h}function qI(t,e){cA(t,(function(t){t.vs=CE(t.vs.map((function(t){return e[t]?e[t].vs:t})));}));}function KI(t,e){IA(t.barycenter)?(t.barycenter=e.barycenter,t.weight=e.weight):(t.barycenter=(t.barycenter*t.weight+e.barycenter*e.weight)/(t.weight+e.weight),t.weight+=e.weight);}function YI(t){var e=jM(t),n=WI(t,VA(1,e+1),"inEdges"),i=WI(t,VA(e-1,-1,-1),"outEdges"),r=BI(t);VI(t,r);for(var a,o=Number.POSITIVE_INFINITY,s=0,c=0;c<4;++s,++c){XI(s%2?n:i,s%4>=2);var u=NI(t,r=NM(t));u<o&&(c=0,a=qC(r),o=u);}VI(t,a);}function WI(t,e,n){return bA(e,(function(e){return LI(t,e,n)}))}function XI(t,e){var n=new fM;cA(t,(function(t){var i=t.graph().root,r=GI(t,i,n,e);cA(r.vs,(function(e,n){t.node(e).order=n;})),OI(t,n,r.vs);}));}function VI(t,e){cA(e,(function(e){cA(e,(function(e,n){t.node(e).order=n;}));}));}function ZI(t){var e=JI(t);cA(t.graph().dummyChains,(function(n){for(var i=t.node(n),r=i.edgeObj,a=QI(t,e,r.v,r.w),o=a.path,s=a.lca,c=0,u=o[c],l=!0;n!==r.w;){if(i=t.node(n),l){for(;(u=o[c])!==s&&t.node(u).maxRank<i.rank;)c++;u===s&&(l=!1);}if(!l){for(;c<o.length-1&&t.node(u=o[c+1]).minRank<=i.rank;)c++;u=o[c];}t.setParent(n,u),n=t.successors(n)[0];}}));}function QI(t,e,n,i){var r,a,o=[],s=[],c=Math.min(e[n].low,e[i].low),u=Math.max(e[n].lim,e[i].lim);r=n;do{r=t.parent(r),o.push(r);}while(r&&(e[r].low>c||u>e[r].lim));for(a=r,r=i;(r=t.parent(r))!==a;)s.push(r);return {path:o.concat(s.reverse()),lca:a}}function JI(t){var e={},n=0;function i(r){var a=n;cA(t.children(r),i),e[r]={low:a,lim:n++};}return cA(t.children(),i),e}function tO(t,e){var n={};function i(e,i){var r=0,a=0,o=e.length,s=oA(i);return cA(i,(function(e,c){var u=nO(t,e),l=u?t.node(u).order:o;(u||e===s)&&(cA(i.slice(a,c+1),(function(e){cA(t.predecessors(e),(function(i){var a=t.node(i),o=a.order;!(o<r||l<o)||a.dummy&&t.node(e).dummy||iO(n,i,e);}));})),a=c+1,r=l);})),i}return QA(e,i),n}function eO(t,e){var n={};function i(e,i,r,a,o){var s;cA(VA(i,r),(function(i){s=e[i],t.node(s).dummy&&cA(t.predecessors(s),(function(e){var i=t.node(e);i.dummy&&(i.order<a||i.order>o)&&iO(n,e,s);}));}));}function r(e,n){var r,a=-1,o=0;return cA(n,(function(s,c){if("border"===t.node(s).dummy){var u=t.predecessors(s);u.length&&(r=t.node(u[0]).order,i(n,o,c,a,r),o=c,a=r);}i(n,o,n.length,r,e.length);})),n}return QA(e,r),n}function nO(t,e){if(t.node(e).dummy)return gA(t.predecessors(e),(function(e){return t.node(e).dummy}))}function iO(t,e,n){if(e>n){var i=e;e=n,n=i;}var r=t[e];r||(t[e]=r={}),r[n]=!0;}function rO(t,e,n){if(e>n){var i=e;e=n,n=i;}return kA(t[e],n)}function aO(t,e,n,i){var r={},a={},o={};return cA(e,(function(t){cA(t,(function(t,e){r[t]=t,a[t]=t,o[t]=e;}));})),cA(e,(function(t){var e=-1;cA(t,(function(t){var s=i(t);if(s.length)for(var c=((s=JA(s,(function(t){return o[t]}))).length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var h=s[u];a[t]===t&&e<o[h]&&!rO(n,t,h)&&(a[h]=t,a[t]=r[t]=r[h],e=o[h]);}}));})),{root:r,align:a}}function oO(t,e,n,i,r){var a={},o=sO(t,e,n,r),s=r?"borderLeft":"borderRight";function c(t,e){for(var n=o.nodes(),i=n.pop(),r={};i;)r[i]?t(i):(r[i]=!0,n.push(i),n=n.concat(e(i))),i=n.pop();}function u(t){a[t]=o.inEdges(t).reduce((function(t,e){return Math.max(t,a[e.v]+o.edge(e))}),0);}function l(e){var n=o.outEdges(e).reduce((function(t,e){return Math.min(t,a[e.w]-o.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);n!==Number.POSITIVE_INFINITY&&i.borderType!==s&&(a[e]=Math.max(a[e],n));}return c(u,o.predecessors.bind(o)),c(l,o.successors.bind(o)),cA(i,(function(t){a[t]=a[n[t]];})),a}function sO(t,e,n,i){var r=new fM,a=t.graph(),o=fO(a.nodesep,a.edgesep,i);return cA(e,(function(e){var i;cA(e,(function(e){var a=n[e];if(r.setNode(a),i){var s=n[i],c=r.edge(s,a);r.setEdge(s,a,Math.max(o(t,e,i),c||0));}i=e;}));})),r}function cO(t,e){return RA(EA(e),(function(e){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return wA(e,(function(e,r){var a=dO(t,r)/2;n=Math.max(e+a,n),i=Math.min(e-a,i);})),n-i}))}function uO(t,e){var n=EA(e),i=BA(n),r=NA(n);cA(["u","d"],(function(n){cA(["l","r"],(function(a){var o,s=n+a,c=t[s];if(c!==e){var u=EA(c);(o="l"===a?i-BA(u):r-NA(u))&&(t[s]=LA(c,(function(t){return t+o})));}}));}));}function lO(t,e){return LA(t.ul,(function(n,i){if(e)return t[e.toLowerCase()][i];var r=JA(bA(t,i));return (r[1]+r[2])/2}))}function hO(t){var e,n=NM(t),i=PA(tO(t,n),eO(t,n)),r={};cA(["u","d"],(function(a){e="u"===a?n:EA(n).reverse(),cA(["l","r"],(function(n){"r"===n&&(e=bA(e,(function(t){return EA(t).reverse()})));var o=("u"===a?t.predecessors:t.successors).bind(t),s=aO(t,e,i,o),c=oO(t,e,s.root,s.align,"r"===n);"r"===n&&(c=LA(c,(function(t){return -t}))),r[a+n]=c;}));}));var a=cO(t,r);return uO(r,a),lO(r,t.graph().align)}function fO(t,e,n){return function(i,r,a){var o,s=i.node(r),c=i.node(a),u=0;if(u+=s.width/2,kA(s,"labelpos"))switch(s.labelpos.toLowerCase()){case"l":o=-s.width/2;break;case"r":o=s.width/2;}if(o&&(u+=n?o:-o),o=0,u+=(s.dummy?e:t)/2,u+=(c.dummy?e:t)/2,u+=c.width/2,kA(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":o=c.width/2;break;case"r":o=-c.width/2;}return o&&(u+=n?o:-o),o=0,u}}function dO(t,e){return t.node(e).width}function gO(t){pO(t=LM(t)),cA(hO(t),(function(e,n){t.node(n).x=e;}));}function pO(t){var e=NM(t),n=t.graph().ranksep,i=0;cA(e,(function(e){var r=NA(bA(e,(function(e){return t.node(e).height})));cA(e,(function(e){t.node(e).y=i+r/2;})),i+=r+n;}));}function bO(t,e){var n=FM;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return SO(t)}));n(" runLayout",(function(){wO(e,n);})),n(" updateInputGraph",(function(){yO(t,e);}));}));}function wO(t,e){e(" makeSpaceForEdgeLabels",(function(){AO(t);})),e(" removeSelfEdges",(function(){RO(t);})),e(" acyclic",(function(){SM(t);})),e(" nestingGraph.run",(function(){CI(t);})),e(" rank",(function(){kI(LM(t));})),e(" injectEdgeLabelProxies",(function(){MO(t);})),e(" removeEmptyRanks",(function(){BM(t);})),e(" nestingGraph.cleanup",(function(){II(t);})),e(" normalizeRanks",(function(){PM(t);})),e(" assignRankMinMax",(function(){IO(t);})),e(" removeEdgeLabelProxies",(function(){OO(t);})),e(" normalize.run",(function(){ZM(t);})),e(" parentDummyChains",(function(){ZI(t);})),e(" addBorderSegments",(function(){zM(t);})),e(" order",(function(){YI(t);})),e(" insertSelfEdges",(function(){jO(t);})),e(" adjustCoordinateSystem",(function(){UM(t);})),e(" position",(function(){gO(t);})),e(" positionSelfEdges",(function(){$O(t);})),e(" removeBorderNodes",(function(){BO(t);})),e(" normalize.undo",(function(){JM(t);})),e(" fixupEdgeLabelCoords",(function(){NO(t);})),e(" undoCoordinateSystem",(function(){GM(t);})),e(" translateGraph",(function(){LO(t);})),e(" assignNodeIntersects",(function(){DO(t);})),e(" reversePoints",(function(){PO(t);})),e(" acyclic.undo",(function(){MM(t);}));}function yO(t,e){cA(t.nodes(),(function(n){var i=t.node(n),r=e.node(n);i&&(i.x=r.x,i.y=r.y,e.children(n).length&&(i.width=r.width,i.height=r.height));})),cA(t.edges(),(function(n){var i=t.edge(n),r=e.edge(n);i.points=r.points,kA(r,"x")&&(i.x=r.x,i.y=r.y);})),t.graph().width=e.graph().width,t.graph().height=e.graph().height;}var mO=["nodesep","edgesep","ranksep","marginx","marginy"],vO={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},xO=["acyclicer","ranker","rankdir","align"],kO=["width","height"],_O={width:0,height:0},EO=["minlen","weight","width","height","labeloffset"],TO={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},CO=["labelpos"];function SO(t){var e=new fM({multigraph:!0,compound:!0}),n=zO(t.graph());return e.setGraph(PA({},vO,FO(n,mO),qA(n,xO))),cA(t.nodes(),(function(n){var i=zO(t.node(n));e.setNode(n,JS(FO(i,kO),_O)),e.setParent(n,t.parent(n));})),cA(t.edges(),(function(n){var i=zO(t.edge(n));e.setEdge(n,PA({},TO,FO(i,EO),qA(i,CO)));})),e}function AO(t){var e=t.graph();e.ranksep/=2,cA(t.edges(),(function(n){var i=t.edge(n);i.minlen*=2,"c"!==i.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset);}));}function MO(t){cA(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var i=t.node(e.v),r={rank:(t.node(e.w).rank-i.rank)/2+i.rank,e:e};IM(t,"edge-proxy",r,"_ep");}}));}function IO(t){var e=0;cA(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=NA(e,i.maxRank));})),t.graph().maxRank=e;}function OO(t){cA(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e));}));}function LO(t){var e=Number.POSITIVE_INFINITY,n=0,i=Number.POSITIVE_INFINITY,r=0,a=t.graph(),o=a.marginx||0,s=a.marginy||0;function c(t){var a=t.x,o=t.y,s=t.width,c=t.height;e=Math.min(e,a-s/2),n=Math.max(n,a+s/2),i=Math.min(i,o-c/2),r=Math.max(r,o+c/2);}cA(t.nodes(),(function(e){c(t.node(e));})),cA(t.edges(),(function(e){var n=t.edge(e);kA(n,"x")&&c(n);})),e-=o,i-=s,cA(t.nodes(),(function(n){var r=t.node(n);r.x-=e,r.y-=i;})),cA(t.edges(),(function(n){var r=t.edge(n);cA(r.points,(function(t){t.x-=e,t.y-=i;})),kA(r,"x")&&(r.x-=e),kA(r,"y")&&(r.y-=i);})),a.width=n-e+o,a.height=r-i+s;}function DO(t){cA(t.edges(),(function(e){var n,i,r=t.edge(e),a=t.node(e.v),o=t.node(e.w);r.points?(n=r.points[0],i=r.points[r.points.length-1]):(r.points=[],n=o,i=a),r.points.unshift(DM(a,n)),r.points.push(DM(o,i));}));}function NO(t){cA(t.edges(),(function(e){var n=t.edge(e);if(kA(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset;}}));}function PO(t){cA(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse();}));}function BO(t){cA(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),r=t.node(n.borderBottom),a=t.node(oA(n.borderLeft)),o=t.node(oA(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(r.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2;}})),cA(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e);}));}function RO(t){cA(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e:e,label:t.edge(e)}),t.removeEdge(e);}}));}function jO(t){cA(NM(t),(function(e){var n=0;cA(e,(function(e,i){var r=t.node(e);r.order=i+n,cA(r.selfEdges,(function(e){IM(t,"selfedge",{width:e.label.width,height:e.label.height,rank:r.rank,order:i+ ++n,e:e.e,label:e.label},"_se");})),delete r.selfEdges;}));}));}function $O(t){cA(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var i=t.node(n.e.v),r=i.x+i.width/2,a=i.y,o=n.x-r,s=i.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:r+2*o/3,y:a-s},{x:r+5*o/6,y:a-s},{x:r+o,y:a},{x:r+5*o/6,y:a+s},{x:r+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y;}}));}function FO(t,e){return LA(qA(t,e),Number)}function zO(t){var e={};return cA(t,(function(t,n){e[n.toLowerCase()]=t;})),e}let HO=0;const UO=function(t,e,n,i){l.debug("Rendering class ",e,n);const r=e.id,a={id:r,label:e.id,width:0,height:0},o=t.append("g").attr("id",i.db.lookUpDomId(r)).attr("class","classGroup");let s;s=e.link?o.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let c=!0;e.annotations.forEach((function(t){const e=s.append("tspan").text("«"+t+"»");c||e.attr("dy",n.textHeight),c=!1;}));let u=e.id;void 0!==e.type&&""!==e.type&&(u+="<"+e.type+">");const h=s.append("tspan").text(u).attr("class","title");c||h.attr("dy",n.textHeight);const f=s.node().getBBox().height,d=o.append("line").attr("x1",0).attr("y1",n.padding+f+n.dividerMargin/2).attr("y2",n.padding+f+n.dividerMargin/2),g=o.append("text").attr("x",n.padding).attr("y",f+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.members.forEach((function(t){WO(g,t,c,n),c=!1;}));const p=g.node().getBBox(),b=o.append("line").attr("x1",0).attr("y1",n.padding+f+n.dividerMargin+p.height).attr("y2",n.padding+f+n.dividerMargin+p.height),w=o.append("text").attr("x",n.padding).attr("y",f+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");c=!0,e.methods.forEach((function(t){WO(w,t,c,n),c=!1;}));const y=o.node().getBBox();var m=" ";e.cssClasses.length>0&&(m+=e.cssClasses.join(" "));const v=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",y.width+2*n.padding).attr("height",y.height+n.padding+.5*n.dividerMargin).attr("class",m).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(v-t.getBBox().width)/2);})),e.tooltip&&s.insert("title").text(e.tooltip),d.attr("x2",v),b.attr("x2",v),a.width=v,a.height=y.height+n.padding+.5*n.dividerMargin,a},GO=function(t){const e=/^([#+~-])?(\w+)(~\w+~|\[])?\s+(\w+) *([$*])?$/,n=/^([#+|~-])?(\w+) *\( *(.*)\) *([$*])? *(\w*[[\]|~]*\s*\w*~?)$/;let i=t.match(e),r=t.match(n);return i&&!r?qO(i):r?KO(r):YO(t)},qO=function(t){let e="",n="";try{let i=t[1]?t[1].trim():"",r=t[2]?t[2].trim():"",a=t[3]?Kh(t[3].trim()):"",o=t[4]?t[4].trim():"",s=t[5]?t[5].trim():"";n=i+r+a+" "+o,e=XO(s);}catch(e){n=t;}return {displayText:n,cssStyle:e}},KO=function(t){let e="",n="";try{let i=t[1]?t[1].trim():"",r=t[2]?t[2].trim():"",a=t[3]?Kh(t[3].trim()):"",o=t[4]?t[4].trim():"";n=i+r+"("+a+")"+(t[5]?" : "+Kh(t[5]).trim():""),e=XO(o);}catch(e){n=t;}return {displayText:n,cssStyle:e}},YO=function(t){let e="",n="",i="",r=t.indexOf("("),a=t.indexOf(")");if(r>1&&a>r&&a<=t.length){let o="",s="",c=t.substring(0,1);c.match(/\w/)?s=t.substring(0,r).trim():(c.match(/[#+~-]/)&&(o=c),s=t.substring(1,r).trim());const u=t.substring(r+1,a);t.substring(a+1,1),n=XO(t.substring(a+1,a+2)),e=o+s+"("+Kh(u.trim())+")",a<t.length&&(i=t.substring(a+2).trim(),""!==i&&(i=" : "+Kh(i),e+=i));}else e=Kh(t);return {displayText:e,cssStyle:n}},WO=function(t,e,n,i){let r=GO(e);const a=t.append("tspan").attr("x",i.padding).text(r.displayText);""!==r.cssStyle&&a.attr("style",r.cssStyle),n||a.attr("dy",i.textHeight);},XO=function(t){switch(t){case"*":return "font-style:italic;";case"$":return "text-decoration:underline;";default:return ""}},VO={drawClass:UO,drawEdge:function(t,e,n,i,r){const a=function(t){switch(t){case r.db.relationType.AGGREGATION:return "aggregation";case r.db.relationType.EXTENSION:return "extension";case r.db.relationType.COMPOSITION:return "composition";case r.db.relationType.DEPENDENCY:return "dependency";case r.db.relationType.LOLLIPOP:return "lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const o=e.points,s=Nu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Gu),c=t.append("path").attr("d",s(o)).attr("id","edge"+HO).attr("class","relation");let u,h,f="";i.arrowMarkerAbsolute&&(f=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,f=f.replace(/\(/g,"\\("),f=f.replace(/\)/g,"\\)")),1==n.relation.lineType&&c.attr("class","relation dashed-line"),10==n.relation.lineType&&c.attr("class","relation dotted-line"),"none"!==n.relation.type1&&c.attr("marker-start","url("+f+"#"+a(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&c.attr("marker-end","url("+f+"#"+a(n.relation.type2)+"End)");const d=e.points.length;let g,p,b,w,y=ww.calcLabelPosition(e.points);if(u=y.x,h=y.y,d%2!=0&&d>1){let t=ww.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),i=ww.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[d-1]);l.debug("cardinality_1_point "+JSON.stringify(t)),l.debug("cardinality_2_point "+JSON.stringify(i)),g=t.x,p=t.y,b=i.x,w=i.y;}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",u).attr("y",h).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=r;const a=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",a.x-i.padding/2).attr("y",a.y-i.padding/2).attr("width",a.width+i.padding).attr("height",a.height+i.padding);}l.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",g).attr("y",p).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",b).attr("y",w).attr("fill","black").attr("font-size","6").text(n.relationTitle2),HO++;},drawNote:function(t,e,n,i){l.debug("Rendering note ",e,n);const r=e.id,a={id:r,text:e.text,width:0,height:0},o=t.append("g").attr("id",r).attr("class","classGroup");let s=o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const c=JSON.parse(`"${e.text}"`).split("\n");c.forEach((function(t){l.debug(`Adding line: ${t}`),s.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight);}));const u=o.node().getBBox(),h=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",u.width+2*n.padding).attr("height",u.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return s.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2);})),a.width=h,a.height=u.height+c.length*n.textHeight+n.padding+.5*n.dividerMargin,a},parseMember:GO};let ZO={};const QO=20,JO=function(t){const e=Object.entries(ZO).find((e=>e[1].label===t));if(e)return e[0]},tL=function(t){t.append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),t.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");},eL={draw:function(t,e,n,i){const r=vy().class;ZO={},l.info("Rendering diagram "+t);const a=vy().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),c=s.select(`[id='${e}']`);tL(c);const u=new fM({multigraph:!0});u.setGraph({isMultiGraph:!0}),u.setDefaultEdgeLabel((function(){return {}}));const h=i.db.getClasses(),f=Object.keys(h);for(const t of f){const e=h[t],n=VO.drawClass(c,e,r,i);ZO[n.id]=n,u.setNode(n.id,n),l.info("Org height: "+n.height);}i.db.getRelations().forEach((function(t){l.info("tjoho"+JO(t.id1)+JO(t.id2)+JSON.stringify(t)),u.setEdge(JO(t.id1),JO(t.id2),{relation:t},t.title||"DEFAULT");})),i.db.getNotes().forEach((function(t){l.debug(`Adding note: ${JSON.stringify(t)}`);const e=VO.drawNote(c,t,r,i);ZO[e.id]=e,u.setNode(e.id,e),t.class&&t.class in h&&u.setEdge(t.id,JO(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT");})),bO(u),u.nodes().forEach((function(t){void 0!==t&&void 0!==u.node(t)&&(l.debug("Node "+t+": "+JSON.stringify(u.node(t))),s.select("#"+(i.db.lookUpDomId(t)||t)).attr("transform","translate("+(u.node(t).x-u.node(t).width/2)+","+(u.node(t).y-u.node(t).height/2)+" )"));})),u.edges().forEach((function(t){void 0!==t&&void 0!==u.edge(t)&&(l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(u.edge(t))),VO.drawEdge(c,u.edge(t),u.edge(t).relation,r,i));}));const d=c.node().getBBox(),g=d.width+2*QO,p=d.height+2*QO;Iy(c,p,g,r.useMaxWidth);const b=`${d.x-QO} ${d.y-QO} ${g} ${p}`;l.debug(`viewBox ${b}`),c.attr("viewBox",b);}};function nL(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:iL(t),edges:rL(t)};return IA(t.graph())||(e.value=HC(t.graph())),e}function iL(t){return bA(t.nodes(),(function(e){var n=t.node(e),i=t.parent(e),r={v:e};return IA(n)||(r.value=n),IA(i)||(r.parent=i),r}))}function rL(t){return bA(t.edges(),(function(e){var n=t.edge(e),i={v:e.v,w:e.w};return IA(e.name)||(i.name=e.name),IA(n)||(i.value=n),i}))}const aL=(t,e,n,i)=>{e.forEach((e=>{oL[e](t,n,i);}));},oL={extension:(t,e,n)=>{l.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z");},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z");},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6);},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 12 20").attr("refX",10).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0");},circle:(t,e)=>{t.append("marker").attr("id",e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0");},cross:(t,e)=>{t.append("marker").attr("id",e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0");},barb:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");}},sL=aL;function cL(t,e){e&&t.attr("style",e);}function uL(t){const e=ln(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),i=t.label,r=t.isNode?"nodeLabel":"edgeLabel";return n.html('<span class="'+r+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>"),cL(n,t.labelStyle),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}const lL=(t,e,n,i)=>{let r=t||"";if("object"==typeof r&&(r=r[0]),qh(vy().flowchart.htmlLabels))return r=r.replace(/\\n|\n/g,"<br />"),l.info("vertexText"+r),uL({isNode:i,label:XH(r).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")});{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];i="string"==typeof r?r.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(r)?r:[];for(const e of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),n?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i);}return t}},hL=(t,e,n,i)=>{let r;r=n||"node default";const a=t.insert("g").attr("class",r).attr("id",e.domId||e.id),o=a.insert("g").attr("class","label").attr("style",e.labelStyle);let s;s=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const c=o.node().appendChild(lL(Fh(XH(s),vy()),e.labelStyle,!1,i));let u=c.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=c.children[0],e=ln(c);u=t.getBoundingClientRect(),e.attr("width",u.width),e.attr("height",u.height);}const l=e.padding/2;return o.attr("transform","translate("+-u.width/2+", "+-u.height/2+")"),{shapeSvg:a,bbox:u,halfPadding:l,label:o}},fL=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height;};function dL(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}let gL={},pL={},bL={};const wL=()=>{pL={},bL={},gL={};},yL=(t,e)=>(l.trace("In isDecendant",e," ",t," = ",pL[e].includes(t)),!!pL[e].includes(t)),mL=(t,e)=>(l.info("Decendants of ",e," is ",pL[e]),l.info("Edge is ",t),t.v!==e&&t.w!==e&&(pL[e]?pL[e].includes(t.v)||yL(t.v,e)||yL(t.w,e)||pL[e].includes(t.w):(l.debug("Tilt, ",e,",not in decendants"),!1))),vL=(t,e,n,i)=>{l.warn("Copying children of ",t,"root",i,"data",e.node(t),i);const r=e.children(t)||[];t!==i&&r.push(t),l.warn("Copying (nodes) clusterId",t,"nodes",r),r.forEach((r=>{if(e.children(r).length>0)vL(r,e,n,i);else {const a=e.node(r);l.info("cp ",r," to ",i," with parent ",t),n.setNode(r,a),i!==e.parent(r)&&(l.warn("Setting parent",r,e.parent(r)),n.setParent(r,e.parent(r))),t!==i&&r!==t?(l.debug("Setting parent",r,t),n.setParent(r,t)):(l.info("In copy ",t,"root",i,"data",e.node(t),i),l.debug("Not Setting parent for node=",r,"cluster!==rootId",t!==i,"node!==clusterId",r!==t));const o=e.edges(r);l.debug("Copying Edges",o),o.forEach((r=>{l.info("Edge",r);const a=e.edge(r.v,r.w,r.name);l.info("Edge data",a,i);try{mL(r,i)?(l.info("Copying as ",r.v,r.w,a,r.name),n.setEdge(r.v,r.w,a,r.name),l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):l.info("Skipping copy of edge ",r.v,"--\x3e",r.w," rootId: ",i," clusterId:",t);}catch(t){l.error(t);}}));}l.debug("Removing node",r),e.removeNode(r);}));},xL=(t,e)=>{const n=e.children(t);let i=[...n];for(const r of n)bL[r]=t,i=[...i,...xL(r,e)];return i},kL=(t,e)=>{l.trace("Searching",t);const n=e.children(t);if(l.trace("Searching children of id ",t,n),n.length<1)return l.trace("This is a valid node",t),t;for(const i of n){const n=kL(i,e);if(n)return l.trace("Found replacement for",t," => ",n),n}},_L=t=>gL[t]&&gL[t].externalConnections&&gL[t]?gL[t].id:t,EL=(t,e)=>{!t||e>10?l.debug("Opting out, no graph "):(l.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(l.warn("Cluster identified",e," Replacement id in edges: ",kL(e,t)),pL[e]=xL(e,t),gL[e]={id:kL(e,t),clusterData:t.node(e)});})),t.nodes().forEach((function(e){const n=t.children(e),i=t.edges();n.length>0?(l.debug("Cluster identified",e,pL),i.forEach((t=>{t.v!==e&&t.w!==e&&yL(t.v,e)^yL(t.w,e)&&(l.warn("Edge: ",t," leaves cluster ",e),l.warn("Decendants of XXX ",e,": ",pL[e]),gL[e].externalConnections=!0);}))):l.debug("Not a cluster ",e,pL);})),t.edges().forEach((function(e){const n=t.edge(e);l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let i=e.v,r=e.w;if(l.warn("Fix XXX",gL,"ids:",e.v,e.w,"Translating: ",gL[e.v]," --- ",gL[e.w]),gL[e.v]&&gL[e.w]&&gL[e.v]===gL[e.w]){l.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=_L(e.v),r=_L(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const o=JSON.parse(JSON.stringify(n)),s=JSON.parse(JSON.stringify(n));o.label="",o.arrowTypeEnd="none",s.label="",o.fromCluster=e.v,s.toCluster=e.v,t.setEdge(i,a,o,e.name+"-cyclic-special"),t.setEdge(a,r,s,e.name+"-cyclic-special");}else (gL[e.v]||gL[e.w])&&(l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=_L(e.v),r=_L(e.w),t.removeEdge(e.v,e.w,e.name),i!==e.v&&(n.fromCluster=e.v),r!==e.w&&(n.toCluster=e.w),l.warn("Fix Replacing with XXX",i,r,e.name),t.setEdge(i,r,n,e.name));})),l.warn("Adjusted Graph",nL(t)),TL(t,0),l.trace(gL));},TL=(t,e)=>{if(l.warn("extractor - ",e,nL(t),t.children("D")),e>10)return void l.error("Bailing out");let n=t.nodes(),i=!1;for(const e of n){const n=t.children(e);i=i||n.length>0;}if(i){l.debug("Nodes = ",n,e);for(const i of n)if(l.debug("Extracting node",i,gL,gL[i]&&!gL[i].externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),gL[i])if(!gL[i].externalConnections&&t.children(i)&&t.children(i).length>0){l.warn("Cluster without external connections, without a parent and with children",i,e);let n="TB"===t.graph().rankdir?"LR":"TB";gL[i]&&gL[i].clusterData&&gL[i].clusterData.dir&&(n=gL[i].clusterData.dir,l.warn("Fixing dir",gL[i].clusterData.dir,n));const r=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return {}}));l.warn("Old graph before copy",nL(t)),vL(i,t,r,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:gL[i].clusterData,labelText:gL[i].labelText,graph:r}),l.warn("New graph after copy node: (",i,")",nL(r)),l.debug("Old graph after copy",nL(t));}else l.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!gL[i].externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),l.debug(gL);else l.debug("Not a cluster",i,e);n=t.nodes(),l.warn("New list of nodes",n);for(const i of n){const n=t.node(i);l.warn(" Now next level",i,n),n.clusterNode&&TL(n.graph,e+1);}}else l.debug("Done, no node has children",t.nodes());},CL=(t,e)=>{if(0===e.length)return [];let n=Object.assign(e);return e.forEach((e=>{const i=t.children(e),r=CL(t,i);n=[...n,...r];})),n},SL=t=>CL(t,t.children());function AL(t,e){return t.intersect(e)}function ML(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function IL(t,e,n){return ML(t,e,e,n)}function OL(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&LL(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&LL(l,h)||0==(g=r*s-a*o))))return p=Math.abs(g/2),{x:(b=o*u-s*c)<0?(b-p)/g:(b+p)/g,y:(b=a*c-r*u)<0?(b-p)/g:(b+p)/g}}function LL(t,e){return t*e>0}function DL(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y);})):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],d=OL(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});d&&a.push(d);}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):t}const NL=(t,e)=>{var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}},PL={node:AL,circle:IL,ellipse:ML,polygon:DL,rect:NL},BL=(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding+(i.height+e.padding),a=[{x:r/2,y:0},{x:r,y:-r/2},{x:r/2,y:-r},{x:0,y:-r/2}];l.info("Question main (Circle)");const o=dL(n,r,r,a);return o.attr("style",e.style),fL(e,o),e.intersect=function(t){return l.warn("Intersect called"),PL.polygon(e,a,t)},n};function RL(t,e,n,i){const r=[],a=t=>{r.push(t,0);},o=t=>{r.push(0,t);};e.includes("t")?(l.debug("add top border"),a(n)):o(n),e.includes("r")?(l.debug("add right border"),a(i)):o(i),e.includes("b")?(l.debug("add bottom border"),a(n)):o(n),e.includes("l")?(l.debug("add left border"),a(i)):o(i),t.attr("stroke-dasharray",r.join(" "));}const jL=(t,e,n)=>{const i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let r=70,a=10;"LR"===n&&(r=10,a=70);const o=i.append("rect").attr("x",-1*r/2).attr("y",-1*a/2).attr("width",r).attr("height",a).attr("class","fork-join");return fL(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return PL.rect(e,t)},i},$L={rhombus:BL,question:BL,rect:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=hL(t,e,"node "+e.classes,!0);l.trace("Classes = ",e.classes);const a=n.insert("rect",":first-child"),o=i.width+e.padding,s=i.height+e.padding;if(a.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-r).attr("y",-i.height/2-r).attr("width",o).attr("height",s),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(RL(a,e.props.borders,o,s),t.delete("borders")),t.forEach((t=>{l.warn(`Unknown node property ${t}`);}));}return fL(e,a),e.intersect=function(t){return PL.rect(e,t)},n},labelRect:(t,e)=>{const{shapeSvg:n}=hL(t,e,"label",!0);l.trace("Classes = ",e.classes);const i=n.insert("rect",":first-child"),r=0,a=0;if(i.attr("width",r).attr("height",a),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(RL(i,e.props.borders,r,a),t.delete("borders")),t.forEach((t=>{l.warn(`Unknown node property ${t}`);}));}return fL(e,i),e.intersect=function(t){return PL.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const i=t.insert("g").attr("class",n).attr("id",e.domId||e.id),r=i.insert("rect",":first-child"),a=i.insert("line"),o=i.insert("g").attr("class","label"),s=e.labelText.flat?e.labelText.flat():e.labelText;let c="";c="object"==typeof s?s[0]:s,l.info("Label text abc79",c,s,"object"==typeof s);const u=o.node().appendChild(lL(c,e.labelStyle,!0,!0));let h={width:0,height:0};if(qh(vy().flowchart.htmlLabels)){const t=u.children[0],e=ln(u);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height);}l.info("Text 2",s);const f=s.slice(1,s.length);let d=u.getBBox();const g=o.node().appendChild(lL(f.join?f.join("<br/>"):f,e.labelStyle,!0,!0));if(qh(vy().flowchart.htmlLabels)){const t=g.children[0],e=ln(g);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height);}const p=e.padding/2;return ln(g).attr("transform","translate( "+(h.width>d.width?0:(d.width-h.width)/2)+", "+(d.height+p+5)+")"),ln(u).attr("transform","translate( "+(h.width<d.width?0:-(d.width-h.width)/2)+", 0)"),h=o.node().getBBox(),o.attr("transform","translate("+-h.width/2+", "+(-h.height/2-p+3)+")"),r.attr("class","outer title-state").attr("x",-h.width/2-p).attr("y",-h.height/2-p).attr("width",h.width+e.padding).attr("height",h.height+e.padding),a.attr("class","divider").attr("x1",-h.width/2-p).attr("x2",h.width/2+p).attr("y1",-h.height/2-p+d.height+p).attr("y2",-h.height/2-p+d.height+p),fL(e,r),e.intersect=function(t){return PL.rect(e,t)},i},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=28,r=[{x:0,y:i/2},{x:i/2,y:0},{x:0,y:-i/2},{x:-i/2,y:0}];return n.insert("polygon",":first-child").attr("points",r.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return PL.circle(e,14,t)},n},circle:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=hL(t,e,void 0,!0),a=n.insert("circle",":first-child");return a.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),l.info("Circle main"),fL(e,a),e.intersect=function(t){return l.info("Circle intersect",e,i.width/2+r,t),PL.circle(e,i.width/2+r,t)},n},doublecircle:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=hL(t,e,void 0,!0),a=5,o=n.insert("g",":first-child"),s=o.insert("circle"),c=o.insert("circle");return s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r+a).attr("width",i.width+e.padding+2*a).attr("height",i.height+e.padding+2*a),c.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",i.width/2+r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),l.info("DoubleCircle main"),fL(e,s),e.intersect=function(t){return l.info("DoubleCircle intersect",e,i.width/2+r+a,t),PL.circle(e,i.width/2+r+a,t)},n},stadium:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.height+e.padding,a=i.width+r/4+e.padding,o=n.insert("rect",":first-child").attr("style",e.style).attr("rx",r/2).attr("ry",r/2).attr("x",-a/2).attr("y",-r/2).attr("width",a).attr("height",r);return fL(e,o),e.intersect=function(t){return PL.rect(e,t)},n},hexagon:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=4,a=i.height+e.padding,o=a/r,s=i.width+2*o+e.padding,c=[{x:o,y:0},{x:s-o,y:0},{x:s,y:-a/2},{x:s-o,y:-a},{x:o,y:-a},{x:0,y:-a/2}],u=dL(n,s,a,c);return u.attr("style",e.style),fL(e,u),e.intersect=function(t){return PL.polygon(e,c,t)},n},rect_left_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-a/2,y:0},{x:r,y:0},{x:r,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return dL(n,r,a,o).attr("style",e.style),e.width=r+a,e.height=a,e.intersect=function(t){return PL.polygon(e,o,t)},n},lean_right:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:a/6,y:-a}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},lean_left:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:2*a/6,y:0},{x:r+a/6,y:0},{x:r-2*a/6,y:-a},{x:-a/6,y:-a}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},trapezoid:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r+2*a/6,y:0},{x:r-a/6,y:-a},{x:a/6,y:-a}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},inv_trapezoid:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},rect_right_inv_arrow:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r+a/2,y:0},{x:r,y:-a/2},{x:r+a/2,y:-a},{x:0,y:-a}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},cylinder:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=r/2,o=a/(2.5+r/50),s=i.height+o+e.padding,c="M 0,"+o+" a "+a+","+o+" 0,0,0 "+r+" 0 a "+a+","+o+" 0,0,0 "+-r+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+r+" 0 l 0,"+-s,u=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-r/2+","+-(s/2+o)+")");return fL(e,u),e.intersect=function(t){const n=PL.rect(e,t),i=n.x-e.x;if(0!=a&&(Math.abs(i)<e.width/2||Math.abs(i)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-o)){let r=o*o*(1-i*i/(a*a));0!=r&&(r=Math.sqrt(r)),r=o-r,t.y-e.y>0&&(r=-r),n.y+=r;}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),fL(e,i),e.intersect=function(t){return PL.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child"),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),fL(e,r),e.intersect=function(t){return PL.circle(e,7,t)},n},note:(t,e)=>{const{shapeSvg:n,bbox:i,halfPadding:r}=hL(t,e,"node "+e.classes,!0);l.info("Classes = ",e.classes);const a=n.insert("rect",":first-child");return a.attr("rx",e.rx).attr("ry",e.ry).attr("x",-i.width/2-r).attr("y",-i.height/2-r).attr("width",i.width+e.padding).attr("height",i.height+e.padding),fL(e,a),e.intersect=function(t){return PL.rect(e,t)},n},subroutine:(t,e)=>{const{shapeSvg:n,bbox:i}=hL(t,e,void 0,!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r,y:0},{x:r,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=dL(n,r,a,o);return s.attr("style",e.style),fL(e,s),e.intersect=function(t){return PL.polygon(e,o,t)},n},fork:jL,join:jL,class_box:(t,e)=>{const n=e.padding/2,i=4,r=8;let a;a=e.classes?"node "+e.classes:"node default";const o=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=o.insert("rect",":first-child"),c=o.insert("line"),u=o.insert("line");let l=0,h=i;const f=o.insert("g").attr("class","label");let d=0;const g=e.classData.annotations&&e.classData.annotations[0],p=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",b=f.node().appendChild(lL(p,e.labelStyle,!0,!0));let w=b.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=b.children[0],e=ln(b);w=t.getBoundingClientRect(),e.attr("width",w.width),e.attr("height",w.height);}e.classData.annotations[0]&&(h+=w.height+i,l+=w.width);let y=e.classData.id;void 0!==e.classData.type&&""!==e.classData.type&&(vy().flowchart.htmlLabels?y+="<"+e.classData.type+">":y+="<"+e.classData.type+">");const m=f.node().appendChild(lL(y,e.labelStyle,!0,!0));ln(m).attr("class","classTitle");let v=m.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=m.children[0],e=ln(m);v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height);}h+=v.height+i,v.width>l&&(l=v.width);const x=[];e.classData.members.forEach((t=>{const n=GO(t);let r=n.displayText;vy().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const a=f.node().appendChild(lL(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let o=a.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height);}o.width>l&&(l=o.width),h+=o.height+i,x.push(a);})),h+=r;const k=[];if(e.classData.methods.forEach((t=>{const n=GO(t);let r=n.displayText;vy().flowchart.htmlLabels&&(r=r.replace(/</g,"<").replace(/>/g,">"));const a=f.node().appendChild(lL(r,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let o=a.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height);}o.width>l&&(l=o.width),h+=o.height+i,k.push(a);})),h+=r,g){let t=(l-w.width)/2;ln(b).attr("transform","translate( "+(-1*l/2+t)+", "+-1*h/2+")"),d=w.height+i;}let _=(l-v.width)/2;return ln(m).attr("transform","translate( "+(-1*l/2+_)+", "+(-1*h/2+d)+")"),d+=v.height+i,c.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-h/2-n+r+d).attr("y2",-h/2-n+r+d),d+=r,x.forEach((t=>{ln(t).attr("transform","translate( "+-l/2+", "+(-1*h/2+d+r/2)+")"),d+=v.height+i;})),d+=r,u.attr("class","divider").attr("x1",-l/2-n).attr("x2",l/2+n).attr("y1",-h/2-n+r+d).attr("y2",-h/2-n+r+d),d+=r,k.forEach((t=>{ln(t).attr("transform","translate( "+-l/2+", "+(-1*h/2+d)+")"),d+=v.height+i;})),s.attr("class","outer title-state").attr("x",-l/2-n).attr("y",-h/2-n).attr("width",l+e.padding).attr("height",h+e.padding),fL(e,s),e.intersect=function(t){return PL.rect(e,t)},o}};let FL={};const zL=(t,e,n)=>{let i,r;if(e.link){let a;"sandbox"===vy().securityLevel?a="_top":e.linkTarget&&(a=e.linkTarget||"_blank"),i=t.insert("svg:a").attr("xlink:href",e.link).attr("target",a),r=$L[e.shape](i,e,n);}else r=$L[e.shape](t,e,n),i=r;return e.tooltip&&r.attr("title",e.tooltip),e.class&&r.attr("class","node default "+e.class),FL[e.id]=i,e.haveCallback&&FL[e.id].attr("class",FL[e.id].attr("class")+" clickable"),i},HL=(t,e)=>{FL[e.id]=t;},UL=()=>{FL={};},GL=t=>{const e=FL[t.id];l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=8,i=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+i-t.width/2)+", "+(t.y-t.height/2-n)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),i},qL={rect:(t,e)=>{l.trace("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),a=r.node().appendChild(lL(e.labelText,e.labelStyle,void 0,!0));let o=a.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=a.children[0],e=ln(a);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height);}const s=0*e.padding,c=s/2,u=e.width<=o.width+s?o.width+s:e.width;e.width<=o.width+s?e.diff=(o.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,l.trace("Data ",e,JSON.stringify(e)),i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-u/2).attr("y",e.y-e.height/2-c).attr("width",u).attr("height",e.height+s),r.attr("transform","translate("+(e.x-o.width/2)+", "+(e.y-e.height/2)+")");const h=i.node().getBBox();return e.width=h.width,e.height=h.height,e.intersect=function(t){return NL(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),a=n.append("rect"),o=r.node().appendChild(lL(e.labelText,e.labelStyle,void 0,!0));let s=o.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=o.children[0],e=ln(o);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height);}s=o.getBBox();const c=0*e.padding,u=c/2,l=e.width<=s.width+e.padding?s.width+e.padding:e.width;e.width<=s.width+e.padding?e.diff=(s.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,i.attr("class","outer").attr("x",e.x-l/2-u).attr("y",e.y-e.height/2-u).attr("width",l+c).attr("height",e.height+c),a.attr("class","inner").attr("x",e.x-l/2-u).attr("y",e.y-e.height/2-u+s.height-1).attr("width",l+c).attr("height",e.height+c-s.height-3),r.attr("transform","translate("+(e.x-s.width/2)+", "+(e.y-e.height/2-e.padding/3+(qh(vy().flowchart.htmlLabels)?5:3))+")");const h=i.node().getBBox();return e.height=h.height,e.intersect=function(t){return NL(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,a=r/2;i.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2-a).attr("width",e.width+r).attr("height",e.height+r).attr("fill","none");const o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.intersect=function(t){return NL(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,a=r/2;i.attr("class","divider").attr("x",e.x-e.width/2-a).attr("y",e.y-e.height/2).attr("width",e.width+r).attr("height",e.height+r);const o=i.node().getBBox();return e.width=o.width,e.height=o.height,e.diff=-e.padding/2,e.intersect=function(t){return NL(e,t)},n}};let KL={};const YL=(t,e)=>{l.trace("Inserting cluster");const n=e.shape||"rect";KL[e.id]=qL[n](t,e);},WL=()=>{KL={};};let XL={},VL={};const ZL=()=>{XL={},VL={};},QL=(t,e)=>{const n=lL(e.label,e.labelStyle),i=t.insert("g").attr("class","edgeLabel"),r=i.insert("g").attr("class","label");r.node().appendChild(n);let a,o=n.getBBox();if(qh(vy().flowchart.htmlLabels)){const t=n.children[0],e=ln(n);o=t.getBoundingClientRect(),e.attr("width",o.width),e.attr("height",o.height);}if(r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),XL[e.id]=i,e.width=o.width,e.height=o.height,e.startLabelLeft){const n=lL(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),VL[e.id]||(VL[e.id]={}),VL[e.id].startLeft=i,JL(a,e.startLabelLeft);}if(e.startLabelRight){const n=lL(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=i.node().appendChild(n),r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),VL[e.id]||(VL[e.id]={}),VL[e.id].startRight=i,JL(a,e.startLabelRight);}if(e.endLabelLeft){const n=lL(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(n),VL[e.id]||(VL[e.id]={}),VL[e.id].endLeft=i,JL(a,e.endLabelLeft);}if(e.endLabelRight){const n=lL(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");a=r.node().appendChild(n);const o=n.getBBox();r.attr("transform","translate("+-o.width/2+", "+-o.height/2+")"),i.node().appendChild(n),VL[e.id]||(VL[e.id]={}),VL[e.id].endRight=i,JL(a,e.endLabelRight);}return n};function JL(t,e){vy().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px");}const tD=(t,e)=>{l.info("Moving label abc78 ",t.id,t.label,XL[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const i=XL[t.id];let r=t.x,a=t.y;if(n){const i=ww.calcLabelPosition(n);l.info("Moving label "+t.label+" from (",r,",",a,") to (",i.x,",",i.y,") abc78"),e.updatedPath&&(r=i.x,a=i.y);}i.attr("transform","translate("+r+", "+a+")");}if(t.startLabelLeft){const e=VL[t.id].startLeft;let i=t.x,r=t.y;if(n){const e=ww.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);i=e.x,r=e.y;}e.attr("transform","translate("+i+", "+r+")");}if(t.startLabelRight){const e=VL[t.id].startRight;let i=t.x,r=t.y;if(n){const e=ww.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);i=e.x,r=e.y;}e.attr("transform","translate("+i+", "+r+")");}if(t.endLabelLeft){const e=VL[t.id].endLeft;let i=t.x,r=t.y;if(n){const e=ww.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);i=e.x,r=e.y;}e.attr("transform","translate("+i+", "+r+")");}if(t.endLabelRight){const e=VL[t.id].endRight;let i=t.x,r=t.y;if(n){const e=ww.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);i=e.x,r=e.y;}e.attr("transform","translate("+i+", "+r+")");}},eD=(t,e)=>{const n=t.x,i=t.y,r=Math.abs(e.x-n),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return r>=o||a>=s},nD=(t,e,n)=>{l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const i=t.x,r=t.y,a=Math.abs(i-n.x),o=t.width/2;let s=n.x<e.x?o-a:o+a;const c=t.height/2,u=Math.abs(e.y-n.y),h=Math.abs(e.x-n.x);if(Math.abs(r-e.y)*o>Math.abs(i-e.x)*c){let t=n.y<e.y?e.y-c-r:r-c-e.y;s=h*t/u;const i={x:n.x<e.x?n.x+s:n.x-h+s,y:n.y<e.y?n.y+u-t:n.y-u+t};return 0===s&&(i.x=e.x,i.y=e.y),0===h&&(i.x=e.x),0===u&&(i.y=e.y),l.warn(`abc89 topp/bott calc, Q ${u}, q ${t}, R ${h}, r ${s}`,i),i}{s=n.x<e.x?e.x-o-i:i-o-e.x;let t=u*s/h,r=n.x<e.x?n.x+h-s:n.x-h+s,a=n.y<e.y?n.y+t:n.y-t;return l.warn(`sides calc abc89, Q ${u}, q ${t}, R ${h}, r ${s}`,{_x:r,_y:a}),0===s&&(r=e.x,a=e.y),0===h&&(r=e.x),0===u&&(a=e.y),{x:r,y:a}}},iD=(t,e)=>{l.warn("abc88 cutPathAtIntersect",t,e);let n=[],i=t[0],r=!1;return t.forEach((t=>{if(l.info("abc88 checking point",t,e),eD(e,t)||r)l.warn("abc88 outside",t,i),i=t,r||n.push(t);else {const a=nD(e,i,t);l.warn("abc88 inside",t,i,a),l.warn("abc88 intersection",a);let o=!1;n.forEach((t=>{o=o||t.x===a.x&&t.y===a.y;})),n.some((t=>t.x===a.x&&t.y===a.y))?l.warn("abc88 no intersect",a,n):n.push(a),r=!0;}})),l.warn("abc88 returning points",n),n},rD=function(t,e,n,i,r,a){let o=n.points,s=!1;const c=a.node(e.v);var u=a.node(e.w);l.info("abc88 InsertEdge: ",n),u.intersect&&c.intersect&&(o=o.slice(1,n.points.length-1),o.unshift(c.intersect(o[0])),l.info("Last point",o[o.length-1],u,u.intersect(o[o.length-1])),o.push(u.intersect(o[o.length-1]))),n.toCluster&&(l.info("to cluster abc88",i[n.toCluster]),o=iD(n.points,i[n.toCluster].node),s=!0),n.fromCluster&&(l.info("from cluster abc88",i[n.fromCluster]),o=iD(o.reverse(),i[n.fromCluster].node).reverse(),s=!0);const h=o.filter((t=>!Number.isNaN(t.y)));let f;f=("graph"===r||"flowchart"===r)&&n.curve||Gu;const d=Nu().x((function(t){return t.x})).y((function(t){return t.y})).curve(f);let g;switch(n.thickness){case"normal":g="edge-thickness-normal";break;case"thick":g="edge-thickness-thick";break;default:g="";}switch(n.pattern){case"solid":g+=" edge-pattern-solid";break;case"dotted":g+=" edge-pattern-dotted";break;case"dashed":g+=" edge-pattern-dashed";}const p=t.append("path").attr("d",d(h)).attr("id",n.id).attr("class"," "+g+(n.classes?" "+n.classes:"")).attr("style",n.style);let b="";switch((vy().flowchart.arrowMarkerAbsolute||vy().state.arrowMarkerAbsolute)&&(b=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,b=b.replace(/\(/g,"\\("),b=b.replace(/\)/g,"\\)")),l.info("arrowTypeStart",n.arrowTypeStart),l.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":p.attr("marker-start","url("+b+"#"+r+"-crossStart)");break;case"arrow_point":p.attr("marker-start","url("+b+"#"+r+"-pointStart)");break;case"arrow_barb":p.attr("marker-start","url("+b+"#"+r+"-barbStart)");break;case"arrow_circle":p.attr("marker-start","url("+b+"#"+r+"-circleStart)");break;case"aggregation":p.attr("marker-start","url("+b+"#"+r+"-aggregationStart)");break;case"extension":p.attr("marker-start","url("+b+"#"+r+"-extensionStart)");break;case"composition":p.attr("marker-start","url("+b+"#"+r+"-compositionStart)");break;case"dependency":p.attr("marker-start","url("+b+"#"+r+"-dependencyStart)");break;case"lollipop":p.attr("marker-start","url("+b+"#"+r+"-lollipopStart)");}switch(n.arrowTypeEnd){case"arrow_cross":p.attr("marker-end","url("+b+"#"+r+"-crossEnd)");break;case"arrow_point":p.attr("marker-end","url("+b+"#"+r+"-pointEnd)");break;case"arrow_barb":p.attr("marker-end","url("+b+"#"+r+"-barbEnd)");break;case"arrow_circle":p.attr("marker-end","url("+b+"#"+r+"-circleEnd)");break;case"aggregation":p.attr("marker-end","url("+b+"#"+r+"-aggregationEnd)");break;case"extension":p.attr("marker-end","url("+b+"#"+r+"-extensionEnd)");break;case"composition":p.attr("marker-end","url("+b+"#"+r+"-compositionEnd)");break;case"dependency":p.attr("marker-end","url("+b+"#"+r+"-dependencyEnd)");break;case"lollipop":p.attr("marker-end","url("+b+"#"+r+"-lollipopEnd)");}let w={};return s&&(w.updatedPath=o),w.originalPath=n.points,w},aD=(t,e,n,i)=>{l.info("Graph in recursive render: XXX",nL(e),i);const r=e.graph().rankdir;l.trace("Dir in recursive render - dir:",r);const a=t.insert("g").attr("class","root");e.nodes()?l.info("Recursive render XXX",e.nodes()):l.info("No nodes found for",e),e.edges().length>0&&l.trace("Recursive edges",e.edge(e.edges()[0]));const o=a.insert("g").attr("class","clusters"),s=a.insert("g").attr("class","edgePaths"),c=a.insert("g").attr("class","edgeLabels"),u=a.insert("g").attr("class","nodes");e.nodes().forEach((function(t){const a=e.node(t);if(void 0!==i){const n=JSON.parse(JSON.stringify(i.clusterData));l.info("Setting data for cluster XXX (",t,") ",n,i),e.setNode(i.id,n),e.parent(t)||(l.trace("Setting parent",t,i.id),e.setParent(t,i.id,n));}if(l.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),a&&a.clusterNode){l.info("Cluster identified",t,a.width,e.node(t));const i=aD(u,a.graph,n,e.node(t)),r=i.elem;fL(a,r),a.diff=i.diff||0,l.info("Node bounds (abc123)",t,a,a.width,a.x,a.y),HL(r,a),l.warn("Recursive render complete ",r,a);}else e.children(t).length>0?(l.info("Cluster - the non recursive path XXX",t,a.id,a,e),l.info(kL(a.id,e)),gL[a.id]={id:kL(a.id,e),node:a}):(l.info("Node - the non recursive path",t,a.id,a),zL(u,e.node(t),r));})),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),l.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),l.info("Fix",gL,"ids:",t.v,t.w,"Translateing: ",gL[t.v],gL[t.w]),QL(c,n);})),e.edges().forEach((function(t){l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t));})),l.info("#############################################"),l.info("### Layout ###"),l.info("#############################################"),l.info(e),bO(e),l.info("Graph after layout:",nL(e));let h=0;return SL(e).forEach((function(t){const n=e.node(t);l.info("Position "+t+": "+JSON.stringify(e.node(t))),l.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?GL(n):e.children(t).length>0?(YL(o,n),gL[n.id].node=n):GL(n);})),e.edges().forEach((function(t){const i=e.edge(t);l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(i),i);const r=rD(s,t,i,gL,n,e);tD(i,r);})),e.nodes().forEach((function(t){const n=e.node(t);l.info(t,n.type,n.diff),"group"===n.type&&(h=n.diff);})),{elem:a,diff:h}},oD=(t,e,n,i,r)=>{sL(t,n,i,r),UL(),ZL(),WL(),wL(),l.warn("Graph at first:",nL(e)),EL(e),l.warn("Graph after:",nL(e)),aD(t,e,i);},sD=t=>Yh.sanitizeText(t,vy());let cD={dividerMargin:10,padding:5,textHeight:10};const uD=function(t,e,n,i){const r=Object.keys(t);l.info("keys:",r),l.info(t),r.forEach((function(n){const r=t[n];let a="";r.cssClasses.length>0&&(a=a+" "+r.cssClasses.join(" "));const o={labelStyle:""};let s=void 0!==r.text?r.text:r.id,c=0,u="";r.type,u="class_box",e.setNode(r.id,{labelStyle:o.labelStyle,shape:u,labelText:sD(s),classData:r,rx:c,ry:c,class:a,style:o.style,id:r.id,domId:r.domId,tooltip:i.db.getTooltip(r.id)||"",haveCallback:r.haveCallback,link:r.link,width:"group"===r.type?500:void 0,type:r.type,padding:vy().flowchart.padding}),l.info("setNode",{labelStyle:o.labelStyle,shape:u,labelText:s,rx:c,ry:c,class:a,style:o.style,id:r.id,width:"group"===r.type?500:void 0,type:r.type,padding:vy().flowchart.padding});}));},lD=function(t,e,n,i){l.info(t),t.forEach((function(t,r){const a=t;let o="";const s={labelStyle:"",style:""};let c=a.text,u=0,h="note";if(e.setNode(a.id,{labelStyle:s.labelStyle,shape:h,labelText:sD(c),noteData:a,rx:u,ry:u,class:o,style:s.style,id:a.id,domId:a.id,tooltip:"",type:"note",padding:vy().flowchart.padding}),l.info("setNode",{labelStyle:s.labelStyle,shape:h,labelText:c,rx:u,ry:u,style:s.style,id:a.id,type:"note",padding:vy().flowchart.padding}),!a.class||!(a.class in i))return;const f=n+r,d={classes:"relation",pattern:"dotted"};d.id=`edgeNote${f}`,d.arrowhead="none",l.info(`Note edge: ${JSON.stringify(d)}, ${JSON.stringify(a)}`),d.startLabelRight="",d.endLabelLeft="",d.arrowTypeStart="none",d.arrowTypeEnd="none";let g="fill:none",p="";d.style=g,d.labelStyle=p,d.curve=qb(cD.curve,Ou),e.setEdge(a.id,a.class,d,f);}));},hD=function(t,e){const n=vy().flowchart;let i=0;t.forEach((function(r){i++;const a={classes:"relation"};a.pattern=1==r.relation.lineType?"dashed":"solid",a.id="id"+i,"arrow_open"===r.type?a.arrowhead="none":a.arrowhead="normal",l.info(a,r),a.startLabelRight="none"===r.relationTitle1?"":r.relationTitle1,a.endLabelLeft="none"===r.relationTitle2?"":r.relationTitle2,a.arrowTypeStart=fD(r.relation.type1),a.arrowTypeEnd=fD(r.relation.type2);let o="",s="";if(void 0!==r.style){const t=Jb(r.style);o=t.style,s=t.labelStyle;}else o="fill:none";a.style=o,a.labelStyle=s,void 0!==r.interpolate?a.curve=qb(r.interpolate,Ou):void 0!==t.defaultInterpolate?a.curve=qb(t.defaultInterpolate,Ou):a.curve=qb(n.curve,Ou),r.text=r.title,void 0===r.text?void 0!==r.style&&(a.arrowheadStyle="fill: #333"):(a.arrowheadStyle="fill: #333",a.labelpos="c",vy().flowchart.htmlLabels?(a.labelType="html",a.label='<span class="edgeLabel">'+r.text+"</span>"):(a.labelType="text",a.label=r.text.replace(Yh.lineBreakRegex,"\n"),void 0===r.style&&(a.style=a.style||"stroke: #333; stroke-width: 1.5px;fill:none"),a.labelStyle=a.labelStyle.replace("color:","fill:"))),e.setEdge(r.id1,r.id2,a,i);}));};function fD(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none";}return e}const dD={setConf:function(t){Object.keys(t).forEach((function(e){cD[e]=t[e];}));},draw:function(t,e,n,i){l.info("Drawing class - ",e);const r=vy().flowchart,a=vy().securityLevel;l.info("config:",r);const o=r.nodeSpacing||50,s=r.rankSpacing||50,c=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return {}})),u=i.db.getClasses(),h=i.db.getRelations(),f=i.db.getNotes();let d;l.info(h),uD(u,c,e,i),hD(h,c),lD(f,c,h.length+1,u),"sandbox"===a&&(d=ln("#i"+e));const g=ln("sandbox"===a?d.nodes()[0].contentDocument.body:"body"),p=g.select(`[id="${e}"]`),b=g.select("#"+e+" g");if(oD(b,c,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),ww.insertTitle(p,"classTitleText",r.titleTopMargin,i.db.getDiagramTitle()),Oy(c,p,r.diagramPadding,r.useMaxWidth),!r.htmlLabels){const t="sandbox"===a?d.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),i=t.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("rx",0),i.setAttribute("ry",0),i.setAttribute("width",n.width),i.setAttribute("height",n.height),e.insertBefore(i,e.firstChild);}}}};var gD=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,23,25,27,29,30,31,51],r=[1,17],a=[1,18],o=[1,19],s=[1,20],c=[1,21],u=[1,22],l=[1,25],h=[1,30],f=[1,31],d=[1,32],g=[1,33],p=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,51],b=[1,45],w=[30,31,48,49],y=[4,6,9,11,23,25,27,29,30,31,51],m=[44,45,46,47],v=[22,37],x=[1,65],k=[1,64],_=[22,37,39,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,NON_IDENTIFYING:48,IDENTIFYING:49,WORD:50,open_directive:51,type_directive:52,arg_directive:53,close_directive:54,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"NON_IDENTIFYING",49:"IDENTIFYING",50:"WORD",51:"open_directive",52:"type_directive",53:"arg_directive",54:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 43:case 28:case 29:case 32:this.$=a[s];break;case 12:i.addEntity(a[s-4]),i.addEntity(a[s-2]),i.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 13:i.addEntity(a[s-3]),i.addAttributes(a[s-3],a[s-1]);break;case 14:i.addEntity(a[s-2]);break;case 15:i.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:case 41:case 42:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=i.Cardinality.ZERO_OR_ONE;break;case 36:this.$=i.Cardinality.ZERO_OR_MORE;break;case 37:this.$=i.Cardinality.ONE_OR_MORE;break;case 38:this.$=i.Cardinality.ONLY_ONE;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING;break;case 44:i.parseDirective("%%{","open_directive");break;case 45:i.parseDirective(a[s],"type_directive");break;case 46:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 47:i.parseDirective("}%%","close_directive","er");}},table:[{3:1,4:e,7:3,12:4,51:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,51:n},{13:8,52:[1,9]},{52:[2,44]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,51:n},{1:[2,2]},{14:23,15:[1,24],54:l},t([15,54],[2,45]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,51:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:h,45:f,46:d,47:g}),{24:[1,34]},{26:[1,35]},{28:[1,36]},t(i,[2,19]),t(p,[2,20]),t(p,[2,21]),{11:[1,37]},{16:38,53:[1,39]},{11:[2,47]},t(i,[2,5]),{17:40,30:c,31:u},{21:41,22:[1,42],32:43,33:44,37:b},{43:46,48:[1,47],49:[1,48]},t(w,[2,35]),t(w,[2,36]),t(w,[2,37]),t(w,[2,38]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(y,[2,9]),{14:49,54:l},{54:[2,46]},{15:[1,50]},{22:[1,51]},t(i,[2,14]),{21:52,22:[2,22],32:43,33:44,37:b},{34:53,37:[1,54]},{37:[2,28]},{42:55,44:h,45:f,46:d,47:g},t(m,[2,39]),t(m,[2,40]),{11:[1,56]},{19:57,30:[1,60],31:[1,59],50:[1,58]},t(i,[2,13]),{22:[2,23]},t(v,[2,24],{35:61,36:62,38:63,40:x,41:k}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(y,[2,10]),t(i,[2,12]),t(i,[2,41]),t(i,[2,42]),t(i,[2,43]),t(v,[2,25],{36:66,39:[1,67],41:k}),t(v,[2,26]),t(_,[2,30]),t(v,[2,33]),t(_,[2,32]),t(v,[2,27]),{38:68,40:x},t(_,[2,31])],defaultActions:{5:[2,44],7:[2,2],25:[2,47],39:[2,46],45:[2,28],52:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},T={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("acc_title"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return "acc_descr_multiline_value";case 7:return this.begin("open_directive"),51;case 8:return this.begin("type_directive"),52;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),54;case 11:return 53;case 12:case 13:case 15:case 22:case 27:break;case 14:return 11;case 16:return 9;case 17:return 31;case 18:return 50;case 19:return 4;case 20:return this.begin("block"),20;case 21:return 39;case 23:return 40;case 24:case 25:return 37;case 26:return 41;case 28:return this.popState(),22;case 29:case 58:return e.yytext[0];case 30:case 34:case 35:case 48:return 44;case 31:case 32:case 33:case 41:case 43:case 50:return 46;case 36:case 37:case 38:case 39:case 40:case 42:case 49:return 45;case 44:case 45:case 46:case 47:return 47;case 51:case 54:case 55:case 56:return 48;case 52:case 53:return 49;case 57:return 30;case 59:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[21,22,23,24,25,26,27,28,29],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,19,20,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59],inclusive:!0}}};function C(){this.yy={};}return E.lexer=T,C.prototype=E,E.Parser=C,new C}();gD.parser=gD;const pD=gD,bD=t=>null!==t.match(/^\s*erDiagram/);let wD={},yD=[];const mD=function(t){return void 0===wD[t]&&(wD[t]={attributes:[]},l.info("Added new entity :",t)),wD[t]},vD=function(t,e){let n,i=mD(t);for(n=e.length-1;n>=0;n--)i.attributes.push(e[n]),l.debug("Added attribute ",e[n].attributeName);},xD={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().er,addEntity:mD,addAttributes:vD,getEntities:()=>wD,addRelationship:function(t,e,n,i){let r={entityA:t,roleA:e,entityB:n,relSpec:i};yD.push(r),l.debug("Added new relationship :",r);},getRelationships:()=>yD,clear:function(){wD={},yD=[],Zy();},setAccTitle:Qy,getAccTitle:Jy,setAccDescription:tm,getAccDescription:em,setDiagramTitle:nm,getDiagramTitle:im},kD={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END"},_D={ERMarkers:kD,insertMarkers:function(t,e){let n;t.append("defs").append("marker").attr("id",kD.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",kD.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",kD.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",kD.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",kD.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",kD.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=t.append("defs").append("marker").attr("id",kD.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",kD.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18");}},ED=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;function TD(t){return "string"==typeof t&&ED.test(t)}const CD=[];for(let t=0;t<256;++t)CD.push((t+256).toString(16).slice(1));function SD(t,e=0){return (CD[t[e+0]]+CD[t[e+1]]+CD[t[e+2]]+CD[t[e+3]]+"-"+CD[t[e+4]]+CD[t[e+5]]+"-"+CD[t[e+6]]+CD[t[e+7]]+"-"+CD[t[e+8]]+CD[t[e+9]]+"-"+CD[t[e+10]]+CD[t[e+11]]+CD[t[e+12]]+CD[t[e+13]]+CD[t[e+14]]+CD[t[e+15]]).toLowerCase()}function AD(t){if(!TD(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n}function MD(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}const ID="6ba7b810-9dad-11d1-80b4-00c04fd430c8",OD="6ba7b811-9dad-11d1-80b4-00c04fd430c8";function LD(t,e,n){function i(t,i,r,a){var o;if("string"==typeof t&&(t=MD(t)),"string"==typeof i&&(i=AD(i)),16!==(null===(o=i)||void 0===o?void 0:o.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let s=new Uint8Array(16+t.length);if(s.set(i),s.set(t,i.length),s=n(s),s[6]=15&s[6]|e,s[8]=63&s[8]|128,r){a=a||0;for(let t=0;t<16;++t)r[a+t]=s[t];return r}return SD(s)}try{i.name=t;}catch(t){}return i.DNS=ID,i.URL=OD,i}function DD(t,e,n,i){switch(t){case 0:return e&n^~e&i;case 1:case 3:return e^n^i;case 2:return e&n^e&i^n&i}}function ND(t,e){return t<<e|t>>>32-e}function PD(t){const e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n));}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const i=t.length/4+2,r=Math.ceil(i/16),a=new Array(r);for(let e=0;e<r;++e){const n=new Uint32Array(16);for(let i=0;i<16;++i)n[i]=t[64*e+4*i]<<24|t[64*e+4*i+1]<<16|t[64*e+4*i+2]<<8|t[64*e+4*i+3];a[e]=n;}a[r-1][14]=8*(t.length-1)/Math.pow(2,32),a[r-1][14]=Math.floor(a[r-1][14]),a[r-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<r;++t){const i=new Uint32Array(80);for(let e=0;e<16;++e)i[e]=a[t][e];for(let t=16;t<80;++t)i[t]=ND(i[t-3]^i[t-8]^i[t-14]^i[t-16],1);let r=n[0],o=n[1],s=n[2],c=n[3],u=n[4];for(let t=0;t<80;++t){const n=Math.floor(t/20),a=ND(r,5)+DD(n,o,s,c)+u+e[n]+i[t]>>>0;u=c,c=s,s=ND(o,30)>>>0,o=r,r=a;}n[0]=n[0]+r>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0;}return [n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}const BD=LD("v5",80,PD),RD=/[^\dA-Za-z](\W)*/g;let jD={},$D=new Map;const FD=(t,e,n)=>{const i=jD.entityPadding/3,r=jD.entityPadding/3,a=.85*jD.fontSize,o=e.node().getBBox(),s=[];let c=!1,u=!1,l=0,h=0,f=0,d=0,g=o.height+2*i,p=1;n.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(c=!0),void 0!==t.attributeComment&&(u=!0);})),n.forEach((n=>{const r=`${e.node().id}-attr-${p}`;let o=0;const b=Kh(n.attributeType),w=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",vy().fontFamily).style("font-size",a+"px").text(b),y=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",vy().fontFamily).style("font-size",a+"px").text(n.attributeName),m={};m.tn=w,m.nn=y;const v=w.node().getBBox(),x=y.node().getBBox();if(l=Math.max(l,v.width),h=Math.max(h,x.width),o=Math.max(v.height,x.height),c){const e=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",i=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",vy().fontFamily).style("font-size",a+"px").text(e);m.kn=i;const s=i.node().getBBox();f=Math.max(f,s.width),o=Math.max(o,s.height);}if(u){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${r}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",vy().fontFamily).style("font-size",a+"px").text(n.attributeComment||"");m.cn=e;const i=e.node().getBBox();d=Math.max(d,i.width),o=Math.max(o,i.height);}m.height=o,s.push(m),g+=o+2*i,p+=1;}));let b=4;c&&(b+=2),u&&(b+=2);const w=l+h+f+d,y={width:Math.max(jD.minEntityWidth,Math.max(o.width+2*jD.entityPadding,w+r*b)),height:n.length>0?g:Math.max(jD.minEntityHeight,o.height+2*jD.entityPadding)};if(n.length>0){const n=Math.max(0,(y.width-w-r*b)/(b/2));e.attr("transform","translate("+y.width/2+","+(i+o.height/2)+")");let a=o.height+2*i,g="attributeBoxOdd";s.forEach((e=>{const o=a+i+e.height/2;e.tn.attr("transform","translate("+r+","+o+")");const s=t.insert("rect","#"+e.tn.node().id).classed(`er ${g}`,!0).attr("x",0).attr("y",a).attr("width",l+2*r+n).attr("height",e.height+2*i),p=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));e.nn.attr("transform","translate("+(p+r)+","+o+")");const b=t.insert("rect","#"+e.nn.node().id).classed(`er ${g}`,!0).attr("x",p).attr("y",a).attr("width",h+2*r+n).attr("height",e.height+2*i);let w=parseFloat(b.attr("x"))+parseFloat(b.attr("width"));if(c){e.kn.attr("transform","translate("+(w+r)+","+o+")");const s=t.insert("rect","#"+e.kn.node().id).classed(`er ${g}`,!0).attr("x",w).attr("y",a).attr("width",f+2*r+n).attr("height",e.height+2*i);w=parseFloat(s.attr("x"))+parseFloat(s.attr("width"));}u&&(e.cn.attr("transform","translate("+(w+r)+","+o+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${g}`,"true").attr("x",w).attr("y",a).attr("width",d+2*r+n).attr("height",e.height+2*i)),a+=e.height+2*i,g="attributeBoxOdd"===g?"attributeBoxEven":"attributeBoxOdd";}));}else y.height=Math.max(jD.minEntityHeight,g),e.attr("transform","translate("+y.width/2+","+y.height/2+")");return y},zD=function(t,e,n){let i;return Object.keys(e).forEach((function(r){const a=WD(r,"entity");$D.set(r,a);const o=t.append("g").attr("id",a);i=void 0===i?a:i;const s="text-"+a,c=o.append("text").classed("er entityLabel",!0).attr("id",s).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",vy().fontFamily).style("font-size",jD.fontSize+"px").text(r),{width:u,height:l}=FD(o,c,e[r].attributes),h=o.insert("rect","#"+s).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",u).attr("height",l).node().getBBox();n.setNode(a,{width:h.width,height:h.height,shape:"rect",id:a});})),i},HD=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )");}));},UD=function(t){return (t.entityA+t.roleA+t.entityB).replace(/\s/g,"")},GD=function(t,e){return t.forEach((function(t){e.setEdge($D.get(t.entityA),$D.get(t.entityB),{relationship:t},UD(t));})),t};let qD=0;const KD=function(t,e,n,i,r){qD++;const a=n.edge($D.get(e.entityA),$D.get(e.entityB),UD(e)),o=Nu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Gu),s=t.insert("path","#"+i).classed("er relationshipLine",!0).attr("d",o(a.points)).style("stroke",jD.stroke).style("fill","none");e.relSpec.relType===r.db.Identification.NON_IDENTIFYING&&s.attr("stroke-dasharray","8,8");let c="";switch(jD.arrowMarkerAbsolute&&(c=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,c=c.replace(/\(/g,"\\("),c=c.replace(/\)/g,"\\)")),e.relSpec.cardA){case r.db.Cardinality.ZERO_OR_ONE:s.attr("marker-end","url("+c+"#"+_D.ERMarkers.ZERO_OR_ONE_END+")");break;case r.db.Cardinality.ZERO_OR_MORE:s.attr("marker-end","url("+c+"#"+_D.ERMarkers.ZERO_OR_MORE_END+")");break;case r.db.Cardinality.ONE_OR_MORE:s.attr("marker-end","url("+c+"#"+_D.ERMarkers.ONE_OR_MORE_END+")");break;case r.db.Cardinality.ONLY_ONE:s.attr("marker-end","url("+c+"#"+_D.ERMarkers.ONLY_ONE_END+")");}switch(e.relSpec.cardB){case r.db.Cardinality.ZERO_OR_ONE:s.attr("marker-start","url("+c+"#"+_D.ERMarkers.ZERO_OR_ONE_START+")");break;case r.db.Cardinality.ZERO_OR_MORE:s.attr("marker-start","url("+c+"#"+_D.ERMarkers.ZERO_OR_MORE_START+")");break;case r.db.Cardinality.ONE_OR_MORE:s.attr("marker-start","url("+c+"#"+_D.ERMarkers.ONE_OR_MORE_START+")");break;case r.db.Cardinality.ONLY_ONE:s.attr("marker-start","url("+c+"#"+_D.ERMarkers.ONLY_ONE_START+")");}const u=s.node().getTotalLength(),l=s.node().getPointAtLength(.5*u),h="rel"+qD,f=t.append("text").classed("er relationshipLabel",!0).attr("id",h).attr("x",l.x).attr("y",l.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",vy().fontFamily).style("font-size",jD.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+h).classed("er relationshipLabelBox",!0).attr("x",l.x-f.width/2).attr("y",l.y-f.height/2).attr("width",f.width).attr("height",f.height);},YD="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function WD(t="",e=""){const n=t.replace(RD,"");return `${XD(e)}${XD(n)}${BD(t,YD)}`}function XD(t=""){return t.length>0?`${t}-`:""}const VD={setConf:function(t){const e=Object.keys(t);for(const n of e)jD[n]=t[n];},draw:function(t,e,n,i){jD=vy().er,l.info("Drawing ER diagram");const r=vy().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);let s;_D.insertMarkers(o,jD),s=new fM({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:jD.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return {}}));const c=zD(o,i.db.getEntities(),s),u=GD(i.db.getRelationships(),s);bO(s),HD(o,s),u.forEach((function(t){KD(o,t,s,c,i);}));const h=jD.diagramPadding;ww.insertTitle(o,"entityTitleText",jD.titleTopMargin,i.db.getDiagramTitle());const f=o.node().getBBox(),d=f.width+2*h,g=f.height+2*h;Iy(o,g,d,jD.useMaxWidth),o.attr("viewBox",`${f.x-h} ${f.y-h} ${d} ${g}`);}};var ZD=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,9],n=[1,7],i=[1,6],r=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],o=[2,10],s=[1,20],c=[1,21],u=[1,22],l=[1,23],h=[1,30],f=[1,32],d=[1,33],g=[1,34],p=[1,62],b=[1,48],w=[1,52],y=[1,36],m=[1,37],v=[1,38],x=[1,39],k=[1,40],_=[1,56],E=[1,63],T=[1,51],C=[1,53],S=[1,55],A=[1,59],M=[1,60],I=[1,41],O=[1,42],L=[1,43],D=[1,44],N=[1,61],P=[1,50],B=[1,54],R=[1,57],j=[1,58],$=[1,49],F=[1,66],z=[1,71],H=[1,20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],U=[1,75],G=[1,74],q=[1,76],K=[20,21,23,81,82],Y=[1,99],W=[1,104],X=[1,107],V=[1,108],Z=[1,101],Q=[1,106],J=[1,109],tt=[1,102],et=[1,114],nt=[1,113],it=[1,103],rt=[1,105],at=[1,110],ot=[1,111],st=[1,112],ct=[1,115],ut=[20,21,22,23,81,82],lt=[20,21,22,23,53,81,82],ht=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],ft=[20,21,23],dt=[20,21,23,52,66,67,81,82,91,95,105,106,109,111,112,122,123,124,125,126,127],gt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],pt=[52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],bt=[1,149],wt=[1,157],yt=[1,158],mt=[1,159],vt=[1,160],xt=[1,144],kt=[1,145],_t=[1,141],Et=[1,152],Tt=[1,153],Ct=[1,154],St=[1,155],At=[1,156],Mt=[1,161],It=[1,162],Ot=[1,147],Lt=[1,150],Dt=[1,146],Nt=[1,143],Pt=[20,21,22,23,38,42,44,46,48,52,66,67,86,87,88,89,90,91,95,105,106,109,111,112,118,119,120,121,122,123,124,125,126,127],Bt=[1,165],Rt=[20,21,22,23,26,52,66,67,91,105,106,109,111,112,122,123,124,125,126,127],jt=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,86,87,88,89,90,91,92,95,105,106,109,111,112,113,114,122,123,124,125,126,127],$t=[12,21,22,24],Ft=[22,106],zt=[1,250],Ht=[1,245],Ut=[1,246],Gt=[1,254],qt=[1,251],Kt=[1,248],Yt=[1,247],Wt=[1,249],Xt=[1,252],Vt=[1,253],Zt=[1,255],Qt=[1,273],Jt=[20,21,23,106],te=[20,21,22,23,66,67,86,102,105,106,109,110,111,112,113],ee={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,keywords:85,STYLE:86,LINKSTYLE:87,CLASSDEF:88,CLASS:89,CLICK:90,DOWN:91,UP:92,textNoTags:93,textNoTagsToken:94,DEFAULT:95,stylesOpt:96,alphaNum:97,CALLBACKNAME:98,CALLBACKARGS:99,HREF:100,LINK_TARGET:101,HEX:102,numList:103,INTERPOLATE:104,NUM:105,COMMA:106,style:107,styleComponent:108,MINUS:109,UNIT:110,BRKT:111,DOT:112,PCT:113,TAGSTART:114,alphaNumToken:115,idStringToken:116,alphaNumStatement:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,PUNCTUATION:122,UNICODE_TEXT:123,PLUS:124,EQUALS:125,MULT:126,UNDERSCORE:127,graphCodeTokens:128,ARROW_CROSS:129,ARROW_POINT:130,ARROW_CIRCLE:131,ARROW_OPEN:132,QUOTE:133,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",86:"STYLE",87:"LINKSTYLE",88:"CLASSDEF",89:"CLASS",90:"CLICK",91:"DOWN",92:"UP",95:"DEFAULT",98:"CALLBACKNAME",99:"CALLBACKARGS",100:"HREF",101:"LINK_TARGET",102:"HEX",104:"INTERPOLATE",105:"NUM",106:"COMMA",109:"MINUS",110:"UNIT",111:"BRKT",112:"DOT",113:"PCT",114:"TAGSTART",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr",122:"PUNCTUATION",123:"UNICODE_TEXT",124:"PLUS",125:"EQUALS",126:"MULT",127:"UNDERSCORE",129:"ARROW_CROSS",130:"ARROW_POINT",131:"ARROW_CIRCLE",132:"ARROW_OPEN",133:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[85,1],[93,1],[93,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[103,1],[103,3],[96,1],[96,3],[107,1],[107,2],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[108,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[94,1],[94,1],[94,1],[94,1],[54,1],[54,2],[97,1],[97,2],[117,1],[117,1],[117,1],[117,1],[43,1],[43,1],[43,1],[43,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[115,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1],[128,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 82:case 84:case 96:case 152:case 154:case 155:case 78:case 150:this.$=a[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=i.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=i.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=i.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 51:i.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 52:i.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 123:case 125:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],i.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"subroutine");break;case 64:this.$=a[s-7],i.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 65:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],i.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79:var c=i.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 80:c=i.destructLink(a[s]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 81:this.$=a[s-1];break;case 83:case 97:case 153:case 151:this.$=a[s-1]+""+a[s];break;case 98:case 99:this.$=a[s-4],i.addClass(a[s-2],a[s]);break;case 100:this.$=a[s-4],i.setClass(a[s-2],a[s]);break;case 101:case 109:this.$=a[s-1],i.setClickEvent(a[s-1],a[s]);break;case 102:case 110:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 103:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 104:this.$=a[s-4],i.setClickEvent(a[s-4],a[s-3],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 105:case 111:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 106:case 112:this.$=a[s-3],i.setLink(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 107:case 113:this.$=a[s-3],i.setLink(a[s-3],a[s-2],a[s]);break;case 108:case 114:this.$=a[s-5],i.setLink(a[s-5],a[s-4],a[s]),i.setTooltip(a[s-5],a[s-2]);break;case 115:this.$=a[s-4],i.addVertex(a[s-2],void 0,void 0,a[s]);break;case 116:case 118:this.$=a[s-4],i.updateLink(a[s-2],a[s]);break;case 117:this.$=a[s-4],i.updateLink([a[s-2]],a[s]);break;case 119:this.$=a[s-8],i.updateLinkInterpolate([a[s-6]],a[s-2]),i.updateLink([a[s-6]],a[s]);break;case 120:this.$=a[s-8],i.updateLinkInterpolate(a[s-6],a[s-2]),i.updateLink(a[s-6],a[s]);break;case 121:this.$=a[s-6],i.updateLinkInterpolate([a[s-4]],a[s]);break;case 122:this.$=a[s-6],i.updateLinkInterpolate(a[s-4],a[s]);break;case 124:case 126:a[s-2].push(a[s]),this.$=a[s-2];break;case 128:this.$=a[s-1]+a[s];break;case 156:this.$="v";break;case 157:this.$="-";break;case 158:this.$={stmt:"dir",value:"TB"};break;case 159:this.$={stmt:"dir",value:"BT"};break;case 160:this.$={stmt:"dir",value:"RL"};break;case 161:this.$={stmt:"dir",value:"LR"};}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:i,24:r},{16:15,21:n,22:i,24:r},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:D,122:N,123:P,124:B,125:R,126:j,127:$},{8:64,10:[1,65],15:F},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,68],21:[1,69],22:z,27:67,30:70},t(H,[2,11]),t(H,[2,12]),t(H,[2,13]),t(H,[2,14]),t(H,[2,15]),t(H,[2,16]),{9:72,20:U,21:G,23:q,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:U,21:G,23:q},{9:81,20:U,21:G,23:q},{9:82,20:U,21:G,23:q},{9:83,20:U,21:G,23:q},{9:84,20:U,21:G,23:q},{9:86,20:U,21:G,22:[1,85],23:q},t(H,[2,44]),{45:[1,87]},{47:[1,88]},t(H,[2,47]),t(K,[2,54],{30:89,22:z}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:Y,52:W,66:X,67:V,84:[1,97],91:Z,97:96,98:[1,94],100:[1,95],105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(H,[2,158]),t(H,[2,159]),t(H,[2,160]),t(H,[2,161]),t(ut,[2,55],{53:[1,116]}),t(lt,[2,74],{116:129,40:[1,117],52:p,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:b,67:w,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],91:_,95:E,105:T,106:C,109:S,111:A,112:M,122:N,123:P,124:B,125:R,126:j,127:$}),t(ht,[2,150]),t(ht,[2,175]),t(ht,[2,176]),t(ht,[2,177]),t(ht,[2,178]),t(ht,[2,179]),t(ht,[2,180]),t(ht,[2,181]),t(ht,[2,182]),t(ht,[2,183]),t(ht,[2,184]),t(ht,[2,185]),t(ht,[2,186]),t(ht,[2,187]),t(ht,[2,188]),t(ht,[2,189]),t(ht,[2,190]),{9:130,20:U,21:G,23:q},{11:131,14:[1,132]},t(ft,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,133]},t(dt,[2,34],{30:134,22:z}),t(H,[2,35]),{50:135,51:45,52:p,54:46,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:N,123:P,124:B,125:R,126:j,127:$},t(gt,[2,48]),t(gt,[2,49]),t(gt,[2,50]),t(pt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:bt,24:wt,26:yt,38:mt,39:139,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t([52,66,67,68,80,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,80]),t(H,[2,36]),t(H,[2,37]),t(H,[2,38]),t(H,[2,39]),t(H,[2,40]),{22:bt,24:wt,26:yt,38:mt,39:163,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(Pt,o,{17:164}),t(H,[2,45]),t(H,[2,46]),t(K,[2,53],{52:Bt}),{26:Y,52:W,66:X,67:V,91:Z,97:166,102:[1,167],105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{95:[1,168],103:169,105:[1,170]},{26:Y,52:W,66:X,67:V,91:Z,95:[1,171],97:172,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{26:Y,52:W,66:X,67:V,91:Z,97:173,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,101],{22:[1,174],99:[1,175]}),t(ft,[2,105],{22:[1,176]}),t(ft,[2,109],{115:100,117:178,22:[1,177],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,111],{22:[1,179]}),t(Rt,[2,152]),t(Rt,[2,154]),t(Rt,[2,155]),t(Rt,[2,156]),t(Rt,[2,157]),t(jt,[2,162]),t(jt,[2,163]),t(jt,[2,164]),t(jt,[2,165]),t(jt,[2,166]),t(jt,[2,167]),t(jt,[2,168]),t(jt,[2,169]),t(jt,[2,170]),t(jt,[2,171]),t(jt,[2,172]),t(jt,[2,173]),t(jt,[2,174]),{52:p,54:180,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:N,123:P,124:B,125:R,126:j,127:$},{22:bt,24:wt,26:yt,38:mt,39:181,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:182,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:184,42:vt,52:W,57:[1,183],66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:185,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:186,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:187,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{66:[1,188]},{22:bt,24:wt,26:yt,38:mt,39:189,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:190,42:vt,52:W,66:X,67:V,71:[1,191],73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:192,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:193,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:194,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ht,[2,151]),t($t,[2,3]),{8:195,15:F},{15:[2,7]},t(a,[2,28]),t(dt,[2,33]),t(K,[2,51],{30:196,22:z}),t(pt,[2,75],{22:[1,197]}),{22:[1,198]},{22:bt,24:wt,26:yt,38:mt,39:199,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,81:kt,82:[1,200],83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(jt,[2,82]),t(jt,[2,84]),t(jt,[2,140]),t(jt,[2,141]),t(jt,[2,142]),t(jt,[2,143]),t(jt,[2,144]),t(jt,[2,145]),t(jt,[2,146]),t(jt,[2,147]),t(jt,[2,148]),t(jt,[2,149]),t(jt,[2,85]),t(jt,[2,86]),t(jt,[2,87]),t(jt,[2,88]),t(jt,[2,89]),t(jt,[2,90]),t(jt,[2,91]),t(jt,[2,92]),t(jt,[2,93]),t(jt,[2,94]),t(jt,[2,95]),{9:203,20:U,21:G,22:bt,23:q,24:wt,26:yt,38:mt,40:[1,202],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,204],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:D,122:N,123:P,124:B,125:R,126:j,127:$},{22:z,30:205},{22:[1,206],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:[1,207]},{22:[1,208]},{22:[1,209],106:[1,210]},t(Ft,[2,123]),{22:[1,211]},{22:[1,212],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:[1,213],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:178,122:it,123:rt,124:at,125:ot,126:st,127:ct},{84:[1,214]},t(ft,[2,103],{22:[1,215]}),{84:[1,216],101:[1,217]},{84:[1,218]},t(Rt,[2,153]),{84:[1,219],101:[1,220]},t(ut,[2,57],{116:129,52:p,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,122:N,123:P,124:B,125:R,126:j,127:$}),{22:bt,24:wt,26:yt,38:mt,41:[1,221],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,56:[1,222],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:223,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,58:[1,224],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,60:[1,225],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,62:[1,226],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,64:[1,227],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{67:[1,228]},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,70:[1,229],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,72:[1,230],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,39:231,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,41:[1,232],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,75:[1,233],77:[1,234],81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,73:xt,75:[1,236],77:[1,235],81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{9:237,20:U,21:G,23:q},t(K,[2,52],{52:Bt}),t(pt,[2,77]),t(pt,[2,76]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,68:[1,238],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(pt,[2,79]),t(jt,[2,83]),{22:bt,24:wt,26:yt,38:mt,39:239,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(Pt,o,{17:240}),t(H,[2,43]),{51:241,52:p,54:46,66:b,67:w,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,122:N,123:P,124:B,125:R,126:j,127:$},{22:zt,66:Ht,67:Ut,86:Gt,96:242,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{22:zt,66:Ht,67:Ut,86:Gt,96:256,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{22:zt,66:Ht,67:Ut,86:Gt,96:257,102:qt,104:[1,258],105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{22:zt,66:Ht,67:Ut,86:Gt,96:259,102:qt,104:[1,260],105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{105:[1,261]},{22:zt,66:Ht,67:Ut,86:Gt,96:262,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{22:zt,66:Ht,67:Ut,86:Gt,96:263,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{26:Y,52:W,66:X,67:V,91:Z,97:264,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,102]),{84:[1,265]},t(ft,[2,106],{22:[1,266]}),t(ft,[2,107]),t(ft,[2,110]),t(ft,[2,112],{22:[1,267]}),t(ft,[2,113]),t(lt,[2,58]),t(lt,[2,59]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,58:[1,268],66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,66]),t(lt,[2,61]),t(lt,[2,62]),t(lt,[2,63]),{66:[1,269]},t(lt,[2,65]),t(lt,[2,67]),{22:bt,24:wt,26:yt,38:mt,42:vt,52:W,66:X,67:V,72:[1,270],73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,72]),t(lt,[2,71]),t(lt,[2,73]),t($t,[2,4]),t([22,52,66,67,91,95,105,106,109,111,112,122,123,124,125,126,127],[2,81]),{22:bt,24:wt,26:yt,38:mt,41:[1,271],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,272],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:D,122:N,123:P,124:B,125:R,126:j,127:$},t(ut,[2,56]),t(ft,[2,115],{106:Qt}),t(Jt,[2,125],{108:274,22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt}),t(te,[2,127]),t(te,[2,129]),t(te,[2,130]),t(te,[2,131]),t(te,[2,132]),t(te,[2,133]),t(te,[2,134]),t(te,[2,135]),t(te,[2,136]),t(te,[2,137]),t(te,[2,138]),t(te,[2,139]),t(ft,[2,116],{106:Qt}),t(ft,[2,117],{106:Qt}),{22:[1,275]},t(ft,[2,118],{106:Qt}),{22:[1,276]},t(Ft,[2,124]),t(ft,[2,98],{106:Qt}),t(ft,[2,99],{106:Qt}),t(ft,[2,100],{115:100,117:178,26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,104]),{101:[1,277]},{101:[1,278]},{58:[1,279]},{68:[1,280]},{72:[1,281]},{9:282,20:U,21:G,23:q},t(H,[2,42]),{22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,107:283,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},t(te,[2,128]),{26:Y,52:W,66:X,67:V,91:Z,97:284,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},{26:Y,52:W,66:X,67:V,91:Z,97:285,105:Q,106:J,109:tt,111:et,112:nt,115:100,117:98,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(ft,[2,108]),t(ft,[2,114]),t(lt,[2,60]),{22:bt,24:wt,26:yt,38:mt,39:286,42:vt,52:W,66:X,67:V,73:xt,81:kt,83:140,84:_t,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},t(lt,[2,68]),t(Pt,o,{17:287}),t(Jt,[2,126],{108:274,22:zt,66:Ht,67:Ut,86:Gt,102:qt,105:Kt,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt}),t(ft,[2,121],{115:100,117:178,22:[1,288],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),t(ft,[2,122],{115:100,117:178,22:[1,289],26:Y,52:W,66:X,67:V,91:Z,105:Q,106:J,109:tt,111:et,112:nt,122:it,123:rt,124:at,125:ot,126:st,127:ct}),{22:bt,24:wt,26:yt,38:mt,41:[1,290],42:vt,52:W,66:X,67:V,73:xt,81:kt,83:201,85:151,86:Et,87:Tt,88:Ct,89:St,90:At,91:Mt,92:It,94:142,95:Ot,105:Q,106:J,109:Lt,111:et,112:nt,113:Dt,114:Nt,115:148,122:it,123:rt,124:at,125:ot,126:st,127:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,291],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,86:y,87:m,88:v,89:x,90:k,91:_,95:E,105:T,106:C,109:S,111:A,112:M,116:47,118:I,119:O,120:L,121:D,122:N,123:P,124:B,125:R,126:j,127:$},{22:zt,66:Ht,67:Ut,86:Gt,96:292,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},{22:zt,66:Ht,67:Ut,86:Gt,96:293,102:qt,105:Kt,107:243,108:244,109:Yt,110:Wt,111:Xt,112:Vt,113:Zt},t(lt,[2,64]),t(H,[2,41]),t(ft,[2,119],{106:Qt}),t(ft,[2,120],{106:Qt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},ne={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:case 6:break;case 7:return this.begin("acc_title"),44;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),46;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:case 24:case 27:case 30:case 33:this.popState();break;case 13:return "acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return "STR";case 17:return 86;case 18:return 95;case 19:return 87;case 20:return 104;case 21:return 88;case 22:return 89;case 23:this.begin("href");break;case 25:return 100;case 26:this.begin("callbackname");break;case 28:this.popState(),this.begin("callbackargs");break;case 29:return 98;case 31:return 99;case 32:this.begin("click");break;case 34:return 90;case 35:case 36:case 37:return t.lex.firstGraph()&&this.begin("dir"),24;case 38:return 38;case 39:return 42;case 40:case 41:case 42:case 43:return 101;case 44:return this.popState(),25;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),26;case 55:return 118;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 105;case 60:return 111;case 61:return 53;case 62:return 67;case 63:return 52;case 64:return 20;case 65:return 106;case 66:return 126;case 67:case 68:case 69:return 82;case 70:case 71:case 72:return 81;case 73:return 59;case 74:return 60;case 75:return 61;case 76:return 62;case 77:return 63;case 78:return 64;case 79:return 65;case 80:return 69;case 81:return 70;case 82:return 55;case 83:return 56;case 84:return 109;case 85:return 112;case 86:return 127;case 87:return 124;case 88:return 113;case 89:case 90:return 125;case 91:return 114;case 92:return 73;case 93:return 92;case 94:return "SEP";case 95:return 91;case 96:return 66;case 97:return 75;case 98:return 74;case 99:return 77;case 100:return 76;case 101:return 122;case 102:return 123;case 103:return 68;case 104:return 57;case 105:return 58;case 106:return 40;case 107:return 41;case 108:return 71;case 109:return 72;case 110:return 133;case 111:return 21;case 112:return 22;case 113:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:%%(?!\{)[^\n]*)/,/^(?:[^\}]%%[^\n]*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\()/,/^(?:\))/,/^(?:\[)/,/^(?:\])/,/^(?:\{)/,/^(?:\})/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[30,31],inclusive:!1},callbackname:{rules:[27,28,29],inclusive:!1},href:{rules:[24,25],inclusive:!1},click:{rules:[33,34],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[44,45,46,47,48,49,50,51,52,53,54],inclusive:!1},acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,5,6,7,9,11,14,17,18,19,20,21,22,23,26,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113],inclusive:!0}}};function ie(){this.yy={};}return ee.lexer=ne,ie.prototype=ee,ee.Parser=ie,new ie}();ZD.parser=ZD;const QD=ZD,JD=(t,e)=>{var n,i;return "dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&null!==t.match(/^\s*graph/)},tN=(t,e)=>{var n,i;return "dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&(null!==t.match(/^\s*graph/)||null!==t.match(/^\s*flowchart/))},eN="flowchart-";let nN,iN,rN=0,aN=vy(),oN={},sN=[],cN={},uN=[],lN={},hN={},fN=0,dN=!0,gN=[];const pN=t=>Yh.sanitizeText(t,aN),bN=function(t,e,n){cU.parseDirective(this,t,e,n);},wN=function(t){const e=Object.keys(oN);for(const n of e)if(oN[n].id===t)return oN[n].domId;return t},yN=function(t,e,n,i,r,a,o={}){let s,c=t;void 0!==c&&0!==c.trim().length&&(void 0===oN[c]&&(oN[c]={id:c,domId:eN+c+"-"+rN,styles:[],classes:[]}),rN++,void 0!==e?(aN=vy(),s=pN(e.trim()),'"'===s[0]&&'"'===s[s.length-1]&&(s=s.substring(1,s.length-1)),oN[c].text=s):void 0===oN[c].text&&(oN[c].text=t),void 0!==n&&(oN[c].type=n),null!=i&&i.forEach((function(t){oN[c].styles.push(t);})),null!=r&&r.forEach((function(t){oN[c].classes.push(t);})),void 0!==a&&(oN[c].dir=a),void 0===oN[c].props?oN[c].props=o:void 0!==o&&Object.assign(oN[c].props,o));},mN=function(t,e,n,i){const r={start:t,end:e,type:void 0,text:""};void 0!==(i=n.text)&&(r.text=pN(i.trim()),'"'===r.text[0]&&'"'===r.text[r.text.length-1]&&(r.text=r.text.substring(1,r.text.length-1))),void 0!==n&&(r.type=n.type,r.stroke=n.stroke,r.length=n.length),sN.push(r);},vN=function(t,e,n,i){let r,a;for(r=0;r<t.length;r++)for(a=0;a<e.length;a++)mN(t[r],e[a],n,i);},xN=function(t,e){t.forEach((function(t){"default"===t?sN.defaultInterpolate=e:sN[t].interpolate=e;}));},kN=function(t,e){t.forEach((function(t){"default"===t?sN.defaultStyle=e:(-1===ww.isSubstringInArray("fill",e)&&e.push("fill:none"),sN[t].style=e);}));},_N=function(t,e){void 0===cN[t]&&(cN[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");cN[t].textStyles.push(n);}cN[t].styles.push(e);}));},EN=function(t){nN=t,nN.match(/.*</)&&(nN="RL"),nN.match(/.*\^/)&&(nN="BT"),nN.match(/.*>/)&&(nN="LR"),nN.match(/.*v/)&&(nN="TB"),"TD"===nN&&(nN="TB");},TN=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==oN[n]&&oN[n].classes.push(e),void 0!==lN[n]&&lN[n].classes.push(e);}));},CN=function(t,e){t.split(",").forEach((function(t){void 0!==e&&(hN["gen-1"===iN?wN(t):t]=pN(e));}));},SN=function(t,e,n){let i=wN(t);if("loose"!==vy().securityLevel)return;if(void 0===e)return;let r=[];if("string"==typeof n){r=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<r.length;t++){let e=r[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),r[t]=e;}}0===r.length&&r.push(t),void 0!==oN[t]&&(oN[t].haveCallback=!0,gN.push((function(){const t=document.querySelector(`[id="${i}"]`);null!==t&&t.addEventListener("click",(function(){ww.runFunc(e,...r);}),!1);})));},AN=function(t,e,n){t.split(",").forEach((function(t){void 0!==oN[t]&&(oN[t].link=ww.formatUrl(e,aN),oN[t].linkTarget=n);})),TN(t,"clickable");},MN=function(t){return hN[t]},IN=function(t,e,n){t.split(",").forEach((function(t){SN(t,e,n);})),TN(t,"clickable");},ON=function(t){gN.forEach((function(e){e(t);}));},LN=function(){return nN.trim()},DN=function(){return oN},NN=function(){return sN},PN=function(){return cN},BN=function(t){let e=ln(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=ln("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),ln(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=ln(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/<br\/>/g,"<br/>")),t.classed("hover",!0);})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),ln(this).classed("hover",!1);}));};gN.push(BN);const RN=function(t="gen-1"){oN={},cN={},sN=[],gN=[BN],uN=[],lN={},fN=0,hN=[],dN=!0,iN=t,Zy();},jN=t=>{iN=t||"gen-2";},$N=function(){return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},FN=function(t,e,n){let i=t.trim(),r=n;function a(t){const e={boolean:{},number:{},string:{}},n=[];let i;return {nodeList:t.filter((function(t){const r=typeof t;return t.stmt&&"dir"===t.stmt?(i=t.value,!1):""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!n.includes(t)&&n.push(t))})),dir:i}}t===n&&n.match(/\s/)&&(i=void 0);let o=[];const{nodeList:s,dir:c}=a(o.concat.apply(o,e));if(o=s,"gen-1"===iN)for(let t=0;t<o.length;t++)o[t]=wN(o[t]);i=i||"subGraph"+fN,r=r||"",r=pN(r),fN+=1;const u={id:i,nodes:o,title:r.trim(),classes:[],dir:c};return l.info("Adding",u.id,u.nodes,u.dir),u.nodes=tP(u,uN).nodes,uN.push(u),lN[i]=u,i},zN=function(t){for(const[e,n]of uN.entries())if(n.id===t)return e;return -1};let HN=-1;const UN=[],GN=function(t,e){const n=uN[e].nodes;if(HN+=1,HN>2e3)return;if(UN[HN]=e,uN[e].id===t)return {result:!0,count:0};let i=0,r=1;for(;i<n.length;){const e=zN(n[i]);if(e>=0){const n=GN(t,e);if(n.result)return {result:!0,count:r+n.count};r+=n.count;}i+=1;}return {result:!1,count:r}},qN=function(t){return UN[t]},KN=function(){HN=-1,uN.length>0&&GN("none",uN.length-1);},YN=function(){return uN},WN=()=>!!dN&&(dN=!1,!0),XN=t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1);}let i="normal";return e.includes("=")&&(i="thick"),e.includes(".")&&(i="dotted"),{type:n,stroke:i}},VN=(t,e)=>{const n=e.length;let i=0;for(let r=0;r<n;++r)e[r]===t&&++i;return i},ZN=t=>{const e=t.trim();let n=e.slice(0,-1),i="arrow_open";switch(e.slice(-1)){case"x":i="arrow_cross","x"===e[0]&&(i="double_"+i,n=n.slice(1));break;case">":i="arrow_point","<"===e[0]&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle","o"===e[0]&&(i="double_"+i,n=n.slice(1));}let r="normal",a=n.length-1;"="===n[0]&&(r="thick");let o=VN(".",n);return o&&(r="dotted",a=o),{type:i,stroke:r,length:a}},QN=(t,e)=>{const n=ZN(t);let i;if(e){if(i=XN(e),i.stroke!==n.stroke)return {type:"INVALID",stroke:"INVALID"};if("arrow_open"===i.type)i.type=n.type;else {if(i.type!==n.type)return {type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type;}return "double_arrow"===i.type&&(i.type="double_arrow_point"),i.length=n.length,i}return n},JN=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0);})),n},tP=(t,e)=>{const n=[];return t.nodes.forEach(((i,r)=>{JN(e,i)||n.push(t.nodes[r]);})),{nodes:n}},eP={firstGraph:WN},nP={parseDirective:bN,defaultConfig:()=>uy.flowchart,setAccTitle:Qy,getAccTitle:Jy,getAccDescription:em,setAccDescription:tm,addVertex:yN,lookUpDomId:wN,addLink:vN,updateLinkInterpolate:xN,updateLink:kN,addClass:_N,setDirection:EN,setClass:TN,setTooltip:CN,getTooltip:MN,setClickEvent:IN,setLink:AN,bindFunctions:ON,getDirection:LN,getVertices:DN,getEdges:NN,getClasses:PN,clear:RN,setGen:jN,defaultStyle:$N,addSubGraph:FN,getDepthFirstPos:qN,indexNodes:KN,getSubGraphs:YN,destructLink:QN,lex:eP,exists:JN,makeUniq:tP,setDiagramTitle:nm,getDiagramTitle:im},iP=Object.freeze(Object.defineProperty({__proto__:null,addClass:_N,addLink:vN,addSingleLink:mN,addSubGraph:FN,addVertex:yN,bindFunctions:ON,clear:RN,default:nP,defaultStyle:$N,destructLink:QN,firstGraph:WN,getClasses:PN,getDepthFirstPos:qN,getDirection:LN,getEdges:NN,getSubGraphs:YN,getTooltip:MN,getVertices:DN,indexNodes:KN,lex:eP,lookUpDomId:wN,parseDirective:bN,setClass:TN,setClickEvent:IN,setDirection:EN,setGen:jN,setLink:AN,updateLink:kN,updateLinkInterpolate:xN},Symbol.toStringTag,{value:"Module"}));function rP(t,e){return !!t.children(e).length}function aP(t){return sP(t.v)+":"+sP(t.w)+":"+sP(t.name)}var oP=/:/g;function sP(t){return t?String(t).replace(oP,"\\:"):""}function cP(t,e){e&&t.attr("style",e);}function uP(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"));}function lP(t,e){var n=e.graph();if(PE(n)){var i=n.transition;if(qp(i))return i(t)}return t}var hP={normal:dP,vee:gP,undirected:pP};function fP(t){hP=t;}function dP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").style("stroke-width",1).style("stroke-dasharray","1,0");cP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"]);}function gP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 L 4 5 z").style("stroke-width",1).style("stroke-dasharray","1,0");cP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"]);}function pP(t,e,n,i){var r=t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 5 L 10 5").style("stroke-width",1).style("stroke-dasharray","1,0");cP(r,n[i+"Style"]),n[i+"Class"]&&r.attr("class",n[i+"Class"]);}function bP(t,e){var n=t.append("foreignObject").attr("width","100000"),i=n.append("xhtml:div");i.attr("xmlns","http://www.w3.org/1999/xhtml");var r=e.label;switch(typeof r){case"function":i.insert(r);break;case"object":i.insert((function(){return r}));break;default:i.html(r);}cP(i,e.labelStyle),i.style("display","inline-block"),i.style("white-space","nowrap");var a=i.node().getBoundingClientRect();return n.attr("width",a.width).attr("height",a.height),n}function wP(t,e){var n=t;return n.node().appendChild(e.label),cP(n,e.labelStyle),n}function yP(t,e){for(var n=t.append("text"),i=mP(e.label).split("\n"),r=0;r<i.length;r++)n.append("tspan").attr("xml:space","preserve").attr("dy","1em").attr("x","1").text(i[r]);return cP(n,e.labelStyle),n}function mP(t){for(var e,n="",i=!1,r=0;r<t.length;++r)e=t[r],i?(n+="n"===e?"\n":e,i=!1):"\\"===e?i=!0:n+=e;return n}function vP(t,e,n){var i=e.label,r=t.append("g");"svg"===e.labelType?wP(r,e):"string"!=typeof i||"html"===e.labelType?bP(r,e):yP(r,e);var a,o=r.node().getBBox();switch(n){case"top":a=-e.height/2;break;case"bottom":a=e.height/2-o.height;break;default:a=-o.height/2;}return r.attr("transform","translate("+-o.width/2+","+a+")"),r}var xP=function(t,e){var n=e.nodes().filter((function(t){return rP(e,t)})),i=t.selectAll("g.cluster").data(n,(function(t){return t}));lP(i.exit(),e).style("opacity",0).remove();var r=i.enter().append("g").attr("class","cluster").attr("id",(function(t){return e.node(t).id})).style("opacity",0).each((function(t){var n=e.node(t),i=ln(this);ln(this).append("rect"),vP(i.append("g").attr("class","label"),n,n.clusterLabelPos);}));return (i=lP(i=i.merge(r),e).style("opacity",1)).selectAll("rect").each((function(t){var n=e.node(t);cP(ln(this),n.style);})),i};function kP(t){xP=t;}let _P=function(t,e){var n=t.selectAll("g.edgeLabel").data(e.edges(),(function(t){return aP(t)})).classed("update",!0);return n.exit().remove(),n.enter().append("g").classed("edgeLabel",!0).style("opacity",0),(n=t.selectAll("g.edgeLabel")).each((function(t){var n=ln(this);n.select(".label").remove();var i=e.edge(t),r=vP(n,e.edge(t),0).classed("label",!0),a=r.node().getBBox();i.labelId&&r.attr("id",i.labelId),kA(i,"width")||(i.width=a.width),kA(i,"height")||(i.height=a.height);})),lP(n.exit?n.exit():n.selectAll(null),e).style("opacity",0).remove(),n};function EP(t){_P=t;}function TP(t,e){return t.intersect(e)}var CP=function(t,e,n){var i=t.selectAll("g.edgePath").data(e.edges(),(function(t){return aP(t)})).classed("update",!0),r=LP(i,e);DP(i,e);var a=void 0!==i.merge?i.merge(r):i;return lP(a,e).style("opacity",1),a.each((function(t){var n=ln(this),i=e.edge(t);i.elem=this,i.id&&n.attr("id",i.id),uP(n,i.class,(n.classed("update")?"update ":"")+"edgePath");})),a.selectAll("path.path").each((function(t){var n=e.edge(t);n.arrowheadId=oM("arrowhead");var i=ln(this).attr("marker-end",(function(){return "url("+AP(location.href,n.arrowheadId)+")"})).style("fill","none");lP(i,e).attr("d",(function(t){return MP(e,t)})),cP(i,n.style);})),a.selectAll("defs *").remove(),a.selectAll("defs").each((function(t){var i=e.edge(t);(0, n[i.arrowhead])(ln(this),i.arrowheadId,i,"arrowhead");})),a};function SP(t){CP=t;}function AP(t,e){return t.split("#")[0]+"#"+e}function MP(t,e){var n=t.edge(e),i=t.node(e.v),r=t.node(e.w),a=n.points.slice(1,n.points.length-1);return a.unshift(TP(i,a[0])),a.push(TP(r,a[a.length-1])),IP(n,a)}function IP(t,e){var n=(Nu||Va.line)().x((function(t){return t.x})).y((function(t){return t.y}));return (n.curve||n.interpolate)(t.curve),n(e)}function OP(t){var e=t.getBBox(),n=t.ownerSVGElement.getScreenCTM().inverse().multiply(t.getScreenCTM()).translate(e.width/2,e.height/2);return {x:n.e,y:n.f}}function LP(t,e){var n=t.enter().append("g").attr("class","edgePath").style("opacity",0);return n.append("path").attr("class","path").attr("d",(function(t){var n=e.edge(t),i=e.node(t.v).elem;return IP(n,VA(n.points.length).map((function(){return OP(i)})))})),n.append("defs"),n}function DP(t,e){lP(t.exit(),e).style("opacity",0).remove();}var NP=function(t,e,n){var i=e.nodes().filter((function(t){return !rP(e,t)})),r=t.selectAll("g.node").data(i,(function(t){return t})).classed("update",!0);return r.exit().remove(),r.enter().append("g").attr("class","node").style("opacity",0),(r=t.selectAll("g.node")).each((function(t){var i=e.node(t),r=ln(this);uP(r,i.class,(r.classed("update")?"update ":"")+"node"),r.select("g.label").remove();var a=r.append("g").attr("class","label"),o=vP(a,i),s=n[i.shape],c=qA(o.node().getBBox(),"width","height");i.elem=this,i.id&&r.attr("id",i.id),i.labelId&&a.attr("id",i.labelId),kA(i,"width")&&(c.width=i.width),kA(i,"height")&&(c.height=i.height),c.width+=i.paddingLeft+i.paddingRight,c.height+=i.paddingTop+i.paddingBottom,a.attr("transform","translate("+(i.paddingLeft-i.paddingRight)/2+","+(i.paddingTop-i.paddingBottom)/2+")");var u=ln(this);u.select(".label-container").remove();var l=s(u,c,i).classed("label-container",!0);cP(l,i.style);var h=l.node().getBBox();i.width=h.width,i.height=h.height;})),lP(r.exit?r.exit():r.selectAll(null),e).style("opacity",0).remove(),r};function PP(t){NP=t;}function BP(t,e){var n=t.filter((function(){return !ln(this).classed("update")}));function i(t){var n=e.node(t);return "translate("+n.x+","+n.y+")"}n.attr("transform",i),lP(t,e).style("opacity",1).attr("transform",i),lP(n.selectAll("rect"),e).attr("width",(function(t){return e.node(t).width})).attr("height",(function(t){return e.node(t).height})).attr("x",(function(t){return -e.node(t).width/2})).attr("y",(function(t){return -e.node(t).height/2}));}function RP(t,e){function n(t){var n=e.edge(t);return kA(n,"x")?"translate("+n.x+","+n.y+")":""}t.filter((function(){return !ln(this).classed("update")})).attr("transform",n),lP(t,e).style("opacity",1).attr("transform",n);}function jP(t,e){function n(t){var n=e.node(t);return "translate("+n.x+","+n.y+")"}t.filter((function(){return !ln(this).classed("update")})).attr("transform",n),lP(t,e).style("opacity",1).attr("transform",n);}function $P(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function FP(t,e,n){return $P(t,e,e,n)}function zP(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&HP(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&HP(l,h)||0==(g=r*s-a*o))))return p=Math.abs(g/2),{x:(b=o*u-s*c)<0?(b-p)/g:(b+p)/g,y:(b=a*c-r*u)<0?(b-p)/g:(b+p)/g}}function HP(t,e){return t*e>0}function UP(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y);}));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],d=zP(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});d&&a.push(d);}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):(console.log("NO INTERSECTION FOUND, RETURN NODE CENTER",t),t)}function GP(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}}var qP={rect:YP,ellipse:WP,circle:XP,diamond:VP};function KP(t){qP=t;}function YP(t,e,n){var i=t.insert("rect",":first-child").attr("rx",n.rx).attr("ry",n.ry).attr("x",-e.width/2).attr("y",-e.height/2).attr("width",e.width).attr("height",e.height);return n.intersect=function(t){return GP(n,t)},i}function WP(t,e,n){var i=e.width/2,r=e.height/2,a=t.insert("ellipse",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("rx",i).attr("ry",r);return n.intersect=function(t){return $P(n,i,r,t)},a}function XP(t,e,n){var i=Math.max(e.width,e.height)/2,r=t.insert("circle",":first-child").attr("x",-e.width/2).attr("y",-e.height/2).attr("r",i);return n.intersect=function(t){return FP(n,i,t)},r}function VP(t,e,n){var i=e.width*Math.SQRT2/2,r=e.height*Math.SQRT2/2,a=[{x:0,y:-r},{x:-i,y:0},{x:0,y:r},{x:i,y:0}],o=t.insert("polygon",":first-child").attr("points",a.map((function(t){return t.x+","+t.y})).join(" "));return n.intersect=function(t){return UP(n,a,t)},o}function ZP(){var t=function(t,e){tB(e);var n=nB(t,"output"),i=nB(n,"clusters"),r=nB(n,"edgePaths"),a=_P(nB(n,"edgeLabels"),e),o=NP(nB(n,"nodes"),e,qP);bO(e),jP(o,e),RP(a,e),CP(r,e,hP),BP(xP(i,e),e),eB(e);};return t.createNodes=function(e){return arguments.length?(PP(e),t):NP},t.createClusters=function(e){return arguments.length?(kP(e),t):xP},t.createEdgeLabels=function(e){return arguments.length?(EP(e),t):_P},t.createEdgePaths=function(e){return arguments.length?(SP(e),t):CP},t.shapes=function(e){return arguments.length?(KP(e),t):qP},t.arrows=function(e){return arguments.length?(fP(e),t):hP},t}var QP={paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10,rx:0,ry:0,shape:"rect"},JP={arrowhead:"normal",curve:Ou};function tB(t){t.nodes().forEach((function(e){var n=t.node(e);kA(n,"label")||t.children(e).length||(n.label=e),kA(n,"paddingX")&&JS(n,{paddingLeft:n.paddingX,paddingRight:n.paddingX}),kA(n,"paddingY")&&JS(n,{paddingTop:n.paddingY,paddingBottom:n.paddingY}),kA(n,"padding")&&JS(n,{paddingLeft:n.padding,paddingRight:n.padding,paddingTop:n.padding,paddingBottom:n.padding}),JS(n,QP),cA(["paddingLeft","paddingRight","paddingTop","paddingBottom"],(function(t){n[t]=Number(n[t]);})),kA(n,"width")&&(n._prevWidth=n.width),kA(n,"height")&&(n._prevHeight=n.height);})),t.edges().forEach((function(e){var n=t.edge(e);kA(n,"label")||(n.label=""),JS(n,JP);}));}function eB(t){cA(t.nodes(),(function(e){var n=t.node(e);kA(n,"_prevWidth")?n.width=n._prevWidth:delete n.width,kA(n,"_prevHeight")?n.height=n._prevHeight:delete n.height,delete n._prevWidth,delete n._prevHeight;}));}function nB(t,e){var n=t.select("g."+e);return n.empty()&&(n=t.append("g").attr("class",e)),n}function iB(t,e,n){const i=.9*(e.width+e.height),r=[{x:i/2,y:0},{x:i,y:-i/2},{x:i/2,y:-i},{x:0,y:-i/2}],a=bB(t,i,i,r);return n.intersect=function(t){return UP(n,r,t)},a}function rB(t,e,n){const i=4,r=e.height,a=r/i,o=e.width+2*a,s=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-r/2},{x:o-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],c=bB(t,o,r,s);return n.intersect=function(t){return UP(n,s,t)},c}function aB(t,e,n){const i=e.width,r=e.height,a=[{x:-r/2,y:0},{x:i,y:0},{x:i,y:-r},{x:-r/2,y:-r},{x:0,y:-r/2}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function oB(t,e,n){const i=e.width,r=e.height,a=[{x:-2*r/6,y:0},{x:i-r/6,y:0},{x:i+2*r/6,y:-r},{x:r/6,y:-r}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function sB(t,e,n){const i=e.width,r=e.height,a=[{x:2*r/6,y:0},{x:i+r/6,y:0},{x:i-2*r/6,y:-r},{x:-r/6,y:-r}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function cB(t,e,n){const i=e.width,r=e.height,a=[{x:-2*r/6,y:0},{x:i+2*r/6,y:0},{x:i-r/6,y:-r},{x:r/6,y:-r}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function uB(t,e,n){const i=e.width,r=e.height,a=[{x:r/6,y:0},{x:i-r/6,y:0},{x:i+2*r/6,y:-r},{x:-2*r/6,y:-r}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function lB(t,e,n){const i=e.width,r=e.height,a=[{x:0,y:0},{x:i+r/2,y:0},{x:i,y:-r/2},{x:i+r/2,y:-r},{x:0,y:-r}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function hB(t,e,n){const i=e.height,r=e.width+i/4,a=t.insert("rect",":first-child").attr("rx",i/2).attr("ry",i/2).attr("x",-r/2).attr("y",-i/2).attr("width",r).attr("height",i);return n.intersect=function(t){return GP(n,t)},a}function fB(t,e,n){const i=e.width,r=e.height,a=[{x:0,y:0},{x:i,y:0},{x:i,y:-r},{x:0,y:-r},{x:0,y:0},{x:-8,y:0},{x:i+8,y:0},{x:i+8,y:-r},{x:-8,y:-r},{x:-8,y:0}],o=bB(t,i,r,a);return n.intersect=function(t){return UP(n,a,t)},o}function dB(t,e,n){const i=e.width,r=i/2,a=r/(2.5+i/50),o=e.height+a,s="M 0,"+a+" a "+r+","+a+" 0,0,0 "+i+" 0 a "+r+","+a+" 0,0,0 "+-i+" 0 l 0,"+o+" a "+r+","+a+" 0,0,0 "+i+" 0 l 0,"+-o,c=t.attr("label-offset-y",a).insert("path",":first-child").attr("d",s).attr("transform","translate("+-i/2+","+-(o/2+a)+")");return n.intersect=function(t){const e=GP(n,t),i=e.x-n.x;if(0!=r&&(Math.abs(i)<n.width/2||Math.abs(i)==n.width/2&&Math.abs(e.y-n.y)>n.height/2-a)){let o=a*a*(1-i*i/(r*r));0!=o&&(o=Math.sqrt(o)),o=a-o,t.y-n.y>0&&(o=-o),e.y+=o;}return e},c}function gB(t){t.shapes().question=iB,t.shapes().hexagon=rB,t.shapes().stadium=hB,t.shapes().subroutine=fB,t.shapes().cylinder=dB,t.shapes().rect_left_inv_arrow=aB,t.shapes().lean_right=oB,t.shapes().lean_left=sB,t.shapes().trapezoid=cB,t.shapes().inv_trapezoid=uB,t.shapes().rect_right_inv_arrow=lB;}function pB(t){t({question:iB}),t({hexagon:rB}),t({stadium:hB}),t({subroutine:fB}),t({cylinder:dB}),t({rect_left_inv_arrow:aB}),t({lean_right:oB}),t({lean_left:sB}),t({trapezoid:cB}),t({inv_trapezoid:uB}),t({rect_right_inv_arrow:lB});}function bB(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+-e/2+","+n/2+")")}const wB={addToRender:gB,addToRenderV2:pB},yB={},mB=function(t,e,n,i,r,a){const o=i?i.select(`[id="${n}"]`):ln(`[id="${n}"]`),s=r||document;Object.keys(t).forEach((function(n){const i=t[n];let r="default";i.classes.length>0&&(r=i.classes.join(" "));const c=Jb(i.styles);let u,h=void 0!==i.text?i.text:i.id;if(qh(vy().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};u=bP(o,t).node(),u.parentNode.removeChild(u);}else {const t=s.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",c.labelStyle.replace("color:","fill:"));const e=h.split(Yh.lineBreakRegex);for(const n of e){const e=s.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e);}u=t;}let f=0,d="";switch(i.type){case"round":f=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";}l.warn("Adding node",i.id,i.domId),e.setNode(a.db.lookUpDomId(i.id),{labelType:"svg",labelStyle:c.labelStyle,shape:d,label:u,rx:f,ry:f,class:r,style:c.style,id:a.db.lookUpDomId(i.id)});}));},vB=function(t,e,n){let i,r,a=0;if(void 0!==t.defaultStyle){const e=Jb(t.defaultStyle);i=e.style,r=e.labelStyle;}t.forEach((function(o){a++;var s="L-"+o.start+"-"+o.end,c="LS-"+o.start,u="LE-"+o.end;const l={};"arrow_open"===o.type?l.arrowhead="none":l.arrowhead="normal";let h="",f="";if(void 0!==o.style){const t=Jb(o.style);h=t.style,f=t.labelStyle;}else switch(o.stroke){case"normal":h="fill:none",void 0!==i&&(h=i),void 0!==r&&(f=r);break;case"dotted":h="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":h=" stroke-width: 3.5px;fill:none";}l.style=h,l.labelStyle=f,void 0!==o.interpolate?l.curve=qb(o.interpolate,Ou):void 0!==t.defaultInterpolate?l.curve=qb(t.defaultInterpolate,Ou):l.curve=qb(yB.curve,Ou),void 0===o.text?void 0!==o.style&&(l.arrowheadStyle="fill: #333"):(l.arrowheadStyle="fill: #333",l.labelpos="c",qh(vy().flowchart.htmlLabels)?(l.labelType="html",l.label=`<span id="L-${s}" class="edgeLabel L-${c}' L-${u}" style="${l.labelStyle}">${o.text.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))}</span>`):(l.labelType="text",l.label=o.text.replace(Yh.lineBreakRegex,"\n"),void 0===o.style&&(l.style=l.style||"stroke: #333; stroke-width: 1.5px;fill:none"),l.labelStyle=l.labelStyle.replace("color:","fill:"))),l.id=s,l.class=c+" "+u,l.minlen=o.length||1,e.setEdge(n.db.lookUpDomId(o.start),n.db.lookUpDomId(o.end),l,a);}));},xB=function(t,e,n,i){l.info("Drawing flowchart"),i.db.clear();const{securityLevel:r,flowchart:a}=vy();let o;"sandbox"===r&&(o=ln("#i"+e));const s=ln("sandbox"===r?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===r?o.nodes()[0].contentDocument:document;try{i.parser.parse(t);}catch(t){l.debug("Parsing failed");}let u=i.db.getDirection();void 0===u&&(u="TD");const h=a.nodeSpacing||50,f=a.rankSpacing||50,d=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:h,ranksep:f,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return {}}));let g;const p=i.db.getSubGraphs();for(let t=p.length-1;t>=0;t--)g=p[t],i.db.addVertex(g.id,g.title,"group",void 0,g.classes);const b=i.db.getVertices();l.warn("Get vertices",b);const w=i.db.getEdges();let y=0;for(y=p.length-1;y>=0;y--){g=p[y],hn("cluster").append("text");for(let t=0;t<g.nodes.length;t++)l.warn("Setting subgraph",g.nodes[t],i.db.lookUpDomId(g.nodes[t]),i.db.lookUpDomId(g.id)),d.setParent(i.db.lookUpDomId(g.nodes[t]),i.db.lookUpDomId(g.id));}mB(b,d,e,s,c,i),vB(w,d,i);const m=new ZP;wB.addToRender(m),m.arrows().none=function(t,e,n,i){cP(t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 0 0 L 0 0 z"),n[i+"Style"]);},m.arrows().normal=function(t,e){t.append("marker").attr("id",e).attr("viewBox","0 0 10 10").attr("refX",9).attr("refY",5).attr("markerUnits","strokeWidth").attr("markerWidth",8).attr("markerHeight",6).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowheadPath").style("stroke-width",1).style("stroke-dasharray","1,0");};const v=s.select(`[id="${e}"]`),x=s.select("#"+e+" g");for(m(x,d),x.selectAll("g.node").attr("title",(function(){return i.db.getTooltip(this.id)})),i.db.indexNodes("subGraph"+y),y=0;y<p.length;y++)if(g=p[y],"undefined"!==g.title){const t=c.querySelectorAll("#"+e+' [id="'+i.db.lookUpDomId(g.id)+'"] rect'),n=c.querySelectorAll("#"+e+' [id="'+i.db.lookUpDomId(g.id)+'"]'),r=t[0].x.baseVal.value,a=t[0].y.baseVal.value,o=t[0].width.baseVal.value,s=ln(n[0]).select(".label");s.attr("transform",`translate(${r+o/2}, ${a+14})`),s.attr("id",e+"Text");for(let t=0;t<g.classes.length;t++)n[0].classList.add(g.classes[t]);}if(!a.htmlLabels){const t=c.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=c.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild);}}Oy(d,v,a.diagramPadding,a.useMaxWidth),Object.keys(b).forEach((function(t){const n=b[t];if(n.link){const a=s.select("#"+e+' [id="'+i.db.lookUpDomId(t)+'"]');if(a){const t=c.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===r?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=a.insert((function(){return t}),":first-child"),i=a.select(".label-container");i&&e.append((function(){return i.node()}));const o=a.select(".label");o&&e.append((function(){return o.node()}));}}}));},kB={setConf:function(t){const e=Object.keys(t);for(const n of e)yB[n]=t[n];},addVertices:mB,addEdges:vB,getClasses:function(t,e){l.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(t){return l.error(t),{}}},draw:xB},_B={},EB=function(t,e,n,i,r,a){const o=i.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const i=t[n];let s="default";i.classes.length>0&&(s=i.classes.join(" "));const c=Jb(i.styles);let u,h=void 0!==i.text?i.text:i.id;if(qh(vy().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};u=bP(o,t).node(),u.parentNode.removeChild(u);}else {const t=r.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",c.labelStyle.replace("color:","fill:"));const e=h.split(Yh.lineBreakRegex);for(const n of e){const e=r.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e);}u=t;}let f=0,d="";switch(i.type){case"round":f=5,d="rect";break;case"square":case"group":default:d="rect";break;case"diamond":d="question";break;case"hexagon":d="hexagon";break;case"odd":case"odd_right":d="rect_left_inv_arrow";break;case"lean_right":d="lean_right";break;case"lean_left":d="lean_left";break;case"trapezoid":d="trapezoid";break;case"inv_trapezoid":d="inv_trapezoid";break;case"circle":d="circle";break;case"ellipse":d="ellipse";break;case"stadium":d="stadium";break;case"subroutine":d="subroutine";break;case"cylinder":d="cylinder";break;case"doublecircle":d="doublecircle";}e.setNode(i.id,{labelStyle:c.labelStyle,shape:d,labelText:h,rx:f,ry:f,class:s,style:c.style,id:i.id,link:i.link,linkTarget:i.linkTarget,tooltip:a.db.getTooltip(i.id)||"",domId:a.db.lookUpDomId(i.id),haveCallback:i.haveCallback,width:"group"===i.type?500:void 0,dir:i.dir,type:i.type,props:i.props,padding:vy().flowchart.padding}),l.info("setNode",{labelStyle:c.labelStyle,shape:d,labelText:h,rx:f,ry:f,class:s,style:c.style,id:i.id,domId:a.db.lookUpDomId(i.id),width:"group"===i.type?500:void 0,type:i.type,dir:i.dir,props:i.props,padding:vy().flowchart.padding});}));},TB=function(t,e,n){l.info("abc78 edges = ",t);let i,r,a=0,o={};if(void 0!==t.defaultStyle){const e=Jb(t.defaultStyle);i=e.style,r=e.labelStyle;}t.forEach((function(n){a++;var s="L-"+n.start+"-"+n.end;void 0===o[s]?(o[s]=0,l.info("abc78 new entry",s,o[s])):(o[s]++,l.info("abc78 new entry",s,o[s]));let c=s+"-"+o[s];l.info("abc78 new link id to be used is",s,c,o[s]);var u="LS-"+n.start,h="LE-"+n.end;const f={style:"",labelStyle:""};switch(f.minlen=n.length||1,"arrow_open"===n.type?f.arrowhead="none":f.arrowhead="normal",f.arrowTypeStart="arrow_open",f.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":f.arrowTypeStart="arrow_cross";case"arrow_cross":f.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":f.arrowTypeStart="arrow_point";case"arrow_point":f.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":f.arrowTypeStart="arrow_circle";case"arrow_circle":f.arrowTypeEnd="arrow_circle";}let d="",g="";switch(n.stroke){case"normal":d="fill:none;",void 0!==i&&(d=i),void 0!==r&&(g=r),f.thickness="normal",f.pattern="solid";break;case"dotted":f.thickness="normal",f.pattern="dotted",f.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":f.thickness="thick",f.pattern="solid",f.style="stroke-width: 3.5px;fill:none;";}if(void 0!==n.style){const t=Jb(n.style);d=t.style,g=t.labelStyle;}f.style=f.style+=d,f.labelStyle=f.labelStyle+=g,void 0!==n.interpolate?f.curve=qb(n.interpolate,Ou):void 0!==t.defaultInterpolate?f.curve=qb(t.defaultInterpolate,Ou):f.curve=qb(_B.curve,Ou),void 0===n.text?void 0!==n.style&&(f.arrowheadStyle="fill: #333"):(f.arrowheadStyle="fill: #333",f.labelpos="c"),f.labelType="text",f.label=n.text.replace(Yh.lineBreakRegex,"\n"),void 0===n.style&&(f.style=f.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),f.labelStyle=f.labelStyle.replace("color:","fill:"),f.id=c,f.classes="flowchart-link "+u+" "+h,e.setEdge(n.start,n.end,f,a);}));},CB=function(t,e,n,i){l.info("Drawing flowchart"),i.db.clear(),nP.setGen("gen-2"),i.parser.parse(t);let r=i.db.getDirection();void 0===r&&(r="TD");const{securityLevel:a,flowchart:o}=vy(),s=o.nodeSpacing||50,c=o.rankSpacing||50;let u;"sandbox"===a&&(u=ln("#i"+e));const h=ln("sandbox"===a?u.nodes()[0].contentDocument.body:"body"),f="sandbox"===a?u.nodes()[0].contentDocument:document,d=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:r,nodesep:s,ranksep:c,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return {}}));let g;const p=i.db.getSubGraphs();l.info("Subgraphs - ",p);for(let t=p.length-1;t>=0;t--)g=p[t],l.info("Subgraph - ",g),i.db.addVertex(g.id,g.title,"group",void 0,g.classes,g.dir);const b=i.db.getVertices(),w=i.db.getEdges();l.info("Edges",w);let y=0;for(y=p.length-1;y>=0;y--){g=p[y],hn("cluster").append("text");for(let t=0;t<g.nodes.length;t++)l.info("Setting up subgraphs",g.nodes[t],g.id),d.setParent(g.nodes[t],g.id);}EB(b,d,e,h,f,i),TB(w,d);const m=h.select(`[id="${e}"]`),v=h.select("#"+e+" g");if(oD(v,d,["point","circle","cross"],"flowchart",e),ww.insertTitle(m,"flowchartTitleText",o.titleTopMargin,i.db.getDiagramTitle()),Oy(d,m,o.diagramPadding,o.useMaxWidth),i.db.indexNodes("subGraph"+y),!o.htmlLabels){const t=f.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=f.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild);}}Object.keys(b).forEach((function(t){const n=b[t];if(n.link){const i=ln("#"+e+' [id="'+t+'"]');if(i){const t=f.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===a?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=i.insert((function(){return t}),":first-child"),r=i.select(".label-container");r&&e.append((function(){return r.node()}));const o=i.select(".label");o&&e.append((function(){return o.node()}));}}}));},SB={setConf:function(t){const e=Object.keys(t);for(const n of e)_B[n]=t[n];},addVertices:EB,addEdges:TB,getClasses:function(t,e){l.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(t){return}},draw:CB};var AB=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],y=[1,31],m=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:i.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:i.TopAxis(),this.$=a[s].substr(8);break;case 12:i.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:i.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:i.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:i.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:i.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:i.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],i.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],null),i.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],i.setClickEvent(a[s-2],a[s],null),i.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-1],a[s]),i.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 44:i.parseDirective("}%%","close_directive","gantt");}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:y,40:n},{32:32,33:[1,33],43:m},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:y,40:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(v,[2,25]),{32:47,43:m},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return "acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return "date";case 41:return 20;case 42:return "accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return "INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function _(){this.yy={};}return x.lexer=k,_.prototype=x,x.Parser=_,new _}();AB.parser=AB;const MB=AB,IB=t=>null!==t.match(/^\s*gantt/);var OB={};!function(t,e){var n;n=function(){var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},a=n.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,a,o,s=r(this),c=(n=this.isoWeekYear(),o=4-(a=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,t));return s.diff(c,"week")+1},a.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=a.startOf;a.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return "isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,e)};}},t.exports=n();}({get exports(){return OB},set exports(t){OB=t;}});const LB=OB;var DB={};!function(t,e){var n;n=function(){var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return (t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e;}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t);}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},l=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=l(t,!1);}],a:[r,function(t){this.afternoon=l(t,!0);}],S:[/\d/,function(t){this.milliseconds=100*+t;}],SS:[n,function(t){this.milliseconds=10*+t;}],SSS:[/\d{3}/,function(t){this.milliseconds=+t;}],s:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[n,s("day")],Do:[r,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i);}],M:[i,s("month")],MM:[n,s("month")],MMM:[r,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n;}],MMMM:[r,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e;}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t);}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var a=i&&i.toUpperCase();return n||r[i]||t[i]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c<s;c+=1){var u=o[c],l=h[u],f=l&&l[0],d=l&&l[1];o[c]=d?{regex:f,parser:d}:u.replace(/^\[|\]$/g,"");}return function(t){for(var e={},n=0,i=0;n<s;n+=1){var r=o[n];if("string"==typeof r)i+=r.length;else {var a=r.regex,c=r.parser,u=t.slice(i),l=a.exec(u)[0];c.call(e,l),t=t.replace(l,"");}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon;}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var i=e.prototype,r=i.parse;i.parse=function(t){var e=t.date,i=t.utc,o=t.args;this.$u=i;var s=o[1];if("string"==typeof s){var c=!0===o[2],u=!0===o[3],l=c||u,h=o[2];u&&(h=o[2]),a=this.$locale(),!c&&h&&(a=n.Ls[h]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=f(e)(t),r=i.year,a=i.month,o=i.day,s=i.hours,c=i.minutes,u=i.seconds,l=i.milliseconds,h=i.zone,d=new Date,g=o||(r||a?1:d.getDate()),p=r||d.getFullYear(),b=0;r&&!a||(b=a>0?a-1:d.getMonth());var w=s||0,y=c||0,m=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,y,m,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,y,m,v)):new Date(p,b,g,w,y,m,v)}catch(t){return new Date("")}}(e,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),l&&e!=this.format(s)&&(this.$d=new Date("")),a={};}else if(s instanceof Array)for(var d=s.length,g=1;g<=d;g+=1){o[1]=s[g-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}g===d&&(this.$d=new Date(""));}else r.call(this,t);};}},t.exports=n();}({get exports(){return DB},set exports(t){DB=t;}});const NB=DB;var PB={};!function(t,e){var n;n=function(){return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return "["+e.offsetName()+"]";case"zzz":return "["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(a)};}},t.exports=n();}({get exports(){return PB},set exports(t){PB=t;}});const BB=PB;s.extend(LB),s.extend(NB),s.extend(BB);let RB,jB="",$B="",FB="",zB=[],HB=[],UB={},GB=[],qB=[],KB="";const YB=["active","done","crit","milestone"];let WB=[],XB=!1,VB=!1,ZB=0;const QB=function(){GB=[],qB=[],KB="",WB=[],oR=0,lR=void 0,hR=void 0,fR=[],jB="",$B="",RB=void 0,FB="",zB=[],HB=[],XB=!1,VB=!1,ZB=0,UB={},Zy();},JB=function(){let t=pR();const e=10;let n=0;for(;!t&&n<e;)t=pR(),n++;return qB=fR,qB},tR=function(t,e,n,i){return !i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},eR=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let r,a;r=t.startTime instanceof Date?s(t.startTime):s(t.startTime,e,!0),r=r.add(1,"d"),a=t.endTime instanceof Date?s(t.endTime):s(t.endTime,e,!0);const[o,c]=nR(r,a,e,n,i);t.endTime=o.toDate(),t.renderEndTime=c;},nR=function(t,e,n,i,r){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=tR(t,n,i,r),a&&(e=e.add(1,"d")),t=t.add(1,"d");return [e,o]},iR=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=gR(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n);})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let r=s(n,e.trim(),!0);if(r.isValid())return r.toDate();{l.debug("Invalid date:"+n),l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime()))throw new Error("Invalid date:"+n);return t}},rR=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},aR=function(t,e,n,i=!1){n=n.trim();let r=s(n,e.trim(),!0);if(r.isValid())return i&&(r=r.add(1,"d")),r.toDate();let a=s(t);const[o,c]=rR(n);if(!Number.isNaN(o)){const t=a.add(o,c);t.isValid()&&(a=t);}return a.toDate()};let oR=0;const sR=function(t){return void 0===t?(oR+=1,"task"+oR):t},cR=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};xR(i,r,YB);for(let t=0;t<i.length;t++)i[t]=i[t].trim();let a="";switch(i.length){case 1:r.id=sR(),r.startTime=t.endTime,a=i[0];break;case 2:r.id=sR(),r.startTime=iR(void 0,jB,i[0]),a=i[1];break;case 3:r.id=sR(i[0]),r.startTime=iR(void 0,jB,i[1]),a=i[2];}return a&&(r.endTime=aR(r.startTime,jB,a,XB),r.manualEndTime=s(a,"YYYY-MM-DD",!0).isValid(),eR(r,jB,HB,zB)),r},uR=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};xR(i,r,YB);for(let t=0;t<i.length;t++)i[t]=i[t].trim();switch(i.length){case 1:r.id=sR(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:i[0]};break;case 2:r.id=sR(),r.startTime={type:"getStartDate",startData:i[0]},r.endTime={data:i[1]};break;case 3:r.id=sR(i[0]),r.startTime={type:"getStartDate",startData:i[1]},r.endTime={data:i[2]};}return r};let lR,hR,fR=[];const dR={},gR=function(t){const e=dR[t];return fR[e]},pR=function(){const t=function(t){const e=fR[t];let n="";switch(fR[t].raw.startTime.type){case"prevTaskEnd":{const t=gR(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=iR(void 0,jB,fR[t].raw.startTime.startData),n&&(fR[t].startTime=n);}return fR[t].startTime&&(fR[t].endTime=aR(fR[t].startTime,jB,fR[t].raw.endTime.data,XB),fR[t].endTime&&(fR[t].processed=!0,fR[t].manualEndTime=s(fR[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),eR(fR[t],jB,HB,zB))),fR[t].processed};let e=!0;for(const[n,i]of fR.entries())t(n),e=e&&i.processed;return e},bR=function(t,e){let n=e;"loose"!==vy().securityLevel&&(n=p(e)),t.split(",").forEach((function(t){void 0!==gR(t)&&(mR(t,(()=>{window.open(n,"_self");})),UB[t]=n);})),wR(t,"clickable");},wR=function(t,e){t.split(",").forEach((function(t){let n=gR(t);void 0!==n&&n.classes.push(e);}));},yR=function(t,e,n){if("loose"!==vy().securityLevel)return;if(void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e;}}0===i.length&&i.push(t),void 0!==gR(t)&&mR(t,(()=>{ww.runFunc(e,...i);}));},mR=function(t,e){WB.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e();}));}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e();}));}));},vR={parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().gantt,clear:QB,setDateFormat:function(t){jB=t;},getDateFormat:function(){return jB},enableInclusiveEndDates:function(){XB=!0;},endDatesAreInclusive:function(){return XB},enableTopAxis:function(){VB=!0;},topAxisEnabled:function(){return VB},setAxisFormat:function(t){$B=t;},getAxisFormat:function(){return $B},setTickInterval:function(t){RB=t;},getTickInterval:function(){return RB},setTodayMarker:function(t){FB=t;},getTodayMarker:function(){return FB},setAccTitle:Qy,getAccTitle:Jy,setDiagramTitle:nm,getDiagramTitle:im,setAccDescription:tm,getAccDescription:em,addSection:function(t){KB=t,GB.push(t);},getSections:function(){return GB},getTasks:JB,addTask:function(t,e){const n={section:KB,type:KB,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=uR(hR,e);n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=hR,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.order=ZB,ZB++;const r=fR.push(n);hR=n.id,dR[n.id]=r-1;},findTaskById:gR,addTaskOrg:function(t,e){const n={section:KB,type:KB,description:t,task:t,classes:[]},i=cR(lR,e);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,lR=n,qB.push(n);},setIncludes:function(t){zB=t.toLowerCase().split(/[\s,]+/);},getIncludes:function(){return zB},setExcludes:function(t){HB=t.toLowerCase().split(/[\s,]+/);},getExcludes:function(){return HB},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){yR(t,e,n);})),wR(t,"clickable");},setLink:bR,getLinks:function(){return UB},bindFunctions:function(t){WB.forEach((function(e){e(t);}));},parseDuration:rR,isInvalidDate:tR};function xR(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const r=new RegExp("^\\s*"+n+"\\s*$");t[0].match(r)&&(e[n]=!0,t.shift(1),i=!0);}));}let kR;const _R={setConf:function(){l.debug("Something is calling, setConf, remove the call");},draw:function(t,e,n,i){const r=vy().gantt,a=vy().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const c=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body"),u="sandbox"===a?o.nodes()[0].contentDocument:document,l=u.getElementById(e);kR=l.parentElement.offsetWidth,void 0===kR&&(kR=1200),void 0!==r.useWidth&&(kR=r.useWidth);const h=i.db.getTasks(),f=h.length*(r.barHeight+r.barGap)+2*r.topPadding;l.setAttribute("viewBox","0 0 "+kR+" "+f);const d=c.select(`[id="${e}"]`),g=ou().domain([U(h,(function(t){return t.startTime})),H(h,(function(t){return t.endTime}))]).rangeRound([0,kR-r.leftPadding-r.rightPadding]);let p=[];for(const t of h)p.push(t.type);const b=p;function w(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:n<i&&(r=-1),r}function y(t,e,n){const a=r.barHeight,o=a+r.barGap,s=r.topPadding,c=r.leftPadding,u=jo().domain([0,p.length]).range(["#00B9FA","#F95002"]).interpolate(Wi);v(o,s,c,e,n,t,i.db.getExcludes(),i.db.getIncludes()),x(c,s,e,n),m(t,o,s,c,a,u,e),k(o,s),_(c,s,e,n);}function m(t,n,a,o,s,c,u){d.append("g").selectAll("rect").data(t).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+a-2})).attr("width",(function(){return u-r.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of p.entries())if(t.type===n)return "section section"+e%r.numberSectionStyles;return "section section0"}));const l=d.append("g").selectAll("rect").data(t).enter(),h=i.db.getLinks();if(l.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?g(t.startTime)+o+.5*(g(t.endTime)-g(t.startTime))-.5*s:g(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+a})).attr("width",(function(t){return t.milestone?s:g(t.renderEndTime||t.endTime)-g(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(g(t.startTime)+o+.5*(g(t.endTime)-g(t.startTime))).toString()+"px "+(e*n+a+.5*s).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let i=0;for(const[e,n]of p.entries())t.type===n&&(i=e%r.numberSectionStyles);let a="";return t.active?t.crit?a+=" activeCrit":a=" active":t.done?a=t.crit?" doneCrit":" done":t.crit&&(a+=" crit"),0===a.length&&(a=" task"),t.milestone&&(a=" milestone "+a),a+=i,a+=" "+n,e+a})),l.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",r.fontSize).attr("x",(function(t){let e=g(t.startTime),n=g(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(g(t.endTime)-g(t.startTime))-.5*s),t.milestone&&(n=e+s);const i=this.getBBox().width;return i>n-e?n+i+1.5*r.leftPadding>u?e+o-5:n+o+5:(n-e)/2+e+o})).attr("y",(function(t,e){return t.order*n+r.barHeight/2+(r.fontSize/2-2)+a})).attr("text-height",s).attr("class",(function(t){const e=g(t.startTime);let n=g(t.endTime);t.milestone&&(n=e+s);const i=this.getBBox().width;let a="";t.classes.length>0&&(a=t.classes.join(" "));let o=0;for(const[e,n]of p.entries())t.type===n&&(o=e%r.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+o:"activeText"+o),t.done?c=t.crit?c+" doneCritText"+o:c+" doneText"+o:t.crit&&(c=c+" critText"+o),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*r.leftPadding>u?a+" taskTextOutsideLeft taskTextOutside"+o+" "+c:a+" taskTextOutsideRight taskTextOutside"+o+" "+c+" width-"+i:a+" taskText taskText"+o+" "+c+" width-"+i})),"sandbox"===vy().securityLevel){let t;t=ln("#i"+e);const n=t.nodes()[0].contentDocument;l.filter((function(t){return void 0!==h[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const r=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",h[t.id]),a.setAttribute("target","_top"),r.appendChild(a),a.appendChild(e),a.appendChild(i);}));}}function v(t,e,n,a,o,c,u,l){const h=c.reduce(((t,{startTime:e})=>t?Math.min(t,e):e),0),f=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),p=i.db.getDateFormat();if(!h||!f)return;const b=[];let w=null,y=s(h);for(;y.valueOf()<=f;)i.db.isInvalidDate(y,p,u,l)?w?w.end=y:w={start:y,end:y}:w&&(b.push(w),w=null),y=y.add(1,"d");d.append("g").selectAll("rect").data(b).enter().append("rect").attr("id",(function(t){return "exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return g(t.start)+n})).attr("y",r.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return g(e)-g(t.start)})).attr("height",o-e-r.gridLineStartPadding).attr("transform-origin",(function(e,i){return (g(e.start)+n+.5*(g(e.end)-g(e.start))).toString()+"px "+(i*t+.5*o).toString()+"px"})).attr("class","exclude-range");}function x(t,e,n,a){let o=it(g).tickSize(-a+e+r.gridLineStartPadding).tickFormat(js(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));const s=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||r.tickInterval);if(null!==s){const t=s[1];switch(s[2]){case"minute":o.ticks(es.every(t));break;case"hour":o.ticks(is.every(t));break;case"day":o.ticks(as.every(t));break;case"week":o.ticks(ss.every(t));break;case"month":o.ticks(ps.every(t));}}if(d.append("g").attr("class","grid").attr("transform","translate("+t+", "+(a-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||r.topAxis){let n=nt(g).tickSize(-a+e+r.gridLineStartPadding).tickFormat(js(i.db.getAxisFormat()||r.axisFormat||"%Y-%m-%d"));if(null!==s){const t=s[1];switch(s[2]){case"minute":n.ticks(es.every(t));break;case"hour":n.ticks(is.every(t));break;case"day":n.ticks(as.every(t));break;case"week":n.ticks(ss.every(t));break;case"month":n.ticks(ps.every(t));}}d.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10);}}function k(t,e){const n=[];let i=0;for(const[t,e]of p.entries())n[t]=[e,C(e,b)];d.append("g").selectAll("text").data(n).enter().append((function(t){const e=t[0].split(Yh.lineBreakRegex),n=-(e.length-1)/2,i=u.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=u.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,i.appendChild(e);}return i})).attr("x",10).attr("y",(function(r,a){if(!(a>0))return r[1]*t/2+e;for(let o=0;o<a;o++)return i+=n[a-1][1],r[1]*t/2+i*t+e})).attr("font-size",r.sectionFontSize).attr("font-size",r.sectionFontSize).attr("class",(function(t){for(const[e,n]of p.entries())if(t[0]===n)return "sectionTitle sectionTitle"+e%r.numberSectionStyles;return "sectionTitle"}));}function _(t,e,n,a){const o=i.db.getTodayMarker();if("off"===o)return;const s=d.append("g").attr("class","today"),c=new Date,u=s.append("line");u.attr("x1",g(c)+t).attr("x2",g(c)+t).attr("y1",r.titleTopMargin).attr("y2",a-r.titleTopMargin).attr("class","today"),""!==o&&u.attr("style",o.replace(/,/g,";"));}function E(t){const e={},n=[];for(let i=0,r=t.length;i<r;++i)Object.prototype.hasOwnProperty.call(e,t[i])||(e[t[i]]=!0,n.push(t[i]));return n}function T(t){let e=t.length;const n={};for(;e;)n[t[--e]]=(n[t[e]]||0)+1;return n}function C(t,e){return T(e)[t]||0}p=E(p),h.sort(w),y(h,kR,f),Iy(d,f,kR,r.useMaxWidth),d.append("text").text(i.db.getDiagramTitle()).attr("x",kR/2).attr("y",r.titleTopMargin).attr("class","titleText");}};var ER=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,i,r,a,o){switch(a.length,r){case 1:return i;case 4:break;case 6:i.setInfo(!0);}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},i={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return 4;case 1:return 9;case 2:return "space";case 3:return 10;case 4:return 6;case 5:return "TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function r(){this.yy={};}return n.lexer=i,r.prototype=n,n.Parser=r,new r}();ER.parser=ER;const TR=ER;var CR="",SR=!1;const AR={setMessage:t=>{l.debug("Setting message to: "+t),CR=t;},getMessage:()=>CR,setInfo:t=>{SR=t;},getInfo:()=>SR,clear:Zy},MR={draw:(t,e,n)=>{try{l.debug("Rendering info diagram\n"+t);const i=vy().securityLevel;let r;"sandbox"===i&&(r=ln("#i"+e));const a=ln("sandbox"===i?r.nodes()[0].contentDocument.body:"body").select("#"+e);a.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),a.attr("height",100),a.attr("width",400);}catch(t){l.error("Error while rendering info diagram"),l.error(t.message);}}},IR=t=>null!==t.match(/^\s*info/);var OR=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,5],i=[1,6],r=[1,7],a=[1,9],o=[1,11,13,15,17,19,20,26,27,28,29],s=[2,5],c=[1,6,11,13,15,17,19,20,26,27,28,29],u=[26,27,28],l=[2,8],h=[1,18],f=[1,19],d=[1,20],g=[1,21],p=[1,22],b=[1,23],w=[1,28],y=[6,26,27,28,29],m={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,PIE:6,document:7,showData:8,line:9,statement:10,txt:11,value:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,openDirective:21,typeDirective:22,closeDirective:23,":":24,argDirective:25,NEWLINE:26,";":27,EOF:28,open_directive:29,type_directive:30,arg_directive:31,close_directive:32,$accept:0,$end:1},terminals_:{2:"error",6:"PIE",8:"showData",11:"txt",12:"value",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",24:":",26:"NEWLINE",27:";",28:"EOF",29:"open_directive",30:"type_directive",31:"arg_directive",32:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,3],[7,0],[7,2],[9,2],[10,0],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[5,3],[5,5],[4,1],[4,1],[4,1],[21,1],[22,1],[25,1],[23,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setShowData(!0);break;case 7:this.$=a[s-1];break;case 9:i.addSection(a[s-1],i.cleanupValue(a[s]));break;case 10:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 11:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 12:case 13:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 14:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","pie");}},table:[{3:1,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{1:[3]},{3:10,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},{3:11,4:2,5:3,6:e,21:8,26:n,27:i,28:r,29:a},t(o,s,{7:12,8:[1,13]}),t(c,[2,18]),t(c,[2,19]),t(c,[2,20]),{22:14,30:[1,15]},{30:[2,21]},{1:[2,1]},{1:[2,2]},t(u,l,{21:8,9:16,10:17,5:24,1:[2,3],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(o,s,{7:25}),{23:26,24:[1,27],32:w},t([24,32],[2,22]),t(o,[2,6]),{4:29,26:n,27:i,28:r},{12:[1,30]},{14:[1,31]},{16:[1,32]},{18:[1,33]},t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,l,{21:8,9:16,10:17,5:24,1:[2,4],11:h,13:f,15:d,17:g,19:p,20:b,29:a}),t(y,[2,16]),{25:34,31:[1,35]},t(y,[2,24]),t(o,[2,7]),t(u,[2,9]),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{23:36,32:w},{32:[2,23]},t(y,[2,17])],defaultActions:{9:[2,21],10:[2,1],11:[2,2],35:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},v={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return "acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return "txt";case 22:return 6;case 23:return 8;case 24:return "value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function x(){this.yy={};}return m.lexer=v,x.prototype=m,m.Parser=x,new x}();OR.parser=OR;const LR=OR,DR=t=>null!==t.match(/^\s*pie/)||null!==t.match(/^\s*bar/);let NR={},PR=!1;const BR={parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().pie,addSection:function(t,e){t=Yh.sanitizeText(t,vy()),void 0===NR[t]&&(NR[t]=e,l.debug("Added new section :",t));},getSections:()=>NR,cleanupValue:function(t){return ":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){NR={},PR=!1,Zy();},setAccTitle:Qy,getAccTitle:Jy,setDiagramTitle:nm,getDiagramTitle:im,setShowData:function(t){PR=t;},getShowData:function(){return PR},getAccDescription:em,setAccDescription:tm};let RR,jR=vy();const $R=450,FR={draw:(t,e,n,i)=>{try{jR=vy(),l.debug("Rendering info diagram\n"+t);const n=vy().securityLevel;let y;"sandbox"===n&&(y=ln("#i"+e));const m=ln("sandbox"===n?y.nodes()[0].contentDocument.body:"body"),v="sandbox"===n?y.nodes()[0].contentDocument:document;i.db.clear(),i.parser.parse(t),l.debug("Parsed info diagram");const x=v.getElementById(e);RR=x.parentElement.offsetWidth,void 0===RR&&(RR=1200),void 0!==jR.useWidth&&(RR=jR.useWidth),void 0!==jR.pie.useWidth&&(RR=jR.pie.useWidth);const k=m.select("#"+e);Iy(k,$R,RR,jR.pie.useMaxWidth),x.setAttribute("viewBox","0 0 "+RR+" "+$R);var r=40,a=18,o=4,s=Math.min(RR,$R)/2-r,c=k.append("g").attr("transform","translate("+RR/2+","+$R/2+")"),u=i.db.getSections(),h=0;Object.keys(u).forEach((function(t){h+=u[t];}));const _=jR.themeVariables;var f=[_.pie1,_.pie2,_.pie3,_.pie4,_.pie5,_.pie6,_.pie7,_.pie8,_.pie9,_.pie10,_.pie11,_.pie12],d=Eo().range(f),g=Object.entries(u).map((function(t,e){return {order:e,name:t[0],value:t[1]}})),p=Ru().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(g),b=Au().innerRadius(0).outerRadius(s);c.selectAll("mySlices").data(p).enter().append("path").attr("d",b).attr("fill",(function(t){return d(t.data.name)})).attr("class","pieCircle"),c.selectAll("mySlices").data(p).enter().append("text").text((function(t){return (t.data.value/h*100).toFixed(0)+"%"})).attr("transform",(function(t){return "translate("+b.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),c.append("text").text(i.db.getDiagramTitle()).attr("x",0).attr("y",-($R-50)/2).attr("class","pieTitleText");var w=c.selectAll(".legend").data(d.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){const n=a+o,i=n*d.domain().length/2;return "translate("+12*a+","+(e*n-i)+")"}));w.append("rect").attr("width",a).attr("height",a).style("fill",d).style("stroke",d),w.data(p).append("text").attr("x",a+o).attr("y",a-o).text((function(t){return i.db.getShowData()||jR.showData||jR.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}));}catch(t){l.error("Error while rendering info diagram"),l.error(t);}}};var zR=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,5],i=[1,6],r=[1,7],a=[1,8],o=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],s=[1,22],c=[2,13],u=[1,26],l=[1,27],h=[1,28],f=[1,29],d=[1,30],g=[1,31],p=[1,24],b=[1,32],w=[1,33],y=[1,36],m=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],x=[1,56],k=[1,57],_=[1,58],E=[1,59],T=[1,60],C=[1,61],S=[1,62],A=[62,63],M=[1,74],I=[1,70],O=[1,71],L=[1,72],D=[1,73],N=[1,75],P=[1,79],B=[1,80],R=[1,77],j=[1,78],$=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],F={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(a[s-3],a[s-4]);break;case 20:i.setNewReqId(a[s-2]);break;case 21:i.setNewReqText(a[s-2]);break;case 22:i.setNewReqRisk(a[s-2]);break;case 23:i.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(a[s-3]);break;case 40:i.setNewElementType(a[s-2]);break;case 41:i.setNewElementDocRef(a[s-2]);break;case 44:i.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:i.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES;}},table:[{3:1,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:n,16:i,18:r,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(o,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[2,2]},{4:21,5:s,7:17,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{11:34,12:[1,35],22:y},t([12,22],[2,10]),t(o,[2,6]),t(o,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:s,7:38,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:39,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:40,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:41,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:42,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(m,[2,26]),t(m,[2,27]),t(m,[2,28]),t(m,[2,29]),t(m,[2,30]),t(m,[2,31]),t(v,[2,55]),t(v,[2,56]),t(o,[2,4]),{13:51,21:[1,52]},t(o,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:x,65:k,66:_,67:E,68:T,69:C,70:S},{61:63,64:x,65:k,66:_,67:E,68:T,69:C,70:S},{11:64,22:y},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(A,[2,46]),t(A,[2,47]),t(A,[2,48]),t(A,[2,49]),t(A,[2,50]),t(A,[2,51]),t(A,[2,52]),{63:[1,68]},t(o,[2,5]),{5:M,29:69,30:I,33:O,35:L,37:D,39:N},{5:P,39:B,55:76,56:R,58:j},{32:81,71:b,72:w},{32:82,71:b,72:w},t($,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:M,29:87,30:I,33:O,35:L,37:D,39:N},t($,[2,25]),t($,[2,39]),{31:[1,88]},{31:[1,89]},{5:P,39:B,55:90,56:R,58:j},t($,[2,43]),t($,[2,44]),t($,[2,45]),{32:91,71:b,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t($,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t($,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:M,29:116,30:I,33:O,35:L,37:D,39:N},{5:M,29:117,30:I,33:O,35:L,37:D,39:N},{5:M,29:118,30:I,33:O,35:L,37:D,39:N},{5:M,29:119,30:I,33:O,35:L,37:D,39:N},{5:P,39:B,55:120,56:R,58:j},{5:P,39:B,55:121,56:R,58:j},t($,[2,20]),t($,[2,21]),t($,[2,22]),t($,[2,23]),t($,[2,40]),t($,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},z={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return "title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return "acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return "qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,55],inclusive:!0}}};function H(){this.yy={};}return F.lexer=z,H.prototype=F,F.Parser=H,new H}();zR.parser=zR;const HR=zR,UR=t=>null!==t.match(/^\s*requirement(Diagram)?/);let GR=[],qR={},KR={},YR={},WR={};const XR={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().req,addRequirement:(t,e)=>(void 0===KR[t]&&(KR[t]={name:t,type:e,id:qR.id,text:qR.text,risk:qR.risk,verifyMethod:qR.verifyMethod}),qR={},KR[t]),getRequirements:()=>KR,setNewReqId:t=>{void 0!==qR&&(qR.id=t);},setNewReqText:t=>{void 0!==qR&&(qR.text=t);},setNewReqRisk:t=>{void 0!==qR&&(qR.risk=t);},setNewReqVerifyMethod:t=>{void 0!==qR&&(qR.verifyMethod=t);},setAccTitle:Qy,getAccTitle:Jy,setAccDescription:tm,getAccDescription:em,addElement:t=>(void 0===WR[t]&&(WR[t]={name:t,type:YR.type,docRef:YR.docRef},l.info("Added new requirement: ",t)),YR={},WR[t]),getElements:()=>WR,setNewElementType:t=>{void 0!==YR&&(YR.type=t);},setNewElementDocRef:t=>{void 0!==YR&&(YR.docRef=t);},addRelationship:(t,e,n)=>{GR.push({type:t,src:e,dst:n});},getRelationships:()=>GR,clear:()=>{GR=[],qR={},KR={},YR={},WR={},Zy();}},VR={CONTAINS:"contains",ARROW:"arrow"},ZR={ReqMarkers:VR,insertLineEndings:(t,e)=>{let n=t.append("defs").append("marker").attr("id",VR.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",VR.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1);}};let QR={},JR=0;const tj=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",QR.rect_min_width+"px").attr("height",QR.rect_min_height+"px"),ej=(t,e,n)=>{let i=QR.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",i).attr("y",QR.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?r.append("tspan").attr("text-anchor","middle").attr("x",QR.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",QR.rect_min_width/2).attr("dy",.75*QR.line_height).text(t),a++;}));let o=1.5*QR.rect_padding+a*QR.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",QR.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:r,y:o}},nj=(t,e,n,i)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",QR.rect_padding).attr("y",i).attr("dominant-baseline","hanging"),a=0;const o=30;let s=[];return n.forEach((t=>{let e=t.length;for(;e>o&&a<3;){let n=t.substring(0,o);e=(t=t.substring(o,t.length)).length,s[s.length]=n,a++;}if(3==a){let t=s[s.length-1];s[s.length-1]=t.substring(0,t.length-4)+"...";}else s[s.length]=t;a=0;})),s.forEach((t=>{r.append("tspan").attr("x",QR.rect_padding).attr("dy",QR.line_height).text(t);})),r},ij=(t,e,n,i)=>{const r=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*r),o="rel"+JR;JR++;const s=t.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(i).node().getBBox();t.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%");},rj=function(t,e,n,i,r){const a=n.edge(uj(e.src),uj(e.dst)),o=Nu().x((function(t){return t.x})).y((function(t){return t.y})),s=t.insert("path","#"+i).attr("class","er relationshipLine").attr("d",o(a.points)).attr("fill","none");e.type==r.db.Relationships.CONTAINS?s.attr("marker-start","url("+Yh.getUrl(QR.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(s.attr("stroke-dasharray","10,7"),s.attr("marker-end","url("+Yh.getUrl(QR.arrowMarkerAbsolute)+"#"+ZR.ReqMarkers.ARROW+"_line_ending)")),ij(t,s,QR,`<<${e.type}>>`);},aj=(t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];i=uj(i),l.info("Added new requirement: ",i);const a=n.append("g").attr("id",i),o=tj(a,"req-"+i);let s=ej(a,i+"_title",[`<<${r.type}>>`,`${r.name}`]);nj(a,i+"_body",[`Id: ${r.id}`,`Text: ${r.text}`,`Risk: ${r.risk}`,`Verification: ${r.verifyMethod}`],s.y);const c=o.node().getBBox();e.setNode(i,{width:c.width,height:c.height,shape:"rect",id:i});}));},oj=(t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];const a=uj(i),o=n.append("g").attr("id",a),s="element-"+a,c=tj(o,s);let u=ej(o,s+"_title",["<<Element>>",`${i}`]);nj(o,s+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],u.y);const l=c.node().getBBox();e.setNode(a,{width:l.width,height:l.height,shape:"rect",id:a});}));},sj=(t,e)=>(t.forEach((function(t){let n=uj(t.src),i=uj(t.dst);e.setEdge(n,i,{relationship:t});})),t),cj=function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"));}));},uj=t=>t.replace(/\s/g,"").replace(/\./g,"_"),lj={draw:(t,e,n,i)=>{QR=vy().requirement,i.db.clear(),i.parser.parse(t);const r=QR.securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body").select(`[id='${e}']`);ZR.insertLineEndings(o,QR);const s=new fM({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:QR.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return {}}));let c=i.db.getRequirements(),u=i.db.getElements(),l=i.db.getRelationships();aj(c,s,o),oj(u,s,o),sj(l,s),bO(s),cj(o,s),l.forEach((function(t){rj(o,t,s,e,i);}));const h=QR.rect_padding,f=o.node().getBBox(),d=f.width+2*h,g=f.height+2*h;Iy(o,g,d,QR.useMaxWidth),o.attr("viewBox",`${f.x-h} ${f.y-h} ${d} ${g}`);}};var hj=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],u=[1,21],l=[1,22],h=[1,23],f=[1,29],d=[1,30],g=[1,31],p=[1,32],b=[1,33],w=[1,34],y=[1,35],m=[1,36],v=[1,37],x=[1,38],k=[1,39],_=[1,40],E=[1,42],T=[1,43],C=[1,45],S=[1,46],A=[1,47],M=[1,48],I=[1,49],O=[1,50],L=[1,53],D=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],N=[4,5,21,54,56],P=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],B=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,53,54,56,57,62,63,64,65,73,83],R=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,52,54,56,57,62,63,64,65,73,83],j=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,54,56,57,62,63,64,65,73,83],$=[71,72,73],F=[1,125],z=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,51,52,53,54,56,57,62,63,64,65,73,83],H={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,critical:48,option_sections:49,break:50,option:51,and:52,else:53,participant:54,AS:55,participant_actor:56,note:57,placement:58,text2:59,over:60,actor_pair:61,links:62,link:63,properties:64,details:65,spaceList:66,",":67,left_of:68,right_of:69,signaltype:70,"+":71,"-":72,ACTOR:73,SOLID_OPEN_ARROW:74,DOTTED_OPEN_ARROW:75,SOLID_ARROW:76,DOTTED_ARROW:77,SOLID_CROSS:78,DOTTED_CROSS:79,SOLID_POINT:80,DOTTED_POINT:81,TXT:82,open_directive:83,type_directive:84,arg_directive:85,close_directive:86,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"critical",50:"break",51:"option",52:"and",53:"else",54:"participant",55:"AS",56:"participant_actor",57:"note",60:"over",62:"links",63:"link",64:"properties",65:"details",67:",",68:"left_of",69:"right_of",71:"+",72:"-",73:"ACTOR",74:"SOLID_OPEN_ARROW",75:"DOTTED_OPEN_ARROW",76:"SOLID_ARROW",77:"DOTTED_ARROW",78:"SOLID_CROSS",79:"DOTTED_CROSS",80:"SOLID_POINT",81:"DOTTED_POINT",82:"TXT",83:"open_directive",84:"type_directive",85:"arg_directive",86:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[49,1],[49,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[66,2],[66,1],[61,3],[61,1],[58,1],[58,1],[22,5],[22,5],[22,4],[27,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[70,1],[59,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 63:this.$=a[s];break;case 18:a[s-1].unshift({type:"boxStart",boxData:i.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:i.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:i.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 36:a[s-1].unshift({type:"loopStart",loopText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:i.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"rectStart",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"optStart",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"altStart",altText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"criticalStart",criticalText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 42:a[s-1].unshift({type:"breakStart",breakText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 45:this.$=a[s-3].concat([{type:"option",optionText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 47:this.$=a[s-3].concat([{type:"and",parText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.PAR_AND},a[s]]);break;case 49:this.$=a[s-3].concat([{type:"else",altText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.ALT_ELSE},a[s]]);break;case 50:a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].type="addParticipant",this.$=a[s-1];break;case 52:a[s-3].type="addActor",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 53:a[s-1].type="addActor",this.$=a[s-1];break;case 54:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 55:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 56:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 62:this.$=[a[s-2],a[s]];break;case 64:this.$=i.PLACEMENT.LEFTOF;break;case 65:this.$=i.PLACEMENT.RIGHTOF;break;case 66:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 67:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 68:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 69:this.$={type:"addParticipant",actor:a[s]};break;case 70:this.$=i.LINETYPE.SOLID_OPEN;break;case 71:this.$=i.LINETYPE.DOTTED_OPEN;break;case 72:this.$=i.LINETYPE.SOLID;break;case 73:this.$=i.LINETYPE.DOTTED;break;case 74:this.$=i.LINETYPE.SOLID_CROSS;break;case 75:this.$=i.LINETYPE.DOTTED_CROSS;break;case 76:this.$=i.LINETYPE.SOLID_POINT;break;case 77:this.$=i.LINETYPE.DOTTED_POINT;break;case 78:this.$=i.parseMessage(a[s].trim().substring(1));break;case 79:i.parseDirective("%%{","open_directive");break;case 80:i.parseDirective(a[s],"type_directive");break;case 81:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 82:i.parseDirective("}%%","close_directive","sequence");}},table:[{3:1,4:e,5:n,6:4,7:i,14:6,83:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,14:6,83:r},{3:9,4:e,5:n,6:4,7:i,14:6,83:r},{3:10,4:e,5:n,6:4,7:i,14:6,83:r},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,50,54,56,57,62,63,64,65,73,83],a,{8:11}),{15:12,84:[1,13]},{84:[2,79]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{16:51,17:[1,52],86:L},t([17,86],[2,80]),t(D,[2,6]),{6:41,10:54,13:18,14:6,19:c,22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},t(D,[2,8]),t(D,[2,9]),t(D,[2,17]),{20:[1,55]},{5:[1,56]},{5:[1,59],24:[1,57],25:[1,58]},{27:60,73:O},{27:61,73:O},{5:[1,62]},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},t(D,[2,31]),t(D,[2,32]),{37:[1,67]},{39:[1,68]},t(D,[2,35]),{20:[1,69]},{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},t(D,[2,43]),{27:76,73:O},{27:77,73:O},{70:78,74:[1,79],75:[1,80],76:[1,81],77:[1,82],78:[1,83],79:[1,84],80:[1,85],81:[1,86]},{58:87,60:[1,88],68:[1,89],69:[1,90]},{27:91,73:O},{27:92,73:O},{27:93,73:O},{27:94,73:O},t([5,55,67,74,75,76,77,78,79,80,81,82],[2,69]),{5:[1,95]},{18:96,85:[1,97]},{5:[2,82]},t(D,[2,7]),t(N,[2,10],{11:98}),t(D,[2,19]),{5:[1,100],24:[1,99]},{5:[1,101]},t(D,[2,23]),{5:[1,102]},{5:[1,103]},t(D,[2,26]),t(D,[2,27]),t(D,[2,28]),t(D,[2,29]),t(D,[2,30]),t(D,[2,33]),t(D,[2,34]),t(P,a,{8:104}),t(P,a,{8:105}),t(P,a,{8:106}),t(B,a,{45:107,8:108}),t(R,a,{47:109,8:110}),t(j,a,{49:111,8:112}),t(P,a,{8:113}),{5:[1,115],55:[1,114]},{5:[1,117],55:[1,116]},{27:120,71:[1,118],72:[1,119],73:O},t($,[2,70]),t($,[2,71]),t($,[2,72]),t($,[2,73]),t($,[2,74]),t($,[2,75]),t($,[2,76]),t($,[2,77]),{27:121,73:O},{27:123,61:122,73:O},{73:[2,64]},{73:[2,65]},{59:124,82:F},{59:126,82:F},{59:127,82:F},{59:128,82:F},t(z,[2,15]),{16:129,86:L},{86:[2,81]},{4:[1,132],5:[1,134],12:131,13:133,21:[1,130],54:E,56:T},{5:[1,135]},t(D,[2,21]),t(D,[2,22]),t(D,[2,24]),t(D,[2,25]),{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,136],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,137],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,138],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,139]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,48],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,53:[1,140],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,141]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,46],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,52:[1,142],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{21:[1,143]},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[2,44],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,51:[1,144],54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{4:o,5:s,6:41,9:14,10:16,13:18,14:6,19:c,21:[1,145],22:20,23:u,26:l,27:44,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:y,43:m,44:v,46:x,48:k,50:_,54:E,56:T,57:C,62:S,63:A,64:M,65:I,73:O,83:r},{20:[1,146]},t(D,[2,51]),{20:[1,147]},t(D,[2,53]),{27:148,73:O},{27:149,73:O},{59:150,82:F},{59:151,82:F},{59:152,82:F},{67:[1,153],82:[2,63]},{5:[2,56]},{5:[2,78]},{5:[2,57]},{5:[2,58]},{5:[2,59]},{5:[1,154]},t(D,[2,18]),t(N,[2,11]),{13:155,54:E,56:T},t(N,[2,13]),t(N,[2,14]),t(D,[2,20]),t(D,[2,36]),t(D,[2,37]),t(D,[2,38]),t(D,[2,39]),{20:[1,156]},t(D,[2,40]),{20:[1,157]},t(D,[2,41]),{20:[1,158]},t(D,[2,42]),{5:[1,159]},{5:[1,160]},{59:161,82:F},{59:162,82:F},{5:[2,68]},{5:[2,54]},{5:[2,55]},{27:163,73:O},t(z,[2,16]),t(N,[2,12]),t(B,a,{8:108,45:164}),t(R,a,{8:110,47:165}),t(j,a,{8:112,49:166}),t(D,[2,50]),t(D,[2,52]),{5:[2,66]},{5:[2,67]},{82:[2,62]},{21:[2,49]},{21:[2,47]},{21:[2,45]}],defaultActions:{7:[2,79],8:[2,1],9:[2,2],10:[2,3],53:[2,82],89:[2,64],90:[2,65],97:[2,81],124:[2,56],125:[2,78],126:[2,57],127:[2,58],128:[2,59],150:[2,68],151:[2,54],152:[2,55],161:[2,66],162:[2,67],163:[2,62],164:[2,49],165:[2,47],166:[2,45]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},U={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),83;case 1:return this.begin("type_directive"),84;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),86;case 4:return 85;case 5:case 53:case 66:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),54;case 14:return this.begin("ID"),56;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),73;case 16:return this.popState(),this.popState(),this.begin("LINE"),55;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),53;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),52;case 25:return this.begin("LINE"),48;case 26:return this.begin("LINE"),51;case 27:return this.begin("LINE"),50;case 28:return this.popState(),20;case 29:return 21;case 30:return 68;case 31:return 69;case 32:return 62;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 60;case 37:return 57;case 38:return this.begin("ID"),26;case 39:return this.begin("ID"),28;case 40:return 34;case 41:return 35;case 42:return this.begin("acc_title"),36;case 43:return this.popState(),"acc_title_value";case 44:return this.begin("acc_descr"),38;case 45:return this.popState(),"acc_descr_value";case 46:this.begin("acc_descr_multiline");break;case 47:this.popState();break;case 48:return "acc_descr_multiline_value";case 49:return 7;case 50:return 23;case 51:return 25;case 52:return 67;case 54:return e.yytext=e.yytext.trim(),73;case 55:return 76;case 56:return 77;case 57:return 74;case 58:return 75;case 59:return 78;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 71;case 65:return 72;case 67:return "INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[47,48],inclusive:!1},acc_descr:{rules:[45],inclusive:!1},acc_title:{rules:[43],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,28],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,29,30,31,32,33,34,35,36,37,38,39,40,41,42,44,46,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67],inclusive:!0}}};function G(){this.yy={};}return H.lexer=U,G.prototype=H,H.Parser=G,new G}();hj.parser=hj;const fj=hj,dj=t=>null!==t.match(/^\s*sequenceDiagram/);let gj,pj,bj,wj={},yj=[],mj=[],vj=!1;const xj=function(t){yj.push({name:t.text,wrap:void 0===t.wrap&&Sj()||!!t.wrap,fill:t.color,actorKeys:[]}),bj=yj.slice(-1)[0];},kj=function(t,e,n,i){let r=bj;const a=wj[t];if(a){if(bj&&a.box&&bj!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+bj.name+"' at the same time.");if(r=a.box?a.box:bj,a.box=r,a&&e===a.name&&null==n)return}null!=n&&null!=n.text||(n={text:e,wrap:null,type:i}),null!=i&&null!=n.text||(n={text:e,wrap:null,type:i}),wj[t]={box:r,name:e,description:n.text,wrap:void 0===n.wrap&&Sj()||!!n.wrap,prevActor:gj,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},gj&&wj[gj]&&(wj[gj].nextActor=t),bj&&bj.actorKeys.push(t),gj=t;},_j=t=>{let e,n=0;for(e=0;e<mj.length;e++)mj[e].type===Aj.ACTIVE_START&&mj[e].from.actor===t&&n++,mj[e].type===Aj.ACTIVE_END&&mj[e].from.actor===t&&n--;return n},Ej=function(t,e,n,i){mj.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&Sj()||!!n.wrap,answer:i});},Tj=function(t,e,n={text:void 0,wrap:void 0},i){if(i===Aj.ACTIVE_END&&_j(t.actor)<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return mj.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&Sj()||!!n.wrap,type:i}),!0},Cj=function(t){return wj[t]},Sj=()=>void 0!==pj?pj:vy().sequence.wrap,Aj={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31},Mj=function(t,e,n){n.text,void 0===n.wrap&&Sj()||n.wrap;const i=[].concat(t,t);mj.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&Sj()||!!n.wrap,type:Aj.NOTE,placement:e});},Ij=function(t,e){const n=Cj(t);try{let t=Fh(e.text,vy());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"="),Lj(n,JSON.parse(t));}catch(t){l.error("error while parsing actor link text",t);}},Oj=function(t,e){const n=Cj(t);try{const t={};let o=Fh(e.text,vy());var i=o.indexOf("@");o=o.replace(/&/g,"&"),o=o.replace(/=/g,"=");var r=o.slice(0,i-1).trim(),a=o.slice(i+1).trim();t[r]=a,Lj(n,t);}catch(t){l.error("error while parsing actor link text",t);}};function Lj(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n];}const Dj=function(t,e){const n=Cj(t);try{let t=Fh(e.text,vy());Nj(n,JSON.parse(t));}catch(t){l.error("error while parsing actor properties text",t);}};function Nj(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n];}function Pj(){bj=void 0;}const Bj=function(t,e){const n=Cj(t),i=document.getElementById(e.text);try{const t=i.innerHTML,e=JSON.parse(t);e.properties&&Nj(n,e.properties),e.links&&Lj(n,e.links);}catch(t){l.error("error while parsing actor details text",t);}},Rj=function(t){if(Array.isArray(t))t.forEach((function(t){Rj(t);}));else switch(t.type){case"sequenceIndex":mj.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":kj(t.actor,t.actor,t.description,"participant");break;case"addActor":kj(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":Tj(t.actor,void 0,void 0,t.signalType);break;case"addNote":Mj(t.actor,t.placement,t.text);break;case"addLinks":Ij(t.actor,t.text);break;case"addALink":Oj(t.actor,t.text);break;case"addProperties":Dj(t.actor,t.text);break;case"addDetails":Bj(t.actor,t.text);break;case"addMessage":Tj(t.from,t.to,t.msg,t.signalType);break;case"boxStart":xj(t.boxData);break;case"boxEnd":Pj();break;case"loopStart":Tj(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":Tj(void 0,void 0,void 0,t.signalType);break;case"rectStart":Tj(void 0,void 0,t.color,t.signalType);break;case"optStart":Tj(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":Tj(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":Qy(t.text);break;case"parStart":case"and":Tj(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":Tj(void 0,void 0,t.criticalText,t.signalType);break;case"option":Tj(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":Tj(void 0,void 0,t.breakText,t.signalType);}},jj={addActor:kj,addMessage:Ej,addSignal:Tj,addLinks:Ij,addDetails:Bj,addProperties:Dj,autoWrap:Sj,setWrap:function(t){pj=t;},enableSequenceNumbers:function(){vj=!0;},disableSequenceNumbers:function(){vj=!1;},showSequenceNumbers:()=>vj,getMessages:function(){return mj},getActors:function(){return wj},getActor:Cj,getActorKeys:function(){return Object.keys(wj)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:Jy,getBoxes:function(){return yj},getDiagramTitle:im,setDiagramTitle:nm,parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().sequence,clear:function(){wj={},yj=[],mj=[],vj=!1,Zy();},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return l.debug("parseMessage:",n),n},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=e&&e[1]?e[1].trim():"transparent",i=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",i=t.trim());else {const e=(new Option).style;e.color=n,e.color!==n&&(n="transparent",i=t.trim());}return {color:n,text:void 0!==i?Fh(i.replace(/^:?(?:no)?wrap:/,""),vy()):void 0,wrap:void 0!==i?null!==i.match(/^:?wrap:/)||null===i.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:Aj,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:Mj,setAccTitle:Qy,apply:Rj,setAccDescription:tm,getAccDescription:em,hasAtLeastOneBox:function(){return yj.length>0},hasAtLeastOneBoxWithTitle:function(){return yj.some((t=>t.name))}};let $j=[];const Fj=t=>{$j.push(t);},zj=()=>{$j.forEach((t=>{t();})),$j=[];},Hj=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},Uj=(t,e)=>{Fj((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){Xj("actor"+e+"_popup");})),n[0].addEventListener("mouseout",(function(){Vj("actor"+e+"_popup");})));}));},Gj=function(t,e,n,i,r){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return {height:0,width:0};const a=e.links,o=e.actorCnt,s=e.rectData;var c="none";r&&(c="block !important");const u=t.append("g");u.attr("id","actor"+o+"_popup"),u.attr("class","actorPopupMenu"),u.attr("display",c),Uj("#actor"+o+"_popup",o);var l="";void 0!==s.class&&(l=" "+s.class);let h=s.width>n?s.width:n;const f=u.append("rect");if(f.attr("class","actorPopupMenuPanel"+l),f.attr("x",s.x),f.attr("y",s.height),f.attr("fill",s.fill),f.attr("stroke",s.stroke),f.attr("width",h),f.attr("height",s.height),f.attr("rx",s.rx),f.attr("ry",s.ry),null!=a){var d=20;for(let t in a){var g=u.append("a"),b=p(a[t]);g.attr("xlink:href",b),g.attr("target","_blank"),m$(i)(t,g,s.x+10,s.height+d,h,20,{class:"actor"},i),d+=30;}}return f.attr("height",d),{height:s.height+d,width:h}},qj=function(t,e,n,i){const r=t.append("image");r.attr("x",e),r.attr("y",n);var a=p(i);r.attr("xlink:href",a);},Kj=function(t,e,n,i){const r=t.append("use");r.attr("x",e),r.attr("y",n);var a=p(i);r.attr("xlink:href","#"+a);},Yj=function(t){return "var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},Wj=function(t){return "var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},Xj=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block");},Vj=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none");},Zj=function(t,e){let n=0,i=0;const r=e.text.split(Yh.lineBreakRegex),[a,o]=bw(e.fontSize);let s=[],c=0,u=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":u=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":u=()=>Math.round(e.y+(n+i+e.textMargin)/2);break;case"bottom":case"end":u=()=>Math.round(e.y+(n+i+2*e.textMargin)-e.textMargin);}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle";}for(let[l,h]of r.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==a&&(c=l*a);const r=t.append("text");if(r.attr("x",e.x),r.attr("y",u()),void 0!==e.anchor&&r.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&r.style("font-family",e.fontFamily),void 0!==o&&r.style("font-size",o),void 0!==e.fontWeight&&r.style("font-weight",e.fontWeight),void 0!==e.fill&&r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class),void 0!==e.dy?r.attr("dy",e.dy):0!==c&&r.attr("dy",c),e.tspan){const t=r.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(h);}else r.text(h);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(i+=(r._groups||r)[0][0].getBBox().height,n=i),s.push(r);}return s},Qj=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");return i.attr("points",n(e.x,e.y,e.width,e.height,7)),i.attr("class","labelBox"),e.y=e.y+e.height/2,Zj(t,e),i};let Jj=-1;const t$=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55);},e$=function(t,e,n,i){const r=e.x+e.width/2,a=e.y+5,o=t.append("g");var s=o;i||(Jj++,s.append("line").attr("id","actor"+Jj).attr("x1",r).attr("y1",a).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"),s=o.append("g"),e.actorCnt=Jj,null!=e.links&&(s.attr("id","root-"+Jj),Uj("#root-"+Jj,Jj)));const c=w$();var u="actor";null!=e.properties&&e.properties.class?u=e.properties.class:c.fill="#eaeaea",c.x=e.x,c.y=e.y,c.width=e.width,c.height=e.height,c.class=u,c.rx=3,c.ry=3;const l=Hj(s,c);if(e.rectData=c,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?Kj(s,c.x+c.width-20,c.y+10,t.substr(1)):qj(s,c.x+c.width-20,c.y+10,t);}y$(n)(e.description,s,c.x,c.y,c.width,c.height,{class:"actor"},n);let h=e.height;if(l.node){const t=l.node().getBBox();e.height=t.height,h=t.height;}return h},n$=function(t,e,n,i){const r=e.x+e.width/2,a=e.y+80;i||(Jj++,t.append("line").attr("id","actor"+Jj).attr("x1",r).attr("y1",a).attr("x2",r).attr("y2",2e3).attr("class","actor-line").attr("stroke-width","0.5px").attr("stroke","#999"));const o=t.append("g");o.attr("class","actor-man");const s=w$();s.x=e.x,s.y=e.y,s.fill="#eaeaea",s.width=e.width,s.height=e.height,s.class="actor",s.rx=3,s.ry=3,o.append("line").attr("id","actor-man-torso"+Jj).attr("x1",r).attr("y1",e.y+25).attr("x2",r).attr("y2",e.y+45),o.append("line").attr("id","actor-man-arms"+Jj).attr("x1",r-18).attr("y1",e.y+33).attr("x2",r+18).attr("y2",e.y+33),o.append("line").attr("x1",r-18).attr("y1",e.y+60).attr("x2",r).attr("y2",e.y+45),o.append("line").attr("x1",r).attr("y1",e.y+45).attr("x2",r+16).attr("y2",e.y+60);const c=o.append("circle");c.attr("cx",e.x+e.width/2),c.attr("cy",e.y+10),c.attr("r",15),c.attr("width",e.width),c.attr("height",e.height);const u=o.node().getBBox();return e.height=u.height,y$(n)(e.description,o,s.x,s.y+35,s.width,s.height,{class:"actor"},n),e.height},i$=function(t,e,n,i){switch(e.type){case"actor":return n$(t,e,n,i);case"participant":return e$(t,e,n,i)}},r$=function(t,e,n){const i=t.append("g");c$(i,e),e.name&&y$(n)(e.name,i,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},n),i.lower();},a$=function(t){return t.append("g")},o$=function(t,e,n,i,r){const a=w$(),o=e.anchored;a.x=e.startx,a.y=e.starty,a.class="activation"+r%3,a.width=e.stopx-e.startx,a.height=n-e.starty,Hj(o,a);},s$=function(t,e,n,i){const{boxMargin:r,boxTextMargin:a,labelBoxHeight:o,labelBoxWidth:s,messageFontFamily:c,messageFontSize:u,messageFontWeight:l}=i,h=t.append("g"),f=function(t,e,n,i){return h.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",i).attr("class","loopLine")};f(e.startx,e.starty,e.stopx,e.starty),f(e.stopx,e.starty,e.stopx,e.stopy),f(e.startx,e.stopy,e.stopx,e.stopy),f(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){f(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3");}));let d=b$();d.text=n,d.x=e.startx,d.y=e.starty,d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.anchor="middle",d.valign="middle",d.tspan=!1,d.width=s||50,d.height=o||20,d.textMargin=a,d.class="labelText",Qj(h,d),d=b$(),d.text=e.title,d.x=e.startx+s/2+(e.stopx-e.startx)/2,d.y=e.starty+r+a,d.anchor="middle",d.valign="middle",d.textMargin=a,d.class="loopText",d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.wrap=!0;let g=Zj(h,d);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){d.text=t.message,d.x=e.startx+(e.stopx-e.startx)/2,d.y=e.sections[n].y+r+a,d.class="loopText",d.anchor="middle",d.valign="middle",d.tspan=!1,d.fontFamily=c,d.fontSize=u,d.fontWeight=l,d.wrap=e.wrap,g=Zj(h,d);let i=Math.round(g.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=i-(r+a);}})),e.height=Math.round(e.stopy-e.starty),h},c$=function(t,e){Hj(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower();},u$=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");},l$=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");},h$=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");},f$=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z");},d$=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");},g$=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6);},p$=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7");},b$=function(){return {x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}},w$=function(){return {x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},y$=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("text-anchor","middle").text(t),s);}function e(t,e,n,r,a,o,s,c){const{actorFontSize:u,actorFontFamily:l,actorFontWeight:h}=c,[f,d]=bw(u),g=t.split(Yh.lineBreakRegex);for(let t=0;t<g.length;t++){const c=t*f-f*(g.length-1)/2,u=e.append("text").attr("x",n+a/2).attr("y",r).style("text-anchor","middle").style("font-size",d).style("font-weight",h).style("font-family",l);u.append("tspan").attr("x",n+a/2).attr("dy",c).text(g[t]),u.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(u,s);}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c);}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n]);}return function(i){return "fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),m$=function(){function t(t,e,n,r,a,o,s){i(e.append("text").attr("x",n).attr("y",r).style("text-anchor","start").text(t),s);}function e(t,e,n,r,a,o,s,c){const{actorFontSize:u,actorFontFamily:l,actorFontWeight:h}=c,f=t.split(Yh.lineBreakRegex);for(let t=0;t<f.length;t++){const a=t*u-u*(f.length-1)/2,c=e.append("text").attr("x",n).attr("y",r).style("text-anchor","start").style("font-size",u).style("font-weight",h).style("font-family",l);c.append("tspan").attr("x",n).attr("dy",a).text(f[t]),c.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(c,s);}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c);}function i(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n]);}return function(i){return "fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),v$={drawRect:Hj,drawText:Zj,drawLabel:Qj,drawActor:i$,drawBox:r$,drawPopup:Gj,drawImage:qj,drawEmbeddedImage:Kj,anchorElement:a$,drawActivation:o$,drawLoop:s$,drawBackgroundRect:c$,insertArrowHead:f$,insertArrowFilledHead:d$,insertSequenceNumber:g$,insertArrowCrossHead:p$,insertDatabaseIcon:u$,insertComputerIcon:l$,insertClockIcon:h$,getTextObj:b$,getNoteRect:w$,popupMenu:Yj,popdownMenu:Wj,fixLifeLineHeights:t$,sanitizeUrl:p};let x$={};const k$={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[];},addBox:function(t){this.boxes.push(t);},addActor:function(t){this.actors.push(t);},addLoop:function(t){this.loops.push(t);},addMessage:function(t){this.messages.push(t);},addNote:function(t){this.notes.push(t);},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,O$(vy());},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e]);},updateBounds:function(t,e,n,i){const r=this;let a=0;function o(o){return function(s){a++;const c=r.sequenceItems.length-a+1;r.updateVal(s,"starty",e-c*x$.boxMargin,Math.min),r.updateVal(s,"stopy",i+c*x$.boxMargin,Math.max),r.updateVal(k$.data,"startx",t-c*x$.boxMargin,Math.min),r.updateVal(k$.data,"stopx",n+c*x$.boxMargin,Math.max),"activation"!==o&&(r.updateVal(s,"startx",t-c*x$.boxMargin,Math.min),r.updateVal(s,"stopx",n+c*x$.boxMargin,Math.max),r.updateVal(k$.data,"starty",e-c*x$.boxMargin,Math.min),r.updateVal(k$.data,"stopy",i+c*x$.boxMargin,Math.max));}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"));},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(k$.data,"startx",r,Math.min),this.updateVal(k$.data,"starty",o,Math.min),this.updateVal(k$.data,"stopx",a,Math.max),this.updateVal(k$.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s);},newActivation:function(t,e,n){const i=n[t.from.actor],r=L$(t.from.actor).length||0,a=i.x+i.width/2+(r-1)*x$.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+x$.activationWidth,stopy:void 0,actor:t.from.actor,anchored:v$.anchorElement(e)});},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return {startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e));},endLoop:function(){return this.sequenceItems.pop()},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:k$.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e);},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos;},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return {bounds:this.data,models:this.models}}},_$=function(t,e){k$.bumpVerticalPos(x$.boxMargin),e.height=x$.boxMargin,e.starty=k$.getVerticalPos();const n=v$.getNoteRect();n.x=e.startx,n.y=e.starty,n.width=e.width||x$.width,n.class="note";const i=t.append("g"),r=v$.drawRect(i,n),a=v$.getTextObj();a.x=e.startx,a.y=e.starty,a.width=n.width,a.dy="1em",a.text=e.message,a.class="noteText",a.fontFamily=x$.noteFontFamily,a.fontSize=x$.noteFontSize,a.fontWeight=x$.noteFontWeight,a.anchor=x$.noteAlign,a.textMargin=x$.noteMargin,a.valign="center";const o=Zj(i,a),s=Math.round(o.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",s+2*x$.noteMargin),e.height+=s+2*x$.noteMargin,k$.bumpVerticalPos(s+2*x$.noteMargin),e.stopy=e.starty+s+2*x$.noteMargin,e.stopx=e.startx+n.width,k$.insert(e.startx,e.starty,e.stopx,e.stopy),k$.models.addNote(e);},E$=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),T$=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),C$=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});function S$(t,e){k$.bumpVerticalPos(10);const{startx:n,stopx:i,message:r}=e,a=Yh.splitBreaks(r).length,o=ww.calculateTextDimensions(r,E$(x$)),s=o.height/a;let c;e.height+=s,k$.bumpVerticalPos(s);let u=o.height-10;const l=o.width;if(n===i){c=k$.getVerticalPos()+u,x$.rightAngles||(u+=x$.boxMargin,c=k$.getVerticalPos()+u),u+=30;const t=Math.max(l/2,x$.width/2);k$.insert(n-t,k$.getVerticalPos()-10+u,i+t,k$.getVerticalPos()+30+u);}else u+=x$.boxMargin,c=k$.getVerticalPos()+u,k$.insert(n,c-10,i,c);return k$.bumpVerticalPos(u),e.height+=u,e.stopy=e.starty+e.height,k$.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),c}const A$=function(t,e,n,i){const{startx:r,stopx:a,starty:o,message:s,type:c,sequenceIndex:u,sequenceVisible:l}=e,h=ww.calculateTextDimensions(s,E$(x$)),f=v$.getTextObj();f.x=r,f.y=o+10,f.width=a-r,f.class="messageText",f.dy="1em",f.text=s,f.fontFamily=x$.messageFontFamily,f.fontSize=x$.messageFontSize,f.fontWeight=x$.messageFontWeight,f.anchor=x$.messageAlign,f.valign="center",f.textMargin=x$.wrapPadding,f.tspan=!1,Zj(t,f);const d=h.width;let g;r===a?g=x$.rightAngles?t.append("path").attr("d",`M ${r},${n} H ${r+Math.max(x$.width/2,d/2)} V ${n+25} H ${r}`):t.append("path").attr("d","M "+r+","+n+" C "+(r+60)+","+(n-10)+" "+(r+60)+","+(n+30)+" "+r+","+(n+20)):(g=t.append("line"),g.attr("x1",r),g.attr("y1",n),g.attr("x2",a),g.attr("y2",n)),c===i.db.LINETYPE.DOTTED||c===i.db.LINETYPE.DOTTED_CROSS||c===i.db.LINETYPE.DOTTED_POINT||c===i.db.LINETYPE.DOTTED_OPEN?(g.style("stroke-dasharray","3, 3"),g.attr("class","messageLine1")):g.attr("class","messageLine0");let p="";x$.arrowMarkerAbsolute&&(p=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,p=p.replace(/\(/g,"\\("),p=p.replace(/\)/g,"\\)")),g.attr("stroke-width",2),g.attr("stroke","none"),g.style("fill","none"),c!==i.db.LINETYPE.SOLID&&c!==i.db.LINETYPE.DOTTED||g.attr("marker-end","url("+p+"#arrowhead)"),c!==i.db.LINETYPE.SOLID_POINT&&c!==i.db.LINETYPE.DOTTED_POINT||g.attr("marker-end","url("+p+"#filled-head)"),c!==i.db.LINETYPE.SOLID_CROSS&&c!==i.db.LINETYPE.DOTTED_CROSS||g.attr("marker-end","url("+p+"#crosshead)"),(l||x$.showSequenceNumbers)&&(g.attr("marker-start","url("+p+"#sequencenumber)"),t.append("text").attr("x",r).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(u));},M$=function(t,e,n,i,r,a,o){if(!0===r.hideUnusedParticipants){const t=new Set;a.forEach((e=>{t.add(e.from),t.add(e.to);})),n=n.filter((e=>t.has(e)));}let s,c=0,u=0,l=0;for(const r of n){const n=e[r],a=n.box;s&&s!=a&&(o||k$.models.addBox(s),u+=x$.boxMargin+s.margin),a&&a!=s&&(o||(a.x=c+u,a.y=i),u+=a.margin),n.width=n.width||x$.width,n.height=Math.max(n.height||x$.height,x$.height),n.margin=n.margin||x$.actorMargin,n.x=c+u,n.y=k$.getVerticalPos();const h=v$.drawActor(t,n,x$,o);l=Math.max(l,h),k$.insert(n.x,i,n.x+n.width,n.height),c+=n.width+u,n.box&&(n.box.width=c+a.margin-n.box.x),u=n.margin,s=n.box,k$.models.addActor(n);}s&&!o&&k$.models.addBox(s),k$.bumpVerticalPos(l);},I$=function(t,e,n,i){let r=0,a=0;for(const o of n){const n=e[o],s=R$(n),c=v$.drawPopup(t,n,s,x$,x$.forceMenus,i);c.height>r&&(r=c.height),c.width+n.x>a&&(a=c.width+n.x);}return {maxHeight:r,maxWidth:a}},O$=function(t){xp(x$,t),t.fontFamily&&(x$.actorFontFamily=x$.noteFontFamily=x$.messageFontFamily=t.fontFamily),t.fontSize&&(x$.actorFontSize=x$.noteFontSize=x$.messageFontSize=t.fontSize),t.fontWeight&&(x$.actorFontWeight=x$.noteFontWeight=x$.messageFontWeight=t.fontWeight);},L$=function(t){return k$.activations.filter((function(e){return e.actor===t}))},D$=function(t,e){const n=e[t],i=L$(t);return [i.reduce((function(t,e){return Math.min(t,e.startx)}),n.x+n.width/2),i.reduce((function(t,e){return Math.max(t,e.stopx)}),n.x+n.width/2)]};function N$(t,e,n,i,r){k$.bumpVerticalPos(n);let a=i;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,r=E$(x$);e.message=ww.wrapLabel(`[${e.message}]`,n-2*x$.wrapPadding,r),e.width=n,e.wrap=!0;const o=ww.calculateTextDimensions(e.message,r),s=Math.max(o.height,x$.labelBoxHeight);a=i+s,l.debug(`${s} - ${e.message}`);}r(e),k$.bumpVerticalPos(a);}const P$=function(t,e,n,i){const{securityLevel:r,sequence:a}=vy();let o;x$=a,i.db.clear(),i.parser.parse(t),"sandbox"===r&&(o=ln("#i"+e));const s=ln("sandbox"===r?o.nodes()[0].contentDocument.body:"body"),c="sandbox"===r?o.nodes()[0].contentDocument:document;k$.init(),l.debug(i.db);const u="sandbox"===r?s.select(`[id="${e}"]`):ln(`[id="${e}"]`),h=i.db.getActors(),f=i.db.getBoxes(),d=i.db.getActorKeys(),g=i.db.getMessages(),p=i.db.getDiagramTitle(),b=i.db.hasAtLeastOneBox(),w=i.db.hasAtLeastOneBoxWithTitle(),y=B$(h,g,i);x$.height=j$(h,y,f),v$.insertComputerIcon(u),v$.insertDatabaseIcon(u),v$.insertClockIcon(u),b&&(k$.bumpVerticalPos(x$.boxMargin),w&&k$.bumpVerticalPos(f[0].textMaxHeight)),M$(u,h,d,0,x$,g,!1);const m=z$(g,h,y,i);function v(t,e){const n=k$.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),v$.drawActivation(u,n,e,x$,L$(t.from.actor).length),k$.insert(n.startx,e-10,n.stopx,e);}v$.insertArrowHead(u),v$.insertArrowCrossHead(u),v$.insertArrowFilledHead(u),v$.insertSequenceNumber(u);let x=1,k=1;const _=[];g.forEach((function(t){let e,n,r;switch(t.type){case i.db.LINETYPE.NOTE:n=t.noteModel,_$(u,n);break;case i.db.LINETYPE.ACTIVE_START:k$.newActivation(t,u,h);break;case i.db.LINETYPE.ACTIVE_END:v(t,k$.getVerticalPos());break;case i.db.LINETYPE.LOOP_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.LOOP_END:e=k$.endLoop(),v$.drawLoop(u,e,"loop",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;case i.db.LINETYPE.RECT_START:N$(m,t,x$.boxMargin,x$.boxMargin,(t=>k$.newLoop(void 0,t.message)));break;case i.db.LINETYPE.RECT_END:e=k$.endLoop(),v$.drawBackgroundRect(u,e),k$.models.addLoop(e),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos());break;case i.db.LINETYPE.OPT_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.OPT_END:e=k$.endLoop(),v$.drawLoop(u,e,"opt",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;case i.db.LINETYPE.ALT_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.ALT_ELSE:N$(m,t,x$.boxMargin+x$.boxTextMargin,x$.boxMargin,(t=>k$.addSectionToLoop(t)));break;case i.db.LINETYPE.ALT_END:e=k$.endLoop(),v$.drawLoop(u,e,"alt",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;case i.db.LINETYPE.PAR_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.PAR_AND:N$(m,t,x$.boxMargin+x$.boxTextMargin,x$.boxMargin,(t=>k$.addSectionToLoop(t)));break;case i.db.LINETYPE.PAR_END:e=k$.endLoop(),v$.drawLoop(u,e,"par",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;case i.db.LINETYPE.AUTONUMBER:x=t.message.start||x,k=t.message.step||k,t.message.visible?i.db.enableSequenceNumbers():i.db.disableSequenceNumbers();break;case i.db.LINETYPE.CRITICAL_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.CRITICAL_OPTION:N$(m,t,x$.boxMargin+x$.boxTextMargin,x$.boxMargin,(t=>k$.addSectionToLoop(t)));break;case i.db.LINETYPE.CRITICAL_END:e=k$.endLoop(),v$.drawLoop(u,e,"critical",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;case i.db.LINETYPE.BREAK_START:N$(m,t,x$.boxMargin,x$.boxMargin+x$.boxTextMargin,(t=>k$.newLoop(t)));break;case i.db.LINETYPE.BREAK_END:e=k$.endLoop(),v$.drawLoop(u,e,"break",x$),k$.bumpVerticalPos(e.stopy-k$.getVerticalPos()),k$.models.addLoop(e);break;default:try{r=t.msgModel,r.starty=k$.getVerticalPos(),r.sequenceIndex=x,r.sequenceVisible=i.db.showSequenceNumbers();const e=S$(u,r);_.push({messageModel:r,lineStartY:e}),k$.models.addMessage(r);}catch(t){l.error("error while drawing message",t);}}[i.db.LINETYPE.SOLID_OPEN,i.db.LINETYPE.DOTTED_OPEN,i.db.LINETYPE.SOLID,i.db.LINETYPE.DOTTED,i.db.LINETYPE.SOLID_CROSS,i.db.LINETYPE.DOTTED_CROSS,i.db.LINETYPE.SOLID_POINT,i.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(x+=k);})),_.forEach((t=>A$(u,t.messageModel,t.lineStartY,i))),x$.mirrorActors&&(k$.bumpVerticalPos(2*x$.boxMargin),M$(u,h,d,k$.getVerticalPos(),x$,g,!0),k$.bumpVerticalPos(x$.boxMargin),t$(u,k$.getVerticalPos())),k$.models.boxes.forEach((function(t){t.height=k$.getVerticalPos()-t.y,k$.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",v$.drawBox(u,t,x$);})),b&&k$.bumpVerticalPos(x$.boxMargin);const E=I$(u,h,d,c),{bounds:T}=k$.getBounds();l.debug("For line height fix Querying: #"+e+" .actor-line"),hn("#"+e+" .actor-line").attr("y2",T.stopy);let C=T.stopy-T.starty;C<E.maxHeight&&(C=E.maxHeight);let S=C+2*x$.diagramMarginY;x$.mirrorActors&&(S=S-x$.boxMargin+x$.bottomMarginAdj);let A=T.stopx-T.startx;A<E.maxWidth&&(A=E.maxWidth);const M=A+2*x$.diagramMarginX;p&&u.append("text").text(p).attr("x",(T.stopx-T.startx)/2-2*x$.diagramMarginX).attr("y",-25),Iy(u,S,M,x$.useMaxWidth);const I=p?40:0;u.attr("viewBox",T.startx-x$.diagramMarginX+" -"+(x$.diagramMarginY+I)+" "+M+" "+(S+I)),l.debug("models:",k$.models);};function B$(t,e,n){const i={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const r=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!r.prevActor)return;if(e.placement===n.db.PLACEMENT.RIGHTOF&&!r.nextActor)return;const a=void 0!==e.placement,o=!a,s=a?T$(x$):E$(x$),c=e.wrap?ww.wrapLabel(e.message,x$.width-2*x$.wrapPadding,s):e.message,u=ww.calculateTextDimensions(c,s).width+2*x$.wrapPadding;o&&e.from===r.nextActor?i[e.to]=Math.max(i[e.to]||0,u):o&&e.from===r.prevActor?i[e.from]=Math.max(i[e.from]||0,u):o&&e.from===e.to?(i[e.from]=Math.max(i[e.from]||0,u/2),i[e.to]=Math.max(i[e.to]||0,u/2)):e.placement===n.db.PLACEMENT.RIGHTOF?i[e.from]=Math.max(i[e.from]||0,u):e.placement===n.db.PLACEMENT.LEFTOF?i[r.prevActor]=Math.max(i[r.prevActor]||0,u):e.placement===n.db.PLACEMENT.OVER&&(r.prevActor&&(i[r.prevActor]=Math.max(i[r.prevActor]||0,u/2)),r.nextActor&&(i[e.from]=Math.max(i[e.from]||0,u/2)));}})),l.debug("maxMessageWidthPerActor:",i),i}const R$=function(t){let e=0;const n=C$(x$);for(const i in t.links){const t=ww.calculateTextDimensions(i,n).width+2*x$.wrapPadding+2*x$.boxMargin;e<t&&(e=t);}return e};function j$(t,e,n){let i=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=ww.wrapLabel(n.description,x$.width-2*x$.wrapPadding,C$(x$)));const r=ww.calculateTextDimensions(n.description,C$(x$));n.width=n.wrap?x$.width:Math.max(x$.width,r.width+2*x$.wrapPadding),n.height=n.wrap?Math.max(r.height,x$.height):x$.height,i=Math.max(i,n.height);}));for(const n in e){const i=t[n];if(!i)continue;const r=t[i.nextActor];if(!r){const t=e[n]+x$.actorMargin-i.width/2;i.margin=Math.max(t,x$.actorMargin);continue}const a=e[n]+x$.actorMargin-i.width/2-r.width/2;i.margin=Math.max(a,x$.actorMargin);}let r=0;return n.forEach((e=>{const n=E$(x$);let i=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);i-=2*x$.boxTextMargin,e.wrap&&(e.name=ww.wrapLabel(e.name,i-2*x$.wrapPadding,n));const a=ww.calculateTextDimensions(e.name,n);r=Math.max(a.height,r);const o=Math.max(i,a.width+2*x$.wrapPadding);if(e.margin=x$.boxTextMargin,i<o){const t=(o-i)/2;e.margin+=t;}})),n.forEach((t=>t.textMaxHeight=r)),Math.max(i,x$.height)}const $$=function(t,e,n){const i=e[t.from].x,r=e[t.to].x,a=t.wrap&&t.message;let o=ww.calculateTextDimensions(a?ww.wrapLabel(t.message,x$.width,T$(x$)):t.message,T$(x$));const s={width:a?x$.width:Math.max(x$.width,o.width+2*x$.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(s.width=a?Math.max(x$.width,o.width):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*x$.noteMargin),s.startx=i+(e[t.from].width+x$.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(s.width=a?Math.max(x$.width,o.width+2*x$.noteMargin):Math.max(e[t.from].width/2+e[t.to].width/2,o.width+2*x$.noteMargin),s.startx=i-s.width+(e[t.from].width-x$.actorMargin)/2):t.to===t.from?(o=ww.calculateTextDimensions(a?ww.wrapLabel(t.message,Math.max(x$.width,e[t.from].width),T$(x$)):t.message,T$(x$)),s.width=a?Math.max(x$.width,e[t.from].width):Math.max(e[t.from].width,x$.width,o.width+2*x$.noteMargin),s.startx=i+(e[t.from].width-s.width)/2):(s.width=Math.abs(i+e[t.from].width/2-(r+e[t.to].width/2))+x$.actorMargin,s.startx=i<r?i+e[t.from].width/2-x$.actorMargin/2:r+e[t.to].width/2-x$.actorMargin/2),a&&(s.message=ww.wrapLabel(t.message,s.width-2*x$.wrapPadding,T$(x$))),l.debug(`NM:[${s.startx},${s.stopx},${s.starty},${s.stopy}:${s.width},${s.height}=${t.message}]`),s},F$=function(t,e,n){let i=!1;if([n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(i=!0),!i)return {};const r=D$(t.from,e),a=D$(t.to,e),o=r[0]<=a[0]?1:0,s=r[0]<a[0]?0:1,c=[...r,...a],u=Math.abs(a[s]-r[o]);t.wrap&&t.message&&(t.message=ww.wrapLabel(t.message,Math.max(u+2*x$.wrapPadding,x$.width),E$(x$)));const l=ww.calculateTextDimensions(t.message,E$(x$));return {width:Math.max(t.wrap?0:l.width+2*x$.wrapPadding,u+2*x$.wrapPadding,x$.width),height:0,startx:r[o],stopx:a[s],starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,c),toBounds:Math.max.apply(null,c)}},z$=function(t,e,n,i){const r={},a=[];let o,s,c;return t.forEach((function(t){switch(t.id=ww.random({length:10}),t.type){case i.db.LINETYPE.LOOP_START:case i.db.LINETYPE.ALT_START:case i.db.LINETYPE.OPT_START:case i.db.LINETYPE.PAR_START:case i.db.LINETYPE.CRITICAL_START:case i.db.LINETYPE.BREAK_START:a.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case i.db.LINETYPE.ALT_ELSE:case i.db.LINETYPE.PAR_AND:case i.db.LINETYPE.CRITICAL_OPTION:t.message&&(o=a.pop(),r[o.id]=o,r[t.id]=o,a.push(o));break;case i.db.LINETYPE.LOOP_END:case i.db.LINETYPE.ALT_END:case i.db.LINETYPE.OPT_END:case i.db.LINETYPE.PAR_END:case i.db.LINETYPE.CRITICAL_END:case i.db.LINETYPE.BREAK_END:o=a.pop(),r[o.id]=o;break;case i.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],i=L$(t.from?t.from.actor:t.to.actor).length,r=n.x+n.width/2+(i-1)*x$.activationWidth/2,a={startx:r,stopx:r+x$.activationWidth,actor:t.from.actor,enabled:!0};k$.activations.push(a);}break;case i.db.LINETYPE.ACTIVE_END:{const e=k$.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete k$.activations.splice(e,1)[0];}}void 0!==t.placement?(s=$$(t,e,i),t.noteModel=s,a.forEach((t=>{o=t,o.from=Math.min(o.from,s.startx),o.to=Math.max(o.to,s.startx+s.width),o.width=Math.max(o.width,Math.abs(o.from-o.to))-x$.labelBoxWidth;}))):(c=F$(t,e,i),t.msgModel=c,c.startx&&c.stopx&&a.length>0&&a.forEach((n=>{if(o=n,c.startx===c.stopx){const n=e[t.from],i=e[t.to];o.from=Math.min(n.x-c.width/2,n.x-n.width/2,o.from),o.to=Math.max(i.x+c.width/2,i.x+n.width/2,o.to),o.width=Math.max(o.width,Math.abs(o.to-o.from))-x$.labelBoxWidth;}else o.from=Math.min(c.startx,o.from),o.to=Math.max(c.stopx,o.to),o.width=Math.max(o.width,c.width)-x$.labelBoxWidth;})));})),k$.activations=[],l.debug("Loop type widths:",r),r},H$={bounds:k$,drawActors:M$,drawActorsPopup:I$,setConf:O$,draw:P$};var U$=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,21],u=[1,22],l=[1,23],h=[1,24],f=[1,37],d=[1,25],g=[1,26],p=[1,27],b=[1,28],w=[1,29],y=[1,32],m=[1,33],v=[1,34],x=[1,35],k=[1,36],_=[1,39],E=[1,40],T=[1,41],C=[1,42],S=[1,38],A=[1,45],M=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],I=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],L=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],D={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement:13,DESCR:14,"--\x3e":15,HIDE_EMPTY:16,scale:17,WIDTH:18,COMPOSIT_STATE:19,STRUCT_START:20,STRUCT_STOP:21,STATE_DESCR:22,AS:23,ID:24,FORK:25,JOIN:26,CHOICE:27,CONCURRENT:28,note:29,notePosition:30,NOTE_TEXT:31,direction:32,acc_title:33,acc_title_value:34,acc_descr:35,acc_descr_value:36,acc_descr_multiline_value:37,classDef:38,CLASSDEF_ID:39,CLASSDEF_STYLEOPTS:40,DEFAULT:41,class:42,CLASSENTITY_IDS:43,STYLECLASS:44,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const t=a[s-1];t.description=i.trimColon(a[s]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const e=i.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20:var c=a[s],u=a[s-2].trim();if(a[s].match(":")){var l=a[s].split(":");c=l[0],u=[u,l[1]];}this.$={stmt:"state",id:c,type:"default",description:u};break;case 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:i.parseDirective("%%{","open_directive");break;case 51:i.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 53:i.parseDirective("}%%","close_directive","state");}},table:[{3:1,4:e,5:n,6:4,7:i,45:6,60:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,45:6,60:r},{3:9,4:e,5:n,6:4,7:i,45:6,60:r},{3:10,4:e,5:n,6:4,7:i,45:6,60:r},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},{47:43,48:[1,44],63:A},t([48,63],[2,51]),t(M,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,8]),t(M,[2,9]),t(M,[2,10]),t(M,[2,11]),t(M,[2,12],{14:[1,47],15:[1,48]}),t(M,[2,16]),{18:[1,49]},t(M,[2,18],{20:[1,50]}),{23:[1,51]},t(M,[2,22]),t(M,[2,23]),t(M,[2,24]),t(M,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(M,[2,28]),t(M,[2,29]),{34:[1,56]},{36:[1,57]},t(M,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(I,[2,44],{57:[1,61]}),t(I,[2,45],{57:[1,62]}),t(M,[2,38]),t(M,[2,39]),t(M,[2,40]),t(M,[2,41]),t(O,[2,36]),{49:63,62:[1,64]},t(O,[2,53]),t(M,[2,7]),t(M,[2,13]),{13:65,24:f,56:S},t(M,[2,17]),t(L,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(M,[2,30]),t(M,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:A},{63:[2,52]},t(M,[2,14],{14:[1,76]}),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,77],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(M,[2,33]),t(M,[2,34]),t(M,[2,35]),t(I,[2,46]),t(I,[2,47]),t(O,[2,37]),t(M,[2,15]),t(M,[2,19]),t(L,a,{8:81}),t(M,[2,26]),t(M,[2,27]),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,82],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:y,35:m,37:v,38:x,42:k,45:6,50:_,51:E,52:T,53:C,56:S,60:r},t(M,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},N={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return "acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return "STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return "NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80:return "INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function P(){this.yy={};}return D.lexer=N,P.prototype=D,D.Parser=P,new P}();U$.parser=U$;const G$=U$,q$=(t,e)=>{var n;return "dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},K$=(t,e)=>{var n;return null!==t.match(/^\s*stateDiagram-v2/)||!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},Y$="TB",W$="state",X$="relation",V$="classDef",Z$="applyClass",Q$="default",J$="divider",tF="[*]",eF="start",nF=tF,iF="end",rF="color",aF="fill",oF="bgFill",sF=",";function cF(){return {}}let uF="LR",lF=[],hF=cF();const fF=()=>({relations:[],states:{},documents:{}});let dF={root:fF()},gF=dF.root,pF=0,bF=0;const wF=t=>JSON.parse(JSON.stringify(t)),yF=(t,e,n)=>{if(e.stmt===X$)yF(t,e.state1,!0),yF(t,e.state2,!1);else if(e.stmt===W$&&("[*]"===e.id?(e.id=n?t.id+"_start":t.id+"_end",e.start=n):e.id=e.id.trim()),e.doc){const t=[];let n,i=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===J$){const r=wF(e.doc[n]);r.doc=wF(i),t.push(r),i=[];}else i.push(e.doc[n]);if(t.length>0&&i.length>0){const n={stmt:W$,id:ew(),type:"divider",doc:wF(i)};t.push(wF(n)),e.doc=t;}e.doc.forEach((t=>yF(e,t,!0)));}},mF=t=>{let e;e=t.doc?t.doc:t,l.info(e),xF(!0),l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case W$:vF(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case X$:AF(t.state1,t.state2,t.description);break;case V$:IF(t.id.trim(),t.classes);break;case Z$:OF(t.id.trim(),t.styleClass);}}));},vF=function(t,e=Q$,n=null,i=null,r=null,a=null,o=null,s=null){const c=null==t?void 0:t.trim();void 0===gF.states[c]?(l.info("Adding state ",c,i),gF.states[c]={id:c,descriptions:[],type:e,doc:n,note:r,classes:[],styles:[],textStyles:[]}):(gF.states[c].doc||(gF.states[c].doc=n),gF.states[c].type||(gF.states[c].type=e)),i&&(l.info("Setting state description",c,i),"string"==typeof i&&MF(c,i.trim()),"object"==typeof i&&i.forEach((t=>MF(c,t.trim())))),r&&(gF.states[c].note=r,gF.states[c].note.text=Yh.sanitizeText(gF.states[c].note.text,vy())),a&&(l.info("Setting state classes",c,a),("string"==typeof a?[a]:a).forEach((t=>OF(c,t.trim())))),o&&(l.info("Setting state styles",c,o),("string"==typeof o?[o]:o).forEach((t=>LF(c,t.trim())))),s&&(l.info("Setting state styles",c,o),("string"==typeof s?[s]:s).forEach((t=>DF(c,t.trim()))));},xF=function(t){dF={root:fF()},gF=dF.root,pF=0,hF=cF(),t||Zy();},kF=function(t){return gF.states[t]};function _F(t=""){let e=t;return t===tF&&(pF++,e=`${eF}${pF}`),e}function EF(t="",e=Q$){return t===tF?eF:e}function TF(t=""){let e=t;return t===nF&&(pF++,e=`${iF}${pF}`),e}function CF(t="",e=Q$){return t===nF?iF:e}function SF(t,e,n){let i=_F(t.id.trim()),r=EF(t.id.trim(),t.type),a=_F(e.id.trim()),o=EF(e.id.trim(),e.type);vF(i,r,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),vF(a,o,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),gF.relations.push({id1:i,id2:a,relationTitle:Yh.sanitizeText(n,vy())});}const AF=function(t,e,n){if("object"==typeof t)SF(t,e,n);else {const i=_F(t.trim()),r=EF(t),a=TF(e.trim()),o=CF(e);vF(i,r),vF(a,o),gF.relations.push({id1:i,id2:a,title:Yh.sanitizeText(n,vy())});}},MF=function(t,e){const n=gF.states[t],i=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(Yh.sanitizeText(i,vy()));},IF=function(t,e=""){void 0===hF[t]&&(hF[t]={id:t,styles:[],textStyles:[]});const n=hF[t];null!=e&&e.split(sF).forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(rF)){const t=e.replace(aF,oF).replace(rF,aF);n.textStyles.push(t);}n.styles.push(e);}));},OF=function(t,e){t.split(",").forEach((function(t){let n=kF(t);if(void 0===n){const e=t.trim();vF(e),n=kF(e);}n.classes.push(e);}));},LF=function(t,e){const n=kF(t);void 0!==n&&n.textStyles.push(e);},DF=function(t,e){const n=kF(t);void 0!==n&&n.textStyles.push(e);},NF={parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().state,addState:vF,clear:xF,getState:kF,getStates:function(){return gF.states},getRelations:function(){return gF.relations},getClasses:function(){return hF},getDirection:()=>uF,addRelation:AF,getDividerId:()=>(bF++,"divider-id-"+bF),setDirection:t=>{uF=t;},cleanupLabel:function(t){return ":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){l.info("Documents = ",dF);},getRootDoc:()=>lF,setRootDoc:t=>{l.info("Setting root doc",t),lF=t;},getRootDocV2:()=>(yF({id:"root"},{id:"root",doc:lF},!0),{id:"root",doc:lF}),extract:mF,trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:Jy,setAccTitle:Qy,getAccDescription:em,setAccDescription:tm,addStyleClass:IF,setCssClass:OF,addDescription:MF,setDiagramTitle:nm,getDiagramTitle:im},PF=t=>t.append("circle").attr("class","start-state").attr("r",vy().state.sizeUnit).attr("cx",vy().state.padding+vy().state.sizeUnit).attr("cy",vy().state.padding+vy().state.sizeUnit),BF=t=>t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",vy().state.textHeight).attr("class","divider").attr("x2",2*vy().state.textHeight).attr("y1",0).attr("y2",0),RF=(t,e)=>{const n=t.append("text").attr("x",2*vy().state.padding).attr("y",vy().state.textHeight+2*vy().state.padding).attr("font-size",vy().state.fontSize).attr("class","state-title").text(e.id),i=n.node().getBBox();return t.insert("rect",":first-child").attr("x",vy().state.padding).attr("y",vy().state.padding).attr("width",i.width+2*vy().state.padding).attr("height",i.height+2*vy().state.padding).attr("rx",vy().state.radius),n},jF=(t,e)=>{const n=function(t,e,n){const i=t.append("tspan").attr("x",2*vy().state.padding).text(e);n||i.attr("dy",vy().state.textHeight);},i=t.append("text").attr("x",2*vy().state.padding).attr("y",vy().state.textHeight+1.3*vy().state.padding).attr("font-size",vy().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),r=i.height,a=t.append("text").attr("x",vy().state.padding).attr("y",r+.4*vy().state.padding+vy().state.dividerMargin+vy().state.textHeight).attr("class","state-description");let o=!0,s=!0;e.descriptions.forEach((function(t){o||(n(a,t,s),s=!1),o=!1;}));const c=t.append("line").attr("x1",vy().state.padding).attr("y1",vy().state.padding+r+vy().state.dividerMargin/2).attr("y2",vy().state.padding+r+vy().state.dividerMargin/2).attr("class","descr-divider"),u=a.node().getBBox(),l=Math.max(u.width,i.width);return c.attr("x2",l+3*vy().state.padding),t.insert("rect",":first-child").attr("x",vy().state.padding).attr("y",vy().state.padding).attr("width",l+2*vy().state.padding).attr("height",u.height+r+2*vy().state.padding).attr("rx",vy().state.radius),t},$F=(t,e,n)=>{const i=vy().state.padding,r=2*vy().state.padding,a=t.node().getBBox(),o=a.width,s=a.x,c=t.append("text").attr("x",0).attr("y",vy().state.titleShift).attr("font-size",vy().state.fontSize).attr("class","state-title").text(e.id),u=c.node().getBBox().width+r;let l,h=Math.max(u,o);h===o&&(h+=r);const f=t.node().getBBox();e.doc,l=s-i,u>o&&(l=(o-h)/2+i),Math.abs(s-f.x)<i&&u>o&&(l=s-(u-o)/2);const d=1-vy().state.textHeight;return t.insert("rect",":first-child").attr("x",l).attr("y",d).attr("class",n?"alt-composit":"composit").attr("width",h).attr("height",f.height+vy().state.textHeight+vy().state.titleShift+1).attr("rx","0"),c.attr("x",l+i),u<=o&&c.attr("x",s+(h-r)/2-u/2+i),t.insert("rect",":first-child").attr("x",l).attr("y",vy().state.titleShift-vy().state.textHeight-vy().state.padding).attr("width",h).attr("height",3*vy().state.textHeight).attr("rx",vy().state.radius),t.insert("rect",":first-child").attr("x",l).attr("y",vy().state.titleShift-vy().state.textHeight-vy().state.padding).attr("width",h).attr("height",f.height+3+2*vy().state.textHeight).attr("rx",vy().state.radius),t},FF=t=>(t.append("circle").attr("class","end-state-outer").attr("r",vy().state.sizeUnit+vy().state.miniPadding).attr("cx",vy().state.padding+vy().state.sizeUnit+vy().state.miniPadding).attr("cy",vy().state.padding+vy().state.sizeUnit+vy().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",vy().state.sizeUnit).attr("cx",vy().state.padding+vy().state.sizeUnit+2).attr("cy",vy().state.padding+vy().state.sizeUnit+2)),zF=(t,e)=>{let n=vy().state.forkWidth,i=vy().state.forkHeight;if(e.parentId){let t=n;n=i,i=t;}return t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",i).attr("x",vy().state.padding).attr("y",vy().state.padding)},HF=(t,e,n,i)=>{let r=0;const a=i.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const s=o.split(Yh.lineBreakRegex);let c=1.25*vy().state.noteMargin;for(const t of s){const i=t.trim();if(i.length>0){const t=a.append("tspan");t.text(i),0===c&&(c+=t.node().getBBox().height),r+=c,t.attr("x",e+vy().state.noteMargin),t.attr("y",n+r+1.25*vy().state.noteMargin);}}return {textWidth:a.node().getBBox().width,textHeight:r}},UF=(t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",vy().state.padding),i=e.append("g"),{textWidth:r,textHeight:a}=HF(t,0,0,i);return n.attr("height",a+2*vy().state.noteMargin),n.attr("width",r+2*vy().state.noteMargin),n},GF=function(t,e){const n=e.id,i={id:n,label:e.id,width:0,height:0},r=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&PF(r),"end"===e.type&&FF(r),"fork"!==e.type&&"join"!==e.type||zF(r,e),"note"===e.type&&UF(e.note.text,r),"divider"===e.type&&BF(r),"default"===e.type&&0===e.descriptions.length&&RF(r,e),"default"===e.type&&e.descriptions.length>0&&jF(r,e);const a=r.node().getBBox();return i.width=a.width+2*vy().state.padding,i.height=a.height+2*vy().state.padding,i};let qF=0;const KF=function(t,e,n){const i=function(t){switch(t){case NF.relationType.AGGREGATION:return "aggregation";case NF.relationType.EXTENSION:return "extension";case NF.relationType.COMPOSITION:return "composition";case NF.relationType.DEPENDENCY:return "dependency"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const r=e.points,a=Nu().x((function(t){return t.x})).y((function(t){return t.y})).curve(Gu),o=t.append("path").attr("d",a(r)).attr("id","edge"+qF).attr("class","transition");let s="";if(vy().state.arrowMarkerAbsolute&&(s=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,s=s.replace(/\(/g,"\\("),s=s.replace(/\)/g,"\\)")),o.attr("marker-end","url("+s+"#"+i(NF.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const i=t.append("g").attr("class","stateLabel"),{x:r,y:a}=ww.calcLabelPosition(e.points),o=Yh.getRows(n.title);let s=0;const c=[];let u=0,h=0;for(let t=0;t<=o.length;t++){const e=i.append("text").attr("text-anchor","middle").text(o[t]).attr("x",r).attr("y",a+s),n=e.node().getBBox();if(u=Math.max(u,n.width),h=Math.min(h,n.x),l.info(n.x,r,a+s),0===s){const t=e.node().getBBox();s=t.height,l.info("Title height",s,a);}c.push(e);}let f=s*o.length;if(o.length>1){const t=(o.length-1)*s*.5;c.forEach(((e,n)=>e.attr("y",a+n*s-t))),f=s*o.length;}const d=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-u/2-vy().state.padding/2).attr("y",a-f/2-vy().state.padding/2-3.5).attr("width",u+vy().state.padding).attr("height",f+vy().state.padding),l.info(d);}qF++;};let YF;const WF={},XF=function(t){t.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");},VF=function(t,e,n,i){YF=vy().state;const r=vy().securityLevel;let a;"sandbox"===r&&(a=ln("#i"+e));const o=ln("sandbox"===r?a.nodes()[0].contentDocument.body:"body"),s="sandbox"===r?a.nodes()[0].contentDocument:document;l.debug("Rendering diagram "+t);const c=o.select(`[id='${e}']`);XF(c),new fM({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return {}}));const u=i.db.getRootDoc();QF(u,c,void 0,!1,o,s,i);const h=YF.padding,f=c.node().getBBox(),d=f.width+2*h,g=f.height+2*h;Iy(c,g,1.75*d,YF.useMaxWidth),c.attr("viewBox",`${f.x-YF.padding} ${f.y-YF.padding} `+d+" "+g);},ZF=t=>t?t.length*YF.fontSizeFactor:1,QF=(t,e,n,i,r,a,o)=>{const s=new fM({compound:!0,multigraph:!0});let c,u=!0;for(c=0;c<t.length;c++)if("relation"===t[c].stmt){u=!1;break}n?s.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:u?1:YF.edgeLengthFactor,nodeSep:u?1:50,isMultiGraph:!0}):s.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:u?1:YF.edgeLengthFactor,nodeSep:u?1:50,ranker:"tight-tree",isMultiGraph:!0}),s.setDefaultEdgeLabel((function(){return {}})),o.db.extract(t);const h=o.db.getStates(),f=o.db.getRelations(),d=Object.keys(h);for(const t of d){const c=h[t];let u;if(n&&(c.parentId=n),c.doc){let t=e.append("g").attr("id",c.id).attr("class","stateGroup");u=QF(c.doc,t,c.id,!i,r,a,o);{t=$F(t,c,i);let e=t.node().getBBox();u.width=e.width,u.height=e.height+YF.padding/2,WF[c.id]={y:YF.compositTitleSize};}}else u=GF(e,c);if(c.note){const t={descriptions:[],id:c.id+"-note",note:c.note,type:"note"},n=GF(e,t);"left of"===c.note.position?(s.setNode(u.id+"-note",n),s.setNode(u.id,u)):(s.setNode(u.id,u),s.setNode(u.id+"-note",n)),s.setParent(u.id,u.id+"-group"),s.setParent(u.id+"-note",u.id+"-group");}else s.setNode(u.id,u);}l.debug("Count=",s.nodeCount(),s);let g=0;f.forEach((function(t){g++,l.debug("Setting edge",t),s.setEdge(t.id1,t.id2,{relation:t,width:ZF(t.title),height:YF.labelHeight*Yh.getRows(t.title).length,labelpos:"c"},"id"+g);})),bO(s),l.debug("Graph after layout",s.nodes());const p=e.node();s.nodes().forEach((function(t){void 0!==t&&void 0!==s.node(t)?(l.warn("Node "+t+": "+JSON.stringify(s.node(t))),r.select("#"+p.id+" #"+t).attr("transform","translate("+(s.node(t).x-s.node(t).width/2)+","+(s.node(t).y+(WF[t]?WF[t].y:0)-s.node(t).height/2)+" )"),r.select("#"+p.id+" #"+t).attr("data-x-shift",s.node(t).x-s.node(t).width/2),a.querySelectorAll("#"+p.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,i=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",n-i-8);}))):l.debug("No Node "+t+": "+JSON.stringify(s.node(t)));}));let b=p.getBBox();s.edges().forEach((function(t){void 0!==t&&void 0!==s.edge(t)&&(l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(s.edge(t))),KF(e,s.edge(t),s.edge(t).relation));})),b=p.getBBox();const w={id:n||"root",label:n||"root",width:0,height:0};return w.width=b.width+2*YF.padding,w.height=b.height+2*YF.padding,l.debug("Doc rendered",w,s),w},JF={setConf:function(){},draw:VF},tz="rect",ez="rectWithTitle",nz="start",iz="end",rz="divider",az="roundedWithTitle",oz="note",sz="noteGroup",cz="statediagram",uz=`${cz}-state`,lz="transition",hz=`${lz} note-edge`,fz=`${cz}-note`,dz=`${cz}-cluster`,gz=`${cz}-cluster-alt`,pz="parent",bz="note",wz="state",yz="----",mz=`${yz}${bz}`,vz=`${yz}${pz}`,xz="fill:none",kz="fill: #333",_z="c",Ez="text",Tz="normal";let Cz={},Sz=0;function Az(t){return null==t?"":t.classes?t.classes.join(" "):""}function Mz(t="",e=0,n="",i=yz){const r=null!==n&&n.length>0?`${i}${n}`:"";return `${wz}-${t}${r}-${e}`}const Iz=(t,e,n,i,r,a)=>{const o=n.id,s=Az(i[o]);if("root"!==o){let e=tz;!0===n.start&&(e=nz),!1===n.start&&(e=iz),n.type!==Q$&&(e=n.type),Cz[o]||(Cz[o]={id:o,shape:e,description:Yh.sanitizeText(o,vy()),classes:`${s} ${uz}`});const i=Cz[o];n.description&&(Array.isArray(i.description)?(i.shape=ez,i.description.push(n.description)):i.description.length>0?(i.shape=ez,i.description===o?i.description=[n.description]:i.description=[i.description,n.description]):(i.shape=tz,i.description=n.description),i.description=Yh.sanitizeTextOrArray(i.description,vy())),1===i.description.length&&i.shape===ez&&(i.shape=tz),!i.type&&n.doc&&(l.info("Setting cluster for ",o,Lz(n)),i.type="group",i.dir=Lz(n),i.shape=n.type===J$?rz:az,i.classes=i.classes+" "+dz+" "+(a?gz:""));const r={labelStyle:"",shape:i.shape,labelText:i.description,classes:i.classes,style:"",id:o,dir:i.dir,domId:Mz(o,Sz),type:i.type,padding:15};if(n.note){const e={labelStyle:"",shape:oz,labelText:n.note.text,classes:fz,style:"",id:o+mz+"-"+Sz,domId:Mz(o,Sz,bz),type:i.type,padding:15},a={labelStyle:"",shape:sz,labelText:n.note.text,classes:i.classes,style:"",id:o+vz,domId:Mz(o,Sz,pz),type:"group",padding:0};Sz++;const s=o+vz;t.setNode(s,a),t.setNode(e.id,e),t.setNode(o,r),t.setParent(o,s),t.setParent(e.id,s);let c=o,u=e.id;"left of"===n.note.position&&(c=e.id,u=o),t.setEdge(c,u,{arrowhead:"none",arrowType:"",style:xz,labelStyle:"",classes:hz,arrowheadStyle:kz,labelpos:_z,labelType:Ez,thickness:Tz});}else t.setNode(o,r);}e&&"root"!==e.id&&(l.trace("Setting node ",o," to be child of its parent ",e.id),t.setParent(o,e.id)),n.doc&&(l.trace("Adding nodes children "),Oz(t,n,n.doc,i,r,!a));},Oz=(t,e,n,i,r,a)=>{l.trace("items",n),n.forEach((n=>{switch(n.stmt){case W$:case Q$:Iz(t,e,n,i,r,a);break;case X$:{Iz(t,e,n.state1,i,r,a),Iz(t,e,n.state2,i,r,a);const o={id:"edge"+Sz,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:xz,labelStyle:"",label:Yh.sanitizeText(n.description,vy()),arrowheadStyle:kz,labelpos:_z,labelType:Ez,thickness:Tz,classes:lz};t.setEdge(n.state1.id,n.state2.id,o,Sz),Sz++;}}}));},Lz=(t,e=Y$)=>{let n=e;if(t.doc)for(let e=0;e<t.doc.length;e++){const i=t.doc[e];"dir"===i.stmt&&(n=i.value);}return n},Dz={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n];},getClasses:function(t,e){l.trace("Extracting classes"),e.db.clear();try{return e.parser.parse(t),e.db.extract(e.db.getRootDocV2()),e.db.getClasses()}catch(t){return t}},draw:function(t,e,n,i){l.info("Drawing state diagram (v2)",e),Cz={},i.db.getDirection();const{securityLevel:r,state:a}=vy(),o=a.nodeSpacing||50,s=a.rankSpacing||50;l.info(i.db.getRootDocV2()),i.db.extract(i.db.getRootDocV2()),l.info(i.db.getRootDocV2());const c=i.db.getStates(),u=new fM({multigraph:!0,compound:!0}).setGraph({rankdir:Lz(i.db.getRootDocV2()),nodesep:o,ranksep:s,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return {}}));let h;Iz(u,void 0,i.db.getRootDocV2(),c,i.db,!0),"sandbox"===r&&(h=ln("#i"+e));const f=ln("sandbox"===r?h.nodes()[0].contentDocument.body:"body"),d=f.select(`[id="${e}"]`),g=f.select("#"+e+" g");oD(g,u,["barb"],cz,e);const p=8;ww.insertTitle(d,"statediagramTitleText",a.titleTopMargin,i.db.getDiagramTitle());const b=d.node().getBBox(),w=b.width+2*p,y=b.height+2*p;d.attr("class",cz);const m=d.node().getBBox();Iy(d,y,w,a.useMaxWidth);const v=`${m.x-p} ${m.y-p} ${w} ${y}`;l.debug(`viewBox ${v}`),d.attr("viewBox",v);const x=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const t of x){const e=t.getBBox(),n=document.createElementNS("http://www.w3.org/2000/svg",tz);n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild);}}};var Nz=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,24,26],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,24],h=[4,6,9,11,17,18,20,22,23,24,26],f={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:i.addTask(a[s-1],a[s]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 21:i.parseDirective("}%%","close_directive","journey");}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},{1:[2,2]},{14:22,15:[1,23],29:l},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,26]},{21:[1,27]},t(i,[2,14]),t(i,[2,15]),{25:[1,28]},t(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(i,[2,16]),t(h,[2,9]),{14:32,29:l},{29:[2,20]},{11:[1,33]},t(h,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},d={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return "acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return "INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function g(){this.yy={};}return f.lexer=d,g.prototype=f,f.Parser=g,new g}();Nz.parser=Nz;const Pz=Nz,Bz=t=>null!==t.match(/^\s*journey/);let Rz="";const jz=[],$z=[],Fz=[],zz=function(){let t=Uz();const e=100;let n=0;for(;!t&&n<e;)t=Uz(),n++;return $z.push(...Fz),$z},Hz=function(){const t=[];return $z.forEach((e=>{e.people&&t.push(...e.people);})),[...new Set(t)].sort()},Uz=function(){const t=function(t){return Fz[t].processed};let e=!0;for(const[n,i]of Fz.entries())t(n),e=e&&i.processed;return e},Gz={parseDirective:function(t,e,n){cU.parseDirective(this,t,e,n);},getConfig:()=>vy().journey,clear:function(){jz.length=0,$z.length=0,Rz="",Fz.length=0,Zy();},setDiagramTitle:nm,getDiagramTitle:im,setAccTitle:Qy,getAccTitle:Jy,setAccDescription:tm,getAccDescription:em,addSection:function(t){Rz=t,jz.push(t);},getSections:function(){return jz},getTasks:zz,addTask:function(t,e){const n=e.substr(1).split(":");let i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));const a=r.map((t=>t.trim())),o={section:Rz,type:Rz,people:a,task:t,score:i};Fz.push(o);},addTaskOrg:function(t){const e={section:Rz,type:Rz,description:t,task:t,classes:[]};$z.push(e);},getActors:function(){return Hz()}},qz=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},Kz=function(t,e){const n=15,i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");function a(t){const i=Au().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(n/2).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")");}function o(t){const i=Au().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(n/2).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")");}function s(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666");}return r.append("circle").attr("cx",e.cx-n/3).attr("cy",e.cy-n/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",e.cx+n/3).attr("cy",e.cy-n/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?a(r):e.score<3?o(r):s(r),i},Yz=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},Wz=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},Xz=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,Wz(t,e);},Vz=function(t,e,n){const i=t.append("g"),r=eH();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,qz(i,r),nH(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour);};let Zz=-1;const Qz=function(t,e,n){const i=e.x+n.width/2,r=t.append("g");Zz++;const a=450;r.append("line").attr("id","task"+Zz).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),Kz(r,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=eH();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=n.width,o.height=n.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,qz(r,o);let s=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:s,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};Yz(r,i),s+=10;})),nH(n)(e.task,r,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour);},Jz=function(t,e){qz(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower();},tH=function(){return {x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},eH=function(){return {x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},nH=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s);}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*l-l*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,s);}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c);}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n]);}return function(i){return "fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),iH={drawRect:qz,drawCircle:Yz,drawSection:Vz,drawText:Wz,drawLabel:Xz,drawTask:Qz,drawBackgroundRect:Jz,getTextObj:tH,getNoteRect:eH,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");}},rH=function(t){Object.keys(t).forEach((function(e){sH[e]=t[e];}));},aH={};function oH(t){const e=vy().journey;let n=60;Object.keys(aH).forEach((i=>{const r=aH[i].color,a={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:aH[i].position};iH.drawCircle(t,a);const o={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};iH.drawText(t,o),n+=20;}));}const sH=vy().journey,cH=sH.leftMargin,uH=function(t,e,n,i){const r=vy().journey;i.db.clear(),i.parser.parse(t+"\n");const a=vy().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body");lH.init();const c=s.select("#"+e);iH.initGraphics(c);const u=i.db.getTasks(),l=i.db.getDiagramTitle(),h=i.db.getActors();for(const t in aH)delete aH[t];let f=0;h.forEach((t=>{aH[t]={color:r.actorColours[f%r.actorColours.length],position:f},f++;})),oH(c),lH.insert(0,0,cH,50*Object.keys(aH).length),dH(c,u,0);const d=lH.getBounds();l&&c.append("text").text(l).attr("x",cH).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const g=d.stopy-d.starty+2*r.diagramMarginY,p=cH+d.stopx+2*r.diagramMarginX;Iy(c,g,p,r.useMaxWidth),c.append("line").attr("x1",cH).attr("y1",4*r.height).attr("x2",p-cH-4).attr("y2",4*r.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const b=l?70:0;c.attr("viewBox",`${d.startx} -25 ${p} ${g+b}`),c.attr("preserveAspectRatio","xMinYMin meet"),c.attr("height",g+b+25);},lH={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0;},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e]);},updateBounds:function(t,e,n,i){const r=vy().journey,a=this;let o=0;function s(s){return function(s){o++;const c=a.sequenceItems.length-o+1;a.updateVal(s,"starty",e-c*r.boxMargin,Math.min),a.updateVal(s,"stopy",i+c*r.boxMargin,Math.max),a.updateVal(lH.data,"startx",t-c*r.boxMargin,Math.min),a.updateVal(lH.data,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(s,"startx",t-c*r.boxMargin,Math.min),a.updateVal(s,"stopx",n+c*r.boxMargin,Math.max),a.updateVal(lH.data,"starty",e-c*r.boxMargin,Math.min),a.updateVal(lH.data,"stopy",i+c*r.boxMargin,Math.max);}}this.sequenceItems.forEach(s());},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(lH.data,"startx",r,Math.min),this.updateVal(lH.data,"starty",o,Math.min),this.updateVal(lH.data,"stopx",a,Math.max),this.updateVal(lH.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s);},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos;},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},hH=sH.sectionFills,fH=sH.sectionColours,dH=function(t,e,n){const i=vy().journey;let r="";const a=n+(2*i.height+i.diagramMarginY);let o=0,s="#CCC",c="black",u=0;for(const[n,l]of e.entries()){if(r!==l.section){s=hH[o%hH.length],u=o%hH.length,c=fH[o%fH.length];const e={x:n*i.taskMargin+n*i.width+cH,y:50,text:l.section,fill:s,num:u,colour:c};iH.drawSection(t,e,i),r=l.section,o++;}const e=l.people.reduce(((t,e)=>(aH[e]&&(t[e]=aH[e]),t)),{});l.x=n*i.taskMargin+n*i.width+cH,l.y=a,l.width=i.diagramMarginX,l.height=i.diagramMarginY,l.colour=c,l.fill=s,l.num=u,l.actors=e,iH.drawTask(t,l,i),lH.insert(l.x,l.y,l.x+l.width+i.taskMargin,450);}},gH={setConf:rH,draw:uH};let pH={};const bH={setConf:function(t){pH={...pH,...t};},draw:(t,e,n)=>{try{l.debug("Renering svg for syntax error\n");const t=ln("#"+e),i=t.append("g");i.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),i.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),i.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),i.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),i.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),i.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),i.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in graph"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512");}catch(t){l.error("Error while rendering info diagram"),l.error(pw(t));}}},wH="flowchart-elk",yH={id:wH,detector:(t,e)=>{var n;return !!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>KU));return {id:wH,diagram:t}}},mH="timeline",vH={id:mH,detector:t=>null!==t.match(/^\s*timeline/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>NG));return {id:mH,diagram:t}}},xH="mindmap",kH={id:xH,detector:t=>null!==t.match(/^\s*mindmap/),loader:async()=>{const{diagram:t}=await Promise.resolve().then((()=>Dq));return {id:xH,diagram:t}}};let _H=!1;const EH=()=>{_H||(_H=!0,wp(yH,vH,kH),wm("error",{db:{clear:()=>{}},styles:Ny,renderer:bH,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},(t=>"error"===t.toLowerCase().trim())),wm("---",{db:{clear:()=>{}},styles:Ny,renderer:bH,parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with unindented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),wm("c4",{parser:uv,db:Lv,renderer:gx,styles:Uy,init:t=>{gx.setConf(t.c4);}},lv),wm("class",{parser:bx,db:Qx,renderer:eL,styles:Ly,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Qx.clear();}},wx),wm("classDiagram",{parser:bx,db:Qx,renderer:dD,styles:Ly,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,Qx.clear();}},yx),wm("er",{parser:pD,db:xD,renderer:VD,styles:Dy},bD),wm("gantt",{parser:MB,db:vR,renderer:_R,styles:By},IB),wm("info",{parser:TR,db:AR,renderer:MR,styles:Ry},IR),wm("pie",{parser:LR,db:BR,renderer:FR,styles:jy},DR),wm("requirement",{parser:HR,db:XR,renderer:lj,styles:$y},UR),wm("sequence",{parser:fj,db:jj,renderer:H$,styles:Fy,init:t=>{if(t.sequence||(t.sequence={}),t.sequence.arrowMarkerAbsolute=t.arrowMarkerAbsolute,"sequenceDiagram"in t)throw new Error("`mermaid config.sequenceDiagram` has been renamed to `config.sequence`. Please update your mermaid config.");jj.setWrap(t.wrap),H$.setConf(t.sequence);}},dj),wm("state",{parser:G$,db:NF,renderer:JF,styles:zy,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,NF.clear();}},q$),wm("stateDiagram",{parser:G$,db:NF,renderer:Dz,styles:zy,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,NF.clear();}},K$),wm("journey",{parser:Pz,db:Gz,renderer:gH,styles:Hy,init:t=>{gH.setConf(t.journey),Gz.clear();}},Bz),wm("flowchart",{parser:QD,db:nP,renderer:SB,styles:Py,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,kB.setConf(t.flowchart),nP.clear(),nP.setGen("gen-1");}},JD),wm("flowchart-v2",{parser:QD,db:nP,renderer:SB,styles:Py,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,my({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),SB.setConf(t.flowchart),nP.clear(),nP.setGen("gen-2");}},tN),wm("gitGraph",{parser:vm,db:Gm,renderer:ov,styles:sv},xm));};class TH{constructor(t,e){var n,i;this.txt=t,this.type="graph",this.detectTypeFailed=!1;const r=vy();this.txt=t;try{this.type=bp(t,r);}catch(t){this.handleError(t,e),this.type="error",this.detectTypeFailed=!0;}const a=ym(this.type);l.debug("Type "+this.type),this.db=a.db,null==(i=(n=this.db).clear)||i.call(n),this.renderer=a.renderer,this.parser=a.parser;const o=this.parser.parse.bind(this.parser);this.parser.parse=t=>o(fp(t,this.db)),this.parser.parser.yy=this.db,a.init&&(a.init(r),l.info("Initialized diagram "+this.type,r)),this.txt+="\n",this.parse(this.txt,e);}parse(t,e){var n,i;if(this.detectTypeFailed)return !1;try{return t+="\n",null==(i=(n=this.db).clear)||i.call(n),this.parser.parse(t),!0}catch(t){this.handleError(t,e);}return !1}handleError(t,e){if(void 0===e)throw t;gw(t)?e(t.str,t.hash):e(t);}getParser(){return this.parser}getType(){return this.type}}const CH=(t,e)=>{const n=bp(t,vy());try{ym(n);}catch(i){const r=mp(n);if(!r)throw new Error(`Diagram ${n} not found.`);return r().then((({diagram:i})=>(wm(n,i,void 0),new TH(t,e))))}return new TH(t,e)},SH=TH,AH="graphics-document document";function MH(t,e){t.attr("role",AH),MA(e)||t.attr("aria-roledescription",e);}function IH(t,e,n,i){if(void 0!==t.insert&&(e||n)){if(n){const e="chart-desc-"+i;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n);}if(e){const n="chart-title-"+i;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e);}}}const OH=["graph","flowchart","flowchart-v2","stateDiagram","stateDiagram-v2"],LH="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa",DH="sandbox",NH="loose",PH="http://www.w3.org/2000/svg",BH="http://www.w3.org/1999/xlink",RH="http://www.w3.org/1999/xhtml",jH="100%",$H="100%",FH="border:0;margin:0;",zH="margin:0",HH="allow-top-navigation-by-user-activation allow-popups",UH='The "iframe" tag is not supported by your browser.',GH=["foreignobject"],qH=["dominant-baseline"];function KH(t,e){return EH(),new SH(t,e).parse(t,e)}async function YH(t,e){return EH(),(await CH(t,e)).parse(t,e)}const WH=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return /^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e},XH=function(t){let e=t;return e=e.replace(/fl°°/g,"&#"),e=e.replace(/fl°/g,"&"),e=e.replace(/¶ß/g,";"),e},VH=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,ZH=(t,e,n={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!MA(n)&&OH.includes(e)){const e=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in n){const i=n[t];MA(i.styles)||e.forEach((t=>{r+=VH(i.id,t,i.styles);})),MA(i.textStyles)||(r+=VH(i.id,"tspan",i.textStyles));}}return r},QH=(t,e,n,i)=>{const r=ZH(t,e,n);return oy(ey(`${i}{${Ky(e,r,t.themeVariables)}}`),sy)},JH=(t="",e,n)=>{let i=t;return n||e||(i=i.replace(/marker-end="url\(.*?#/g,'marker-end="url(#')),i=XH(i),i=i.replace(/<br>/g,"<br/>"),i},tU=(t="",e)=>{const n=e?e.viewBox.baseVal.height+"px":$H,i=btoa('<body style="'+zH+'">'+t+"</body>");return `<iframe style="width:${jH};height:${n};${FH}" src="data:text/html;base64,${i}" sandbox="${HH}">\n ${UH}\n</iframe>`},eU=(t,e,n,i,r)=>{const a=t.append("div");a.attr("id",n),i&&a.attr("style",i);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns",PH);return r&&o.attr("xmlns:xlink",r),o.append("g"),t};function nU(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const iU=(t,e,n,i)=>{var r,a,o;null==(r=t.getElementById(e))||r.remove(),null==(a=t.getElementById(n))||a.remove(),null==(o=t.getElementById(i))||o.remove();},rU=function(t,e,n,i){var r,a,o,s;EH(),_y();const c=ww.detectInit(e);c&&(fw(c),ky(c));const u=vy();l.debug(u),e.length>((null==u?void 0:u.maxTextSize)??5e4)&&(e=LH),e=e.replace(/\r\n?/g,"\n");const h="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=ln("body");const w=u.securityLevel===DH,y=u.securityLevel===NH,m=u.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),w){const t=nU(ln(i),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0;}else b=ln(i);eU(b,t,g,`font-family: ${m}`,BH);}else {if(iU(document,t,g,f),w){const t=nU(ln("body"),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0;}else b=ln("body");eU(b,t,g);}let v,x;e=WH(e);try{if(v=CH(e),"then"in v)throw new Error("Diagram is a promise. Use renderAsync.")}catch(t){v=new SH("error"),x=t;}const k=b.select(p).node(),_=v.type,E=k.firstChild,T=E.firstChild,C=OH.includes(_)?v.renderer.getClasses(e,v):{},S=QH(u,_,C,h),A=document.createElement("style");A.innerHTML=S,E.insertBefore(A,T);try{v.renderer.draw(e,t,cy,v);}catch(n){throw bH.draw(e,t,cy),n}sU(_,b.select(`${p} svg`),null==(a=(r=v.db).getAccTitle)?void 0:a.call(r),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",RH);let M=b.select(p).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),M=JH(M,w,qh(u.arrowMarkerAbsolute)),w){const t=b.select(p+" svg").node();M=tU(M,t);}else y||(M=Bh.sanitize(M,{ADD_TAGS:GH,ADD_ATTR:qH}));if(void 0!==n)switch(_){case"flowchart":case"flowchart-v2":n(M,nP.bindFunctions);break;case"gantt":n(M,vR.bindFunctions);break;case"class":case"classDiagram":n(M,Qx.bindFunctions);break;default:n(M);}else l.debug("CB = undefined!");zj();const I=ln(w?d:p).node();if(I&&"remove"in I&&I.remove(),x)throw x;return M},aU=async function(t,e,n,i){var r,a,o,s;EH(),_y();const c=ww.detectInit(e);c&&(fw(c),ky(c));const u=vy();l.debug(u),e.length>((null==u?void 0:u.maxTextSize)??5e4)&&(e=LH),e=e.replace(/\r\n?/g,"\n");const h="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=ln("body");const w=u.securityLevel===DH,y=u.securityLevel===NH,m=u.fontFamily;if(void 0!==i){if(i&&(i.innerHTML=""),w){const t=nU(ln(i),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0;}else b=ln(i);eU(b,t,g,`font-family: ${m}`,BH);}else {if(iU(document,t,g,f),w){const t=nU(ln("body"),f);b=ln(t.nodes()[0].contentDocument.body),b.node().style.margin=0;}else b=ln("body");eU(b,t,g);}let v,x;e=WH(e);try{v=await CH(e);}catch(t){v=new SH("error"),x=t;}const k=b.select(p).node(),_=v.type,E=k.firstChild,T=E.firstChild,C=OH.includes(_)?v.renderer.getClasses(e,v):{},S=QH(u,_,C,h),A=document.createElement("style");A.innerHTML=S,E.insertBefore(A,T);try{await v.renderer.draw(e,t,cy,v);}catch(n){throw bH.draw(e,t,cy),n}sU(_,b.select(`${p} svg`),null==(a=(r=v.db).getAccTitle)?void 0:a.call(r),null==(s=(o=v.db).getAccDescription)?void 0:s.call(o)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns",RH);let M=b.select(p).node().innerHTML;if(l.debug("config.arrowMarkerAbsolute",u.arrowMarkerAbsolute),M=JH(M,w,qh(u.arrowMarkerAbsolute)),w){const t=b.select(p+" svg").node();M=tU(M,t);}else y||(M=Bh.sanitize(M,{ADD_TAGS:GH,ADD_ATTR:qH}));if(void 0!==n)switch(_){case"flowchart":case"flowchart-v2":n(M,nP.bindFunctions);break;case"gantt":n(M,vR.bindFunctions);break;case"class":case"classDiagram":n(M,Qx.bindFunctions);break;default:n(M);}else l.debug("CB = undefined!");zj();const I=ln(w?d:p).node();if(I&&"remove"in I&&I.remove(),x)throw x;return M};function oU(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables={fontFamily:t.fontFamily}),by(t),(null==t?void 0:t.theme)&&t.theme in Pf?t.themeVariables=Pf[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=Pf.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?py(t):yy();h(n.logLevel),EH();}function sU(t,e,n,i){MH(e,t),IH(e,n,i,e.attr("id"));}const cU=Object.freeze({render:rU,renderAsync:aU,parse:KH,parseAsync:YH,parseDirective:sm,initialize:oU,getConfig:vy,setConfig:my,getSiteConfig:yy,updateSiteConfig:wy,reset:()=>{_y();},globalReset:()=>{_y(uy);},defaultConfig:uy});h(vy().logLevel),_y(vy());const uU=async function(t,e,n){try{await dU(t,e,n);}catch(t){l.warn("Syntax Error rendering"),gw(t)&&l.warn(t.str),EU.parseError&&EU.parseError(t);}},lU=(t,e,n)=>{l.warn(t),gw(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}));},hU=function(e,n,i){const r=cU.getConfig();let a;if(e&&(EU.sequenceConfig=e),l.debug((i?"":"No ")+"Callback function found"),void 0===n)a=document.querySelectorAll(".mermaid");else if("string"==typeof n)a=document.querySelectorAll(n);else if(n instanceof HTMLElement)a=[n];else {if(!(n instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");a=n;}l.debug(`Found ${a.length} diagrams`),void 0!==(null==e?void 0:e.startOnLoad)&&(l.debug("Start On Load: "+(null==e?void 0:e.startOnLoad)),cU.updateSiteConfig({startOnLoad:null==e?void 0:e.startOnLoad}));const o=new ww.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const e of Array.from(a)){if(l.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const n=`mermaid-${o.next()}`;s=e.innerHTML,s=t(ww.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=ww.detectInit(s);r&&l.debug("Detected early reinit: ",r);try{cU.render(n,s,((t,r)=>{e.innerHTML=t,void 0!==i&&i(n),r&&r(e);}),e);}catch(t){lU(t,c,EU.parseError);}}if(c.length>0)throw c[0]},fU=async(...t)=>{l.debug(`Loading ${t.length} external diagrams`);const e=(await Promise.allSettled(t.map((async({id:t,detector:e,loader:n})=>{const{diagram:i}=await n();wm(t,i,e);})))).filter((t=>"rejected"===t.status));if(e.length>0){l.error(`Failed to load ${e.length} external diagrams`);for(const t of e)l.error(t);throw new Error(`Failed to load ${e.length} external diagrams`)}},dU=async function(e,n,i){const r=cU.getConfig();let a;if(e&&(EU.sequenceConfig=e),l.debug((i?"":"No ")+"Callback function found"),void 0===n)a=document.querySelectorAll(".mermaid");else if("string"==typeof n)a=document.querySelectorAll(n);else if(n instanceof HTMLElement)a=[n];else {if(!(n instanceof NodeList))throw new Error("Invalid argument nodes for mermaid.init");a=n;}l.debug(`Found ${a.length} diagrams`),void 0!==(null==e?void 0:e.startOnLoad)&&(l.debug("Start On Load: "+(null==e?void 0:e.startOnLoad)),cU.updateSiteConfig({startOnLoad:null==e?void 0:e.startOnLoad}));const o=new ww.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const e of Array.from(a)){if(l.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const n=`mermaid-${o.next()}`;s=e.innerHTML,s=t(ww.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=ww.detectInit(s);r&&l.debug("Detected early reinit: ",r);try{await cU.renderAsync(n,s,((t,r)=>{e.innerHTML=t,void 0!==i&&i(n),r&&r(e);}),e);}catch(t){lU(t,c,EU.parseError);}}if(c.length>0)throw c[0]},gU=function(t){cU.initialize(t);},pU=async(t,{lazyLoad:e=!0}={})=>{e?wp(...t):await fU(...t);},bU=function(){if(EU.startOnLoad){const{startOnLoad:t}=cU.getConfig();t&&EU.init().catch((t=>l.error("Mermaid failed to initialize",t)));}};"undefined"!=typeof document&&window.addEventListener("load",bU,!1);const wU=function(t){EU.parseError=t;},yU=t=>cU.parse(t,EU.parseError),mU=[];let vU=!1;const xU=async()=>{if(!vU){for(vU=!0;mU.length>0;){const t=mU.shift();if(t)try{await t();}catch(t){l.error("Error executing queue",t);}}vU=!1;}},kU=t=>new Promise(((e,n)=>{const i=()=>new Promise(((i,r)=>{cU.parseAsync(t,EU.parseError).then((t=>{i(t),e(t);}),(t=>{l.error("Error parsing",t),r(t),n(t);}));}));mU.push(i),xU().catch(n);})),_U=(t,e,n,i)=>new Promise(((r,a)=>{const o=()=>new Promise(((o,s)=>{cU.renderAsync(t,e,n,i).then((t=>{o(t),r(t);}),(t=>{l.error("Error parsing",t),s(t),a(t);}));}));mU.push(o),xU().catch(a);})),EU={startOnLoad:!0,diagrams:{},mermaidAPI:cU,parse:yU,parseAsync:kU,render:cU.render,renderAsync:_U,init:uU,initThrowsErrors:hU,initThrowsErrorsAsync:dU,registerExternalDiagrams:pU,initialize:gU,parseError:void 0,contentLoaded:bU,setParseErrorHandler:wU},TU=(t,e,n)=>{const{parentById:i}=n,r=new Set;let a=t;for(;a;){if(r.add(a),a===e)return a;a=i[a];}for(a=e;a;){if(r.has(a))return a;a=i[a];}return "root"};function CU(t){throw new Error('Could not dynamically require "'+t+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var SU={};!function(t,n){var i;i=function(){return function(){function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){var c="function"==typeof CU&&CU;if(!s&&c)return c(o,!0);if(a)return a(o,!0);var u=new Error("Cannot find module '"+o+"'");throw u.code="MODULE_NOT_FOUND",u}var l=n[o]={exports:{}};e[o][0].call(l.exports,(function(t){return r(e[o][1][t]||t)}),l,l.exports,t,e,n,i);}return n[o].exports}for(var a="function"==typeof CU&&CU,o=0;o<i.length;o++)r(i[o]);return r}return t}()({1:[function(t,e,n){Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(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]:{},i=n.defaultLayoutOptions,a=void 0===i?{}:i,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,l=n.workerUrl;if(r(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===l&&void 0===u)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=u;void 0!==l&&void 0===u&&(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:c}).then((function(t){return e.initialized=!0})).catch(console.err);}return i(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,i=void 0===n?this.defaultLayoutOptions:n,r=e.logging,a=void 0!==r&&r,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:i,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(r(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 i(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(i,r){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),r(t)):i(e);},n.worker.postMessage(t);}))}},{key:"receive",value:function(t,e){var n=e.data,i=t.resolvers[n.id];i&&(delete t.resolvers[n.id],n.error?i(n.error):i(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,n,i){(function(t){(function(){var e;function r(){}function a(){}function o(){}function s(){}function c(){}function u(){}function l(){}function h(){}function f(){}function d(){}function g(){}function p(){}function b(){}function w(){}function y(){}function m(){}function v(){}function x(){}function k(){}function _(){}function E(){}function T(){}function C(){}function S(){}function A(){}function M(){}function I(){}function O(){}function L(){}function D(){}function N(){}function P(){}function B(){}function R(){}function j(){}function $(){}function F(){}function z(){}function H(){}function U(){}function G(){}function q(){}function K(){}function Y(){}function W(){}function X(){}function V(){}function Z(){}function Q(){}function J(){}function tt(){}function et(){}function nt(){}function it(){}function rt(){}function at(){}function ot(){}function st(){}function ct(){}function ut(){}function lt(){}function ht(){}function ft(){}function dt(){}function gt(){}function pt(){}function bt(){}function wt(){}function yt(){}function mt(){}function vt(){}function xt(){}function kt(){}function _t(){}function Et(){}function Tt(){}function Ct(){}function St(){}function At(){}function Mt(){}function It(){}function Ot(){}function Lt(){}function Dt(){}function Nt(){}function Pt(){}function Bt(){}function Rt(){}function jt(){}function $t(){}function Ft(){}function zt(){}function Ht(){}function Ut(){}function Gt(){}function qt(){}function Kt(){}function Yt(){}function Wt(){}function Xt(){}function Vt(){}function Zt(){}function Qt(){}function Jt(){}function te(){}function ee(){}function ne(){}function ie(){}function re(){}function ae(){}function oe(){}function se(){}function ce(){}function ue(){}function le(){}function he(){}function fe(){}function de(){}function ge(){}function pe(){}function be(){}function we(){}function ye(){}function me(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ae(){}function Me(){}function Ie(){}function Oe(){}function Le(){}function De(){}function Ne(){}function Pe(){}function Be(){}function Re(){}function je(){}function $e(){}function Fe(){}function ze(){}function He(){}function Ue(){}function Ge(){}function qe(){}function Ke(){}function Ye(){}function We(){}function Xe(){}function Ve(){}function Ze(){}function Qe(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function un(){}function ln(){}function hn(){}function fn(){}function dn(){}function gn(){}function pn(){}function bn(){}function wn(){}function yn(){}function mn(){}function vn(){}function xn(){}function kn(){}function _n(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function An(){}function Mn(){}function In(){}function On(){}function Ln(){}function Dn(){}function Nn(){}function Pn(){}function Bn(){}function Rn(){}function jn(){}function $n(){}function Fn(){}function zn(){}function Hn(){}function Un(){}function Gn(){}function qn(){}function Kn(){}function Yn(){}function Wn(){}function Xn(){}function Vn(){}function Zn(){}function Qn(){}function Jn(){}function ti(){}function ei(){}function ni(){}function ii(){}function ri(){}function ai(){}function oi(){}function si(){}function ci(){}function ui(){}function li(){}function hi(){}function fi(){}function di(){}function gi(){}function pi(){}function bi(){}function wi(){}function yi(){}function mi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ai(){}function Mi(){}function Ii(){}function Oi(){}function Li(){}function Di(){}function Ni(){}function Pi(){}function Bi(){}function Ri(){}function ji(){}function $i(){}function Fi(){}function zi(){}function Hi(){}function Ui(){}function Gi(){}function qi(){}function Ki(){}function Yi(){}function Wi(){}function Xi(){}function Vi(){}function Zi(){}function Qi(){}function Ji(){}function tr(){}function er(){}function nr(){}function ir(){}function rr(){}function ar(){}function or(){}function sr(){}function cr(){}function ur(){}function lr(){}function hr(){}function fr(){}function dr(){}function gr(){}function pr(){}function br(){}function wr(){}function yr(){}function mr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ar(){}function Mr(){}function Ir(){}function Or(){}function Lr(){}function Dr(){}function Nr(){}function Pr(){}function Br(){}function Rr(){}function jr(){}function $r(){}function Fr(){}function zr(){}function Hr(){}function Ur(){}function Gr(){}function qr(){}function Kr(){}function Yr(){}function Wr(){}function Xr(){}function Vr(){}function Zr(){}function Qr(){}function Jr(){}function ta(){}function ea(){}function na(){}function ia(){}function ra(){}function aa(){}function oa(){}function sa(){}function ca(){}function ua(){}function la(){}function ha(){}function fa(){}function da(){}function ga(){}function pa(){}function ba(){}function wa(){}function ya(){}function ma(){}function va(){}function xa(){}function ka(){}function _a(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Aa(){}function Ma(){}function Ia(){}function Oa(){}function La(){}function Da(){}function Na(){}function Pa(){}function Ba(){}function Ra(){}function ja(){}function $a(){}function Fa(){}function za(){}function Ha(){}function Ua(){}function Ga(){}function qa(){}function Ka(){}function Ya(){}function Wa(){}function Xa(){}function Va(){}function Za(){}function Qa(){}function Ja(){}function to(){}function eo(){}function no(){}function io(){}function ro(){}function ao(){}function oo(){}function so(){}function co(){}function uo(){}function lo(){}function ho(){}function fo(){}function go(){}function po(){}function bo(){}function wo(){}function yo(){}function mo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Eo(){}function To(){}function Co(){}function So(){}function Ao(){}function Mo(){}function Io(){}function Oo(){}function Lo(){}function Do(){}function No(){}function Po(){}function Bo(){}function Ro(){}function jo(){}function $o(){}function Fo(){}function zo(){}function Ho(){}function Uo(){}function Go(){}function qo(){}function Ko(){}function Yo(){}function Wo(){}function Xo(){}function Vo(){}function Zo(){}function Qo(){}function Jo(){}function ts(){}function es(){}function ns(){}function is(){}function rs(){}function as(){}function os(){}function ss(){}function cs(){}function us(){}function ls(){}function hs(){}function fs(){}function ds(){}function gs(){}function ps(){}function bs(){}function ws(){}function ys(){}function ms(){}function vs(){}function xs(){}function ks(){}function _s(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function As(){}function Ms(){}function Is(){}function Os(){}function Ls(){}function Ds(){}function Ns(){}function Ps(){}function Bs(){}function Rs(){}function js(){}function $s(){}function Fs(){}function zs(){}function Hs(){}function Us(){}function Gs(){}function qs(){}function Ks(){}function Ys(){}function Ws(){}function Xs(){}function Vs(){}function Zs(){}function Qs(){}function Js(){}function tc(){}function ec(){}function nc(){}function ic(){}function rc(){}function ac(){}function oc(){}function sc(){}function cc(){}function uc(){}function lc(){}function hc(){}function fc(){}function dc(){}function gc(){}function pc(){}function bc(){}function wc(){}function yc(){}function mc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ac(){}function Mc(){}function Ic(){}function Oc(){}function Lc(){}function Dc(){}function Nc(){}function Pc(){}function Bc(){}function Rc(){}function jc(){}function $c(){}function Fc(){}function zc(){}function Hc(){}function Uc(){}function Gc(){}function qc(){}function Kc(){}function Yc(){}function Wc(){}function Xc(){}function Vc(){}function Zc(){}function Qc(){}function Jc(){}function tu(){}function eu(){}function nu(){}function iu(){}function ru(){}function au(){}function ou(){}function su(){}function cu(){}function uu(){}function lu(){}function hu(){}function fu(){}function du(){}function gu(){}function pu(){}function bu(){}function wu(){}function yu(){}function mu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Au(){}function Mu(){}function Iu(){}function Ou(){}function Lu(){}function Du(){}function Nu(){}function Pu(){}function Bu(){}function Ru(){}function ju(){}function $u(){}function Fu(){}function zu(){}function Hu(){}function Uu(){}function Gu(){}function qu(){}function Ku(){}function Yu(){}function Wu(){}function Xu(){}function Vu(){}function Zu(){}function Qu(){}function Ju(){}function tl(){}function el(){}function nl(){}function il(){}function rl(){}function al(){}function ol(){}function sl(){}function cl(){}function ul(){}function ll(){}function hl(){}function fl(){}function dl(){}function gl(){}function pl(){}function bl(){}function wl(){}function yl(){}function ml(){}function vl(){}function xl(){}function kl(){}function _l(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Al(){}function Ml(){}function Il(){}function Ol(){}function Ll(){}function Dl(){}function Nl(){}function Pl(){}function Bl(){}function Rl(){}function jl(){}function $l(){ev();}function Fl(){Uut();}function zl(){kwt();}function Hl(){jxt();}function Ul(){xCt();}function Gl(){lRt();}function ql(){Rvt();}function Kl(){ixt();}function Yl(){xT();}function Wl(){wT();}function Xl(){z$();}function Vl(){kT();}function Zl(){Art();}function Ql(){ET();}function Jl(){S6();}function th(){Cit();}function eh(){W8();}function nh(){RJ();}function ih(){Gut();}function rh(){jTt();}function ah(){Sit();}function oh(){G2();}function sh(){lWt();}function ch(){Uvt();}function uh(){jJ();}function lh(){zYt();}function hh(){PJ();}function fh(){Ait();}function dh(){Vst();}function gh(){HJ();}function ph(){C7();}function bh(){TT();}function wh(){ROt();}function yh(){qvt();}function mh(){$at();}function vh(){ETt();}function xh(){fRt();}function kh(){Fyt();}function _h(){SOt();}function Eh(){Bot();}function Th(){FJ();}function Ch(){c$t();}function Sh(){OOt();}function Ah(){YLt();}function Mh(){D7();}function Ih(){TTt();}function Oh(){cWt();}function Lh(){Kut();}function Dh(){wpt();}function Nh(){Hzt();}function Ph(){a$();}function Bh(){dat();}function Rh(){lFt();}function jh(t){mW(t);}function $h(t){this.a=t;}function Fh(t){this.a=t;}function zh(t){this.a=t;}function Hh(t){this.a=t;}function Uh(t){this.a=t;}function Gh(t){this.a=t;}function qh(t){this.a=t;}function Kh(t){this.a=t;}function Yh(t){this.a=t;}function Wh(t){this.a=t;}function Xh(t){this.a=t;}function Vh(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.b=t;}function cf(t){this.c=t;}function uf(t){this.a=t;}function lf(t){this.a=t;}function hf(t){this.a=t;}function ff(t){this.a=t;}function df(t){this.a=t;}function gf(t){this.a=t;}function pf(t){this.a=t;}function bf(t){this.a=t;}function wf(t){this.a=t;}function yf(t){this.a=t;}function mf(t){this.a=t;}function vf(t){this.a=t;}function xf(t){this.a=t;}function kf(t){this.a=t;}function _f(t){this.a=t;}function Ef(t){this.a=t;}function Tf(t){this.a=t;}function Cf(){this.a=[];}function Sf(t,e){t.a=e;}function Af(t,e){t.a=e;}function Mf(t,e){t.b=e;}function If(t,e){t.b=e;}function Of(t,e){t.b=e;}function Lf(t,e){t.j=e;}function Df(t,e){t.g=e;}function Nf(t,e){t.i=e;}function Pf(t,e){t.c=e;}function Bf(t,e){t.d=e;}function Rf(t,e){t.d=e;}function jf(t,e){t.c=e;}function $f(t,e){t.k=e;}function Ff(t,e){t.c=e;}function zf(t,e){t.c=e;}function Hf(t,e){t.a=e;}function Uf(t,e){t.a=e;}function Gf(t,e){t.f=e;}function qf(t,e){t.a=e;}function Kf(t,e){t.b=e;}function Yf(t,e){t.d=e;}function Wf(t,e){t.i=e;}function Xf(t,e){t.o=e;}function Vf(t,e){t.r=e;}function Zf(t,e){t.a=e;}function Qf(t,e){t.b=e;}function Jf(t,e){t.e=e;}function td(t,e){t.f=e;}function ed(t,e){t.g=e;}function nd(t,e){t.e=e;}function id(t,e){t.f=e;}function rd(t,e){t.f=e;}function ad(t,e){t.n=e;}function od(t,e){t.a=e;}function sd(t,e){t.a=e;}function cd(t,e){t.c=e;}function ud(t,e){t.c=e;}function ld(t,e){t.d=e;}function hd(t,e){t.e=e;}function fd(t,e){t.g=e;}function dd(t,e){t.a=e;}function gd(t,e){t.c=e;}function pd(t,e){t.d=e;}function bd(t,e){t.e=e;}function wd(t,e){t.f=e;}function yd(t,e){t.j=e;}function md(t,e){t.a=e;}function vd(t,e){t.b=e;}function xd(t,e){t.a=e;}function kd(t){t.b=t.a;}function _d(t){t.c=t.d.d;}function Ed(t){this.d=t;}function Td(t){this.a=t;}function Cd(t){this.a=t;}function Sd(t){this.a=t;}function Ad(t){this.a=t;}function Md(t){this.a=t;}function Id(t){this.a=t;}function Od(t){this.a=t;}function Ld(t){this.a=t;}function Dd(t){this.a=t;}function Nd(t){this.a=t;}function Pd(t){this.a=t;}function Bd(t){this.a=t;}function Rd(t){this.a=t;}function jd(t){this.a=t;}function $d(t){this.b=t;}function Fd(t){this.b=t;}function zd(t){this.b=t;}function Hd(t){this.a=t;}function Ud(t){this.a=t;}function Gd(t){this.a=t;}function qd(t){this.c=t;}function Kd(t){this.c=t;}function Yd(t){this.c=t;}function Wd(t){this.a=t;}function Xd(t){this.a=t;}function Vd(t){this.a=t;}function Zd(t){this.a=t;}function Qd(t){this.a=t;}function Jd(t){this.a=t;}function tg(t){this.a=t;}function eg(t){this.a=t;}function ng(t){this.a=t;}function ig(t){this.a=t;}function rg(t){this.a=t;}function ag(t){this.a=t;}function og(t){this.a=t;}function sg(t){this.a=t;}function cg(t){this.a=t;}function ug(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 gg(t){this.a=t;}function pg(t){this.a=t;}function bg(t){this.a=t;}function wg(t){this.a=t;}function yg(t){this.a=t;}function mg(t){this.a=t;}function vg(t){this.a=t;}function xg(t){this.a=t;}function kg(t){this.a=t;}function _g(t){this.a=t;}function Eg(t){this.a=t;}function Tg(t){this.a=t;}function Cg(t){this.a=t;}function Sg(t){this.a=t;}function Ag(t){this.a=t;}function Mg(t){this.a=t;}function Ig(t){this.a=t;}function Og(t){this.a=t;}function Lg(t){this.a=t;}function Dg(t){this.a=t;}function Ng(t){this.a=t;}function Pg(t){this.a=t;}function Bg(t){this.a=t;}function Rg(t){this.a=t;}function jg(t){this.a=t;}function $g(t){this.e=t;}function Fg(t){this.a=t;}function zg(t){this.a=t;}function Hg(t){this.a=t;}function Ug(t){this.a=t;}function Gg(t){this.a=t;}function qg(t){this.a=t;}function Kg(t){this.a=t;}function Yg(t){this.a=t;}function Wg(t){this.a=t;}function Xg(t){this.a=t;}function Vg(t){this.a=t;}function Zg(t){this.a=t;}function Qg(t){this.a=t;}function Jg(t){this.a=t;}function tp(t){this.a=t;}function ep(t){this.a=t;}function np(t){this.a=t;}function ip(t){this.a=t;}function rp(t){this.a=t;}function ap(t){this.a=t;}function op(t){this.a=t;}function sp(t){this.a=t;}function cp(t){this.a=t;}function up(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 gp(t){this.a=t;}function pp(t){this.a=t;}function bp(t){this.a=t;}function wp(t){this.a=t;}function yp(t){this.a=t;}function mp(t){this.a=t;}function vp(t){this.a=t;}function xp(t){this.a=t;}function kp(t){this.a=t;}function _p(t){this.a=t;}function Ep(t){this.a=t;}function Tp(t){this.a=t;}function Cp(t){this.a=t;}function Sp(t){this.a=t;}function Ap(t){this.a=t;}function Mp(t){this.a=t;}function Ip(t){this.a=t;}function Op(t){this.a=t;}function Lp(t){this.a=t;}function Dp(t){this.a=t;}function Np(t){this.a=t;}function Pp(t){this.a=t;}function Bp(t){this.a=t;}function Rp(t){this.a=t;}function jp(t){this.a=t;}function $p(t){this.c=t;}function Fp(t){this.b=t;}function zp(t){this.a=t;}function Hp(t){this.a=t;}function Up(t){this.a=t;}function Gp(t){this.a=t;}function qp(t){this.a=t;}function Kp(t){this.a=t;}function Yp(t){this.a=t;}function Wp(t){this.a=t;}function Xp(t){this.a=t;}function Vp(t){this.a=t;}function Zp(t){this.a=t;}function Qp(t){this.a=t;}function Jp(t){this.a=t;}function tb(t){this.a=t;}function eb(t){this.a=t;}function nb(t){this.a=t;}function ib(t){this.a=t;}function rb(t){this.a=t;}function ab(t){this.a=t;}function ob(t){this.a=t;}function sb(t){this.a=t;}function cb(t){this.a=t;}function ub(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 gb(t){this.a=t;}function pb(t){this.a=t;}function bb(t){this.a=t;}function wb(t){this.a=t;}function yb(t){this.a=t;}function mb(t){this.a=t;}function vb(t){this.a=t;}function xb(t){this.a=t;}function kb(t){this.a=t;}function _b(t){this.a=t;}function Eb(t){this.a=t;}function Tb(t){this.a=t;}function Cb(t){this.a=t;}function Sb(t){this.a=t;}function Ab(t){this.a=t;}function Mb(t){this.a=t;}function Ib(t){this.a=t;}function Ob(t){this.a=t;}function Lb(t){this.a=t;}function Db(t){this.a=t;}function Nb(t){this.a=t;}function Pb(t){this.a=t;}function Bb(t){this.a=t;}function Rb(t){this.a=t;}function jb(t){this.a=t;}function $b(t){this.a=t;}function Fb(t){this.a=t;}function zb(t){this.a=t;}function Hb(t){this.a=t;}function Ub(t){this.a=t;}function Gb(t){this.a=t;}function qb(t){this.a=t;}function Kb(t){this.a=t;}function Yb(t){this.a=t;}function Wb(t){this.a=t;}function Xb(t){this.a=t;}function Vb(t){this.a=t;}function Zb(t){this.a=t;}function Qb(t){this.a=t;}function Jb(t){this.a=t;}function tw(t){this.a=t;}function ew(t){this.a=t;}function nw(t){this.a=t;}function iw(t){this.a=t;}function rw(t){this.a=t;}function aw(t){this.b=t;}function ow(t){this.f=t;}function sw(t){this.a=t;}function cw(t){this.a=t;}function uw(t){this.a=t;}function lw(t){this.a=t;}function hw(t){this.a=t;}function fw(t){this.a=t;}function dw(t){this.a=t;}function gw(t){this.a=t;}function pw(t){this.a=t;}function bw(t){this.a=t;}function ww(t){this.a=t;}function yw(t){this.b=t;}function mw(t){this.c=t;}function vw(t){this.e=t;}function xw(t){this.a=t;}function kw(t){this.a=t;}function _w(t){this.a=t;}function Ew(t){this.a=t;}function Tw(t){this.a=t;}function Cw(t){this.d=t;}function Sw(t){this.a=t;}function Aw(t){this.a=t;}function Mw(t){this.e=t;}function Iw(){this.a=0;}function Ow(){NO(this);}function Lw(){DO(this);}function Dw(){IK(this);}function Nw(){fX(this);}function Pw(){}function Bw(){this.c=ILe;}function Rw(t,e){e.Wb(t);}function jw(t,e){t.b+=e;}function $w(t){t.b=new ox;}function Fw(t){return t.e}function zw(t){return t.a}function Hw(t){return t.a}function Uw(t){return t.a}function Gw(t){return t.a}function qw(t){return t.a}function Kw(){return null}function Yw(){return null}function Ww(){r_(),gYt();}function Xw(t){t.b.tf(t.e);}function Vw(t,e){t.b=e-t.b;}function Zw(t,e){t.a=e-t.a;}function Qw(t,e){e.ad(t.a);}function Jw(t,e){HAt(e,t);}function ty(t,e,n){t.Od(n,e);}function ey(t,e){t.e=e,e.b=t;}function ny(t){s$(),this.a=t;}function iy(t){s$(),this.a=t;}function ry(t){s$(),this.a=t;}function ay(t){KY(),this.a=t;}function oy(t){TZ(),eee.be(t);}function sy(){gN.call(this);}function cy(){gN.call(this);}function uy(){sy.call(this);}function ly(){sy.call(this);}function hy(){sy.call(this);}function fy(){sy.call(this);}function dy(){sy.call(this);}function gy(){sy.call(this);}function py(){sy.call(this);}function by(){sy.call(this);}function wy(){sy.call(this);}function yy(){sy.call(this);}function my(){sy.call(this);}function vy(){this.a=this;}function xy(){this.Bb|=256;}function ky(){this.b=new TI;}function _y(){_y=I,new Dw;}function Ey(){uy.call(this);}function Ty(t,e){t.length=e;}function Cy(t,e){Kz(t.a,e);}function Sy(t,e){qCt(t.c,e);}function Ay(t,e){kK(t.b,e);}function My(t,e){Ayt(t.a,e);}function Iy(t,e){Mft(t.a,e);}function Oy(t,e){fot(t.e,e);}function Ly(t){IIt(t.c,t.b);}function Dy(t,e){t.kc().Nb(e);}function Ny(t){this.a=pdt(t);}function Py(){this.a=new Dw;}function By(){this.a=new Dw;}function Ry(){this.a=new Lw;}function jy(){this.a=new Lw;}function $y(){this.a=new Lw;}function Fy(){this.a=new vt;}function zy(){this.a=new m6;}function Hy(){this.a=new fe;}function Uy(){this.a=new KE;}function Gy(){this.a=new N0;}function qy(){this.a=new iJ;}function Ky(){this.a=new MR;}function Yy(){this.a=new Lw;}function Wy(){this.a=new Lw;}function Xy(){this.a=new Lw;}function Vy(){this.a=new Lw;}function Zy(){this.d=new Lw;}function Qy(){this.a=new Py;}function Jy(){this.a=new Dw;}function tm(){this.b=new Dw;}function em(){this.b=new Lw;}function nm(){this.e=new Lw;}function im(){this.d=new Lw;}function rm(){this.a=new rh;}function am(){Lw.call(this);}function om(){Ry.call(this);}function sm(){LR.call(this);}function cm(){Wy.call(this);}function um(){lm.call(this);}function lm(){Pw.call(this);}function hm(){Pw.call(this);}function fm(){hm.call(this);}function dm(){dZ.call(this);}function gm(){dZ.call(this);}function pm(){Km.call(this);}function bm(){Km.call(this);}function wm(){Km.call(this);}function ym(){Ym.call(this);}function mm(){XE.call(this);}function vm(){ic.call(this);}function xm(){ic.call(this);}function km(){Qm.call(this);}function _m(){Qm.call(this);}function Em(){Dw.call(this);}function Tm(){Dw.call(this);}function Cm(){Dw.call(this);}function Sm(){Py.call(this);}function Am(){xit.call(this);}function Mm(){xy.call(this);}function Im(){AD.call(this);}function Om(){AD.call(this);}function Lm(){Dw.call(this);}function Dm(){Dw.call(this);}function Nm(){Dw.call(this);}function Pm(){vc.call(this);}function Bm(){vc.call(this);}function Rm(){Pm.call(this);}function jm(){Bl.call(this);}function $m(t){get.call(this,t);}function Fm(t){get.call(this,t);}function zm(t){Yh.call(this,t);}function Hm(t){_E.call(this,t);}function Um(t){Hm.call(this,t);}function Gm(t){_E.call(this,t);}function qm(){this.a=new XE;}function Km(){this.a=new Py;}function Ym(){this.a=new Dw;}function Wm(){this.a=new Lw;}function Xm(){this.j=new Lw;}function Vm(){this.a=new Wo;}function Zm(){this.a=new O_;}function Qm(){this.a=new mc;}function Jm(){Jm=I,jte=new Dx;}function tv(){tv=I,Rte=new Lx;}function ev(){ev=I,Mte=new a;}function nv(){nv=I,Gte=new iN;}function iv(t){Hm.call(this,t);}function rv(t){Hm.call(this,t);}function av(t){d4.call(this,t);}function ov(t){d4.call(this,t);}function sv(t){Yj.call(this,t);}function cv(t){mCt.call(this,t);}function uv(t){CE.call(this,t);}function lv(t){AE.call(this,t);}function hv(t){AE.call(this,t);}function fv(t){AE.call(this,t);}function dv(t){uq.call(this,t);}function gv(t){dv.call(this,t);}function pv(){Tf.call(this,{});}function bv(t){CD(),this.a=t;}function wv(t){t.b=null,t.c=0;}function yv(t,e){t.e=e,SPt(t,e);}function mv(t,e){t.a=e,aAt(t);}function vv(t,e,n){t.a[e.g]=n;}function xv(t,e,n){dkt(n,t,e);}function kv(t,e){ZR(e.i,t.n);}function _v(t,e){cut(t).td(e);}function Ev(t,e){return t*t/e}function Tv(t,e){return t.g-e.g}function Cv(t){return new Ef(t)}function Sv(t){return new HY(t)}function Av(t){dv.call(this,t);}function Mv(t){dv.call(this,t);}function Iv(t){dv.call(this,t);}function Ov(t){uq.call(this,t);}function Lv(t){jat(),this.a=t;}function Dv(t){r$(),this.a=t;}function Nv(t){jG(),this.f=t;}function Pv(t){jG(),this.f=t;}function Bv(t){dv.call(this,t);}function Rv(t){dv.call(this,t);}function jv(t){dv.call(this,t);}function $v(t){dv.call(this,t);}function Fv(t){dv.call(this,t);}function zv(t){return mW(t),t}function Hv(t){return mW(t),t}function Uv(t){return mW(t),t}function Gv(t){return mW(t),t}function qv(t){return mW(t),t}function Kv(t){return t.b==t.c}function Yv(t){return !!t&&t.b}function Wv(t){return !!t&&t.k}function Xv(t){return !!t&&t.j}function Vv(t){mW(t),this.a=t;}function Zv(t){return Qct(t),t}function Qv(t){bK(t,t.length);}function Jv(t){dv.call(this,t);}function tx(t){dv.call(this,t);}function ex(t){dv.call(this,t);}function nx(t){dv.call(this,t);}function ix(t){dv.call(this,t);}function rx(t){dv.call(this,t);}function ax(t){ZN.call(this,t,0);}function ox(){o1.call(this,12,3);}function sx(){sx=I,tee=new k;}function cx(){cx=I,Vte=new r;}function ux(){ux=I,iee=new b;}function lx(){lx=I,uee=new y;}function hx(){throw Fw(new py)}function fx(){throw Fw(new py)}function dx(){throw Fw(new py)}function gx(){throw Fw(new py)}function px(){throw Fw(new py)}function bx(){throw Fw(new py)}function wx(){this.a=EB(yY($Wt));}function yx(t){s$(),this.a=yY(t);}function mx(t,e){t.Td(e),e.Sd(t);}function vx(t,e){t.a.ec().Mc(e);}function xx(t,e,n){t.c.lf(e,n);}function kx(t){Mv.call(this,t);}function _x(t){Rv.call(this,t);}function Ex(){Md.call(this,"");}function Tx(){Md.call(this,"");}function Cx(){Md.call(this,"");}function Sx(){Md.call(this,"");}function Ax(t){Mv.call(this,t);}function Mx(t){Fd.call(this,t);}function Ix(t){hN.call(this,t);}function Ox(t){Mx.call(this,t);}function Lx(){Qh.call(this,null);}function Dx(){Qh.call(this,null);}function Nx(){Nx=I,TZ();}function Px(){Px=I,mne=y_t();}function Bx(t){return t.a?t.b:0}function Rx(t){return t.a?t.b:0}function jx(t,e){return t.a-e.a}function $x(t,e){return t.a-e.a}function Fx(t,e){return t.a-e.a}function zx(t,e){return w9(t,e)}function Hx(t,e){return gJ(t,e)}function Ux(t,e){return e in t.a}function Gx(t,e){return t.f=e,t}function qx(t,e){return t.b=e,t}function Kx(t,e){return t.c=e,t}function Yx(t,e){return t.g=e,t}function Wx(t,e){return t.a=e,t}function Xx(t,e){return t.f=e,t}function Vx(t,e){return t.k=e,t}function Zx(t,e){return t.a=e,t}function Qx(t,e){return t.e=e,t}function Jx(t,e){return t.e=e,t}function tk(t,e){return t.f=e,t}function ek(t,e){t.b=!0,t.d=e;}function nk(t,e){t.b=new fO(e);}function ik(t,e,n){e.td(t.a[n]);}function rk(t,e,n){e.we(t.a[n]);}function ak(t,e){return t.b-e.b}function ok(t,e){return t.g-e.g}function sk(t,e){return t.s-e.s}function ck(t,e){return t?0:e-1}function uk(t,e){return t?0:e-1}function lk(t,e){return t?e-1:0}function hk(t,e){return e.Yf(t)}function fk(t,e){return t.b=e,t}function dk(t,e){return t.a=e,t}function gk(t,e){return t.c=e,t}function pk(t,e){return t.d=e,t}function bk(t,e){return t.e=e,t}function wk(t,e){return t.f=e,t}function yk(t,e){return t.a=e,t}function mk(t,e){return t.b=e,t}function vk(t,e){return t.c=e,t}function xk(t,e){return t.c=e,t}function kk(t,e){return t.b=e,t}function _k(t,e){return t.d=e,t}function Ek(t,e){return t.e=e,t}function Tk(t,e){return t.f=e,t}function Ck(t,e){return t.g=e,t}function Sk(t,e){return t.a=e,t}function Ak(t,e){return t.i=e,t}function Mk(t,e){return t.j=e,t}function Ik(t,e){return t.k=e,t}function Ok(t,e){return t.j=e,t}function Lk(t,e){jTt(),CJ(e,t);}function Dk(t,e,n){HG(t.a,e,n);}function Nk(t){$X.call(this,t);}function Pk(t){$X.call(this,t);}function Bk(t){Qj.call(this,t);}function Rk(t){Hdt.call(this,t);}function jk(t){pet.call(this,t);}function $k(t){pV.call(this,t);}function Fk(t){pV.call(this,t);}function zk(){AL.call(this,"");}function Hk(){this.a=0,this.b=0;}function Uk(){this.b=0,this.a=0;}function Gk(t,e){t.b=0,Dnt(t,e);}function qk(t,e){t.c=e,t.b=!0;}function Kk(t,e){return t.c._b(e)}function Yk(t){return t.e&&t.e()}function Wk(t){return t?t.d:null}function Xk(t,e){return pht(t.b,e)}function Vk(t){return t?t.g:null}function Zk(t){return t?t.i:null}function Qk(t){return xB(t),t.o}function Jk(){Jk=I,dIe=Kxt();}function t_(){t_=I,gIe=sEt();}function e_(){e_=I,ZOe=Wxt();}function n_(){n_=I,fDe=Yxt();}function i_(){i_=I,dDe=nAt();}function r_(){r_=I,uOe=rit();}function a_(){throw Fw(new py)}function o_(){throw Fw(new py)}function s_(){throw Fw(new py)}function c_(){throw Fw(new py)}function u_(){throw Fw(new py)}function l_(){throw Fw(new py)}function h_(t){this.a=new qE(t);}function f_(t){hKt(),PYt(this,t);}function d_(t){this.a=new Kq(t);}function g_(t,e){for(;t.ye(e););}function p_(t,e){for(;t.sd(e););}function b_(t,e){return t.a+=e,t}function w_(t,e){return t.a+=e,t}function y_(t,e){return t.a+=e,t}function m_(t,e){return t.a+=e,t}function v_(t){return xW(t),t.a}function x_(t){return t.b!=t.d.c}function k_(t){return t.l|t.m<<22}function __(t,e){return t.d[e.p]}function E_(t,e){return TPt(t,e)}function T_(t,e,n){t.splice(e,n);}function C_(t){t.c?DBt(t):NBt(t);}function S_(t){this.a=0,this.b=t;}function A_(){this.a=new SNt(eke);}function M_(){this.b=new SNt(zve);}function I_(){this.b=new SNt(K_e);}function O_(){this.b=new SNt(K_e);}function L_(){throw Fw(new py)}function D_(){throw Fw(new py)}function N_(){throw Fw(new py)}function P_(){throw Fw(new py)}function B_(){throw Fw(new py)}function R_(){throw Fw(new py)}function j_(){throw Fw(new py)}function $_(){throw Fw(new py)}function F_(){throw Fw(new py)}function z_(){throw Fw(new py)}function H_(){throw Fw(new yy)}function U_(){throw Fw(new yy)}function G_(t){this.a=new q_(t);}function q_(t){Uit(this,t,M_t());}function K_(t){return !t||pW(t)}function Y_(t){return -1!=qDe[t]}function W_(){0!=ree&&(ree=0),oee=-1;}function X_(){null==CWt&&(CWt=[]);}function V_(t,e){tOt(WV(t.a),e);}function Z_(t,e){tOt(WV(t.a),e);}function Q_(t,e){FD.call(this,t,e);}function J_(t,e){Q_.call(this,t,e);}function tE(t,e){this.b=t,this.c=e;}function eE(t,e){this.b=t,this.a=e;}function nE(t,e){this.a=t,this.b=e;}function iE(t,e){this.a=t,this.b=e;}function rE(t,e){this.a=t,this.b=e;}function aE(t,e){this.a=t,this.b=e;}function oE(t,e){this.a=t,this.b=e;}function sE(t,e){this.a=t,this.b=e;}function cE(t,e){this.a=t,this.b=e;}function uE(t,e){this.a=t,this.b=e;}function lE(t,e){this.b=t,this.a=e;}function hE(t,e){this.b=t,this.a=e;}function fE(t,e){this.b=t,this.a=e;}function dE(t,e){this.b=t,this.a=e;}function gE(t,e){this.f=t,this.g=e;}function pE(t,e){this.e=t,this.d=e;}function bE(t,e){this.g=t,this.i=e;}function wE(t,e){this.a=t,this.b=e;}function yE(t,e){this.a=t,this.f=e;}function mE(t,e){this.b=t,this.c=e;}function vE(t,e){this.a=t,this.b=e;}function xE(t,e){this.a=t,this.b=e;}function kE(t,e){this.a=t,this.b=e;}function _E(t){rN(t.dc()),this.c=t;}function EE(t){this.b=$z(yY(t),83);}function TE(t){this.a=$z(yY(t),83);}function CE(t){this.a=$z(yY(t),15);}function SE(t){this.a=$z(yY(t),15);}function AE(t){this.b=$z(yY(t),47);}function ME(){this.q=new e.Date;}function IE(){IE=I,Fee=new O;}function OE(){OE=I,hne=new S;}function LE(t){return t.f.c+t.g.c}function DE(t,e){return t.b.Hc(e)}function NE(t,e){return t.b.Ic(e)}function PE(t,e){return t.b.Qc(e)}function BE(t,e){return t.b.Hc(e)}function RE(t,e){return t.c.uc(e)}function jE(t,e){return t.a._b(e)}function $E(t,e){return Dht(t.c,e)}function FE(t,e){return cK(t.b,e)}function zE(t,e){return t>e&&e<MXt}function HE(t,e){return t.Gc(e),t}function UE(t,e){return $rt(t,e),t}function GE(t){return qY(),t?cee:see}function qE(t){Jst.call(this,t,0);}function KE(){Kq.call(this,null);}function YE(){$8.call(this,null);}function WE(t){this.c=t,Mtt(this);}function XE(){TL(this),yV(this);}function VE(t,e){xW(t),t.a.Nb(e);}function ZE(t,e){return t.Gc(e),t}function QE(t,e){return t.a.f=e,t}function JE(t,e){return t.a.d=e,t}function tT(t,e){return t.a.g=e,t}function eT(t,e){return t.a.j=e,t}function nT(t,e){return t.a.a=e,t}function iT(t,e){return t.a.d=e,t}function rT(t,e){return t.a.e=e,t}function aT(t,e){return t.a.g=e,t}function oT(t,e){return t.a.f=e,t}function sT(t){return t.b=!1,t}function cT(){cT=I,Tne=new CI;}function uT(){uT=I,Cne=new SI;}function lT(){lT=I,Fne=new K;}function hT(){hT=I,bse=new Re;}function fT(){fT=I,nae=new SP;}function dT(){dT=I,Jne=new ut;}function gT(){gT=I,mse=new je;}function pT(){pT=I,sie=new gt;}function bT(){bT=I,Hoe=new me;}function wT(){wT=I,jse=new Hk;}function yT(){yT=I,Uoe=new Ce;}function mT(){mT=I,Yoe=new NG;}function vT(){vT=I,cse=new Ee;}function xT(){xT=I,$se=new dn;}function kT(){kT=I,Qce=new Zn;}function _T(){_T=I,fue=new Dr;}function ET(){ET=I,Wue=new ra;}function TT(){TT=I,Kxe=new $2;}function CT(){CT=I,q_e=new OT;}function ST(){ST=I,W_e=new bB;}function AT(){AT=I,HEe=new qW;}function MT(){MT=I,Kwe=new Xs;}function IT(){Tit(),this.c=new ox;}function OT(){gE.call(this,z1t,0);}function LT(t,e){Zbt(t.c.b,e.c,e);}function DT(t,e){Zbt(t.c.c,e.b,e);}function NT(t,e,n){wJ(t.d,e.f,n);}function PT(t,e,n,i){Zwt(t,i,e,n);}function BT(t,e,n,i){oNt(i,t,e,n);}function RT(t,e,n,i){sKt(i,t,e,n);}function jT(t,e){return t.a=e.g,t}function $T(t,e){return ext(t.a,e)}function FT(t){return t.b?t.b:t.a}function zT(t){return (t.c+t.a)/2}function HT(){HT=I,lIe=new nc;}function UT(){UT=I,CIe=new hc;}function GT(){GT=I,NOe=new Tm;}function qT(){qT=I,UOe=new Cm;}function KT(){KT=I,HOe=new Lm;}function YT(){YT=I,VOe=new Nm;}function WT(){WT=I,OLe=new UL;}function XT(){XT=I,LLe=new GL;}function VT(){VT=I,eDe=new Nu;}function ZT(){ZT=I,iDe=new Pu;}function QT(){QT=I,bOe=new Dw;}function JT(){JT=I,KLe=new Lw;}function tC(){tC=I,kNe=new jl;}function eC(t){e.clearTimeout(t);}function nC(t){this.a=$z(yY(t),224);}function iC(t){return $z(t,42).cd()}function rC(t){return t.b<t.d.gc()}function aC(t,e){return CG(t.a,e)}function oC(t,e){return Wlt(t,e)>0}function sC(t,e){return Wlt(t,e)<0}function cC(t,e){return t.a.get(e)}function uC(t,e){return e.split(t)}function lC(t,e){return cK(t.e,e)}function hC(t){return mW(t),!1}function fC(t){f1.call(this,t,21);}function dC(t,e){RQ.call(this,t,e);}function gC(t,e){gE.call(this,t,e);}function pC(t,e){gE.call(this,t,e);}function bC(t){YY(),Yj.call(this,t);}function wC(t,e){vG(t,t.length,e);}function yC(t,e){WK(t,t.length,e);}function mC(t,e,n){e.ud(t.a.Ge(n));}function vC(t,e,n){e.we(t.a.Fe(n));}function xC(t,e,n){e.td(t.a.Kb(n));}function kC(t,e,n){t.Mb(n)&&e.td(n);}function _C(t,e,n){t.splice(e,0,n);}function EC(t,e){return EN(t.e,e)}function TC(t,e){this.d=t,this.e=e;}function CC(t,e){this.b=t,this.a=e;}function SC(t,e){this.b=t,this.a=e;}function AC(t,e){this.b=t,this.a=e;}function MC(t,e){this.a=t,this.b=e;}function IC(t,e){this.a=t,this.b=e;}function OC(t,e){this.a=t,this.b=e;}function LC(t,e){this.a=t,this.b=e;}function DC(t,e){this.a=t,this.b=e;}function NC(t,e){this.b=t,this.a=e;}function PC(t,e){this.b=t,this.a=e;}function BC(t,e){gE.call(this,t,e);}function RC(t,e){gE.call(this,t,e);}function jC(t,e){gE.call(this,t,e);}function $C(t,e){gE.call(this,t,e);}function FC(t,e){gE.call(this,t,e);}function zC(t,e){gE.call(this,t,e);}function HC(t,e){gE.call(this,t,e);}function UC(t,e){gE.call(this,t,e);}function GC(t,e){gE.call(this,t,e);}function qC(t,e){gE.call(this,t,e);}function KC(t,e){gE.call(this,t,e);}function YC(t,e){gE.call(this,t,e);}function WC(t,e){gE.call(this,t,e);}function XC(t,e){gE.call(this,t,e);}function VC(t,e){gE.call(this,t,e);}function ZC(t,e){gE.call(this,t,e);}function QC(t,e){gE.call(this,t,e);}function JC(t,e){gE.call(this,t,e);}function tS(t,e){this.a=t,this.b=e;}function eS(t,e){this.a=t,this.b=e;}function nS(t,e){this.a=t,this.b=e;}function iS(t,e){this.a=t,this.b=e;}function rS(t,e){this.a=t,this.b=e;}function aS(t,e){this.a=t,this.b=e;}function oS(t,e){this.a=t,this.b=e;}function sS(t,e){this.a=t,this.b=e;}function cS(t,e){this.a=t,this.b=e;}function uS(t,e){this.b=t,this.a=e;}function lS(t,e){this.b=t,this.a=e;}function hS(t,e){this.b=t,this.a=e;}function fS(t,e){this.b=t,this.a=e;}function dS(t,e){this.c=t,this.d=e;}function gS(t,e){this.e=t,this.d=e;}function pS(t,e){this.a=t,this.b=e;}function bS(t,e){this.b=e,this.c=t;}function wS(t,e){gE.call(this,t,e);}function yS(t,e){gE.call(this,t,e);}function mS(t,e){gE.call(this,t,e);}function vS(t,e){gE.call(this,t,e);}function xS(t,e){gE.call(this,t,e);}function kS(t,e){gE.call(this,t,e);}function _S(t,e){gE.call(this,t,e);}function ES(t,e){gE.call(this,t,e);}function TS(t,e){gE.call(this,t,e);}function CS(t,e){gE.call(this,t,e);}function SS(t,e){gE.call(this,t,e);}function AS(t,e){gE.call(this,t,e);}function MS(t,e){gE.call(this,t,e);}function IS(t,e){gE.call(this,t,e);}function OS(t,e){gE.call(this,t,e);}function LS(t,e){gE.call(this,t,e);}function DS(t,e){gE.call(this,t,e);}function NS(t,e){gE.call(this,t,e);}function PS(t,e){gE.call(this,t,e);}function BS(t,e){gE.call(this,t,e);}function RS(t,e){gE.call(this,t,e);}function jS(t,e){gE.call(this,t,e);}function $S(t,e){gE.call(this,t,e);}function FS(t,e){gE.call(this,t,e);}function zS(t,e){gE.call(this,t,e);}function HS(t,e){gE.call(this,t,e);}function US(t,e){gE.call(this,t,e);}function GS(t,e){gE.call(this,t,e);}function qS(t,e){gE.call(this,t,e);}function KS(t,e){gE.call(this,t,e);}function YS(t,e){gE.call(this,t,e);}function WS(t,e){gE.call(this,t,e);}function XS(t,e){gE.call(this,t,e);}function VS(t,e){gE.call(this,t,e);}function ZS(t,e){this.b=t,this.a=e;}function QS(t,e){this.a=t,this.b=e;}function JS(t,e){this.a=t,this.b=e;}function tA(t,e){this.a=t,this.b=e;}function eA(t,e){this.a=t,this.b=e;}function nA(t,e){gE.call(this,t,e);}function iA(t,e){gE.call(this,t,e);}function rA(t,e){this.b=t,this.d=e;}function aA(t,e){gE.call(this,t,e);}function oA(t,e){gE.call(this,t,e);}function sA(t,e){this.a=t,this.b=e;}function cA(t,e){this.a=t,this.b=e;}function uA(t,e){gE.call(this,t,e);}function lA(t,e){gE.call(this,t,e);}function hA(t,e){gE.call(this,t,e);}function fA(t,e){gE.call(this,t,e);}function dA(t,e){gE.call(this,t,e);}function gA(t,e){gE.call(this,t,e);}function pA(t,e){gE.call(this,t,e);}function bA(t,e){gE.call(this,t,e);}function wA(t,e){gE.call(this,t,e);}function yA(t,e){gE.call(this,t,e);}function mA(t,e){gE.call(this,t,e);}function vA(t,e){gE.call(this,t,e);}function xA(t,e){gE.call(this,t,e);}function kA(t,e){gE.call(this,t,e);}function _A(t,e){gE.call(this,t,e);}function EA(t,e){gE.call(this,t,e);}function TA(t,e){return EN(t.c,e)}function CA(t,e){return EN(e.b,t)}function SA(t,e){return -t.b.Je(e)}function AA(t,e){return EN(t.g,e)}function MA(t,e){gE.call(this,t,e);}function IA(t,e){gE.call(this,t,e);}function OA(t,e){this.a=t,this.b=e;}function LA(t,e){this.a=t,this.b=e;}function DA(t,e){this.a=t,this.b=e;}function NA(t,e){gE.call(this,t,e);}function PA(t,e){gE.call(this,t,e);}function BA(t,e){gE.call(this,t,e);}function RA(t,e){gE.call(this,t,e);}function jA(t,e){gE.call(this,t,e);}function $A(t,e){gE.call(this,t,e);}function FA(t,e){gE.call(this,t,e);}function zA(t,e){gE.call(this,t,e);}function HA(t,e){gE.call(this,t,e);}function UA(t,e){gE.call(this,t,e);}function GA(t,e){gE.call(this,t,e);}function qA(t,e){gE.call(this,t,e);}function KA(t,e){gE.call(this,t,e);}function YA(t,e){gE.call(this,t,e);}function WA(t,e){gE.call(this,t,e);}function XA(t,e){gE.call(this,t,e);}function VA(t,e){this.a=t,this.b=e;}function ZA(t,e){this.a=t,this.b=e;}function QA(t,e){this.a=t,this.b=e;}function JA(t,e){this.a=t,this.b=e;}function tM(t,e){this.a=t,this.b=e;}function eM(t,e){this.a=t,this.b=e;}function nM(t,e){this.a=t,this.b=e;}function iM(t,e){gE.call(this,t,e);}function rM(t,e){this.a=t,this.b=e;}function aM(t,e){this.a=t,this.b=e;}function oM(t,e){this.a=t,this.b=e;}function sM(t,e){this.a=t,this.b=e;}function cM(t,e){this.a=t,this.b=e;}function uM(t,e){this.a=t,this.b=e;}function lM(t,e){this.b=t,this.a=e;}function hM(t,e){this.b=t,this.a=e;}function fM(t,e){this.b=t,this.a=e;}function dM(t,e){this.b=t,this.a=e;}function gM(t,e){this.a=t,this.b=e;}function pM(t,e){this.a=t,this.b=e;}function bM(t,e){ZDt(t.a,$z(e,56));}function wM(t,e){b9(t.a,$z(e,11));}function yM(t,e){return cH(),e!=t}function mM(){return Px(),new mne}function vM(){zJ(),this.b=new Py;}function xM(){gPt(),this.a=new Py;}function kM(){BJ(),BG.call(this);}function _M(t,e){gE.call(this,t,e);}function EM(t,e){this.a=t,this.b=e;}function TM(t,e){this.a=t,this.b=e;}function CM(t,e){this.a=t,this.b=e;}function SM(t,e){this.a=t,this.b=e;}function AM(t,e){this.a=t,this.b=e;}function MM(t,e){this.a=t,this.b=e;}function IM(t,e){this.d=t,this.b=e;}function OM(t,e){this.d=t,this.e=e;}function LM(t,e){this.f=t,this.c=e;}function DM(t,e){this.b=t,this.c=e;}function NM(t,e){this.i=t,this.g=e;}function PM(t,e){this.e=t,this.a=e;}function BM(t,e){this.a=t,this.b=e;}function RM(t,e){t.i=null,art(t,e);}function jM(t,e){t&&YW(aOe,t,e);}function $M(t,e){return ipt(t.a,e)}function FM(t){return apt(t.c,t.b)}function zM(t){return t?t.dd():null}function HM(t){return null==t?null:t}function UM(t){return typeof t===OWt}function GM(t){return typeof t===LWt}function qM(t){return typeof t===DWt}function KM(t,e){return t.Hd().Xb(e)}function YM(t,e){return Xat(t.Kc(),e)}function WM(t,e){return 0==Wlt(t,e)}function XM(t,e){return Wlt(t,e)>=0}function VM(t,e){return 0!=Wlt(t,e)}function ZM(t){return ""+(mW(t),t)}function QM(t,e){return t.substr(e)}function JM(t){return Gdt(t),t.d.gc()}function tI(t){return GIt(t,t.c),t}function eI(t){return VH(null==t),t}function nI(t,e){return t.a+=""+e,t}function iI(t,e){return t.a+=""+e,t}function rI(t,e){return t.a+=""+e,t}function aI(t,e){return t.a+=""+e,t}function oI(t,e){return t.a+=""+e,t}function sI(t,e){return t.a+=""+e,t}function cI(t,e){n5(t,e,t.a,t.a.a);}function uI(t,e){n5(t,e,t.c.b,t.c);}function lI(t,e,n){Rkt(e,BSt(t,n));}function hI(t,e,n){Rkt(e,BSt(t,n));}function fI(t,e){ktt(new MD(t),e);}function dI(t,e){t.q.setTime(v2(e));}function gI(t,e){Uq.call(this,t,e);}function pI(t,e){Uq.call(this,t,e);}function bI(t,e){Uq.call(this,t,e);}function wI(t){IK(this),_at(this,t);}function yI(t){return l1(t,0),null}function mI(t){return t.a=0,t.b=0,t}function vI(t,e){return t.a=e.g+1,t}function xI(t,e){return 2==t.j[e.p]}function kI(t){return sY($z(t,79))}function _I(){_I=I,Mre=hlt(twt());}function EI(){EI=I,Zce=hlt(kNt());}function TI(){this.b=new qE(tet(12));}function CI(){this.b=0,this.a=!1;}function SI(){this.b=0,this.a=!1;}function AI(t){this.a=t,$l.call(this);}function MI(t){this.a=t,$l.call(this);}function II(t,e){eR.call(this,t,e);}function OI(t,e){JR.call(this,t,e);}function LI(t,e){NM.call(this,t,e);}function DI(t,e){Iot.call(this,t,e);}function NI(t,e){WN.call(this,t,e);}function PI(t,e){QT(),YW(bOe,t,e);}function BI(t,e){return uP(t.a,0,e)}function RI(t,e){return t.a.a.a.cc(e)}function jI(t,e){return HM(t)===HM(e)}function $I(t,e){return Cft(t.a,e.a)}function FI(t,e){return xL(t.a,e.a)}function zI(t,e){return jK(t.a,e.a)}function HI(t,e){return t.indexOf(e)}function UI(t,e){return t==e?0:t?1:-1}function GI(t){return t<10?"0"+t:""+t}function qI(t){return yY(t),new AI(t)}function KI(t){return _L(t.l,t.m,t.h)}function YI(t){return CQ((mW(t),t))}function WI(t){return CQ((mW(t),t))}function XI(t,e){return xL(t.g,e.g)}function VI(t){return typeof t===LWt}function ZI(t){return t==Zoe||t==tse}function QI(t){return t==Zoe||t==Qoe}function JI(t){return x9(t.b.b,t,0)}function tO(t){this.a=mM(),this.b=t;}function eO(t){this.a=mM(),this.b=t;}function nO(t,e){return Kz(t.a,e),e}function iO(t,e){return Kz(t.c,e),t}function rO(t,e){return Zat(t.a,e),t}function aO(t,e){return H$(),e.a+=t}function oO(t,e){return H$(),e.a+=t}function sO(t,e){return H$(),e.c+=t}function cO(t,e){U7(t,0,t.length,e);}function uO(){tg.call(this,new b4);}function lO(){aG.call(this,0,0,0,0);}function hO(){GX.call(this,0,0,0,0);}function fO(t){this.a=t.a,this.b=t.b;}function dO(t){return t==RSe||t==jSe}function gO(t){return t==FSe||t==BSe}function pO(t){return t==uye||t==cye}function bO(t){return t!=WAe&&t!=XAe}function wO(t){return t.Lg()&&t.Mg()}function yO(t){return wX($z(t,118))}function mO(t){return Zat(new $2,t)}function vO(t,e){return new Iot(e,t)}function xO(t,e){return new Iot(e,t)}function kO(t,e,n){xnt(t,e),knt(t,n);}function _O(t,e,n){Tnt(t,e),Ent(t,n);}function EO(t,e,n){Cnt(t,e),Snt(t,n);}function TO(t,e,n){_nt(t,e),Mnt(t,n);}function CO(t,e,n){Ant(t,e),Int(t,n);}function SO(t,e){Put(t,e),Nnt(t,t.D);}function AO(t){LM.call(this,t,!0);}function MO(t,e,n){LB.call(this,t,e,n);}function IO(t){MBt(),cot.call(this,t);}function OO(){gC.call(this,"Head",1);}function LO(){gC.call(this,"Tail",3);}function DO(t){t.c=D8(Ite,zWt,1,0,5,1);}function NO(t){t.a=D8(Ite,zWt,1,8,5,1);}function PO(t){Met(t.xf(),new Eg(t));}function BO(t){return null!=t?Jct(t):0}function RO(t,e){return Set(e,KQ(t))}function jO(t,e){return Set(e,KQ(t))}function $O(t,e){return t[t.length]=e}function FO(t,e){return t[t.length]=e}function zO(t){return jz(t.b.Kc(),t.a)}function HO(t,e){return qit(TY(t.d),e)}function UO(t,e){return qit(TY(t.g),e)}function GO(t,e){return qit(TY(t.j),e)}function qO(t,e){eR.call(this,t.b,e);}function KO(t){aG.call(this,t,t,t,t);}function YO(t){return t.b&&Wzt(t),t.a}function WO(t){return t.b&&Wzt(t),t.c}function XO(t,e){Wne||(t.b=e);}function VO(t,e,n){return IY(t,e,n),n}function ZO(t,e,n){IY(t.c[e.g],e.g,n);}function QO(t,e,n){$z(t.c,69).Xh(e,n);}function JO(t,e,n){EO(n,n.i+t,n.j+e);}function tL(t,e){u7(r4(t.a),t1(e));}function eL(t,e){u7(F9(t.a),e1(e));}function nL(t){dWt(),Mw.call(this,t);}function iL(t){return null==t?0:Jct(t)}function rL(){rL=I,sve=new zdt(oAe);}function aL(){aL=I,new oL,new Lw;}function oL(){new Dw,new Dw,new Dw;}function sL(){sL=I,_y(),nee=new Dw;}function cL(){cL=I,e.Math.log(2);}function uL(){uL=I,UT(),NLe=CIe;}function lL(){throw Fw(new Jv(_te))}function hL(){throw Fw(new Jv(_te))}function fL(){throw Fw(new Jv(Ete))}function dL(){throw Fw(new Jv(Ete))}function gL(t){this.a=t,Wz.call(this,t);}function pL(t){this.a=t,EE.call(this,t);}function bL(t){this.a=t,EE.call(this,t);}function wL(t,e){yG(t.c,t.c.length,e);}function yL(t){return t.a<t.c.c.length}function mL(t){return t.a<t.c.a.length}function vL(t,e){return t.a?t.b:e.De()}function xL(t,e){return t<e?-1:t>e?1:0}function kL(t,e){return Wlt(t,e)>0?t:e}function _L(t,e,n){return {l:t,m:e,h:n}}function EL(t,e){null!=t.a&&wM(e,t.a);}function TL(t){t.a=new L,t.c=new L;}function CL(t){this.b=t,this.a=new Lw;}function SL(t){this.b=new ee,this.a=t;}function AL(t){OR.call(this),this.a=t;}function ML(){gC.call(this,"Range",2);}function IL(){tkt(),this.a=new SNt(Goe);}function OL(t,e){yY(e),xX(t).Jc(new d);}function LL(t,e){return $J(),e.n.b+=t}function DL(t,e,n){return YW(t.g,n,e)}function NL(t,e,n){return YW(t.k,n,e)}function PL(t,e){return YW(t.a,e.a,e)}function BL(t,e,n){return Apt(e,n,t.c)}function RL(t){return new DA(t.c,t.d)}function jL(t){return new DA(t.c,t.d)}function $L(t){return new DA(t.a,t.b)}function FL(t,e){return tqt(t.a,e,null)}function zL(t){EJ(t,null),_J(t,null);}function HL(t){KJ(t,null),YJ(t,null);}function UL(){WN.call(this,null,null);}function GL(){XN.call(this,null,null);}function qL(t){this.a=t,Dw.call(this);}function KL(t){this.b=(EV(),new qd(t));}function YL(t){t.j=D8($ee,cXt,310,0,0,1);}function WL(t,e,n){t.c.Vc(e,$z(n,133));}function XL(t,e,n){t.c.ji(e,$z(n,133));}function VL(t,e){cUt(t),t.Gc($z(e,15));}function ZL(t,e){return FUt(t.c,t.b,e)}function QL(t,e){return new pN(t.Kc(),e)}function JL(t,e){return -1!=$st(t.Kc(),e)}function tD(t,e){return null!=t.a.Bc(e)}function eD(t){return t.Ob()?t.Pb():null}function nD(t){return Fpt(t,0,t.length)}function iD(t,e){return null!=t&&Xwt(t,e)}function rD(t,e){t.q.setHours(e),hzt(t,e);}function aD(t,e){t.c&&(PH(e),mQ(e));}function oD(t,e,n){$z(t.Kb(n),164).Nb(e);}function sD(t,e,n){return zGt(t,e,n),n}function cD(t,e,n){t.a=1502^e,t.b=n^aZt;}function uD(t,e,n){return t.a[e.g][n.g]}function lD(t,e){return t.a[e.c.p][e.p]}function hD(t,e){return t.e[e.c.p][e.p]}function fD(t,e){return t.c[e.c.p][e.p]}function dD(t,e){return t.j[e.p]=bDt(e)}function gD(t,e){return u6(t.f,e.tg())}function pD(t,e){return u6(t.b,e.tg())}function bD(t,e){return t.a<qj(e)?-1:1}function wD(t,e,n){return n?0!=e:e!=t-1}function yD(t,e,n){return t.a=e,t.b=n,t}function mD(t,e){return t.a*=e,t.b*=e,t}function vD(t,e,n){return IY(t.g,e,n),n}function xD(t,e,n,i){IY(t.a[e.g],n.g,i);}function kD(t,e){RP(e,t.a.a.a,t.a.a.b);}function _D(t){t.a=$z(mot(t.b.a,4),126);}function ED(t){t.a=$z(mot(t.b.a,4),126);}function TD(t){AZ(t,n8t),zDt(t,AKt(t));}function CD(){CD=I,Ene=new bv(null);}function SD(){(SD=I)(),Ine=new q;}function AD(){this.Bb|=256,this.Bb|=512;}function MD(t){this.i=t,this.f=this.i.j;}function ID(t,e,n){yH.call(this,t,e,n);}function OD(t,e,n){ID.call(this,t,e,n);}function LD(t,e,n){ID.call(this,t,e,n);}function DD(t,e,n){OD.call(this,t,e,n);}function ND(t,e,n){yH.call(this,t,e,n);}function PD(t,e,n){yH.call(this,t,e,n);}function BD(t,e,n){_H.call(this,t,e,n);}function RD(t,e,n){_H.call(this,t,e,n);}function jD(t,e,n){BD.call(this,t,e,n);}function $D(t,e,n){ND.call(this,t,e,n);}function FD(t,e){this.a=t,EE.call(this,e);}function zD(t,e){this.a=t,ax.call(this,e);}function HD(t,e){this.a=t,ax.call(this,e);}function UD(t,e){this.a=t,ax.call(this,e);}function GD(t){this.a=t,cf.call(this,t.d);}function qD(t){this.c=t,this.a=this.c.a;}function KD(t,e){this.a=e,ax.call(this,t);}function YD(t,e){this.a=e,d4.call(this,t);}function WD(t,e){this.a=t,d4.call(this,e);}function XD(t,e){return fq(hq(t.c)).Xb(e)}function VD(t,e){return edt(t,new Cx,e).a}function ZD(t,e){return yY(e),new QD(t,e)}function QD(t,e){this.a=e,AE.call(this,t);}function JD(t){this.b=t,this.a=this.b.a.e;}function tN(t){t.b.Qb(),--t.d.f.d,IG(t.d);}function eN(t){Qh.call(this,$z(yY(t),35));}function nN(t){Qh.call(this,$z(yY(t),35));}function iN(){gE.call(this,"INSTANCE",0);}function rN(t){if(!t)throw Fw(new fy)}function aN(t){if(!t)throw Fw(new dy)}function oN(t){if(!t)throw Fw(new yy)}function sN(){sN=I,VT(),nDe=new Rh;}function cN(){cN=I,bee=!1,wee=!0;}function uN(t){Md.call(this,(mW(t),t));}function lN(t){Md.call(this,(mW(t),t));}function hN(t){Fd.call(this,t),this.a=t;}function fN(t){zd.call(this,t),this.a=t;}function dN(t){Mx.call(this,t),this.a=t;}function gN(){YL(this),vV(this),this._d();}function pN(t,e){this.a=e,AE.call(this,t);}function bN(t,e){return new RSt(t.a,t.b,e)}function wN(t,e){return t.lastIndexOf(e)}function yN(t,e,n){return t.indexOf(e,n)}function mN(t){return null==t?GWt:Fdt(t)}function vN(t){return null==t?null:t.name}function xN(t){return null!=t.a?t.a:null}function kN(t){return x_(t.a)?a1(t):null}function _N(t,e){return null!=IQ(t.a,e)}function EN(t,e){return !!e&&t.b[e.g]==e}function TN(t){return t.$H||(t.$H=++iie)}function CN(t){return t.l+t.m*AVt+t.h*MVt}function SN(t,e){return Kz(e.a,t.a),t.a}function AN(t,e){return Kz(e.b,t.a),t.a}function MN(t,e){return Kz(e.a,t.a),t.a}function IN(t){return TP(null!=t.a),t.a}function ON(t){tg.call(this,new z8(t));}function LN(t,e){Tbt.call(this,t,e,null);}function DN(t){this.a=t,$d.call(this,t);}function NN(){NN=I,Ore=new eR(gQt,0);}function PN(t,e){return ++t.b,Kz(t.a,e)}function BN(t,e){return ++t.b,y9(t.a,e)}function RN(t,e){return Cft(t.n.a,e.n.a)}function jN(t,e){return Cft(t.c.d,e.c.d)}function $N(t,e){return Cft(t.c.c,e.c.c)}function FN(t,e){return $z(c6(t.b,e),15)}function zN(t,e){return t.n.b=(mW(e),e)}function HN(t,e){return t.n.b=(mW(e),e)}function UN(t){return yL(t.a)||yL(t.b)}function GN(t,e,n){return p3(t,e,n,t.b)}function qN(t,e,n){return p3(t,e,n,t.c)}function KN(t,e,n){$z(N9(t,e),21).Fc(n);}function YN(t,e,n){Mft(t.a,n),Ayt(t.a,e);}function WN(t,e){WT(),this.a=t,this.b=e;}function XN(t,e){XT(),this.b=t,this.c=e;}function VN(t,e){jG(),this.f=e,this.d=t;}function ZN(t,e){f6(e,t),this.d=t,this.c=e;}function QN(t){var e;e=t.a,t.a=t.b,t.b=e;}function JN(t){return H$(),!!t&&!t.dc()}function tP(t){return new c4(3,t)}function eP(t,e){return new hj(t,t.gc(),e)}function nP(t){return nv(),Ctt((NJ(),Kte),t)}function iP(t){this.d=t,MD.call(this,t);}function rP(t){this.c=t,MD.call(this,t);}function aP(t){this.c=t,iP.call(this,t);}function oP(){_T(),this.b=new yp(this);}function sP(t){return hit(t,IXt),new V6(t)}function cP(t){return TZ(),parseInt(t)||-1}function uP(t,e,n){return t.substr(e,n-e)}function lP(t,e,n){return yN(t,VEt(e),n)}function hP(t){return YK(t.c,t.c.length)}function fP(t){return null!=t.f?t.f:""+t.g}function dP(t){return null!=t.f?t.f:""+t.g}function gP(t){return TP(0!=t.b),t.a.a.c}function pP(t){return TP(0!=t.b),t.c.b.c}function bP(t){iD(t,150)&&$z(t,150).Gh();}function wP(t){return t.b=$z(wV(t.a),42)}function yP(t){cT(),this.b=t,this.a=!0;}function mP(t){uT(),this.b=t,this.a=!0;}function vP(t){t.d=new CP(t),t.e=new Dw;}function xP(t){if(!t)throw Fw(new by)}function kP(t){if(!t)throw Fw(new fy)}function _P(t){if(!t)throw Fw(new dy)}function EP(t){if(!t)throw Fw(new ly)}function TP(t){if(!t)throw Fw(new yy)}function CP(t){Qz.call(this,t,null,null);}function SP(){gE.call(this,"POLYOMINO",0);}function AP(t,e,n,i){sq.call(this,t,e,n,i);}function MP(t,e){return jTt(),ZMt(t,e.e,e)}function IP(t,e,n){return MT(),n.qg(t,e)}function OP(t,e){return !!t.q&&cK(t.q,e)}function LP(t,e){return t>0?e*e/t:e*e*100}function DP(t,e){return t>0?e/(t*t):100*e}function NP(t,e,n){return Kz(e,sgt(t,n))}function PP(t,e,n){D7(),t.Xe(e)&&n.td(t);}function BP(t,e,n){t.Zc(e).Rb(n);}function RP(t,e,n){return t.a+=e,t.b+=n,t}function jP(t,e,n){return t.a*=e,t.b*=n,t}function $P(t,e,n){return t.a-=e,t.b-=n,t}function FP(t,e){return t.a=e.a,t.b=e.b,t}function zP(t){return t.a=-t.a,t.b=-t.b,t}function HP(t){this.c=t,this.a=1,this.b=1;}function UP(t){this.c=t,Cnt(t,0),Snt(t,0);}function GP(t){XE.call(this),Jnt(this,t);}function qP(t){BYt(),$w(this),this.mf(t);}function KP(t,e){WT(),WN.call(this,t,e);}function YP(t,e){XT(),XN.call(this,t,e);}function WP(t,e){XT(),XN.call(this,t,e);}function XP(t,e){XT(),YP.call(this,t,e);}function VP(t,e,n){y7.call(this,t,e,n,2);}function ZP(t,e){uL(),iG.call(this,t,e);}function QP(t,e){uL(),ZP.call(this,t,e);}function JP(t,e){uL(),ZP.call(this,t,e);}function tB(t,e){uL(),JP.call(this,t,e);}function eB(t,e){uL(),iG.call(this,t,e);}function nB(t,e){uL(),eB.call(this,t,e);}function iB(t,e){uL(),iG.call(this,t,e);}function rB(t,e){return t.c.Fc($z(e,133))}function aB(t,e,n){return DHt(j9(t,e),n)}function oB(t,e,n){return e.Qk(t.e,t.c,n)}function sB(t,e,n){return e.Rk(t.e,t.c,n)}function cB(t,e){return tht(t.e,$z(e,49))}function uB(t,e,n){cft(F9(t.a),e,e1(n));}function lB(t,e,n){cft(r4(t.a),e,t1(n));}function hB(t,e){e.$modCount=t.$modCount;}function fB(){fB=I,Yxe=new aw("root");}function dB(){dB=I,gOe=new km,new _m;}function gB(){this.a=new pQ,this.b=new pQ;}function pB(){xit.call(this),this.Bb|=FVt;}function bB(){gE.call(this,"GROW_TREE",0);}function wB(t){return null==t?null:dKt(t)}function yB(t){return null==t?null:LCt(t)}function mB(t){return null==t?null:Fdt(t)}function vB(t){return null==t?null:Fdt(t)}function xB(t){null==t.o&&pLt(t);}function kB(t){return VH(null==t||UM(t)),t}function _B(t){return VH(null==t||GM(t)),t}function EB(t){return VH(null==t||qM(t)),t}function TB(t){this.q=new e.Date(v2(t));}function CB(t,e){this.c=t,pE.call(this,t,e);}function SB(t,e){this.a=t,CB.call(this,t,e);}function AB(t,e){this.d=t,_d(this),this.b=e;}function MB(t,e){$8.call(this,t),this.a=e;}function IB(t,e){$8.call(this,t),this.a=e;}function OB(t){Hgt.call(this,0,0),this.f=t;}function LB(t,e,n){K6.call(this,t,e,n,null);}function DB(t,e,n){K6.call(this,t,e,n,null);}function NB(t,e,n){return t.ue(e,n)<=0?n:e}function PB(t,e,n){return t.ue(e,n)<=0?e:n}function BB(t,e){return $z(ltt(t.b,e),149)}function RB(t,e){return $z(ltt(t.c,e),229)}function jB(t){return $z(DU(t.a,t.b),287)}function $B(t){return new DA(t.c,t.d+t.a)}function FB(t){return $J(),pO($z(t,197))}function zB(){zB=I,Ire=Jft((ypt(),RMe));}function HB(t,e){e.a?$Pt(t,e):_N(t.a,e.b);}function UB(t,e){Wne||Kz(t.a,e);}function GB(t,e){return wT(),dot(e.d.i,t)}function qB(t,e){return Art(),new rjt(e,t)}function KB(t,e){return AZ(e,oQt),t.f=e,t}function YB(t,e,n){return n=_$t(t,e,3,n)}function WB(t,e,n){return n=_$t(t,e,6,n)}function XB(t,e,n){return n=_$t(t,e,9,n)}function VB(t,e,n){++t.j,t.Ki(),O8(t,e,n);}function ZB(t,e,n){++t.j,t.Hi(e,t.oi(e,n));}function QB(t,e,n){t.Zc(e).Rb(n);}function JB(t,e,n){return Qzt(t.c,t.b,e,n)}function tR(t,e){return (e&PWt)%t.d.length}function eR(t,e){aw.call(this,t),this.a=e;}function nR(t,e){mw.call(this,t),this.a=e;}function iR(t,e){mw.call(this,t),this.a=e;}function rR(t,e){this.c=t,pet.call(this,e);}function aR(t,e){this.a=t,yw.call(this,e);}function oR(t,e){this.a=t,yw.call(this,e);}function sR(t){this.a=(hit(t,IXt),new V6(t));}function cR(t){this.a=(hit(t,IXt),new V6(t));}function uR(t){return !t.a&&(t.a=new g),t.a}function lR(t){return t>8?0:t+1}function hR(t,e){return cN(),t==e?0:t?1:-1}function fR(t,e,n){return wG(t,$z(e,22),n)}function dR(t,e,n){return t.apply(e,n)}function gR(t,e,n){return t.a+=Fpt(e,0,n),t}function pR(t,e){var n;return n=t.e,t.e=e,n}function bR(t,e){t[nZt].call(t,e);}function wR(t,e){t[nZt].call(t,e);}function yR(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1;}function mR(t){IK(t.e),t.d.b=t.d,t.d.a=t.d;}function vR(t){t.b?vR(t.b):t.f.c.zc(t.e,t.d);}function xR(t,e,n){dT(),Sf(t,e.Ce(t.a,n));}function kR(t,e){return Wk(Ept(t.a,e,!0))}function _R(t,e){return Wk(Tpt(t.a,e,!0))}function ER(t,e){return zx(new Array(e),t)}function TR(t){return String.fromCharCode(t)}function CR(t){return null==t?null:t.message}function SR(){this.a=new Lw,this.b=new Lw;}function AR(){this.a=new fe,this.b=new ky;}function MR(){this.b=new Hk,this.c=new Lw;}function IR(){this.d=new Hk,this.e=new Hk;}function OR(){this.n=new Hk,this.o=new Hk;}function LR(){this.n=new hm,this.i=new hO;}function DR(){this.a=new Ql,this.b=new sa;}function NR(){this.a=new Lw,this.d=new Lw;}function PR(){this.b=new Py,this.a=new Py;}function BR(){this.b=new Dw,this.a=new Dw;}function RR(){this.b=new M_,this.a=new bo;}function jR(){LR.call(this),this.a=new Hk;}function $R(t){Mot.call(this,t,(Z7(),Lne));}function FR(t,e,n,i){aG.call(this,t,e,n,i);}function zR(t,e,n){null!=n&&Lit(e,Imt(t,n));}function HR(t,e,n){null!=n&&Dit(e,Imt(t,n));}function UR(t,e,n){return n=_$t(t,e,11,n)}function GR(t,e){return t.a+=e.a,t.b+=e.b,t}function qR(t,e){return t.a-=e.a,t.b-=e.b,t}function KR(t,e){return t.n.a=(mW(e),e+10)}function YR(t,e){return t.n.a=(mW(e),e+10)}function WR(t,e){return e==t||Tkt(SDt(e),t)}function XR(t,e){return null==YW(t.a,e,"")}function VR(t,e){return wT(),!dot(e.d.i,t)}function ZR(t,e){dO(t.f)?rLt(t,e):AEt(t,e);}function QR(t,e){return e.Hh(t.a)}function JR(t,e){Mv.call(this,e7t+t+s8t+e);}function tj(t,e,n,i){tK.call(this,t,e,n,i);}function ej(t,e,n,i){tK.call(this,t,e,n,i);}function nj(t,e,n,i){ej.call(this,t,e,n,i);}function ij(t,e,n,i){eK.call(this,t,e,n,i);}function rj(t,e,n,i){eK.call(this,t,e,n,i);}function aj(t,e,n,i){eK.call(this,t,e,n,i);}function oj(t,e,n,i){rj.call(this,t,e,n,i);}function sj(t,e,n,i){rj.call(this,t,e,n,i);}function cj(t,e,n,i){aj.call(this,t,e,n,i);}function uj(t,e,n,i){sj.call(this,t,e,n,i);}function lj(t,e,n,i){Zq.call(this,t,e,n,i);}function hj(t,e,n){this.a=t,ZN.call(this,e,n);}function fj(t,e,n){this.c=e,this.b=n,this.a=t;}function dj(t,e,n){return t.d=$z(e.Kb(n),164)}function gj(t,e){return t.Aj().Nh().Kh(t,e)}function pj(t,e){return t.Aj().Nh().Ih(t,e)}function bj(t,e){return mW(t),HM(t)===HM(e)}function wj(t,e){return mW(t),HM(t)===HM(e)}function yj(t,e){return Wk(Ept(t.a,e,!1))}function mj(t,e){return Wk(Tpt(t.a,e,!1))}function vj(t,e){return t.b.sd(new IC(t,e))}function xj(t,e){return t.b.sd(new OC(t,e))}function kj(t,e){return t.b.sd(new LC(t,e))}function _j(t,e,n){return t.lastIndexOf(e,n)}function Ej(t,e,n){return Cft(t[e.b],t[n.b])}function Tj(t,e){return uct(e,(zYt(),Ppe),t)}function Cj(t,e){return xL(e.a.d.p,t.a.d.p)}function Sj(t,e){return xL(t.a.d.p,e.a.d.p)}function Aj(t,e){return Cft(t.c-t.s,e.c-e.s)}function Mj(t){return t.c?x9(t.c.a,t,0):-1}function Ij(t){return t<100?null:new jk(t)}function Oj(t){return t==GAe||t==KAe||t==qAe}function Lj(t,e){return iD(e,15)&&XBt(t.c,e)}function Dj(t,e){Wne||e&&(t.d=e);}function Nj(t,e){return !!hut(t,e)}function Pj(t,e){this.c=t,HK.call(this,t,e);}function Bj(t){this.c=t,bI.call(this,fXt,0);}function Rj(t,e){Vz.call(this,t,t.length,e);}function jj(t,e,n){return $z(t.c,69).lk(e,n)}function $j(t,e,n){return $z(t.c,69).mk(e,n)}function Fj(t,e,n){return oB(t,$z(e,332),n)}function zj(t,e,n){return sB(t,$z(e,332),n)}function Hj(t,e,n){return A_t(t,$z(e,332),n)}function Uj(t,e,n){return XEt(t,$z(e,332),n)}function Gj(t,e){return null==e?null:hht(t.b,e)}function qj(t){return GM(t)?(mW(t),t):t.ke()}function Kj(t){return !isNaN(t)&&!isFinite(t)}function Yj(t){s$(),this.a=(EV(),new Mx(t));}function Wj(t){cH(),this.d=t,this.a=new Ow;}function Xj(t,e,n){this.a=t,this.b=e,this.c=n;}function Vj(t,e,n){this.a=t,this.b=e,this.c=n;}function Zj(t,e,n){this.d=t,this.b=n,this.a=e;}function Qj(t){TL(this),yV(this),$rt(this,t);}function Jj(t){DO(this),Jz(this.c,0,t.Pc());}function t$(t){uW(t.a),U8(t.c,t.b),t.b=null;}function e$(t){this.a=t,IE(),lot(Date.now());}function n$(){n$=I,eie=new r,nie=new r;}function i$(){i$=I,kne=new D,_ne=new N;}function r$(){r$=I,hOe=D8(Ite,zWt,1,0,5,1);}function a$(){a$=I,kLe=D8(Ite,zWt,1,0,5,1);}function o$(){o$=I,_Le=D8(Ite,zWt,1,0,5,1);}function s$(){s$=I,new ny((EV(),EV(),cne));}function c$(t){return Z7(),Ctt((Q7(),Rne),t)}function u$(t){return Hut(),Ctt((t8(),Zne),t)}function l$(t){return uwt(),Ctt((S4(),pie),t)}function h$(t){return Ptt(),Ctt((A4(),mie),t)}function f$(t){return tRt(),Ctt((Not(),jie),t)}function d$(t){return Pet(),Ctt((Z6(),Kie),t)}function g$(t){return V7(),Ctt((Q6(),Jie),t)}function p$(t){return H9(),Ctt((J6(),are),t)}function b$(t){return gWt(),Ctt((_I(),Mre),t)}function w$(t){return Pot(),Ctt((t9(),Rre),t)}function y$(t){return zwt(),Ctt((e9(),Ure),t)}function m$(t){return Hwt(),Ctt((n9(),eae),t)}function v$(t){return fT(),Ctt((W2(),rae),t)}function x$(t){return Btt(),Ctt((M4(),Rae),t)}function k$(t){return z9(),Ctt((e8(),Ooe),t)}function _$(t){return mTt(),Ctt((qtt(),zoe),t)}function E$(t){return Ist(),Ctt((J7(),nse),t)}function T$(t){return Fht(),Ctt((n8(),gse),t)}function C$(t,e){if(!t)throw Fw(new Rv(e))}function S$(t){return oCt(),Ctt((unt(),Mse),t)}function A$(t){aG.call(this,t.d,t.c,t.a,t.b);}function M$(t){aG.call(this,t.d,t.c,t.a,t.b);}function I$(t,e,n){this.b=t,this.c=e,this.a=n;}function O$(t,e,n){this.b=t,this.a=e,this.c=n;}function L$(t,e,n){this.a=t,this.b=e,this.c=n;}function D$(t,e,n){this.a=t,this.b=e,this.c=n;}function N$(t,e,n){this.a=t,this.b=e,this.c=n;}function P$(t,e,n){this.a=t,this.b=e,this.c=n;}function B$(t,e,n){this.b=t,this.a=e,this.c=n;}function R$(t,e,n){this.e=e,this.b=t,this.d=n;}function j$(t,e,n){return dT(),t.a.Od(e,n),e}function $$(t){var e;return (e=new xt).e=t,e}function F$(t){var e;return (e=new Zy).b=t,e}function z$(){z$=I,Gse=new Nn,qse=new Pn;}function H$(){H$=I,due=new yr,gue=new mr;}function U$(t){return Ast(),Ctt((r9(),oue),t)}function G$(t){return Mst(),Ctt((o9(),xue),t)}function q$(t){return vBt(),Ctt((Uat(),Yue),t)}function K$(t){return OSt(),Ctt((fnt(),nle),t)}function Y$(t){return Y8(),Ctt((P4(),ole),t)}function W$(t){return Mit(),Ctt((i8(),hle),t)}function X$(t){return L_t(),Ctt((Ftt(),Aue),t)}function V$(t){return Srt(),Ctt((o8(),Rue),t)}function Z$(t){return oit(),Ctt((r8(),ble),t)}function Q$(t){return Wyt(),Ctt((jtt(),_le),t)}function J$(t){return Rtt(),Ctt((O4(),Sle),t)}function tF(t){return Zst(),Ctt((a8(),Lle),t)}function eF(t){return pCt(),Ctt((bnt(),Fle),t)}function nF(t){return g9(),Ctt((L4(),Gle),t)}function iF(t){return Fkt(),Ctt((gnt(),Qle),t)}function rF(t){return ZTt(),Ctt((dnt(),ohe),t)}function aF(t){return fBt(),Ctt((Wst(),yhe),t)}function oF(t){return Rot(),Ctt((c8(),_he),t)}function sF(t){return U9(),Ctt((s8(),Ahe),t)}function cF(t){return U2(),Ctt((B4(),Lhe),t)}function uF(t){return _dt(),Ctt((ztt(),Ufe),t)}function lF(t){return _Et(),Ctt((pnt(),nye),t)}function hF(t){return Elt(),Ctt((u8(),sye),t)}function fF(t){return fyt(),Ctt((s9(),dye),t)}function dF(t){return ait(),Ctt((f8(),Gye),t)}function gF(t){return cNt(),Ctt((Hat(),Iye),t)}function pF(t){return yct(),Ctt((h8(),Pye),t)}function bF(t){return G9(),Ctt((N4(),$ye),t)}function wF(t){return zat(),Ctt((l8(),Xye),t)}function yF(t){return Dyt(),Ctt(($tt(),vye),t)}function mF(t){return M6(),Ctt((D4(),Jye),t)}function vF(t){return qut(),Ctt((g8(),rme),t)}function xF(t){return gat(),Ctt((p8(),ume),t)}function kF(t){return Ost(),Ctt((d8(),gme),t)}function _F(t){return sit(),Ctt((b8(),Lme),t)}function EF(t){return W4(),Ctt((j4(),Hme),t)}function TF(t){return gQ(),Ctt(($4(),eve),t)}function CF(t){return oJ(),Ctt((F4(),ave),t)}function SF(t){return A6(),Ctt((R4(),Tve),t)}function AF(t){return dQ(),Ctt((z4(),Nve),t)}function MF(t){return Gvt(),Ctt((i9(),Fve),t)}function IF(t){return PSt(),Ctt((wnt(),Vve),t)}function OF(t){return sJ(),Ctt((G4(),jxe),t)}function LF(t){return Crt(),Ctt((U4(),Zxe),t)}function DF(t){return $0(),Ctt((H4(),Hxe),t)}function NF(t){return Sdt(),Ctt((w8(),nke),t)}function PF(t){return N7(),Ctt((q4(),oke),t)}function BF(t){return zut(),Ctt((y8(),hke),t)}function RF(t){return Mmt(),Ctt((a9(),Uke),t)}function jF(t){return Fat(),Ctt((v8(),Wke),t)}function $F(t){return Tdt(),Ctt((m8(),t_e),t)}function FF(t){return VDt(),Ctt((Gtt(),$_e),t)}function zF(t){return Cdt(),Ctt((x8(),G_e),t)}function HF(t){return CT(),Ctt((K2(),Y_e),t)}function UF(t){return ST(),Ctt((q2(),V_e),t)}function GF(t){return I6(),Ctt((Y4(),tEe),t)}function qF(t){return OCt(),Ctt((Htt(),sEe),t)}function KF(t){return AT(),Ctt((Y2(),GEe),t)}function YF(t){return Lst(),Ctt((K4(),WEe),t)}function WF(t){return iwt(),Ctt((Utt(),hTe),t)}function XF(t){return CSt(),Ctt((Gat(),xTe),t)}function VF(t){return dyt(),Ctt((hnt(),DTe),t)}function ZF(t){return d_t(),Ctt((lnt(),JTe),t)}function QF(t){return hWt(),Ctt((EI(),Zce),t)}function JF(t){return Trt(),Ctt((I4(),Use),t)}function tz(t){return $ht(),Ctt((Ktt(),HSe),t)}function ez(t){return Bet(),Ctt((_8(),YSe),t)}function nz(t){return Edt(),Ctt((l9(),JSe),t)}function iz(t){return JEt(),Ctt((mnt(),sAe),t)}function rz(t){return oht(),Ctt((k8(),mAe),t)}function az(t){return Kvt(),Ctt((u9(),TAe),t)}function oz(t){return JOt(),Ctt((Dot(),BAe),t)}function sz(t){return rwt(),Ctt((Ytt(),UAe),t)}function cz(t){return X_t(),Ctt((zet(),ZAe),t)}function uz(t){return hMt(),Ctt((ynt(),aMe),t)}function lz(t){return ypt(),Ctt((f9(),$Me),t)}function hz(t){return Jjt(),Ctt((Xst(),VMe),t)}function fz(t){return vKt(),Ctt((Wtt(),AMe),t)}function dz(t){return $gt(),Ctt((h9(),nIe),t)}function gz(t){return Fut(),Ctt((c9(),uIe),t)}function pz(t){return uOt(),Ctt((qat(),nOe),t)}function bz(t,e){return mW(t),t+(mW(e),e)}function wz(t,e){return IE(),u7(WV(t.a),e)}function yz(t,e){return IE(),u7(WV(t.a),e)}function mz(t,e){this.c=t,this.a=e,this.b=e-t;}function vz(t,e,n){this.a=t,this.b=e,this.c=n;}function xz(t,e,n){this.a=t,this.b=e,this.c=n;}function kz(t,e,n){this.a=t,this.b=e,this.c=n;}function _z(t,e,n){this.a=t,this.b=e,this.c=n;}function Ez(t,e,n){this.a=t,this.b=e,this.c=n;}function Tz(t,e,n){this.e=t,this.a=e,this.c=n;}function Cz(t,e,n){uL(),wQ.call(this,t,e,n);}function Sz(t,e,n){uL(),nW.call(this,t,e,n);}function Az(t,e,n){uL(),nW.call(this,t,e,n);}function Mz(t,e,n){uL(),nW.call(this,t,e,n);}function Iz(t,e,n){uL(),Sz.call(this,t,e,n);}function Oz(t,e,n){uL(),Sz.call(this,t,e,n);}function Lz(t,e,n){uL(),Oz.call(this,t,e,n);}function Dz(t,e,n){uL(),Az.call(this,t,e,n);}function Nz(t,e,n){uL(),Mz.call(this,t,e,n);}function Pz(t,e){return yY(t),yY(e),new cE(t,e)}function Bz(t,e){return yY(t),yY(e),new RH(t,e)}function Rz(t,e){return yY(t),yY(e),new jH(t,e)}function jz(t,e){return yY(t),yY(e),new lE(t,e)}function $z(t,e){return VH(null==t||Xwt(t,e)),t}function Fz(t){var e;return utt(e=new Lw,t),e}function zz(t){var e;return utt(e=new Py,t),e}function Hz(t){var e;return Hrt(e=new Uy,t),e}function Uz(t){var e;return Hrt(e=new XE,t),e}function Gz(t){return !t.e&&(t.e=new Lw),t.e}function qz(t){return !t.c&&(t.c=new zc),t.c}function Kz(t,e){return t.c[t.c.length]=e,!0}function Yz(t,e){this.c=t,this.b=e,this.a=!1;}function Wz(t){this.d=t,_d(this),this.b=nq(t.d);}function Xz(){this.a=";,;",this.b="",this.c="";}function Vz(t,e,n){Gq.call(this,e,n),this.a=t;}function Zz(t,e,n){this.b=t,gI.call(this,e,n);}function Qz(t,e,n){this.c=t,TC.call(this,e,n);}function Jz(t,e,n){jAt(n,0,t,e,n.length,!1);}function tH(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r;}function eH(t,e){e&&(t.b=e,t.a=(xW(e),e.a));}function nH(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r;}function iH(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e;}function rH(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n;}function aH(t){return oot(DK(VI(t)?Cot(t):t))}function oH(t,e){return xL(oU(t.d),oU(e.d))}function sH(t,e){return e==(vKt(),CMe)?t.c:t.d}function cH(){cH=I,vKt(),Pme=CMe,Bme=oMe;}function uH(){this.b=Hv(_B(ywt((lRt(),roe))));}function lH(t){return dT(),D8(Ite,zWt,1,t,5,1)}function hH(t){return new DA(t.c+t.b,t.d+t.a)}function fH(t,e){return ET(),xL(t.d.p,e.d.p)}function dH(t){return TP(0!=t.b),Iet(t,t.a.a)}function gH(t){return TP(0!=t.b),Iet(t,t.c.b)}function pH(t,e){if(!t)throw Fw(new Iv(e))}function bH(t,e){if(!t)throw Fw(new Rv(e))}function wH(t,e,n){dS.call(this,t,e),this.b=n;}function yH(t,e,n){OM.call(this,t,e),this.c=n;}function mH(t,e,n){fet.call(this,e,n),this.d=t;}function vH(t){o$(),vc.call(this),this.th(t);}function xH(t,e,n){this.a=t,LI.call(this,e,n);}function kH(t,e,n){this.a=t,LI.call(this,e,n);}function _H(t,e,n){OM.call(this,t,e),this.c=n;}function EH(){P5(),oW.call(this,(KT(),HOe));}function TH(t){return null!=t&&!Kdt(t,IOe,OOe)}function CH(t,e){return (Yht(t)<<4|Yht(e))&XXt}function SH(t,e){return QW(),Gyt(t,e),new HW(t,e)}function AH(t,e){var n;t.n&&(n=e,Kz(t.f,n));}function MH(t,e,n){net(t,e,new HY(n));}function IH(t,e){var n;return n=t.c,Rit(t,e),n}function OH(t,e){return t.g=e<0?-1:e,t}function LH(t,e){return Get(t),t.a*=e,t.b*=e,t}function DH(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r;}function NH(t,e){return n5(t,e,t.c.b,t.c),!0}function PH(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null;}function BH(t){this.b=t,this.a=lq(this.b.a).Ed();}function RH(t,e){this.b=t,this.a=e,$l.call(this);}function jH(t,e){this.a=t,this.b=e,$l.call(this);}function $H(t,e){Gq.call(this,e,1040),this.a=t;}function FH(t){return 0==t||isNaN(t)?t:t<0?-1:1}function zH(t){return _V(),CTt(t)==VQ(MTt(t))}function HH(t){return _V(),MTt(t)==VQ(CTt(t))}function UH(t,e){return Vkt(t,new dS(e.a,e.b))}function GH(t){return !h5(t)&&t.c.i.c==t.d.i.c}function qH(t){var e;return e=t.n,t.a.b+e.d+e.a}function KH(t){var e;return e=t.n,t.e.b+e.d+e.a}function YH(t){var e;return e=t.n,t.e.a+e.b+e.c}function WH(t){return dWt(),new oG(0,t)}function XH(t){return t.a?t.a:tV(t)}function VH(t){if(!t)throw Fw(new Bv(null))}function ZH(){ZH=I,EV(),rDe=new Hd(C9t);}function QH(){QH=I,new cyt((Jm(),jte),(tv(),Rte));}function JH(){JH=I,Aee=D8(Iee,cXt,19,256,0,1);}function tU(t,e,n,i){agt.call(this,t,e,n,i,0,0);}function eU(t,e,n){return YW(t.b,$z(n.b,17),e)}function nU(t,e,n){return YW(t.b,$z(n.b,17),e)}function iU(t,e){return Kz(t,new DA(e.a,e.b))}function rU(t,e){return t.c<e.c?-1:t.c==e.c?0:1}function aU(t){return t.e.c.length+t.g.c.length}function oU(t){return t.e.c.length-t.g.c.length}function sU(t){return t.b.c.length-t.e.c.length}function cU(t){return $J(),(vKt(),hMe).Hc(t.j)}function uU(t){o$(),vH.call(this,t),this.a=-1;}function lU(t,e){DM.call(this,t,e),this.a=this;}function hU(t,e){var n;return (n=wY(t,e)).i=2,n}function fU(t,e){return ++t.j,t.Ti(e)}function dU(t,e,n){return t.a=-1,KN(t,e.g,n),t}function gU(t,e,n){Rqt(t.a,t.b,t.c,$z(e,202),n);}function pU(t,e){Fit(t,null==e?null:(mW(e),e));}function bU(t,e){Bit(t,null==e?null:(mW(e),e));}function wU(t,e){Bit(t,null==e?null:(mW(e),e));}function yU(t,e,n){return new fj(dW(t).Ie(),n,e)}function mU(t,e,n,i,r,a){return Wkt(t,e,n,i,r,0,a)}function vU(){vU=I,xee=D8(_ee,cXt,217,256,0,1);}function xU(){xU=I,Oee=D8(Bee,cXt,162,256,0,1);}function kU(){kU=I,Ree=D8(jee,cXt,184,256,0,1);}function _U(){_U=I,Eee=D8(Tee,cXt,172,128,0,1);}function EU(){tH(this,!1,!1,!1,!1);}function TU(t){KY(),this.a=(EV(),new Hd(yY(t)));}function CU(t){for(yY(t);t.Ob();)t.Pb(),t.Qb();}function SU(t){t.a.cd(),$z(t.a.dd(),14).gc(),fx();}function AU(t){this.c=t,this.b=this.c.d.vc().Kc();}function MU(t){this.c=t,this.a=new WE(this.c.a);}function IU(t){this.a=new qE(t.gc()),$rt(this,t);}function OU(t){tg.call(this,new b4),$rt(this,t);}function LU(t,e){return t.a+=Fpt(e,0,e.length),t}function DU(t,e){return l1(e,t.c.length),t.c[e]}function NU(t,e){return l1(e,t.a.length),t.a[e]}function PU(t,e){dT(),$8.call(this,t),this.a=e;}function BU(t,e){return xbt(idt(xbt(t.a).a,e.a))}function RU(t,e){return mW(t),Dat(t,(mW(e),e))}function jU(t,e){return mW(e),Dat(e,(mW(t),t))}function $U(t,e){return IY(e,0,FU(e[0],xbt(1)))}function FU(t,e){return BU($z(t,162),$z(e,162))}function zU(t){return t.c-$z(DU(t.a,t.b),287).b}function HU(t){return t.q?t.q:(EV(),EV(),une)}function UU(t){return t.e.Hd().gc()*t.c.Hd().gc()}function GU(t,e,n){return xL(e.d[t.g],n.d[t.g])}function qU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function KU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function YU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function WU(t,e,n){return xL(t.d[e.p],t.d[n.p])}function XU(t,n,i){return e.Math.min(i/t,1/n)}function VU(t,n){return t?0:e.Math.max(0,n-1)}function ZU(t,e){var n;for(n=0;n<e;++n)t[n]=-1;}function QU(t){var e;return (e=o_t(t))?QU(e):t}function JU(t,e){return null==t.a&&dRt(t),t.a[e]}function tG(t){return t.c?t.c.f:t.e.b}function eG(t){return t.c?t.c.g:t.e.a}function nG(t){pet.call(this,t.gc()),pY(this,t);}function iG(t,e){uL(),vw.call(this,e),this.a=t;}function rG(t,e,n){this.a=t,ID.call(this,e,n,2);}function aG(t,e,n,i){nH(this,t,e,n,i);}function oG(t,e){dWt(),Mw.call(this,t),this.a=e;}function sG(t){this.b=new XE,this.a=t,this.c=-1;}function cG(){this.d=new DA(0,0),this.e=new Py;}function uG(t){ZN.call(this,0,0),this.a=t,this.b=0;}function lG(t){this.a=t,this.c=new Dw,ict(this);}function hG(t){if(t.e.c!=t.b)throw Fw(new by)}function fG(t){if(t.c.e!=t.a)throw Fw(new by)}function dG(t){return VI(t)?0|t:k_(t)}function gG(t,e){return dWt(),new GK(t,e)}function pG(t,e){return null==t?null==e:wj(t,e)}function bG(t,e){return null==t?null==e:ybt(t,e)}function wG(t,e,n){return srt(t.a,e),xK(t,e.g,n)}function yG(t,e,n){nlt(0,e,t.length),U7(t,0,e,n);}function mG(t,e,n){OJ(e,t.c.length),_C(t.c,e,n);}function vG(t,e,n){var i;for(i=0;i<e;++i)t[i]=n;}function xG(t,e){var n;return Oct(n=Jft(t),e),n}function kG(t,e){return !t&&(t=[]),t[t.length]=e,t}function _G(t,e){return !(void 0===t.a.get(e))}function EG(t,e){return Kit(new tt,new ag(t),e)}function TG(t){return null==t?Ene:new bv(mW(t))}function CG(t,e){return iD(e,22)&&EN(t,$z(e,22))}function SG(t,e){return iD(e,22)&&Oet(t,$z(e,22))}function AG(t){return zLt(t,26)*iZt+zLt(t,27)*rZt}function MG(t){return Array.isArray(t)&&t.im===M}function IG(t){t.b?IG(t.b):t.d.dc()&&t.f.c.Bc(t.e);}function OG(t,e){GR(t.c,e),t.b.c+=e.a,t.b.d+=e.b;}function LG(t,e){OG(t,qR(new DA(e.a,e.b),t.c));}function DG(t,e){this.b=new XE,this.a=t,this.c=e;}function NG(){this.b=new Me,this.c=new lZ(this);}function PG(){this.d=new yt,this.e=new uZ(this);}function BG(){BJ(),this.f=new XE,this.e=new XE;}function RG(){$J(),this.k=new Dw,this.d=new Py;}function jG(){jG=I,hIe=new qO((cWt(),rSe),0);}function $G(){$G=I,Hte=new uG(D8(Ite,zWt,1,0,5,1));}function FG(t,e,n){WOt(n,t,1),Kz(e,new iS(n,t));}function zG(t,e,n){$xt(n,t,1),Kz(e,new hS(n,t));}function HG(t,e,n){return kK(t,new DC(e.a,n.a))}function UG(t,e,n){return -xL(t.f[e.p],t.f[n.p])}function GG(t,e,n){var i;t&&((i=t.i).c=e,i.b=n);}function qG(t,e,n){var i;t&&((i=t.i).d=e,i.a=n);}function KG(t,e,n){return t.a=-1,KN(t,e.g+1,n),t}function YG(t,e,n){return n=_$t(t,$z(e,49),7,n)}function WG(t,e,n){return n=_$t(t,$z(e,49),3,n)}function XG(t,e,n){this.a=t,OD.call(this,e,n,22);}function VG(t,e,n){this.a=t,OD.call(this,e,n,14);}function ZG(t,e,n,i){uL(),L0.call(this,t,e,n,i);}function QG(t,e,n,i){uL(),L0.call(this,t,e,n,i);}function JG(t,e){e.Bb&u6t&&!t.a.o&&(t.a.o=e);}function tq(t){return null!=t&&NK(t)&&!(t.im===M)}function eq(t){return !Array.isArray(t)&&t.im===M}function nq(t){return iD(t,15)?$z(t,15).Yc():t.Kc()}function iq(t){return t.Qc(D8(Ite,zWt,1,t.gc(),5,1))}function rq(t,e){return hbt(j9(t,e))?e.Qh():null}function aq(t){t?$mt(t,(IE(),Fee)):IE();}function oq(t){this.a=($G(),Hte),this.d=$z(yY(t),47);}function sq(t,e,n,i){this.a=t,K6.call(this,t,e,n,i);}function cq(t){tC(),this.a=0,this.b=t-1,this.c=1;}function uq(t){YL(this),this.g=t,vV(this),this._d();}function lq(t){return t.c?t.c:t.c=t.Id()}function hq(t){return t.d?t.d:t.d=t.Jd()}function fq(t){return t.c||(t.c=t.Dd())}function dq(t){return t.f||(t.f=t.Dc())}function gq(t){return t.i||(t.i=t.bc())}function pq(t){return dWt(),new bQ(10,t,0)}function bq(t){return VI(t)?""+t:UBt(t)}function wq(t){if(t.e.j!=t.d)throw Fw(new by)}function yq(t,e){return oot(hCt(VI(t)?Cot(t):t,e))}function mq(t,e){return oot(xOt(VI(t)?Cot(t):t,e))}function vq(t,e){return oot(ZCt(VI(t)?Cot(t):t,e))}function xq(t,e){return hR((mW(t),t),(mW(e),e))}function kq(t,e){return Cft((mW(t),t),(mW(e),e))}function _q(t,e){return yY(e),t.a.Ad(e)&&!t.b.Ad(e)}function Eq(t,e){return _L(t.l&e.l,t.m&e.m,t.h&e.h)}function Tq(t,e){return _L(t.l|e.l,t.m|e.m,t.h|e.h)}function Cq(t,e){return _L(t.l^e.l,t.m^e.m,t.h^e.h)}function Sq(t,e){return Oht(t,(mW(e),new ng(e)))}function Aq(t,e){return Oht(t,(mW(e),new ig(e)))}function Mq(t){return pat(),0!=$z(t,11).e.c.length}function Iq(t){return pat(),0!=$z(t,11).g.c.length}function Oq(t,e){return Art(),Cft(e.a.o.a,t.a.o.a)}function Lq(t,e,n){return _Kt(t,$z(e,11),$z(n,11))}function Dq(t){return t.e?N6(t.e):null}function Nq(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc());}function Pq(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n));}function Bq(t,e){if(t<0||t>=e)throw Fw(new Ey)}function Rq(t,e,n){return IY(e,0,FU(e[0],n[0])),e}function jq(t,e,n){e.Ye(n,Hv(_B(PY(t.b,n)))*t.a);}function $q(t,e,n){return xBt(),Pat(t,e)&&Pat(t,n)}function Fq(t){return hMt(),!t.Hc(tMe)&&!t.Hc(nMe)}function zq(t){return new DA(t.c+t.b/2,t.d+t.a/2)}function Hq(t,e){return e.kh()?tht(t.b,$z(e,49)):e}function Uq(t,e){this.e=t,this.d=64&e?e|uXt:e;}function Gq(t,e){this.c=0,this.d=t,this.b=64|e|uXt;}function qq(t){this.b=new V6(11),this.a=(TV(),t);}function Kq(t){this.b=null,this.a=(TV(),t||fne);}function Yq(t){this.a=iyt(t.a),this.b=new Jj(t.b);}function Wq(t){this.b=t,iP.call(this,t),_D(this);}function Xq(t){this.b=t,aP.call(this,t),ED(this);}function Vq(t,e,n){this.a=t,tj.call(this,e,n,5,6);}function Zq(t,e,n,i){this.b=t,ID.call(this,e,n,i);}function Qq(t,e,n,i,r){m7.call(this,t,e,n,i,r,-1);}function Jq(t,e,n,i,r){v7.call(this,t,e,n,i,r,-1);}function tK(t,e,n,i){ID.call(this,t,e,n),this.b=i;}function eK(t,e,n,i){yH.call(this,t,e,n),this.b=i;}function nK(t){LM.call(this,t,!1),this.a=!1;}function iK(t,e){this.b=t,cf.call(this,t.b),this.a=e;}function rK(t,e){KY(),vE.call(this,t,cht(new Vv(e)));}function aK(t,e){return dWt(),new iW(t,e,0)}function oK(t,e){return dWt(),new iW(6,t,e)}function sK(t,e){return wj(t.substr(0,e.length),e)}function cK(t,e){return qM(e)?tZ(t,e):!!MZ(t.f,e)}function uK(t,e){for(mW(e);t.Ob();)e.td(t.Pb());}function lK(t,e,n){MBt(),this.e=t,this.d=e,this.a=n;}function hK(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i;}function fK(t){var e;for(e=t;e.f;)e=e.f;return e}function dK(t){var e;return TP(null!=(e=kct(t))),e}function gK(t){var e;return TP(null!=(e=yft(t))),e}function pK(t,e){var n;return f6(e,n=t.a.gc()),n-e}function bK(t,e){var n;for(n=0;n<e;++n)t[n]=!1;}function wK(t,e,n,i){var r;for(r=e;r<n;++r)t[r]=i;}function yK(t,e,n,i){nlt(e,n,t.length),wK(t,e,n,i);}function mK(t,e,n){Bq(n,t.a.c.length),i5(t.a,n,e);}function vK(t,e,n){this.c=t,this.a=e,EV(),this.b=n;}function xK(t,e,n){var i;return i=t.b[e],t.b[e]=n,i}function kK(t,e){return null==t.a.zc(e,t)}function _K(t){if(!t)throw Fw(new yy);return t.d}function EK(t,e){if(null==t)throw Fw(new Fv(e))}function TK(t,e){return !!e&&$rt(t,e)}function CK(t,e,n){return elt(t,e.g,n),srt(t.c,e),t}function SK(t){return Eqt(t,($ht(),RSe)),t.d=!0,t}function AK(t){return !t.j&&yd(t,$jt(t.g,t.b)),t.j}function MK(t){_P(-1!=t.b),s6(t.c,t.a=t.b),t.b=-1;}function IK(t){t.f=new tO(t),t.g=new eO(t),oZ(t);}function OK(t){return new PU(null,zK(t,t.length))}function LK(t){return new oq(new KD(t.a.length,t.a))}function DK(t){return _L(~t.l&TVt,~t.m&TVt,~t.h&CVt)}function NK(t){return typeof t===IWt||typeof t===NWt}function PK(t){return t==BVt?N9t:t==RVt?"-INF":""+t}function BK(t){return t==BVt?N9t:t==RVt?"-INF":""+t}function RK(t,n){return t>0?e.Math.log(t/n):-100}function jK(t,e){return Wlt(t,e)<0?-1:Wlt(t,e)>0?1:0}function $K(t,e,n){return THt(t,$z(e,46),$z(n,167))}function FK(t,e){return $z(fq(lq(t.a)).Xb(e),42).cd()}function zK(t,e){return bet(e,t.length),new $H(t,e)}function HK(t,e){this.d=t,MD.call(this,t),this.e=e;}function UK(t){this.d=(mW(t),t),this.a=0,this.c=fXt;}function GK(t,e){Mw.call(this,1),this.a=t,this.b=e;}function qK(t,e){return t.c?qK(t.c,e):Kz(t.b,e),t}function KK(t,e,n){var i;return i=dtt(t,e),n4(t,e,n),i}function YK(t,e){return w9(t.slice(0,e),t)}function WK(t,e,n){var i;for(i=0;i<e;++i)IY(t,i,n);}function XK(t,e,n,i,r){for(;e<n;)i[r++]=uX(t,e++);}function VK(t,e){return Cft(t.c.c+t.c.b,e.c.c+e.c.b)}function ZK(t,e){return null==Ect(t.a,e,(cN(),bee))}function QK(t,e){n5(t.d,e,t.b.b,t.b),++t.a,t.c=null;}function JK(t,e){VL(t,iD(e,153)?e:$z(e,1937).gl());}function tY(t,e){VE(IX(t.Oc(),new Zr),new Sp(e));}function eY(t,e,n,i,r){D_t(t,$z(c6(e.k,n),15),n,i,r);}function nY(t){t.s=NaN,t.c=NaN,QIt(t,t.e),QIt(t,t.j);}function iY(t){t.a=null,t.e=null,IK(t.b),t.d=0,++t.c;}function rY(t){return e.Math.abs(t.d.e-t.e.e)-t.a}function aY(t,e,n){return $z(t.c._c(e,$z(n,133)),42)}function oY(){return nv(),Cst(Hx(Yte,1),OXt,538,0,[Gte])}function sY(t){return _V(),VQ(CTt(t))==VQ(MTt(t))}function cY(t){IR.call(this),this.a=t,Kz(t.a,this);}function uY(t,e){this.d=Tft(t),this.c=e,this.a=.5*e;}function lY(){b4.call(this),this.a=!0,this.b=!0;}function hY(t){return (null==t.i&&HFt(t),t.i).length}function fY(t){return iD(t,99)&&!!($z(t,18).Bb&u6t)}function dY(t,e){++t.j,cEt(t,t.i,e),GMt(t,$z(e,332));}function gY(t,e){return e=t.nk(null,e),OEt(t,null,e)}function pY(t,e){return t.hi()&&(e=QQ(t,e)),t.Wh(e)}function bY(t,e,n){var i;return Xnt(n,i=wY(t,e)),i}function wY(t,e){var n;return (n=new bct).j=t,n.d=e,n}function yY(t){if(null==t)throw Fw(new gy);return t}function mY(t){return t.j||(t.j=new ff(t))}function vY(t){return t.f||(t.f=new GD(t))}function xY(t){return t.k||(t.k=new Wh(t))}function kY(t){return t.k||(t.k=new Wh(t))}function _Y(t){return t.g||(t.g=new Yh(t))}function EY(t){return t.i||(t.i=new Zh(t))}function TY(t){return t.d||(t.d=new tf(t))}function CY(t){return yY(t),iD(t,475)?$z(t,475):Fdt(t)}function SY(t){return iD(t,607)?t:new hQ(t)}function AY(t,e){return f2(e,t.c.b.c.gc()),new sE(t,e)}function MY(t,e,n){return dWt(),new k0(t,e,n)}function IY(t,e,n){return EP(null==n||X$t(t,n)),t[e]=n}function OY(t,e){var n;return f2(e,n=t.a.gc()),n-1-e}function LY(t,e){return t.a+=String.fromCharCode(e),t}function DY(t,e){return t.a+=String.fromCharCode(e),t}function NY(t,e){for(mW(e);t.c<t.d;)t.ze(e,t.c++);}function PY(t,e){return qM(e)?EQ(t,e):zM(MZ(t.f,e))}function BY(t,e){return _V(),t==CTt(e)?MTt(e):CTt(e)}function RY(t,e){QY(t,new HY(null!=e.f?e.f:""+e.g));}function jY(t,e){QY(t,new HY(null!=e.f?e.f:""+e.g));}function $Y(t){this.b=new Lw,this.a=new Lw,this.c=t;}function FY(t){this.c=new Hk,this.a=new Lw,this.b=t;}function zY(t){IR.call(this),this.a=new Hk,this.c=t;}function HY(t){if(null==t)throw Fw(new gy);this.a=t;}function UY(t){_y(),this.b=new Lw,this.a=t,wGt(this,t);}function GY(t){this.c=t,this.a=new XE,this.b=new XE;}function qY(){qY=I,see=new _f(!1),cee=new _f(!0);}function KY(){KY=I,s$(),$te=new EZ((EV(),EV(),cne));}function YY(){YY=I,s$(),Wte=new bC((EV(),EV(),lne));}function WY(){WY=I,QOe=UMt(),pWt(),tLe&&Bxt();}function XY(t,e){return Art(),$z(oX(t,e.d),15).Fc(e)}function VY(t,e,n,i){return 0==n||(n-i)/n<t.e||e>=t.g}function ZY(t,e,n){return DRt(t,mrt(t,e,n))}function QY(t,e){var n;dtt(t,n=t.a.length),n4(t,n,e);}function JY(t,e){console[t].call(console,e);}function tW(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e));}function eW(t,e,n){$z(e.b,65),Met(e.a,new xz(t,n,e));}function nW(t,e,n){vw.call(this,e),this.a=t,this.b=n;}function iW(t,e,n){Mw.call(this,t),this.a=e,this.b=n;}function rW(t,e,n){this.a=t,mw.call(this,e),this.b=n;}function aW(t,e,n){this.a=t,F2.call(this,8,e,null,n);}function oW(t){this.a=(mW(j7t),j7t),this.b=t,new Lm;}function sW(t){this.c=t,this.b=this.c.a,this.a=this.c.e;}function cW(t){this.c=t,this.b=t.a.d.a,hB(t.a.e,this);}function uW(t){_P(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1;}function lW(t){return e.Math.sqrt(t.a*t.a+t.b*t.b)}function hW(t,e){return Bq(e,t.a.c.length),DU(t.a,e)}function fW(t,e){return HM(t)===HM(e)||null!=t&&Dht(t,e)}function dW(t){return 0>=t?new YE:Yit(t-1)}function gW(t){return !!_Ne&&tZ(_Ne,t)}function pW(t){return t?t.dc():!t.Kc().Ob()}function bW(t){return !t.a&&t.c?t.c.b:t.a}function wW(t){return !t.a&&(t.a=new ID(IIe,t,4)),t.a}function yW(t){return !t.d&&(t.d=new ID(KOe,t,1)),t.d}function mW(t){if(null==t)throw Fw(new gy);return t}function vW(t){t.c?t.c.He():(t.d=!0,XNt(t));}function xW(t){t.c?xW(t.c):(Xft(t),t.d=!0);}function kW(t){kX(t.a),t.b=D8(Ite,zWt,1,t.b.length,5,1);}function _W(t,e){return xL(e.j.c.length,t.j.c.length)}function EW(t,e){t.c<0||t.b.b<t.c?uI(t.b,e):t.a._e(e);}function TW(t,e){var n;(n=t.Yg(e))>=0?t.Bh(n):rMt(t,e);}function CW(t){return t.c.i.c==t.d.i.c}function SW(t){if(4!=t.p)throw Fw(new dy);return t.e}function AW(t){if(3!=t.p)throw Fw(new dy);return t.e}function MW(t){if(6!=t.p)throw Fw(new dy);return t.f}function IW(t){if(6!=t.p)throw Fw(new dy);return t.k}function OW(t){if(3!=t.p)throw Fw(new dy);return t.j}function LW(t){if(4!=t.p)throw Fw(new dy);return t.j}function DW(t){return !t.b&&(t.b=new kw(new Dm)),t.b}function NW(t){return -2==t.c&&gd(t,oTt(t.g,t.b)),t.c}function PW(t,e){var n;return (n=wY("",t)).n=e,n.i=1,n}function BW(t,e){OG($z(e.b,65),t),Met(e.a,new Mg(t));}function RW(t,e){u7((!t.a&&(t.a=new oR(t,t)),t.a),e);}function jW(t,e){this.b=t,HK.call(this,t,e),_D(this);}function $W(t,e){this.b=t,Pj.call(this,t,e),ED(this);}function FW(t,e,n,i){bE.call(this,t,e),this.d=n,this.a=i;}function zW(t,e,n,i){bE.call(this,t,n),this.a=e,this.f=i;}function HW(t,e){KL.call(this,Wit(yY(t),yY(e))),this.a=e;}function UW(){gTt.call(this,T9t,(n_(),fDe)),YUt(this);}function GW(){gTt.call(this,W7t,(e_(),ZOe)),MHt(this);}function qW(){gE.call(this,"DELAUNAY_TRIANGULATION",0);}function KW(t){return String.fromCharCode.apply(null,t)}function YW(t,e,n){return qM(e)?wJ(t,e,n):xAt(t.f,e,n)}function WW(t){return EV(),t?t.ve():(TV(),TV(),gne)}function XW(t,e,n){return Dst(),n.pg(t,$z(e.cd(),146))}function VW(t,e){return QH(),new cyt(new nN(t),new eN(e))}function ZW(t){return hit(t,DXt),Jtt(idt(idt(5,t),t/10|0))}function QW(){QW=I,Fte=new cv(Cst(Hx(zte,1),vXt,42,0,[]));}function JW(t){return !t.d&&(t.d=new Fd(t.c.Cc())),t.d}function tX(t){return !t.a&&(t.a=new Ox(t.c.vc())),t.a}function eX(t){return !t.b&&(t.b=new Mx(t.c.ec())),t.b}function nX(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function iX(t,e){return HM(t)===HM(e)||null!=t&&Dht(t,e)}function rX(t,e){return cN(),$z(e.b,19).a<t}function aX(t,e){return cN(),$z(e.a,19).a<t}function oX(t,e){return CG(t.a,e)?t.b[$z(e,22).g]:null}function sX(t,e,n,i){t.a=uP(t.a,0,e)+""+i+QM(t.a,n);}function cX(t,e){t.u.Hc((hMt(),tMe))&&CMt(t,e),U6(t,e);}function uX(t,e){return h1(e,t.length),t.charCodeAt(e)}function lX(){dv.call(this,"There is no more element.");}function hX(t){this.d=t,this.a=this.d.b,this.b=this.d.c;}function fX(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1;}function dX(t,e,n,i){return Bat(t,e,n,!1),Qht(t,i),t}function gX(t){return t.j.c=D8(Ite,zWt,1,0,5,1),t.a=-1,t}function pX(t){return !t.c&&(t.c=new cj(PIe,t,5,8)),t.c}function bX(t){return !t.b&&(t.b=new cj(PIe,t,4,7)),t.b}function wX(t){return !t.n&&(t.n=new tK(HIe,t,1,7)),t.n}function yX(t){return !t.c&&(t.c=new tK(GIe,t,9,9)),t.c}function mX(t){return t.e==S9t&&bd(t,_bt(t.g,t.b)),t.e}function vX(t){return t.f==S9t&&wd(t,bxt(t.g,t.b)),t.f}function xX(t){var e;return !(e=t.b)&&(t.b=e=new Xh(t)),e}function kX(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb();}function _X(t){if(Gdt(t.d),t.d.d!=t.c)throw Fw(new by)}function EX(t,e){this.b=t,this.c=e,this.a=new WE(this.b);}function TX(t,e,n){this.a=KXt,this.d=t,this.b=e,this.c=n;}function CX(t,e){this.d=(mW(t),t),this.a=16449,this.c=e;}function SX(t,e){Zft(t,Hv(Bnt(e,"x")),Hv(Bnt(e,"y")));}function AX(t,e){Zft(t,Hv(Bnt(e,"x")),Hv(Bnt(e,"y")));}function MX(t,e){return Xft(t),new PU(t,new W7(e,t.a))}function IX(t,e){return Xft(t),new PU(t,new _6(e,t.a))}function OX(t,e){return Xft(t),new MB(t,new x6(e,t.a))}function LX(t,e){return Xft(t),new IB(t,new k6(e,t.a))}function DX(t,e){return new pZ($z(yY(t),62),$z(yY(e),62))}function NX(t,e){return vT(),Cft((mW(t),t),(mW(e),e))}function PX(){return fT(),Cst(Hx(Tae,1),OXt,481,0,[nae])}function BX(){return CT(),Cst(Hx(X_e,1),OXt,482,0,[q_e])}function RX(){return ST(),Cst(Hx(J_e,1),OXt,551,0,[W_e])}function jX(){return AT(),Cst(Hx(YEe,1),OXt,530,0,[HEe])}function $X(t){this.a=new Lw,this.e=D8(ANe,cXt,48,t,0,2);}function FX(t,e,n,i){this.a=t,this.e=e,this.d=n,this.c=i;}function zX(t,e,n,i){this.a=t,this.c=e,this.b=n,this.d=i;}function HX(t,e,n,i){this.c=t,this.b=e,this.a=n,this.d=i;}function UX(t,e,n,i){this.c=t,this.b=e,this.d=n,this.a=i;}function GX(t,e,n,i){this.c=t,this.d=e,this.b=n,this.a=i;}function qX(t,e,n,i){this.a=t,this.d=e,this.c=n,this.b=i;}function KX(t,e,n,i){gE.call(this,t,e),this.a=n,this.b=i;}function YX(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i;}function WX(t,e,n){kHt(t.a,n),Jot(n),IOt(t.b,n),iUt(e,n);}function XX(t,e,n){var i;return i=OKt(t),e.Kh(n,i)}function VX(t,e){var n,i;return (n=t/e)>(i=CQ(n))&&++i,i}function ZX(t){var e;return rnt(e=new Bw,t),e}function QX(t){var e;return PTt(e=new Bw,t),e}function JX(t,e){return Rat(e,PY(t.f,e)),null}function tV(t){return Vit(t)||null}function eV(t){return !t.b&&(t.b=new tK(BIe,t,12,3)),t.b}function nV(t){return null!=t&&DE(mOe,t.toLowerCase())}function iV(t,e){return Cft(eG(t)*tG(t),eG(e)*tG(e))}function rV(t,e){return Cft(eG(t)*tG(t),eG(e)*tG(e))}function aV(t,e){return Cft(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function oV(t,e){return Cft(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function sV(t,e,n){n.a?Snt(t,e.b-t.f/2):Cnt(t,e.a-t.g/2);}function cV(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i;}function uV(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i;}function lV(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i;}function hV(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i;}function fV(t,e,n,i){uL(),t6.call(this,e,n,i),this.a=t;}function dV(t,e,n,i){uL(),t6.call(this,e,n,i),this.a=t;}function gV(t,e){this.a=t,AB.call(this,t,$z(t.d,15).Zc(e));}function pV(t){this.f=t,this.c=this.f.e,t.f>0&&okt(this);}function bV(t,e,n,i){this.b=t,this.c=i,bI.call(this,e,n);}function wV(t){return TP(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function yV(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0;}function mV(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function vV(t){return t.n&&(t.e!==$Xt&&t._d(),t.j=null),t}function xV(t){return VH(null==t||NK(t)&&!(t.im===M)),t}function kV(t){this.b=new Lw,pst(this.b,this.b),this.a=t;}function _V(){_V=I,Eae=new Lw,_ae=new Dw,kae=new Lw;}function EV(){EV=I,cne=new C,une=new A,lne=new T;}function TV(){TV=I,fne=new R,dne=new R,gne=new j;}function CV(){CV=I,cie=new pt,lie=new PG,uie=new bt;}function SV(){256==rie&&(eie=nie,nie=new r,rie=0),++rie;}function AV(t){return t.f||(t.f=new pE(t,t.c))}function MV(t){return XMt(t)&&zv(kB(QOt(t,(zYt(),dbe))))}function IV(t,e){return ZMt(t,$z(yTt(e,(zYt(),Kbe)),19),e)}function OV(t,e){return _ht(t.j,e.s,e.c)+_ht(e.e,t.s,t.c)}function LV(t,e){t.e&&!t.e.a&&(jw(t.e,e),LV(t.e,e));}function DV(t,e){t.d&&!t.d.a&&(jw(t.d,e),DV(t.d,e));}function NV(t,e){return -Cft(eG(t)*tG(t),eG(e)*tG(e))}function PV(t){return $z(t.cd(),146).tg()+":"+Fdt(t.dd())}function BV(t){var e;H$(),(e=$z(t.g,10)).n.a=t.d.c+e.d.b;}function RV(t,e,n){return _T(),Ndt($z(PY(t.e,e),522),n)}function jV(t,e){return tut(t),tut(e),Tv($z(t,22),$z(e,22))}function $V(t,e,n){t.i=0,t.e=0,e!=n&&Kct(t,e,n);}function FV(t,e,n){t.i=0,t.e=0,e!=n&&Yct(t,e,n);}function zV(t,e,n){net(t,e,new Ef(qj(n)));}function HV(t,e,n,i,r,a){v7.call(this,t,e,n,i,r,a?-2:-1);}function UV(t,e,n,i){OM.call(this,e,n),this.b=t,this.a=i;}function GV(t,e){new XE,this.a=new mm,this.b=t,this.c=e;}function qV(t,e){return $z(yTt(t,(uWt(),ife)),15).Fc(e),e}function KV(t,e){if(null==t)throw Fw(new Fv(e));return t}function YV(t){return !t.q&&(t.q=new tK(YOe,t,11,10)),t.q}function WV(t){return !t.s&&(t.s=new tK(ROe,t,21,17)),t.s}function XV(t){return !t.a&&(t.a=new tK(UIe,t,10,11)),t.a}function VV(t){return iD(t,14)?new IU($z(t,14)):zz(t.Kc())}function ZV(t){return new zD(t,t.e.Hd().gc()*t.c.Hd().gc())}function QV(t){return new HD(t,t.e.Hd().gc()*t.c.Hd().gc())}function JV(t){return t&&t.hashCode?t.hashCode():TN(t)}function tZ(t,e){return null==e?!!MZ(t.f,null):_G(t.g,e)}function eZ(t){return yY(t),emt(new oq(ZD(t.a.Kc(),new l)))}function nZ(t){return EV(),iD(t,54)?new Ix(t):new hN(t)}function iZ(t,e,n){return !!t.f&&t.f.Ne(e,n)}function rZ(t,e){return t.a=uP(t.a,0,e)+""+QM(t.a,e+1),t}function aZ(t,e){var n;return (n=tD(t.a,e))&&(e.d=null),n}function oZ(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1;}function sZ(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1;}function cZ(t){this.b=t,this.a=new d_($z(yY(new te),62));}function uZ(t){this.c=t,this.b=new d_($z(yY(new wt),62));}function lZ(t){this.c=t,this.b=new d_($z(yY(new Ae),62));}function hZ(){this.a=new Wy,this.b=new cm,this.d=new Pe;}function fZ(){this.a=new mm,this.b=(hit(3,IXt),new V6(3));}function dZ(){this.b=new Py,this.d=new XE,this.e=new om;}function gZ(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a;}function pZ(t,e){Um.call(this,new Kq(t)),this.a=t,this.b=e;}function bZ(){nCt(this,new Nh),this.wb=(WY(),QOe),e_();}function wZ(t){MEt(t,"No crossing minimization",1),zCt(t);}function yZ(t){Nx(),e.setTimeout((function(){throw t}),0);}function mZ(t){return t.u||(T5(t),t.u=new aR(t,t)),t.u}function vZ(t){return $z(mot(t,16),26)||t.zh()}function xZ(t,e){return iD(e,146)&&wj(t.b,$z(e,146).tg())}function kZ(t,e){return t.a?e.Wg().Kc():$z(e.Wg(),69).Zh()}function _Z(t){return t.k==(oCt(),Cse)&&OP(t,(uWt(),Uhe))}function EZ(t){this.a=(EV(),iD(t,54)?new Ix(t):new hN(t));}function TZ(){var t,e;TZ=I,e=!Ppt(),t=new p,eee=e?new _:t;}function CZ(t,e){var n;return n=Qk(t.gm),null==e?n:n+": "+e}function SZ(t,e){var n;return v4(n=t.b.Qc(e),t.b.gc()),n}function AZ(t,e){if(null==t)throw Fw(new Fv(e));return t}function MZ(t,e){return ult(t,e,pJ(t,null==e?0:t.b.se(e)))}function IZ(t,e,n){return n>=0&&wj(t.substr(n,e.length),e)}function OZ(t,e,n,i,r,a,o){return new h4(t.e,e,n,i,r,a,o)}function LZ(t,e,n,i,r,a){this.a=t,vit.call(this,e,n,i,r,a);}function DZ(t,e,n,i,r,a){this.a=t,vit.call(this,e,n,i,r,a);}function NZ(t,e){this.g=t,this.d=Cst(Hx(Ase,1),a1t,10,0,[e]);}function PZ(t,e){this.e=t,this.a=Ite,this.b=IRt(e),this.c=e;}function BZ(t,e){LR.call(this),Net(this),this.a=t,this.c=e;}function RZ(t,e,n,i){IY(t.c[e.g],n.g,i),IY(t.c[n.g],e.g,i);}function jZ(t,e,n,i){IY(t.c[e.g],e.g,n),IY(t.b[e.g],e.g,i);}function $Z(){return M6(),Cst(Hx(ime,1),OXt,376,0,[Zye,Vye])}function FZ(){return g9(),Cst(Hx(Zle,1),OXt,479,0,[Hle,zle])}function zZ(){return Rtt(),Cst(Hx(Ole,1),OXt,419,0,[Ele,Tle])}function HZ(){return Y8(),Cst(Hx(lle,1),OXt,422,0,[ile,rle])}function UZ(){return U2(),Cst(Hx(Hfe,1),OXt,420,0,[Mhe,Ihe])}function GZ(){return G9(),Cst(Hx(Uye,1),OXt,421,0,[Bye,Rye])}function qZ(){return W4(),Cst(Hx(Yme,1),OXt,523,0,[Fme,$me])}function KZ(){return A6(),Cst(Hx(Dve,1),OXt,520,0,[_ve,kve])}function YZ(){return gQ(),Cst(Hx(rve,1),OXt,516,0,[Jme,Qme])}function WZ(){return oJ(),Cst(Hx(Eve,1),OXt,515,0,[nve,ive])}function XZ(){return dQ(),Cst(Hx($ve,1),OXt,455,0,[Ove,Lve])}function VZ(){return $0(),Cst(Hx(Vxe,1),OXt,425,0,[Fxe,$xe])}function ZZ(){return sJ(),Cst(Hx(zxe,1),OXt,480,0,[Pxe,Bxe])}function QZ(){return Crt(),Cst(Hx(eke,1),OXt,495,0,[Wxe,Xxe])}function JZ(){return N7(),Cst(Hx(lke,1),OXt,426,0,[ike,rke])}function tQ(){return Lst(),Cst(Hx(XEe,1),OXt,429,0,[KEe,qEe])}function eQ(){return I6(),Cst(Hx(oEe,1),OXt,430,0,[Q_e,Z_e])}function nQ(){return uwt(),Cst(Hx(yie,1),OXt,428,0,[die,fie])}function iQ(){return Ptt(),Cst(Hx(Bie,1),OXt,427,0,[bie,wie])}function rQ(){return Btt(),Cst(Hx(Ioe,1),OXt,424,0,[Nae,Pae])}function aQ(){return Trt(),Cst(Hx(Kse,1),OXt,511,0,[zse,Fse])}function oQ(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function sQ(t){return 0==t.b.b?t.a.$e():dH(t.b)}function cQ(t){if(5!=t.p)throw Fw(new dy);return dG(t.f)}function uQ(t){if(5!=t.p)throw Fw(new dy);return dG(t.k)}function lQ(t){return HM(t.a)===HM((dat(),CLe))&&BUt(t),t.a}function hQ(t){this.a=$z(yY(t),271),this.b=(EV(),new dN(t));}function fQ(t,e){Zf(this,new DA(t.a,t.b)),Qf(this,Uz(e));}function dQ(){dQ=I,Ove=new oA(rQt,0),Lve=new oA(aQt,1);}function gQ(){gQ=I,Jme=new iA(aQt,0),Qme=new iA(rQt,1);}function pQ(){rv.call(this,new qE(tet(12))),rN(!0),this.a=2;}function bQ(t,e,n){dWt(),Mw.call(this,t),this.b=e,this.a=n;}function wQ(t,e,n){uL(),vw.call(this,e),this.a=t,this.b=n;}function yQ(t){LR.call(this),Net(this),this.a=t,this.c=!0;}function mQ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t;}function vQ(t){bit(t.a),PO(t.a),tgt(new Tg(t.a));}function xQ(t,e){sRt(t,!0),Met(t.e.wf(),new I$(t,!0,e));}function kQ(t,e){return i4(e),Vnt(t,D8(ANe,uVt,25,e,15,1),e)}function _Q(t,e){return _V(),t==VQ(CTt(e))||t==VQ(MTt(e))}function EQ(t,e){return null==e?zM(MZ(t.f,null)):cC(t.g,e)}function TQ(t){return 0==t.b?null:(TP(0!=t.b),Iet(t,t.a.a))}function CQ(t){return 0|Math.max(Math.min(t,PWt),-2147483648)}function SQ(t,e){var n=Qte[t.charCodeAt(0)];return null==n?t:n}function AQ(t,e){return KV(t,"set1"),KV(e,"set2"),new xE(t,e)}function MQ(t,e){return GR(zP(Jet(t.f,e)),t.f.d)}function IQ(t,e){var n;return VGt(t,e,n=new U),n.d}function OQ(t,e,n,i){var r;r=new jR,e.a[n.g]=r,wG(t.b,i,r);}function LQ(t,e,n){var i;(i=t.Yg(e))>=0?t.sh(i,n):_Dt(t,e,n);}function DQ(t,e,n){cJ(),t&&YW(oOe,t,e),t&&YW(aOe,t,n);}function NQ(t,e,n){this.i=new Lw,this.b=t,this.g=e,this.a=n;}function PQ(t,e,n){this.c=new Lw,this.e=t,this.f=e,this.b=n;}function BQ(t,e,n){this.a=new Lw,this.e=t,this.f=e,this.c=n;}function RQ(t,e){YL(this),this.f=e,this.g=t,vV(this),this._d();}function jQ(t,e){var n;n=t.q.getHours(),t.q.setDate(e),hzt(t,n);}function $Q(t,e){var n;for(yY(e),n=t.a;n;n=n.c)e.Od(n.g,n.i);}function FQ(t){var e;return Oct(e=new h_(tet(t.length)),t),e}function zQ(t){function e(){}return e.prototype=t||{},new e}function HQ(t,e){return !!dst(t,e)&&(eit(t),!0)}function UQ(t,e){if(null==e)throw Fw(new gy);return obt(t,e)}function GQ(t){if(t.qe())return null;var e=t.n;return TWt[e]}function qQ(t){return t.Db>>16!=3?null:$z(t.Cb,33)}function KQ(t){return t.Db>>16!=9?null:$z(t.Cb,33)}function YQ(t){return t.Db>>16!=6?null:$z(t.Cb,79)}function WQ(t){return t.Db>>16!=7?null:$z(t.Cb,235)}function XQ(t){return t.Db>>16!=7?null:$z(t.Cb,160)}function VQ(t){return t.Db>>16!=11?null:$z(t.Cb,33)}function ZQ(t,e){var n;return (n=t.Yg(e))>=0?t.lh(n):HMt(t,e)}function QQ(t,e){var n;return sTt(n=new OU(e),t),new Jj(n)}function JQ(t){var e;return e=t.d,e=t.si(t.f),u7(t,e),e.Ob()}function tJ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function eJ(t,n){return e.Math.abs(t)<e.Math.abs(n)?t:n}function nJ(t){return !t.a&&(t.a=new tK(UIe,t,10,11)),t.a.i>0}function iJ(){this.a=new uO,this.e=new Py,this.g=0,this.i=0;}function rJ(t){this.a=t,this.b=D8(Rme,cXt,1944,t.e.length,0,2);}function aJ(t,e,n){var i;i=Dct(t,e,n),t.b=new yrt(i.c.length);}function oJ(){oJ=I,nve=new nA(bQt,0),ive=new nA("UP",1);}function sJ(){sJ=I,Pxe=new hA(q3t,0),Bxe=new hA("FAN",1);}function cJ(){cJ=I,oOe=new Dw,aOe=new Dw,jM(yne,new pc);}function uJ(t){if(0!=t.p)throw Fw(new dy);return VM(t.f,0)}function lJ(t){if(0!=t.p)throw Fw(new dy);return VM(t.k,0)}function hJ(t){return t.Db>>16!=3?null:$z(t.Cb,147)}function fJ(t){return t.Db>>16!=6?null:$z(t.Cb,235)}function dJ(t){return t.Db>>16!=17?null:$z(t.Cb,26)}function gJ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function pJ(t,e){var n;return null==(n=t.a.get(e))?new Array:n}function bJ(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),hzt(t,n);}function wJ(t,e,n){return null==e?xAt(t.f,null,n):odt(t.g,e,n)}function yJ(t,e,n,i,r,a){return new L9(t.e,e,t.aj(),n,i,r,a)}function mJ(t,e,n){return t.a=uP(t.a,0,e)+""+n+QM(t.a,e),t}function vJ(t,e,n){return Kz(t.a,(QW(),Gyt(e,n),new bE(e,n))),t}function xJ(t){return oN(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function kJ(t){return oN(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function _J(t,e){t.d&&y9(t.d.e,t),t.d=e,t.d&&Kz(t.d.e,t);}function EJ(t,e){t.c&&y9(t.c.g,t),t.c=e,t.c&&Kz(t.c.g,t);}function TJ(t,e){t.c&&y9(t.c.a,t),t.c=e,t.c&&Kz(t.c.a,t);}function CJ(t,e){t.i&&y9(t.i.j,t),t.i=e,t.i&&Kz(t.i.j,t);}function SJ(t,e,n){this.a=e,this.c=t,this.b=(yY(n),new Jj(n));}function AJ(t,e,n){this.a=e,this.c=t,this.b=(yY(n),new Jj(n));}function MJ(t,e){this.a=t,this.c=$L(this.a),this.b=new gZ(e);}function IJ(t){return Xft(t),MX(t,new bg(new Py))}function OJ(t,e){if(t<0||t>e)throw Fw(new Mv(xZt+t+kZt+e))}function LJ(t,e){return SG(t.a,e)?xK(t,$z(e,22).g,null):null}function DJ(t){return Tlt(),cN(),0!=$z(t.a,81).d.e}function NJ(){NJ=I,Kte=hlt((nv(),Cst(Hx(Yte,1),OXt,538,0,[Gte])));}function PJ(){PJ=I,pme=KG(new $2,(mTt(),$oe),(hWt(),zce));}function BJ(){BJ=I,bme=KG(new $2,(mTt(),$oe),(hWt(),zce));}function RJ(){RJ=I,yme=KG(new $2,(mTt(),$oe),(hWt(),zce));}function jJ(){jJ=I,Ume=dU(new $2,(mTt(),$oe),(hWt(),dce));}function $J(){$J=I,Wme=dU(new $2,(mTt(),$oe),(hWt(),dce));}function FJ(){FJ=I,Zme=dU(new $2,(mTt(),$oe),(hWt(),dce));}function zJ(){zJ=I,ove=dU(new $2,(mTt(),$oe),(hWt(),dce));}function HJ(){HJ=I,Uxe=KG(new $2,(Gvt(),jve),(PSt(),Uve));}function UJ(t,e,n,i){this.c=t,this.d=i,KJ(this,e),YJ(this,n);}function GJ(t){this.c=new XE,this.b=t.b,this.d=t.c,this.a=t.a;}function qJ(t){this.a=e.Math.cos(t),this.b=e.Math.sin(t);}function KJ(t,e){t.a&&y9(t.a.k,t),t.a=e,t.a&&Kz(t.a.k,t);}function YJ(t,e){t.b&&y9(t.b.f,t),t.b=e,t.b&&Kz(t.b.f,t);}function WJ(t,e){eW(t,t.b,t.c),$z(t.b.b,65),e&&$z(e.b,65).b;}function XJ(t,e){Gft(t,e),iD(t.Cb,88)&&IAt(T5($z(t.Cb,88)),2);}function VJ(t,e){iD(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Drt(t,e);}function ZJ(t,e){iD(t.Cb,179)&&($z(t.Cb,179).tb=null),Drt(t,e);}function QJ(t,e){return ZT(),ctt(e)?new lU(e,t):new DM(e,t)}function JJ(t,e){null!=e.c&&QY(t,new HY(e.c));}function t1(t){var e;return e_(),rnt(e=new Bw,t),e}function e1(t){var e;return e_(),rnt(e=new Bw,t),e}function n1(t,e){var n;return n=new FY(t),e.c[e.c.length]=n,n}function i1(t,e){var n;return (n=$z(hht(AV(t.a),e),14))?n.gc():0}function r1(t){return Xft(t),TV(),TV(),met(t,dne)}function a1(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function o1(t,e){Gm.call(this,new qE(tet(t))),hit(e,sXt),this.a=e;}function s1(t,e,n){zht(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e;}function c1(t,e,n){var i;zht(e,n,t.c.length),i=n-e,T_(t.c,e,i);}function u1(t,e){cD(t,dG(t0(mq(e,24),cZt)),dG(t0(e,cZt)));}function l1(t,e){if(t<0||t>=e)throw Fw(new Mv(xZt+t+kZt+e))}function h1(t,e){if(t<0||t>=e)throw Fw(new Ax(xZt+t+kZt+e))}function f1(t,e){this.b=(mW(t),t),this.a=e&jVt?e:64|e|uXt;}function d1(t){NO(this),Ty(this.a,vct(e.Math.max(8,t))<<1);}function g1(t){return Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a]))}function p1(){return Hut(),Cst(Hx(Qne,1),OXt,132,0,[Une,Gne,qne])}function b1(){return Pet(),Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])}function w1(){return V7(),Cst(Hx(tre,1),OXt,461,0,[Xie,Wie,Vie])}function y1(){return H9(),Cst(Hx(Are,1),OXt,462,0,[ire,nre,ere])}function m1(){return Fht(),Cst(Hx(wse,1),OXt,423,0,[fse,hse,lse])}function v1(){return z9(),Cst(Hx(Foe,1),OXt,379,0,[Aoe,Soe,Moe])}function x1(){return Elt(),Cst(Hx(fye,1),OXt,378,0,[iye,rye,aye])}function k1(){return Mit(),Cst(Hx(ple,1),OXt,314,0,[cle,sle,ule])}function _1(){return oit(),Cst(Hx(kle,1),OXt,337,0,[fle,gle,dle])}function E1(){return Zst(),Cst(Hx($le,1),OXt,450,0,[Mle,Ale,Ile])}function T1(){return Srt(),Cst(Hx(Kue,1),OXt,361,0,[Pue,Nue,Due])}function C1(){return U9(),Cst(Hx(Ohe,1),OXt,303,0,[The,Che,Ehe])}function S1(){return Rot(),Cst(Hx(She,1),OXt,292,0,[vhe,xhe,mhe])}function A1(){return ait(),Cst(Hx(Wye,1),OXt,452,0,[Hye,Fye,zye])}function M1(){return yct(),Cst(Hx(jye,1),OXt,339,0,[Lye,Oye,Dye])}function I1(){return zat(),Cst(Hx(Qye,1),OXt,375,0,[qye,Kye,Yye])}function O1(){return Ost(),Cst(Hx(Eme,1),OXt,377,0,[hme,fme,lme])}function L1(){return qut(),Cst(Hx(cme,1),OXt,336,0,[tme,eme,nme])}function D1(){return gat(),Cst(Hx(dme,1),OXt,338,0,[sme,ame,ome])}function N1(){return sit(),Cst(Hx(Dme,1),OXt,454,0,[Ame,Mme,Ime])}function P1(){return Sdt(),Cst(Hx(ake,1),OXt,442,0,[tke,Qxe,Jxe])}function B1(){return zut(),Cst(Hx(Hke,1),OXt,380,0,[ske,cke,uke])}function R1(){return Tdt(),Cst(Hx(L_e,1),OXt,381,0,[Zke,Qke,Vke])}function j1(){return Fat(),Cst(Hx(Xke,1),OXt,293,0,[qke,Kke,Gke])}function $1(){return Cdt(),Cst(Hx(K_e,1),OXt,437,0,[F_e,z_e,H_e])}function F1(){return oht(),Cst(Hx(EAe,1),OXt,334,0,[bAe,pAe,wAe])}function z1(){return Bet(),Cst(Hx(QSe,1),OXt,272,0,[USe,GSe,qSe])}function H1(t,e){return vLt(t,e,iD(e,99)&&!!($z(e,18).Bb&FVt))}function U1(t,e,n){var i;return (i=rHt(t,e,!1)).b<=e&&i.a<=n}function G1(t,e,n){var i;(i=new ao).b=e,i.a=n,++e.b,Kz(t.d,i);}function q1(t,e){var n;return kP(!!(n=(mW(t),t).g)),mW(e),n(e)}function K1(t,e){var n,i;return i=pK(t,e),n=t.a.Zc(i),new mE(t,n)}function Y1(t){return t.Db>>16!=6?null:$z(rOt(t),235)}function W1(t){if(2!=t.p)throw Fw(new dy);return dG(t.f)&XXt}function X1(t){if(2!=t.p)throw Fw(new dy);return dG(t.k)&XXt}function V1(t){return t.a==(P5(),JLe)&&dd(t,eDt(t.g,t.b)),t.a}function Z1(t){return t.d==(P5(),JLe)&&pd(t,Djt(t.g,t.b)),t.d}function Q1(t){return TP(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function J1(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 t0(t,e){return oot(Eq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function e0(t,e){return oot(Tq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function n0(t,e){return oot(Cq(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function i0(t){return idt(yq(lot(zLt(t,32)),32),lot(zLt(t,32)))}function r0(t){return yY(t),iD(t,14)?new Jj($z(t,14)):Fz(t.Kc())}function a0(t,e){return Ntt(),t.c==e.c?Cft(e.d,t.d):Cft(t.c,e.c)}function o0(t,e){return Ntt(),t.c==e.c?Cft(t.d,e.d):Cft(t.c,e.c)}function s0(t,e){return Ntt(),t.c==e.c?Cft(t.d,e.d):Cft(e.c,t.c)}function c0(t,e){return Ntt(),t.c==e.c?Cft(e.d,t.d):Cft(e.c,t.c)}function u0(t,e){var n;n=Hv(_B(t.a.We((cWt(),ASe)))),WKt(t,e,n);}function l0(t,e){var n;n=$z(PY(t.g,e),57),Met(e.d,new oS(t,n));}function h0(t,e){var n,i;return (n=svt(t))<(i=svt(e))?-1:n>i?1:0}function f0(t,e){var n;return n=E9(e),$z(PY(t.c,n),19).a}function d0(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function g0(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function p0(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function b0(t,e){return t&&t.equals?t.equals(e):HM(t)===HM(e)}function w0(t,e){return 0==e?!!t.o&&0!=t.o.f:wwt(t,e)}function y0(t,e,n){var i;t.n&&e&&n&&(i=new tc,Kz(t.e,i));}function m0(t,e,n){var i;i=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=i;}function v0(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3;}function x0(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5;}function k0(t,e,n){Mw.call(this,25),this.b=t,this.a=e,this.c=n;}function _0(t){dWt(),Mw.call(this,t),this.c=!1,this.a=!1;}function E0(t,e,n,i,r,a){znt.call(this,t,e,n,i,r),a&&(this.o=-2);}function T0(t,e,n,i,r,a){Hnt.call(this,t,e,n,i,r),a&&(this.o=-2);}function C0(t,e,n,i,r,a){V5.call(this,t,e,n,i,r),a&&(this.o=-2);}function S0(t,e,n,i,r,a){qnt.call(this,t,e,n,i,r),a&&(this.o=-2);}function A0(t,e,n,i,r,a){Z5.call(this,t,e,n,i,r),a&&(this.o=-2);}function M0(t,e,n,i,r,a){Unt.call(this,t,e,n,i,r),a&&(this.o=-2);}function I0(t,e,n,i,r,a){Gnt.call(this,t,e,n,i,r),a&&(this.o=-2);}function O0(t,e,n,i,r,a){Q5.call(this,t,e,n,i,r),a&&(this.o=-2);}function L0(t,e,n,i){vw.call(this,n),this.b=t,this.c=e,this.d=i;}function D0(t,e){this.a=new Lw,this.d=new Lw,this.f=t,this.c=e;}function N0(){this.c=new IL,this.a=new hZ,this.b=new tm,hT();}function P0(){Dst(),this.b=new Dw,this.a=new Dw,this.c=new Lw;}function B0(t,e){this.g=t,this.d=(P5(),JLe),this.a=JLe,this.b=e;}function R0(t,e){this.f=t,this.a=(P5(),QLe),this.c=QLe,this.b=e;}function j0(t,e){!t.c&&(t.c=new kat(t,0)),EHt(t.c,(qUt(),IDe),e);}function $0(){$0=I,Fxe=new fA("DFS",0),$xe=new fA("BFS",1);}function F0(t,e,n){var i;return !!(i=$z(t.Zb().xc(e),14))&&i.Hc(n)}function z0(t,e,n){var i;return !!(i=$z(t.Zb().xc(e),14))&&i.Mc(n)}function H0(t,e,n,i){return t.a+=""+uP(null==e?GWt:Fdt(e),n,i),t}function U0(t,e,n,i,r,a){return Bat(t,e,n,a),Zht(t,i),tft(t,r),t}function G0(t){return TP(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function q0(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0);}function K0(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function Y0(t){return !(!t.a||0==F9(t.a.a).i||t.b&&Ryt(t.b))}function W0(t){return !(!t.u||0==r4(t.u.a).i||t.n&&Byt(t.n))}function X0(t){return yU(t.e.Hd().gc()*t.c.Hd().gc(),16,new Hh(t))}function V0(t,e){return jK(lot(t.q.getTime()),lot(e.q.getTime()))}function Z0(t){return $z(Xbt(t,D8(yse,r1t,17,t.c.length,0,1)),474)}function Q0(t){return $z(Xbt(t,D8(Ase,a1t,10,t.c.length,0,1)),193)}function J0(t){return $J(),!(h5(t)||!h5(t)&&t.c.i.c==t.d.i.c)}function t2(t,e,n){yY(t),Nvt(new SJ(new Jj(t),e,n));}function e2(t,e,n){yY(t),Pvt(new AJ(new Jj(t),e,n));}function n2(t,e){var n;return n=1-e,t.a[n]=drt(t.a[n],n),drt(t,e)}function i2(t,e){var n;t.e=new Vm,wL(n=dBt(e),t.c),ABt(t,n,0);}function r2(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,NH(t.a,r);}function a2(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,NH(t.b,r);}function o2(t){var e,n;return n=t$t(e=new lY,t),mqt(e),n}function s2(){var t,e;return t=new Bw,Kz(KLe,e=t),e}function c2(t){return t.j.c=D8(Ite,zWt,1,0,5,1),kX(t.c),gX(t.a),t}function u2(t){return _T(),iD(t.g,10)?$z(t.g,10):null}function l2(t){return !xX(t).dc()&&(OL(t,new m),!0)}function h2(t){if(!("stack"in t))try{throw t}catch(t){}return t}function f2(t,e){if(t<0||t>=e)throw Fw(new Mv(LAt(t,e)));return t}function d2(t,e,n){if(t<0||e<t||e>n)throw Fw(new Mv(sSt(t,e,n)))}function g2(t,e){if(kK(t.a,e),e.d)throw Fw(new dv(AZt));e.d=t;}function p2(t,e){if(e.$modCount!=t.$modCount)throw Fw(new by)}function b2(t,e){return !!iD(e,42)&&Emt(t.a,$z(e,42))}function w2(t,e){return !!iD(e,42)&&Emt(t.a,$z(e,42))}function y2(t,e){return !!iD(e,42)&&Emt(t.a,$z(e,42))}function m2(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}function v2(t){var e;return VI(t)?-0==(e=t)?0:e:ptt(t)}function x2(t){var e;return xW(t),e=new F,g_(t.a,new gg(e)),e}function k2(t){var e;return xW(t),e=new $,g_(t.a,new dg(e)),e}function _2(t,e){this.a=t,Ed.call(this,t),OJ(e,t.gc()),this.b=e;}function E2(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array;}function T2(t){return yU(t.e.Hd().gc()*t.c.Hd().gc(),273,new zh(t))}function C2(t){return new V6((hit(t,DXt),Jtt(idt(idt(5,t),t/10|0))))}function S2(t){return $z(Xbt(t,D8(Hse,o1t,11,t.c.length,0,1)),1943)}function A2(t,e,n){return n.f.c.length>0?$K(t.a,e,n):$K(t.b,e,n)}function M2(t,e,n){t.d&&y9(t.d.e,t),t.d=e,t.d&&mG(t.d.e,n,t);}function I2(t,e){wYt(e,t),rH(t.d),rH($z(yTt(t,(zYt(),Mbe)),207));}function O2(t,e){bYt(e,t),iH(t.d),iH($z(yTt(t,(zYt(),Mbe)),207));}function L2(t,e){var n,i;return i=null,(n=UQ(t,e))&&(i=n.fe()),i}function D2(t,e){var n,i;return i=null,(n=dtt(t,e))&&(i=n.ie()),i}function N2(t,e){var n,i;return i=null,(n=UQ(t,e))&&(i=n.ie()),i}function P2(t,e){var n,i;return i=null,(n=UQ(t,e))&&(i=mSt(n)),i}function B2(t,e,n){var i;return i=Xpt(n),djt(t.g,i,e),djt(t.i,e,n),e}function R2(t,e,n){var i;i=Lpt();try{return dR(t,e,n)}finally{y3(i);}}function j2(t){var e;e=t.Wg(),this.a=iD(e,69)?$z(e,69).Zh():e.Kc();}function $2(){Xm.call(this),this.j.c=D8(Ite,zWt,1,0,5,1),this.a=-1;}function F2(t,e,n,i){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1;}function z2(t,e,n,i){this.e=i,this.d=null,this.c=t,this.a=e,this.b=n;}function H2(t,e,n){this.d=new jp(this),this.e=t,this.i=e,this.f=n;}function U2(){U2=I,Mhe=new NS(eQt,0),Ihe=new NS("TOP_LEFT",1);}function G2(){G2=I,kme=VW(nft(1),nft(4)),xme=VW(nft(1),nft(2));}function q2(){q2=I,V_e=hlt((ST(),Cst(Hx(J_e,1),OXt,551,0,[W_e])));}function K2(){K2=I,Y_e=hlt((CT(),Cst(Hx(X_e,1),OXt,482,0,[q_e])));}function Y2(){Y2=I,GEe=hlt((AT(),Cst(Hx(YEe,1),OXt,530,0,[HEe])));}function W2(){W2=I,rae=hlt((fT(),Cst(Hx(Tae,1),OXt,481,0,[nae])));}function X2(){return Pot(),Cst(Hx(Hre,1),OXt,406,0,[Pre,Lre,Dre,Nre])}function V2(){return Z7(),Cst(Hx(jne,1),OXt,297,0,[Lne,Dne,Nne,Pne])}function Z2(){return Hwt(),Cst(Hx(iae,1),OXt,394,0,[Zre,Vre,Qre,Jre])}function Q2(){return zwt(),Cst(Hx(Gre,1),OXt,323,0,[$re,jre,Fre,zre])}function J2(){return Ist(),Cst(Hx(dse,1),OXt,405,0,[Zoe,tse,Qoe,Joe])}function t3(){return Ast(),Cst(Hx(pue,1),OXt,360,0,[rue,nue,iue,eue])}function e3(t,e,n,i){return iD(n,54)?new AP(t,e,n,i):new sq(t,e,n,i)}function n3(){return Mst(),Cst(Hx(Sue,1),OXt,411,0,[bue,wue,yue,mue])}function i3(t){return t.j==(vKt(),EMe)&&EN(qIt(t),oMe)}function r3(t,e){var n;EJ(n=e.a,e.c.d),_J(n,e.d.d),Qet(n.a,t.n);}function a3(t,e){return $z(IN(Sq($z(c6(t.k,e),15).Oc(),Wue)),113)}function o3(t,e){return $z(IN(Aq($z(c6(t.k,e),15).Oc(),Wue)),113)}function s3(t){return new f1(tat($z(t.a.dd(),14).gc(),t.a.cd()),16)}function c3(t){return iD(t,14)?$z(t,14).dc():!t.Kc().Ob()}function u3(t){return _T(),iD(t.g,145)?$z(t.g,145):null}function l3(t){if(t.e.g!=t.b)throw Fw(new by);return !!t.c&&t.d>0}function h3(t){return TP(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function f3(t,e){mW(e),IY(t.a,t.c,e),t.c=t.c+1&t.a.length-1,dvt(t);}function d3(t,e){mW(e),t.b=t.b-1&t.a.length-1,IY(t.a,t.b,e),dvt(t);}function g3(t,e){var n;for(n=t.j.c.length;n<e;n++)Kz(t.j,t.rg());}function p3(t,e,n,i){var r;return r=i[e.g][n.g],Hv(_B(yTt(t.a,r)))}function b3(t,e,n,i,r){this.i=t,this.a=e,this.e=n,this.j=i,this.f=r;}function w3(t,e,n,i,r){this.a=t,this.e=e,this.f=n,this.b=i,this.g=r;}function y3(t){t&&Stt((sx(),tee)),--ree,t&&-1!=oee&&(eC(oee),oee=-1);}function m3(){return fyt(),Cst(Hx(mye,1),OXt,197,0,[lye,hye,uye,cye])}function v3(){return Gvt(),Cst(Hx(zve,1),OXt,393,0,[Pve,Bve,Rve,jve])}function x3(){return Mmt(),Cst(Hx(Yke,1),OXt,340,0,[zke,$ke,Fke,jke])}function k3(){return ypt(),Cst(Hx(XMe,1),OXt,374,0,[BMe,RMe,PMe,NMe])}function _3(){return Kvt(),Cst(Hx(PAe,1),OXt,285,0,[_Ae,vAe,xAe,kAe])}function E3(){return Edt(),Cst(Hx(oAe,1),OXt,218,0,[ZSe,XSe,WSe,VSe])}function T3(){return $gt(),Cst(Hx(iIe,1),OXt,311,0,[tIe,ZMe,JMe,QMe])}function C3(){return Fut(),Cst(Hx(fIe,1),OXt,396,0,[aIe,oIe,rIe,sIe])}function S3(t){return cJ(),cK(oOe,t)?$z(PY(oOe,t),331).ug():null}function A3(t,e,n){return e<0?HMt(t,n):$z(n,66).Nj().Sj(t,t.yh(),e)}function M3(t,e,n){var i;return i=Xpt(n),djt(t.d,i,e),YW(t.e,e,n),e}function I3(t,e,n){var i;return i=Xpt(n),djt(t.j,i,e),YW(t.k,e,n),e}function O3(t){var e;return Jk(),e=new rc,t&&zDt(e,t),e}function L3(t){var e;return e=t.ri(t.i),t.i>0&&aHt(t.g,0,e,0,t.i),e}function D3(t,e){var n;return QT(),!(n=$z(PY(bOe,t),55))||n.wj(e)}function N3(t){if(1!=t.p)throw Fw(new dy);return dG(t.f)<<24>>24}function P3(t){if(1!=t.p)throw Fw(new dy);return dG(t.k)<<24>>24}function B3(t){if(7!=t.p)throw Fw(new dy);return dG(t.k)<<16>>16}function R3(t){if(7!=t.p)throw Fw(new dy);return dG(t.f)<<16>>16}function j3(t){var e;for(e=0;t.Ob();)t.Pb(),e=idt(e,1);return Jtt(e)}function $3(t,e){var n;return n=new Sx,t.xd(n),n.a+="..",e.yd(n),n.a}function F3(t,e,n){var i;i=$z(PY(t.g,n),57),Kz(t.a.c,new nM(e,i));}function z3(t,e,n){return kq(_B(zM(MZ(t.f,e))),_B(zM(MZ(t.f,n))))}function H3(t,e,n){return qFt(t,e,n,iD(e,99)&&!!($z(e,18).Bb&FVt))}function U3(t,e,n){return bzt(t,e,n,iD(e,99)&&!!($z(e,18).Bb&FVt))}function G3(t,e,n){return NLt(t,e,n,iD(e,99)&&!!($z(e,18).Bb&FVt))}function q3(t,e){return t==(oCt(),Cse)&&e==Cse?4:t==Cse||e==Cse?8:32}function K3(t,e){return HM(e)===HM(t)?"(this Map)":null==e?GWt:Fdt(e)}function Y3(t,e){return $z(null==e?zM(MZ(t.f,null)):cC(t.g,e),281)}function W3(t,e,n){var i;return i=Xpt(n),YW(t.b,i,e),YW(t.c,e,n),e}function X3(t,e){var n;for(n=e;n;)RP(t,n.i,n.j),n=VQ(n);return t}function V3(t,e){var n;return n=nZ(Fz(new C9(t,e))),CU(new C9(t,e)),n}function Z3(t,e){var n;return ZT(),_Ct(n=$z(t,66).Mj(),e),n.Ok(e)}function Q3(t,e,n,i,r){Kz(e,yAt(r,KLt(r,n,i))),qTt(t,r,e);}function J3(t,e,n){t.i=0,t.e=0,e!=n&&(Yct(t,e,n),Kct(t,e,n));}function t4(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+cVt),hzt(t,n);}function e4(t,e,n){if(n){var i=n.ee();t.a[e]=i(n);}else delete t.a[e];}function n4(t,e,n){if(n){var i=n.ee();n=i(n);}else n=void 0;t.a[e]=n;}function i4(t){if(t<0)throw Fw(new $v("Negative array size: "+t))}function r4(t){return t.n||(T5(t),t.n=new XG(t,KOe,t),mZ(t)),t.n}function a4(t){return TP(t.a<t.c.a.length),t.b=t.a,Mtt(t),t.c.b[t.b]}function o4(t){t.b!=t.c&&(t.a=D8(Ite,zWt,1,8,5,1),t.b=0,t.c=0);}function s4(t){this.b=new Dw,this.c=new Dw,this.d=new Dw,this.a=t;}function c4(t,e){dWt(),Mw.call(this,t),this.a=e,this.c=-1,this.b=-1;}function u4(t,e,n,i){v0.call(this,1,n,i),this.c=t,this.b=e;}function l4(t,e,n,i){x0.call(this,1,n,i),this.c=t,this.b=e;}function h4(t,e,n,i,r,a,o){vit.call(this,e,i,r,a,o),this.c=t,this.a=n;}function f4(t,e,n){this.e=t,this.a=Ite,this.b=IRt(e),this.c=e,this.d=n;}function d4(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i;}function g4(t){this.c=t,this.a=$z(Axt(t),148),this.b=this.a.Aj().Nh();}function p4(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next();}function b4(){Dw.call(this),vP(this),this.d.b=this.d,this.d.a=this.d;}function w4(t,e){IR.call(this),this.a=t,this.b=e,Kz(this.a.b,this);}function y4(t,e){return eI(null!=e?EQ(t,e):zM(MZ(t.f,e)))}function m4(t,e){return eI(null!=e?EQ(t,e):zM(MZ(t.f,e)))}function v4(t,e){var n;for(n=0;n<e;++n)IY(t,n,new Gd($z(t[n],42)));}function x4(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}function k4(t,e){var n;return Gut(),0!=(n=t.j.g-e.j.g)?n:0}function _4(t,e){return mW(e),null!=t.a?TG(e.Kb(t.a)):Ene}function E4(t){var e;return t?new OU(t):(Hrt(e=new uO,t),e)}function T4(t,e){return e.b.Kb(k9(t,e.c.Ee(),new yg(e)))}function C4(t){mEt(),cD(this,dG(t0(mq(t,24),cZt)),dG(t0(t,cZt)));}function S4(){S4=I,pie=hlt((uwt(),Cst(Hx(yie,1),OXt,428,0,[die,fie])));}function A4(){A4=I,mie=hlt((Ptt(),Cst(Hx(Bie,1),OXt,427,0,[bie,wie])));}function M4(){M4=I,Rae=hlt((Btt(),Cst(Hx(Ioe,1),OXt,424,0,[Nae,Pae])));}function I4(){I4=I,Use=hlt((Trt(),Cst(Hx(Kse,1),OXt,511,0,[zse,Fse])));}function O4(){O4=I,Sle=hlt((Rtt(),Cst(Hx(Ole,1),OXt,419,0,[Ele,Tle])));}function L4(){L4=I,Gle=hlt((g9(),Cst(Hx(Zle,1),OXt,479,0,[Hle,zle])));}function D4(){D4=I,Jye=hlt((M6(),Cst(Hx(ime,1),OXt,376,0,[Zye,Vye])));}function N4(){N4=I,$ye=hlt((G9(),Cst(Hx(Uye,1),OXt,421,0,[Bye,Rye])));}function P4(){P4=I,ole=hlt((Y8(),Cst(Hx(lle,1),OXt,422,0,[ile,rle])));}function B4(){B4=I,Lhe=hlt((U2(),Cst(Hx(Hfe,1),OXt,420,0,[Mhe,Ihe])));}function R4(){R4=I,Tve=hlt((A6(),Cst(Hx(Dve,1),OXt,520,0,[_ve,kve])));}function j4(){j4=I,Hme=hlt((W4(),Cst(Hx(Yme,1),OXt,523,0,[Fme,$me])));}function $4(){$4=I,eve=hlt((gQ(),Cst(Hx(rve,1),OXt,516,0,[Jme,Qme])));}function F4(){F4=I,ave=hlt((oJ(),Cst(Hx(Eve,1),OXt,515,0,[nve,ive])));}function z4(){z4=I,Nve=hlt((dQ(),Cst(Hx($ve,1),OXt,455,0,[Ove,Lve])));}function H4(){H4=I,Hxe=hlt(($0(),Cst(Hx(Vxe,1),OXt,425,0,[Fxe,$xe])));}function U4(){U4=I,Zxe=hlt((Crt(),Cst(Hx(eke,1),OXt,495,0,[Wxe,Xxe])));}function G4(){G4=I,jxe=hlt((sJ(),Cst(Hx(zxe,1),OXt,480,0,[Pxe,Bxe])));}function q4(){q4=I,oke=hlt((N7(),Cst(Hx(lke,1),OXt,426,0,[ike,rke])));}function K4(){K4=I,WEe=hlt((Lst(),Cst(Hx(XEe,1),OXt,429,0,[KEe,qEe])));}function Y4(){Y4=I,tEe=hlt((I6(),Cst(Hx(oEe,1),OXt,430,0,[Q_e,Z_e])));}function W4(){W4=I,Fme=new VS("UPPER",0),$me=new VS("LOWER",1);}function X4(t,e){var n;zV(n=new pv,"x",e.a),zV(n,"y",e.b),QY(t,n);}function V4(t,e){var n;zV(n=new pv,"x",e.a),zV(n,"y",e.b),QY(t,n);}function Z4(t,e){var n,i;i=!1;do{i|=n=fct(t,e);}while(n);return i}function Q4(t,e){var n,i;for(n=e,i=0;n>0;)i+=t.a[n],n-=n&-n;return i}function J4(t,e){var n;for(n=e;n;)RP(t,-n.i,-n.j),n=VQ(n);return t}function t5(t,e){var n,i;for(mW(e),i=t.Kc();i.Ob();)n=i.Pb(),e.td(n);}function e5(t,e){var n;return new bE(n=e.cd(),t.e.pc(n,$z(e.dd(),14)))}function n5(t,e,n,i){var r;(r=new L).c=e,r.b=n,r.a=i,i.b=n.a=r,++t.b;}function i5(t,e,n){var i;return l1(e,t.c.length),i=t.c[e],t.c[e]=n,i}function r5(t,e,n){return $z(null==e?xAt(t.f,null,n):odt(t.g,e,n),281)}function a5(t){return t.c&&t.d?p0(t.c)+"->"+p0(t.d):"e_"+TN(t)}function o5(t,e){return (Xft(t),v_(new PU(t,new W7(e,t.a)))).sd(Jne)}function s5(){return mTt(),Cst(Hx(Goe,1),OXt,356,0,[Poe,Boe,Roe,joe,$oe])}function c5(){return vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])}function u5(t){return Nx(),function(){return R2(t,this,arguments)}}function l5(){return Date.now?Date.now():(new Date).getTime()}function h5(t){return !(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function f5(t){if(!t.c.Sb())throw Fw(new yy);return t.a=!0,t.c.Ub()}function d5(t){t.i=0,yC(t.b,null),yC(t.c,null),t.a=null,t.e=null,++t.g;}function g5(t){dC.call(this,null==t?GWt:Fdt(t),iD(t,78)?$z(t,78):null);}function p5(t){eWt(),$w(this),this.a=new XE,gut(this,t),NH(this.a,t);}function b5(){DO(this),this.b=new DA(BVt,BVt),this.a=new DA(RVt,RVt);}function w5(t,e){this.c=0,this.b=e,pI.call(this,t,17493),this.a=this.c;}function y5(t){m5(),Wne||(this.c=t,this.e=!0,this.a=new Lw);}function m5(){m5=I,Wne=!0,Kne=!1,Yne=!1,Vne=!1,Xne=!1;}function v5(t,e){return !!iD(e,149)&&wj(t.c,$z(e,149).c)}function x5(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function k5(t,e){return $z(ltt(t.d,e),23)||$z(ltt(t.e,e),23)}function _5(t){this.b=t,MD.call(this,t),this.a=$z(mot(this.b.a,4),126);}function E5(t){this.b=t,rP.call(this,t),this.a=$z(mot(this.b.a,4),126);}function T5(t){return t.t||(t.t=new dw(t),cft(new Dv(t),0,t.t)),t.t}function C5(){return $ht(),Cst(Hx(KSe,1),OXt,103,0,[$Se,jSe,RSe,BSe,FSe])}function S5(){return rwt(),Cst(Hx(VAe,1),OXt,249,0,[$Ae,zAe,RAe,jAe,FAe])}function A5(){return iwt(),Cst(Hx(vTe,1),OXt,175,0,[cTe,sTe,aTe,uTe,oTe])}function M5(){return OCt(),Cst(Hx(UEe,1),OXt,316,0,[eEe,nEe,aEe,iEe,rEe])}function I5(){return Dyt(),Cst(Hx(Mye,1),OXt,315,0,[yye,pye,bye,gye,wye])}function O5(){return Wyt(),Cst(Hx(Cle,1),OXt,335,0,[yle,wle,vle,xle,mle])}function L5(){return VDt(),Cst(Hx(U_e,1),OXt,355,0,[N_e,D_e,B_e,P_e,R_e])}function D5(){return L_t(),Cst(Hx(Bue,1),OXt,363,0,[_ue,Tue,Cue,Eue,kue])}function N5(){return _dt(),Cst(Hx(eye,1),OXt,163,0,[zfe,Rfe,jfe,$fe,Ffe])}function P5(){var t,e;P5=I,e_(),e=new xy,QLe=e,t=new Am,JLe=t;}function B5(t){var e;return t.c||iD(e=t.r,88)&&(t.c=$z(e,26)),t.c}function R5(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}function j5(t){return _L(t&TVt,t>>22&TVt,t<0?CVt:0)}function $5(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)vW(e[n]);}function F5(t,e){var n,i;(n=$z(fht(t.c,e),14))&&(i=n.gc(),n.$b(),t.d-=i);}function z5(t,e){var n;return !!(n=hut(t,e.cd()))&&iX(n.e,e.dd())}function H5(t,e){return 0==e||0==t.e?t:e>0?kpt(t,e):APt(t,-e)}function U5(t,e){return 0==e||0==t.e?t:e>0?APt(t,e):kpt(t,-e)}function G5(t){if(gOt(t))return t.c=t.a,t.a.Pb();throw Fw(new yy)}function q5(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(oCt(),_se)&&n.k==_se}function K5(t){var e;return Hot(e=new fZ,t),uct(e,(zYt(),bbe),null),e}function Y5(t,e,n){var i;return (i=t.Yg(e))>=0?t._g(i,n,!0):rIt(t,e,n)}function W5(t,e,n,i){var r;for(r=0;r<Zie;r++)qG(t.a[e.g][r],n,i[e.g]);}function X5(t,e,n,i){var r;for(r=0;r<Qie;r++)GG(t.a[r][e.g],n,i[e.g]);}function V5(t,e,n,i,r){v0.call(this,e,i,r),this.c=t,this.a=n;}function Z5(t,e,n,i,r){x0.call(this,e,i,r),this.c=t,this.a=n;}function Q5(t,e,n,i,r){e6.call(this,e,i,r),this.c=t,this.a=n;}function J5(t,e,n,i,r){e6.call(this,e,i,r),this.c=t,this.b=n;}function t6(t,e,n){vw.call(this,n),this.b=t,this.c=e,this.d=(Fgt(),HLe);}function e6(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0;}function n6(t,e,n){var i;_at(i=new qL(t.a),t.a.a),xAt(i.f,e,n),t.a.a=i;}function i6(t,e){t.qi(t.i+1),vD(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci();}function r6(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci();}function a6(t){var e;return yY(t),Oct(e=new V6(ZW(t.length)),t),e}function o6(t){var e;return yY(t),ZSt(e=t?new Jj(t):Fz(t.Kc())),cht(e)}function s6(t,e){var n;return l1(e,t.c.length),n=t.c[e],T_(t.c,e,1),n}function c6(t,e){var n;return !(n=$z(t.c.xc(e),14))&&(n=t.ic(e)),t.pc(e,n)}function u6(t,e){var n,i;return mW(t),n=t,mW(e),n==(i=e)?0:n<i?-1:1}function l6(t){var e;return e=t.e+t.f,isNaN(e)&&Kj(t.d)?t.d:e}function h6(t,e){return t.a?oI(t.a,t.b):t.a=new lN(t.d),rI(t.a,e),t}function f6(t,e){if(t<0||t>e)throw Fw(new Mv(gAt(t,e,"index")));return t}function d6(t,e,n,i){var r;return wEt(r=D8(ANe,uVt,25,e,15,1),t,e,n,i),r}function g6(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),hzt(t,n);}function p6(t,n){return e.Math.min(K8(n.a,t.d.d.c),K8(n.b,t.d.d.c))}function b6(t,e){return qM(e)?null==e?pOt(t.f,null):Uot(t.g,e):pOt(t.f,e)}function w6(t){this.c=t,this.a=new Kd(this.c.a),this.b=new Kd(this.c.b);}function y6(){this.e=new Lw,this.c=new Lw,this.d=new Lw,this.b=new Lw;}function m6(){this.g=new $y,this.b=new $y,this.a=new Lw,this.k=new Lw;}function v6(t,e,n){this.a=t,this.c=e,this.d=n,Kz(e.e,this),Kz(n.b,this);}function x6(t,e){gI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e;}function k6(t,e){pI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e;}function _6(t,e){bI.call(this,e.rd(),-6&e.qd()),mW(t),this.a=t,this.b=e;}function E6(t,e,n){this.a=t,this.b=e,this.c=n,Kz(t.t,this),Kz(e.i,this);}function T6(){this.b=new XE,this.a=new XE,this.b=new XE,this.a=new XE;}function C6(){C6=I,kTe=new aw("org.eclipse.elk.labels.labelManager");}function S6(){S6=I,tue=new eR("separateLayerConnections",(Ast(),rue));}function A6(){A6=I,_ve=new aA("REGULAR",0),kve=new aA("CRITICAL",1);}function M6(){M6=I,Zye=new qS("STACKED",0),Vye=new qS("SEQUENCED",1);}function I6(){I6=I,Q_e=new kA("FIXED",0),Z_e=new kA("CENTER_NODE",1);}function O6(t,e){var n;return n=NGt(t,e),t.b=new yrt(n.c.length),mUt(t,n)}function L6(t,e,n){return ++t.e,--t.f,$z(t.d[e].$c(n),133).dd()}function D6(t){var e;return t.a||iD(e=t.r,148)&&(t.a=$z(e,148)),t.a}function N6(t){return t.a?t.e?N6(t.e):null:t}function P6(t,e){return t.p<e.p?1:t.p>e.p?-1:0}function B6(t,e){return mW(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function R6(t,e){return !!cK(t.a,e)&&(b6(t.a,e),!0)}function j6(t){var e;return e=t.cd(),Pz($z(t.dd(),14).Nc(),new Kh(e))}function $6(t){var e;return e=$z(YK(t.b,t.b.length),9),new Xj(t.a,e,t.c)}function F6(t){return Xft(t),new MB(t,new Zz(t,t.a.e,4|t.a.d))}function z6(t){var e;for(xW(t),e=0;t.a.sd(new lt);)e=idt(e,1);return e}function H6(t,e,n){var i,r;for(i=0,r=0;r<e.length;r++)i+=t.$f(e[r],i,n);}function U6(t,e){var n;t.C&&((n=$z(oX(t.b,e),124).n).d=t.C.d,n.a=t.C.a);}function G6(t,e,n){return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),t.a[e][n]}function q6(t,e){MBt(),this.e=t,this.d=1,this.a=Cst(Hx(ANe,1),uVt,25,15,[e]);}function K6(t,e,n,i){this.f=t,this.e=e,this.d=n,this.b=i,this.c=i?i.d:null;}function Y6(t){var e,n,i,r;r=t.d,e=t.a,n=t.b,i=t.c,t.d=n,t.a=i,t.b=r,t.c=e;}function W6(t,e,n,i){yFt(t,e,n,bzt(t,e,i,iD(e,99)&&!!($z(e,18).Bb&FVt)));}function X6(t,e){MEt(e,"Label management",1),eI(yTt(t,(C6(),kTe))),zCt(e);}function V6(t){DO(this),bH(t>=0,"Initial capacity must not be negative");}function Z6(){Z6=I,Kie=hlt((Pet(),Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])));}function Q6(){Q6=I,Jie=hlt((V7(),Cst(Hx(tre,1),OXt,461,0,[Xie,Wie,Vie])));}function J6(){J6=I,are=hlt((H9(),Cst(Hx(Are,1),OXt,462,0,[ire,nre,ere])));}function t8(){t8=I,Zne=hlt((Hut(),Cst(Hx(Qne,1),OXt,132,0,[Une,Gne,qne])));}function e8(){e8=I,Ooe=hlt((z9(),Cst(Hx(Foe,1),OXt,379,0,[Aoe,Soe,Moe])));}function n8(){n8=I,gse=hlt((Fht(),Cst(Hx(wse,1),OXt,423,0,[fse,hse,lse])));}function i8(){i8=I,hle=hlt((Mit(),Cst(Hx(ple,1),OXt,314,0,[cle,sle,ule])));}function r8(){r8=I,ble=hlt((oit(),Cst(Hx(kle,1),OXt,337,0,[fle,gle,dle])));}function a8(){a8=I,Lle=hlt((Zst(),Cst(Hx($le,1),OXt,450,0,[Mle,Ale,Ile])));}function o8(){o8=I,Rue=hlt((Srt(),Cst(Hx(Kue,1),OXt,361,0,[Pue,Nue,Due])));}function s8(){s8=I,Ahe=hlt((U9(),Cst(Hx(Ohe,1),OXt,303,0,[The,Che,Ehe])));}function c8(){c8=I,_he=hlt((Rot(),Cst(Hx(She,1),OXt,292,0,[vhe,xhe,mhe])));}function u8(){u8=I,sye=hlt((Elt(),Cst(Hx(fye,1),OXt,378,0,[iye,rye,aye])));}function l8(){l8=I,Xye=hlt((zat(),Cst(Hx(Qye,1),OXt,375,0,[qye,Kye,Yye])));}function h8(){h8=I,Pye=hlt((yct(),Cst(Hx(jye,1),OXt,339,0,[Lye,Oye,Dye])));}function f8(){f8=I,Gye=hlt((ait(),Cst(Hx(Wye,1),OXt,452,0,[Hye,Fye,zye])));}function d8(){d8=I,gme=hlt((Ost(),Cst(Hx(Eme,1),OXt,377,0,[hme,fme,lme])));}function g8(){g8=I,rme=hlt((qut(),Cst(Hx(cme,1),OXt,336,0,[tme,eme,nme])));}function p8(){p8=I,ume=hlt((gat(),Cst(Hx(dme,1),OXt,338,0,[sme,ame,ome])));}function b8(){b8=I,Lme=hlt((sit(),Cst(Hx(Dme,1),OXt,454,0,[Ame,Mme,Ime])));}function w8(){w8=I,nke=hlt((Sdt(),Cst(Hx(ake,1),OXt,442,0,[tke,Qxe,Jxe])));}function y8(){y8=I,hke=hlt((zut(),Cst(Hx(Hke,1),OXt,380,0,[ske,cke,uke])));}function m8(){m8=I,t_e=hlt((Tdt(),Cst(Hx(L_e,1),OXt,381,0,[Zke,Qke,Vke])));}function v8(){v8=I,Wke=hlt((Fat(),Cst(Hx(Xke,1),OXt,293,0,[qke,Kke,Gke])));}function x8(){x8=I,G_e=hlt((Cdt(),Cst(Hx(K_e,1),OXt,437,0,[F_e,z_e,H_e])));}function k8(){k8=I,mAe=hlt((oht(),Cst(Hx(EAe,1),OXt,334,0,[bAe,pAe,wAe])));}function _8(){_8=I,YSe=hlt((Bet(),Cst(Hx(QSe,1),OXt,272,0,[USe,GSe,qSe])));}function E8(){return X_t(),Cst(Hx(rMe,1),OXt,98,0,[XAe,WAe,YAe,GAe,KAe,qAe])}function T8(t,e){return !t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),ipt(t.o,e)}function C8(t){return !t.g&&(t.g=new uc),!t.g.d&&(t.g.d=new lw(t)),t.g.d}function S8(t){return !t.g&&(t.g=new uc),!t.g.a&&(t.g.a=new hw(t)),t.g.a}function A8(t){return !t.g&&(t.g=new uc),!t.g.b&&(t.g.b=new uw(t)),t.g.b}function M8(t){return !t.g&&(t.g=new uc),!t.g.c&&(t.g.c=new fw(t)),t.g.c}function I8(t,e,n){var i,r;for(r=new Iot(e,t),i=0;i<n;++i)ryt(r);return r}function O8(t,e,n){var i,r;if(null!=n)for(i=0;i<e;++i)r=n[i],t.fi(i,r);}function L8(t,e,n,i){var r;return IFt(r=D8(ANe,uVt,25,e+1,15,1),t,e,n,i),r}function D8(t,e,n,i,r,a){var o;return o=Fmt(r,i),10!=r&&Cst(Hx(t,a),e,n,r,o),o}function N8(t,e,n,i){return n&&(i=n.gh(e,Igt(n.Tg(),t.c.Lj()),null,i)),i}function P8(t,e,n,i){return n&&(i=n.ih(e,Igt(n.Tg(),t.c.Lj()),null,i)),i}function B8(t,e,n){$z(t.b,65),$z(t.b,65),$z(t.b,65),Met(t.a,new L$(n,e,t));}function R8(t,e,n){if(t<0||e>n||e<t)throw Fw(new Ax(yZt+t+vZt+e+uZt+n))}function j8(t){if(!t)throw Fw(new jv("Unable to add element to queue"))}function $8(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new Lw);}function F8(t,e){TC.call(this,t,e),this.a=D8(Bne,vXt,436,2,0,1),this.b=!0;}function z8(t){Jst.call(this,t,0),vP(this),this.d.b=this.d,this.d.a=this.d;}function H8(t){var e;return 0==(e=t.b).b?null:$z(Pwt(e,0),188).b}function U8(t,e){var n;return (n=new U).c=!0,n.d=e.dd(),VGt(t,e.cd(),n)}function G8(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),hzt(t,n);}function q8(t,e,n){var i;(i=t.b[n.c.p][n.p]).b+=e.b,i.c+=e.c,i.a+=e.a,++i.a;}function K8(t,n){var i,r;return i=t.a-n.a,r=t.b-n.b,e.Math.sqrt(i*i+r*r)}function Y8(){Y8=I,ile=new xS("QUADRATIC",0),rle=new xS("SCANLINE",1);}function W8(){W8=I,wme=KG(dU(new $2,(mTt(),Poe),(hWt(),mce)),$oe,zce);}function X8(){return d_t(),Cst(Hx(zSe,1),OXt,291,0,[ZTe,VTe,XTe,YTe,KTe,WTe])}function V8(){return dyt(),Cst(Hx(QTe,1),OXt,248,0,[CTe,MTe,ITe,OTe,STe,ATe])}function Z8(){return OSt(),Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])}function Q8(){return ZTt(),Cst(Hx(whe,1),OXt,275,0,[ihe,the,rhe,nhe,ehe,Jle])}function J8(){return Fkt(),Cst(Hx(ahe,1),OXt,274,0,[Wle,Yle,Vle,Kle,Xle,qle])}function t7(){return _Et(),Cst(Hx(oye,1),OXt,313,0,[Jwe,Zwe,Xwe,Vwe,tye,Qwe])}function e7(){return pCt(),Cst(Hx(Ule,1),OXt,276,0,[Nle,Dle,Ble,Ple,jle,Rle])}function n7(){return PSt(),Cst(Hx(Rxe,1),OXt,327,0,[Wve,Gve,Kve,qve,Yve,Uve])}function i7(){return hMt(),Cst(Hx(SMe,1),OXt,273,0,[nMe,tMe,eMe,JAe,QAe,iMe])}function r7(){return JEt(),Cst(Hx(yAe,1),OXt,312,0,[rAe,nAe,aAe,tAe,iAe,eAe])}function a7(){return oCt(),Cst(Hx(Ise,1),OXt,267,0,[Cse,Tse,_se,Sse,Ese,kse])}function o7(t){_P(!!t.c),p2(t.e,t),t.c.Qb(),t.c=null,t.b=gst(t),hB(t.e,t);}function s7(t){return p2(t.c.a.e,t),TP(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function c7(t){var e;return t.a||-1==t.b||(e=t.c.Tg(),t.a=eet(e,t.b)),t.a}function u7(t,e){return !(t.hi()&&t.Hc(e)||(t.Yh(e),0))}function l7(t,e){return AZ(e,"Horizontal alignment cannot be null"),t.b=e,t}function h7(t,e,n){var i;return dWt(),i=QKt(t,e),n&&i&&gW(t)&&(i=null),i}function f7(t,e,n){var i;for(i=t.Kc();i.Ob();)QRt($z(i.Pb(),37),e,n);}function d7(t,e){var n;for(n=e.Kc();n.Ob();)Ojt(t,$z(n.Pb(),37),0,0);}function g7(t,n,i){var r;t.d[n.g]=i,(r=t.g.c)[n.g]=e.Math.max(r[n.g],i+1);}function p7(t,e){var n,i,r;return r=t.r,i=t.d,(n=rHt(t,e,!0)).b!=r||n.a!=i}function b7(t,e){return lC(t.e,e)||Zbt(t.e,e,new nwt(e)),$z(ltt(t.e,e),113)}function w7(t,e,n,i){return mW(t),mW(e),mW(n),mW(i),new vK(t,e,new G)}function y7(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=new Zq(this,e,n,i);}function m7(t,e,n,i,r,a){F2.call(this,e,i,r,a),this.c=t,this.b=n;}function v7(t,e,n,i,r,a){F2.call(this,e,i,r,a),this.c=t,this.a=n;}function x7(t,e,n){var i,r;r=null,(i=UQ(t,n))&&(r=mSt(i)),Kbt(e,n,r);}function k7(t,e,n){var i,r;r=null,(i=UQ(t,n))&&(r=mSt(i)),Kbt(e,n,r);}function _7(t,e,n){var i;return (i=OLt(t.b,e))?DHt(j9(t,i),n):null}function E7(t,e){var n;return (n=t.Yg(e))>=0?t._g(n,!0,!0):rIt(t,e,!0)}function T7(t,e){return Cft(Hv(_B(yTt(t,(uWt(),kfe)))),Hv(_B(yTt(e,kfe))))}function C7(){C7=I,Gxe=sbt(sbt(jT(new $2,(Gvt(),Bve)),(PSt(),Wve)),Gve);}function S7(t,e,n){var i;return i=Dct(t,e,n),t.b=new yrt(i.c.length),cBt(t,i)}function A7(t){if(t.b<=0)throw Fw(new yy);return --t.b,t.a-=t.c.c,nft(t.a)}function M7(t){var e;if(!t.a)throw Fw(new lX);return e=t.a,t.a=VQ(t.a),e}function I7(t){for(;!t.a;)if(!kj(t.c,new pg(t)))return !1;return !0}function O7(t){return yY(t),iD(t,198)?$z(t,198):new of(t)}function L7(t){D7(),$z(t.We((cWt(),uSe)),174).Fc((hMt(),eMe)),t.Ye(cSe,null);}function D7(){D7=I,JEe=new gs,eTe=new ps,tTe=wut((cWt(),cSe),JEe,zCe,eTe);}function N7(){N7=I,ike=new pA("LEAF_NUMBER",0),rke=new pA("NODE_SIZE",1);}function P7(t,e,n){t.a=e,t.c=n,t.b.a.$b(),yV(t.d),t.e.a.c=D8(Ite,zWt,1,0,5,1);}function B7(t){t.a=D8(ANe,uVt,25,t.b+1,15,1),t.c=D8(ANe,uVt,25,t.b,15,1),t.d=0;}function R7(t,e){t.a.ue(e.d,t.b)>0&&(Kz(t.c,new wH(e.c,e.d,t.d)),t.b=e.d);}function j7(t,e){if(null==t.g||e>=t.i)throw Fw(new OI(e,t.i));return t.g[e]}function $7(t,e,n){if(Nut(t,n),null!=n&&!t.wj(n))throw Fw(new ly);return n}function F7(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)Yet(t,e);return L3(t)}function z7(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function H7(t,e){var n;return i4(e),(n=w9(t.slice(0,e),t)).length=e,n}function U7(t,e,n,i){TV(),i=i||fne,pAt(t.slice(e,n),t,e,n,-e,i);}function G7(t,e,n,i,r){return e<0?rIt(t,n,i):$z(n,66).Nj().Pj(t,t.yh(),e,i,r)}function q7(t){return iD(t,172)?""+$z(t,172).a:null==t?null:Fdt(t)}function K7(t){return iD(t,172)?""+$z(t,172).a:null==t?null:Fdt(t)}function Y7(t,e){if(e.a)throw Fw(new dv(AZt));kK(t.a,e),e.a=t,!t.j&&(t.j=e);}function W7(t,e){bI.call(this,e.rd(),-16449&e.qd()),mW(t),this.a=t,this.c=e;}function X7(t,e){var n,i;return i=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),G6(t,i,n)}function V7(){V7=I,Xie=new HC(rQt,0),Wie=new HC(eQt,1),Vie=new HC(aQt,2);}function Z7(){Z7=I,Lne=new gC("All",0),Dne=new OO,Nne=new ML,Pne=new LO;}function Q7(){Q7=I,Rne=hlt((Z7(),Cst(Hx(jne,1),OXt,297,0,[Lne,Dne,Nne,Pne])));}function J7(){J7=I,nse=hlt((Ist(),Cst(Hx(dse,1),OXt,405,0,[Zoe,tse,Qoe,Joe])));}function t9(){t9=I,Rre=hlt((Pot(),Cst(Hx(Hre,1),OXt,406,0,[Pre,Lre,Dre,Nre])));}function e9(){e9=I,Ure=hlt((zwt(),Cst(Hx(Gre,1),OXt,323,0,[$re,jre,Fre,zre])));}function n9(){n9=I,eae=hlt((Hwt(),Cst(Hx(iae,1),OXt,394,0,[Zre,Vre,Qre,Jre])));}function i9(){i9=I,Fve=hlt((Gvt(),Cst(Hx(zve,1),OXt,393,0,[Pve,Bve,Rve,jve])));}function r9(){r9=I,oue=hlt((Ast(),Cst(Hx(pue,1),OXt,360,0,[rue,nue,iue,eue])));}function a9(){a9=I,Uke=hlt((Mmt(),Cst(Hx(Yke,1),OXt,340,0,[zke,$ke,Fke,jke])));}function o9(){o9=I,xue=hlt((Mst(),Cst(Hx(Sue,1),OXt,411,0,[bue,wue,yue,mue])));}function s9(){s9=I,dye=hlt((fyt(),Cst(Hx(mye,1),OXt,197,0,[lye,hye,uye,cye])));}function c9(){c9=I,uIe=hlt((Fut(),Cst(Hx(fIe,1),OXt,396,0,[aIe,oIe,rIe,sIe])));}function u9(){u9=I,TAe=hlt((Kvt(),Cst(Hx(PAe,1),OXt,285,0,[_Ae,vAe,xAe,kAe])));}function l9(){l9=I,JSe=hlt((Edt(),Cst(Hx(oAe,1),OXt,218,0,[ZSe,XSe,WSe,VSe])));}function h9(){h9=I,nIe=hlt(($gt(),Cst(Hx(iIe,1),OXt,311,0,[tIe,ZMe,JMe,QMe])));}function f9(){f9=I,$Me=hlt((ypt(),Cst(Hx(XMe,1),OXt,374,0,[BMe,RMe,PMe,NMe])));}function d9(){d9=I,Hzt(),$De=BVt,jDe=RVt,zDe=new Ld(BVt),FDe=new Ld(RVt);}function g9(){g9=I,Hle=new AS(XJt,0),zle=new AS("IMPROVE_STRAIGHTNESS",1);}function p9(t,e){return cH(),Kz(t,new nM(e,nft(e.e.c.length+e.g.c.length)))}function b9(t,e){return cH(),Kz(t,new nM(e,nft(e.e.c.length+e.g.c.length)))}function w9(t,e){return 10!=btt(e)&&Cst(tut(e),e.hm,e.__elementTypeId$,btt(e),t),t}function y9(t,e){var n;return -1!=(n=x9(t,e,0))&&(s6(t,n),!0)}function m9(t,e){var n;return (n=$z(b6(t.e,e),387))?(PH(n),n.e):null}function v9(t){var e;return VI(t)&&(e=0-t,!isNaN(e))?e:oot(act(t))}function x9(t,e,n){for(;n<t.c.length;++n)if(iX(e,t.c[n]))return n;return -1}function k9(t,e,n){var i;return xW(t),(i=new ct).a=e,t.a.Nb(new SC(i,n)),i.a}function _9(t){var e;return xW(t),e=D8(LNe,HVt,25,0,15,1),g_(t.a,new fg(e)),e}function E9(t){var e;return e=$z(DU(t.j,0),11),$z(yTt(e,(uWt(),dfe)),11)}function T9(t){var e;if(!Qit(t))throw Fw(new yy);return t.e=1,e=t.d,t.d=null,e}function C9(t,e){var n;this.f=t,this.b=e,n=$z(PY(t.b,e),283),this.c=n?n.b:null;}function S9(){H$(),this.b=new Dw,this.f=new Dw,this.g=new Dw,this.e=new Dw;}function A9(t,e){this.a=D8(Ase,a1t,10,t.a.c.length,0,1),Xbt(t.a,this.a),this.b=e;}function M9(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--$z(DU(t.c.a,e),10).p;}function I9(t){var e;null!=(e=t.Ai())&&-1!=t.d&&$z(e,92).Ng(t),t.i&&t.i.Fi();}function O9(t){YL(this),this.g=t?CZ(t,t.$d()):null,this.f=t,vV(this),this._d();}function L9(t,e,n,i,r,a,o){vit.call(this,e,i,r,a,o),this.c=t,this.b=n;}function D9(t,e,n,i,r){return mW(t),mW(e),mW(n),mW(i),mW(r),new vK(t,e,i)}function N9(t,e){if(e<0)throw Fw(new Mv(J4t+e));return g3(t,e+1),DU(t.j,e)}function P9(t,e,n,i){if(!t)throw Fw(new Rv(ORt(e,Cst(Hx(Ite,1),zWt,1,5,[n,i]))))}function B9(t,e){return iX(e,DU(t.f,0))||iX(e,DU(t.f,1))||iX(e,DU(t.f,2))}function R9(t,e){Oj($z($z(t.f,33).We((cWt(),aSe)),98))&&Xdt(yX($z(t.f,33)),e);}function j9(t,e){var n,i;return !(i=(n=$z(e,675)).Oh())&&n.Rh(i=new PM(t,e)),i}function $9(t,e){var n,i;return !(i=(n=$z(e,677)).pk())&&n.tk(i=new B0(t,e)),i}function F9(t){return t.b||(t.b=new VG(t,KOe,t),!t.a&&(t.a=new oR(t,t))),t.b}function z9(){z9=I,Aoe=new KC("XY",0),Soe=new KC("X",1),Moe=new KC("Y",2);}function H9(){H9=I,ire=new UC("TOP",0),nre=new UC(eQt,1),ere=new UC(sQt,2);}function U9(){U9=I,The=new DS(XJt,0),Che=new DS("TOP",1),Ehe=new DS(sQt,2);}function G9(){G9=I,Bye=new HS("INPUT_ORDER",0),Rye=new HS("PORT_DEGREE",1);}function q9(){q9=I,fee=_L(TVt,TVt,524287),dee=_L(0,0,SVt),gee=j5(1),pee=j5(0);}function K9(t,e,n){t.a.c=D8(Ite,zWt,1,0,5,1),KUt(t,e,n),0==t.a.c.length||l$t(t,e);}function Y9(t){var e,n;return XK(t,0,n=t.length,e=D8(SNe,YXt,25,n,15,1),0),e}function W9(t){var e;return t.dh()||(e=hY(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function X9(t){var e;return null==(e=ent(mot(t,32)))&&(lbt(t),e=ent(mot(t,32))),e}function V9(t,e){var n;return (n=Igt(t.d,e))>=0?Qwt(t,n,!0,!0):rIt(t,e,!0)}function Z9(t,e){var n,i;return _T(),n=u3(t),i=u3(e),!!n&&!!i&&!Rwt(n.k,i.k)}function Q9(t,e){Cnt(t,null==e||Kj((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e));}function J9(t,e){Snt(t,null==e||Kj((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e));}function ttt(t,e){Tnt(t,null==e||Kj((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e));}function ett(t,e){Ent(t,null==e||Kj((mW(e),e))||isNaN((mW(e),e))?0:(mW(e),e));}function ntt(t){(this.q?this.q:(EV(),EV(),une)).Ac(t.q?t.q:(EV(),EV(),une));}function itt(t,e){return iD(e,99)&&$z(e,18).Bb&FVt?new DI(e,t):new Iot(e,t)}function rtt(t,e){return iD(e,99)&&$z(e,18).Bb&FVt?new DI(e,t):new Iot(e,t)}function att(t,e){Yre=new ne,tae=e,$z((Kre=t).b,65),B8(Kre,Yre,null),oUt(Kre);}function ott(t,e,n){var i;return i=t.g[e],vD(t,e,t.oi(e,n)),t.gi(e,n,i),t.ci(),i}function stt(t,e){var n;return (n=t.Xc(e))>=0&&(t.$c(n),!0)}function ctt(t){var e;return t.d!=t.r&&(e=Axt(t),t.e=!!e&&e.Cj()==k7t,t.d=e),t.e}function utt(t,e){var n;for(yY(t),yY(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function ltt(t,e){var n;return (n=$z(PY(t.e,e),387))?(aD(t,n),n.e):null}function htt(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function ftt(t,e){return Xft(t),new PU(t,new Bj(new _6(e,t.a)))}function dtt(t,e){var n=t.a[e],i=(Qst(),lee)[typeof n];return i?i(n):vlt(typeof n)}function gtt(t){switch(t.g){case 0:return PWt;case 1:return -1;default:return 0}}function ptt(t){return Rxt(t,(q9(),pee))<0?-CN(act(t)):t.l+t.m*AVt+t.h*MVt}function btt(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function wtt(t){var e;return null!=(e=0==t.b.c.length?null:DU(t.b,0))&&urt(t,0),e}function ytt(t,e){for(;e[0]<t.length&&HI(" \t\r\n",VEt(uX(t,e[0])))>=0;)++e[0];}function mtt(t,e){this.e=e,this.a=Wot(t),this.a<54?this.f=v2(t):this.c=Jbt(t);}function vtt(t,e,n,i){dWt(),Mw.call(this,26),this.c=t,this.a=e,this.d=n,this.b=i;}function xtt(t,e,n){var i,r;for(i=10,r=0;r<n-1;r++)e<i&&(t.a+="0"),i*=10;t.a+=e;}function ktt(t,e){var n;for(n=0;t.e!=t.i.gc();)gU(e,vwt(t),nft(n)),n!=PWt&&++n;}function _tt(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n;}function Ett(t,e){var n,i,r;r=e.c.i,i=(n=$z(PY(t.f,r),57)).d.c-n.e.c,Vrt(e.a,i,0);}function Ttt(t){var e,n;return e=t+128,!(n=(vU(),xee)[e])&&(n=xee[e]=new Id(t)),n}function Ctt(t,e){var n;return mW(e),Dtt(!!(n=t[":"+e]),Cst(Hx(Ite,1),zWt,1,5,[e])),n}function Stt(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=cSt(e,n);}while(t.b);t.b=n;}}function Att(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=cSt(e,n);}while(t.a);t.a=n;}}function Mtt(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function Itt(t,e){var n,i;for(n=(i=e.c)+1;n<=e.f;n++)t.a[n]>t.a[i]&&(i=n);return i}function Ott(t,e){var n;return 0==(n=Adt(t.e.c,e.e.c))?Cft(t.e.d,e.e.d):n}function Ltt(t,e){return 0==e.e||0==t.e?ene:(OIt(),INt(t,e))}function Dtt(t,e){if(!t)throw Fw(new Rv(VNt("Enum constant undefined: %s",e)))}function Ntt(){Ntt=I,ase=new Te,ose=new _e,ise=new Ie,rse=new Oe,sse=new Le;}function Ptt(){Ptt=I,bie=new $C("BY_SIZE",0),wie=new $C("BY_SIZE_AND_SHAPE",1);}function Btt(){Btt=I,Nae=new qC("EADES",0),Pae=new qC("FRUCHTERMAN_REINGOLD",1);}function Rtt(){Rtt=I,Ele=new TS("READING_DIRECTION",0),Tle=new TS("ROTATION",1);}function jtt(){jtt=I,_le=hlt((Wyt(),Cst(Hx(Cle,1),OXt,335,0,[yle,wle,vle,xle,mle])));}function $tt(){$tt=I,vye=hlt((Dyt(),Cst(Hx(Mye,1),OXt,315,0,[yye,pye,bye,gye,wye])));}function Ftt(){Ftt=I,Aue=hlt((L_t(),Cst(Hx(Bue,1),OXt,363,0,[_ue,Tue,Cue,Eue,kue])));}function ztt(){ztt=I,Ufe=hlt((_dt(),Cst(Hx(eye,1),OXt,163,0,[zfe,Rfe,jfe,$fe,Ffe])));}function Htt(){Htt=I,sEe=hlt((OCt(),Cst(Hx(UEe,1),OXt,316,0,[eEe,nEe,aEe,iEe,rEe])));}function Utt(){Utt=I,hTe=hlt((iwt(),Cst(Hx(vTe,1),OXt,175,0,[cTe,sTe,aTe,uTe,oTe])));}function Gtt(){Gtt=I,$_e=hlt((VDt(),Cst(Hx(U_e,1),OXt,355,0,[N_e,D_e,B_e,P_e,R_e])));}function qtt(){qtt=I,zoe=hlt((mTt(),Cst(Hx(Goe,1),OXt,356,0,[Poe,Boe,Roe,joe,$oe])));}function Ktt(){Ktt=I,HSe=hlt(($ht(),Cst(Hx(KSe,1),OXt,103,0,[$Se,jSe,RSe,BSe,FSe])));}function Ytt(){Ytt=I,UAe=hlt((rwt(),Cst(Hx(VAe,1),OXt,249,0,[$Ae,zAe,RAe,jAe,FAe])));}function Wtt(){Wtt=I,AMe=hlt((vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])));}function Xtt(t,e){var n;return (n=$z(PY(t.a,e),134))||(n=new Qt,YW(t.a,e,n)),n}function Vtt(t){var e;return !!(e=$z(yTt(t,(uWt(),Phe)),305))&&e.a==t}function Ztt(t){var e;return !!(e=$z(yTt(t,(uWt(),Phe)),305))&&e.i==t}function Qtt(t,e){return mW(e),Nq(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function Jtt(t){return Wlt(t,PWt)>0?PWt:Wlt(t,jXt)<0?jXt:dG(t)}function tet(t){return t<3?(hit(t,AXt),t+1):t<MXt?CQ(t/.75+1):PWt}function eet(t,e){var n;return null==t.i&&HFt(t),n=t.i,e>=0&&e<n.length?n[e]:null}function net(t,e,n){var i;if(null==e)throw Fw(new gy);return i=UQ(t,e),e4(t,e,n),i}function iet(t){return t.a>=-.01&&t.a<=lQt&&(t.a=0),t.b>=-.01&&t.b<=lQt&&(t.b=0),t}function ret(t,e){return e==(i$(),i$(),_ne)?t.toLocaleLowerCase():t.toLowerCase()}function aet(t){return (2&t.i?"interface ":1&t.i?"":"class ")+(xB(t),t.o)}function oet(t){var e;e=new Im,u7((!t.q&&(t.q=new tK(YOe,t,11,10)),t.q),e);}function set(t,e){var n;return n=e>0?e-1:e,Ik(Ok($nt(OH(new qm,n),t.n),t.j),t.k)}function cet(t,e,n,i){t.j=-1,HIt(t,kSt(t,e,n),(ZT(),$z(e,66).Mj().Ok(i)));}function uet(t){this.g=t,this.f=new Lw,this.a=e.Math.min(this.g.c.c,this.g.d.c);}function het(t){this.b=new Lw,this.a=new Lw,this.c=new Lw,this.d=new Lw,this.e=t;}function fet(t,e){this.a=new Dw,this.e=new Dw,this.b=(Elt(),aye),this.c=t,this.b=e;}function det(t,e,n){LR.call(this),Net(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e;}function get(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(nv(),Gte);}function pet(t){if(t<0)throw Fw(new Rv("Illegal Capacity: "+t));this.g=this.ri(t);}function bet(t,e){if(0>t||t>e)throw Fw(new kx("fromIndex: 0, toIndex: "+t+uZt+e))}function wet(t){var e;if(t.a==t.b.a)throw Fw(new yy);return e=t.a,t.c=e,t.a=t.a.e,e}function yet(t){var e;_P(!!t.c),e=t.c.a,Iet(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null;}function met(t,e){var n;return Xft(t),n=new bV(t,t.a.rd(),4|t.a.qd(),e),new PU(t,n)}function vet(t,e){var n,i;return (n=$z(hht(t.d,e),14))?(i=e,t.e.pc(i,n)):null}function xet(t,e){var n;for(n=t.Kc();n.Ob();)uct($z(n.Pb(),70),(uWt(),afe),e);}function ket(t){var e;return (e=Hv(_B(yTt(t,(zYt(),rbe)))))<0&&uct(t,rbe,e=0),e}function _et(t,n,i){var r;$xt(i,r=e.Math.max(0,t.b/2-.5),1),Kz(n,new eS(i,r));}function Eet(t,e,n){return CQ(FH(t.a.e[$z(e.a,10).p]-t.a.e[$z(n.a,10).p]))}function Tet(t,e,n,i,r,a){var o;EJ(o=K5(i),r),_J(o,a),ZMt(t.a,i,new O$(o,e,n.f));}function Cet(t,e){var n;if(!(n=DNt(t.Tg(),e)))throw Fw(new Rv(i6t+e+o6t));return n}function Set(t,e){var n;for(n=t;VQ(n);)if((n=VQ(n))==e)return !0;return !1}function Aet(t,e){var n,i,r;for(i=e.a.cd(),n=$z(e.a.dd(),14).gc(),r=0;r<n;r++)t.td(i);}function Met(t,e){var n,i,r,a;for(mW(e),r=0,a=(i=t.c).length;r<a;++r)n=i[r],e.td(n);}function Iet(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 Oet(t,e){return !(!e||t.b[e.g]!=e||(IY(t.b,e.g,null),--t.c,0))}function Let(t,e){return !!Qrt(t,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))))}function Det(t,e){Oj($z(yTt($z(t.e,10),(zYt(),twe)),98))&&(EV(),wL($z(t.e,10).j,e));}function Net(t){t.b=(V7(),Wie),t.f=(H9(),nre),t.d=(hit(2,IXt),new V6(2)),t.e=new Hk;}function Pet(){Pet=I,Hie=new zC("BEGIN",0),Uie=new zC(eQt,1),Gie=new zC("END",2);}function Bet(){Bet=I,USe=new RA(eQt,0),GSe=new RA("HEAD",1),qSe=new RA("TAIL",2);}function Ret(){return uOt(),Cst(Hx(iOe,1),OXt,237,0,[tOe,ZIe,QIe,VIe,JIe,WIe,YIe,XIe])}function jet(){return CSt(),Cst(Hx(ETe,1),OXt,277,0,[mTe,fTe,bTe,yTe,dTe,gTe,pTe,wTe])}function $et(){return vBt(),Cst(Hx(ele,1),OXt,270,0,[$ue,Hue,jue,que,zue,Fue,Gue,Uue])}function Fet(){return cNt(),Cst(Hx(Nye,1),OXt,260,0,[Sye,kye,Tye,_ye,Eye,xye,Cye,Aye])}function zet(){zet=I,ZAe=hlt((X_t(),Cst(Hx(rMe,1),OXt,98,0,[XAe,WAe,YAe,GAe,KAe,qAe])));}function Het(){Het=I,Qie=(Pet(),Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length,Zie=Qie;}function Uet(t){this.b=(yY(t),new Jj(t)),this.a=new Lw,this.d=new Lw,this.e=new Hk;}function Get(t){var n;return (n=e.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=n,t.b/=n),t}function qet(t){var e;return t.w?t.w:((e=Y1(t))&&!e.kh()&&(t.w=e),e)}function Ket(t){var e;return null==t?null:WEt(e=$z(t,190),e.length)}function Yet(t,e){if(null==t.g||e>=t.i)throw Fw(new OI(e,t.i));return t.li(e,t.g[e])}function Wet(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)srt(t.b,e),e=Eft(e);srt(t.b,e);}function Xet(t){var e;for(e=0;e<t.c.length;e++)(l1(e,t.c.length),$z(t.c[e],11)).p=e;}function Vet(t,e,n){var i,r,a;for(r=e[n],i=0;i<r.length;i++)a=r[i],t.e[a.c.p][a.p]=i;}function Zet(t,e){var n,i,r,a;for(r=0,a=(i=t.d).length;r<a;++r)n=i[r],lD(t.g,n).a=e;}function Qet(t,e){var n;for(n=cwt(t,0);n.b!=n.d.c;)GR($z(h3(n),8),e);return t}function Jet(t,e){return qR($L($z(PY(t.g,e),8)),RL($z(PY(t.f,e),460).b))}function tnt(t){var e;return p2(t.e,t),TP(t.b),t.c=t.a,e=$z(t.a.Pb(),42),t.b=gst(t),e}function ent(t){var e;return VH(null==t||Array.isArray(t)&&!((e=btt(t))>=14&&e<=16)),t}function nnt(t,e,n){var i=function(){return t.apply(i,arguments)};return e.apply(i,n),i}function int(t,e,n){var i,r;i=e;do{r=Hv(t.p[i.p])+n,t.p[i.p]=r,i=t.a[i.p];}while(i!=e)}function rnt(t,e){var n,i;i=t.a,n=Xht(t,e,null),i!=e&&!t.e&&(n=aqt(t,e,n)),n&&n.Fi();}function ant(t,n){return cL(),iit(RXt),e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)}function ont(t,n){return cL(),iit(RXt),e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)}function snt(t,e){return jTt(),xL(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function cnt(t,e){return Zk(Zrt(t,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15)))))}function unt(){unt=I,Mse=hlt((oCt(),Cst(Hx(Ise,1),OXt,267,0,[Cse,Tse,_se,Sse,Ese,kse])));}function lnt(){lnt=I,JTe=hlt((d_t(),Cst(Hx(zSe,1),OXt,291,0,[ZTe,VTe,XTe,YTe,KTe,WTe])));}function hnt(){hnt=I,DTe=hlt((dyt(),Cst(Hx(QTe,1),OXt,248,0,[CTe,MTe,ITe,OTe,STe,ATe])));}function fnt(){fnt=I,nle=hlt((OSt(),Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])));}function dnt(){dnt=I,ohe=hlt((ZTt(),Cst(Hx(whe,1),OXt,275,0,[ihe,the,rhe,nhe,ehe,Jle])));}function gnt(){gnt=I,Qle=hlt((Fkt(),Cst(Hx(ahe,1),OXt,274,0,[Wle,Yle,Vle,Kle,Xle,qle])));}function pnt(){pnt=I,nye=hlt((_Et(),Cst(Hx(oye,1),OXt,313,0,[Jwe,Zwe,Xwe,Vwe,tye,Qwe])));}function bnt(){bnt=I,Fle=hlt((pCt(),Cst(Hx(Ule,1),OXt,276,0,[Nle,Dle,Ble,Ple,jle,Rle])));}function wnt(){wnt=I,Vve=hlt((PSt(),Cst(Hx(Rxe,1),OXt,327,0,[Wve,Gve,Kve,qve,Yve,Uve])));}function ynt(){ynt=I,aMe=hlt((hMt(),Cst(Hx(SMe,1),OXt,273,0,[nMe,tMe,eMe,JAe,QAe,iMe])));}function mnt(){mnt=I,sAe=hlt((JEt(),Cst(Hx(yAe,1),OXt,312,0,[rAe,nAe,aAe,tAe,iAe,eAe])));}function vnt(){return JOt(),Cst(Hx(HAe,1),OXt,93,0,[SAe,CAe,MAe,NAe,DAe,LAe,IAe,OAe,AAe])}function xnt(t,e){var n;n=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,0,n,t.a));}function knt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,1,n,t.b));}function _nt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,3,n,t.b));}function Ent(t,e){var n;n=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,3,n,t.f));}function Tnt(t,e){var n;n=t.g,t.g=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,4,n,t.g));}function Cnt(t,e){var n;n=t.i,t.i=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,5,n,t.i));}function Snt(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,6,n,t.j));}function Ant(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,1,n,t.j));}function Mnt(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,4,n,t.c));}function Int(t,e){var n;n=t.k,t.k=e,4&t.Db&&!(1&t.Db)&&fot(t,new u4(t,2,n,t.k));}function Ont(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,2,n,t.d));}function Lnt(t,e){var n;n=t.s,t.s=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,4,n,t.s));}function Dnt(t,e){var n;n=t.t,t.t=e,4&t.Db&&!(1&t.Db)&&fot(t,new l4(t,5,n,t.t));}function Nnt(t,e){var n;n=t.F,t.F=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,5,n,e));}function Pnt(t,e){var n;return (n=$z(PY((QT(),bOe),t),55))?n.xj(e):D8(Ite,zWt,1,e,5,1)}function Bnt(t,e){var n;return e in t.a&&(n=UQ(t,e).he())?n.a:null}function Rnt(t,e){var n,i;return Jk(),i=new cc,!!e&&ANt(i,e),Nit(n=i,t),n}function jnt(t,e,n){if(Nut(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw Fw(new ly);return n}function $nt(t,e){return t.n=e,t.n?(t.f=new Lw,t.e=new Lw):(t.f=null,t.e=null),t}function Fnt(t,e,n,i,r,a){var o;return Xnt(n,o=wY(t,e)),o.i=r?8:0,o.f=i,o.e=r,o.g=a,o}function znt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=t,this.a=n;}function Hnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=t,this.a=n;}function Unt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=t,this.a=n;}function Gnt(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=t,this.a=n;}function qnt(t,e,n,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=t,this.a=n;}function Knt(t,e){var n,i,r,a;for(r=0,a=(i=e).length;r<a;++r)n=i[r],Y7(t.a,n);return t}function Ynt(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)yY(e[n]);return new MI(t)}function Wnt(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||GXt}function Xnt(t,e){if(t){e.n=t;var n=GQ(e);n?n.gm=e:TWt[t]=[e];}}function Vnt(t,n,i){var r;return r=t.length,jAt(t,0,n,0,e.Math.min(i,r),!0),n}function Znt(t,e,n){var i,r;for(r=e.Kc();r.Ob();)i=$z(r.Pb(),79),kK(t,$z(n.Kb(i),33));}function Qnt(){X_();for(var t=CWt,e=0;e<arguments.length;e++)t.push(arguments[e]);}function Jnt(t,e){var n,i,r;for(i=0,r=(n=e).length;i<r;++i)n5(t,n[i],t.c.b,t.c);}function tit(t,n){t.b=e.Math.max(t.b,n.d),t.e+=n.r+(0==t.a.c.length?0:t.c),Kz(t.a,n);}function eit(t){_P(t.c>=0),ibt(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1;}function nit(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=mlt(t.f)),t.c).e}function iit(t){if(!(t>=0))throw Fw(new Rv("tolerance ("+t+") must be >= 0"));return t}function rit(){return iTe||vut(iTe=new MRt,Cst(Hx(Rie,1),zWt,130,0,[new Oh])),iTe}function ait(){ait=I,Hye=new US(uQt,0),Fye=new US("INPUT",1),zye=new US("OUTPUT",2);}function oit(){oit=I,fle=new _S("ARD",0),gle=new _S("MSD",1),dle=new _S("MANUAL",2);}function sit(){sit=I,Ame=new XS("BARYCENTER",0),Mme=new XS(k1t,1),Ime=new XS(_1t,2);}function cit(t,e){var n;if(n=t.gc(),e<0||e>n)throw Fw(new JR(e,n));return new Pj(t,e)}function uit(t,e){var n;return iD(e,42)?t.c.Mc(e):(n=ipt(t,e),Ypt(t,e),n)}function lit(t,e,n){return Alt(t,e),Drt(t,n),Lnt(t,0),Dnt(t,1),Jht(t,!0),Vht(t,!0),t}function hit(t,e){if(t<0)throw Fw(new Rv(e+" cannot be negative but was: "+t));return t}function fit(t,e){var n,i;for(n=0,i=t.gc();n<i;++n)if(iX(e,t.Xb(n)))return n;return -1}function dit(t){var e;for(e=t.c.Cc().Kc();e.Ob();)$z(e.Pb(),14).$b();t.c.$b(),t.d=0;}function git(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)WK(e=n[i],e.length,null);}function pit(t){var e,n;if(0==t)return 32;for(n=0,e=1;!(e&t);e<<=1)++n;return n}function bit(t){var e;for(e=new Kd(evt(t));e.a<e.c.c.length;)$z(Q1(e),680).Gf();}function wit(t){bT(),this.g=new Dw,this.f=new Dw,this.b=new Dw,this.c=new pQ,this.i=t;}function yit(){this.f=new Hk,this.d=new fm,this.c=new Hk,this.a=new Lw,this.b=new Lw;}function mit(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new lj(this,e,n,i);}function vit(t,e,n,i,r){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1,r||(this.o=-2-i-1);}function xit(){AD.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=v6t;}function kit(){return Jjt(),Cst(Hx(eIe,1),OXt,259,0,[HMe,GMe,zMe,qMe,KMe,WMe,YMe,UMe,FMe])}function _it(){return tRt(),Cst(Hx($ie,1),OXt,250,0,[Pie,Iie,Oie,Mie,Die,Nie,Lie,Aie,Sie])}function Eit(){Eit=I,Mee=Cst(Hx(ANe,1),uVt,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15]);}function Tit(){Tit=I,mme=dU(dU(dU(new $2,(mTt(),Poe),(hWt(),ice)),Boe,Ace),Roe,Sce);}function Cit(){Cit=I,vme=dU(dU(dU(new $2,(mTt(),Poe),(hWt(),ice)),Boe,Ace),Roe,Sce);}function Sit(){Sit=I,_me=dU(dU(dU(new $2,(mTt(),Poe),(hWt(),ice)),Boe,Ace),Roe,Sce);}function Ait(){Ait=I,Cme=KG(dU(dU(new $2,(mTt(),Roe),(hWt(),Oce)),joe,xce),$oe,Ice);}function Mit(){Mit=I,cle=new kS("LAYER_SWEEP",0),sle=new kS(F1t,1),ule=new kS(XJt,2);}function Iit(t,e){var n,i;return n=t.c,(i=e.e[t.p])>0?$z(DU(n.a,i-1),10):null}function Oit(t,e){var n;n=t.k,t.k=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,2,n,t.k));}function Lit(t,e){var n;n=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,8,n,t.f));}function Dit(t,e){var n;n=t.i,t.i=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,7,n,t.i));}function Nit(t,e){var n;n=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,8,n,t.a));}function Pit(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,0,n,t.b));}function Bit(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,0,n,t.b));}function Rit(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,1,n,t.c));}function jit(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,1,n,t.c));}function $it(t,e){var n;n=t.c,t.c=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,4,n,t.c));}function Fit(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,1,n,t.d));}function zit(t,e){var n;n=t.D,t.D=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,2,n,t.D));}function Hit(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&Hit(t.i,e/t.r*t.i.d));}function Uit(t,e,n){var i;t.b=e,t.a=n,i=512&~t.a?new Bl:new jm,t.c=EBt(i,t.b,t.a);}function Git(t,e){return OPt(t.e,e)?(ZT(),ctt(e)?new lU(e,t):new DM(e,t)):new BM(e,t)}function qit(t,e){return Vk(Qrt(t.a,e,dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15)))))}function Kit(t,e,n){return D9(t,new ug(e),new ot,new lg(n),Cst(Hx(Qne,1),OXt,132,0,[]))}function Yit(t){return 0>t?new YE:new IB(null,new w5(t+1,t))}function Wit(t,e){var n;return EV(),n=new qE(1),qM(t)?wJ(n,t,e):xAt(n.f,t,e),new qd(n)}function Xit(t,e){var n,i;return (n=t.o+t.p)<(i=e.o+e.p)?-1:n==i?0:1}function Vit(t){var e;return iD(e=yTt(t,(uWt(),dfe)),160)?ygt($z(e,160)):null}function Zit(t){var n;return (t=e.Math.max(t,2))>(n=vct(t))?(n<<=1)>0?n:MXt:n}function Qit(t){switch(aN(3!=t.e),t.e){case 2:return !1;case 0:return !0}return R5(t)}function Jit(t,e){var n;return !!iD(e,8)&&(n=$z(e,8),t.a==n.a&&t.b==n.b)}function trt(t,e,n){var i,r;return r=e>>5,i=31&e,t0(vq(t.n[n][r],dG(yq(i,1))),3)}function ert(t,e){var n,i;for(i=e.vc().Kc();i.Ob();)wkt(t,(n=$z(i.Pb(),42)).cd(),n.dd());}function nrt(t,e){var n;n=new ne,$z(e.b,65),$z(e.b,65),$z(e.b,65),Met(e.a,new kz(t,n,e));}function irt(t,e){var n;n=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,21,n,t.b));}function rrt(t,e){var n;n=t.d,t.d=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,11,n,t.d));}function art(t,e){var n;n=t.j,t.j=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,13,n,t.j));}function ort(t,e,n){var i,r,a;for(a=t.a.length-1,r=t.b,i=0;i<n;r=r+1&a,++i)IY(e,i,t.a[r]);}function srt(t,e){var n;return mW(e),n=e.g,!t.b[n]&&(IY(t.b,n,e),++t.c,!0)}function crt(t,e){var n;return !((n=null==e?-1:x9(t.b,e,0))<0||(urt(t,n),0))}function urt(t,e){var n;n=s6(t.b,t.b.c.length-1),e<t.b.c.length&&(i5(t.b,e,n),RAt(t,e));}function lrt(t,e){0==(m5(),Wne?null:e.c).length&&UB(e,new Y),wJ(t.a,Wne?null:e.c,e);}function hrt(t,e){MEt(e,"Hierarchical port constraint processing",1),fwt(t),VYt(t),zCt(e);}function frt(t,e){var n,i;for(i=e.Kc();i.Ob();)n=$z(i.Pb(),266),t.b=!0,kK(t.e,n),n.b=t;}function drt(t,e){var n,i;return n=1-e,i=t.a[n],t.a[n]=i.a[e],i.a[e]=t,t.b=!0,i.b=!1,i}function grt(t,e){var n,i;return n=$z(yTt(t,(zYt(),swe)),8),i=$z(yTt(e,swe),8),Cft(n.b,i.b)}function prt(t){PG.call(this),this.b=Hv(_B(yTt(t,(zYt(),ywe)))),this.a=$z(yTt(t,Zpe),218);}function brt(t,e,n){H2.call(this,t,e,n),this.a=new Dw,this.b=new Dw,this.d=new Kp(this);}function wrt(t){this.e=t,this.d=new h_(tet(gq(this.e).gc())),this.c=this.e.a,this.b=this.e.c;}function yrt(t){this.b=t,this.a=D8(ANe,uVt,25,t+1,15,1),this.c=D8(ANe,uVt,25,t,15,1),this.d=0;}function mrt(t,e,n){var i;return xPt(t,e,i=new Lw,n,!0,!0),t.b=new yrt(i.c.length),i}function vrt(t,e){var n;return (n=$z(PY(t.c,e),458))||((n=new im).c=e,YW(t.c,n.c,n)),n}function xrt(t,e){var n=t.a,i=0;for(var r in n)n.hasOwnProperty(r)&&(e[i++]=r);return e}function krt(t){return null==t.b?(XT(),XT(),LLe):t.Lk()?t.Kk():t.Jk()}function _rt(t){var e,n;for(n=new MD(t);n.e!=n.i.gc();)Cnt(e=$z(vwt(n),33),0),Snt(e,0);}function Ert(){Ert=I,soe=new aw(MJt),coe=new aw(IJt),ooe=new aw(OJt),aoe=new aw(LJt);}function Trt(){Trt=I,zse=new ZC("TO_INTERNAL_LTR",0),Fse=new ZC("TO_INPUT_DIRECTION",1);}function Crt(){Crt=I,Wxe=new dA("P1_NODE_PLACEMENT",0),Xxe=new dA("P2_EDGE_ROUTING",1);}function Srt(){Srt=I,Pue=new mS("START",0),Nue=new mS("MIDDLE",1),Due=new mS("END",2);}function Art(){Art=I,Jce=new eR("edgelabelcenterednessanalysis.includelabel",(cN(),bee));}function Mrt(t,e){VE(MX(new PU(null,new f1(new Cd(t.b),1)),new VA(t,e)),new QA(t,e));}function Irt(){this.c=new S_(0),this.b=new S_(F3t),this.d=new S_($3t),this.a=new S_(ZQt);}function Ort(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Gf(e=$z(n.Pb(),214),new zTt(e.e));}function Lrt(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Uf(e=$z(n.Pb(),214),new Yq(e.f));}function Drt(t,e){var n;n=t.zb,t.zb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,1,n,t.zb));}function Nrt(t,e){var n;n=t.xb,t.xb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,3,n,t.xb));}function Prt(t,e){var n;n=t.yb,t.yb=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,2,n,t.yb));}function Brt(t,e){var n;(n=new Am).n=e,u7((!t.s&&(t.s=new tK(ROe,t,21,17)),t.s),n);}function Rrt(t,e){var n;(n=new pB).n=e,u7((!t.s&&(t.s=new tK(ROe,t,21,17)),t.s),n);}function jrt(t,e){var n,i;for(U7(n=t.Pc(),0,n.length,e),i=0;i<n.length;i++)t._c(i,n[i]);}function $rt(t,e){var n,i,r;for(mW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),n|=t.Fc(i);return n}function Frt(t){var e,n,i;for(e=0,i=t.Kc();i.Ob();)e=~~(e+=null!=(n=i.Pb())?Jct(n):0);return e}function zrt(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+htt(t))}function Hrt(t,e){var n;return iD(e,14)?(n=$z(e,14),t.Gc(n)):utt(t,$z(yY(e),20).Kc())}function Urt(t,e,n){fet.call(this,e,n),this.d=D8(Ase,a1t,10,t.a.c.length,0,1),Xbt(t.a,this.d);}function Grt(t){t.a=null,t.e=null,t.b.c=D8(Ite,zWt,1,0,5,1),t.f.c=D8(Ite,zWt,1,0,5,1),t.c=null;}function qrt(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null);}function Krt(t,e){return Hv(_B(IN(Oht(IX(new PU(null,new f1(t.c.b,16)),new Dp(t)),e))))}function Yrt(t,e){return Hv(_B(IN(Oht(IX(new PU(null,new f1(t.c.b,16)),new Lp(t)),e))))}function Wrt(t,e){MEt(e,v1t,1),VE(ftt(new PU(null,new f1(t.b,16)),new Qe),new Je),zCt(e);}function Xrt(t,e){var n,i;return n=$z(QOt(t,(qvt(),Oke)),19),i=$z(QOt(e,Oke),19),xL(n.a,i.a)}function Vrt(t,e,n){var i,r;for(r=cwt(t,0);r.b!=r.d.c;)(i=$z(h3(r),8)).a+=e,i.b+=n;return t}function Zrt(t,e,n){var i;for(i=t.b[n&t.f];i;i=i.b)if(n==i.a&&fW(e,i.g))return i;return null}function Qrt(t,e,n){var i;for(i=t.c[n&t.f];i;i=i.d)if(n==i.f&&fW(e,i.i))return i;return null}function Jrt(t,e,n){var i,r,a;for(i=0,r=0;r<n;r++)a=e[r],t[r]=a<<1|i,i=a>>>31;0!=i&&(t[n]=i);}function tat(t,e){var n,i;for(EV(),i=new Lw,n=0;n<t;++n)i.c[i.c.length]=e;return new Ix(i)}function eat(t){var e;return WM((e=k2(t)).a,0)?(cT(),cT(),Tne):(cT(),new yP(e.b))}function nat(t){var e;return WM((e=k2(t)).a,0)?(cT(),cT(),Tne):(cT(),new yP(e.c))}function iat(t){var e;return WM((e=x2(t)).a,0)?(uT(),uT(),Cne):(uT(),new mP(e.b))}function rat(t){return t.b.c.i.k==(oCt(),_se)?$z(yTt(t.b.c.i,(uWt(),dfe)),11):t.b.c}function aat(t){return t.b.d.i.k==(oCt(),_se)?$z(yTt(t.b.d.i,(uWt(),dfe)),11):t.b.d}function oat(t,e,n,i,r,a,o,s,c,u,l,h,f){return fAt(t,e,n,i,r,a,o,s,c,u,l,h,f),Uft(t,!1),t}function sat(t,e,n,i,r,a,o){gE.call(this,t,e),this.d=n,this.e=i,this.c=r,this.b=a,this.a=a6(o);}function cat(t,e){typeof window===IWt&&typeof window.$gwt===IWt&&(window.$gwt[t]=e);}function uat(t,e){return Ist(),t==Zoe&&e==tse||t==tse&&e==Zoe||t==Joe&&e==Qoe||t==Qoe&&e==Joe}function lat(t,e){return Ist(),t==Zoe&&e==Qoe||t==Zoe&&e==Joe||t==tse&&e==Joe||t==tse&&e==Qoe}function hat(t,n){return cL(),iit(lQt),e.Math.abs(0-n)<=lQt||0==n||isNaN(0)&&isNaN(n)?0:t/n}function fat(){return fBt(),Cst(Hx(khe,1),OXt,256,0,[che,lhe,hhe,fhe,dhe,ghe,bhe,she,uhe,phe])}function dat(){dat=I,ELe=new Sm,CLe=Cst(Hx(ROe,1),D7t,170,0,[]),TLe=Cst(Hx(YOe,1),N7t,59,0,[]);}function gat(){gat=I,sme=new YS("NO",0),ame=new YS("GREEDY",1),ome=new YS("LOOK_BACK",2);}function pat(){pat=I,Nse=new ze,Lse=new Fe,Dse=new He,Ose=new Ue,Pse=new Ge,Bse=new qe;}function bat(t){var e,n;for(n=0,e=new Kd(t.b);e.a<e.c.c.length;)$z(Q1(e),29).p=n,++n;}function wat(t,e){var n;return OMt(new DA((n=jEt(t)).c,n.d),new DA(n.b,n.a),t.rf(),e,t.Hf())}function yat(t,e){var n;return t.b?null:(n=set(t,t.g),NH(t.a,n),n.i=t,t.d=e,n)}function mat(t,e,n){MEt(n,"DFS Treeifying phase",1),xpt(t,e),rPt(t,e),t.a=null,t.b=null,zCt(n);}function vat(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new Lw,qAt(this),EV(),wL(this.a,null);}function xat(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g));}function kat(t,e){_H.call(this,qLe,t,e),this.b=this,this.a=aPt(t.Tg(),eet(this.e.Tg(),this.c));}function _at(t,e){var n,i;for(mW(e),i=e.vc().Kc();i.Ob();)n=$z(i.Pb(),42),t.zc(n.cd(),n.dd());}function Eat(t,e,n){var i;for(i=n.Kc();i.Ob();)if(!H3(t,e,i.Pb()))return !1;return !0}function Tat(t,e,n,i,r){var a;return n&&(a=Igt(e.Tg(),t.c),r=n.gh(e,-1-(-1==a?i:a),null,r)),r}function Cat(t,e,n,i,r){var a;return n&&(a=Igt(e.Tg(),t.c),r=n.ih(e,-1-(-1==a?i:a),null,r)),r}function Sat(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 Aat(t){switch(t.g){case 2:return vKt(),CMe;case 4:return vKt(),oMe;default:return t}}function Mat(t){switch(t.g){case 1:return vKt(),EMe;case 3:return vKt(),sMe;default:return t}}function Iat(t){var e,n,i;return t.j==(vKt(),sMe)&&(n=EN(e=qIt(t),oMe),(i=EN(e,CMe))||i&&n)}function Oat(t){var e;return new Xj(e=$z(t.e&&t.e(),9),$z(YK(e,e.length),9),e.length)}function Lat(t,e){MEt(e,v1t,1),tgt(sT(new Tg((gT(),new FX(t,!1,!1,new $e))))),zCt(e);}function Dat(t,e){return cN(),qM(t)?u6(t,EB(e)):GM(t)?kq(t,_B(e)):UM(t)?xq(t,kB(e)):t.wd(e)}function Nat(t,n){n.q=t,t.d=e.Math.max(t.d,n.r),t.b+=n.d+(0==t.a.c.length?0:t.c),Kz(t.a,n);}function Pat(t,e){var n,i,r,a;return r=t.c,n=t.c+t.b,a=t.d,i=t.d+t.a,e.a>r&&e.a<n&&e.b>a&&e.b<i}function Bat(t,e,n,i){iD(t.Cb,179)&&($z(t.Cb,179).tb=null),Drt(t,n),e&&jMt(t,e),i&&t.xk(!0);}function Rat(t,e){var n;zV(n=$z(e,183),"x",t.i),zV(n,"y",t.j),zV(n,S6t,t.g),zV(n,C6t,t.f);}function jat(){jat=I,Sme=sbt(vI(dU(dU(new $2,(mTt(),Roe),(hWt(),Oce)),joe,xce),$oe),Ice);}function $at(){$at=I,Nme=sbt(vI(dU(dU(new $2,(mTt(),Roe),(hWt(),Oce)),joe,xce),$oe),Ice);}function Fat(){Fat=I,qke=new yA(XJt,0),Kke=new yA("POLAR_COORDINATE",1),Gke=new yA("ID",2);}function zat(){zat=I,qye=new GS("EQUALLY",0),Kye=new GS(yQt,1),Yye=new GS("NORTH_SOUTH",2);}function Hat(){Hat=I,Iye=hlt((cNt(),Cst(Hx(Nye,1),OXt,260,0,[Sye,kye,Tye,_ye,Eye,xye,Cye,Aye])));}function Uat(){Uat=I,Yue=hlt((vBt(),Cst(Hx(ele,1),OXt,270,0,[$ue,Hue,jue,que,zue,Fue,Gue,Uue])));}function Gat(){Gat=I,xTe=hlt((CSt(),Cst(Hx(ETe,1),OXt,277,0,[mTe,fTe,bTe,yTe,dTe,gTe,pTe,wTe])));}function qat(){qat=I,nOe=hlt((uOt(),Cst(Hx(iOe,1),OXt,237,0,[tOe,ZIe,QIe,VIe,JIe,WIe,YIe,XIe])));}function Kat(){Kat=I,Wre=new eR("debugSVG",(cN(),!1)),Xre=new eR("overlapsExisted",!0);}function Yat(t,e){return D9(new og(t),new sg(e),new cg(e),new et,Cst(Hx(Qne,1),OXt,132,0,[]))}function Wat(){var t;return zne||(zne=new By,XO(t=new y5(""),(lT(),Fne)),lrt(zne,t)),zne}function Xat(t,e){for(yY(e);t.Ob();)if(!Xot($z(t.Pb(),10)))return !1;return !0}function Vat(t,e){var n;return !!(n=KRt(rit(),t))&&(Vwt(e,(cWt(),wSe),n),!0)}function Zat(t,e){var n;for(n=0;n<e.j.c.length;n++)$z(N9(t,n),21).Gc($z(N9(e,n),14));return t}function Qat(t,e){var n,i;for(i=new Kd(e.b);i.a<i.c.c.length;)n=$z(Q1(i),29),t.a[n.p]=XTt(n);}function Jat(t,e){var n,i;for(mW(e),i=t.vc().Kc();i.Ob();)n=$z(i.Pb(),42),e.Od(n.cd(),n.dd());}function tot(t,e){iD(e,83)?($z(t.c,76).Xj(),ert(t,$z(e,83))):$z(t.c,76).Wb(e);}function eot(t){return iD(t,152)?o6($z(t,152)):iD(t,131)?$z(t,131).a:iD(t,54)?new uv(t):new CE(t)}function not(t,e){return e<t.b.gc()?$z(t.b.Xb(e),10):e==t.b.gc()?t.a:$z(DU(t.e,e-t.b.gc()-1),10)}function iot(t,n){t.a=idt(t.a,1),t.c=e.Math.min(t.c,n),t.b=e.Math.max(t.b,n),t.d=idt(t.d,n);}function rot(t,e){MEt(e,"Edge and layer constraint edge reversal",1),$qt(LRt(t)),zCt(e);}function aot(t){var e;null==t.d?(++t.e,t.f=0,iht(null)):(++t.e,e=t.d,t.d=null,t.f=0,iht(e));}function oot(t){var e;return 0==(e=t.h)?t.l+t.m*AVt:e==CVt?t.l+t.m*AVt-MVt:t}function sot(t){return zB(),t.A.Hc((ypt(),NMe))&&!t.B.Hc((Jjt(),GMe))?Jgt(t):null}function cot(t){if(mW(t),0==t.length)throw Fw(new _x("Zero length BigInteger"));njt(this,t);}function uot(t){if(!t)throw Fw(new jv("no calls to next() since the last call to remove()"))}function lot(t){return OVt<t&&t<MVt?t<0?e.Math.ceil(t):e.Math.floor(t):oot(pNt(t))}function hot(t,e){var n,i,r;for(n=t.c.Ee(),r=e.Kc();r.Ob();)i=r.Pb(),t.a.Od(n,i);return t.b.Kb(n)}function fot(t,e){var n,i,r;if(null!=(n=t.Jg())&&t.Mg())for(i=0,r=n.length;i<r;++i)n[i].ui(e);}function dot(t,e){var n,i;for(i=bW(n=t).e;i;){if((n=i)==e)return !0;i=bW(n).e;}return !1}function got(t,e,n){var i,r;return (i=t.a.f[e.p])<(r=t.a.f[n.p])?-1:i==r?0:1}function pot(t,e,n){var i,r;return r=$z(Gj(t.d,e),19),i=$z(Gj(t.b,n),19),r&&i?G6(t,r.a,i.a):null}function bot(t,e){var n,i;for(i=new MD(t);i.e!=i.i.gc();)EO(n=$z(vwt(i),33),n.i+e.b,n.j+e.d);}function wot(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Q1(i),70),Kz(t.d,n),RTt(t,n);}function yot(t,e){var n,i;i=new Lw,n=e;do{i.c[i.c.length]=n,n=$z(PY(t.k,n),17);}while(n);return i}function mot(t,e){var n;return t.Db&e?-1==(n=Bmt(t,e))?t.Eb:ent(t.Eb)[n]:null}function vot(t,e){var n;return (n=new Bh).G=e,!t.rb&&(t.rb=new Vq(t,$Oe,t)),u7(t.rb,n),n}function xot(t,e){var n;return (n=new xy).G=e,!t.rb&&(t.rb=new Vq(t,$Oe,t)),u7(t.rb,n),n}function kot(t,e){switch(e){case 1:return !!t.n&&0!=t.n.i;case 2:return null!=t.k}return w0(t,e)}function _ot(t){switch(t.a.g){case 1:return new xM;case 3:return new uvt;default:return new Ch}}function Eot(t){var e;if(t.g>1||t.Ob())return ++t.a,t.g=0,e=t.i,t.Ob(),e;throw Fw(new yy)}function Tot(t){var e;return rL(),aC(sve,t)||((e=new so).a=t,fR(sve,t,e)),$z(oX(sve,t),635)}function Cot(t){var e,n,i;return n=0,(i=t)<0&&(i+=MVt,n=CVt),e=CQ(i/AVt),_L(CQ(i-e*AVt),e,n)}function Sot(t){var e,n,i;for(i=0,n=new WE(t.a);n.a<n.c.a.length;)e=a4(n),t.b.Hc(e)&&++i;return i}function Aot(t){var e,n,i;for(e=1,i=t.Kc();i.Ob();)e=~~(e=31*e+(null==(n=i.Pb())?0:Jct(n)));return e}function Mot(t,e){var n;this.c=t,pmt(t,n=new Lw,e,t.b,null,!1,null),this.a=new _2(n,0);}function Iot(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(ZT(),$z(t,66).Oj()),this.k=aPt(e.e.Tg(),t);}function Oot(t,e,n){this.b=(mW(t),t),this.d=(mW(e),e),this.e=(mW(n),n),this.c=this.d+""+this.e;}function Lot(){this.a=$z(ywt((lRt(),zae)),19).a,this.c=Hv(_B(ywt(ioe))),this.b=Hv(_B(ywt(Jae)));}function Dot(){Dot=I,BAe=hlt((JOt(),Cst(Hx(HAe,1),OXt,93,0,[SAe,CAe,MAe,NAe,DAe,LAe,IAe,OAe,AAe])));}function Not(){Not=I,jie=hlt((tRt(),Cst(Hx($ie,1),OXt,250,0,[Pie,Iie,Oie,Mie,Die,Nie,Lie,Aie,Sie])));}function Pot(){Pot=I,Pre=new GC("UP",0),Lre=new GC(bQt,1),Dre=new GC(rQt,2),Nre=new GC(aQt,3);}function Bot(){Bot=I,sJ(),yxe=new II(K3t,mxe=Pxe),$0(),bxe=new II(Y3t,wxe=Fxe);}function Rot(){Rot=I,vhe=new LS("ONE_SIDED",0),xhe=new LS("TWO_SIDED",1),mhe=new LS("OFF",2);}function jot(t){t.r=new Py,t.w=new Py,t.t=new Lw,t.i=new Lw,t.d=new Py,t.a=new hO,t.c=new Dw;}function $ot(t){this.n=new Lw,this.e=new XE,this.j=new XE,this.k=new Lw,this.f=new Lw,this.p=t;}function Fot(t,e){t.c&&(Zjt(t,e,!0),VE(new PU(null,new f1(e,16)),new zp(t))),Zjt(t,e,!1);}function zot(t,e,n){return t==(sit(),Ime)?new Sa:0!=zLt(e,1)?new Pk(n.length):new Nk(n.length)}function Hot(t,e){var n;return e?((n=e.Ve()).dc()||(t.q?_at(t.q,n):t.q=new wI(n)),t):t}function Uot(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(wR(t.a,e),--t.c,oZ(t.b)),n}function Got(t,e){var n;return 0==(n=e.p-t.p)?Cft(t.f.a*t.f.b,e.f.a*e.f.b):n}function qot(t,e){var n,i;return (n=t.f.c.length)<(i=e.f.c.length)?-1:n==i?0:1}function Kot(t){return 0!=t.b.c.length&&$z(DU(t.b,0),70).a?$z(DU(t.b,0),70).a:tV(t)}function Yot(t){var e;if(t){if((e=t).dc())throw Fw(new yy);return e.Xb(e.gc()-1)}return a1(t.Kc())}function Wot(t){var e;return Wlt(t,0)<0&&(t=aH(t)),64-(0!=(e=dG(mq(t,32)))?QMt(e):QMt(dG(t))+32)}function Xot(t){var e;return e=$z(yTt(t,(uWt(),Whe)),61),t.k==(oCt(),_se)&&(e==(vKt(),CMe)||e==oMe)}function Vot(t,e,n){var i,r;(r=$z(yTt(t,(zYt(),bbe)),74))&&(Yut(i=new mm,0,r),Qet(i,n),$rt(e,i));}function Zot(t,e,n){var i,r,a,o;i=(o=bW(t)).d,r=o.c,a=t.n,e&&(a.a=a.a-i.b-r.a),n&&(a.b=a.b-i.d-r.b);}function Qot(t,e){var n,i;return (n=t.j)!=(i=e.j)?n.g-i.g:t.p==e.p?0:n==(vKt(),sMe)?t.p-e.p:e.p-t.p}function Jot(t){var e,n;for(CKt(t),n=new Kd(t.d);n.a<n.c.c.length;)(e=$z(Q1(n),101)).i&&KCt(e);}function tst(t,e,n,i,r){IY(t.c[e.g],n.g,i),IY(t.c[n.g],e.g,i),IY(t.b[e.g],n.g,r),IY(t.b[n.g],e.g,r);}function est(t,e,n,i){$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65),$z(i.b,65),Met(i.a,new xz(t,e,i));}function nst(t,e){t.d==($ht(),RSe)||t.d==FSe?$z(e.a,57).c.Fc($z(e.b,57)):$z(e.b,57).c.Fc($z(e.a,57));}function ist(t,e,n,i){return 1==n?(!t.n&&(t.n=new tK(HIe,t,1,7)),jwt(t.n,e,i)):eCt(t,e,n,i)}function rst(t,e){var n;return Drt(n=new Hc,e),u7((!t.A&&(t.A=new LD(SLe,t,7)),t.A),n),n}function ast(t,e,n){var i,r;return r=L2(e,I6t),bkt((i=new rM(t,n)).a,i.b,r),r}function ost(t){var e;return t.a&&(1&t.Bb||!t.a.kh())||iD(e=Axt(t),148)&&(t.a=$z(e,148)),t.a}function sst(t,e){var n,i;for(mW(e),i=e.Kc();i.Ob();)if(n=i.Pb(),!t.Hc(n))return !1;return !0}function cst(t,e){var n,i,r;return n=t.l+e.l,i=t.m+e.m+(n>>22),r=t.h+e.h+(i>>22),_L(n&TVt,i&TVt,r&CVt)}function ust(t,e){var n,i,r;return n=t.l-e.l,i=t.m-e.m+(n>>22),r=t.h-e.h+(i>>22),_L(n&TVt,i&TVt,r&CVt)}function lst(t){var e;return t<128?(!(e=(_U(),Eee)[t])&&(e=Eee[t]=new Od(t)),e):new Od(t)}function hst(t){var e;return iD(t,78)?t:((e=t&&t.__java$exception)||oy(e=new xlt(t)),e)}function fst(t){if(iD(t,186))return $z(t,118);if(t)return null;throw Fw(new Fv(e8t))}function dst(t,e){if(null==e)return !1;for(;t.a!=t.b;)if(Dht(e,jlt(t)))return !0;return !1}function gst(t){return !!t.a.Ob()||t.a==t.d&&(t.a=new E2(t.e.f),t.a.Ob())}function pst(t,e){var n;return 0!=(n=e.Pc()).length&&(Jz(t.c,t.c.length,n),!0)}function bst(t,e,n){var i,r;for(r=e.vc().Kc();r.Ob();)i=$z(r.Pb(),42),t.yc(i.cd(),i.dd(),n);return t}function wst(t,e){var n;for(n=new Kd(t.b);n.a<n.c.c.length;)uct($z(Q1(n),70),(uWt(),afe),e);}function yst(t,e,n){var i,r;for(r=new Kd(t.b);r.a<r.c.c.length;)EO(i=$z(Q1(r),33),i.i+e,i.j+n);}function mst(t,e){if(!t)throw Fw(new Rv(ORt("value already present: %s",Cst(Hx(Ite,1),zWt,1,5,[e]))))}function vst(t,e){return !(!t||!e||t==e)&&jpt(t.d.c,e.d.c+e.d.b)&&jpt(e.d.c,t.d.c+t.d.b)}function xst(){return m5(),Wne?new y5(null):$It(Wat(),"com.google.common.base.Strings")}function kst(t,e){var n;return n=sP(e.a.gc()),VE(met(new PU(null,new f1(e,1)),t.i),new LA(t,n)),n}function _st(t){var e;return Drt(e=new Hc,"T"),u7((!t.d&&(t.d=new LD(SLe,t,11)),t.d),e),e}function Est(t){var e,n,i,r;for(e=1,n=0,r=t.gc();n<r;++n)e=31*e+(null==(i=t.ki(n))?0:Jct(i));return e}function Tst(t,e,n,i){var r;return f2(e,t.e.Hd().gc()),f2(n,t.c.Hd().gc()),r=t.a[e][n],IY(t.a[e],n,i),r}function Cst(t,e,n,i,r){return r.gm=t,r.hm=e,r.im=M,r.__elementTypeId$=n,r.__elementTypeCategory$=i,r}function Sst(t,n,i,r,a){return xBt(),e.Math.min(GGt(t,n,i,r,a),GGt(i,r,t,n,zP(new DA(a.a,a.b))))}function Ast(){Ast=I,rue=new JC(XJt,0),nue=new JC(S1t,1),iue=new JC(A1t,2),eue=new JC("BOTH",3);}function Mst(){Mst=I,bue=new wS(eQt,0),wue=new wS(rQt,1),yue=new wS(aQt,2),mue=new wS("TOP",3);}function Ist(){Ist=I,Zoe=new WC("Q1",0),tse=new WC("Q4",1),Qoe=new WC("Q2",2),Joe=new WC("Q3",3);}function Ost(){Ost=I,hme=new WS("OFF",0),fme=new WS("SINGLE_EDGE",1),lme=new WS("MULTI_EDGE",2);}function Lst(){Lst=I,KEe=new EA("MINIMUM_SPANNING_TREE",0),qEe=new EA("MAXIMUM_SPANNING_TREE",1);}function Dst(){Dst=I,ZEe=new us,VEe=new ss;}function Nst(t){var e,n;for(e=new XE,n=cwt(t.d,0);n.b!=n.d.c;)NH(e,$z(h3(n),188).c);return e}function Pst(t){var e,n;for(n=new Lw,e=t.Kc();e.Ob();)pst(n,dBt($z(e.Pb(),33)));return n}function Bst(t){var e;tzt(t,!0),e=WXt,OP(t,(zYt(),uwe))&&(e+=$z(yTt(t,uwe),19).a),uct(t,uwe,nft(e));}function Rst(t,e,n){var i;IK(t.a),Met(n.i,new vb(t)),vbt(t,i=new CL($z(PY(t.a,e.b),65)),e),n.f=i;}function jst(t,e){var n,i;return n=t.c,(i=e.e[t.p])<n.a.c.length-1?$z(DU(n.a,i+1),10):null}function $st(t,e){var n,i;for(KV(e,"predicate"),i=0;t.Ob();i++)if(n=t.Pb(),e.Lb(n))return i;return -1}function Fst(t,e){var n,i;if(i=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)i=e0(i,yq(1,n));return i}function zst(t){var e,n,i;for(EV(),i=0,n=t.Kc();n.Ob();)i+=null!=(e=n.Pb())?Jct(e):0,i|=0;return i}function Hst(t){var e;return Jk(),e=new oc,t&&u7((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),e),e}function Ust(t){var e;return (e=new w).a=t,e.b=mct(t),e.c=D8(Xee,cXt,2,2,6,1),e.c[0]=zrt(t),e.c[1]=zrt(t),e}function Gst(t,e){if(0===e)return !t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),void t.o.c.$b();ySt(t,e);}function qst(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 Kst(t){switch(t.g){case 1:return xAe;case 2:return vAe;case 3:return kAe;default:return _Ae}}function Yst(t){switch($z(yTt(t,(zYt(),mbe)),163).g){case 2:case 4:return !0;default:return !1}}function Wst(){Wst=I,yhe=hlt((fBt(),Cst(Hx(khe,1),OXt,256,0,[che,lhe,hhe,fhe,dhe,ghe,bhe,she,uhe,phe])));}function Xst(){Xst=I,VMe=hlt((Jjt(),Cst(Hx(eIe,1),OXt,259,0,[HMe,GMe,zMe,qMe,KMe,WMe,YMe,UMe,FMe])));}function Vst(){Vst=I,qxe=dU(sbt(sbt(jT(dU(new $2,(Gvt(),Bve),(PSt(),Wve)),Rve),qve),Kve),jve,Yve);}function Zst(){Zst=I,Mle=new CS(XJt,0),Ale=new CS("INCOMING_ONLY",1),Ile=new CS("OUTGOING_ONLY",2);}function Qst(){Qst=I,lee={boolean:GE,number:Cv,string:Sv,object:_At,function:_At,undefined:Kw};}function Jst(t,e){bH(t>=0,"Negative initial capacity"),bH(e>=0,"Non-positive load factor"),IK(this);}function tct(t,e,n){return !(t>=128)&&VM(t<64?t0(yq(1,t),n):t0(yq(1,t-64),e),0)}function ect(t,e){return !(!t||!e||t==e)&&Adt(t.b.c,e.b.c+e.b.b)<0&&Adt(e.b.c,t.b.c+t.b.b)<0}function nct(t){var e,n,i;return n=t.n,i=t.o,e=t.d,new GX(n.a-e.b,n.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function ict(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)Tct(t,e=n[i],(vKt(),EMe)),Tct(t,e,sMe);}function rct(t){var e,n;for(null==t.j&&(t.j=(TZ(),Akt(eee.ce(t)))),e=0,n=t.j.length;e<n;++e);}function act(t){var e,n;return _L(e=1+~t.l&TVt,n=~t.m+(0==e?1:0)&TVt,~t.h+(0==e&&0==n?1:0)&CVt)}function oct(t,e){return _Ft($z($z(PY(t.g,e.a),46).a,65),$z($z(PY(t.g,e.b),46).a,65))}function sct(t,e,n){var i;if(e>(i=t.gc()))throw Fw(new JR(e,i));return t.hi()&&(n=QQ(t,n)),t.Vh(e,n)}function cct(t,e,n){return null==n?(!t.q&&(t.q=new Dw),b6(t.q,e)):(!t.q&&(t.q=new Dw),YW(t.q,e,n)),t}function uct(t,e,n){return null==n?(!t.q&&(t.q=new Dw),b6(t.q,e)):(!t.q&&(t.q=new Dw),YW(t.q,e,n)),t}function lct(t){var e,n;return Hot(n=new y6,t),uct(n,(Ert(),soe),t),ezt(t,n,e=new Dw),Tqt(t,n,e),n}function hct(t){var e,n,i;for(xBt(),n=D8(TTe,cXt,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,n[e]=hmt(i,t);return n}function fct(t,e){var n,i,r;for(n=!1,i=t.a[e].length,r=0;r<i-1;r++)n|=Cpt(t,e,r,r+1);return n}function dct(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)wmt(t,a,o)||$Rt(t,a,o,!0,!1);}function gct(t,e){this.b=t,LI.call(this,($z(Yet(WV((WY(),QOe).o),10),18),e.i),e.g),this.a=(dat(),CLe);}function pct(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 bct(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null;}function wct(t,n,i){this.q=new e.Date,this.q.setFullYear(t+cVt,n,i),this.q.setHours(0,0,0,0),hzt(this,0);}function yct(){yct=I,Lye=new zS(XJt,0),Oye=new zS("NODES_AND_EDGES",1),Dye=new zS("PREFER_EDGES",2);}function mct(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+htt(t))}function vct(t){var e;if(t<0)return jXt;if(0==t)return 0;for(e=MXt;!(e&t);e>>=1);return e}function xct(t){var e,n;return 32==(n=QMt(t.h))?32==(e=QMt(t.m))?QMt(t.l)+32:e+20-10:n-12}function kct(t){var e;return null==(e=t.a[t.b])?null:(IY(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function _ct(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 Ect(t,e,n){var i,r;return i=new F8(e,n),r=new U,t.b=YPt(t,t.b,i,r),r.b||++t.c,t.b.b=!1,r.d}function Tct(t,e,n){var i,r,a;for(a=0,r=Lht(e,n).Kc();r.Ob();)i=$z(r.Pb(),11),YW(t.c,i,nft(a++));}function Cct(t){var e,n;for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Q1(n),81)).g.c=-e.g.c-e.g.b;vNt(t);}function Sct(t){var e,n;for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Q1(n),57)).d.c=-e.d.c-e.d.b;mNt(t);}function Act(t){var e;return (!t.c||!(1&t.Bb)&&64&t.c.Db)&&iD(e=Axt(t),88)&&(t.c=$z(e,26)),t.c}function Mct(t){var e,n,i;e=1+~t.l&TVt,n=~t.m+(0==e?1:0)&TVt,i=~t.h+(0==e&&0==n?1:0)&CVt,t.l=e,t.m=n,t.h=i;}function Ict(t){var e,n,i,r,a;for(e=new Hk,r=0,a=(i=t).length;r<a;++r)n=i[r],e.a+=n.a,e.b+=n.b;return e}function Oct(t,e){var n,i,r,a,o;for(EV(),o=!1,r=0,a=(i=e).length;r<a;++r)n=i[r],o|=t.Fc(n);return o}function Lct(t){var e,n;for(xBt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function Dct(t,e,n){var i;return xPt(t,e,i=new Lw,(vKt(),oMe),!0,!1),xPt(t,n,i,CMe,!1,!1),i}function Nct(t,e,n){var i,r;return r=L2(e,"labels"),KOt((i=new gM(t,n)).a,i.b,r),r}function Pct(t,e,n,i){var r;return (r=yLt(t,e,n,i))||!(r=aft(t,n,i))||$Ut(t,e,r)?r:null}function Bct(t,e,n,i){var r;return (r=mLt(t,e,n,i))||!(r=oft(t,n,i))||$Ut(t,e,r)?r:null}function Rct(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!$z(NU(t.a,n),169).Lb(e))return !1;return !0}function jct(t,e,n){if(yY(e),n.Ob())for(sI(e,CY(n.Pb()));n.Ob();)sI(e,t.a),sI(e,CY(n.Pb()));return e}function $ct(t){var e,n,i;for(EV(),i=1,n=t.Kc();n.Ob();)i=31*i+(null!=(e=n.Pb())?Jct(e):0),i|=0;return i}function Fct(t,e,n,i,r){var a;return a=xOt(t,e),n&&Mct(a),r&&(t=Tmt(t,e),hee=i?act(t):_L(t.l,t.m,t.h)),a}function zct(t,e){var n;try{e.Vd();}catch(e){if(!iD(e=hst(e),78))throw Fw(e);n=e,t.c[t.c.length]=n;}}function Hct(t,e,n){var i,r;return iD(e,144)&&n?(i=$z(e,144),r=n,t.a[i.b][r.b]+t.a[r.b][i.b]):0}function Uct(t,e){switch(e){case 7:return !!t.e&&0!=t.e.i;case 8:return !!t.d&&0!=t.d.i}return lgt(t,e)}function Gct(t,e){switch(e.g){case 0:iD(t.b,631)||(t.b=new Lot);break;case 1:iD(t.b,632)||(t.b=new uH);}}function qct(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&$z(t.g[t.i-1],47).Ob():JQ(t);)bM(e,aDt(t));}function Kct(t,e,n){t.g=ISt(t,e,(vKt(),oMe),t.b),t.d=ISt(t,n,oMe,t.b),0!=t.g.c&&0!=t.d.c&>t(t);}function Yct(t,e,n){t.g=ISt(t,e,(vKt(),CMe),t.j),t.d=ISt(t,n,CMe,t.j),0!=t.g.c&&0!=t.d.c&>t(t);}function Wct(t,e,n){return !v_(MX(new PU(null,new f1(t.c,16)),new rg(new ZA(e,n)))).sd((dT(),Jne))}function Xct(t){var e;return xW(t),e=new ct,t.a.sd(e)?(CD(),new bv(mW(e.a))):(CD(),CD(),Ene)}function Vct(t){var e;return !(t.b<=0)&&((e=HI("MLydhHmsSDkK",VEt(uX(t.c,0))))>1||e>=0&&t.b<3)}function Zct(t){var e,n;for(e=new mm,n=cwt(t,0);n.b!=n.d.c;)BP(e,0,new fO($z(h3(n),8)));return e}function Qct(t){var e;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Q1(e),81).f.$b();mv(t.b,t),FNt(t);}function Jct(t){return qM(t)?wyt(t):GM(t)?YI(t):UM(t)?(mW(t),t?1231:1237):eq(t)?t.Hb():MG(t)?TN(t):JV(t)}function tut(t){return qM(t)?Xee:GM(t)?Cee:UM(t)?vee:eq(t)||MG(t)?t.gm:t.gm||Array.isArray(t)&&Hx(Jte,1)||Jte}function eut(t){if(0===t.g)return new os;throw Fw(new Rv(D4t+(null!=t.f?t.f:""+t.g)))}function nut(t){if(0===t.g)return new rs;throw Fw(new Rv(D4t+(null!=t.f?t.f:""+t.g)))}function iut(t,e,n){if(0===e)return !t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),void tot(t.o,n);mAt(t,e,n);}function rut(t,e,n){this.g=t,this.e=new Hk,this.f=new Hk,this.d=new XE,this.b=new XE,this.a=e,this.c=n;}function aut(t,e,n,i){this.b=new Lw,this.n=new Lw,this.i=i,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0;}function out(t){this.e=t,this.d=new p4(this.e.g),this.a=this.d,this.b=gst(this),this.$modCount=t.$modCount;}function sut(t){for(;!t.d||!t.d.Ob();){if(!t.b||Kv(t.b))return null;t.d=$z(dK(t.b),47);}return t.d}function cut(t){return Kz(t.c,(Dst(),ZEe)),ont(t.a,Hv(_B(ywt((Bgt(),Ywe)))))?new Gs:new Cb(t)}function uut(t){switch(t.g){case 1:return $3t;default:case 2:return 0;case 3:return ZQt;case 4:return F3t}}function lut(){var t;return dWt(),ENe||(t=tP(QKt("M",!0)),t=gG(QKt("M",!1),t),ENe=t)}function hut(t,e){var n,i,r;for(r=t.b;r;){if(0==(n=t.a.ue(e,r.d)))return r;i=n<0?0:1,r=r.a[i];}return null}function fut(t,e,n){var i,r;cN(),i=!!kI(n),(r=$z(e.xc(i),15))||(r=new Lw,e.zc(i,r)),r.Fc(n);}function dut(t,e){var n,i;return (n=$z(QOt(t,(YLt(),d_e)),19).a)==(i=$z(QOt(e,d_e),19).a)||n<i?-1:n>i?1:0}function gut(t,e){return !!fNt(t,e)&&(ZMt(t.b,$z(yTt(e,(uWt(),qhe)),21),e),NH(t.a,e),!0)}function put(t){var e,n;(e=$z(yTt(t,(uWt(),xfe)),10))&&(y9((n=e.c).a,e),0==n.a.c.length&&y9(bW(e).b,n));}function but(t){return Wne?D8(Hne,gZt,572,0,0,1):$z(Xbt(t.a,D8(Hne,gZt,572,t.a.c.length,0,1)),842)}function wut(t,e,n,i){return QW(),new cv(Cst(Hx(zte,1),vXt,42,0,[(Gyt(t,e),new bE(t,e)),(Gyt(n,i),new bE(n,i))]))}function yut(t,e,n){var i;return lit(i=new Im,e,n),u7((!t.q&&(t.q=new tK(YOe,t,11,10)),t.q),i),i}function mut(t){var e,n,i,r;for(n=(r=uC(MIe,t)).length,i=D8(Xee,cXt,2,n,6,1),e=0;e<n;++e)i[e]=r[e];return i}function vut(t,e){var n,i,r,a,o;for(r=0,a=(i=e).length;r<a;++r)n=i[r],o=new GY(t),n.Qe(o),Dzt(o);IK(t.f);}function xut(t,e){var n;return e===t||!!iD(e,224)&&(n=$z(e,224),Dht(t.Zb(),n.Zb()))}function kut(t,e){var n;2*e+1>=t.b.c.length||(kut(t,2*e+1),(n=2*e+2)<t.b.c.length&&kut(t,n),RAt(t,e));}function _ut(t,e,n){var i,r;this.g=t,this.c=e,this.a=this,this.d=this,r=Zit(n),i=D8(Xte,SXt,330,r,0,1),this.b=i;}function Eut(t,e,n){var i;for(i=n-1;i>=0&&t[i]===e[i];i--);return i<0?0:sC(t0(t[i],qVt),t0(e[i],qVt))?-1:1}function Tut(t,e){var n,i;for(i=cwt(t,0);i.b!=i.d.c;)(n=$z(h3(i),214)).e.length>0&&(e.td(n),n.i&&bft(n));}function Cut(t,e){var n,i;return i=$z(mot(t.a,4),126),n=D8(fOe,n7t,415,e,0,1),null!=i&&aHt(i,0,n,0,i.length),n}function Sut(t,e){var n;return n=new iRt(!!(256&t.f),t.i,t.a,t.d,!!(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function Aut(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if($z(n.Pb(),14).Hc(e))return !0;return !1}function Mut(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)if(wmt(t,a,o))return !0;return !1}function Iut(t,e,n){var i,r,a,o;for(mW(n),o=!1,a=t.Zc(e),r=n.Kc();r.Ob();)i=r.Pb(),a.Rb(i),o=!0;return o}function Out(t,e){var n;return t===e||!!iD(e,83)&&(n=$z(e,83),GCt(lq(t),n.vc()))}function Lut(t,e,n){var i,r;for(r=n.Kc();r.Ob();)if(i=$z(r.Pb(),42),t.re(e,i.dd()))return !0;return !1}function Dut(t,e,n){return t.d[e.p][n.p]||(nyt(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function Nut(t,e){if(!t.ai()&&null==e)throw Fw(new Rv("The 'no null' constraint is violated"));return e}function Put(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),zit(t,null==e?null:(mW(e),e)),t.C&&t.yk(null);}function But(t,e){return !(!t||t==e||!OP(e,(uWt(),nfe)))&&$z(yTt(e,(uWt(),nfe)),10)!=t}function Rut(t){switch(t.i){case 2:return !0;case 1:return !1;case-1:++t.c;default:return t.pl()}}function jut(t){switch(t.i){case-2:return !0;case-1:return !1;case 1:--t.c;default:return t.ql()}}function $ut(t){RQ.call(this,"The given string does not match the expected format for individual spacings.",t);}function Fut(){Fut=I,aIe=new iM("ELK",0),oIe=new iM("JSON",1),rIe=new iM("DOT",2),sIe=new iM("SVG",3);}function zut(){zut=I,ske=new bA(XJt,0),cke=new bA("RADIAL_COMPACTION",1),uke=new bA("WEDGE_COMPACTION",2);}function Hut(){Hut=I,Une=new pC("CONCURRENT",0),Gne=new pC("IDENTITY_FINISH",1),qne=new pC("UNORDERED",2);}function Uut(){Uut=I,fT(),oae=new II(FQt,sae=nae),aae=new aw(zQt),cae=new aw(HQt),uae=new aw(UQt);}function Gut(){Gut=I,lue=new ki,hue=new _i,uue=new Ei,cue=new Ti,mW(new Ci),sue=new B;}function qut(){qut=I,tme=new KS("CONSERVATIVE",0),eme=new KS("CONSERVATIVE_SOFT",1),nme=new KS("SLOPPY",2);}function Kut(){Kut=I,dAe=new KO(15),fAe=new qO((cWt(),qCe),dAe),gAe=gSe,cAe=rCe,uAe=BCe,hAe=$Ce,lAe=jCe;}function Yut(t,e,n){var i,r;for(i=new XE,r=cwt(n,0);r.b!=r.d.c;)NH(i,new fO($z(h3(r),8)));Iut(t,e,i);}function Wut(t){var e,n,i;for(e=0,i=D8(TTe,cXt,8,t.b,0,1),n=cwt(t,0);n.b!=n.d.c;)i[e++]=$z(h3(n),8);return i}function Xut(t){var e;return !t.a&&(t.a=new tK(qOe,t,9,5)),0!=(e=t.a).i?FT($z(Yet(e,0),678)):null}function Vut(t,e){var n;return n=idt(t,e),sC(n0(t,e),0)|XM(n0(t,n),0)?n:idt(fXt,n0(vq(n,63),1))}function Zut(t,e){var n;n=null!=ywt((Bgt(),Ywe))&&null!=e.wg()?Hv(_B(e.wg()))/Hv(_B(ywt(Ywe))):1,YW(t.b,e,n);}function Qut(t,e){var n,i;return (n=$z(t.d.Bc(e),14))?((i=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),i):null}function Jut(t,e){var n,i;if(0!=(i=t.c[e]))for(t.c[e]=0,t.d-=i,n=e+1;n<t.a.length;)t.a[n]-=i,n+=n&-n;}function tlt(t){var e;if((e=t.a.c.length)>0)return Bq(e-1,t.a.c.length),s6(t.a,e-1);throw Fw(new wy)}function elt(t,e,n){if(e<0)throw Fw(new Mv(J4t+e));e<t.j.c.length?i5(t.j,e,n):(g3(t,e),Kz(t.j,n));}function nlt(t,e,n){if(t>e)throw Fw(new Rv(yZt+t+mZt+e));if(t<0||e>n)throw Fw(new kx(yZt+t+vZt+e+uZt+n))}function ilt(t){if(!(t.a&&8&t.a.i))throw Fw(new jv("Enumeration class expected for layout option "+t.f))}function rlt(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),aHt(e,0,t.g,0,t.i));}function alt(t,e){var n,i;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)i=e+1&n,IY(t.a,e,t.a[i]),e=i;IY(t.a,t.c,null);}function olt(t,e){var n,i;for(n=t.a.length-1;e!=t.b;)i=e-1&n,IY(t.a,e,t.a[i]),e=i;IY(t.a,t.b,null),t.b=t.b+1&n;}function slt(t,e,n){var i;return OJ(e,t.c.length),0!=(i=n.Pc()).length&&(Jz(t.c,e,i),!0)}function clt(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!TH(t[e]))return t[e];return null}function ult(t,e,n){var i,r,a,o;for(a=0,o=(r=n).length;a<o;++a)if(i=r[a],t.b.re(e,i.cd()))return i;return null}function llt(t){var e,n,i,r,a;for(a=1,i=0,r=(n=t).length;i<r;++i)a=31*a+(null!=(e=n[i])?Jct(e):0),a|=0;return a}function hlt(t){var e,n,i,r,a;for(e={},r=0,a=(i=t).length;r<a;++r)e[":"+(null!=(n=i[r]).f?n.f:""+n.g)]=n;return e}function flt(t){var e;for(yY(t),C$(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&gOt(t);e++)G5(t);return e}function dlt(t){var e,n,i;for(i=0,n=new oq(ZD(t.a.Kc(),new l));gOt(n);)(e=$z(G5(n),17)).c.i==e.d.i||++i;return i}function glt(t,e){var n,i,r;for(n=t,r=0;;){if(n==e)return r;if(!(i=n.e))throw Fw(new fy);n=bW(i),++r;}}function plt(t,e){var n,i,r;for(r=e-t.f,i=new Kd(t.d);i.a<i.c.c.length;)vpt(n=$z(Q1(i),443),n.e,n.f+r);t.f=e;}function blt(t,n,i){return e.Math.abs(n-t)<j3t||e.Math.abs(i-t)<j3t||(n-t>j3t?t-i>j3t:i-t>j3t)}function wlt(t,e){return t?e&&!t.j||iD(t,124)&&0==$z(t,124).a.b?0:t.Re():0}function ylt(t,e){return t?e&&!t.k||iD(t,124)&&0==$z(t,124).a.a?0:t.Se():0}function mlt(t){return MBt(),t<0?-1!=t?new Bwt(-1,-t):Vee:t<=10?Qee[CQ(t)]:new Bwt(1,t)}function vlt(t){throw Qst(),Fw(new gv("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function xlt(t){cx(),YL(this),vV(this),this.e=t,SPt(this,t),this.g=null==t?GWt:Fdt(t),this.a="",this.b=t,this.a="";}function klt(){this.a=new es,this.f=new db(this),this.b=new gb(this),this.i=new pb(this),this.e=new bb(this);}function _lt(){iv.call(this,new z8(tet(16))),hit(2,sXt),this.b=2,this.a=new FW(null,null,0,null),ey(this.a,this.a);}function Elt(){Elt=I,iye=new BS("DUMMY_NODE_OVER",0),rye=new BS("DUMMY_NODE_UNDER",1),aye=new BS("EQUAL",2);}function Tlt(){Tlt=I,qoe=FQ(Cst(Hx(KSe,1),OXt,103,0,[($ht(),RSe),jSe])),Koe=FQ(Cst(Hx(KSe,1),OXt,103,0,[FSe,BSe]));}function Clt(t){return (vKt(),yMe).Hc(t.j)?Hv(_B(yTt(t,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a])).b}function Slt(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new XLt($z(e.Pb(),561),t.e,t.f),Kz(t.g,n);}function Alt(t,e){var n,i;n=t.nk(e,null),i=null,e&&(e_(),rnt(i=new Bw,t.r)),(n=zEt(t,i,n))&&n.Fi();}function Mlt(t,e){var n,i;for(i=0!=zLt(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,i),n|=PNt(t,e,i,!1),i=!i;Ort(t);}function Ilt(t,e){var n,i,r;return i=!1,n=e.q.d,e.d<t.b&&(r=gNt(e.q,t.b),e.q.d>r&&(a_t(e.q,r),i=n!=e.q.d)),i}function Olt(t,n){var i,r,a,o,s;return o=n.i,s=n.j,r=o-(i=t.f).i,a=s-i.j,e.Math.sqrt(r*r+a*a)}function Llt(t,e){var n;return (n=Vpt(t))||(BHt(),u7((n=new Cw(VSt(e))).Vk(),t)),n}function Dlt(t,e){var n,i;return (n=$z(t.c.Bc(e),14))?((i=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(i)):t.jc()}function Nlt(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return !0;return !1}function Plt(t,e){var n;for(n=0;n<e.length;n++)if(t==(h1(n,e.length),e.charCodeAt(n)))return !0;return !1}function Blt(t){var e,n;if(null==t)return !1;for(e=0,n=t.length;e<n;e++)if(!TH(t[e]))return !1;return !0}function Rlt(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 jlt(t){var e;return TP(t.a!=t.b),e=t.d.a[t.a],xP(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function $lt(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw Fw(new yy);return e=t.a,t.a+=t.c.c,++t.b,nft(e)}function Flt(t){var e;return e=new uet(t),e2(t.a,sse,new Vv(Cst(Hx(Voe,1),zWt,369,0,[e]))),e.d&&Kz(e.f,e.d),e.f}function zlt(t){var e;return Hot(e=new AL(t.a),t),uct(e,(uWt(),dfe),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function Hlt(t,e,n,i){var r,a;for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),70)).n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+n;}function Ult(t,e,n){var i;for(i=e.a.a.ec().Kc();i.Ob();)if(iZ(t,$z(i.Pb(),57),n))return !0;return !1}function Glt(t){var e,n;for(n=new Kd(t.r);n.a<n.c.c.length;)if(e=$z(Q1(n),10),t.n[e.p]<=0)return e;return null}function qlt(t){var e,n;for(n=new Py,e=new Kd(t);e.a<e.c.c.length;)$rt(n,gBt($z(Q1(e),33)));return n}function Klt(t){var e;return e=mO(Cme),$z(yTt(t,(uWt(),Zhe)),21).Hc((fBt(),dhe))&&dU(e,(mTt(),Roe),(hWt(),$ce)),e}function Ylt(t,e,n){var i;i=new EIt(t,e),ZMt(t.r,e.Hf(),i),n&&!Fq(t.u)&&(i.c=new yQ(t.d),Met(e.wf(),new Cg(i)));}function Wlt(t,e){var n;return VI(t)&&VI(e)&&(n=t-e,!isNaN(n))?n:Rxt(VI(t)?Cot(t):t,VI(e)?Cot(e):e)}function Xlt(t,e){return e<t.length&&(h1(e,t.length),63!=t.charCodeAt(e))&&(h1(e,t.length),35!=t.charCodeAt(e))}function Vlt(t,e,n,i){var r,a;t.a=e,a=i?0:1,t.f=(r=new QCt(t.c,t.a,n,a),new oRt(n,t.a,r,t.e,t.b,t.c==(sit(),Mme)));}function Zlt(t,e,n){var i,r;return r=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,1,r,e),n?n.Ei(i):n=i),n}function Qlt(t,e,n){var i,r;return r=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,3,r,e),n?n.Ei(i):n=i),n}function Jlt(t,e,n){var i,r;return r=t.f,t.f=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,0,r,e),n?n.Ei(i):n=i),n}function tht(t,e){var n,i,r,a;return (a=vAt((i=e,(r=t?Vpt(t):null)&&r.Xk(),i)))==e&&(n=Vpt(t))&&n.Xk(),a}function eht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function nht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function iht(t){var e,n;if(null!=t)for(n=0;n<t.length;++n)(e=t[n])&&($z(e.g,367),e.i);}function rht(t){var n,i,r;for(r=0,i=new Kd(t.a);i.a<i.c.c.length;)n=$z(Q1(i),187),r=e.Math.max(r,n.g);return r}function aht(t){var e,n,i;for(i=new Kd(t.b);i.a<i.c.c.length;)(e=(n=$z(Q1(i),214)).c.Rf()?n.f:n.a)&&dUt(e,n.j);}function oht(){oht=I,bAe=new FA("INHERIT",0),pAe=new FA("INCLUDE_CHILDREN",1),wAe=new FA("SEPARATE_CHILDREN",2);}function sht(t,e){switch(e){case 1:return !t.n&&(t.n=new tK(HIe,t,1,7)),void cUt(t.n);case 2:return void Oit(t,null)}Gst(t,e);}function cht(t){switch(t.gc()){case 0:return $te;case 1:return new TU(yY(t.Xb(0)));default:return new EZ(t)}}function uht(t){switch(s$(),t.gc()){case 0:return YY(),Wte;case 1:return new yx(t.Kc().Pb());default:return new bC(t)}}function lht(t){switch(s$(),t.c){case 0:return YY(),Wte;case 1:return new yx(ZAt(new WE(t)));default:return new sv(t)}}function hht(t,e){yY(t);try{return t.xc(e)}catch(t){if(iD(t=hst(t),205)||iD(t,173))return null;throw Fw(t)}}function fht(t,e){yY(t);try{return t.Bc(e)}catch(t){if(iD(t=hst(t),205)||iD(t,173))return null;throw Fw(t)}}function dht(t,e){yY(t);try{return t.Hc(e)}catch(t){if(iD(t=hst(t),205)||iD(t,173))return !1;throw Fw(t)}}function ght(t,e){yY(t);try{return t.Mc(e)}catch(t){if(iD(t=hst(t),205)||iD(t,173))return !1;throw Fw(t)}}function pht(t,e){yY(t);try{return t._b(e)}catch(t){if(iD(t=hst(t),205)||iD(t,173))return !1;throw Fw(t)}}function bht(t,e){t.a.c.length>0&&gut($z(DU(t.a,t.a.c.length-1),570),e)||Kz(t.a,new p5(e));}function wht(t){var e,n;H$(),e=t.d.c-t.e.c,Met((n=$z(t.g,145)).b,new vp(e)),Met(n.c,new xp(e)),t5(n.i,new kp(e));}function yht(t){var e;return (e=new Cx).a+="VerticalSegment ",aI(e,t.e),e.a+=" ",oI(e,VD(new wx,new Kd(t.k))),e.a}function mht(t){var e;return (e=$z(ltt(t.c.c,""),229))||(e=new GJ(vk(mk(new ys,""),"Other")),Zbt(t.c.c,"",e)),e}function vht(t){var e;return 64&t.Db?CLt(t):((e=new uN(CLt(t))).a+=" (name: ",iI(e,t.zb),e.a+=")",e.a)}function xht(t,e,n){var i,r;return r=t.sb,t.sb=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,4,r,e),n?n.Ei(i):n=i),n}function kht(t,e){var n,i;for(n=0,i=adt(t,e).Kc();i.Ob();)n+=null!=yTt($z(i.Pb(),11),(uWt(),xfe))?1:0;return n}function _ht(t,e,n){var i,r,a;for(i=0,a=cwt(t,0);a.b!=a.d.c&&!((r=Hv(_B(h3(a))))>n);)r>=e&&++i;return i}function Eht(t,e,n){var i;return i=new L9(t.e,3,13,null,e.c||(pWt(),uLe),oyt(t,e),!1),n?n.Ei(i):n=i,n}function Tht(t,e,n){var i;return i=new L9(t.e,4,13,e.c||(pWt(),uLe),null,oyt(t,e),!1),n?n.Ei(i):n=i,n}function Cht(t,e,n){var i,r;return r=t.r,t.r=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,8,r,t.r),n?n.Ei(i):n=i),n}function Sht(t,e){var n,i;return !(i=(n=$z(e,676)).vk())&&n.wk(i=iD(e,88)?new IM(t,$z(e,26)):new R0(t,$z(e,148))),i}function Aht(t,e,n){var i;t.qi(t.i+1),i=t.oi(e,n),e!=t.i&&aHt(t.g,e,t.g,e+1,t.i-e),IY(t.g,e,i),++t.i,t.bi(e,n),t.ci();}function Mht(t,e){var n;return e.a&&(n=e.a.a.length,t.a?oI(t.a,t.b):t.a=new lN(t.d),H0(t.a,e.a,e.d.length,n)),t}function Iht(t,e){var n,i,r;if(e.vi(t.a),null!=(r=$z(mot(t.a,8),1936)))for(n=0,i=r.length;n<i;++n)null.jm();}function Oht(t,e){var n;return n=new ct,t.a.sd(n)?(CD(),new bv(mW(k9(t,n.a,e)))):(xW(t),CD(),CD(),Ene)}function Lht(t,e){switch(e.g){case 2:case 1:return adt(t,e);case 3:case 4:return eot(adt(t,e))}return EV(),EV(),cne}function Dht(t,e){return qM(t)?wj(t,e):GM(t)?bj(t,e):UM(t)?(mW(t),HM(t)===HM(e)):eq(t)?t.Fb(e):MG(t)?jI(t,e):b0(t,e)}function Nht(t){return t?1&t.i?t==MNe?vee:t==ANe?Iee:t==DNe?See:t==LNe?Cee:t==INe?Bee:t==NNe?jee:t==ONe?_ee:Tee:t:null}function Pht(t,e,n,i,r){0!=e&&0!=i&&(1==e?r[i]=gyt(r,n,i,t[0]):1==i?r[e]=gyt(r,t,e,n[0]):VIt(t,n,r,e,i));}function Bht(t,e){var n;0!=t.c.length&&(cO(n=$z(Xbt(t,D8(Ase,a1t,10,t.c.length,0,1)),193),new In),eIt(n,e));}function Rht(t,e){var n;0!=t.c.length&&(cO(n=$z(Xbt(t,D8(Ase,a1t,10,t.c.length,0,1)),193),new On),eIt(n,e));}function jht(t,e,n,i){switch(e){case 1:return !t.n&&(t.n=new tK(HIe,t,1,7)),t.n;case 2:return t.k}return kvt(t,e,n,i)}function $ht(){$ht=I,$Se=new BA(uQt,0),jSe=new BA(aQt,1),RSe=new BA(rQt,2),BSe=new BA(bQt,3),FSe=new BA("UP",4);}function Fht(){Fht=I,fse=new XC(XJt,0),hse=new XC("INSIDE_PORT_SIDE_GROUPS",1),lse=new XC("FORCE_MODEL_ORDER",2);}function zht(t,e,n){if(t<0||e>n)throw Fw(new Mv(yZt+t+vZt+e+", size: "+n));if(t>e)throw Fw(new Rv(yZt+t+mZt+e))}function Hht(t,e,n){if(e<0)rMt(t,n);else {if(!n.Ij())throw Fw(new Rv(i6t+n.ne()+r6t));$z(n,66).Nj().Vj(t,t.yh(),e);}}function Uht(t,e,n,i,r,a,o,s){var c;for(c=n;a<o;)c>=i||e<n&&s.ue(t[e],t[c])<=0?IY(r,a++,t[e++]):IY(r,a++,t[c++]);}function Ght(t,e,n,i,r,a){this.e=new Lw,this.f=(ait(),Hye),Kz(this.e,t),this.d=e,this.a=n,this.b=i,this.f=r,this.c=a;}function qht(t,e){var n,i;for(i=new MD(t);i.e!=i.i.gc();)if(n=$z(vwt(i),26),HM(e)===HM(n))return !0;return !1}function Kht(t){var e,n,i,r;for(gWt(),i=0,r=(n=twt()).length;i<r;++i)if(-1!=x9((e=n[i]).a,t,0))return e;return Sre}function Yht(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function Wht(t){var e;return 64&t.Db?CLt(t):((e=new uN(CLt(t))).a+=" (source: ",iI(e,t.d),e.a+=")",e.a)}function Xht(t,e,n){var i,r;return r=t.a,t.a=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,5,r,t.a),n?R_t(n,i):n=i),n}function Vht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,2,n,e));}function Zht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,8,n,e));}function Qht(t,e){var n;n=!!(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,8,n,e));}function Jht(t,e){var n;n=!!(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,3,n,e));}function tft(t,e){var n;n=!!(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,9,n,e));}function eft(t,e){var n;return -1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):Igt(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function nft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(JH(),Aee)[e])&&(n=Aee[e]=new Dd(t)),n):new Dd(t)}function ift(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(kU(),Ree)[e])&&(n=Ree[e]=new Pd(t)),n):new Pd(t)}function rft(t){var e;return t.k==(oCt(),_se)&&((e=$z(yTt(t,(uWt(),Whe)),61))==(vKt(),sMe)||e==EMe)}function aft(t,e,n){var i,r;return (r=OLt(t.b,e))&&(i=$z(DHt(j9(t,r),""),26))?yLt(t,i,e,n):null}function oft(t,e,n){var i,r;return (r=OLt(t.b,e))&&(i=$z(DHt(j9(t,r),""),26))?mLt(t,i,e,n):null}function sft(t,e){var n,i;for(i=new MD(t);i.e!=i.i.gc();)if(n=$z(vwt(i),138),HM(e)===HM(n))return !0;return !1}function cft(t,e,n){var i;if(e>(i=t.gc()))throw Fw(new JR(e,i));if(t.hi()&&t.Hc(n))throw Fw(new Rv(a8t));t.Xh(e,n);}function uft(t,e){var n;if(null==(n=cnt(t.i,e)))throw Fw(new tx("Node did not exist in input."));return Rat(e,n),null}function lft(t,e){var n;if(iD(n=DNt(t,e),322))return $z(n,34);throw Fw(new Rv(i6t+e+"' is not a valid attribute"))}function hft(t,e,n){var i,r;for(r=iD(e,99)&&$z(e,18).Bb&FVt?new DI(e,t):new Iot(e,t),i=0;i<n;++i)ryt(r);return r}function fft(t){var e,n,i;for(i=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[i++]=t[e]);return i}function dft(t){var e,n,i;for(e=new Lw,i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Q1(i),594),pst(e,$z(n.jf(),14));return e}function gft(t){var e,n;for(n=$z(yTt(t,(HUt(),lxe)),15).Kc();n.Ob();)NH((e=$z(n.Pb(),188)).b.d,e),NH(e.c.b,e);}function pft(t){switch($z(yTt(t,(uWt(),efe)),303).g){case 1:uct(t,efe,(U9(),Ehe));break;case 2:uct(t,efe,(U9(),Che));}}function bft(t){var e;t.g&&(NPt((e=t.c.Rf()?t.f:t.a).a,t.o,!0),NPt(e.a,t.o,!1),uct(t.o,(zYt(),twe),(X_t(),GAe)));}function wft(t){var e;if(!t.a)throw Fw(new jv("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,DV(t,e),LV(t,e);}function yft(t){var e;return null==(e=t.a[t.c-1&t.a.length-1])?null:(t.c=t.c-1&t.a.length-1,IY(t.a,t.c,null),e)}function mft(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if((e=$z(n.Pb(),213)).f&&t.b[e.c]<-1e-10)return e;return null}function vft(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new GX(e.d,0,e.a,e.b);default:return null}}function xft(t){switch(t.g){case 2:return jSe;case 1:return RSe;case 4:return BSe;case 3:return FSe;default:return $Se}}function kft(t){switch(t.g){case 1:return CMe;case 2:return sMe;case 3:return oMe;case 4:return EMe;default:return TMe}}function _ft(t){switch(t.g){case 1:return EMe;case 2:return CMe;case 3:return sMe;case 4:return oMe;default:return TMe}}function Eft(t){switch(t.g){case 1:return oMe;case 2:return EMe;case 3:return CMe;case 4:return sMe;default:return TMe}}function Tft(t){switch(t){case 0:return new wm;case 1:return new pm;case 2:return new bm;default:throw Fw(new fy)}}function Cft(t,e){return t<e?-1:t>e?1:t==e?0==t?Cft(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function Sft(t,e){MEt(e,"Sort end labels",1),VE(MX(ftt(new PU(null,new f1(t.b,16)),new gn),new pn),new bn),zCt(e);}function Aft(t,e,n){var i,r;return t.ej()?(r=t.fj(),i=VMt(t,e,n),t.$i(t.Zi(7,nft(n),i,e,r)),i):VMt(t,e,n)}function Mft(t,e){var n,i,r;null==t.d?(++t.e,--t.f):(r=e.cd(),L6(t,i=((n=e.Sh())&PWt)%t.d.length,ILt(t,i,n,r)));}function Ift(t,e){var n;n=!!(t.Bb&v6t),e?t.Bb|=v6t:t.Bb&=-1025,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,10,n,e));}function Oft(t,e){var n;n=!!(t.Bb&jVt),e?t.Bb|=jVt:t.Bb&=-4097,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,12,n,e));}function Lft(t,e){var n;n=!!(t.Bb&_7t),e?t.Bb|=_7t:t.Bb&=-8193,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,15,n,e));}function Dft(t,e){var n;n=!!(t.Bb&E7t),e?t.Bb|=E7t:t.Bb&=-2049,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,11,n,e));}function Nft(t,e){var n;return 0!=(n=Cft(t.b.c,e.b.c))||0!=(n=Cft(t.a.a,e.a.a))?n:Cft(t.a.b,e.a.b)}function Pft(t,e){var n;if(null==(n=PY(t.k,e)))throw Fw(new tx("Port did not exist in input."));return Rat(e,n),null}function Bft(t){var e,n;for(n=ULt(qet(t)).Kc();n.Ob();)if(D$t(t,e=EB(n.Pb())))return y4((GT(),NOe),e);return null}function Rft(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),a=0,n=$z(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&++a;return a}function jft(t,e,n){var i,r;return i=$z(e.We(t.a),35),r=$z(n.We(t.a),35),null!=i&&null!=r?Dat(i,r):null!=i?-1:null!=r?1:0}function $ft(t,e,n){var i;if(t.c)hTt(t.c,e,n);else for(i=new Kd(t.b);i.a<i.c.c.length;)$ft($z(Q1(i),157),e,n);}function Fft(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Q1(i),46),y9(t.b.b,n.b),aZ($z(n.a,189),$z(n.b,81));}function zft(t){var e,n;for(n=DY(new Cx,91),e=!0;t.Ob();)e||(n.a+=$Wt),e=!1,aI(n,t.Pb());return (n.a+="]",n).a}function Hft(t,e){var n;n=!!(t.Bb&uXt),e?t.Bb|=uXt:t.Bb&=-16385,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,16,n,e));}function Uft(t,e){var n;n=!!(t.Bb&u6t),e?t.Bb|=u6t:t.Bb&=-32769,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,18,n,e));}function Gft(t,e){var n;n=!!(t.Bb&u6t),e?t.Bb|=u6t:t.Bb&=-32769,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,18,n,e));}function qft(t,e){var n;n=!!(t.Bb&FVt),e?t.Bb|=FVt:t.Bb&=-65537,4&t.Db&&!(1&t.Db)&&fot(t,new J5(t,1,20,n,e));}function Kft(t){var e;return e=D8(SNe,YXt,25,2,15,1),t-=FVt,e[0]=(t>>10)+zVt&XXt,e[1]=56320+(1023&t)&XXt,Fpt(e,0,e.length)}function Yft(t){var e;return (e=$z(yTt(t,(zYt(),Gpe)),103))==($ht(),$Se)?Hv(_B(yTt(t,xpe)))>=1?jSe:BSe:e}function Wft(t){switch($z(yTt(t,(zYt(),Zpe)),218).g){case 1:return new ia;case 3:return new ca;default:return new na}}function Xft(t){if(t.c)Xft(t.c);else if(t.d)throw Fw(new jv("Stream already terminated, can't be modified or used"))}function Vft(t){var e;return 64&t.Db?CLt(t):((e=new uN(CLt(t))).a+=" (identifier: ",iI(e,t.k),e.a+=")",e.a)}function Zft(t,e,n){var i;return Jk(),xnt(i=new ac,e),knt(i,n),t&&u7((!t.a&&(t.a=new ID(LIe,t,5)),t.a),i),i}function Qft(t,e,n,i){var r,a;return mW(i),mW(n),null==(a=null==(r=t.xc(e))?n:ZE($z(r,15),$z(n,14)))?t.Bc(e):t.zc(e,a),a}function Jft(t){var e,n,i,r;return srt(n=new Xj(e=$z(Yk((r=(i=t.gm).f)==qte?i:r),9),$z(ER(e,e.length),9),0),t),n}function tdt(t,e,n){var i,r;for(r=t.a.ec().Kc();r.Ob();)if(i=$z(r.Pb(),10),sst(n,$z(DU(e,i.p),14)))return i;return null}function edt(t,e,n){try{jct(t,e,n);}catch(t){throw iD(t=hst(t),597)?Fw(new g5(t)):Fw(t)}return e}function ndt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t-e)&&n<MVt?n:oot(ust(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function idt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t+e)&&n<MVt?n:oot(cst(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function rdt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t*e)&&n<MVt?n:oot(lUt(VI(t)?Cot(t):t,VI(e)?Cot(e):e))}function adt(t,e){var n;return t.i||eMt(t),(n=$z(oX(t.g,e),46))?new s1(t.j,$z(n.a,19).a,$z(n.b,19).a):(EV(),EV(),cne)}function odt(t,e,n){var i;return i=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===i?(++t.c,oZ(t.b)):++t.d,i}function sdt(t,n,i){t.n=mU(INe,[cXt,$Vt],[364,25],14,[i,CQ(e.Math.ceil(n/32))],2),t.o=n,t.p=i,t.j=n-1>>1,t.k=i-1>>1;}function cdt(){var t,n,i;mEt(),i=One+++Date.now(),t=CQ(e.Math.floor(i*oZt))&cZt,n=CQ(i-t*sZt),this.a=1502^t,this.b=n^aZt;}function udt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Q1(n),11).b);return yY(e),new AI(e)}function ldt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Q1(n),11).e);return yY(e),new AI(e)}function hdt(t){var e,n;for(e=new Lw,n=new Kd(t.j);n.a<n.c.c.length;)Kz(e,$z(Q1(n),11).g);return yY(e),new AI(e)}function fdt(t){var e,n;for(n=tLt(qet(dJ(t))).Kc();n.Ob();)if(D$t(t,e=EB(n.Pb())))return m4((qT(),UOe),e);return null}function ddt(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw Fw(new Fv("at index "+e));return new Vv(t)}function gdt(t,e){var n;if(iD(n=DNt(t.Tg(),e),99))return $z(n,18);throw Fw(new Rv(i6t+e+"' is not a valid reference"))}function pdt(t){var e;return (e=fCt(t))>34028234663852886e22?BVt:e<-34028234663852886e22?RVt:e}function bdt(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function wdt(t){var e,n,i;for(e=new cR(t.Hd().gc()),i=0,n=O7(t.Hd().Kc());n.Ob();)vJ(e,n.Pb(),nft(i++));return DCt(e.a)}function ydt(t,e){var n,i,r;for(r=new Dw,i=e.vc().Kc();i.Ob();)YW(r,(n=$z(i.Pb(),42)).cd(),hot(t,$z(n.dd(),15)));return r}function mdt(t,e){0==t.n.c.length&&Kz(t.n,new PQ(t.s,t.t,t.i)),Kz(t.b,e),cmt($z(DU(t.n,t.n.c.length-1),211),e),FFt(t,e);}function vdt(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=D8(Ite,zWt,1,0,5,1),pst(t.a,t.b),pst(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function xdt(t,e){var n,i;for(i=0,n=$z(e.Kb(t),20).Kc();n.Ob();)zv(kB(yTt($z(n.Pb(),17),(uWt(),Cfe))))||++i;return i}function kdt(t,n){var i,r;r=Hv(_B(ept(u2(n),(zYt(),ywe)))),$xt(n,i=e.Math.max(0,r/2-.5),1),Kz(t,new lS(n,i));}function _dt(){_dt=I,zfe=new $S(XJt,0),Rfe=new $S("FIRST",1),jfe=new $S(S1t,2),$fe=new $S("LAST",3),Ffe=new $S(A1t,4);}function Edt(){Edt=I,ZSe=new jA(uQt,0),XSe=new jA("POLYLINE",1),WSe=new jA("ORTHOGONAL",2),VSe=new jA("SPLINES",3);}function Tdt(){Tdt=I,Zke=new mA("ASPECT_RATIO_DRIVEN",0),Qke=new mA("MAX_SCALE_DRIVEN",1),Vke=new mA("AREA_DRIVEN",2);}function Cdt(){Cdt=I,F_e=new xA("P1_STRUCTURE",0),z_e=new xA("P2_PROCESSING_ORDER",1),H_e=new xA("P3_EXECUTION",2);}function Sdt(){Sdt=I,tke=new gA("OVERLAP_REMOVAL",0),Qxe=new gA("COMPACTION",1),Jxe=new gA("GRAPH_SIZE_CALCULATION",2);}function Adt(t,n){return cL(),iit(RXt),e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:UI(isNaN(t),isNaN(n))}function Mdt(t,e){var n,i;for(n=cwt(t,0);n.b!=n.d.c;){if((i=Uv(_B(h3(n))))==e)return;if(i>e){G0(n);break}}QK(n,e);}function Idt(t,e){var n,i,r,a,o;if(n=e.f,Zbt(t.c.d,n,e),null!=e.g)for(a=0,o=(r=e.g).length;a<o;++a)i=r[a],Zbt(t.c.e,i,e);}function Odt(t,e,n,i){var r,a,o;for(r=e+1;r<n;++r)for(a=r;a>e&&i.ue(t[a-1],t[a])>0;--a)o=t[a],IY(t,a,t[a-1]),IY(t,a-1,o);}function Ldt(t,e,n,i){if(e<0)_Dt(t,n,i);else {if(!n.Ij())throw Fw(new Rv(i6t+n.ne()+r6t));$z(n,66).Nj().Tj(t,t.yh(),e,i);}}function Ddt(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw Fw(new Rv("Node "+e+" not part of edge "+t))}function Ndt(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 Pdt(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 Bdt(t,e,n,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return jht(t,e,n,i)}function Rdt(t){return t.k==(oCt(),Cse)&&o5(new PU(null,new UK(new oq(ZD(hdt(t).a.Kc(),new l)))),new Ur)}function jdt(t){return null==t.e?t:(!t.c&&(t.c=new iRt(!!(256&t.f),t.i,t.a,t.d,!!(16&t.f),t.j,t.g,null)),t.c)}function $dt(t,e){return t.h==SVt&&0==t.m&&0==t.l?(e&&(hee=_L(0,0,0)),KI((q9(),gee))):(e&&(hee=_L(t.l,t.m,t.h)),_L(0,0,0))}function Fdt(t){return Array.isArray(t)&&t.im===M?Qk(tut(t))+"@"+(Jct(t)>>>0).toString(16):t.toString()}function zdt(t){var e;this.a=new Xj(e=$z(t.e&&t.e(),9),$z(ER(e,e.length),9),0),this.b=D8(Ite,zWt,1,this.a.a.length,5,1);}function Hdt(t){var e,n,i;for(this.a=new uO,i=new Kd(t);i.a<i.c.c.length;)n=$z(Q1(i),14),frt(e=new cG,n),kK(this.a,e);}function Udt(t){var e,n;for(zB(),e=t.o.b,n=$z($z(c6(t.r,(vKt(),EMe)),21),84).Kc();n.Ob();)$z(n.Pb(),111).e.b+=e;}function Gdt(t){var e;if(t.b){if(Gdt(t.b),t.b.d!=t.c)throw Fw(new by)}else t.d.dc()&&(e=$z(t.f.c.xc(t.e),14))&&(t.d=e);}function qdt(t){var e;return null==t||(e=t.length)>0&&(h1(e-1,t.length),58==t.charCodeAt(e-1))&&!Kdt(t,IOe,OOe)}function Kdt(t,e,n){var i,r;for(i=0,r=t.length;i<r;i++)if(tct((h1(i,t.length),t.charCodeAt(i)),e,n))return !0;return !1}function Ydt(t,e){var n,i;for(i=t.e.a.ec().Kc();i.Ob();)if(tCt(e,(n=$z(i.Pb(),266)).d)||AAt(e,n.d))return !0;return !1}function Wdt(t,e){var n,i,r;for(r=(i=zRt(t,e))[i.length-1]/2,n=0;n<i.length;n++)if(i[n]>=r)return e.c+n;return e.c+e.b.gc()}function Xdt(t,e){var n,i,r,a;for(dB(),r=e,U7(i=F7(t),0,i.length,r),n=0;n<i.length;n++)n!=(a=pxt(t,i[n],n))&&Aft(t,n,a);}function Vdt(t,e){var n,i,r,a,o,s;for(i=0,n=0,o=0,s=(a=e).length;o<s;++o)(r=a[o])>0&&(i+=r,++n);return n>1&&(i+=t.d*(n-1)),i}function Zdt(t){var e,n,i;for((i=new Ex).a+="[",e=0,n=t.gc();e<n;)iI(i,mN(t.ki(e))),++e<n&&(i.a+=$Wt);return i.a+="]",i.a}function Qdt(t){var e,n,i;return i=IEt(t),!K_(t.c)&&(net(i,"knownLayouters",n=new Cf),e=new nw(n),t5(t.c,e)),i}function Jdt(t,e){var n,i;for(mW(e),n=!1,i=new Kd(t);i.a<i.c.c.length;)mgt(e,Q1(i),!1)&&(MK(i),n=!0);return n}function tgt(t){var e,n;for(n=Hv(_B(t.a.We((cWt(),ASe)))),e=new Kd(t.a.xf());e.a<e.c.c.length;)WKt(t,$z(Q1(e),680),n);}function egt(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Q1(i),46),Kz(t.b.b,$z(n.b,81)),g2($z(n.a,189),$z(n.b,81));}function ngt(t,e,n){var i,r;for(i=(r=t.a.b).c.length;i<n;i++)mG(r,0,new FY(t.a));TJ(e,$z(DU(r,r.c.length-n),29)),t.b[e.p]=n;}function igt(t,e,n){var i;!(i=n)&&(i=OH(new qm,0)),MEt(i,HJt,2),yyt(t.b,e,yat(i,1)),RUt(t,e,yat(i,1)),HKt(e,yat(i,1)),zCt(i);}function rgt(t,e,n,i,r){$J(),qNt(rT(iT(nT(aT(new Fy,0),r.d.e-t),e),r.d)),qNt(rT(iT(nT(aT(new Fy,0),n-r.a.e),r.a),i));}function agt(t,e,n,i,r,a){this.a=t,this.c=e,this.b=n,this.f=i,this.d=r,this.e=a,this.c>0&&this.b>0&&XU(this.c,this.b,this.a);}function ogt(t){Bgt(),this.c=a6(Cst(Hx(nTe,1),zWt,831,0,[Kwe])),this.b=new Dw,this.a=t,YW(this.b,Ywe,1),Met(Wwe,new Tb(this));}function sgt(t,e){var n;return t.d?cK(t.b,e)?$z(PY(t.b,e),51):(n=e.Kf(),YW(t.b,e,n),n):e.Kf()}function cgt(t,e){var n;return HM(t)===HM(e)||!!iD(e,91)&&(n=$z(e,91),t.e==n.e&&t.d==n.d&&x4(t,n.a))}function ugt(t){switch(vKt(),t.g){case 4:return sMe;case 1:return oMe;case 3:return EMe;case 2:return CMe;default:return TMe}}function lgt(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 kot(t,e)}function hgt(t){switch(t.g){case 0:return new qo;case 1:return new Ko;default:throw Fw(new Rv(r4t+(null!=t.f?t.f:""+t.g)))}}function fgt(t){switch(t.g){case 0:return new Go;case 1:return new Yo;default:throw Fw(new Rv(E1t+(null!=t.f?t.f:""+t.g)))}}function dgt(t){switch(t.g){case 0:return new Ym;case 1:return new ym;default:throw Fw(new Rv(D4t+(null!=t.f?t.f:""+t.g)))}}function ggt(t){switch(t.g){case 1:return new jo;case 2:return new gB;default:throw Fw(new Rv(r4t+(null!=t.f?t.f:""+t.g)))}}function pgt(t){var e,n;if(t.b)return t.b;for(n=Wne?null:t.d;n;){if(e=Wne?null:n.b)return e;n=Wne?null:n.d;}return lT(),Fne}function bgt(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&Sat(t)==t.d-1&&(--n,n|=0),e-=QMt(n))}function wgt(t){var e,n,i;return t<tne.length?tne[t]:(e=31&t,(i=D8(ANe,uVt,25,1+(n=t>>5),15,1))[n]=1<<e,new lK(1,n+1,i))}function ygt(t){var e,n,i;return (n=t.zg())?iD(e=t.Ug(),160)&&null!=(i=ygt($z(e,160)))?i+"."+n:n:null}function mgt(t,e,n){var i,r;for(r=t.Kc();r.Ob();)if(i=r.Pb(),HM(e)===HM(i)||null!=e&&Dht(e,i))return n&&r.Qb(),!0;return !1}function vgt(t,e,n){var i,r;if(++t.j,n.dc())return !1;for(r=n.Kc();r.Ob();)i=r.Pb(),t.Hi(e,t.oi(e,i)),++e;return !0}function xgt(t,e,n,i){var r,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else {for(r=1;a>3;)r*=10,--a;t=(t+(r>>1))/r|0;}return i.i=t,!0}function kgt(t){return Tlt(),cN(),!!(Pdt($z(t.a,81).j,$z(t.b,103))||0!=$z(t.a,81).d.e&&Pdt($z(t.a,81).j,$z(t.b,103)))}function _gt(t){D7(),$z(t.We((cWt(),zCe)),174).Hc((Jjt(),YMe))&&($z(t.We(uSe),174).Fc((hMt(),iMe)),$z(t.We(zCe),174).Mc(YMe));}function Egt(t,e){var n;if(e){for(n=0;n<t.i;++n)if($z(t.g[n],366).Di(e))return !1;return u7(t,e)}return !1}function Tgt(t){var e,n,i;for(e=new Cf,i=new zd(t.b.Kc());i.b.Ob();)n=WCt($z(i.b.Pb(),686)),KK(e,e.a.length,n);return e.a}function Cgt(t){var e;return !t.c&&(t.c=new Dt),wL(t.d,new Pt),Vjt(t),e=hBt(t),VE(new PU(null,new f1(t.d,16)),new Sg(t)),e}function Sgt(t){var e;return 64&t.Db?vht(t):((e=new uN(vht(t))).a+=" (instanceClassName: ",iI(e,t.D),e.a+=")",e.a)}function Agt(t,e){var n,i;e&&(n=Bnt(e,"x"),_nt(new Zb(t).a,(mW(n),n)),i=Bnt(e,"y"),Mnt(new Qb(t).a,(mW(i),i)));}function Mgt(t,e){var n,i;e&&(n=Bnt(e,"x"),Ant(new Yb(t).a,(mW(n),n)),i=Bnt(e,"y"),Int(new Xb(t).a,(mW(i),i)));}function Igt(t,e){var n,i,r;if(null==t.i&&HFt(t),n=t.i,-1!=(i=e.aj()))for(r=n.length;i<r;++i)if(n[i]==e)return i;return -1}function Ogt(t){var e,n,i,r;for(n=$z(t.g,674),i=t.i-1;i>=0;--i)for(e=n[i],r=0;r<i;++r)if(wFt(t,e,n[r])){Lvt(t,i);break}}function Lgt(t){var e=t.e;function n(t){return t&&0!=t.length?"\t"+t.join("\n\t"):""}return e&&(e.stack||n(t[qXt]))}function Dgt(t){var e;switch(KY(),(e=t.Pc()).length){case 0:return $te;case 1:return new TU(yY(e[0]));default:return new EZ(ddt(e))}}function Ngt(t,e){switch(e.g){case 1:return Bz(t.j,(pat(),Lse));case 2:return Bz(t.j,(pat(),Nse));default:return EV(),EV(),cne}}function Pgt(t,e){switch(e){case 3:return void Ent(t,0);case 4:return void Tnt(t,0);case 5:return void Cnt(t,0);case 6:return void Snt(t,0)}sht(t,e);}function Bgt(){Bgt=I,MT(),zYt(),Ywe=Awe,Wwe=a6(Cst(Hx(lTe,1),v3t,146,0,[wwe,ywe,vwe,xwe,Ewe,Twe,Cwe,Swe,Iwe,Lwe,mwe,kwe,Mwe]));}function Rgt(t){var e,n;e=t.d==(OSt(),Vue),n=O_t(t),uct(t.a,(zYt(),mpe),e&&!n||!e&&n?(dyt(),ITe):(dyt(),MTe));}function jgt(t,e){var n;return (n=$z(T4(t,w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15)).Qc(lH(n.gc()))}function $gt(){$gt=I,tIe=new XA("SIMPLE",0),ZMe=new XA("GROUP_DEC",1),JMe=new XA("GROUP_MIXED",2),QMe=new XA("GROUP_INC",3);}function Fgt(){Fgt=I,HLe=new Lc,PLe=new Dc,BLe=new Nc,RLe=new Pc,jLe=new Bc,$Le=new Rc,FLe=new jc,zLe=new $c,ULe=new Fc;}function zgt(t,e,n){Het(),sm.call(this),this.a=mU(qie,[cXt,iQt],[595,212],0,[Qie,Zie],2),this.c=new hO,this.g=t,this.f=e,this.d=n;}function Hgt(t,n){this.n=mU(INe,[cXt,$Vt],[364,25],14,[n,CQ(e.Math.ceil(t/32))],2),this.o=t,this.p=n,this.j=t-1>>1,this.k=n-1>>1;}function Ugt(t,e){MEt(e,"End label post-processing",1),VE(MX(ftt(new PU(null,new f1(t.b,16)),new on),new sn),new cn),zCt(e);}function Ggt(t,e,n){var i;return i=Hv(t.p[e.i.p])+Hv(t.d[e.i.p])+e.n.b+e.a.b,Hv(t.p[n.i.p])+Hv(t.d[n.i.p])+n.n.b+n.a.b-i}function qgt(t,e,n){var i,r;for(i=t0(n,qVt),r=0;0!=Wlt(i,0)&&r<e;r++)i=idt(i,t0(t[r],qVt)),t[r]=dG(i),i=mq(i,32);return dG(i)}function Kgt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)h1(n,t.length),(e=t.charCodeAt(n))<64&&(r=e0(r,yq(1,e)));return r}function Ygt(t){var e;return null==t?null:new IO((e=$zt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Wgt(t){var e;return null==t?null:new IO((e=$zt(t,!0)).length>0&&(h1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Xgt(t,e){return t.i>0&&(e.length<t.i&&(e=Pnt(tut(e).c,t.i)),aHt(t.g,0,e,0,t.i)),e.length>t.i&&IY(e,t.i,null),e}function Vgt(t,e,n){var i,r,a;return t.ej()?(i=t.i,a=t.fj(),Aht(t,i,e),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):Aht(t,t.i,e),n}function Zgt(t,e,n){var i,r;return i=new L9(t.e,4,10,iD(r=e.c,88)?$z(r,26):(pWt(),fLe),null,oyt(t,e),!1),n?n.Ei(i):n=i,n}function Qgt(t,e,n){var i,r;return i=new L9(t.e,3,10,null,iD(r=e.c,88)?$z(r,26):(pWt(),fLe),oyt(t,e),!1),n?n.Ei(i):n=i,n}function Jgt(t){var e;return zB(),e=new fO($z(t.e.We((cWt(),$Ce)),8)),t.B.Hc((Jjt(),HMe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function tpt(t){return fyt(),(t.q?t.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197)}function ept(t,e){var n,i;return i=null,OP(t,(zYt(),_we))&&(n=$z(yTt(t,_we),94)).Xe(e)&&(i=n.We(e)),null==i&&(i=yTt(bW(t),e)),i}function npt(t,e){var n,i,r;return !!iD(e,42)&&(i=(n=$z(e,42)).cd(),fW(r=hht(t.Rc(),i),n.dd())&&(null!=r||t.Rc()._b(i)))}function ipt(t,e){var n;return t.f>0&&(t.qj(),-1!=ILt(t,((n=null==e?0:Jct(e))&PWt)%t.d.length,n,e))}function rpt(t,e){var n,i;return t.f>0&&(t.qj(),n=aIt(t,((i=null==e?0:Jct(e))&PWt)%t.d.length,i,e))?n.dd():null}function apt(t,e){var n,i,r,a;for(a=aPt(t.e.Tg(),e),n=$z(t.g,119),r=0;r<t.i;++r)if(i=n[r],a.rl(i.ak()))return !1;return !0}function opt(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!$z(t.b,49).Zg())return !0;return t.b=null,!1}return !0}function spt(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1;}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}}function cpt(t,e){var n,i;return sL(),i=null,e==(n=uR((ux(),ux(),iee)))&&(i=$z(EQ(nee,t),615)),i||(i=new UY(t),e==n&&wJ(nee,t,i)),i}function upt(t,n){var i,r;t.a=idt(t.a,1),t.c=e.Math.min(t.c,n),t.b=e.Math.max(t.b,n),t.d+=n,i=n-t.f,r=t.e+i,t.f=r-t.e-i,t.e=r;}function lpt(t,e){var n;t.c=e,t.a=bgt(e),t.a<54&&(t.f=(n=e.d>1?e0(yq(e.a[1],32),t0(e.a[0],qVt)):t0(e.a[0],qVt),v2(rdt(e.e,n))));}function hpt(t,e){var n;return VI(t)&&VI(e)&&OVt<(n=t%e)&&n<MVt?n:oot((IUt(VI(t)?Cot(t):t,VI(e)?Cot(e):e,!0),hee))}function fpt(t,e){var n;Pqt(e),(n=$z(yTt(t,(zYt(),Vpe)),276))&&uct(t,Vpe,Ivt(n)),QN(t.c),QN(t.f),Y6(t.d),Y6($z(yTt(t,Mbe),207));}function dpt(t){this.e=D8(ANe,uVt,25,t.length,15,1),this.c=D8(MNe,QZt,25,t.length,16,1),this.b=D8(MNe,QZt,25,t.length,16,1),this.f=0;}function gpt(t){var e,n;for(t.j=D8(LNe,HVt,25,t.p.c.length,15,1),n=new Kd(t.p);n.a<n.c.c.length;)e=$z(Q1(n),10),t.j[e.p]=e.o.b/t.i;}function ppt(t){var e;0!=t.c&&(1==(e=$z(DU(t.a,t.b),287)).b?(++t.b,t.b<t.a.c.length&&kd($z(DU(t.a,t.b),287))):--e.b,--t.c);}function bpt(t){var e;e=t.a;do{(e=$z(G5(new oq(ZD(hdt(e).a.Kc(),new l))),17).d.i).k==(oCt(),Tse)&&Kz(t.e,e);}while(e.k==(oCt(),Tse))}function wpt(){wpt=I,OMe=new KO(15),IMe=new qO((cWt(),qCe),OMe),DMe=new qO(OSe,15),LMe=new qO(bSe,nft(0)),MMe=new qO(iCe,gJt);}function ypt(){ypt=I,BMe=new YA("PORTS",0),RMe=new YA("PORT_LABELS",1),PMe=new YA("NODE_LABELS",2),NMe=new YA("MINIMUM_SIZE",3);}function mpt(t,e){var n,i;for(i=e.length,n=0;n<i;n+=2)VPt(t,(h1(n,e.length),e.charCodeAt(n)),(h1(n+1,e.length),e.charCodeAt(n+1)));}function vpt(t,e,n){var i,r,a,o;for(a=e-t.e,o=n-t.f,r=new Kd(t.a);r.a<r.c.c.length;)_yt(i=$z(Q1(r),187),i.s+a,i.t+o);t.e=e,t.f=n;}function xpt(t,e){var n,i,r;for(r=e.b.b,t.a=new XE,t.b=D8(ANe,uVt,25,r,15,1),n=0,i=cwt(e.b,0);i.b!=i.d.c;)$z(h3(i),86).g=n++;}function kpt(t,e){var n,i,r,a;return n=e>>5,e&=31,r=t.d+n+(0==e?0:1),NEt(i=D8(ANe,uVt,25,r,15,1),t.a,n,e),q0(a=new lK(t.e,r,i)),a}function _pt(t,e,n){var i,r;i=$z(EQ(tNe,e),117),r=$z(EQ(eNe,e),117),n?(wJ(tNe,t,i),wJ(eNe,t,r)):(wJ(eNe,t,i),wJ(tNe,t,r));}function Ept(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i>=0?a=a.a[1]:(r=a,a=a.a[0]);}return r}function Tpt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i<=0?a=a.a[0]:(r=a,a=a.a[1]);}return r}function Cpt(t,e,n,i){var r,a,o;return r=!1,LGt(t.f,n,i)&&(Nbt(t.f,t.a[e][n],t.a[e][i]),o=(a=t.a[e])[i],a[i]=a[n],a[n]=o,r=!0),r}function Spt(t,e,n,i,r){var a,o,s;for(o=r;e.b!=e.c;)a=$z(dK(e),10),s=$z(adt(a,i).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Apt(t,n,i){var r,a,o,s,c;return s=t.k,c=n.k,a=_B(ept(t,r=i[s.g][c.g])),o=_B(ept(n,r)),e.Math.max((mW(a),a),(mW(o),o))}function Mpt(t,e,n){var i,r,a,o;for(i=n/t.c.length,r=0,o=new Kd(t);o.a<o.c.c.length;)plt(a=$z(Q1(o),200),a.f+i*r),akt(a,e,i),++r;}function Ipt(t,e,n){var i,r,a;for(r=$z(PY(t.b,n),177),i=0,a=new Kd(e.j);a.a<a.c.c.length;)r[$z(Q1(a),113).d.p]&&++i;return i}function Opt(t){var e,n;return null!=(e=$z(mot(t.a,4),126))?(aHt(e,0,n=D8(fOe,n7t,415,e.length,0,1),0,e.length),n):hOe}function Lpt(){var t;return 0!=ree&&(t=l5())-aee>2e3&&(aee=t,oee=e.setTimeout(W_,10)),0==ree++&&(Att((sx(),tee)),!0)}function Dpt(t,e){var n;for(n=new oq(ZD(hdt(t).a.Kc(),new l));gOt(n);)if($z(G5(n),17).d.i.c==e)return !1;return !0}function Npt(t,e){var n;if(iD(e,245)){n=$z(e,245);try{return 0==t.vd(n)}catch(t){if(!iD(t=hst(t),205))throw Fw(t)}}return !1}function Ppt(){return Error.stackTraceLimit>0?(e.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Bpt(t,n){return cL(),cL(),iit(RXt),(e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:UI(isNaN(t),isNaN(n)))>0}function Rpt(t,n){return cL(),cL(),iit(RXt),(e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:UI(isNaN(t),isNaN(n)))<0}function jpt(t,n){return cL(),cL(),iit(RXt),(e.Math.abs(t-n)<=RXt||t==n||isNaN(t)&&isNaN(n)?0:t<n?-1:t>n?1:UI(isNaN(t),isNaN(n)))<=0}function $pt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var i=e[n++];n<e.length;n++)e[n]&&""!=e[n]&&(i+=t+e[n]);return i}function Fpt(t,n,i){var r,a,o,s;for(R8(n,o=n+i,t.length),s="",a=n;a<o;)r=e.Math.min(a+1e4,o),s+=KW(t.slice(a,r)),a=r;return s}function zpt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Hpt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Upt(t){var e,n,i,r;if(null==t)return null;for(r=new Lw,n=0,i=(e=mut(t)).length;n<i;++n)Kz(r,$zt(e[n],!0));return r}function Gpt(t,e){var n,i,r;if(t.c)Tnt(t.c,e);else for(n=e-eG(t),r=new Kd(t.d);r.a<r.c.c.length;)Gpt(i=$z(Q1(r),157),eG(i)+n);}function qpt(t,e){var n,i,r;if(t.c)Ent(t.c,e);else for(n=e-tG(t),r=new Kd(t.a);r.a<r.c.c.length;)qpt(i=$z(Q1(r),157),tG(i)+n);}function Kpt(t,e){var n,i,r;for(i=new V6(e.gc()),n=e.Kc();n.Ob();)(r=t$t(t,$z(n.Pb(),56)))&&(i.c[i.c.length]=r);return i}function Ypt(t,e){var n,i;return t.qj(),(n=aIt(t,((i=null==e?0:Jct(e))&PWt)%t.d.length,i,e))?(uit(t,n),n.dd()):null}function Wpt(t){var e,n;for(n=oSt(t),e=null;2==t.c;)XYt(t),e||(dWt(),dWt(),tUt(e=new nL(2),n),n=e),n.$l(oSt(t));return n}function Xpt(t){if(!(H6t in t.a))throw Fw(new tx("Every element must have an id."));return vMt(UQ(t,H6t))}function Vpt(t){var e,n,i;if(!(i=t.Zg()))for(e=0,n=t.eh();n;n=n.eh()){if(++e>UVt)return n.fh();if((i=n.Zg())||n==t)break}return i}function Zpt(t){return cJ(),iD(t,156)?$z(PY(aOe,yne),288).vg(t):cK(aOe,tut(t))?$z(PY(aOe,tut(t)),288).vg(t):null}function Qpt(t){if(ybt(a5t,t))return cN(),wee;if(ybt(o5t,t))return cN(),bee;throw Fw(new Rv("Expecting true or false"))}function Jpt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw Fw(new Rv("Input edge is not connected to the input port."))}function tbt(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*Eut(t.a,e.a,t.d)}function ebt(t){return t>=48&&t<48+e.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function nbt(t,e){var n;return HM(e)===HM(t)||!!iD(e,21)&&(n=$z(e,21)).gc()==t.gc()&&t.Ic(n)}function ibt(t,e){var n,i,r;return i=t.a.length-1,n=e-t.b&i,r=t.c-e&i,xP(n<(t.c-t.b&i)),n>=r?(alt(t,e),-1):(olt(t,e),1)}function rbt(t,e){var n,i;for(h1(e,t.length),n=t.charCodeAt(e),i=e+1;i<t.length&&(h1(i,t.length),t.charCodeAt(i)==n);)++i;return i-e}function abt(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 obt(t,e){var n,i=t.a;e=String(e),i.hasOwnProperty(e)&&(n=i[e]);var r=(Qst(),lee)[typeof n];return r?r(n):vlt(typeof n)}function sbt(t,e){if(t.a<0)throw Fw(new jv("Did not call before(...) or after(...) before calling add(...)."));return KN(t,t.a,e),t}function cbt(t,e,n,i){var r;0!=e.c.length&&(r=EDt(n,i),VE(met(new PU(null,new f1(oMt(e),1)),new _o),new qX(t,n,r,i)));}function ubt(t,e,n){var i;t.Db&e?null==n?YIt(t,e):-1==(i=Bmt(t,e))?t.Eb=n:IY(ent(t.Eb),i,n):null!=n&&yPt(t,e,n);}function lbt(t){var e;return 32&t.Db||0!=(e=hY($z(mot(t,16),26)||t.zh())-hY(t.zh()))&&ubt(t,32,D8(Ite,zWt,1,e,5,1)),t}function hbt(t){var e;return t.b||qk(t,!(e=QR(t.e,t.a))||!wj(o5t,rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"qualified"))),t.c}function fbt(t,e,n){var i,r;return ((r=(i=$z(Yet(F9(t.a),e),87)).c||(pWt(),uLe)).kh()?tht(t.b,$z(r,49)):r)==n?hFt(i):rnt(i,n),r}function dbt(t,e){(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,t);}function gbt(t,e,n,i){$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65).c.b,B8(i,e,t);}function pbt(t){var e,n;for(e=new Kd(t.g);e.a<e.c.c.length;)$z(Q1(e),562);Gqt(n=new mPt(t.g,Hv(t.a),t.c)),t.g=n.b,t.d=n.a;}function bbt(t,n,i){n.b=e.Math.max(n.b,-i.a),n.c=e.Math.max(n.c,i.a-t.a),n.d=e.Math.max(n.d,-i.b),n.a=e.Math.max(n.a,i.b-t.b);}function wbt(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:Jct(t)-Jct(e)}function ybt(t,e){return mW(t),null!=e&&(!!wj(t,e)||t.length==e.length&&wj(t.toLowerCase(),e.toLowerCase()))}function mbt(t,e){var n,i,r,a;for(i=0,r=e.gc();i<r;++i)iD(n=e.il(i),99)&&$z(n,18).Bb&u6t&&null!=(a=e.jl(i))&&t$t(t,$z(a,56));}function vbt(t,e,n){var i,r,a;for(a=new Kd(n.a);a.a<a.c.c.length;)r=$z(Q1(a),221),i=new CL($z(PY(t.a,r.b),65)),Kz(e.a,i),vbt(t,i,r);}function xbt(t){var e,n;return Wlt(t,-129)>0&&Wlt(t,128)<0?(e=dG(t)+128,!(n=(xU(),Oee)[e])&&(n=Oee[e]=new Nd(t)),n):new Nd(t)}function kbt(t,e){var n,i;return (n=e.Hh(t.a))&&null!=(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),t8t)))?i:e.ne()}function _bt(t,e){var n,i;return (n=e.Hh(t.a))&&null!=(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),t8t)))?i:e.ne()}function Ebt(t,e){var n,i;for(zJ(),i=new oq(ZD(udt(t).a.Kc(),new l));gOt(i);)if((n=$z(G5(i),17)).d.i==e||n.c.i==e)return n;return null}function Tbt(t,e,n){this.c=t,this.f=new Lw,this.e=new Hk,this.j=new EU,this.n=new EU,this.b=e,this.g=new GX(e.c,e.d,e.b,e.a),this.a=n;}function Cbt(t){var e,n,i,r;for(this.a=new uO,this.d=new Py,this.e=0,i=0,r=(n=t).length;i<r;++i)e=n[i],!this.f&&(this.f=e),g2(this,e);}function Sbt(t){MBt(),0==t.length?(this.e=0,this.d=1,this.a=Cst(Hx(ANe,1),uVt,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,q0(this));}function Abt(t,e,n){sm.call(this),this.a=D8(qie,iQt,212,(Pet(),Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length,0,1),this.b=t,this.d=e,this.c=n;}function Mbt(t){this.d=new Lw,this.e=new b4,this.c=D8(ANe,uVt,25,(vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length,15,1),this.b=t;}function Ibt(t){var e,n,i,r;for(uct(r=$z(yTt(t,(uWt(),dfe)),11),Ofe,t.i.n.b),n=0,i=(e=Z0(t.e)).length;n<i;++n)_J(e[n],r);}function Obt(t){var e,n,i,r;for(uct(e=$z(yTt(t,(uWt(),dfe)),11),Ofe,t.i.n.b),i=0,r=(n=Z0(t.g)).length;i<r;++i)EJ(n[i],e);}function Lbt(t){var e,n;return !!OP(t.d.i,(zYt(),Kbe))&&(e=$z(yTt(t.c.i,Kbe),19),n=$z(yTt(t.d.i,Kbe),19),xL(e.a,n.a)>0)}function Dbt(t){var e;HM(QOt(t,(cWt(),xCe)))===HM((oht(),bAe))&&(VQ(t)?(e=$z(QOt(VQ(t),xCe),334),Vwt(t,xCe,e)):Vwt(t,xCe,wAe));}function Nbt(t,e,n){var i,r;lTt(t.e,e,n,(vKt(),CMe)),lTt(t.i,e,n,oMe),t.a&&(r=$z(yTt(e,(uWt(),dfe)),11),i=$z(yTt(n,dfe),11),m0(t.g,r,i));}function Pbt(t,e,n){var i,r,a;i=e.c.p,a=e.p,t.b[i][a]=new NZ(t,e),n&&(t.a[i][a]=new $p(e),(r=$z(yTt(e,(uWt(),nfe)),10))&&ZMt(t.d,r,e));}function Bbt(t,e){var n,i,r;if(Kz(Eae,t),e.Fc(t),n=$z(PY(_ae,t),21))for(r=n.Kc();r.Ob();)i=$z(r.Pb(),33),-1!=x9(Eae,i,0)||Bbt(i,e);}function Rbt(t,e,n){var i;(Kne?(pgt(t),1):Yne||Vne?(lT(),1):Xne&&(lT(),0))&&((i=new e$(e)).b=n,aCt(t,i));}function jbt(t,e){var n;n=!t.A.Hc((ypt(),RMe))||t.q==(X_t(),qAe),t.u.Hc((hMt(),tMe))?n?DKt(t,e):aKt(t,e):t.u.Hc(nMe)&&(n?Iqt(t,e):ZKt(t,e));}function $bt(t,e){var n,i;++t.j,null!=e&&sIt(e,n=iD(i=t.a.Cb,97)?$z(i,97).Jg():null)?ubt(t.a,4,n):ubt(t.a,4,$z(e,126));}function Fbt(t,n,i){return new GX(e.Math.min(t.a,n.a)-i/2,e.Math.min(t.b,n.b)-i/2,e.Math.abs(t.a-n.a)+i,e.Math.abs(t.b-n.b)+i)}function zbt(t,e){var n,i;return 0!=(n=xL(t.a.c.p,e.a.c.p))?n:0!=(i=xL(t.a.d.i.p,e.a.d.i.p))?i:xL(e.a.d.p,t.a.d.p)}function Hbt(t,e,n){var i,r,a,o;return (a=e.j)!=(o=n.j)?a.g-o.g:(i=t.f[e.p],r=t.f[n.p],0==i&&0==r?0:0==i?-1:0==r?1:Cft(i,r))}function Ubt(t,e,n){var i;if(!n[e.d])for(n[e.d]=!0,i=new Kd(vdt(e));i.a<i.c.c.length;)Ubt(t,Ddt($z(Q1(i),213),e),n);}function Gbt(t,e,n){var i;switch(i=n[t.g][e],t.g){case 1:case 3:return new DA(0,i);case 2:case 4:return new DA(i,0);default:return null}}function qbt(t,e,n){var i;i=$z(sQ(e.f),209);try{i.Ze(t,n),EW(e.f,i);}catch(t){throw iD(t=hst(t),102),Fw(t)}}function Kbt(t,e,n){var i,r,a,o;return i=null,(a=bGt(rit(),e))&&(r=null,null!=(o=QUt(a,n))&&(r=t.Ye(a,o)),i=r),i}function Ybt(t,e,n,i){var r;return r=new L9(t.e,1,13,e.c||(pWt(),uLe),n.c||(pWt(),uLe),oyt(t,e),!1),i?i.Ei(r):i=r,i}function Wbt(t,e,n,i){var r;if(e>=(r=t.length))return r;for(e=e>0?e:0;e<r&&!tct((h1(e,t.length),t.charCodeAt(e)),n,i);e++);return e}function Xbt(t,e){var n,i;for(i=t.c.length,e.length<i&&(e=zx(new Array(i),e)),n=0;n<i;++n)IY(e,n,t.c[n]);return e.length>i&&IY(e,i,null),e}function Vbt(t,e){var n,i;for(i=t.a.length,e.length<i&&(e=zx(new Array(i),e)),n=0;n<i;++n)IY(e,n,t.a[n]);return e.length>i&&IY(e,i,null),e}function Zbt(t,e,n){var i,r,a;return (r=$z(PY(t.e,e),387))?(a=pR(r,n),aD(t,r),a):(i=new Qz(t,e,n),YW(t.e,e,i),mQ(i),null)}function Qbt(t){var e;if(null==t)return null;if(null==(e=LLt($zt(t,!0))))throw Fw(new ex("Invalid hexBinary value: '"+t+"'"));return e}function Jbt(t){return MBt(),Wlt(t,0)<0?0!=Wlt(t,-1)?new w_t(-1,v9(t)):Vee:Wlt(t,10)<=0?Qee[dG(t)]:new w_t(1,t)}function twt(){return gWt(),Cst(Hx(Bre,1),OXt,159,0,[Tre,Ere,Cre,bre,pre,wre,vre,mre,yre,_re,kre,xre,dre,fre,gre,lre,ure,hre,sre,ore,cre,Sre])}function ewt(t){var e;this.d=new Lw,this.j=new Hk,this.g=new Hk,e=t.g.b,this.f=$z(yTt(bW(e),(zYt(),Gpe)),103),this.e=Hv(_B(pwt(e,Ewe)));}function nwt(t){this.b=new Lw,this.e=new Lw,this.d=t,this.a=!v_(MX(new PU(null,new UK(new w6(t.b))),new rg(new Gr))).sd((dT(),Jne));}function iwt(){iwt=I,cTe=new MA("PARENTS",0),sTe=new MA("NODES",1),aTe=new MA("EDGES",2),uTe=new MA("PORTS",3),oTe=new MA("LABELS",4);}function rwt(){rwt=I,$Ae=new UA("DISTRIBUTED",0),zAe=new UA("JUSTIFIED",1),RAe=new UA("BEGIN",2),jAe=new UA(eQt,3),FAe=new UA("END",4);}function awt(t){switch(t.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return -1}function owt(t){switch(t.g){case 1:return $ht(),FSe;case 4:return $ht(),RSe;case 2:return $ht(),jSe;case 3:return $ht(),BSe}return $ht(),$Se}function swt(t,e,n){var i;switch((i=n.q.getFullYear()-cVt+cVt)<0&&(i=-i),e){case 1:t.a+=i;break;case 2:xtt(t,i%100,2);break;default:xtt(t,i,e);}}function cwt(t,e){var n,i;if(OJ(e,t.b),e>=t.b>>1)for(i=t.c,n=t.b;n>e;--n)i=i.b;else for(i=t.a.a,n=0;n<e;++n)i=i.a;return new Zj(t,e,i)}function uwt(){uwt=I,die=new jC("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),fie=new jC("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1);}function lwt(t){var e,n,i;for(wL(n=oAt(t),$se),(i=t.d).c=D8(Ite,zWt,1,0,5,1),e=new Kd(n);e.a<e.c.c.length;)pst(i,$z(Q1(e),456).b);}function hwt(t){var e,n;for(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),e=(n=t.o).c.Kc();e.e!=e.i.gc();)$z(e.nj(),42).dd();return M8(n)}function fwt(t){var e;Oj($z(yTt(t,(zYt(),twe)),98))&&(lIt((l1(0,(e=t.b).c.length),$z(e.c[0],29))),lIt($z(DU(e,e.c.length-1),29)));}function dwt(t,n){var i,r,a,o;for(i=0,a=new Kd(n.a);a.a<a.c.c.length;)o=(r=$z(Q1(a),10)).o.a+r.d.c+r.d.b+t.j,i=e.Math.max(i,o);return i}function gwt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)h1(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(r=e0(r,yq(1,e-64)));return r}function pwt(t,e){var n,i;return i=null,OP(t,(cWt(),CSe))&&(n=$z(yTt(t,CSe),94)).Xe(e)&&(i=n.We(e)),null==i&&bW(t)&&(i=yTt(bW(t),e)),i}function bwt(t,e){var n,i,r;(i=(r=e.d.i).k)!=(oCt(),Cse)&&i!=kse&&gOt(n=new oq(ZD(hdt(r).a.Kc(),new l)))&&YW(t.k,e,$z(G5(n),17));}function wwt(t,e){var n,i,r;return i=eet(t.Tg(),e),(n=e-t.Ah())<0?(r=t.Yg(i))>=0?t.lh(r):HMt(t,i):n<0?HMt(t,i):$z(i,66).Nj().Sj(t,t.yh(),n)}function ywt(t){var e;if(iD(t.a,4)){if(null==(e=Zpt(t.a)))throw Fw(new jv(s5t+t.b+"'. "+i5t+(xB(lOe),lOe.k)+r5t));return e}return t.a}function mwt(t){var e;if(null==t)return null;if(null==(e=qKt($zt(t,!0))))throw Fw(new ex("Invalid base64Binary value: '"+t+"'"));return e}function vwt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(e){throw iD(e=hst(e),73)?(t.mj(),Fw(new yy)):Fw(e)}}function xwt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(e){throw iD(e=hst(e),73)?(t.mj(),Fw(new yy)):Fw(e)}}function kwt(){kwt=I,cWt(),xae=kSe,pae=yCe,lae=iCe,bae=qCe,jxt(),mae=_ie,yae=xie,vae=Tie,wae=vie,Uut(),fae=oae,hae=aae,dae=cae,gae=uae;}function _wt(t){switch(vT(),this.c=new Lw,this.d=t,t.g){case 0:case 2:this.a=WW(cse),this.b=BVt;break;case 3:case 1:this.a=cse,this.b=RVt;}}function Ewt(t,e,n){var i;if(t.c)Cnt(t.c,t.c.i+e),Snt(t.c,t.c.j+n);else for(i=new Kd(t.b);i.a<i.c.c.length;)Ewt($z(Q1(i),157),e,n);}function Twt(t,e){var n,i;if(t.j.length!=e.j.length)return !1;for(n=0,i=t.j.length;n<i;n++)if(!wj(t.j[n],e.j[n]))return !1;return !0}function Cwt(t,e,n){var i;e.a.length>0&&(Kz(t.b,new Yz(e.a,n)),0<(i=e.a.length)?e.a=e.a.substr(0,0):0>i&&(e.a+=nD(D8(SNe,YXt,25,-i,15,1))));}function Swt(t,e){var n,i,r;for(n=t.o,r=$z($z(c6(t.r,e),21),84).Kc();r.Ob();)(i=$z(r.Pb(),111)).e.a=gvt(i,n.a),i.e.b=n.b*Hv(_B(i.b.We(Ore)));}function Awt(t,e){var n,i,r,a;return r=t.k,n=Hv(_B(yTt(t,(uWt(),kfe)))),a=e.k,i=Hv(_B(yTt(e,kfe))),a!=(oCt(),_se)?-1:r!=_se?1:n==i?0:n<i?-1:1}function Mwt(t,e){var n,i;return n=$z($z(PY(t.g,e.a),46).a,65),i=$z($z(PY(t.g,e.b),46).a,65),K8(e.a,e.b)-K8(e.a,RL(n.b))-K8(e.b,RL(i.b))}function Iwt(t,e){var n;return n=$z(yTt(t,(zYt(),bbe)),74),JL(e,bse)?n?yV(n):(n=new mm,uct(t,bbe,n)):n&&uct(t,bbe,null),n}function Owt(t){var e;return (e=new Cx).a+="n",t.k!=(oCt(),Cse)&&oI(oI((e.a+="(",e),dP(t.k).toLowerCase()),")"),oI((e.a+="_",e),pvt(t)),e.a}function Lwt(t,e){MEt(e,"Self-Loop post-processing",1),VE(MX(MX(ftt(new PU(null,new f1(t.b,16)),new Pi),new Bi),new Ri),new ji),zCt(e);}function Dwt(t,e,n,i){var r;return n>=0?t.hh(e,n,i):(t.eh()&&(i=(r=t.Vg())>=0?t.Qg(i):t.eh().ih(t,-1-r,null,i)),t.Sg(e,n,i))}function Nwt(t,e){switch(e){case 7:return !t.e&&(t.e=new cj(BIe,t,7,4)),void cUt(t.e);case 8:return !t.d&&(t.d=new cj(BIe,t,8,5)),void cUt(t.d)}Pgt(t,e);}function Pwt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(t){throw iD(t=hst(t),109)?Fw(new Mv("Can't get element "+e)):Fw(t)}}function Bwt(t,e){this.e=t,e<KVt?(this.d=1,this.a=Cst(Hx(ANe,1),uVt,25,15,[0|e])):(this.d=2,this.a=Cst(Hx(ANe,1),uVt,25,15,[e%KVt|0,e/KVt|0]));}function Rwt(t,e){var n,i,r,a;for(EV(),n=t,a=e,iD(t,21)&&!iD(e,21)&&(n=e,a=t),r=n.Kc();r.Ob();)if(i=r.Pb(),a.Hc(i))return !1;return !0}function jwt(t,e,n){var i,r,a,o;return -1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=Lvt(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):Lvt(t,i)),n}function $wt(t,e,n){var i,r,a,o;return -1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=fU(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):fU(t,i)),n}function Fwt(t,e){var n;switch(n=$z(oX(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t);}t.C&&(n.b=t.C.b,n.c=t.C.c);}function zwt(){zwt=I,$re=new RC(yQt,0),jre=new RC(mQt,1),Fre=new RC(vQt,2),zre=new RC(xQt,3),$re.a=!1,jre.a=!0,Fre.a=!1,zre.a=!0;}function Hwt(){Hwt=I,Zre=new BC(yQt,0),Vre=new BC(mQt,1),Qre=new BC(vQt,2),Jre=new BC(xQt,3),Zre.a=!1,Vre.a=!0,Qre.a=!1,Jre.a=!0;}function Uwt(t){var e;e=t.a;do{(e=$z(G5(new oq(ZD(ldt(e).a.Kc(),new l))),17).c.i).k==(oCt(),Tse)&&t.b.Fc(e);}while(e.k==(oCt(),Tse));t.b=eot(t.b);}function Gwt(t){var e,n,i;for(i=t.c.a,t.p=(yY(i),new Jj(i)),n=new Kd(i);n.a<n.c.c.length;)(e=$z(Q1(n),10)).p=uAt(e).a;EV(),wL(t.p,new Ia);}function qwt(t){var e,n,i;if(n=0,0==(i=dBt(t)).c.length)return 1;for(e=new Kd(i);e.a<e.c.c.length;)n+=qwt($z(Q1(e),33));return n}function Kwt(t,e){var n,i,r;for(r=0,i=$z($z(c6(t.r,e),21),84).Kc();i.Ob();)r+=(n=$z(i.Pb(),111)).d.b+n.b.rf().a+n.d.c,i.Ob()&&(r+=t.w);return r}function Ywt(t,e){var n,i,r;for(r=0,i=$z($z(c6(t.r,e),21),84).Kc();i.Ob();)r+=(n=$z(i.Pb(),111)).d.d+n.b.rf().b+n.d.a,i.Ob()&&(r+=t.w);return r}function Wwt(t,e,n,i){if(e.a<i.a)return !0;if(e.a==i.a){if(e.b<i.b)return !0;if(e.b==i.b&&t.b>n.b)return !0}return !1}function Xwt(t,e){return qM(t)?!!MWt[e]:t.hm?!!t.hm[e]:GM(t)?!!AWt[e]:!!UM(t)&&!!SWt[e]}function Vwt(t,e,n){return null==n?(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),Ypt(t.o,e)):(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),wkt(t.o,e,n)),t}function Zwt(t,e,n,i){var r;(r=Kht(e.Xe((cWt(),NCe))?$z(e.We(NCe),21):t.j))!=(gWt(),Sre)&&(n&&!abt(r)||qCt(DLt(t,r,i),e));}function Qwt(t,e,n,i){var r,a,o;return a=eet(t.Tg(),e),(r=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):rIt(t,a,n):$z(a,66).Nj().Pj(t,t.yh(),r,n,i)}function Jwt(t,e,n,i){var r,a;n.mh(e)&&(ZT(),ctt(e)?mbt(t,$z(n.ah(e),153)):(r=(a=e)?$z(i,49).xh(a):null)&&Rw(n.ah(e),r));}function tyt(t){switch(t.g){case 1:return Pot(),Pre;case 3:return Pot(),Lre;case 2:return Pot(),Nre;case 4:return Pot(),Dre;default:return null}}function eyt(t){switch(typeof t){case DWt:return wyt(t);case LWt:return CQ(t);case OWt:return cN(),t?1231:1237;default:return null==t?0:TN(t)}}function nyt(t,e,n){if(t.e)switch(t.b){case 1:$V(t.c,e,n);break;case 0:FV(t.c,e,n);}else J3(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e;}function iyt(t){var e,n;if(null==t)return null;for(n=D8(Ase,cXt,193,t.length,0,2),e=0;e<n.length;e++)n[e]=$z(H7(t[e],t[e].length),193);return n}function ryt(t){var e;if(Rut(t))return wq(t),t.Lk()&&(e=$Mt(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 Fw(new yy)}function ayt(t,e){var n,i,r,a;return (a=t.o)<(n=t.p)?a*=a:n*=n,i=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,i<(r=a+n)?-1:i==r?0:1}function oyt(t,e){var n,i;if((i=Yvt(t,e))>=0)return i;if(t.Fk())for(n=0;n<t.i;++n)if(HM(t.Gk($z(t.g[n],56)))===HM(e))return n;return -1}function syt(t,e,n){var i,r;if(e>=(r=t.gc()))throw Fw(new JR(e,r));if(t.hi()&&(i=t.Xc(n))>=0&&i!=e)throw Fw(new Rv(a8t));return t.mi(e,n)}function cyt(t,e){if(this.a=$z(yY(t),245),this.b=$z(yY(e),245),t.vd(e)>0||t==(tv(),Rte)||e==(Jm(),jte))throw Fw(new Rv("Invalid range: "+$3(t,e)))}function uyt(t){var e,n;for(this.b=new Lw,this.c=t,this.a=!1,n=new Kd(t.a);n.a<n.c.c.length;)e=$z(Q1(n),10),this.a=this.a|e.k==(oCt(),Cse);}function lyt(t,e){var n,i,r;for(n=MN(new zy,t),r=new Kd(e);r.a<r.c.c.length;)i=$z(Q1(r),121),qNt(rT(iT(aT(nT(new Fy,0),0),n),i));return n}function hyt(t,e,n){var i,r,a;for(r=new oq(ZD((e?ldt(t):hdt(t)).a.Kc(),new l));gOt(r);)i=$z(G5(r),17),(a=e?i.c.i:i.d.i).k==(oCt(),Ese)&&TJ(a,n);}function fyt(){fyt=I,lye=new RS(XJt,0),hye=new RS("PORT_POSITION",1),uye=new RS("NODE_SIZE_WHERE_SPACE_PERMITS",2),cye=new RS("NODE_SIZE",3);}function dyt(){dyt=I,CTe=new NA("AUTOMATIC",0),MTe=new NA(rQt,1),ITe=new NA(aQt,2),OTe=new NA("TOP",3),STe=new NA(sQt,4),ATe=new NA(eQt,5);}function gyt(t,e,n,i){var r,a;for(OIt(),r=0,a=0;a<n;a++)r=idt(rdt(t0(e[a],qVt),t0(i,qVt)),t0(dG(r),qVt)),t[a]=dG(r),r=vq(r,32);return dG(r)}function pyt(t,n,i){var r,a;for(a=0,r=0;r<Zie;r++)a=e.Math.max(a,wlt(t.a[n.g][r],i));return n==(Pet(),Uie)&&t.b&&(a=e.Math.max(a,t.b.b)),a}function byt(t,e){var n,i;if(kP(e>0),(e&-e)==e)return CQ(e*zLt(t,31)*4.656612873077393e-10);do{i=(n=zLt(t,31))%e;}while(n-i+(e-1)<0);return CQ(i)}function wyt(t){var e,n,i;return n$(),null!=(i=nie[n=":"+t])?CQ((mW(i),i)):(e=null==(i=eie[n])?ZNt(t):CQ((mW(i),i)),SV(),nie[n]=e,e)}function yyt(t,e,n){MEt(n,"Compound graph preprocessor",1),t.a=new pQ,Dqt(t,e,null),UHt(t,e),tNt(t),uct(e,(uWt(),Fhe),t.a),t.a=null,IK(t.b),zCt(n);}function myt(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;}}function vyt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),Tue)),15).Kc();i.Ob();)eY(t,n=$z(i.Pb(),101),(e=zvt(n))[0],(Srt(),Due),0),eY(t,n,e[1],Pue,1);}function xyt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),Cue)),15).Kc();i.Ob();)eY(t,n=$z(i.Pb(),101),(e=zvt(n))[0],(Srt(),Due),0),eY(t,n,e[1],Pue,1);}function kyt(t){switch(t.g){case 0:return null;case 1:return new Irt;case 2:return new Vm;default:throw Fw(new Rv(r4t+(null!=t.f?t.f:""+t.g)))}}function _yt(t,e,n){var i,r;for(yst(t,e-t.s,n-t.t),r=new Kd(t.n);r.a<r.c.c.length;)nd(i=$z(Q1(r),211),i.e+e-t.s),id(i,i.f+n-t.t);t.s=e,t.t=n;}function Eyt(t){var e,n,i,r;for(n=0,i=new Kd(t.a);i.a<i.c.c.length;)$z(Q1(i),121).d=n++;return r=null,(e=dCt(t)).c.length>1&&(r=lyt(t,e)),r}function Tyt(t){var e;return t.f&&t.f.kh()&&(e=$z(t.f,49),t.f=$z(tht(t,e),82),t.f!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,8,e,t.f))),t.f}function Cyt(t){var e;return t.i&&t.i.kh()&&(e=$z(t.i,49),t.i=$z(tht(t,e),82),t.i!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,7,e,t.i))),t.i}function Syt(t){var e;return t.b&&64&t.b.Db&&(e=t.b,t.b=$z(tht(t,e),18),t.b!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,21,e,t.b))),t.b}function Ayt(t,e){var n,i,r;null==t.d?(++t.e,++t.f):(i=e.Sh(),lNt(t,t.f+1),r=(i&PWt)%t.d.length,!(n=t.d[r])&&(n=t.d[r]=t.uj()),n.Fc(e),++t.f);}function Myt(t,e,n){var i;return !e.Kj()&&(-2!=e.Zj()?null==(i=e.zj())?null==n:Dht(i,n):e.Hj()==t.e.Tg()&&null==n)}function Iyt(){var t;hit(16,AXt),t=Zit(16),this.b=D8(Ute,SXt,317,t,0,1),this.c=D8(Ute,SXt,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0;}function Oyt(t){OR.call(this),this.k=(oCt(),Cse),this.j=(hit(6,IXt),new V6(6)),this.b=(hit(2,IXt),new V6(2)),this.d=new um,this.f=new fm,this.a=t;}function Lyt(t){var e,n;t.c.length<=1||(gSt(t,$z((e=kBt(t,(vKt(),EMe))).a,19).a,$z(e.b,19).a),gSt(t,$z((n=kBt(t,CMe)).a,19).a,$z(n.b,19).a));}function Dyt(){Dyt=I,yye=new jS("SIMPLE",0),pye=new jS(F1t,1),bye=new jS("LINEAR_SEGMENTS",2),gye=new jS("BRANDES_KOEPF",3),wye=new jS(x3t,4);}function Nyt(t,e,n){Oj($z(yTt(e,(zYt(),twe)),98))||(K9(t,e,PCt(e,n)),K9(t,e,PCt(e,(vKt(),EMe))),K9(t,e,PCt(e,sMe)),EV(),wL(e.j,new Rp(t)));}function Pyt(t,e,n,i){var r;for(r=$z(c6(i?t.a:t.b,e),21).Kc();r.Ob();)if(jBt(t,n,$z(r.Pb(),33)))return !0;return !1}function Byt(t){var e,n;for(n=new MD(t);n.e!=n.i.gc();)if((e=$z(vwt(n),87)).e||0!=(!e.d&&(e.d=new ID(KOe,e,1)),e.d).i)return !0;return !1}function Ryt(t){var e,n;for(n=new MD(t);n.e!=n.i.gc();)if((e=$z(vwt(n),87)).e||0!=(!e.d&&(e.d=new ID(KOe,e,1)),e.d).i)return !0;return !1}function jyt(t){var e,n;for(e=0,n=new Kd(t.c.a);n.a<n.c.c.length;)e+=j3(new oq(ZD(hdt($z(Q1(n),10)).a.Kc(),new l)));return e/t.c.a.c.length}function $yt(t){var e,n;for(t.c||GUt(t),n=new mm,Q1(e=new Kd(t.a));e.a<e.c.c.length;)NH(n,$z(Q1(e),407).a);return TP(0!=n.b),Iet(n,n.c.b),n}function Fyt(){Fyt=I,fRt(),zEe=PEe,$Ee=new KO(8),new qO((cWt(),qCe),$Ee),new qO(OSe,8),FEe=DEe,REe=_Ee,jEe=EEe,BEe=new qO(lCe,(cN(),!1));}function zyt(t,e,n,i){switch(e){case 7:return !t.e&&(t.e=new cj(BIe,t,7,4)),t.e;case 8:return !t.d&&(t.d=new cj(BIe,t,8,5)),t.d}return Bdt(t,e,n,i)}function Hyt(t){var e;return t.a&&t.a.kh()&&(e=$z(t.a,49),t.a=$z(tht(t,e),138),t.a!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,5,e,t.a))),t.a}function Uyt(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 Gyt(t,e){if(null==t)throw Fw(new Fv("null key in entry: null="+e));if(null==e)throw Fw(new Fv("null value in entry: "+t+"=null"))}function qyt(t,e){for(var n,i;t.Ob();){if(!e.Ob())return !1;if(n=t.Pb(),i=e.Pb(),!(HM(n)===HM(i)||null!=n&&Dht(n,i)))return !1}return !e.Ob()}function Kyt(t,n){var i;return i=Cst(Hx(LNe,1),HVt,25,15,[wlt(t.a[0],n),wlt(t.a[1],n),wlt(t.a[2],n)]),t.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function Yyt(t,n){var i;return i=Cst(Hx(LNe,1),HVt,25,15,[ylt(t.a[0],n),ylt(t.a[1],n),ylt(t.a[2],n)]),t.d&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function Wyt(){Wyt=I,yle=new ES("GREEDY",0),wle=new ES(z1t,1),vle=new ES(F1t,2),xle=new ES("MODEL_ORDER",3),mle=new ES("GREEDY_MODEL_ORDER",4);}function Xyt(t,e){var n,i,r;for(t.b[e.g]=1,i=cwt(e.d,0);i.b!=i.d.c;)r=(n=$z(h3(i),188)).c,1==t.b[r.g]?NH(t.a,n):2==t.b[r.g]?t.b[r.g]=1:Xyt(t,r);}function Vyt(t,e){var n,i,r;for(r=new V6(e.gc()),i=e.Kc();i.Ob();)(n=$z(i.Pb(),286)).c==n.f?uSt(t,n,n.c):iSt(t,n)||(r.c[r.c.length]=n);return r}function Zyt(t,e,n){var i,r,a,o;for(o=t.r+e,t.r+=e,t.d+=n,i=n/t.n.c.length,r=0,a=new Kd(t.n);a.a<a.c.c.length;)dLt($z(Q1(a),211),o,i,r),++r;}function Qyt(t){var e,n;for(wv(t.b.a),t.a=D8(hie,zWt,57,t.c.c.a.b.c.length,0,1),e=0,n=new Kd(t.c.c.a.b);n.a<n.c.c.length;)$z(Q1(n),57).f=e++;}function Jyt(t){var e,n;for(wv(t.b.a),t.a=D8(Woe,zWt,81,t.c.a.a.b.c.length,0,1),e=0,n=new Kd(t.c.a.a.b);n.a<n.c.c.length;)$z(Q1(n),81).i=e++;}function tmt(t,e,n){MEt(n,"Shrinking tree compaction",1),zv(kB(yTt(e,(Kat(),Wre))))?(nrt(t,e.f),att(e.f,e.c)):att(e.f,e.c),zCt(n);}function emt(t){var e;if(e=flt(t),!gOt(t))throw Fw(new Mv("position (0) must be less than the number of elements that remained ("+e+")"));return G5(t)}function nmt(t,e,n){try{return wmt(t,e+t.j,n+t.k)}catch(t){throw iD(t=hst(t),73)?Fw(new Mv(t.g+SQt+e+$Wt+n+").")):Fw(t)}}function imt(t,e,n){try{return ymt(t,e+t.j,n+t.k)}catch(t){throw iD(t=hst(t),73)?Fw(new Mv(t.g+SQt+e+$Wt+n+").")):Fw(t)}}function rmt(t,e,n){try{return mmt(t,e+t.j,n+t.k)}catch(t){throw iD(t=hst(t),73)?Fw(new Mv(t.g+SQt+e+$Wt+n+").")):Fw(t)}}function amt(t){switch(t.g){case 1:return vKt(),CMe;case 4:return vKt(),sMe;case 3:return vKt(),oMe;case 2:return vKt(),EMe;default:return vKt(),TMe}}function omt(t,e,n){e.k==(oCt(),Cse)&&n.k==Tse&&(t.d=kht(e,(vKt(),EMe)),t.b=kht(e,sMe)),n.k==Cse&&e.k==Tse&&(t.d=kht(n,(vKt(),sMe)),t.b=kht(n,EMe));}function smt(t,e){var n,i;for(i=adt(t,e).Kc();i.Ob();)if(null!=yTt(n=$z(i.Pb(),11),(uWt(),xfe))||UN(new w6(n.b)))return !0;return !1}function cmt(t,n){return Cnt(n,t.e+t.d+(0==t.c.c.length?0:t.b)),Snt(n,t.f),t.a=e.Math.max(t.a,n.f),t.d+=n.g+(0==t.c.c.length?0:t.b),Kz(t.c,n),!0}function umt(t,e,n){var i,r,a,o;for(o=0,i=n/t.a.c.length,a=new Kd(t.a);a.a<a.c.c.length;)_yt(r=$z(Q1(a),187),r.s,r.t+o*i),Zyt(r,t.d-r.r+e,i),++o;}function lmt(t){var e,n,i;for(n=new Kd(t.b);n.a<n.c.c.length;)for(e=0,i=new Kd($z(Q1(n),29).a);i.a<i.c.c.length;)$z(Q1(i),10).p=e++;}function hmt(t,e){var n,i,r,a,o,s;for(r=e.length-1,o=0,s=0,i=0;i<=r;i++)a=e[i],n=bCt(r,i)*eht(1-t,r-i)*eht(t,i),o+=a.a*n,s+=a.b*n;return new DA(o,s)}function fmt(t,e){var n,i,r,a,o;for(n=e.gc(),t.qi(t.i+n),a=e.Kc(),o=t.i,t.i+=n,i=o;i<t.i;++i)r=a.Pb(),vD(t,i,t.oi(i,r)),t.bi(i,r),t.ci();return 0!=n}function dmt(t,e,n){var i,r,a;return t.ej()?(i=t.Vi(),a=t.fj(),++t.j,t.Hi(i,t.oi(i,e)),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):ZB(t,t.Vi(),e),n}function gmt(t,e,n){var i,r,a;return (64&(a=iD(r=(i=$z(Yet(r4(t.a),e),87)).c,88)?$z(r,26):(pWt(),fLe)).Db?tht(t.b,a):a)==n?hFt(i):rnt(i,n),a}function pmt(t,e,n,i,r,a,o,s){var c,u;i&&((c=i.a[0])&&pmt(t,e,n,c,r,a,o),Avt(t,n,i.d,r,a,o)&&e.Fc(i),(u=i.a[1])&&pmt(t,e,n,u,r,a,o));}function bmt(t,e){var n;return t.a||(n=D8(LNe,HVt,25,0,15,1),g_(t.b.a,new hg(n)),n.sort(nnt(E.prototype.te,E,[])),t.a=new Rj(n,t.d)),B6(t.a,e)}function wmt(t,e,n){try{return WM(trt(t,e,n),1)}catch(i){throw iD(i=hst(i),320)?Fw(new Mv(EQt+t.o+"*"+t.p+TQt+e+$Wt+n+CQt)):Fw(i)}}function ymt(t,e,n){try{return WM(trt(t,e,n),0)}catch(i){throw iD(i=hst(i),320)?Fw(new Mv(EQt+t.o+"*"+t.p+TQt+e+$Wt+n+CQt)):Fw(i)}}function mmt(t,e,n){try{return WM(trt(t,e,n),2)}catch(i){throw iD(i=hst(i),320)?Fw(new Mv(EQt+t.o+"*"+t.p+TQt+e+$Wt+n+CQt)):Fw(i)}}function vmt(t,e){if(-1==t.g)throw Fw(new dy);t.mj();try{t.d._c(t.g,e),t.f=t.d.j;}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}}function xmt(t,e,n){MEt(n,"Linear segments node placement",1),t.b=$z(yTt(e,(uWt(),Mfe)),304),WYt(t,e),wHt(t,e),XHt(t,e),uYt(t),t.a=null,t.b=null,zCt(n);}function kmt(t,e){var n,i,r,a;for(a=t.gc(),e.length<a&&(e=zx(new Array(a),e)),r=e,i=t.Kc(),n=0;n<a;++n)IY(r,n,i.Pb());return e.length>a&&IY(e,a,null),e}function _mt(t,e){var n,i;if(i=t.gc(),null==e){for(n=0;n<i;n++)if(null==t.Xb(n))return n}else for(n=0;n<i;n++)if(Dht(e,t.Xb(n)))return n;return -1}function Emt(t,e){var n,i,r;return n=e.cd(),r=e.dd(),i=t.xc(n),!(!(HM(r)===HM(i)||null!=r&&Dht(r,i))||null==i&&!t._b(n))}function Tmt(t,e){var n,i,r;return e<=22?(n=t.l&(1<<e)-1,i=r=0):e<=44?(n=t.l,i=t.m&(1<<e-22)-1,r=0):(n=t.l,i=t.m,r=t.h&(1<<e-44)-1),_L(n,i,r)}function Cmt(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}function Smt(t,e){var n,i;switch(i=e.c,n=e.a,t.b.g){case 0:n.d=t.e-i.a-i.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-i.a-i.d;break;case 3:n.c=t.e+i.d;}}function Amt(t,e,n,i){var r,a;this.a=e,this.c=i,If(this,new DA(-(r=t.a).c,-r.d)),GR(this.b,n),a=i/2,e.a?$P(this.b,0,a):$P(this.b,a,0),Kz(t.c,this);}function Mmt(){Mmt=I,zke=new wA(XJt,0),$ke=new wA(H1t,1),Fke=new wA("EDGE_LENGTH_BY_POSITION",2),jke=new wA("CROSSING_MINIMIZATION_BY_POSITION",3);}function Imt(t,e){var n,i;if(n=$z(cnt(t.g,e),33))return n;if(i=$z(cnt(t.j,e),118))return i;throw Fw(new tx("Referenced shape does not exist: "+e))}function Omt(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw Fw(new Rv("Node 'one' must be either source or target of edge 'edge'."))}function Lmt(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw Fw(new Rv("Node "+e+" is neither source nor target of edge "+t))}function Dmt(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),hK(t,e,(Mst(),mue),n);break;case 1:case 3:hK(t,e,(Mst(),bue),null);}}function Nmt(t,e,n,i,r,a){var o,s,c,u,l;for(o=nkt(e,n,a),s=n==(vKt(),sMe)||n==CMe?-1:1,u=t[n.g],l=0;l<u.length;l++)(c=u[l])>0&&(c+=r),u[l]=o,o+=s*(c+i);}function Pmt(t){var e,n,i;for(i=t.f,t.n=D8(LNe,HVt,25,i,15,1),t.d=D8(LNe,HVt,25,i,15,1),e=0;e<i;e++)n=$z(DU(t.c.b,e),29),t.n[e]=dwt(t,n),t.d[e]=WDt(t,n);}function Bmt(t,e){var n,i,r;for(r=0,i=2;i<e;i<<=1)t.Db&i&&++r;if(0==r){for(n=e<<=1;n<=128;n<<=1)if(t.Db&n)return 0;return -1}return r}function Rmt(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),a=null,n=$z(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&(!a&&(a=new bc),u7(a,i));a&&aYt(t,a);}function jmt(t){var e,n;if(!t)return null;if(t.dc())return "";for(n=new Ex,e=t.Kc();e.Ob();)iI(n,EB(e.Pb())),n.a+=" ";return BI(n,n.a.length-1)}function $mt(t,e,n){var i,r,a,o;for(rct(t),null==t.k&&(t.k=D8(Zte,cXt,78,0,0,1)),r=0,a=(i=t.k).length;r<a;++r)$mt(i[r]);(o=t.f)&&$mt(o);}function Fmt(t,e){var n,i=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return i}for(var r=0;r<e;++r)i[r]=n;return i}function zmt(t){var e;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Q1(e),57).c.$b();Met(dO(t.d)?t.a.c:t.a.d,new _g(t)),t.c.Me(t),jPt(t);}function Hmt(t){var e,n,i;for(n=new Kd(t.e.c);n.a<n.c.c.length;){for(i=new Kd((e=$z(Q1(n),282)).b);i.a<i.c.c.length;)jzt($z(Q1(i),447));FAt(e);}}function Umt(t){var n,i,r,a,o;for(r=0,o=0,a=0,i=new Kd(t.a);i.a<i.c.c.length;)n=$z(Q1(i),187),o=e.Math.max(o,n.r),r+=n.d+(a>0?t.c:0),++a;t.b=r,t.d=o;}function Gmt(t,n){var i,r,a,o,s;for(r=0,a=0,i=0,s=new Kd(n);s.a<s.c.c.length;)o=$z(Q1(s),200),r=e.Math.max(r,o.e),a+=o.b+(i>0?t.g:0),++i;t.c=a,t.d=r;}function qmt(t,n){var i;return i=Cst(Hx(LNe,1),HVt,25,15,[pyt(t,(Pet(),Hie),n),pyt(t,Uie,n),pyt(t,Gie,n)]),t.f&&(i[0]=e.Math.max(i[0],i[2]),i[2]=i[0]),i}function Kmt(t,e,n){try{$Rt(t,e+t.j,n+t.k,!1,!0);}catch(t){throw iD(t=hst(t),73)?Fw(new Mv(t.g+SQt+e+$Wt+n+").")):Fw(t)}}function Ymt(t,e,n){try{$Rt(t,e+t.j,n+t.k,!0,!1);}catch(t){throw iD(t=hst(t),73)?Fw(new Mv(t.g+SQt+e+$Wt+n+").")):Fw(t)}}function Wmt(t){var e;OP(t,(zYt(),Ibe))&&((e=$z(yTt(t,Ibe),21)).Hc((JOt(),SAe))?(e.Mc(SAe),e.Fc(MAe)):e.Hc(MAe)&&(e.Mc(MAe),e.Fc(SAe)));}function Xmt(t){var e;OP(t,(zYt(),Ibe))&&((e=$z(yTt(t,Ibe),21)).Hc((JOt(),NAe))?(e.Mc(NAe),e.Fc(LAe)):e.Hc(LAe)&&(e.Mc(LAe),e.Fc(NAe)));}function Vmt(t,e,n){MEt(n,"Self-Loop ordering",1),VE(IX(MX(MX(ftt(new PU(null,new f1(e.b,16)),new Mi),new Ii),new Oi),new Li),new hp(t)),zCt(n);}function Zmt(t,e,n,i){var r,a;for(r=e;r<t.c.length;r++){if(l1(r,t.c.length),a=$z(t.c[r],11),!n.Mb(a))return r;i.c[i.c.length]=a;}return t.c.length}function Qmt(t,e,n,i){var r,a,o;return null==t.a&&gCt(t,e),o=e.b.j.c.length,a=n.d.p,(r=i.d.p-1)<0&&(r=o-1),a<=r?t.a[r]-t.a[a]:t.a[o-1]-t.a[a]+t.a[r]}function Jmt(t){var e,n;if(!t.b)for(t.b=C2($z(t.f,33).Ag().i),n=new MD($z(t.f,33).Ag());n.e!=n.i.gc();)e=$z(vwt(n),137),Kz(t.b,new Pv(e));return t.b}function tvt(t){var e,n;if(!t.e)for(t.e=C2(yX($z(t.f,33)).i),n=new MD(yX($z(t.f,33)));n.e!=n.i.gc();)e=$z(vwt(n),118),Kz(t.e,new ow(e));return t.e}function evt(t){var e,n;if(!t.a)for(t.a=C2(XV($z(t.f,33)).i),n=new MD(XV($z(t.f,33)));n.e!=n.i.gc();)e=$z(vwt(n),33),Kz(t.a,new VN(t,e));return t.a}function nvt(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=fqt(t))t.yk(e);else try{t.yk(null);}catch(t){if(!iD(t=hst(t),60))throw Fw(t)}return t.C}function ivt(t){switch(t.q.g){case 5:vkt(t,(vKt(),sMe)),vkt(t,EMe);break;case 4:rGt(t,(vKt(),sMe)),rGt(t,EMe);break;default:$St(t,(vKt(),sMe)),$St(t,EMe);}}function rvt(t){switch(t.q.g){case 5:xkt(t,(vKt(),oMe)),xkt(t,CMe);break;case 4:aGt(t,(vKt(),oMe)),aGt(t,CMe);break;default:FSt(t,(vKt(),oMe)),FSt(t,CMe);}}function avt(t,n){var i,r,a;for(a=new Hk,r=t.Kc();r.Ob();)QRt(i=$z(r.Pb(),37),a.a,0),a.a+=i.f.a+n,a.b=e.Math.max(a.b,i.f.b);return a.b>0&&(a.b+=n),a}function ovt(t,n){var i,r,a;for(a=new Hk,r=t.Kc();r.Ob();)QRt(i=$z(r.Pb(),37),0,a.b),a.b+=i.f.b+n,a.a=e.Math.max(a.a,i.f.a);return a.a>0&&(a.a+=n),a}function svt(t){var n,i,r;for(r=PWt,i=new Kd(t.a);i.a<i.c.c.length;)OP(n=$z(Q1(i),10),(uWt(),ffe))&&(r=e.Math.min(r,$z(yTt(n,ffe),19).a));return r}function cvt(t,e){var n,i;if(0==e.length)return 0;for(n=ZY(t.a,e[0],(vKt(),CMe)),n+=ZY(t.a,e[e.length-1],oMe),i=0;i<e.length;i++)n+=HTt(t,i,e);return n}function uvt(){pPt(),this.c=new Lw,this.i=new Lw,this.e=new uO,this.f=new uO,this.g=new uO,this.j=new Lw,this.a=new Lw,this.b=new Dw,this.k=new Dw;}function lvt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,5,zIe,e):(n=Syt($z(eet($z(mot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hvt(t){TZ();var e=t.e;if(e&&e.stack){var n=e.stack,i=e+"\n";return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split("\n")}return []}function fvt(t){var e;return Eit(),(e=Mee)[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}function dvt(t){var n,i,r;t.b==t.c&&(r=t.a.length,i=vct(e.Math.max(8,r))<<1,0!=t.b?(ort(t,n=ER(t.a,i),r),t.a=n,t.b=0):Ty(t.a,i),t.c=r);}function gvt(t,e){var n;return (n=t.b).Xe((cWt(),rSe))?n.Hf()==(vKt(),CMe)?-n.rf().a-Hv(_B(n.We(rSe))):e+Hv(_B(n.We(rSe))):n.Hf()==(vKt(),CMe)?-n.rf().a:e}function pvt(t){var e;return 0!=t.b.c.length&&$z(DU(t.b,0),70).a?$z(DU(t.b,0),70).a:null!=(e=tV(t))?e:""+(t.c?x9(t.c.a,t,0):-1)}function bvt(t){var e;return 0!=t.f.c.length&&$z(DU(t.f,0),70).a?$z(DU(t.f,0),70).a:null!=(e=tV(t))?e:""+(t.i?x9(t.i.j,t,0):-1)}function wvt(t,e){var n,i;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(i=$z(t.Xb(n),128),n==t.gc()-1||!i.o)return new nM(nft(n),i);return null}function yvt(t,e,n){var i,r,a,o;for(a=t.c,i=n?t:e,r=(n?e:t).p+1;r<i.p;++r)if((o=$z(DU(a.a,r),10)).k!=(oCt(),kse)&&!Lxt(o))return !1;return !0}function mvt(t){var n,i,r,a,o;for(o=0,a=RVt,r=0,i=new Kd(t.a);i.a<i.c.c.length;)o+=(n=$z(Q1(i),187)).r+(r>0?t.c:0),a=e.Math.max(a,n.d),++r;t.e=o,t.b=a;}function vvt(t){var e,n;if(!t.b)for(t.b=C2($z(t.f,118).Ag().i),n=new MD($z(t.f,118).Ag());n.e!=n.i.gc();)e=$z(vwt(n),137),Kz(t.b,new Pv(e));return t.b}function xvt(t,e){var n,i,r;if(e.dc())return dB(),dB(),gOe;for(n=new rR(t,e.gc()),r=new MD(t);r.e!=r.i.gc();)i=vwt(r),e.Hc(i)&&u7(n,i);return n}function kvt(t,e,n,i){return 0==e?i?(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),t.o):(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),M8(t.o)):Qwt(t,e,n,i)}function _vt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)bP(Yet(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)bP(Yet(t.vb,e));rq((ASt(),VLe),t),t.Bb|=1;}function Evt(t,e,n,i,r,a,o,s,c,u,l,h,f,d){return fAt(t,e,i,null,r,a,o,s,c,u,f,!0,d),Gft(t,l),iD(t.Cb,88)&&IAt(T5($z(t.Cb,88)),2),n&&irt(t,n),qft(t,h),t}function Tvt(t){var e;if(null==t)return null;e=0;try{e=h$t(t,jXt,PWt)&XXt;}catch(n){if(!iD(n=hst(n),127))throw Fw(n);e=Y9(t)[0];}return lst(e)}function Cvt(t){var e;if(null==t)return null;e=0;try{e=h$t(t,jXt,PWt)&XXt;}catch(n){if(!iD(n=hst(n),127))throw Fw(n);e=Y9(t)[0];}return lst(e)}function Svt(t,e){var n,i,r;return !((r=t.h-e.h)<0||(n=t.l-e.l,(r+=(i=t.m-e.m+(n>>22))>>22)<0||(t.l=n&TVt,t.m=i&TVt,t.h=r&CVt,0)))}function Avt(t,e,n,i,r,a,o){var s,c;return !(e.Ae()&&(c=t.a.ue(n,i),c<0||0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||0==s))}function Mvt(t,e){if(Gut(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return xdt(e,hue)-xdt(t,hue);case 4:return xdt(t,lue)-xdt(e,lue)}return 0}function Ivt(t){switch(t.g){case 0:return Dle;case 1:return Nle;case 2:return Ple;case 3:return Ble;case 4:return Rle;case 5:return jle;default:return null}}function Ovt(t,e,n){var i,r;return Alt(r=new Om,e),Drt(r,n),u7((!t.c&&(t.c=new tK(WOe,t,12,10)),t.c),r),Lnt(i=r,0),Dnt(i,1),Jht(i,!0),Vht(i,!0),i}function Lvt(t,e){var n,i;if(e>=t.i)throw Fw(new OI(e,t.i));return ++t.j,n=t.g[e],(i=t.i-e-1)>0&&aHt(t.g,e+1,t.g,e,i),IY(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Dvt(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,FOe,e):(n=Syt($z(eet($z(mot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Nvt(t){var e,n,i;for(EV(),wL(t.c,t.a),i=new Kd(t.c);i.a<i.c.c.length;)for(n=Q1(i),e=new Kd(t.b);e.a<e.c.c.length;)$z(Q1(e),679).Ke(n);}function Pvt(t){var e,n,i;for(EV(),wL(t.c,t.a),i=new Kd(t.c);i.a<i.c.c.length;)for(n=Q1(i),e=new Kd(t.b);e.a<e.c.c.length;)$z(Q1(e),369).Ke(n);}function Bvt(t){var e,n,i,r,a;for(r=PWt,a=null,i=new Kd(t.d);i.a<i.c.c.length;)(n=$z(Q1(i),213)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<r&&(r=e,a=n);return a}function Rvt(){Rvt=I,doe=new II(DJt,(cN(),!1)),uoe=new II(NJt,100),z9(),loe=new II(PJt,hoe=Aoe),foe=new II(BJt,hJt),goe=new II(RJt,nft(PWt));}function jvt(t,e,n){var i,r,a,o,s,c;for(c=0,r=0,a=(i=t.a[e]).length;r<a;++r)for(s=Lht(i[r],n).Kc();s.Ob();)o=$z(s.Pb(),11),YW(t.f,o,nft(c++));}function $vt(t,e,n){var i,r;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);r.Ob();)ZMt(t,e,vMt(dtt(n,$z(r.Pb(),19).a)));}function Fvt(t,e,n){var i,r;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);r.Ob();)ZMt(t,e,vMt(dtt(n,$z(r.Pb(),19).a)));}function zvt(t){var e;return jTt(),U7(e=$z(kmt(gq(t.k),D8(jMe,VJt,61,2,0,1)),122),0,e.length,null),e[0]==(vKt(),sMe)&&e[1]==CMe&&(IY(e,0,CMe),IY(e,1,sMe)),e}function Hvt(t,e,n){var i,r,a;return a=cBt(t,r=KNt(t,e,n)),B7(t.b),m0(t,e,n),EV(),wL(r,new Yp(t)),i=cBt(t,r),B7(t.b),m0(t,n,e),new nM(nft(a),nft(i))}function Uvt(){Uvt=I,Gme=dU(new $2,(mTt(),$oe),(hWt(),dce)),qme=new eR("linearSegments.inputPrio",nft(0)),Kme=new eR("linearSegments.outputPrio",nft(0));}function Gvt(){Gvt=I,Pve=new uA("P1_TREEIFICATION",0),Bve=new uA("P2_NODE_ORDERING",1),Rve=new uA("P3_NODE_PLACEMENT",2),jve=new uA("P4_EDGE_ROUTING",3);}function qvt(){qvt=I,cWt(),Dke=gSe,Bke=OSe,Cke=BCe,Ske=$Ce,Ake=zCe,Tke=NCe,Mke=GCe,Lke=uSe,ROt(),_ke=fke,Eke=dke,Ike=pke,Oke=wke,Nke=yke,Pke=mke,Rke=xke;}function Kvt(){Kvt=I,_Ae=new zA("UNKNOWN",0),vAe=new zA("ABOVE",1),xAe=new zA("BELOW",2),kAe=new zA("INLINE",3),new eR("org.eclipse.elk.labelSide",_Ae);}function Yvt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Dht(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(HM(t.g[n])===HM(e))return n;return -1}function Wvt(t,e,n){var i,r;return e.c==(ait(),zye)&&n.c==Fye?-1:e.c==Fye&&n.c==zye?1:(i=glt(e.a,t.a),r=glt(n.a,t.a),e.c==zye?r-i:i-r)}function Xvt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw Fw(new Rv("index must be >= 0 and <= layer node count"));t.c&&y9(t.c.a,t),t.c=n,n&&mG(n.a,e,t);}function Vvt(t,e){var n,i,r;for(i=new oq(ZD(udt(t).a.Kc(),new l));gOt(i);)return n=$z(G5(i),17),new Fh(yY((r=$z(e.Kb(n),10)).n.b+r.o.b/2));return ev(),ev(),Mte}function Zvt(t,e){this.c=new Dw,this.a=t,this.b=e,this.d=$z(yTt(t,(uWt(),Mfe)),304),HM(yTt(t,(zYt(),Obe)))===HM((g9(),zle))?this.e=new gm:this.e=new dm;}function Qvt(t,n){var i,r,a;for(a=0,r=new Kd(t);r.a<r.c.c.length;)i=$z(Q1(r),33),a+=e.Math.pow(i.g*i.f-n,2);return e.Math.sqrt(a/(t.c.length-1))}function Jvt(t,e){var n,i;return i=null,t.Xe((cWt(),CSe))&&(n=$z(t.We(CSe),94)).Xe(e)&&(i=n.We(e)),null==i&&t.yf()&&(i=t.yf().We(e)),null==i&&(i=ywt(e)),i}function txt(t,e){var n,i;n=t.Zc(e);try{return i=n.Pb(),n.Qb(),i}catch(t){throw iD(t=hst(t),109)?Fw(new Mv("Can't remove element "+e)):Fw(t)}}function ext(t,e){var n,i,r;if(0==(n=Pzt(t,e,r=new wct((i=new ME).q.getFullYear()-cVt,i.q.getMonth(),i.q.getDate())))||n<e.length)throw Fw(new Rv(e));return r}function nxt(t,e){var n,i,r;for(mW(e),kP(e!=t),r=t.b.c.length,i=e.Kc();i.Ob();)n=i.Pb(),Kz(t.b,mW(n));return r!=t.b.c.length&&(kut(t,0),!0)}function ixt(){ixt=I,cWt(),moe=CCe,new qO(dCe,(cN(),!0)),koe=BCe,_oe=$Ce,Eoe=zCe,xoe=NCe,Toe=GCe,Coe=uSe,Rvt(),yoe=doe,boe=loe,woe=foe,voe=goe,poe=uoe;}function rxt(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw Fw(new Rv("'port' must be either the source port or target port of the edge."))}function axt(t,e,n){var i,r;switch(r=t.o,i=t.d,e.g){case 1:return -i.d-n;case 3:return r.b+i.a+n;case 2:return r.a+i.c+n;case 4:return -i.b-n;default:return 0}}function oxt(t,e,n,i){var r,a,o;for(TJ(e,$z(i.Xb(0),29)),o=i.bd(1,i.gc()),a=$z(n.Kb(e),20).Kc();a.Ob();)oxt(t,(r=$z(a.Pb(),17)).c.i==e?r.d.i:r.c.i,n,o);}function sxt(t){var e;return e=new Dw,OP(t,(uWt(),Nfe))?$z(yTt(t,Nfe),83):(VE(MX(new PU(null,new f1(t.j,16)),new er),new gp(e)),uct(t,Nfe,e),e)}function cxt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,6,BIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),yIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function uxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,DIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),vIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function lxt(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),kIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hxt(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,GOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),oLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fxt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,jIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),JOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,zIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),pLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function gxt(){this.a=new dc,this.g=new Iyt,this.j=new Iyt,this.b=new Dw,this.d=new Iyt,this.i=new Iyt,this.k=new Dw,this.c=new Dw,this.e=new Dw,this.f=new Dw;}function pxt(t,e,n){var i,r,a;for(n<0&&(n=0),a=t.i,r=n;r<a;r++)if(i=Yet(t,r),null==e){if(null==i)return r}else if(HM(e)===HM(i)||Dht(e,i))return r;return -1}function bxt(t,e){var n,i;return (n=e.Hh(t.a))?(i=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),x9t)),wj(k9t,i)?rq(t,qet(e.Hj())):i):null}function wxt(t,e){var n,i;if(e){if(e==t)return !0;for(n=0,i=$z(e,49).eh();i&&i!=e;i=i.eh()){if(++n>UVt)return wxt(t,i);if(i==t)return !0}}return !1}function yxt(t){switch(NN(),t.q.g){case 5:wMt(t,(vKt(),sMe)),wMt(t,EMe);break;case 4:GLt(t,(vKt(),sMe)),GLt(t,EMe);break;default:wKt(t,(vKt(),sMe)),wKt(t,EMe);}}function mxt(t){switch(NN(),t.q.g){case 5:TIt(t,(vKt(),oMe)),TIt(t,CMe);break;case 4:Swt(t,(vKt(),oMe)),Swt(t,CMe);break;default:yKt(t,(vKt(),oMe)),yKt(t,CMe);}}function vxt(t){var e,n;(e=$z(yTt(t,(lRt(),Qae)),19))?(n=e.a,uct(t,(Ert(),coe),0==n?new cdt:new C4(n))):uct(t,(Ert(),coe),new C4(1));}function xxt(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}function kxt(t,e){switch(t.g){case 0:return e==(_dt(),jfe)?nue:iue;case 1:return e==(_dt(),jfe)?nue:eue;case 2:return e==(_dt(),jfe)?eue:iue;default:return eue}}function _xt(t,n){var i,r,a;for(y9(t.a,n),t.e-=n.r+(0==t.a.c.length?0:t.c),a=J3t,r=new Kd(t.a);r.a<r.c.c.length;)i=$z(Q1(r),187),a=e.Math.max(a,i.d);t.b=a;}function Ext(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,12,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),wIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Txt(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,UIe,e):(n=Syt($z(eet($z(mot(t,16),26)||(SYt(),xIe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Cxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,FOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),dLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Sxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,YOe,e):(n=Syt($z(eet($z(mot(t,16),26)||(pWt(),bLe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Axt(t){var e;return 1&t.Bb||!t.r||!t.r.kh()||(e=$z(t.r,49),t.r=$z(tht(t,e),138),t.r!=e&&4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,8,e,t.r))),t.r}function Mxt(t,n,i){var r;return r=Cst(Hx(LNe,1),HVt,25,15,[nTt(t,(Pet(),Hie),n,i),nTt(t,Uie,n,i),nTt(t,Gie,n,i)]),t.f&&(r[0]=e.Math.max(r[0],r[2]),r[2]=r[0]),r}function Ixt(t,e){var n,i,r;if(0!=(r=Vyt(t,e)).c.length)for(wL(r,new ei),n=r.c.length,i=0;i<n;i++)uSt(t,(l1(i,r.c.length),$z(r.c[i],286)),_Bt(t,r,i));}function Oxt(t){var e,n,i;for(i=$z(c6(t.a,(L_t(),kue)),15).Kc();i.Ob();)for(e=gq((n=$z(i.Pb(),101)).k).Kc();e.Ob();)eY(t,n,$z(e.Pb(),61),(Srt(),Nue),1);}function Lxt(t){var e,n;if(t.k==(oCt(),Tse))for(n=new oq(ZD(udt(t).a.Kc(),new l));gOt(n);)if(!h5(e=$z(G5(n),17))&&t.c==Ikt(e,t).c)return !0;return !1}function Dxt(t){var e,n;if(t.k==(oCt(),Tse))for(n=new oq(ZD(udt(t).a.Kc(),new l));gOt(n);)if(!h5(e=$z(G5(n),17))&&e.c.i.c==e.d.i.c)return !0;return !1}function Nxt(t,e){var n,i;for(MEt(e,"Dull edge routing",1),i=cwt(t.b,0);i.b!=i.d.c;)for(n=cwt($z(h3(i),86).d,0);n.b!=n.d.c;)yV($z(h3(n),188).a);}function Pxt(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kNe):new qD(n);r.Ob();)(i=D2(e,$z(r.Pb(),19).a))&&MLt(t,i);}function Bxt(){var t;for(JT(),JYt((WY(),QOe)),jYt(QOe),_vt(QOe),pWt(),ILe=uLe,t=new Kd(KLe);t.a<t.c.c.length;)aqt($z(Q1(t),241),uLe,null);return !0}function Rxt(t,e){var n,i,r,a,o,s;return (o=t.h>>19)!=(s=e.h>>19)?s-o:(i=t.h)!=(a=e.h)?i-a:(n=t.m)!=(r=e.m)?n-r:t.l-e.l}function jxt(){jxt=I,tRt(),Tie=new II(qZt,Cie=Die),Ptt(),_ie=new II(KZt,Eie=wie),uwt(),xie=new II(YZt,kie=die),vie=new II(WZt,(cN(),!0));}function $xt(t,e,n){var i,r;i=e*n,iD(t.g,145)?(r=u3(t)).f.d?r.f.a||(t.d.a+=i+lQt):(t.d.d-=i+lQt,t.d.a+=i+lQt):iD(t.g,10)&&(t.d.d-=i,t.d.a+=2*i);}function Fxt(t,n,i){var r,a,o,s,c;for(a=t[i.g],c=new Kd(n.d);c.a<c.c.c.length;)(o=(s=$z(Q1(c),101)).i)&&o.i==i&&(a[r=s.d[i.g]]=e.Math.max(a[r],o.j.b));}function zxt(t,n){var i,r,a,o,s;for(r=0,a=0,i=0,s=new Kd(n.d);s.a<s.c.c.length;)Umt(o=$z(Q1(s),443)),r=e.Math.max(r,o.b),a+=o.d+(i>0?t.g:0),++i;n.b=r,n.e=a;}function Hxt(t){var e,n,i;if(i=t.b,zE(t.i,i.length)){for(n=2*i.length,t.b=D8(Ute,SXt,317,n,0,1),t.c=D8(Ute,SXt,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)VAt(t,e,e);++t.g;}}function Uxt(t,e,n,i){var r,a,o,s;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)s=o-e.k+i,wmt(e,r,o)?rmt(t,a,s)||Kmt(t,a,s):mmt(e,r,o)&&(nmt(t,a,s)||Ymt(t,a,s));}function Gxt(t,e,n){var i;(i=e.c.i).k==(oCt(),Tse)?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11))):(uct(t,(uWt(),cfe),e.c),uct(t,ufe,n.d));}function qxt(t,n,i){var r,a,o,s,c,u;return xBt(),s=n/2,o=i/2,c=1,u=1,(r=e.Math.abs(t.a))>s&&(c=s/r),(a=e.Math.abs(t.b))>o&&(u=o/a),mD(t,e.Math.min(c,u)),t}function Kxt(){var t,e;Hzt();try{if(e=$z(Kkt((KT(),HOe),m6t),2014))return e}catch(e){if(!iD(e=hst(e),102))throw Fw(e);t=e,aq((aL(),t));}return new sc}function Yxt(){var t,e;d9();try{if(e=$z(Kkt((KT(),HOe),T9t),2024))return e}catch(e){if(!iD(e=hst(e),102))throw Fw(e);t=e,aq((aL(),t));}return new Bu}function Wxt(){var t,e;Hzt();try{if(e=$z(Kkt((KT(),HOe),W7t),1941))return e}catch(e){if(!iD(e=hst(e),102))throw Fw(e);t=e,aq((aL(),t));}return new Uc}function Xxt(t,e,n){var i,r;return r=t.e,t.e=e,4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,4,r,e),n?n.Ei(i):n=i),r!=e&&(n=aqt(t,e?vDt(t,e):t.a,n)),n}function Vxt(){ME.call(this),this.e=-1,this.a=!1,this.p=jXt,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=jXt;}function Zxt(t,e){var n,i,r;if(i=t.b.d.d,t.a||(i+=t.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return -1;if(!e.a&&t.a)return 1}return n}function Qxt(t,e){var n,i,r;if(i=t.b.b.d,t.a||(i+=t.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return -1;if(!e.a&&t.a)return 1}return n}function Jxt(t,e){var n,i,r;if(i=t.b.g.d,t.a||(i+=t.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),0==(n=Cft(i,r))){if(!t.a&&e.a)return -1;if(!e.a&&t.a)return 1}return n}function tkt(){tkt=I,Loe=KG(dU(dU(dU(new $2,(mTt(),joe),(hWt(),yce)),joe,kce),$oe,Mce),$oe,oce),Noe=dU(dU(new $2,joe,Vse),joe,sce),Doe=KG(new $2,$oe,uce);}function ekt(t){var e,n,i,r,a;for(e=$z(yTt(t,(uWt(),Uhe)),83),a=t.n,i=e.Cc().Kc();i.Ob();)(r=(n=$z(i.Pb(),306)).i).c+=a.a,r.d+=a.b,n.c?DBt(n):NBt(n);uct(t,Uhe,null);}function nkt(t,e,n){var i,r;switch(i=(r=t.b).d,e.g){case 1:return -i.d-n;case 2:return r.o.a+i.c+n;case 3:return r.o.b+i.a+n;case 4:return -i.b-n;default:return -1}}function ikt(t){var e,n,i,r,a;if(i=0,r=QQt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,qjt(t,t.d,0,0,Q3t,n),(a=t.b.ig(t.d))<r&&(i=n,r=a);qjt(t,t.d,0,0,Q3t,i);}function rkt(t,e){var n,i,r,a;for(a=new Dw,e.e=null,e.f=null,i=new Kd(e.i);i.a<i.c.c.length;)n=$z(Q1(i),65),r=$z(PY(t.g,n.a),46),n.a=zq(n.b),YW(a,n.a,r);t.g=a;}function akt(t,e,n){var i,r,a,o,s;for(r=(e-t.e)/t.d.c.length,a=0,s=new Kd(t.d);s.a<s.c.c.length;)o=$z(Q1(s),443),i=t.b-o.b+n,vpt(o,o.e+a*r,o.f),umt(o,r,i),++a;}function okt(t){var e;if(t.f.qj(),-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 skt(t,e){var n,i,r;for(n=OAt(t,0==(r=e.c.length)?"":(l1(0,e.c.length),EB(e.c[0]))),i=1;i<r&&n;++i)n=$z(n,49).oh((l1(i,e.c.length),EB(e.c[i])));return n}function ckt(t,e){var n,i;for(i=new Kd(e);i.a<i.c.c.length;)n=$z(Q1(i),10),t.c[n.c.p][n.p].a=AG(t.i),t.c[n.c.p][n.p].d=Hv(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1;}function ukt(t,n){var i,r,a;for(a=0,r=new Kd(t);r.a<r.c.c.length;)i=$z(Q1(r),157),a+=e.Math.pow(eG(i)*tG(i)-n,2);return e.Math.sqrt(a/(t.c.length-1))}function lkt(t,e,n,i){var r,a,o;return o=DRt(t,a=HRt(t,e,n,i)),lTt(t,e,n,i),B7(t.b),EV(),wL(a,new Wp(t)),r=DRt(t,a),lTt(t,n,e,i),B7(t.b),new nM(nft(o),nft(r))}function hkt(t,e,n){var i;for(MEt(n,"Interactive node placement",1),t.a=$z(yTt(e,(uWt(),Mfe)),304),i=new Kd(e.b);i.a<i.c.c.length;)JPt(t,$z(Q1(i),29));zCt(n);}function fkt(t,e){MEt(e,"General Compactor",1),e.n&&t&&y0(e,o2(t),(Fut(),aIe)),ggt($z(QOt(t,(qvt(),Eke)),380)).hg(t),e.n&&t&&y0(e,o2(t),(Fut(),aIe));}function dkt(t,e,n){var i,r;for(CO(t,t.j+e,t.k+n),r=new MD((!t.a&&(t.a=new ID(LIe,t,5)),t.a));r.e!=r.i.gc();)kO(i=$z(vwt(r),469),i.a+e,i.b+n);TO(t,t.b+e,t.c+n);}function gkt(t,e,n,i){switch(n){case 7:return !t.e&&(t.e=new cj(BIe,t,7,4)),Vgt(t.e,e,i);case 8:return !t.d&&(t.d=new cj(BIe,t,8,5)),Vgt(t.d,e,i)}return $Et(t,e,n,i)}function pkt(t,e,n,i){switch(n){case 7:return !t.e&&(t.e=new cj(BIe,t,7,4)),jwt(t.e,e,i);case 8:return !t.d&&(t.d=new cj(BIe,t,8,5)),jwt(t.d,e,i)}return ist(t,e,n,i)}function bkt(t,e,n){var i,r,a;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);a.Ob();)(r=D2(n,$z(a.Pb(),19).a))&&fMt(t,r,e);}function wkt(t,e,n){var i,r,a;return t.qj(),a=null==e?0:Jct(e),t.f>0&&(r=aIt(t,(a&PWt)%t.d.length,a,e))?r.ed(n):(i=t.tj(a,e,n),t.c.Fc(i),null)}function ykt(t,e){var n,i,r,a;switch(Sht(t,e)._k()){case 3:case 2:for(r=0,a=(n=Vzt(e)).i;r<a;++r)if(5==NW($9(t,i=$z(Yet(n,r),34))))return i}return null}function mkt(t){var e,n,i,r,a;if(zE(t.f,t.b.length))for(i=D8(Xte,SXt,330,2*t.b.length,0,1),t.b=i,r=i.length-1,n=t.a;n!=t;n=n.Rd())e=(a=$z(n,330)).d&r,a.a=i[e],i[e]=a;}function vkt(t,n){var i,r,a,o;for(o=0,a=$z($z(c6(t.r,n),21),84).Kc();a.Ob();)r=$z(a.Pb(),111),o=e.Math.max(o,r.e.a+r.b.rf().a);(i=$z(oX(t.b,n),124)).n.b=0,i.a.a=o;}function xkt(t,n){var i,r,a,o;for(i=0,o=$z($z(c6(t.r,n),21),84).Kc();o.Ob();)a=$z(o.Pb(),111),i=e.Math.max(i,a.e.b+a.b.rf().b);(r=$z(oX(t.b,n),124)).n.d=0,r.a.b=i;}function kkt(t){var e,n;return n=$z(yTt(t,(uWt(),Zhe)),21),e=mO(bve),n.Hc((fBt(),ghe))&&Zat(e,mve),n.Hc(bhe)&&Zat(e,xve),n.Hc(she)&&Zat(e,wve),n.Hc(uhe)&&Zat(e,yve),e}function _kt(t,e){var n;MEt(e,"Delaunay triangulation",1),n=new Lw,Met(t.i,new yb(n)),zv(kB(yTt(t,(Kat(),Wre)))),t.e?$rt(t.e,OYt(n)):t.e=OYt(n),zCt(e);}function Ekt(t){if(t<0)throw Fw(new Rv("The input must be positive"));return t<_Te.length?v2(_Te[t]):e.Math.sqrt(Q3t*t)*(nht(t,t)/eht(2.718281828459045,t))}function Tkt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(Dht(e,t.g[n]))return !0}else for(n=0;n<t.i;++n)if(HM(t.g[n])===HM(e))return !0;return !1}function Ckt(t,e){if(null==e){for(;t.a.Ob();)if(null==$z(t.a.Pb(),42).dd())return !0}else for(;t.a.Ob();)if(Dht(e,$z(t.a.Pb(),42).dd()))return !0;return !1}function Skt(t,e){var n;return e===t||!!iD(e,664)&&(n=$z(e,1947),nbt(t.g||(t.g=new Vh(t)),n.g||(n.g=new Vh(n))))}function Akt(t){var n,i,r;for(n="Sz",i="ez",r=e.Math.min(t.length,5)-1;r>=0;r--)if(wj(t[r].d,n)||wj(t[r].d,i)){t.length>=r+1&&t.splice(0,r+1);break}return t}function Mkt(t,n){var i;return VI(t)&&VI(n)&&OVt<(i=t/n)&&i<MVt?i<0?e.Math.ceil(i):e.Math.floor(i):oot(IUt(VI(t)?Cot(t):t,VI(n)?Cot(n):n,!1))}function Ikt(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw Fw(new Rv("'node' must either be the source node or target node of the edge."))}function Okt(t){var e,n,i,r;if(r=$z(yTt(t,(uWt(),jhe)),37)){for(i=new Hk,e=bW(t.c.i);e!=r;)e=bW(n=e.e),RP(GR(GR(i,n.n),e.c),e.d.b,e.d.d);return i}return jse}function Lkt(t){var e;VE(ftt(new PU(null,new f1((e=$z(yTt(t,(uWt(),Afe)),403)).d,16)),new $i),new fp(t)),VE(MX(new PU(null,new f1(e.d,16)),new Fi),new dp(t));}function Dkt(t,e){var n,i;for(n=new oq(ZD((e?hdt(t):ldt(t)).a.Kc(),new l));gOt(n);)if((i=Ikt($z(G5(n),17),t)).k==(oCt(),Tse)&&i.c!=t.c)return i;return null}function Nkt(t){var n,i,r;for(i=new Kd(t.p);i.a<i.c.c.length;)(n=$z(Q1(i),10)).k==(oCt(),Cse)&&(r=n.o.b,t.i=e.Math.min(t.i,r),t.g=e.Math.max(t.g,r));}function Pkt(t,e,n){var i,r,a;for(a=new Kd(e);a.a<a.c.c.length;)i=$z(Q1(a),10),t.c[i.c.p][i.p].e=!1;for(r=new Kd(e);r.a<r.c.c.length;)Nqt(t,i=$z(Q1(r),10),n);}function Bkt(t,n,i){var r,a;(r=_ht(n.j,i.s,i.c)+_ht(i.e,n.s,n.c))==(a=_ht(i.j,n.s,n.c)+_ht(n.e,i.s,i.c))?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=e.Math.min(r,a));}function Rkt(t,e){var n;if(n=!1,qM(e)&&(n=!0,QY(t,new HY(EB(e)))),n||iD(e,236)&&(n=!0,QY(t,new Ef(qj($z(e,236))))),!n)throw Fw(new Ov(z6t))}function jkt(t,e,n,i){var r,a,o;return r=new L9(t.e,1,10,iD(o=e.c,88)?$z(o,26):(pWt(),fLe),iD(a=n.c,88)?$z(a,26):(pWt(),fLe),oyt(t,e),!1),i?i.Ei(r):i=r,i}function $kt(t){var e,n;switch($z(yTt(bW(t),(zYt(),pbe)),420).g){case 0:return e=t.n,n=t.o,new DA(e.a+n.a/2,e.b+n.b/2);case 1:return new fO(t.n);default:return null}}function Fkt(){Fkt=I,Wle=new MS(XJt,0),Yle=new MS("LEFTUP",1),Vle=new MS("RIGHTUP",2),Kle=new MS("LEFTDOWN",3),Xle=new MS("RIGHTDOWN",4),qle=new MS("BALANCED",5);}function zkt(t,e,n){var i,r,a;if(0==(i=Cft(t.a[e.p],t.a[n.p]))){if(r=$z(yTt(e,(uWt(),ife)),15),a=$z(yTt(n,ife),15),r.Hc(n))return -1;if(a.Hc(e))return 1}return i}function Hkt(t){switch(t.g){case 1:return new Fo;case 2:return new zo;case 3:return new $o;case 0:return null;default:throw Fw(new Rv(r4t+(null!=t.f?t.f:""+t.g)))}}function Ukt(t,e,n){switch(e){case 1:return !t.n&&(t.n=new tK(HIe,t,1,7)),cUt(t.n),!t.n&&(t.n=new tK(HIe,t,1,7)),void pY(t.n,$z(n,14));case 2:return void Oit(t,EB(n))}iut(t,e,n);}function Gkt(t,e,n){switch(e){case 3:return void Ent(t,Hv(_B(n)));case 4:return void Tnt(t,Hv(_B(n)));case 5:return void Cnt(t,Hv(_B(n)));case 6:return void Snt(t,Hv(_B(n)))}Ukt(t,e,n);}function qkt(t,e,n){var i,r;(i=zEt(r=new Om,e,null))&&i.Fi(),Drt(r,n),u7((!t.c&&(t.c=new tK(WOe,t,12,10)),t.c),r),Lnt(r,0),Dnt(r,1),Jht(r,!0),Vht(r,!0);}function Kkt(t,e){var n,i;return iD(n=cC(t.g,e),235)?((i=$z(n,235)).Qh(),i.Nh()):iD(n,498)?i=$z(n,1938).b:null}function Ykt(t,e,n,i){var r,a;return yY(e),yY(n),P9(!!(a=$z(Gj(t.d,e),19)),"Row %s not in %s",e,t.e),P9(!!(r=$z(Gj(t.b,n),19)),"Column %s not in %s",n,t.c),Tst(t,a.a,r.a,i)}function Wkt(t,e,n,i,r,a,o){var s,c,u,l,h;if(h=Fmt(s=(u=a==o-1)?i:0,l=r[a]),10!=i&&Cst(Hx(t,o-a),e[a],n[a],s,h),!u)for(++a,c=0;c<l;++c)h[c]=Wkt(t,e,n,i,r,a,o);return h}function Xkt(t){if(-1==t.g)throw Fw(new dy);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1;}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}}function Vkt(t,n){return t.b.a=e.Math.min(t.b.a,n.c),t.b.b=e.Math.min(t.b.b,n.d),t.a.a=e.Math.max(t.a.a,n.c),t.a.b=e.Math.max(t.a.b,n.d),t.c[t.c.length]=n,!0}function Zkt(t){var e,n,i;for(i=-1,n=0,e=new Kd(t);e.a<e.c.c.length;){if($z(Q1(e),243).c==(ait(),Fye)){i=0==n?0:n-1;break}n==t.c.length-1&&(i=n),n+=1;}return i}function Qkt(t){var n,i,r,a;for(a=0,n=0,r=new Kd(t.c);r.a<r.c.c.length;)Cnt(i=$z(Q1(r),33),t.e+a),Snt(i,t.f),a+=i.g+t.b,n=e.Math.max(n,i.f+t.b);t.d=a-t.b,t.a=n-t.b;}function Jkt(t){var e,n,i;for(n=new Kd(t.a.b);n.a<n.c.c.length;)i=(e=$z(Q1(n),57)).d.c,e.d.c=e.d.d,e.d.d=i,i=e.d.b,e.d.b=e.d.a,e.d.a=i,i=e.b.a,e.b.a=e.b.b,e.b.b=i;mNt(t);}function t_t(t){var e,n,i;for(n=new Kd(t.a.b);n.a<n.c.c.length;)i=(e=$z(Q1(n),81)).g.c,e.g.c=e.g.d,e.g.d=i,i=e.g.b,e.g.b=e.g.a,e.g.a=i,i=e.e.a,e.e.a=e.e.b,e.e.b=i;vNt(t);}function e_t(t){var e,n,i,r,a;for(a=gq(t.k),vKt(),i=0,r=(n=Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length;i<r;++i)if((e=n[i])!=TMe&&!a.Hc(e))return e;return null}function n_t(t,e){var n,i;return (i=$z(xN(Xct(MX(new PU(null,new f1(e.j,16)),new da))),11))&&(n=$z(DU(i.e,0),17))?$z(yTt(n,(uWt(),ffe)),19).a:gtt(t.b)}function i_t(t,e){var n,i,r;for(r=new Kd(e.a);r.a<r.c.c.length;)for(i=$z(Q1(r),10),Qv(t.d),n=new oq(ZD(hdt(i).a.Kc(),new l));gOt(n);)KIt(t,i,$z(G5(n),17).d.i);}function r_t(t,e){var n,i;for(y9(t.b,e),i=new Kd(t.n);i.a<i.c.c.length;)if(-1!=x9((n=$z(Q1(i),211)).c,e,0)){y9(n.c,e),Qkt(n),0==n.c.c.length&&y9(t.n,n);break}lHt(t);}function a_t(t,n){var i,r,a,o,s;for(s=t.f,a=0,o=0,r=new Kd(t.a);r.a<r.c.c.length;)_yt(i=$z(Q1(r),187),t.e,s),p7(i,n),o=e.Math.max(o,i.r),a=s+=i.d+t.c;t.d=o,t.b=a;}function o_t(t){var e,n;return c3(n=dDt(t))?null:(yY(n),e=$z(emt(new oq(ZD(n.a.Kc(),new l))),79),CEt($z(Yet((!e.b&&(e.b=new cj(PIe,e,4,7)),e.b),0),82)))}function s_t(t){return t.o||(t.Lj()?t.o=new rW(t,t,null):t.rk()?t.o=new nR(t,null):1==NW($9((ASt(),VLe),t))?t.o=new g4(t):t.o=new iR(t,null)),t.o}function c_t(t,e,n,i){var r,a,o,s,c;n.mh(e)&&(r=(o=e)?$z(i,49).xh(o):null)&&(c=n.ah(e),(s=e.t)>1||-1==s?(a=$z(c,15),r.Wb(Kpt(t,a))):r.Wb(t$t(t,$z(c,56))));}function u_t(t,e,n,i){X_();var r=CWt;function a(){for(var t=0;t<r.length;t++)r[t]();}if(t)try{$Ne(a)();}catch(n){t(e,n);}else $Ne(a)();}function l_t(t){var e,n,i,r,a;for(i=new out(new Td(t.b).a);i.b;)e=$z((n=tnt(i)).cd(),10),a=$z($z(n.dd(),46).a,10),r=$z($z(n.dd(),46).b,8),GR(mI(e.n),GR($L(a.n),r));}function h_t(t){switch($z(yTt(t.b,(zYt(),tbe)),375).g){case 1:VE(IX(ftt(new PU(null,new f1(t.d,16)),new $r),new Fr),new zr);break;case 2:wRt(t);break;case 0:SAt(t);}}function f_t(t,e,n){MEt(n,"Straight Line Edge Routing",1),n.n&&e&&y0(n,o2(e),(Fut(),aIe)),yHt(t,$z(QOt(e,(fB(),Yxe)),33)),n.n&&e&&y0(n,o2(e),(Fut(),aIe));}function d_t(){d_t=I,ZTe=new PA("V_TOP",0),VTe=new PA("V_CENTER",1),XTe=new PA("V_BOTTOM",2),YTe=new PA("H_LEFT",3),KTe=new PA("H_CENTER",4),WTe=new PA("H_RIGHT",5);}function g_t(t){var e;return 64&t.Db?Sgt(t):((e=new uN(Sgt(t))).a+=" (abstract: ",y_(e,!!(256&t.Bb)),e.a+=", interface: ",y_(e,!!(512&t.Bb)),e.a+=")",e.a)}function p_t(t,e,n,i){var r,a,o;return wO(t.e)&&(o=OZ(t,1,r=e.ak(),e.dd(),a=n.dd(),r.$j()?bzt(t,r,a,iD(r,99)&&!!($z(r,18).Bb&FVt)):-1,!0),i?i.Ei(o):i=o),i}function b_t(t){var e;null==t.c&&(e=HM(t.b)===HM(Vte)?null:t.b,t.d=null==e?GWt:tq(e)?vN(xV(e)):qM(e)?HXt:Qk(tut(e)),t.a=t.a+": "+(tq(e)?CR(xV(e)):e+""),t.c="("+t.d+") "+t.a);}function w_t(t,e){this.e=t,WM(t0(e,-4294967296),0)?(this.d=1,this.a=Cst(Hx(ANe,1),uVt,25,15,[dG(e)])):(this.d=2,this.a=Cst(Hx(ANe,1),uVt,25,15,[dG(e),dG(mq(e,32))]));}function y_t(){function t(){try{return (new Map).entries().next().done}catch(t){return !1}}return typeof Map===NWt&&Map.prototype.entries&&t()?Map:fKt()}function m_t(t,e){var n,i,r;for(r=new _2(t.e,0),n=0;r.b<r.d.gc();){if((i=Hv((TP(r.b<r.d.gc()),_B(r.d.Xb(r.c=r.b++))))-e)>P3t)return n;i>-1e-6&&++n;}return n}function v_t(t,e){var n;e!=t.b?(n=null,t.b&&(n=oQ(t.b,t,-4,n)),e&&(n=Dwt(e,t,-4,n)),(n=Qlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,3,e,e));}function x_t(t,e){var n;e!=t.f?(n=null,t.f&&(n=oQ(t.f,t,-1,n)),e&&(n=Dwt(e,t,-1,n)),(n=Jlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,0,e,e));}function k_t(t){var e,n,i;if(null==t)return null;if((n=$z(t,15)).dc())return "";for(i=new Ex,e=n.Kc();e.Ob();)iI(i,(qUt(),EB(e.Pb()))),i.a+=" ";return BI(i,i.a.length-1)}function __t(t){var e,n,i;if(null==t)return null;if((n=$z(t,15)).dc())return "";for(i=new Ex,e=n.Kc();e.Ob();)iI(i,(qUt(),EB(e.Pb()))),i.a+=" ";return BI(i,i.a.length-1)}function E_t(t,e,n){var i,r;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?kq(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function T_t(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kNe):new qD(n);r.Ob();)i=D2(e,$z(r.Pb(),19).a),AX(new $b(t).a,i);}function C_t(t,e){var n,i,r;if(e)for(r=((n=new cq(e.a.length)).b-n.a)*n.c<0?(tC(),kNe):new qD(n);r.Ob();)i=D2(e,$z(r.Pb(),19).a),SX(new Ib(t).a,i);}function S_t(t){if(null!=t&&t.length>0&&33==uX(t,t.length-1))try{return null==VSt(uP(t,0,t.length-1)).e}catch(t){if(!iD(t=hst(t),32))throw Fw(t)}return !1}function A_t(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?OZ(t,3,i,null,a,bzt(t,i,a,iD(i,99)&&!!($z(i,18).Bb&FVt)),!0):OZ(t,1,i,i.zj(),a,-1,!0),n?n.Ei(r):n=r,n}function M_t(){var t,e,n;for(e=0,t=0;t<1;t++){if(0==(n=XIt((h1(t,1),"X".charCodeAt(t)))))throw Fw(new rx("Unknown Option: "+"X".substr(t)));e|=n;}return e}function I_t(t,e,n){var i,r;switch(i=Yft(bW(e)),CJ(r=new SCt,e),n.g){case 1:HAt(r,_ft(ugt(i)));break;case 2:HAt(r,ugt(i));}return uct(r,(zYt(),Jbe),_B(yTt(t,Jbe))),r}function O_t(t){var e,n;return e=$z(G5(new oq(ZD(ldt(t.a).a.Kc(),new l))),17),n=$z(G5(new oq(ZD(hdt(t.a).a.Kc(),new l))),17),zv(kB(yTt(e,(uWt(),Cfe))))||zv(kB(yTt(n,Cfe)))}function L_t(){L_t=I,_ue=new yS("ONE_SIDE",0),Tue=new yS("TWO_SIDES_CORNER",1),Cue=new yS("TWO_SIDES_OPPOSING",2),Eue=new yS("THREE_SIDES",3),kue=new yS("FOUR_SIDES",4);}function D_t(t,e,n,i,r){var a,o;a=$z(T4(MX(e.Oc(),new Jr),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15),o=$z(pot(t.b,n,i),15),0==r?o.Wc(0,a):o.Gc(a);}function N_t(t,e){var n,i,r;for(i=new Kd(e.a);i.a<i.c.c.length;)for(n=new oq(ZD(ldt($z(Q1(i),10)).a.Kc(),new l));gOt(n);)r=$z(G5(n),17).c.i.p,t.n[r]=t.n[r]-1;}function P_t(t,e){var n,i,r,a;for(r=new Kd(e.d);r.a<r.c.c.length;)for(i=$z(Q1(r),101),a=$z(PY(t.c,i),112).o,n=new WE(i.b);n.a<n.c.a.length;)g7(i,$z(a4(n),61),a);}function B_t(t){var e;for(e=new Kd(t.e.b);e.a<e.c.c.length;)uqt(t,$z(Q1(e),29));VE(MX(ftt(ftt(new PU(null,new f1(t.e.b,16)),new Ya),new Ja),new to),new cb(t));}function R_t(t,e){return !!e&&!t.Di(e)&&(t.i?t.i.Ei(e):iD(e,143)?(t.i=$z(e,143),!0):(t.i=new wc,t.i.Ei(e)))}function j_t(t){if(t=$zt(t,!0),wj(a5t,t)||wj("1",t))return cN(),wee;if(wj(o5t,t)||wj("0",t))return cN(),bee;throw Fw(new ex("Invalid boolean value: '"+t+"'"))}function $_t(t,e,n){var i,r,a;for(r=t.vc().Kc();r.Ob();)if(a=(i=$z(r.Pb(),42)).cd(),HM(e)===HM(a)||null!=e&&Dht(e,a))return n&&(i=new TC(i.cd(),i.dd()),r.Qb()),i;return null}function F_t(t){var e,n,i;zB(),t.B.Hc((Jjt(),zMe))&&(i=t.f.i,e=new gZ(t.a.c),(n=new hm).b=e.c-i.c,n.d=e.d-i.d,n.c=i.c+i.b-(e.c+e.b),n.a=i.d+i.a-(e.d+e.a),t.e.Ff(n));}function z_t(t,n,i,r){var a,o,s;for(s=e.Math.min(i,YFt($z(t.b,65),n,i,r)),o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Q1(o),221))!=n&&(s=e.Math.min(s,z_t(a,n,s,r)));return s}function H_t(t){var e,n,i;for(i=D8(Ase,cXt,193,t.b.c.length,0,2),n=new _2(t.b,0);n.b<n.d.gc();)TP(n.b<n.d.gc()),e=$z(n.d.Xb(n.c=n.b++),29),i[n.b-1]=Q0(e.a);return i}function U_t(t,e,n,i,r){var a,o,s,c;for(o=Qx(Zx(F$(tyt(n)),i),axt(t,n,r)),c=PCt(t,n).Kc();c.Ob();)e[(s=$z(c.Pb(),11)).p]&&(a=e[s.p].i,Kz(o.d,new DG(a,vft(o,a))));Cgt(o);}function G_t(t,e){this.f=new Dw,this.b=new Dw,this.j=new Dw,this.a=t,this.c=e,this.c>0&&jvt(this,this.c-1,(vKt(),oMe)),this.c<this.a.length-1&&jvt(this,this.c+1,(vKt(),CMe));}function q_t(t){t.length>0&&t[0].length>0&&(this.c=zv(kB(yTt(bW(t[0][0]),(uWt(),rfe))))),this.a=D8(Tme,cXt,2018,t.length,0,2),this.b=D8(Ome,cXt,2019,t.length,0,2),this.d=new _lt;}function K_t(t){return 0!=t.c.length&&((l1(0,t.c.length),$z(t.c[0],17)).c.i.k==(oCt(),Tse)||o5(IX(new PU(null,new f1(t,16)),new ja),new $a))}function Y_t(t,e,n){return MEt(n,"Tree layout",1),c2(t.b),CK(t.b,(Gvt(),Pve),Pve),CK(t.b,Bve,Bve),CK(t.b,Rve,Rve),CK(t.b,jve,jve),t.a=OUt(t.b,e),hPt(t,e,yat(n,1)),zCt(n),e}function W_t(t,n){var i,r,a,o,s,c;for(s=dBt(n),a=n.f,c=n.g,o=e.Math.sqrt(a*a+c*c),r=0,i=new Kd(s);i.a<i.c.c.length;)r+=W_t(t,$z(Q1(i),33));return e.Math.max(r,o)}function X_t(){X_t=I,XAe=new GA(uQt,0),WAe=new GA("FREE",1),YAe=new GA("FIXED_SIDE",2),GAe=new GA("FIXED_ORDER",3),KAe=new GA("FIXED_RATIO",4),qAe=new GA("FIXED_POS",5);}function V_t(t,e){var n,i,r;if(n=e.Hh(t.a))for(r=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),_9t)),i=1;i<(ASt(),ZLe).length;++i)if(wj(ZLe[i],r))return i;return 0}function Z_t(t){var e,n,i,r;if(null==t)return GWt;for(r=new Oot($Wt,"[","]"),n=0,i=(e=t).length;n<i;++n)h6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Q_t(t){var e,n,i,r;if(null==t)return GWt;for(r=new Oot($Wt,"[","]"),n=0,i=(e=t).length;n<i;++n)h6(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function J_t(t){var e,n,i;for(i=new Oot($Wt,"{","}"),n=t.vc().Kc();n.Ob();)h6(i,K3(t,(e=$z(n.Pb(),42)).cd())+"="+K3(t,e.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function tEt(t){for(var e,n,i,r;!Kv(t.o);)n=$z(dK(t.o),46),i=$z(n.a,121),r=Ddt(e=$z(n.b,213),i),e.e==i?(PN(r.g,e),i.e=r.e+e.a):(PN(r.b,e),i.e=r.e-e.a),Kz(t.e.a,i);}function eEt(t,e){var n,i,r;for(n=null,r=$z(e.Kb(t),20).Kc();r.Ob();)if(i=$z(r.Pb(),17),n){if((i.c.i==t?i.d.i:i.c.i)!=n)return !1}else n=i.c.i==t?i.d.i:i.c.i;return !0}function nEt(t,e){var n,i,r;for(i=new Kd(XDt(t,!1,e));i.a<i.c.c.length;)0==(n=$z(Q1(i),129)).d?(KJ(n,null),YJ(n,null)):(r=n.a,KJ(n,n.b),YJ(n,r));}function iEt(t){var e,n;return Zat(e=new $2,Cve),(n=$z(yTt(t,(uWt(),Zhe)),21)).Hc((fBt(),bhe))&&Zat(e,Ive),n.Hc(she)&&Zat(e,Sve),n.Hc(ghe)&&Zat(e,Mve),n.Hc(uhe)&&Zat(e,Ave),e}function rEt(t){var e,n,i,r;for(TUt(t),n=new oq(ZD(udt(t).a.Kc(),new l));gOt(n);)r=(i=(e=$z(G5(n),17)).c.i==t)?e.d:e.c,i?_J(e,null):EJ(e,null),uct(e,(uWt(),wfe),r),oOt(t,r.i);}function aEt(t,e,n,i){var r,a;switch(r=n[(a=e.i).g][t.d[a.g]],a.g){case 1:r-=i+e.j.b,e.g.b=r;break;case 3:r+=i,e.g.b=r;break;case 4:r-=i+e.j.a,e.g.a=r;break;case 2:r+=i,e.g.a=r;}}function oEt(t){var e,n;for(n=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));n.e!=n.i.gc();)if(!gOt(new oq(ZD(dDt(e=$z(vwt(n),33)).a.Kc(),new l))))return e;return null}function sEt(){var t;return qIe?$z(OLt((KT(),HOe),m6t),2016):(t=$z(iD(EQ((KT(),HOe),m6t),555)?EQ(HOe,m6t):new cOt,555),qIe=!0,jGt(t),xWt(t),_vt(t),wJ(HOe,m6t,t),t)}function cEt(t,e,n){var i,r;if(0==t.j)return n;if(r=$z(jnt(t,e,n),72),!(i=n.ak()).Ij()||!t.a.rl(i))throw Fw(new dv("Invalid entry feature '"+i.Hj().zb+"."+i.ne()+"'"));return r}function uEt(t,e){var n,i,r,a,o,s,c;for(s=0,c=(o=t.a).length;s<c;++s)for(r=0,a=(i=o[s]).length;r<a;++r)if(n=i[r],HM(e)===HM(n)||null!=e&&Dht(e,n))return !0;return !1}function lEt(t){var e,n,i;return Wlt(t,0)>=0?(n=Mkt(t,IVt),i=hpt(t,IVt)):(n=Mkt(e=vq(t,1),5e8),i=idt(yq(i=hpt(e,5e8),1),t0(t,1))),e0(yq(i,32),t0(n,qVt))}function hEt(t,e,n){var i;switch(TP(0!=e.b),i=$z(Iet(e,e.a.a),8),n.g){case 0:i.b=0;break;case 2:i.b=t.f;break;case 3:i.a=0;break;default:i.a=t.g;}return QK(cwt(e,0),i),e}function fEt(t,e,n,i){var r,a,o,s,c;switch(c=t.b,s=Gbt(o=(a=e.d).j,c.d[o.g],n),r=GR($L(a.n),a.a),a.j.g){case 1:case 3:s.a+=r.a;break;case 2:case 4:s.b+=r.b;}n5(i,s,i.c.b,i.c);}function dEt(t,e,n){var i,r,a,o;for(o=x9(t.e,e,0),(a=new nm).b=n,i=new _2(t.e,o);i.b<i.d.gc();)TP(i.b<i.d.gc()),(r=$z(i.d.Xb(i.c=i.b++),10)).p=n,Kz(a.e,r),uW(i);return a}function gEt(t,e,n,i){var r,a,o,s,c;for(r=null,a=0,s=new Kd(e);s.a<s.c.c.length;)c=(o=$z(Q1(s),33)).i+o.g,t<o.j+o.f+i&&(r?n.i-c<n.i-a&&(r=o):r=o,a=r.i+r.g);return r?a+i:0}function pEt(t,e,n,i){var r,a,o,s,c;for(a=null,r=0,s=new Kd(e);s.a<s.c.c.length;)c=(o=$z(Q1(s),33)).j+o.f,t<o.i+o.g+i&&(a?n.j-c<n.j-r&&(a=o):a=o,r=a.j+a.f);return a?r+i:0}function bEt(t){var e,n,i;for(e=!1,i=t.b.c.length,n=0;n<i;n++)Vct($z(DU(t.b,n),434))?!e&&n+1<i&&Vct($z(DU(t.b,n+1),434))&&(e=!0,$z(DU(t.b,n),434).a=!0):e=!1;}function wEt(t,e,n,i,r){var a,o;for(a=0,o=0;o<r;o++)a=idt(a,ndt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<n;o++)a=idt(a,t0(e[o],qVt)),t[o]=dG(a),a=mq(a,32);}function yEt(t,e){var n,i;for(OIt(),MBt(),i=Zee,n=t;e>1;e>>=1)1&e&&(i=Ltt(i,n)),n=1==n.d?Ltt(n,n):new Sbt(A$t(n.a,n.d,D8(ANe,uVt,25,n.d<<1,15,1)));return i=Ltt(i,n)}function mEt(){var t,e,n,i;for(mEt=I,Ane=D8(LNe,HVt,25,25,15,1),Mne=D8(LNe,HVt,25,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Mne[e]=i,i*=.5;for(n=1,t=24;t>=0;t--)Ane[t]=n,n*=.5;}function vEt(t){var e,n;if(zv(kB(QOt(t,(zYt(),fbe)))))for(n=new oq(ZD(gDt(t).a.Kc(),new l));gOt(n);)if(XMt(e=$z(G5(n),79))&&zv(kB(QOt(e,dbe))))return !0;return !1}function xEt(t,e){var n,i,r;kK(t.f,e)&&(e.b=t,i=e.c,-1!=x9(t.j,i,0)||Kz(t.j,i),r=e.d,-1!=x9(t.j,r,0)||Kz(t.j,r),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new ewt(t)),wot(t.i,n)));}function kEt(t){var e,n,i,r;return (n=(e=t.c.d).j)==(r=(i=t.d.d).j)?e.p<i.p?0:1:Eft(n)==r?0:kft(n)==r?1:EN(t.b.b,Eft(n))?0:1}function _Et(){_Et=I,Jwe=new PS(x3t,0),Zwe=new PS("LONGEST_PATH",1),Xwe=new PS("COFFMAN_GRAHAM",2),Vwe=new PS(F1t,3),tye=new PS("STRETCH_WIDTH",4),Qwe=new PS("MIN_WIDTH",5);}function EEt(t){var e;this.d=new Dw,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new sG(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new Xj(e=$z(Yk(iOe),9),$z(ER(e,e.length),9),0);}function TEt(t,e){var n,i,r,a;!(r=N2(i=t,"layoutOptions"))&&(r=N2(i,E6t)),r&&(n=null,(a=r)&&(n=new kE(a,xrt(a,D8(Xee,cXt,2,0,6,1)))),n&&t5(n,new fM(a,e)));}function CEt(t){if(iD(t,239))return $z(t,33);if(iD(t,186))return KQ($z(t,118));throw Fw(t?new Jv("Only support nodes and ports."):new Fv(e8t))}function SEt(t,e,n,i){return e>=0&&wj(t.substr(e,3),"GMT")||e>=0&&wj(t.substr(e,3),"UTC")?(n[0]=e+3,m$t(t,n,i)):m$t(t,n,i)}function AEt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Kd(t.d);i.a<i.c.c.length;)(r=(n=$z(Q1(i),70)).n).a=a,t.i==(vKt(),sMe)?r.b=o+t.j.b-n.o.b:r.b=o,GR(r,e),a+=n.o.a+t.e;}function MEt(t,e,n){if(t.b)throw Fw(new jv("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(IE(),rdt(lot(Date.now()),WXt))),!0)}function IEt(t){var e;return e=new pv,null!=t.tg()&&MH(e,H6t,t.tg()),null!=t.ne()&&MH(e,t8t,t.ne()),null!=t.sg()&&MH(e,"description",t.sg()),e}function OEt(t,e,n){var i,r,a;return a=t.q,t.q=e,4&t.Db&&!(1&t.Db)&&(r=new Qq(t,1,9,a,e),n?n.Ei(r):n=r),e?(i=e.c)!=t.r&&(n=t.nk(i,n)):t.r&&(n=t.nk(null,n)),n}function LEt(t,e,n){var i,r;for(n=Dwt(e,t.e,-1-t.c,n),r=new _w(new out(new Td(DW(t.a).a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vDt(i,t.a),n);return n}function DEt(t,e,n){var i,r;for(n=oQ(e,t.e,-1-t.c,n),r=new _w(new out(new Td(DW(t.a).a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vDt(i,t.a),n);return n}function NEt(t,e,n,i){var r,a,o;if(0==i)aHt(e,0,t,n,t.length-n);else for(o=32-i,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]<<i;for(r=0;r<n;r++)t[r]=0;}function PEt(t){var n,i,r,a,o;for(n=0,i=0,o=t.Kc();o.Ob();)r=$z(o.Pb(),111),n=e.Math.max(n,r.d.b),i=e.Math.max(i,r.d.c);for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),111)).d.b=n,r.d.c=i;}function BEt(t){var n,i,r,a,o;for(i=0,n=0,o=t.Kc();o.Ob();)r=$z(o.Pb(),111),i=e.Math.max(i,r.d.d),n=e.Math.max(n,r.d.a);for(a=t.Kc();a.Ob();)(r=$z(a.Pb(),111)).d.d=i,r.d.a=n;}function REt(t,e){var n,i,r,a;for(a=new Lw,r=0,i=e.Kc();i.Ob();){for(n=nft($z(i.Pb(),19).a+r);n.a<t.f&&!JU(t,n.a);)n=nft(n.a+1),++r;if(n.a>=t.f)break;a.c[a.c.length]=n;}return a}function jEt(t){var e,n,i,r;for(e=null,r=new Kd(t.wf());r.a<r.c.c.length;)n=new GX((i=$z(Q1(r),181)).qf().a,i.qf().b,i.rf().a,i.rf().b),e?SSt(e,n):e=n;return !e&&(e=new hO),e}function $Et(t,e,n,i){return 1==n?(!t.n&&(t.n=new tK(HIe,t,1,7)),Vgt(t.n,e,i)):$z(eet($z(mot(t,16),26)||t.zh(),n),66).Nj().Qj(t,lbt(t),n-hY(t.zh()),e,i)}function FEt(t,e,n){var i,r,a,o,s;for(i=n.gc(),t.qi(t.i+i),(s=t.i-e)>0&&aHt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;r<i;++r)a=o.Pb(),vD(t,e,t.oi(e,a)),t.bi(e,a),t.ci(),++e;return 0!=i}function zEt(t,e,n){var i;return e!=t.q?(t.q&&(n=oQ(t.q,t,-10,n)),e&&(n=Dwt(e,t,-10,n)),n=OEt(t,e,n)):4&t.Db&&!(1&t.Db)&&(i=new Qq(t,1,9,e,e),n?n.Ei(i):n=i),n}function HEt(t,e,n,i){return C$(!(n&uXt),"flatMap does not support SUBSIZED characteristic"),C$(!(4&n),"flatMap does not support SORTED characteristic"),yY(t),yY(e),new z2(t,n,i,e)}function UEt(t,e){EK(e,"Cannot suppress a null exception."),bH(e!=t,"Exception can not suppress itself."),t.i||(null==t.k?t.k=Cst(Hx(Zte,1),cXt,78,0,[e]):t.k[t.k.length]=e);}function GEt(t,e,n,i){var r,a,o,s,c,u;for(o=n.length,a=0,r=-1,u=ret(t.substr(e),(i$(),kne)),s=0;s<o;++s)(c=n[s].length)>a&&sK(u,ret(n[s],kne))&&(r=s,a=c);return r>=0&&(i[0]=e+a),r}function qEt(t,e){var n;if(0!=(n=XI(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return xL(t.b.sf(),e.b.sf());case 3:case 4:return xL(e.b.sf(),t.b.sf())}return 0}function KEt(t){var e,n,i;for(i=t.e.c.length,t.a=mU(ANe,[cXt,uVt],[48,25],15,[i,i],2),n=new Kd(t.c);n.a<n.c.c.length;)e=$z(Q1(n),282),t.a[e.c.b][e.d.b]+=$z(yTt(e,(lRt(),Zae)),19).a;}function YEt(t,e,n){MEt(n,"Grow Tree",1),t.b=e.f,zv(kB(yTt(e,(Kat(),Wre))))?(t.c=new ne,WJ(t,null)):t.c=new ne,t.a=!1,$Nt(t,e.f),uct(e,Xre,(cN(),!!t.a)),zCt(n);}function WEt(t,e){var n,i,r,a,o;if(null==t)return null;for(o=D8(SNe,YXt,25,2*e,15,1),i=0,r=0;i<e;++i)n=t[i]>>4&15,a=15&t[i],o[r++]=AIe[n],o[r++]=AIe[a];return Fpt(o,0,o.length)}function XEt(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?OZ(t,4,i,a,null,bzt(t,i,a,iD(i,99)&&!!($z(i,18).Bb&FVt)),!0):OZ(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}function VEt(t){var e,n;return t>=FVt?(e=zVt+(t-FVt>>10&1023)&XXt,n=56320+(t-FVt&1023)&XXt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&XXt)}function ZEt(t,e){var n,i,r,a;return zB(),(r=$z($z(c6(t.r,e),21),84)).gc()>=2&&(i=$z(r.Kc().Pb(),111),n=t.u.Hc((hMt(),JAe)),a=t.u.Hc(iMe),!i.a&&!n&&(2==r.gc()||a))}function QEt(t,e,n,i,r){var a,o,s;for(a=eBt(t,e,n,i,r),s=!1;!a;)kLt(t,r,!0),s=!0,a=eBt(t,e,n,i,r);s&&kLt(t,r,!1),0!=(o=Pst(r)).c.length&&(t.d&&t.d.lg(o),QEt(t,r,n,i,o));}function JEt(){JEt=I,rAe=new $A(XJt,0),nAe=new $A("DIRECTED",1),aAe=new $A("UNDIRECTED",2),tAe=new $A("ASSOCIATION",3),iAe=new $A("GENERALIZATION",4),eAe=new $A("DEPENDENCY",5);}function tTt(t,e){var n;if(!KQ(t))throw Fw(new jv($5t));switch(n=KQ(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}function eTt(t,e){var n,i;for(mW(e),i=t.b.c.length,Kz(t.b,e);i>0;){if(n=i,i=(i-1)/2|0,t.a.ue(DU(t.b,i),e)<=0)return i5(t.b,n,e),!0;i5(t.b,n,DU(t.b,i));}return i5(t.b,i,e),!0}function nTt(t,n,i,r){var a,o;if(a=0,i)a=ylt(t.a[i.g][n.g],r);else for(o=0;o<Qie;o++)a=e.Math.max(a,ylt(t.a[o][n.g],r));return n==(Pet(),Uie)&&t.b&&(a=e.Math.max(a,t.b.a)),a}function iTt(t,e){var n,i,r,a,o;return i=t.i,r=e.i,!(!i||!r)&&i.i==r.i&&i.i!=(vKt(),oMe)&&i.i!=(vKt(),CMe)&&(n=(a=i.g.a)+i.j.a,a<=(o=r.g.a)+r.j.a&&n>=o)}function rTt(t,e,n,i){var r;if(r=!1,qM(i)&&(r=!0,MH(e,n,EB(i))),r||UM(i)&&(r=!0,rTt(t,e,n,i)),r||iD(i,236)&&(r=!0,zV(e,n,$z(i,236))),!r)throw Fw(new Ov(z6t))}function aTt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),$7t)))for(i=1;i<(ASt(),WLe).length;++i)if(wj(WLe[i],r))return i;return 0}function oTt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),$7t)))for(i=1;i<(ASt(),XLe).length;++i)if(wj(XLe[i],r))return i;return 0}function sTt(t,e){var n,i,r,a;if(mW(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Kc();n.Ob();)i=n.Pb(),e.Hc(i)&&n.Qb();else for(r=e.Kc();r.Ob();)i=r.Pb(),t.a.Bc(i);return a!=t.a.gc()}function cTt(t){var e,n;switch(n=$L(Ict(Cst(Hx(TTe,1),cXt,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 uTt(t){var e;for(Art(),e=$z(G5(new oq(ZD(ldt(t).a.Kc(),new l))),17).c.i;e.k==(oCt(),Tse);)uct(e,(uWt(),ofe),(cN(),!0)),e=$z(G5(new oq(ZD(ldt(e).a.Kc(),new l))),17).c.i;}function lTt(t,e,n,i){var r,a,o;for(o=Lht(e,i).Kc();o.Ob();)r=$z(o.Pb(),11),t.d[r.p]=t.d[r.p]+t.c[n.p];for(a=Lht(n,i).Kc();a.Ob();)r=$z(a.Pb(),11),t.d[r.p]=t.d[r.p]-t.c[e.p];}function hTt(t,e,n){var i,r;for(r=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));r.e!=r.i.gc();)EO(i=$z(vwt(r),33),i.i+e,i.j+n);t5((!t.b&&(t.b=new tK(BIe,t,12,3)),t.b),new JA(e,n));}function fTt(t,e,n,i){var r,a;for(r=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[r]!=n;)a=a.a[r],r=t.a.ue(n.d,a.d)>0?1:0;a.a[r]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null;}function dTt(t){return hMt(),!(Sot(AQ(xG(tMe,Cst(Hx(SMe,1),OXt,273,0,[nMe])),t))>1||Sot(AQ(xG(JAe,Cst(Hx(SMe,1),OXt,273,0,[QAe,iMe])),t))>1)}function gTt(t,e){iD(EQ((KT(),HOe),t),498)?wJ(HOe,t,new AM(this,e)):wJ(HOe,t,this),nCt(this,e),e==(e_(),ZOe)?(this.wb=$z(this,1939),$z(e,1941)):this.wb=(WY(),QOe);}function pTt(t){var e,n;if(null==t)return null;for(e=null,n=0;n<SIe.length;++n)try{return $T(SIe[n],t)}catch(t){if(!iD(t=hst(t),32))throw Fw(t);e=t;}throw Fw(new O9(e))}function bTt(){bTt=I,pne=Cst(Hx(Xee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),bne=Cst(Hx(Xee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]);}function wTt(t){var e,n,i;(e=wj(typeof e,pZt)?null:new ht)&&(lT(),JY(n=(i=900)>=WXt?"error":i>=900?"warn":i>=800?"info":"log",t.a),t.b&&NNt(e,n,t.b,"Exception: ",!0));}function yTt(t,e){var n,i;return !t.q&&(t.q=new Dw),null!=(i=PY(t.q,e))?i:(iD(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new Dw),b6(t.q,e)):(!t.q&&(t.q=new Dw),YW(t.q,e,n))),n)}function mTt(){mTt=I,Poe=new YC("P1_CYCLE_BREAKING",0),Boe=new YC("P2_LAYERING",1),Roe=new YC("P3_NODE_ORDERING",2),joe=new YC("P4_NODE_PLACEMENT",3),$oe=new YC("P5_EDGE_ROUTING",4);}function vTt(t,e){var n,i,r,a;for(i=(1==e?Koe:qoe).a.ec().Kc();i.Ob();)for(n=$z(i.Pb(),103),a=$z(c6(t.f.c,n),21).Kc();a.Ob();)r=$z(a.Pb(),46),y9(t.b.b,r.b),y9(t.b.a,$z(r.b,81).d);}function xTt(t,e){var n;if(Ntt(),t.c==e.c){if(t.b==e.b||uat(t.b,e.b)){if(n=ZI(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return -n}return xL(t.b.g,e.b.g)}return Cft(t.c,e.c)}function kTt(t,e){var n;MEt(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&n$t((l1(0,n.c.length),$z(n.c[0],29)),t),n.c.length>1&&n$t($z(DU(n,n.c.length-1),29),t),zCt(e);}function _Tt(t,e){var n,i;if(DTt(t,e))return !0;for(i=new Kd(e);i.a<i.c.c.length;){if(jBt(t,n=$z(Q1(i),33),o_t(n)))return !0;if(Olt(t,n)-t.g<=t.a)return !0}return !1}function ETt(){ETt=I,fRt(),mEe=PEe,bEe=OEe,pEe=MEe,dEe=TEe,gEe=SEe,fEe=new KO(8),hEe=new qO((cWt(),qCe),fEe),wEe=new qO(OSe,8),yEe=DEe,cEe=vEe,uEe=kEe,lEe=new qO(lCe,(cN(),!1));}function TTt(){TTt=I,UTe=new KO(15),HTe=new qO((cWt(),qCe),UTe),qTe=new qO(OSe,15),GTe=new qO(pSe,nft(0)),RTe=vCe,$Te=BCe,zTe=zCe,NTe=new qO(iCe,l5t),jTe=CCe,FTe=$Ce,PTe=aCe,BTe=cCe;}function CTt(t){if(1!=(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i)throw Fw(new Rv(i8t));return CEt($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82))}function STt(t){if(1!=(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i)throw Fw(new Rv(i8t));return fst($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82))}function ATt(t){if(1!=(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i)throw Fw(new Rv(i8t));return fst($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82))}function MTt(t){if(1!=(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i)throw Fw(new Rv(i8t));return CEt($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82))}function ITt(t,e,n){var i,r,a;if(++t.j,e>=(r=t.Vi())||e<0)throw Fw(new Mv(o8t+e+s8t+r));if(n>=r||n<0)throw Fw(new Mv(c8t+n+s8t+r));return e!=n?(a=t.Ti(n),t.Hi(e,a),i=a):i=t.Oi(n),i}function OTt(t){var e,n,i;if(i=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>UVt)return OTt(n);if(i=n,n==t)throw Fw(new jv("There is a cycle in the containment hierarchy of "+t))}return i}function LTt(t){var e,n,i;for(i=new Oot($Wt,"[","]"),n=t.Kc();n.Ob();)h6(i,HM(e=n.Pb())===HM(t)?"(this Collection)":null==e?GWt:Fdt(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function DTt(t,e){var n,i;if(i=!1,e.gc()<2)return !1;for(n=0;n<e.gc();n++)n<e.gc()-1?i|=jBt(t,$z(e.Xb(n),33),$z(e.Xb(n+1),33)):i|=jBt(t,$z(e.Xb(n),33),$z(e.Xb(0),33));return i}function NTt(t,e){var n;e!=t.a?(n=null,t.a&&(n=$z(t.a,49).ih(t,4,zIe,n)),e&&(n=$z(e,49).gh(t,4,zIe,n)),(n=Zlt(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,1,e,e));}function PTt(t,e){var n;e!=t.e?(t.e&&R6(DW(t.e),t),e&&(!e.b&&(e.b=new kw(new Dm)),XR(e.b,t)),(n=Xxt(t,e,null))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,4,e,e));}function BTt(t){var e,n,i;for(n=t.length,i=0;i<n&&(h1(i,t.length),t.charCodeAt(i)<=32);)++i;for(e=n;e>i&&(h1(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||e<n?t.substr(i,e-i):t}function RTt(t,n){var i;i=n.o,dO(t.f)?(t.j.a=e.Math.max(t.j.a,i.a),t.j.b+=i.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=i.a,t.j.b=e.Math.max(t.j.b,i.b),t.d.c.length>1&&(t.j.a+=t.e));}function jTt(){jTt=I,Iue=Cst(Hx(jMe,1),VJt,61,0,[(vKt(),sMe),oMe,EMe]),Mue=Cst(Hx(jMe,1),VJt,61,0,[oMe,EMe,CMe]),Oue=Cst(Hx(jMe,1),VJt,61,0,[EMe,CMe,sMe]),Lue=Cst(Hx(jMe,1),VJt,61,0,[CMe,sMe,oMe]);}function $Tt(t,e,n,i){var r,a,o,s,c;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(c=t.b,r=a.j,s=null;r!=o.j;)s=0==e?Eft(r):kft(r),NH(i,GR(Gbt(r,c.d[r.g],n),Gbt(s,c.d[s.g],n))),r=s;}function FTt(t,e,n,i){var r,a,o,s,c;return s=$z((o=Hvt(t.a,e,n)).a,19).a,a=$z(o.b,19).a,i&&(c=$z(yTt(e,(uWt(),xfe)),10),r=$z(yTt(n,xfe),10),c&&r&&(J3(t.b,c,r),s+=t.b.i,a+=t.b.e)),s>a}function zTt(t){var e,n,i,r,a,o,s,c;for(this.a=iyt(t),this.b=new Lw,i=0,r=(n=t).length;i<r;++i)for(e=n[i],a=new Lw,Kz(this.b,a),s=0,c=(o=e).length;s<c;++s)Kz(a,new Jj(o[s].j));}function HTt(t,e,n){var i,r,a;return a=0,i=n[e],e<n.length-1&&(r=n[e+1],t.b[e]?(a=fWt(t.d,i,r),a+=ZY(t.a,i,(vKt(),oMe)),a+=ZY(t.a,r,CMe)):a=S7(t.a,i,r)),t.c[e]&&(a+=O6(t.a,i)),a}function UTt(t,e,n,i,r){var a,o,s,c;for(c=null,s=new Kd(i);s.a<s.c.c.length;)if((o=$z(Q1(s),441))!=n&&-1!=x9(o.e,r,0)){c=o;break}EJ(a=K5(r),n.b),_J(a,c.b),ZMt(t.a,r,new O$(a,e,n.f));}function GTt(t){for(;0!=t.g.c&&0!=t.d.c;)jB(t.g).c>jB(t.d).c?(t.i+=t.g.c,ppt(t.d)):jB(t.d).c>jB(t.g).c?(t.e+=t.d.c,ppt(t.g)):(t.i+=zU(t.g),t.e+=zU(t.d),ppt(t.g),ppt(t.d));}function qTt(t,e,n){var i,r,a,o;for(a=e.q,o=e.r,new UJ((A6(),kve),e,a,1),new UJ(kve,a,o,1),r=new Kd(n);r.a<r.c.c.length;)(i=$z(Q1(r),112))!=a&&i!=e&&i!=o&&(pHt(t.a,i,e),pHt(t.a,i,o));}function KTt(t,n,i,r){t.a.d=e.Math.min(n,i),t.a.a=e.Math.max(n,r)-t.a.d,n<i?(t.b=.5*(n+i),t.g=R3t*t.b+.9*n,t.f=R3t*t.b+.9*i):(t.b=.5*(n+r),t.g=R3t*t.b+.9*r,t.f=R3t*t.b+.9*n);}function YTt(){function t(){return (new Date).getTime()}TWt={},!Array.isArray&&(Array.isArray=function(t){return "[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=t);}function WTt(t,e){var n,i;i=$z(yTt(e,(zYt(),twe)),98),uct(e,(uWt(),yfe),i),(n=e.e)&&(VE(new PU(null,new f1(n.a,16)),new Pg(t)),VE(ftt(new PU(null,new f1(n.b,16)),new ye),new Bg(t)));}function XTt(t){var n,i,r,a;if(gO($z(yTt(t.b,(zYt(),Gpe)),103)))return 0;for(n=0,r=new Kd(t.a);r.a<r.c.c.length;)(i=$z(Q1(r),10)).k==(oCt(),Cse)&&(a=i.o.a,n=e.Math.max(n,a));return n}function VTt(t){switch($z(yTt(t,(zYt(),mbe)),163).g){case 1:uct(t,mbe,(_dt(),$fe));break;case 2:uct(t,mbe,(_dt(),Ffe));break;case 3:uct(t,mbe,(_dt(),Rfe));break;case 4:uct(t,mbe,(_dt(),jfe));}}function ZTt(){ZTt=I,ihe=new IS(XJt,0),the=new IS(rQt,1),rhe=new IS(aQt,2),nhe=new IS("LEFT_RIGHT_CONSTRAINT_LOCKING",3),ehe=new IS("LEFT_RIGHT_CONNECTION_LOCKING",4),Jle=new IS(H1t,5);}function QTt(t,n,i){var r,a,o,s,c,u,l;c=i.a/2,o=i.b/2,u=1,l=1,(r=e.Math.abs(n.a-t.a))>c&&(u=c/r),(a=e.Math.abs(n.b-t.b))>o&&(l=o/a),s=e.Math.min(u,l),t.a+=s*(n.a-t.a),t.b+=s*(n.b-t.b);}function JTt(t,e,n,i,r){var a,o;for(o=!1,a=$z(DU(n.b,0),33);uzt(t,e,a,i,r)&&(o=!0,r_t(n,a),0!=n.b.c.length);)a=$z(DU(n.b,0),33);return 0==n.b.c.length&&_xt(n.j,n),o&&Umt(e.q),o}function tCt(t,e){var n,i,r,a;if(xBt(),e.b<2)return !1;for(i=n=$z(h3(a=cwt(e,0)),8);a.b!=a.d.c;){if(rNt(t,i,r=$z(h3(a),8)))return !0;i=r;}return !!rNt(t,i,n)}function eCt(t,e,n,i){return 0==n?(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),$j(t.o,e,i)):$z(eet($z(mot(t,16),26)||t.zh(),n),66).Nj().Rj(t,lbt(t),n-hY(t.zh()),e,i)}function nCt(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=$z(t.sb,49).ih(t,1,$Ie,n)),e&&(n=$z(e,49).gh(t,1,$Ie,n)),(n=xht(t,e,n))&&n.Fi()):4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,4,e,e));}function iCt(t,e){var n,i;if(!e)throw Fw(new tx("All edge sections need an end point."));n=Bnt(e,"x"),_nt(new Bb(t).a,(mW(n),n)),i=Bnt(e,"y"),Mnt(new Rb(t).a,(mW(i),i));}function rCt(t,e){var n,i;if(!e)throw Fw(new tx("All edge sections need a start point."));n=Bnt(e,"x"),Ant(new Db(t).a,(mW(n),n)),i=Bnt(e,"y"),Int(new Nb(t).a,(mW(i),i));}function aCt(t,e){var n,i,r,a,o;for(i=0,a=but(t).length;i<a;++i)wTt(e);for(o=!Wne&&t.e?Wne?null:t.d:null;o;){for(n=0,r=but(o).length;n<r;++n)wTt(e);o=!Wne&&o.e?Wne?null:o.d:null;}}function oCt(){oCt=I,Cse=new VC("NORMAL",0),Tse=new VC("LONG_EDGE",1),_se=new VC("EXTERNAL_PORT",2),Sse=new VC("NORTH_SOUTH_PORT",3),Ese=new VC("LABEL",4),kse=new VC("BREAKING_POINT",5);}function sCt(t){var e,n,i,r;if(e=!1,OP(t,(uWt(),Uhe)))for(n=$z(yTt(t,Uhe),83),r=new Kd(t.j);r.a<r.c.c.length;)ZLt(i=$z(Q1(r),11))&&(e||(nMt(bW(t)),e=!0),lwt($z(n.xc(i),306)));}function cCt(t,e,n){var i;MEt(n,"Self-Loop routing",1),i=Wft(e),eI(yTt(e,(C6(),kTe))),VE(IX(MX(MX(ftt(new PU(null,new f1(e.b,16)),new qi),new Ki),new Yi),new Wi),new tS(t,i)),zCt(n);}function uCt(t){var e,n,i;return i=IEt(t),null!=t.e&&MH(i,J6t,t.e),!!t.k&&MH(i,"type",dP(t.k)),!K_(t.j)&&(n=new Cf,net(i,D6t,n),e=new iw(n),t5(t.j,e)),i}function lCt(t){var e,n,i,r;for(r=DY((hit(t.gc(),"size"),new Sx),123),i=!0,n=lq(t).Kc();n.Ob();)e=$z(n.Pb(),42),i||(r.a+=$Wt),i=!1,aI(DY(aI(r,e.cd()),61),e.dd());return (r.a+="}",r).a}function hCt(t,e){var n,i,r;return (e&=63)<22?(n=t.l<<e,i=t.m<<e|t.l>>22-e,r=t.h<<e|t.m>>22-e):e<44?(n=0,i=t.l<<e-22,r=t.m<<e-22|t.l>>44-e):(n=0,i=0,r=t.l<<e-44),_L(n&TVt,i&TVt,r&CVt)}function fCt(t){if(null==mee&&(mee=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!mee.test(t))throw Fw(new _x(PVt+t+'"'));return parseFloat(t)}function dCt(t){var e,n,i,r;for(e=new Lw,bK(n=D8(MNe,QZt,25,t.a.c.length,16,1),n.length),r=new Kd(t.a);r.a<r.c.c.length;)n[(i=$z(Q1(r),121)).d]||(e.c[e.c.length]=i,Ubt(t,i,n));return e}function gCt(t,e){var n,i,r,a;for(a=e.b.j,t.a=D8(ANe,uVt,25,a.c.length,15,1),r=0,i=0;i<a.c.length;i++)l1(i,a.c.length),0==(n=$z(a.c[i],11)).e.c.length&&0==n.g.c.length?r+=1:r+=3,t.a[i]=r;}function pCt(){pCt=I,Nle=new SS("ALWAYS_UP",0),Dle=new SS("ALWAYS_DOWN",1),Ble=new SS("DIRECTION_UP",2),Ple=new SS("DIRECTION_DOWN",3),jle=new SS("SMART_UP",4),Rle=new SS("SMART_DOWN",5);}function bCt(t,e){if(t<0||e<0)throw Fw(new Rv("k and n must be positive"));if(e>t)throw Fw(new Rv("k must be smaller than n"));return 0==e||e==t?1:0==t?0:Ekt(t)/(Ekt(e)*Ekt(t-e))}function wCt(t,e){var n,i,r,a;for(n=new AO(t);null!=n.g||n.c?null==n.g||0!=n.i&&$z(n.g[n.i-1],47).Ob():JQ(n);)if(iD(a=$z(aDt(n),56),160))for(i=$z(a,160),r=0;r<e.length;r++)e[r].og(i);}function yCt(t){var e;return 64&t.Db?Vft(t):((e=new uN(Vft(t))).a+=" (height: ",b_(e,t.f),e.a+=", width: ",b_(e,t.g),e.a+=", x: ",b_(e,t.i),e.a+=", y: ",b_(e,t.j),e.a+=")",e.a)}function mCt(t){var e,n,i,r,a,o;for(e=new b4,r=0,a=(i=t).length;r<a;++r)if(null!=Zbt(e,o=yY((n=i[r]).cd()),yY(n.dd())))throw Fw(new Rv("duplicate key: "+o));this.b=(EV(),new qd(e));}function vCt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],h6(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function xCt(){xCt=I,Btt(),Sae=new II(sJt,Aae=Pae),nft(1),Cae=new II(cJt,nft(300)),nft(0),Oae=new II(uJt,nft(0)),Lae=new II(lJt,hJt),Mae=new II(fJt,5),Dae=Pae,Iae=Nae;}function kCt(t,e){var n,i,r,a;for(i=(1==e?Koe:qoe).a.ec().Kc();i.Ob();)for(n=$z(i.Pb(),103),a=$z(c6(t.f.c,n),21).Kc();a.Ob();)r=$z(a.Pb(),46),Kz(t.b.b,$z(r.b,81)),Kz(t.b.a,$z(r.b,81).d);}function _Ct(t,e){var n;if(null!=e&&!t.c.Yj().wj(e))throw n=iD(e,56)?$z(e,56).Tg().zb:Qk(tut(e)),Fw(new Bv(i6t+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}function ECt(t,e,n){var i,r;for(r=new _2(t.b,0);r.b<r.d.gc();)TP(r.b<r.d.gc()),HM(yTt(i=$z(r.d.Xb(r.c=r.b++),70),(uWt(),bfe)))===HM(e)&&(MSt(i.n,bW(t.c.i),n),uW(r),Kz(e.b,i));}function TCt(t,e){if(e.a)switch($z(yTt(e.b,(uWt(),yfe)),98).g){case 0:case 1:h_t(e);case 2:VE(new PU(null,new f1(e.d,16)),new Di),sOt(t.a,e);}else VE(new PU(null,new f1(e.d,16)),new Di);}function CCt(t){var n,i;return i=e.Math.sqrt((null==t.k&&(t.k=Yrt(t,new _a)),Hv(t.k)/(t.b*(null==t.g&&(t.g=Krt(t,new ka)),Hv(t.g))))),n=dG(lot(e.Math.round(i))),n=e.Math.min(n,t.f)}function SCt(){pat(),OR.call(this),this.j=(vKt(),TMe),this.a=new Hk,new um,this.f=(hit(2,IXt),new V6(2)),this.e=(hit(4,IXt),new V6(4)),this.g=(hit(4,IXt),new V6(4)),this.b=new cS(this.e,this.g);}function ACt(t,e){var n;return !zv(kB(yTt(e,(uWt(),Cfe))))&&(n=e.c.i,(t!=(_dt(),Rfe)||n.k!=(oCt(),Ese))&&$z(yTt(n,(zYt(),mbe)),163)!=jfe)}function MCt(t,e){var n;return !zv(kB(yTt(e,(uWt(),Cfe))))&&(n=e.d.i,(t!=(_dt(),$fe)||n.k!=(oCt(),Ese))&&$z(yTt(n,(zYt(),mbe)),163)!=Ffe)}function ICt(t,e){var n,i,r,a,o,s,c;for(o=t.d,c=t.o,s=new GX(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),r=0,a=(i=e).length;r<a;++r)(n=i[r])&&SSt(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b;}function OCt(){OCt=I,eEe=new _A("CENTER_DISTANCE",0),nEe=new _A("CIRCLE_UNDERLAP",1),aEe=new _A("RECTANGLE_UNDERLAP",2),iEe=new _A("INVERTED_OVERLAP",3),rEe=new _A("MINIMUM_ROOT_DISTANCE",4);}function LCt(t){var e,n,i,r;if(RBt(),null==t)return null;for(i=t.length,e=D8(SNe,YXt,25,2*i,15,1),n=0;n<i;n++)(r=t[n])<0&&(r+=256),e[2*n]=WDe[r>>4],e[2*n+1]=WDe[15&r];return Fpt(e,0,e.length)}function DCt(t){var e;switch(QW(),t.c.length){case 0:return Fte;case 1:return SH((e=$z(ZAt(new Kd(t)),42)).cd(),e.dd());default:return new cv($z(Xbt(t,D8(zte,vXt,42,t.c.length,0,1)),165))}}function NCt(t){var e,n,i,r,a;for(e=new Ow,n=new Ow,d3(e,t),d3(n,t);n.b!=n.c;)for(a=new Kd($z(dK(n),37).a);a.a<a.c.c.length;)(r=$z(Q1(a),10)).e&&(d3(e,i=r.e),d3(n,i));return e}function PCt(t,e){switch(e.g){case 1:return Bz(t.j,(pat(),Dse));case 2:return Bz(t.j,(pat(),Ose));case 3:return Bz(t.j,(pat(),Pse));case 4:return Bz(t.j,(pat(),Bse));default:return EV(),EV(),cne}}function BCt(t,e){var n,i,r;n=sH(e,t.e),i=$z(PY(t.g.f,n),19).a,r=t.a.c.length-1,0!=t.a.c.length&&$z(DU(t.a,r),287).c==i?(++$z(DU(t.a,r),287).a,++$z(DU(t.a,r),287).b):Kz(t.a,new HP(i));}function RCt(t,e,n){var i,r;return 0!=(i=TRt(t,e,n))?i:OP(e,(uWt(),ffe))&&OP(n,ffe)?((r=xL($z(yTt(e,ffe),19).a,$z(yTt(n,ffe),19).a))<0?ojt(t,e,n):r>0&&ojt(t,n,e),r):AIt(t,e,n)}function jCt(t,e,n){var i,r,a,o;if(0!=e.b){for(i=new XE,o=cwt(e,0);o.b!=o.d.c;)$rt(i,Nst(a=$z(h3(o),86))),(r=a.e).a=$z(yTt(a,(HUt(),gxe)),19).a,r.b=$z(yTt(a,pxe),19).a;jCt(t,i,yat(n,i.b/t.a|0));}}function $Ct(t,e){var n,i,r,a,o;if(t.e<=e)return t.g;if(U1(t,t.g,e))return t.g;for(a=t.r,i=t.g,o=t.r,r=(a-i)/2+i;i+1<a;)(n=rHt(t,r,!1)).b<=r&&n.a<=e?(o=r,a=r):i=r,r=(a-i)/2+i;return o}function FCt(t,e,n){MEt(n,"Recursive Graph Layout",uBt(t,e,!0)),wCt(e,Cst(Hx(QEe,1),zWt,527,0,[new Mh])),T8(e,(cWt(),wSe))||wCt(e,Cst(Hx(QEe,1),zWt,527,0,[new ws])),hYt(t,e,null,n),zCt(n);}function zCt(t){var e;if(null==t.p)throw Fw(new jv("The task has not begun yet."));t.b||(t.k&&(IE(),e=rdt(lot(Date.now()),WXt),t.q=1e-9*v2(ndt(e,t.o))),t.c<t.r&&Hit(t,t.r-t.c),t.b=!0);}function HCt(t){var e,n,i;for(NH(i=new mm,new DA(t.j,t.k)),n=new MD((!t.a&&(t.a=new ID(LIe,t,5)),t.a));n.e!=n.i.gc();)NH(i,new DA((e=$z(vwt(n),469)).a,e.b));return NH(i,new DA(t.b,t.c)),i}function UCt(t,e,n,i,r){var a,o,s,c;if(r)for(c=((a=new cq(r.a.length)).b-a.a)*a.c<0?(tC(),kNe):new qD(a);c.Ob();)s=D2(r,$z(c.Pb(),19).a),P$t((o=new cV(t,e,n,i)).a,o.b,o.c,o.d,s);}function GCt(t,e){var n;if(HM(t)===HM(e))return !0;if(iD(e,21)){n=$z(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(t){if(iD(t=hst(t),173)||iD(t,205))return !1;throw Fw(t)}}return !1}function qCt(t,n){var i;Kz(t.d,n),i=n.rf(),t.c?(t.e.a=e.Math.max(t.e.a,i.a),t.e.b+=i.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=i.a,t.e.b=e.Math.max(t.e.b,i.b),t.d.c.length>1&&(t.e.a+=t.a));}function KCt(t){var e,n,i,r;switch(e=(r=t.i).b,i=r.j,n=r.g,r.a.g){case 0:n.a=(t.g.b.o.a-i.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-i.a;break;case 3:n.b=e.d.n.b+e.d.a.b;}}function YCt(t,e,n,i,r){if(i<e||r<n)throw Fw(new Rv("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>i&&(t.a=i),t.b<n?t.b=n:t.b>r&&(t.b=r),t}function WCt(t){if(iD(t,149))return ENt($z(t,149));if(iD(t,229))return Qdt($z(t,229));if(iD(t,23))return uCt($z(t,23));throw Fw(new Rv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[t])))))}function XCt(t,e,n,i,r){var a,o,s;for(a=!0,o=0;o<i;o++)a&=0==n[o];if(0==r)aHt(n,i,t,0,e),o=e;else {for(s=32-r,a&=!(n[o]<<s),o=0;o<e-1;o++)t[o]=n[o+i]>>>r|n[o+i+1]<<s;t[o]=n[o+i]>>>r,++o;}return a}function VCt(t,e,n,i){var r,a;if(e.k==(oCt(),Tse))for(a=new oq(ZD(ldt(e).a.Kc(),new l));gOt(a);)if((r=$z(G5(a),17)).c.i.k==Tse&&t.c.a[r.c.i.c.p]==i&&t.c.a[e.c.p]==n)return !0;return !1}function ZCt(t,e){var n,i,r,a;return e&=63,n=t.h&CVt,e<22?(a=n>>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),_L(i&TVt,r&TVt,a&CVt)}function QCt(t,e,n,i){var r;this.b=i,this.e=t==(sit(),Mme),r=e[n],this.d=mU(MNe,[cXt,QZt],[177,25],16,[r.length,r.length],2),this.a=mU(ANe,[cXt,uVt],[48,25],15,[r.length,r.length],2),this.c=new G_t(e,n);}function JCt(t){var e,n,i;for(t.k=new o1((vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length,t.j.c.length),i=new Kd(t.j);i.a<i.c.c.length;)e=(n=$z(Q1(i),113)).d.j,ZMt(t.k,e,n);t.e=nNt(gq(t.k));}function tSt(t,e){var n,i,r;kK(t.d,e),n=new ko,YW(t.c,e,n),n.f=Clt(e.c),n.a=Clt(e.d),n.d=(pPt(),(r=e.c.i.k)==(oCt(),Cse)||r==kse),n.e=(i=e.d.i.k)==Cse||i==kse,n.b=e.c.j==(vKt(),CMe),n.c=e.d.j==oMe;}function eSt(t){var e,n,i,r,a;for(a=PWt,r=PWt,i=new Kd(vdt(t));i.a<i.c.c.length;)e=(n=$z(Q1(i),213)).e.e-n.d.e,n.e==t&&e<r?r=e:e<a&&(a=e);return r==PWt&&(r=-1),a==PWt&&(a=-1),new nM(nft(r),nft(a))}function nSt(t,n){var i,r,a;return a=QQt,Hwt(),r=Zre,a=e.Math.abs(t.b),(i=e.Math.abs(n.f-t.b))<a&&(a=i,r=Qre),(i=e.Math.abs(t.a))<a&&(a=i,r=Jre),(i=e.Math.abs(n.g-t.a))<a&&(a=i,r=Vre),r}function iSt(t,e){var n,i,r;for(n=e.a.o.a,r=new Ed(new s1(bW(e.a).b,e.c,e.f+1));r.b<r.d.gc();)if(TP(r.b<r.d.gc()),(i=$z(r.d.Xb(r.c=r.b++),29)).c.a>=n)return uSt(t,e,i.p),!0;return !1}function rSt(t){var e;return 64&t.Db?yCt(t):(e=new lN(Q5t),!t.a||oI(oI((e.a+=' "',e),t.a),'"'),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function aSt(t,e,n){var i,r,a,o,s;for(s=aPt(t.e.Tg(),e),r=$z(t.g,119),i=0,o=0;o<t.i;++o)if(a=r[o],s.rl(a.ak())){if(i==n)return lBt(t,o),ZT(),$z(e,66).Oj()?a:a.dd();++i;}throw Fw(new Mv(e7t+n+s8t+i))}function oSt(t){var e,n,i;if(2==(e=t.c)||7==e||1==e)return dWt(),dWt(),oNe;for(i=MYt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(dWt(),dWt(),tUt(n=new nL(1),i),i=n),tUt(n,MYt(t));return i}function sSt(t,e,n){return t<0||t>n?gAt(t,n,"start index"):e<0||e>n?gAt(e,n,"end index"):ORt("end index (%s) must not be less than start index (%s)",Cst(Hx(Ite,1),zWt,1,5,[nft(e),nft(t)]))}function cSt(t,e){var n,i,r,a;for(i=0,r=t.length;i<r;i++){a=t[i];try{a[1]?a[0].jm()&&(e=kG(e,a)):a[0].jm();}catch(t){if(!iD(t=hst(t),78))throw Fw(t);n=t,Nx(),yZ(iD(n,477)?$z(n,477).ae():n);}}return e}function uSt(t,n,i){var r,a;for(i!=n.c+n.b.gc()&&dHt(n.a,not(n,i-n.c)),a=n.a.c.p,t.a[a]=e.Math.max(t.a[a],n.a.o.a),r=$z(yTt(n.a,(uWt(),Tfe)),15).Kc();r.Ob();)uct($z(r.Pb(),70),Jce,(cN(),!0));}function lSt(t,n){var i,r,a;a=HNt(n),uct(n,(uWt(),lfe),a),a&&(r=PWt,MZ(t.f,a)&&(r=$z(zM(MZ(t.f,a)),19).a),zv(kB(yTt(i=$z(DU(n.g,0),17),Cfe)))||YW(t,a,nft(e.Math.min($z(yTt(i,ffe),19).a,r))));}function hSt(t,e,n){var i,r,a,o;for(e.p=-1,o=Ngt(e,(ait(),zye)).Kc();o.Ob();)for(r=new Kd($z(o.Pb(),11).g);r.a<r.c.c.length;)e!=(a=(i=$z(Q1(r),17)).d.i)&&(a.p<0?n.Fc(i):a.p>0&&hSt(t,a,n));e.p=0;}function fSt(t){var e;this.c=new XE,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 Xj(e=$z(Yk(vTe),9),$z(ER(e,e.length),9),0),this.g=t.f;}function dSt(t){var e,n,i,r;for(e=DY(oI(new lN("Predicates."),"and"),40),n=!0,r=new Ed(t);r.b<r.d.gc();)TP(r.b<r.d.gc()),i=r.d.Xb(r.c=r.b++),n||(e.a+=","),e.a+=""+i,n=!1;return (e.a+=")",e).a}function gSt(t,e,n){var i,r,a;if(!(n<=e+2))for(r=(n-e)/2|0,i=0;i<r;++i)l1(e+i,t.c.length),a=$z(t.c[e+i],11),i5(t,e+i,(l1(n-i-1,t.c.length),$z(t.c[n-i-1],11))),l1(n-i-1,t.c.length),t.c[n-i-1]=a;}function pSt(t,e,n){var i,r,a,o,s,c,u;s=(a=t.d.p).e,c=a.r,t.g=new Wj(c),i=(o=t.d.o.c.p)>0?s[o-1]:D8(Ase,a1t,10,0,0,1),r=s[o],u=o<s.length-1?s[o+1]:D8(Ase,a1t,10,0,0,1),e==n-1?aJ(t.g,r,u):aJ(t.g,i,r);}function bSt(t){var e;this.j=new Lw,this.f=new Py,this.b=new Xj(e=$z(Yk(jMe),9),$z(ER(e,e.length),9),0),this.d=D8(ANe,uVt,25,(vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length,15,1),this.g=t;}function wSt(t,e){var n,i,r;if(0!=e.c.length){for(n=_Tt(t,e),r=!1;!n;)kLt(t,e,!0),r=!0,n=_Tt(t,e);r&&kLt(t,e,!1),i=Pst(e),t.b&&t.b.lg(i),t.a=Olt(t,(l1(0,e.c.length),$z(e.c[0],33))),wSt(t,i);}}function ySt(t,e){var n,i,r;if(i=eet(t.Tg(),e),(n=e-t.Ah())<0){if(!i)throw Fw(new Rv(s6t+e+c6t));if(!i.Ij())throw Fw(new Rv(i6t+i.ne()+r6t));(r=t.Yg(i))>=0?t.Bh(r):rMt(t,i);}else Hht(t,n,i);}function mSt(t){var e,n;if(n=null,e=!1,iD(t,204)&&(e=!0,n=$z(t,204).a),e||iD(t,258)&&(e=!0,n=""+$z(t,258).a),e||iD(t,483)&&(e=!0,n=""+$z(t,483).a),!e)throw Fw(new Ov(z6t));return n}function vSt(t,e){var n,i;if(t.f){for(;e.Ob();)if(iD(i=(n=$z(e.Pb(),72)).ak(),99)&&$z(i,18).Bb&u6t&&(!t.e||i.Gj()!=OIe||0!=i.aj())&&null!=n.dd())return e.Ub(),!0;return !1}return e.Ob()}function xSt(t,e){var n,i;if(t.f){for(;e.Sb();)if(iD(i=(n=$z(e.Ub(),72)).ak(),99)&&$z(i,18).Bb&u6t&&(!t.e||i.Gj()!=OIe||0!=i.aj())&&null!=n.dd())return e.Pb(),!0;return !1}return e.Sb()}function kSt(t,e,n){var i,r,a,o,s,c;for(c=aPt(t.e.Tg(),e),i=0,s=t.i,r=$z(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())){if(n==i)return o;++i,s=o+1;}if(n==i)return s;throw Fw(new Mv(e7t+n+s8t+i))}function _St(t,n){var i,r,a;if(0==t.f.c.length)return null;for(a=new hO,i=new Kd(t.f);i.a<i.c.c.length;)r=$z(Q1(i),70).o,a.b=e.Math.max(a.b,r.a),a.a+=r.b;return a.a+=(t.f.c.length-1)*n,a}function ESt(t,e,n){var i,r,a;for(r=new oq(ZD(udt(n).a.Kc(),new l));gOt(r);)h5(i=$z(G5(r),17))||!h5(i)&&i.c.i.c==i.d.i.c||(a=GDt(t,i,n,new am)).c.length>1&&(e.c[e.c.length]=a);}function TSt(t){var e,n,i;for($rt(n=new XE,t.o),i=new om;0!=n.b;)YKt(t,e=$z(0==n.b?null:(TP(0!=n.b),Iet(n,n.a.a)),508),!0)&&Kz(i.a,e);for(;0!=i.a.c.length;)YKt(t,e=$z(tlt(i),508),!1);}function CSt(){CSt=I,mTe=new IA(uQt,0),fTe=new IA("BOOLEAN",1),bTe=new IA("INT",2),yTe=new IA("STRING",3),dTe=new IA("DOUBLE",4),gTe=new IA("ENUM",5),pTe=new IA("ENUMSET",6),wTe=new IA("OBJECT",7);}function SSt(t,n){var i,r,a,o,s;r=e.Math.min(t.c,n.c),o=e.Math.min(t.d,n.d),(a=e.Math.max(t.c+t.b,n.c+n.b))<r&&(i=r,r=a,a=i),(s=e.Math.max(t.d+t.a,n.d+n.a))<o&&(i=o,o=s,s=i),DH(t,r,o,a-r,s-o);}function ASt(){ASt=I,XLe=Cst(Hx(Xee,1),cXt,2,6,[d9t,g9t,p9t,b9t,w9t,y9t,J6t]),WLe=Cst(Hx(Xee,1),cXt,2,6,[d9t,"empty",g9t,R7t,"elementOnly"]),ZLe=Cst(Hx(Xee,1),cXt,2,6,[d9t,"preserve","replace",m9t]),VLe=new EH;}function MSt(t,e,n){var i,r,a;if(e!=n){i=e;do{GR(t,i.c),(r=i.e)&&(RP(t,(a=i.d).b,a.d),GR(t,r.n),i=bW(r));}while(r);i=n;do{qR(t,i.c),(r=i.e)&&($P(t,(a=i.d).b,a.d),qR(t,r.n),i=bW(r));}while(r)}}function ISt(t,e,n,i){var r,a,o,s,c;if(i.f.c+i.g.c==0)for(s=0,c=(o=t.a[t.c]).length;s<c;++s)YW(i,a=o[s],new vat(t,a,n));return (r=$z(zM(MZ(i.f,e)),663)).b=0,r.c=r.f,0==r.c||kd($z(DU(r.a,r.b),287)),r}function OSt(){OSt=I,Zue=new vS("MEDIAN_LAYER",0),Jue=new vS("TAIL_LAYER",1),Vue=new vS("HEAD_LAYER",2),Que=new vS("SPACE_EFFICIENT_LAYER",3),tle=new vS("WIDEST_LAYER",4),Xue=new vS("CENTER_LAYER",5);}function LSt(t){switch(t.g){case 0:case 1:case 2:return vKt(),sMe;case 3:case 4:case 5:return vKt(),EMe;case 6:case 7:case 8:return vKt(),CMe;case 9:case 10:case 11:return vKt(),oMe;default:return vKt(),TMe}}function DSt(t,e){var n;return 0!=t.c.length&&(n=tpt((l1(0,t.c.length),$z(t.c[0],17)).c.i),$J(),n==(fyt(),uye)||n==cye||o5(IX(new PU(null,new f1(t,16)),new Fa),new eb(e)))}function NSt(t,e,n){var i,r,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(i=n)&&(i=new T6),NH(i.b,e),a=t.a[e.g].Kc();a.Ob();)(r=$z(a.Pb(),188)).b!=e&&NSt(t,r.b,i),r.c!=e&&NSt(t,r.c,i),NH(i.a,r);return i}return null}function PSt(){PSt=I,Wve=new lA("ROOT_PROC",0),Gve=new lA("FAN_PROC",1),Kve=new lA("NEIGHBORS_PROC",2),qve=new lA("LEVEL_HEIGHT",3),Yve=new lA("NODE_POSITION_PROC",4),Uve=new lA("DETREEIFYING_PROC",5);}function BSt(t,e){if(iD(e,239))return UO(t,$z(e,33));if(iD(e,186))return GO(t,$z(e,118));if(iD(e,439))return HO(t,$z(e,202));throw Fw(new Rv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[e])))))}function RSt(t,e,n){var i,r;if(this.f=t,f6(n,r=(i=$z(PY(t.b,e),283))?i.a:0),n>=(r/2|0))for(this.e=i?i.c:null,this.d=r;n++<r;)kJ(this);else for(this.c=i?i.b:null;n-- >0;)xJ(this);this.b=e,this.a=null;}function jSt(t,e){var n,i;e.a?GNt(t,e):(!!(n=$z(mj(t.b,e.b),57))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Fc(e.b),!!(i=$z(yj(t.b,e.b),57))&&t.a[i.f]==e.b&&!!i.a&&i.a!=e.b.a&&e.b.c.Fc(i),_N(t.b,e.b));}function $St(t,e){var n,i;if(n=$z(oX(t.b,e),124),$z($z(c6(t.r,e),21),84).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((ypt(),RMe))&&mRt(t,e),i=Kwt(t,e),CBt(t,e)==(rwt(),$Ae)&&(i+=2*t.w),n.a.a=i;}function FSt(t,e){var n,i;if(n=$z(oX(t.b,e),124),$z($z(c6(t.r,e),21),84).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((ypt(),RMe))&&vRt(t,e),i=Ywt(t,e),CBt(t,e)==(rwt(),$Ae)&&(i+=2*t.w),n.a.b=i;}function zSt(t,e){var n,i,r,a;for(a=new Lw,i=new Kd(e);i.a<i.c.c.length;)Kz(a,new PC(n=$z(Q1(i),65),!0)),Kz(a,new PC(n,!1));wv((r=new cZ(t)).a.a),t2(a,t.b,new Vv(Cst(Hx(oie,1),zWt,679,0,[r])));}function HSt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;return s=t.a,h=t.b,c=e.a,f=e.b,u=n.a,d=n.b,new DA(((a=s*f-h*c)*(u-(l=i.a))-(o=u*(g=i.b)-d*l)*(s-c))/(r=(s-c)*(d-g)-(h-f)*(u-l)),(a*(d-g)-o*(h-f))/r)}function USt(t,e){var n,i,r;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,i=new oq(ZD(hdt(e).a.Kc(),new l));gOt(i);)h5(n=$z(G5(i),17))||(r=n.d.i,t.a[r.p]?Kz(t.b,n):USt(t,r));t.a[e.p]=!1;}}function GSt(t,e,n){var i;switch(i=0,$z(yTt(e,(zYt(),mbe)),163).g){case 2:i=2*-n+t.a,++t.a;break;case 1:i=-n;break;case 3:i=n;break;case 4:i=2*n+t.b,++t.b;}return OP(e,(uWt(),ffe))&&(i+=$z(yTt(e,ffe),19).a),i}function qSt(t,e,n){var i,r,a;for(n.zc(e,t),Kz(t.n,e),a=t.p.eg(e),e.j==t.p.fg()?Mdt(t.e,a):Mdt(t.j,a),nY(t),r=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(e),new Hg(e)])));gOt(r);)i=$z(G5(r),11),n._b(i)||qSt(t,i,n);}function KSt(t){var e,n;return $z(QOt(t,(cWt(),BCe)),21).Hc((ypt(),NMe))?(n=$z(QOt(t,zCe),21),e=new fO($z(QOt(t,$Ce),8)),n.Hc((Jjt(),HMe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Hk}function YSt(t){var e,n,i;if(!t.b){for(i=new Ac,n=new rP(Bzt(t));n.e!=n.i.gc();)(e=$z(xwt(n),18)).Bb&u6t&&u7(i,e);rlt(i),t.b=new LI(($z(Yet(WV((WY(),QOe).o),8),18),i.i),i.g),T5(t).b&=-9;}return t.b}function WSt(t,e){var n,i,r,a,o,s;o=$z(kmt(gq(e.k),D8(jMe,VJt,61,2,0,1)),122),Qmt(t,s=e.g,n=o3(e,o[0]),i=a3(e,o[1]))<=Qmt(t,s,r=o3(e,o[1]),a=a3(e,o[0]))?(e.a=n,e.c=i):(e.a=r,e.c=a);}function XSt(t,e,n){var i,r,a;for(MEt(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,r=null,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(a=$z(h3(i),86),(HUt(),dxe))))&&(r=a);r&&LBt(t,new hb(r),n),zCt(n);}function VSt(t){var e,n,i,r;return BHt(),e=-1==(i=HI(t,VEt(35)))?t:t.substr(0,i),n=-1==i?null:t.substr(i+1),(r=Y3(vOe,e))?null!=n&&(r=Sut(r,(mW(n),n))):(r=YYt(e),r5(vOe,e,r),null!=n&&(r=Sut(r,n))),r}function ZSt(t){var e,n,i,r,a,o,s;if(EV(),iD(t,54))for(a=0,r=t.gc()-1;a<r;++a,--r)e=t.Xb(a),t._c(a,t.Xb(r)),t._c(r,e);else for(n=t.Yc(),o=t.Zc(t.gc());n.Tb()<o.Vb();)i=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(i);}function QSt(t,e){var n,i,r;MEt(e,"End label pre-processing",1),n=Hv(_B(yTt(t,(zYt(),vwe)))),i=Hv(_B(yTt(t,Ewe))),r=gO($z(yTt(t,Gpe),103)),VE(ftt(new PU(null,new f1(t.b,16)),new ln),new N$(n,i,r)),zCt(e);}function JSt(t,e){var n,i,r,a,o,s;for(s=0,d3(a=new Ow,e);a.b!=a.c;)for(s+=cvt((o=$z(dK(a),214)).d,o.e),r=new Kd(o.b);r.a<r.c.c.length;)i=$z(Q1(r),37),(n=$z(DU(t.b,i.p),214)).s||(s+=JSt(t,n));return s}function tAt(t,n,i){var r,a;jot(this),n==(dQ(),Ove)?kK(this.r,t.c):kK(this.w,t.c),kK(i==Ove?this.r:this.w,t.d),tSt(this,t),KTt(this,r=Clt(t.c),a=Clt(t.d),a),this.o=(pPt(),e.Math.abs(r-a)<.2);}function eAt(t,e,n){var i,r,a,o,s;if(null!=(o=$z(mot(t.a,8),1936)))for(r=0,a=o.length;r<a;++r)null.jm();i=n,1&t.a.Db||(s=new aW(t,n,e),i.ui(s)),iD(i,672)?$z(i,672).wi(t.a):i.ti()==t.a&&i.vi(null);}function nAt(){var t;return VDe?$z(OLt((KT(),HOe),T9t),1945):(cKt(),t=$z(iD(EQ((KT(),HOe),T9t),586)?EQ(HOe,T9t):new UW,586),VDe=!0,pYt(t),bWt(t),YW((YT(),VOe),t,new ju),_vt(t),wJ(HOe,T9t,t),t)}function iAt(t,e,n,i){var r;return (r=GEt(t,n,Cst(Hx(Xee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt]),e))<0&&(r=GEt(t,n,Cst(Hx(Xee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function rAt(t,e,n,i){var r;return (r=GEt(t,n,Cst(Hx(Xee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt]),e))<0&&(r=GEt(t,n,Cst(Hx(Xee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}function aAt(t){var e,n,i;for(jLt(t),i=new Lw,n=new Kd(t.a.a.b);n.a<n.c.c.length;)Kz(i,new uS(e=$z(Q1(n),81),!0)),Kz(i,new uS(e,!1));Jyt(t.c),e2(i,t.b,new Vv(Cst(Hx(Voe,1),zWt,369,0,[t.c]))),wOt(t);}function oAt(t){var e,n,i,r;for(n=new Dw,r=new Kd(t.d);r.a<r.c.c.length;)i=$z(Q1(r),181),e=$z(i.We((uWt(),Ghe)),17),MZ(n.f,e)||YW(n,e,new kV(e)),Kz($z(zM(MZ(n.f,e)),456).b,i);return new Jj(new Ad(n))}function sAt(t,e){var n,i,r,a,o;for(i=new d1(t.j.c.length),n=null,a=new Kd(t.j);a.a<a.c.c.length;)(r=$z(Q1(a),11)).j!=n&&(i.b==i.c||$Lt(i,n,e),o4(i),n=r.j),(o=yOt(r))&&f3(i,o);i.b==i.c||$Lt(i,n,e);}function cAt(t,e){var n,i;for(i=new _2(t.b,0);i.b<i.d.gc();)TP(i.b<i.d.gc()),n=$z(i.d.Xb(i.c=i.b++),70),$z(yTt(n,(zYt(),Xpe)),272)==(Bet(),GSe)&&(uW(i),Kz(e.b,n),OP(n,(uWt(),Ghe))||uct(n,Ghe,t));}function uAt(t){var n,i,r;for(n=j3(new oq(ZD(hdt(t).a.Kc(),new l))),i=new oq(ZD(ldt(t).a.Kc(),new l));gOt(i);)r=j3(new oq(ZD(hdt($z(G5(i),17).c.i).a.Kc(),new l))),n=e.Math.max(n,r);return nft(n)}function lAt(t,e,n){var i,r,a,o;for(MEt(n,"Processor arrange node",1),r=null,a=new XE,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(o=$z(h3(i),86),(HUt(),dxe))))&&(r=o);n5(a,r,a.c.b,a.c),Vqt(t,a,yat(n,1)),zCt(n);}function hAt(t,e,n){var i,r,a;i=$z(QOt(t,(cWt(),cCe)),21),r=0,a=0,e.a>n.a&&(i.Hc((d_t(),KTe))?r=(e.a-n.a)/2:i.Hc(WTe)&&(r=e.a-n.a)),e.b>n.b&&(i.Hc((d_t(),VTe))?a=(e.b-n.b)/2:i.Hc(XTe)&&(a=e.b-n.b)),hTt(t,r,a);}function fAt(t,e,n,i,r,a,o,s,c,u,l,h,f){iD(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Drt(t,n),t.f=o,Oft(t,s),Dft(t,c),Ift(t,u),Lft(t,l),Jht(t,h),Hft(t,f),Vht(t,!0),Lnt(t,r),t.ok(a),Alt(t,e),null!=i&&(t.i=null,art(t,i));}function dAt(t){var e,n;if(t.f){for(;t.n>0;){if(iD(n=(e=$z(t.k.Xb(t.n-1),72)).ak(),99)&&$z(n,18).Bb&u6t&&(!t.e||n.Gj()!=OIe||0!=n.aj())&&null!=e.dd())return !0;--t.n;}return !1}return t.n>0}function gAt(t,e,n){if(t<0)return ORt(FWt,Cst(Hx(Ite,1),zWt,1,5,[n,nft(t)]));if(e<0)throw Fw(new Rv(HWt+e));return ORt("%s (%s) must not be greater than size (%s)",Cst(Hx(Ite,1),zWt,1,5,[n,nft(t),nft(e)]))}function pAt(t,e,n,i,r,a){var o,s,c;if(i-n<7)Odt(e,n,i,a);else if(pAt(e,t,s=n+r,c=s+((o=i+r)-s>>1),-r,a),pAt(e,t,c,o,-r,a),a.ue(t[c-1],t[c])<=0)for(;n<i;)IY(e,n++,t[s++]);else Uht(t,s,c,o,e,n,i,a);}function bAt(t,e){var n,i,r;for(r=new Lw,i=new Kd(t.c.a.b);i.a<i.c.c.length;)n=$z(Q1(i),57),e.Lb(n)&&(Kz(r,new AC(n,!0)),Kz(r,new AC(n,!1)));Qyt(t.e),t2(r,t.d,new Vv(Cst(Hx(oie,1),zWt,679,0,[t.e])));}function wAt(t,e){var n,i,r,a,o,s,c;for(c=e.d,r=e.b.j,s=new Kd(c);s.a<s.c.c.length;)for(o=$z(Q1(s),101),a=D8(MNe,QZt,25,r.c.length,16,1),YW(t.b,o,a),n=o.a.d.p-1,i=o.c.d.p;n!=i;)a[n=(n+1)%r.c.length]=!0;}function yAt(t,e){for(t.r=new $ot(t.p),Vf(t.r,t),$rt(t.r.j,t.j),yV(t.j),NH(t.j,e),NH(t.r.e,e),nY(t),nY(t.r);0!=t.f.c.length;)HL($z(DU(t.f,0),129));for(;0!=t.k.c.length;)HL($z(DU(t.k,0),129));return t.r}function mAt(t,e,n){var i,r,a;if(r=eet(t.Tg(),e),(i=e-t.Ah())<0){if(!r)throw Fw(new Rv(s6t+e+c6t));if(!r.Ij())throw Fw(new Rv(i6t+r.ne()+r6t));(a=t.Yg(r))>=0?t.sh(a,n):_Dt(t,r,n);}else Ldt(t,i,r,n);}function vAt(t){var e,n,i,r;if(n=$z(t,49).qh())try{if(i=null,(e=OLt((KT(),HOe),E$t(jdt(n))))&&(r=e.rh())&&(i=r.Wk(qv(n.e))),i&&i!=t)return vAt(i)}catch(t){if(!iD(t=hst(t),60))throw Fw(t)}return t}function xAt(t,e,n){var i,r,a,o;if(o=null==e?0:t.b.se(e),0==(r=null==(i=t.a.get(o))?new Array:i).length)t.a.set(o,r);else if(a=ult(t,e,r))return a.ed(n);return IY(r,r.length,new TC(e,n)),++t.c,oZ(t.b),null}function kAt(t,e){var n;return c2(t.a),CK(t.a,(Crt(),Wxe),Wxe),CK(t.a,Xxe,Xxe),dU(n=new $2,Xxe,(Sdt(),tke)),HM(QOt(e,(qvt(),Eke)))!==HM((zut(),ske))&&dU(n,Xxe,Qxe),dU(n,Xxe,Jxe),rO(t.a,n),OUt(t.a,e)}function _At(t){if(!t)return lx(),uee;var n=t.valueOf?t.valueOf():t;if(n!==t){var i=lee[typeof n];return i?i(n):vlt(typeof n)}return t instanceof Array||t instanceof e.Array?new kf(t):new Tf(t)}function EAt(t,n,i){var r,a,o;switch(o=t.o,(a=(r=$z(oX(t.p,i),244)).i).b=TMt(r),a.a=EMt(r),a.b=e.Math.max(a.b,o.a),a.b>o.a&&!n&&(a.b=o.a),a.c=-(a.b-o.a)/2,i.g){case 1:a.d=-a.a;break;case 3:a.d=o.b;}jFt(r),UFt(r);}function TAt(t,n,i){var r,a,o;switch(o=t.o,(a=(r=$z(oX(t.p,i),244)).i).b=TMt(r),a.a=EMt(r),a.a=e.Math.max(a.a,o.b),a.a>o.b&&!n&&(a.a=o.b),a.d=-(a.a-o.b)/2,i.g){case 4:a.c=-a.b;break;case 2:a.c=o.a;}jFt(r),UFt(r);}function CAt(t,e){var n,i,r,a,o;if(!e.dc())if(r=$z(e.Xb(0),128),1!=e.gc())for(n=1;n<e.gc();)!r.j&&r.o||(a=wvt(e,n))&&(i=$z(a.a,19).a,vPt(t,r,o=$z(a.b,128),n,i,e),n=i+1,r=o);else vPt(t,r,r,1,0,e);}function SAt(t){var e,n,i,r;for(wL(r=new Jj(t.d),new qr),vBt(),e=Cst(Hx(ele,1),OXt,270,0,[$ue,Hue,jue,que,zue,Fue,Gue,Uue]),n=0,i=new Kd(r);i.a<i.c.c.length;)SIt($z(Q1(i),101),e[n%e.length]),++n;}function AAt(t,e){var n,i,r,a;if(xBt(),e.b<2)return !1;for(i=n=$z(h3(a=cwt(e,0)),8);a.b!=a.d.c;){if(r=$z(h3(a),8),!Pat(t,i)||!Pat(t,r))return !1;i=r;}return !(!Pat(t,i)||!Pat(t,n))}function MAt(t,e){var n,i,r,a,o;return n=Bnt(o=t,"x"),Q9(new zb(e).a,n),i=Bnt(o,"y"),J9(new Hb(e).a,i),r=Bnt(o,S6t),ttt(new Ub(e).a,r),a=Bnt(o,C6t),ett(new Gb(e).a,a),a}function IAt(t,e){gRt(t,e),1&t.b&&(t.a.a=null),2&t.b&&(t.a.f=null),4&t.b&&(t.a.g=null,t.a.i=null),16&t.b&&(t.a.d=null,t.a.e=null),8&t.b&&(t.a.b=null),32&t.b&&(t.a.j=null,t.a.c=null);}function OAt(t,e){var n,i;if(i=0,e.length>0)try{i=h$t(e,jXt,PWt);}catch(t){throw iD(t=hst(t),127)?Fw(new O9(t)):Fw(t)}return !t.a&&(t.a=new Ew(t)),i<(n=t.a).i&&i>=0?$z(Yet(n,i),56):null}function LAt(t,e){if(t<0)return ORt(FWt,Cst(Hx(Ite,1),zWt,1,5,["index",nft(t)]));if(e<0)throw Fw(new Rv(HWt+e));return ORt("%s (%s) must be less than size (%s)",Cst(Hx(Ite,1),zWt,1,5,["index",nft(t),nft(e)]))}function DAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lN(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function NAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lN(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function PAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lN(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function BAt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lN(a.d),rI(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function RAt(t,e){var n,i,r,a,o,s;for(n=t.b.c.length,r=DU(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(DU(t.b,o),DU(t.b,a))<0&&(s=o),i=s,!(t.a.ue(r,DU(t.b,i))<0));)i5(t.b,e,DU(t.b,i)),e=i;i5(t.b,e,r);}function jAt(t,n,i,r,a,o){var s,c,u,l,h;for(HM(t)===HM(i)&&(t=t.slice(n,n+a),n=0),u=i,c=n,l=n+a;c<l;)a=(s=e.Math.min(c+1e4,l))-c,(h=t.slice(c,s)).splice(0,0,r,o?a:0),Array.prototype.splice.apply(u,h),c=s,r+=a;}function $At(t,e,n){var i,r;return i=n.d,r=n.e,t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]&&t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]?!(t.i[i.d]<t.i[r.d]):t.i[i.d]<t.i[r.d]}function FAt(t){var e,n,i,r,a,o,s;if((i=t.a.c.length)>0)for(o=t.c.d,r=mD(qR(new DA((s=t.d.d).a,s.b),o),1/(i+1)),a=new DA(o.a,o.b),n=new Kd(t.a);n.a<n.c.c.length;)(e=$z(Q1(n),559)).d.a=a.a,e.d.b=a.b,GR(a,r);}function zAt(t,n,i){var r,a,o,s,c,u;for(u=BVt,o=new Kd(UDt(t.b));o.a<o.c.c.length;)for(a=$z(Q1(o),168),c=new Kd(UDt(n.b));c.a<c.c.c.length;)s=$z(Q1(c),168),r=Sst(a.a,a.b,s.a,s.b,i),u=e.Math.min(u,r);return u}function HAt(t,e){if(!e)throw Fw(new gy);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 UAt(t,n){var i,r;return iD(n.g,10)&&$z(n.g,10).k==(oCt(),_se)?BVt:u3(n)?e.Math.max(0,t.b/2-.5):(i=u2(n))?(r=Hv(_B(ept(i,(zYt(),Awe)))),e.Math.max(0,r/2-.5)):BVt}function GAt(t,n){var i,r;return iD(n.g,10)&&$z(n.g,10).k==(oCt(),_se)?BVt:u3(n)?e.Math.max(0,t.b/2-.5):(i=u2(n))?(r=Hv(_B(ept(i,(zYt(),Awe)))),e.Math.max(0,r/2-.5)):BVt}function qAt(t){var e,n,i,r;for(r=Lht(t.d,t.e).Kc();r.Ob();)for(i=$z(r.Pb(),11),n=new Kd(t.e==(vKt(),CMe)?i.e:i.g);n.a<n.c.c.length;)h5(e=$z(Q1(n),17))||e.c.i.c==e.d.i.c||(BCt(t,e),++t.f,++t.c);}function KAt(t,e){var n,i;if(e.dc())return EV(),EV(),cne;for(Kz(i=new Lw,nft(jXt)),n=1;n<t.f;++n)null==t.a&&dRt(t),t.a[n]&&Kz(i,nft(n));return 1==i.c.length?(EV(),EV(),cne):(Kz(i,nft(PWt)),gzt(e,i))}function YAt(t,e){var n,i,r,a,o,s;n=rxt(e,s=e.c.i.k!=(oCt(),Cse)?e.d:e.c).i,r=$z(PY(t.k,s),121),i=t.i[n.p].a,Mj(s.i)<(n.c?x9(n.c.a,n,0):-1)?(a=r,o=i):(a=i,o=r),qNt(rT(iT(aT(nT(new Fy,0),4),a),o));}function WAt(t,e,n){var i,r,a;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);r.Ob();)(a=Imt(t,vMt(dtt(n,$z(r.Pb(),19).a))))&&(!e.b&&(e.b=new cj(PIe,e,4,7)),u7(e.b,a));}function XAt(t,e,n){var i,r,a;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);r.Ob();)(a=Imt(t,vMt(dtt(n,$z(r.Pb(),19).a))))&&(!e.c&&(e.c=new cj(PIe,e,5,8)),u7(e.c,a));}function VAt(t,e,n){var i,r;i=e.a&t.f,e.b=t.b[i],t.b[i]=e,r=e.f&t.f,e.d=t.c[r],t.c[r]=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 ZAt(t){var e,n,i;if(e=t.Pb(),!t.Ob())return e;for(i=aI(oI(new Cx,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)aI((i.a+=$Wt,i),t.Pb());throw t.Ob()&&(i.a+=", ..."),i.a+=">",Fw(new Rv(i.a))}function QAt(t,e){var n;e.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=$z(PY(t.b,e.a),283)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=$z(b6(t.b,e.a),283)).a=0,++t.c),--t.d;}function JAt(t){var e,n;return n=-t.a,e=Cst(Hx(SNe,1),YXt,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&XXt,e[2]=e[2]+(n/60|0)%10&XXt,e[3]=e[3]+(n%60/10|0)&XXt,e[4]=e[4]+n%10&XXt,Fpt(e,0,e.length)}function tMt(t,e,n){var i,r;for(i=e.d,r=n.d;i.a-r.a==0&&i.b-r.b==0;)i.a+=zLt(t,26)*iZt+zLt(t,27)*rZt-.5,i.b+=zLt(t,26)*iZt+zLt(t,27)*rZt-.5,r.a+=zLt(t,26)*iZt+zLt(t,27)*rZt-.5,r.b+=zLt(t,26)*iZt+zLt(t,27)*rZt-.5;}function eMt(t){var e,n,i,r;for(t.g=new zdt($z(yY(jMe),290)),i=0,vKt(),n=sMe,e=0;e<t.j.c.length;e++)(r=$z(DU(t.j,e),11)).j!=n&&(i!=e&&wG(t.g,n,new nM(nft(i),nft(e))),n=r.j,i=e);wG(t.g,n,new nM(nft(i),nft(e)));}function nMt(t){var e,n,i,r,a;for(n=0,e=new Kd(t.b);e.a<e.c.c.length;)for(r=new Kd($z(Q1(e),29).a);r.a<r.c.c.length;)for((i=$z(Q1(r),10)).p=n++,a=new Kd(i.j);a.a<a.c.c.length;)$z(Q1(a),11).p=n++;}function iMt(t,e,n,i,r){var a,o,s,c;if(e)for(o=e.Kc();o.Ob();)for(c=rRt($z(o.Pb(),10),(ait(),zye),n).Kc();c.Ob();)s=$z(c.Pb(),11),(a=$z(zM(MZ(r.f,s)),112))||(a=new $ot(t.d),i.c[i.c.length]=a,qSt(a,s,r));}function rMt(t,e){var n,i,r;if(!(r=$Ut((ASt(),VLe),t.Tg(),e)))throw Fw(new Rv(i6t+e.ne()+r6t));ZT(),$z(r,66).Oj()||(r=Z1($9(VLe,r))),i=$z((n=t.Yg(r))>=0?t._g(n,!0,!0):rIt(t,r,!0),153),$z(i,215).ol(e);}function aMt(t){var n,i;return t>-0x800000000000&&t<0x800000000000?0==t?0:((n=t<0)&&(t=-t),i=CQ(e.Math.floor(e.Math.log(t)/.6931471805599453)),(!n||t!=e.Math.pow(2,i))&&++i,i):Wot(lot(t))}function oMt(t){var e,n,i,r,a,o,s;for(a=new uO,n=new Kd(t);n.a<n.c.c.length;)o=(e=$z(Q1(n),129)).a,s=e.b,a.a._b(o)||a.a._b(s)||(r=o,i=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(r=s,i=o),a.a.zc(r,a),r.q=i);return a}function sMt(t,e){var n,i,r;return Hot(i=new Oyt(t),e),uct(i,(uWt(),Yhe),e),uct(i,(zYt(),twe),(X_t(),qAe)),uct(i,mpe,(dyt(),ATe)),$f(i,(oCt(),_se)),CJ(n=new SCt,i),HAt(n,(vKt(),CMe)),CJ(r=new SCt,i),HAt(r,oMe),i}function cMt(t){switch(t.g){case 0:return new Lv((sit(),Ame));case 1:return new fh;case 2:return new mh;default:throw Fw(new Rv("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function uMt(t,e){var n,i,r,a;for(t.c[e.p]=!0,Kz(t.a,e),a=new Kd(e.j);a.a<a.c.c.length;)for(n=new w6((r=$z(Q1(a),11)).b);yL(n.a)||yL(n.b);)i=Jpt(r,$z(yL(n.a)?Q1(n.a):Q1(n.b),17)).i,t.c[i.p]||uMt(t,i);}function lMt(t){var n,i,r,a,o,s,c;for(s=0,i=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));i.e!=i.i.gc();)c=(n=$z(vwt(i),33)).g,a=n.f,r=e.Math.sqrt(c*c+a*a),s=e.Math.max(r,s),o=lMt(n),s=e.Math.max(o,s);return s}function hMt(){hMt=I,nMe=new qA("OUTSIDE",0),tMe=new qA("INSIDE",1),eMe=new qA("NEXT_TO_PORT_IF_POSSIBLE",2),JAe=new qA("ALWAYS_SAME_SIDE",3),QAe=new qA("ALWAYS_OTHER_SAME_SIDE",4),iMe=new qA("SPACE_EFFICIENT",5);}function fMt(t,e,n){var i,r,a,o;return Oit(i=B2(t,(Jk(),r=new vm,!!n&&JDt(r,n),r),e),P2(e,H6t)),TEt(e,i),sLt(e,i),MAt(e,i),a=L2(e,"ports"),CDt((o=new pM(t,i)).a,o.b,a),Nct(t,e,i),ast(t,e,i),i}function dMt(t){var e,n;return n=-t.a,e=Cst(Hx(SNe,1),YXt,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&XXt,e[2]=e[2]+(n/60|0)%10&XXt,e[4]=e[4]+(n%60/10|0)&XXt,e[5]=e[5]+n%10&XXt,Fpt(e,0,e.length)}function gMt(t){var e;return e=Cst(Hx(SNe,1),YXt,25,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)&XXt,e[5]=e[5]+(t/60|0)%10&XXt,e[7]=e[7]+(t%60/10|0)&XXt,e[8]=e[8]+t%10&XXt,Fpt(e,0,e.length)}function pMt(t){var e,n,i,r,a;if(null==t)return GWt;for(a=new Oot($Wt,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?oI(a.a,a.b):a.a=new lN(a.d),rI(a.a,""+bq(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function bMt(t,n){var i,r,a;for(a=PWt,r=new Kd(vdt(n));r.a<r.c.c.length;)(i=$z(Q1(r),213)).f&&!t.c[i.c]&&(t.c[i.c]=!0,a=e.Math.min(a,bMt(t,Ddt(i,n))));return t.i[n.d]=t.j,t.g[n.d]=e.Math.min(a,t.j++),t.g[n.d]}function wMt(t,e){var n,i,r;for(r=$z($z(c6(t.r,e),21),84).Kc();r.Ob();)(i=$z(r.Pb(),111)).e.b=(n=i.b).Xe((cWt(),rSe))?n.Hf()==(vKt(),sMe)?-n.rf().b-Hv(_B(n.We(rSe))):Hv(_B(n.We(rSe))):n.Hf()==(vKt(),sMe)?-n.rf().b:0;}function yMt(t){var e,n,i,r,a,o,s;for(n=WO(t.e),a=mD($P($L(YO(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,r=n.b-a.b,s=0;s<t.c;s++){for(i=e,o=0;o<t.d;o++)Ydt(t.e,new GX(i,r,t.a,t.b))&&$Rt(t,o,s,!1,!0),i+=t.a;r+=t.b;}}function mMt(t){var e,n,i;if(zv(kB(QOt(t,(cWt(),ECe))))){for(i=new Lw,n=new oq(ZD(gDt(t).a.Kc(),new l));gOt(n);)XMt(e=$z(G5(n),79))&&zv(kB(QOt(e,TCe)))&&(i.c[i.c.length]=e);return i}return EV(),EV(),cne}function vMt(t){var e;if(e=!1,iD(t,204))return e=!0,$z(t,204).a;if(!e&&iD(t,258)&&$z(t,258).a%1==0)return e=!0,nft(WI($z(t,258).a));throw Fw(new tx("Id must be a string or an integer: '"+t+"'."))}function xMt(t,e){var n,i,r,a,o,s;for(a=null,r=new nK((!t.a&&(t.a=new Ew(t)),t.a));fIt(r);)if(Vzt(o=(n=$z(aDt(r),56)).Tg()),null!=(i=(s=o.o)&&n.mh(s)?pj(ost(s),n.ah(s)):null)&&wj(i,e)){a=n;break}return a}function kMt(t,e,n){var i,r,a,o,s;if(hit(n,"occurrences"),0==n)return (s=$z(hht(AV(t.a),e),14))?s.gc():0;if(!(o=$z(hht(AV(t.a),e),14)))return 0;if(n>=(a=o.gc()))o.$b();else for(r=o.Kc(),i=0;i<n;i++)r.Pb(),r.Qb();return a}function _Mt(t,e,n){var i,r,a;return hit(n,"oldCount"),hit(0,"newCount"),((i=$z(hht(AV(t.a),e),14))?i.gc():0)==n&&(hit(0,"count"),(a=-((r=$z(hht(AV(t.a),e),14))?r.gc():0))>0?fx():a<0&&kMt(t,e,-a),!0)}function EMt(t){var e,n,i,r,a,o;if(o=0,0==t.b){for(e=0,r=0,a=(i=Kyt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1));}else o=Bx(eat(OX(MX(OK(t.a),new Et),new Tt)));return o>0?o+t.n.d+t.n.a:0}function TMt(t){var e,n,i,r,a,o;if(o=0,0==t.b)o=Bx(eat(OX(MX(OK(t.a),new kt),new _t)));else {for(e=0,r=0,a=(i=Yyt(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1));}return o>0?o+t.n.b+t.n.c:0}function CMt(t,n){var i,r,a,o;for(i=(o=$z(oX(t.b,n),124)).a,a=$z($z(c6(t.r,n),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).c&&(i.a=e.Math.max(i.a,YH(r.c)));if(i.a>0)switch(n.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s;}}function SMt(t,e){var n,i,r;return 0==(n=$z(yTt(e,(lRt(),Zae)),19).a-$z(yTt(t,Zae),19).a)?(i=qR($L($z(yTt(t,(Ert(),aoe)),8)),$z(yTt(t,ooe),8)),r=qR($L($z(yTt(e,aoe),8)),$z(yTt(e,ooe),8)),Cft(i.a*i.b,r.a*r.b)):n}function AMt(t,e){var n,i,r;return 0==(n=$z(yTt(e,(SOt(),Ixe)),19).a-$z(yTt(t,Ixe),19).a)?(i=qR($L($z(yTt(t,(HUt(),Zve)),8)),$z(yTt(t,Qve),8)),r=qR($L($z(yTt(e,Zve),8)),$z(yTt(e,Qve),8)),Cft(i.a*i.b,r.a*r.b)):n}function MMt(t){var e,n;return (n=new Cx).a+="e_",null!=(e=Kot(t))&&(n.a+=""+e),t.c&&t.d&&(oI((n.a+=" ",n),bvt(t.c)),oI(aI((n.a+="[",n),t.c.i),"]"),oI((n.a+=e1t,n),bvt(t.d)),oI(aI((n.a+="[",n),t.d.i),"]")),n.a}function IMt(t){switch(t.g){case 0:return new gh;case 1:return new ph;case 2:return new dh;case 3:return new bh;default:throw Fw(new Rv("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function OMt(t,n,i,r,a){var o;switch(o=0,a.g){case 1:o=e.Math.max(0,n.b+t.b-(i.b+r));break;case 3:o=e.Math.max(0,-t.b-r);break;case 2:o=e.Math.max(0,-t.a-r);break;case 4:o=e.Math.max(0,n.a+t.a-(i.a+r));}return o}function LMt(t,e,n){var i,r,a;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);a.Ob();)r=D2(n,$z(a.Pb(),19).a),L6t in r.a||D6t in r.a?cjt(t,r,e):kYt(t,r,e),TD($z(PY(t.b,Xpt(r)),79));}function DMt(t){var e,n;switch(t.b){case-1:return !0;case 0:return (n=t.t)>1||-1==n||(e=Axt(t))&&(ZT(),e.Cj()==k7t)?(t.b=-1,!0):(t.b=1,!1);default:return !1}}function NMt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new tK(ROe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(NW($9(t,n=$z(Yet(i,r),170)))){case 2:case 3:!a&&(a=new Lw),a.c[a.c.length]=n;}return a||(EV(),EV(),cne)}function PMt(t,e){var n,i,r,a;if(XYt(t),0!=t.c||123!=t.a)throw Fw(new rx(vWt((aL(),C8t))));if(a=112==e,i=t.d,(n=lP(t.i,125,i))<0)throw Fw(new rx(vWt((aL(),S8t))));return r=uP(t.i,i,n),t.d=n+1,h7(r,a,!(512&~t.e))}function BMt(t){var e;if((e=$z(yTt(t,(zYt(),zpe)),314))==(Mit(),cle))throw Fw(new ix("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}function RMt(t,e){var n,i,r,a;for(H$(),n=null,r=e.Kc();r.Ob();)(i=$z(r.Pb(),128)).o||(Kz((a=new Czt(jL(i.a),hH(i.a),null,$z(i.d.a.ec().Kc().Pb(),17))).c,i.a),t.c[t.c.length]=a,n&&Kz(n.d,a),n=a);}function jMt(t,e){var n,i,r;if(e)if(4&e.i)for(i="[]",n=e.c;;n=n.c){if(!(4&n.i)){zit(t,r=Gv((xB(n),n.o+i))),Nnt(t,r);break}i+="[]";}else zit(t,r=Gv((xB(e),e.o))),Nnt(t,r);else zit(t,null),Nnt(t,null);t.yk(e);}function $Mt(t,e,n,i,r){var a,o,s,c;return HM(c=cB(t,$z(r,56)))!==HM(r)?(s=$z(t.g[n],72),vD(t,n,cEt(t,n,a=Z3(e,c))),wO(t.e)&&(R_t(o=OZ(t,9,a.ak(),r,c,i,!1),new L9(t.e,9,t.c,s,a,i,!1)),I9(o)),c):r}function FMt(t,e,n){var i,r,a,o,s,c;for(i=$z(c6(t.c,e),15),r=$z(c6(t.c,n),15),a=i.Zc(i.gc()),o=r.Zc(r.gc());a.Sb()&&o.Sb();)if((s=$z(a.Ub(),19))!=(c=$z(o.Ub(),19)))return xL(s.a,c.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}function zMt(t,e){var n,i;try{return q1(t.a,e)}catch(r){if(iD(r=hst(r),32)){try{if(i=h$t(e,jXt,PWt),n=Yk(t.a),i>=0&&i<n.length)return n[i]}catch(t){if(!iD(t=hst(t),127))throw Fw(t)}return null}throw Fw(r)}}function HMt(t,e){var n,i,r;if(r=$Ut((ASt(),VLe),t.Tg(),e))return ZT(),$z(r,66).Oj()||(r=Z1($9(VLe,r))),i=$z((n=t.Yg(r))>=0?t._g(n,!0,!0):rIt(t,r,!0),153),$z(i,215).ll(e);throw Fw(new Rv(i6t+e.ne()+o6t))}function UMt(){var t;return JT(),YLe?$z(OLt((KT(),HOe),W7t),1939):(PI(zte,new Au),JGt(),t=$z(iD(EQ((KT(),HOe),W7t),547)?EQ(HOe,W7t):new GW,547),YLe=!0,sWt(t),_Wt(t),YW((YT(),VOe),t,new Gc),wJ(HOe,W7t,t),t)}function GMt(t,e){var n,i,r,a;t.j=-1,wO(t.e)?(n=t.i,a=0!=t.i,i6(t,e),i=new L9(t.e,3,t.c,null,e,n,a),r=e.Qk(t.e,t.c,null),(r=A_t(t,e,r))?(r.Ei(i),r.Fi()):fot(t.e,i)):(i6(t,e),(r=e.Qk(t.e,t.c,null))&&r.Fi());}function qMt(t,e){var n,i,r;if(r=0,(i=e[0])>=t.length)return -1;for(h1(i,t.length),n=t.charCodeAt(i);n>=48&&n<=57&&(r=10*r+(n-48),!(++i>=t.length));)h1(i,t.length),n=t.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function KMt(t){var n,i,r,a,o;return i=a=$z(t.a,19).a,r=o=$z(t.b,19).a,n=e.Math.max(e.Math.abs(a),e.Math.abs(o)),a<=0&&a==o?(i=0,r=o-1):a==-n&&o!=n?(i=o,r=a,o>=0&&++i):(i=-o,r=a),new nM(nft(i),nft(r))}function YMt(t,e,n,i){var r,a,o,s,c,u;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)if(c=a,u=s=o-e.k+i,c+=t.j,u+=t.k,c>=0&&u>=0&&c<t.o&&u<t.p&&(!ymt(e,r,o)&&nmt(t,a,s)||wmt(e,r,o)&&!imt(t,a,s)))return !0;return !1}function WMt(t,e,n){var i,r,a,o;a=t.c,o=t.d,r=(Ict(Cst(Hx(TTe,1),cXt,8,0,[a.i.n,a.n,a.a])).b+Ict(Cst(Hx(TTe,1),cXt,8,0,[o.i.n,o.n,o.a])).b)/2,i=null,i=a.j==(vKt(),oMe)?new DA(e+a.i.c.c.a+n,r):new DA(e-n,r),BP(t.a,0,i);}function XMt(t){var e,n,i;for(e=null,n=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c)])));gOt(n);)if(i=CEt($z(G5(n),82)),e){if(e!=i)return !1}else e=i;return !0}function VMt(t,e,n){var i;if(++t.j,e>=t.i)throw Fw(new Mv(o8t+e+s8t+t.i));if(n>=t.i)throw Fw(new Mv(c8t+n+s8t+t.i));return i=t.g[n],e!=n&&(e<n?aHt(t.g,e,t.g,e+1,n-e):aHt(t.g,n+1,t.g,n,e-n),IY(t.g,e,i),t.ei(e,i,n),t.ci()),i}function ZMt(t,e,n){var i;if(i=$z(t.c.xc(e),14))return !!i.Fc(n)&&(++t.d,!0);if((i=t.ic(e)).Fc(n))return ++t.d,t.c.zc(e,i),!0;throw Fw(new g5("New Collection violated the Collection spec"))}function QMt(t){var e,n,i;return t<0?0:0==t?32:(n=16-(e=(i=-(t>>16))>>16&16),n+=e=(i=(t>>=e)-256)>>16&8,n+=e=(i=(t<<=e)-jVt)>>16&4,(n+=e=(i=(t<<=e)-uXt)>>16&2)+2-(e=(i=(t<<=e)>>14)&~(i>>1)))}function JMt(t){var e,n,i,r;for(_V(),Eae=new Lw,_ae=new Dw,kae=new Lw,!t.a&&(t.a=new tK(UIe,t,10,11)),NKt(e=t.a),r=new MD(e);r.e!=r.i.gc();)i=$z(vwt(r),33),-1==x9(Eae,i,0)&&(n=new Lw,Kz(kae,n),Bbt(i,n));return kae}function tIt(t,e,n){var i,r,a,o;t.a=n.b.d,iD(e,352)?(t5(a=HCt(r=rBt($z(e,79),!1,!1)),i=new Lg(t)),WFt(a,r),null!=e.We((cWt(),ACe))&&t5($z(e.We(ACe),74),i)):((o=$z(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b));}function eIt(t,n){var i,r,a,o,s,c,u,l;for(l=Hv(_B(yTt(n,(zYt(),Lwe)))),u=t[0].n.a+t[0].o.a+t[0].d.c+l,c=1;c<t.length;c++)r=t[c].n,a=t[c].o,i=t[c].d,(o=r.a-i.b-u)<0&&(r.a-=o),(s=n.f).a=e.Math.max(s.a,r.a+a.a),u=r.a+a.a+i.c+l;}function nIt(t,e){var n,i,r,a,o,s;return i=$z($z(PY(t.g,e.a),46).a,65),r=$z($z(PY(t.g,e.b),46).a,65),(n=JHt(a=i.b,o=r.b))>=0?n:(s=lW(qR(new DA(o.c+o.b/2,o.d+o.a/2),new DA(a.c+a.b/2,a.d+a.a/2))),-(V$t(a,o)-1)*s)}function iIt(t,e,n){var i;VE(new PU(null,(!n.a&&(n.a=new tK(RIe,n,6,6)),new f1(n.a,16))),new tM(t,e)),VE(new PU(null,(!n.n&&(n.n=new tK(HIe,n,1,7)),new f1(n.n,16))),new eM(t,e)),(i=$z(QOt(n,(cWt(),ACe)),74))&&Vrt(i,t,e);}function rIt(t,e,n){var i,r,a;if(a=$Ut((ASt(),VLe),t.Tg(),e))return ZT(),$z(a,66).Oj()||(a=Z1($9(VLe,a))),r=$z((i=t.Yg(a))>=0?t._g(i,!0,!0):rIt(t,a,!0),153),$z(r,215).hl(e,n);throw Fw(new Rv(i6t+e.ne()+o6t))}function aIt(t,e,n,i){var r,a,o,s,c;if(r=t.d[e])if(a=r.g,c=r.i,null!=i){for(s=0;s<c;++s)if((o=$z(a[s],133)).Sh()==n&&Dht(i,o.cd()))return o}else for(s=0;s<c;++s)if(HM((o=$z(a[s],133)).cd())===HM(i))return o;return null}function oIt(t,e){var n;if(e<0)throw Fw(new Av("Negative exponent"));if(0==e)return Zee;if(1==e||cgt(t,Zee)||cgt(t,ene))return t;if(!lOt(t,0)){for(n=1;!lOt(t,n);)++n;return Ltt(wgt(n*e),oIt(U5(t,n),e))}return yEt(t,e)}function sIt(t,e){var n,i,r;if(HM(t)===HM(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(i=t[n],r=e[n],!(HM(i)===HM(r)||null!=i&&Dht(i,r)))return !1;return !0}function cIt(t){var e,n,i;for(mT(),this.b=Yoe,this.c=($ht(),$Se),this.f=(yT(),Uoe),this.a=t,Jx(this,new Se),vNt(this),i=new Kd(t.b);i.a<i.c.c.length;)(n=$z(Q1(i),81)).d||(e=new Cbt(Cst(Hx(Woe,1),zWt,81,0,[n])),Kz(t.a,e));}function uIt(t,e,n){var i,r,a,o,s,c;if(!t||0==t.c.length)return null;for(a=new BZ(e,!n),r=new Kd(t);r.a<r.c.c.length;)i=$z(Q1(r),70),qCt(a,(gT(),new $g(i)));return (o=a.i).a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function lIt(t){var e,n,i,r,a,o,s;for(cO(s=Q0(t.a),new Sn),n=null,a=0,o=(r=s).length;a<o&&(i=r[a]).k==(oCt(),_se);++a)(e=$z(yTt(i,(uWt(),Whe)),61))!=(vKt(),CMe)&&e!=oMe||(n&&$z(yTt(n,ife),15).Fc(i),n=i);}function hIt(t,e,n){var i,r,a,o,s,c;l1(e,t.c.length),s=$z(t.c[e],329),s6(t,e),s.b/2>=n&&(i=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&mG(t,i++,new mz(s.c,a)),(o=c+n)<=s.a&&(r=new mz(o,s.a),OJ(i,t.c.length),_C(t.c,i,r)));}function fIt(t){var e;if(t.c||null!=t.g){if(null==t.g)return !0;if(0==t.i)return !1;e=$z(t.g[t.i-1],47);}else t.d=t.si(t.f),u7(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(aDt(t),fIt(t)):e.Ob()}function dIt(t,e,n){var i,r,a,o;if(!(o=n)&&(o=OH(new qm,0)),MEt(o,HJt,1),OGt(t.c,e),1==(a=BGt(t.a,e)).gc())WHt($z(a.Xb(0),37),o);else for(r=1/a.gc(),i=a.Kc();i.Ob();)WHt($z(i.Pb(),37),yat(o,r));xx(t.a,a,e),$Bt(e),zCt(o);}function gIt(t){if(this.a=t,t.c.i.k==(oCt(),_se))this.c=t.c,this.d=$z(yTt(t.c.i,(uWt(),Whe)),61);else {if(t.d.i.k!=_se)throw Fw(new Rv("Edge "+t+" is not an external edge."));this.c=t.d,this.d=$z(yTt(t.d.i,(uWt(),Whe)),61);}}function pIt(t,e){var n,i,r;r=t.b,t.b=e,4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,3,r,t.b)),e?e!=t&&(Drt(t,e.zb),Ont(t,e.d),$it(t,null==(n=null==(i=e.c)?e.zb:i)||wj(n,e.zb)?null:n)):(Drt(t,null),Ont(t,0),$it(t,null));}function bIt(t){var e,n;if(t.f){for(;t.n<t.o;){if(iD(n=(e=$z(t.j?t.j.pi(t.n):t.k.Xb(t.n),72)).ak(),99)&&$z(n,18).Bb&u6t&&(!t.e||n.Gj()!=OIe||0!=n.aj())&&null!=e.dd())return !0;++t.n;}return !1}return t.n<t.o}function wIt(t,e){var n;this.e=(KY(),yY(t),KY(),Dgt(t)),this.c=(yY(e),Dgt(e)),rN(this.e.Hd().dc()==this.c.Hd().dc()),this.d=wdt(this.e),this.b=wdt(this.c),n=mU(Ite,[cXt,zWt],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,git(this);}function yIt(t){return !Qte&&(Qte=XKt()),'"'+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 SQ(t)}))+'"'}function mIt(t){var e,n;for(CV(),this.b=cie,this.c=lie,this.g=(pT(),sie),this.d=($ht(),$Se),this.a=t,mNt(this),n=new Kd(t.b);n.a<n.c.c.length;)!(e=$z(Q1(n),57)).a&&SN(Knt(new qy,Cst(Hx(hie,1),zWt,57,0,[e])),t),e.e=new gZ(e.d);}function vIt(t){var e,n,i,r,a;for(r=t.e.c.length,i=D8(Bte,JQt,15,r,0,1),a=new Kd(t.e);a.a<a.c.c.length;)i[$z(Q1(a),144).b]=new XE;for(n=new Kd(t.c);n.a<n.c.c.length;)i[(e=$z(Q1(n),282)).c.b].Fc(e),i[e.d.b].Fc(e);return i}function xIt(t){var e,n,i,r,a,o;for(o=sP(t.c.length),r=new Kd(t);r.a<r.c.c.length;){for(i=$z(Q1(r),10),a=new Py,n=new oq(ZD(hdt(i).a.Kc(),new l));gOt(n);)(e=$z(G5(n),17)).c.i==e.d.i||kK(a,e.d.i);o.c[o.c.length]=a;}return o}function kIt(t,e){var n,i,r,a,o;if(e>=(o=null==(n=$z(mot(t.a,4),126))?0:n.length))throw Fw(new JR(e,o));return r=n[e],1==o?i=null:(aHt(n,0,i=D8(fOe,n7t,415,o-1,0,1),0,e),(a=o-e-1)>0&&aHt(n,e+1,i,e,a)),$bt(t,i),eAt(t,e,r),r}function _It(){_It=I,cDe=$z(Yet(WV((i_(),dDe).qb),6),34),aDe=$z(Yet(WV(dDe.qb),3),34),oDe=$z(Yet(WV(dDe.qb),4),34),sDe=$z(Yet(WV(dDe.qb),5),18),s_t(cDe),s_t(aDe),s_t(oDe),s_t(sDe),uDe=new Vv(Cst(Hx(ROe,1),D7t,170,0,[cDe,aDe]));}function EIt(t,e){var n;this.d=new lm,this.b=e,this.e=new fO(e.qf()),n=t.u.Hc((hMt(),eMe)),t.u.Hc(tMe)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(nMe)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1;}function TIt(t,e){var n,i,r,a;for(n=t.o.a,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).e.a=(i=r.b).Xe((cWt(),rSe))?i.Hf()==(vKt(),CMe)?-i.rf().a-Hv(_B(i.We(rSe))):n+Hv(_B(i.We(rSe))):i.Hf()==(vKt(),CMe)?-i.rf().a:n;}function CIt(t,e){var n,i,r;n=$z(yTt(t,(zYt(),Gpe)),103),r=$z(QOt(e,awe),61),(i=$z(yTt(t,twe),98))!=(X_t(),WAe)&&i!=XAe?r==(vKt(),TMe)&&(r=MFt(e,n))==TMe&&(r=ugt(n)):r=KHt(e)>0?ugt(n):_ft(ugt(n)),Vwt(e,awe,r);}function SIt(t,e){var n,i,r,a,o;for(o=t.j,e.a!=e.b&&wL(o,new Kr),r=o.c.length/2|0,i=0;i<r;i++)l1(i,o.c.length),(a=$z(o.c[i],113)).c&&HAt(a.d,e.a);for(n=r;n<o.c.length;n++)l1(n,o.c.length),(a=$z(o.c[n],113)).c&&HAt(a.d,e.b);}function AIt(t,e,n){var i,r,a;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?((a=kq(i.a,r.a))<0?ojt(t,e,n):a>0&&ojt(t,n,e),a):null!=i.a?(ojt(t,e,n),-1):null!=r.a?(ojt(t,n,e),1):0}function MIt(t,e){var n,i,r,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),i=t.Zi(3,null,e,n,a),t.bj()&&(r=t.cj(e,null))?(r.Ei(i),r.Fi()):t.$i(i)):(tW(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi());}function IIt(t,e){var n,i,r,a,o;for(o=aPt(t.e.Tg(),e),r=new bc,n=$z(t.g,119),a=t.i;--a>=0;)i=n[a],o.rl(i.ak())&&u7(r,i);!aYt(t,r)&&wO(t.e)&&Oy(t,e.$j()?OZ(t,6,e,(EV(),cne),null,-1,!1):OZ(t,e.Kj()?2:1,e,null,null,-1,!1));}function OIt(){var t,e;for(OIt=I,ane=D8(sne,cXt,91,32,0,1),one=D8(sne,cXt,91,32,0,1),t=1,e=0;e<=18;e++)ane[e]=Jbt(t),one[e]=Jbt(yq(t,e)),t=rdt(t,5);for(;e<one.length;e++)ane[e]=Ltt(ane[e-1],ane[1]),one[e]=Ltt(one[e-1],(MBt(),Jee));}function LIt(t,e){var n,i,r,a;return t.a==(ZTt(),ihe)||(r=e.a.c,n=e.a.c+e.a.b,!(e.j&&(a=(i=e.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>a)||e.q&&(a=(i=e.C).c.c.a-i.o.a/2,i.n.a-n>a)))}function DIt(t,e){MEt(e,"Partition preprocessing",1),VE($z(T4(MX(ftt(MX(new PU(null,new f1(t.a,16)),new yi),new mi),new vi),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15).Oc(),new xi),zCt(e);}function NIt(t){var e,n,i,r,a,o;for(zJ(),n=new b4,i=new Kd(t.e.b);i.a<i.c.c.length;)for(a=new Kd($z(Q1(i),29).a);a.a<a.c.c.length;)r=$z(Q1(a),10),(e=$z(ltt(n,o=t.g[r.p]),15))||Zbt(n,o,e=new Lw),e.Fc(r);return n}function PIt(t,e){var n,i,r,a,o;for(r=e.b.b,t.a=D8(Bte,JQt,15,r,0,1),t.b=D8(MNe,QZt,25,r,16,1),o=cwt(e.b,0);o.b!=o.d.c;)a=$z(h3(o),86),t.a[a.g]=new XE;for(i=cwt(e.a,0);i.b!=i.d.c;)n=$z(h3(i),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n);}function BIt(t){var e;return 64&t.Db?CLt(t):((e=new uN(CLt(t))).a+=" (startX: ",b_(e,t.j),e.a+=", startY: ",b_(e,t.k),e.a+=", endX: ",b_(e,t.b),e.a+=", endY: ",b_(e,t.c),e.a+=", identifier: ",iI(e,t.d),e.a+=")",e.a)}function RIt(t){var e;return 64&t.Db?vht(t):((e=new uN(vht(t))).a+=" (ordered: ",y_(e,!!(256&t.Bb)),e.a+=", unique: ",y_(e,!!(512&t.Bb)),e.a+=", lowerBound: ",w_(e,t.s),e.a+=", upperBound: ",w_(e,t.t),e.a+=")",e.a)}function jIt(t,e,n,i,r,a,o,s){var c;return iD(t.Cb,88)&&IAt(T5($z(t.Cb,88)),4),Drt(t,n),t.f=i,Oft(t,r),Dft(t,a),Ift(t,o),Lft(t,!1),Jht(t,!0),Hft(t,s),Vht(t,!0),Lnt(t,0),t.b=0,Dnt(t,1),(c=zEt(t,e,null))&&c.Fi(),Uft(t,!1),t}function $It(t,n){var i,r;return $z(EQ(t.a,n),512)||(i=new y5(n),m5(),Dj(i,$It(t,uP(r=Wne?null:i.c,0,e.Math.max(0,wN(r,VEt(46)))))),0==(Wne?null:i.c).length&&UB(i,new Y),wJ(t.a,Wne?null:i.c,i),i)}function FIt(t,e){var n;t.b=e,t.g=new Lw,n=ZIt(t.b),t.e=n,t.f=n,t.c=zv(kB(yTt(t.b,(jxt(),vie)))),t.a=_B(yTt(t.b,(cWt(),iCe))),null==t.a&&(t.a=1),Hv(t.a)>1?t.e*=Hv(t.a):t.f/=Hv(t.a),Slt(t),pbt(t),_Rt(t),uct(t.b,(kwt(),gae),t.g);}function zIt(t,e,n){var i,r,a,o,s;for(i=0,s=n,e||(i=n*(t.c.length-1),s*=-1),a=new Kd(t);a.a<a.c.c.length;){for(uct(r=$z(Q1(a),10),(zYt(),mpe),(dyt(),ATe)),r.o.a=i,o=PCt(r,(vKt(),oMe)).Kc();o.Ob();)$z(o.Pb(),11).n.a=i;i+=s;}}function HIt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),Aht(t,e,n),i=t.Zi(3,null,n,e,a),t.bj()?(r=t.cj(n,null),t.ij()&&(r=t.jj(n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(Aht(t,e,n),t.bj()&&(r=t.cj(n,null))&&r.Fi());}function UIt(t,e,n){var i,r,a,o,s,c;return (s=t.Gk(n))!=n?(o=t.g[e],c=s,vD(t,e,t.oi(e,c)),a=o,t.gi(e,c,a),t.rk()&&(i=n,r=t.dj(i,null),!$z(s,49).eh()&&(r=t.cj(c,r)),r&&r.Fi()),wO(t.e)&&Oy(t,t.Zi(9,n,s,e,!1)),s):n}function GIt(t,e){var n,i,r;for(n=new Kd(t.a.a);n.a<n.c.c.length;)$z(Q1(n),189).g=!0;for(r=new Kd(t.a.b);r.a<r.c.c.length;)(i=$z(Q1(r),81)).k=zv(kB(t.e.Kb(new nM(i,e)))),i.d.g=i.d.g&zv(kB(t.e.Kb(new nM(i,e))));return t}function qIt(t){var e,n,i,r,a;if(n=new Xj(e=$z(Yk(jMe),9),$z(ER(e,e.length),9),0),a=$z(yTt(t,(uWt(),xfe)),10))for(r=new Kd(a.j);r.a<r.c.c.length;)HM(yTt(i=$z(Q1(r),11),dfe))===HM(t)&&UN(new w6(i.b))&&srt(n,i.j);return n}function KIt(t,e,n){var i,r,a,o;if(!t.d[n.p]){for(i=new oq(ZD(hdt(n).a.Kc(),new l));gOt(i);){for(a=new oq(ZD(ldt(o=$z(G5(i),17).d.i).a.Kc(),new l));gOt(a);)(r=$z(G5(a),17)).c.i==e&&(t.a[r.p]=!0);KIt(t,e,o);}t.d[n.p]=!0;}}function YIt(t,e){var n,i,r,a,o,s,c;if(1==(i=bdt(254&t.Db)))t.Eb=null;else if(a=ent(t.Eb),2==i)r=Bmt(t,e),t.Eb=a[0==r?1:0];else {for(o=D8(Ite,zWt,1,i-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==e?++s:t.Db&n&&(o[c++]=a[s++]);t.Eb=o;}t.Db&=~e;}function WIt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new tK(ROe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(NW($9(t,n=$z(Yet(i,r),170)))){case 4:case 5:case 6:!a&&(a=new Lw),a.c[a.c.length]=n;}return a||(EV(),EV(),cne)}function XIt(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=v6t;}return e}function VIt(t,e,n,i,r){var a,o,s,c;if(HM(t)!==HM(e)||i!=r)for(s=0;s<i;s++){for(o=0,a=t[s],c=0;c<r;c++)o=idt(idt(rdt(t0(a,qVt),t0(e[c],qVt)),t0(n[s+c],qVt)),t0(dG(o),qVt)),n[s+c]=dG(o),o=vq(o,32);n[s+r]=dG(o);}else A$t(t,i,n);}function ZIt(t){var n,i,r,a,o,s,c,u,l,h,f;for(h=0,l=0,c=(a=t.a).a.gc(),r=a.a.ec().Kc();r.Ob();)(i=$z(r.Pb(),561)).b&&Wzt(i),h+=(f=(n=i.a).a)+(s=n.b),l+=f*s;return u=e.Math.sqrt(400*c*l-4*l+h*h)+h,0==(o=2*(100*c-1))?u:u/o}function QIt(t,n){0!=n.b&&(isNaN(t.s)?t.s=Hv((TP(0!=n.b),_B(n.a.a.c))):t.s=e.Math.min(t.s,Hv((TP(0!=n.b),_B(n.a.a.c)))),isNaN(t.c)?t.c=Hv((TP(0!=n.b),_B(n.c.b.c))):t.c=e.Math.max(t.c,Hv((TP(0!=n.b),_B(n.c.b.c)))));}function JIt(t){var e,n,i;for(e=null,n=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c)])));gOt(n);)if(i=CEt($z(G5(n),82)),e){if(e!=VQ(i))return !0}else e=VQ(i);return !1}function tOt(t,e){var n,i,r,a;t.ej()?(n=t.i,a=t.fj(),i6(t,e),i=t.Zi(3,null,e,n,a),t.bj()?(r=t.cj(e,null),t.ij()&&(r=t.jj(e,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(i6(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi());}function eOt(t,e,n){var i,r,a;t.ej()?(a=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),i=t.Zi(3,null,n,e,a),t.bj()&&(r=t.cj(n,null))?(r.Ei(i),r.Fi()):t.$i(i)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(r=t.cj(n,null))&&r.Fi());}function nOt(t){var e,n,i,r;for(r=t.length,e=null,i=0;i<r;i++)h1(i,t.length),HI(".*+?{[()|\\^$",VEt(n=t.charCodeAt(i)))>=0?(e||(e=new Tx,i>0&&iI(e,t.substr(0,i))),e.a+="\\",LY(e,n&XXt)):e&&LY(e,n&XXt);return e?e.a:t}function iOt(t){var e;if(!t.a)throw Fw(new jv("IDataType class expected for layout option "+t.f));if(null==(e=S3(t.a)))throw Fw(new jv("Couldn't create new instance of property '"+t.f+"'. "+i5t+(xB(lOe),lOe.k)+r5t));return $z(e,414)}function rOt(t){var e,n,i,r,a;return (a=t.eh())&&a.kh()&&(r=tht(t,a))!=a?(n=t.Vg(),i=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg($z(r,49),n),i&&i.Fi(),t.Lg()&&t.Mg()&&n>-1&&fot(t,new Qq(t,9,n,a,r)),r):a}function aOt(t){var e,n,i,r,a,o,s;for(a=0,r=t.f.e,n=0;n<r.c.length;++n)for(l1(n,r.c.length),o=$z(r.c[n],144),i=n+1;i<r.c.length;++i)l1(i,r.c.length),s=$z(r.c[i],144),e=K8(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function oOt(t,e){var n;if(!OP(e,(zYt(),mbe))&&(n=kxt($z(yTt(e,tue),360),$z(yTt(t,mbe),163)),uct(e,tue,n),!gOt(new oq(ZD(udt(e).a.Kc(),new l)))))switch(n.g){case 1:uct(e,mbe,(_dt(),Rfe));break;case 2:uct(e,mbe,(_dt(),$fe));}}function sOt(t,e){var n;yRt(t),t.a=(n=new ox,VE(new PU(null,new f1(e.d,16)),new Ap(n)),n),EPt(t,$z(yTt(e.b,(zYt(),ebe)),376)),vyt(t),MOt(t),Oxt(t),xyt(t),xUt(t,e),VE(ftt(new PU(null,X0(EY(t.b).a)),new Wr),new Xr),e.a=!1,t.a=null;}function cOt(){gTt.call(this,m6t,(Jk(),dIe)),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 uOt(){uOt=I,tOe=new _M(U1t,0),ZIe=new _M("INSIDE_SELF_LOOPS",1),QIe=new _M("MULTI_EDGES",2),VIe=new _M("EDGE_LABELS",3),JIe=new _M("PORTS",4),WIe=new _M("COMPOUND",5),YIe=new _M("CLUSTERS",6),XIe=new _M("DISCONNECTED",7);}function lOt(t,e){var n,i,r;if(0==e)return !!(1&t.a[0]);if(e<0)throw Fw(new Av("Negative bit address"));if((r=e>>5)>=t.d)return t.e<0;if(n=t.a[r],e=1<<(31&e),t.e<0){if(r<(i=Sat(t)))return !1;n=i==r?-n:~n;}return !!(n&e)}function hOt(t,e,n,i){var r;$z(n.b,65),$z(n.b,65),$z(i.b,65),$z(i.b,65),LH(r=qR($L($z(n.b,65).c),$z(i.b,65).c),zAt($z(n.b,65),$z(i.b,65),r)),$z(i.b,65),$z(i.b,65),$z(i.b,65).c.a,r.a,$z(i.b,65).c.b,r.b,$z(i.b,65),Met(i.a,new kz(t,e,i));}function fOt(t,e){var n,i,r,a,o,s,c;if(a=e.e)for(n=rOt(a),i=$z(t.g,674),o=0;o<t.i;++o)if(Hyt(c=i[o])==n&&(!c.d&&(c.d=new ID(KOe,c,1)),r=c.d,(s=$z(n.ah(pjt(a,a.Cb,a.Db>>16)),15).Xc(a))<r.i))return fOt(t,$z(Yet(r,s),87));return e}function dOt(t,e,n){var i,r=TWt,a=r[t],o=a instanceof Array?a[0]:null;a&&!o?EWt=a:(!(i=e&&e.prototype)&&(i=TWt[e]),(EWt=zQ(i)).hm=n,!e&&(EWt.im=M),r[t]=EWt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=EWt;o&&(EWt.gm=o);}function gOt(t){for(var e;!$z(yY(t.a),47).Ob();){if(t.d=sut(t),!t.d)return !1;if(t.a=$z(t.d.Pb(),47),iD(t.a,39)){if(e=$z(t.a,39),t.a=e.a,!t.b&&(t.b=new Ow),d3(t.b,t.d),e.b)for(;!Kv(e.b);)d3(t.b,$z(gK(e.b),47));t.d=e.d;}}return !0}function pOt(t,e){var n,i,r,a,o;for(a=null==e?0:t.b.se(e),i=null==(n=t.a.get(a))?new Array:n,o=0;o<i.length;o++)if(r=i[o],t.b.re(e,r.cd()))return 1==i.length?(i.length=0,bR(t.a,a)):i.splice(o,1),--t.c,oZ(t.b),r.dd();return null}function bOt(t,e){var n,i,r,a;for(r=1,e.j=!0,a=null,i=new Kd(vdt(e));i.a<i.c.c.length;)n=$z(Q1(i),213),t.c[n.c]||(t.c[n.c]=!0,a=Ddt(n,e),n.f?r+=bOt(t,a):a.j||n.a!=n.e.e-n.d.e||(n.f=!0,kK(t.p,n),r+=bOt(t,a)));return r}function wOt(t){var n,i,r;for(i=new Kd(t.a.a.b);i.a<i.c.c.length;)n=$z(Q1(i),81),mW(0),(r=0)>0&&((!dO(t.a.c)||!n.n.d)&&(!gO(t.a.c)||!n.n.b)&&(n.g.d+=e.Math.max(0,r/2-.5)),(!dO(t.a.c)||!n.n.a)&&(!gO(t.a.c)||!n.n.c)&&(n.g.a-=r-1));}function yOt(t){var n,i,r,a,o;if(o=R$t(t,a=new Lw),n=$z(yTt(t,(uWt(),xfe)),10))for(r=new Kd(n.j);r.a<r.c.c.length;)HM(yTt(i=$z(Q1(r),11),dfe))===HM(t)&&(o=e.Math.max(o,R$t(i,a)));return 0==a.c.length||uct(t,hfe,o),-1!=o?a:null}function mOt(t,e,n){var i,r,a,o,s,c;r=(i=(a=$z(DU(e.e,0),17).c).i).k,s=(o=(c=$z(DU(n.g,0),17).d).i).k,r==(oCt(),Tse)?uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)):uct(t,(uWt(),cfe),a),uct(t,(uWt(),ufe),s==Tse?$z(yTt(o,ufe),11):c);}function vOt(t,e){var n,i,r,a;for(n=(a=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))))&t.b.length-1,r=null,i=t.b[n];i;r=i,i=i.a)if(i.d==a&&fW(i.i,e))return r?r.a=i.a:t.b[n]=i.a,mx(i.c,i.f),ey(i.b,i.e),--t.f,++t.e,!0;return !1}function xOt(t,e){var n,i,r,a,o;return e&=63,(i=!!((n=t.h)&SVt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=i?CVt:0,a=n>>e-22,r=t.m>>e-22|n<<44-e):(o=i?CVt:0,a=i?TVt:0,r=n>>e-44),_L(r&TVt,a&TVt,o&CVt)}function kOt(t){var n,i,r,a,o,s;for(this.c=new Lw,this.d=t,r=BVt,a=BVt,n=RVt,i=RVt,s=cwt(t,0);s.b!=s.d.c;)o=$z(h3(s),8),r=e.Math.min(r,o.a),a=e.Math.min(a,o.b),n=e.Math.max(n,o.a),i=e.Math.max(i,o.b);this.a=new GX(r,a,n-r,i-a);}function _Ot(t,e){var n,i,r,a;for(i=new Kd(t.b);i.a<i.c.c.length;)for(a=new Kd($z(Q1(i),29).a);a.a<a.c.c.length;)for((r=$z(Q1(a),10)).k==(oCt(),Ese)&&uFt(r,e),n=new oq(ZD(hdt(r).a.Kc(),new l));gOt(n);)wst($z(G5(n),17),e);}function EOt(t){var e,n,i;this.c=t,i=$z(yTt(t,(zYt(),Gpe)),103),e=Hv(_B(yTt(t,xpe))),n=Hv(_B(yTt(t,Bwe))),i==($ht(),RSe)||i==jSe||i==$Se?this.b=e*n:this.b=1/(e*n),this.j=Hv(_B(yTt(t,Mwe))),this.e=Hv(_B(yTt(t,Awe))),this.f=t.b.c.length;}function TOt(t){var e,n;for(t.e=D8(ANe,uVt,25,t.p.c.length,15,1),t.k=D8(ANe,uVt,25,t.p.c.length,15,1),n=new Kd(t.p);n.a<n.c.c.length;)e=$z(Q1(n),10),t.e[e.p]=j3(new oq(ZD(ldt(e).a.Kc(),new l))),t.k[e.p]=j3(new oq(ZD(hdt(e).a.Kc(),new l)));}function COt(t){var e,n,i,r,a;for(i=0,t.q=new Lw,e=new Py,a=new Kd(t.p);a.a<a.c.c.length;){for((r=$z(Q1(a),10)).p=i,n=new oq(ZD(hdt(r).a.Kc(),new l));gOt(n);)kK(e,$z(G5(n),17).d.i);e.a.Bc(r),Kz(t.q,new IU(e)),e.a.$b(),++i;}}function SOt(){SOt=I,Axe=new KO(20),Sxe=new qO((cWt(),qCe),Axe),Dxe=new qO(OSe,20),vxe=new qO(iCe,gJt),Ixe=new qO(pSe,nft(1)),Lxe=new qO(mSe,(cN(),!0)),xxe=lCe,_xe=BCe,Exe=$Ce,Txe=zCe,kxe=NCe,Cxe=GCe,Mxe=uSe,Bot(),Nxe=yxe,Oxe=bxe;}function AOt(t,e){var n,i,r,a,o,s,c,u,l;if(t.a.f>0&&iD(e,42)&&(t.a.qj(),a=null==(c=(u=$z(e,42)).cd())?0:Jct(c),o=tR(t.a,a),n=t.a.d[o]))for(i=$z(n.g,367),l=n.i,s=0;s<l;++s)if((r=i[s]).Sh()==a&&r.Fb(u))return AOt(t,u),!0;return !1}function MOt(t){var e,n,i,r;for(r=$z(c6(t.a,(L_t(),Eue)),15).Kc();r.Ob();)eY(t,i=$z(r.Pb(),101),(n=(e=gq(i.k)).Hc((vKt(),sMe))?e.Hc(oMe)?e.Hc(EMe)?e.Hc(CMe)?null:Iue:Lue:Oue:Mue)[0],(Srt(),Due),0),eY(t,i,n[1],Nue,1),eY(t,i,n[2],Pue,1);}function IOt(t,e){var n,i;ZPt(t,e,n=yjt(e)),nEt(t.a,$z(yTt(bW(e.b),(uWt(),Efe)),230)),f$t(t),P_t(t,e),i=D8(ANe,uVt,25,e.b.j.c.length,15,1),cqt(t,e,(vKt(),sMe),i,n),cqt(t,e,oMe,i,n),cqt(t,e,EMe,i,n),cqt(t,e,CMe,i,n),t.a=null,t.c=null,t.b=null;}function OOt(){OOt=I,Tdt(),o_e=new II(k4t,s_e=Qke),r_e=new II(_4t,(cN(),!0)),nft(-1),e_e=new II(E4t,nft(-1)),nft(-1),n_e=new II(T4t,nft(-1)),a_e=new II(C4t,!1),c_e=new II(S4t,!0),i_e=new II(A4t,!1),u_e=new II(M4t,-1);}function LOt(t,e,n){switch(e){case 7:return !t.e&&(t.e=new cj(BIe,t,7,4)),cUt(t.e),!t.e&&(t.e=new cj(BIe,t,7,4)),void pY(t.e,$z(n,14));case 8:return !t.d&&(t.d=new cj(BIe,t,8,5)),cUt(t.d),!t.d&&(t.d=new cj(BIe,t,8,5)),void pY(t.d,$z(n,14))}Gkt(t,e,n);}function DOt(t,e){var n,i,r,a,o;if(HM(e)===HM(t))return !0;if(!iD(e,15))return !1;if(o=$z(e,15),t.gc()!=o.gc())return !1;for(a=o.Kc(),i=t.Kc();i.Ob();)if(n=i.Pb(),r=a.Pb(),!(HM(n)===HM(r)||null!=n&&Dht(n,r)))return !1;return !0}function NOt(t,e){var n,i,r,a;for((a=$z(T4(ftt(ftt(new PU(null,new f1(e.b,16)),new Rn),new jn),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15)).Jc(new $n),n=0,r=a.Kc();r.Ob();)-1==(i=$z(r.Pb(),11)).p&&$Ot(t,i,n++);}function POt(t){switch(t.g){case 0:return new Th;case 1:return new uh;case 2:return new ch;case 3:return new vM;case 4:return new RG;default:throw Fw(new Rv("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function BOt(t){switch(t.g){case 0:return new BG;case 1:return new hh;case 2:return new eh;case 3:return new nh;case 4:return new kM;default:throw Fw(new Rv("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function ROt(){ROt=I,wke=new II(o4t,nft(0)),yke=new II(s4t,0),zut(),dke=new II(c4t,gke=ske),nft(0),fke=new II(u4t,nft(1)),Fat(),mke=new II(l4t,vke=qke),N7(),xke=new II(h4t,kke=rke),Mmt(),pke=new II(f4t,bke=zke);}function jOt(t,e,n){var i;i=null,e&&(i=e.d),Vkt(t,new dS(e.n.a-i.b+n.a,e.n.b-i.d+n.b)),Vkt(t,new dS(e.n.a-i.b+n.a,e.n.b+e.o.b+i.a+n.b)),Vkt(t,new dS(e.n.a+e.o.a+i.c+n.a,e.n.b-i.d+n.b)),Vkt(t,new dS(e.n.a+e.o.a+i.c+n.a,e.n.b+e.o.b+i.a+n.b));}function $Ot(t,e,n){var i,r,a;for(e.p=n,a=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(e),new Hg(e)])));gOt(a);)-1==(i=$z(G5(a),11)).p&&$Ot(t,i,n);if(e.i.k==(oCt(),Tse))for(r=new Kd(e.i.j);r.a<r.c.c.length;)(i=$z(Q1(r),11))!=e&&-1==i.p&&$Ot(t,i,n);}function FOt(t){var n,i,r,a,o;if(a=$z(T4(IJ(r1(t)),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15),r=QQt,a.gc()>=2)for(n=_B((i=a.Kc()).Pb());i.Ob();)o=n,n=_B(i.Pb()),r=e.Math.min(r,(mW(n),n-(mW(o),o)));return r}function zOt(t,e){var n,i,r,a,o;n5(i=new XE,e,i.c.b,i.c);do{for(TP(0!=i.b),n=$z(Iet(i,i.a.a),86),t.b[n.g]=1,a=cwt(n.d,0);a.b!=a.d.c;)o=(r=$z(h3(a),188)).c,1==t.b[o.g]?NH(t.a,r):2==t.b[o.g]?t.b[o.g]=1:n5(i,o,i.c.b,i.c);}while(0!=i.b)}function HOt(t,e){var n,i,r;if(HM(e)===HM(yY(t)))return !0;if(!iD(e,15))return !1;if(i=$z(e,15),(r=t.gc())!=i.gc())return !1;if(iD(i,54)){for(n=0;n<r;n++)if(!fW(t.Xb(n),i.Xb(n)))return !1;return !0}return qyt(t.Kc(),i.Kc())}function UOt(t,e){var n;if(0!=t.c.length){if(2==t.c.length)uFt((l1(0,t.c.length),$z(t.c[0],10)),(Kvt(),vAe)),uFt((l1(1,t.c.length),$z(t.c[1],10)),xAe);else for(n=new Kd(t);n.a<n.c.c.length;)uFt($z(Q1(n),10),e);t.c=D8(Ite,zWt,1,0,5,1);}}function GOt(t){var e,n;if(2!=t.c.length)throw Fw(new jv("Order only allowed for two paths."));l1(0,t.c.length),e=$z(t.c[0],17),l1(1,t.c.length),n=$z(t.c[1],17),e.d.i!=n.c.i&&(t.c=D8(Ite,zWt,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e);}function qOt(t,e){var n,i,r,a,o;for(i=new b4,a=E4(new Vv(t.g)).a.ec().Kc();a.Ob();){if(!(r=$z(a.Pb(),10))){AH(e,"There are no classes in a balanced layout.");break}(n=$z(ltt(i,o=t.j[r.p]),15))||Zbt(i,o,n=new Lw),n.Fc(r);}return i}function KOt(t,e,n){var i,r,a,o;if(n)for(r=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);r.Ob();)(a=D2(n,$z(r.Pb(),19).a))&&(o=Rnt(P2(a,M6t),e),YW(t.f,o,a),H6t in a.a&&Oit(o,P2(a,H6t)),TEt(a,o),MAt(a,o));}function YOt(t,e){var n,i,r;for(MEt(e,"Port side processing",1),r=new Kd(t.a);r.a<r.c.c.length;)rzt($z(Q1(r),10));for(n=new Kd(t.b);n.a<n.c.c.length;)for(i=new Kd($z(Q1(n),29).a);i.a<i.c.c.length;)rzt($z(Q1(i),10));zCt(e);}function WOt(t,e,n){var i,r,a,o,s;if(!(r=t.f)&&(r=$z(t.a.a.ec().Kc().Pb(),57)),$xt(r,e,n),1!=t.a.a.gc())for(i=e*n,o=t.a.a.ec().Kc();o.Ob();)(a=$z(o.Pb(),57))!=r&&((s=u3(a)).f.d?(a.d.d+=i+lQt,a.d.a-=i+lQt):s.f.a&&(a.d.a-=i+lQt));}function XOt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g;return s=i-t,c=r-n,u=(o=e.Math.atan2(s,c))+ZQt,l=o-ZQt,h=a*e.Math.sin(u)+t,d=a*e.Math.cos(u)+n,f=a*e.Math.sin(l)+t,g=a*e.Math.cos(l)+n,a6(Cst(Hx(TTe,1),cXt,8,0,[new DA(h,d),new DA(f,g)]))}function VOt(t,n,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=n;do{o=t.a[o.p],f=t.g[o.p],c=Hv(t.p[f.p])+Hv(t.d[o.p])-o.d.d,(u=Iit(o,r))&&(l=t.g[u.p],s=Hv(t.p[l.p])+Hv(t.d[u.p])+u.o.b+u.d.a,a=e.Math.min(a,c-(s+BL(t.k,o,u))));}while(h!=o);return a}function ZOt(t,n,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=n;do{o=t.a[o.p],f=t.g[o.p],s=Hv(t.p[f.p])+Hv(t.d[o.p])+o.o.b+o.d.a,(u=jst(o,r))&&(l=t.g[u.p],c=Hv(t.p[l.p])+Hv(t.d[u.p])-u.d.d,a=e.Math.min(a,c-(s+BL(t.k,o,u))));}while(h!=o);return a}function QOt(t,e){var n,i;return !t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),null!=(i=rpt(t.o,e))?i:(iD(n=e.wg(),4)&&(null==n?(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),Ypt(t.o,e)):(!t.o&&(t.o=new y7((SYt(),_Ie),eOe,t,0)),wkt(t.o,e,n))),n)}function JOt(){JOt=I,SAe=new HA("H_LEFT",0),CAe=new HA("H_CENTER",1),MAe=new HA("H_RIGHT",2),NAe=new HA("V_TOP",3),DAe=new HA("V_CENTER",4),LAe=new HA("V_BOTTOM",5),IAe=new HA("INSIDE",6),OAe=new HA("OUTSIDE",7),AAe=new HA("H_PRIORITY",8);}function tLt(t){var e,n,i,r,a,o,s;if((e=t.Hh(W7t))&&null!=(s=EB(rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"settingDelegates")))){for(n=new Lw,a=0,o=(r=vjt(s,"\\w+")).length;a<o;++a)i=r[a],n.c[n.c.length]=i;return n}return EV(),EV(),cne}function eLt(t,e){var n,i,r,a,o,s,c;if(!e.f)throw Fw(new Rv("The input edge is not a tree edge."));for(a=null,r=PWt,i=new Kd(t.d);i.a<i.c.c.length;)s=(n=$z(Q1(i),213)).d,c=n.e,$At(t,s,e)&&!$At(t,c,e)&&(o=c.e-s.e-n.a)<r&&(r=o,a=n);return a}function nLt(t){var e,n,i,r,a,o;if(!(t.f.e.c.length<=1)){e=0,r=aOt(t),n=BVt;do{for(e>0&&(r=n),o=new Kd(t.f.e);o.a<o.c.c.length;)zv(kB(yTt(a=$z(Q1(o),144),(ixt(),yoe))))||(i=Q$t(t,a),GR(mI(a.d),i));n=aOt(t);}while(!VY(t,e++,r,n))}}function iLt(t,e){var n,i,r;for(MEt(e,"Layer constraint preprocessing",1),n=new Lw,r=new _2(t.a,0);r.b<r.d.gc();)TP(r.b<r.d.gc()),Yst(i=$z(r.d.Xb(r.c=r.b++),10))&&(rEt(i),n.c[n.c.length]=i,uW(r));0==n.c.length||uct(t,(uWt(),Qhe),n),zCt(e);}function rLt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Kd(t.d);i.a<i.c.c.length;)r=(n=$z(Q1(i),70)).n,t.a==(Mst(),wue)||t.i==(vKt(),oMe)?r.a=a:t.a==yue||t.i==(vKt(),CMe)?r.a=a+t.j.a-n.o.a:r.a=a+(t.j.a-n.o.a)/2,r.b=o,GR(r,e),o+=n.o.b+t.e;}function aLt(t,e,n){var i,r,a,o;for(MEt(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,i=cwt(e.b,0);!a&&i.b!=i.d.c;)zv(kB(yTt(o=$z(h3(i),86),(HUt(),dxe))))&&(a=o,(r=o.e).a=$z(yTt(o,gxe),19).a,r.b=0);jCt(t,Nst(a),yat(n,1)),zCt(n);}function oLt(t,e,n){var i,r,a;for(MEt(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,r=null,i=cwt(e.b,0);!r&&i.b!=i.d.c;)zv(kB(yTt(a=$z(h3(i),86),(HUt(),dxe))))&&(r=a);r&&QPt(t,a6(Cst(Hx(Xve,1),tJt,86,0,[r])),n),zCt(n);}function sLt(t,e){var n,i,r,a,o;(a=N2(t,"individualSpacings"))&&(!T8(e,(cWt(),CSe))&&(n=new Qs,Vwt(e,CSe,n)),r=$z(QOt(e,CSe),373),i=null,(o=a)&&(i=new kE(o,xrt(o,D8(Xee,cXt,2,0,6,1)))),i&&t5(i,new dM(o,r)));}function cLt(t,e){var n,i,r,a,o,s;return a=null,(Z6t in(o=t).a||Q6t in o.a||P6t in o.a)&&(s=Hst(e),i=N2(o,Z6t),Mgt(new Fb(s).a,i),r=N2(o,Q6t),Agt(new Vb(s).a,r),n=L2(o,P6t),C_t(new Jb(s).a,n),a=n),a}function uLt(t,e){var n,i,r;if(e===t)return !0;if(iD(e,543)){if(r=$z(e,835),t.a.d!=r.a.d||xX(t).gc()!=xX(r).gc())return !1;for(i=xX(r).Kc();i.Ob();)if(i1(t,(n=$z(i.Pb(),416)).a.cd())!=$z(n.a.dd(),14).gc())return !1;return !0}return !1}function lLt(t){var e,n,i,r;return e=i=$z(t.a,19).a,n=r=$z(t.b,19).a,0==i&&0==r?n-=1:-1==i&&r<=0?(e=0,n-=2):i<=0&&r>0?(e-=1,n-=1):i>=0&&r<0?(e+=1,n+=1):i>0&&r>=0?(e-=1,n+=1):(e+=1,n-=1),new nM(nft(e),nft(n))}function hLt(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?Jct(t.a)-Jct(e.a):t.d==(W4(),Fme)&&e.d==$me?-1:t.d==$me&&e.d==Fme?1:0}function fLt(t,e){var n,i,r,a,o;return o=(a=e.a).c.i==e.b?a.d:a.c,i=a.c.i==e.b?a.c:a.d,(r=Ggt(t.a,o,i))>0&&r<QQt?(n=VOt(t.a,i.i,r,t.c),int(t.a,i.i,-n),n>0):r<0&&-r<QQt&&(n=ZOt(t.a,i.i,-r,t.c),int(t.a,i.i,n),n>0)}function dLt(t,e,n,i){var r,a,o,s,c,u;for(r=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,u=new Kd(t.c);u.a<u.c.c.length;)s=(c=$z(Q1(u),33)).g,o=c.f,Cnt(c,c.i+a*r),Snt(c,c.j+i*n),Tnt(c,c.g+r),Ent(c,t.a),++a,hAt(c,new DA(c.g,c.f),new DA(s,o));}function gLt(t){var e,n,i,r,a,o,s;if(null==t)return null;for(s=t.length,o=D8(ONe,w6t,25,r=(s+1)/2|0,15,1),s%2!=0&&(o[--r]=QBt((h1(s-1,t.length),t.charCodeAt(s-1)))),n=0,i=0;n<r;++n)e=QBt(uX(t,i++)),a=QBt(uX(t,i++)),o[n]=(e<<4|a)<<24>>24;return o}function pLt(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,i=t.d;i=i.split("/"),t.o=$pt(".",[n,$pt("$",i)]),t.b=$pt(".",[n,$pt(".",i)]),t.k=i[i.length-1];}function bLt(t,e){var n,i,r,a,o;for(o=null,a=new Kd(t.e.a);a.a<a.c.c.length;)if((r=$z(Q1(a),121)).b.a.c.length==r.g.a.c.length){for(i=r.e,o=eSt(r),n=r.e-$z(o.a,19).a+1;n<r.e+$z(o.b,19).a;n++)e[n]<e[i]&&(i=n);e[i]<e[r.e]&&(--e[r.e],++e[i],r.e=i);}}function wLt(t){var n,i,r,a,o,s,c;for(r=BVt,i=RVt,n=new Kd(t.e.b);n.a<n.c.c.length;)for(o=new Kd($z(Q1(n),29).a);o.a<o.c.c.length;)a=$z(Q1(o),10),s=(c=Hv(t.p[a.p]))+Hv(t.b[t.g[a.p].p]),r=e.Math.min(r,c),i=e.Math.max(i,s);return i-r}function yLt(t,e,n,i){var r,a,o,s,c;for(s=0,c=(r=xjt(t,e)).gc();s<c;++s)if(wj(i,mX($9(t,a=$z(r.Xb(s),170)))))if(o=vX($9(t,a)),null==n){if(null==o)return a}else if(wj(n,o))return a;return null}function mLt(t,e,n,i){var r,a,o,s,c;for(s=0,c=(r=kjt(t,e)).gc();s<c;++s)if(wj(i,mX($9(t,a=$z(r.Xb(s),170)))))if(o=vX($9(t,a)),null==n){if(null==o)return a}else if(wj(n,o))return a;return null}function vLt(t,e,n){var i,r,a,o,s,c;if(o=new bc,s=aPt(t.e.Tg(),e),i=$z(t.g,119),ZT(),$z(e,66).Oj())for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&u7(o,r);else for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&(c=r.dd(),u7(o,n?$Mt(t,e,a,o.i,c):c));return L3(o)}function xLt(t,e){var n,i,r,a;for(n=new zdt(ale),OSt(),r=0,a=(i=Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])).length;r<a;++r)fR(n,i[r],new Lw);return VE(IX(MX(ftt(new PU(null,new f1(t.b,16)),new Jn),new ti),new cp(e)),new up(n)),n}function kLt(t,n,i){var r,a,o,s,c,u,l,h;for(o=n.Kc();o.Ob();)u=(a=$z(o.Pb(),33)).i+a.g/2,h=a.j+a.f/2,c=u-((s=t.f).i+s.g/2),l=h-(s.j+s.f/2),r=e.Math.sqrt(c*c+l*l),c*=t.e/r,l*=t.e/r,i?(u-=c,h-=l):(u+=c,h+=l),Cnt(a,u-a.g/2),Snt(a,h-a.f/2);}function _Lt(t){var e,n,i;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])&&(i=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=i,i=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=i);t.c=!0;}}function ELt(t,e){var n,i,r,a,o,s;for(a=(1==e?Koe:qoe).a.ec().Kc();a.Ob();)for(r=$z(a.Pb(),103),s=$z(c6(t.f.c,r),21).Kc();s.Ob();)switch(o=$z(s.Pb(),46),i=$z(o.b,81),n=$z(o.a,189).c,r.g){case 2:case 1:i.g.d+=n;break;case 4:case 3:i.g.c+=n;}}function TLt(t,e){var n,i,r,a,o,s,c,u,l;for(u=-1,l=0,s=0,c=(o=t).length;s<c;++s){for(a=o[s],n=new mH(-1==u?t[0]:t[u],e,(Elt(),aye)),i=0;i<a.length;i++)for(r=i+1;r<a.length;r++)OP(a[i],(uWt(),ffe))&&OP(a[r],ffe)&&lYt(n,a[i],a[r])>0&&++l;++u;}return l}function CLt(t){var e;return (e=new lN(Qk(t.gm))).a+="@",oI(e,(Jct(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",aI(e,t.qh()),t.$g()&&(e.a+=" eClass: ",aI(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",aI(e,t.$g()),e.a+=")"),e.a}function SLt(t){var e,n,i;if(t.e)throw Fw(new jv((xB(gie),IZt+gie.k+OZt)));for(t.d==($ht(),$Se)&&_qt(t,RSe),n=new Kd(t.a.a);n.a<n.c.c.length;)(e=$z(Q1(n),307)).g=e.i;for(i=new Kd(t.a.b);i.a<i.c.c.length;)$z(Q1(i),57).i=RVt;return t.b.Le(t),t}function ALt(t,e){var n,i,r,a,o;if(e<2*t.b)throw Fw(new Rv("The knot vector must have at least two time the dimension elements."));for(t.f=1,r=0;r<t.b;r++)Kz(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)Kz(t.e,a/n);if(t.d)for(i=0;i<t.b;i++)Kz(t.e,1);}function MLt(t,e){var n,i,r,a,o;if(a=e,!(o=$z(qit(TY(t.i),a),33)))throw Fw(new tx("Unable to find elk node for json object '"+P2(a,H6t)+"' Panic!"));i=L2(a,"edges"),LMt((n=new aM(t,o)).a,n.b,i),r=L2(a,I6t),Pxt(new Lb(t).a,r);}function ILt(t,e,n,i){var r,a,o,s,c;if(null!=i){if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if((o=$z(a[s],133)).Sh()==n&&Dht(i,o.cd()))return s}else if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if(HM((o=$z(a[s],133)).cd())===HM(i))return s;return -1}function OLt(t,e){var n,i;return iD(n=null==e?zM(MZ(t.f,null)):cC(t.g,e),235)?((i=$z(n,235)).Qh(),i):iD(n,498)?((i=$z(n,1938).a)&&(null==i.yb||(null==e?xAt(t.f,null,i):odt(t.g,e,i))),i):null}function LLt(t){var e,n,i,r,a,o,s;if(RBt(),null==t)return null;if((r=t.length)%2!=0)return null;for(e=Y9(t),n=D8(ONe,w6t,25,a=r/2|0,15,1),i=0;i<a;i++){if(-1==(o=YDe[e[2*i]]))return null;if(-1==(s=YDe[e[2*i+1]]))return null;n[i]=(o<<4|s)<<24>>24;}return n}function DLt(t,e,n){var i,r,a;if(!(r=$z(oX(t.i,e),306)))if(r=new det(t.d,e,n),wG(t.i,e,r),abt(e))xD(t.a,e.c,e.b,r);else switch(a=LSt(e),i=$z(oX(t.p,a),244),a.g){case 1:case 3:r.j=!0,vv(i,e.b,r);break;case 4:case 2:r.k=!0,vv(i,e.c,r);}return r}function NLt(t,e,n,i){var r,a,o,s,c,u;if(s=new bc,c=aPt(t.e.Tg(),e),r=$z(t.g,119),ZT(),$z(e,66).Oj())for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&u7(s,a);else for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&(u=a.dd(),u7(s,i?$Mt(t,e,o,s.i,u):u));return Xgt(s,n)}function PLt(t,n){var i,r,a,o,s,c;if((r=t.b[n.p])>=0)return r;for(a=1,o=new Kd(n.j);o.a<o.c.c.length;)for(i=new Kd($z(Q1(o),11).g);i.a<i.c.c.length;)n!=(c=$z(Q1(i),17).d.i)&&(s=PLt(t,c),a=e.Math.max(a,s+1));return ngt(t,n,a),a}function BLt(t,e,n){var i,r,a;for(i=1;i<t.c.length;i++){for(l1(i,t.c.length),a=$z(t.c[i],10),r=i;r>0&&e.ue((l1(r-1,t.c.length),$z(t.c[r-1],10)),a)>0;)i5(t,r,(l1(r-1,t.c.length),$z(t.c[r-1],10))),--r;l1(r,t.c.length),t.c[r]=a;}n.a=new Dw,n.b=new Dw;}function RLt(t,e,n){var i,r,a,o,s,c,u;for(u=new Xj(i=$z(e.e&&e.e(),9),$z(ER(i,i.length),9),0),o=0,s=(a=vjt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=BTt(r=a[o]).length){if(null==(c=zMt(t,r)))return null;srt(u,$z(c,22));}return u}function jLt(t){var n,i,r;for(i=new Kd(t.a.a.b);i.a<i.c.c.length;)n=$z(Q1(i),81),mW(0),(r=0)>0&&((!dO(t.a.c)||!n.n.d)&&(!gO(t.a.c)||!n.n.b)&&(n.g.d-=e.Math.max(0,r/2-.5)),(!dO(t.a.c)||!n.n.a)&&(!gO(t.a.c)||!n.n.c)&&(n.g.a+=e.Math.max(0,r-1)));}function $Lt(t,e,n){var i;if(2==(t.c-t.b&t.a.length-1))e==(vKt(),sMe)||e==oMe?(xet($z(kct(t),15),(Kvt(),vAe)),xet($z(kct(t),15),xAe)):(xet($z(kct(t),15),(Kvt(),xAe)),xet($z(kct(t),15),vAe));else for(i=new hX(t);i.a!=i.b;)xet($z(jlt(i),15),n);}function FLt(t,e){var n,i,r,a,o,s;for(o=new _2(i=Fz(new sw(t)),i.c.length),s=new _2(r=Fz(new sw(e)),r.c.length),a=null;o.b>0&&s.b>0&&(TP(o.b>0),n=$z(o.a.Xb(o.c=--o.b),33),TP(s.b>0),n==$z(s.a.Xb(s.c=--s.b),33));)a=n;return a}function zLt(t,n){var i,r,a,o;return a=t.a*aZt+1502*t.b,o=t.b*aZt+11,a+=i=e.Math.floor(o*oZt),o-=i*sZt,a%=sZt,t.a=a,t.b=o,n<=24?e.Math.floor(t.a*Ane[n]):((r=t.a*(1<<n-24)+e.Math.floor(t.b*Mne[n]))>=2147483648&&(r-=KVt),r)}function HLt(t,e,n){var i,r,a,o;f0(t,e)>f0(t,n)?(i=adt(n,(vKt(),oMe)),t.d=i.dc()?0:aU($z(i.Xb(0),11)),o=adt(e,CMe),t.b=o.dc()?0:aU($z(o.Xb(0),11))):(r=adt(n,(vKt(),CMe)),t.d=r.dc()?0:aU($z(r.Xb(0),11)),a=adt(e,oMe),t.b=a.dc()?0:aU($z(a.Xb(0),11)));}function ULt(t){var e,n,i,r,a,o,s;if(t&&(e=t.Hh(W7t))&&null!=(o=EB(rpt((!e.b&&(e.b=new VP((pWt(),yLe),GLe,e)),e.b),"conversionDelegates")))){for(s=new Lw,r=0,a=(i=vjt(o,"\\w+")).length;r<a;++r)n=i[r],s.c[s.c.length]=n;return s}return EV(),EV(),cne}function GLt(t,e){var n,i,r,a;for(n=t.o.a,a=$z($z(c6(t.r,e),21),84).Kc();a.Ob();)(r=$z(a.Pb(),111)).e.a=n*Hv(_B(r.b.We(Ore))),r.e.b=(i=r.b).Xe((cWt(),rSe))?i.Hf()==(vKt(),sMe)?-i.rf().b-Hv(_B(i.We(rSe))):Hv(_B(i.We(rSe))):i.Hf()==(vKt(),sMe)?-i.rf().b:0;}function qLt(t){var e,n,i,r,a,o,s,c;e=!0,r=null,a=null;t:for(c=new Kd(t.a);c.a<c.c.c.length;)for(i=new oq(ZD(ldt(s=$z(Q1(c),10)).a.Kc(),new l));gOt(i);){if(n=$z(G5(i),17),r&&r!=s){e=!1;break t}if(r=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o;}return e}function KLt(t,e,n){var i,r,a,o,s,c;for(a=-1,s=-1,o=0;o<e.c.length&&(l1(o,e.c.length),!((r=$z(e.c[o],329)).c>t.c));o++)r.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=zT((l1(i=VRt(t,e,a,s),e.c.length),$z(e.c[i],329))),hIt(e,i,n)),c}function YLt(){YLt=I,l_e=new qO((cWt(),iCe),1.3),g_e=vCe,S_e=new KO(15),C_e=new qO(qCe,S_e),I_e=new qO(OSe,15),h_e=cCe,v_e=BCe,x_e=$Ce,k_e=zCe,m_e=NCe,__e=GCe,A_e=uSe,OOt(),T_e=o_e,y_e=r_e,E_e=a_e,M_e=c_e,p_e=i_e,b_e=CCe,w_e=SCe,d_e=n_e,f_e=e_e,O_e=u_e;}function WLt(t,e,n){var i,r,a,o,s;for(Fit(r=new kc,(mW(e),e)),!r.b&&(r.b=new VP((pWt(),yLe),GLe,r)),s=r.b,o=1;o<n.length;o+=2)wkt(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new tK(POe,t,0,3)),i=t.Ab,a=0;a<0;++a)i=wW($z(Yet(i,i.i-1),590));u7(i,r);}function XLt(t,e,n){var i,r,a;for(OB.call(this,new Lw),this.a=e,this.b=n,this.e=t,t.b&&Wzt(t),i=t.a,this.d=VX(i.a,this.a),this.c=VX(i.b,this.b),sdt(this,this.d,this.c),yMt(this),a=this.e.e.a.ec().Kc();a.Ob();)(r=$z(a.Pb(),266)).c.c.length>0&&NUt(this,r);}function VLt(t,e,n,i,r,a){var o,s,c;if(!r[e.b]){for(r[e.b]=!0,!(o=i)&&(o=new y6),Kz(o.e,e),c=a[e.b].Kc();c.Ob();)(s=$z(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&VLt(t,s.c,e,o,r,a),s.d!=e&&VLt(t,s.d,e,o,r,a),Kz(o.c,s),pst(o.d,s.b));return o}return null}function ZLt(t){var e,n,i;for(e=0,n=new Kd(t.e);n.a<n.c.c.length;)o5(new PU(null,new f1($z(Q1(n),17).b,16)),new wn)&&++e;for(i=new Kd(t.g);i.a<i.c.c.length;)o5(new PU(null,new f1($z(Q1(i),17).b,16)),new yn)&&++e;return e>=2}function QLt(t,e){var n,i,r,a;for(MEt(e,"Self-Loop pre-processing",1),i=new Kd(t.a);i.a<i.c.c.length;)Rdt(n=$z(Q1(i),10))&&(a=new Mbt(n),uct(n,(uWt(),Afe),a),v$t(a),VE(IX(ftt(new PU(null,new f1((r=a).d,16)),new Hi),new Ui),new Gi),nPt(r));zCt(e);}function JLt(t,e,n,i,r){var a,o,s,c,u;for(a=t.c.d.j,o=$z(Pwt(n,0),8),u=1;u<n.b;u++)c=$z(Pwt(n,u),8),n5(i,o,i.c.b,i.c),s=mD(GR(new fO(o),c),.5),GR(s,mD(new qJ(uut(a)),r)),n5(i,s,i.c.b,i.c),o=c,a=0==e?Eft(a):kft(a);NH(i,(TP(0!=n.b),$z(n.c.b.c,8)));}function tDt(t){return JOt(),!(Sot(AQ(xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[OAe])),t))>1||Sot(AQ(xG(SAe,Cst(Hx(HAe,1),OXt,93,0,[CAe,MAe])),t))>1||Sot(AQ(xG(NAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,LAe])),t))>1)}function eDt(t,e){var n,i,r;return (n=e.Hh(t.a))&&null!=(r=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),"affiliation")))?-1==(i=wN(r,VEt(35)))?oft(t,rq(t,qet(e.Hj())),r):0==i?oft(t,null,r.substr(1)):oft(t,r.substr(0,i),r.substr(i+1)):null}function nDt(t){var e,n;try{return null==t?GWt:Fdt(t)}catch(i){if(iD(i=hst(i),102))return e=i,n=Qk(tut(t))+"@"+(IE(),(eyt(t)>>>0).toString(16)),Rbt(xst(),(lT(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+Qk(e.gm)+">";throw Fw(i)}}function iDt(t){switch(t.g){case 0:return new ah;case 1:return new th;case 2:return new IT;case 3:return new Ma;case 4:return new PR;case 5:return new oh;default:throw Fw(new Rv("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function rDt(t,e,n){var i,r,a;for(a=new Kd(t.t);a.a<a.c.c.length;)(i=$z(Q1(a),268)).b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&NH(e,i.b));for(r=new Kd(t.i);r.a<r.c.c.length;)(i=$z(Q1(r),268)).a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&NH(n,i.a));}function aDt(t){var e,n,i;if(null==t.g&&(t.d=t.si(t.f),u7(t,t.d),t.c))return t.f;if(i=(e=$z(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(i)).Ob())t.d=n,u7(t,n);else for(t.d=null;!e.Ob()&&(IY(t.g,--t.i,null),0!=t.i);)e=$z(t.g[t.i-1],47);return i}function oDt(t,e){var n,i,r,a,o,s;if(r=(i=e).ak(),OPt(t.e,r)){if(r.hi()&&H3(t,r,i.dd()))return !1}else for(s=aPt(t.e.Tg(),r),n=$z(t.g,119),a=0;a<t.i;++a)if(o=n[a],s.rl(o.ak()))return !Dht(o,i)&&($z(syt(t,a,e),72),!0);return u7(t,e)}function sDt(t,n,i,r){var a,o,s;for($f(a=new Oyt(t),(oCt(),Ese)),uct(a,(uWt(),dfe),n),uct(a,Tfe,r),uct(a,(zYt(),twe),(X_t(),qAe)),uct(a,cfe,n.c),uct(a,ufe,n.d),GPt(n,a),s=e.Math.floor(i/2),o=new Kd(a.j);o.a<o.c.c.length;)$z(Q1(o),11).n.b=s;return a}function cDt(t,e){var n,i,r,a,o,s,c,u,l;for(c=sP(t.c-t.b&t.a.length-1),u=null,l=null,a=new hX(t);a.a!=a.b;)r=$z(jlt(a),10),n=(s=$z(yTt(r,(uWt(),cfe)),11))?s.i:null,i=(o=$z(yTt(r,ufe),11))?o.i:null,u==n&&l==i||(UOt(c,e),u=n,l=i),c.c[c.c.length]=r;UOt(c,e);}function uDt(t){var n,i,r,a,o,s;for(n=0,i=new Kd(t.a);i.a<i.c.c.length;)for(a=new oq(ZD(hdt($z(Q1(i),10)).a.Kc(),new l));gOt(a);)t==(r=$z(G5(a),17)).d.i.c&&r.c.j==(vKt(),CMe)&&(o=g1(r.c).b,s=g1(r.d).b,n=e.Math.max(n,e.Math.abs(s-o)));return n}function lDt(t,e,n){var i,r;MEt(n,"Remove overlaps",1),n.n&&e&&y0(n,o2(e),(Fut(),aIe)),i=$z(QOt(e,(fB(),Yxe)),33),t.f=i,t.a=kyt($z(QOt(e,(qvt(),Pke)),293)),ed(t,(mW(r=_B(QOt(e,(cWt(),OSe)))),r)),Kqt(t,e,dBt(i),n),n.n&&e&&y0(n,o2(e),(Fut(),aIe));}function hDt(t,n,i){switch(i.g){case 1:return new DA(n.a,e.Math.min(t.d.b,n.b));case 2:return new DA(e.Math.max(t.c.a,n.a),n.b);case 3:return new DA(n.a,e.Math.max(t.c.b,n.b));case 4:return new DA(e.Math.min(n.a,t.d.a),n.b)}return new DA(n.a,n.b)}function fDt(t,e,n,i){var r,a,o,s,c,u,l,h,f;for(h=i?(vKt(),CMe):(vKt(),oMe),r=!1,u=0,l=(c=e[n]).length;u<l;++u)Oj($z(yTt(s=c[u],(zYt(),twe)),98))||(o=s.e,(f=!adt(s,h).dc()&&!!o)&&(a=H_t(o),t.b=new G_t(a,i?0:a.length-1)),r|=r$t(t,s,h,f));return r}function dDt(t){var e,n,i;for(Kz(e=sP(1+(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c).i),(!t.d&&(t.d=new cj(BIe,t,8,5)),t.d)),i=new MD((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));i.e!=i.i.gc();)Kz(e,(!(n=$z(vwt(i),118)).d&&(n.d=new cj(BIe,n,8,5)),n.d));return yY(e),new AI(e)}function gDt(t){var e,n,i;for(Kz(e=sP(1+(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c).i),(!t.e&&(t.e=new cj(BIe,t,7,4)),t.e)),i=new MD((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));i.e!=i.i.gc();)Kz(e,(!(n=$z(vwt(i),118)).e&&(n.e=new cj(BIe,n,7,4)),n.e));return yY(e),new AI(e)}function pDt(t){var e,n,i,r;if(null==t)return null;if(i=$zt(t,!0),r=N9t.length,wj(i.substr(i.length-r,r),N9t))if(4==(n=i.length)){if(h1(0,i.length),43==(e=i.charCodeAt(0)))return $De;if(45==e)return jDe}else if(3==n)return $De;return fCt(i)}function bDt(t){var e,n,i,r;for(e=0,n=0,r=new Kd(t.j);r.a<r.c.c.length;)if(e=dG(idt(e,z6(MX(new PU(null,new f1((i=$z(Q1(r),11)).e,16)),new Za)))),n=dG(idt(n,z6(MX(new PU(null,new f1(i.g,16)),new Qa)))),e>1||n>1)return 2;return e+n==1?2:0}function wDt(t,e,n){var i,r,a,o;for(MEt(n,"ELK Force",1),zv(kB(QOt(e,(lRt(),Kae))))||vQ(new kg((HT(),new Nv(e)))),vxt(o=lct(e)),Gct(t,$z(yTt(o,Hae),424)),r=(a=zFt(t.a,o)).Kc();r.Ob();)i=$z(r.Pb(),231),Cjt(t.b,i,yat(n,1/a.gc()));TKt(o=UKt(a)),zCt(n);}function yDt(t,e){var n,i,r;if(MEt(e,"Breaking Point Processor",1),Mqt(t),zv(kB(yTt(t,(zYt(),Hwe))))){for(i=new Kd(t.b);i.a<i.c.c.length;)for(n=0,r=new Kd($z(Q1(i),29).a);r.a<r.c.c.length;)$z(Q1(r),10).p=n++;sHt(t),zPt(t,!0),zPt(t,!1);}zCt(e);}function mDt(t,e,n){var i,r,a,o,s;for(o=t.c,a=(n.q?n.q:(EV(),EV(),une)).vc().Kc();a.Ob();)r=$z(a.Pb(),42),!v_(MX(new PU(null,new f1(o,16)),new rg(new OA(e,r)))).sd((dT(),Jne))&&(iD(s=r.dd(),4)&&null!=(i=Zpt(s))&&(s=i),e.Ye($z(r.cd(),146),s));}function vDt(t,e){var n,i,r,a;if(e){for(a=!(r=iD(t.Cb,88)||iD(t.Cb,99))&&iD(t.Cb,322),n=new MD((!e.a&&(e.a=new rG(e,KOe,e)),e.a));n.e!=n.i.gc();)if(i=hFt($z(vwt(n),87)),r?iD(i,88):a?iD(i,148):i)return i;return r?(pWt(),fLe):(pWt(),uLe)}return null}function xDt(t,e){var n,i,r,a,o;for(MEt(e,"Constraints Postprocessor",1),a=0,r=new Kd(t.b);r.a<r.c.c.length;){for(o=0,i=new Kd($z(Q1(r),29).a);i.a<i.c.c.length;)(n=$z(Q1(i),10)).k==(oCt(),Cse)&&(uct(n,(zYt(),vbe),nft(a)),uct(n,$pe,nft(o)),++o);++a;}zCt(e);}function kDt(t,e,n,i){var r,a,o,s,c,u;for(qR(s=new DA(n,i),$z(yTt(e,(HUt(),Qve)),8)),u=cwt(e.b,0);u.b!=u.d.c;)GR((c=$z(h3(u),86)).e,s),NH(t.b,c);for(o=cwt(e.a,0);o.b!=o.d.c;){for(r=cwt((a=$z(h3(o),188)).a,0);r.b!=r.d.c;)GR($z(h3(r),8),s);NH(t.a,a);}}function _Dt(t,e,n){var i,r,a;if(!(a=$Ut((ASt(),VLe),t.Tg(),e)))throw Fw(new Rv(i6t+e.ne()+r6t));if(ZT(),!$z(a,66).Oj()&&!(a=Z1($9(VLe,a))))throw Fw(new Rv(i6t+e.ne()+r6t));r=$z((i=t.Yg(a))>=0?t._g(i,!0,!0):rIt(t,a,!0),153),$z(r,215).ml(e,n);}function EDt(t,e){var n,i,r,a,o;for(n=new Lw,r=ftt(new PU(null,new f1(t,16)),new Eo),a=ftt(new PU(null,new f1(t,16)),new To),o=_9(F6(OX(TNt(Cst(Hx(tie,1),zWt,833,0,[r,a])),new Co))),i=1;i<o.length;i++)o[i]-o[i-1]>=2*e&&Kz(n,new mz(o[i-1]+e,o[i]-e));return n}function TDt(t,e,n){MEt(n,"Eades radial",1),n.n&&e&&y0(n,o2(e),(Fut(),aIe)),t.d=$z(QOt(e,(fB(),Yxe)),33),t.c=Hv(_B(QOt(e,(qvt(),Nke)))),t.e=kyt($z(QOt(e,Pke),293)),t.a=hgt($z(QOt(e,Rke),426)),t.b=Hkt($z(QOt(e,Ike),340)),ikt(t),n.n&&e&&y0(n,o2(e),(Fut(),aIe));}function CDt(t,e,n){var i,r,a,o,s;if(n)for(a=((i=new cq(n.a.length)).b-i.a)*i.c<0?(tC(),kNe):new qD(i);a.Ob();)(r=D2(n,$z(a.Pb(),19).a))&&(Oit(o=I3(t,(Jk(),s=new xm,!!e&&FDt(s,e),s),r),P2(r,H6t)),TEt(r,o),MAt(r,o),Nct(t,r,o));}function SDt(t){var e,n,i,r;if(!t.j){if(r=new Mc,null==(e=ELe).a.zc(t,e)){for(i=new MD(mZ(t));i.e!=i.i.gc();)pY(r,SDt(n=$z(vwt(i),26))),u7(r,n);e.a.Bc(t);}rlt(r),t.j=new LI(($z(Yet(WV((WY(),QOe).o),11),18),r.i),r.g),T5(t).b&=-33;}return t.j}function ADt(t){var e,n,i,r;if(null==t)return null;if(i=$zt(t,!0),r=N9t.length,wj(i.substr(i.length-r,r),N9t))if(4==(n=i.length)){if(h1(0,i.length),43==(e=i.charCodeAt(0)))return zDe;if(45==e)return FDe}else if(3==n)return zDe;return new Ny(i)}function MDt(t){var e,n,i;return (n=t.l)&n-1||(i=t.m)&i-1||(e=t.h)&e-1||0==e&&0==i&&0==n?-1:0==e&&0==i&&0!=n?pit(n):0==e&&0!=i&&0==n?pit(i)+22:0!=e&&0==i&&0==n?pit(e)+44:-1}function IDt(t,e){var n,i,r,a;for(MEt(e,"Edge joining",1),n=zv(kB(yTt(t,(zYt(),Nwe)))),i=new Kd(t.b);i.a<i.c.c.length;)for(a=new _2($z(Q1(i),29).a,0);a.b<a.d.gc();)TP(a.b<a.d.gc()),(r=$z(a.d.Xb(a.c=a.b++),10)).k==(oCt(),Tse)&&(iGt(r,n),uW(a));zCt(e);}function ODt(t,e,n){var i;if(c2(t.b),CK(t.b,(Cdt(),F_e),(AT(),HEe)),CK(t.b,z_e,e.g),CK(t.b,H_e,e.a),t.a=OUt(t.b,e),MEt(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(i=new Kd(t.a);i.a<i.c.c.length;)$z(Q1(i),51).pf(e,yat(n,1));zCt(n);}function LDt(t,e){var n,i,r,a,o;for(r=e.a&t.f,a=null,i=t.b[r];;i=i.b){if(i==e){a?a.b=e.b:t.b[r]=e.b;break}a=i;}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 DDt(t){var n,i,r,a,o,s,c,u,l,h;for(i=t.o,n=t.p,s=PWt,a=jXt,c=PWt,o=jXt,l=0;l<i;++l)for(h=0;h<n;++h)wmt(t,l,h)&&(s=e.Math.min(s,l),a=e.Math.max(a,l),c=e.Math.min(c,h),o=e.Math.max(o,h));return u=a-s+1,r=o-c+1,new YX(nft(s),nft(c),nft(u),nft(r))}function NDt(t,e){var n,i,r,a;for(TP((a=new _2(t,0)).b<a.d.gc()),n=$z(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)TP(a.b<a.d.gc()),r=new wH((i=$z(a.d.Xb(a.c=a.b++),140)).c,n.d,e),TP(a.b>0),a.a.Xb(a.c=--a.b),yR(a,r),TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),r.a=!1,n=i;}function PDt(t){var e,n,i,r,a;for(i=$z(yTt(t,(uWt(),Bhe)),11),a=new Kd(t.j);a.a<a.c.c.length;){for(n=new Kd((r=$z(Q1(a),11)).g);n.a<n.c.c.length;)return _J($z(Q1(n),17),i),r;for(e=new Kd(r.e);e.a<e.c.c.length;)return EJ($z(Q1(e),17),i),r}return null}function BDt(t,n,i){var r,a;Wlt(r=lot(i.q.getTime()),0)<0?(a=WXt-dG(hpt(v9(r),WXt)))==WXt&&(a=0):a=dG(hpt(r,WXt)),1==n?DY(t,48+(a=e.Math.min((a+50)/100|0,9))&XXt):2==n?xtt(t,a=e.Math.min((a+5)/10|0,99),2):(xtt(t,a,3),n>3&&xtt(t,0,n-3));}function RDt(t){var e,n,i,r;return HM(yTt(t,(zYt(),sbe)))===HM((oht(),pAe))?!t.e&&HM(yTt(t,Ppe))!==HM((Rot(),mhe)):(i=$z(yTt(t,Bpe),292),r=zv(kB(yTt(t,Fpe)))||HM(yTt(t,zpe))===HM((Mit(),sle)),e=$z(yTt(t,Npe),19).a,n=t.a.c.length,!r&&i!=(Rot(),mhe)&&(0==e||e>n))}function jDt(t){var e,n;for(n=0;n<t.c.length&&!(sU((l1(n,t.c.length),$z(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(sU((l1(e,t.c.length),$z(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function $Dt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=6&&e){if(wxt(t,e))throw Fw(new Rv(d6t+BIt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?cxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Dwt(e,t,6,i)),(i=WB(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,6,e,e));}function FDt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(wxt(t,e))throw Fw(new Rv(d6t+qRt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?lxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Dwt(e,t,9,i)),(i=XB(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,9,e,e));}function zDt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(wxt(t,e))throw Fw(new Rv(d6t+hHt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Ext(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Dwt(e,t,12,i)),(i=YB(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,3,e,e));}function HDt(t){var e,n,i,r,a;if(i=Axt(t),null==(a=t.j)&&i)return t.$j()?null:i.zj();if(iD(i,148)){if((n=i.Aj())&&(r=n.Nh())!=t.i){if((e=$z(i,148)).Ej())try{t.g=r.Kh(e,a);}catch(e){if(!iD(e=hst(e),78))throw Fw(e);t.g=null;}t.i=r;}return t.g}return null}function UDt(t){var e;return Kz(e=new Lw,new DC(new DA(t.c,t.d),new DA(t.c+t.b,t.d))),Kz(e,new DC(new DA(t.c,t.d),new DA(t.c,t.d+t.a))),Kz(e,new DC(new DA(t.c+t.b,t.d+t.a),new DA(t.c+t.b,t.d))),Kz(e,new DC(new DA(t.c+t.b,t.d+t.a),new DA(t.c,t.d+t.a))),e}function GDt(t,e,n,i){var r,a,o;if(o=Ikt(e,n),i.c[i.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return i;for(t.j[o.p]=-1,a=new oq(ZD(udt(o).a.Kc(),new l));gOt(a);)if(!h5(r=$z(G5(a),17))&&(h5(r)||r.c.i.c!=r.d.i.c)&&r!=e)return GDt(t,r,o,i);return i}function qDt(t,e,n){var i,r;for(r=e.a.ec().Kc();r.Ob();)i=$z(r.Pb(),79),!$z(PY(t.b,i),266)&&(VQ(CTt(i))==VQ(MTt(i))?tBt(t,i,n):CTt(i)==VQ(MTt(i))?null==PY(t.c,i)&&null!=PY(t.b,MTt(i))&&iqt(t,i,n,!1):null==PY(t.d,i)&&null!=PY(t.b,CTt(i))&&iqt(t,i,n,!0));}function KDt(t,e){var n,i,r,a,o,s,c;for(r=t.Kc();r.Ob();)for(i=$z(r.Pb(),10),CJ(s=new SCt,i),HAt(s,(vKt(),oMe)),uct(s,(uWt(),vfe),(cN(),!0)),o=e.Kc();o.Ob();)a=$z(o.Pb(),10),CJ(c=new SCt,a),HAt(c,CMe),uct(c,vfe,!0),uct(n=new fZ,vfe,!0),EJ(n,s),_J(n,c);}function YDt(t,e,n,i){var r,a,o,s;r=Ipt(t,e,n),a=Ipt(t,n,e),o=$z(PY(t.c,e),112),s=$z(PY(t.c,n),112),r<a?new UJ((A6(),_ve),o,s,a-r):a<r?new UJ((A6(),_ve),s,o,r-a):(0!=r||e.i&&n.i&&i[e.i.c][n.i.c])&&(new UJ((A6(),_ve),o,s,0),new UJ(_ve,s,o,0));}function WDt(t,e){var n,i,r,a,o,s;for(r=0,o=new Kd(e.a);o.a<o.c.c.length;)for(r+=(a=$z(Q1(o),10)).o.b+a.d.a+a.d.d+t.e,i=new oq(ZD(ldt(a).a.Kc(),new l));gOt(i);)(n=$z(G5(i),17)).c.i.k==(oCt(),Sse)&&(r+=(s=$z(yTt(n.c.i,(uWt(),dfe)),10)).o.b+s.d.a+s.d.d);return r}function XDt(t,e,n){var i,r,a,o,s,c,u;for(a=new Lw,Mzt(t,u=new XE,o=new XE,e),kqt(t,u,o,e,n),c=new Kd(t);c.a<c.c.c.length;)for(r=new Kd((s=$z(Q1(c),112)).k);r.a<r.c.c.length;)i=$z(Q1(r),129),(!e||i.c==(A6(),kve))&&s.g>i.b.g&&(a.c[a.c.length]=i);return a}function VDt(){VDt=I,N_e=new vA("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),D_e=new vA("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),B_e=new vA("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),P_e=new vA("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),R_e=new vA("WHOLE_DRAWING",4);}function ZDt(t,e){if(iD(e,239))return uft(t,$z(e,33));if(iD(e,186))return Pft(t,$z(e,118));if(iD(e,354))return JX(t,$z(e,137));if(iD(e,352))return ZFt(t,$z(e,79));if(e)return null;throw Fw(new Rv(G6t+LTt(new Vv(Cst(Hx(Ite,1),zWt,1,5,[e])))))}function QDt(t){var e,n,i,r,a,o,s;for(a=new XE,r=new Kd(t.d.a);r.a<r.c.c.length;)0==(i=$z(Q1(r),121)).b.a.c.length&&n5(a,i,a.c.b,a.c);if(a.b>1)for(e=MN((n=new zy,++t.b,n),t.d),s=cwt(a,0);s.b!=s.d.c;)o=$z(h3(s),121),qNt(rT(iT(aT(nT(new Fy,1),0),e),o));}function JDt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=11&&e){if(wxt(t,e))throw Fw(new Rv(d6t+GRt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Txt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Dwt(e,t,10,i)),(i=UR(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,11,e,e));}function tNt(t){var e,n,i,r;for(i=new out(new Td(t.b).a);i.b;)r=$z((n=tnt(i)).cd(),11),uct(e=$z(n.dd(),10),(uWt(),dfe),r),uct(r,xfe,e),uct(r,tfe,(cN(),!0)),HAt(r,$z(yTt(e,Whe),61)),yTt(e,Whe),uct(r.i,(zYt(),twe),(X_t(),YAe)),$z(yTt(bW(r.i),Zhe),21).Fc((fBt(),dhe));}function eNt(t,e,n){var i,r,a;if(i=0,r=0,t.c)for(a=new Kd(t.d.i.j);a.a<a.c.c.length;)i+=$z(Q1(a),11).e.c.length;else i=1;if(t.d)for(a=new Kd(t.c.i.j);a.a<a.c.c.length;)r+=$z(Q1(a),11).g.c.length;else r=1;return (n+e)/2+.4*CQ(FH(r-i))*(n-e)}function nNt(t){var e,n;if(L_t(),t.Hc((vKt(),TMe)))throw Fw(new Rv("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return _ue;case 2:return e=t.Hc(oMe)&&t.Hc(CMe),n=t.Hc(sMe)&&t.Hc(EMe),e||n?Cue:Tue;case 3:return Eue;case 4:return kue;default:return null}}function iNt(t,e,n){var i,r,a,o;for(MEt(n,"Breaking Point Removing",1),t.a=$z(yTt(e,(zYt(),Zpe)),218),r=new Kd(e.b);r.a<r.c.c.length;)for(o=new Kd(r0($z(Q1(r),29).a));o.a<o.c.c.length;)Vtt(a=$z(Q1(o),10))&&!(i=$z(yTt(a,(uWt(),Phe)),305)).d&&GKt(t,i);zCt(n);}function rNt(t,e,n){return xBt(),(!Pat(t,e)||!Pat(t,n))&&(yqt(new DA(t.c,t.d),new DA(t.c+t.b,t.d),e,n)||yqt(new DA(t.c+t.b,t.d),new DA(t.c+t.b,t.d+t.a),e,n)||yqt(new DA(t.c+t.b,t.d+t.a),new DA(t.c,t.d+t.a),e,n)||yqt(new DA(t.c,t.d+t.a),new DA(t.c,t.d),e,n))}function aNt(t,e){var n,i,r,a;if(!t.dc())for(n=0,i=t.gc();n<i;++n)if(null==(a=EB(t.Xb(n)))?null==e:wj(a.substr(0,3),"!##")?null!=e&&(r=e.length,!wj(a.substr(a.length-r,r),e)||a.length!=e.length+3)&&!wj(T9t,e):wj(a,C9t)&&!wj(T9t,e)||wj(a,e))return !0;return !1}function oNt(t,e,n,i){var r,a,o,s,c,u;for(o=t.j.c.length,c=D8(rre,iQt,306,o,0,1),s=0;s<o;s++)(a=$z(DU(t.j,s),11)).p=s,c[s]=uIt(yOt(a),n,i);for(WNt(t,c,n,e,i),u=new Dw,r=0;r<c.length;r++)c[r]&&YW(u,$z(DU(t.j,r),11),c[r]);u.f.c+u.g.c!=0&&(uct(t,(uWt(),Uhe),u),ICt(t,c));}function sNt(t,e,n){var i,r;for(i=new Kd(t.a.b);i.a<i.c.c.length;)if((r=u2($z(Q1(i),57)))&&r.k==(oCt(),_se))switch($z(yTt(r,(uWt(),Whe)),61).g){case 4:r.n.a=e.a;break;case 2:r.n.a=n.a-(r.o.a+r.d.c);break;case 1:r.n.b=e.b;break;case 3:r.n.b=n.b-(r.o.b+r.d.a);}}function cNt(){cNt=I,Sye=new FS(XJt,0),kye=new FS("NIKOLOV",1),Tye=new FS("NIKOLOV_PIXEL",2),_ye=new FS("NIKOLOV_IMPROVED",3),Eye=new FS("NIKOLOV_IMPROVED_PIXEL",4),xye=new FS("DUMMYNODE_PERCENTAGE",5),Cye=new FS("NODECOUNT_PERCENTAGE",6),Aye=new FS("NO_BOUNDARY",7);}function uNt(t,e,n){var i,r,a;if(!(r=$z(QOt(e,(TTt(),GTe)),19))&&(r=nft(0)),!(a=$z(QOt(n,GTe),19))&&(a=nft(0)),r.a>a.a)return -1;if(r.a<a.a)return 1;if(t.a){if(0!=(i=Cft(e.j,n.j)))return i;if(0!=(i=Cft(e.i,n.i)))return i}return Cft(e.g*e.f,n.g*n.f)}function lNt(t,e){var n,i,r,a,o,s,c,u,l,h;if(++t.e,e>(c=null==t.d?0:t.d.length)){for(l=t.d,t.d=D8(sOe,r7t,63,2*c+4,0,1),a=0;a<c;++a)if(u=l[a])for(i=u.g,h=u.i,s=0;s<h;++s)o=tR(t,(r=$z(i[s],133)).Sh()),!(n=t.d[o])&&(n=t.d[o]=t.uj()),n.Fc(r);return !0}return !1}function hNt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),OPt(t.e,a)){if(a.hi())for(i=$z(t.g,119),o=0;o<t.i;++o)if(Dht(s=i[o],r)&&o!=e)throw Fw(new Rv(a8t))}else for(c=aPt(t.e.Tg(),a),i=$z(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak()))throw Fw(new Rv(A9t));cft(t,e,n);}function fNt(t,e){var n,i,r,a,o,s;for(n=$z(yTt(e,(uWt(),qhe)),21),o=$z(c6((BYt(),use),n),21),s=$z(c6(pse,n),21),a=o.Kc();a.Ob();)if(i=$z(a.Pb(),21),!$z(c6(t.b,i),15).dc())return !1;for(r=s.Kc();r.Ob();)if(i=$z(r.Pb(),21),!$z(c6(t.b,i),15).dc())return !1;return !0}function dNt(t,e){var n,i,r;for(MEt(e,"Partition postprocessing",1),n=new Kd(t.b);n.a<n.c.c.length;)for(i=new Kd($z(Q1(n),29).a);i.a<i.c.c.length;)for(r=new Kd($z(Q1(i),10).j);r.a<r.c.c.length;)zv(kB(yTt($z(Q1(r),11),(uWt(),vfe))))&&MK(r);zCt(e);}function gNt(t,e){var n,i,r,a,o,s,c;if(1==t.a.c.length)return $Ct($z(DU(t.a,0),187),e);for(r=rht(t),o=0,s=t.d,i=r,c=t.d,a=(s-i)/2+i;i+1<s;){for(o=0,n=new Kd(t.a);n.a<n.c.c.length;)o+=rHt($z(Q1(n),187),a,!1).a;o<e?(c=a,s=a):i=a,a=(s-i)/2+i;}return c}function pNt(t){var e,n,i,r;return isNaN(t)?(q9(),pee):t<-0x8000000000000000?(q9(),dee):t>=0x8000000000000000?(q9(),fee):(i=!1,t<0&&(i=!0,t=-t),n=0,t>=MVt&&(t-=(n=CQ(t/MVt))*MVt),e=0,t>=AVt&&(t-=(e=CQ(t/AVt))*AVt),r=_L(CQ(t),e,n),i&&Mct(r),r)}function bNt(t,e){var n,i,r,a;for(n=!e||!t.u.Hc((hMt(),tMe)),a=0,r=new Kd(t.e.Cf());r.a<r.c.c.length;){if((i=$z(Q1(r),838)).Hf()==(vKt(),TMe))throw Fw(new Rv("Label and node size calculator can only be used with ports that have port sides assigned."));i.vf(a++),Ylt(t,i,n);}}function wNt(t,e){var n,i,r,a;return (i=e.Hh(t.a))&&(!i.b&&(i.b=new VP((pWt(),yLe),GLe,i)),null!=(n=EB(rpt(i.b,Z7t)))&&iD(a=-1==(r=n.lastIndexOf("#"))?aB(t,e.Aj(),n):0==r?_7(t,null,n.substr(1)):_7(t,n.substr(0,r),n.substr(r+1)),148))?$z(a,148):null}function yNt(t,e){var n,i,r,a;return (n=e.Hh(t.a))&&(!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),null!=(r=EB(rpt(n.b,v9t)))&&iD(a=-1==(i=r.lastIndexOf("#"))?aB(t,e.Aj(),r):0==i?_7(t,null,r.substr(1)):_7(t,r.substr(0,i),r.substr(i+1)),148))?$z(a,148):null}function mNt(t){var e,n,i,r,a;for(n=new Kd(t.a.a);n.a<n.c.c.length;){for((e=$z(Q1(n),307)).j=null,a=e.a.a.ec().Kc();a.Ob();)mI((i=$z(a.Pb(),57)).b),(!e.j||i.d.c<e.j.d.c)&&(e.j=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=$z(r.Pb(),57)).b.a=i.d.c-e.j.d.c,i.b.b=i.d.d-e.j.d.d;}return t}function vNt(t){var e,n,i,r,a;for(n=new Kd(t.a.a);n.a<n.c.c.length;){for((e=$z(Q1(n),189)).f=null,a=e.a.a.ec().Kc();a.Ob();)mI((i=$z(a.Pb(),81)).e),(!e.f||i.g.c<e.f.g.c)&&(e.f=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=$z(r.Pb(),81)).e.a=i.g.c-e.f.g.c,i.e.b=i.g.d-e.f.g.d;}return t}function xNt(t){var n,i,r;return i=$z(t.a,19).a,r=$z(t.b,19).a,i<(n=e.Math.max(e.Math.abs(i),e.Math.abs(r)))&&r==-n?new nM(nft(i+1),nft(r)):i==n&&r<n?new nM(nft(i),nft(r+1)):i>=-n&&r==n?new nM(nft(i-1),nft(r)):new nM(nft(i),nft(r-1))}function kNt(){return hWt(),Cst(Hx(aue,1),OXt,77,0,[nce,Jse,ice,mce,jce,_ce,Gce,Ace,Bce,gce,Lce,Sce,Rce,lce,Kce,Yse,Oce,Fce,vce,$ce,Wce,Nce,Wse,Pce,Xce,Hce,Yce,xce,sce,kce,yce,qce,Zse,ace,Tce,Vse,Cce,bce,hce,Mce,dce,tce,Qse,wce,fce,Ice,Uce,Xse,Dce,pce,Ece,cce,oce,zce,rce,uce,ece])}function _Nt(t,e,n){t.d=0,t.b=0,e.k==(oCt(),Sse)&&n.k==Sse&&$z(yTt(e,(uWt(),dfe)),10)==$z(yTt(n,dfe),10)&&(E9(e).j==(vKt(),sMe)?HLt(t,e,n):HLt(t,n,e)),e.k==Sse&&n.k==Tse?E9(e).j==(vKt(),sMe)?t.d=1:t.b=1:n.k==Sse&&e.k==Tse&&(E9(n).j==(vKt(),sMe)?t.b=1:t.d=1),omt(t,e,n);}function ENt(t){var e,n,i,r,a;return a=IEt(t),null!=t.a&&MH(a,"category",t.a),!K_(new Cd(t.d))&&(net(a,"knownOptions",i=new Cf),e=new tw(i),t5(new Cd(t.d),e)),!K_(t.g)&&(net(a,"supportedFeatures",r=new Cf),n=new ew(r),t5(t.g,n)),a}function TNt(t){var e,n,i,r,a,o,s,c;for(e=336,n=0,r=new sR(t.length),s=0,c=(o=t).length;s<c;++s)Xft(a=o[s]),xW(a),i=a.a,Kz(r.a,yY(i)),e&=i.qd(),n=Vut(n,i.rd());return $z($z(qK(new PU(null,HEt(new f1((KY(),Dgt(r.a)),16),new x,e,n)),new xf(t)),670),833)}function CNt(t,e){var n;t.d&&(e.c!=t.e.c||lat(t.e.b,e.b))&&(Kz(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),QI(e.b)?t.c=e:t.b=e,(e.b==(Ist(),Zoe)&&!e.a||e.b==Qoe&&e.a||e.b==Joe&&e.a||e.b==tse&&!e.a)&&t.c&&t.b&&(n=new GX(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e);}function SNt(t){var e;if(Xm.call(this),this.i=new ds,this.g=t,this.f=$z(t.e&&t.e(),9).length,0==this.f)throw Fw(new Rv("There must be at least one phase in the phase enumeration."));this.c=new Xj(e=$z(Yk(this.g),9),$z(ER(e,e.length),9),0),this.a=new $2,this.b=new Dw;}function ANt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=7&&e){if(wxt(t,e))throw Fw(new Rv(d6t+rSt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?uxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=$z(e,49).gh(t,1,DIe,i)),(i=YG(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,7,e,e));}function MNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(wxt(t,e))throw Fw(new Rv(d6t+Wht(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?fxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=$z(e,49).gh(t,0,jIe,i)),(i=WG(t,e,i))&&i.Fi();}else 4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,3,e,e));}function INt(t,e){var n,i,r,a,o,s,c,u,l;return OIt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?KPt(t,e):(u=U5(t,o=(-2&t.d)<<4),l=U5(e,o),i=ozt(t,H5(u,o)),r=ozt(e,H5(l,o)),c=INt(u,l),n=INt(i,r),a=H5(a=OHt(OHt(a=INt(ozt(u,i),ozt(r,l)),c),n),o),OHt(OHt(c=H5(c,o<<1),a),n))}function ONt(t,e,n){var i,r,a,o,s;for(o=Lht(t,n),s=D8(Ase,a1t,10,e.length,0,1),i=0,a=o.Kc();a.Ob();)zv(kB(yTt(r=$z(a.Pb(),11),(uWt(),tfe))))&&(s[i++]=$z(yTt(r,xfe),10));if(i<e.length)throw Fw(new jv("Expected "+e.length+" hierarchical ports, but found only "+i+"."));return s}function LNt(t,e){var n,i,r,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new Vq(t,$Oe,t)),s=new qE((a=t.rb).i),r=new MD(a);r.e!=r.i.gc();)i=$z(vwt(r),138),(n=$z(null==(o=i.ne())?xAt(s.f,null,i):odt(s.g,o,i),138))&&(null==o?xAt(s.f,null,n):odt(s.g,o,n));t.tb=s;}return $z(EQ(t.tb,e),138)}function DNt(t,e){var n,i,r,a,o;if((null==t.i&&HFt(t),t.i).length,!t.p){for(o=new qE(1+(3*t.g.i/2|0)),r=new rP(t.g);r.e!=r.i.gc();)i=$z(xwt(r),170),(n=$z(null==(a=i.ne())?xAt(o.f,null,i):odt(o.g,a,i),170))&&(null==a?xAt(o.f,null,n):odt(o.g,a,n));t.p=o;}return $z(EQ(t.p,e),170)}function NNt(t,e,n,i,r){var a,o,s,c;for(dbt(i+CZ(n,n.$d()),r),JY(e,Lgt(n)),(a=n.f)&&NNt(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=D8(Zte,cXt,78,0,0,1)),s=0,c=(o=n.k).length;s<c;++s)NNt(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console);}function PNt(t,e,n,i){var r,a,o,s;for(o=(s=e.e).length,a=e.q._f(s,n?0:o-1,n),a|=pRt(t,s[n?0:o-1],n,i),r=n?1:o-2;n?r<o:r>=0;r+=n?1:-1)a|=e.c.Sf(s,r,n,i&&!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,(uWt(),Sfe))))),a|=e.q._f(s,r,n),a|=pRt(t,s[r],n,i);return kK(t.c,e),a}function BNt(t,e,n){var i,r,a,o,s,c,u,l;for(u=0,l=(c=S2(t.j)).length;u<l;++u){if(s=c[u],n==(ait(),Fye)||n==Hye)for(a=0,o=(r=Z0(s.g)).length;a<o;++a)MCt(e,i=r[a])&&tzt(i,!0);if(n==zye||n==Hye)for(a=0,o=(r=Z0(s.e)).length;a<o;++a)ACt(e,i=r[a])&&tzt(i,!0);}}function RNt(t){var e,n;switch(e=null,n=null,e_t(t).g){case 1:vKt(),e=oMe,n=CMe;break;case 2:vKt(),e=EMe,n=sMe;break;case 3:vKt(),e=CMe,n=oMe;break;case 4:vKt(),e=sMe,n=EMe;}Hf(t,$z(IN(Aq($z(c6(t.k,e),15).Oc(),Wue)),113)),zf(t,$z(IN(Sq($z(c6(t.k,n),15).Oc(),Wue)),113));}function jNt(t){var e,n,i,r,a,o;if((r=$z(DU(t.j,0),11)).e.c.length+r.g.c.length==0)t.n.a=0;else {for(o=0,i=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(r),new Hg(r)])));gOt(i);)o+=(n=$z(G5(i),11)).i.n.a+n.n.a+n.a.a;a=(e=$z(yTt(t,(zYt(),Qbe)),8))?e.a:0,t.n.a=o/(r.e.c.length+r.g.c.length)-a;}}function $Nt(t,e){var n,i,r;for(i=new Kd(e.a);i.a<i.c.c.length;)n=$z(Q1(i),221),OG($z(n.b,65),qR($L($z(e.b,65).c),$z(e.b,65).a)),(r=V$t($z(e.b,65).b,$z(n.b,65).b))>1&&(t.a=!0),LG($z(n.b,65),GR($L($z(e.b,65).c),mD(qR($L($z(n.b,65).a),$z(e.b,65).a),r))),WJ(t,e),$Nt(t,n);}function FNt(t){var e,n,i,r,a,o;for(r=new Kd(t.a.a);r.a<r.c.c.length;)(n=$z(Q1(r),189)).e=0,n.d.a.$b();for(i=new Kd(t.a.a);i.a<i.c.c.length;)for(e=(n=$z(Q1(i),189)).a.a.ec().Kc();e.Ob();)for(o=$z(e.Pb(),81).f.Kc();o.Ob();)(a=$z(o.Pb(),81)).d!=n&&(kK(n.d,a),++a.d.e);}function zNt(t){var e,n,i,r,a,o,s,c;for(n=0,e=c=t.j.c.length,r=2*c,s=new Kd(t.j);s.a<s.c.c.length;)switch((o=$z(Q1(s),11)).j.g){case 2:case 4:o.p=-1;break;case 1:case 3:i=o.e.c.length,a=o.g.c.length,o.p=i>0&&a>0?e++:i>0?n++:a>0?r++:n++;}EV(),wL(t.j,new di);}function HNt(t){var e,n;n=null,e=$z(DU(t.g,0),17);do{if(OP(n=e.d.i,(uWt(),ufe)))return $z(yTt(n,ufe),11).i;if(n.k!=(oCt(),Cse)&&gOt(new oq(ZD(hdt(n).a.Kc(),new l))))e=$z(G5(new oq(ZD(hdt(n).a.Kc(),new l))),17);else if(n.k!=Cse)return null}while(n&&n.k!=(oCt(),Cse));return n}function UNt(t,e){var n,i,r,a,o,s,c,u,l;for(s=e.j,o=e.g,c=$z(DU(s,s.c.length-1),113),l1(0,s.c.length),u=Qmt(t,o,c,l=$z(s.c[0],113)),a=1;a<s.c.length;a++)l1(a-1,s.c.length),n=$z(s.c[a-1],113),l1(a,s.c.length),(i=Qmt(t,o,n,r=$z(s.c[a],113)))>u&&(c=n,l=r,u=i);e.a=l,e.c=c;}function GNt(t,e){var n;if(!ZK(t.b,e.b))throw Fw(new jv("Invalid hitboxes for scanline constraint calculation."));(vst(e.b,$z(_R(t.b,e.b),57))||vst(e.b,$z(kR(t.b,e.b),57)))&&(IE(),e.b),t.a[e.b.f]=$z(mj(t.b,e.b),57),(n=$z(yj(t.b,e.b),57))&&(t.a[n.f]=e.b);}function qNt(t){if(!t.a.d||!t.a.e)throw Fw(new jv((xB(Fie),Fie.k+" must have a source and target "+(xB(zie),zie.k+" specified."))));if(t.a.d==t.a.e)throw Fw(new jv("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return PN(t.a.d.g,t.a),PN(t.a.e.b,t.a),t.a}function KNt(t,e,n){var i,r,a,o,s,c,u;for(u=new d_(new Vp(t)),s=0,c=(o=Cst(Hx(Hse,1),o1t,11,0,[e,n])).length;s<c;++s)for(a=o[s],Ect(u.a,a,(cN(),bee)),r=new w6(a.b);yL(r.a)||yL(r.b);)(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17)).c==i.d||ZK(u,a==i.c?i.d:i.c);return yY(u),new Jj(u)}function YNt(t,e,n){var i,r,a,o,s,c;if(i=0,0!=e.b&&0!=n.b){a=cwt(e,0),o=cwt(n,0),s=Hv(_B(h3(a))),c=Hv(_B(h3(o))),r=!0;do{if(s>c-t.b&&s<c+t.b)return -1;s>c-t.a&&s<c+t.a&&++i,s<=c&&a.b!=a.d.c?s=Hv(_B(h3(a))):c<=s&&o.b!=o.d.c?c=Hv(_B(h3(o))):r=!1;}while(r)}return i}function WNt(t,e,n,i,r){var a,o,s,c;for(c=new Xj(a=$z(Yk(jMe),9),$z(ER(a,a.length),9),0),s=new Kd(t.j);s.a<s.c.c.length;)e[(o=$z(Q1(s),11)).p]&&(FKt(o,e[o.p],i),srt(c,o.j));r?(U_t(t,e,(vKt(),oMe),2*n,i),U_t(t,e,CMe,2*n,i)):(U_t(t,e,(vKt(),sMe),2*n,i),U_t(t,e,EMe,2*n,i));}function XNt(t){var e,n,i,r,a;if(a=new Lw,Met(t.b,new mg(a)),t.b.c=D8(Ite,zWt,1,0,5,1),0!=a.c.length){for(l1(0,a.c.length),e=$z(a.c[0],78),n=1,i=a.c.length;n<i;++n)l1(n,a.c.length),(r=$z(a.c[n],78))!=e&&UEt(e,r);if(iD(e,60))throw Fw($z(e,60));if(iD(e,289))throw Fw($z(e,289))}}function VNt(t,e){var n,i,r,a;for(t=null==t?GWt:(mW(t),t),n=new Sx,a=0,i=0;i<e.length&&-1!=(r=t.indexOf("%s",a));)oI(n,t.substr(a,r-a)),aI(n,e[i++]),a=r+2;if(oI(n,t.substr(a)),i<e.length){for(n.a+=" [",aI(n,e[i++]);i<e.length;)n.a+=$Wt,aI(n,e[i++]);n.a+="]";}return n.a}function ZNt(t){var e,n,i,r;for(e=0,r=(i=t.length)-4,n=0;n<r;)h1(n+3,t.length),e=t.charCodeAt(n+3)+(h1(n+2,t.length),31*(t.charCodeAt(n+2)+(h1(n+1,t.length),31*(t.charCodeAt(n+1)+(h1(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<i;)e=31*e+uX(t,n++);return e|=0}function QNt(t){var e;for(e=new oq(ZD(hdt(t).a.Kc(),new l));gOt(e);)if($z(G5(e),17).d.i.k!=(oCt(),Ese))throw Fw(new nx(C1t+pvt(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 JNt(t,n,i,r){var a,o,s,c,u,h,f;for(c=0,u=new Kd(t.a);u.a<u.c.c.length;){for(s=0,o=new oq(ZD(ldt($z(Q1(u),10)).a.Kc(),new l));gOt(o);)h=g1((a=$z(G5(o),17)).c).b,f=g1(a.d).b,s=e.Math.max(s,e.Math.abs(f-h));c=e.Math.max(c,s);}return r*e.Math.min(1,n/i)*c}function tPt(t){var e;return e=new Tx,256&t&&(e.a+="F"),128&t&&(e.a+="H"),512&t&&(e.a+="X"),2&t&&(e.a+="i"),8&t&&(e.a+="m"),4&t&&(e.a+="s"),32&t&&(e.a+="u"),64&t&&(e.a+="w"),16&t&&(e.a+="x"),t&v6t&&(e.a+=","),Gv(e.a)}function ePt(t,e){var n,i,r;for(MEt(e,"Resize child graph to fit parent.",1),i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Q1(i),29),pst(t.a,n.a),n.a.c=D8(Ite,zWt,1,0,5,1);for(r=new Kd(t.a);r.a<r.c.c.length;)TJ($z(Q1(r),10),null);t.b.c=D8(Ite,zWt,1,0,5,1),FPt(t),t.e&&T$t(t.e,t),zCt(e);}function nPt(t){var e,n,i,r,a,o,s;if(r=(i=t.b).e,a=Oj($z(yTt(i,(zYt(),twe)),98)),n=!!r&&$z(yTt(r,(uWt(),Zhe)),21).Hc((fBt(),lhe)),!a&&!n)for(s=new Bd(new Ad(t.e).a.vc().Kc());s.a.Ob();)e=$z(s.a.Pb(),42),(o=$z(e.dd(),113)).a&&(CJ(o.d,null),o.c=!0,t.a=!0);}function iPt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(h=-1,f=0,u=0,l=(c=t).length;u<l;++u){for(o=0,s=(a=c[u]).length;o<s;++o)for(r=a[o],e=new pS(-1==h?t[0]:t[h],sxt(r)),n=0;n<r.j.c.length;n++)for(i=n+1;i<r.j.c.length;i++)Lq(e,$z(DU(r.j,n),11),$z(DU(r.j,i),11))>0&&++f;++h;}return f}function rPt(t,e){var n,i,r,a,o;for(o=$z(yTt(e,(SOt(),Oxe)),425),a=cwt(e.b,0);a.b!=a.d.c;)if(r=$z(h3(a),86),0==t.b[r.g]){switch(o.g){case 0:Xyt(t,r);break;case 1:zOt(t,r);}t.b[r.g]=2;}for(i=cwt(t.a,0);i.b!=i.d.c;)mgt((n=$z(h3(i),188)).b.d,n,!0),mgt(n.c.b,n,!0);uct(e,(HUt(),lxe),t.a);}function aPt(t,e){var n,i,r,a;return ZT(),e?e==(qUt(),PDe)||(e==wDe||e==pDe||e==bDe)&&t!=gDe?new rKt(t,e):((n=(i=$z(e,677)).pk())||(mX($9((ASt(),VLe),e)),n=i.pk()),!n.i&&(n.i=new Dw),!(r=$z(zM(MZ((a=n.i).f,t)),1942))&&YW(a,t,r=new rKt(t,e)),r):iDe}function oPt(t,e){var n,i,r,a,o,s,c,u;for(s=$z(yTt(t,(uWt(),dfe)),11),c=Ict(Cst(Hx(TTe,1),cXt,8,0,[s.i.n,s.n,s.a])).a,u=t.i.n.b,r=0,a=(i=Z0(t.e)).length;r<a;++r)_J(n=i[r],s),uI(n.a,new DA(c,u)),e&&((o=$z(yTt(n,(zYt(),bbe)),74))||(o=new mm,uct(n,bbe,o)),NH(o,new DA(c,u)));}function sPt(t,e){var n,i,r,a,o,s,c,u;for(i=$z(yTt(t,(uWt(),dfe)),11),c=Ict(Cst(Hx(TTe,1),cXt,8,0,[i.i.n,i.n,i.a])).a,u=t.i.n.b,o=0,s=(a=Z0(t.g)).length;o<s;++o)EJ(r=a[o],i),cI(r.a,new DA(c,u)),e&&((n=$z(yTt(r,(zYt(),bbe)),74))||(n=new mm,uct(r,bbe,n)),NH(n,new DA(c,u)));}function cPt(t,e){var n,i,r,a,o;for(t.b=new Lw,t.d=$z(yTt(e,(uWt(),Efe)),230),t.e=i0(t.d),a=new XE,r=a6(Cst(Hx(vse,1),ZJt,37,0,[e])),o=0;o<r.c.length;)l1(o,r.c.length),(i=$z(r.c[o],37)).p=o++,pst(r,(n=new SGt(i,t.a,t.b)).b),Kz(t.b,n),n.s&&QK(cwt(a,0),n);return t.c=new Py,a}function uPt(t,e){var n,i,r,a,o,s;for(o=$z($z(c6(t.r,e),21),84).Kc();o.Ob();)(n=(a=$z(o.Pb(),111)).c?YH(a.c):0)>0?a.a?n>(s=a.b.rf().a)&&(r=(n-s)/2,a.d.b=r,a.d.c=r):a.d.c=t.s+n:Fq(t.u)&&((i=jEt(a.b)).c<0&&(a.d.b=-i.c),i.c+i.b>a.b.rf().a&&(a.d.c=i.c+i.b-a.b.rf().a));}function lPt(t,e){var n,i;for(MEt(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new Kd(t.b);i.a<i.c.c.length;)n|=null!=Oht(met(MX(MX(new PU(null,new f1($z(Q1(i),29).a,16)),new Vi),new Zi),new Qi),new Ji).a;n&&uct(t,(uWt(),rfe),(cN(),!0)),zCt(e);}function hPt(t,e,n){var i,r,a;if(!(r=n)&&(r=new qm),MEt(r,"Layout",t.a.c.length),zv(kB(yTt(e,(SOt(),xxe)))))for(IE(),i=0;i<t.a.c.length;i++)i++,Qk(tut($z(DU(t.a,i),51)));for(a=new Kd(t.a);a.a<a.c.c.length;)$z(Q1(a),51).pf(e,yat(r,1));zCt(r);}function fPt(t){var n,i;if(n=$z(t.a,19).a,i=$z(t.b,19).a,n>=0){if(n==i)return new nM(nft(-n-1),nft(-n-1));if(n==-i)return new nM(nft(-n),nft(i+1))}return e.Math.abs(n)>e.Math.abs(i)?new nM(nft(-n),nft(n<0?i:i+1)):new nM(nft(n+1),nft(i))}function dPt(t){var e,n;n=$z(yTt(t,(zYt(),mbe)),163),e=$z(yTt(t,(uWt(),efe)),303),n==(_dt(),jfe)?(uct(t,mbe,zfe),uct(t,efe,(U9(),Che))):n==Ffe?(uct(t,mbe,zfe),uct(t,efe,(U9(),Ehe))):e==(U9(),Che)?(uct(t,mbe,jfe),uct(t,efe,The)):e==Ehe&&(uct(t,mbe,Ffe),uct(t,efe,The));}function gPt(){gPt=I,vve=new co,bve=dU(new $2,(mTt(),Roe),(hWt(),vce)),mve=KG(dU(new $2,Roe,Nce),$oe,Dce),xve=sbt(sbt(jT(KG(dU(new $2,Poe,Gce),$oe,Uce),joe),Hce),qce),wve=KG(dU(dU(dU(new $2,Boe,_ce),joe,Tce),joe,Cce),$oe,Ece),yve=KG(dU(dU(new $2,joe,Cce),joe,ace),$oe,rce);}function pPt(){pPt=I,Cve=dU(KG(new $2,(mTt(),$oe),(hWt(),cce)),Roe,vce),Ive=sbt(sbt(jT(KG(dU(new $2,Poe,Gce),$oe,Uce),joe),Hce),qce),Sve=KG(dU(dU(dU(new $2,Boe,_ce),joe,Tce),joe,Cce),$oe,Ece),Mve=dU(dU(new $2,Roe,Nce),$oe,Dce),Ave=KG(dU(dU(new $2,joe,Cce),joe,ace),$oe,rce);}function bPt(t,e,n,i,r){var a,o;(h5(e)||e.c.i.c!=e.d.i.c)&&Jit(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])),n)||h5(e)||(e.c==r?BP(e.a,0,new fO(n)):NH(e.a,new fO(n)),i&&!jE(t.a,n)&&((o=$z(yTt(e,(zYt(),bbe)),74))||(o=new mm,uct(e,bbe,o)),n5(o,a=new fO(n),o.c.b,o.c),kK(t.a,a)));}function wPt(t){var e;for(e=new oq(ZD(ldt(t).a.Kc(),new l));gOt(e);)if($z(G5(e),17).c.i.k!=(oCt(),Ese))throw Fw(new nx(C1t+pvt(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 yPt(t,e,n){var i,r,a,o,s,c;if(0==(r=bdt(254&t.Db)))t.Eb=n;else {if(1==r)o=D8(Ite,zWt,1,2,5,1),0==Bmt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=D8(Ite,zWt,1,r+1,5,1),a=ent(t.Eb),i=2,s=0,c=0;i<=128;i<<=1)i==e?o[c++]=n:t.Db&i&&(o[c++]=a[s++]);t.Eb=o;}t.Db|=e;}function mPt(t,n,i){var r,a,o,s;for(this.b=new Lw,a=0,r=0,s=new Kd(t);s.a<s.c.c.length;)o=$z(Q1(s),167),i&&Rzt(o),Kz(this.b,o),a+=o.o,r+=o.p;this.b.c.length>0&&(a+=(o=$z(DU(this.b,0),167)).o,r+=o.p),a*=2,r*=2,n>1?a=CQ(e.Math.ceil(a*n)):r=CQ(e.Math.ceil(r/n)),this.a=new Hgt(a,r);}function vPt(t,n,i,r,a,o){var s,c,u,l,h,f,d,g,p,b;for(l=r,n.j&&n.o?(p=(d=$z(PY(t.f,n.A),57)).d.c+d.d.b,--l):p=n.a.c+n.a.b,h=a,i.q&&i.o?(u=(d=$z(PY(t.f,i.C),57)).d.c,++h):u=i.a.c,g=p+(c=(u-p)/e.Math.max(2,h-l)),f=l;f<h;++f)b=(s=$z(o.Xb(f),128)).a.b,s.a.c=g-b/2,g+=c;}function xPt(t,e,n,i,r,a){var o,s,c,u,l,h;for(u=n.c.length,a&&(t.c=D8(ANe,uVt,25,e.length,15,1)),o=r?0:e.length-1;r?o<e.length:o>=0;o+=r?1:-1){for(s=e[o],c=i==(vKt(),oMe)?r?adt(s,i):eot(adt(s,i)):r?eot(adt(s,i)):adt(s,i),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)l=$z(h.Pb(),11),t.d[l.p]=u++;pst(n,c);}}function kPt(t,e,n){var i,r,a,o,s,c,u,l;for(a=Hv(_B(t.b.Kc().Pb())),u=Hv(_B(Yot(e.b))),i=mD($L(t.a),u-n),r=mD($L(e.a),n-a),mD(l=GR(i,r),1/(u-a)),this.a=l,this.b=new Lw,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=Hv(_B(o.Pb())),s&&c-n>P3t&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n);}function _Pt(t){var e,n,i,r;if(ujt(t,t.n),t.d.c.length>0){for(Qv(t.c);bOt(t,$z(Q1(new Kd(t.e.a)),121))<t.e.a.c.length;){for(r=(e=Bvt(t)).e.e-e.d.e-e.a,e.e.j&&(r=-r),i=new Kd(t.e.a);i.a<i.c.c.length;)(n=$z(Q1(i),121)).j&&(n.e+=r);Qv(t.c);}Qv(t.c),bMt(t,$z(Q1(new Kd(t.e.a)),121)),pGt(t);}}function EPt(t,e){var n,i,r,a,o;for(r=$z(c6(t.a,(L_t(),_ue)),15).Kc();r.Ob();)switch(i=$z(r.Pb(),101),n=$z(DU(i.j,0),113).d.j,wL(a=new Jj(i.j),new Qr),e.g){case 1:D_t(t,a,n,(Srt(),Nue),1);break;case 0:D_t(t,new s1(a,0,o=jDt(a)),n,(Srt(),Nue),0),D_t(t,new s1(a,o,a.c.length),n,Nue,1);}}function TPt(t,e){var n,i;if(Dst(),n=k5(rit(),e.tg())){if(i=n.j,iD(t,239))return nJ($z(t,33))?EN(i,(iwt(),sTe))||EN(i,cTe):EN(i,(iwt(),sTe));if(iD(t,352))return EN(i,(iwt(),aTe));if(iD(t,186))return EN(i,(iwt(),uTe));if(iD(t,354))return EN(i,(iwt(),oTe))}return !0}function CPt(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),OPt(t.e,a)){if(a.hi())for(i=$z(t.g,119),o=0;o<t.i;++o)if(Dht(s=i[o],r)&&o!=e)throw Fw(new Rv(a8t))}else for(c=aPt(t.e.Tg(),a),i=$z(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak())&&o!=e)throw Fw(new Rv(A9t));return $z(syt(t,e,n),72)}function SPt(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 APt(t,e){var n,i,r,a,o;if(i=e>>5,e&=31,i>=t.d)return t.e<0?(MBt(),Vee):(MBt(),ene);if(a=t.d-i,XCt(r=D8(ANe,uVt,25,a+1,15,1),a,t.a,i,e),t.e<0){for(n=0;n<i&&0==t.a[n];n++);if(n<i||e>0&&t.a[n]<<32-e){for(n=0;n<a&&-1==r[n];n++)r[n]=0;n==a&&++a,++r[n];}}return q0(o=new lK(t.e,a,r)),o}function MPt(t){var e,n,i,r;return n=new Ig(r=KQ(t)),i=new Og(r),pst(e=new Lw,(!t.d&&(t.d=new cj(BIe,t,8,5)),t.d)),pst(e,(!t.e&&(t.e=new cj(BIe,t,7,4)),t.e)),$z(T4(IX(MX(new PU(null,new f1(e,16)),n),i),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),qne),Gne]))),21)}function IPt(t,e,n,i){var r,a,o,s,c;if(ZT(),s=$z(e,66).Oj(),OPt(t.e,e)){if(e.hi()&&qFt(t,e,i,iD(e,99)&&!!($z(e,18).Bb&FVt)))throw Fw(new Rv(a8t))}else for(c=aPt(t.e.Tg(),e),r=$z(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak()))throw Fw(new Rv(A9t));cft(t,kSt(t,e,n),s?$z(i,72):Z3(e,i));}function OPt(t,e){var n,i,r;return ZT(),!!e.$j()||-2==e.Zj()&&(e==(_It(),cDe)||e==aDe||e==oDe||e==sDe||!(Igt(r=t.Tg(),e)>=0)&&(!(n=$Ut((ASt(),VLe),r,e))||((i=n.Zj())>1||-1==i)&&3!=NW($9(VLe,n))))}function LPt(t,e,n,i){var r,a,o,s,c;return s=CEt($z(Yet((!e.b&&(e.b=new cj(PIe,e,4,7)),e.b),0),82)),c=CEt($z(Yet((!e.c&&(e.c=new cj(PIe,e,5,8)),e.c),0),82)),VQ(s)==VQ(c)||Set(c,s)?null:(o=qQ(e))==n?i:(a=$z(PY(t.a,o),10))&&(r=a.e)?r:null}function DPt(t,e){var n;switch(MEt(e,"Label side selection ("+(n=$z(yTt(t,(zYt(),Vpe)),276))+")",1),n.g){case 0:_Ot(t,(Kvt(),vAe));break;case 1:_Ot(t,(Kvt(),xAe));break;case 2:czt(t,(Kvt(),vAe));break;case 3:czt(t,(Kvt(),xAe));break;case 4:oBt(t,(Kvt(),vAe));break;case 5:oBt(t,(Kvt(),xAe));}zCt(e);}function NPt(t,e,n){var i,r,a,o,s;if((a=t[lk(n,t.length)])[0].k==(oCt(),_se))for(r=uk(n,a.length),s=e.j,i=0;i<s.c.length;i++)l1(i,s.c.length),o=$z(s.c[i],11),(n?o.j==(vKt(),oMe):o.j==(vKt(),CMe))&&zv(kB(yTt(o,(uWt(),tfe))))&&(i5(s,i,$z(yTt(a[r],(uWt(),dfe)),11)),r+=n?1:-1);}function PPt(t,e){var n,i,r,a,o;o=new Lw,n=e;do{(a=$z(PY(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=$z(PY(t.k,n),17);}while(n);return l1(0,o.c.length),(i=$z(o.c[0],128)).j=!0,i.A=$z(i.d.a.ec().Kc().Pb(),17).c.i,(r=$z(DU(o,o.c.length-1),128)).q=!0,r.C=$z(r.d.a.ec().Kc().Pb(),17).d.i,o}function BPt(t){if(null==t.g)switch(t.p){case 0:t.g=uJ(t)?(cN(),wee):(cN(),bee);break;case 1:t.g=Ttt(N3(t));break;case 2:t.g=lst(W1(t));break;case 3:t.g=AW(t);break;case 4:t.g=new Ld(SW(t));break;case 6:t.g=xbt(MW(t));break;case 5:t.g=nft(cQ(t));break;case 7:t.g=ift(R3(t));}return t.g}function RPt(t){if(null==t.n)switch(t.p){case 0:t.n=lJ(t)?(cN(),wee):(cN(),bee);break;case 1:t.n=Ttt(P3(t));break;case 2:t.n=lst(X1(t));break;case 3:t.n=OW(t);break;case 4:t.n=new Ld(LW(t));break;case 6:t.n=xbt(IW(t));break;case 5:t.n=nft(uQ(t));break;case 7:t.n=ift(B3(t));}return t.n}function jPt(t){var e,n,i,r,a,o;for(r=new Kd(t.a.a);r.a<r.c.c.length;)(n=$z(Q1(r),307)).g=0,n.i=0,n.e.a.$b();for(i=new Kd(t.a.a);i.a<i.c.c.length;)for(e=(n=$z(Q1(i),307)).a.a.ec().Kc();e.Ob();)for(o=$z(e.Pb(),57).c.Kc();o.Ob();)(a=$z(o.Pb(),57)).a!=n&&(kK(n.e,a),++a.a.g,++a.a.i);}function $Pt(t,e){var n,i,r;if(!ZK(t.a,e.b))throw Fw(new jv("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new jd(new $R(new DN(new Rd(t.a.a).a).b));rC(i.a.a);)if(n=$z(wP(i.a).cd(),65),ect(e.b,n))Dk(t.b.a,e.b,n),r=!0;else if(r)break}function FPt(t){var n,i,r,a,o;a=$z(yTt(t,(zYt(),jbe)),21),o=$z(yTt(t,zbe),21),n=new fO(i=new DA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((ypt(),NMe))&&(r=$z(yTt(t,Fbe),8),o.Hc((Jjt(),HMe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),n.a=e.Math.max(i.a,r.a),n.b=e.Math.max(i.b,r.b)),Kzt(t,i,n);}function zPt(t,e){var n,i,r,a,o,s,c,u;r=e?new wa:new ya,a=!1;do{for(a=!1,o=(e?eot(t.b):t.b).Kc();o.Ob();)for(u=r0($z(o.Pb(),29).a),e||new uv(u),c=new Kd(u);c.a<c.c.c.length;)s=$z(Q1(c),10),r.Mb(s)&&(i=s,n=$z(yTt(s,(uWt(),Phe)),305),a=eRt(i,e?n.b:n.k,e,!1));}while(a)}function HPt(t,e,n){var i,r,a,o;for(MEt(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=D8(ANe,uVt,25,o.c.length,15,1),i=0,a=new Kd(o);a.a<a.c.c.length;)$z(Q1(a),10).p=i,t.b[i]=-1,++i;for(r=new Kd(o);r.a<r.c.c.length;)PLt(t,$z(Q1(r),10));o.c=D8(Ite,zWt,1,0,5,1),t.a=null,t.b=null,zCt(n);}function UPt(t,e){var n,i,r;e.a?(ZK(t.b,e.b),t.a[e.b.i]=$z(mj(t.b,e.b),81),(n=$z(yj(t.b,e.b),81))&&(t.a[n.i]=e.b)):(!!(i=$z(mj(t.b,e.b),81))&&i==t.a[e.b.i]&&!!i.d&&i.d!=e.b.d&&i.f.Fc(e.b),!!(r=$z(yj(t.b,e.b),81))&&t.a[r.i]==e.b&&!!r.d&&r.d!=e.b.d&&e.b.f.Fc(r),_N(t.b,e.b));}function GPt(t,n){var i,r,a,o,s,c;return o=t.d,(c=Hv(_B(yTt(t,(zYt(),rbe)))))<0&&uct(t,rbe,c=0),n.o.b=c,s=e.Math.floor(c/2),HAt(r=new SCt,(vKt(),CMe)),CJ(r,n),r.n.b=s,HAt(a=new SCt,oMe),CJ(a,n),a.n.b=s,_J(t,r),Hot(i=new fZ,t),uct(i,bbe,null),EJ(i,a),_J(i,o),xFt(n,t,i),cAt(t,i),i}function qPt(t){var e,n;return n=$z(yTt(t,(uWt(),Zhe)),21),e=new $2,n.Hc((fBt(),hhe))&&(Zat(e,hve),Zat(e,dve)),(n.Hc(dhe)||zv(kB(yTt(t,(zYt(),abe)))))&&(Zat(e,dve),n.Hc(ghe)&&Zat(e,gve)),n.Hc(lhe)&&Zat(e,lve),n.Hc(bhe)&&Zat(e,pve),n.Hc(fhe)&&Zat(e,fve),n.Hc(she)&&Zat(e,cve),n.Hc(uhe)&&Zat(e,uve),e}function KPt(t,e){var n,i,r,a,o,s,c,u,l;return a=(n=t.d)+(i=e.d),o=t.e!=e.e?-1:1,2==a?(l=dG(c=rdt(t0(t.a[0],qVt),t0(e.a[0],qVt))),0==(u=dG(vq(c,32)))?new q6(o,l):new lK(o,2,Cst(Hx(ANe,1),uVt,25,15,[l,u]))):(Pht(t.a,n,e.a,i,r=D8(ANe,uVt,25,a,15,1)),q0(s=new lK(o,a,r)),s)}function YPt(t,e,n,i){var r,a;return e?0==(r=t.a.ue(n.d,e.d))?(i.d=pR(e,n.e),i.b=!0,e):(a=r<0?0:1,e.a[a]=YPt(t,e.a[a],n,i),Yv(e.a[a])&&(Yv(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):Yv(e.a[a].a[a])?e=drt(e,1-a):Yv(e.a[a].a[1-a])&&(e=n2(e,1-a))),e):n}function WPt(t,n,i){var r,a,o,s;a=t.i,r=t.n,X5(t,(Pet(),Hie),a.c+r.b,i),X5(t,Gie,a.c+a.b-r.c-i[2],i),s=a.b-r.b-r.c,i[0]>0&&(i[0]+=t.d,s-=i[0]),i[2]>0&&(i[2]+=t.d,s-=i[2]),o=e.Math.max(0,s),i[1]=e.Math.max(i[1],s),X5(t,Uie,a.c+r.b+i[0]-(i[1]-s)/2,i),n==Uie&&(t.c.b=o,t.c.c=a.c+r.b+(o-s)/2);}function XPt(){this.c=D8(LNe,HVt,25,(vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length,15,1),this.b=D8(LNe,HVt,25,Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe]).length,15,1),this.a=D8(LNe,HVt,25,Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe]).length,15,1),wC(this.c,BVt),wC(this.b,RVt),wC(this.a,RVt);}function VPt(t,e,n){var i,r,a,o;if(e<=n?(r=e,a=n):(r=n,a=e),i=0,null==t.b)t.b=D8(ANe,uVt,25,2,15,1),t.b[0]=r,t.b[1]=a,t.c=!0;else {if(i=t.b.length,t.b[i-1]+1==r)return void(t.b[i-1]=a);o=D8(ANe,uVt,25,i+2,15,1),aHt(t.b,0,o,0,i),t.b=o,t.b[i-1]>=r&&(t.c=!1,t.a=!1),t.b[i++]=r,t.b[i]=a,t.c||_Lt(t);}}function ZPt(t,e,n){var i,r,a,o,s,c,u;for(u=e.d,t.a=new V6(u.c.length),t.c=new Dw,s=new Kd(u);s.a<s.c.c.length;)o=$z(Q1(s),101),a=new $ot(null),Kz(t.a,a),YW(t.c,o,a);for(t.b=new Dw,wAt(t,e),i=0;i<u.c.length-1;i++)for(c=$z(DU(e.d,i),101),r=i+1;r<u.c.length;r++)YDt(t,c,$z(DU(e.d,r),101),n);}function QPt(t,e,n){var i,r,a,o,s,c;if(!c3(e)){for(MEt(c=yat(n,(iD(e,14)?$z(e,14).gc():j3(e.Kc()))/t.a|0),G3t,1),s=new Io,o=0,a=e.Kc();a.Ob();)i=$z(a.Pb(),86),s=Ynt(Cst(Hx(Nte,1),zWt,20,0,[s,new hb(i)])),o<i.f.b&&(o=i.f.b);for(r=e.Kc();r.Ob();)uct(i=$z(r.Pb(),86),(HUt(),axe),o);zCt(c),QPt(t,s,n);}}function JPt(t,n){var i,r,a,o,s,c,u;for(i=RVt,oCt(),c=Cse,a=new Kd(n.a);a.a<a.c.c.length;)(o=(r=$z(Q1(a),10)).k)!=Cse&&(null==(s=_B(yTt(r,(uWt(),pfe))))?(i=e.Math.max(i,0),r.n.b=i+qN(t.a,o,c)):r.n.b=(mW(s),s)),u=qN(t.a,o,c),r.n.b<i+u+r.d.d&&(r.n.b=i+u+r.d.d),i=r.n.b+r.o.b+r.d.a,c=o;}function tBt(t,e,n){var i,r,a;for(Hot(a=new kOt(KYt(HCt(rBt(e,!1,!1)),Hv(_B(QOt(e,(kwt(),pae))))+t.a)),e),YW(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new tK(HIe,e,1,7)),r=new MD(e.n);r.e!=r.i.gc();)i=ZRt(t,$z(vwt(r),137),!0,0,0),n.c[n.c.length]=i;return a}function eBt(t,e,n,i,r){var a,o,s;if(t.d&&t.d.lg(r),Pyt(t,n,$z(r.Xb(0),33),!1))return !0;if(Pyt(t,i,$z(r.Xb(r.gc()-1),33),!0))return !0;if(DTt(t,r))return !0;for(s=r.Kc();s.Ob();)for(o=$z(s.Pb(),33),a=e.Kc();a.Ob();)if(jBt(t,o,$z(a.Pb(),33)))return !0;return !1}function nBt(t,e,n){var i,r,a,o,s,c,u,l,h;h=e.c.length;t:for(a=$z((u=t.Yg(n))>=0?t._g(u,!1,!0):rIt(t,n,!1),58).Kc();a.Ob();){for(r=$z(a.Pb(),56),l=0;l<h;++l)if(l1(l,e.c.length),c=(o=$z(e.c[l],72)).dd(),s=o.ak(),i=r.bh(s,!1),null==c?null!=i:!Dht(c,i))continue t;return r}return null}function iBt(t,e,n,i){var r,a,o,s;for(r=$z(PCt(e,(vKt(),CMe)).Kc().Pb(),11),a=$z(PCt(e,oMe).Kc().Pb(),11),s=new Kd(t.j);s.a<s.c.c.length;){for(o=$z(Q1(s),11);0!=o.e.c.length;)_J($z(DU(o.e,0),17),r);for(;0!=o.g.c.length;)EJ($z(DU(o.g,0),17),a);}n||uct(e,(uWt(),cfe),null),i||uct(e,(uWt(),ufe),null);}function rBt(t,e,n){var i,r;if(0==(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i)return Hst(t);if(i=$z(Yet((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),0),202),e&&(cUt((!i.a&&(i.a=new ID(LIe,i,5)),i.a)),Ant(i,0),Int(i,0),_nt(i,0),Mnt(i,0)),n)for(!t.a&&(t.a=new tK(RIe,t,6,6)),r=t.a;r.i>1;)lBt(r,r.i-1);return i}function aBt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Comment post-processing",1),a=new Kd(t.b);a.a<a.c.c.length;){for(r=$z(Q1(a),29),i=new Lw,s=new Kd(r.a);s.a<s.c.c.length;)o=$z(Q1(s),10),c=$z(yTt(o,(uWt(),Bfe)),15),n=$z(yTt(o,Nhe),15),(c||n)&&(Yqt(o,c,n),c&&pst(i,c),n&&pst(i,n));pst(r.a,i);}zCt(e);}function oBt(t,e){var n,i,r,a,o,s;for(n=new Ow,r=new Kd(t.b);r.a<r.c.c.length;){for(s=!0,i=0,o=new Kd($z(Q1(r),29).a);o.a<o.c.c.length;)switch((a=$z(Q1(o),10)).k.g){case 4:++i;case 1:f3(n,a);break;case 0:sAt(a,e);default:n.b==n.c||b$t(n,i,s,!1,e),s=!1,i=0;}n.b==n.c||b$t(n,i,s,!0,e);}}function sBt(t,e){var n,i,r,a,o,s;for(r=new Lw,n=0;n<=t.i;n++)(i=new FY(e)).p=t.i-n,r.c[r.c.length]=i;for(s=new Kd(t.o);s.a<s.c.c.length;)TJ(o=$z(Q1(s),10),$z(DU(r,t.i-t.f[o.p]),29));for(a=new Kd(r);a.a<a.c.c.length;)0==$z(Q1(a),29).a.c.length&&MK(a);e.b.c=D8(Ite,zWt,1,0,5,1),pst(e.b,r);}function cBt(t,e){var n,i,r,a,o,s;for(n=0,s=new Kd(e);s.a<s.c.c.length;){for(o=$z(Q1(s),11),Jut(t.b,t.d[o.p]),r=new w6(o.b);yL(r.a)||yL(r.b);)(a=__(t,o==(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17)).c?i.d:i.c))>t.d[o.p]&&(n+=Q4(t.b,a),d3(t.a,nft(a)));for(;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a);}return n}function uBt(t,e,n){var i,r,a,o;for(a=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,r=new MD((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=$z(vwt(r),33)).a&&(i.a=new tK(UIe,i,10,11)),i.a).i||(a+=uBt(t,i,!1));if(n)for(o=VQ(e);o;)a+=(!o.a&&(o.a=new tK(UIe,o,10,11)),o.a).i,o=VQ(o);return a}function lBt(t,e){var n,i,r,a;return t.ej()?(i=null,r=t.fj(),t.ij()&&(i=t.kj(t.pi(e),null)),n=t.Zi(4,a=Lvt(t,e),null,e,r),t.bj()&&null!=a?(i=t.dj(a,i))?(i.Ei(n),i.Fi()):t.$i(n):i?(i.Ei(n),i.Fi()):t.$i(n),a):(a=Lvt(t,e),t.bj()&&null!=a&&(i=t.dj(a,null))&&i.Fi(),a)}function hBt(t){var n,i,r,a,o,s,c,u,l,h;for(l=t.a,n=new Py,u=0,r=new Kd(t.d);r.a<r.c.c.length;){for(h=0,jrt((i=$z(Q1(r),222)).b,new Ot),s=cwt(i.b,0);s.b!=s.d.c;)o=$z(h3(s),222),n.a._b(o)&&(a=i.c,h<(c=o.c).d+c.a+l&&h+a.a+l>c.d&&(h=c.d+c.a+l));i.c.d=h,n.a.zc(i,n),u=e.Math.max(u,i.c.d+i.c.a);}return u}function fBt(){fBt=I,che=new OS("COMMENTS",0),lhe=new OS("EXTERNAL_PORTS",1),hhe=new OS("HYPEREDGES",2),fhe=new OS("HYPERNODES",3),dhe=new OS("NON_FREE_PORTS",4),ghe=new OS("NORTH_SOUTH_PORTS",5),bhe=new OS(U1t,6),she=new OS("CENTER_LABELS",7),uhe=new OS("END_LABELS",8),phe=new OS("PARTITIONS",9);}function dBt(t){var e,n,i,r,a;for(r=new Lw,e=new IU((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),i=new oq(ZD(gDt(t).a.Kc(),new l));gOt(i);)iD(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cj(PIe,n,4,7)),n.b),0),186)||(a=CEt($z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82)),e.a._b(a)||(r.c[r.c.length]=a));return r}function gBt(t){var e,n,i,r,a;for(r=new Py,e=new IU((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),i=new oq(ZD(gDt(t).a.Kc(),new l));gOt(i);)iD(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cj(PIe,n,4,7)),n.b),0),186)||(a=CEt($z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82)),e.a._b(a)||r.a.zc(a,r));return r}function pBt(t,e,n,i,r){return i<0?((i=GEt(t,r,Cst(Hx(Xee,1),cXt,2,6,[VXt,ZXt,QXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt]),e))<0&&(i=GEt(t,r,Cst(Hx(Xee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function bBt(t,e,n,i,r){return i<0?((i=GEt(t,r,Cst(Hx(Xee,1),cXt,2,6,[VXt,ZXt,QXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt]),e))<0&&(i=GEt(t,r,Cst(Hx(Xee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function wBt(t,e,n,i,r,a){var o,s,c;if(s=32,i<0){if(e[0]>=t.length)return !1;if(43!=(s=uX(t,e[0]))&&45!=s)return !1;if(++e[0],(i=qMt(t,e))<0)return !1;45==s&&(i=-i);}return 32==s&&e[0]-n==2&&2==r.b&&(o=(c=(new ME).q.getFullYear()-cVt+cVt-80)%100,a.a=i==o,i+=100*(c/100|0)+(i<o?100:0)),a.p=i,!0}function yBt(t,n){var i,r,a;VQ(t)&&(a=$z(yTt(n,(zYt(),jbe)),174),HM(QOt(t,twe))===HM((X_t(),XAe))&&Vwt(t,twe,WAe),HT(),r=Hqt(new Nv(VQ(t)),new VN(VQ(t)?new Nv(VQ(t)):null,t),!1,!0),srt(a,(ypt(),NMe)),(i=$z(yTt(n,Fbe),8)).a=e.Math.max(r.a,i.a),i.b=e.Math.max(r.b,i.b));}function mBt(t,e,n){var i,r,a,o,s,c;for(o=$z(yTt(t,(uWt(),Qhe)),15).Kc();o.Ob();){switch(a=$z(o.Pb(),10),$z(yTt(a,(zYt(),mbe)),163).g){case 2:TJ(a,e);break;case 4:TJ(a,n);}for(r=new oq(ZD(udt(a).a.Kc(),new l));gOt(r);)(i=$z(G5(r),17)).c&&i.d||(s=!i.d,c=$z(yTt(i,wfe),11),s?_J(i,c):EJ(i,c));}}function vBt(){vBt=I,$ue=new KX(yQt,0,(vKt(),sMe),sMe),Hue=new KX(vQt,1,EMe,EMe),jue=new KX(mQt,2,oMe,oMe),que=new KX(xQt,3,CMe,CMe),zue=new KX("NORTH_WEST_CORNER",4,CMe,sMe),Fue=new KX("NORTH_EAST_CORNER",5,sMe,oMe),Gue=new KX("SOUTH_WEST_CORNER",6,EMe,CMe),Uue=new KX("SOUTH_EAST_CORNER",7,oMe,EMe);}function xBt(){xBt=I,_Te=Cst(Hx(INe,1),$Vt,25,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}]),e.Math.pow(2,-65);}function kBt(t,e){var n,i,r,a,o;if(0==t.c.length)return new nM(nft(0),nft(0));for(n=(l1(0,t.c.length),$z(t.c[0],11)).j,o=0,a=e.g,i=e.g+1;o<t.c.length-1&&n.g<a;)n=(l1(++o,t.c.length),$z(t.c[o],11)).j;for(r=o;r<t.c.length-1&&n.g<i;)++r,n=(l1(o,t.c.length),$z(t.c[o],11)).j;return new nM(nft(o),nft(r))}function _Bt(t,n,i){var r,a,o,s,c,u,l,h,f,d;for(o=n.c.length,l1(i,n.c.length),c=(s=$z(n.c[i],286)).a.o.a,f=s.c,d=0,l=s.c;l<=s.f;l++){if(c<=t.a[l])return l;for(h=t.a[l],u=null,a=i+1;a<o;a++)l1(a,n.c.length),(r=$z(n.c[a],286)).c<=l&&r.f>=l&&(u=r);u&&(h=e.Math.max(h,u.a.o.a)),h>d&&(f=l,d=h);}return f}function EBt(t,e,n){var i,r,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,!(16&~t.e)&&(t.i=bjt(t.i)),t.j=t.i.length,XYt(t),a=Wpt(t),t.d!=t.j)throw Fw(new rx(vWt((aL(),d8t))));if(t.g){for(i=0;i<t.g.a.c.length;i++)if(r=$z(hW(t.g,i),584),t.f<=r.a)throw Fw(new rx(vWt((aL(),g8t))));t.g.a.c=D8(Ite,zWt,1,0,5,1);}return a}function TBt(t,e){var n,i,r;if(null==e){for(!t.a&&(t.a=new tK(qOe,t,9,5)),i=new MD(t.a);i.e!=i.i.gc();)if(null==(null==(r=(n=$z(vwt(i),678)).c)?n.zb:r))return n}else for(!t.a&&(t.a=new tK(qOe,t,9,5)),i=new MD(t.a);i.e!=i.i.gc();)if(wj(e,null==(r=(n=$z(vwt(i),678)).c)?n.zb:r))return n;return null}function CBt(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((cWt(),tSe))&&(n=$z(t.e.We(tSe),249));break;case 3:t.e.Xe((cWt(),eSe))&&(n=$z(t.e.We(eSe),249));break;case 2:t.e.Xe((cWt(),JCe))&&(n=$z(t.e.We(JCe),249));break;case 4:t.e.Xe((cWt(),nSe))&&(n=$z(t.e.We(nSe),249));}return !n&&(n=$z(t.e.We((cWt(),ZCe)),249)),n}function SBt(t,e,n){var i,r,a,o,s,c;for(e.p=1,r=e.c,c=Ngt(e,(ait(),zye)).Kc();c.Ob();)for(i=new Kd($z(c.Pb(),11).g);i.a<i.c.c.length;)e!=(s=$z(Q1(i),17).d.i)&&s.c.p<=r.p&&((a=r.p+1)==n.b.c.length?((o=new FY(n)).p=a,Kz(n.b,o),TJ(s,o)):TJ(s,o=$z(DU(n.b,a),29)),SBt(t,s,n));}function ABt(t,n,i){var r,a,o,s,c,u;for(a=i,o=0,c=new Kd(n);c.a<c.c.c.length;)Vwt(s=$z(Q1(c),33),(qvt(),Oke),nft(a++)),u=dBt(s),r=e.Math.atan2(s.j+s.f/2,s.i+s.g/2),(r+=r<0?Q3t:0)<.7853981633974483||r>b4t?wL(u,t.b):r<=b4t&&r>w4t?wL(u,t.d):r<=w4t&&r>y4t?wL(u,t.c):r<=y4t&&wL(u,t.a),o=ABt(t,u,o);return a}function MBt(){var t;for(MBt=I,Zee=new q6(1,1),Jee=new q6(1,10),ene=new q6(0,0),Vee=new q6(-1,1),Qee=Cst(Hx(sne,1),cXt,91,0,[ene,Zee,new q6(1,2),new q6(1,3),new q6(1,4),new q6(1,5),new q6(1,6),new q6(1,7),new q6(1,8),new q6(1,9),Jee]),tne=D8(sne,cXt,91,32,0,1),t=0;t<tne.length;t++)tne[t]=Jbt(yq(1,t));}function IBt(t,e,n,i,r,a){var o,s,c,u;for(s=!v_(MX(t.Oc(),new rg(new Qn))).sd((dT(),Jne)),o=t,a==($ht(),FSe)&&(o=iD(o,152)?o6($z(o,152)):iD(o,131)?$z(o,131).a:iD(o,54)?new uv(o):new CE(o)),u=o.Kc();u.Ob();)(c=$z(u.Pb(),70)).n.a=e.a,c.n.b=s?e.b+(i.b-c.o.b)/2:r?e.b:e.b+i.b-c.o.b,e.a+=c.o.a+n;}function OBt(t,e,n,i){var r,a,o,s,c;for(r=(i.c+i.a)/2,yV(e.j),NH(e.j,r),yV(n.e),NH(n.e,r),c=new Uk,o=new Kd(t.f);o.a<o.c.c.length;)Bkt(c,e,s=$z(Q1(o),129).a),Bkt(c,n,s);for(a=new Kd(t.k);a.a<a.c.c.length;)Bkt(c,e,s=$z(Q1(a),129).b),Bkt(c,n,s);return c.b+=2,c.a+=OV(e,t.q),c.a+=OV(t.q,n),c}function LBt(t,e,n){var i,r,a,o,s;if(!c3(e)){for(MEt(s=yat(n,(iD(e,14)?$z(e,14).gc():j3(e.Kc()))/t.a|0),G3t,1),o=new Lo,a=null,r=e.Kc();r.Ob();)i=$z(r.Pb(),86),o=Ynt(Cst(Hx(Nte,1),zWt,20,0,[o,new hb(i)])),a&&(uct(a,(HUt(),hxe),i),uct(i,ixe,a),H8(i)==H8(a)&&(uct(a,fxe,i),uct(i,rxe,a))),a=i;zCt(s),LBt(t,o,n);}}function DBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(H9(),nre)?s+=(n.a-t.e.b)/2:t.f==ere&&(s+=n.a-t.e.b),r=new Kd(t.d);r.a<r.c.c.length;){switch(o=(i=$z(Q1(r),181)).rf(),(a=new Hk).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;}i.tf(a);}}function NBt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(V7(),Wie)?s+=(n.b-t.e.a)/2:t.b==Vie&&(s+=n.b-t.e.a),r=new Kd(t.d);r.a<r.c.c.length;){switch(o=(i=$z(Q1(r),181)).rf(),(a=new Hk).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;}i.tf(a);}}function PBt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=$z(PY(n.c,e),459)).f,d=a.a,s=new DA(u,f),l=new DA(o,d),r=u,n.p||(r+=t.c),c=new DA(r+=n.F+n.v*t.b,f),h=new DA(r,d),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[s,c])),n.d.a.gc()>1&&(i=new DA(r,n.b),NH(e.a,i)),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[h,l]));}function BBt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,j5t),"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 Zs))),a2(t,j5t,XQt,OMe),a2(t,j5t,wJt,15),a2(t,j5t,mJt,nft(0)),a2(t,j5t,WQt,gJt);}function RBt(){var t,e,n,i,r,a;for(RBt=I,YDe=D8(ONe,w6t,25,255,15,1),WDe=D8(SNe,YXt,25,16,15,1),e=0;e<255;e++)YDe[e]=-1;for(n=57;n>=48;n--)YDe[n]=n-48<<24>>24;for(i=70;i>=65;i--)YDe[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)YDe[r]=r-97+10<<24>>24;for(a=0;a<10;a++)WDe[a]=48+a&XXt;for(t=10;t<=15;t++)WDe[t]=65+t-10&XXt;}function jBt(t,e,n){var i,r,a,o,s,c,u,l;return s=e.i-t.g/2,c=n.i-t.g/2,u=e.j-t.g/2,l=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,i=e.f+t.g/2,r=n.f+t.g/2,s<c+o&&c<s&&u<l+r&&l<u||c<s+a&&s<c&&l<u+i&&u<l||s<c+o&&c<s&&u<l&&l<u+i||c<s+a&&s<c&&u<l+r&&l<u}function $Bt(t){var n,i,r,a,o;a=$z(yTt(t,(zYt(),jbe)),21),o=$z(yTt(t,zbe),21),n=new fO(i=new DA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((ypt(),NMe))&&(r=$z(yTt(t,Fbe),8),o.Hc((Jjt(),HMe))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),n.a=e.Math.max(i.a,r.a),n.b=e.Math.max(i.b,r.b)),zv(kB(yTt(t,$be)))||qzt(t,i,n);}function FBt(t,e){var n,i,r,a;for(a=adt(e,(vKt(),EMe)).Kc();a.Ob();)i=$z(a.Pb(),11),(n=$z(yTt(i,(uWt(),xfe)),10))&&qNt(rT(iT(aT(nT(new Fy,0),.1),t.i[e.p].d),t.i[n.p].a));for(r=adt(e,sMe).Kc();r.Ob();)i=$z(r.Pb(),11),(n=$z(yTt(i,(uWt(),xfe)),10))&&qNt(rT(iT(aT(nT(new Fy,0),.1),t.i[n.p].d),t.i[e.p].a));}function zBt(t){var e,n,i,r,a;if(!t.c){if(a=new _c,null==(e=ELe).a.zc(t,e)){for(i=new MD(r4(t));i.e!=i.i.gc();)iD(r=hFt(n=$z(vwt(i),87)),88)&&pY(a,zBt($z(r,26))),u7(a,n);e.a.Bc(t),e.a.gc();}Ogt(a),rlt(a),t.c=new LI(($z(Yet(WV((WY(),QOe).o),15),18),a.i),a.g),T5(t).b&=-33;}return t.c}function HBt(t){var e;if(10!=t.c)throw Fw(new rx(vWt((aL(),p8t))));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 Fw(new rx(vWt((aL(),q8t))))}return e}function UBt(t){var e,n,i,r;if(0==t.l&&0==t.m&&0==t.h)return "0";if(t.h==SVt&&0==t.m&&0==t.l)return "-9223372036854775808";if(t.h>>19)return "-"+UBt(act(t));for(n=t,i="";0!=n.l||0!=n.m||0!=n.h;){if(n=IUt(n,j5(IVt),!0),e=""+k_(hee),0!=n.l||0!=n.m||0!=n.h)for(r=9-e.length;r>0;r--)e="0"+e;i=e+i;}return i}function GBt(){if(!Object.create||!Object.getOwnPropertyNames)return !1;var t="__proto__",e=Object.create(null);return void 0===e[t]&&0==Object.getOwnPropertyNames(e).length&&(e[t]=42,42===e[t]&&0!=Object.getOwnPropertyNames(e).length)}function qBt(t){var e,n,i,r,a,o,s;for(e=!1,n=0,r=new Kd(t.d.b);r.a<r.c.c.length;)for((i=$z(Q1(r),29)).p=n++,o=new Kd(i.a);o.a<o.c.c.length;)a=$z(Q1(o),10),!e&&!c3(udt(a))&&(e=!0);s=xG(($ht(),$Se),Cst(Hx(KSe,1),OXt,103,0,[RSe,jSe])),e||(srt(s,FSe),srt(s,BSe)),t.a=new het(s),IK(t.f),IK(t.b),IK(t.e),IK(t.g);}function KBt(t,e,n){var i,r,a,o,s,c,u,l,h;for(i=n.c,r=n.d,s=g1(e.c),c=g1(e.d),i==e.c?(s=hDt(t,s,r),c=cTt(e.d)):(s=cTt(e.c),c=hDt(t,c,r)),n5(u=new Bk(e.a),s,u.a,u.a.a),n5(u,c,u.c.b,u.c),o=e.c==i,h=new Vy,a=0;a<u.b-1;++a)l=new nM($z(Pwt(u,a),8),$z(Pwt(u,a+1),8)),o&&0==a||!o&&a==u.b-2?h.b=l:Kz(h.a,l);return h}function YBt(t,e){var n,i,r,a;if(0!=(a=t.j.g-e.j.g))return a;if(n=$z(yTt(t,(zYt(),ewe)),19),i=$z(yTt(e,ewe),19),n&&i&&0!=(r=n.a-i.a))return r;switch(t.j.g){case 1:return Cft(t.n.a,e.n.a);case 2:return Cft(t.n.b,e.n.b);case 3:return Cft(e.n.a,t.n.a);case 4:return Cft(e.n.b,t.n.b);default:throw Fw(new jv(i1t))}}function WBt(t,n,i,r){var a,o,s,c;if(j3((z$(),new oq(ZD(udt(n).a.Kc(),new l))))>=t.a)return -1;if(!eEt(n,i))return -1;if(c3($z(r.Kb(n),20)))return 1;for(a=0,s=$z(r.Kb(n),20).Kc();s.Ob();){if(-1==(c=WBt(t,(o=$z(s.Pb(),17)).c.i==n?o.d.i:o.c.i,i,r)))return -1;if((a=e.Math.max(a,c))>t.c-1)return -1}return a+1}function XBt(t,e){var n,i,r,a,o,s;if(HM(e)===HM(t))return !0;if(!iD(e,15))return !1;if(i=$z(e,15),s=t.gc(),i.gc()!=s)return !1;if(o=i.Kc(),t.ni()){for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),null==r?null!=a:!Dht(r,a))return !1}else for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),HM(r)!==HM(a))return !1;return !0}function VBt(t,e){var n,i,r,a,o,s;if(t.f>0)if(t.qj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=$z(n.g,367),s=n.i,o=0;o<s;++o)if(Dht(e,(r=i[o]).dd()))return !0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=$z(n.g,367),s=n.i,o=0;o<s;++o)if(r=i[o],HM(e)===HM(r.dd()))return !0;return !1}function ZBt(t,e,n){var i,r,a,o;MEt(n,"Orthogonally routing hierarchical port edges",1),t.a=0,DGt(e,i=qHt(e)),XUt(t,e,i),lKt(e),r=$z(yTt(e,(zYt(),twe)),98),Sqt((l1(0,(a=e.b).c.length),$z(a.c[0],29)),r,e),Sqt($z(DU(a,a.c.length-1),29),r,e),_zt((l1(0,(o=e.b).c.length),$z(o.c[0],29))),_zt($z(DU(o,o.c.length-1),29)),zCt(n);}function QBt(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 Fw(new _x("Invalid hexadecimal"))}}function JBt(t,e,n){var i,r,a,o;for(MEt(n,"Processor order nodes",2),t.a=Hv(_B(yTt(e,(SOt(),Dxe)))),r=new XE,o=cwt(e.b,0);o.b!=o.d.c;)zv(kB(yTt(a=$z(h3(o),86),(HUt(),dxe))))&&n5(r,a,r.c.b,r.c);TP(0!=r.b),RHt(t,i=$z(r.a.a.c,86)),!n.b&&Hit(n,1),FRt(t,i,0-Hv(_B(yTt(i,(HUt(),axe))))/2,0),!n.b&&Hit(n,1),zCt(n);}function tRt(){tRt=I,Pie=new FC("SPIRAL",0),Iie=new FC("LINE_BY_LINE",1),Oie=new FC("MANHATTAN",2),Mie=new FC("JITTER",3),Die=new FC("QUADRANTS_LINE_BY_LINE",4),Nie=new FC("QUADRANTS_MANHATTAN",5),Lie=new FC("QUADRANTS_JITTER",6),Aie=new FC("COMBINE_LINE_BY_LINE_MANHATTAN",7),Sie=new FC("COMBINE_JITTER_MANHATTAN",8);}function eRt(t,e,n,i){var r,a,o,s,c,u;for(c=Dkt(t,n),u=Dkt(e,n),r=!1;c&&u&&(i||yvt(c,u,n));)o=Dkt(c,n),s=Dkt(u,n),M9(e),M9(t),a=c.c,iGt(c,!1),iGt(u,!1),n?(Xvt(e,u.p,a),e.p=u.p,Xvt(t,c.p+1,a),t.p=c.p):(Xvt(t,c.p,a),t.p=c.p,Xvt(e,u.p+1,a),e.p=u.p),TJ(c,null),TJ(u,null),c=o,u=s,r=!0;return r}function nRt(t,e,n,i){var r,a,o,s,c;for(r=!1,a=!1,s=new Kd(i.j);s.a<s.c.c.length;)HM(yTt(o=$z(Q1(s),11),(uWt(),dfe)))===HM(n)&&(0==o.g.c.length?0==o.e.c.length||(r=!0):a=!0);return c=0,r&&r^a?c=n.j==(vKt(),sMe)?-t.e[i.c.p][i.p]:e-t.e[i.c.p][i.p]:a&&r^a?c=t.e[i.c.p][i.p]+1:r&&a&&(c=n.j==(vKt(),sMe)?0:e/2),c}function iRt(t,e,n,i,r,a,o,s){var c,u,l;for(c=0,null!=e&&(c^=wyt(e.toLowerCase())),null!=n&&(c^=wyt(n)),null!=i&&(c^=wyt(i)),null!=o&&(c^=wyt(o)),null!=s&&(c^=wyt(s)),u=0,l=a.length;u<l;u++)c^=wyt(a[u]);t?c|=256:c&=-257,r?c|=16:c&=-17,this.f=c,this.i=null==e?null:(mW(e),e),this.a=n,this.d=i,this.j=a,this.g=o,this.e=s;}function rRt(t,e,n){var i,r;switch(r=null,e.g){case 1:pat(),r=Lse;break;case 2:pat(),r=Nse;}switch(i=null,n.g){case 1:pat(),i=Dse;break;case 2:pat(),i=Ose;break;case 3:pat(),i=Pse;break;case 4:pat(),i=Bse;}return r&&i?Bz(t.j,new $h(new Vv(Cst(Hx(Lte,1),zWt,169,0,[$z(yY(r),169),$z(yY(i),169)])))):(EV(),EV(),cne)}function aRt(t){var e,n,i;switch(e=$z(yTt(t,(zYt(),Fbe)),8),uct(t,Fbe,new DA(e.b,e.a)),$z(yTt(t,mpe),248).g){case 1:uct(t,mpe,(dyt(),OTe));break;case 2:uct(t,mpe,(dyt(),STe));break;case 3:uct(t,mpe,(dyt(),MTe));break;case 4:uct(t,mpe,(dyt(),ITe));}(t.q?t.q:(EV(),EV(),une))._b(swe)&&(i=(n=$z(yTt(t,swe),8)).a,n.a=n.b,n.b=i);}function oRt(t,e,n,i,r,a){if(this.b=n,this.d=r,t>=e.length)throw Fw(new Mv("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new Wj(i),mrt(this.e,this.c,(vKt(),CMe)),this.i=new Wj(i),mrt(this.i,this.c,oMe),this.f=new lG(this.c),this.a=!a&&r.i&&!r.s&&this.c[0].k==(oCt(),_se),this.a&&pSt(this,t,e.length);}function sRt(t,e){var n,i,r,a,o,s;a=!t.B.Hc((Jjt(),FMe)),o=t.B.Hc(UMe),t.a=new zgt(o,a,t.c),t.n&&mV(t.a.n,t.n),vv(t.g,(Pet(),Uie),t.a),e||((i=new Abt(1,a,t.c)).n.a=t.k,wG(t.p,(vKt(),sMe),i),(r=new Abt(1,a,t.c)).n.d=t.k,wG(t.p,EMe,r),(s=new Abt(0,a,t.c)).n.c=t.k,wG(t.p,CMe,s),(n=new Abt(0,a,t.c)).n.b=t.k,wG(t.p,oMe,n));}function cRt(t){var e,n,i;switch((e=$z(yTt(t.d,(zYt(),Zpe)),218)).g){case 2:n=EYt(t);break;case 3:i=new Lw,VE(MX(IX(ftt(ftt(new PU(null,new f1(t.d.b,16)),new Ir),new Or),new Lr),new wr),new Cp(i)),n=i;break;default:throw Fw(new jv("Compaction not supported for "+e+" edges."))}pUt(t,n),t5(new Cd(t.g),new Ep(t));}function uRt(t,e){var n;return n=new Qt,e&&Hot(n,$z(PY(t.a,DIe),94)),iD(e,470)&&Hot(n,$z(PY(t.a,NIe),94)),iD(e,354)?(Hot(n,$z(PY(t.a,HIe),94)),n):(iD(e,82)&&Hot(n,$z(PY(t.a,PIe),94)),iD(e,239)?(Hot(n,$z(PY(t.a,UIe),94)),n):iD(e,186)?(Hot(n,$z(PY(t.a,GIe),94)),n):(iD(e,352)&&Hot(n,$z(PY(t.a,BIe),94)),n))}function lRt(){lRt=I,Zae=new qO((cWt(),pSe),nft(1)),ioe=new qO(OSe,80),noe=new qO(ESe,5),jae=new qO(iCe,gJt),Qae=new qO(bSe,nft(1)),eoe=new qO(mSe,(cN(),!0)),Wae=new KO(50),Yae=new qO(qCe,Wae),Fae=CCe,Xae=aSe,$ae=new qO(dCe,!1),Kae=GCe,qae=zCe,Gae=BCe,Uae=NCe,Vae=uSe,xCt(),Hae=Sae,roe=Lae,zae=Cae,Jae=Mae,toe=Oae;}function hRt(t){var e,n,i,r,a,o,s;for(s=new b5,o=new Kd(t.a);o.a<o.c.c.length;)if((a=$z(Q1(o),10)).k!=(oCt(),_se))for(jOt(s,a,new Hk),r=new oq(ZD(hdt(a).a.Kc(),new l));gOt(r);)if((i=$z(G5(r),17)).c.i.k!=_se&&i.d.i.k!=_se)for(n=cwt(i.a,0);n.b!=n.d.c;)Vkt(s,new dS((e=$z(h3(n),8)).a,e.b));return s}function fRt(){fRt=I,PEe=new aw(R4t),AT(),DEe=new II(H4t,NEe=HEe),Lst(),OEe=new II(j4t,LEe=KEe),OCt(),MEe=new II($4t,IEe=nEe),TEe=new II(F4t,null),I6(),SEe=new II(z4t,AEe=Z_e),CT(),vEe=new II(U4t,xEe=q_e),kEe=new II(G4t,(cN(),!1)),_Ee=new II(q4t,nft(64)),EEe=new II(K4t,!0),CEe=Q_e;}function dRt(t){var e,n,i,r,a;if(null==t.a)if(t.a=D8(MNe,QZt,25,t.c.b.c.length,16,1),t.a[0]=!1,OP(t.c,(zYt(),Gwe)))for(n=$z(yTt(t.c,Gwe),15).Kc();n.Ob();)(e=$z(n.Pb(),19).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new Kd(t.c.b)).a<a.c.c.length&&Q1(a),i=1;a.a<a.c.c.length;)r=$z(Q1(a),29),t.a[i++]=qLt(r);}function gRt(t,e){var n,i;switch(i=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!=i&&t.c)for(n=new MD(t.c);n.e!=n.i.gc();)IAt(T5($z(vwt(n),473)),e);}function pRt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(r=!1,s=0,c=(o=e).length;s<c;++s)a=o[s],zv((cN(),!!a.e))&&!$z(DU(t.b,a.e.p),214).s&&(r|=(u=a.e,(h=(l=$z(DU(t.b,u.p),214)).e)[f=uk(n,h.length)][0].k==(oCt(),_se)?h[f]=ONt(a,h[f],n?(vKt(),CMe):(vKt(),oMe)):l.c.Tf(h,n),d=PNt(t,l,n,i),NPt(l.e,l.o,n),d));return r}function bRt(t,e){var n,i,r,a,o;for(a=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,r=new MD((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)HM(QOt(i=$z(vwt(r),33),(cWt(),xCe)))!==HM((oht(),wAe))&&((o=$z(QOt(e,wSe),149))==(n=$z(QOt(i,wSe),149))||o&&v5(o,n))&&0!=(!i.a&&(i.a=new tK(UIe,i,10,11)),i.a).i&&(a+=bRt(t,i));return a}function wRt(t){var e,n,i,r,a,o,s;for(i=0,s=0,o=new Kd(t.d);o.a<o.c.c.length;)a=$z(Q1(o),101),r=$z(T4(MX(new PU(null,new f1(a.j,16)),new Yr),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15),n=null,i<=s?(vKt(),n=sMe,i+=r.gc()):s<i&&(vKt(),n=EMe,s+=r.gc()),e=n,VE(IX(r.Oc(),new Hr),new Mp(e));}function yRt(t){var e,n,i,r,a,o,s,c;for(t.b=new wIt(new Vv((vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe]))),new Vv((Srt(),Cst(Hx(Kue,1),OXt,361,0,[Pue,Nue,Due])))),s=0,c=(o=Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length;s<c;++s)for(a=o[s],i=0,r=(n=Cst(Hx(Kue,1),OXt,361,0,[Pue,Nue,Due])).length;i<r;++i)e=n[i],Ykt(t.b,a,e,new Lw);}function mRt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=$z($z(c6(t.r,e),21),84),s=t.u.Hc((hMt(),nMe)),n=t.u.Hc(JAe),i=t.u.Hc(QAe),u=t.u.Hc(iMe),h=t.B.Hc((Jjt(),WMe)),l=!n&&!i&&(u||2==o.gc()),uPt(t,e),r=null,c=null,s){for(c=r=$z((a=o.Kc()).Pb(),111);a.Ob();)c=$z(a.Pb(),111);r.d.b=0,c.d.c=0,l&&!r.a&&(r.d.c=0);}h&&(PEt(o),s&&(r.d.b=0,c.d.c=0));}function vRt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=$z($z(c6(t.r,e),21),84),s=t.u.Hc((hMt(),nMe)),n=t.u.Hc(JAe),i=t.u.Hc(QAe),c=t.u.Hc(iMe),h=t.B.Hc((Jjt(),WMe)),u=!n&&!i&&(c||2==o.gc()),W$t(t,e),l=null,r=null,s){for(r=l=$z((a=o.Kc()).Pb(),111);a.Ob();)r=$z(a.Pb(),111);l.d.d=0,r.d.a=0,u&&!l.a&&(l.d.a=0);}h&&(BEt(o),s&&(l.d.d=0,r.d.a=0));}function xRt(t,e,n){var i,r,a,o,s;if(i=e.k,e.p>=0)return !1;if(e.p=n.b,Kz(n.e,e),i==(oCt(),Tse)||i==Sse)for(r=new Kd(e.j);r.a<r.c.c.length;)for(s=new Ug(new Kd(new Hg($z(Q1(r),11)).a.g));yL(s.a);)if(o=(a=$z(Q1(s.a),17).d.i).k,e.c!=a.c&&(o==Tse||o==Sse)&&xRt(t,a,n))return !0;return !0}function kRt(t){var e;return 64&t.Db?RIt(t):((e=new uN(RIt(t))).a+=" (changeable: ",y_(e,!!(t.Bb&v6t)),e.a+=", volatile: ",y_(e,!!(t.Bb&E7t)),e.a+=", transient: ",y_(e,!!(t.Bb&jVt)),e.a+=", defaultValueLiteral: ",iI(e,t.j),e.a+=", unsettable: ",y_(e,!!(t.Bb&_7t)),e.a+=", derived: ",y_(e,!!(t.Bb&uXt)),e.a+=")",e.a)}function _Rt(t){var e,n,i,r,a,o,s,c,u,l;for(n=DDt(t.d),a=(r=$z(yTt(t.b,(kwt(),bae)),116)).b+r.c,o=r.d+r.a,c=n.d.a*t.e+a,s=n.b.a*t.f+o,Of(t.b,new DA(c,s)),l=new Kd(t.g);l.a<l.c.c.length;)e=GR(jP(new DA((u=$z(Q1(l),562)).g-n.a.a,u.i-n.c.a),u.a,u.b),mD($P($L(YO(u.e)),u.d*u.a,u.c*u.b),-.5)),i=WO(u.e),ek(u.e,qR(e,i));}function ERt(t,e,n,i){var r,a,o,s,c;for(c=D8(LNe,cXt,104,(vKt(),Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length,0,2),o=0,s=(a=Cst(Hx(jMe,1),VJt,61,0,[TMe,sMe,oMe,EMe,CMe])).length;o<s;++o)c[(r=a[o]).g]=D8(LNe,HVt,25,t.c[r.g],15,1);return Fxt(c,t,sMe),Fxt(c,t,EMe),Nmt(c,t,sMe,e,n,i),Nmt(c,t,oMe,e,n,i),Nmt(c,t,EMe,e,n,i),Nmt(c,t,CMe,e,n,i),c}function TRt(t,e,n){if(cK(t.a,e)){if(jE($z(PY(t.a,e),53),n))return 1}else YW(t.a,e,new Py);if(cK(t.a,n)){if(jE($z(PY(t.a,n),53),e))return -1}else YW(t.a,n,new Py);if(cK(t.b,e)){if(jE($z(PY(t.b,e),53),n))return -1}else YW(t.b,e,new Py);if(cK(t.b,n)){if(jE($z(PY(t.b,n),53),e))return 1}else YW(t.b,n,new Py);return 0}function CRt(t,e,n,i){var r,a,o,s,c,u;if(null==n)for(r=$z(t.g,119),s=0;s<t.i;++s)if((o=r[s]).ak()==e)return jwt(t,o,i);return ZT(),a=$z(e,66).Oj()?$z(n,72):Z3(e,n),wO(t.e)?(u=!apt(t,e),i=Vgt(t,a,i),c=e.$j()?OZ(t,3,e,null,n,bzt(t,e,n,iD(e,99)&&!!($z(e,18).Bb&FVt)),u):OZ(t,1,e,e.zj(),n,-1,u),i?i.Ei(c):i=c):i=Vgt(t,a,i),i}function SRt(t){var n,i,r,a,o,s;t.q!=(X_t(),KAe)&&t.q!=qAe&&(a=t.f.n.d+qH($z(oX(t.b,(vKt(),sMe)),124))+t.c,n=t.f.n.a+qH($z(oX(t.b,EMe),124))+t.c,r=$z(oX(t.b,oMe),124),s=$z(oX(t.b,CMe),124),o=e.Math.max(0,r.n.d-a),o=e.Math.max(o,s.n.d-a),i=e.Math.max(0,r.n.a-n),i=e.Math.max(i,s.n.a-n),r.n.d=o,s.n.d=o,r.n.a=i,s.n.a=i);}function ARt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Restoring reversed edges",1),o=new Kd(t.b);o.a<o.c.c.length;)for(s=new Kd($z(Q1(o),29).a);s.a<s.c.c.length;)for(c=new Kd($z(Q1(s),10).j);c.a<c.c.c.length;)for(r=0,a=(i=Z0($z(Q1(c),11).g)).length;r<a;++r)zv(kB(yTt(n=i[r],(uWt(),Cfe))))&&tzt(n,!1);zCt(e);}function MRt(){this.b=new b4,this.d=new b4,this.e=new b4,this.c=new b4,this.a=new Dw,this.f=new Dw,DQ(TTe,new vs,new xs),DQ(LTe,new Ls,new Ds),DQ(xse,new Ns,new Ps),DQ(Rse,new Rs,new js),DQ(cIe,new $s,new Fs),DQ(wne,new ks,new _s),DQ(Sne,new Es,new Ts),DQ(vne,new Cs,new Ss),DQ(xne,new As,new Ms),DQ($ne,new Is,new Os);}function IRt(t){var e,n,i,r,a,o;return a=0,(e=Axt(t)).Bj()&&(a|=4),t.Bb&_7t&&(a|=2),iD(t,99)?(r=Syt(n=$z(t,18)),n.Bb&u6t&&(a|=32),r&&(hY(dJ(r)),a|=8,((o=r.t)>1||-1==o)&&(a|=16),r.Bb&u6t&&(a|=64)),n.Bb&FVt&&(a|=E7t),a|=v6t):iD(e,457)?a|=512:(i=e.Bj())&&1&i.i&&(a|=256),512&t.Bb&&(a|=128),a}function ORt(t,e){var n,i,r,a,o;for(t=null==t?GWt:(mW(t),t),r=0;r<e.length;r++)e[r]=nDt(e[r]);for(n=new Sx,o=0,i=0;i<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+uP(null==t?GWt:(mW(t),t),o,a),aI(n,e[i++]),o=a+2;if(H0(n,t,o,t.length),i<e.length){for(n.a+=" [",aI(n,e[i++]);i<e.length;)n.a+=$Wt,aI(n,e[i++]);n.a+="]";}return n.a}function LRt(t){var e,n,i,r,a;for(a=new V6(t.a.c.length),r=new Kd(t.a);r.a<r.c.c.length;){switch(i=$z(Q1(r),10),e=null,(n=$z(yTt(i,(zYt(),mbe)),163)).g){case 1:case 2:Zst(),e=Ile;break;case 3:case 4:Zst(),e=Ale;}e?(uct(i,(uWt(),Hhe),(Zst(),Ile)),e==Ale?BNt(i,n,(ait(),Fye)):e==Ile&&BNt(i,n,(ait(),zye))):a.c[a.c.length]=i;}return a}function DRt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Kd(e);c.a<c.c.c.length;){for(s=$z(Q1(c),11),Jut(t.b,t.d[s.p]),o=0,r=new w6(s.b);yL(r.a)||yL(r.b);)CW(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17))?(a=__(t,s==i.c?i.d:i.c))>t.d[s.p]&&(n+=Q4(t.b,a),d3(t.a,nft(a))):++o;for(n+=t.b.d*o;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a);}return n}function NRt(t,e){var n;return t.f==rDe?(n=NW($9((ASt(),VLe),e)),t.e?4==n&&e!=(_It(),cDe)&&e!=(_It(),aDe)&&e!=(_It(),oDe)&&e!=(_It(),sDe):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(Z1($9((ASt(),VLe),e)))||t.d.Hc($Ut((ASt(),VLe),t.b,e))))||!(!t.f||!aNt((ASt(),t.f),vX($9(VLe,e))))&&(n=NW($9(VLe,e)),t.e?4==n:2==n)}function PRt(t,n,i,r){var a,o,s,c,u,l,h,f;return u=(s=$z(QOt(i,(cWt(),gSe)),8)).a,h=s.b+t,(a=e.Math.atan2(h,u))<0&&(a+=Q3t),(a+=n)>Q3t&&(a-=Q3t),l=(c=$z(QOt(r,gSe),8)).a,f=c.b+t,(o=e.Math.atan2(f,l))<0&&(o+=Q3t),(o+=n)>Q3t&&(o-=Q3t),cL(),iit(1e-10),e.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:UI(isNaN(a),isNaN(o))}function BRt(t){var e,n,i,r,a,o,s;for(s=new Dw,i=new Kd(t.a.b);i.a<i.c.c.length;)YW(s,e=$z(Q1(i),57),new Lw);for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((e=$z(Q1(r),57)).i=RVt,o=e.c.Kc();o.Ob();)a=$z(o.Pb(),57),$z(zM(MZ(s.f,a)),15).Fc(e);for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Q1(n),57)).c.$b(),e.c=$z(zM(MZ(s.f,e)),15);jPt(t);}function RRt(t){var e,n,i,r,a,o,s;for(s=new Dw,i=new Kd(t.a.b);i.a<i.c.c.length;)YW(s,e=$z(Q1(i),81),new Lw);for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((e=$z(Q1(r),81)).o=RVt,o=e.f.Kc();o.Ob();)a=$z(o.Pb(),81),$z(zM(MZ(s.f,a)),15).Fc(e);for(n=new Kd(t.a.b);n.a<n.c.c.length;)(e=$z(Q1(n),81)).f.$b(),e.f=$z(zM(MZ(s.f,e)),15);FNt(t);}function jRt(t,e,n,i){var r,a;for(Uxt(t,e,n,i),Df(e,t.j-e.j+n),Nf(e,t.k-e.k+i),a=new Kd(e.f);a.a<a.c.c.length;)switch((r=$z(Q1(a),324)).a.g){case 0:dct(t,e.g+r.b.a,0,e.g+r.c.a,e.i-1);break;case 1:dct(t,e.g+e.o,e.i+r.b.a,t.o-1,e.i+r.c.a);break;case 2:dct(t,e.g+r.b.a,e.i+e.p,e.g+r.c.a,t.p-1);break;default:dct(t,0,e.i+r.b.a,e.g-1,e.i+r.c.a);}}function $Rt(t,e,n,i,r){var a,o;try{if(e>=t.o)throw Fw(new Ey);o=e>>5,a=yq(1,dG(yq(31&e,1))),t.n[n][o]=r?e0(t.n[n][o],a):t0(t.n[n][o],aH(a)),a=yq(a,1),t.n[n][o]=i?e0(t.n[n][o],a):t0(t.n[n][o],aH(a));}catch(i){throw iD(i=hst(i),320)?Fw(new Mv(EQt+t.o+"*"+t.p+TQt+e+$Wt+n+CQt)):Fw(i)}}function FRt(t,n,i,r){var a,o;n&&(a=Hv(_B(yTt(n,(HUt(),uxe))))+r,o=i+Hv(_B(yTt(n,axe)))/2,uct(n,gxe,nft(dG(lot(e.Math.round(a))))),uct(n,pxe,nft(dG(lot(e.Math.round(o))))),0==n.d.b||FRt(t,$z(eD(new fb(cwt(new hb(n).a.d,0))),86),i+Hv(_B(yTt(n,axe)))+t.a,r+Hv(_B(yTt(n,oxe)))),null!=yTt(n,fxe)&&FRt(t,$z(yTt(n,fxe),86),i,r));}function zRt(t,n){var i,r,a,o,s,c,u,l,h,f,d;for(a=2*Hv(_B(yTt(u=bW(n.a),(zYt(),kwe)))),h=Hv(_B(yTt(u,Mwe))),l=e.Math.max(a,h),o=D8(LNe,HVt,25,n.f-n.c+1,15,1),r=-l,i=0,c=n.b.Kc();c.Ob();)s=$z(c.Pb(),10),r+=t.a[s.c.p]+l,o[i++]=r;for(r+=t.a[n.a.c.p]+l,o[i++]=r,d=new Kd(n.e);d.a<d.c.c.length;)f=$z(Q1(d),10),r+=t.a[f.c.p]+l,o[i++]=r;return o}function HRt(t,e,n,i){var r,a,o,s,c,u,l,h;for(h=new d_(new Xp(t)),s=0,c=(o=Cst(Hx(Ase,1),a1t,10,0,[e,n])).length;s<c;++s)for(l=Lht(o[s],i).Kc();l.Ob();)for(a=new w6((u=$z(l.Pb(),11)).b);yL(a.a)||yL(a.b);)h5(r=$z(yL(a.a)?Q1(a.a):Q1(a.b),17))||(Ect(h.a,u,(cN(),bee)),CW(r)&&ZK(h,u==r.c?r.d:r.c));return yY(h),new Jj(h)}function URt(t,e){var n,i,r,a;if(0!=(a=$z(QOt(t,(cWt(),fSe)),61).g-$z(QOt(e,fSe),61).g))return a;if(n=$z(QOt(t,sSe),19),i=$z(QOt(e,sSe),19),n&&i&&0!=(r=n.a-i.a))return r;switch($z(QOt(t,fSe),61).g){case 1:return Cft(t.i,e.i);case 2:return Cft(t.j,e.j);case 3:return Cft(e.i,t.i);case 4:return Cft(e.j,t.j);default:throw Fw(new jv(i1t))}}function GRt(t){var e,n,i;return 64&t.Db?yCt(t):(e=new lN(J5t),(n=t.k)?oI(oI((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),i),'"'))),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function qRt(t){var e,n,i;return 64&t.Db?yCt(t):(e=new lN(t6t),(n=t.k)?oI(oI((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),i),'"'))),oI(m_(oI(m_(oI(m_(oI(m_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function KRt(t,e){var n,i,r,a,o,s;if(null==e||0==e.length)return null;if(!(r=$z(EQ(t.a,e),149))){for(i=new Bd(new Ad(t.b).a.vc().Kc());i.a.Ob();)if(a=$z(i.a.Pb(),42),o=(n=$z(a.dd(),149)).c,s=e.length,wj(o.substr(o.length-s,s),e)&&(e.length==o.length||46==uX(o,o.length-e.length-1))){if(r)return null;r=n;}r&&wJ(t.a,e,r);}return r}function YRt(t,e){var n,i,r;return n=new Nt,(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),qne),Gne]))),21).gc())<(r=$z(T4(IX(new PU(null,new f1(e.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[qne,Gne]))),21).gc())?-1:i==r?0:1}function WRt(t){var e,n,i;OP(t,(zYt(),Ibe))&&((i=$z(yTt(t,Ibe),21)).dc()||(n=new Xj(e=$z(Yk(HAe),9),$z(ER(e,e.length),9),0),i.Hc((JOt(),IAe))?srt(n,IAe):srt(n,OAe),i.Hc(AAe)||srt(n,AAe),i.Hc(SAe)?srt(n,NAe):i.Hc(CAe)?srt(n,DAe):i.Hc(MAe)&&srt(n,LAe),i.Hc(NAe)?srt(n,SAe):i.Hc(DAe)?srt(n,CAe):i.Hc(LAe)&&srt(n,MAe),uct(t,Ibe,n)));}function XRt(t){var e,n,i,r,a,o,s;for(r=$z(yTt(t,(uWt(),nfe)),10),l1(0,(i=t.j).c.length),n=$z(i.c[0],11),o=new Kd(r.j);o.a<o.c.c.length;)if(HM(a=$z(Q1(o),11))===HM(yTt(n,dfe))){a.j==(vKt(),sMe)&&t.p>r.p?(HAt(a,EMe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==EMe&&r.p>t.p&&(HAt(a,sMe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return r}function VRt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;if(a=n,n<i)for(d=new $ot(t.p),g=new $ot(t.p),$rt(d.e,t.e),d.q=t.q,d.r=g,nY(d),$rt(g.j,t.j),g.r=d,nY(g),h=$z((f=new nM(d,g)).a,112),l=$z(f.b,112),l1(a,e.c.length),o=OBt(t,h,l,r=$z(e.c[a],329)),u=n+1;u<=i;u++)l1(u,e.c.length),Wwt(s=$z(e.c[u],329),c=OBt(t,h,l,s),r,o)&&(r=s,o=c);return a}function ZRt(t,e,n,i,r){var a,o,s,c,u,l,h;if(!(iD(e,239)||iD(e,354)||iD(e,186)))throw Fw(new Rv("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,c=e.i+i-o,l=e.j+r-o,u=c+e.g+t.a,h=l+e.f+t.a,NH(a=new mm,new DA(c,l)),NH(a,new DA(c,h)),NH(a,new DA(u,h)),NH(a,new DA(u,l)),Hot(s=new kOt(a),e),n&&YW(t.b,e,s),s}function QRt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new DA(e,n),u=new Kd(t.a);u.a<u.c.c.length;)for(GR((c=$z(Q1(u),10)).n,a),l=new Kd(c.j);l.a<l.c.c.length;)for(r=new Kd($z(Q1(l),11).g);r.a<r.c.c.length;)for(Qet((i=$z(Q1(r),17)).a,a),(o=$z(yTt(i,(zYt(),bbe)),74))&&Qet(o,a),s=new Kd(i.b);s.a<s.c.c.length;)GR($z(Q1(s),70).n,a);}function JRt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new DA(e,n),u=new Kd(t.a);u.a<u.c.c.length;)for(GR((c=$z(Q1(u),10)).n,a),l=new Kd(c.j);l.a<l.c.c.length;)for(r=new Kd($z(Q1(l),11).g);r.a<r.c.c.length;)for(Qet((i=$z(Q1(r),17)).a,a),(o=$z(yTt(i,(zYt(),bbe)),74))&&Qet(o,a),s=new Kd(i.b);s.a<s.c.c.length;)GR($z(Q1(s),70).n,a);}function tjt(t){if(0==(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i)throw Fw(new ix("Edges must have a source."));if(0==(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i)throw Fw(new ix("Edges must have a target."));if(!t.b&&(t.b=new cj(PIe,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c.i<=1)))throw Fw(new ix("Hyperedges are not supported."))}function ejt(t,e){var n,i,r,a,o,s,c,u,l,h;for(h=0,d3(a=new Ow,e);a.b!=a.c;)for(c=$z(dK(a),214),u=0,l=$z(yTt(e.j,(zYt(),Ope)),339),o=Hv(_B(yTt(e.j,Spe))),s=Hv(_B(yTt(e.j,Ape))),l!=(yct(),Lye)&&(u+=o*TLt(c.e,l),u+=s*iPt(c.e)),h+=cvt(c.d,c.e)+u,r=new Kd(c.b);r.a<r.c.c.length;)i=$z(Q1(r),37),(n=$z(DU(t.b,i.p),214)).s||(h+=JSt(t,n));return h}function njt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=d=e.length,h1(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0),r=d/(a=(oHt(),rne)[10])|0,0!=(b=d%a)&&++r,s=D8(ANe,uVt,25,r,15,1),n=ine[8],o=0,g=f+(0==b?a:b),p=f;p<c;g=(p=g)+a)i=h$t(e.substr(p,g-p),jXt,PWt),OIt(),u=gyt(s,s,o,n),u+=qgt(s,o,i),s[o++]=u;l=o,t.e=h,t.d=l,t.a=s,q0(t);}function ijt(t,e,n,i,r,a,o){if(t.c=i.qf().a,t.d=i.qf().b,r&&(t.c+=r.qf().a,t.d+=r.qf().b),t.b=e.rf().a,t.a=e.rf().b,r)switch(r.Hf().g){case 0:case 2:t.c+=r.rf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.rf().a;break;case 1:t.c+=r.rf().a+o,t.d-=o+a.b+o+e.rf().b;break;case 3:t.c+=r.rf().a+o,t.d+=r.rf().b+o+a.b+o;}else n?t.c-=o+e.rf().a:t.c+=i.rf().a+o;}function rjt(t,e){var n,i;for(this.b=new Lw,this.e=new Lw,this.a=t,this.d=e,Uwt(this),bpt(this),this.b.dc()?this.c=t.c.p:this.c=$z(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=$z(DU(this.e,this.e.c.length-1),10).c.p,i=$z(yTt(t,(uWt(),Tfe)),15).Kc();i.Ob();)if(OP(n=$z(i.Pb(),70),(zYt(),Ype))){this.d=$z(yTt(n,Ype),227);break}}function ajt(t,e,n){var i,r,a,o,s,c,u,l;for(i=$z(PY(t.a,e),53),a=$z(PY(t.a,n),53),r=$z(PY(t.e,e),53),o=$z(PY(t.e,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=$z(l.Pb(),10),i.a.zc(u,i),kK($z(PY(t.e,u),53),e),$rt($z(PY(t.e,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),o.a.zc(s,o),kK($z(PY(t.a,s),53),n),$rt($z(PY(t.a,s),53),a);}function ojt(t,e,n){var i,r,a,o,s,c,u,l;for(i=$z(PY(t.a,e),53),a=$z(PY(t.a,n),53),r=$z(PY(t.b,e),53),o=$z(PY(t.b,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=$z(l.Pb(),10),i.a.zc(u,i),kK($z(PY(t.b,u),53),e),$rt($z(PY(t.b,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),o.a.zc(s,o),kK($z(PY(t.a,s),53),n),$rt($z(PY(t.a,s),53),a);}function sjt(t,e){var n,i,r;switch(MEt(e,"Breaking Point Insertion",1),i=new EOt(t),$z(yTt(t,(zYt(),$we)),337).g){case 2:r=new Ea;case 0:r=new ga;break;default:r=new Ta;}if(n=r.Vf(t,i),zv(kB(yTt(t,zwe)))&&(n=PUt(t,n)),!r.Wf()&&OP(t,qwe))switch($z(yTt(t,qwe),338).g){case 2:n=KAt(i,n);break;case 1:n=REt(i,n);}n.dc()||tYt(t,n),zCt(e);}function cjt(t,e,n){var i,r,a,o,s,c,u;if(u=e,Oit(c=W3(t,O3(n),u),P2(u,H6t)),o=L2(u,L6t),WAt((i=new oM(t,c)).a,i.b,o),s=L2(u,D6t),XAt((r=new sM(t,c)).a,r.b,s),0==(!c.b&&(c.b=new cj(PIe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cj(PIe,c,5,8)),c.c).i)throw a=P2(u,H6t),Fw(new tx(K6t+a+Y6t));return TEt(u,c),cYt(t,u,c),Nct(t,u,c)}function ujt(t,n){var i,r,a,o,s,c,u;for(a=D8(ANe,uVt,25,t.e.a.c.length,15,1),s=new Kd(t.e.a);s.a<s.c.c.length;)a[(o=$z(Q1(s),121)).d]+=o.b.a.c.length;for(c=Uz(n);0!=c.b;)for(r=O7(new Kd((o=$z(0==c.b?null:(TP(0!=c.b),Iet(c,c.a.a)),121)).g.a));r.Ob();)(u=(i=$z(r.Pb(),213)).e).e=e.Math.max(u.e,o.e+i.a),--a[u.d],0==a[u.d]&&n5(c,u,c.c.b,c.c);}function ljt(t){var n,i,r,a,o,s,c,u,l,h,f;for(i=jXt,a=PWt,c=new Kd(t.e.a);c.a<c.c.c.length;)o=$z(Q1(c),121),a=e.Math.min(a,o.e),i=e.Math.max(i,o.e);for(n=D8(ANe,uVt,25,i-a+1,15,1),s=new Kd(t.e.a);s.a<s.c.c.length;)(o=$z(Q1(s),121)).e-=a,++n[o.e];if(r=0,null!=t.k)for(h=0,f=(l=t.k).length;h<f&&(u=l[h],n[r++]+=u,n.length!=r);++h);return n}function hjt(t){switch(t.d){case 9:case 8:return !0;case 3:case 5:case 4:case 6:return !1;case 7:return $z(RPt(t),19).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 WM(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:Dht(t.n,t.g)}default:return !1}}function fjt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,R5t),"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 Vs))),a2(t,R5t,XQt,dAe),a2(t,R5t,p3t,ywt(gAe)),a2(t,R5t,p5t,ywt(cAe)),a2(t,R5t,CJt,ywt(uAe)),a2(t,R5t,FJt,ywt(hAe)),a2(t,R5t,V2t,ywt(lAe));}function djt(t,e,n){var i,r,a,o;if(i=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))),o=dG(rdt(TXt,nX(dG(rdt(null==n?0:Jct(n),CXt)),15))),(a=Zrt(t,e,i))&&o==a.f&&fW(n,a.i))return n;if(Qrt(t,n,o))throw Fw(new Rv("value already present: "+n));return r=new zW(e,i,n,o),a?(LDt(t,a),VAt(t,r,a),a.e=null,a.c=null,a.i):(VAt(t,r,null),Hxt(t),null)}function gjt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=$z(PY(n.c,e),459)).f,d=a.a,s=a.b?new DA(o,f):new DA(u,f),l=a.c?new DA(u,d):new DA(o,d),r=u,n.p||(r+=t.c),c=new DA(r+=n.F+n.v*t.b,f),h=new DA(r,d),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[s,c])),n.d.a.gc()>1&&(i=new DA(r,n.b),NH(e.a,i)),Jnt(e.a,Cst(Hx(TTe,1),cXt,8,0,[h,l]));}function pjt(t,e,n){var i,r,a,o,s,c;if(e){if(n<=-1){if(iD(i=eet(e.Tg(),-1-n),99))return $z(i,18);for(s=0,c=(o=$z(e.ah(i),153)).gc();s<c;++s)if(HM(o.jl(s))===HM(t)&&iD(r=o.il(s),99)&&(a=$z(r,18)).Bb&u6t)return a;throw Fw(new jv("The containment feature could not be located"))}return Syt($z(eet(t.Tg(),n),18))}return null}function bjt(t){var e,n,i,r,a;for(i=t.length,e=new Tx,a=0;a<i;)if(9!=(n=uX(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&a<i?35==(h1(a,t.length),r=t.charCodeAt(a))||9==r||10==r||12==r||13==r||32==r?(LY(e,r&XXt),++a):(e.a+="\\",LY(e,r&XXt),++a):LY(e,n&XXt);else for(;a<i&&13!=(n=uX(t,a++))&&10!=n;);return e.a}function wjt(t,e){var n,i,r;for(i=new Kd(e);i.a<i.c.c.length;)if(n=$z(Q1(i),33),ZMt(t.a,n,n),ZMt(t.b,n,n),0!=(r=dBt(n)).c.length)for(t.d&&t.d.lg(r),ZMt(t.a,n,(l1(0,r.c.length),$z(r.c[0],33))),ZMt(t.b,n,$z(DU(r,r.c.length-1),33));0!=Pst(r).c.length;)r=Pst(r),t.d&&t.d.lg(r),ZMt(t.a,n,(l1(0,r.c.length),$z(r.c[0],33))),ZMt(t.b,n,$z(DU(r,r.c.length-1),33));}function yjt(t){var e,n,i,r,a,o,s,c,u,l;for(n=0,s=new Kd(t.d);s.a<s.c.c.length;)(o=$z(Q1(s),101)).i&&(o.i.c=n++);for(e=mU(MNe,[cXt,QZt],[177,25],16,[n,n],2),l=t.d,r=0;r<l.c.length;r++)if(l1(r,l.c.length),(c=$z(l.c[r],101)).i)for(a=r+1;a<l.c.length;a++)l1(a,l.c.length),(u=$z(l.c[a],101)).i&&(i=iTt(c,u),e[c.i.c][u.i.c]=i,e[u.i.c][c.i.c]=i);return e}function mjt(t,e,n,i){var r,a,o;return o=new yE(e,n),t.a?i?(++(r=$z(PY(t.b,e),283)).a,o.d=i.d,o.e=i.e,o.b=i,o.c=i,i.e?i.e.c=o:$z(PY(t.b,e),283).b=o,i.d?i.d.b=o:t.a=o,i.d=o,i.e=o):(t.e.b=o,o.d=t.e,t.e=o,(r=$z(PY(t.b,e),283))?(++r.a,(a=r.c).c=o,o.e=a,r.c=o):(YW(t.b,e,r=new sZ(o)),++t.c)):(t.a=t.e=o,YW(t.b,e,new sZ(o)),++t.c),++t.d,o}function vjt(t,e){var n,i,r,a,o,s,c,u;for(n=new RegExp(e,"g"),c=D8(Xee,cXt,2,0,6,1),i=0,u=t,a=null;;){if(null==(s=n.exec(u))||""==u){c[i]=u;break}o=s.index,c[i]=u.substr(0,o),u=uP(u,o+s[0].length,u.length),n.lastIndex=0,a==u&&(c[i]=u.substr(0,1),u=u.substr(1)),a=u,++i;}if(t.length>0){for(r=c.length;r>0&&""==c[r-1];)--r;r<c.length&&(c.length=r);}return c}function xjt(t,e){var n,i,r,a,o,s,c,u;for(s=null,r=!1,a=0,c=r4((u=mZ(e)).a).i;a<c;++a)(n=xjt(t,$z(eGt(u,a,iD(o=$z(Yet(r4(u.a),a),87).c,88)?$z(o,26):(pWt(),fLe)),26))).dc()||(s?(r||(r=!0,s=new nG(s)),s.Gc(n)):s=n);return (i=NMt(t,e)).dc()?s||(EV(),EV(),cne):s?(r||(s=new nG(s)),s.Gc(i),s):i}function kjt(t,e){var n,i,r,a,o,s,c,u;for(s=null,i=!1,a=0,c=r4((u=mZ(e)).a).i;a<c;++a)(n=kjt(t,$z(eGt(u,a,iD(o=$z(Yet(r4(u.a),a),87).c,88)?$z(o,26):(pWt(),fLe)),26))).dc()||(s?(i||(i=!0,s=new nG(s)),s.Gc(n)):s=n);return (r=WIt(t,e)).dc()?s||(EV(),EV(),cne):s?(i||(s=new nG(s)),s.Gc(r),s):r}function _jt(t,e,n){var i,r,a,o,s,c;if(iD(e,72))return jwt(t,e,n);for(s=null,a=null,i=$z(t.g,119),o=0;o<t.i;++o)if(Dht(e,(r=i[o]).dd())&&iD(a=r.ak(),99)&&$z(a,18).Bb&u6t){s=r;break}return s&&(wO(t.e)&&(c=a.$j()?OZ(t,4,a,e,null,bzt(t,a,e,iD(a,99)&&!!($z(a,18).Bb&FVt)),!0):OZ(t,a.Kj()?2:1,a,e,a.zj(),-1,!0),n?n.Ei(c):n=c),n=_jt(t,s,n)),n}function Ejt(t){var n,i,r,a;r=t.o,zB(),t.A.dc()||Dht(t.A,Ire)?a=r.a:(a=TMt(t.f),t.A.Hc((ypt(),PMe))&&!t.B.Hc((Jjt(),qMe))&&(a=e.Math.max(a,TMt($z(oX(t.p,(vKt(),sMe)),244))),a=e.Math.max(a,TMt($z(oX(t.p,EMe),244)))),(n=sot(t))&&(a=e.Math.max(a,n.a))),zv(kB(t.e.yf().We((cWt(),jCe))))?r.a=e.Math.max(r.a,a):r.a=a,(i=t.f.i).c=0,i.b=a,jFt(t.f);}function Tjt(t,e){var n,i,r,a,o,s,c,u,l;if((n=e.Hh(t.a))&&null!=(c=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),"memberTypes")))){for(u=new Lw,o=0,s=(a=vjt(c,"\\w")).length;o<s;++o)iD(l=-1==(i=(r=a[o]).lastIndexOf("#"))?aB(t,e.Aj(),r):0==i?_7(t,null,r.substr(1)):_7(t,r.substr(0,i),r.substr(i+1)),148)&&Kz(u,$z(l,148));return u}return EV(),EV(),cne}function Cjt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,aJt,1),t.bf(e),a=0;t.df(a);){for(l=new Kd(e.e);l.a<l.c.c.length;)for(c=$z(Q1(l),144),s=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[e.e,e.d,e.b])));gOt(s);)(o=$z(G5(s),357))!=c&&(r=t.af(o,c))&&GR(c.a,r);for(u=new Kd(e.e);u.a<u.c.c.length;)YCt(i=(c=$z(Q1(u),144)).a,-t.d,-t.d,t.d,t.d),GR(c.d,i),mI(i);t.cf(),++a;}zCt(n);}function Sjt(t,e,n){var i,r,a,o;if(o=aPt(t.e.Tg(),e),i=$z(t.g,119),ZT(),$z(e,66).Oj()){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Dht(r,n))return lBt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&Dht(n,r.dd()))return lBt(t,a),!0}else for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&null==r.dd())return lBt(t,a),!0;return !1}function Ajt(t,e){var n,i,r,a,o;for(null==t.c||t.c.length<e.c.length?t.c=D8(MNe,QZt,25,e.c.length,16,1):Qv(t.c),t.a=new Lw,i=0,o=new Kd(e);o.a<o.c.c.length;)(r=$z(Q1(o),10)).p=i++;for(n=new XE,a=new Kd(e);a.a<a.c.c.length;)r=$z(Q1(a),10),t.c[r.p]||(uMt(t,r),0==n.b||(TP(0!=n.b),$z(n.a.a.c,15)).gc()<t.a.c.length?cI(n,t.a):uI(n,t.a),t.a=new Lw);return n}function Mjt(t,e,n,i){var r,a,o,s,c,u,l;for(Cnt(o=$z(Yet(e,0),33),0),Snt(o,0),(c=new Lw).c[c.c.length]=o,s=o,a=new tU(t.a,o.g,o.f,(VDt(),R_e)),u=1;u<e.i;u++)Cnt(l=$z(Yet(e,u),33),(r=aUt(t,Jzt(t,N_e,l,s,a,c,n),Jzt(t,D_e,l,s,a,c,n),Jzt(t,B_e,l,s,a,c,n),Jzt(t,P_e,l,s,a,c,n),l,s,i)).d),Snt(l,r.e),rd(r,R_e),a=r,s=l,c.c[c.c.length]=l;return a}function Ijt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,X4t),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new is))),a2(t,X4t,R4t,ywt(zEe)),a2(t,X4t,XQt,$Ee),a2(t,X4t,wJt,8),a2(t,X4t,H4t,ywt(FEe)),a2(t,X4t,q4t,ywt(REe)),a2(t,X4t,K4t,ywt(jEe)),a2(t,X4t,K2t,(cN(),!1));}function Ojt(t,e,n,i){var r,a,o,s,c,u,l,h;for(o=RP(e.c,n,i),l=new Kd(e.a);l.a<l.c.c.length;){for(GR((u=$z(Q1(l),10)).n,o),h=new Kd(u.j);h.a<h.c.c.length;)for(a=new Kd($z(Q1(h),11).g);a.a<a.c.c.length;)for(Qet((r=$z(Q1(a),17)).a,o),(s=$z(yTt(r,(zYt(),bbe)),74))&&Qet(s,o),c=new Kd(r.b);c.a<c.c.c.length;)GR($z(Q1(c),70).n,o);Kz(t.a,u),u.a=t;}}function Ljt(t,e){var n,i,r,a;if(MEt(e,"Node and Port Label Placement and Node Sizing",1),PO((gT(),new FX(t,!0,!0,new Xn))),$z(yTt(t,(uWt(),Zhe)),21).Hc((fBt(),lhe)))for(i=(r=$z(yTt(t,(zYt(),iwe)),21)).Hc((hMt(),eMe)),a=zv(kB(yTt(t,rwe))),n=new Kd(t.b);n.a<n.c.c.length;)VE(MX(new PU(null,new f1($z(Q1(n),29).a,16)),new Vn),new B$(r,i,a));zCt(e);}function Djt(t,e){var n,i,r,a,o,s;if((n=e.Hh(t.a))&&null!=(s=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),J6t))))switch(r=wN(s,VEt(35)),i=e.Hj(),-1==r?(o=rq(t,qet(i)),a=s):0==r?(o=null,a=s.substr(1)):(o=s.substr(0,r),a=s.substr(r+1)),NW($9(t,e))){case 2:case 3:return Pct(t,i,o,a);case 0:case 4:case 5:case 6:return Bct(t,i,o,a)}return null}function Njt(t,e,n){var i,r,a,o,s;if(ZT(),o=$z(e,66).Oj(),OPt(t.e,e)){if(e.hi()&&qFt(t,e,n,iD(e,99)&&!!($z(e,18).Bb&FVt)))return !1}else for(s=aPt(t.e.Tg(),e),i=$z(t.g,119),a=0;a<t.i;++a)if(r=i[a],s.rl(r.ak()))return !(o?Dht(r,n):null==n?null==r.dd():Dht(n,r.dd()))&&($z(syt(t,a,o?$z(n,72):Z3(e,n)),72),!0);return u7(t,o?$z(n,72):Z3(e,n))}function Pjt(t){var e,n,i,r,a;if(t.d)throw Fw(new jv((xB(Xoe),IZt+Xoe.k+OZt)));for(t.c==($ht(),$Se)&&Eqt(t,RSe),e=new Kd(t.a.a);e.a<e.c.c.length;)$z(Q1(e),189).e=0;for(r=new Kd(t.a.b);r.a<r.c.c.length;)for((i=$z(Q1(r),81)).o=RVt,n=i.f.Kc();n.Ob();)++$z(n.Pb(),81).d.e;for(Uqt(t),a=new Kd(t.a.b);a.a<a.c.c.length;)$z(Q1(a),81).k=!0;return t}function Bjt(t,e){var n,i,r,a,o,s,c,u;for(s=new bSt(t),n5(n=new XE,e,n.c.b,n.c);0!=n.b;){for((i=$z(0==n.b?null:(TP(0!=n.b),Iet(n,n.a.a)),113)).d.p=1,o=new Kd(i.e);o.a<o.c.c.length;)xEt(s,r=$z(Q1(o),409)),0==(u=r.d).d.p&&n5(n,u,n.c.b,n.c);for(a=new Kd(i.b);a.a<a.c.c.length;)xEt(s,r=$z(Q1(a),409)),0==(c=r.c).d.p&&n5(n,c,n.c.b,n.c);}return s}function Rjt(t){var e,n,i,r,a;if(1!=(i=Hv(_B(QOt(t,(cWt(),ySe))))))for(_O(t,i*t.g,i*t.f),n=qI(Rz((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c),new Hs)),a=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n),(!t.c&&(t.c=new tK(GIe,t,9,9)),t.c),n])));gOt(a);)(r=$z(G5(a),470)).Gg(i*r.Dg(),i*r.Eg()),r.Fg(i*r.Cg(),i*r.Bg()),(e=$z(r.We(iSe),8))&&(e.a*=i,e.b*=i);}function jjt(t,e,n,i,r){var a,o,s,c,u,l;for(a=new Kd(t.b);a.a<a.c.c.length;)for(u=0,l=(c=Q0($z(Q1(a),29).a)).length;u<l;++u)switch($z(yTt(s=c[u],(zYt(),mbe)),163).g){case 1:wPt(s),TJ(s,e),hyt(s,!0,i);break;case 3:QNt(s),TJ(s,n),hyt(s,!1,r);}for(o=new _2(t.b,0);o.b<o.d.gc();)0==(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),29)).a.c.length&&uW(o);}function $jt(t,e){var n,i,r,a,o,s,c;if((n=e.Hh(t.a))&&null!=(c=EB(rpt((!n.b&&(n.b=new VP((pWt(),yLe),GLe,n)),n.b),E9t)))){for(i=new Lw,o=0,s=(a=vjt(c,"\\w")).length;o<s;++o)wj(r=a[o],"##other")?Kz(i,"!##"+rq(t,qet(e.Hj()))):wj(r,"##local")?i.c[i.c.length]=null:wj(r,k9t)?Kz(i,rq(t,qet(e.Hj()))):i.c[i.c.length]=r;return i}return EV(),EV(),cne}function Fjt(t,e){var n,i,r;return n=new Kt,(i=1==(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),qne),Gne]))),21).gc())?1:0)<(r=1==(r=$z(T4(IX(new PU(null,new f1(e.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[qne,Gne]))),21).gc())?1:0)?-1:i==r?0:1}function zjt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(r=zv(kB(yTt(s=t.i,(zYt(),fbe)))),l=0,i=0,u=new Kd(t.g);u.a<u.c.c.length;)a=(o=h5(c=$z(Q1(u),17)))&&r&&zv(kB(yTt(c,dbe))),f=c.d.i,o&&a?++i:o&&!a?++l:bW(f).e==s?++i:++l;for(n=new Kd(t.e);n.a<n.c.c.length;)a=(o=h5(e=$z(Q1(n),17)))&&r&&zv(kB(yTt(e,dbe))),h=e.c.i,o&&a?++l:o&&!a?++i:bW(h).e==s?++l:++i;return l-i}function Hjt(t,e,n,i){this.e=t,this.k=$z(yTt(t,(uWt(),Mfe)),304),this.g=D8(Ase,a1t,10,e,0,1),this.b=D8(Cee,cXt,333,e,7,1),this.a=D8(Ase,a1t,10,e,0,1),this.d=D8(Cee,cXt,333,e,7,1),this.j=D8(Ase,a1t,10,e,0,1),this.i=D8(Cee,cXt,333,e,7,1),this.p=D8(Cee,cXt,333,e,7,1),this.n=D8(vee,cXt,476,e,8,1),yC(this.n,(cN(),!1)),this.f=D8(vee,cXt,476,e,8,1),yC(this.f,!0),this.o=n,this.c=i;}function Ujt(t,e){var n,i,r;if(!e.dc())if($z(e.Xb(0),286).d==(OSt(),Que))Ixt(t,e);else for(i=e.Kc();i.Ob();){switch((n=$z(i.Pb(),286)).d.g){case 5:uSt(t,n,Wdt(t,n));break;case 0:uSt(t,n,(r=(n.f-n.c+1-1)/2|0,n.c+r));break;case 4:uSt(t,n,Itt(t,n));break;case 2:Rgt(n),uSt(t,n,O_t(n)?n.c:n.f);break;case 1:Rgt(n),uSt(t,n,O_t(n)?n.f:n.c);}uTt(n.a);}}function Gjt(t,e){var n,i,r,a,o;if(!e.e){for(e.e=!0,i=e.d.a.ec().Kc();i.Ob();)n=$z(i.Pb(),17),e.o&&e.d.a.gc()<=1?(o=new DA((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),NH($z(e.d.a.ec().Kc().Pb(),17).a,o)):(r=$z(PY(e.c,n),459)).b||r.c?gjt(t,n,e):t.d==(qut(),nme)&&(r.d||r.e)&&LIt(t,e)&&e.d.a.gc()<=1?gqt(n,e):PBt(t,n,e);e.k&&t5(e.d,new En);}}function qjt(t,n,i,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,y,m;for(c=(r+a)/2+o,b=i*e.Math.cos(c),w=i*e.Math.sin(c),y=b-n.g/2,m=w-n.f/2,Cnt(n,y),Snt(n,m),f=t.a.jg(n),(p=2*e.Math.acos(i/i+t.c))<a-r?(d=p/f,s=(r+a-p)/2):(d=(a-r)/f,s=r),g=dBt(n),t.e&&(t.e.kg(t.d),t.e.lg(g)),l=new Kd(g);l.a<l.c.c.length;)u=$z(Q1(l),33),h=t.a.jg(u),qjt(t,u,i+t.c,s,s+d*h,o),s+=d*h;}function Kjt(t,e,n){var i;switch(i=n.q.getMonth(),e){case 5:oI(t,Cst(Hx(Xee,1),cXt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:oI(t,Cst(Hx(Xee,1),cXt,2,6,[VXt,ZXt,QXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt])[i]);break;case 3:oI(t,Cst(Hx(Xee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:xtt(t,i+1,e);}}function Yjt(t,e){var n,i,r,a;if(MEt(e,"Network simplex",1),t.e.a.c.length<1)zCt(e);else {for(r=new Kd(t.e.a);r.a<r.c.c.length;)$z(Q1(r),121).e=0;for((a=t.e.a.c.length>=40)&&kFt(t),FHt(t),_Pt(t),n=mft(t),i=0;n&&i<t.f;)e$t(t,n,eLt(t,n)),n=mft(t),++i;a&&tEt(t),t.a?bLt(t,ljt(t)):ljt(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,zCt(e);}}function Wjt(t,e,n,i){var r,a,o,s,c,u,l,h;for(qR(s=new DA(n,i),$z(yTt(e,(Ert(),ooe)),8)),h=new Kd(e.e);h.a<h.c.c.length;)GR((l=$z(Q1(h),144)).d,s),Kz(t.e,l);for(o=new Kd(e.c);o.a<o.c.c.length;){for(r=new Kd((a=$z(Q1(o),282)).a);r.a<r.c.c.length;)GR($z(Q1(r),559).d,s);Kz(t.c,a);}for(u=new Kd(e.d);u.a<u.c.c.length;)GR((c=$z(Q1(u),447)).d,s),Kz(t.d,c);}function Xjt(t,e){var n,i,r,a,o,s,c,u;for(c=new Kd(e.j);c.a<c.c.c.length;)for(r=new w6((s=$z(Q1(c),11)).b);yL(r.a)||yL(r.b);)e!=(a=(n=(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17)).c==s?i.d:i.c).i)&&((u=$z(yTt(i,(zYt(),uwe)),19).a)<0&&(u=0),o=a.p,0==t.b[o]&&(i.d==n?(t.a[o]-=u+1,t.a[o]<=0&&t.c[o]>0&&NH(t.f,a)):(t.c[o]-=u+1,t.c[o]<=0&&t.a[o]>0&&NH(t.e,a))));}function Vjt(t){var e,n,i,r,a,o,s;for(a=new d_($z(yY(new Bt),62)),s=RVt,n=new Kd(t.d);n.a<n.c.c.length;){for(s=(e=$z(Q1(n),222)).c.c;0!=a.a.c&&(o=$z(_K(z7(a.a)),222)).c.c+o.c.b<s;)IQ(a.a,o);for(r=new jd(new $R(new DN(new Rd(a.a).a).b));rC(r.a.a);)NH((i=$z(wP(r.a).cd(),222)).b,e),NH(e.b,i);Ect(a.a,e,(cN(),bee));}}function Zjt(t,e,n){var i,r,a,o,s,c,u,l,h;for(a=new V6(e.c.length),u=new Kd(e);u.a<u.c.c.length;)o=$z(Q1(u),10),Kz(a,t.b[o.c.p][o.p]);for(yUt(t,a,n),h=null;h=eqt(a);)izt(t,$z(h.a,233),$z(h.b,233),a);for(e.c=D8(Ite,zWt,1,0,5,1),r=new Kd(a);r.a<r.c.c.length;)for(c=0,l=(s=(i=$z(Q1(r),233)).d).length;c<l;++c)o=s[c],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=lD(i.g,i.d[0]).a;}function Qjt(t,e){var n,i,r,a;if(0<(iD(t,14)?$z(t,14).gc():j3(t.Kc()))){if(1<(r=e)){for(--r,a=new yo,i=t.Kc();i.Ob();)n=$z(i.Pb(),86),a=Ynt(Cst(Hx(Nte,1),zWt,20,0,[a,new hb(n)]));return Qjt(a,r)}if(r<0){for(a=new mo,i=t.Kc();i.Ob();)n=$z(i.Pb(),86),a=Ynt(Cst(Hx(Nte,1),zWt,20,0,[a,new hb(n)]));if(0<(iD(a,14)?$z(a,14).gc():j3(a.Kc())))return Qjt(a,r)}}return $z(eD(t.Kc()),86)}function Jjt(){Jjt=I,HMe=new WA("DEFAULT_MINIMUM_SIZE",0),GMe=new WA("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),zMe=new WA("COMPUTE_PADDING",2),qMe=new WA("OUTSIDE_NODE_LABELS_OVERHANG",3),KMe=new WA("PORTS_OVERHANG",4),WMe=new WA("UNIFORM_PORT_SPACING",5),YMe=new WA("SPACE_EFFICIENT_PORT_LABELS",6),UMe=new WA("FORCE_TABULAR_NODE_LABELS",7),FMe=new WA("ASYMMETRICAL",8);}function t$t(t,e){var n,i,r,a,o,s,c,u;if(e){if(n=(a=e.Tg())?qet(a).Nh().Jh(a):null){for(Zbt(t,e,n),c=0,u=(null==(r=e.Tg()).i&&HFt(r),r.i).length;c<u;++c)null==r.i&&HFt(r),i=r.i,(s=c>=0&&c<i.length?i[c]:null).Ij()&&!s.Jj()&&(iD(s,322)?Jwt(t,$z(s,34),e,n):(o=$z(s,18)).Bb&u6t&&c_t(t,o,e,n));e.kh()&&$z(n,49).vh($z(e,49).qh());}return n}return null}function e$t(t,e,n){var i,r,a;if(!e.f)throw Fw(new Rv("Given leave edge is no tree edge."));if(n.f)throw Fw(new Rv("Given enter edge is a tree edge already."));for(e.f=!1,tD(t.p,e),n.f=!0,kK(t.p,n),i=n.e.e-n.d.e-n.a,$At(t,n.e,e)||(i=-i),a=new Kd(t.e.a);a.a<a.c.c.length;)$At(t,r=$z(Q1(a),121),e)||(r.e+=i);t.j=1,Qv(t.c),bMt(t,$z(Q1(new Kd(t.e.a)),121)),pGt(t);}function n$t(t,e){var n,i,r,a,o,s;if((s=$z(yTt(e,(zYt(),twe)),98))==(X_t(),KAe)||s==qAe)for(r=new DA(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Q1(o),10)).k==(oCt(),_se)&&((n=$z(yTt(a,(uWt(),Whe)),61))!=(vKt(),oMe)&&n!=CMe||(i=Hv(_B(yTt(a,kfe))),s==KAe&&(i*=r),a.n.b=i-$z(yTt(a,Qbe),8).b,Zot(a,!1,!0)));}function i$t(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;if(Vet(t,e,n),a=e[n],d=i?(vKt(),CMe):(vKt(),oMe),wD(e.length,n,i)){for(H6(t,r=e[i?n-1:n+1],i?(ait(),zye):(ait(),Fye)),l=0,f=(c=a).length;l<f;++l)Nyt(t,o=c[l],d);for(H6(t,a,i?(ait(),Fye):(ait(),zye)),u=0,h=(s=r).length;u<h;++u)(o=s[u]).e||Nyt(t,o,_ft(d));}else for(u=0,h=(s=a).length;u<h;++u)Nyt(t,o=s[u],d);return !1}function r$t(t,e,n,i){var r,a,o,s,c;s=adt(e,n),(n==(vKt(),EMe)||n==CMe)&&(s=iD(s,152)?o6($z(s,152)):iD(s,131)?$z(s,131).a:iD(s,54)?new uv(s):new CE(s)),o=!1;do{for(r=!1,a=0;a<s.gc()-1;a++)FTt(t,$z(s.Xb(a),11),$z(s.Xb(a+1),11),i)&&(o=!0,m0(t.a,$z(s.Xb(a),11),$z(s.Xb(a+1),11)),c=$z(s.Xb(a+1),11),s._c(a+1,$z(s.Xb(a),11)),s._c(a,c),r=!0);}while(r);return o}function a$t(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(!wO(t.e))return $z(VMt(t,e,n),72);if(e!=n&&(o=(d=(r=$z(t.g,119))[n]).ak(),OPt(t.e,o))){for(g=aPt(t.e.Tg(),o),c=-1,s=-1,i=0,u=0,h=e>n?e:n;u<=h;++u)u==n?s=i++:(a=r[u],l=g.rl(a.ak()),u==e&&(c=u!=h||l?i:i-1),l&&++i);return f=$z(Aft(t,e,n),72),s!=c&&Oy(t,new v7(t.e,7,o,nft(s),d.dd(),c)),f}return $z(Aft(t,e,n),72)}function o$t(t,e){var n,i,r,a,o,s;for(MEt(e,"Port order processing",1),s=$z(yTt(t,(zYt(),owe)),421),n=new Kd(t.b);n.a<n.c.c.length;)for(r=new Kd($z(Q1(n),29).a);r.a<r.c.c.length;)i=$z(Q1(r),10),a=$z(yTt(i,twe),98),o=i.j,a==(X_t(),GAe)||a==KAe||a==qAe?(EV(),wL(o,sue)):a!=WAe&&a!=XAe&&(EV(),wL(o,uue),Lyt(o),s==(G9(),Rye)&&wL(o,cue)),i.i=!0,eMt(i);zCt(e);}function s$t(t){var n,i,r,a,o,s,c,u;for(u=new Dw,n=new jy,s=t.Kc();s.Ob();)a=$z(s.Pb(),10),c=MN(oT(new zy,a),n),xAt(u.f,a,c);for(o=t.Kc();o.Ob();)for(r=new oq(ZD(hdt(a=$z(o.Pb(),10)).a.Kc(),new l));gOt(r);)h5(i=$z(G5(r),17))||qNt(rT(iT(nT(aT(new Fy,e.Math.max(1,$z(yTt(i,(zYt(),lwe)),19).a)),1),$z(PY(u,i.c.i),121)),$z(PY(u,i.d.i),121)));return n}function c$t(){c$t=I,hve=dU(new $2,(mTt(),joe),(hWt(),bce)),dve=dU(new $2,Roe,vce),gve=KG(dU(new $2,Roe,Nce),$oe,Dce),lve=KG(dU(dU(new $2,Roe,lce),joe,hce),$oe,fce),pve=sbt(sbt(jT(KG(dU(new $2,Poe,Gce),$oe,Uce),joe),Hce),qce),fve=KG(new $2,$oe,wce),cve=KG(dU(dU(dU(new $2,Boe,_ce),joe,Tce),joe,Cce),$oe,Ece),uve=KG(dU(dU(new $2,joe,Cce),joe,ace),$oe,rce);}function u$t(t,e,n,i,r,a){var o,s,c,u,l,h;for(o=hCt(e,c=xct(e)-xct(t)),s=_L(0,0,0);c>=0&&(!Svt(t,o)||(c<22?s.l|=1<<c:c<44?s.m|=1<<c-22:s.h|=1<<c-44,0!=t.l||0!=t.m||0!=t.h));)u=o.m,l=o.h,h=o.l,o.h=l>>>1,o.m=u>>>1|(1&l)<<21,o.l=h>>>1|(1&u)<<21,--c;return n&&Mct(s),a&&(i?(hee=act(t),r&&(hee=ust(hee,(q9(),gee)))):hee=_L(t.l,t.m,t.h)),s}function l$t(t,e){var n,i,r,a,o,s,c,u,l,h;for(u=t.e[e.c.p][e.p]+1,c=e.c.a.c.length+1,s=new Kd(t.a);s.a<s.c.c.length;){for(o=$z(Q1(s),11),h=0,a=0,r=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(o),new Hg(o)])));gOt(r);)(i=$z(G5(r),11)).i.c==e.c&&(h+=hD(t,i.i)+1,++a);n=h/a,(l=o.j)==(vKt(),oMe)?t.f[o.p]=n<u?t.c-n:t.b+(c-n):l==CMe&&(t.f[o.p]=n<u?t.b+n:t.c-(c-n));}}function h$t(t,e,n){var i,r,a,o;if(null==t)throw Fw(new _x(GWt));for(i=(a=t.length)>0&&(h1(0,t.length),45==t.charCodeAt(0)||(h1(0,t.length),43==t.charCodeAt(0)))?1:0;i<a;i++)if(-1==ebt((h1(i,t.length),t.charCodeAt(i))))throw Fw(new _x(PVt+t+'"'));if(r=(o=parseInt(t,10))<e,isNaN(o))throw Fw(new _x(PVt+t+'"'));if(r||o>n)throw Fw(new _x(PVt+t+'"'));return o}function f$t(t){var n,i,r,a,o,s;for(o=new XE,a=new Kd(t.a);a.a<a.c.c.length;)Yf(r=$z(Q1(a),112),r.f.c.length),Wf(r,r.k.c.length),0==r.i&&(r.o=0,n5(o,r,o.c.b,o.c));for(;0!=o.b;)for(i=(r=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),112)).o+1,n=new Kd(r.f);n.a<n.c.c.length;)Xf(s=$z(Q1(n),129).a,e.Math.max(s.o,i)),Wf(s,s.i-1),0==s.i&&n5(o,s,o.c.b,o.c);}function d$t(t){var e,n,i,r,a,o,s,c;for(o=new Kd(t);o.a<o.c.c.length;){for(a=$z(Q1(o),79),s=(i=CEt($z(Yet((!a.b&&(a.b=new cj(PIe,a,4,7)),a.b),0),82))).i,c=i.j,CO(r=$z(Yet((!a.a&&(a.a=new tK(RIe,a,6,6)),a.a),0),202),r.j+s,r.k+c),TO(r,r.b+s,r.c+c),n=new MD((!r.a&&(r.a=new ID(LIe,r,5)),r.a));n.e!=n.i.gc();)kO(e=$z(vwt(n),469),e.a+s,e.b+c);Vrt($z(QOt(a,(cWt(),ACe)),74),s,c);}}function g$t(t){switch(t){case 100:return yWt(cte,!0);case 68:return yWt(cte,!1);case 119:return yWt(ute,!0);case 87:return yWt(ute,!1);case 115:return yWt(lte,!0);case 83:return yWt(lte,!1);case 99:return yWt(hte,!0);case 67:return yWt(hte,!1);case 105:return yWt(fte,!0);case 73:return yWt(fte,!1);default:throw Fw(new dv(ste+t.toString(16)))}}function p$t(t){var n,i,r,a,o;switch(a=$z(DU(t.a,0),10),n=new Oyt(t),Kz(t.a,n),n.o.a=e.Math.max(1,a.o.a),n.o.b=e.Math.max(1,a.o.b),n.n.a=a.n.a,n.n.b=a.n.b,$z(yTt(a,(uWt(),Whe)),61).g){case 4:n.n.a+=2;break;case 1:n.n.b+=2;break;case 2:n.n.a-=2;break;case 3:n.n.b-=2;}return CJ(r=new SCt,n),EJ(i=new fZ,o=$z(DU(a.j,0),11)),_J(i,r),GR(mI(r.n),o.n),GR(mI(r.a),o.a),n}function b$t(t,e,n,i,r){n&&(!i||(t.c-t.b&t.a.length-1)>1)&&1==e&&$z(t.a[t.b],10).k==(oCt(),Ese)?uFt($z(t.a[t.b],10),(Kvt(),vAe)):i&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&$z(t.a[t.c-1&t.a.length-1],10).k==(oCt(),Ese)?uFt($z(t.a[t.c-1&t.a.length-1],10),(Kvt(),xAe)):2==(t.c-t.b&t.a.length-1)?(uFt($z(kct(t),10),(Kvt(),vAe)),uFt($z(kct(t),10),xAe)):cDt(t,r),o4(t);}function w$t(t,n,i){var r,a,o,s,c;for(o=0,a=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(r=$z(vwt(a),33)).n&&(r.n=new tK(HIe,r,1,7)),r.n).i||(s=$z(Yet((!r.n&&(r.n=new tK(HIe,r,1,7)),r.n),0),137).a),Hot(c=new rut(o++,n,s),r),uct(c,(HUt(),sxe),r),c.e.b=r.j+r.f/2,c.f.a=e.Math.max(r.g,1),c.e.a=r.i+r.g/2,c.f.b=e.Math.max(r.f,1),NH(n.b,c),xAt(i.f,r,c);}function y$t(t){var e,n,i,r,a;i=$z(yTt(t,(uWt(),dfe)),33),a=$z(QOt(i,(zYt(),jbe)),174).Hc((ypt(),RMe)),t.e||(r=$z(yTt(t,Zhe),21),e=new DA(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),r.Hc((fBt(),lhe))?(Vwt(i,twe,(X_t(),qAe)),RKt(i,e.a,e.b,!1,!0)):zv(kB(QOt(i,$be)))||RKt(i,e.a,e.b,!0,!0)),Vwt(i,jbe,a?Jft(RMe):new Xj(n=$z(Yk(XMe),9),$z(ER(n,n.length),9),0));}function m$t(t,e,n){var i,r,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(uX(t,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=qMt(t,e))&&e[0]==a)return !1;if(e[0]<t.length&&58==uX(t,e[0])){if(i=60*o,++e[0],a=e[0],0==(o=qMt(t,e))&&e[0]==a)return !1;i+=o;}else (i=o)<24&&e[0]-a<=2?i*=60:i=i%100+60*(i/100|0);return i*=r,n.o=-i,!0}function v$t(t){var e,n,i,r,a,o,s;for(r=new Lw,i=new oq(ZD(hdt(t.b).a.Kc(),new l));gOt(i);)h5(n=$z(G5(i),17))&&Kz(r,new v6(n,b7(t,n.c),b7(t,n.d)));for(s=new Bd(new Ad(t.e).a.vc().Kc());s.a.Ob();)e=$z(s.a.Pb(),42),(a=$z(e.dd(),113)).d.p=0;for(o=new Bd(new Ad(t.e).a.vc().Kc());o.a.Ob();)e=$z(o.a.Pb(),42),0==(a=$z(e.dd(),113)).d.p&&Kz(t.d,Bjt(t,a));}function x$t(t){var e,n,i,r,a;for(a=KQ(t),r=new MD((!t.e&&(t.e=new cj(BIe,t,7,4)),t.e));r.e!=r.i.gc();)if(i=$z(vwt(r),79),!Set(CEt($z(Yet((!i.c&&(i.c=new cj(PIe,i,5,8)),i.c),0),82)),a))return !0;for(n=new MD((!t.d&&(t.d=new cj(BIe,t,8,5)),t.d));n.e!=n.i.gc();)if(e=$z(vwt(n),79),!Set(CEt($z(Yet((!e.b&&(e.b=new cj(PIe,e,4,7)),e.b),0),82)),a))return !0;return !1}function k$t(t){var n,i,r,a,o,s,c,u;for(u=new mm,c=null,i=$z(h3(n=cwt(t,0)),8),a=$z(h3(n),8);n.b!=n.d.c;)c=i,i=a,a=$z(h3(n),8),o=iet(qR(new DA(c.a,c.b),i)),s=iet(qR(new DA(a.a,a.b),i)),r=10,r=e.Math.min(r,e.Math.abs(o.a+o.b)/2),r=e.Math.min(r,e.Math.abs(s.a+s.b)/2),o.a=FH(o.a)*r,o.b=FH(o.b)*r,s.a=FH(s.a)*r,s.b=FH(s.b)*r,NH(u,GR(o,i)),NH(u,GR(s,i));return u}function _$t(t,e,n,i){var r,a,o,s,c;return o=t.eh(),r=null,(c=t.Zg())?!e||pjt(t,e,n).Bb&FVt?c=null:(i=jwt(c.Vk(),t,i),t.uh(null),r=e.fh()):(o&&(c=o.fh()),e&&(r=e.fh())),c!=r&&c&&c.Zk(t),s=t.Vg(),t.Rg(e,n),c!=r&&r&&r.Yk(t),t.Lg()&&t.Mg()&&(o&&s>=0&&s!=n&&(a=new Qq(t,1,s,o,null),i?i.Ei(a):i=a),n>=0&&(a=new Qq(t,1,n,s==n?o:null,e),i?i.Ei(a):i=a)),i}function E$t(t){var e,n,i;if(null==t.b){if(i=new Ex,null!=t.i&&(iI(i,t.i),i.a+=":"),256&t.f){for(256&t.f&&null!=t.a&&(nV(t.i)||(i.a+="//"),iI(i,t.a)),null!=t.d&&(i.a+="/",iI(i,t.d)),16&t.f&&(i.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(i.a+="/"),iI(i,t.j[e]);null!=t.g&&(i.a+="?",iI(i,t.g));}else iI(i,t.a);null!=t.e&&(i.a+="#",iI(i,t.e)),t.b=i.a;}return t.b}function T$t(t,e){var n,i,r,a,o,s;for(r=new Kd(e.a);r.a<r.c.c.length;)iD(a=yTt(i=$z(Q1(r),10),(uWt(),dfe)),11)&&(s=mFt(e,i,(o=$z(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,HAt(o,$z(yTt(i,Whe),61)));n=new DA(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),$z(yTt(e,(uWt(),Zhe)),21).Hc((fBt(),lhe))?(uct(t,(zYt(),twe),(X_t(),qAe)),$z(yTt(bW(t),Zhe),21).Fc(dhe),fGt(t,n,!1)):fGt(t,n,!0);}function C$t(t,e,n){var i,r,a,o,s;MEt(n,"Minimize Crossings "+t.a,1),i=0==e.b.c.length||!v_(MX(new PU(null,new f1(e.b,16)),new rg(new Oa))).sd((dT(),Jne)),s=1==e.b.c.length&&1==$z(DU(e.b,0),29).a.c.length,a=HM(yTt(e,(zYt(),sbe)))===HM((oht(),pAe)),i||s&&!a||(Tut(r=cPt(t,e),(o=$z(Pwt(r,0),214)).c.Rf()?o.c.Lf()?new Gp(t):new qp(t):new Up(t)),aht(t)),zCt(n);}function S$t(t,e,n,i){var r,a,o,s;if(s=dG(rdt(TXt,nX(dG(rdt(null==e?0:Jct(e),CXt)),15))),r=dG(rdt(TXt,nX(dG(rdt(null==n?0:Jct(n),CXt)),15))),o=Qrt(t,e,s),a=Zrt(t,n,r),o&&r==o.a&&fW(n,o.g))return n;if(a&&!i)throw Fw(new Rv("key already present: "+n));return o&&LDt(t,o),a&&LDt(t,a),VAt(t,new zW(n,r,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),Hxt(t),o?o.g:null}function A$t(t,e,n){var i,r,a,o,s;for(a=0;a<e;a++){for(i=0,s=a+1;s<e;s++)i=idt(idt(rdt(t0(t[a],qVt),t0(t[s],qVt)),t0(n[a+s],qVt)),t0(dG(i),qVt)),n[a+s]=dG(i),i=vq(i,32);n[a+e]=dG(i);}for(Jrt(n,n,e<<1),i=0,r=0,o=0;r<e;++r,o++)i=idt(idt(rdt(t0(t[r],qVt),t0(t[r],qVt)),t0(n[o],qVt)),t0(dG(i),qVt)),n[o]=dG(i),i=idt(i=vq(i,32),t0(n[++o],qVt)),n[o]=dG(i),i=vq(i,32);return n}function M$t(t,n,i){var r,a,o,s,c,u,l,h;if(!c3(n)){for(u=Hv(_B(ept(i.c,(zYt(),Lwe)))),!(l=$z(ept(i.c,Owe),142))&&(l=new lm),r=i.a,a=null,c=n.Kc();c.Ob();)s=$z(c.Pb(),11),h=0,a?(h=u,h+=a.o.b):h=l.d,o=MN(oT(new zy,s),t.f),YW(t.k,s,o),qNt(rT(iT(nT(aT(new Fy,0),CQ(e.Math.ceil(h))),r),o)),a=s,r=o;qNt(rT(iT(nT(aT(new Fy,0),CQ(e.Math.ceil(l.a+a.o.b))),r),i.d));}}function I$t(t,e,n,i,r,a,o,s){var c,u,l;return l=!1,u=a-n.s,c=n.t-e.f+rHt(n,u,!1).a,!(i.g+s>u)&&(c+s+rHt(i,u,!1).a<=e.b&&(p7(n,a-n.s),n.c=!0,p7(i,a-n.s),_yt(i,n.s,n.t+n.d+s),i.k=!0,Nat(n.q,i),l=!0,r&&(tit(e,i),i.j=e,t.c.length>o&&(_xt((l1(o,t.c.length),$z(t.c[o],200)),i),0==(l1(o,t.c.length),$z(t.c[o],200)).a.c.length&&s6(t,o)))),l)}function O$t(t,e){var n,i,r,a,o;if(MEt(e,"Partition midprocessing",1),r=new pQ,VE(MX(new PU(null,new f1(t.a,16)),new pi),new lp(r)),0!=r.d){for(o=$z(T4(r1(new PU(null,(r.i||(r.i=new FD(r,r.c))).Nc())),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15),n=$z((i=o.Kc()).Pb(),19);i.Ob();)a=$z(i.Pb(),19),KDt($z(c6(r,n),21),$z(c6(r,a),21)),n=a;zCt(e);}}function L$t(t,e,n){var i,r,a,o,s;if(0==e.p){for(e.p=1,(r=n)||(r=new nM(new Lw,new Xj(i=$z(Yk(jMe),9),$z(ER(i,i.length),9),0))),$z(r.a,15).Fc(e),e.k==(oCt(),_se)&&$z(r.b,21).Fc($z(yTt(e,(uWt(),Whe)),61)),o=new Kd(e.j);o.a<o.c.c.length;)for(a=$z(Q1(o),11),s=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(a),new Hg(a)])));gOt(s);)L$t(t,$z(G5(s),11).i,r);return r}return null}function D$t(t,e){var n,i,r,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(r=$z(t.Ab.g,1934),null==e){for(a=0;a<o;++a)if(null==(n=r[a]).d)return n}else for(a=0;a<o;++a)if(wj(e,(n=r[a]).d))return n}else if(null==e){for(i=new MD(t.Ab);i.e!=i.i.gc();)if(null==(n=$z(vwt(i),590)).d)return n}else for(i=new MD(t.Ab);i.e!=i.i.gc();)if(wj(e,(n=$z(vwt(i),590)).d))return n;return null}function N$t(t,e){var n,i,r,a,o,s,c;if(null==(c=kB(yTt(e,(SOt(),Lxe))))||(mW(c),c)){for(PIt(t,e),r=new Lw,s=cwt(e.b,0);s.b!=s.d.c;)(n=NSt(t,$z(h3(s),86),null))&&(Hot(n,e),r.c[r.c.length]=n);if(t.a=null,t.b=null,r.c.length>1)for(i=new Kd(r);i.a<i.c.c.length;)for(a=0,o=cwt((n=$z(Q1(i),135)).b,0);o.b!=o.d.c;)$z(h3(o),86).g=a++;return r}return a6(Cst(Hx(Hve,1),tJt,135,0,[e]))}function P$t(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w;rrt(d=M3(t,Hst(e),r),P2(r,H6t)),p=N2(g=r,q6t),rCt(new Ob(d).a,p),b=N2(g,"endPoint"),iCt(new Pb(d).a,b),w=L2(g,P6t),T_t(new jb(d).a,w),h=P2(r,R6t),zR((a=new cM(t,d)).a,a.b,h),f=P2(r,B6t),HR((o=new uM(t,d)).a,o.b,f),u=L2(r,$6t),$vt((s=new lM(n,d)).b,s.a,u),l=L2(r,j6t),Fvt((c=new hM(i,d)).b,c.a,l);}function B$t(t,e,n){var i,r,a,o,s;switch(s=null,e.g){case 1:for(r=new Kd(t.j);r.a<r.c.c.length;)if(zv(kB(yTt(i=$z(Q1(r),11),(uWt(),Jhe)))))return i;uct(s=new SCt,(uWt(),Jhe),(cN(),!0));break;case 2:for(o=new Kd(t.j);o.a<o.c.c.length;)if(zv(kB(yTt(a=$z(Q1(o),11),(uWt(),mfe)))))return a;uct(s=new SCt,(uWt(),mfe),(cN(),!0));}return s&&(CJ(s,t),HAt(s,n),myt(s.n,t.o,n)),s}function R$t(t,n){var i,r,a,o,s,c;for(c=-1,s=new XE,r=new w6(t.b);yL(r.a)||yL(r.b);){for(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17),c=e.Math.max(c,Hv(_B(yTt(i,(zYt(),rbe))))),i.c==t?VE(MX(new PU(null,new f1(i.b,16)),new hn),new Qg(s)):VE(MX(new PU(null,new f1(i.b,16)),new fn),new Jg(s)),o=cwt(s,0);o.b!=o.d.c;)OP(a=$z(h3(o),70),(uWt(),Ghe))||uct(a,Ghe,i);pst(n,s),yV(s);}return c}function j$t(t,e,n,i,r){var a,o,s,c;$f(a=new Oyt(t),(oCt(),Sse)),uct(a,(zYt(),twe),(X_t(),qAe)),uct(a,(uWt(),dfe),e.c.i),uct(o=new SCt,dfe,e.c),HAt(o,r),CJ(o,a),uct(e.c,xfe,a),$f(s=new Oyt(t),Sse),uct(s,twe,qAe),uct(s,dfe,e.d.i),uct(c=new SCt,dfe,e.d),HAt(c,r),CJ(c,s),uct(e.d,xfe,s),EJ(e,o),_J(e,c),OJ(0,n.c.length),_C(n.c,0,a),i.c[i.c.length]=s,uct(a,$he,nft(1)),uct(s,$he,nft(1));}function $$t(t,n,i,r,a){var o,s,c,u,l;c=a?r.b:r.a,jE(t.a,r)||(l=c>i.s&&c<i.c,u=!1,0!=i.e.b&&0!=i.j.b&&(u|=e.Math.abs(c-Hv(_B(gP(i.e))))<hJt&&e.Math.abs(c-Hv(_B(gP(i.j))))<hJt,u|=e.Math.abs(c-Hv(_B(pP(i.e))))<hJt&&e.Math.abs(c-Hv(_B(pP(i.j))))<hJt),(l||u)&&((s=$z(yTt(n,(zYt(),bbe)),74))||(s=new mm,uct(n,bbe,s)),n5(s,o=new fO(r),s.c.b,s.c),kK(t.a,o)));}function F$t(t,e,n,i){var r,a,o,s,c,u,l;if(YMt(t,e,n,i))return !0;for(o=new Kd(e.f);o.a<o.c.c.length;){switch(a=$z(Q1(o),324),s=!1,u=(c=t.j-e.j+n)+e.o,r=(l=t.k-e.k+i)+e.p,a.a.g){case 0:s=Mut(t,c+a.b.a,0,c+a.c.a,l-1);break;case 1:s=Mut(t,u,l+a.b.a,t.o-1,l+a.c.a);break;case 2:s=Mut(t,c+a.b.a,r,c+a.c.a,t.p-1);break;default:s=Mut(t,0,l+a.b.a,c-1,l+a.c.a);}if(s)return !0}return !1}function z$t(t,e){var n,i,r,a,o,s,c,u;for(a=new Kd(e.b);a.a<a.c.c.length;)for(c=new Kd($z(Q1(a),29).a);c.a<c.c.c.length;){for(s=$z(Q1(c),10),u=new Lw,o=0,i=new oq(ZD(ldt(s).a.Kc(),new l));gOt(i);)h5(n=$z(G5(i),17))||!h5(n)&&n.c.i.c==n.d.i.c||((r=$z(yTt(n,(zYt(),hwe)),19).a)>o&&(o=r,u.c=D8(Ite,zWt,1,0,5,1)),r==o&&Kz(u,new nM(n.c.i,n)));EV(),wL(u,t.c),mG(t.b,s.p,u);}}function H$t(t,e){var n,i,r,a,o,s,c,u;for(a=new Kd(e.b);a.a<a.c.c.length;)for(c=new Kd($z(Q1(a),29).a);c.a<c.c.c.length;){for(s=$z(Q1(c),10),u=new Lw,o=0,i=new oq(ZD(hdt(s).a.Kc(),new l));gOt(i);)h5(n=$z(G5(i),17))||!h5(n)&&n.c.i.c==n.d.i.c||((r=$z(yTt(n,(zYt(),hwe)),19).a)>o&&(o=r,u.c=D8(Ite,zWt,1,0,5,1)),r==o&&Kz(u,new nM(n.d.i,n)));EV(),wL(u,t.c),mG(t.f,s.p,u);}}function U$t(t){LT(t,new EEt(bk(fk(pk(gk(new bs,h5t),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Bs))),a2(t,h5t,XQt,UTe),a2(t,h5t,wJt,15),a2(t,h5t,bJt,nft(0)),a2(t,h5t,I4t,ywt(RTe)),a2(t,h5t,CJt,ywt($Te)),a2(t,h5t,TJt,ywt(zTe)),a2(t,h5t,WQt,l5t),a2(t,h5t,xJt,ywt(jTe)),a2(t,h5t,FJt,ywt(FTe)),a2(t,h5t,f5t,ywt(PTe)),a2(t,h5t,o3t,ywt(BTe));}function G$t(t,e){var n,i,r,a,o,s,c,u,l;if(o=(r=t.i).o.a,a=r.o.b,o<=0&&a<=0)return vKt(),TMe;switch(u=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(u<0)return vKt(),CMe;if(u+s>o)return vKt(),oMe;break;case 4:case 3:if(l<0)return vKt(),sMe;if(l+n>a)return vKt(),EMe}return (c=(u+s/2)/o)+(i=(l+n/2)/a)<=1&&c-i<=0?(vKt(),CMe):c+i>=1&&c-i>=0?(vKt(),oMe):i<.5?(vKt(),sMe):(vKt(),EMe)}function q$t(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(n=!1,c=Hv(_B(yTt(e,(zYt(),Awe)))),f=RXt*c,r=new Kd(e.b);r.a<r.c.c.length;)for(i=$z(Q1(r),29),a=$z(Q1(s=new Kd(i.a)),10),u=fK(t.a[a.p]);s.a<s.c.c.length;)o=$z(Q1(s),10),u!=(l=fK(t.a[o.p]))&&(h=BL(t.b,a,o),a.n.b+a.o.b+a.d.a+u.a+h>o.n.b-o.d.d+l.a+f&&(d=u.g+l.g,l.a=(l.g*l.a+u.g*u.a)/d,l.g=d,u.f=l,n=!0)),a=o,u=l;return n}function K$t(t,e,n,i,r,a,o){var s,c,u,l,h;for(h=new hO,c=e.Kc();c.Ob();)for(l=new Kd($z(c.Pb(),839).wf());l.a<l.c.c.length;)HM((u=$z(Q1(l),181)).We((cWt(),gCe)))===HM((Bet(),qSe))&&(ijt(h,u,!1,i,r,a,o),SSt(t,h));for(s=n.Kc();s.Ob();)for(l=new Kd($z(s.Pb(),839).wf());l.a<l.c.c.length;)HM((u=$z(Q1(l),181)).We((cWt(),gCe)))===HM((Bet(),GSe))&&(ijt(h,u,!0,i,r,a,o),SSt(t,h));}function Y$t(t,e,n){var i,r,a,o,s,c,u;for(o=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));o.e!=o.i.gc();)for(r=new oq(ZD(gDt(a=$z(vwt(o),33)).a.Kc(),new l));gOt(r);)JIt(i=$z(G5(r),79))||JIt(i)||XMt(i)||(c=$z(zM(MZ(n.f,a)),86),u=$z(PY(n,CEt($z(Yet((!i.c&&(i.c=new cj(PIe,i,5,8)),i.c),0),82))),86),c&&u&&(uct(s=new GV(c,u),(HUt(),sxe),i),Hot(s,i),NH(c.d,s),NH(u.b,s),NH(e.a,s)));}function W$t(t,n){var i,r,a,o,s,c,u;for(c=$z($z(c6(t.r,n),21),84).Kc();c.Ob();)(r=(s=$z(c.Pb(),111)).c?KH(s.c):0)>0?s.a?r>(u=s.b.rf().b)&&(t.v||1==s.c.d.c.length?(o=(r-u)/2,s.d.d=o,s.d.a=o):(i=($z(DU(s.c.d,0),181).rf().b-u)/2,s.d.d=e.Math.max(0,i),s.d.a=r-i-u)):s.d.a=t.t+r:Fq(t.u)&&((a=jEt(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.rf().b&&(s.d.a=a.d+a.a-s.b.rf().b));}function X$t(t,e){var n;switch(btt(t)){case 6:return qM(e);case 7:return GM(e);case 8:return UM(e);case 3:return Array.isArray(e)&&!((n=btt(e))>=14&&n<=16);case 11:return null!=e&&typeof e===NWt;case 12:return null!=e&&(typeof e===IWt||typeof e==NWt);case 0:return Xwt(e,t.__elementTypeId$);case 2:return NK(e)&&!(e.im===M);case 1:return NK(e)&&!(e.im===M)||Xwt(e,t.__elementTypeId$);default:return !0}}function V$t(t,n){var i,r,a,o;return r=e.Math.min(e.Math.abs(t.c-(n.c+n.b)),e.Math.abs(t.c+t.b-n.c)),o=e.Math.min(e.Math.abs(t.d-(n.d+n.a)),e.Math.abs(t.d+t.a-n.d)),(i=e.Math.abs(t.c+t.b/2-(n.c+n.b/2)))>t.b/2+n.b/2||(a=e.Math.abs(t.d+t.a/2-(n.d+n.a/2)))>t.a/2+n.a/2?1:0==i&&0==a?0:0==i?o/a+1:0==a?r/i+1:e.Math.min(r/i,o/a)+1}function Z$t(t,n){var i,r,a,o,s,c;return (a=nit(t))==(c=nit(n))?t.e==n.e&&t.a<54&&n.a<54?t.f<n.f?-1:t.f>n.f?1:0:(r=t.e-n.e,(i=(t.d>0?t.d:e.Math.floor((t.a-1)*GVt)+1)-(n.d>0?n.d:e.Math.floor((n.a-1)*GVt)+1))>r+1?a:i<r-1?-a:(!t.c&&(t.c=mlt(t.f)),o=t.c,!n.c&&(n.c=mlt(n.f)),s=n.c,r<0?o=Ltt(o,vzt(-r)):r>0&&(s=Ltt(s,vzt(r))),tbt(o,s))):a<c?-1:1}function Q$t(t,e){var n,i,r,a,o,s,c;for(a=0,s=0,c=0,r=new Kd(t.f.e);r.a<r.c.c.length;)e!=(i=$z(Q1(r),144))&&(a+=o=t.i[e.b][i.b],(n=K8(e.d,i.d))>0&&t.d!=(z9(),Moe)&&(s+=o*(i.d.a+t.a[e.b][i.b]*(e.d.a-i.d.a)/n)),n>0&&t.d!=(z9(),Soe)&&(c+=o*(i.d.b+t.a[e.b][i.b]*(e.d.b-i.d.b)/n)));switch(t.d.g){case 1:return new DA(s/a,e.d.b);case 2:return new DA(e.d.a,c/a);default:return new DA(s/a,c/a)}}function J$t(t,e){var n,i,r,a;if(Gut(),a=$z(yTt(t.i,(zYt(),twe)),98),0!=t.j.g-e.j.g||a!=(X_t(),GAe)&&a!=KAe&&a!=qAe)return 0;if(a==(X_t(),GAe)&&(n=$z(yTt(t,ewe),19),i=$z(yTt(e,ewe),19),n&&i&&0!=(r=n.a-i.a)))return r;switch(t.j.g){case 1:return Cft(t.n.a,e.n.a);case 2:return Cft(t.n.b,e.n.b);case 3:return Cft(e.n.a,t.n.a);case 4:return Cft(e.n.b,t.n.b);default:throw Fw(new jv(i1t))}}function tFt(t){var e,n,i,r,a;for(Kz(a=new V6((!t.a&&(t.a=new ID(LIe,t,5)),t.a).i+2),new DA(t.j,t.k)),VE(new PU(null,(!t.a&&(t.a=new ID(LIe,t,5)),new f1(t.a,16))),new Sb(a)),Kz(a,new DA(t.b,t.c)),e=1;e<a.c.length-1;)l1(e-1,a.c.length),n=$z(a.c[e-1],8),l1(e,a.c.length),i=$z(a.c[e],8),l1(e+1,a.c.length),r=$z(a.c[e+1],8),n.a==i.a&&i.a==r.a||n.b==i.b&&i.b==r.b?s6(a,e):++e;return a}function eFt(t,e){var n,i,r,a,o,s,c;for(n=AN(eT(JE(tT(new Ky,e),new gZ(e.e)),gue),t.a),0==e.j.c.length||Y7($z(DU(e.j,0),57).a,n),c=new Nw,YW(t.e,n,c),o=new Py,s=new Py,a=new Kd(e.k);a.a<a.c.c.length;)kK(o,(r=$z(Q1(a),17)).c),kK(s,r.d);(i=o.a.gc()-s.a.gc())<0?(qst(c,!0,($ht(),RSe)),qst(c,!1,jSe)):i>0&&(qst(c,!1,($ht(),RSe)),qst(c,!0,jSe)),Met(e.g,new sS(t,n)),YW(t.g,e,n);}function nFt(){var t;for(nFt=I,Lee=Cst(Hx(ANe,1),uVt,25,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]),Dee=D8(ANe,uVt,25,37,15,1),Nee=Cst(Hx(ANe,1),uVt,25,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]),Pee=D8(INe,$Vt,25,37,14,1),t=2;t<=36;t++)Dee[t]=CQ(e.Math.pow(t,Lee[t])),Pee[t]=Mkt(fXt,Dee[t]);}function iFt(t){var e;if(1!=(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i)throw Fw(new Rv(F5t+(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i));return e=new mm,fst($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82))&&$rt(e,GYt(t,fst($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)),!1)),fst($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82))&&$rt(e,GYt(t,fst($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82)),!0)),e}function rFt(t,e){var n,i,r;for(r=!1,i=new oq(ZD((e.d?t.a.c==(gQ(),Jme)?ldt(e.b):hdt(e.b):t.a.c==(gQ(),Qme)?ldt(e.b):hdt(e.b)).a.Kc(),new l));gOt(i);)if(n=$z(G5(i),17),(zv(t.a.f[t.a.g[e.b.p].p])||h5(n)||n.c.i.c!=n.d.i.c)&&!zv(t.a.n[t.a.g[e.b.p].p])&&!zv(t.a.n[t.a.g[e.b.p].p])&&(r=!0,jE(t.b,t.a.g[Lmt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=r,e.a=null,e}function aFt(t,e,n,i,r){var a,o,s,c,u,l,h;for(EV(),wL(t,new Ws),s=new _2(t,0),h=new Lw,a=0;s.b<s.d.gc();)TP(s.b<s.d.gc()),o=$z(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&eG(o)*tG(o)>2*a?(l=new Uet(h),u=eG(o)/tG(o),c=mYt(l,e,new hm,n,i,r,u),GR(mI(l.e),c),h.c=D8(Ite,zWt,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=eG(l)*tG(l)+eG(o)*tG(o)):(h.c[h.c.length]=o,a+=eG(o)*tG(o));return h}function oFt(t,e,n){var i,r,a,o,s,c,u;if(0==(i=n.gc()))return !1;if(t.ej())if(c=t.fj(),vgt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,c):t.Zi(5,null,n,e,c),t.bj()){for(s=i<100?null:new jk(i),a=e+i,r=e;r<a;++r)u=t.Oi(r),s=t.cj(u,s);s?(s.Ei(o),s.Fi()):t.$i(o);}else t.$i(o);else if(vgt(t,e,n),t.bj()){for(s=i<100?null:new jk(i),a=e+i,r=e;r<a;++r)s=t.cj(t.Oi(r),s);s&&s.Fi();}return !0}function sFt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=t.Ui(e,t.oi(e,n)),n,e,a),t.bj()&&!(t.ni()&&o?Dht(o,n):HM(o)===HM(n))?(o&&(r=t.dj(o,r)),(r=t.cj(n,r))?(r.Ei(i),r.Fi()):t.$i(i)):r?(r.Ei(i),r.Fi()):t.$i(i),o):(o=t.Ui(e,t.oi(e,n)),t.bj()&&!(t.ni()&&o?Dht(o,n):HM(o)===HM(n))&&(r=null,o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function cFt(t,n){var i,r,a,o,s,c,u,l;if(t.e=n,t.f=$z(yTt(n,(Ert(),coe)),230),KEt(n),t.d=e.Math.max(16*n.e.c.length+n.c.c.length,256),!zv(kB(yTt(n,(lRt(),Fae)))))for(l=t.e.e.c.length,c=new Kd(n.e);c.a<c.c.c.length;)(u=$z(Q1(c),144).d).a=AG(t.f)*l,u.b=AG(t.f)*l;for(i=n.b,o=new Kd(n.c);o.a<o.c.c.length;)if(a=$z(Q1(o),282),(r=$z(yTt(a,toe),19).a)>0){for(s=0;s<r;s++)Kz(i,new cY(a));FAt(a);}}function uFt(t,n){var i,r,a,o,s;if(t.k==(oCt(),Ese)&&(i=v_(MX($z(yTt(t,(uWt(),Tfe)),15).Oc(),new rg(new ri))).sd((dT(),Jne))?n:(Kvt(),kAe),uct(t,afe,i),i!=(Kvt(),xAe)))for(r=$z(yTt(t,dfe),17),s=Hv(_B(yTt(r,(zYt(),rbe)))),o=0,i==vAe?o=t.o.b-e.Math.ceil(s/2):i==kAe&&(t.o.b-=Hv(_B(yTt(bW(t),vwe))),o=(t.o.b-e.Math.ceil(s))/2),a=new Kd(t.j);a.a<a.c.c.length;)$z(Q1(a),11).n.b=o;}function lFt(){lFt=I,VT(),xNe=new Rl,Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(G9t)])]),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(q9t)])]),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_(K9t)]),Cst(Hx(ALe,1),xte,592,0,[new G_(q9t)])]),new IO("-1"),Cst(Hx(ALe,2),cXt,368,0,[Cst(Hx(ALe,1),xte,592,0,[new G_("\\c+")])]),new IO("0"),new IO("0"),new IO("1"),new IO("0"),new IO(nte);}function hFt(t){var e,n;return t.c&&t.c.kh()&&(n=$z(t.c,49),t.c=$z(tht(t,n),138),t.c!=n&&(4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,9,2,n,t.c)),iD(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&I9(new m7(t.Cb,9,13,n,t.c,oyt(F9($z(t.Cb,59)),t))):iD(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(iD(e=t.c,88)||(pWt(),e=fLe),iD(n,88)||(pWt(),n=fLe),I9(new m7(t.Cb,9,10,n,e,oyt(r4($z(t.Cb,26)),t)))))),t.c}function fFt(t,e){var n,i,r,a,o,s,c,u;for(MEt(e,"Hypernodes processing",1),i=new Kd(t.b);i.a<i.c.c.length;)for(o=new Kd($z(Q1(i),29).a);o.a<o.c.c.length;)if(zv(kB(yTt(a=$z(Q1(o),10),(zYt(),hbe))))&&a.j.c.length<=2){for(u=0,c=0,n=0,r=0,s=new Kd(a.j);s.a<s.c.c.length;)switch($z(Q1(s),11).j.g){case 1:++u;break;case 2:++c;break;case 3:++n;break;case 4:++r;}0==u&&0==n&&xYt(t,a,r<=c);}zCt(e);}function dFt(t,e){var n,i,r,a,o,s,c,u,l;for(MEt(e,"Layer constraint edge reversal",1),o=new Kd(t.b);o.a<o.c.c.length;){for(a=$z(Q1(o),29),l=-1,n=new Lw,u=Q0(a.a),r=0;r<u.length;r++)i=$z(yTt(u[r],(uWt(),efe)),303),-1==l?i!=(U9(),Che)&&(l=r):i==(U9(),Che)&&(TJ(u[r],null),Xvt(u[r],l++,a)),i==(U9(),Ehe)&&Kz(n,u[r]);for(c=new Kd(n);c.a<c.c.c.length;)TJ(s=$z(Q1(c),10),null),TJ(s,a);}zCt(e);}function gFt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Hyperedge merging",1),NOt(t,e),s=new _2(e.b,0);s.b<s.d.gc();)if(TP(s.b<s.d.gc()),0!=(u=$z(s.d.Xb(s.c=s.b++),29).a).c.length)for(i=null,r=null,a=null,o=null,c=0;c<u.c.length;c++)l1(c,u.c.length),(r=(i=$z(u.c[c],10)).k)==(oCt(),Tse)&&o==Tse&&(l=uHt(i,a)).a&&(iBt(i,a,l.b,l.c),l1(c,u.c.length),T_(u.c,c,1),--c,i=a,r=o),a=i,o=r;zCt(n);}function pFt(t,e){var n,i,r;i=0!=zLt(t.d,1),!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,Sfe)))||HM(yTt(e.j,(zYt(),Ope)))===HM((yct(),Lye))?e.c.Tf(e.e,i):i=zv(kB(yTt(e.j,Vhe))),PNt(t,e,i,!0),zv(kB(yTt(e.j,Sfe)))&&uct(e.j,Sfe,(cN(),!1)),zv(kB(yTt(e.j,Vhe)))&&(uct(e.j,Vhe,(cN(),!1)),uct(e.j,Sfe,!0)),n=ejt(t,e);do{if(Ort(t),0==n)return 0;r=n,PNt(t,e,i=!i,!1),n=ejt(t,e);}while(r>n);return r}function bFt(t,e){var n,i,r;i=0!=zLt(t.d,1),!zv(kB(yTt(e.j,(uWt(),Vhe))))&&!zv(kB(yTt(e.j,Sfe)))||HM(yTt(e.j,(zYt(),Ope)))===HM((yct(),Lye))?e.c.Tf(e.e,i):i=zv(kB(yTt(e.j,Vhe))),PNt(t,e,i,!0),zv(kB(yTt(e.j,Sfe)))&&uct(e.j,Sfe,(cN(),!1)),zv(kB(yTt(e.j,Vhe)))&&(uct(e.j,Vhe,(cN(),!1)),uct(e.j,Sfe,!0)),n=JSt(t,e);do{if(Ort(t),0==n)return 0;r=n,PNt(t,e,i=!i,!1),n=JSt(t,e);}while(r>n);return r}function wFt(t,e,n){var i,r,a,o,s,c,u;if(e==n)return !0;if(e=fOt(t,e),n=fOt(t,n),i=Hyt(e)){if((c=Hyt(n))!=i)return !!c&&(o=i.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new ID(KOe,e,1)),r=(a=e.d).i,!n.d&&(n.d=new ID(KOe,n,1)),r==(u=n.d).i)for(s=0;s<r;++s)if(!wFt(t,$z(Yet(a,s),87),$z(Yet(u,s),87)))return !1;return !0}return e.e==n.e}function yFt(t,e,n,i){var r,a,o,s,c,u,l,h;if(OPt(t.e,e)){for(h=aPt(t.e.Tg(),e),a=$z(t.g,119),l=null,c=-1,s=-1,r=0,u=0;u<t.i;++u)o=a[u],h.rl(o.ak())&&(r==n&&(c=u),r==i&&(s=u,l=o.dd()),++r);if(-1==c)throw Fw(new Mv(o8t+n+s8t+r));if(-1==s)throw Fw(new Mv(c8t+i+s8t+r));return Aft(t,c,s),wO(t.e)&&Oy(t,OZ(t,7,e,nft(i),l,n,!0)),l}throw Fw(new Rv("The feature must be many-valued to support move"))}function mFt(t,e,n,i){var r,a,o,s,c;switch((c=new fO(e.n)).a+=e.o.a/2,c.b+=e.o.b/2,s=Hv(_B(yTt(e,(zYt(),Jbe)))),a=t.f,o=t.d,r=t.c,$z(yTt(e,(uWt(),Whe)),61).g){case 1:c.a+=o.b+r.a-n/2,c.b=-i-s,e.n.b=-(o.d+s+r.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+r.b-i/2,e.n.a=a.a+o.c+s-r.a;break;case 3:c.a+=o.b+r.a-n/2,c.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-r.b;break;case 4:c.a=-n-s,c.b+=o.d+r.b-i/2,e.n.a=-(o.b+s+r.a);}return c}function vFt(t){var e,n,i,r,a,o;return Hot(i=new yit,t),HM(yTt(i,(zYt(),Gpe)))===HM(($ht(),$Se))&&uct(i,Gpe,Yft(i)),null==yTt(i,(C6(),kTe))&&(o=$z(OTt(t),160),uct(i,kTe,eI(o.We(kTe)))),uct(i,(uWt(),dfe),t),uct(i,Zhe,new Xj(e=$z(Yk(khe),9),$z(ER(e,e.length),9),0)),r=Cqt((VQ(t)&&(HT(),new Nv(VQ(t))),HT(),new VN(VQ(t)?new Nv(VQ(t)):null,t)),jSe),a=$z(yTt(i,Ube),116),tJ(n=i.d,a),tJ(n,r),i}function xFt(t,e,n){var i,r;i=e.c.i,r=n.d.i,i.k==(oCt(),Tse)?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11)),uct(t,sfe,kB(yTt(i,sfe)))):i.k==Ese?(uct(t,(uWt(),cfe),$z(yTt(i,cfe),11)),uct(t,ufe,$z(yTt(i,ufe),11)),uct(t,sfe,(cN(),!0))):r.k==Ese?(uct(t,(uWt(),cfe),$z(yTt(r,cfe),11)),uct(t,ufe,$z(yTt(r,ufe),11)),uct(t,sfe,(cN(),!0))):(uct(t,(uWt(),cfe),e.c),uct(t,ufe,n.d));}function kFt(t){var e,n,i,r,a,o,s;for(t.o=new Ow,i=new XE,o=new Kd(t.e.a);o.a<o.c.c.length;)1==vdt(a=$z(Q1(o),121)).c.length&&n5(i,a,i.c.b,i.c);for(;0!=i.b;)0!=vdt(a=$z(0==i.b?null:(TP(0!=i.b),Iet(i,i.a.a)),121)).c.length&&(e=$z(DU(vdt(a),0),213),n=a.g.a.c.length>0,s=Ddt(e,a),BN(n?s.b:s.g,e),1==vdt(s).c.length&&n5(i,s,i.c.b,i.c),r=new nM(a,e),d3(t.o,r),y9(t.e.a,a));}function _Ft(t,n){var i,r,a,o;return r=e.Math.abs(zq(t.b).a-zq(n.b).a),o=e.Math.abs(zq(t.b).b-zq(n.b).b),i=1,a=1,r>t.b.b/2+n.b.b/2&&(i=1-e.Math.min(e.Math.abs(t.b.c-(n.b.c+n.b.b)),e.Math.abs(t.b.c+t.b.b-n.b.c))/r),o>t.b.a/2+n.b.a/2&&(a=1-e.Math.min(e.Math.abs(t.b.d-(n.b.d+n.b.a)),e.Math.abs(t.b.d+t.b.a-n.b.d))/o),(1-e.Math.min(i,a))*e.Math.sqrt(r*r+o*o)}function EFt(t){var e,n,i;for(Jqt(t,t.e,t.f,(dQ(),Ove),!0,t.c,t.i),Jqt(t,t.e,t.f,Ove,!1,t.c,t.i),Jqt(t,t.e,t.f,Lve,!0,t.c,t.i),Jqt(t,t.e,t.f,Lve,!1,t.c,t.i),AFt(t,t.c,t.e,t.f,t.i),n=new _2(t.i,0);n.b<n.d.gc();)for(TP(n.b<n.d.gc()),e=$z(n.d.Xb(n.c=n.b++),128),i=new _2(t.i,n.b);i.b<i.d.gc();)TP(i.b<i.d.gc()),DUt(e,$z(i.d.Xb(i.c=i.b++),128));AYt(t.i,$z(yTt(t.d,(uWt(),Efe)),230)),UGt(t.i);}function TFt(t,e){var n,i;if(null!=e)if(i=nvt(t)){if(!(1&i.i))return QT(),!(n=$z(PY(bOe,i),55))||n.wj(e);if(i==MNe)return UM(e);if(i==ANe)return iD(e,19);if(i==DNe)return iD(e,155);if(i==ONe)return iD(e,217);if(i==SNe)return iD(e,172);if(i==LNe)return GM(e);if(i==NNe)return iD(e,184);if(i==INe)return iD(e,162)}else if(iD(e,56))return t.uk($z(e,56));return !1}function CFt(){var t,e,n,i,r,a,o,s,c;for(CFt=I,qDe=D8(ONe,w6t,25,255,15,1),KDe=D8(SNe,YXt,25,64,15,1),e=0;e<255;e++)qDe[e]=-1;for(n=90;n>=65;n--)qDe[n]=n-65<<24>>24;for(i=122;i>=97;i--)qDe[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)qDe[r]=r-48+52<<24>>24;for(qDe[43]=62,qDe[47]=63,a=0;a<=25;a++)KDe[a]=65+a&XXt;for(o=26,c=0;o<=51;++o,c++)KDe[o]=97+c&XXt;for(t=52,s=0;t<=61;++t,s++)KDe[t]=48+s&XXt;KDe[62]=43,KDe[63]=47;}function SFt(t,n){var i,r,a,o,s,c,u,l,h,f,d;if(t.dc())return new Hk;for(u=0,h=0,r=t.Kc();r.Ob();)a=$z(r.Pb(),37).f,u=e.Math.max(u,a.a),h+=a.a*a.b;for(u=e.Math.max(u,e.Math.sqrt(h)*Hv(_B(yTt($z(t.Kc().Pb(),37),(zYt(),xpe))))),f=0,d=0,c=0,i=n,s=t.Kc();s.Ob();)f+(l=(o=$z(s.Pb(),37)).f).a>u&&(f=0,d+=c+n,c=0),QRt(o,f,d),i=e.Math.max(i,f+l.a),c=e.Math.max(c,l.b),f+=l.a+n;return new DA(i+n,d+c+n)}function AFt(t,e,n,i,r){var a,o,s,c,u,l,h;for(o=new Kd(e);o.a<o.c.c.length;){if(c=(a=$z(Q1(o),17)).c,n.a._b(c))dQ(),u=Ove;else {if(!i.a._b(c))throw Fw(new Rv("Source port must be in one of the port sets."));dQ(),u=Lve;}if(l=a.d,n.a._b(l))dQ(),h=Ove;else {if(!i.a._b(l))throw Fw(new Rv("Target port must be in one of the port sets."));dQ(),h=Lve;}s=new tAt(a,u,h),YW(t.b,a,s),r.c[r.c.length]=s;}}function MFt(t,e){var n,i,r,a,o,s,c;if(!KQ(t))throw Fw(new jv($5t));if(a=(i=KQ(t)).g,r=i.f,a<=0&&r<=0)return vKt(),TMe;switch(s=t.i,c=t.j,e.g){case 2:case 1:if(s<0)return vKt(),CMe;if(s+t.g>a)return vKt(),oMe;break;case 4:case 3:if(c<0)return vKt(),sMe;if(c+t.f>r)return vKt(),EMe}return (o=(s+t.g/2)/a)+(n=(c+t.f/2)/r)<=1&&o-n<=0?(vKt(),CMe):o+n>=1&&o-n>=0?(vKt(),oMe):n<.5?(vKt(),sMe):(vKt(),EMe)}function IFt(t,e,n,i,r){var a,o;if(a=idt(t0(e[0],qVt),t0(i[0],qVt)),t[0]=dG(a),a=mq(a,32),n>=r){for(o=1;o<r;o++)a=idt(a,idt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<n;o++)a=idt(a,t0(e[o],qVt)),t[o]=dG(a),a=mq(a,32);}else {for(o=1;o<n;o++)a=idt(a,idt(t0(e[o],qVt),t0(i[o],qVt))),t[o]=dG(a),a=mq(a,32);for(;o<r;o++)a=idt(a,t0(i[o],qVt)),t[o]=dG(a),a=mq(a,32);}0!=Wlt(a,0)&&(t[o]=dG(a));}function OFt(t){var e,n,i,r,a,o;if(dWt(),4!=t.e&&5!=t.e)throw Fw(new Rv("Token#complementRanges(): must be RANGE: "+t.e));for(_Lt(a=t),HHt(a),i=a.b.length+2,0==a.b[0]&&(i-=2),(n=a.b[a.b.length-1])==ote&&(i-=2),(r=new _0(4)).b=D8(ANe,uVt,25,i,15,1),o=0,a.b[0]>0&&(r.b[o++]=0,r.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)r.b[o++]=a.b[e]+1,r.b[o++]=a.b[e+1]-1;return n!=ote&&(r.b[o++]=n+1,r.b[o]=ote),r.a=!0,r}function LFt(t,e,n){var i,r,a,o,s,c,u,l;if(0==(i=n.gc()))return !1;if(t.ej())if(u=t.fj(),FEt(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,u):t.Zi(5,null,n,e,u),t.bj()){for(s=i<100?null:new jk(i),a=e+i,r=e;r<a;++r)l=t.g[r],s=t.cj(l,s),s=t.jj(l,s);s?(s.Ei(o),s.Fi()):t.$i(o);}else t.$i(o);else if(FEt(t,e,n),t.bj()){for(s=i<100?null:new jk(i),a=e+i,r=e;r<a;++r)c=t.g[r],s=t.cj(c,s);s&&s.Fi();}return !0}function DFt(t,e,n,i){var r,a,o,s,c;for(o=new Kd(t.k);o.a<o.c.c.length;)r=$z(Q1(o),129),i&&r.c!=(A6(),kve)||(c=r.b).g<0&&r.d>0&&(Yf(c,c.d-r.d),r.c==(A6(),kve)&&qf(c,c.a-r.d),c.d<=0&&c.i>0&&n5(e,c,e.c.b,e.c));for(a=new Kd(t.f);a.a<a.c.c.length;)r=$z(Q1(a),129),i&&r.c!=(A6(),kve)||(s=r.a).g<0&&r.d>0&&(Wf(s,s.i-r.d),r.c==(A6(),kve)&&Kf(s,s.b-r.d),s.i<=0&&s.d>0&&n5(n,s,n.c.b,n.c));}function NFt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Processor compute fanout",1),IK(t.b),IK(t.a),s=null,a=cwt(e.b,0);!s&&a.b!=a.d.c;)zv(kB(yTt(u=$z(h3(a),86),(HUt(),dxe))))&&(s=u);for(n5(c=new XE,s,c.c.b,c.c),xKt(t,c),l=cwt(e.b,0);l.b!=l.d.c;)o=EB(yTt(u=$z(h3(l),86),(HUt(),nxe))),r=null!=EQ(t.b,o)?$z(EQ(t.b,o),19).a:0,uct(u,exe,nft(r)),i=1+(null!=EQ(t.a,o)?$z(EQ(t.a,o),19).a:0),uct(u,Jve,nft(i));zCt(n);}function PFt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(h=m_t(t,n),s=0;s<e;s++){for(yR(r,n),f=new Lw,TP(i.b<i.d.gc()),d=$z(i.d.Xb(i.c=i.b++),407),u=h+s;u<t.b;u++)o=d,TP(i.b<i.d.gc()),Kz(f,new kPt(o,d=$z(i.d.Xb(i.c=i.b++),407),n));for(l=h+s;l<t.b;l++)TP(i.b>0),i.a.Xb(i.c=--i.b),l>h+s&&uW(i);for(a=new Kd(f);a.a<a.c.c.length;)yR(i,$z(Q1(a),407));if(s<e-1)for(c=h+s;c<t.b;c++)TP(i.b>0),i.a.Xb(i.c=--i.b);}}function BFt(){var t,e,n,i,r,a;if(dWt(),TNe)return TNe;for(cHt(t=new _0(4),QKt(bte,!0)),YGt(t,QKt("M",!0)),YGt(t,QKt("C",!0)),a=new _0(4),i=0;i<11;i++)VPt(a,i,i);return cHt(e=new _0(4),QKt("M",!0)),VPt(e,4448,4607),VPt(e,65438,65439),tUt(r=new nL(2),t),tUt(r,oNe),(n=new nL(2)).$l(gG(a,QKt("L",!0))),n.$l(e),n=new GK(r,n=new c4(3,n)),TNe=n}function RFt(t){var e,n;if(!Vat(e=EB(QOt(t,(cWt(),tCe))),t)&&!T8(t,wSe)&&(0!=(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i||zv(kB(QOt(t,ECe))))){if(null!=e&&0!=BTt(e).length)throw pqt(t,n=oI(oI(new lN("Layout algorithm '"),e),"' not found for ")),Fw(new nx(n.a));if(!Vat(d1t,t))throw pqt(t,n=oI(oI(new lN("Unable to load default layout algorithm "),d1t)," for unconfigured node ")),Fw(new nx(n.a))}}function jFt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(i=t.i,n=t.n,0==t.b)for(g=i.c+n.b,d=i.b-n.b-n.c,u=0,h=(s=t.a).length;u<h;++u)GG(a=s[u],g,d);else r=Yyt(t,!1),GG(t.a[0],i.c+n.b,r[0]),GG(t.a[2],i.c+i.b-n.c-r[2],r[2]),f=i.b-n.b-n.c,r[0]>0&&(f-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(f-=r[2]+t.c),r[1]=e.Math.max(r[1],f),GG(t.a[1],i.c+n.b+r[0]-(r[1]-f)/2,r[1]);for(c=0,l=(o=t.a).length;c<l;++c)iD(a=o[c],326)&&$z(a,326).Te();}function $Ft(t){var e,n,i,r,a,o,s,c,u,l,h;for((h=new oo).d=0,o=new Kd(t.b);o.a<o.c.c.length;)a=$z(Q1(o),29),h.d+=a.a.c.length;for(i=0,r=0,h.a=D8(ANe,uVt,25,t.b.c.length,15,1),u=0,l=0,h.e=D8(ANe,uVt,25,h.d,15,1),n=new Kd(t.b);n.a<n.c.c.length;)for((e=$z(Q1(n),29)).p=i++,h.a[e.p]=r++,l=0,c=new Kd(e.a);c.a<c.c.c.length;)(s=$z(Q1(c),10)).p=u++,h.e[s.p]=l++;return h.c=new ub(h),h.b=sP(h.d),z$t(h,t),h.f=sP(h.d),H$t(h,t),h}function FFt(t,n){var i,r,a;for(a=$z(DU(t.n,t.n.c.length-1),211).d,t.p=e.Math.min(t.p,n.g),t.r=e.Math.max(t.r,a),t.g=e.Math.max(t.g,n.g+(1==t.b.c.length?0:t.i)),t.o=e.Math.min(t.o,n.f),t.e+=n.f+(1==t.b.c.length?0:t.i),t.f=e.Math.max(t.f,n.f),r=t.n.c.length>0?(t.n.c.length-1)*t.i:0,i=new Kd(t.n);i.a<i.c.c.length;)r+=$z(Q1(i),211).a;t.d=r,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),mvt(t.j);}function zFt(t,e){var n,i,r,a,o,s,c,u,l;if(null==(u=kB(yTt(e,(lRt(),eoe))))||(mW(u),u)){for(l=D8(MNe,QZt,25,e.e.c.length,16,1),o=vIt(e),r=new XE,c=new Kd(e.e);c.a<c.c.c.length;)(n=VLt(t,$z(Q1(c),144),null,null,l,o))&&(Hot(n,e),n5(r,n,r.c.b,r.c));if(r.b>1)for(i=cwt(r,0);i.b!=i.d.c;)for(a=0,s=new Kd((n=$z(h3(i),231)).e);s.a<s.c.c.length;)$z(Q1(s),144).b=a++;return r}return a6(Cst(Hx(Bae,1),tJt,231,0,[e]))}function HFt(t){var e,n,i,r,a;if(!t.g){if(a=new Ec,null==(e=ELe).a.zc(t,e)){for(n=new MD(mZ(t));n.e!=n.i.gc();)pY(a,HFt($z(vwt(n),26)));e.a.Bc(t),e.a.gc();}for(i=a.i,!t.s&&(t.s=new tK(ROe,t,21,17)),r=new MD(t.s);r.e!=r.i.gc();++i)ad($z(vwt(r),449),i);pY(a,(!t.s&&(t.s=new tK(ROe,t,21,17)),t.s)),rlt(a),t.g=new gct(t,a),t.i=$z(a.g,247),null==t.i&&(t.i=CLe),t.p=null,T5(t).b&=-5;}return t.g}function UFt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(r=t.i,i=t.n,0==t.b)n=Kyt(t,!1),qG(t.a[0],r.d+i.d,n[0]),qG(t.a[2],r.d+r.a-i.a-n[2],n[2]),f=r.a-i.d-i.a,n[0]>0&&(n[0]+=t.c,f-=n[0]),n[2]>0&&(f-=n[2]+t.c),n[1]=e.Math.max(n[1],f),qG(t.a[1],r.d+i.d+n[0]-(n[1]-f)/2,n[1]);else for(g=r.d+i.d,d=r.a-i.d-i.a,u=0,h=(s=t.a).length;u<h;++u)qG(a=s[u],g,d);for(c=0,l=(o=t.a).length;c<l;++c)iD(a=o[c],326)&&$z(a,326).Ue();}function GFt(t){var e,n,i,r,a,o,s,c,u;for(u=D8(ANe,uVt,25,t.b.c.length+1,15,1),c=new Py,i=0,a=new Kd(t.b);a.a<a.c.c.length;){for(r=$z(Q1(a),29),u[i++]=c.a.gc(),s=new Kd(r.a);s.a<s.c.c.length;)for(n=new oq(ZD(hdt($z(Q1(s),10)).a.Kc(),new l));gOt(n);)e=$z(G5(n),17),c.a.zc(e,c);for(o=new Kd(r.a);o.a<o.c.c.length;)for(n=new oq(ZD(ldt($z(Q1(o),10)).a.Kc(),new l));gOt(n);)e=$z(G5(n),17),c.a.Bc(e);}return u}function qFt(t,e,n,i){var r,a,o,s,c;if(c=aPt(t.e.Tg(),e),r=$z(t.g,119),ZT(),$z(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&Dht(a,n))return !0}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],c.rl(a.ak())&&Dht(n,a.dd()))return !0;if(i)for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&HM(n)===HM(cB(t,$z(a.dd(),56))))return !0}else for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&null==a.dd())return !1;return !1}function KFt(t,e,n,i){var r,a,o,s,c,u;if(u=aPt(t.e.Tg(),e),o=$z(t.g,119),OPt(t.e,e)){if(e.hi()&&(a=bzt(t,e,i,iD(e,99)&&!!($z(e,18).Bb&FVt)))>=0&&a!=n)throw Fw(new Rv(a8t));for(r=0,c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak())){if(r==n)return $z(syt(t,c,(ZT(),$z(e,66).Oj()?$z(i,72):Z3(e,i))),72);++r;}throw Fw(new Mv(e7t+n+s8t+r))}for(c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak()))return ZT(),$z(e,66).Oj()?s:s.dd();return null}function YFt(t,n,i,r){var a,o,s,c;for(c=i,s=new Kd(n.a);s.a<s.c.c.length;){if(o=$z(Q1(s),221),a=$z(o.b,65),Adt(t.b.c,a.b.c+a.b.b)<=0&&Adt(a.b.c,t.b.c+t.b.b)<=0&&Adt(t.b.d,a.b.d+a.b.a)<=0&&Adt(a.b.d,t.b.d+t.b.a)<=0){if(0==Adt(a.b.c,t.b.c+t.b.b)&&r.a<0||0==Adt(a.b.c+a.b.b,t.b.c)&&r.a>0||0==Adt(a.b.d,t.b.d+t.b.a)&&r.b<0||0==Adt(a.b.d+a.b.a,t.b.d)&&r.b>0){c=0;break}}else c=e.Math.min(c,zAt(t,a,r));c=e.Math.min(c,YFt(t,o,c,r));}return c}function WFt(t,e){var n,i,r,a,o,s;if(t.b<2)throw Fw(new Rv("The vector chain must contain at least a source and a target point."));for(TP(0!=t.b),CO(e,(i=$z(t.a.a.c,8)).a,i.b),s=new iP((!e.a&&(e.a=new ID(LIe,e,5)),e.a)),a=cwt(t,1);a.a<t.b-1;)o=$z(h3(a),8),s.e!=s.i.gc()?n=$z(vwt(s),469):(Jk(),spt(s,n=new ac)),kO(n,o.a,o.b);for(;s.e!=s.i.gc();)vwt(s),Xkt(s);TP(0!=t.b),TO(e,(r=$z(t.c.b.c,8)).a,r.b);}function XFt(t,e){var n,i,r,a,o,s,c,u;for(n=0,i=new Kd((l1(0,t.c.length),$z(t.c[0],101)).g.b.j);i.a<i.c.c.length;)$z(Q1(i),11).p=n++;for(e==(vKt(),sMe)?wL(t,new ta):wL(t,new ea),o=0,u=t.c.length-1;o<u;)l1(o,t.c.length),a=$z(t.c[o],101),l1(u,t.c.length),c=$z(t.c[u],101),r=e==sMe?a.c:a.a,s=e==sMe?c.a:c.c,hK(a,e,(Mst(),yue),r),hK(c,e,wue,s),++o,--u;o==u&&hK((l1(o,t.c.length),$z(t.c[o],101)),e,(Mst(),bue),null);}function VFt(t,e,n){var i,r,a,o,s,c,u,l,h,f;return l=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new DA(e.i+e.g/2,e.j+e.f/2),(c=$z(QOt(e,(cWt(),gSe)),8)).a=c.a+l,c.b=c.b+h,r=(o.b-c.b)/(o.a-c.a),i=o.b-r*o.a,s=new DA(n.i+n.g/2,n.j+n.f/2),(u=$z(QOt(n,gSe),8)).a=u.a+l,u.b=u.b+h,a=(s.b-u.b)/(s.a-u.a),f=(i-(s.b-a*s.a))/(a-r),!(c.a<f&&o.a<f||f<c.a&&f<o.a||u.a<f&&s.a<f||f<u.a&&f<s.a)}function ZFt(t,e){var n,i,r,a,o,s;if(!(o=$z(PY(t.c,e),183)))throw Fw(new tx("Edge did not exist in input."));return i=Xpt(o),!K_((!e.a&&(e.a=new tK(RIe,e,6,6)),e.a))&&(n=new _z(t,i,s=new Cf),fI((!e.a&&(e.a=new tK(RIe,e,6,6)),e.a),n),net(o,N6t,s)),T8(e,(cWt(),ACe))&&!(!(r=$z(QOt(e,ACe),74))||pW(r))&&(t5(r,new Wb(a=new Cf)),net(o,"junctionPoints",a)),MH(o,"container",qQ(e).k),null}function QFt(t,e,n){var i,r,a,o,s,c;this.a=t,this.b=e,this.c=n,this.e=a6(Cst(Hx(aie,1),zWt,168,0,[new DC(t,e),new DC(e,n),new DC(n,t)])),this.f=a6(Cst(Hx(TTe,1),cXt,8,0,[t,e,n])),this.d=(i=qR($L(this.b),this.a),r=qR($L(this.c),this.a),a=qR($L(this.c),this.b),o=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),s=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),c=2*(i.a*a.b-i.b*a.a),new DA((r.b*o-i.b*s)/c,(i.a*s-r.a*o)/c));}function JFt(t,e,n,i){var r,a,o,s,c,u,l,h,f;if(h=new HY(t.p),net(e,t8t,h),n&&!(t.f?nZ(t.f):null).a.dc())for(net(e,"logs",u=new Cf),s=0,f=new zd((t.f?nZ(t.f):null).b.Kc());f.b.Ob();)l=new HY(EB(f.b.Pb())),dtt(u,s),n4(u,s,l),++s;if(i&&net(e,"executionTime",new Ef(t.q)),!nZ(t.a).a.dc())for(o=new Cf,net(e,I6t,o),s=0,a=new zd(nZ(t.a).b.Kc());a.b.Ob();)r=$z(a.b.Pb(),1949),c=new pv,dtt(o,s),n4(o,s,c),JFt(r,c,n,i),++s;}function tzt(t,e){var n,i,r,a,o,s;for(a=t.c,o=t.d,EJ(t,null),_J(t,null),e&&zv(kB(yTt(o,(uWt(),Jhe))))?EJ(t,B$t(o.i,(ait(),zye),(vKt(),oMe))):EJ(t,o),e&&zv(kB(yTt(a,(uWt(),mfe))))?_J(t,B$t(a.i,(ait(),Fye),(vKt(),CMe))):_J(t,a),i=new Kd(t.b);i.a<i.c.c.length;)n=$z(Q1(i),70),(r=$z(yTt(n,(zYt(),Xpe)),272))==(Bet(),qSe)?uct(n,Xpe,GSe):r==GSe&&uct(n,Xpe,qSe);s=zv(kB(yTt(t,(uWt(),Cfe)))),uct(t,Cfe,(cN(),!s)),t.a=Zct(t.a);}function ezt(t,n,i){var r,a,o,s,c;for(r=0,o=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=$z(vwt(o),33)).n&&(a.n=new tK(HIe,a,1,7)),a.n).i||(s=$z(Yet((!a.n&&(a.n=new tK(HIe,a,1,7)),a.n),0),137).a),Hot(c=new zY(s),a),uct(c,(Ert(),soe),a),c.b=r++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=e.Math.max(a.g,1),c.e.b=e.Math.max(a.f,1),Kz(n.e,c),xAt(i.f,a,c),$z(QOt(a,(lRt(),Xae)),98),X_t();}function nzt(t,n){var i,r,a,o,s,c,u,l,h,f,d;i=MN(new zy,t.f),c=t.i[n.c.i.p],f=t.i[n.d.i.p],s=n.c,h=n.d,o=s.a.b,l=h.a.b,c.b||(o+=s.n.b),f.b||(l+=h.n.b),u=CQ(e.Math.max(0,o-l)),a=CQ(e.Math.max(0,l-o)),d=e.Math.max(1,$z(yTt(n,(zYt(),hwe)),19).a)*q3(n.c.i.k,n.d.i.k),r=new QS(qNt(rT(iT(nT(aT(new Fy,d),a),i),$z(PY(t.k,n.c),121))),qNt(rT(iT(nT(aT(new Fy,d),u),i),$z(PY(t.k,n.d),121)))),t.c[n.p]=r;}function izt(t,e,n,i){var r,a,o,s,c,u;for(o=new oGt(t,e,n),c=new _2(i,0),r=!1;c.b<c.d.gc();)TP(c.b<c.d.gc()),(s=$z(c.d.Xb(c.c=c.b++),233))==e||s==n?uW(c):!r&&Hv(lD(s.g,s.d[0]).a)>Hv(lD(o.g,o.d[0]).a)?(TP(c.b>0),c.a.Xb(c.c=--c.b),yR(c,o),r=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Lw),s.e).Mc(e),u=(!s.e&&(s.e=new Lw),s.e).Mc(n),(a||u)&&((!s.e&&(s.e=new Lw),s.e).Fc(o),++o.c));r||(i.c[i.c.length]=o);}function rzt(t){var e,n,i;if(bO($z(yTt(t,(zYt(),twe)),98)))for(n=new Kd(t.j);n.a<n.c.c.length;)(e=$z(Q1(n),11)).j==(vKt(),TMe)&&((i=$z(yTt(e,(uWt(),xfe)),10))?HAt(e,$z(yTt(i,Whe),61)):e.e.c.length-e.g.c.length<0?HAt(e,oMe):HAt(e,CMe));else {for(n=new Kd(t.j);n.a<n.c.c.length;)e=$z(Q1(n),11),(i=$z(yTt(e,(uWt(),xfe)),10))?HAt(e,$z(yTt(i,Whe),61)):e.e.c.length-e.g.c.length<0?HAt(e,(vKt(),oMe)):HAt(e,(vKt(),CMe));uct(t,twe,(X_t(),YAe));}}function azt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&XXt);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"+uP(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=FVt?"\\v"+uP(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&XXt);}return n}function ozt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=t.e,0==(c=e.e))return t;if(0==o)return 0==e.e?e:new lK(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],qVt),i=t0(e.a[0],qVt),o<0&&(n=v9(n)),c<0&&(i=v9(i)),Jbt(ndt(n,i));if(-1==(r=a!=s?a>s?1:-1:Eut(t.a,e.a,a)))h=-c,l=o==c?d6(e.a,s,t.a,a):L8(e.a,s,t.a,a);else if(h=o,o==c){if(0==r)return MBt(),ene;l=d6(t.a,a,e.a,s);}else l=L8(t.a,a,e.a,s);return q0(u=new lK(h,l.length,l)),u}function szt(t){var e,n,i,r,a,o;for(this.e=new Lw,this.a=new Lw,n=t.b-1;n<3;n++)BP(t,0,$z(Pwt(t,0),8));if(t.b<4)throw Fw(new Rv("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,ALt(this,t.b+this.b-1),o=new Lw,a=new Kd(this.e),e=0;e<this.b-1;e++)Kz(o,_B(Q1(a)));for(r=cwt(t,0);r.b!=r.d.c;)i=$z(h3(r),8),Kz(o,_B(Q1(a))),Kz(this.a,new fQ(i,o)),l1(0,o.c.length),o.c.splice(0,1);}function czt(t,e){var n,i,r,a,o,s,c;for(r=new Kd(t.b);r.a<r.c.c.length;)for(o=new Kd($z(Q1(r),29).a);o.a<o.c.c.length;)for((a=$z(Q1(o),10)).k==(oCt(),Ese)&&(s=$z(G5(new oq(ZD(ldt(a).a.Kc(),new l))),17),c=$z(G5(new oq(ZD(hdt(a).a.Kc(),new l))),17),uFt(a,zv(kB(yTt(s,(uWt(),Cfe))))&&zv(kB(yTt(c,Cfe)))?Kst(e):e)),i=new oq(ZD(hdt(a).a.Kc(),new l));gOt(i);)wst(n=$z(G5(i),17),zv(kB(yTt(n,(uWt(),Cfe))))?Kst(e):e);}function uzt(t,e,n,i,r){var a,o;if(n.f>=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=$z(DU(e.n,e.n.c.length-1),211)).e+a.d+n.g+r<=i&&($z(DU(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return mdt(e,n),!0;if(e.s+n.g<=i&&(e.t+e.d+n.f+r<=t.b||1==t.a.c.length))return Kz(e.b,n),o=$z(DU(e.n,e.n.c.length-1),211),Kz(e.n,new PQ(e.s,o.f+o.a+e.i,e.i)),cmt($z(DU(e.n,e.n.c.length-1),211),n),FFt(e,n),!0}return !1}function lzt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=ott(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?Dht(o,n):HM(o)===HM(n))?(null!=o&&(r=t.dj(o,r)),r=t.cj(n,r),t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):(t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)),o):(o=ott(t,e,n),t.bj()&&!(t.ni()&&null!=o?Dht(o,n):HM(o)===HM(n))&&(r=null,null!=o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function hzt(t,n){var i,r,a,o,s,c,u;n%=24,t.q.getHours()!=n&&((i=new e.Date(t.q.getTime())).setDate(i.getDate()+1),(s=t.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(c=s/60|0,u=s%60,r=t.q.getDate(),t.q.getHours()+c>=24&&++r,a=new e.Date(t.q.getFullYear(),t.q.getMonth(),r,n+c,t.q.getMinutes()+u,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=n&&t.q.setTime(o);}function fzt(t,e){var n,i,r,a;if(MEt(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(r=new EOt(t)).i&&(r.i=Yrt(r,new xa)),n=Hv(r.i)*r.f/(null==r.i&&(r.i=Yrt(r,new xa)),Hv(r.i)),r.b>n)zCt(e);else {switch($z(yTt(t,(zYt(),$we)),337).g){case 2:a=new Ea;break;case 0:a=new ga;break;default:a=new Ta;}if(i=a.Vf(t,r),!a.Wf())switch($z(yTt(t,qwe),338).g){case 2:i=KAt(r,i);break;case 1:i=REt(r,i);}nUt(t,r,i),zCt(e);}else zCt(e);}function dzt(t,e){var n,i,r,a;if(u1(t.d,t.e),t.c.a.$b(),0!=Hv(_B(yTt(e.j,(zYt(),Spe))))||0!=Hv(_B(yTt(e.j,Spe))))for(n=QQt,HM(yTt(e.j,Ope))!==HM((yct(),Lye))&&uct(e.j,(uWt(),Vhe),(cN(),!0)),a=$z(yTt(e.j,Dwe),19).a,r=0;r<a&&!((i=pFt(t,e))<n&&(n=i,Lrt(t),0==n));r++);else for(n=PWt,HM(yTt(e.j,Ope))!==HM((yct(),Lye))&&uct(e.j,(uWt(),Vhe),(cN(),!0)),a=$z(yTt(e.j,Dwe),19).a,r=0;r<a&&!((i=bFt(t,e))<n&&(n=i,Lrt(t),0==n));r++);}function gzt(t,e){var n,i,r,a,o,s;for(r=new Lw,a=0,n=0,o=0;a<e.c.length-1&&n<t.gc();){for(i=$z(t.Xb(n),19).a+o;(l1(a+1,e.c.length),$z(e.c[a+1],19)).a<i;)++a;for(s=0,i-(l1(a,e.c.length),$z(e.c[a],19)).a>(l1(a+1,e.c.length),$z(e.c[a+1],19)).a-i&&++s,Kz(r,(l1(a+s,e.c.length),$z(e.c[a+s],19))),o+=(l1(a+s,e.c.length),$z(e.c[a+s],19)).a-i,++n;n<t.gc()&&$z(t.Xb(n),19).a+o<=(l1(a+s,e.c.length),$z(e.c[a+s],19)).a;)++n;a+=1+s;}return r}function pzt(t){var e,n,i,r,a;if(!t.d){if(a=new Sc,null==(e=ELe).a.zc(t,e)){for(n=new MD(mZ(t));n.e!=n.i.gc();)pY(a,pzt($z(vwt(n),26)));e.a.Bc(t),e.a.gc();}for(r=a.i,!t.q&&(t.q=new tK(YOe,t,11,10)),i=new MD(t.q);i.e!=i.i.gc();++r)$z(vwt(i),399);pY(a,(!t.q&&(t.q=new tK(YOe,t,11,10)),t.q)),rlt(a),t.d=new LI(($z(Yet(WV((WY(),QOe).o),9),18),a.i),a.g),t.e=$z(a.g,673),null==t.e&&(t.e=TLe),T5(t).b&=-17;}return t.d}function bzt(t,e,n,i){var r,a,o,s,c,u;if(u=aPt(t.e.Tg(),e),c=0,r=$z(t.g,119),ZT(),$z(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(Dht(a,n))return c;++c;}}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],u.rl(a.ak())){if(Dht(n,a.dd()))return c;++c;}if(i)for(c=0,o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(HM(n)===HM(cB(t,$z(a.dd(),56))))return c;++c;}}else for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(null==a.dd())return c;++c;}return -1}function wzt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(EV(),wL(t,new Ks),o=Uz(t),d=new Lw,f=new Lw,s=null,c=0;0!=o.b;)a=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),157),!s||eG(s)*tG(s)/2<eG(a)*tG(a)?(s=a,d.c[d.c.length]=a):(c+=eG(a)*tG(a),f.c[f.c.length]=a,f.c.length>1&&(c>eG(s)*tG(s)/2||0==o.b)&&(h=new Uet(f),l=eG(s)/tG(s),u=mYt(h,e,new hm,n,i,r,l),GR(mI(h.e),u),s=h,d.c[d.c.length]=h,c=0,f.c=D8(Ite,zWt,1,0,5,1)));return pst(d,f),d}function yzt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(n.mh(e)&&(l=(d=e)?$z(i,49).xh(d):null))if(p=n.bh(e,t.a),(g=e.t)>1||-1==g)if(h=$z(p,69),f=$z(l,69),h.dc())f.$b();else for(o=!!Syt(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)u=$z(s.Pb(),56),(r=$z(ltt(t,u),56))?(o?-1==(c=f.Xc(r))?f.Xh(a,r):a!=c&&f.ji(a,r):f.Xh(a,r),++a):t.b&&!o&&(f.Xh(a,u),++a);else null==p?l.Wb(null):null==(r=ltt(t,p))?t.b&&!Syt(e)&&l.Wb(p):l.Wb(r);}function mzt(t,n){var i,r,a,o,s,c,u,h;for(i=new Dn,a=new oq(ZD(ldt(n).a.Kc(),new l));gOt(a);)if(!h5(r=$z(G5(a),17))&&eEt(c=r.c.i,qse)){if(-1==(h=WBt(t,c,qse,Gse)))continue;i.b=e.Math.max(i.b,h),!i.a&&(i.a=new Lw),Kz(i.a,c);}for(s=new oq(ZD(hdt(n).a.Kc(),new l));gOt(s);)if(!h5(o=$z(G5(s),17))&&eEt(u=o.d.i,Gse)){if(-1==(h=WBt(t,u,Gse,qse)))continue;i.d=e.Math.max(i.d,h),!i.c&&(i.c=new Lw),Kz(i.c,u);}return i}function vzt(t){var e,n,i,r;if(OIt(),e=CQ(t),t<one.length)return one[e];if(t<=50)return oIt((MBt(),Jee),e);if(t<=WXt)return H5(oIt(ane[1],e),e);if(t>1e6)throw Fw(new Av("power of ten too big"));if(t<=PWt)return H5(oIt(ane[1],e),e);for(r=i=oIt(ane[1],PWt),n=lot(t-PWt),e=CQ(t%PWt);Wlt(n,PWt)>0;)r=Ltt(r,i),n=ndt(n,PWt);for(r=H5(r=Ltt(r,oIt(ane[1],e)),PWt),n=lot(t-PWt);Wlt(n,PWt)>0;)r=H5(r,PWt),n=ndt(n,PWt);return r=H5(r,e)}function xzt(t,e){var n,i,r,a,o,s,c,u;for(MEt(e,"Hierarchical port dummy size processing",1),s=new Lw,u=new Lw,n=2*Hv(_B(yTt(t,(zYt(),mwe)))),r=new Kd(t.b);r.a<r.c.c.length;){for(i=$z(Q1(r),29),s.c=D8(Ite,zWt,1,0,5,1),u.c=D8(Ite,zWt,1,0,5,1),o=new Kd(i.a);o.a<o.c.c.length;)(a=$z(Q1(o),10)).k==(oCt(),_se)&&((c=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),sMe)?s.c[s.c.length]=a:c==EMe&&(u.c[u.c.length]=a));zIt(s,!0,n),zIt(u,!1,n);}zCt(e);}function kzt(t,e){var n,i,r,a,o;MEt(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(l1(0,o.c.length),jjt(t,$z(o.c[0],29),$z(DU(o,o.c.length-1),29),n=new FY(t),r=new FY(t)),0==n.a.c.length||(OJ(0,o.c.length),_C(o.c,0,n)),0==r.a.c.length||(o.c[o.c.length]=r)),OP(t,(uWt(),Qhe))&&(mBt(t,i=new FY(t),a=new FY(t)),0==i.a.c.length||(OJ(0,o.c.length),_C(o.c,0,i)),0==a.a.c.length||(o.c[o.c.length]=a)),zCt(e);}function _zt(t){var e,n,i,r,a,o,s,c;for(o=new Kd(t.a);o.a<o.c.c.length;)if((a=$z(Q1(o),10)).k==(oCt(),_se)&&((r=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),oMe)||r==CMe))for(i=new oq(ZD(udt(a).a.Kc(),new l));gOt(i);)0!=(e=(n=$z(G5(i),17)).a).b&&((s=n.c).i==a&&(TP(0!=e.b),$z(e.a.a.c,8).b=Ict(Cst(Hx(TTe,1),cXt,8,0,[s.i.n,s.n,s.a])).b),(c=n.d).i==a&&(TP(0!=e.b),$z(e.c.b.c,8).b=Ict(Cst(Hx(TTe,1),cXt,8,0,[c.i.n,c.n,c.a])).b));}function Ezt(t,e){var n,i,r,a,o,s,c;for(MEt(e,"Sort By Input Model "+yTt(t,(zYt(),Ope)),1),r=0,i=new Kd(t.b);i.a<i.c.c.length;){for(n=$z(Q1(i),29),c=0==r?0:r-1,s=$z(DU(t.b,c),29),o=new Kd(n.a);o.a<o.c.c.length;)HM(yTt(a=$z(Q1(o),10),twe))!==HM((X_t(),GAe))&&HM(yTt(a,twe))!==HM(qAe)&&(EV(),wL(a.j,new A9(s,sxt(a))),AH(e,"Node "+a+" ports: "+a.j));EV(),wL(n.a,new Urt(s,$z(yTt(t,Ope),339),$z(yTt(t,Mpe),378))),AH(e,"Layer "+r+": "+n),++r;}zCt(e);}function Tzt(t,e){var n,i,r;if(r=vFt(e),VE(new PU(null,(!e.c&&(e.c=new tK(GIe,e,9,9)),new f1(e.c,16))),new Gg(r)),oqt(e,i=$z(yTt(r,(uWt(),Zhe)),21)),i.Hc((fBt(),lhe)))for(n=new MD((!e.c&&(e.c=new tK(GIe,e,9,9)),e.c));n.e!=n.i.gc();)Xqt(t,e,r,$z(vwt(n),118));return 0!=$z(QOt(e,(zYt(),jbe)),174).gc()&&yBt(e,r),zv(kB(yTt(r,qbe)))&&i.Fc(phe),OP(r,gwe)&&_v(new ogt(Hv(_B(yTt(r,gwe)))),r),HM(QOt(e,sbe))===HM((oht(),pAe))?rWt(t,e,r):eYt(t,e,r),r}function Czt(t,n,i,r){var a,o,s;if(this.j=new Lw,this.k=new Lw,this.b=new Lw,this.c=new Lw,this.e=new hO,this.i=new mm,this.f=new Nw,this.d=new Lw,this.g=new Lw,Kz(this.b,t),Kz(this.b,n),this.e.c=e.Math.min(t.a,n.a),this.e.d=e.Math.min(t.b,n.b),this.e.b=e.Math.abs(t.a-n.a),this.e.a=e.Math.abs(t.b-n.b),a=$z(yTt(r,(zYt(),bbe)),74))for(s=cwt(a,0);s.b!=s.d.c;)ant((o=$z(h3(s),8)).a,t.a)&&NH(this.i,o);i&&Kz(this.j,i),Kz(this.k,r);}function Szt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(l=new qq(new Dg(n)),bK(s=D8(MNe,QZt,25,t.f.e.c.length,16,1),s.length),n[e.b]=0,u=new Kd(t.f.e);u.a<u.c.c.length;)(c=$z(Q1(u),144)).b!=e.b&&(n[c.b]=PWt),j8(eTt(l,c));for(;0!=l.b.c.length;)for(s[(h=$z(wtt(l),144)).b]=!0,a=bN(new wE(t.b,h),0);a.c;)s[(f=Omt(r=$z(xJ(a),282),h)).b]||(o=OP(r,(ixt(),poe))?Hv(_B(yTt(r,poe))):t.c,(i=n[h.b]+o)<n[f.b]&&(n[f.b]=i,crt(l,f),j8(eTt(l,f))));}function Azt(t,e,n){var i,r,a,o,s,c,u,l,h;for(r=!0,o=new Kd(t.b);o.a<o.c.c.length;){for(a=$z(Q1(o),29),u=RVt,l=null,c=new Kd(a.a);c.a<c.c.c.length;){if(s=$z(Q1(c),10),h=Hv(e.p[s.p])+Hv(e.d[s.p])-s.d.d,i=Hv(e.p[s.p])+Hv(e.d[s.p])+s.o.b+s.d.a,!(h>u&&i>u)){r=!1,n.n&&AH(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,u=Hv(e.p[s.p])+Hv(e.d[s.p])+s.o.b+s.d.a;}if(!r)break}return n.n&&AH(n,e+" is feasible: "+r),r}function Mzt(t,e,n,i){var r,a,o,s,c,u,l;for(s=-1,l=new Kd(t);l.a<l.c.c.length;)(u=$z(Q1(l),112)).g=s--,o=r=dG(x2(LX(MX(new PU(null,new f1(u.f,16)),new uo),new lo)).d),c=a=dG(x2(LX(MX(new PU(null,new f1(u.k,16)),new ho),new fo)).d),i||(o=dG(x2(LX(new PU(null,new f1(u.f,16)),new go)).d),c=dG(x2(LX(new PU(null,new f1(u.k,16)),new po)).d)),u.d=o,u.a=r,u.i=c,u.b=a,0==c?n5(n,u,n.c.b,n.c):0==o&&n5(e,u,e.c.b,e.c);}function Izt(t,e,n,i){var r,a,o,s,c,u,l;if(n.d.i!=e.i){for($f(r=new Oyt(t),(oCt(),Tse)),uct(r,(uWt(),dfe),n),uct(r,(zYt(),twe),(X_t(),qAe)),i.c[i.c.length]=r,CJ(o=new SCt,r),HAt(o,(vKt(),CMe)),CJ(s=new SCt,r),HAt(s,oMe),l=n.d,_J(n,o),Hot(a=new fZ,n),uct(a,bbe,null),EJ(a,s),_J(a,l),u=new _2(n.b,0);u.b<u.d.gc();)TP(u.b<u.d.gc()),HM(yTt(c=$z(u.d.Xb(u.c=u.b++),70),Xpe))===HM((Bet(),GSe))&&(uct(c,Ghe,n),uW(u),Kz(a.b,c));mOt(r,o,s);}}function Ozt(t,e,n,i){var r,a,o,s,c,u;if(n.c.i!=e.i)for($f(r=new Oyt(t),(oCt(),Tse)),uct(r,(uWt(),dfe),n),uct(r,(zYt(),twe),(X_t(),qAe)),i.c[i.c.length]=r,CJ(o=new SCt,r),HAt(o,(vKt(),CMe)),CJ(s=new SCt,r),HAt(s,oMe),_J(n,o),Hot(a=new fZ,n),uct(a,bbe,null),EJ(a,s),_J(a,e),mOt(r,o,s),u=new _2(n.b,0);u.b<u.d.gc();)TP(u.b<u.d.gc()),c=$z(u.d.Xb(u.c=u.b++),70),$z(yTt(c,Xpe),272)==(Bet(),GSe)&&(OP(c,Ghe)||uct(c,Ghe,n),uW(u),Kz(a.b,c));}function Lzt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(f=new Lw,w=E4(r),b=n*t.a,g=0,o=new Py,s=new Py,c=new Lw,y=0,m=0,d=0,p=0,l=0,h=0;0!=w.a.gc();)(u=tdt(w,a,s))&&(w.a.Bc(u),c.c[c.c.length]=u,o.a.zc(u,o),g=t.f[u.p],y+=t.e[u.p]-g*t.b,m+=t.c[u.p]*t.b,h+=g*t.b,p+=t.e[u.p]),(!u||0==w.a.gc()||y>=b&&t.e[u.p]>g*t.b||m>=i*b)&&(f.c[f.c.length]=c,c=new Lw,$rt(s,o),o.a.$b(),l-=h,d=e.Math.max(d,l*t.b+p),l+=m,y=m,m=0,h=0,p=0);return new nM(d,f)}function Dzt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(n=new Bd(new Ad(t.c.b).a.vc().Kc());n.a.Ob();)s=$z(n.a.Pb(),42),null==(r=(e=$z(s.dd(),149)).a)&&(r=""),!(i=RB(t.c,r))&&0==r.length&&(i=mht(t)),i&&!mgt(i.c,e,!1)&&NH(i.c,e);for(o=cwt(t.a,0);o.b!=o.d.c;)a=$z(h3(o),478),u=k5(t.c,a.a),f=k5(t.c,a.b),u&&f&&NH(u.c,new nM(f,a.c));for(yV(t.a),h=cwt(t.b,0);h.b!=h.d.c;)l=$z(h3(h),478),e=BB(t.c,l.a),c=k5(t.c,l.b),e&&c&&NT(e,c,l.c);yV(t.b);}function Nzt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;a=new Tf(t),d5((o=new gxt).g),d5(o.j),IK(o.b),d5(o.d),d5(o.i),IK(o.k),IK(o.c),IK(o.e),d=fMt(o,a,null),MLt(o,a),r=d,e&&(s=eHt(u=new Tf(e)),wCt(r,Cst(Hx(QEe,1),zWt,527,0,[s]))),f=!1,h=!1,n&&(u=new Tf(n),h8t in u.a&&(f=UQ(u,h8t).ge().a),f8t in u.a&&(h=UQ(u,f8t).ge().a)),l=Ik($nt(new qm,f),h),FCt(new ls,r,l),h8t in a.a&&net(a,h8t,null),(f||h)&&(JFt(l,c=new pv,f,h),net(a,h8t,c)),i=new qb(o),qct(new AO(r),i);}function Pzt(t,e,n){var i,r,a,o,s,c,u,l,h;for(o=new Vxt,u=Cst(Hx(ANe,1),uVt,25,15,[0]),r=-1,a=0,i=0,c=0;c<t.b.c.length;++c){if(!((l=$z(DU(t.b,c),434)).b>0)){if(r=-1,32==uX(l.c,0)){if(h=u[0],ytt(e,u),u[0]>h)continue}else if(IZ(e,l.c,u[0])){u[0]+=l.c.length;continue}return 0}if(r<0&&l.a&&(r=c,a=u[0],i=0),r>=0){if(s=l.b,c==r&&0==(s-=i++))return 0;if(!LKt(e,u,l,s,o)){c=r-1,u[0]=a;continue}}else if(r=-1,!LKt(e,u,l,0,o))return 0}return gKt(o,n)?u[0]:0}function Bzt(t){var e,n,i,r,a,o;if(!t.f){if(o=new Tc,a=new Tc,null==(e=ELe).a.zc(t,e)){for(r=new MD(mZ(t));r.e!=r.i.gc();)pY(o,Bzt($z(vwt(r),26)));e.a.Bc(t),e.a.gc();}for(!t.s&&(t.s=new tK(ROe,t,21,17)),i=new MD(t.s);i.e!=i.i.gc();)iD(n=$z(vwt(i),170),99)&&u7(a,$z(n,18));rlt(a),t.r=new kH(t,($z(Yet(WV((WY(),QOe).o),6),18),a.i),a.g),pY(o,t.r),rlt(o),t.f=new LI(($z(Yet(WV(QOe.o),5),18),o.i),o.g),T5(t).b&=-3;}return t.f}function Rzt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(o=t.o,i=D8(ANe,uVt,25,o,15,1),r=D8(ANe,uVt,25,o,15,1),n=t.p,e=D8(ANe,uVt,25,n,15,1),a=D8(ANe,uVt,25,n,15,1),u=0;u<o;u++){for(h=0;h<n&&!wmt(t,u,h);)++h;i[u]=h;}for(l=0;l<o;l++){for(h=n-1;h>=0&&!wmt(t,l,h);)--h;r[l]=h;}for(d=0;d<n;d++){for(s=0;s<o&&!wmt(t,s,d);)++s;e[d]=s;}for(g=0;g<n;g++){for(s=o-1;s>=0&&!wmt(t,s,g);)--s;a[g]=s;}for(c=0;c<o;c++)for(f=0;f<n;f++)c<a[f]&&c>e[f]&&f<r[c]&&f>i[c]&&$Rt(t,c,f,!1,!0);}function jzt(t){var e,n,i,r,a,o,s,c;n=zv(kB(yTt(t,(lRt(),$ae)))),a=t.a.c.d,s=t.a.d.d,n?(o=mD(qR(new DA(s.a,s.b),a),.5),c=mD($L(t.e),.5),e=qR(GR(new DA(a.a,a.b),o),c),FP(t.d,e)):(r=Hv(_B(yTt(t.a,noe))),i=t.d,a.a>=s.a?a.b>=s.b?(i.a=s.a+(a.a-s.a)/2+r,i.b=s.b+(a.b-s.b)/2-r-t.e.b):(i.a=s.a+(a.a-s.a)/2+r,i.b=a.b+(s.b-a.b)/2+r):a.b>=s.b?(i.a=a.a+(s.a-a.a)/2+r,i.b=s.b+(a.b-s.b)/2+r):(i.a=a.a+(s.a-a.a)/2+r,i.b=a.b+(s.b-a.b)/2-r-t.e.b));}function $zt(t,e){var n,i,r,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return "";for(c=D8(SNe,YXt,25,a,15,1),R8(0,a,t.length),R8(0,a,c.length),XK(t,0,a,c,0),n=null,s=e,r=0,o=0;r<a;r++)i=c[r],kWt(),i<=32&&2&XDe[i]?s?(!n&&(n=new uN(t)),rZ(n,r-o++)):(s=e,32!=i&&(!n&&(n=new uN(t)),sX(n,r-o,r-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?uP(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function Fzt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,qQt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),a2(t,qQt,KQt,ywt(xae)),a2(t,qQt,YQt,ywt(pae)),a2(t,qQt,WQt,ywt(lae)),a2(t,qQt,XQt,ywt(bae)),a2(t,qQt,KZt,ywt(mae)),a2(t,qQt,YZt,ywt(yae)),a2(t,qQt,qZt,ywt(vae)),a2(t,qQt,WZt,ywt(wae)),a2(t,qQt,FQt,ywt(fae)),a2(t,qQt,zQt,ywt(hae)),a2(t,qQt,HQt,ywt(dae)),a2(t,qQt,UQt,ywt(gae));}function zzt(t,e,n,i){var r,a,o,s,c,u,l;if($f(a=new Oyt(t),(oCt(),Sse)),uct(a,(zYt(),twe),(X_t(),qAe)),r=0,e){for(uct(o=new SCt,(uWt(),dfe),e),uct(a,dfe,e.i),HAt(o,(vKt(),CMe)),CJ(o,a),u=0,l=(c=Z0(e.e)).length;u<l;++u)_J(c[u],o);uct(e,xfe,a),++r;}if(n){for(s=new SCt,uct(a,(uWt(),dfe),n.i),uct(s,dfe,n),HAt(s,(vKt(),oMe)),CJ(s,a),u=0,l=(c=Z0(n.g)).length;u<l;++u)EJ(c[u],s);uct(n,xfe,a),++r;}return uct(a,(uWt(),$he),nft(r)),i.c[i.c.length]=a,a}function Hzt(){Hzt=I,AIe=Cst(Hx(SNe,1),YXt,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),MIe=new RegExp("[ \t\n\r\f]+");try{SIe=Cst(Hx(DLe,1),zWt,2015,0,[new bw((sL(),cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",uR((ux(),ux(),iee))))),new bw(cpt("yyyy-MM-dd'T'HH:mm:ss'.'SSS",uR(iee))),new bw(cpt("yyyy-MM-dd'T'HH:mm:ss",uR(iee))),new bw(cpt("yyyy-MM-dd'T'HH:mm",uR(iee))),new bw(cpt("yyyy-MM-dd",uR(iee)))]);}catch(t){if(!iD(t=hst(t),78))throw Fw(t)}}function Uzt(t){var n,i,r,a;if(r=HYt((!t.c&&(t.c=mlt(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return r;if(n=nit(t)<0?1:0,i=t.e,r.length,e.Math.abs(CQ(t.e)),a=new Sx,1==n&&(a.a+="-"),t.e>0)if((i-=r.length-n)>=0){for(a.a+="0.";i>Hee.length;i-=Hee.length)LU(a,Hee);gR(a,Hee,CQ(i)),oI(a,r.substr(n));}else oI(a,uP(r,n,CQ(i=n-i))),a.a+=".",oI(a,QM(r,CQ(i)));else {for(oI(a,r.substr(n));i<-Hee.length;i+=Hee.length)LU(a,Hee);gR(a,Hee,CQ(-i));}return a.a}function Gzt(t,n,i,r){var a,o,s,c,u,l,h,f,d;return l=(u=qR(new DA(i.a,i.b),t)).a*n.b-u.b*n.a,h=n.a*r.b-n.b*r.a,f=(u.a*r.b-u.b*r.a)/h,d=l/h,0==h?0==l?(o=K8(t,a=GR(new DA(i.a,i.b),mD(new DA(r.a,r.b),.5))),s=K8(GR(new DA(t.a,t.b),n),a),c=.5*e.Math.sqrt(r.a*r.a+r.b*r.b),o<s&&o<=c?new DA(t.a,t.b):s<=c?GR(new DA(t.a,t.b),n):null):null:f>=0&&f<=1&&d>=0&&d<=1?GR(new DA(t.a,t.b),mD(new DA(n.a,n.b),f)):null}function qzt(t,e,n){var i,r,a,o,s;if(i=$z(yTt(t,(zYt(),Lpe)),21),n.a>e.a&&(i.Hc((d_t(),KTe))?t.c.a+=(n.a-e.a)/2:i.Hc(WTe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((d_t(),VTe))?t.c.b+=(n.b-e.b)/2:i.Hc(XTe)&&(t.c.b+=n.b-e.b)),$z(yTt(t,(uWt(),Zhe)),21).Hc((fBt(),lhe))&&(n.a>e.a||n.b>e.b))for(s=new Kd(t.a);s.a<s.c.c.length;)(o=$z(Q1(s),10)).k==(oCt(),_se)&&((r=$z(yTt(o,Whe),61))==(vKt(),oMe)?o.n.a+=n.a-e.a:r==EMe&&(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;}function Kzt(t,e,n){var i,r,a,o,s;if(i=$z(yTt(t,(zYt(),Lpe)),21),n.a>e.a&&(i.Hc((d_t(),KTe))?t.c.a+=(n.a-e.a)/2:i.Hc(WTe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((d_t(),VTe))?t.c.b+=(n.b-e.b)/2:i.Hc(XTe)&&(t.c.b+=n.b-e.b)),$z(yTt(t,(uWt(),Zhe)),21).Hc((fBt(),lhe))&&(n.a>e.a||n.b>e.b))for(o=new Kd(t.a);o.a<o.c.c.length;)(a=$z(Q1(o),10)).k==(oCt(),_se)&&((r=$z(yTt(a,Whe),61))==(vKt(),oMe)?a.n.a+=n.a-e.a:r==EMe&&(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;}function Yzt(t){var n,i,r,a,o,s,c,u,l,h;for(u=new Sd(new Cd(NIt(t)).a.vc().Kc());u.a.Ob();){for(r=$z(u.a.Pb(),42),l=0,h=0,l=(c=$z(r.cd(),10)).d.d,h=c.o.b+c.d.a,t.d[c.p]=0,n=c;(a=t.a[n.p])!=c;)i=Ebt(n,a),s=0,s=t.c==(gQ(),Qme)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,o=Hv(t.d[n.p])+s,t.d[a.p]=o,l=e.Math.max(l,a.d.d-o),h=e.Math.max(h,o+a.o.b+a.d.a),n=a;n=c;do{t.d[n.p]=Hv(t.d[n.p])+l,n=t.a[n.p];}while(n!=c);t.b[c.p]=l+h;}}function Wzt(t){var n,i,r,a,o,s,c,u,l,h,f;for(t.b=!1,h=BVt,c=RVt,f=BVt,u=RVt,i=t.e.a.ec().Kc();i.Ob();)for(r=(n=$z(i.Pb(),266)).a,h=e.Math.min(h,r.c),c=e.Math.max(c,r.c+r.b),f=e.Math.min(f,r.d),u=e.Math.max(u,r.d+r.a),o=new Kd(n.c);o.a<o.c.c.length;)(a=$z(Q1(o),395)).a.a?(s=(l=r.d+a.b.b)+a.c,f=e.Math.min(f,l),u=e.Math.max(u,s)):(s=(l=r.c+a.b.a)+a.c,h=e.Math.min(h,l),c=e.Math.max(c,s));t.a=new DA(c-h,u-f),t.c=new DA(h+t.d.a,f+t.d.b);}function Xzt(t,e,n){var i,r,a,o,s,c,u,l;for(l=new Lw,a=0,tit(u=new D0(0,n),new aut(0,0,u,n)),r=0,c=new MD(t);c.e!=c.i.gc();)s=$z(vwt(c),33),i=$z(DU(u.a,u.a.c.length-1),187),r+s.g+(0==$z(DU(u.a,0),187).b.c.length?0:n)>e&&(r=0,a+=u.b+n,l.c[l.c.length]=u,tit(u=new D0(a,n),i=new aut(0,u.f,u,n)),r=0),0==i.b.c.length||s.f>=i.o&&s.f<=i.f||.5*i.a<=s.f&&1.5*i.a>=s.f?mdt(i,s):(tit(u,o=new aut(i.s+i.r+n,u.f,u,n)),mdt(o,s)),r=s.i+s.g;return l.c[l.c.length]=u,l}function Vzt(t){var e,n,i,r,a,o;if(!t.a){if(t.o=null,o=new gw(t),e=new Cc,null==(n=ELe).a.zc(t,n)){for(a=new MD(mZ(t));a.e!=a.i.gc();)pY(o,Vzt($z(vwt(a),26)));n.a.Bc(t),n.a.gc();}for(!t.s&&(t.s=new tK(ROe,t,21,17)),r=new MD(t.s);r.e!=r.i.gc();)iD(i=$z(vwt(r),170),322)&&u7(e,$z(i,34));rlt(e),t.k=new xH(t,($z(Yet(WV((WY(),QOe).o),7),18),e.i),e.g),pY(o,t.k),rlt(o),t.a=new LI(($z(Yet(WV(QOe.o),4),18),o.i),o.g),T5(t).b&=-2;}return t.a}function Zzt(t,e,n,i,r,a,o){var s,c,u,l,h;return l=!1,s=gNt(n.q,e.f+e.b-n.q.f),!((h=r-(n.q.e+s-o))<i.g)&&(c=a==t.c.length-1&&h>=(l1(a,t.c.length),$z(t.c[a],200)).e,!((u=rHt(i,h,!1).a)>e.b&&!c)&&((c||u<=e.b)&&(c&&u>e.b?(n.d=u,p7(n,$Ct(n,u))):(a_t(n.q,s),n.c=!0),p7(i,r-(n.s+n.r)),_yt(i,n.q.e+n.q.d,e.f),tit(e,i),t.c.length>a&&(_xt((l1(a,t.c.length),$z(t.c[a],200)),i),0==(l1(a,t.c.length),$z(t.c[a],200)).a.c.length&&s6(t,a)),l=!0),l))}function Qzt(t,e,n,i){var r,a,o,s,c,u,l;if(l=aPt(t.e.Tg(),e),r=0,a=$z(t.g,119),c=null,ZT(),$z(e,66).Oj()){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Dht(o,n)){c=o;break}++r;}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(Dht(n,o.dd())){c=o;break}++r;}}else for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(null==o.dd()){c=o;break}++r;}return c&&(wO(t.e)&&(u=e.$j()?new h4(t.e,4,e,n,null,r,!0):OZ(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),i?i.Ei(u):i=u),i=_jt(t,c,i)),i}function Jzt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g,p;switch(g=0,p=0,u=a.c,c=a.b,h=i.f,d=i.g,n.g){case 0:g=r.i+r.g+s,p=t.c?pEt(g,o,r,s):r.j,f=e.Math.max(u,g+d),l=e.Math.max(c,p+h);break;case 1:p=r.j+r.f+s,g=t.c?gEt(p,o,r,s):r.i,f=e.Math.max(u,g+d),l=e.Math.max(c,p+h);break;case 2:g=u+s,p=0,f=u+s+d,l=e.Math.max(c,h);break;case 3:g=0,p=c+s,f=e.Math.max(u,d),l=c+s+h;break;default:throw Fw(new Rv("IllegalPlacementOption."))}return new agt(t.a,f,l,n,g,p)}function tHt(t){var n,i,r,a,o,s,c,u,l,h,f,d;if(c=t.d,f=$z(yTt(t,(uWt(),Bfe)),15),n=$z(yTt(t,Nhe),15),f||n){if(o=Hv(_B(ept(t,(zYt(),pwe)))),s=Hv(_B(ept(t,bwe))),d=0,f){for(l=0,a=f.Kc();a.Ob();)r=$z(a.Pb(),10),l=e.Math.max(l,r.o.b),d+=r.o.a;d+=o*(f.gc()-1),c.d+=l+s;}if(i=0,n){for(l=0,a=n.Kc();a.Ob();)r=$z(a.Pb(),10),l=e.Math.max(l,r.o.b),i+=r.o.a;i+=o*(n.gc()-1),c.a+=l+s;}(u=e.Math.max(d,i))>t.o.a&&(h=(u-t.o.a)/2,c.b=e.Math.max(c.b,h),c.c=e.Math.max(c.c,h));}}function eHt(t){var e,n,i,r,a,o;for(iO(r=new P0,(Dst(),VEe)),i=new Ed(new Vv(new kE(t,xrt(t,D8(Xee,cXt,2,0,6,1))).b));i.b<i.d.gc();)TP(i.b<i.d.gc()),n=EB(i.d.Xb(i.c=i.b++)),(a=bGt(uOe,n))&&null!=(o=QUt(a,(e=UQ(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&((EN(a.j,(iwt(),sTe))||EN(a.j,cTe))&&cct(Xtt(r,UIe),a,o),EN(a.j,aTe)&&cct(Xtt(r,BIe),a,o),EN(a.j,uTe)&&cct(Xtt(r,GIe),a,o),EN(a.j,oTe)&&cct(Xtt(r,HIe),a,o));return r}function nHt(t,e,n,i){var r,a,o,s,c,u;if(c=aPt(t.e.Tg(),e),a=$z(t.g,119),OPt(t.e,e)){for(r=0,s=0;s<t.i;++s)if(o=a[s],c.rl(o.ak())){if(r==n)return ZT(),$z(e,66).Oj()?o:(null!=(u=o.dd())&&i&&iD(e,99)&&$z(e,18).Bb&FVt&&(u=$Mt(t,e,s,r,u)),u);++r;}throw Fw(new Mv(e7t+n+s8t+r))}for(r=0,s=0;s<t.i;++s){if(o=a[s],c.rl(o.ak()))return ZT(),$z(e,66).Oj()?o:(null!=(u=o.dd())&&i&&iD(e,99)&&$z(e,18).Bb&FVt&&(u=$Mt(t,e,s,r,u)),u);++r;}return e.zj()}function iHt(t,e,n){var i,r,a,o,s,c,u,l;if(r=$z(t.g,119),OPt(t.e,e))return ZT(),$z(e,66).Oj()?new lU(e,t):new DM(e,t);for(u=aPt(t.e.Tg(),e),i=0,s=0;s<t.i;++s){if(o=(a=r[s]).ak(),u.rl(o)){if(ZT(),$z(e,66).Oj())return a;if(o==(_It(),cDe)||o==aDe){for(c=new lN(Fdt(a.dd()));++s<t.i;)((o=(a=r[s]).ak())==cDe||o==aDe)&&oI(c,Fdt(a.dd()));return gj($z(e.Yj(),148),c.a)}return null!=(l=a.dd())&&n&&iD(e,99)&&$z(e,18).Bb&FVt&&(l=$Mt(t,e,s,i,l)),l}++i;}return e.zj()}function rHt(t,n,i){var r,a,o,s,c,u,l,h,f,d;for(o=0,s=t.t,a=0,r=0,u=0,d=0,f=0,i&&(t.n.c=D8(Ite,zWt,1,0,5,1),Kz(t.n,new PQ(t.s,t.t,t.i))),c=0,h=new Kd(t.b);h.a<h.c.c.length;)o+(l=$z(Q1(h),33)).g+(c>0?t.i:0)>n&&u>0&&(o=0,s+=u+t.i,a=e.Math.max(a,d),r+=u+t.i,u=0,d=0,i&&(++f,Kz(t.n,new PQ(t.s,s,t.i))),c=0),d+=l.g+(c>0?t.i:0),u=e.Math.max(u,l.f),i&&cmt($z(DU(t.n,f),211),l),o+=l.g+(c>0?t.i:0),++c;return a=e.Math.max(a,d),r+=u,i&&(t.r=a,t.d=r,mvt(t.j)),new GX(t.s,t.t,a,r)}function aHt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;if(IE(),EK(t,"src"),EK(n,"dest"),f=tut(t),c=tut(n),pH(!!(4&f.i),"srcType is not an array"),pH(!!(4&c.i),"destType is not an array"),h=f.c,o=c.c,pH(1&h.i?h==o:!(1&o.i),"Array types don't match"),d=t.length,u=n.length,e<0||i<0||r<0||e+r>d||i+r>u)throw Fw(new uy);if(1&h.i||f==c)r>0&&jAt(t,e,n,i,r,!0);else if(l=ent(t),a=ent(n),HM(t)===HM(n)&&e<i)for(e+=r,s=i+r;s-- >i;)IY(a,s,l[--e]);else for(s=i+r;i<s;)IY(a,i++,l[e++]);}function oHt(){oHt=I,ine=Cst(Hx(ANe,1),uVt,25,15,[jXt,1162261467,MXt,1220703125,362797056,1977326743,MXt,387420489,IVt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,MXt,1291467969,1544804416,1838265625,60466176]),rne=Cst(Hx(ANe,1),uVt,25,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 sHt(t){var e,n,i,r,a,o,s;for(i=new Kd(t.b);i.a<i.c.c.length;)for(a=new Kd(r0($z(Q1(i),29).a));a.a<a.c.c.length;)if(Ztt(r=$z(Q1(a),10))&&!(n=$z(yTt(r,(uWt(),Phe)),305)).g&&n.d)for(e=n,s=n.d;s;)eRt(s.i,s.k,!1,!0),M9(e.a),M9(s.i),M9(s.k),M9(s.b),_J(s.c,e.c.d),_J(e.c,null),TJ(e.a,null),TJ(s.i,null),TJ(s.k,null),TJ(s.b,null),(o=new b3(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,uct(e.i,Phe,o),uct(s.a,Phe,o),s=s.d,e=o;}function cHt(t,e){var n,i,r,a,o;if(o=$z(e,136),_Lt(t),_Lt(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=D8(ANe,uVt,25,o.b.length,15,1),void aHt(o.b,0,t.b,0,o.b.length);for(a=D8(ANe,uVt,25,t.b.length+o.b.length,15,1),n=0,i=0,r=0;n<t.b.length||i<o.b.length;)n>=t.b.length?(a[r++]=o.b[i++],a[r++]=o.b[i++]):i>=o.b.length?(a[r++]=t.b[n++],a[r++]=t.b[n++]):o.b[i]<t.b[n]||o.b[i]===t.b[n]&&o.b[i+1]<t.b[n+1]?(a[r++]=o.b[i++],a[r++]=o.b[i++]):(a[r++]=t.b[n++],a[r++]=t.b[n++]);t.b=a;}}function uHt(t,e){var n,i,r,a,o,s,c,u,l,h;return n=zv(kB(yTt(t,(uWt(),sfe)))),s=zv(kB(yTt(e,sfe))),i=$z(yTt(t,cfe),11),c=$z(yTt(e,cfe),11),r=$z(yTt(t,ufe),11),u=$z(yTt(e,ufe),11),l=!!i&&i==c,h=!!r&&r==u,n||s?(a=(!zv(kB(yTt(t,sfe)))||zv(kB(yTt(t,ofe))))&&(!zv(kB(yTt(e,sfe)))||zv(kB(yTt(e,ofe)))),o=!(zv(kB(yTt(t,sfe)))&&zv(kB(yTt(t,ofe)))||zv(kB(yTt(e,sfe)))&&zv(kB(yTt(e,ofe)))),new P$(l&&a||h&&o,l,h)):new P$($z(Q1(new Kd(t.j)),11).p==$z(Q1(new Kd(e.j)),11).p,l,h)}function lHt(t){var n,i,r,a,o,s,c,u;for(r=0,i=0,u=new XE,n=0,c=new Kd(t.n);c.a<c.c.c.length;)0==(s=$z(Q1(c),211)).c.c.length?n5(u,s,u.c.b,u.c):(r=e.Math.max(r,s.d),i+=s.a+(n>0?t.i:0)),++n;for(Jdt(t.n,u),t.d=i,t.r=r,t.g=0,t.f=0,t.e=0,t.o=BVt,t.p=BVt,o=new Kd(t.b);o.a<o.c.c.length;)a=$z(Q1(o),33),t.p=e.Math.min(t.p,a.g),t.g=e.Math.max(t.g,a.g),t.f=e.Math.max(t.f,a.f),t.o=e.Math.min(t.o,a.f),t.e+=a.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),mvt(t.j);}function hHt(t){var e,n,i,r;return 64&t.Db?Vft(t):(e=new lN(W5t),(i=t.k)?oI(oI((e.a+=' "',e),i),'"'):(!t.n&&(t.n=new tK(HIe,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new tK(HIe,t,1,7)),$z(Yet(t.n,0),137)).a)||oI(oI((e.a+=' "',e),r),'"'))),!t.b&&(t.b=new cj(PIe,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",oI(e,VD(new wx,new MD(t.b))),n&&(e.a+="]"),e.a+=e1t,n&&(e.a+="["),oI(e,VD(new wx,new MD(t.c))),n&&(e.a+="]"),e.a)}function fHt(t,e){var n,i,r,a,o,s,c;if(t.a){if(c=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.Dj())&&(-1!=(a=HI(o,VEt(91)))?(c=o.substr(a),e.a+=""+uP(null==o?GWt:(mW(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(r=!0,e.a+="<",i=new MD(t.d);i.e!=i.i.gc();)n=$z(vwt(i),87),r?r=!1:e.a+=$Wt,fHt(n,e);e.a+=">";}null!=c&&(e.a+=""+c);}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",fHt(t.b,e)):t.f&&(e.a+=" extends ",fHt(t.f,e)));}function dHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(v=t.c,x=e.c,n=x9(v.a,t,0),i=x9(x.a,e,0),y=$z(Ngt(t,(ait(),Fye)).Kc().Pb(),11),E=$z(Ngt(t,zye).Kc().Pb(),11),m=$z(Ngt(e,Fye).Kc().Pb(),11),T=$z(Ngt(e,zye).Kc().Pb(),11),b=Z0(y.e),k=Z0(E.g),w=Z0(m.e),_=Z0(T.g),Xvt(t,i,x),u=0,d=(a=w).length;u<d;++u)_J(a[u],y);for(l=0,g=(o=_).length;l<g;++l)EJ(o[l],E);for(Xvt(e,n,v),h=0,p=(s=b).length;h<p;++h)_J(s[h],m);for(c=0,f=(r=k).length;c<f;++c)EJ(r[c],T);}function gHt(t,e,n,i){var r,a,o,s,c,u;if(a=Yft(i),!zv(kB(yTt(i,(zYt(),Sbe))))&&!zv(kB(yTt(t,hbe)))||bO($z(yTt(t,twe),98)))switch(CJ(s=new SCt,t),e?((u=s.n).a=e.a-t.n.a,u.b=e.b-t.n.b,YCt(u,0,0,t.o.a,t.o.b),HAt(s,G$t(s,a))):(r=ugt(a),HAt(s,n==(ait(),zye)?r:_ft(r))),o=$z(yTt(i,(uWt(),Zhe)),21),c=s.j,a.g){case 2:case 1:(c==(vKt(),sMe)||c==EMe)&&o.Fc((fBt(),ghe));break;case 4:case 3:(c==(vKt(),oMe)||c==CMe)&&o.Fc((fBt(),ghe));}else r=ugt(a),s=B$t(t,n,n==(ait(),zye)?r:_ft(r));return s}function pHt(t,n,i){var r,a,o,s,c,u,l;return e.Math.abs(n.s-n.c)<hJt||e.Math.abs(i.s-i.c)<hJt?0:(r=YNt(t,n.j,i.e),a=YNt(t,i.j,n.e),o=0,-1==r||-1==a?(-1==r&&(new UJ((A6(),kve),i,n,1),++o),-1==a&&(new UJ((A6(),kve),n,i,1),++o)):(s=_ht(n.j,i.s,i.c),s+=_ht(i.e,n.s,n.c),c=_ht(i.j,n.s,n.c),(u=r+16*s)<(l=a+16*(c+=_ht(n.e,i.s,i.c)))?new UJ((A6(),_ve),n,i,l-u):u>l?new UJ((A6(),_ve),i,n,u-l):u>0&&l>0&&(new UJ((A6(),_ve),n,i,0),new UJ(_ve,i,n,0))),o)}function bHt(t,n){var i,r,a,o,s;for(s=new out(new Td(t.f.b).a);s.b;){if(a=$z((o=tnt(s)).cd(),594),1==n){if(a.gf()!=($ht(),FSe)&&a.gf()!=BSe)continue}else if(a.gf()!=($ht(),RSe)&&a.gf()!=jSe)continue;switch(r=$z($z(o.dd(),46).b,81),i=$z($z(o.dd(),46).a,189).c,a.gf().g){case 2:r.g.c=t.e.a,r.g.b=e.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=e.Math.max(1,r.g.b-i);break;case 4:r.g.d=t.e.b,r.g.a=e.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=e.Math.max(1,r.g.a-i);}}}function wHt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=D8(ANe,uVt,25,n.b.c.length,15,1),l=D8(Ise,OXt,267,n.b.c.length,0,1),u=D8(Ase,a1t,10,n.b.c.length,0,1),d=0,g=(f=t.a).length;d<g;++d){for(b=0,s=new Kd((h=f[d]).e);s.a<s.c.c.length;)++c[r=JI((a=$z(Q1(s),10)).c)],p=Hv(_B(yTt(n,(zYt(),ywe)))),c[r]>0&&u[r]&&(p=BL(t.b,u[r],a)),b=e.Math.max(b,a.c.c.b+p);for(o=new Kd(h.e);o.a<o.c.c.length;)(a=$z(Q1(o),10)).n.b=b+a.d.d,(i=a.c).c.b=b+a.d.d+a.o.b+a.d.a,l[x9(i.b.b,i,0)]=a.k,u[x9(i.b.b,i,0)]=a;}}function yHt(t,e){var n,i,r,a,o,s,c,u,h,f,d;for(i=new oq(ZD(gDt(e).a.Kc(),new l));gOt(i);)iD(Yet((!(n=$z(G5(i),79)).b&&(n.b=new cj(PIe,n,4,7)),n.b),0),186)||(c=CEt($z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82)),JIt(n)||(o=e.i+e.g/2,s=e.j+e.f/2,h=c.i+c.g/2,f=c.j+c.f/2,(d=new Hk).a=h-o,d.b=f-s,qxt(a=new DA(d.a,d.b),e.g,e.f),d.a-=a.a,d.b-=a.b,o=h-d.a,s=f-d.b,qxt(u=new DA(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,h=o+d.a,f=s+d.b,Ant(r=rBt(n,!0,!0),o),Int(r,s),_nt(r,h),Mnt(r,f),yHt(t,c)));}function mHt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,B4t),"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 ns))),a2(t,B4t,R4t,ywt(mEe)),a2(t,B4t,j4t,ywt(bEe)),a2(t,B4t,$4t,ywt(pEe)),a2(t,B4t,F4t,ywt(dEe)),a2(t,B4t,z4t,ywt(gEe)),a2(t,B4t,XQt,fEe),a2(t,B4t,wJt,8),a2(t,B4t,H4t,ywt(yEe)),a2(t,B4t,U4t,ywt(cEe)),a2(t,B4t,G4t,ywt(uEe)),a2(t,B4t,K2t,(cN(),!1));}function vHt(t,n){var i,r,a,o,s,c,u,l,h,f;for(MEt(n,"Simple node placement",1),f=$z(yTt(t,(uWt(),Mfe)),304),c=0,o=new Kd(t.b);o.a<o.c.c.length;){for((s=(r=$z(Q1(o),29)).c).b=0,i=null,l=new Kd(r.a);l.a<l.c.c.length;)u=$z(Q1(l),10),i&&(s.b+=Apt(u,i,f.c)),s.b+=u.d.d+u.o.b+u.d.a,i=u;c=e.Math.max(c,s.b);}for(a=new Kd(t.b);a.a<a.c.c.length;)for(h=(c-(s=(r=$z(Q1(a),29)).c).b)/2,i=null,l=new Kd(r.a);l.a<l.c.c.length;)u=$z(Q1(l),10),i&&(h+=Apt(u,i,f.c)),h+=u.d.d,u.n.b=h,h+=u.o.b+u.d.a,i=u;zCt(n);}function xHt(t,e,n,i){var r,a,o,s,c,u,l,h;if(0==i.gc())return !1;if(ZT(),o=(c=$z(e,66).Oj())?i:new pet(i.gc()),OPt(t.e,e)){if(e.hi())for(l=i.Kc();l.Ob();)qFt(t,e,u=l.Pb(),iD(e,99)&&!!($z(e,18).Bb&FVt))||(a=Z3(e,u),o.Fc(a));else if(!c)for(l=i.Kc();l.Ob();)a=Z3(e,u=l.Pb()),o.Fc(a);}else {for(h=aPt(t.e.Tg(),e),r=$z(t.g,119),s=0;s<t.i;++s)if(a=r[s],h.rl(a.ak()))throw Fw(new Rv(A9t));if(i.gc()>1)throw Fw(new Rv(A9t));c||(a=Z3(e,i.Kc().Pb()),o.Fc(a));}return sct(t,kSt(t,e,n),o)}function kHt(t,e){var n,i,r,a;for(Xet(e.b.j),VE(IX(new PU(null,new f1(e.d,16)),new aa),new oa),a=new Kd(e.d);a.a<a.c.c.length;){switch((r=$z(Q1(a),101)).e.g){case 0:n=$z(DU(r.j,0),113).d.j,Hf(r,$z(IN(Aq($z(c6(r.k,n),15).Oc(),Wue)),113)),zf(r,$z(IN(Sq($z(c6(r.k,n),15).Oc(),Wue)),113));break;case 1:i=zvt(r),Hf(r,$z(IN(Aq($z(c6(r.k,i[0]),15).Oc(),Wue)),113)),zf(r,$z(IN(Sq($z(c6(r.k,i[1]),15).Oc(),Wue)),113));break;case 2:WSt(t,r);break;case 3:RNt(r);break;case 4:UNt(t,r);}Wet(r);}t.a=null;}function _Ht(t,e,n){var i,r,a,o,s,c,u,l;return i=t.a.o==(oJ(),ive)?BVt:RVt,!(s=rFt(t,new rA(e,n))).a&&s.c?(NH(t.d,s),i):s.a?(r=s.a.c,c=s.a.d,n?(u=t.a.c==(gQ(),Jme)?c:r,a=t.a.c==Jme?r:c,o=t.a.g[a.i.p],l=Hv(t.a.p[o.p])+Hv(t.a.d[a.i.p])+a.n.b+a.a.b-Hv(t.a.d[u.i.p])-u.n.b-u.a.b):(u=t.a.c==(gQ(),Qme)?c:r,a=t.a.c==Qme?r:c,l=Hv(t.a.p[t.a.g[a.i.p].p])+Hv(t.a.d[a.i.p])+a.n.b+a.a.b-Hv(t.a.d[u.i.p])-u.n.b-u.a.b),t.a.n[t.a.g[r.i.p].p]=(cN(),!0),t.a.n[t.a.g[c.i.p].p]=!0,l):i}function EHt(t,e,n){var i,r,a,o,s,c,u;if(OPt(t.e,e))ZT(),IIt((s=$z(e,66).Oj()?new lU(e,t):new DM(e,t)).c,s.b),ZL(s,$z(n,14));else {for(u=aPt(t.e.Tg(),e),i=$z(t.g,119),a=0;a<t.i;++a)if(r=i[a].ak(),u.rl(r)){if(r==(_It(),cDe)||r==aDe){for(o=a,(c=Myt(t,e,n))?lBt(t,a):++a;a<t.i;)(r=i[a].ak())==cDe||r==aDe?lBt(t,a):++a;c||$z(syt(t,o,Z3(e,n)),72);}else Myt(t,e,n)?lBt(t,a):$z(syt(t,a,(ZT(),$z(e,66).Oj()?$z(n,72):Z3(e,n))),72);return}Myt(t,e,n)||u7(t,(ZT(),$z(e,66).Oj()?$z(n,72):Z3(e,n)));}}function THt(t,e,n){var i,r,a,o,s,c,u,l;return Dht(n,t.b)||(t.b=n,a=new Zt,o=$z(T4(IX(new PU(null,new f1(n.f,16)),a),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),qne),Gne]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,r=o.Hc((zwt(),$re)),i=o.Hc(Fre),r&&!i&&(t.f=!1),!r&&i&&(t.d=!1),r=o.Hc(jre),i=o.Hc(zre),r&&!i&&(t.c=!1),!r&&i&&(t.e=!1)),l=$z(t.a.Ce(e,n),46),c=$z(l.a,19).a,u=$z(l.b,19).a,s=!1,c<0?t.c||(s=!0):t.e||(s=!0),u<0?t.d||(s=!0):t.f||(s=!0),s?THt(t,l,n):l}function CHt(t){var n,i,r,a;a=t.o,zB(),t.A.dc()||Dht(t.A,Ire)?n=a.b:(n=EMt(t.f),t.A.Hc((ypt(),PMe))&&!t.B.Hc((Jjt(),qMe))&&(n=e.Math.max(n,EMt($z(oX(t.p,(vKt(),oMe)),244))),n=e.Math.max(n,EMt($z(oX(t.p,CMe),244)))),(i=sot(t))&&(n=e.Math.max(n,i.b)),t.A.Hc(BMe)&&(t.q!=(X_t(),KAe)&&t.q!=qAe||(n=e.Math.max(n,qH($z(oX(t.b,(vKt(),oMe)),124))),n=e.Math.max(n,qH($z(oX(t.b,CMe),124)))))),zv(kB(t.e.yf().We((cWt(),jCe))))?a.b=e.Math.max(a.b,n):a.b=n,(r=t.f.i).d=0,r.a=n,UFt(t.f);}function SHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(l=0;l<e.length;l++){for(o=t.Kc();o.Ob();)$z(o.Pb(),225).Of(l,e);for(h=0;h<e[l].length;h++){for(s=t.Kc();s.Ob();)$z(s.Pb(),225).Pf(l,h,e);for(d=e[l][h].j,f=0;f<d.c.length;f++){for(c=t.Kc();c.Ob();)$z(c.Pb(),225).Qf(l,h,f,e);for(l1(f,d.c.length),n=0,r=new w6($z(d.c[f],11).b);yL(r.a)||yL(r.b);)for(i=$z(yL(r.a)?Q1(r.a):Q1(r.b),17),u=t.Kc();u.Ob();)$z(u.Pb(),225).Nf(l,h,f,n++,i,e);}}}for(a=t.Kc();a.Ob();)$z(a.Pb(),225).Mf();}function AHt(t,e){var n,i,r,a,o;for(t.b=Hv(_B(yTt(e,(zYt(),mwe)))),t.c=Hv(_B(yTt(e,kwe))),t.d=$z(yTt(e,nbe),336),t.a=$z(yTt(e,Tpe),275),lmt(e),r=(a=$z(T4(MX(MX(ftt(ftt(new PU(null,new f1(e.b,16)),new vn),new xn),new kn),new _n),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15)).Kc();r.Ob();)n=$z(r.Pb(),17),$z(yTt(n,(uWt(),Lfe)),15).Jc(new tp(t)),uct(n,Lfe,null);for(i=a.Kc();i.Ob();)n=$z(i.Pb(),17),o=$z(yTt(n,(uWt(),Dfe)),17),$Yt(t,$z(yTt(n,Ife),15),o),uct(n,Ife,null);}function MHt(t){t.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 IHt(t){var e,n,i,r,a;if(t.k!=(oCt(),Cse))return !1;if(t.j.c.length<=1)return !1;if($z(yTt(t,(zYt(),twe)),98)==(X_t(),qAe))return !1;if(fyt(),(i=(t.q?t.q:(EV(),EV(),une))._b(Pbe)?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197))==lye)return !1;if(i!=uye&&i!=cye){if(r=Hv(_B(ept(t,Lwe))),!(e=$z(yTt(t,Owe),142))&&(e=new FR(r,r,r,r)),a=adt(t,(vKt(),CMe)),e.d+e.a+(a.gc()-1)*r>t.o.b)return !1;if(n=adt(t,oMe),e.d+e.a+(n.gc()-1)*r>t.o.b)return !1}return !0}function OHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(o=t.e,c=e.e,0==o)return e;if(0==c)return t;if((a=t.d)+(s=e.d)==2)return n=t0(t.a[0],qVt),i=t0(e.a[0],qVt),o==c?(g=dG(l=idt(n,i)),0==(d=dG(vq(l,32)))?new q6(o,g):new lK(o,2,Cst(Hx(ANe,1),uVt,25,15,[g,d]))):Jbt(o<0?ndt(i,n):ndt(n,i));if(o==c)f=o,h=a>=s?L8(t.a,a,e.a,s):L8(e.a,s,t.a,a);else {if(0==(r=a!=s?a>s?1:-1:Eut(t.a,e.a,a)))return MBt(),ene;1==r?(f=o,h=d6(t.a,a,e.a,s)):(f=c,h=d6(e.a,s,t.a,a));}return q0(u=new lK(f,h.length,h)),u}function LHt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g;return f=zv(kB(yTt(n,(zYt(),Abe)))),d=null,o==(ait(),Fye)&&r.c.i==i?d=r.c:o==zye&&r.d.i==i&&(d=r.d),(l=s)&&f&&!d?(Kz(l.e,r),g=e.Math.max(Hv(_B(yTt(l.d,rbe))),Hv(_B(yTt(r,rbe)))),uct(l.d,rbe,g)):(vKt(),h=TMe,d?h=d.j:bO($z(yTt(i,twe),98))&&(h=o==Fye?CMe:oMe),u=NHt(t,n,i,o,h,r),c=K5((bW(i),r)),o==Fye?(EJ(c,$z(DU(u.j,0),11)),_J(c,a)):(EJ(c,a),_J(c,$z(DU(u.j,0),11))),l=new Ght(r,c,u,$z(yTt(u,(uWt(),dfe)),11),o,!d)),ZMt(t.a,r,new O$(l.d,n,o)),l}function DHt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=null,t.d&&(l=$z(EQ(t.d,e),138)),!l){if(h=(a=t.a.Mh()).i,!t.d||LE(t.d)!=h){for(c=new Dw,t.d&&_at(c,t.d),s=u=c.f.c+c.g.c;s<h;++s)i=$z(Yet(a,s),138),(n=$z(null==(r=Sht(t.e,i).ne())?xAt(c.f,null,i):odt(c.g,r,i),138))&&n!=i&&(null==r?xAt(c.f,null,n):odt(c.g,r,n));if(c.f.c+c.g.c!=h)for(o=0;o<u;++o)i=$z(Yet(a,o),138),(n=$z(null==(r=Sht(t.e,i).ne())?xAt(c.f,null,i):odt(c.g,r,i),138))&&n!=i&&(null==r?xAt(c.f,null,n):odt(c.g,r,n));t.d=c;}l=$z(EQ(t.d,e),138);}return l}function NHt(t,e,n,i,r,a){var o,s,c,u,l,h;return o=null,u=i==(ait(),Fye)?a.c:a.d,c=Yft(e),u.i==n?(o=$z(PY(t.b,u),10))||(uct(o=fYt(u,$z(yTt(n,(zYt(),twe)),98),r,zjt(u),null,u.n,u.o,c,e),(uWt(),dfe),u),YW(t.b,u,o)):(s=I_t(o=fYt((l=new Qt,h=Hv(_B(yTt(e,(zYt(),ywe))))/2,cct(l,Jbe,h),l),$z(yTt(n,twe),98),r,i==Fye?-1:1,null,new Hk,new DA(0,0),c,e),n,i),uct(o,(uWt(),dfe),s),YW(t.b,s,o)),$z(yTt(e,(uWt(),Zhe)),21).Fc((fBt(),lhe)),bO($z(yTt(e,(zYt(),twe)),98))?uct(e,twe,(X_t(),YAe)):uct(e,twe,(X_t(),WAe)),o}function PHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;MEt(e,"Orthogonal edge routing",1),u=Hv(_B(yTt(t,(zYt(),Mwe)))),n=Hv(_B(yTt(t,mwe))),i=Hv(_B(yTt(t,kwe))),f=new uY(0,n),p=0,o=new _2(t.b,0),s=null,l=null,c=null,h=null;do{h=(l=o.b<o.d.gc()?(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),29)):null)?l.a:null,s&&(_Ut(s,p),p+=s.c.a),g=IGt(f,t,c,h,s?p+i:p),r=!s||YM(c,(gPt(),vve)),a=!l||YM(h,(gPt(),vve)),g>0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d<u&&!r&&!a&&(d=u),p+=d):!r&&!a&&(p+=u),s=l,c=h;}while(l);t.f.a=p,zCt(e);}function BHt(){var t;BHt=I,vOe=new Em,yOe=D8(Xee,cXt,2,0,6,1),_Oe=e0(Fst(33,58),Fst(1,26)),EOe=e0(Fst(97,122),Fst(65,90)),TOe=Fst(48,57),xOe=e0(_Oe,0),kOe=e0(EOe,TOe),COe=e0(e0(0,Fst(1,6)),Fst(33,38)),SOe=e0(e0(TOe,Fst(65,70)),Fst(97,102)),LOe=e0(xOe,gwt("-_.!~*'()")),DOe=e0(kOe,Kgt("-_.!~*'()")),gwt(o7t),Kgt(o7t),e0(LOe,gwt(";:@&=+$,")),e0(DOe,Kgt(";:@&=+$,")),AOe=gwt(":/?#"),MOe=Kgt(":/?#"),IOe=gwt("/?#"),OOe=Kgt("/?#"),(t=new Py).a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),EV(),mOe=new Mx(t);}function RHt(t,e){var n,i,r,a,o;if(uct(e,(HUt(),oxe),0),r=$z(yTt(e,rxe),86),0==e.d.b)r?(o=Hv(_B(yTt(r,uxe)))+t.a+x5(r,e),uct(e,uxe,o)):uct(e,uxe,0);else {for(n=new fb(cwt(new hb(e).a.d,0));x_(n.a);)RHt(t,$z(h3(n.a),188).c);i=$z(eD(new fb(cwt(new hb(e).a.d,0))),86),a=(Hv(_B(yTt($z(kN(new fb(cwt(new hb(e).a.d,0))),86),uxe)))+Hv(_B(yTt(i,uxe))))/2,r?(o=Hv(_B(yTt(r,uxe)))+t.a+x5(r,e),uct(e,uxe,o),uct(e,oxe,Hv(_B(yTt(e,uxe)))-a),AGt(t,e)):uct(e,uxe,a);}}function jHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;s=0,d=0,c=kQ(t.f,t.f.length),a=t.d,o=t.i,i=t.a,r=t.b;do{for(f=0,u=new Kd(t.p);u.a<u.c.c.length;)h=MGt(t,$z(Q1(u),10)),n=!0,(t.q==(cNt(),kye)||t.q==Tye)&&(n=zv(kB(h.b))),$z(h.a,19).a<0&&n?(++f,c=kQ(t.f,t.f.length),t.d=t.d+$z(h.a,19).a,d+=a-t.d,a=t.d+$z(h.a,19).a,o=t.i,i=r0(t.a),r=r0(t.b)):(t.f=kQ(c,c.length),t.d=a,t.a=(yY(i),i?new Jj(i):Fz(new Kd(i))),t.b=(yY(r),r?new Jj(r):Fz(new Kd(r))),t.i=o);++s,l=0!=f&&zv(kB(e.Kb(new nM(nft(d),nft(s)))));}while(l)}function $Ht(t,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return o=t.f,f=n.f,s=o==(VDt(),D_e)||o==P_e,c=o==N_e||o==B_e,d=f==N_e||f==B_e,u=o==N_e||o==D_e,g=f==N_e||f==D_e,!s||f!=D_e&&f!=P_e?c&&d?t.f==B_e?t:n:u&&g?(o==N_e?(h=t,l=n):(h=n,l=t),p=i.j+i.f,b=h.e+r.f,w=e.Math.max(p,b)-e.Math.min(i.j,h.e),a=(h.d+r.g-i.i)*w,y=i.i+i.g,m=l.d+r.g,a<=(e.Math.max(y,m)-e.Math.min(i.i,l.d))*(l.e+r.f-i.j)?t.f==N_e?t:n:t.f==D_e?t:n):t:t.f==P_e?t:n}function FHt(t){var e,n,i,r,a,o,s,c,u,l;for(u=t.e.a.c.length,a=new Kd(t.e.a);a.a<a.c.c.length;)$z(Q1(a),121).j=!1;for(t.i=D8(ANe,uVt,25,u,15,1),t.g=D8(ANe,uVt,25,u,15,1),t.n=new Lw,r=0,l=new Lw,s=new Kd(t.e.a);s.a<s.c.c.length;)(o=$z(Q1(s),121)).d=r++,0==o.b.a.c.length&&Kz(t.n,o),pst(l,o.g);for(e=0,i=new Kd(l);i.a<i.c.c.length;)(n=$z(Q1(i),213)).c=e++,n.f=!1;c=l.c.length,null==t.b||t.b.length<c?(t.b=D8(LNe,HVt,25,c,15,1),t.c=D8(MNe,QZt,25,c,16,1)):Qv(t.c),t.d=l,t.p=new ON(tet(t.d.c.length)),t.j=1;}function zHt(t,e){var n,i,r,a,o,s,c,u,l;if(!(e.e.c.length<=1)){for(t.f=e,t.d=$z(yTt(t.f,(ixt(),boe)),379),t.g=$z(yTt(t.f,voe),19).a,t.e=Hv(_B(yTt(t.f,woe))),t.c=Hv(_B(yTt(t.f,poe))),iY(t.b),r=new Kd(t.f.c);r.a<r.c.c.length;)i=$z(Q1(r),282),mjt(t.b,i.c,i,null),mjt(t.b,i.d,i,null);for(s=t.f.e.c.length,t.a=mU(LNe,[cXt,HVt],[104,25],15,[s,s],2),u=new Kd(t.f.e);u.a<u.c.c.length;)Szt(t,c=$z(Q1(u),144),t.a[c.b]);for(t.i=mU(LNe,[cXt,HVt],[104,25],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 HHt(t){var e,n,i,r;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,r=0;r<t.b.length;){for(e!=r?(t.b[e]=t.b[r++],t.b[e+1]=t.b[r++]):r+=2,n=t.b[e+1];r<t.b.length&&!(n+1<t.b[r]);)if(n+1==t.b[r])t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2;else if(n>=t.b[r+1])r+=2;else {if(!(n<t.b[r+1]))throw Fw(new dv("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[r]+","+t.b[r+1]+"]"));t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2;}e+=2;}e!=t.b.length&&(i=D8(ANe,uVt,25,e,15,1),aHt(t.b,0,i,0,e),t.b=i),t.a=!0;}}function UHt(t,e){var n,i,r,a,o,s,c;for(o=gq(t.a).Kc();o.Ob();){if((a=$z(o.Pb(),17)).b.c.length>0)for(i=new Jj($z(c6(t.a,a),21)),EV(),wL(i,new Rg(e)),r=new _2(a.b,0);r.b<r.d.gc();){switch(TP(r.b<r.d.gc()),n=$z(r.d.Xb(r.c=r.b++),70),s=-1,$z(yTt(n,(zYt(),Xpe)),272).g){case 1:s=i.c.length-1;break;case 0:s=Zkt(i);break;case 2:s=0;}-1!=s&&(l1(s,i.c.length),Kz((c=$z(i.c[s],243)).b.b,n),$z(yTt(bW(c.b.c.i),(uWt(),Zhe)),21).Fc((fBt(),uhe)),$z(yTt(bW(c.b.c.i),Zhe),21).Fc(she),uW(r),uct(n,bfe,a));}EJ(a,null),_J(a,null);}}function GHt(t,e){var n,i,r,a;return n=new jt,1==(r=2==(r=(i=$z(T4(IX(new PU(null,new f1(t.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),qne),Gne]))),21)).gc())?1:0)&&WM(hpt($z(T4(MX(i.Lc(),new $t),Yat(xbt(0),new nt)),162).a,2),0)&&(r=0),1==(a=2==(a=(i=$z(T4(IX(new PU(null,new f1(e.f,16)),n),D9(new V,new Z,new rt,new at,Cst(Hx(Qne,1),OXt,132,0,[qne,Gne]))),21)).gc())?1:0)&&WM(hpt($z(T4(MX(i.Lc(),new Ft),Yat(xbt(0),new nt)),162).a,2),0)&&(a=0),r<a?-1:r==a?0:1}function qHt(t){var e,n,i,r,a,o,s,c,u,l,h;if(c=new Lw,!OP(t,(uWt(),Khe)))return c;for(i=$z(yTt(t,Khe),15).Kc();i.Ob();)gUt(e=$z(i.Pb(),10),t),c.c[c.c.length]=e;for(r=new Kd(t.b);r.a<r.c.c.length;)for(o=new Kd($z(Q1(r),29).a);o.a<o.c.c.length;)(a=$z(Q1(o),10)).k==(oCt(),_se)&&(s=$z(yTt(a,Yhe),10))&&(CJ(u=new SCt,a),HAt(u,$z(yTt(a,Whe),61)),l=$z(DU(s.j,0),11),EJ(h=new fZ,u),_J(h,l));for(n=new Kd(c);n.a<n.c.c.length;)TJ(e=$z(Q1(n),10),$z(DU(t.b,t.b.c.length-1),29));return c}function KHt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(a=zv(kB(QOt(e=KQ(t),(zYt(),fbe)))),l=0,r=0,u=new MD((!t.e&&(t.e=new cj(BIe,t,7,4)),t.e));u.e!=u.i.gc();)o=(s=XMt(c=$z(vwt(u),79)))&&a&&zv(kB(QOt(c,dbe))),f=CEt($z(Yet((!c.c&&(c.c=new cj(PIe,c,5,8)),c.c),0),82)),s&&o?++r:s&&!o?++l:VQ(f)==e||f==e?++r:++l;for(i=new MD((!t.d&&(t.d=new cj(BIe,t,8,5)),t.d));i.e!=i.i.gc();)o=(s=XMt(n=$z(vwt(i),79)))&&a&&zv(kB(QOt(n,dbe))),h=CEt($z(Yet((!n.b&&(n.b=new cj(PIe,n,4,7)),n.b),0),82)),s&&o?++l:s&&!o?++r:VQ(h)==e||h==e?++l:++r;return l-r}function YHt(t,e){var n,i,r,a,o,s,c,u,l;if(MEt(e,"Edge splitting",1),t.b.c.length<=2)zCt(e);else {for(TP((a=new _2(t.b,0)).b<a.d.gc()),o=$z(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(r=o,TP(a.b<a.d.gc()),o=$z(a.d.Xb(a.c=a.b++),29),s=new Kd(r.a);s.a<s.c.c.length;)for(c=new Kd($z(Q1(s),10).j);c.a<c.c.c.length;)for(i=new Kd($z(Q1(c),11).g);i.a<i.c.c.length;)(u=(n=$z(Q1(i),17)).d.i.c)!=r&&u!=o&&GPt(n,($f(l=new Oyt(t),(oCt(),Tse)),uct(l,(uWt(),dfe),n),uct(l,(zYt(),twe),(X_t(),qAe)),TJ(l,o),l));zCt(e);}}function WHt(t,e){var n,i,r,a,o,s,c,u,l;if((o=null!=e.p&&!e.b)||MEt(e,aJt,1),a=1/(n=$z(yTt(t,(uWt(),_fe)),15)).gc(),e.n)for(AH(e,"ELK Layered uses the following "+n.gc()+" modules:"),l=0,u=n.Kc();u.Ob();)AH(e," Slot "+(l<10?"0":"")+l+++": "+Qk(tut($z(u.Pb(),51))));for(c=n.Kc();c.Ob();)$z(c.Pb(),51).pf(t,yat(e,a));for(r=new Kd(t.b);r.a<r.c.c.length;)i=$z(Q1(r),29),pst(t.a,i.a),i.a.c=D8(Ite,zWt,1,0,5,1);for(s=new Kd(t.a);s.a<s.c.c.length;)TJ($z(Q1(s),10),null);t.b.c=D8(Ite,zWt,1,0,5,1),o||zCt(e);}function XHt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;r=Hv(_B(yTt(n,(zYt(),Nbe)))),f=4,a=3,k=20/(x=$z(yTt(n,Dwe),19).a),d=!1,u=0,s=PWt;do{for(o=1!=u,h=0!=u,_=0,y=0,v=(b=t.a).length;y<v;++y)(g=b[y]).f=null,Fqt(t,g,o,h,r),_+=e.Math.abs(g.a);do{c=q$t(t,n);}while(c);for(w=0,m=(p=t.a).length;w<m;++w)if(0!=(i=fK(g=p[w]).a))for(l=new Kd(g.e);l.a<l.c.c.length;)$z(Q1(l),10).n.b+=i;0==u||1==u?--f<=0&&(_<s||-f>x)?(u=2,s=PWt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_<k,s=_,d&&--a);}while(!(d&&a<=0))}function VHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(g=new Dw,a=t.a.ec().Kc();a.Ob();)YW(g,i=$z(a.Pb(),168),n.Je(i));for(yY(t),wL(o=t?new Jj(t):Fz(t.a.ec().Kc()),new xg(g)),s=E4(o),c=new CL(e),xAt((d=new Dw).f,e,c);0!=s.a.gc();){for(u=null,l=null,h=null,r=s.a.ec().Kc();r.Ob();)if(i=$z(r.Pb(),168),Hv(_B(zM(MZ(g.f,i))))<=BVt){if(cK(d,i.a)&&!cK(d,i.b)){l=i.b,h=i.a,u=i;break}if(cK(d,i.b)&&!cK(d,i.a)){l=i.a,h=i.b,u=i;break}}if(!u)break;f=new CL(l),Kz($z(zM(MZ(d.f,h)),221).a,f),xAt(d.f,l,f),s.a.Bc(u);}return c}function ZHt(t,e,n){var i,r,a,o,s,c,u,l;for(MEt(n,"Depth-first cycle removal",1),c=(u=e.a).c.length,t.c=new Lw,t.d=D8(MNe,QZt,25,c,16,1),t.a=D8(MNe,QZt,25,c,16,1),t.b=new Lw,a=0,s=new Kd(u);s.a<s.c.c.length;)(o=$z(Q1(s),10)).p=a,c3(ldt(o))&&Kz(t.c,o),++a;for(l=new Kd(t.c);l.a<l.c.c.length;)USt(t,$z(Q1(l),10));for(r=0;r<c;r++)t.d[r]||(l1(r,u.c.length),USt(t,$z(u.c[r],10)));for(i=new Kd(t.b);i.a<i.c.c.length;)tzt($z(Q1(i),17),!0),uct(e,(uWt(),zhe),(cN(),!0));t.c=null,t.d=null,t.a=null,t.b=null,zCt(n);}function QHt(t,e){var n,i,r,a,o,s,c;for(t.a.c=D8(Ite,zWt,1,0,5,1),i=cwt(e.b,0);i.b!=i.d.c;)0==(n=$z(h3(i),86)).b.b&&(uct(n,(HUt(),dxe),(cN(),!0)),Kz(t.a,n));switch(t.a.c.length){case 0:uct(r=new rut(0,e,"DUMMY_ROOT"),(HUt(),dxe),(cN(),!0)),uct(r,txe,!0),NH(e.b,r);break;case 1:break;default:for(a=new rut(0,e,"SUPER_ROOT"),s=new Kd(t.a);s.a<s.c.c.length;)uct(c=new GV(a,o=$z(Q1(s),86)),(HUt(),txe),(cN(),!0)),NH(a.a.a,c),NH(a.d,c),NH(o.b,c),uct(o,dxe,!1);uct(a,(HUt(),dxe),(cN(),!0)),uct(a,txe,!0),NH(e.b,a);}}function JHt(t,n){var i,r,a,o,s,c;return xBt(),o=n.c-(t.c+t.b),a=t.c-(n.c+n.b),s=t.d-(n.d+n.a),i=n.d-(t.d+t.a),r=e.Math.max(a,o),c=e.Math.max(s,i),cL(),iit(I3t),(e.Math.abs(r)<=I3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:UI(isNaN(r),isNaN(0)))>=0^(iit(I3t),(e.Math.abs(c)<=I3t||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:UI(isNaN(c),isNaN(0)))>=0)?e.Math.max(c,r):(iit(I3t),(e.Math.abs(r)<=I3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:UI(isNaN(r),isNaN(0)))>0?e.Math.sqrt(c*c+r*r):-e.Math.sqrt(c*c+r*r))}function tUt(t,e){var n,i,r,a,o;if(e)if(!t.a&&(t.a=new Ry),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=$z(hW(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?Cy(t.a,e):(0==e.e||e.bm().length,0==a.e?(n=new Tx,(i=a._l())>=FVt?iI(n,Kft(i)):LY(n,i&XXt),a=new bQ(10,null,0),mK(t.a,a,o-1)):(a.bm().length,iI(n=new Tx,a.bm())),0==e.e?(i=e._l())>=FVt?iI(n,Kft(i)):LY(n,i&XXt):iI(n,e.bm()),$z(a,521).b=n.a):Cy(t.a,e);else for(r=0;r<e.em();r++)tUt(t,e.am(r));else Cy(t.a,e);}function eUt(t){var e,n,i,r,a;return null!=t.g?t.g:t.a<32?(t.g=PKt(lot(t.f),CQ(t.e)),t.g):(r=HYt((!t.c&&(t.c=mlt(t.f)),t.c),0),0==t.e?r:(e=(!t.c&&(t.c=mlt(t.f)),t.c).e<0?2:1,n=r.length,i=-t.e+n-e,(a=new Cx).a+=""+r,t.e>0&&i>=-6?i>=0?mJ(a,n-CQ(t.e),String.fromCharCode(46)):(a.a=uP(a.a,0,e-1)+"0."+QM(a.a,e-1),mJ(a,e+1,Fpt(Hee,0,-CQ(i)-1))):(n-e>=1&&(mJ(a,e,String.fromCharCode(46)),++n),mJ(a,n,String.fromCharCode(69)),i>0&&mJ(a,++n,String.fromCharCode(43)),mJ(a,++n,""+bq(lot(i)))),t.g=a.a,t.g))}function nUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!n.dc()){for(o=0,l=0,f=$z((i=n.Kc()).Pb(),19).a;o<e.f;){if(o==f&&(l=0,f=i.Ob()?$z(i.Pb(),19).a:e.f+1),o!=l)for(d=$z(DU(t.b,o),29),h=$z(DU(t.b,l),29),u=new Kd(r0(d.a));u.a<u.c.c.length;)if(Xvt(c=$z(Q1(u),10),h.a.c.length,h),0==l)for(a=new Kd(r0(ldt(c)));a.a<a.c.c.length;)tzt(r=$z(Q1(a),17),!0),uct(t,(uWt(),zhe),(cN(),!0)),nGt(t,r,1);++l,++o;}for(s=new _2(t.b,0);s.b<s.d.gc();)TP(s.b<s.d.gc()),0==$z(s.d.Xb(s.c=s.b++),29).a.c.length&&uW(s);}}function iUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=(o=e.b).o,c=o.d,i=Hv(_B(pwt(o,(zYt(),ywe)))),r=Hv(_B(pwt(o,vwe))),u=Hv(_B(pwt(o,Iwe))),nH(s=new um,c.d,c.c,c.a,c.b),f=ERt(e,i,r,u),w=new Kd(e.d);w.a<w.c.c.length;){for(g=(b=$z(Q1(w),101)).f.a.ec().Kc();g.Ob();)a=(d=$z(g.Pb(),409)).a,h=kEt(d),y=new mm,fEt(d,d.c,f,y),$Tt(d,h,f,y),fEt(d,d.d,f,y),n=y,n=t.Uf(d,h,n),yV(a.a),$rt(a.a,n),VE(new PU(null,new f1(n,16)),new fS(l,s));(p=b.i)&&(aEt(b,p,f,r),bbt(l,s,m=new fO(p.g)),GR(m,p.j),bbt(l,s,m));}nH(c,s.d,s.c,s.a,s.b);}function rUt(t,e,n){var i,r,a;if((r=$z(yTt(e,(zYt(),Tpe)),275))!=(ZTt(),ihe)){switch(MEt(n,"Horizontal Compaction",1),t.a=e,Yx(i=new mIt(((a=new S9).d=e,a.c=$z(yTt(a.d,Zpe),218),qBt(a),TGt(a),cRt(a),a.a)),t.b),1===$z(yTt(e,Epe),422).g?Kx(i,new prt(t.a)):Kx(i,(CV(),uie)),r.g){case 1:SLt(i);break;case 2:SLt(_qt(i,($ht(),jSe)));break;case 3:SLt(Gx(_qt(SLt(i),($ht(),jSe)),new br));break;case 4:SLt(Gx(_qt(SLt(i),($ht(),jSe)),new mp(a)));break;case 5:SLt(qx(i,fue));}_qt(i,($ht(),RSe)),i.e=!0,Lqt(a),zCt(n);}}function aUt(t,e,n,i,r,a,o,s){var c,u,l,h;switch(c=a6(Cst(Hx(j_e,1),zWt,220,0,[e,n,i,r])),h=null,t.b.g){case 1:h=a6(Cst(Hx(Jke,1),zWt,526,0,[new Jo,new Zo,new Qo]));break;case 0:h=a6(Cst(Hx(Jke,1),zWt,526,0,[new Qo,new Zo,new Jo]));break;case 2:h=a6(Cst(Hx(Jke,1),zWt,526,0,[new Zo,new Jo,new Qo]));}for(l=new Kd(h);l.a<l.c.c.length;)u=$z(Q1(l),526),c.c.length>1&&(c=u.mg(c,t.a,s));return 1==c.c.length?$z(DU(c,c.c.length-1),220):2==c.c.length?$Ht((l1(0,c.c.length),$z(c.c[0],220)),(l1(1,c.c.length),$z(c.c[1],220)),o,a):null}function oUt(t){var n,i,r,a,o,s;for(Met(t.a,new Jt),i=new Kd(t.a);i.a<i.c.c.length;)n=$z(Q1(i),221),r=qR($L($z(t.b,65).c),$z(n.b,65).c),tae?(s=$z(t.b,65).b,o=$z(n.b,65).b,e.Math.abs(r.a)>=e.Math.abs(r.b)?(r.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&LH(r,e.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(r.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&LH(r,e.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):LH(r,_Ft($z(t.b,65),$z(n.b,65))),a=e.Math.sqrt(r.a*r.a+r.b*r.b),LH(r,a=z_t(Kre,n,a,r)),OG($z(n.b,65),r),Met(n.a,new Mg(r)),$z(Kre.b,65),B8(Kre,Yre,n);}function sUt(t){var n,i,r,a,o,s,c,u,h,f,d,g;for(t.f=new jy,c=0,r=0,a=new Kd(t.e.b);a.a<a.c.c.length;)for(s=new Kd($z(Q1(a),29).a);s.a<s.c.c.length;){for((o=$z(Q1(s),10)).p=c++,i=new oq(ZD(hdt(o).a.Kc(),new l));gOt(i);)$z(G5(i),17).p=r++;for(n=IHt(o),f=new Kd(o.j);f.a<f.c.c.length;)h=$z(Q1(f),11),n&&(g=h.a.b)!=e.Math.floor(g)&&(u=g-v2(lot(e.Math.round(g))),h.a.b-=u),(d=h.n.b+h.a.b)!=e.Math.floor(d)&&(u=d-v2(lot(e.Math.round(d))),h.n.b-=u);}t.g=c,t.b=r,t.i=D8(tve,zWt,401,c,0,1),t.c=D8(Vme,zWt,649,r,0,1),t.d.a.$b();}function cUt(t){var e,n,i,r,a,o,s,c,u;if(t.ej())if(c=t.fj(),t.i>0){if(e=new NM(t.i,t.g),a=(n=t.i)<100?null:new jk(n),t.ij())for(i=0;i<t.i;++i)o=t.g[i],a=t.kj(o,a);if(r6(t),r=1==n?t.Zi(4,Yet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new rP(e);i.e!=i.i.gc();)a=t.dj(xwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r);}else a?(a.Ei(r),a.Fi()):t.$i(r);}else r6(t),t.$i(t.Zi(6,(EV(),cne),null,-1,c));else if(t.bj())if(t.i>0){for(s=t.g,u=t.i,r6(t),a=u<100?null:new jk(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi();}else r6(t);else r6(t);}function uUt(t,n,i){var r,a,o,s,c,u,l,h,f;for(jot(this),i==(dQ(),Ove)?kK(this.r,t):kK(this.w,t),h=BVt,l=RVt,s=n.a.ec().Kc();s.Ob();)a=$z(s.Pb(),46),c=$z(a.a,455),(u=(r=$z(a.b,17)).c)==t&&(u=r.d),kK(c==Ove?this.r:this.w,u),f=(vKt(),yMe).Hc(u.j)?Hv(_B(yTt(u,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).b,h=e.Math.min(h,f),l=e.Math.max(l,f);for(KTt(this,(vKt(),yMe).Hc(t.j)?Hv(_B(yTt(t,(uWt(),Ofe)))):Ict(Cst(Hx(TTe,1),cXt,8,0,[t.i.n,t.n,t.a])).b,h,l),o=n.a.ec().Kc();o.Ob();)a=$z(o.Pb(),46),tSt(this,$z(a.b,17));this.o=!1;}function lUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return n=8191&t.l,i=t.l>>13|(15&t.m)<<9,r=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,b=i*(s=8191&e.l),w=r*s,y=a*s,m=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(b+=n*c,w+=i*c,y+=r*c,m+=a*c),0!=(u=e.m>>4&8191)&&(w+=n*u,y+=i*u,m+=r*u),0!=(l=e.m>>17|(255&e.h)<<5)&&(y+=n*l,m+=i*l),0!=(h=(1048320&e.h)>>8)&&(m+=n*h),d=((p=n*s)>>22)+(b>>9)+((262143&w)<<4)+((31&y)<<17),g=(w>>18)+(y>>5)+((4095&m)<<8),g+=(d+=(f=(p&TVt)+((511&b)<<13))>>22)>>22,_L(f&=TVt,d&=TVt,g&=CVt)}function hUt(t){var n,i,r,a,o,s,c;if(0!=(c=$z(DU(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw Fw(new jv("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=BVt,i=new Kd(c.g);i.a<i.c.c.length;)n=$z(Q1(i),17),r=$z(yTt(s=n.d.i,(zYt(),Cbe)),142),o=e.Math.min(o,s.n.a-r.b);return new Fh(yY(o))}if(0!=c.e.c.length){for(a=RVt,i=new Kd(c.e);i.a<i.c.c.length;)n=$z(Q1(i),17),r=$z(yTt(s=n.c.i,(zYt(),Cbe)),142),a=e.Math.max(a,s.n.a+s.o.a+r.c);return new Fh(yY(a))}return ev(),ev(),Mte}function fUt(t,e){var n,i,r,a,o,s;if(t.Fk()){if(t.i>4){if(!t.wj(e))return !1;if(t.rk()){if(s=(n=(i=$z(e,49)).Ug())==t.e&&(t.Dk()?i.Og(i.Vg(),t.zk())==t.Ak():-1-i.Vg()==t.aj()),t.Ek()&&!s&&!n&&i.Zg())for(r=0;r<t.i;++r)if(HM(t.Gk($z(t.g[r],56)))===HM(e))return !0;return s}if(t.Dk()&&!t.Ck()){if(HM(a=$z(e,56).ah(Syt($z(t.ak(),18))))===HM(t.e))return !0;if(null==a||!$z(a,56).kh())return !1}}if(o=Tkt(t,e),t.Ek()&&!o)for(r=0;r<t.i;++r)if(HM(i=t.Gk($z(t.g[r],56)))===HM(e))return !0;return o}return Tkt(t,e)}function dUt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(l=new Lw,f=new Py,o=e.b,r=0;r<o.c.length;r++){for(u=(l1(r,o.c.length),$z(o.c[r],29)).a,l.c=D8(Ite,zWt,1,0,5,1),a=0;a<u.c.length;a++)(s=t.a[r][a]).p=a,s.k==(oCt(),Sse)&&(l.c[l.c.length]=s),i5($z(DU(e.b,r),29).a,a,s),s.j.c=D8(Ite,zWt,1,0,5,1),pst(s.j,$z($z(DU(t.b,r),15).Xb(a),14)),Oj($z(yTt(s,(zYt(),twe)),98))||uct(s,twe,(X_t(),GAe));for(i=new Kd(l);i.a<i.c.c.length;)h=XRt(n=$z(Q1(i),10)),f.a.zc(h,f),f.a.zc(n,f);}for(c=f.a.ec().Kc();c.Ob();)s=$z(c.Pb(),10),EV(),wL(s.j,(Gut(),sue)),s.i=!0,eMt(s);}function gUt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=$z(yTt(t,(uWt(),Whe)),61),i=$z(DU(t.j,0),11),l==(vKt(),sMe)?HAt(i,EMe):l==EMe&&HAt(i,sMe),$z(yTt(e,(zYt(),jbe)),174).Hc((ypt(),RMe))){if(c=Hv(_B(yTt(t,Cwe))),u=Hv(_B(yTt(t,Swe))),o=Hv(_B(yTt(t,Ewe))),(s=$z(yTt(e,iwe),21)).Hc((hMt(),tMe)))for(n=u,h=t.o.a/2-i.n.a,a=new Kd(i.f);a.a<a.c.c.length;)(r=$z(Q1(a),70)).n.b=n,r.n.a=h-r.o.a/2,n+=r.o.b+o;else if(s.Hc(nMe))for(a=new Kd(i.f);a.a<a.c.c.length;)(r=$z(Q1(a),70)).n.a=c+t.o.a-i.n.a;u0(new Tg((gT(),new FX(e,!1,!1,new $e))),new R$(null,t,!1));}}function pUt(t,n){var i,r,a,o,s,c,u;if(0!=n.c.length){for(EV(),yG(n.c,n.c.length,null),r=$z(Q1(a=new Kd(n)),145);a.a<a.c.c.length;)i=$z(Q1(a),145),!ant(r.e.c,i.e.c)||Rpt($B(r.e).b,i.e.d)||Rpt($B(i.e).b,r.e.d)?(eFt(t,r),r=i):(pst(r.k,i.k),pst(r.b,i.b),pst(r.c,i.c),$rt(r.i,i.i),pst(r.d,i.d),pst(r.j,i.j),o=e.Math.min(r.e.c,i.e.c),s=e.Math.min(r.e.d,i.e.d),c=e.Math.max(r.e.c+r.e.b,i.e.c+i.e.b)-o,u=e.Math.max(r.e.d+r.e.a,i.e.d+i.e.a)-s,DH(r.e,o,s,c,u),J1(r.f,i.f),!r.a&&(r.a=i.a),pst(r.g,i.g),Kz(r.g,i));eFt(t,r);}}function bUt(t,e,n,i){var r,a,o,s,c,u;if((s=t.j)==(vKt(),TMe)&&e!=(X_t(),WAe)&&e!=(X_t(),XAe)&&(HAt(t,s=G$t(t,n)),!(t.q?t.q:(EV(),EV(),une))._b((zYt(),Jbe))&&s!=TMe&&(0!=t.n.a||0!=t.n.b)&&uct(t,Jbe,xxt(t,s))),e==(X_t(),KAe)){switch(u=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(u=t.n.a/a);break;case 2:case 4:(r=t.i.o.b)>0&&(u=t.n.b/r);}uct(t,(uWt(),kfe),u);}if(c=t.o,o=t.a,i)o.a=i.a,o.b=i.b,t.d=!0;else if(e!=WAe&&e!=XAe&&s!=TMe)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2;}else o.a=c.a/2,o.b=c.b/2;}function wUt(t){var e,n,i,r,a,o,s,c,u,l;if(t.ej())if(l=t.Vi(),c=t.fj(),l>0)if(e=new xat(t.Gi()),a=(n=l)<100?null:new jk(n),VB(t,n,e.g),r=1==n?t.Zi(4,Yet(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new MD(e);i.e!=i.i.gc();)a=t.dj(vwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r);}else a?(a.Ei(r),a.Fi()):t.$i(r);else VB(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(EV(),cne),null,-1,c));else if(t.bj())if((l=t.Vi())>0){for(s=t.Wi(),u=l,VB(t,l,s),a=u<100?null:new jk(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi();}else VB(t,t.Vi(),t.Wi());else VB(t,t.Vi(),t.Wi());}function yUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(s=new Kd(e);s.a<s.c.c.length;)(a=$z(Q1(s),233)).e=null,a.c=0;for(c=null,o=new Kd(e);o.a<o.c.c.length;)if(h=(a=$z(Q1(o),233)).d[0],!n||h.k==(oCt(),Cse)){for(d=$z(yTt(h,(uWt(),ife)),15).Kc();d.Ob();)f=$z(d.Pb(),10),n&&f.k!=(oCt(),Cse)||((!a.e&&(a.e=new Lw),a.e).Fc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(oCt(),Cse)){if(c)for(l=$z(c6(t.d,c),21).Kc();l.Ob();)for(u=$z(l.Pb(),10),r=$z(c6(t.d,h),21).Kc();r.Ob();)i=$z(r.Pb(),10),Gz(t.b[u.c.p][u.p]).Fc(t.b[i.c.p][i.p]),++t.b[i.c.p][i.p].c;c=h;}}}function mUt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new Lw,a=new Kd(e);a.a<a.c.c.length;){switch(r=$z(Q1(a),11),Jut(t.b,t.d[r.p]),c.c=D8(Ite,zWt,1,0,5,1),r.i.k.g){case 0:Met($z(yTt(r,(uWt(),xfe)),10).j,new Zp(c));break;case 1:EL(Xct(MX(new PU(null,new f1(r.i.j,16)),new Qp(r))),new Jp(c));break;case 3:Kz(c,new nM($z(yTt(r,(uWt(),dfe)),11),nft(r.e.c.length+r.g.c.length)));}for(s=new Kd(c);s.a<s.c.c.length;)o=$z(Q1(s),46),(i=__(t,$z(o.a,11)))>t.d[r.p]&&(n+=Q4(t.b,i)*$z(o.b,19).a,d3(t.a,nft(i)));for(;!Kv(t.a);)_tt(t.b,$z(dK(t.a),19).a);}return n}function vUt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g;for((h=new fO($z(QOt(t,(TTt(),FTe)),8))).a=e.Math.max(h.a-i.b-i.c,0),h.b=e.Math.max(h.b-i.d-i.a,0),(null==(a=_B(QOt(t,NTe)))||(mW(a),a<=0))&&(a=1.3),s=new Lw,f=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));f.e!=f.i.gc();)o=new UP($z(vwt(f),33)),s.c[s.c.length]=o;switch($z(QOt(t,PTe),311).g){case 3:g=aFt(s,n,h.a,h.b,(u=r,mW(a),u));break;case 1:g=wzt(s,n,h.a,h.b,(l=r,mW(a),l));break;default:g=EUt(s,n,h.a,h.b,(c=r,mW(a),c));}RKt(t,(d=mYt(new Uet(g),n,i,h.a,h.b,r,(mW(a),a))).a,d.b,!1,!0);}function xUt(t,e){var n,i,r,a;a=new Jj((n=e.b).j),r=0,(i=n.j).c=D8(Ite,zWt,1,0,5,1),tY($z(pot(t.b,(vKt(),sMe),(Srt(),Pue)),15),n),r=Zmt(a,r,new Pr,i),tY($z(pot(t.b,sMe,Nue),15),n),r=Zmt(a,r,new Nr,i),tY($z(pot(t.b,sMe,Due),15),n),tY($z(pot(t.b,oMe,Pue),15),n),tY($z(pot(t.b,oMe,Nue),15),n),r=Zmt(a,r,new Br,i),tY($z(pot(t.b,oMe,Due),15),n),tY($z(pot(t.b,EMe,Pue),15),n),r=Zmt(a,r,new Rr,i),tY($z(pot(t.b,EMe,Nue),15),n),r=Zmt(a,r,new jr,i),tY($z(pot(t.b,EMe,Due),15),n),tY($z(pot(t.b,CMe,Pue),15),n),r=Zmt(a,r,new Vr,i),tY($z(pot(t.b,CMe,Nue),15),n),tY($z(pot(t.b,CMe,Due),15),n);}function kUt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(n,"Layer size calculation",1),h=BVt,l=RVt,a=!1,c=new Kd(t.b);c.a<c.c.c.length;)if((u=(s=$z(Q1(c),29)).c).a=0,u.b=0,0!=s.a.c.length){for(a=!0,d=new Kd(s.a);d.a<d.c.c.length;)p=(f=$z(Q1(d),10)).o,g=f.d,u.a=e.Math.max(u.a,p.a+g.b+g.c);b=(r=$z(DU(s.a,0),10)).n.b-r.d.d,r.k==(oCt(),_se)&&(b-=$z(yTt(t,(zYt(),Owe)),142).d),i=(o=$z(DU(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==_se&&(i+=$z(yTt(t,(zYt(),Owe)),142).a),u.b=i-b,h=e.Math.min(h,b),l=e.Math.max(l,i);}a||(h=0,l=0),t.f.b=l-h,t.c.b-=h,zCt(n);}function _Ut(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(a=0,o=0,u=new Kd(t.a);u.a<u.c.c.length;)s=$z(Q1(u),10),a=e.Math.max(a,s.d.b),o=e.Math.max(o,s.d.c);for(c=new Kd(t.a);c.a<c.c.c.length;){switch(s=$z(Q1(c),10),$z(yTt(s,(zYt(),mpe)),248).g){case 1:g=0;break;case 2:g=1;break;case 5:g=.5;break;default:for(i=0,h=0,d=new Kd(s.j);d.a<d.c.c.length;)0==(f=$z(Q1(d),11)).e.c.length||++i,0==f.g.c.length||++h;g=i+h==0?.5:h/(i+h);}b=t.c,l=s.o.a,w=(b.a-l)*g,g>.5?w-=2*o*(g-.5):g<.5&&(w+=2*a*(.5-g)),w<(r=s.d.b)&&(w=r),p=s.d.c,w>b.a-p-l&&(w=b.a-p-l),s.n.a=n+w;}}function EUt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(s=D8(LNe,HVt,25,t.c.length,15,1),nxt(f=new qq(new Ys),t),u=0,d=new Lw;0!=f.b.c.length;)if(o=$z(0==f.b.c.length?null:DU(f.b,0),157),u>1&&eG(o)*tG(o)/2>s[0]){for(a=0;a<d.c.length-1&&eG(o)*tG(o)/2>s[a];)++a;h=new Uet(new s1(d,0,a+1)),l=eG(o)/tG(o),c=mYt(h,e,new hm,n,i,r,l),GR(mI(h.e),c),j8(eTt(f,h)),nxt(f,new s1(d,a+1,d.c.length)),d.c=D8(Ite,zWt,1,0,5,1),u=0,vG(s,s.length,0);}else null!=(0==f.b.c.length?null:DU(f.b,0))&&urt(f,0),u>0&&(s[u]=s[u-1]),s[u]+=eG(o)*tG(o),++u,d.c[d.c.length]=o;return d}function TUt(t){var e,n,i;if((n=$z(yTt(t,(zYt(),mbe)),163))==(_dt(),jfe)){for(e=new oq(ZD(ldt(t).a.Kc(),new l));gOt(e);)if(!q5($z(G5(e),17)))throw Fw(new nx(C1t+pvt(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==Ffe)for(i=new oq(ZD(hdt(t).a.Kc(),new l));gOt(i);)if(!q5($z(G5(i),17)))throw Fw(new nx(C1t+pvt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function CUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(MEt(e,"Label dummy removal",1),i=Hv(_B(yTt(t,(zYt(),vwe)))),r=Hv(_B(yTt(t,Ewe))),c=$z(yTt(t,Gpe),103),s=new Kd(t.b);s.a<s.c.c.length;)for(l=new _2($z(Q1(s),29).a,0);l.b<l.d.gc();)TP(l.b<l.d.gc()),(u=$z(l.d.Xb(l.c=l.b++),10)).k==(oCt(),Ese)&&(h=$z(yTt(u,(uWt(),dfe)),17),d=Hv(_B(yTt(h,rbe))),o=HM(yTt(u,afe))===HM((Kvt(),xAe)),n=new fO(u.n),o&&(n.b+=d+i),a=new DA(u.o.a,u.o.b-d-i),f=$z(yTt(u,Tfe),15),c==($ht(),FSe)||c==BSe?IBt(f,n,r,a,o,c):Hlt(f,n,r,a),pst(h.b,f),iGt(u,HM(yTt(t,Zpe))===HM((Edt(),XSe))),uW(l));zCt(e);}function SUt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(s=new Lw,r=new Kd(e.a);r.a<r.c.c.length;)for(o=new Kd($z(Q1(r),10).j);o.a<o.c.c.length;){for(u=null,m=0,v=(y=Z0((a=$z(Q1(o),11)).g)).length;m<v;++m)dot((w=y[m]).d.i,n)||((b=LHt(t,e,n,w,w.c,(ait(),zye),u))!=u&&(s.c[s.c.length]=b),b.c&&(u=b));for(c=null,g=0,p=(d=Z0(a.e)).length;g<p;++g)dot((f=d[g]).c.i,n)||((b=LHt(t,e,n,f,f.d,(ait(),Fye),c))!=c&&(s.c[s.c.length]=b),b.c&&(c=b));}for(h=new Kd(s);h.a<h.c.c.length;)l=$z(Q1(h),441),-1!=x9(e.a,l.a,0)||Kz(e.a,l.a),l.c&&(i.c[i.c.length]=l);}function AUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(MEt(n,"Interactive cycle breaking",1),l=new Lw,f=new Kd(e.a);f.a<f.c.c.length;)for((h=$z(Q1(f),10)).p=1,d=$kt(h).a,u=Ngt(h,(ait(),zye)).Kc();u.Ob();)for(a=new Kd($z(u.Pb(),11).g);a.a<a.c.c.length;)(g=(i=$z(Q1(a),17)).d.i)!=h&&$kt(g).a<d&&(l.c[l.c.length]=i);for(o=new Kd(l);o.a<o.c.c.length;)tzt(i=$z(Q1(o),17),!0);for(l.c=D8(Ite,zWt,1,0,5,1),c=new Kd(e.a);c.a<c.c.c.length;)(s=$z(Q1(c),10)).p>0&&hSt(t,s,l);for(r=new Kd(l);r.a<r.c.c.length;)tzt(i=$z(Q1(r),17),!0);l.c=D8(Ite,zWt,1,0,5,1),zCt(n);}function MUt(t,e){var n,i,r,a,o,s,c,u,l;return u="",0==e.length?t.de(KXt,GXt,-1,-1):(wj((l=BTt(e)).substr(0,3),"at ")&&(l=l.substr(3)),-1==(o=(l=l.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=l.indexOf("@"))?(u=l,l=""):(u=BTt(l.substr(o+1)),l=BTt(l.substr(0,o))):(n=l.indexOf(")",o),u=l.substr(o+1,n-(o+1)),l=BTt(l.substr(0,o))),-1!=(o=HI(l,VEt(46)))&&(l=l.substr(o+1)),(0==l.length||wj(l,"Anonymous function"))&&(l=GXt),s=wN(u,VEt(58)),r=_j(u,VEt(58),s-1),c=-1,i=-1,a=KXt,-1!=s&&-1!=r&&(a=u.substr(0,r),c=cP(u.substr(r+1,s-(r+1))),i=cP(u.substr(s+1))),t.de(a,l,c,i))}function IUt(t,e,n){var i,r,a,o,s,c;if(0==e.l&&0==e.m&&0==e.h)throw Fw(new Av("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(hee=_L(0,0,0)),_L(0,0,0);if(e.h==SVt&&0==e.m&&0==e.l)return $dt(t,n);if(c=!1,e.h>>19&&(e=act(e),c=!c),o=MDt(e),a=!1,r=!1,i=!1,t.h==SVt&&0==t.m&&0==t.l){if(r=!0,a=!0,-1!=o)return s=xOt(t,o),c&&Mct(s),n&&(hee=_L(0,0,0)),s;t=KI((q9(),fee)),i=!0,c=!c;}else t.h>>19&&(a=!0,t=act(t),i=!0,c=!c);return -1!=o?Fct(t,o,c,a,n):Rxt(t,e)<0?(n&&(hee=a?act(t):_L(t.l,t.m,t.h)),_L(0,0,0)):u$t(i?t:_L(t.l,t.m,t.h),e,c,a,r,n)}function OUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(t.e&&t.c.c<t.f)throw Fw(new jv("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(l=$z(Yk(t.g),9),d=sP(t.f),s=0,u=(a=l).length;s<u;++s)(h=$z(N9(t,(i=a[s]).g),246))?Kz(d,$z(sgt(t,h),123)):d.c[d.c.length]=null;for(g=new $2,VE(MX(IX(MX(new PU(null,new f1(d,16)),new hs),new xb(e)),new fs),new kb(g)),Zat(g,t.a),n=new Lw,o=0,c=(r=l).length;o<c;++o)pst(n,kst(t,VV($z(N9(g,(i=r[o]).g),20)))),(f=$z(DU(d,i.g),123))&&(n.c[n.c.length]=f);return pst(n,kst(t,VV($z(N9(g,l[l.length-1].g+1),20)))),n}function LUt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g;for(MEt(i,"Model order cycle breaking",1),t.a=0,t.b=0,f=new Lw,l=n.a.c.length,u=new Kd(n.a);u.a<u.c.c.length;)OP(c=$z(Q1(u),10),(uWt(),ffe))&&(l=e.Math.max(l,$z(yTt(c,ffe),19).a+1));for(g=new Kd(n.a);g.a<g.c.c.length;)for(s=GSt(t,d=$z(Q1(g),10),l),h=Ngt(d,(ait(),zye)).Kc();h.Ob();)for(o=new Kd($z(h.Pb(),11).g);o.a<o.c.c.length;)GSt(t,(r=$z(Q1(o),17)).d.i,l)<s&&(f.c[f.c.length]=r);for(a=new Kd(f);a.a<a.c.c.length;)tzt(r=$z(Q1(a),17),!0),uct(n,(uWt(),zhe),(cN(),!0));f.c=D8(Ite,zWt,1,0,5,1),zCt(i);}function DUt(t,e){var n,i,r,a,o,s,c;if(!(t.g>e.f||e.g>t.f)){for(n=0,i=0,o=t.w.a.ec().Kc();o.Ob();)r=$z(o.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Kc();s.Ob();)r=$z(s.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--n;for(c=e.w.a.ec().Kc();c.Ob();)r=$z(c.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++i;for(a=e.r.a.ec().Kc();a.Ob();)r=$z(a.Pb(),11),blt(Ict(Cst(Hx(TTe,1),cXt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--i;n<i?new E6(t,e,i-n):i<n?new E6(e,t,n-i):(new E6(e,t,0),new E6(t,e,0));}}function NUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(u=e.c,r=WO(t.e),h=mD($P($L(YO(t.e)),t.d*t.a,t.c*t.b),-.5),n=r.a-h.a,i=r.b-h.b,n=(o=e.a).c-n,i=o.d-i,c=new Kd(u);c.a<c.c.c.length;){switch(d=n+(f=(s=$z(Q1(c),395)).b).a,b=i+f.b,g=CQ(d/t.a),w=CQ(b/t.b),(a=s.a).g){case 0:zwt(),l=$re;break;case 1:zwt(),l=jre;break;case 2:zwt(),l=Fre;break;default:zwt(),l=zre;}a.a?(y=CQ((b+s.c)/t.b),Kz(t.f,new D$(l,nft(w),nft(y))),a==(Hwt(),Jre)?dct(t,0,w,g,y):dct(t,g,w,t.d-1,y)):(p=CQ((d+s.c)/t.a),Kz(t.f,new D$(l,nft(g),nft(p))),a==(Hwt(),Zre)?dct(t,g,0,p,w):dct(t,g,w,p,t.c-1));}}function PUt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(f=new Lw,a=new Lw,p=null,s=n.Kc();s.Ob();)o=new Fp($z(s.Pb(),19).a),a.c[a.c.length]=o,p&&(o.d=p,p.e=o),p=o;for(m=GFt(t),l=0;l<a.c.length;++l){for(d=null,b=N6((l1(0,a.c.length),$z(a.c[0],652))),i=null,r=BVt,h=1;h<t.b.c.length;++h)w=b?e.Math.abs(b.b-h):e.Math.abs(h-d.b)+1,(g=d?e.Math.abs(h-d.b):w+1)<w?(u=d,c=g):(u=b,c=w),v=Hv(_B(yTt(t,(zYt(),Fwe)))),(y=m[h]+e.Math.pow(c,v))<r&&(r=y,(i=u).c=h),b&&h==b.b&&(d=b,b=Dq(b));i&&(Kz(f,nft(i.c)),i.a=!0,wft(i));}return EV(),yG(f.c,f.c.length,null),f}function BUt(t){var e,n,i,r,a,o,s,c,u,l;for(e=new Ec,n=new Ec,u=wj(R7t,(r=D$t(t.b,j7t))?EB(rpt((!r.b&&(r.b=new VP((pWt(),yLe),GLe,r)),r.b),$7t)):null),c=0;c<t.i;++c)iD(s=$z(t.g[c],170),99)?(o=$z(s,18)).Bb&u6t?(!(o.Bb&uXt)||!u&&null==((a=D$t(o,j7t))?EB(rpt((!a.b&&(a.b=new VP((pWt(),yLe),GLe,a)),a.b),J6t)):null))&&u7(e,o):(l=Syt(o))&&l.Bb&u6t||(!(o.Bb&uXt)||!u&&null==((i=D$t(o,j7t))?EB(rpt((!i.b&&(i.b=new VP((pWt(),yLe),GLe,i)),i.b),J6t)):null))&&u7(n,o):(ZT(),$z(s,66).Oj()&&(s.Jj()||(u7(e,s),u7(n,s))));rlt(e),rlt(n),t.a=$z(e.g,247),$z(n.g,247);}function RUt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(c=NCt(e),$z(yTt(e,(zYt(),zpe)),314)!=(Mit(),cle)&&t5(c,new we),t5(c,new Ng($z(yTt(e,Ppe),292))),d=0,u=new Lw,r=new hX(c);r.a!=r.b;)i=$z(jlt(r),37),OGt(t.c,i),d+=(h=$z(yTt(i,(uWt(),_fe)),15)).gc(),Kz(u,new nM(i,h.Kc()));for(MEt(n,"Recursive hierarchical layout",d),f=$z($z(DU(u,u.c.length-1),46).b,47);f.Ob();)for(s=new Kd(u);s.a<s.c.c.length;)for(o=$z(Q1(s),46),h=$z(o.b,47),a=$z(o.a,37);h.Ob();){if(iD(l=$z(h.Pb(),51),507)){if(a.e)break;l.pf(a,yat(n,1));break}l.pf(a,yat(n,1));}zCt(n);}function jUt(t,e){var n,i,r,a,o,s,c,u;if(h1(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=HI(e,VEt(91)))>=0)return r=gdt(t,e.substr(1,a-1)),VKt(t,e.substr(a+1,s-(a+1)),r)}else {if(n=-1,null==kee&&(kee=new RegExp("\\d")),kee.test(String.fromCharCode(o))&&(n=_j(e,VEt(46),s-1))>=0){i=$z(Y5(t,Cet(t,e.substr(1,n-1)),!1),58),c=0;try{c=h$t(e.substr(n+1),jXt,PWt);}catch(t){throw iD(t=hst(t),127)?Fw(new O9(t)):Fw(t)}if(c<i.gc())return iD(u=i.Xb(c),72)&&(u=$z(u,72).dd()),$z(u,56)}if(n<0)return $z(Y5(t,Cet(t,e.substr(1)),!1),56)}return null}function $Ut(t,e,n){var i,r,a,o,s,c,u;if(Igt(e,n)>=0)return n;switch(NW($9(t,n))){case 2:if(wj("",Sht(t,n.Hj()).ne())){if(c=yLt(t,e,s=vX($9(t,n)),mX($9(t,n))))return c;for(o=0,u=(r=xjt(t,e)).gc();o<u;++o)if(aNt(AK($9(t,c=$z(r.Xb(o),170))),s))return c}return null;case 4:if(wj("",Sht(t,n.Hj()).ne())){for(i=n;i;i=V1($9(t,i)))if(c=mLt(t,e,vX($9(t,i)),mX($9(t,i))))return c;if(s=vX($9(t,n)),wj(T9t,s))return ykt(t,e);for(o=0,u=(a=kjt(t,e)).gc();o<u;++o)if(aNt(AK($9(t,c=$z(a.Xb(o),170))),s))return c}return null;default:return null}}function FUt(t,e,n){var i,r,a,o,s,c,u,l;if(0==n.gc())return !1;if(ZT(),a=(s=$z(e,66).Oj())?n:new pet(n.gc()),OPt(t.e,e)){if(e.hi())for(u=n.Kc();u.Ob();)qFt(t,e,c=u.Pb(),iD(e,99)&&!!($z(e,18).Bb&FVt))||(r=Z3(e,c),a.Hc(r)||a.Fc(r));else if(!s)for(u=n.Kc();u.Ob();)r=Z3(e,c=u.Pb()),a.Fc(r);}else {if(n.gc()>1)throw Fw(new Rv(A9t));for(l=aPt(t.e.Tg(),e),i=$z(t.g,119),o=0;o<t.i;++o)if(r=i[o],l.rl(r.ak())){if(n.Hc(s?r:r.dd()))return !1;for(u=n.Kc();u.Ob();)c=u.Pb(),$z(syt(t,o,s?$z(c,72):Z3(e,c)),72);return !0}s||(r=Z3(e,n.Kc().Pb()),a.Fc(r));}return pY(t,a)}function zUt(t,n){var i,r,a,o,s,c,u;for(u=new XE,c=new Bd(new Ad(t.c).a.vc().Kc());c.a.Ob();)a=$z(c.a.Pb(),42),0==(o=$z(a.dd(),458)).b&&n5(u,o,u.c.b,u.c);for(;0!=u.b;)for(null==(o=$z(0==u.b?null:(TP(0!=u.b),Iet(u,u.a.a)),458)).a&&(o.a=0),r=new Kd(o.d);r.a<r.c.c.length;)null==(i=$z(Q1(r),654)).b.a?i.b.a=Hv(o.a)+i.a:n.o==(oJ(),nve)?i.b.a=e.Math.min(Hv(i.b.a),Hv(o.a)+i.a):i.b.a=e.Math.max(Hv(i.b.a),Hv(o.a)+i.a),--i.b.b,0==i.b.b&&NH(u,i.b);for(s=new Bd(new Ad(t.c).a.vc().Kc());s.a.Ob();)a=$z(s.a.Pb(),42),o=$z(a.dd(),458),n.i[o.c.p]=o.a;}function HUt(){HUt=I,sxe=new aw(MJt),new eR("DEPTH",nft(0)),exe=new eR("FAN",nft(0)),Jve=new eR(q3t,nft(0)),dxe=new eR("ROOT",(cN(),!1)),ixe=new eR("LEFTNEIGHBOR",null),hxe=new eR("RIGHTNEIGHBOR",null),rxe=new eR("LEFTSIBLING",null),fxe=new eR("RIGHTSIBLING",null),txe=new eR("DUMMY",!1),new eR("LEVEL",nft(0)),lxe=new eR("REMOVABLE_EDGES",new XE),gxe=new eR("XCOOR",nft(0)),pxe=new eR("YCOOR",nft(0)),axe=new eR("LEVELHEIGHT",0),nxe=new eR("ID",""),cxe=new eR("POSITION",nft(0)),uxe=new eR("PRELIM",0),oxe=new eR("MODIFIER",0),Qve=new aw(OJt),Zve=new aw(LJt);}function UUt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g;for(h=i+n.c.c.a,g=new Kd(n.j);g.a<g.c.c.length;){if(d=$z(Q1(g),11),a=Ict(Cst(Hx(TTe,1),cXt,8,0,[d.i.n,d.n,d.a])),n.k==(oCt(),Sse)&&(c=$z(yTt(d,(uWt(),dfe)),11),a.a=Ict(Cst(Hx(TTe,1),cXt,8,0,[c.i.n,c.n,c.a])).a,n.n.a=a.a),s=new DA(0,a.b),d.j==(vKt(),oMe))s.a=h;else {if(d.j!=CMe)continue;s.a=i;}if(!(e.Math.abs(a.a-s.a)<=r)||Dxt(n))for(o=d.g.c.length+d.e.c.length>1,l=new w6(d.b);yL(l.a)||yL(l.b);)f=(u=$z(yL(l.a)?Q1(l.a):Q1(l.b),17)).c==d?u.d:u.c,e.Math.abs(Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&bPt(t,u,s,o,d);}}function GUt(t){var n,i,r,a,o,s;if(a=new _2(t.e,0),r=new _2(t.a,0),t.d)for(i=0;i<t.b;i++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(i=0;i<t.b-1;i++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),uW(a);for(n=Hv((TP(a.b<a.d.gc()),_B(a.d.Xb(a.c=a.b++))));t.f-n>P3t;){for(o=n,s=0;e.Math.abs(n-o)<P3t;)++s,n=Hv((TP(a.b<a.d.gc()),_B(a.d.Xb(a.c=a.b++)))),TP(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);s<t.b&&(TP(a.b>0),a.a.Xb(a.c=--a.b),PFt(t,t.b-s,o,r,a),TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),TP(r.b>0),r.a.Xb(r.c=--r.b);}if(!t.d)for(i=0;i<t.b-1;i++)TP(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),uW(a);t.d=!0,t.c=!0;}function qUt(){qUt=I,gDe=(i_(),dDe).b,wDe=$z(Yet(WV(dDe.b),0),34),pDe=$z(Yet(WV(dDe.b),1),34),bDe=$z(Yet(WV(dDe.b),2),34),SDe=dDe.bb,$z(Yet(WV(dDe.bb),0),34),$z(Yet(WV(dDe.bb),1),34),MDe=dDe.fb,IDe=$z(Yet(WV(dDe.fb),0),34),$z(Yet(WV(dDe.fb),1),34),$z(Yet(WV(dDe.fb),2),18),LDe=dDe.qb,PDe=$z(Yet(WV(dDe.qb),0),34),$z(Yet(WV(dDe.qb),1),18),$z(Yet(WV(dDe.qb),2),18),DDe=$z(Yet(WV(dDe.qb),3),34),NDe=$z(Yet(WV(dDe.qb),4),34),RDe=$z(Yet(WV(dDe.qb),6),34),BDe=$z(Yet(WV(dDe.qb),5),18),yDe=dDe.j,mDe=dDe.k,vDe=dDe.q,xDe=dDe.w,kDe=dDe.B,_De=dDe.A,EDe=dDe.C,TDe=dDe.D,CDe=dDe._,ADe=dDe.cb,ODe=dDe.hb;}function KUt(t,n,i){var r,a,o,s,c,u,l,h,f;t.c=0,t.b=0,r=2*n.c.a.c.length+1;t:for(l=i.Kc();l.Ob();){if(f=0,s=(u=$z(l.Pb(),11)).j==(vKt(),sMe)||u.j==EMe){if(!(h=$z(yTt(u,(uWt(),xfe)),10)))continue;f+=nRt(t,r,u,h);}else {for(c=new Kd(u.g);c.a<c.c.c.length;){if((a=$z(Q1(c),17).d).i.c==n.c){Kz(t.a,u);continue t}f+=t.g[a.p];}for(o=new Kd(u.e);o.a<o.c.c.length;){if((a=$z(Q1(o),17).c).i.c==n.c){Kz(t.a,u);continue t}f-=t.g[a.p];}}u.e.c.length+u.g.c.length>0?(t.f[u.p]=f/(u.e.c.length+u.g.c.length),t.c=e.Math.min(t.c,t.f[u.p]),t.b=e.Math.max(t.b,t.f[u.p])):s&&(t.f[u.p]=f);}}function YUt(t){t.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 WUt(t,e,n){var i,r;for(MEt(n,"Graph transformation ("+t.a+")",1),r=r0(e.a),i=new Kd(e.b);i.a<i.c.c.length;)pst(r,$z(Q1(i),29).a);if($z(yTt(e,(zYt(),qpe)),419)==(Rtt(),Ele))switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r);break;case 3:fpt(e,r);break;case 4:t.a==(Trt(),zse)?(fpt(e,r),I2(e,r)):(I2(e,r),fpt(e,r));}else if(t.a==(Trt(),zse))switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r),I2(e,r);break;case 3:fpt(e,r),O2(e,r);break;case 4:O2(e,r),fpt(e,r);}else switch($z(yTt(e,Gpe),103).g){case 2:O2(e,r),I2(e,r);break;case 3:O2(e,r),fpt(e,r);break;case 4:fpt(e,r),O2(e,r);}zCt(n);}function XUt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g;for(c=new uO,u=new uO,d=new uO,g=new uO,s=Hv(_B(yTt(e,(zYt(),Awe)))),r=Hv(_B(yTt(e,ywe))),o=new Kd(n);o.a<o.c.c.length;)if(a=$z(Q1(o),10),(h=$z(yTt(a,(uWt(),Whe)),61))==(vKt(),sMe))for(u.a.zc(a,u),i=new oq(ZD(ldt(a).a.Kc(),new l));gOt(i);)kK(c,$z(G5(i),17).c.i);else if(h==EMe)for(g.a.zc(a,g),i=new oq(ZD(ldt(a).a.Kc(),new l));gOt(i);)kK(d,$z(G5(i),17).c.i);0!=c.a.gc()&&(f=IGt(new uY(2,r),e,c,u,-s-e.c.b))>0&&(t.a=s+(f-1)*r,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=IGt(new uY(1,r),e,d,g,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*r);}function VUt(t,e){var n,i,r,a;a=t.F,null==e?(t.F=null,Put(t,null)):(t.F=(mW(e),e),-1!=(i=HI(e,VEt(60)))?(r=e.substr(0,i),-1==HI(e,VEt(46))&&!wj(r,OWt)&&!wj(r,T7t)&&!wj(r,C7t)&&!wj(r,S7t)&&!wj(r,A7t)&&!wj(r,M7t)&&!wj(r,I7t)&&!wj(r,O7t)&&(r=L7t),-1!=(n=wN(e,VEt(62)))&&(r+=""+e.substr(n+1)),Put(t,r)):(r=e,-1==HI(e,VEt(46))&&(-1!=(i=HI(e,VEt(91)))&&(r=e.substr(0,i)),wj(r,OWt)||wj(r,T7t)||wj(r,C7t)||wj(r,S7t)||wj(r,A7t)||wj(r,M7t)||wj(r,I7t)||wj(r,O7t)?r=e:(r=L7t,-1!=i&&(r+=""+e.substr(i)))),Put(t,r),r==e&&(t.F=t.D))),4&t.Db&&!(1&t.Db)&&fot(t,new Qq(t,1,5,a,e));}function ZUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(!((p=e.b.c.length)<3)){for(d=D8(ANe,uVt,25,p,15,1),h=0,l=new Kd(e.b);l.a<l.c.c.length;)u=$z(Q1(l),29),d[h++]=u.a.c.length;for(f=new _2(e.b,2),i=1;i<p-1;i++)for(TP(f.b<f.d.gc()),g=new Kd((n=$z(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,c=0;c<d[i+1];c++)if(m=$z(Q1(g),10),c==d[i+1]-1||VCt(t,m,i+1,i)){for(o=d[i]-1,VCt(t,m,i+1,i)&&(o=t.c.e[$z($z($z(DU(t.c.b,m.p),15).Xb(0),46).a,10).p]);s<=c;){if(!VCt(t,y=$z(DU(n.a,s),10),i+1,i))for(w=$z(DU(t.c.b,y.p),15).Kc();w.Ob();)b=$z(w.Pb(),46),((r=t.c.e[$z(b.a,10).p])<a||r>o)&&kK(t.b,$z(b.b,17));++s;}a=o;}}}function QUt(t,e){var n;if(null==e||wj(e,GWt))return null;if(0==e.length&&t.k!=(CSt(),pTe))return null;switch(t.k.g){case 1:return ybt(e,a5t)?(cN(),wee):ybt(e,o5t)?(cN(),bee):null;case 2:try{return nft(h$t(e,jXt,PWt))}catch(t){if(iD(t=hst(t),127))return null;throw Fw(t)}case 4:try{return fCt(e)}catch(t){if(iD(t=hst(t),127))return null;throw Fw(t)}case 3:return e;case 5:return ilt(t),zMt(t,e);case 6:return ilt(t),RLt(t,t.a,e);case 7:try{return (n=iOt(t)).Jf(e),n}catch(t){if(iD(t=hst(t),32))return null;throw Fw(t)}default:throw Fw(new jv("Invalid type set for this layout option."))}}function JUt(t){var e,n,i,r,a,o,s;for(Ntt(),s=new Yy,n=new Kd(t);n.a<n.c.c.length;)e=$z(Q1(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 i=new _wt((Ist(),Zoe)),e2(t,ose,new Vv(Cst(Hx(Voe,1),zWt,369,0,[i]))),o=new _wt(tse),e2(t,ase,new Vv(Cst(Hx(Voe,1),zWt,369,0,[o]))),r=new _wt(Qoe),e2(t,rse,new Vv(Cst(Hx(Voe,1),zWt,369,0,[r]))),a=new _wt(Joe),e2(t,ise,new Vv(Cst(Hx(Voe,1),zWt,369,0,[a]))),NDt(i.c,Zoe),NDt(r.c,Qoe),NDt(a.c,Joe),NDt(o.c,tse),s.a.c=D8(Ite,zWt,1,0,5,1),pst(s.a,i.c),pst(s.a,eot(r.c)),pst(s.a,a.c),pst(s.a,eot(o.c)),s}function tGt(t){var e;switch(t.d){case 1:if(t.hj())return -2!=t.o;break;case 2:if(t.hj())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.gj(),t.p){case 0:return null!=e&&zv(kB(e))!=VM(t.k,0);case 1:return null!=e&&$z(e,217).a!=dG(t.k)<<24>>24;case 2:return null!=e&&$z(e,172).a!=(dG(t.k)&XXt);case 6:return null!=e&&VM($z(e,162).a,t.k);case 5:return null!=e&&$z(e,19).a!=dG(t.k);case 7:return null!=e&&$z(e,184).a!=dG(t.k)<<16>>16;case 3:return null!=e&&Hv(_B(e))!=t.j;case 4:return null!=e&&$z(e,155).a!=t.j;default:return null==e?null!=t.n:!Dht(e,t.n)}}function eGt(t,e,n){var i,r,a,o;return t.Fk()&&t.Ek()&&HM(o=Hq(t,$z(n,56)))!==HM(n)?(t.Oi(e),t.Ui(e,$7(t,e,o)),t.rk()&&(r=$z(n,49),a=t.Dk()?t.Bk()?r.ih(t.b,Syt($z(eet(vZ(t.b),t.aj()),18)).n,$z(eet(vZ(t.b),t.aj()).Yj(),26).Bj(),null):r.ih(t.b,Igt(r.Tg(),Syt($z(eet(vZ(t.b),t.aj()),18))),null,null):r.ih(t.b,-1-t.aj(),null,null),!$z(o,49).eh()&&(i=$z(o,49),a=t.Dk()?t.Bk()?i.gh(t.b,Syt($z(eet(vZ(t.b),t.aj()),18)).n,$z(eet(vZ(t.b),t.aj()).Yj(),26).Bj(),a):i.gh(t.b,Igt(i.Tg(),Syt($z(eet(vZ(t.b),t.aj()),18))),null,a):i.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),wO(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function nGt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(h=Hv(_B(yTt(t,(zYt(),xwe)))),r=Hv(_B(yTt(t,Pwe))),uct(d=new Qs,xwe,h+r),y=(l=n).d,b=l.c.i,m=l.d.i,w=JI(b.c),v=JI(m.c),a=new Lw,f=w;f<=v;f++)$f(c=new Oyt(t),(oCt(),Tse)),uct(c,(uWt(),dfe),l),uct(c,twe,(X_t(),qAe)),uct(c,_we,d),g=$z(DU(t.b,f),29),f==w?Xvt(c,g.a.c.length-i,g):TJ(c,g),(x=Hv(_B(yTt(l,rbe))))<0&&uct(l,rbe,x=0),c.o.b=x,p=e.Math.floor(x/2),HAt(s=new SCt,(vKt(),CMe)),CJ(s,c),s.n.b=p,HAt(u=new SCt,oMe),CJ(u,c),u.n.b=p,_J(l,s),Hot(o=new fZ,l),uct(o,bbe,null),EJ(o,u),_J(o,y),Gxt(c,l,o),a.c[a.c.length]=o,l=o;return a}function iGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(s=$z(PCt(t,(vKt(),CMe)).Kc().Pb(),11).e,h=$z(PCt(t,oMe).Kc().Pb(),11).g,o=s.c.length,b=g1($z(DU(t.j,0),11));o-- >0;){for(l1(0,s.c.length),d=$z(s.c[0],17),l1(0,h.c.length),r=x9((i=$z(h.c[0],17)).d.e,i,0),M2(d,i.d,r),EJ(i,null),_J(i,null),f=d.a,e&&NH(f,new fO(b)),n=cwt(i.a,0);n.b!=n.d.c;)NH(f,new fO($z(h3(n),8)));for(p=d.b,l=new Kd(i.b);l.a<l.c.c.length;)u=$z(Q1(l),70),p.c[p.c.length]=u;if(g=$z(yTt(d,(zYt(),bbe)),74),a=$z(yTt(i,bbe),74))for(g||(g=new mm,uct(d,bbe,g)),c=cwt(a,0);c.b!=c.d.c;)NH(g,new fO($z(h3(c),8)));}}function rGt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=$z(oX(t.b,n),124),(u=$z($z(c6(t.r,n),21),84)).dc())return i.n.b=0,void(i.n.c=0);for(l=t.u.Hc((hMt(),tMe)),s=0,c=u.Kc(),h=null,f=0,d=0;c.Ob();)a=Hv(_B((r=$z(c.Pb(),111)).b.We((NN(),Ore)))),o=r.b.rf().a,t.A.Hc((ypt(),RMe))&&mRt(t,n),h?(g=d+h.d.c+t.w+r.d.b,s=e.Math.max(s,(cL(),iit(lQt),e.Math.abs(f-a)<=lQt||f==a||isNaN(f)&&isNaN(a)?0:g/(a-f)))):t.C&&t.C.b>0&&(s=e.Math.max(s,hat(t.C.b+r.d.b,a))),h=r,f=a,d=o;t.C&&t.C.c>0&&(g=d+t.C.c,l&&(g+=h.d.c),s=e.Math.max(s,(cL(),iit(lQt),e.Math.abs(f-1)<=lQt||1==f||isNaN(f)&&isNaN(1)?0:g/(1-f)))),i.n.b=0,i.a.a=s;}function aGt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=$z(oX(t.b,n),124),(u=$z($z(c6(t.r,n),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(l=t.u.Hc((hMt(),tMe)),s=0,t.A.Hc((ypt(),RMe))&&vRt(t,n),c=u.Kc(),h=null,d=0,f=0;c.Ob();)o=Hv(_B((r=$z(c.Pb(),111)).b.We((NN(),Ore)))),a=r.b.rf().b,h?(g=f+h.d.a+t.w+r.d.d,s=e.Math.max(s,(cL(),iit(lQt),e.Math.abs(d-o)<=lQt||d==o||isNaN(d)&&isNaN(o)?0:g/(o-d)))):t.C&&t.C.d>0&&(s=e.Math.max(s,hat(t.C.d+r.d.d,o))),h=r,d=o,f=a;t.C&&t.C.a>0&&(g=f+t.C.a,l&&(g+=h.d.a),s=e.Math.max(s,(cL(),iit(lQt),e.Math.abs(d-1)<=lQt||1==d||isNaN(d)&&isNaN(1)?0:g/(1-d)))),i.n.d=0,i.a.b=s;}function oGt(t,e,n){var i,r,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=D8(Ase,a1t,10,s+c,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=Uz(e.e),this.e.Mc(n),n.e)for(r=n.e.Kc();r.Ob();)(i=$z(r.Pb(),233))!=e&&(this.e.Hc(i)?--i.c:this.e.Fc(i));}else n.e&&(this.e=Uz(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?Zet(this,this.f/this.a):null!=lD(e.g,e.d[0]).a&&null!=lD(n.g,n.d[0]).a?Zet(this,(Hv(lD(e.g,e.d[0]).a)+Hv(lD(n.g,n.d[0]).a))/2):null!=lD(e.g,e.d[0]).a?Zet(this,lD(e.g,e.d[0]).a):null!=lD(n.g,n.d[0]).a&&Zet(this,lD(n.g,n.d[0]).a);}function sGt(t,e){var n,i,r,a,o,s,c,u,l;for(t.a=new $Y(Oat(KSe)),i=new Kd(e.a);i.a<i.c.c.length;){for(n=$z(Q1(i),841),o=new Cbt(Cst(Hx(Woe,1),zWt,81,0,[])),Kz(t.a.a,o),c=new Kd(n.d);c.a<c.c.c.length;)$Gt(u=new LN(t,s=$z(Q1(c),110)),$z(yTt(n.c,(uWt(),qhe)),21)),cK(t.g,n)||(YW(t.g,n,new DA(s.c,s.d)),YW(t.f,n,u)),Kz(t.a.b,u),g2(o,u);for(a=new Kd(n.b);a.a<a.c.c.length;)u=new LN(t,(r=$z(Q1(a),594)).kf()),YW(t.b,r,new nM(o,u)),$Gt(u,$z(yTt(n.c,(uWt(),qhe)),21)),r.hf()&&($Gt(l=new Tbt(t,r.hf(),1),$z(yTt(n.c,qhe),21)),g2(new Cbt(Cst(Hx(Woe,1),zWt,81,0,[])),l),ZMt(t.c,r.gf(),new nM(o,l)));}return t.a}function cGt(t){var e;this.a=t,e=(oCt(),Cst(Hx(Ise,1),OXt,267,0,[Cse,Tse,_se,Sse,Ese,kse])).length,this.b=mU(lTe,[cXt,v3t],[593,146],0,[e,e],2),this.c=mU(lTe,[cXt,v3t],[593,146],0,[e,e],2),jZ(this,Cse,(zYt(),Awe),Mwe),tst(this,Cse,Tse,xwe,kwe),RZ(this,Cse,Sse,xwe),RZ(this,Cse,_se,xwe),tst(this,Cse,Ese,Awe,Mwe),jZ(this,Tse,ywe,mwe),RZ(this,Tse,Sse,ywe),RZ(this,Tse,_se,ywe),tst(this,Tse,Ese,xwe,kwe),ZO(this,Sse,ywe),RZ(this,Sse,_se,ywe),RZ(this,Sse,Ese,Twe),ZO(this,_se,Lwe),tst(this,_se,Ese,Swe,Cwe),jZ(this,Ese,ywe,ywe),jZ(this,kse,ywe,mwe),tst(this,kse,Cse,xwe,kwe),tst(this,kse,Ese,xwe,kwe),tst(this,kse,Tse,xwe,kwe);}function uGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(iD(o=n.ak(),99)&&$z(o,18).Bb&FVt&&(f=$z(n.dd(),49),(p=tht(t.e,f))!=f)){if(vD(t,e,cEt(t,e,l=Z3(o,p))),h=null,wO(t.e)&&(i=$Ut((ASt(),VLe),t.e.Tg(),o))!=eet(t.e.Tg(),t.c)){for(b=aPt(t.e.Tg(),o),s=0,a=$z(t.g,119),c=0;c<e;++c)r=a[c],b.rl(r.ak())&&++s;(h=new h4(t.e,9,i,f,p,s,!1)).Ei(new L9(t.e,9,t.c,n,l,e,!1));}return (d=Syt(g=$z(o,18)))?(h=f.ih(t.e,Igt(f.Tg(),d),null,h),h=$z(p,49).gh(t.e,Igt(p.Tg(),d),null,h)):g.Bb&u6t&&(u=-1-Igt(t.e.Tg(),g),h=f.ih(t.e,u,null,null),!$z(p,49).eh()&&(h=$z(p,49).gh(t.e,u,null,h))),h&&h.Fi(),l}return n}function lGt(t){var n,i,r,a,o,s,c,u;for(o=new Kd(t.a.b);o.a<o.c.c.length;)(a=$z(Q1(o),81)).b.c=a.g.c,a.b.d=a.g.d;for(u=new DA(BVt,BVt),n=new DA(RVt,RVt),r=new Kd(t.a.b);r.a<r.c.c.length;)i=$z(Q1(r),81),u.a=e.Math.min(u.a,i.g.c),u.b=e.Math.min(u.b,i.g.d),n.a=e.Math.max(n.a,i.g.c+i.g.b),n.b=e.Math.max(n.b,i.g.d+i.g.a);for(c=kY(t.c).a.nc();c.Ob();)s=$z(c.Pb(),46),i=$z(s.b,81),u.a=e.Math.min(u.a,i.g.c),u.b=e.Math.min(u.b,i.g.d),n.a=e.Math.max(n.a,i.g.c+i.g.b),n.b=e.Math.max(n.b,i.g.d+i.g.a);t.d=zP(new DA(u.a,u.b)),t.e=qR(new DA(n.a,n.b),u),t.a.a.c=D8(Ite,zWt,1,0,5,1),t.a.b.c=D8(Ite,zWt,1,0,5,1);}function hGt(t){var e,n,i;for(vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new Oh])),n=new kf(t),i=0;i<n.a.length;++i)wj(e=dtt(n,i).je().a,"layered")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new sh])):wj(e,"force")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new Ul])):wj(e,"stress")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new ql])):wj(e,"mrtree")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new Eh])):wj(e,"radial")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new wh])):wj(e,"disco")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new Hl,new Fl])):wj(e,"sporeOverlap")||wj(e,"sporeCompaction")?vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new xh])):wj(e,"rectpacking")&&vut(uOe,Cst(Hx(Rie,1),zWt,130,0,[new Sh]));}function fGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=new fO(t.o),w=e.a/f.a,s=e.b/f.b,p=e.a-f.a,a=e.b-f.b,n)for(r=HM(yTt(t,(zYt(),twe)))===HM((X_t(),qAe)),g=new Kd(t.j);g.a<g.c.c.length;)switch((d=$z(Q1(g),11)).j.g){case 1:r||(d.n.a*=w);break;case 2:d.n.a+=p,r||(d.n.b*=s);break;case 3:r||(d.n.a*=w),d.n.b+=a;break;case 4:r||(d.n.b*=s);}for(u=new Kd(t.b);u.a<u.c.c.length;)l=(c=$z(Q1(u),70)).n.a+c.o.a/2,h=c.n.b+c.o.b/2,(b=l/f.a)+(o=h/f.b)>=1&&(b-o>0&&h>=0?(c.n.a+=p,c.n.b+=a*o):b-o<0&&l>=0&&(c.n.a+=p*b,c.n.b+=a));t.o.a=e.a,t.o.b=e.b,uct(t,(zYt(),jbe),(ypt(),new Xj(i=$z(Yk(XMe),9),$z(ER(i,i.length),9),0)));}function dGt(t,e,n,i,r,a){if(null!=e&&Kdt(e,AOe,MOe))throw Fw(new Rv("invalid scheme: "+e));if(!(t||null!=n&&-1==HI(n,VEt(35))&&n.length>0&&(h1(0,n.length),47!=n.charCodeAt(0))))throw Fw(new Rv("invalid opaquePart: "+n));if(t&&(null==e||!DE(mOe,e.toLowerCase()))&&null!=n&&Kdt(n,IOe,OOe))throw Fw(new Rv(s7t+n));if(t&&null!=e&&DE(mOe,e.toLowerCase())&&!S_t(n))throw Fw(new Rv(s7t+n));if(!qdt(i))throw Fw(new Rv("invalid device: "+i));if(!Blt(r))throw Fw(new Rv(null==r?"invalid segments: null":"invalid segment: "+clt(r)));if(null!=a&&-1!=HI(a,VEt(35)))throw Fw(new Rv("invalid query: "+a))}function gGt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(MEt(n,"Calculate Graph Size",1),n.n&&t&&y0(n,o2(t),(Fut(),aIe)),c=QQt,u=QQt,o=J3t,s=J3t,f=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));f.e!=f.i.gc();)p=(l=$z(vwt(f),33)).i,b=l.j,y=l.g,r=l.f,a=$z(QOt(l,(cWt(),ICe)),142),c=e.Math.min(c,p-a.b),u=e.Math.min(u,b-a.d),o=e.Math.max(o,p+y+a.c),s=e.Math.max(s,b+r+a.a);for(d=new DA(c-(g=$z(QOt(t,(cWt(),qCe)),116)).b,u-g.d),h=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));h.e!=h.i.gc();)Cnt(l=$z(vwt(h),33),l.i-d.a),Snt(l,l.j-d.b);w=o-c+(g.b+g.c),i=s-u+(g.d+g.a),Tnt(t,w),Ent(t,i),n.n&&t&&y0(n,o2(t),(Fut(),aIe));}function pGt(t){var e,n,i,r,a,o,s,c,u,l;for(i=new Lw,o=new Kd(t.e.a);o.a<o.c.c.length;){for(l=0,(r=$z(Q1(o),121)).k.c=D8(Ite,zWt,1,0,5,1),n=new Kd(vdt(r));n.a<n.c.c.length;)(e=$z(Q1(n),213)).f&&(Kz(r.k,e),++l);1==l&&(i.c[i.c.length]=r);}for(a=new Kd(i);a.a<a.c.c.length;)for(r=$z(Q1(a),121);1==r.k.c.length;){for(u=$z(Q1(new Kd(r.k)),213),t.b[u.c]=u.g,s=u.d,c=u.e,n=new Kd(vdt(r));n.a<n.c.c.length;)Dht(e=$z(Q1(n),213),u)||(e.f?s==e.d||c==e.e?t.b[u.c]-=t.b[e.c]-e.g:t.b[u.c]+=t.b[e.c]-e.g:r==s?e.d==r?t.b[u.c]+=e.g:t.b[u.c]-=e.g:e.d==r?t.b[u.c]-=e.g:t.b[u.c]+=e.g);y9(s.k,u),y9(c.k,u),r=s==r?u.e:u.d;}}function bGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(null==e||0==e.length)return null;if(!(a=$z(EQ(t.f,e),23))){for(r=new Bd(new Ad(t.d).a.vc().Kc());r.a.Ob();)if(o=$z(r.a.Pb(),42),s=(n=$z(o.dd(),23)).f,f=e.length,wj(s.substr(s.length-f,f),e)&&(e.length==s.length||46==uX(s,s.length-e.length-1))){if(a)return null;a=n;}if(!a)for(i=new Bd(new Ad(t.d).a.vc().Kc());i.a.Ob();)if(o=$z(i.a.Pb(),42),null!=(h=(n=$z(o.dd(),23)).g))for(u=0,l=(c=h).length;u<l;++u)if(s=c[u],f=e.length,wj(s.substr(s.length-f,f),e)&&(e.length==s.length||46==uX(s,s.length-e.length-1))){if(a)return null;a=n;}a&&wJ(t.f,e,a);}return a}function wGt(t,e){var n,i,r,a,o;for(n=new Sx,o=!1,a=0;a<e.length;a++)if(h1(a,e.length),32!=(i=e.charCodeAt(a)))o?39==i?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(i),++a):o=!1:n.a+=String.fromCharCode(i):HI("GyMLdkHmsSEcDahKzZv",VEt(i))>0?(Cwt(t,n,0),n.a+=String.fromCharCode(i),Cwt(t,n,r=rbt(e,a)),a+=r-1):39==i?a+1<e.length&&(h1(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(i);else for(Cwt(t,n,0),n.a+=" ",Cwt(t,n,0);a+1<e.length&&(h1(a+1,e.length),32==e.charCodeAt(a+1));)++a;Cwt(t,n,0),bEt(t);}function yGt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(MEt(i,"Network simplex layering",1),t.b=n,w=4*$z(yTt(n,(zYt(),Dwe)),19).a,(b=t.b.a).c.length<1)zCt(i);else {for(p=null,a=cwt(o=Ajt(t,b),0);a.b!=a.d.c;){for(r=$z(h3(a),15),c=w*CQ(e.Math.sqrt(r.gc())),Yjt(Wx(Vx(Xx($$(s=s$t(r)),c),p),!0),yat(i,1)),f=t.b.b,g=new Kd(s.a);g.a<g.c.c.length;){for(d=$z(Q1(g),121);f.c.length<=d.e;)mG(f,f.c.length,new FY(t.b));TJ($z(d.f,10),$z(DU(f,d.e),29));}if(o.b>1)for(p=D8(ANe,uVt,25,t.b.b.c.length,15,1),h=0,l=new Kd(t.b.b);l.a<l.c.c.length;)u=$z(Q1(l),29),p[h++]=u.a.c.length;}b.c=D8(Ite,zWt,1,0,5,1),t.a=null,t.b=null,t.c=null,zCt(i);}}function mGt(t){var n,i,r,a,o,s,c;for(n=0,o=new Kd(t.b.a);o.a<o.c.c.length;)(r=$z(Q1(o),189)).b=0,r.c=0;for(kCt(t,0),egt(t,t.g),vNt(t.c),Zv(t.c),$ht(),i=RSe,Pjt(tI(Eqt(Pjt(tI(Eqt(Pjt(Eqt(t.c,i)),xft(i)))),i))),Eqt(t.c,RSe),Fft(t,t.g),vTt(t,0),bHt(t,0),ELt(t,1),kCt(t,1),egt(t,t.d),vNt(t.c),s=new Kd(t.b.a);s.a<s.c.c.length;)r=$z(Q1(s),189),n+=e.Math.abs(r.c);for(c=new Kd(t.b.a);c.a<c.c.c.length;)(r=$z(Q1(c),189)).b=0,r.c=0;for(i=FSe,Pjt(tI(Eqt(Pjt(tI(Eqt(Pjt(Zv(Eqt(t.c,i))),xft(i)))),i))),Eqt(t.c,RSe),Fft(t,t.d),vTt(t,1),bHt(t,1),ELt(t,0),Zv(t.c),a=new Kd(t.b.a);a.a<a.c.c.length;)r=$z(Q1(a),189),n+=e.Math.abs(r.c);return n}function vGt(t,e){var n,i,r,a,o,s,c,u,l;if(null!=(u=e).b&&null!=t.b){for(_Lt(t),HHt(t),_Lt(u),HHt(u),n=D8(ANe,uVt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)i+=2;else if(a>=s&&r<=c)s<=r&&a<=c?(n[l++]=r,n[l++]=a,i+=2):s<=r?(n[l++]=r,n[l++]=c,t.b[i]=c+1,o+=2):a<=c?(n[l++]=s,n[l++]=a,i+=2):(n[l++]=s,n[l++]=c,t.b[i]=c+1);else {if(!(c<r))throw Fw(new dv("Token#intersectRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] & ["+u.b[o]+","+u.b[o+1]+"]"));o+=2;}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=D8(ANe,uVt,25,l,15,1),aHt(n,0,t.b,0,l);}}function xGt(t){var n,i,r,a,o,s,c;for(n=new Lw,t.g=new Lw,t.d=new Lw,s=new out(new Td(t.f.b).a);s.b;)Kz(n,$z($z((o=tnt(s)).dd(),46).b,81)),dO($z(o.cd(),594).gf())?Kz(t.d,$z(o.dd(),46)):Kz(t.g,$z(o.dd(),46));for(egt(t,t.d),egt(t,t.g),t.c=new cIt(t.b),tk(t.c,(bT(),Hoe)),Fft(t,t.d),Fft(t,t.g),pst(n,t.c.a.b),t.e=new DA(BVt,BVt),t.a=new DA(RVt,RVt),r=new Kd(n);r.a<r.c.c.length;)i=$z(Q1(r),81),t.e.a=e.Math.min(t.e.a,i.g.c),t.e.b=e.Math.min(t.e.b,i.g.d),t.a.a=e.Math.max(t.a.a,i.g.c+i.g.b),t.a.b=e.Math.max(t.a.b,i.g.d+i.g.a);Jx(t.c,new xe),c=0;do{a=mGt(t),++c;}while((c<2||a>RXt)&&c<10);Jx(t.c,new ke),mGt(t),SK(t.c),lGt(t.f);}function kGt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(zv(kB(yTt(n,(zYt(),fbe)))))for(r=new Kd(n.j);r.a<r.c.c.length;)for(s=0,c=(o=Z0($z(Q1(r),11).g)).length;s<c;++s)(a=o[s]).d.i==n&&zv(kB(yTt(a,dbe)))&&(l=a.c,(u=$z(PY(t.b,l),10))||(uct(u=fYt(l,(X_t(),WAe),l.j,-1,null,null,l.o,$z(yTt(e,Gpe),103),e),(uWt(),dfe),l),YW(t.b,l,u),Kz(e.a,u)),f=a.d,(h=$z(PY(t.b,f),10))||(uct(h=fYt(f,(X_t(),WAe),f.j,1,null,null,f.o,$z(yTt(e,Gpe),103),e),(uWt(),dfe),f),YW(t.b,f,h),Kz(e.a,h)),EJ(i=K5(a),$z(DU(u.j,0),11)),_J(i,$z(DU(h.j,0),11)),ZMt(t.a,a,new O$(i,e,(ait(),zye))),$z(yTt(e,(uWt(),Zhe)),21).Fc((fBt(),lhe)));}function _Gt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(MEt(n,"Label dummy switching",1),i=$z(yTt(e,(zYt(),Ype)),227),bat(e),r=xLt(e,i),t.a=D8(LNe,HVt,25,e.b.c.length,15,1),OSt(),l=0,d=(s=Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])).length;l<d;++l)if(((a=s[l])==tle||a==Xue||a==Que)&&!$z(EN(r.a,a)?r.b[a.g]:null,15).dc()){Qat(t,e);break}for(h=0,g=(c=Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])).length;h<g;++h)(a=c[h])==tle||a==Xue||a==Que||Ujt(t,$z(EN(r.a,a)?r.b[a.g]:null,15));for(u=0,f=(o=Cst(Hx(ale,1),OXt,227,0,[Zue,Jue,Vue,Que,tle,Xue])).length;u<f;++u)((a=o[u])==tle||a==Xue||a==Que)&&Ujt(t,$z(EN(r.a,a)?r.b[a.g]:null,15));t.a=null,zCt(n);}function EGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;switch(t.k.g){case 1:if(i=$z(yTt(t,(uWt(),dfe)),17),(n=$z(yTt(i,gfe),74))?zv(kB(yTt(i,Cfe)))&&(n=Zct(n)):n=new mm,u=$z(yTt(t,cfe),11)){if(e<=(l=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a]))).a)return l.b;n5(n,l,n.a,n.a.a);}if(h=$z(yTt(t,ufe),11)){if((f=Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;n5(n,f,n.c.b,n.c);}if(n.b>=2){for(o=$z(h3(c=cwt(n,0)),8),s=$z(h3(c),8);s.a<e&&c.b!=c.d.c;)o=s,s=$z(h3(c),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(r=(a=$z(yTt($z(DU(t.j,0),11),(uWt(),dfe)),11)).i,a.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return $kt(t).b}function TGt(t){var e,n,i,r,a,o,s,c,u,h;for(a=new Kd(t.d.b);a.a<a.c.c.length;)for(s=new Kd($z(Q1(a),29).a);s.a<s.c.c.length;)!zv(kB(yTt(o=$z(Q1(s),10),(zYt(),kpe))))||c3(udt(o))?(r=new GX(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=AN(eT(JE(tT(new Ky,o),r),due),t.a),SN(QE(Knt(new qy,Cst(Hx(hie,1),zWt,57,0,[e])),e),t.a),c=new Nw,YW(t.e,e,c),(n=j3(new oq(ZD(ldt(o).a.Kc(),new l)))-j3(new oq(ZD(hdt(o).a.Kc(),new l))))<0?qst(c,!0,($ht(),RSe)):n>0&&qst(c,!0,($ht(),jSe)),o.k==(oCt(),_se)&&fX(c),YW(t.f,o,e)):((u=(i=$z(eZ(udt(o)),17)).c.i)==o&&(u=i.d.i),h=new nM(u,qR($L(o.n),u.n)),YW(t.b,o,h));}function CGt(t,n,i){var r,a,o,s,c,u,l,h;switch(MEt(i,"Node promotion heuristic",1),t.g=n,mKt(t),t.q=$z(yTt(n,(zYt(),Ebe)),260),h=$z(yTt(t.g,_be),19).a,o=new li,t.q.g){case 2:case 1:default:jHt(t,o);break;case 3:for(t.q=(cNt(),Aye),jHt(t,o),u=0,c=new Kd(t.a);c.a<c.c.c.length;)s=$z(Q1(c),19),u=e.Math.max(u,s.a);u>t.j&&(t.q=kye,jHt(t,o));break;case 4:for(t.q=(cNt(),Aye),jHt(t,o),l=0,a=new Kd(t.b);a.a<a.c.c.length;)r=_B(Q1(a)),l=e.Math.max(l,(mW(r),r));l>t.k&&(t.q=Tye,jHt(t,o));break;case 6:jHt(t,new op(CQ(e.Math.ceil(t.f.length*h/100))));break;case 5:jHt(t,new sp(CQ(e.Math.ceil(t.d*h/100))));}sBt(t,n),zCt(i);}function SGt(t,e,n){var i,r,a,o;this.j=t,this.e=H_t(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?$z(DU(n,bW(this.o).p),214):null,r=$z(yTt(t,(uWt(),Zhe)),21),this.g=r.Hc((fBt(),lhe)),this.b=new Lw,this.d=new dpt(this.e),o=$z(yTt(this.j,Efe),230),this.q=zot(e,o,this.e),this.k=new rJ(this),a=a6(Cst(Hx(vue,1),zWt,225,0,[this,this.d,this.k,this.q])),e!=(sit(),Ame)||zv(kB(yTt(t,(zYt(),Dpe))))?e==Ame&&zv(kB(yTt(t,(zYt(),Dpe))))?(i=new q_t(this.e),a.c[a.c.length]=i,this.c=new brt(i,o,$z(this.q,402))):this.c=new bS(e,this):(i=new q_t(this.e),a.c[a.c.length]=i,this.c=new H2(i,o,$z(this.q,402))),Kz(a,this.c),SHt(a,this.e),this.s=dYt(this.k);}function AGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=(u=$z(eD(new fb(cwt(new hb(e).a.d,0))),86))?$z(yTt(u,(HUt(),ixe)),86):null,r=1;u&&f;){for(o=0,y=0,n=u,i=f,a=0;a<r;a++)n=H8(n),i=H8(i),y+=Hv(_B(yTt(n,(HUt(),oxe)))),o+=Hv(_B(yTt(i,oxe)));if(w=Hv(_B(yTt(f,(HUt(),uxe)))),b=Hv(_B(yTt(u,uxe))),l=x5(u,f),0<(h=w+o+t.a+l-b-y)){for(s=e,c=0;s&&s!=i;)++c,s=$z(yTt(s,rxe),86);if(!s)return;for(p=h/c,s=e;s!=i;)g=Hv(_B(yTt(s,uxe)))+h,uct(s,uxe,g),d=Hv(_B(yTt(s,oxe)))+h,uct(s,oxe,d),h-=p,s=$z(yTt(s,rxe),86);}++r,f=(u=0==u.d.b?Qjt(new hb(e),r):$z(eD(new fb(cwt(new hb(u).a.d,0))),86))?$z(yTt(u,ixe),86):null;}}function MGt(t,e){var n,i,r,a,o,s,c,u,h;for(s=!0,r=0,c=t.f[e.p],u=e.o.b+t.n,n=t.c[e.p][2],i5(t.a,c,nft($z(DU(t.a,c),19).a-1+n)),i5(t.b,c,Hv(_B(DU(t.b,c)))-u+n*t.e),++c>=t.i?(++t.i,Kz(t.a,nft(1)),Kz(t.b,u)):(i=t.c[e.p][1],i5(t.a,c,nft($z(DU(t.a,c),19).a+1-i)),i5(t.b,c,Hv(_B(DU(t.b,c)))+u-i*t.e)),(t.q==(cNt(),kye)&&($z(DU(t.a,c),19).a>t.j||$z(DU(t.a,c-1),19).a>t.j)||t.q==Tye&&(Hv(_B(DU(t.b,c)))>t.k||Hv(_B(DU(t.b,c-1)))>t.k))&&(s=!1),a=new oq(ZD(ldt(e).a.Kc(),new l));gOt(a);)o=$z(G5(a),17).c.i,t.f[o.p]==c&&(r+=$z((h=MGt(t,o)).a,19).a,s=s&&zv(kB(h.b)));return t.f[e.p]=c,new nM(nft(r+=t.c[e.p][0]),(cN(),!!s))}function IGt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=new Dw,s=new Lw,iMt(t,i,t.d.fg(),s,f),iMt(t,r,t.d.gg(),s,f),t.b=.2*(b=FOt(ftt(new PU(null,new f1(s,16)),new So)),w=FOt(ftt(new PU(null,new f1(s,16)),new Ao)),e.Math.min(b,w)),o=0,c=0;c<s.c.length-1;c++)for(l1(c,s.c.length),u=$z(s.c[c],112),p=c+1;p<s.c.length;p++)o+=pHt(t,u,(l1(p,s.c.length),$z(s.c[p],112)));for(d=$z(yTt(n,(uWt(),Efe)),230),o>=2&&(y=XDt(s,!0,d),!t.e&&(t.e=new lb(t)),cbt(t.e,y,s,t.b)),nEt(s,d),rqt(s),g=-1,h=new Kd(s);h.a<h.c.c.length;)l=$z(Q1(h),112),e.Math.abs(l.s-l.c)<hJt||(g=e.Math.max(g,l.o),t.d.dg(l,a,t.c));return t.d.a.a.$b(),g+1}function OGt(t,e){var n,i;Hv(_B(yTt(e,(zYt(),ywe))))<2&&uct(e,ywe,2),$z(yTt(e,Gpe),103)==($ht(),$Se)&&uct(e,Gpe,Yft(e)),0==(n=$z(yTt(e,fwe),19)).a?uct(e,(uWt(),Efe),new cdt):uct(e,(uWt(),Efe),new C4(n.a)),null==kB(yTt(e,Dbe))&&uct(e,Dbe,(cN(),HM(yTt(e,Zpe))===HM((Edt(),WSe)))),VE(new PU(null,new f1(e.a,16)),new Pg(t)),VE(ftt(new PU(null,new f1(e.b,16)),new ye),new Bg(t)),i=new cGt(e),uct(e,(uWt(),Mfe),i),c2(t.a),CK(t.a,(mTt(),Poe),$z(yTt(e,Hpe),246)),CK(t.a,Boe,$z(yTt(e,Tbe),246)),CK(t.a,Roe,$z(yTt(e,zpe),246)),CK(t.a,joe,$z(yTt(e,Rbe),246)),CK(t.a,$oe,Tot($z(yTt(e,Zpe),218))),rO(t.a,LYt(e)),uct(e,_fe,OUt(t.a,e));}function LGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;return f=t.c[e],d=t.c[n],!((g=$z(yTt(f,(uWt(),ife)),15))&&0!=g.gc()&&g.Hc(d)||(p=f.k!=(oCt(),Tse)&&d.k!=Tse,y=(b=$z(yTt(f,nfe),10))!=(w=$z(yTt(d,nfe),10)),m=!!b&&b!=f||!!w&&w!=d,v=smt(f,(vKt(),sMe)),x=smt(d,EMe),m|=smt(f,EMe)||smt(d,sMe),p&&(m&&y||v||x))||f.k==(oCt(),Sse)&&d.k==Cse||d.k==(oCt(),Sse)&&f.k==Cse)&&(l=t.c[e],a=t.c[n],r=lkt(t.e,l,a,(vKt(),CMe)),c=lkt(t.i,l,a,oMe),_Nt(t.f,l,a),u=Dut(t.b,l,a)+$z(r.a,19).a+$z(c.a,19).a+t.f.d,s=Dut(t.b,a,l)+$z(r.b,19).a+$z(c.b,19).a+t.f.b,t.a&&(h=$z(yTt(l,dfe),11),o=$z(yTt(a,dfe),11),u+=$z((i=Hvt(t.g,h,o)).a,19).a,s+=$z(i.b,19).a),u>s)}function DGt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(i=$z(yTt(t,(zYt(),twe)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,u=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new Lw,f=new Lw,a=new Kd(n);a.a<a.c.c.length;){switch(r=$z(Q1(a),10),i.g){case 1:case 2:case 3:jNt(r);break;case 4:g=(d=$z(yTt(r,Qbe),8))?d.a:0,r.n.a=c*Hv(_B(yTt(r,(uWt(),kfe))))-g,Zot(r,!0,!1);break;case 5:b=(p=$z(yTt(r,Qbe),8))?p.a:0,r.n.a=Hv(_B(yTt(r,(uWt(),kfe))))-b,Zot(r,!0,!1),s.a=e.Math.max(s.a,r.n.a+r.o.a/2);}switch($z(yTt(r,(uWt(),Whe)),61).g){case 1:r.n.b=u,l.c[l.c.length]=r;break;case 3:r.n.b=h,f.c[f.c.length]=r;}}switch(i.g){case 1:case 2:Bht(l,t),Bht(f,t);break;case 3:Rht(l,t),Rht(f,t);}}function NGt(t,e){var n,i,r,a,o,s,c,u,l,h;for(l=new Lw,h=new Ow,a=null,r=0,i=0;i<e.length;++i)switch(But(a,n=e[i])&&(r=Spt(t,h,l,Bme,r)),OP(n,(uWt(),nfe))&&(a=$z(yTt(n,nfe),10)),n.k.g){case 0:for(c=zO(Bz(adt(n,(vKt(),sMe)),new Pa));Qit(c);)o=$z(T9(c),11),t.d[o.p]=r++,l.c[l.c.length]=o;for(r=Spt(t,h,l,Bme,r),u=zO(Bz(adt(n,EMe),new Pa));Qit(u);)o=$z(T9(u),11),t.d[o.p]=r++,l.c[l.c.length]=o;break;case 3:adt(n,Pme).dc()||(o=$z(adt(n,Pme).Xb(0),11),t.d[o.p]=r++,l.c[l.c.length]=o),adt(n,Bme).dc()||d3(h,n);break;case 1:for(s=adt(n,(vKt(),CMe)).Kc();s.Ob();)o=$z(s.Pb(),11),t.d[o.p]=r++,l.c[l.c.length]=o;adt(n,oMe).Jc(new ZS(h,n));}return Spt(t,h,l,Bme,r),l}function PGt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=BVt,h=BVt,c=RVt,u=RVt,d=new Kd(n.i);d.a<d.c.c.length;)f=$z(Q1(d),65),EO(a=$z($z(PY(t.g,f.a),46).b,33),f.b.c,f.b.d),l=e.Math.min(l,a.i),h=e.Math.min(h,a.j),c=e.Math.max(c,a.i+a.g),u=e.Math.max(u,a.j+a.f);for(g=$z(QOt(t.c,(ETt(),hEe)),116),RKt(t.c,c-l+(g.b+g.c),u-h+(g.d+g.a),!0,!0),hTt(t.c,-l+g.b,-h+g.d),r=new MD(eV(t.c));r.e!=r.i.gc();)s=rBt(i=$z(vwt(r),79),!0,!0),p=CTt(i),w=MTt(i),b=new DA(p.i+p.g/2,p.j+p.f/2),o=new DA(w.i+w.g/2,w.j+w.f/2),qxt(y=qR(new DA(o.a,o.b),b),p.g,p.f),GR(b,y),qxt(m=qR(new DA(b.a,b.b),o),w.g,w.f),GR(o,m),CO(s,b.a,b.b),TO(s,o.a,o.b);}function BGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;if(t.c=t.d,f=null==(d=kB(yTt(e,(zYt(),dwe))))||(mW(d),d),a=$z(yTt(e,(uWt(),Zhe)),21).Hc((fBt(),lhe)),n=!((r=$z(yTt(e,twe),98))==(X_t(),GAe)||r==KAe||r==qAe),!f||!n&&a)h=new Vv(Cst(Hx(vse,1),ZJt,37,0,[e]));else {for(l=new Kd(e.a);l.a<l.c.c.length;)$z(Q1(l),10).p=0;for(h=new Lw,u=new Kd(e.a);u.a<u.c.c.length;)if(i=L$t(t,$z(Q1(u),10),null)){for(Hot(c=new yit,e),uct(c,qhe,$z(i.b,21)),mV(c.d,e.d),uct(c,Fbe,null),s=$z(i.a,15).Kc();s.Ob();)o=$z(s.Pb(),10),Kz(c.a,o),o.a=c;h.Fc(c);}a&&(HM(yTt(e,Cpe))===HM((Fht(),lse))?t.c=t.b:t.c=t.a);}return HM(yTt(e,Cpe))!==HM((Fht(),fse))&&(EV(),h.ad(new Ne)),h}function RGt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,X3t),"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),V3t),Jft((uOt(),XIe))))),a2(t,X3t,XQt,Axe),a2(t,X3t,wJt,20),a2(t,X3t,WQt,gJt),a2(t,X3t,bJt,nft(1)),a2(t,X3t,vJt,(cN(),!0)),a2(t,X3t,K2t,ywt(xxe)),a2(t,X3t,CJt,ywt(_xe)),a2(t,X3t,FJt,ywt(Exe)),a2(t,X3t,TJt,ywt(Txe)),a2(t,X3t,SJt,ywt(kxe)),a2(t,X3t,EJt,ywt(Cxe)),a2(t,X3t,AJt,ywt(Mxe)),a2(t,X3t,K3t,ywt(Nxe)),a2(t,X3t,Y3t,ywt(Oxe));}function jGt(t){t.q||(t.q=!0,t.p=vot(t,0),t.a=vot(t,1),Rrt(t.a,0),t.f=vot(t,2),Rrt(t.f,1),Brt(t.f,2),t.n=vot(t,3),Brt(t.n,3),Brt(t.n,4),Brt(t.n,5),Brt(t.n,6),t.g=vot(t,4),Rrt(t.g,7),Brt(t.g,8),t.c=vot(t,5),Rrt(t.c,7),Rrt(t.c,8),t.i=vot(t,6),Rrt(t.i,9),Rrt(t.i,10),Rrt(t.i,11),Rrt(t.i,12),Brt(t.i,13),t.j=vot(t,7),Rrt(t.j,9),t.d=vot(t,8),Rrt(t.d,3),Rrt(t.d,4),Rrt(t.d,5),Rrt(t.d,6),Brt(t.d,7),Brt(t.d,8),Brt(t.d,9),Brt(t.d,10),t.b=vot(t,9),Brt(t.b,0),Brt(t.b,1),t.e=vot(t,10),Brt(t.e,1),Brt(t.e,2),Brt(t.e,3),Brt(t.e,4),Rrt(t.e,5),Rrt(t.e,6),Rrt(t.e,7),Rrt(t.e,8),Rrt(t.e,9),Rrt(t.e,10),Brt(t.e,11),t.k=vot(t,11),Brt(t.k,0),Brt(t.k,1),t.o=xot(t,12),t.s=xot(t,13));}function $Gt(t,e){e.dc()&&tH(t.j,!0,!0,!0,!0),Dht(e,(vKt(),dMe))&&tH(t.j,!0,!0,!0,!1),Dht(e,cMe)&&tH(t.j,!1,!0,!0,!0),Dht(e,xMe)&&tH(t.j,!0,!0,!1,!0),Dht(e,_Me)&&tH(t.j,!0,!1,!0,!0),Dht(e,gMe)&&tH(t.j,!1,!0,!0,!1),Dht(e,uMe)&&tH(t.j,!1,!0,!1,!0),Dht(e,kMe)&&tH(t.j,!0,!1,!1,!0),Dht(e,vMe)&&tH(t.j,!0,!1,!0,!1),Dht(e,yMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,hMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,yMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,lMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,mMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,wMe)&&tH(t.j,!0,!0,!0,!0),Dht(e,bMe)&&tH(t.j,!0,!0,!0,!0);}function FGt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(a=new Lw,u=new Kd(i);u.a<u.c.c.length;)if(o=null,(s=$z(Q1(u),441)).f==(ait(),zye))for(g=new Kd(s.e);g.a<g.c.c.length;)bW(b=(d=$z(Q1(g),17)).d.i)==e?Tet(t,e,s,d,s.b,d.d):!n||dot(b,n)?UTt(t,e,s,i,d):((f=LHt(t,e,n,d,s.b,zye,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new Kd(s.e);h.a<h.c.c.length;)if(bW(p=(l=$z(Q1(h),17)).c.i)==e)Tet(t,e,s,l,l.c,s.b);else {if(!n||dot(p,n))continue;(f=LHt(t,e,n,l,s.b,Fye,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f);}for(c=new Kd(a);c.a<c.c.c.length;)s=$z(Q1(c),441),-1!=x9(e.a,s.a,0)||Kz(e.a,s.a),s.c&&(r.c[r.c.length]=s);}function zGt(t,e,n){var i,r,a,o,s,c,u,l;for(c=new Lw,s=new Kd(e.a);s.a<s.c.c.length;)for(l=adt($z(Q1(s),10),(vKt(),oMe)).Kc();l.Ob();)for(r=new Kd($z(l.Pb(),11).g);r.a<r.c.c.length;)!h5(i=$z(Q1(r),17))&&i.c.i.c==i.d.i.c||h5(i)||i.d.i.c!=n||(c.c[c.c.length]=i);for(o=eot(n.a).Kc();o.Ob();)for(l=adt($z(o.Pb(),10),(vKt(),CMe)).Kc();l.Ob();)for(r=new Kd($z(l.Pb(),11).e);r.a<r.c.c.length;)if((h5(i=$z(Q1(r),17))||i.c.i.c!=i.d.i.c)&&!h5(i)&&i.c.i.c==e){for(TP((u=new _2(c,c.c.length)).b>0),a=$z(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,TP(u.b>0),a=$z(u.a.Xb(u.c=--u.b),17);u.b>0&&uW(u);}}function HGt(t,e,n){var i,r,a,o,s,c,u,l,h;if(t.a!=e.Aj())throw Fw(new Rv(g6t+e.ne()+p6t));if(i=Sht((ASt(),VLe),e).$k())return i.Aj().Nh().Ih(i,n);if(o=Sht(VLe,e).al()){if(null==n)return null;if((s=$z(n,15)).dc())return "";for(h=new Ex,a=s.Kc();a.Ob();)r=a.Pb(),iI(h,o.Aj().Nh().Ih(o,r)),h.a+=" ";return BI(h,h.a.length-1)}if(!(l=Sht(VLe,e).bl()).dc()){for(u=l.Kc();u.Ob();)if((c=$z(u.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(t){if(!iD(t=hst(t),102))throw Fw(t)}throw Fw(new Rv("Invalid value: '"+n+"' for datatype :"+e.ne()))}return $z(e,834).Fj(),null==n?null:iD(n,172)?""+$z(n,172).a:tut(n)==yee?FL(SIe[0],$z(n,199)):Fdt(n)}function UGt(t){var n,i,r,a,o,s,c,u,l;for(u=new XE,s=new XE,a=new Kd(t);a.a<a.c.c.length;)(i=$z(Q1(a),128)).v=0,i.n=i.i.c.length,i.u=i.t.c.length,0==i.n&&n5(u,i,u.c.b,u.c),0==i.u&&0==i.r.a.gc()&&n5(s,i,s.c.b,s.c);for(o=-1;0!=u.b;)for(n=new Kd((i=$z(txt(u,0),128)).t);n.a<n.c.c.length;)(l=$z(Q1(n),268).b).v=e.Math.max(l.v,i.v+1),o=e.Math.max(o,l.v),--l.n,0==l.n&&n5(u,l,u.c.b,u.c);if(o>-1){for(r=cwt(s,0);r.b!=r.d.c;)(i=$z(h3(r),128)).v=o;for(;0!=s.b;)for(n=new Kd((i=$z(txt(s,0),128)).i);n.a<n.c.c.length;)0==(c=$z(Q1(n),268).a).r.a.gc()&&(c.v=e.Math.min(c.v,i.v-1),--c.u,0==c.u&&n5(s,c,s.c.b,s.c));}}function GGt(t,n,i,r,a){var o,s,c,u;return u=BVt,s=!1,o=!!(c=Gzt(t,qR(new DA(n.a,n.b),t),GR(new DA(i.a,i.b),a),qR(new DA(r.a,r.b),i)))&&!(e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t||e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t),(c=Gzt(t,qR(new DA(n.a,n.b),t),i,a))&&((e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t)==(e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t)||o?u=e.Math.min(u,lW(qR(c,i))):s=!0),(c=Gzt(t,qR(new DA(n.a,n.b),t),r,a))&&(s||(e.Math.abs(c.a-t.a)<=c5t&&e.Math.abs(c.b-t.b)<=c5t)==(e.Math.abs(c.a-n.a)<=c5t&&e.Math.abs(c.b-n.b)<=c5t)||o)&&(u=e.Math.min(u,lW(qR(c,r)))),u}function qGt(t){LT(t,new EEt(dk(bk(fk(pk(gk(new bs,jJt),$Jt),"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),pJt))),a2(t,jJt,xJt,ywt(moe)),a2(t,jJt,_Jt,(cN(),!0)),a2(t,jJt,CJt,ywt(koe)),a2(t,jJt,FJt,ywt(_oe)),a2(t,jJt,TJt,ywt(Eoe)),a2(t,jJt,SJt,ywt(xoe)),a2(t,jJt,EJt,ywt(Toe)),a2(t,jJt,AJt,ywt(Coe)),a2(t,jJt,DJt,ywt(yoe)),a2(t,jJt,PJt,ywt(boe)),a2(t,jJt,BJt,ywt(woe)),a2(t,jJt,RJt,ywt(voe)),a2(t,jJt,NJt,ywt(poe));}function KGt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Interactive crossing minimization",1),o=0,a=new Kd(t.b);a.a<a.c.c.length;)(i=$z(Q1(a),29)).p=o++;for(p=new Pk((f=H_t(t)).length),SHt(new Vv(Cst(Hx(vue,1),zWt,225,0,[p])),f),g=0,o=0,r=new Kd(t.b);r.a<r.c.c.length;){for(n=0,h=0,l=new Kd((i=$z(Q1(r),29)).a);l.a<l.c.c.length;)for((c=$z(Q1(l),10)).n.a>0&&(n+=c.n.a+c.o.a/2,++h),d=new Kd(c.j);d.a<d.c.c.length;)$z(Q1(d),11).p=g++;for(h>0&&(n/=h),b=D8(LNe,HVt,25,i.a.c.length,15,1),s=0,u=new Kd(i.a);u.a<u.c.c.length;)(c=$z(Q1(u),10)).p=s++,b[c.p]=EGt(c,n),c.k==(oCt(),Tse)&&uct(c,(uWt(),pfe),b[c.p]);EV(),wL(i.a,new Hp(b)),i$t(p,f,o,!0),++o;}zCt(e);}function YGt(t,e){var n,i,r,a,o,s,c,u,l;if(5!=e.e){if(null!=(u=e).b&&null!=t.b){for(_Lt(t),HHt(t),_Lt(u),HHt(u),n=D8(ANe,uVt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)n[l++]=t.b[i++],n[l++]=t.b[i++];else if(a>=s&&r<=c)s<=r&&a<=c?i+=2:s<=r?(t.b[i]=c+1,o+=2):a<=c?(n[l++]=r,n[l++]=s-1,i+=2):(n[l++]=r,n[l++]=s-1,t.b[i]=c+1,o+=2);else {if(!(c<r))throw Fw(new dv("Token#subtractRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] - ["+u.b[o]+","+u.b[o+1]+"]"));o+=2;}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=D8(ANe,uVt,25,l,15,1),aHt(n,0,t.b,0,l);}}else vGt(t,e);}function WGt(t){var e,n,i,r,a,o,s;if(!t.A.dc()){if(t.A.Hc((ypt(),BMe))&&($z(oX(t.b,(vKt(),sMe)),124).k=!0,$z(oX(t.b,EMe),124).k=!0,e=t.q!=(X_t(),KAe)&&t.q!=qAe,Lf($z(oX(t.b,oMe),124),e),Lf($z(oX(t.b,CMe),124),e),Lf(t.g,e),t.A.Hc(RMe)&&($z(oX(t.b,sMe),124).j=!0,$z(oX(t.b,EMe),124).j=!0,$z(oX(t.b,oMe),124).k=!0,$z(oX(t.b,CMe),124).k=!0,t.g.k=!0)),t.A.Hc(PMe))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.B.Hc((Jjt(),qMe)),a=0,o=(r=twt()).length;a<o;++a)i=r[a],(n=$z(oX(t.i,i),306))&&(abt(i)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.A.Hc(NMe)&&t.B.Hc((Jjt(),GMe))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0));}}function XGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;for(n=new Kd(t.e.b);n.a<n.c.c.length;)for(r=new Kd($z(Q1(n),29).a);r.a<r.c.c.length;)if(i=$z(Q1(r),10),c=(h=t.i[i.p]).a.e,s=h.d.e,i.n.b=c,p=s-c-i.o.b,e=IHt(i),fyt(),l=(i.q?i.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(i,Pbe),197):$z(yTt(bW(i),Bbe),197),e&&(l==uye||l==cye)&&(i.o.b+=p),e&&(l==hye||l==uye||l==cye)){for(d=new Kd(i.j);d.a<d.c.c.length;)f=$z(Q1(d),11),(vKt(),hMe).Hc(f.j)&&(u=$z(PY(t.k,f),121),f.n.b=u.e-c);for(o=new Kd(i.b);o.a<o.c.c.length;)a=$z(Q1(o),70),(g=$z(yTt(i,Ibe),21)).Hc((JOt(),LAe))?a.n.b+=p:g.Hc(DAe)&&(a.n.b+=p/2);(l==uye||l==cye)&&adt(i,(vKt(),EMe)).Jc(new rb(p));}}function VGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!t.b)return !1;for(o=null,f=null,r=1,(c=new F8(null,null)).a[1]=t.b,h=c;h.a[r];)u=r,s=f,f=h,h=h.a[r],r=(i=t.a.ue(e,h.d))<0?0:1,0==i&&(!n.c||iX(h.e,n.d))&&(o=h),h&&h.b||Yv(h.a[r])||(Yv(h.a[1-r])?f=f.a[u]=drt(h,r):Yv(h.a[1-r])||(d=f.a[1-u])&&(Yv(d.a[1-u])||Yv(d.a[u])?(a=s.a[1]==f?1:0,Yv(d.a[u])?s.a[a]=n2(f,u):Yv(d.a[1-u])&&(s.a[a]=drt(f,u)),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&&(fTt(t,c,o,l=new F8(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=c.a[1],t.b&&(t.b.b=!1),n.b}function ZGt(t){var n,i,r,a,o,s,c,u,l,h,f,d;for(a=new Kd(t.a.a.b);a.a<a.c.c.length;)for(u=(r=$z(Q1(a),57)).c.Kc();u.Ob();)c=$z(u.Pb(),57),r.a!=c.a&&(f=dO(t.a.d)?t.a.g.Oe(r,c):t.a.g.Pe(r,c),o=r.b.a+r.d.b+f-c.b.a,o=e.Math.ceil(o),o=e.Math.max(0,o),Z9(r,c)?(s=MN(new zy,t.d),n=(l=CQ(e.Math.ceil(c.b.a-r.b.a)))-(c.b.a-r.b.a),i=r,(h=u3(r).a)||(h=u3(c).a,n=-n,i=c),h&&(i.b.a-=n,h.n.a-=n),qNt(rT(iT(aT(nT(new Fy,e.Math.max(0,l)),1),s),t.c[r.a.d])),qNt(rT(iT(aT(nT(new Fy,e.Math.max(0,-l)),1),s),t.c[c.a.d]))):(d=1,(iD(r.g,145)&&iD(c.g,10)||iD(c.g,145)&&iD(r.g,10))&&(d=2),qNt(rT(iT(aT(nT(new Fy,CQ(o)),d),t.c[r.a.d]),t.c[c.a.d]))));}function QGt(t,n,i){var r,a,o,s,c,u,l,h,f,d;if(i)for(r=-1,h=new _2(n,0);h.b<h.d.gc();){if(TP(h.b<h.d.gc()),c=$z(h.d.Xb(h.c=h.b++),10),null==(f=t.c[c.c.p][c.p].a)){for(s=r+1,o=new _2(n,h.b);o.b<o.d.gc();)if(null!=(d=fD(t,(TP(o.b<o.d.gc()),$z(o.d.Xb(o.c=o.b++),10))).a)){mW(d),s=d;break}f=(r+s)/2,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=(mW(f),f),t.c[c.c.p][c.p].b=1;}mW(f),r=f;}else {for(a=0,l=new Kd(n);l.a<l.c.c.length;)c=$z(Q1(l),10),null!=t.c[c.c.p][c.p].a&&(a=e.Math.max(a,Hv(t.c[c.c.p][c.p].a)));for(a+=2,u=new Kd(n);u.a<u.c.c.length;)c=$z(Q1(u),10),null==t.c[c.c.p][c.p].a&&(f=zLt(t.i,24)*oZt*a-1,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=f,t.c[c.c.p][c.p].b=1);}}function JGt(){PI(jOe,new eu),PI(POe,new fu),PI(FOe,new _u),PI($Oe,new Mu),PI(zOe,new Iu),PI(GOe,new Ou),PI(qOe,new Lu),PI($Ie,new Du),PI(jIe,new qc),PI(FIe,new Kc),PI(IIe,new Yc),PI(YOe,new Wc),PI(zIe,new Xc),PI(WOe,new Vc),PI(XOe,new Zc),PI(ROe,new Qc),PI(BOe,new Jc),PI(GLe,new tu),PI(KOe,new nu),PI(SLe,new iu),PI(vee,new ru),PI(Hx(ONe,1),new au),PI(_ee,new ou),PI(Tee,new su),PI(yee,new cu),PI(BNe,new uu),PI(Cee,new lu),PI(rOe,new hu),PI(wOe,new du),PI(lDe,new gu),PI(MLe,new pu),PI(See,new bu),PI(Iee,new wu),PI(Ote,new yu),PI(Bee,new mu),PI(Dte,new vu),PI(tDe,new xu),PI(RNe,new ku),PI(jee,new Eu),PI(Xee,new Tu),PI(cOe,new Cu),PI(jNe,new Su);}function tqt(t,e,n){var i,r,a,o,s,c,u,l,h;for(!n&&(n=Ust(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new TB(idt(lot(e.q.getTime()),r)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,c=new TB(idt(lot(e.q.getTime()),r))),l=new Sx,u=t.a.length,a=0;a<u;)if((i=uX(t.a,a))>=97&&i<=122||i>=65&&i<=90){for(o=a+1;o<u&&uX(t.a,o)==i;++o);aWt(l,i,o-a,s,c,n),a=o;}else if(39==i){if(++a<u&&39==uX(t.a,a)){l.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<u&&39!=uX(t.a,o);)++o;if(o>=u)throw Fw(new Rv("Missing trailing '"));o+1<u&&39==uX(t.a,o+1)?++o:h=!0,oI(l,uP(t.a,a,o)),a=o+1;}}else l.a+=String.fromCharCode(i),++a;return l.a}function eqt(t){var e,n,i,r,a,o,s,c;for(e=null,i=new Kd(t);i.a<i.c.c.length;)Hv(lD((n=$z(Q1(i),233)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new Lw),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=$z(s6(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Lw),a=new Kd(n.b);a.a<a.c.c.length;)if(Uv(lD((r=$z(Q1(a),233)).g,r.d[0]).a)==Uv(lD(n.g,n.d[0]).a)){if(x9(t,r,0)>x9(t,n,0))return new nM(r,n)}else if(Hv(lD(r.g,r.d[0]).a)>Hv(lD(n.g,n.d[0]).a))return new nM(r,n);for(s=(!n.e&&(n.e=new Lw),n.e).Kc();s.Ob();)!(o=$z(s.Pb(),233)).b&&(o.b=new Lw),OJ(0,(c=o.b).c.length),_C(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o);}return null}function nqt(t,e){var n,i,r,a,o,s;if(null==t)return GWt;if(null!=e.a.zc(t,e))return "[...]";for(n=new Oot($Wt,"[","]"),a=0,o=(r=t).length;a<o;++a)null!=(i=r[a])&&4&tut(i).i?!Array.isArray(i)||(s=btt(i))>=14&&s<=16?iD(i,177)?h6(n,BAt($z(i,177))):iD(i,190)?h6(n,Z_t($z(i,190))):iD(i,195)?h6(n,vCt($z(i,195))):iD(i,2012)?h6(n,Q_t($z(i,2012))):iD(i,48)?h6(n,PAt($z(i,48))):iD(i,364)?h6(n,pMt($z(i,364))):iD(i,832)?h6(n,NAt($z(i,832))):iD(i,104)&&h6(n,DAt($z(i,104))):e.a._b(i)?(n.a?oI(n.a,n.b):n.a=new lN(n.d),rI(n.a,"[...]")):h6(n,nqt(ent(i),new IU(e))):h6(n,null==i?GWt:Fdt(i));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function iqt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(g=HCt(rBt(n,!1,!1)),r&&(g=Zct(g)),b=Hv(_B(QOt(n,(kwt(),pae)))),TP(0!=g.b),d=$z(g.a.a.c,8),l=$z(Pwt(g,1),8),g.b>2?(pst(u=new Lw,new s1(g,1,g.b)),Hot(p=new kOt(KYt(u,b+t.a)),n),i.c[i.c.length]=p):p=$z(PY(t.b,r?CTt(n):MTt(n)),266),s=CTt(n),r&&(s=MTt(n)),o=nSt(d,s),c=b+t.a,o.a?(c+=e.Math.abs(d.b-l.b),f=new DA(l.a,(l.b+d.b)/2)):(c+=e.Math.abs(d.a-l.a),f=new DA((l.a+d.a)/2,l.b)),YW(r?t.d:t.c,n,new Amt(p,o,f,c)),YW(t.b,n,p),!n.n&&(n.n=new tK(HIe,n,1,7)),h=new MD(n.n);h.e!=h.i.gc();)a=ZRt(t,$z(vwt(h),137),!0,0,0),i.c[i.c.length]=a;}function rqt(t){var n,i,r,a,o,s,c,u,l;for(u=new Lw,s=new Lw,o=new Kd(t);o.a<o.c.c.length;)Yf(r=$z(Q1(o),112),r.f.c.length),Wf(r,r.k.c.length),0==r.d&&(u.c[u.c.length]=r),0==r.i&&0==r.e.b&&(s.c[s.c.length]=r);for(i=-1;0!=u.c.length;)for(n=new Kd((r=$z(s6(u,0),112)).k);n.a<n.c.c.length;)Xf(l=$z(Q1(n),129).b,e.Math.max(l.o,r.o+1)),i=e.Math.max(i,l.o),Yf(l,l.d-1),0==l.d&&(u.c[u.c.length]=l);if(i>-1){for(a=new Kd(s);a.a<a.c.c.length;)(r=$z(Q1(a),112)).o=i;for(;0!=s.c.length;)for(n=new Kd((r=$z(s6(s,0),112)).f);n.a<n.c.c.length;)(c=$z(Q1(n),129).a).e.b>0||(Xf(c,e.Math.min(c.o,r.o-1)),Wf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c));}}function aqt(t,e,n){var i,r,a,o,s;if(s=t.c,!e&&(e=ILe),t.c=e,4&t.Db&&!(1&t.Db)&&(o=new Qq(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(iD(t.Cb,284))t.Db>>16==-10?n=$z(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(pWt(),e=uLe),!s&&(pWt(),s=uLe),t.Cb.nh()&&(o=new L9(t.Cb,1,13,s,e,oyt(F9($z(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(iD(t.Cb,88))t.Db>>16==-23&&(iD(e,88)||(pWt(),e=fLe),iD(s,88)||(pWt(),s=fLe),t.Cb.nh()&&(o=new L9(t.Cb,1,10,s,e,oyt(r4($z(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(iD(t.Cb,444))for(!(a=$z(t.Cb,836)).b&&(a.b=new kw(new Dm)),r=new _w(new out(new Td(a.b.a).a));r.a.b;)n=aqt(i=$z(tnt(r.a).cd(),87),vDt(i,a),n);return n}function oqt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(o=zv(kB(QOt(t,(zYt(),fbe)))),f=$z(QOt(t,iwe),21),c=!1,u=!1,h=new MD((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));!(h.e==h.i.gc()||c&&u);){for(a=$z(vwt(h),118),s=0,r=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!a.d&&(a.d=new cj(BIe,a,8,5)),a.d),(!a.e&&(a.e=new cj(BIe,a,7,4)),a.e)])));gOt(r)&&(i=$z(G5(r),79),l=o&&XMt(i)&&zv(kB(QOt(i,dbe))),n=fUt((!i.b&&(i.b=new cj(PIe,i,4,7)),i.b),a)?t==VQ(CEt($z(Yet((!i.c&&(i.c=new cj(PIe,i,5,8)),i.c),0),82))):t==VQ(CEt($z(Yet((!i.b&&(i.b=new cj(PIe,i,4,7)),i.b),0),82))),!((l||n)&&++s>1)););(s>0||f.Hc((hMt(),tMe))&&(!a.n&&(a.n=new tK(HIe,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(u=!0);}c&&e.Fc((fBt(),lhe)),u&&e.Fc((fBt(),hhe));}function sqt(t){var n,i,r,a,o,s,c,u,l,h,f,d;if((d=$z(QOt(t,(cWt(),BCe)),21)).dc())return null;if(c=0,s=0,d.Hc((ypt(),BMe))){for(h=$z(QOt(t,aSe),98),r=2,i=2,a=2,o=2,n=VQ(t)?$z(QOt(VQ(t),hCe),103):$z(QOt(t,hCe),103),l=new MD((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));l.e!=l.i.gc();)if(u=$z(vwt(l),118),(f=$z(QOt(u,fSe),61))==(vKt(),TMe)&&(f=MFt(u,n),Vwt(u,fSe,f)),h==(X_t(),qAe))switch(f.g){case 1:r=e.Math.max(r,u.i+u.g);break;case 2:i=e.Math.max(i,u.j+u.f);break;case 3:a=e.Math.max(a,u.i+u.g);break;case 4:o=e.Math.max(o,u.j+u.f);}else switch(f.g){case 1:r+=u.g+2;break;case 2:i+=u.f+2;break;case 3:a+=u.g+2;break;case 4:o+=u.f+2;}c=e.Math.max(r,a),s=e.Math.max(i,o);}return RKt(t,c,s,!0,!0)}function cqt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(m=$z(T4(met(MX(new PU(null,new f1(n.d,16)),new Ip(i)),new Op(i)),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)]))),15),f=PWt,h=jXt,u=new Kd(n.b.j);u.a<u.c.c.length;)(c=$z(Q1(u),11)).j==i&&(f=e.Math.min(f,c.p),h=e.Math.max(h,c.p));if(f==PWt)for(s=0;s<m.gc();s++)g7($z(m.Xb(s),101),i,s);else for(ZU(v=D8(ANe,uVt,25,a.length,15,1),v.length),y=m.Kc();y.Ob();){for(w=$z(y.Pb(),101),o=$z(PY(t.b,w),177),l=0,b=f;b<=h;b++)o[b]&&(l=e.Math.max(l,r[b]));if(w.i){for(g=w.i.c,x=new Py,d=0;d<a.length;d++)a[g][d]&&kK(x,nft(v[d]));for(;jE(x,nft(l));)++l;}for(g7(w,i,l),p=f;p<=h;p++)o[p]&&(r[p]=l+1);w.i&&(v[w.i.c]=l);}}function uqt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(a=null,r=new Kd(n.a);r.a<r.c.c.length;)IHt(i=$z(Q1(r),10))?(l=new HX(i,!0,c=MN(oT(new zy,i),t.f),u=MN(oT(new zy,i),t.f)),h=i.o.b,fyt(),d=1e4,(f=(i.q?i.q:(EV(),EV(),une))._b((zYt(),Pbe))?$z(yTt(i,Pbe),197):$z(yTt(bW(i),Bbe),197))==cye&&(d=1),g=qNt(rT(iT(nT(aT(new Fy,d),CQ(e.Math.ceil(h))),c),u)),f==uye&&kK(t.d,g),M$t(t,eot(adt(i,(vKt(),CMe))),l),M$t(t,adt(i,oMe),l),o=l):(p=MN(oT(new zy,i),t.f),VE(MX(new PU(null,new f1(i.j,16)),new za),new JS(t,p)),o=new HX(i,!1,p,p)),t.i[i.p]=o,a&&(s=a.c.d.a+BL(t.n,a.c,i)+i.d.d,a.b||(s+=a.c.o.b),qNt(rT(iT(aT(nT(new Fy,CQ(e.Math.ceil(s))),0),a.d),o.a))),a=o;}function lqt(t,n){var i,r,a,o,s,c,u,h,f,d,g,p,b;for(MEt(n,"Label dummy insertions",1),d=new Lw,s=Hv(_B(yTt(t,(zYt(),vwe)))),h=Hv(_B(yTt(t,Ewe))),f=$z(yTt(t,Gpe),103),g=new Kd(t.a);g.a<g.c.c.length;)for(o=new oq(ZD(hdt($z(Q1(g),10)).a.Kc(),new l));gOt(o);)if((a=$z(G5(o),17)).c.i!=a.d.i&&JL(a.b,Qce)){for(i=sDt(t,a,b=ket(a),p=sP(a.b.c.length)),d.c[d.c.length]=i,r=i.o,c=new _2(a.b,0);c.b<c.d.gc();)TP(c.b<c.d.gc()),HM(yTt(u=$z(c.d.Xb(c.c=c.b++),70),Xpe))===HM((Bet(),USe))&&(f==($ht(),FSe)||f==BSe?(r.a+=u.o.a+h,r.b=e.Math.max(r.b,u.o.b)):(r.a=e.Math.max(r.a,u.o.a),r.b+=u.o.b+h),p.c[p.c.length]=u,uW(c));f==($ht(),FSe)||f==BSe?(r.a-=h,r.b+=s+b):r.b+=s-h+b;}pst(t.a,d),zCt(n);}function hqt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g;for(f=KBt(t,n,o=new gIt(n)),g=e.Math.max(Hv(_B(yTt(n,(zYt(),rbe)))),1),h=new Kd(f.a);h.a<h.c.c.length;)l=$z(Q1(h),46),u=Fbt($z(l.a,8),$z(l.b,8),g),UH(i,new DA(u.c,u.d)),UH(i,RP(new DA(u.c,u.d),u.b,0)),UH(i,RP(new DA(u.c,u.d),0,u.a)),UH(i,RP(new DA(u.c,u.d),u.b,u.a));switch(d=o.d,c=Fbt($z(f.b.a,8),$z(f.b.b,8),g),d==(vKt(),CMe)||d==oMe?(r.c[d.g]=e.Math.min(r.c[d.g],c.d),r.b[d.g]=e.Math.max(r.b[d.g],c.d+c.a)):(r.c[d.g]=e.Math.min(r.c[d.g],c.c),r.b[d.g]=e.Math.max(r.b[d.g],c.c+c.b)),a=RVt,s=o.c.i.d,d.g){case 4:a=s.c;break;case 2:a=s.b;break;case 1:a=s.a;break;case 3:a=s.d;}return r.a[d.g]=e.Math.max(r.a[d.g],a),o}function fqt(t){var e,n,i,r;if(-1!=(e=HI(n=null!=t.D?t.D:t.B,VEt(91)))){i=n.substr(0,e),r=new Ex;do{r.a+="[";}while(-1!=(e=lP(n,91,++e)));wj(i,OWt)?r.a+="Z":wj(i,T7t)?r.a+="B":wj(i,C7t)?r.a+="C":wj(i,S7t)?r.a+="D":wj(i,A7t)?r.a+="F":wj(i,M7t)?r.a+="I":wj(i,I7t)?r.a+="J":wj(i,O7t)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(t){if(!iD(t=hst(t),60))throw Fw(t)}}else if(-1==HI(n,VEt(46))){if(wj(n,OWt))return MNe;if(wj(n,T7t))return ONe;if(wj(n,C7t))return SNe;if(wj(n,S7t))return LNe;if(wj(n,A7t))return DNe;if(wj(n,M7t))return ANe;if(wj(n,I7t))return INe;if(wj(n,O7t))return NNe}return null}function dqt(t,e,n){var i,r,a,o,s,c,u,l;for(Hot(u=new Oyt(n),e),uct(u,(uWt(),dfe),e),u.o.a=e.g,u.o.b=e.f,u.n.a=e.i,u.n.b=e.j,Kz(n.a,u),YW(t.a,e,u),(0!=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i||zv(kB(QOt(e,(zYt(),fbe)))))&&uct(u,Rhe,(cN(),!0)),c=$z(yTt(n,Zhe),21),(l=$z(yTt(u,(zYt(),twe)),98))==(X_t(),XAe)?uct(u,twe,WAe):l!=WAe&&c.Fc((fBt(),dhe)),i=$z(yTt(n,Gpe),103),s=new MD((!e.c&&(e.c=new tK(GIe,e,9,9)),e.c));s.e!=s.i.gc();)zv(kB(QOt(o=$z(vwt(s),118),Hbe)))||Qqt(t,o,u,c,i,l);for(a=new MD((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));a.e!=a.i.gc();)!zv(kB(QOt(r=$z(vwt(a),137),Hbe)))&&r.a&&Kz(u.b,zlt(r));return zv(kB(yTt(u,kpe)))&&c.Fc((fBt(),che)),zv(kB(yTt(u,hbe)))&&(c.Fc((fBt(),fhe)),c.Fc(hhe),uct(u,twe,WAe)),u}function gqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;s=$z(PY(e.c,t),459),b=e.a.c,c=e.a.c+e.a.b,o=(_=s.f)<(E=s.a),d=new DA(b,_),w=new DA(c,E),g=new DA(r=(b+c)/2,_),y=new DA(r,E),a=eNt(t,_,E),v=g1(e.B),x=new DA(r,a),k=g1(e.D),n=hct(Cst(Hx(TTe,1),cXt,8,0,[v,x,k])),h=!1,(p=e.B.i)&&p.c&&s.d&&((u=o&&p.p<p.c.a.c.length-1||!o&&p.p>0)?u&&(l=p.p,o?++l:--l,h=!(rNt(i=nct($z(DU(p.c.a,l),10)),v,n[0])||$q(i,v,n[0]))):h=!0),f=!1,(m=e.D.i)&&m.c&&s.e&&(o&&m.p>0||!o&&m.p<m.c.a.c.length-1?(l=m.p,o?--l:++l,f=!(rNt(i=nct($z(DU(m.c.a,l),10)),n[0],k)||$q(i,n[0],k))):f=!0),h&&f&&NH(t.a,x),h||Jnt(t.a,Cst(Hx(TTe,1),cXt,8,0,[d,g])),f||Jnt(t.a,Cst(Hx(TTe,1),cXt,8,0,[y,w]));}function pqt(t,e){var n,i,r,a,o,s,c;if(iD(t.Ug(),160)?(pqt($z(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",wj((n=t.Tg().zb).substr(0,3),"Elk")?oI(e,n.substr(3)):e.a+=""+n,r=t.zg())oI((e.a+=" ",e),r);else if(iD(t,354)&&(c=$z(t,137).a))oI((e.a+=" ",e),c);else {for(a=new MD(t.Ag());a.e!=a.i.gc();)if(c=$z(vwt(a),137).a)return void oI((e.a+=" ",e),c);if(iD(t,352)&&(!(i=$z(t,79)).b&&(i.b=new cj(PIe,i,4,7)),0!=i.b.i&&(!i.c&&(i.c=new cj(PIe,i,5,8)),0!=i.c.i))){for(e.a+=" (",o=new iP((!i.b&&(i.b=new cj(PIe,i,4,7)),i.b));o.e!=o.i.gc();)o.e>0&&(e.a+=$Wt),pqt($z(vwt(o),160),e);for(e.a+=e1t,s=new iP((!i.c&&(i.c=new cj(PIe,i,5,8)),i.c));s.e!=s.i.gc();)s.e>0&&(e.a+=$Wt),pqt($z(vwt(s),160),e);e.a+=")";}}}function bqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(a=$z(yTt(t,(uWt(),dfe)),79)){for(i=t.a,GR(r=new fO(n),Okt(t)),dot(t.d.i,t.c.i)?(f=t.c,qR(h=Ict(Cst(Hx(TTe,1),cXt,8,0,[f.n,f.a])),n)):h=g1(t.c),n5(i,h,i.a,i.a.a),d=g1(t.d),null!=yTt(t,Pfe)&&GR(d,$z(yTt(t,Pfe),8)),n5(i,d,i.c.b,i.c),Qet(i,r),Lit(o=rBt(a,!0,!0),$z(Yet((!a.b&&(a.b=new cj(PIe,a,4,7)),a.b),0),82)),Dit(o,$z(Yet((!a.c&&(a.c=new cj(PIe,a,5,8)),a.c),0),82)),WFt(i,o),l=new Kd(t.b);l.a<l.c.c.length;)u=$z(Q1(l),70),Tnt(s=$z(yTt(u,dfe),137),u.o.a),Ent(s,u.o.b),EO(s,u.n.a+r.a,u.n.b+r.b),Vwt(s,(Art(),Jce),kB(yTt(u,Jce)));(c=$z(yTt(t,(zYt(),bbe)),74))?(Qet(c,r),Vwt(a,bbe,c)):Vwt(a,bbe,null),e==(Edt(),VSe)?Vwt(a,Zpe,VSe):Vwt(a,Zpe,null);}}function wqt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(d=e.c.length,f=0,h=new Kd(t.b);h.a<h.c.c.length;)if(0!=(w=(l=$z(Q1(h),29)).a).c.length){for(u=0,y=null,r=$z(Q1(b=new Kd(w)),10),a=null;r;){if((a=$z(DU(e,r.p),257)).c>=0){for(c=null,s=new _2(l.a,u+1);s.b<s.d.gc()&&(TP(s.b<s.d.gc()),o=$z(s.d.Xb(s.c=s.b++),10),!((c=$z(DU(e,o.p),257)).d==a.d&&c.c<a.c));)c=null;c&&(y&&(i5(i,r.p,nft($z(DU(i,r.p),19).a-1)),$z(DU(n,y.p),15).Mc(a)),a=dEt(a,r,d++),e.c[e.c.length]=a,Kz(n,new Lw),y?($z(DU(n,y.p),15).Fc(a),Kz(i,nft(1))):Kz(i,nft(0)));}g=null,b.a<b.c.c.length&&(g=$z(Q1(b),10),p=$z(DU(e,g.p),257),$z(DU(n,r.p),15).Fc(p),i5(i,g.p,nft($z(DU(i,g.p),19).a+1))),a.d=f,a.c=u++,y=r,r=g;}++f;}}function yqt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return c=t,l=qR(new DA(n.a,n.b),t),u=i,h=qR(new DA(r.a,r.b),i),f=c.a,b=c.b,g=u.a,y=u.b,d=l.a,w=l.b,a=(p=h.a)*w-d*(m=h.b),cL(),iit(I3t),!(e.Math.abs(0-a)<=I3t||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-g)*w-(b-y)*d),s=1/a*-(-(f-g)*m+(b-y)*p),iit(I3t),(e.Math.abs(0-o)<=I3t||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:UI(isNaN(0),isNaN(o)))<0&&(iit(I3t),(e.Math.abs(o-1)<=I3t||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:UI(isNaN(o),isNaN(1)))<0)&&(iit(I3t),(e.Math.abs(0-s)<=I3t||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:UI(isNaN(0),isNaN(s)))<0)&&(iit(I3t),(e.Math.abs(s-1)<=I3t||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:UI(isNaN(s),isNaN(1)))<0))}function mqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(h=new cW(new eg(t));h.b!=h.c.a.d;)for(s=$z((l=s7(h)).d,56),e=$z(l.e,56),p=0,v=(null==(o=s.Tg()).i&&HFt(o),o.i).length;p<v;++p)if(null==o.i&&HFt(o),a=o.i,(u=p>=0&&p<a.length?a[p]:null).Ij()&&!u.Jj())if(iD(u,99))!((c=$z(u,18)).Bb&u6t)&&!((k=Syt(c))&&k.Bb&u6t)&&yzt(t,c,s,e);else if(ZT(),$z(u,66).Oj()&&(n=$z((x=u)?$z(e,49).xh(x):null,153)))for(d=$z(s.ah(u),153),i=n.gc(),b=0,g=d.gc();b<g;++b)if(iD(f=d.il(b),99)){if(null==(r=ltt(t,m=d.jl(b)))&&null!=m){if(y=$z(f,18),!t.b||y.Bb&u6t||Syt(y))continue;r=m;}if(!n.dl(f,r))for(w=0;w<i;++w)if(n.il(w)==f&&HM(n.jl(w))===HM(r)){n.ii(n.gc()-1,w),--i;break}}else n.dl(d.il(b),d.jl(b));}function vqt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;if(w=Xzt(n,i,t.g),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),aIe)),t.b)for(b=0;b<w.c.length;b++)l1(b,w.c.length),h=$z(w.c[b],200),0!=b&&(l1(b-1,w.c.length),plt(h,(d=$z(w.c[b-1],200)).f+d.b+t.g)),yYt(b,w,i,t.g),zxt(t,h),a.n&&o&&y0(a,o2(o),(Fut(),aIe));else for(p=new Kd(w);p.a<p.c.c.length;)for(l=new Kd((g=$z(Q1(p),200)).a);l.a<l.c.c.length;)Nat(y=new BQ((u=$z(Q1(l),187)).s,u.t,t.g),u),Kz(g.d,y);return Gmt(t,w),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),aIe)),m=e.Math.max(t.d,r.a-(s.b+s.c)),c=(f=e.Math.max(t.c,r.b-(s.d+s.a)))-t.c,t.e&&t.f&&(m/f<t.a?m=f*t.a:c+=m/t.a-f),t.e&&Mpt(w,m,c),a.n&&a.n&&o&&y0(a,o2(o),(Fut(),aIe)),new tU(t.a,m,t.c+c,(VDt(),R_e))}function xqt(t){var n,i,r,a,o,s,c,u,l,h;for(t.j=D8(ANe,uVt,25,t.g,15,1),t.o=new Lw,VE(ftt(new PU(null,new f1(t.e.b,16)),new Wa),new ab(t)),t.a=D8(MNe,QZt,25,t.b,16,1),Oht(new PU(null,new f1(t.e.b,16)),new sb(t)),h=new Lw,VE(MX(ftt(new PU(null,new f1(t.e.b,16)),new Va),new ob(t)),new tA(t,h)),c=new Kd(h);c.a<c.c.c.length;)if(!((s=$z(Q1(c),508)).c.length<=1))if(2!=s.c.length){if(!K_t(s)&&!DSt(s,new Xa))for(u=new Kd(s),r=null;u.a<u.c.c.length;)n=$z(Q1(u),17),i=t.c[n.p],l=!r||u.a>=u.c.c.length?q3((oCt(),Cse),Tse):q3((oCt(),Tse),Tse),l*=2,a=i.a.g,i.a.g=e.Math.max(a,a+(l-a)),o=i.b.g,i.b.g=e.Math.max(o,o+(l-o)),r=n;}else GOt(s),IHt((l1(0,s.c.length),$z(s.c[0],17)).d.i)||Kz(t.o,s);}function kqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(m=Hz(t),c=new Lw,u=(a=t.c.length)-1,l=a+1;0!=m.a.c;){for(;0!=n.b;)TP(0!=n.b),w=$z(Iet(n,n.a.a),112),IQ(m.a,w),w.g=u--,DFt(w,e,n,i);for(;0!=e.b;)TP(0!=e.b),y=$z(Iet(e,e.a.a),112),IQ(m.a,y),y.g=l++,DFt(y,e,n,i);for(s=jXt,p=new jd(new $R(new DN(new Rd(m.a).a).b));rC(p.a.a);){if(g=$z(wP(p.a).cd(),112),!i&&g.b>0&&g.a<=0){c.c=D8(Ite,zWt,1,0,5,1),c.c[c.c.length]=g;break}(d=g.i-g.d)>=s&&(d>s&&(c.c=D8(Ite,zWt,1,0,5,1),s=d),c.c[c.c.length]=g);}0!=c.c.length&&(o=$z(DU(c,byt(r,c.c.length)),112),IQ(m.a,o),o.g=l++,DFt(o,e,n,i),c.c=D8(Ite,zWt,1,0,5,1));}for(b=t.c.length+1,f=new Kd(t);f.a<f.c.c.length;)(h=$z(Q1(f),112)).g<a&&(h.g=h.g+b);}function _qt(t,e){var n;if(t.e)throw Fw(new jv((xB(gie),IZt+gie.k+OZt)));if(!EC(t.a,e))throw Fw(new dv(LZt+e+DZt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:zmt(t);break;case 1:Sct(t),zmt(t);break;case 4:Jkt(t),zmt(t);break;case 3:Jkt(t),Sct(t),zmt(t);}break;case 2:switch(e.g){case 1:Sct(t),BRt(t);break;case 4:Jkt(t),zmt(t);break;case 3:Jkt(t),Sct(t),zmt(t);}break;case 1:switch(e.g){case 2:Sct(t),BRt(t);break;case 4:Sct(t),Jkt(t),zmt(t);break;case 3:Sct(t),Jkt(t),Sct(t),zmt(t);}break;case 4:switch(e.g){case 2:Jkt(t),zmt(t);break;case 1:Jkt(t),Sct(t),zmt(t);break;case 3:Sct(t),BRt(t);}break;case 3:switch(e.g){case 2:Sct(t),Jkt(t),zmt(t);break;case 1:Sct(t),Jkt(t),Sct(t),zmt(t);break;case 4:Sct(t),BRt(t);}}return t}function Eqt(t,e){var n;if(t.d)throw Fw(new jv((xB(Xoe),IZt+Xoe.k+OZt)));if(!TA(t.a,e))throw Fw(new dv(LZt+e+DZt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:Qct(t);break;case 1:Cct(t),Qct(t);break;case 4:t_t(t),Qct(t);break;case 3:t_t(t),Cct(t),Qct(t);}break;case 2:switch(e.g){case 1:Cct(t),RRt(t);break;case 4:t_t(t),Qct(t);break;case 3:t_t(t),Cct(t),Qct(t);}break;case 1:switch(e.g){case 2:Cct(t),RRt(t);break;case 4:Cct(t),t_t(t),Qct(t);break;case 3:Cct(t),t_t(t),Cct(t),Qct(t);}break;case 4:switch(e.g){case 2:t_t(t),Qct(t);break;case 1:t_t(t),Cct(t),Qct(t);break;case 3:Cct(t),RRt(t);}break;case 3:switch(e.g){case 2:Cct(t),t_t(t),Qct(t);break;case 1:Cct(t),t_t(t),Cct(t),Qct(t);break;case 4:Cct(t),RRt(t);}}return t}function Tqt(t,n,i){var r,a,o,s,c,u,h,f;for(u=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));u.e!=u.i.gc();)for(a=new oq(ZD(gDt(c=$z(vwt(u),33)).a.Kc(),new l));gOt(a);){if(!(r=$z(G5(a),79)).b&&(r.b=new cj(PIe,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new cj(PIe,r,5,8)),r.c.i<=1)))throw Fw(new ix("Graph must not contain hyperedges."));if(!JIt(r)&&c!=CEt($z(Yet((!r.c&&(r.c=new cj(PIe,r,5,8)),r.c),0),82)))for(Hot(h=new SR,r),uct(h,(Ert(),soe),r),Pf(h,$z(zM(MZ(i.f,c)),144)),Bf(h,$z(PY(i,CEt($z(Yet((!r.c&&(r.c=new cj(PIe,r,5,8)),r.c),0),82))),144)),Kz(n.c,h),s=new MD((!r.n&&(r.n=new tK(HIe,r,1,7)),r.n));s.e!=s.i.gc();)Hot(f=new w4(h,(o=$z(vwt(s),137)).a),o),uct(f,soe,o),f.e.a=e.Math.max(o.g,1),f.e.b=e.Math.max(o.f,1),jzt(f),Kz(n.d,f);}}function Cqt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(xQ(f=new eKt(t),!(n==($ht(),FSe)||n==BSe)),h=f.a,d=new hm,Pet(),s=0,u=(a=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;s<u;++s)i=a[s],(l=uD(h,Hie,i))&&(d.d=e.Math.max(d.d,l.Re()));for(o=0,c=(r=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;o<c;++o)i=r[o],(l=uD(h,Gie,i))&&(d.a=e.Math.max(d.a,l.Re()));for(w=0,m=(p=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;w<m;++w)(l=uD(h,p[w],Hie))&&(d.b=e.Math.max(d.b,l.Se()));for(b=0,y=(g=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;b<y;++b)(l=uD(h,g[b],Gie))&&(d.c=e.Math.max(d.c,l.Se()));return 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),d}function Sqt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(d=i.d,f=i.c,s=(o=new DA(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a)).b,l=new Kd(t.a);l.a<l.c.c.length;)if((c=$z(Q1(l),10)).k==(oCt(),_se)){switch(r=$z(yTt(c,(uWt(),Whe)),61),a=$z(yTt(c,Xhe),8),h=c.n,r.g){case 2:h.a=i.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b;}switch(p=0,r.g){case 2:case 4:n==(X_t(),KAe)?(g=Hv(_B(yTt(c,kfe))),h.b=o.b*g-$z(yTt(c,(zYt(),Qbe)),8).b,p=h.b+a.b,Zot(c,!1,!0)):n==qAe&&(h.b=Hv(_B(yTt(c,kfe)))-$z(yTt(c,(zYt(),Qbe)),8).b,p=h.b+a.b,Zot(c,!1,!0));}s=e.Math.max(s,p);}for(i.f.b+=s-o.b,u=new Kd(t.a);u.a<u.c.c.length;)if((c=$z(Q1(u),10)).k==(oCt(),_se))switch(r=$z(yTt(c,(uWt(),Whe)),61),h=c.n,r.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=i.f.b+d.a-f.b;}}function Aqt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(r=$z(yTt(t,(HUt(),sxe)),33),c=PWt,u=PWt,o=jXt,s=jXt,x=cwt(t.b,0);x.b!=x.d.c;)g=(m=$z(h3(x),86)).e,p=m.f,c=e.Math.min(c,g.a-p.a/2),u=e.Math.min(u,g.b-p.b/2),o=e.Math.max(o,g.a+p.a/2),s=e.Math.max(s,g.b+p.b/2);for(f=new DA((d=$z(QOt(r,(SOt(),Sxe)),116)).b-c,d.d-u),v=cwt(t.b,0);v.b!=v.d.c;)iD(h=yTt(m=$z(h3(v),86),sxe),239)&&EO(a=$z(h,33),(l=GR(m.e,f)).a-a.g/2,l.b-a.f/2);for(y=cwt(t.a,0);y.b!=y.d.c;)w=$z(h3(y),188),(i=$z(yTt(w,sxe),79))&&(n5(n=w.a,b=new fO(w.b.e),n.a,n.a.a),n5(n,k=new fO(w.c.e),n.c.b,n.c),QTt(b,$z(Pwt(n,1),8),w.b.f),QTt(k,$z(Pwt(n,n.b-2),8),w.c.f),WFt(n,rBt(i,!0,!0)));RKt(r,o-c+(d.b+d.c),s-u+(d.d+d.a),!1,!1);}function Mqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(yR(c=new _2(u=t.b,0),new FY(t)),b=!1,a=1;c.b<c.d.gc();){for(TP(c.b<c.d.gc()),s=$z(c.d.Xb(c.c=c.b++),29),l1(a,u.c.length),d=$z(u.c[a],29),p=(g=r0(s.a)).c.length,f=new Kd(g);f.a<f.c.c.length;)TJ(l=$z(Q1(f),10),d);if(b){for(h=K1(new uv(g),0);h.c.Sb();)for(r=new Kd(r0(ldt(l=$z(f5(h),10))));r.a<r.c.c.length;)tzt(i=$z(Q1(r),17),!0),uct(t,(uWt(),zhe),(cN(),!0)),n=nGt(t,i,p),e=$z(yTt(l,Phe),305),w=$z(DU(n,n.c.length-1),17),e.k=w.c.i,e.n=w,e.b=i.d.i,e.c=i;b=!1;}else 0!=g.c.length&&(l1(0,g.c.length),$z(g.c[0],10).k==(oCt(),kse)&&(b=!0,a=-1));++a;}for(o=new _2(t.b,0);o.b<o.d.gc();)TP(o.b<o.d.gc()),0==$z(o.d.Xb(o.c=o.b++),29).a.c.length&&uW(o);}function Iqt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=$z($z(c6(t.r,n),21),84)).gc()<=2||n==(vKt(),oMe)||n==(vKt(),CMe))ZKt(t,n);else {for(b=t.u.Hc((hMt(),iMe)),i=n==(vKt(),sMe)?(Pot(),Pre):(Pot(),Lre),y=n==sMe?(H9(),ere):(H9(),ire),r=Zx(F$(i),t.s),w=n==sMe?BVt:RVt,l=h.Kc();l.Ob();)!(c=$z(l.Pb(),111)).c||c.c.d.c.length<=0||(p=c.b.rf(),g=c.e,(d=(f=c.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=g.a-(a=f.n,f.e.a+a.b+a.c)-t.s,b=!1):d.c=g.a+p.a+t.s,AZ(y,oQt),f.f=y,l7(f,(V7(),Vie)),Kz(r.d,new DG(d,vft(r,d))),w=n==sMe?e.Math.min(w,g.b):e.Math.max(w,g.b+c.b.rf().b));for(w+=n==sMe?-t.t:t.t,Cgt((r.e=w,r)),u=h.Kc();u.Ob();)!(c=$z(u.Pb(),111)).c||c.c.d.c.length<=0||((d=c.c.i).c-=c.e.a,d.d-=c.e.b);}}function Oqt(t,n,i){var r;if(MEt(i,"StretchWidth layering",1),0!=n.a.c.length){for(t.c=n,t.t=0,t.u=0,t.i=BVt,t.g=RVt,t.d=Hv(_B(yTt(n,(zYt(),ywe)))),Gwt(t),COt(t),TOt(t),Nkt(t),gpt(t),t.i=e.Math.max(1,t.i),t.g=e.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=jyt(t),r=new FY(t.c),Kz(t.c.b,r),t.r=r0(t.p),t.n=kQ(t.k,t.k.length);0!=t.r.c.length;)t.o=Glt(t),!t.o||_ct(t)&&0!=t.b.a.gc()?(N_t(t,r),r=new FY(t.c),Kz(t.c.b,r),$rt(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):_ct(t)?(t.c.b.c=D8(Ite,zWt,1,0,5,1),r=new FY(t.c),Kz(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=r0(t.p),t.n=kQ(t.k,t.k.length)):(TJ(t.o,r),y9(t.r,t.o),kK(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);n.a.c=D8(Ite,zWt,1,0,5,1),ZSt(n.b),zCt(i);}else zCt(i);}function Lqt(t){var n,i,r,a;for(VE(MX(new PU(null,new f1(t.a.b,16)),new vr),new xr),l_t(t),VE(MX(new PU(null,new f1(t.a.b,16)),new kr),new _r),t.c==(Edt(),VSe)&&(VE(MX(ftt(new PU(null,new f1(new Cd(t.f),1)),new Er),new Tr),new _p(t)),VE(MX(IX(ftt(ftt(new PU(null,new f1(t.d.b,16)),new Cr),new Sr),new Ar),new Mr),new Tp(t))),a=new DA(BVt,BVt),n=new DA(RVt,RVt),r=new Kd(t.a.b);r.a<r.c.c.length;)i=$z(Q1(r),57),a.a=e.Math.min(a.a,i.d.c),a.b=e.Math.min(a.b,i.d.d),n.a=e.Math.max(n.a,i.d.c+i.d.b),n.b=e.Math.max(n.b,i.d.d+i.d.a);GR(mI(t.d.c),zP(new DA(a.a,a.b))),GR(mI(t.d.f),qR(new DA(n.a,n.b),a)),sNt(t,a,n),IK(t.f),IK(t.b),IK(t.g),IK(t.e),t.a.a.c=D8(Ite,zWt,1,0,5,1),t.a.b.c=D8(Ite,zWt,1,0,5,1),t.a=null,t.d=null;}function Dqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(i=new Lw,g=new Kd(e.a);g.a<g.c.c.length;)if((f=(d=$z(Q1(g),10)).e)&&(pst(i,Dqt(t,f,d)),kGt(t,f,d),$z(yTt(f,(uWt(),Zhe)),21).Hc((fBt(),lhe))))for(w=$z(yTt(d,(zYt(),twe)),98),h=$z(yTt(d,iwe),174).Hc((hMt(),tMe)),b=new Kd(d.j);b.a<b.c.c.length;)for(p=$z(Q1(b),11),(r=$z(PY(t.b,p),10))||(uct(r=fYt(p,w,p.j,-(p.e.c.length-p.g.c.length),null,new Hk,p.o,$z(yTt(f,Gpe),103),f),dfe,p),YW(t.b,p,r),Kz(f.a,r)),a=$z(DU(r.j,0),11),u=new Kd(p.f);u.a<u.c.c.length;)c=$z(Q1(u),70),(o=new zk).o.a=c.o.a,o.o.b=c.o.b,Kz(a.f,o),h||(y=p.j,l=0,Fq($z(yTt(d,iwe),21))&&(l=OMt(c.n,c.o,p.o,0,y)),w==(X_t(),WAe)||(vKt(),hMe).Hc(y)?o.o.a=l:o.o.b=l);return FGt(t,e,n,i,s=new Lw),n&&SUt(t,e,n,s),s}function Nqt(t,e,n){var i,r,a,o,s,c,u,l;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,l=new Kd(e.j);l.a<l.c.c.length;)for(u=$z(Q1(l),11),c=(n?new Fg(u):new Hg(u)).Kc();c.Ob();)(o=(s=$z(c.Pb(),11)).i).c==e.c?o!=e&&(Nqt(t,o,n),t.c[e.c.p][e.p].b+=t.c[o.c.p][o.p].b,t.c[e.c.p][e.p].d+=t.c[o.c.p][o.p].d):(t.c[e.c.p][e.p].d+=t.g[s.p],++t.c[e.c.p][e.p].b);if(a=$z(yTt(e,(uWt(),Dhe)),15))for(r=a.Kc();r.Ob();)i=$z(r.Pb(),10),e.c==i.c&&(Nqt(t,i,n),t.c[e.c.p][e.p].b+=t.c[i.c.p][i.p].b,t.c[e.c.p][e.p].d+=t.c[i.c.p][i.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=zLt(t.i,24)*oZt*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b);}}function Pqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(f=new Kd(t);f.a<f.c.c.length;){for(QN((h=$z(Q1(f),10)).n),QN(h.o),Y6(h.f),WRt(h),aRt(h),g=new Kd(h.j);g.a<g.c.c.length;){for(QN((d=$z(Q1(g),11)).n),QN(d.a),QN(d.o),HAt(d,amt(d.j)),(r=$z(yTt(d,(zYt(),ewe)),19))&&uct(d,ewe,nft(-r.a)),i=new Kd(d.g);i.a<i.c.c.length;){for(e=cwt((n=$z(Q1(i),17)).a,0);e.b!=e.d.c;)QN($z(h3(e),8));if(o=$z(yTt(n,bbe),74))for(a=cwt(o,0);a.b!=a.d.c;)QN($z(h3(a),8));for(u=new Kd(n.b);u.a<u.c.c.length;)QN((s=$z(Q1(u),70)).n),QN(s.o);}for(l=new Kd(d.f);l.a<l.c.c.length;)QN((s=$z(Q1(l),70)).n),QN(s.o);}for(h.k==(oCt(),_se)&&(uct(h,(uWt(),Whe),amt($z(yTt(h,Whe),61))),dPt(h)),c=new Kd(h.b);c.a<c.c.c.length;)WRt(s=$z(Q1(c),70)),QN(s.o),QN(s.n);}}function Bqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(t.e=e,s=JMt(e),m=new Lw,i=new Kd(s);i.a<i.c.c.length;){for(n=$z(Q1(i),15),v=new Lw,m.c[m.c.length]=v,c=new Py,f=n.Kc();f.Ob();){for(a=ZRt(t,h=$z(f.Pb(),33),!0,0,0),v.c[v.c.length]=a,d=h.i,g=h.j,!h.n&&(h.n=new tK(HIe,h,1,7)),l=new MD(h.n);l.e!=l.i.gc();)r=ZRt(t,$z(vwt(l),137),!1,d,g),v.c[v.c.length]=r;for(!h.c&&(h.c=new tK(GIe,h,9,9)),b=new MD(h.c);b.e!=b.i.gc();)for(o=ZRt(t,p=$z(vwt(b),118),!1,d,g),v.c[v.c.length]=o,w=p.i+d,y=p.j+g,!p.n&&(p.n=new tK(HIe,p,1,7)),u=new MD(p.n);u.e!=u.i.gc();)r=ZRt(t,$z(vwt(u),137),!1,w,y),v.c[v.c.length]=r;$rt(c,VV(Ynt(Cst(Hx(Nte,1),zWt,20,0,[gDt(h),dDt(h)]))));}qDt(t,c,v);}return t.f=new Rk(m),Hot(t.f,e),t.f}function Rqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;null==(g=PY(t.e,i))&&(u=$z(g=new pv,183),c=new HY(e+"_s"+r),net(u,H6t,c)),QY(n,d=$z(g,183)),zV(b=new pv,"x",i.j),zV(b,"y",i.k),net(d,q6t,b),zV(h=new pv,"x",i.b),zV(h,"y",i.c),net(d,"endPoint",h),!K_((!i.a&&(i.a=new ID(LIe,i,5)),i.a))&&(a=new Kb(l=new Cf),t5((!i.a&&(i.a=new ID(LIe,i,5)),i.a),a),net(d,P6t,l)),!!Tyt(i)&&rTt(t.a,d,R6t,BSt(t,Tyt(i))),!!Cyt(i)&&rTt(t.a,d,B6t,BSt(t,Cyt(i))),!(0==(!i.e&&(i.e=new cj(RIe,i,10,9)),i.e).i)&&(o=new EM(t,f=new Cf),t5((!i.e&&(i.e=new cj(RIe,i,10,9)),i.e),o),net(d,$6t,f)),0!=(!i.g&&(i.g=new cj(RIe,i,9,10)),i.g).i&&(s=new TM(t,p=new Cf),t5((!i.g&&(i.g=new cj(RIe,i,9,10)),i.g),s),net(d,j6t,p));}function jqt(t){var n,i,r,a,o,s,c;for(zB(),r=t.f.n,s=xY(t.r).a.nc();s.Ob();){if(a=0,(o=$z(s.Pb(),111)).b.Xe((cWt(),rSe))&&(a=Hv(_B(o.b.We(rSe))))<0)switch(o.b.Hf().g){case 1:r.d=e.Math.max(r.d,-a);break;case 3:r.a=e.Math.max(r.a,-a);break;case 2:r.c=e.Math.max(r.c,-a);break;case 4:r.b=e.Math.max(r.b,-a);}if(Fq(t.u))switch(n=wat(o.b,a),c=!$z(t.e.We(zCe),174).Hc((Jjt(),FMe)),i=!1,o.b.Hf().g){case 1:i=n>r.d,r.d=e.Math.max(r.d,n),c&&i&&(r.d=e.Math.max(r.d,r.a),r.a=r.d+a);break;case 3:i=n>r.a,r.a=e.Math.max(r.a,n),c&&i&&(r.a=e.Math.max(r.a,r.d),r.d=r.a+a);break;case 2:i=n>r.c,r.c=e.Math.max(r.c,n),c&&i&&(r.c=e.Math.max(r.b,r.c),r.b=r.c+a);break;case 4:i=n>r.b,r.b=e.Math.max(r.b,n),c&&i&&(r.b=e.Math.max(r.b,r.c),r.c=r.b+a);}}}function $qt(t){var e,n,i,r,a,o,s,c,u,l,h;for(u=new Kd(t);u.a<u.c.c.length;){switch(c=$z(Q1(u),10),a=null,(o=$z(yTt(c,(zYt(),mbe)),163)).g){case 1:case 2:Zst(),a=Ile;break;case 3:case 4:Zst(),a=Ale;}if(a)uct(c,(uWt(),Hhe),(Zst(),Ile)),a==Ale?BNt(c,o,(ait(),Fye)):a==Ile&&BNt(c,o,(ait(),zye));else if(bO($z(yTt(c,twe),98))&&0!=c.j.c.length){for(e=!0,h=new Kd(c.j);h.a<h.c.c.length;){if(!((l=$z(Q1(h),11)).j==(vKt(),oMe)&&l.e.c.length-l.g.c.length>0||l.j==CMe&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new Kd(l.g);r.a<r.c.c.length;)if(n=$z(Q1(r),17),(s=$z(yTt(n.d.i,mbe),163))==(_dt(),$fe)||s==Ffe){e=!1;break}for(i=new Kd(l.e);i.a<i.c.c.length;)if(n=$z(Q1(i),17),(s=$z(yTt(n.c.i,mbe),163))==(_dt(),Rfe)||s==jfe){e=!1;break}}e&&BNt(c,o,(ait(),Hye));}}}function Fqt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(_=0,g=0,f=new Kd(n.e);f.a<f.c.c.length;){for(h=$z(Q1(f),10),d=0,c=0,u=i?$z(yTt(h,qme),19).a:jXt,y=r?$z(yTt(h,Kme),19).a:jXt,l=e.Math.max(u,y),v=new Kd(h.j);v.a<v.c.c.length;){if(m=$z(Q1(v),11),x=h.n.b+m.n.b+m.a.b,r)for(s=new Kd(m.g);s.a<s.c.c.length;)p=(b=(o=$z(Q1(s),17)).d).i,n!=t.a[p.p]&&(w=e.Math.max($z(yTt(p,qme),19).a,$z(yTt(p,Kme),19).a),(k=$z(yTt(o,(zYt(),hwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));if(i)for(s=new Kd(m.e);s.a<s.c.c.length;)p=(b=(o=$z(Q1(s),17)).c).i,n!=t.a[p.p]&&(w=e.Math.max($z(yTt(p,qme),19).a,$z(yTt(p,Kme),19).a),(k=$z(yTt(o,(zYt(),hwe)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));}c>0&&(_+=d/c,++g);}g>0?(n.a=a*_/g,n.g=g):(n.a=0,n.g=0);}function zqt(t,e){var n,i,r,a,o,s,c,u,l,h;for(i=new Kd(t.a.b);i.a<i.c.c.length;)for(s=new Kd($z(Q1(i),29).a);s.a<s.c.c.length;)o=$z(Q1(s),10),e.j[o.p]=o,e.i[o.p]=e.o==(oJ(),ive)?RVt:BVt;for(IK(t.c),a=t.a.b,e.c==(gQ(),Qme)&&(a=iD(a,152)?o6($z(a,152)):iD(a,131)?$z(a,131).a:iD(a,54)?new uv(a):new CE(a)),P7(t.e,e,t.b),yC(e.p,null),r=a.Kc();r.Ob();)for(c=$z(r.Pb(),29).a,e.o==(oJ(),ive)&&(c=iD(c,152)?o6($z(c,152)):iD(c,131)?$z(c,131).a:iD(c,54)?new uv(c):new CE(c)),h=c.Kc();h.Ob();)l=$z(h.Pb(),10),e.g[l.p]==l&&sYt(t,l,e);for(zUt(t,e),n=a.Kc();n.Ob();)for(h=new Kd($z(n.Pb(),29).a);h.a<h.c.c.length;)l=$z(Q1(h),10),e.p[l.p]=e.p[e.g[l.p].p],l==e.g[l.p]&&(u=Hv(e.i[e.j[l.p].p]),(e.o==(oJ(),ive)&&u>RVt||e.o==nve&&u<BVt)&&(e.p[l.p]=Hv(e.p[l.p])+u));t.e.cg();}function Hqt(t,e,n,i){var r,a,o,s,c;return bNt(s=new eKt(e),i),r=!0,t&&t.Xe((cWt(),hCe))&&(r=(a=$z(t.We((cWt(),hCe)),103))==($ht(),$Se)||a==RSe||a==jSe),sRt(s,!1),Met(s.e.wf(),new I$(s,!1,r)),OQ(s,s.f,(Pet(),Hie),(vKt(),sMe)),OQ(s,s.f,Gie,EMe),OQ(s,s.g,Hie,CMe),OQ(s,s.g,Gie,oMe),Fwt(s,sMe),Fwt(s,EMe),cX(s,oMe),cX(s,CMe),zB(),(o=s.A.Hc((ypt(),NMe))&&s.B.Hc((Jjt(),GMe))?Jgt(s):null)&&nk(s.a,o),jqt(s),ivt(s),rvt(s),WGt(s),Ejt(s),yxt(s),jbt(s,sMe),jbt(s,EMe),SRt(s),CHt(s),n?(Udt(s),mxt(s),jbt(s,oMe),jbt(s,CMe),c=s.B.Hc((Jjt(),qMe)),EAt(s,c,sMe),EAt(s,c,EMe),TAt(s,c,oMe),TAt(s,c,CMe),VE(new PU(null,new f1(new Ad(s.i),0)),new At),VE(MX(new PU(null,xY(s.r).a.oc()),new Mt),new It),F_t(s),s.e.uf(s.o),VE(new PU(null,xY(s.r).a.oc()),new Lt),s.o):s.o}function Uqt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=BVt,r=new Kd(t.a.b);r.a<r.c.c.length;)n=$z(Q1(r),81),l=e.Math.min(l,n.d.f.g.c+n.e.a);for(g=new XE,s=new Kd(t.a.a);s.a<s.c.c.length;)(o=$z(Q1(s),189)).i=l,0==o.e&&n5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=$z(0==g.b?null:(TP(0!=g.b),Iet(g,g.a.a)),189)).f.g.c,d=o.a.a.ec().Kc();d.Ob();)h=$z(d.Pb(),81),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==($ht(),jSe)||t.c==BSe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=$z(f.Pb(),81)).f.Kc();u.Ob();)c=$z(u.Pb(),81),p=dO(t.c)?t.f.ef(h,c):t.f.ff(h,c),c.d.i=e.Math.max(c.d.i,h.o+h.g.b+p-c.e.a),c.k||(c.d.i=e.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,0==c.d.e&&NH(g,c.d);}for(i=new Kd(t.a.b);i.a<i.c.c.length;)(n=$z(Q1(i),81)).g.c=n.o;}function Gqt(t){var e,n,i,r,a,o,s,c;switch(s=t.b,e=t.a,0===$z(yTt(t,(jxt(),_ie)),427).g?wL(s,new Qd(new Ut)):wL(s,new Qd(new Gt)),1===$z(yTt(t,xie),428).g?(wL(s,new Ht),wL(s,new qt),wL(s,new Rt)):(wL(s,new Ht),wL(s,new zt)),$z(yTt(t,Tie),250).g){case 0:c=new Vt;break;case 1:c=new Wt;break;case 2:c=new Xt;break;case 3:c=new Yt;break;case 5:c=new Ag(new Xt);break;case 4:c=new Ag(new Wt);break;case 7:c=new NC(new Ag(new Wt),new Ag(new Xt));break;case 8:c=new NC(new Ag(new Yt),new Ag(new Xt));break;default:c=new Ag(new Yt);}for(o=new Kd(s);o.a<o.c.c.length;){for(a=$z(Q1(o),167),r=0,n=new nM(nft(i=0),nft(r));F$t(e,a,i,r);)n=$z(c.Ce(n,a),46),i=$z(n.a,19).a,r=$z(n.b,19).a;jRt(e,a,i,r);}}function qqt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(f=(a=t.f.b).a,l=a.b,g=t.e.g,d=t.e.f,_O(t.e,a.a,a.b),k=f/g,_=l/d,u=new MD(wX(t.e));u.e!=u.i.gc();)Cnt(c=$z(vwt(u),137),c.i*k),Snt(c,c.j*_);for(y=new MD(yX(t.e));y.e!=y.i.gc();)v=(w=$z(vwt(y),118)).i,x=w.j,v>0&&Cnt(w,v*k),x>0&&Snt(w,x*_);for(Jat(t.b,new he),e=new Lw,s=new out(new Td(t.c).a);s.b;)i=$z((o=tnt(s)).cd(),79),n=$z(o.dd(),395).a,r=rBt(i,!1,!1),WFt(h=hEt(CTt(i),HCt(r),n),r),(m=STt(i))&&-1==x9(e,m,0)&&(e.c[e.c.length]=m,sV(m,(TP(0!=h.b),$z(h.a.a.c,8)),n));for(b=new out(new Td(t.d).a);b.b;)i=$z((p=tnt(b)).cd(),79),n=$z(p.dd(),395).a,r=rBt(i,!1,!1),h=hEt(MTt(i),Zct(HCt(r)),n),WFt(h=Zct(h),r),(m=ATt(i))&&-1==x9(e,m,0)&&(e.c[e.c.length]=m,sV(m,(TP(0!=h.b),$z(h.c.b.c,8)),n));}function Kqt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(0!=i.c.length){for(g=new Lw,d=new Kd(i);d.a<d.c.c.length;)Kz(g,new DA((f=$z(Q1(d),33)).i,f.j));for(r.n&&n&&y0(r,o2(n),(Fut(),aIe));DTt(t,i);)kLt(t,i,!1);for(r.n&&n&&y0(r,o2(n),(Fut(),aIe)),s=0,c=0,a=null,0!=i.c.length&&(l1(0,i.c.length),s=(a=$z(i.c[0],33)).i-(l1(0,g.c.length),$z(g.c[0],8)).a,c=a.j-(l1(0,g.c.length),$z(g.c[0],8)).b),o=e.Math.sqrt(s*s+c*c),h=qlt(i);0!=h.a.gc();){for(l=h.a.ec().Kc();l.Ob();)u=$z(l.Pb(),33),b=(p=t.f).i+p.g/2,w=p.j+p.f/2,y=u.i+u.g/2,v=u.j+u.f/2-w,k=(m=y-b)/(x=e.Math.sqrt(m*m+v*v)),_=v/x,Cnt(u,u.i+k*o),Snt(u,u.j+_*o);r.n&&n&&y0(r,o2(n),(Fut(),aIe)),h=qlt(new Jj(h));}t.a&&t.a.lg(new Jj(h)),r.n&&n&&y0(r,o2(n),(Fut(),aIe)),Kqt(t,n,new Jj(h),r);}}function Yqt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(b=t.n,w=t.o,d=t.d,f=Hv(_B(ept(t,(zYt(),pwe)))),n){for(h=f*(n.gc()-1),g=0,u=n.Kc();u.Ob();)h+=(s=$z(u.Pb(),10)).o.a,g=e.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b-d.d+g,a=r=w.a/(n.gc()+1),c=n.Kc();c.Ob();)(s=$z(c.Pb(),10)).n.a=y,s.n.b=o-s.o.b,y+=s.o.a+f,(l=PDt(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(p=$z(yTt(s,(uWt(),Bhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=0,CJ(p,t)),a+=r;}if(i){for(h=f*(i.gc()-1),g=0,u=i.Kc();u.Ob();)h+=(s=$z(u.Pb(),10)).o.a,g=e.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b+w.b+d.a-g,a=r=w.a/(i.gc()+1),c=i.Kc();c.Ob();)(s=$z(c.Pb(),10)).n.a=y,s.n.b=o,y+=s.o.a+f,(l=PDt(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(p=$z(yTt(s,(uWt(),Bhe)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=w.b,CJ(p,t)),a+=r;}}function Wqt(t,n){var i,r,a,o,s,c;if($z(yTt(n,(uWt(),Zhe)),21).Hc((fBt(),lhe))){for(c=new Kd(n.a);c.a<c.c.c.length;)(o=$z(Q1(c),10)).k==(oCt(),Cse)&&(a=$z(yTt(o,(zYt(),Cbe)),142),t.c=e.Math.min(t.c,o.n.a-a.b),t.a=e.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=e.Math.min(t.d,o.n.b-a.d),t.b=e.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new Kd(n.a);s.a<s.c.c.length;)if((o=$z(Q1(s),10)).k!=(oCt(),Cse))switch(o.k.g){case 2:if((r=$z(yTt(o,(zYt(),mbe)),163))==(_dt(),jfe)){o.n.a=t.c-10,Vvt(o,new Gn).Jb(new np(o));break}if(r==Ffe){o.n.a=t.a+10,Vvt(o,new qn).Jb(new ip(o));break}if((i=$z(yTt(o,efe),303))==(U9(),Che)){hUt(o).Jb(new rp(o)),o.n.b=t.d-10;break}if(i==Ehe){hUt(o).Jb(new ap(o)),o.n.b=t.b+10;break}break;default:throw Fw(new Rv("The node type "+o.k+" is not supported by the "+Vce))}}}function Xqt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(c=new DA(i.i+i.g/2,i.j+i.f/2),f=KHt(i),d=$z(QOt(e,(zYt(),twe)),98),p=$z(QOt(i,awe),61),$M(hwt(i),Jbe)||(g=0==i.i&&0==i.j?0:tTt(i,p),Vwt(i,Jbe,g)),uct(r=fYt(i,d,p,f,new DA(e.g,e.f),c,new DA(i.g,i.f),$z(yTt(n,Gpe),103),n),(uWt(),dfe),i),Ff(a=$z(DU(r.j,0),11),x$t(i)),uct(r,iwe,(hMt(),Jft(nMe))),l=$z(QOt(e,iwe),174).Hc(tMe),s=new MD((!i.n&&(i.n=new tK(HIe,i,1,7)),i.n));s.e!=s.i.gc();)if(!zv(kB(QOt(o=$z(vwt(s),137),Hbe)))&&o.a&&(h=zlt(o),Kz(a.f,h),!l))switch(u=0,Fq($z(QOt(e,iwe),21))&&(u=OMt(new DA(o.i,o.j),new DA(o.g,o.f),new DA(i.g,i.f),0,p)),p.g){case 2:case 4:h.o.a=u;break;case 1:case 3:h.o.b=u;}uct(r,Cwe,_B(QOt(VQ(e),Cwe))),uct(r,Swe,_B(QOt(VQ(e),Swe))),uct(r,Ewe,_B(QOt(VQ(e),Ewe))),Kz(n.a,r),YW(t.a,i,r);}function Vqt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(MEt(n,"Processor arrange level",1),l=0,EV(),jrt(e,new rw((HUt(),exe))),a=e.b,s=cwt(e,e.b),u=!0;u&&s.b.b!=s.d.a;)b=$z(G0(s),86),0==$z(yTt(b,exe),19).a?--a:u=!1;if(o=new Qj(new s1(e,0,a)),c=new Qj(new s1(e,a,e.b)),0==o.b)for(d=cwt(c,0);d.b!=d.d.c;)uct($z(h3(d),86),cxe,nft(l++));else for(h=o.b,m=cwt(o,0);m.b!=m.d.c;){for(uct(y=$z(h3(m),86),cxe,nft(l++)),Vqt(t,i=Nst(y),yat(n,1/h|0)),jrt(i,WW(new rw(cxe))),f=new XE,w=cwt(i,0);w.b!=w.d.c;)for(b=$z(h3(w),86),p=cwt(y.d,0);p.b!=p.d.c;)(g=$z(h3(p),188)).c==b&&n5(f,g,f.c.b,f.c);for(yV(y.d),$rt(y.d,f),s=cwt(c,c.b),r=y.d.b,u=!0;0<r&&u&&s.b.b!=s.d.a;)b=$z(G0(s),86),0==$z(yTt(b,exe),19).a?(uct(b,cxe,nft(l++)),--r,yet(s)):u=!1;}zCt(n);}function Zqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Inverted port preprocessing",1),s=new _2(t.b,0),n=null,b=new Lw;s.b<s.d.gc();){for(p=n,TP(s.b<s.d.gc()),n=$z(s.d.Xb(s.c=s.b++),29),l=new Kd(b);l.a<l.c.c.length;)TJ(c=$z(Q1(l),10),p);for(b.c=D8(Ite,zWt,1,0,5,1),h=new Kd(n.a);h.a<h.c.c.length;)if((c=$z(Q1(h),10)).k==(oCt(),Cse)&&bO($z(yTt(c,(zYt(),twe)),98))){for(g=rRt(c,(ait(),Fye),(vKt(),oMe)).Kc();g.Ob();)for(f=$z(g.Pb(),11),r=0,a=(i=$z(Xbt(o=f.e,D8(yse,r1t,17,o.c.length,0,1)),474)).length;r<a;++r)Ozt(t,f,i[r],b);for(d=rRt(c,zye,CMe).Kc();d.Ob();)for(f=$z(d.Pb(),11),r=0,a=(i=$z(Xbt(o=f.g,D8(yse,r1t,17,o.c.length,0,1)),474)).length;r<a;++r)Izt(t,f,i[r],b);}}for(u=new Kd(b);u.a<u.c.c.length;)TJ(c=$z(Q1(u),10),n);zCt(e);}function Qqt(t,e,n,i,r,a){var o,s,c,u,l,h;for(Hot(u=new SCt,e),HAt(u,$z(QOt(e,(zYt(),awe)),61)),uct(u,(uWt(),dfe),e),CJ(u,n),(h=u.o).a=e.g,h.b=e.f,(l=u.n).a=e.i,l.b=e.j,YW(t.a,e,u),(o=o5(IX(ftt(new PU(null,(!e.e&&(e.e=new cj(BIe,e,7,4)),new f1(e.e,16))),new We),new Ke),new Kg(e)))||(o=o5(IX(ftt(new PU(null,(!e.d&&(e.d=new cj(BIe,e,8,5)),new f1(e.d,16))),new Xe),new Ye),new Yg(e))),o||(o=o5(new PU(null,(!e.e&&(e.e=new cj(BIe,e,7,4)),new f1(e.e,16))),new Ve)),uct(u,tfe,(cN(),!!o)),bUt(u,a,r,$z(QOt(e,Qbe),8)),c=new MD((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));c.e!=c.i.gc();)!zv(kB(QOt(s=$z(vwt(c),137),Hbe)))&&s.a&&Kz(u.f,zlt(s));switch(r.g){case 2:case 1:(u.j==(vKt(),sMe)||u.j==EMe)&&i.Fc((fBt(),ghe));break;case 4:case 3:(u.j==(vKt(),oMe)||u.j==CMe)&&i.Fc((fBt(),ghe));}return u}function Jqt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;for(f=null,r==(dQ(),Ove)?f=n:r==Lve&&(f=i),p=f.a.ec().Kc();p.Ob();){for(g=$z(p.Pb(),11),b=Ict(Cst(Hx(TTe,1),cXt,8,0,[g.i.n,g.n,g.a])).b,m=new Py,c=new Py,l=new w6(g.b);yL(l.a)||yL(l.b);)if(zv(kB(yTt(u=$z(yL(l.a)?Q1(l.a):Q1(l.b),17),(uWt(),Cfe))))==a&&-1!=x9(o,u,0)){if(w=u.d==g?u.c:u.d,y=Ict(Cst(Hx(TTe,1),cXt,8,0,[w.i.n,w.n,w.a])).b,e.Math.abs(y-b)<.2)continue;y<b?n.a._b(w)?kK(m,new nM(Ove,u)):kK(m,new nM(Lve,u)):n.a._b(w)?kK(c,new nM(Ove,u)):kK(c,new nM(Lve,u));}if(m.a.gc()>1)for(t5(m,new sA(t,d=new uUt(g,m,r))),s.c[s.c.length]=d,h=m.a.ec().Kc();h.Ob();)y9(o,$z(h.Pb(),46).b);if(c.a.gc()>1)for(t5(c,new cA(t,d=new uUt(g,c,r))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)y9(o,$z(h.Pb(),46).b);}}function tKt(t){LT(t,new EEt(dk(bk(fk(pk(gk(new bs,d4t),"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 Uo),d4t))),a2(t,d4t,p3t,ywt(Dke)),a2(t,d4t,wJt,ywt(Bke)),a2(t,d4t,CJt,ywt(Cke)),a2(t,d4t,FJt,ywt(Ske)),a2(t,d4t,TJt,ywt(Ake)),a2(t,d4t,SJt,ywt(Tke)),a2(t,d4t,EJt,ywt(Mke)),a2(t,d4t,AJt,ywt(Lke)),a2(t,d4t,u4t,ywt(_ke)),a2(t,d4t,c4t,ywt(Eke)),a2(t,d4t,f4t,ywt(Ike)),a2(t,d4t,o4t,ywt(Oke)),a2(t,d4t,s4t,ywt(Nke)),a2(t,d4t,l4t,ywt(Pke)),a2(t,d4t,h4t,ywt(Rke));}function eKt(t){var e;if(this.r=DX(new Ct,new St),this.b=new zdt($z(yY(jMe),290)),this.p=new zdt($z(yY(jMe),290)),this.i=new zdt($z(yY(Bre),290)),this.e=t,this.o=new fO(t.rf()),this.D=t.Df()||zv(kB(t.We((cWt(),ECe)))),this.A=$z(t.We((cWt(),BCe)),21),this.B=$z(t.We(zCe),21),this.q=$z(t.We(aSe),98),this.u=$z(t.We(uSe),21),!dTt(this.u))throw Fw(new nx("Invalid port label placement: "+this.u));if(this.v=zv(kB(t.We(hSe))),this.j=$z(t.We(NCe),21),!tDt(this.j))throw Fw(new nx("Invalid node label placement: "+this.j));this.n=$z(Jvt(t,LCe),116),this.k=Hv(_B(Jvt(t,ASe))),this.d=Hv(_B(Jvt(t,SSe))),this.w=Hv(_B(Jvt(t,PSe))),this.s=Hv(_B(Jvt(t,MSe))),this.t=Hv(_B(Jvt(t,ISe))),this.C=$z(Jvt(t,DSe),142),this.c=2*this.d,e=!this.B.Hc((Jjt(),FMe)),this.f=new Abt(0,e,0),this.g=new Abt(1,e,0),vv(this.f,(Pet(),Uie),this.g);}function nKt(t,n,i,r,a){var o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,b=0,p=0,g=1,m=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));m.e!=m.i.gc();)g+=j3(new oq(ZD(gDt(w=$z(vwt(m),33)).a.Kc(),new l))),E=w.g,b=e.Math.max(b,E),d=w.f,p=e.Math.max(p,d),v+=E*d;for(s=v+2*r*r*g*(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i,o=e.Math.sqrt(s),u=e.Math.max(o*i,b),c=e.Math.max(o/i,p),y=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));y.e!=y.i.gc();)w=$z(vwt(y),33),T=a.b+(zLt(n,26)*iZt+zLt(n,27)*rZt)*(u-w.g),C=a.b+(zLt(n,26)*iZt+zLt(n,27)*rZt)*(c-w.f),Cnt(w,T),Snt(w,C);for(_=u+(a.b+a.c),k=c+(a.d+a.a),x=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));x.e!=x.i.gc();)for(f=new oq(ZD(gDt($z(vwt(x),33)).a.Kc(),new l));gOt(f);)JIt(h=$z(G5(f),79))||FYt(h,n,_,k);RKt(t,_+=a.b+a.c,k+=a.d+a.a,!1,!0);}function iKt(t){var e,n,i,r,a,o,s,c,u,l,h;if(null==t)throw Fw(new _x(GWt));if(u=t,c=!1,(a=t.length)>0&&(h1(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,c=45==e)),0==a)throw Fw(new _x(PVt+u+'"'));for(;t.length>0&&(h1(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(nFt(),Nee)[10])throw Fw(new _x(PVt+u+'"'));for(r=0;r<a;r++)if(-1==ebt((h1(r,t.length),t.charCodeAt(r))))throw Fw(new _x(PVt+u+'"'));for(h=0,o=Lee[10],l=Dee[10],s=v9(Pee[10]),n=!0,(i=a%o)>0&&(h=-parseInt(t.substr(0,i),10),t=t.substr(i),a-=i,n=!1);a>=o;){if(i=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else {if(Wlt(h,s)<0)throw Fw(new _x(PVt+u+'"'));h=rdt(h,l);}h=ndt(h,i);}if(Wlt(h,0)>0)throw Fw(new _x(PVt+u+'"'));if(!c&&Wlt(h=v9(h),0)<0)throw Fw(new _x(PVt+u+'"'));return h}function rKt(t,e){var n,i,r,a,o,s,c;if(ZH(),this.a=new qL(this),this.b=t,this.c=e,this.f=AK($9((ASt(),VLe),e)),this.f.dc())if((s=ykt(VLe,t))==e)for(this.e=!0,this.d=new Lw,this.f=new fc,this.f.Fc(T9t),$z(DHt(j9(VLe,qet(t)),""),26)==t&&this.f.Fc(rq(VLe,qet(t))),r=kjt(VLe,t).Kc();r.Ob();)switch(i=$z(r.Pb(),170),NW($9(VLe,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(AK($9(VLe,i)));}else if(ZT(),$z(e,66).Oj())for(this.e=!0,this.f=null,this.d=new Lw,o=0,c=(null==t.i&&HFt(t),t.i).length;o<c;++o)for(null==t.i&&HFt(t),n=t.i,i=o>=0&&o<n.length?n[o]:null,a=Z1($9(VLe,i));a;a=Z1($9(VLe,a)))a==e&&this.d.Fc(i);else 1==NW($9(VLe,e))&&s?(this.f=null,this.d=(_It(),uDe)):(this.f=null,this.e=!0,this.d=(EV(),new Hd(e)));else this.e=5==NW($9(VLe,e)),this.f.Fb(rDe)&&(this.f=rDe);}function aKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(i=0,r=Cmt(t,n),d=t.s,g=t.t,l=$z($z(c6(t.r,n),21),84).Kc();l.Ob();)if((u=$z(l.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(p=u.b.rf(),c=u.b.Xe((cWt(),rSe))?Hv(_B(u.b.We(rSe))):0,(f=(h=u.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),n.g){case 1:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=p.b+c+r,l7(h,(V7(),Wie)),KB(h,(H9(),ire));break;case 3:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=-c-r-f.a,l7(h,(V7(),Wie)),KB(h,(H9(),ere));break;case 2:f.c=-c-r-f.b,u.a?(a=t.v?f.a:$z(DU(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,l7(h,(V7(),Vie)),KB(h,(H9(),nre));break;case 4:f.c=p.a+c+r,u.a?(a=t.v?f.a:$z(DU(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,l7(h,(V7(),Xie)),KB(h,(H9(),nre));}(n==(vKt(),sMe)||n==EMe)&&(i=e.Math.max(i,f.a));}i>0&&($z(oX(t.b,n),124).a.b=i);}function oKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(MEt(e,"Comment pre-processing",1),n=0,c=new Kd(t.a);c.a<c.c.c.length;)if(zv(kB(yTt(s=$z(Q1(c),10),(zYt(),kpe))))){for(++n,r=0,i=null,u=null,g=new Kd(s.j);g.a<g.c.c.length;)r+=(f=$z(Q1(g),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(u=(i=$z(DU(f.e,0),17)).c),1==f.g.c.length&&(u=(i=$z(DU(f.g,0),17)).d);if(1!=r||u.e.c.length+u.g.c.length!=1||zv(kB(yTt(u.i,kpe)))){for(b=new Lw,d=new Kd(s.j);d.a<d.c.c.length;){for(h=new Kd((f=$z(Q1(d),11)).g);h.a<h.c.c.length;)0==(l=$z(Q1(h),17)).d.g.c.length||(b.c[b.c.length]=l);for(o=new Kd(f.e);o.a<o.c.c.length;)0==(a=$z(Q1(o),17)).c.e.c.length||(b.c[b.c.length]=a);}for(p=new Kd(b);p.a<p.c.c.length;)tzt($z(Q1(p),17),!0);}else JKt(s,i,u,u.i),MK(c);}e.n&&AH(e,"Found "+n+" comment boxes"),zCt(e);}function sKt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(f=Hv(_B(yTt(t,(zYt(),Cwe)))),d=Hv(_B(yTt(t,Swe))),h=Hv(_B(yTt(t,Ewe))),s=t.o,o=(a=$z(DU(t.j,0),11)).n,p=_St(a,h)){if(e.Hc((hMt(),tMe)))switch($z(yTt(t,(uWt(),Whe)),61).g){case 1:p.c=(s.a-p.b)/2-o.a,p.d=d;break;case 3:p.c=(s.a-p.b)/2-o.a,p.d=-d-p.a;break;case 2:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:$z(DU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=-f-p.b;break;case 4:n&&0==a.e.c.length&&0==a.g.c.length?(l=i?p.a:$z(DU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=s.b+d-o.b,p.c=f;}else if(e.Hc(nMe))switch($z(yTt(t,(uWt(),Whe)),61).g){case 1:case 3:p.c=o.a+f;break;case 2:case 4:n&&!a.c?(l=i?p.a:$z(DU(a.f,0),70).o.b,p.d=(s.b-l)/2-o.b):p.d=o.b+d;}for(r=p.d,u=new Kd(a.f);u.a<u.c.c.length;)(g=(c=$z(Q1(u),70)).n).a=p.c,g.b=r,r+=c.o.b+h;}}function cKt(){PI(hDe,new Xu),PI(HDe,new ol),PI(UDe,new wl),PI(GDe,new Al),PI(Xee,new Ll),PI(Hx(ONe,1),new Dl),PI(vee,new Nl),PI(_ee,new Pl),PI(Xee,new $u),PI(Xee,new Fu),PI(Xee,new zu),PI(Cee,new Hu),PI(Xee,new Uu),PI(Bte,new Gu),PI(Bte,new qu),PI(Xee,new Ku),PI(See,new Yu),PI(Xee,new Wu),PI(Xee,new Vu),PI(Xee,new Zu),PI(Xee,new Qu),PI(Xee,new Ju),PI(Hx(ONe,1),new tl),PI(Xee,new el),PI(Xee,new nl),PI(Bte,new il),PI(Bte,new rl),PI(Xee,new al),PI(Iee,new sl),PI(Xee,new cl),PI(Bee,new ul),PI(Xee,new ll),PI(Xee,new hl),PI(Xee,new fl),PI(Xee,new dl),PI(Bte,new gl),PI(Bte,new pl),PI(Xee,new bl),PI(Xee,new yl),PI(Xee,new ml),PI(Xee,new vl),PI(Xee,new xl),PI(Xee,new kl),PI(jee,new _l),PI(Xee,new El),PI(Xee,new Tl),PI(Xee,new Cl),PI(jee,new Sl),PI(Bee,new Ml),PI(Xee,new Il),PI(Iee,new Ol);}function uKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=e.length)>0&&(h1(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(h1(l+1,e.length),c=46==e.charCodeAt(l+1))))){if(y=wj("%",o=e.substr(1,l-1))?null:OKt(o),i=0,c)try{i=h$t(e.substr(l+2),jXt,PWt);}catch(t){throw iD(t=hst(t),127)?Fw(new O9(t)):Fw(t)}for(p=krt(t.Wg());p.Ob();)if(iD(d=Eot(p),510)&&(w=(r=$z(d,590)).d,(null==y?null==w:wj(y,w))&&0==i--))return r;return null}if(f=-1==(u=e.lastIndexOf("."))?e:e.substr(0,u),n=0,-1!=u)try{n=h$t(e.substr(u+1),jXt,PWt);}catch(t){if(!iD(t=hst(t),127))throw Fw(t);f=e;}for(f=wj("%",f)?null:OKt(f),g=krt(t.Wg());g.Ob();)if(iD(d=Eot(g),191)&&(b=(a=$z(d,191)).ne(),(null==f?null==b:wj(f,b))&&0==n--))return a;return null}return jUt(t,e)}function lKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(m=new Lw,h=new Kd(t.b);h.a<h.c.c.length;)for(g=new Kd($z(Q1(h),29).a);g.a<g.c.c.length;)if((f=$z(Q1(g),10)).k==(oCt(),_se)&&OP(f,(uWt(),Yhe))){for(p=null,w=null,b=null,k=new Kd(f.j);k.a<k.c.c.length;)switch((x=$z(Q1(k),11)).j.g){case 4:p=x;break;case 2:w=x;break;default:b=x;}for(u=new Bk((y=$z(DU(b.g,0),17)).a),GR(c=new fO(b.n),f.n),QK(cwt(u,0),c),v=Zct(y.a),GR(l=new fO(b.n),f.n),n5(v,l,v.c.b,v.c),_=$z(yTt(f,Yhe),10),E=$z(DU(_.j,0),11),a=0,s=(i=$z(Xbt(p.e,D8(yse,r1t,17,0,0,1)),474)).length;a<s;++a)_J(e=i[a],E),Yut(e.a,e.a.b,u);for(r=0,o=(n=Z0(w.g)).length;r<o;++r)EJ(e=n[r],E),Yut(e.a,0,v);EJ(y,null),_J(y,null),m.c[m.c.length]=f;}for(d=new Kd(m);d.a<d.c.c.length;)TJ(f=$z(Q1(d),10),null);}function hKt(){var t,e,n;for(hKt=I,new mtt(1,0),new mtt(10,0),new mtt(0,0),zee=D8(nne,cXt,240,11,0,1),Hee=D8(SNe,YXt,25,100,15,1),Uee=Cst(Hx(LNe,1),HVt,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),Gee=D8(ANe,uVt,25,Uee.length,15,1),qee=Cst(Hx(LNe,1),HVt,25,15,[1,10,100,WXt,1e4,UVt,1e6,1e7,1e8,IVt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),Kee=D8(ANe,uVt,25,qee.length,15,1),Yee=D8(nne,cXt,240,11,0,1),t=0;t<Yee.length;t++)zee[t]=new mtt(t,0),Yee[t]=new mtt(0,t),Hee[t]=48;for(;t<Hee.length;t++)Hee[t]=48;for(n=0;n<Gee.length;n++)Gee[n]=aMt(Uee[n]);for(e=0;e<Kee.length;e++)Kee[e]=aMt(qee[e]);OIt();}function fKt(){function t(){this.obj=this.createObject();}return 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[nZt]=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 i=t[n++];return {value:[i,e.get(i)],done:!1}}}},GBt()||(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[nZt]=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}),t}function dKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(CFt(),null==t)return null;if(0==(h=8*t.length))return "";for(f=h/24|0,a=null,a=D8(SNe,YXt,25,4*(0!=(s=h%24)?f+1:f),15,1),u=0,l=0,e=0,n=0,i=0,o=0,r=0,c=0;c<f;c++)e=t[r++],l=(15&(n=t[r++]))<<24>>24,u=(3&e)<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,g=-128&n?(n>>4^240)<<24>>24:n>>4<<24>>24,p=-128&(i=t[r++])?(i>>6^252)<<24>>24:i>>6<<24>>24,a[o++]=KDe[d],a[o++]=KDe[g|u<<4],a[o++]=KDe[l<<2|p],a[o++]=KDe[63&i];return 8==s?(u=(3&(e=t[r]))<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,a[o++]=KDe[d],a[o++]=KDe[u<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[r],l=(15&(n=t[r+1]))<<24>>24,u=(3&e)<<24>>24,d=-128&e?(e>>2^192)<<24>>24:e>>2<<24>>24,g=-128&n?(n>>4^240)<<24>>24:n>>4<<24>>24,a[o++]=KDe[d],a[o++]=KDe[g|u<<4],a[o++]=KDe[l<<2],a[o++]=61),Fpt(a,0,a.length)}function gKt(t,n){var i,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>jXt&&t4(n,t.p-cVt),s=n.q.getDate(),jQ(n,1),t.k>=0&&bJ(n,t.k),t.c>=0?jQ(n,t.c):t.k>=0?(r=35-new wct(n.q.getFullYear()-cVt,n.q.getMonth(),35).q.getDate(),jQ(n,e.Math.min(r,s))):jQ(n,s),t.f<0&&(t.f=n.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),rD(n,24==t.f&&t.g?0:t.f),t.j>=0&&g6(n,t.j),t.n>=0&&G8(n,t.n),t.i>=0&&dI(n,idt(rdt(Mkt(lot(n.q.getTime()),WXt),WXt),t.i)),t.a&&(t4(a=new ME,a.q.getFullYear()-cVt-80),sC(lot(n.q.getTime()),lot(a.q.getTime()))&&t4(n,a.q.getFullYear()-cVt+100)),t.d>=0)if(-1==t.c)(i=(7+t.d-n.q.getDay())%7)>3&&(i-=7),c=n.q.getMonth(),jQ(n,n.q.getDate()+i),n.q.getMonth()!=c&&jQ(n,n.q.getDate()+(i>0?-7:7));else if(n.q.getDay()!=t.d)return !1;return t.o>jXt&&(o=n.q.getTimezoneOffset(),dI(n,idt(lot(n.q.getTime()),60*(t.o-o)*WXt))),!0}function pKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(iD(r=yTt(e,(uWt(),dfe)),239)){for(d=$z(r,33),g=e.e,h=new fO(e.c),a=e.d,h.a+=a.b,h.b+=a.d,EN($z(QOt(d,(zYt(),zbe)),174),(Jjt(),zMe))&&(Af(f=$z(QOt(d,Ube),116),a.a),Rf(f,a.d),Mf(f,a.b),jf(f,a.c)),n=new Lw,u=new Kd(e.a);u.a<u.c.c.length;)for(iD(yTt(s=$z(Q1(u),10),dfe),239)?SKt(s,h):iD(yTt(s,dfe),186)&&!g&&EO(i=$z(yTt(s,dfe),118),(b=mFt(e,s,i.g,i.f)).a,b.b),p=new Kd(s.j);p.a<p.c.c.length;)VE(MX(new PU(null,new f1($z(Q1(p),11).g,16)),new Wg(s)),new Xg(n));if(g)for(p=new Kd(g.j);p.a<p.c.c.length;)VE(MX(new PU(null,new f1($z(Q1(p),11).g,16)),new Vg(g)),new Zg(n));for(w=$z(QOt(d,Zpe),218),o=new Kd(n);o.a<o.c.c.length;)bqt($z(Q1(o),17),w,h);for(y$t(e),c=new Kd(e.a);c.a<c.c.c.length;)(l=(s=$z(Q1(c),10)).e)&&pKt(t,l);}}function bKt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,pJt),"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 ge),pJt),xG((uOt(),QIe),Cst(Hx(iOe,1),OXt,237,0,[VIe]))))),a2(t,pJt,bJt,nft(1)),a2(t,pJt,wJt,80),a2(t,pJt,yJt,5),a2(t,pJt,WQt,gJt),a2(t,pJt,mJt,nft(1)),a2(t,pJt,vJt,(cN(),!0)),a2(t,pJt,XQt,Wae),a2(t,pJt,xJt,ywt(Fae)),a2(t,pJt,kJt,ywt(Xae)),a2(t,pJt,_Jt,!1),a2(t,pJt,EJt,ywt(Kae)),a2(t,pJt,TJt,ywt(qae)),a2(t,pJt,CJt,ywt(Gae)),a2(t,pJt,SJt,ywt(Uae)),a2(t,pJt,AJt,ywt(Vae)),a2(t,pJt,sJt,ywt(Hae)),a2(t,pJt,lJt,ywt(roe)),a2(t,pJt,cJt,ywt(zae)),a2(t,pJt,fJt,ywt(Jae)),a2(t,pJt,uJt,ywt(toe));}function wKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(!$z($z(c6(t.r,n),21),84).dc()){if(u=(s=$z(oX(t.b,n),124)).i,c=s.n,h=CBt(t,n),r=u.b-c.b-c.c,a=s.a.a,o=u.c+c.b,g=t.w,h!=(rwt(),$Ae)&&h!=zAe||1!=$z($z(c6(t.r,n),21),84).gc()||(a=h==$Ae?a-2*t.w:a,h=jAe),r<a&&!t.B.Hc((Jjt(),KMe)))h==$Ae?o+=g+=(r-a)/($z($z(c6(t.r,n),21),84).gc()+1):g+=(r-a)/($z($z(c6(t.r,n),21),84).gc()-1);else switch(r<a&&(a=h==$Ae?a-2*t.w:a,h=jAe),h.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/($z($z(c6(t.r,n),21),84).gc()+1),o+=g+=e.Math.max(0,i);break;case 1:i=(r-a)/($z($z(c6(t.r,n),21),84).gc()-1),g+=e.Math.max(0,i);}for(d=$z($z(c6(t.r,n),21),84).Kc();d.Ob();)(f=$z(d.Pb(),111)).e.a=o+f.d.b,f.e.b=(l=f.b).Xe((cWt(),rSe))?l.Hf()==(vKt(),sMe)?-l.rf().b-Hv(_B(l.We(rSe))):Hv(_B(l.We(rSe))):l.Hf()==(vKt(),sMe)?-l.rf().b:0,o+=f.d.b+f.b.rf().a+f.d.c+g;}}function yKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(!$z($z(c6(t.r,n),21),84).dc()){if(u=(s=$z(oX(t.b,n),124)).i,c=s.n,f=CBt(t,n),r=u.a-c.d-c.a,a=s.a.b,o=u.d+c.d,p=t.w,l=t.o.a,f!=(rwt(),$Ae)&&f!=zAe||1!=$z($z(c6(t.r,n),21),84).gc()||(a=f==$Ae?a-2*t.w:a,f=jAe),r<a&&!t.B.Hc((Jjt(),KMe)))f==$Ae?o+=p+=(r-a)/($z($z(c6(t.r,n),21),84).gc()+1):p+=(r-a)/($z($z(c6(t.r,n),21),84).gc()-1);else switch(r<a&&(a=f==$Ae?a-2*t.w:a,f=jAe),f.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/($z($z(c6(t.r,n),21),84).gc()+1),o+=p+=e.Math.max(0,i);break;case 1:i=(r-a)/($z($z(c6(t.r,n),21),84).gc()-1),p+=e.Math.max(0,i);}for(g=$z($z(c6(t.r,n),21),84).Kc();g.Ob();)(d=$z(g.Pb(),111)).e.a=(h=d.b).Xe((cWt(),rSe))?h.Hf()==(vKt(),CMe)?-h.rf().a-Hv(_B(h.We(rSe))):l+Hv(_B(h.We(rSe))):h.Hf()==(vKt(),CMe)?-h.rf().a:l,d.e.b=o+d.d.d,o+=d.d.d+d.b.rf().b+d.d.a+p;}}function mKt(t){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w;for(t.n=Hv(_B(yTt(t.g,(zYt(),Awe)))),t.e=Hv(_B(yTt(t.g,kwe))),t.i=t.g.b.c.length,c=t.i-1,g=0,t.j=0,t.k=0,t.a=a6(D8(Iee,cXt,19,t.i,0,1)),t.b=a6(D8(Cee,cXt,333,t.i,7,1)),s=new Kd(t.g.b);s.a<s.c.c.length;){for((a=$z(Q1(s),29)).p=c,d=new Kd(a.a);d.a<d.c.c.length;)(f=$z(Q1(d),10)).p=g,++g;--c;}for(t.f=D8(ANe,uVt,25,g,15,1),t.c=mU(ANe,[cXt,uVt],[48,25],15,[g,3],2),t.o=new Lw,t.p=new Lw,n=0,t.d=0,o=new Kd(t.g.b);o.a<o.c.c.length;){for(c=(a=$z(Q1(o),29)).p,r=0,w=0,u=a.a.c.length,h=0,d=new Kd(a.a);d.a<d.c.c.length;)g=(f=$z(Q1(d),10)).p,t.f[g]=f.c.p,h+=f.o.b+t.n,i=j3(new oq(ZD(ldt(f).a.Kc(),new l))),b=j3(new oq(ZD(hdt(f).a.Kc(),new l))),t.c[g][0]=b-i,t.c[g][1]=i,t.c[g][2]=b,r+=i,w+=b,i>0&&Kz(t.p,f),Kz(t.o,f);p=u+(n-=r),h+=n*t.e,i5(t.a,c,nft(p)),i5(t.b,c,h),t.j=e.Math.max(t.j,p),t.k=e.Math.max(t.k,h),t.d+=n,n+=w;}}function vKt(){var t;vKt=I,TMe=new KA(uQt,0),sMe=new KA(yQt,1),oMe=new KA(mQt,2),EMe=new KA(vQt,3),CMe=new KA(xQt,4),EV(),fMe=new Mx(new Xj(t=$z(Yk(jMe),9),$z(ER(t,t.length),9),0)),dMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[]))),cMe=lht(xG(oMe,Cst(Hx(jMe,1),VJt,61,0,[]))),xMe=lht(xG(EMe,Cst(Hx(jMe,1),VJt,61,0,[]))),_Me=lht(xG(CMe,Cst(Hx(jMe,1),VJt,61,0,[]))),yMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[EMe]))),hMe=lht(xG(oMe,Cst(Hx(jMe,1),VJt,61,0,[CMe]))),vMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[CMe]))),gMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[oMe]))),kMe=lht(xG(EMe,Cst(Hx(jMe,1),VJt,61,0,[CMe]))),uMe=lht(xG(oMe,Cst(Hx(jMe,1),VJt,61,0,[EMe]))),wMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[oMe,CMe]))),lMe=lht(xG(oMe,Cst(Hx(jMe,1),VJt,61,0,[EMe,CMe]))),mMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[EMe,CMe]))),pMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[oMe,EMe]))),bMe=lht(xG(sMe,Cst(Hx(jMe,1),VJt,61,0,[oMe,EMe,CMe])));}function xKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(0!=n.b){for(f=new XE,o=null,d=null,i=CQ(e.Math.floor(e.Math.log(n.b)*e.Math.LOG10E)+1),s=0,y=cwt(n,0);y.b!=y.d.c;)for(b=$z(h3(y),86),HM(d)!==HM(yTt(b,(HUt(),nxe)))&&(d=EB(yTt(b,nxe)),s=0),o=null!=d?d+d0(s++,i):d0(s++,i),uct(b,nxe,o),p=new fb(cwt(new hb(b).a.d,0));x_(p.a);)n5(f,g=$z(h3(p.a),188).c,f.c.b,f.c),uct(g,nxe,o);for(h=new Dw,a=0;a<o.length-i;a++)for(w=cwt(n,0);w.b!=w.d.c;)wJ(h,c=uP(EB(yTt(b=$z(h3(w),86),(HUt(),nxe))),0,a+1),nft(null!=(null==c?zM(MZ(h.f,null)):cC(h.g,c))?$z(null==c?zM(MZ(h.f,null)):cC(h.g,c),19).a+1:1));for(l=new out(new Td(h).a);l.b;)u=tnt(l),r=nft(null!=PY(t.a,u.cd())?$z(PY(t.a,u.cd()),19).a:0),wJ(t.a,EB(u.cd()),nft($z(u.dd(),19).a+r.a)),(!(r=$z(PY(t.b,u.cd()),19))||r.a<$z(u.dd(),19).a)&&wJ(t.b,EB(u.cd()),$z(u.dd(),19));xKt(t,f);}}function kKt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(MEt(i,"Interactive node layering",1),r=new Lw,g=new Kd(n.a);g.a<g.c.c.length;){for(u=(l=(f=$z(Q1(g),10)).n.a)+f.o.a,u=e.Math.max(l+1,u),y=new _2(r,0),a=null;y.b<y.d.gc();){if(TP(y.b<y.d.gc()),(b=$z(y.d.Xb(y.c=y.b++),569)).c>=u){TP(y.b>0),y.a.Xb(y.c=--y.b);break}b.a>l&&(a?(pst(a.b,b.b),a.a=e.Math.max(a.a,b.a),uW(y)):(Kz(b.b,f),b.c=e.Math.min(b.c,l),b.a=e.Math.max(b.a,u),a=b));}a||((a=new em).c=l,a.a=u,yR(y,a),Kz(a.b,f));}for(c=n.b,h=0,w=new Kd(r);w.a<w.c.c.length;)for(b=$z(Q1(w),569),(o=new FY(n)).p=h++,c.c[c.c.length]=o,p=new Kd(b.b);p.a<p.c.c.length;)TJ(f=$z(Q1(p),10),o),f.p=0;for(d=new Kd(n.a);d.a<d.c.c.length;)0==(f=$z(Q1(d),10)).p&&SBt(t,f,n);for(s=new _2(c,0);s.b<s.d.gc();)0==(TP(s.b<s.d.gc()),$z(s.d.Xb(s.c=s.b++),29)).a.c.length&&uW(s);n.a.c=D8(Ite,zWt,1,0,5,1),zCt(i);}function _Kt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((i=$z(DU(e.e,0),17).c.i)==(o=$z(DU(n.e,0),17).c.i))return xL($z(yTt($z(DU(e.e,0),17),(uWt(),ffe)),19).a,$z(yTt($z(DU(n.e,0),17),ffe),19).a);for(h=0,f=(l=t.a).length;h<f;++h){if((u=l[h])==i)return 1;if(u==o)return -1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=$z(yTt(e,(uWt(),lfe)),10),c=$z(yTt(n,lfe),10),r=0,s=0,OP($z(DU(e.g,0),17),ffe)&&(r=$z(yTt($z(DU(e.g,0),17),ffe),19).a),OP($z(DU(n.g,0),17),ffe)&&(s=$z(yTt($z(DU(e.g,0),17),ffe),19).a),a&&a==c?zv(kB(yTt($z(DU(e.g,0),17),Cfe)))&&!zv(kB(yTt($z(DU(n.g,0),17),Cfe)))?1:!zv(kB(yTt($z(DU(e.g,0),17),Cfe)))&&zv(kB(yTt($z(DU(n.g,0),17),Cfe)))||r<s?-1:r>s?1:0:(t.b&&(t.b._b(a)&&(r=$z(t.b.xc(a),19).a),t.b._b(c)&&(s=$z(t.b.xc(c),19).a)),r<s?-1:r>s?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}function EKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(MEt(e,M1t,1),g=new Lw,v=new Lw,u=new Kd(t.b);u.a<u.c.c.length;)for(b=-1,f=0,d=(h=Q0((c=$z(Q1(u),29)).a)).length;f<d;++f)if(++b,(l=h[f]).k==(oCt(),Cse)&&bO($z(yTt(l,(zYt(),twe)),98))){for(Oj($z(yTt(l,(zYt(),twe)),98))||zNt(l),uct(l,(uWt(),nfe),l),g.c=D8(Ite,zWt,1,0,5,1),v.c=D8(Ite,zWt,1,0,5,1),n=new Lw,Hrt(y=new XE,PCt(l,(vKt(),sMe))),IYt(t,y,g,v,n),s=b,x=l,a=new Kd(g);a.a<a.c.c.length;)Xvt(i=$z(Q1(a),10),s,c),++b,uct(i,nfe,l),o=$z(DU(i.j,0),11),p=$z(yTt(o,dfe),11),zv(kB(yTt(p,vpe)))||$z(yTt(i,ife),15).Fc(x);for(yV(y),w=PCt(l,EMe).Kc();w.Ob();)n5(y,$z(w.Pb(),11),y.a,y.a.a);for(IYt(t,y,v,null,n),m=l,r=new Kd(v);r.a<r.c.c.length;)Xvt(i=$z(Q1(r),10),++b,c),uct(i,nfe,l),o=$z(DU(i.j,0),11),p=$z(yTt(o,dfe),11),zv(kB(yTt(p,vpe)))||$z(yTt(m,ife),15).Fc(i);0==n.c.length||uct(l,Dhe,n);}zCt(e);}function TKt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(l=$z(yTt(t,(Ert(),soe)),33),p=PWt,b=PWt,d=jXt,g=jXt,y=new Kd(t.e);y.a<y.c.c.length;)_=(w=$z(Q1(y),144)).d,E=w.e,p=e.Math.min(p,_.a-E.a/2),b=e.Math.min(b,_.b-E.b/2),d=e.Math.max(d,_.a+E.a/2),g=e.Math.max(g,_.b+E.b/2);for(x=new DA((k=$z(QOt(l,(lRt(),Yae)),116)).b-p,k.d-b),c=new Kd(t.e);c.a<c.c.c.length;)iD(v=yTt(s=$z(Q1(c),144),soe),239)&&EO(h=$z(v,33),(m=GR(s.d,x)).a-h.g/2,m.b-h.f/2);for(r=new Kd(t.c);r.a<r.c.c.length;)i=$z(Q1(r),282),u=rBt($z(yTt(i,soe),79),!0,!0),qxt(C=qR($L(i.d.d),i.c.d),i.c.e.a,i.c.e.b),CO(u,(T=GR(C,i.c.d)).a,T.b),qxt(S=qR($L(i.c.d),i.d.d),i.d.e.a,i.d.e.b),TO(u,(n=GR(S,i.d.d)).a,n.b);for(o=new Kd(t.d);o.a<o.c.c.length;)a=$z(Q1(o),447),EO($z(yTt(a,soe),137),(f=GR(a.d,x)).a,f.b);RKt(l,d-p+(k.b+k.c),g-b+(k.d+k.a),!1,!0);}function CKt(t){var e,n,i,r,a,o,s,c,u,l,h;for(n=null,s=null,(r=$z(yTt(t.b,(zYt(),ebe)),376))==(M6(),Vye)&&(n=new Lw,s=new Lw),o=new Kd(t.d);o.a<o.c.c.length;)if((a=$z(Q1(o),101)).i)switch(a.e.g){case 0:e=$z(a4(new WE(a.b)),61),r==Vye&&e==(vKt(),sMe)?n.c[n.c.length]=a:r==Vye&&e==(vKt(),EMe)?s.c[s.c.length]=a:Dmt(a,e);break;case 1:c=a.a.d.j,u=a.c.d.j,c==(vKt(),sMe)?hK(a,sMe,(Mst(),wue),a.a):u==sMe?hK(a,sMe,(Mst(),yue),a.c):c==EMe?hK(a,EMe,(Mst(),yue),a.a):u==EMe&&hK(a,EMe,(Mst(),wue),a.c);break;case 2:case 3:EN(i=a.b,(vKt(),sMe))?EN(i,EMe)?EN(i,CMe)?EN(i,oMe)||hK(a,sMe,(Mst(),yue),a.c):hK(a,sMe,(Mst(),wue),a.a):hK(a,sMe,(Mst(),bue),null):hK(a,EMe,(Mst(),bue),null);break;case 4:l=a.a.d.j,h=a.a.d.j,l==(vKt(),sMe)||h==sMe?hK(a,EMe,(Mst(),bue),null):hK(a,sMe,(Mst(),bue),null);}n&&(0==n.c.length||XFt(n,(vKt(),sMe)),0==s.c.length||XFt(s,(vKt(),EMe)));}function SKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;for(i=$z(yTt(t,(uWt(),dfe)),33),d=$z(yTt(t,(zYt(),$pe)),19).a,a=$z(yTt(t,vbe),19).a,Vwt(i,$pe,nft(d)),Vwt(i,vbe,nft(a)),Cnt(i,t.n.a+e.a),Snt(i,t.n.b+e.b),(0!=$z(QOt(i,jbe),174).gc()||t.e||HM(yTt(bW(t),Rbe))===HM((Dyt(),wye))&&pO((fyt(),(t.q?t.q:(EV(),EV(),une))._b(Pbe)?$z(yTt(t,Pbe),197):$z(yTt(bW(t),Bbe),197))))&&(Tnt(i,t.o.a),Ent(i,t.o.b)),h=new Kd(t.j);h.a<h.c.c.length;)iD(g=yTt(u=$z(Q1(h),11),dfe),186)&&(EO(r=$z(g,118),u.n.a,u.n.b),Vwt(r,awe,u.j));for(f=0!=$z(yTt(t,Ibe),174).gc(),c=new Kd(t.b);c.a<c.c.c.length;)o=$z(Q1(c),70),(f||0!=$z(yTt(o,Ibe),174).gc())&&(_O(n=$z(yTt(o,dfe),137),o.o.a,o.o.b),EO(n,o.n.a,o.n.b));if(!Fq($z(yTt(t,iwe),21)))for(l=new Kd(t.j);l.a<l.c.c.length;)for(s=new Kd((u=$z(Q1(l),11)).f);s.a<s.c.c.length;)o=$z(Q1(s),70),Tnt(n=$z(yTt(o,dfe),137),o.o.a),Ent(n,o.o.b),EO(n,o.n.a,o.n.b);}function AKt(t){var e,n,i,r,a;switch(AZ(t,n8t),(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i+(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i){case 0:throw Fw(new Rv("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i?VQ(CEt($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82))):VQ(CEt($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c).i){if(r=CEt($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)),a=CEt($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82)),VQ(r)==VQ(a))return VQ(r);if(r==VQ(a))return r;if(a==VQ(r))return a}for(e=CEt($z(G5(i=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),(!t.c&&(t.c=new cj(PIe,t,5,8)),t.c)])))),82));gOt(i);)if((n=CEt($z(G5(i),82)))!=e&&!Set(n,e))if(VQ(n)==VQ(e))e=VQ(n);else if(!(e=FLt(e,n)))return null;return e}function MKt(t,n,i){var r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;for(MEt(i,"Polyline edge routing",1),y=Hv(_B(yTt(n,(zYt(),Jpe)))),p=Hv(_B(yTt(n,Mwe))),a=Hv(_B(yTt(n,mwe))),r=e.Math.min(1,a/p),x=0,u=0,0!=n.b.c.length&&(x=.4*r*(k=uDt($z(DU(n.b,0),29)))),c=new _2(n.b,0);c.b<c.d.gc();){for(TP(c.b<c.d.gc()),(o=YM(s=$z(c.d.Xb(c.c=c.b++),29),vve))&&x>0&&(x-=p),_Ut(s,x),f=0,g=new Kd(s.a);g.a<g.c.c.length;){for(h=0,w=new oq(ZD(hdt(d=$z(Q1(g),10)).a.Kc(),new l));gOt(w);)m=g1((b=$z(G5(w),17)).c).b,v=g1(b.d).b,s!=b.d.i.c||h5(b)||(WMt(b,x,.4*r*e.Math.abs(m-v)),b.c.j==(vKt(),CMe)&&(m=0,v=0)),h=e.Math.max(h,e.Math.abs(v-m));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:UUt(t,d,x,y);}f=e.Math.max(f,h);}c.b<c.d.gc()&&(k=uDt((TP(c.b<c.d.gc()),$z(c.d.Xb(c.c=c.b++),29))),f=e.Math.max(f,k),TP(c.b>0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.b<c.d.gc()&&(u+=p),x+=s.c.a+u;}t.a.a.$b(),n.f.a=x,zCt(i);}function IKt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y;for(u=new Dw,s=new pQ,i=new Kd(t.a.a.b);i.a<i.c.c.length;)if(c=u2(e=$z(Q1(i),57)))xAt(u.f,c,e);else if(y=u3(e))for(r=new Kd(y.k);r.a<r.c.c.length;)ZMt(s,$z(Q1(r),17),e);for(n=new Kd(t.a.a.b);n.a<n.c.c.length;)if(c=u2(e=$z(Q1(n),57)))for(o=new oq(ZD(hdt(c).a.Kc(),new l));gOt(o);)if(!h5(a=$z(G5(o),17))&&(g=a.c,w=a.d,!(vKt(),yMe).Hc(a.c.j)||!yMe.Hc(a.d.j))){if(p=$z(PY(u,a.d.i),57),qNt(rT(iT(aT(nT(new Fy,0),100),t.c[e.a.d]),t.c[p.a.d])),g.j==CMe&&Iq((pat(),g)))for(f=$z(c6(s,a),21).Kc();f.Ob();)if((h=$z(f.Pb(),57)).d.c<e.d.c){if((d=t.c[h.a.d])==(b=t.c[e.a.d]))continue;qNt(rT(iT(aT(nT(new Fy,1),100),d),b));}if(w.j==oMe&&Mq((pat(),w)))for(f=$z(c6(s,a),21).Kc();f.Ob();)if((h=$z(f.Pb(),57)).d.c>e.d.c){if((d=t.c[e.a.d])==(b=t.c[h.a.d]))continue;qNt(rT(iT(aT(nT(new Fy,1),100),d),b));}}}function OKt(t){var e,n,i,r,a,o,s,c;if(BHt(),null==t)return null;if((r=HI(t,VEt(37)))<0)return t;for(c=new lN(t.substr(0,r)),e=D8(ONe,w6t,25,4,15,1),s=0,i=0,o=t.length;r<o;r++)if(h1(r,t.length),37==t.charCodeAt(r)&&t.length>r+2&&tct((h1(r+1,t.length),t.charCodeAt(r+1)),COe,SOe)&&tct((h1(r+2,t.length),t.charCodeAt(r+2)),COe,SOe))if(n=CH((h1(r+1,t.length),t.charCodeAt(r+1)),(h1(r+2,t.length),t.charCodeAt(r+2))),r+=2,i>0?128==(192&n)?e[s++]=n<<24>>24:i=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,i=2):224==(240&n)?(e[s++]=n<<24>>24,i=3):240==(248&n)&&(e[s++]=n<<24>>24,i=4)),i>0){if(s==i){switch(s){case 2:DY(c,((31&e[0])<<6|63&e[1])&XXt);break;case 3:DY(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&XXt);}s=0,i=0;}}else {for(a=0;a<s;++a)DY(c,e[a]&XXt);s=0,c.a+=String.fromCharCode(n);}else {for(a=0;a<s;++a)DY(c,e[a]&XXt);s=0,DY(c,(h1(r,t.length),t.charCodeAt(r)));}return c.a}function LKt(t,e,n,i,r){var a,o,s;if(ytt(t,e),o=e[0],a=uX(n.c,0),s=-1,Vct(n))if(i>0){if(o+i>t.length)return !1;s=qMt(t.substr(0,o+i),e);}else s=qMt(t,e);switch(a){case 71:return s=GEt(t,o,Cst(Hx(Xee,1),cXt,2,6,[lVt,hVt]),e),r.e=s,!0;case 77:return pBt(t,e,r,s,o);case 76:return bBt(t,e,r,s,o);case 69:return iAt(t,e,o,r);case 99:return rAt(t,e,o,r);case 97:return s=GEt(t,o,Cst(Hx(Xee,1),cXt,2,6,["AM","PM"]),e),r.b=s,!0;case 121:return wBt(t,e,o,s,n,r);case 100:return !(s<=0||(r.c=s,0));case 83:return !(s<0)&&xgt(s,o,e[0],r);case 104:12==s&&(s=0);case 75:case 72:return !(s<0||(r.f=s,r.g=!1,0));case 107:return !(s<0||(r.f=s,r.g=!0,0));case 109:return !(s<0||(r.j=s,0));case 115:return !(s<0||(r.n=s,0));case 90:if(o<t.length&&(h1(o,t.length),90==t.charCodeAt(o)))return ++e[0],r.o=0,!0;case 122:case 118:return SEt(t,o,e,r);default:return !1}}function DKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(d=$z($z(c6(t.r,n),21),84),n!=(vKt(),oMe)&&n!=CMe){for(o=n==sMe?(Pot(),Lre):(Pot(),Pre),x=n==sMe?(H9(),ire):(H9(),ere),a=(r=(i=$z(oX(t.b,n),124)).i).c+Lct(Cst(Hx(LNe,1),HVt,25,15,[i.n.b,t.C.b,t.k])),y=r.c+r.b-Lct(Cst(Hx(LNe,1),HVt,25,15,[i.n.c,t.C.c,t.k])),s=Zx(F$(o),t.t),m=n==sMe?RVt:BVt,f=d.Kc();f.Ob();)!(l=$z(f.Pb(),111)).c||l.c.d.c.length<=0||(w=l.b.rf(),b=l.e,(p=(g=l.c).i).b=(u=g.n,g.e.a+u.b+u.c),p.a=(c=g.n,g.e.b+c.d+c.a),AZ(x,oQt),g.f=x,l7(g,(V7(),Vie)),p.c=b.a-(p.b-w.a)/2,k=e.Math.min(a,b.a),_=e.Math.max(y,b.a+w.a),p.c<k?p.c=k:p.c+p.b>_&&(p.c=_-p.b),Kz(s.d,new DG(p,vft(s,p))),m=n==sMe?e.Math.max(m,b.b+l.b.rf().b):e.Math.min(m,b.b));for(m+=n==sMe?t.t:-t.t,(v=Cgt((s.e=m,s)))>0&&($z(oX(t.b,n),124).a.b=v),h=d.Kc();h.Ob();)!(l=$z(h.Pb(),111)).c||l.c.d.c.length<=0||((p=l.c.i).c-=l.e.a,p.d-=l.e.b);}else aKt(t,n);}function NKt(t){var e,n,i,r,a,o,s,c,u,h;for(e=new Dw,o=new MD(t);o.e!=o.i.gc();){for(a=$z(vwt(o),33),n=new Py,YW(_ae,a,n),h=new oe,i=$z(T4(new PU(null,new UK(new oq(ZD(dDt(a).a.Kc(),new l)))),EG(h,w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[(Hut(),Gne)])))),83),Znt(n,$z(i.xc((cN(),!0)),14),new se),r=$z(T4(MX($z(i.xc(!1),15).Lc(),new ce),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[Gne]))),15).Kc();r.Ob();)(u=STt($z(r.Pb(),79)))&&((s=$z(zM(MZ(e.f,u)),21))||(s=MPt(u),xAt(e.f,u,s)),$rt(n,s));for(i=$z(T4(new PU(null,new UK(new oq(ZD(gDt(a).a.Kc(),new l)))),EG(h,w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[Gne])))),83),Znt(n,$z(i.xc(!0),14),new ue),c=$z(T4(MX($z(i.xc(!1),15).Lc(),new le),w7(new H,new z,new it,Cst(Hx(Qne,1),OXt,132,0,[Gne]))),15).Kc();c.Ob();)(u=ATt($z(c.Pb(),79)))&&((s=$z(zM(MZ(e.f,u)),21))||(s=MPt(u),xAt(e.f,u,s)),$rt(n,s));}}function PKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(oHt(),(c=Wlt(t,0)<0)&&(t=v9(t)),0==Wlt(t,0))switch(e){case 0:return "0";case 1:return YVt;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 Cx).a+=e<0?"0E+":"0E",d.a+=e==jXt?"2147483648":""+-e,d.a}h=D8(SNe,YXt,25,1+(l=18),15,1),n=l,p=t;do{u=p,p=Mkt(p,10),h[--n]=dG(idt(48,ndt(u,rdt(p,10))))&XXt;}while(0!=Wlt(p,0));if(r=ndt(ndt(ndt(l,n),e),1),0==e)return c&&(h[--n]=45),Fpt(h,n,l-n);if(e>0&&Wlt(r,-6)>=0){if(Wlt(r,0)>=0){for(a=n+dG(r),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),Fpt(h,n,l-n+1)}for(o=2;sC(o,idt(v9(r),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),Fpt(h,n,l-n)}return g=n+1,i=l,f=new Sx,c&&(f.a+="-"),i-g>=1?(DY(f,h[n]),f.a+=".",f.a+=Fpt(h,n+1,l-n-1)):f.a+=Fpt(h,n,l-n),f.a+="E",Wlt(r,0)>0&&(f.a+="+"),f.a+=""+bq(r),f.a}function BKt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=D8(Ite,zWt,1,0,5,1),t.i.c=D8(Ite,zWt,1,0,5,1),t.g.a.$b(),e)for(o=new Kd(e.a);o.a<o.c.c.length;)for(l=PCt(a=$z(Q1(o),10),(vKt(),oMe)).Kc();l.Ob();)for(u=$z(l.Pb(),11),kK(t.e,u),r=new Kd(u.g);r.a<r.c.c.length;)h5(i=$z(Q1(r),17))||(Kz(t.c,i),bwt(t,i),((s=i.c.i.k)==(oCt(),Cse)||s==Sse||s==_se||s==kse)&&Kz(t.j,i),(h=(f=i.d).i.c)==n?kK(t.f,f):h==e?kK(t.e,f):y9(t.c,i));if(n)for(o=new Kd(n.a);o.a<o.c.c.length;){for(c=new Kd((a=$z(Q1(o),10)).j);c.a<c.c.c.length;)for(r=new Kd($z(Q1(c),11).g);r.a<r.c.c.length;)h5(i=$z(Q1(r),17))&&kK(t.g,i);for(l=PCt(a,(vKt(),CMe)).Kc();l.Ob();)for(u=$z(l.Pb(),11),kK(t.f,u),r=new Kd(u.g);r.a<r.c.c.length;)h5(i=$z(Q1(r),17))||(Kz(t.c,i),bwt(t,i),((s=i.c.i.k)==(oCt(),Cse)||s==Sse||s==_se||s==kse)&&Kz(t.j,i),(h=(f=i.d).i.c)==n?kK(t.f,f):h==e?kK(t.e,f):y9(t.c,i));}}function RKt(t,n,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(w=new DA(t.g,t.f),(b=KSt(t)).a=e.Math.max(b.a,n),b.b=e.Math.max(b.b,i),_=b.a/w.a,h=b.b/w.b,x=b.a-w.a,u=b.b-w.b,r)for(s=VQ(t)?$z(QOt(VQ(t),(cWt(),hCe)),103):$z(QOt(t,(cWt(),hCe)),103),c=HM(QOt(t,(cWt(),aSe)))===HM((X_t(),qAe)),m=new MD((!t.c&&(t.c=new tK(GIe,t,9,9)),t.c));m.e!=m.i.gc();)switch(y=$z(vwt(m),118),(v=$z(QOt(y,fSe),61))==(vKt(),TMe)&&(v=MFt(y,s),Vwt(y,fSe,v)),v.g){case 1:c||Cnt(y,y.i*_);break;case 2:Cnt(y,y.i+x),c||Snt(y,y.j*h);break;case 3:c||Cnt(y,y.i*_),Snt(y,y.j+u);break;case 4:c||Snt(y,y.j*h);}if(_O(t,b.a,b.b),a)for(d=new MD((!t.n&&(t.n=new tK(HIe,t,1,7)),t.n));d.e!=d.i.gc();)g=(f=$z(vwt(d),137)).i+f.g/2,p=f.j+f.f/2,(k=g/w.a)+(l=p/w.b)>=1&&(k-l>0&&p>=0?(Cnt(f,f.i+x),Snt(f,f.j+u*l)):k-l<0&&g>=0&&(Cnt(f,f.i+x*k),Snt(f,f.j+u)));return Vwt(t,(cWt(),BCe),(ypt(),new Xj(o=$z(Yk(XMe),9),$z(ER(o,o.length),9),0))),new DA(_,h)}function jKt(t){var n,i,r,a,o,s,c,u,l,h,f;if(h=VQ(CEt($z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)))==VQ(CEt($z(Yet((!t.c&&(t.c=new cj(PIe,t,5,8)),t.c),0),82))),s=new Hk,(n=$z(QOt(t,(Kut(),cAe)),74))&&n.b>=2){if(0==(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i)Jk(),i=new oc,u7((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),i);else if((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i>1)for(f=new iP((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a));f.e!=f.i.gc();)Xkt(f);WFt(n,$z(Yet((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),0),202));}if(h)for(r=new MD((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a));r.e!=r.i.gc();)for(u=new MD((!(i=$z(vwt(r),202)).a&&(i.a=new ID(LIe,i,5)),i.a));u.e!=u.i.gc();)c=$z(vwt(u),469),s.a=e.Math.max(s.a,c.a),s.b=e.Math.max(s.b,c.b);for(o=new MD((!t.n&&(t.n=new tK(HIe,t,1,7)),t.n));o.e!=o.i.gc();)a=$z(vwt(o),137),(l=$z(QOt(a,gAe),8))&&EO(a,l.a,l.b),h&&(s.a=e.Math.max(s.a,a.i+a.g),s.b=e.Math.max(s.b,a.j+a.f));return s}function $Kt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(y=n.c.length,a=new Hjt(t.a,i,null,null),_=D8(LNe,HVt,25,y,15,1),g=D8(LNe,HVt,25,y,15,1),d=D8(LNe,HVt,25,y,15,1),p=0,c=0;c<y;c++)g[c]=PWt,d[c]=jXt;for(u=0;u<y;u++)for(l1(u,n.c.length),r=$z(n.c[u],180),_[u]=wLt(r),_[p]>_[u]&&(p=u),h=new Kd(t.a.b);h.a<h.c.c.length;)for(w=new Kd($z(Q1(h),29).a);w.a<w.c.c.length;)b=$z(Q1(w),10),x=Hv(r.p[b.p])+Hv(r.d[b.p]),g[u]=e.Math.min(g[u],x),d[u]=e.Math.max(d[u],x+b.o.b);for(k=D8(LNe,HVt,25,y,15,1),l=0;l<y;l++)(l1(l,n.c.length),$z(n.c[l],180)).o==(oJ(),nve)?k[l]=g[p]-g[l]:k[l]=d[p]-d[l];for(o=D8(LNe,HVt,25,y,15,1),f=new Kd(t.a.b);f.a<f.c.c.length;)for(v=new Kd($z(Q1(f),29).a);v.a<v.c.c.length;){for(m=$z(Q1(v),10),s=0;s<y;s++)o[s]=Hv((l1(s,n.c.length),$z(n.c[s],180)).p[m.p])+Hv((l1(s,n.c.length),$z(n.c[s],180)).d[m.p])+k[s];o.sort(nnt(E.prototype.te,E,[])),a.p[m.p]=(o[1]+o[2])/2,a.d[m.p]=0;}return a}function FKt(t,e,n){var i,r,a,o,s;switch(i=e.i,a=t.i.o,r=t.i.d,s=t.n,o=Ict(Cst(Hx(TTe,1),cXt,8,0,[s,t.a])),t.j.g){case 1:KB(e,(H9(),ere)),i.d=-r.d-n-i.a,$z($z(DU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),vAe)?(l7(e,(V7(),Vie)),i.c=o.a-Hv(_B(yTt(t,hfe)))-n-i.b):(l7(e,(V7(),Xie)),i.c=o.a+Hv(_B(yTt(t,hfe)))+n);break;case 2:l7(e,(V7(),Xie)),i.c=a.a+r.c+n,$z($z(DU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),vAe)?(KB(e,(H9(),ere)),i.d=o.b-Hv(_B(yTt(t,hfe)))-n-i.a):(KB(e,(H9(),ire)),i.d=o.b+Hv(_B(yTt(t,hfe)))+n);break;case 3:KB(e,(H9(),ire)),i.d=a.b+r.a+n,$z($z(DU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),vAe)?(l7(e,(V7(),Vie)),i.c=o.a-Hv(_B(yTt(t,hfe)))-n-i.b):(l7(e,(V7(),Xie)),i.c=o.a+Hv(_B(yTt(t,hfe)))+n);break;case 4:l7(e,(V7(),Vie)),i.c=-r.b-n-i.b,$z($z(DU(e.d,0),181).We((uWt(),afe)),285)==(Kvt(),vAe)?(KB(e,(H9(),ere)),i.d=o.b-Hv(_B(yTt(t,hfe)))-n-i.a):(KB(e,(H9(),ire)),i.d=o.b+Hv(_B(yTt(t,hfe)))+n);}}function zKt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I;for(g=0,C=0,u=new Kd(t);u.a<u.c.c.length;)sqt(c=$z(Q1(u),33)),g=e.Math.max(g,c.g),C+=c.g*c.f;for(T=Qvt(t,C/t.c.length),C+=t.c.length*T,g=e.Math.max(g,e.Math.sqrt(C*s))+i.b,M=i.b,I=i.d,d=0,h=i.b+i.c,NH(E=new XE,nft(0)),k=new XE,l=new _2(t,0);l.b<l.d.gc();)TP(l.b<l.d.gc()),A=(c=$z(l.d.Xb(l.c=l.b++),33)).g,f=c.f,M+A>g&&(o&&(uI(k,d),uI(E,nft(l.b-1))),M=i.b,I+=d+n,d=0,h=e.Math.max(h,i.b+i.c+A)),Cnt(c,M),Snt(c,I),h=e.Math.max(h,M+A+i.c),d=e.Math.max(d,f),M+=A+n;if(h=e.Math.max(h,r),(S=I+d+i.a)<a&&(d+=a-S,S=a),o)for(M=i.b,l=new _2(t,0),uI(E,nft(t.c.length)),w=$z(h3(_=cwt(E,0)),19).a,uI(k,d),x=cwt(k,0),v=0;l.b<l.d.gc();)l.b==w&&(M=i.b,v=Hv(_B(h3(x))),w=$z(h3(_),19).a),TP(l.b<l.d.gc()),y=(c=$z(l.d.Xb(l.c=l.b++),33)).f,Ent(c,v),p=v,l.b==w&&(b=h-M-i.c,m=c.g,Tnt(c,b),hAt(c,new DA(b,p),new DA(m,y))),M+=c.g+n;return new DA(h,S)}function HKt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(MEt(n,"Compound graph postprocessor",1),i=zv(kB(yTt(t,(zYt(),Nwe)))),c=$z(yTt(t,(uWt(),Fhe)),224),h=new Py,y=c.ec().Kc();y.Ob();){for(w=$z(y.Pb(),17),s=new Jj(c.cc(w)),EV(),wL(s,new Rg(t)),k=rat((l1(0,s.c.length),$z(s.c[0],243))),E=aat($z(DU(s,s.c.length-1),243)),v=k.i,m=dot(E.i,v)?v.e:bW(v),f=Iwt(w,s),yV(w.a),d=null,o=new Kd(s);o.a<o.c.c.length;)a=$z(Q1(o),243),MSt(b=new Hk,a.a,m),g=a.b,Yut(r=new mm,0,g.a),Qet(r,b),x=new fO(g1(g.c)),_=new fO(g1(g.d)),GR(x,b),GR(_,b),d&&(0==r.b?p=_:(TP(0!=r.b),p=$z(r.a.a.c,8)),T=e.Math.abs(d.a-p.a)>hJt,C=e.Math.abs(d.b-p.b)>hJt,(!i&&T&&C||i&&(T||C))&&NH(w.a,x)),$rt(w.a,r),0==r.b?d=x:(TP(0!=r.b),d=$z(r.c.b.c,8)),Vot(g,f,b),aat(a)==E&&(bW(E.i)!=a.a&&MSt(b=new Hk,bW(E.i),m),uct(w,Pfe,b)),ECt(g,w,m),h.a.zc(g,h);EJ(w,k),_J(w,E);}for(l=h.a.ec().Kc();l.Ob();)EJ(u=$z(l.Pb(),17),null),_J(u,null);zCt(n);}function UKt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(1==t.gc())return $z(t.Xb(0),231);if(t.gc()<=0)return new y6;for(a=t.Kc();a.Ob();){for(i=$z(a.Pb(),231),p=0,h=PWt,f=PWt,u=jXt,l=jXt,g=new Kd(i.e);g.a<g.c.c.length;)d=$z(Q1(g),144),p+=$z(yTt(d,(lRt(),Zae)),19).a,h=e.Math.min(h,d.d.a-d.e.a/2),f=e.Math.min(f,d.d.b-d.e.b/2),u=e.Math.max(u,d.d.a+d.e.a/2),l=e.Math.max(l,d.d.b+d.e.b/2);uct(i,(lRt(),Zae),nft(p)),uct(i,(Ert(),ooe),new DA(h,f)),uct(i,aoe,new DA(u,l));}for(EV(),t.ad(new de),Hot(b=new y6,$z(t.Xb(0),94)),c=0,m=0,o=t.Kc();o.Ob();)i=$z(o.Pb(),231),w=qR($L($z(yTt(i,(Ert(),aoe)),8)),$z(yTt(i,ooe),8)),c=e.Math.max(c,w.a),m+=w.a*w.b;for(c=e.Math.max(c,e.Math.sqrt(m)*Hv(_B(yTt(b,(lRt(),jae))))),v=0,x=0,s=0,n=y=Hv(_B(yTt(b,ioe))),r=t.Kc();r.Ob();)i=$z(r.Pb(),231),v+(w=qR($L($z(yTt(i,(Ert(),aoe)),8)),$z(yTt(i,ooe),8))).a>c&&(v=0,x+=s+y,s=0),Wjt(b,i,v,x),n=e.Math.max(n,v+w.a),s=e.Math.max(s,w.b),v+=w.a+y;return b}function GKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;switch(l=new mm,t.a.g){case 3:f=$z(yTt(e.e,(uWt(),Lfe)),15),d=$z(yTt(e.j,Lfe),15),g=$z(yTt(e.f,Lfe),15),n=$z(yTt(e.e,Ife),15),i=$z(yTt(e.j,Ife),15),r=$z(yTt(e.f,Ife),15),pst(o=new Lw,f),d.Jc(new va),pst(o,iD(d,152)?o6($z(d,152)):iD(d,131)?$z(d,131).a:iD(d,54)?new uv(d):new CE(d)),pst(o,g),pst(a=new Lw,n),pst(a,iD(i,152)?o6($z(i,152)):iD(i,131)?$z(i,131).a:iD(i,54)?new uv(i):new CE(i)),pst(a,r),uct(e.f,Lfe,o),uct(e.f,Ife,a),uct(e.f,Dfe,e.f),uct(e.e,Lfe,null),uct(e.e,Ife,null),uct(e.j,Lfe,null),uct(e.j,Ife,null);break;case 1:$rt(l,e.e.a),NH(l,e.i.n),$rt(l,eot(e.j.a)),NH(l,e.a.n),$rt(l,e.f.a);break;default:$rt(l,e.e.a),$rt(l,eot(e.j.a)),$rt(l,e.f.a);}yV(e.f.a),$rt(e.f.a,l),EJ(e.f,e.e.c),s=$z(yTt(e.e,(zYt(),bbe)),74),u=$z(yTt(e.j,bbe),74),c=$z(yTt(e.f,bbe),74),(s||u||c)&&(TK(h=new mm,c),TK(h,u),TK(h,s),uct(e.f,bbe,h)),EJ(e.j,null),_J(e.j,null),EJ(e.e,null),_J(e.e,null),TJ(e.a,null),TJ(e.i,null),e.g&&GKt(t,e.g);}function qKt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(CFt(),null==t)return null;if((g=fft(a=Y9(t)))%4!=0)return null;if(0==(p=g/4|0))return D8(ONe,w6t,25,0,15,1);for(h=null,e=0,n=0,i=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,l=0,h=D8(ONe,w6t,25,3*p,15,1);d<p-1;d++){if(!(Y_(o=a[l++])&&Y_(s=a[l++])&&Y_(c=a[l++])&&Y_(u=a[l++])))return null;e=qDe[o],n=qDe[s],i=qDe[c],r=qDe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24;}return Y_(o=a[l++])&&Y_(s=a[l++])?(e=qDe[o],n=qDe[s],c=a[l++],u=a[l++],-1==qDe[c]||-1==qDe[u]?61==c&&61==u?15&n?null:(aHt(h,0,b=D8(ONe,w6t,25,3*d+1,15,1),0,3*d),b[f]=(e<<2|n>>4)<<24>>24,b):61!=c&&61==u?3&(i=qDe[c])?null:(aHt(h,0,b=D8(ONe,w6t,25,3*d+2,15,1),0,3*d),b[f++]=(e<<2|n>>4)<<24>>24,b[f]=((15&n)<<4|i>>2&15)<<24>>24,b):null:(i=qDe[c],r=qDe[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24,h)):null}function KKt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(MEt(e,M1t,1),f=$z(yTt(t,(zYt(),Zpe)),218),i=new Kd(t.b);i.a<i.c.c.length;)for(o=0,s=(a=Q0($z(Q1(i),29).a)).length;o<s;++o)if((r=a[o]).k==(oCt(),Sse)){if(f==(Edt(),VSe))for(u=new Kd(r.j);u.a<u.c.c.length;)0==(c=$z(Q1(u),11)).e.c.length||Ibt(c),0==c.g.c.length||Obt(c);else if(iD(yTt(r,(uWt(),dfe)),17))g=$z(yTt(r,dfe),17),p=$z(PCt(r,(vKt(),CMe)).Kc().Pb(),11),b=$z(PCt(r,oMe).Kc().Pb(),11),w=$z(yTt(p,dfe),11),EJ(g,y=$z(yTt(b,dfe),11)),_J(g,w),(m=new fO(b.i.n)).a=Ict(Cst(Hx(TTe,1),cXt,8,0,[y.i.n,y.n,y.a])).a,NH(g.a,m),(m=new fO(p.i.n)).a=Ict(Cst(Hx(TTe,1),cXt,8,0,[w.i.n,w.n,w.a])).a,NH(g.a,m);else {if(r.j.c.length>=2){for(d=!0,n=$z(Q1(l=new Kd(r.j)),11),h=null;l.a<l.c.c.length;)if(h=n,n=$z(Q1(l),11),!Dht(yTt(h,dfe),yTt(n,dfe))){d=!1;break}}else d=!1;for(u=new Kd(r.j);u.a<u.c.c.length;)0==(c=$z(Q1(u),11)).e.c.length||oPt(c,d),0==c.g.c.length||sPt(c,d);}TJ(r,null);}zCt(e);}function YKt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;return v=t.c[(l1(0,n.c.length),$z(n.c[0],17)).p],E=t.c[(l1(1,n.c.length),$z(n.c[1],17)).p],!(v.a.e.e-v.a.a-(v.b.e.e-v.b.a)==0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)==0||!iD(y=v.b.e.f,10)||(w=$z(y,10),k=t.i[w.p],_=w.c?x9(w.c.a,w,0):-1,o=BVt,_>0&&(a=$z(DU(w.c.a,_-1),10),s=t.i[a.p],T=e.Math.ceil(BL(t.n,a,w)),o=k.a.e-w.d.d-(s.a.e+a.o.b+a.d.a)-T),l=BVt,_<w.c.a.c.length-1&&(u=$z(DU(w.c.a,_+1),10),h=t.i[u.p],T=e.Math.ceil(BL(t.n,u,w)),l=h.a.e-u.d.d-(k.a.e+w.o.b+w.d.a)-T),!(i&&(cL(),iit(I3t),e.Math.abs(o-l)<=I3t||o==l||isNaN(o)&&isNaN(l)))&&(r=rY(v.a),c=-rY(v.b),f=-rY(E.a),m=rY(E.b),b=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)>0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)<0,p=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)<0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)>0,g=v.a.e.e+v.b.a<E.b.e.e+E.a.a,d=v.a.e.e+v.b.a>E.b.e.e+E.a.a,x=0,!b&&!p&&(d?o+f>0?x=f:l-r>0&&(x=r):g&&(o+c>0?x=c:l-m>0&&(x=m))),k.a.e+=x,k.b&&(k.d.e+=x),1)))}function WKt(t,n,i){var r,a,o,s,c,u,l,h,f,d;if(r=new GX(n.qf().a,n.qf().b,n.rf().a,n.rf().b),a=new hO,t.c)for(s=new Kd(n.wf());s.a<s.c.c.length;)o=$z(Q1(s),181),a.c=o.qf().a+n.qf().a,a.d=o.qf().b+n.qf().b,a.b=o.rf().a,a.a=o.rf().b,SSt(r,a);for(l=new Kd(n.Cf());l.a<l.c.c.length;){if(h=(u=$z(Q1(l),838)).qf().a+n.qf().a,f=u.qf().b+n.qf().b,t.e&&(a.c=h,a.d=f,a.b=u.rf().a,a.a=u.rf().b,SSt(r,a)),t.d)for(s=new Kd(u.wf());s.a<s.c.c.length;)o=$z(Q1(s),181),a.c=o.qf().a+h,a.d=o.qf().b+f,a.b=o.rf().a,a.a=o.rf().b,SSt(r,a);if(t.b){if(d=new DA(-i,-i),$z(n.We((cWt(),uSe)),174).Hc((hMt(),nMe)))for(s=new Kd(u.wf());s.a<s.c.c.length;)o=$z(Q1(s),181),d.a+=o.rf().a+i,d.b+=o.rf().b+i;d.a=e.Math.max(d.a,0),d.b=e.Math.max(d.b,0),K$t(r,u.Bf(),u.zf(),n,u,d,i);}}t.b&&K$t(r,n.Bf(),n.zf(),n,null,null,i),(c=new M$(n.Af())).d=e.Math.max(0,n.qf().b-r.d),c.a=e.Math.max(0,r.d+r.a-(n.qf().b+n.rf().b)),c.b=e.Math.max(0,n.qf().a-r.c),c.c=e.Math.max(0,r.c+r.b-(n.qf().a+n.rf().a)),n.Ef(c);}function XKt(){var t=["\\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"];return t[34]='\\"',t[92]="\\\\",t[173]="\\u00ad",t[1536]="\\u0600",t[1537]="\\u0601",t[1538]="\\u0602",t[1539]="\\u0603",t[1757]="\\u06dd",t[1807]="\\u070f",t[6068]="\\u17b4",t[6069]="\\u17b5",t[8203]="\\u200b",t[8204]="\\u200c",t[8205]="\\u200d",t[8206]="\\u200e",t[8207]="\\u200f",t[8232]="\\u2028",t[8233]="\\u2029",t[8234]="\\u202a",t[8235]="\\u202b",t[8236]="\\u202c",t[8237]="\\u202d",t[8238]="\\u202e",t[8288]="\\u2060",t[8289]="\\u2061",t[8290]="\\u2062",t[8291]="\\u2063",t[8292]="\\u2064",t[8298]="\\u206a",t[8299]="\\u206b",t[8300]="\\u206c",t[8301]="\\u206d",t[8302]="\\u206e",t[8303]="\\u206f",t[65279]="\\ufeff",t[65529]="\\ufff9",t[65530]="\\ufffa",t[65531]="\\ufffb",t}function VKt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(c=new Lw,h=e.length,o=Act(n),u=0;u<h;++u){switch(l=yN(e,VEt(61),u),a=(r=ost(i=lft(o,e.substr(u,l-u)))).Aj().Nh(),uX(e,++l)){case 39:s=lP(e,39,++l),Kz(c,new CM(i,XX(e.substr(l,s-l),a,r))),u=s+1;break;case 34:s=lP(e,34,++l),Kz(c,new CM(i,XX(e.substr(l,s-l),a,r))),u=s+1;break;case 91:Kz(c,new CM(i,f=new Lw));t:for(;;){switch(uX(e,++l)){case 39:s=lP(e,39,++l),Kz(f,XX(e.substr(l,s-l),a,r)),l=s+1;break;case 34:s=lP(e,34,++l),Kz(f,XX(e.substr(l,s-l),a,r)),l=s+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Fw(new dv(a6t));f.c[f.c.length]=null,l+=3;}if(!(l<h))break;switch(h1(l,e.length),e.charCodeAt(l)){case 44:break;case 93:break t;default:throw Fw(new dv("Expecting , or ]"))}}u=l+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw Fw(new dv(a6t));Kz(c,new CM(i,null)),u=l+3;}if(!(u<h))break;if(h1(u,e.length),44!=e.charCodeAt(u))throw Fw(new dv("Expecting ,"))}return nBt(t,c,n)}function ZKt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(u=$z($z(c6(t.r,e),21),84),o=ZEt(t,e),n=t.u.Hc((hMt(),QAe)),c=u.Kc();c.Ob();)if((s=$z(c.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(f=s.b.rf(),(h=(l=s.c).i).b=(a=l.n,l.e.a+a.b+a.c),h.a=(r=l.n,l.e.b+r.d+r.a),e.g){case 1:s.a?(h.c=(f.a-h.b)/2,l7(l,(V7(),Wie))):o||n?(h.c=-h.b-t.s,l7(l,(V7(),Vie))):(h.c=f.a+t.s,l7(l,(V7(),Xie))),h.d=-h.a-t.t,KB(l,(H9(),ere));break;case 3:s.a?(h.c=(f.a-h.b)/2,l7(l,(V7(),Wie))):o||n?(h.c=-h.b-t.s,l7(l,(V7(),Vie))):(h.c=f.a+t.s,l7(l,(V7(),Xie))),h.d=f.b+t.t,KB(l,(H9(),ire));break;case 2:s.a?(i=t.v?h.a:$z(DU(l.d,0),181).rf().b,h.d=(f.b-i)/2,KB(l,(H9(),nre))):o||n?(h.d=-h.a-t.t,KB(l,(H9(),ere))):(h.d=f.b+t.t,KB(l,(H9(),ire))),h.c=f.a+t.s,l7(l,(V7(),Xie));break;case 4:s.a?(i=t.v?h.a:$z(DU(l.d,0),181).rf().b,h.d=(f.b-i)/2,KB(l,(H9(),nre))):o||n?(h.d=-h.a-t.t,KB(l,(H9(),ere))):(h.d=f.b+t.t,KB(l,(H9(),ire))),h.c=-h.b-t.s,l7(l,(V7(),Vie));}o=!1;}}function QKt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(dWt(),0==LE(tNe)){for(h=D8(CNe,cXt,117,nNe.length,0,1),o=0;o<h.length;o++)h[o]=new _0(4);for(i=new Tx,a=0;a<JDe.length;a++){if(l=new _0(4),a<84?(h1(s=2*a,wte.length),f=wte.charCodeAt(s),h1(s+1,wte.length),VPt(l,f,wte.charCodeAt(s+1))):VPt(l,iNe[s=2*(a-84)],iNe[s+1]),wj(c=JDe[a],"Specials")&&VPt(l,65520,65533),wj(c,pte)&&(VPt(l,983040,1048573),VPt(l,1048576,1114109)),wJ(tNe,c,l),wJ(eNe,c,OFt(l)),0<(u=i.a.length)?i.a=i.a.substr(0,0):0>u&&(i.a+=nD(D8(SNe,YXt,25,-u,15,1))),i.a+="Is",HI(c,VEt(32))>=0)for(r=0;r<c.length;r++)h1(r,c.length),32!=c.charCodeAt(r)&&LY(i,(h1(r,c.length),c.charCodeAt(r)));else i.a+=""+c;_pt(i.a,c,!0);}_pt(bte,"Cn",!1),_pt(yte,"Cn",!0),VPt(n=new _0(4),0,ote),wJ(tNe,"ALL",n),wJ(eNe,"ALL",OFt(n)),!_Ne&&(_Ne=new Dw),wJ(_Ne,bte,bte),!_Ne&&(_Ne=new Dw),wJ(_Ne,yte,yte),!_Ne&&(_Ne=new Dw),wJ(_Ne,"ALL","ALL");}return $z(EQ(e?tNe:eNe,t),136)}function JKt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=!1,h=!1,bO($z(yTt(i,(zYt(),twe)),98))){o=!1,s=!1;t:for(g=new Kd(i.j);g.a<g.c.c.length;)for(d=$z(Q1(g),11),p=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[new Fg(d),new Hg(d)])));gOt(p);)if(!zv(kB(yTt($z(G5(p),11).i,kpe)))){if(d.j==(vKt(),sMe)){o=!0;break t}if(d.j==EMe){s=!0;break t}}f=s&&!o,h=o&&!s;}if(f||h||0==i.b.c.length)w=!h;else {for(l=0,u=new Kd(i.b);u.a<u.c.c.length;)l+=(c=$z(Q1(u),70)).n.b+c.o.b/2;w=(l/=i.b.c.length)>=i.o.b/2;}w?(b=$z(yTt(i,(uWt(),Bfe)),15))?f?a=b:(r=$z(yTt(i,Nhe),15))?a=b.gc()<=r.gc()?b:r:(a=new Lw,uct(i,Nhe,a)):(a=new Lw,uct(i,Bfe,a)):(r=$z(yTt(i,(uWt(),Nhe)),15))?h?a=r:(b=$z(yTt(i,Bfe),15))?a=r.gc()<=b.gc()?r:b:(a=new Lw,uct(i,Bfe,a)):(a=new Lw,uct(i,Nhe,a)),a.Fc(t),uct(t,(uWt(),Bhe),n),e.d==n?(_J(e,null),n.e.c.length+n.g.c.length==0&&CJ(n,null),put(n)):(EJ(e,null),n.e.c.length+n.g.c.length==0&&CJ(n,null)),yV(e.a);}function tYt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M;for(y=new _2(t.b,0),p=0,u=$z((h=e.Kc()).Pb(),19).a,x=0,n=new Py,_=new uO;y.b<y.d.gc();){for(TP(y.b<y.d.gc()),v=new Kd($z(y.d.Xb(y.c=y.b++),29).a);v.a<v.c.c.length;){for(g=new oq(ZD(hdt(m=$z(Q1(v),10)).a.Kc(),new l));gOt(g);)f=$z(G5(g),17),_.a.zc(f,_);for(d=new oq(ZD(ldt(m).a.Kc(),new l));gOt(d);)f=$z(G5(d),17),_.a.Bc(f);}if(p+1==u){for(yR(y,r=new FY(t)),yR(y,a=new FY(t)),T=_.a.ec().Kc();T.Ob();)E=$z(T.Pb(),17),n.a._b(E)||(++x,n.a.zc(E,n)),uct(o=new Oyt(t),(zYt(),twe),(X_t(),YAe)),TJ(o,r),$f(o,(oCt(),kse)),CJ(b=new SCt,o),HAt(b,(vKt(),CMe)),CJ(C=new SCt,o),HAt(C,oMe),uct(i=new Oyt(t),twe,YAe),TJ(i,a),$f(i,kse),CJ(w=new SCt,i),HAt(w,CMe),CJ(S=new SCt,i),HAt(S,oMe),EJ(k=new fZ,E.c),_J(k,b),EJ(M=new fZ,C),_J(M,w),EJ(E,S),s=new b3(o,i,k,M,E),uct(o,(uWt(),Phe),s),uct(i,Phe,s),(A=k.c.i).k==kse&&((c=$z(yTt(A,Phe),305)).d=s,s.g=c);if(!h.Ob())break;u=$z(h.Pb(),19).a;}++p;}return nft(x)}function eYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(h=0,r=new MD((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));r.e!=r.i.gc();)zv(kB(QOt(i=$z(vwt(r),33),(zYt(),Hbe))))||(HM(QOt(e,Ope))===HM((yct(),Lye))&&HM(QOt(e,Hpe))!==HM((Wyt(),xle))&&HM(QOt(e,Hpe))!==HM((Wyt(),mle))&&!zv(kB(QOt(e,Dpe)))&&HM(QOt(e,Cpe))===HM((Fht(),fse))||zv(kB(QOt(i,Ipe)))||(Vwt(i,(uWt(),ffe),nft(h)),++h),dqt(t,i,n));for(h=0,u=new MD((!e.b&&(e.b=new tK(BIe,e,12,3)),e.b));u.e!=u.i.gc();)s=$z(vwt(u),79),(HM(QOt(e,(zYt(),Ope)))!==HM((yct(),Lye))||HM(QOt(e,Hpe))===HM((Wyt(),xle))||HM(QOt(e,Hpe))===HM((Wyt(),mle))||zv(kB(QOt(e,Dpe)))||HM(QOt(e,Cpe))!==HM((Fht(),fse)))&&(Vwt(s,(uWt(),ffe),nft(h)),++h),g=CTt(s),p=MTt(s),l=zv(kB(QOt(g,fbe))),d=!zv(kB(QOt(s,Hbe))),f=l&&XMt(s)&&zv(kB(QOt(s,dbe))),a=VQ(g)==e&&VQ(g)==VQ(p),o=(VQ(g)==e&&p==e)^(VQ(p)==e&&g==e),d&&!f&&(o||a)&&oWt(t,s,e,n);if(VQ(e))for(c=new MD(eV(VQ(e)));c.e!=c.i.gc();)(g=CTt(s=$z(vwt(c),79)))==e&&XMt(s)&&(f=zv(kB(QOt(g,(zYt(),fbe))))&&zv(kB(QOt(s,dbe))))&&oWt(t,s,e,n);}function nYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(MEt(i,"MinWidth layering",1),g=n.b,E=n.a,O=$z(yTt(n,(zYt(),xbe)),19).a,c=$z(yTt(n,kbe),19).a,t.b=Hv(_B(yTt(n,ywe))),t.d=BVt,x=new Kd(E);x.a<x.c.c.length;)(m=$z(Q1(x),10)).k==(oCt(),Cse)&&(S=m.o.b,t.d=e.Math.min(t.d,S));for(t.d=e.Math.max(1,t.d),T=E.c.length,t.c=D8(ANe,uVt,25,T,15,1),t.f=D8(ANe,uVt,25,T,15,1),t.e=D8(LNe,HVt,25,T,15,1),l=0,t.a=0,k=new Kd(E);k.a<k.c.c.length;)(m=$z(Q1(k),10)).p=l++,t.c[m.p]=dlt(ldt(m)),t.f[m.p]=dlt(hdt(m)),t.e[m.p]=m.o.b/t.d,t.a+=t.e[m.p];for(t.b/=t.d,t.a/=T,_=xIt(E),wL(E,WW(new Bp(t))),b=BVt,p=PWt,s=null,I=O,M=O,o=c,a=c,O<0&&(I=$z(kme.a.zd(),19).a,M=$z(kme.b.zd(),19).a),c<0&&(o=$z(xme.a.zd(),19).a,a=$z(xme.b.zd(),19).a),A=I;A<=M;A++)for(r=o;r<=a;r++)y=Hv(_B((C=Lzt(t,A,r,E,_)).a)),w=(d=$z(C.b,15)).gc(),(y<b||y==b&&w<p)&&(b=y,p=w,s=d);for(f=s.Kc();f.Ob();){for(h=$z(f.Pb(),15),u=new FY(n),v=h.Kc();v.Ob();)TJ(m=$z(v.Pb(),10),u);g.c[g.c.length]=u;}ZSt(g),E.c=D8(Ite,zWt,1,0,5,1),zCt(i);}function iYt(t,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(t.b=n,t.a=$z(yTt(n,(zYt(),cbe)),19).a,t.c=$z(yTt(n,lbe),19).a,0==t.c&&(t.c=PWt),b=new _2(n.b,0);b.b<b.d.gc();){for(TP(b.b<b.d.gc()),p=$z(b.d.Xb(b.c=b.b++),29),c=new Lw,f=-1,v=-1,m=new Kd(p.a);m.a<m.c.c.length;)y=$z(Q1(m),10),j3((z$(),new oq(ZD(udt(y).a.Kc(),new l))))>=t.a&&(r=mzt(t,y),f=e.Math.max(f,r.b),v=e.Math.max(v,r.d),Kz(c,new nM(y,r)));for(_=new Lw,h=0;h<f;++h)mG(_,0,(TP(b.b>0),b.a.Xb(b.c=--b.b),yR(b,E=new FY(t.b)),TP(b.b<b.d.gc()),b.d.Xb(b.c=b.b++),E));for(s=new Kd(c);s.a<s.c.c.length;)if(a=$z(Q1(s),46),g=$z(a.b,571).a)for(d=new Kd(g);d.a<d.c.c.length;)oxt(t,$z(Q1(d),10),Gse,_);for(i=new Lw,u=0;u<v;++u)Kz(i,(yR(b,T=new FY(t.b)),T));for(o=new Kd(c);o.a<o.c.c.length;)if(a=$z(Q1(o),46),k=$z(a.b,571).c)for(x=new Kd(k);x.a<x.c.c.length;)oxt(t,$z(Q1(x),10),qse,i);}for(w=new _2(n.b,0);w.b<w.d.gc();)TP(w.b<w.d.gc()),0==$z(w.d.Xb(w.c=w.b++),29).a.c.length&&uW(w);}function rYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(MEt(i,"Spline edge routing",1),0==n.b.c.length)return n.f.a=0,void zCt(i);y=Hv(_B(yTt(n,(zYt(),Mwe)))),c=Hv(_B(yTt(n,kwe))),s=Hv(_B(yTt(n,mwe))),E=$z(yTt(n,nbe),336)==(qut(),nme),_=Hv(_B(yTt(n,ibe))),t.d=n,t.j.c=D8(Ite,zWt,1,0,5,1),t.a.c=D8(Ite,zWt,1,0,5,1),IK(t.k),h=YM((u=$z(DU(n.b,0),29)).a,(gPt(),vve)),f=YM((p=$z(DU(n.b,n.b.c.length-1),29)).a,vve),b=new Kd(n.b),w=null,A=0;do{for(BKt(t,w,m=b.a<b.c.c.length?$z(Q1(b),29):null),EFt(t),S=0,v=A,d=!w||h&&w==u,g=!m||f&&m==p,(T=Rx(iat(LX(MX(new PU(null,new f1(t.i,16)),new xo),new vo))))>0?(l=0,w&&(l+=c),l+=(T-1)*s,m&&(l+=c),E&&m&&(l=e.Math.max(l,JNt(m,s,y,_))),l<y&&!d&&!g&&(S=(y-l)/2,l=y),v+=l):!d&&!g&&(v+=y),m&&_Ut(m,v),k=new Kd(t.i);k.a<k.c.c.length;)(x=$z(Q1(k),128)).a.c=A,x.a.b=v-A,x.F=S,x.p=!w;pst(t.a,t.i),A=v,m&&(A+=m.c.a),w=m,d=g;}while(m);for(a=new Kd(t.j);a.a<a.c.c.length;)o=yot(t,r=$z(Q1(a),17)),uct(r,(uWt(),Ife),o),C=PPt(t,r),uct(r,Lfe,C);n.f.a=A,t.d=null,zCt(i);}function aYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(p=0!=t.i,y=!1,b=null,wO(t.e)){if((l=e.gc())>0){for(f=l<100?null:new jk(l),g=(u=new xat(e)).g,b=D8(ANe,uVt,25,l,15,1),i=0,m=new pet(l),r=0;r<t.i;++r){d=s=t.g[r];t:for(w=0;w<2;++w){for(c=l;--c>=0;)if(null!=d?Dht(d,g[c]):HM(d)===HM(g[c])){b.length<=i&&aHt(b,0,b=D8(ANe,uVt,25,2*b.length,15,1),0,i),b[i++]=r,u7(m,g[c]);break t}if(HM(d)===HM(s))break}}if(u=m,g=m.g,l=i,i>b.length&&aHt(b,0,b=D8(ANe,uVt,25,i,15,1),0,i),i>0){for(y=!0,a=0;a<i;++a)f=Uj(t,$z(d=g[a],72),f);for(o=i;--o>=0;)Lvt(t,b[o]);if(i!=l){for(r=l;--r>=i;)Lvt(u,r);aHt(b,0,b=D8(ANe,uVt,25,i,15,1),0,i);}e=u;}}}else for(e=xvt(t,e),r=t.i;--r>=0;)e.Hc(t.g[r])&&(Lvt(t,r),y=!0);if(y){if(null!=b){for(h=1==(n=e.gc())?yJ(t,4,e.Kc().Pb(),null,b[0],p):yJ(t,6,e,b,b[0],p),f=n<100?null:new jk(n),r=e.Kc();r.Ob();)f=zj(t,$z(d=r.Pb(),72),f);f?(f.Ei(h),f.Fi()):fot(t.e,h);}else {for(f=Ij(e.gc()),r=e.Kc();r.Ob();)f=zj(t,$z(d=r.Pb(),72),f);f&&f.Fi();}return !0}return !1}function oYt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m;for((n=new uyt(e)).a||p$t(e),u=hRt(e),c=new pQ,b=new XPt,p=new Kd(e.a);p.a<p.c.c.length;)for(r=new oq(ZD(hdt($z(Q1(p),10)).a.Kc(),new l));gOt(r);)(i=$z(G5(r),17)).c.i.k!=(oCt(),_se)&&i.d.i.k!=_se||ZMt(c,owt((h=hqt(t,i,u,b)).d),h.a);for(o=new Lw,m=$z(yTt(n.c,(uWt(),qhe)),21).Kc();m.Ob();){switch(y=$z(m.Pb(),61),g=b.c[y.g],d=b.b[y.g],s=b.a[y.g],a=null,w=null,y.g){case 4:a=new GX(t.d.a,g,u.b.a-t.d.a,d-g),w=new GX(t.d.a,g,s,d-g),UH(u,new DA(a.c+a.b,a.d)),UH(u,new DA(a.c+a.b,a.d+a.a));break;case 2:a=new GX(u.a.a,g,t.c.a-u.a.a,d-g),w=new GX(t.c.a-s,g,s,d-g),UH(u,new DA(a.c,a.d)),UH(u,new DA(a.c,a.d+a.a));break;case 1:a=new GX(g,t.d.b,d-g,u.b.b-t.d.b),w=new GX(g,t.d.b,d-g,s),UH(u,new DA(a.c,a.d+a.a)),UH(u,new DA(a.c+a.b,a.d+a.a));break;case 3:a=new GX(g,u.a.b,d-g,t.c.b-u.a.b),w=new GX(g,t.c.b-s,d-g,s),UH(u,new DA(a.c,a.d)),UH(u,new DA(a.c+a.b,a.d));}a&&((f=new Qy).d=y,f.b=a,f.c=w,f.a=VV($z(c6(c,owt(y)),21)),o.c[o.c.length]=f);}return pst(n.b,o),n.d=Flt(JUt(u)),n}function sYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(null==i.p[n.p]){c=!0,i.p[n.p]=0,s=n,p=i.o==(oJ(),nve)?RVt:BVt;do{a=t.b.e[s.p],o=s.c.a.c.length,i.o==nve&&a>0||i.o==ive&&a<o-1?(u=null,l=null,u=i.o==ive?$z(DU(s.c.a,a+1),10):$z(DU(s.c.a,a-1),10),sYt(t,l=i.g[u.p],i),p=t.e.bg(p,n,s),i.j[n.p]==n&&(i.j[n.p]=i.j[l.p]),i.j[n.p]==i.j[l.p]?(g=BL(t.d,s,u),i.o==ive?(r=Hv(i.p[n.p]),f=Hv(i.p[l.p])+Hv(i.d[u.p])-u.d.d-g-s.d.a-s.o.b-Hv(i.d[s.p]),c?(c=!1,i.p[n.p]=e.Math.min(f,p)):i.p[n.p]=e.Math.min(r,e.Math.min(f,p))):(r=Hv(i.p[n.p]),f=Hv(i.p[l.p])+Hv(i.d[u.p])+u.o.b+u.d.a+g+s.d.d-Hv(i.d[s.p]),c?(c=!1,i.p[n.p]=e.Math.max(f,p)):i.p[n.p]=e.Math.max(r,e.Math.max(f,p)))):(g=Hv(_B(yTt(t.a,(zYt(),Awe)))),d=vrt(t,i.j[n.p]),h=vrt(t,i.j[l.p]),i.o==ive?G1(d,h,Hv(i.p[n.p])+Hv(i.d[s.p])+s.o.b+s.d.a+g-(Hv(i.p[l.p])+Hv(i.d[u.p])-u.d.d)):G1(d,h,Hv(i.p[n.p])+Hv(i.d[s.p])-s.d.d-Hv(i.p[l.p])-Hv(i.d[u.p])-u.o.b-u.d.a-g))):p=t.e.bg(p,n,s),s=i.a[s.p];}while(s!=n);Ay(t.e,n);}}function cYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(h=e,l=new pQ,f=new pQ,a=L2(h,N6t),UCt((i=new uV(t,n,l,f)).a,i.b,i.c,i.d,a),p=(l.i||(l.i=new FD(l,l.c))).Kc();p.Ob();)for(g=$z(p.Pb(),202),s=$z(c6(l,g),21).Kc();s.Ob();){if(o=s.Pb(),!(d=$z(cnt(t.d,o),202)))throw r=P2(h,H6t),Fw(new tx(W6t+o+X6t+r+Y6t));!g.e&&(g.e=new cj(RIe,g,10,9)),u7(g.e,d);}for(w=(f.i||(f.i=new FD(f,f.c))).Kc();w.Ob();)for(b=$z(w.Pb(),202),u=$z(c6(f,b),21).Kc();u.Ob();){if(c=u.Pb(),!(d=$z(cnt(t.d,c),202)))throw r=P2(h,H6t),Fw(new tx(W6t+c+X6t+r+Y6t));!b.g&&(b.g=new cj(RIe,b,9,10)),u7(b.g,d);}!n.b&&(n.b=new cj(PIe,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new cj(PIe,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new cj(PIe,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new cj(PIe,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new tK(RIe,n,6,6)),n.a).i&&(Tyt(y=$z(Yet((!n.a&&(n.a=new tK(RIe,n,6,6)),n.a),0),202))||Cyt(y)||(Lit(y,$z(Yet((!n.b&&(n.b=new cj(PIe,n,4,7)),n.b),0),82)),Dit(y,$z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82))));}function uYt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,x=(m=t.a).length;v<x;++v){for(y=m[v],u=PWt,l=PWt,g=new Kd(y.e);g.a<g.c.c.length;)(o=(f=$z(Q1(g),10)).c?x9(f.c.a,f,0):-1)>0?(h=$z(DU(f.c.a,o-1),10),E=BL(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+E)):b=f.n.b-f.d.d,u=e.Math.min(b,u),o<f.c.a.c.length-1?(h=$z(DU(f.c.a,o+1),10),E=BL(t.b,f,h),w=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+E)):w=2*f.n.b,l=e.Math.min(w,l);for(c=PWt,a=!1,C=new Kd((r=$z(DU(y.e,0),10)).j);C.a<C.c.c.length;)for(T=$z(Q1(C),11),p=r.n.b+T.n.b+T.a.b,i=new Kd(T.e);i.a<i.c.c.length;)n=(k=$z(Q1(i),17).c).i.n.b+k.n.b+k.a.b-p,e.Math.abs(n)<e.Math.abs(c)&&e.Math.abs(n)<(n<0?u:l)&&(c=n,a=!0);for(_=new Kd((s=$z(DU(y.e,y.e.c.length-1),10)).j);_.a<_.c.c.length;)for(k=$z(Q1(_),11),p=s.n.b+k.n.b+k.a.b,i=new Kd(k.g);i.a<i.c.c.length;)n=(T=$z(Q1(i),17).d).i.n.b+T.n.b+T.a.b-p,e.Math.abs(n)<e.Math.abs(c)&&e.Math.abs(n)<(n<0?u:l)&&(c=n,a=!0);if(a&&0!=c)for(d=new Kd(y.e);d.a<d.c.c.length;)(f=$z(Q1(d),10)).n.b+=c;}}function lYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(cK(t.a,e)){if(jE($z(PY(t.a,e),53),n))return 1}else YW(t.a,e,new Py);if(cK(t.a,n)){if(jE($z(PY(t.a,n),53),e))return -1}else YW(t.a,n,new Py);if(cK(t.e,e)){if(jE($z(PY(t.e,e),53),n))return -1}else YW(t.e,e,new Py);if(cK(t.e,n)){if(jE($z(PY(t.a,n),53),e))return 1}else YW(t.e,n,new Py);if(t.c==(yct(),Dye)||!OP(e,(uWt(),ffe))||!OP(n,(uWt(),ffe))){if(c=$z(xN(_4(Xct(MX(new PU(null,new f1(e.j,16)),new ua)),new la)),11),l=$z(xN(_4(Xct(MX(new PU(null,new f1(n.j,16)),new ha)),new fa)),11),c&&l){if(s=c.i,u=l.i,s&&s==u){for(f=new Kd(s.j);f.a<f.c.c.length;){if((h=$z(Q1(f),11))==c)return ajt(t,n,e),-1;if(h==l)return ajt(t,e,n),1}return xL(n_t(t,e),n_t(t,n))}for(p=0,b=(g=t.d).length;p<b;++p){if((d=g[p])==s)return ajt(t,n,e),-1;if(d==u)return ajt(t,e,n),1}}if(!OP(e,(uWt(),ffe))||!OP(n,ffe))return (r=n_t(t,e))>(o=n_t(t,n))?ajt(t,e,n):ajt(t,n,e),r<o?-1:r>o?1:0}return (i=$z(yTt(e,(uWt(),ffe)),19).a)>(a=$z(yTt(n,ffe),19).a)?ajt(t,e,n):ajt(t,n,e),i<a?-1:i>a?1:0}function hYt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(zv(kB(QOt(e,(cWt(),UCe)))))return EV(),EV(),cne;if(c=0!=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,u=!(l=mMt(e)).dc(),c||u){if(!(r=$z(QOt(e,wSe),149)))throw Fw(new nx("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(p=AA(r,(uOt(),ZIe)),Dbt(e),!c&&u&&!p)return EV(),EV(),cne;if(s=new Lw,HM(QOt(e,xCe))===HM((oht(),pAe))&&(AA(r,WIe)||AA(r,YIe)))for(f=bRt(t,e),$rt(d=new XE,(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));0!=d.b;)Dbt(h=$z(0==d.b?null:(TP(0!=d.b),Iet(d,d.a.a)),33)),HM(QOt(h,xCe))===HM(wAe)||T8(h,tCe)&&!v5(r,QOt(h,wSe))?(pst(s,hYt(t,h,n,i)),Vwt(h,xCe,wAe),Rjt(h)):$rt(d,(!h.a&&(h.a=new tK(UIe,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a).i,o=new MD((!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));o.e!=o.i.gc();)pst(s,hYt(t,a=$z(vwt(o),33),n,i)),Rjt(a);for(g=new Kd(s);g.a<g.c.c.length;)Vwt($z(Q1(g),79),UCe,(cN(),!0));return qbt(e,r,yat(i,f)),d$t(s),u&&p?l:(EV(),EV(),cne)}return EV(),EV(),cne}function fYt(t,e,n,i,r,a,o,s,c){var u,l,h,f,d,g,p;switch(d=n,$f(l=new Oyt(c),(oCt(),_se)),uct(l,(uWt(),Xhe),o),uct(l,(zYt(),twe),(X_t(),qAe)),p=Hv(_B(t.We(Jbe))),uct(l,Jbe,p),CJ(h=new SCt,l),e!=WAe&&e!=XAe||(d=i>=0?ugt(s):_ft(ugt(s)),t.Ye(awe,d)),u=new Hk,f=!1,t.Xe(Qbe)?(FP(u,$z(t.We(Qbe),8)),f=!0):yD(u,o.a/2,o.b/2),d.g){case 4:uct(l,mbe,(_dt(),jfe)),uct(l,Hhe,(Zst(),Ile)),l.o.b=o.b,p<0&&(l.o.a=-p),HAt(h,(vKt(),oMe)),f||(u.a=o.a),u.a-=o.a;break;case 2:uct(l,mbe,(_dt(),Ffe)),uct(l,Hhe,(Zst(),Ale)),l.o.b=o.b,p<0&&(l.o.a=-p),HAt(h,(vKt(),CMe)),f||(u.a=0);break;case 1:uct(l,efe,(U9(),Che)),l.o.a=o.a,p<0&&(l.o.b=-p),HAt(h,(vKt(),EMe)),f||(u.b=o.b),u.b-=o.b;break;case 3:uct(l,efe,(U9(),Ehe)),l.o.a=o.a,p<0&&(l.o.b=-p),HAt(h,(vKt(),sMe)),f||(u.b=0);}if(FP(h.n,u),uct(l,Qbe,u),e==GAe||e==KAe||e==qAe){if(g=0,e==GAe&&t.Xe(ewe))switch(d.g){case 1:case 2:g=$z(t.We(ewe),19).a;break;case 3:case 4:g=-$z(t.We(ewe),19).a;}else switch(d.g){case 4:case 2:g=a.b,e==KAe&&(g/=r.b);break;case 1:case 3:g=a.a,e==KAe&&(g/=r.a);}uct(l,kfe,g);}return uct(l,Whe,d),l}function dYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_;if((n=Hv(_B(yTt(t.a.j,(zYt(),Rpe)))))<-1||!t.a.i||Oj($z(yTt(t.a.o,twe),98))||adt(t.a.o,(vKt(),oMe)).gc()<2&&adt(t.a.o,CMe).gc()<2)return !0;if(t.a.c.Rf())return !1;for(v=0,m=0,y=new Lw,c=0,u=(s=t.a.e).length;c<u;++c){for(d=0,p=(f=s[c]).length;d<p;++d)if((h=f[d]).k!=(oCt(),Sse)){for(i=t.b[h.c.p][h.p],h.k==_se?(i.b=1,$z(yTt(h,(uWt(),dfe)),11).j==(vKt(),oMe)&&(m+=i.a)):(_=adt(h,(vKt(),CMe))).dc()||!JL(_,new Na)?i.c=1:((r=adt(h,oMe)).dc()||!JL(r,new Da))&&(v+=i.a),o=new oq(ZD(hdt(h).a.Kc(),new l));gOt(o);)a=$z(G5(o),17),v+=i.c,m+=i.b,q8(t,i,a.d.i);for(k=new oq(new KD((b=Ynt(Cst(Hx(Nte,1),zWt,20,0,[adt(h,(vKt(),sMe)),adt(h,EMe)]))).a.length,b.a));gOt(k);)x=$z(G5(k),11),(w=$z(yTt(x,(uWt(),xfe)),10))&&(v+=i.c,m+=i.b,q8(t,i,w));}else y.c[y.c.length]=h;for(g=new Kd(y);g.a<g.c.c.length;)for(h=$z(Q1(g),10),i=t.b[h.c.p][h.p],o=new oq(ZD(hdt(h).a.Kc(),new l));gOt(o);)a=$z(G5(o),17),v+=i.c,m+=i.b,q8(t,i,a.d.i);y.c=D8(Ite,zWt,1,0,5,1);}return (0==(e=v+m)?BVt:(v-m)/e)>=n}function gYt(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var i=Tgt((EV(),new Fd(new Ad(uOe.b))));t.postMessage({id:n.id,data:i});break;case"categories":var r=Tgt((EV(),new Fd(new Ad(uOe.c))));t.postMessage({id:n.id,data:r});break;case"options":var a=Tgt((EV(),new Fd(new Ad(uOe.d))));t.postMessage({id:n.id,data:a});break;case"register":hGt(n.algorithms),t.postMessage({id:n.id});break;case"layout":Nzt(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 e(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t});}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t});}),0);};}if(r_(),typeof document===pZt&&typeof self!==pZt){var r=new t(self);self.onmessage=r.saveDispatch;}else typeof n!==pZt&&n.exports&&(Object.defineProperty(i,"__esModule",{value:!0}),n.exports={default:e,Worker:e});}function pYt(t){t.N||(t.N=!0,t.b=vot(t,0),Brt(t.b,0),Brt(t.b,1),Brt(t.b,2),t.bb=vot(t,1),Brt(t.bb,0),Brt(t.bb,1),t.fb=vot(t,2),Brt(t.fb,3),Brt(t.fb,4),Rrt(t.fb,5),t.qb=vot(t,3),Brt(t.qb,0),Rrt(t.qb,1),Rrt(t.qb,2),Brt(t.qb,3),Brt(t.qb,4),Rrt(t.qb,5),Brt(t.qb,6),t.a=xot(t,4),t.c=xot(t,5),t.d=xot(t,6),t.e=xot(t,7),t.f=xot(t,8),t.g=xot(t,9),t.i=xot(t,10),t.j=xot(t,11),t.k=xot(t,12),t.n=xot(t,13),t.o=xot(t,14),t.p=xot(t,15),t.q=xot(t,16),t.s=xot(t,17),t.r=xot(t,18),t.t=xot(t,19),t.u=xot(t,20),t.v=xot(t,21),t.w=xot(t,22),t.B=xot(t,23),t.A=xot(t,24),t.C=xot(t,25),t.D=xot(t,26),t.F=xot(t,27),t.G=xot(t,28),t.H=xot(t,29),t.J=xot(t,30),t.I=xot(t,31),t.K=xot(t,32),t.M=xot(t,33),t.L=xot(t,34),t.P=xot(t,35),t.Q=xot(t,36),t.R=xot(t,37),t.S=xot(t,38),t.T=xot(t,39),t.U=xot(t,40),t.V=xot(t,41),t.X=xot(t,42),t.W=xot(t,43),t.Y=xot(t,44),t.Z=xot(t,45),t.$=xot(t,46),t._=xot(t,47),t.ab=xot(t,48),t.cb=xot(t,49),t.db=xot(t,50),t.eb=xot(t,51),t.gb=xot(t,52),t.hb=xot(t,53),t.ib=xot(t,54),t.jb=xot(t,55),t.kb=xot(t,56),t.lb=xot(t,57),t.mb=xot(t,58),t.nb=xot(t,59),t.ob=xot(t,60),t.pb=xot(t,61));}function bYt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==n.f.a)for(w=new Kd(t);w.a<w.c.c.length;)p=$z(Q1(w),10),m=e.Math.max(m,p.n.a+p.o.a+p.d.c);else m=n.f.a-n.c.a;for(m-=n.c.a,b=new Kd(t);b.a<b.c.c.length;){switch(Zw((p=$z(Q1(b),10)).n,m-p.o.a),iH(p.f),Wmt(p),(p.q?p.q:(EV(),EV(),une))._b((zYt(),swe))&&Zw($z(yTt(p,swe),8),m-p.o.a),$z(yTt(p,mpe),248).g){case 1:uct(p,mpe,(dyt(),ITe));break;case 2:uct(p,mpe,(dyt(),MTe));}for(y=p.o,x=new Kd(p.j);x.a<x.c.c.length;){for(Zw((v=$z(Q1(x),11)).n,y.a-v.o.a),Zw(v.a,v.o.a),HAt(v,Aat(v.j)),(s=$z(yTt(v,ewe),19))&&uct(v,ewe,nft(-s.a)),o=new Kd(v.g);o.a<o.c.c.length;){for(r=cwt((a=$z(Q1(o),17)).a,0);r.b!=r.d.c;)(i=$z(h3(r),8)).a=m-i.a;if(l=$z(yTt(a,bbe),74))for(u=cwt(l,0);u.b!=u.d.c;)(c=$z(h3(u),8)).a=m-c.a;for(d=new Kd(a.b);d.a<d.c.c.length;)Zw((h=$z(Q1(d),70)).n,m-h.o.a);}for(g=new Kd(v.f);g.a<g.c.c.length;)Zw((h=$z(Q1(g),70)).n,v.o.a-h.o.a);}for(p.k==(oCt(),_se)&&(uct(p,(uWt(),Whe),Aat($z(yTt(p,Whe),61))),VTt(p)),f=new Kd(p.b);f.a<f.c.c.length;)Wmt(h=$z(Q1(f),70)),Zw(h.n,y.a-h.o.a);}}function wYt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==n.f.b)for(w=new Kd(t);w.a<w.c.c.length;)p=$z(Q1(w),10),m=e.Math.max(m,p.n.b+p.o.b+p.d.a);else m=n.f.b-n.c.b;for(m-=n.c.b,b=new Kd(t);b.a<b.c.c.length;){switch(Vw((p=$z(Q1(b),10)).n,m-p.o.b),rH(p.f),Xmt(p),(p.q?p.q:(EV(),EV(),une))._b((zYt(),swe))&&Vw($z(yTt(p,swe),8),m-p.o.b),$z(yTt(p,mpe),248).g){case 3:uct(p,mpe,(dyt(),STe));break;case 4:uct(p,mpe,(dyt(),OTe));}for(y=p.o,x=new Kd(p.j);x.a<x.c.c.length;){for(Vw((v=$z(Q1(x),11)).n,y.b-v.o.b),Vw(v.a,v.o.b),HAt(v,Mat(v.j)),(s=$z(yTt(v,ewe),19))&&uct(v,ewe,nft(-s.a)),o=new Kd(v.g);o.a<o.c.c.length;){for(r=cwt((a=$z(Q1(o),17)).a,0);r.b!=r.d.c;)(i=$z(h3(r),8)).b=m-i.b;if(l=$z(yTt(a,bbe),74))for(u=cwt(l,0);u.b!=u.d.c;)(c=$z(h3(u),8)).b=m-c.b;for(d=new Kd(a.b);d.a<d.c.c.length;)Vw((h=$z(Q1(d),70)).n,m-h.o.b);}for(g=new Kd(v.f);g.a<g.c.c.length;)Vw((h=$z(Q1(g),70)).n,v.o.b-h.o.b);}for(p.k==(oCt(),_se)&&(uct(p,(uWt(),Whe),Mat($z(yTt(p,Whe),61))),pft(p)),f=new Kd(p.b);f.a<f.c.c.length;)Xmt(h=$z(Q1(f),70)),Vw(h.n,y.b-h.o.b);}}function yYt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(h=!1,u=t+1,l1(t,e.c.length),o=(l=$z(e.c[t],200)).a,s=null,a=0;a<l.a.c.length;a++)if(l1(a,o.c.length),!(r=$z(o.c[a],187)).c)if(0!=r.b.c.length){if(r.k||(s&&Umt(s),_yt(r,(s=new BQ(s?s.e+s.d+i:0,l.f,i)).e+s.d,l.f),Kz(l.d,s),Nat(s,r),r.k=!0),c=null,d=null,a<l.a.c.length-1?d=$z(DU(l.a,a+1),187):u<e.c.length&&0!=(l1(u,e.c.length),$z(e.c[u],200)).a.c.length&&(d=$z(DU((l1(u,e.c.length),$z(e.c[u],200)).a,0),187)),f=!1,(c=d)&&(f=!Dht(c.j,l)),c){if(0==c.b.c.length){_xt(l,c);break}if(p7(r,n-r.s),Umt(r.q),h|=JTt(l,r,c,n,i),0==c.b.c.length)for(_xt((l1(u,e.c.length),$z(e.c[u],200)),c),c=null;e.c.length>u&&0==(l1(u,e.c.length),$z(e.c[u],200)).a.c.length;)y9(e,(l1(u,e.c.length),e.c[u]));if(!c){--a;continue}if(I$t(e,l,r,c,f,n,u,i)){h=!0;continue}if(f){if(Zzt(e,l,r,c,n,u,i)){h=!0;continue}if(Ilt(l,r)){r.c=!0,h=!0;continue}}else if(Ilt(l,r)){r.c=!0,h=!0;continue}if(h)continue}Ilt(l,r)?(r.c=!0,h=!0,c&&(c.k=!1)):Umt(r.q);}else IE(),_xt(l,r),--a,h=!0;return h}function mYt(t,n,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(b=0,S=0,l=new Kd(t.b);l.a<l.c.c.length;)(u=$z(Q1(l),157)).c&&sqt(u.c),b=e.Math.max(b,eG(u)),S+=eG(u)*tG(u);for(w=S/t.b.c.length,C=ukt(t.b,w),S+=t.b.c.length*C,b=e.Math.max(b,e.Math.sqrt(S*s))+i.b,I=i.b,O=i.d,g=0,f=i.b+i.c,NH(T=new XE,nft(0)),_=new XE,h=new _2(t.b,0),p=null,c=new Lw;h.b<h.d.gc();)TP(h.b<h.d.gc()),M=eG(u=$z(h.d.Xb(h.c=h.b++),157)),d=tG(u),I+M>b&&(o&&(uI(_,g),uI(T,nft(h.b-1)),Kz(t.d,p),c.c=D8(Ite,zWt,1,0,5,1)),I=i.b,O+=g+n,g=0,f=e.Math.max(f,i.b+i.c+M)),c.c[c.c.length]=u,Ewt(u,I,O),f=e.Math.max(f,I+M+i.c),g=e.Math.max(g,d),I+=M+n,p=u;if(pst(t.a,c),Kz(t.d,$z(DU(c,c.c.length-1),157)),f=e.Math.max(f,r),(A=O+g+i.a)<a&&(g+=a-A,A=a),o)for(I=i.b,h=new _2(t.b,0),uI(T,nft(t.b.c.length)),m=$z(h3(E=cwt(T,0)),19).a,uI(_,g),k=cwt(_,0),x=0;h.b<h.d.gc();)h.b==m&&(I=i.b,x=Hv(_B(h3(k))),m=$z(h3(E),19).a),TP(h.b<h.d.gc()),qpt(u=$z(h.d.Xb(h.c=h.b++),157),x),h.b==m&&(y=f-I-i.c,v=eG(u),Gpt(u,y),$ft(u,(y-v)/2,0)),I+=eG(u)+n;return new DA(f,A)}function vYt(t){var e,n,i,r;switch(r=null,t.c){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:XYt(t),dWt(),r=aNe;break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return r=t.ul(t.a),XYt(t),r;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.tl())<FVt?(dWt(),dWt(),r=new oG(0,e)):r=pq(Kft(e));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(!(r=PMt(t,t.a)))throw Fw(new rx(vWt((aL(),M8t))));break;default:r=WH(t.a);}XYt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw Fw(new rx(vWt((aL(),A8t))));r=WH(t.a),n=t.a,XYt(t),(64512&n)==zVt&&0==t.c&&56320==(64512&t.a)&&((i=D8(SNe,YXt,25,2,15,1))[0]=n&XXt,i[1]=t.a&XXt,r=oK(pq(Fpt(i,0,i.length)),0),XYt(t));break;default:throw Fw(new rx(vWt((aL(),A8t))))}return r}function xYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=new Lw,a=PWt,o=PWt,s=PWt,i)for(a=t.f.a,p=new Kd(n.j);p.a<p.c.c.length;)for(u=new Kd($z(Q1(p),11).g);u.a<u.c.c.length;)0!=(c=$z(Q1(u),17)).a.b&&((h=$z(gP(c.a),8)).a<a&&(o=a-h.a,s=PWt,r.c=D8(Ite,zWt,1,0,5,1),a=h.a),h.a<=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=e.Math.min(s,e.Math.abs($z(Pwt(c.a,1),8).b-h.b)))));else for(p=new Kd(n.j);p.a<p.c.c.length;)for(u=new Kd($z(Q1(p),11).e);u.a<u.c.c.length;)0!=(c=$z(Q1(u),17)).a.b&&((d=$z(pP(c.a),8)).a>a&&(o=d.a-a,s=PWt,r.c=D8(Ite,zWt,1,0,5,1),a=d.a),d.a>=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=e.Math.min(s,e.Math.abs($z(Pwt(c.a,c.a.b-2),8).b-d.b)))));if(0!=r.c.length&&o>n.o.a/2&&s>n.o.b/2){for(CJ(g=new SCt,n),HAt(g,(vKt(),sMe)),g.n.a=n.o.a/2,CJ(b=new SCt,n),HAt(b,EMe),b.n.a=n.o.a/2,b.n.b=n.o.b,u=new Kd(r);u.a<u.c.c.length;)c=$z(Q1(u),17),i?(l=$z(dH(c.a),8),(0==c.a.b?g1(c.d):$z(gP(c.a),8)).b>=l.b?EJ(c,b):EJ(c,g)):(l=$z(gH(c.a),8),(0==c.a.b?g1(c.c):$z(pP(c.a),8)).b>=l.b?_J(c,b):_J(c,g)),(f=$z(yTt(c,(zYt(),bbe)),74))&&mgt(f,l,!0);n.n.a=a-n.o.a/2;}}function kYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(u=e,Oit(c=W3(t,O3(n),u),P2(u,H6t)),l=$z(cnt(t.g,vMt(UQ(u,_6t))),33),i=null,(o=UQ(u,"sourcePort"))&&(i=vMt(o)),h=$z(cnt(t.j,i),118),!l)throw Fw(new tx("An edge must have a source node (edge id: '"+Xpt(u)+Y6t));if(h&&!fW(KQ(h),l))throw Fw(new tx("The source port of an edge must be a port of the edge's source node (edge id: '"+P2(u,H6t)+Y6t));if(!c.b&&(c.b=new cj(PIe,c,4,7)),u7(c.b,h||l),f=$z(cnt(t.g,vMt(UQ(u,V6t))),33),r=null,(s=UQ(u,"targetPort"))&&(r=vMt(s)),d=$z(cnt(t.j,r),118),!f)throw Fw(new tx("An edge must have a target node (edge id: '"+Xpt(u)+Y6t));if(d&&!fW(KQ(d),f))throw Fw(new tx("The target port of an edge must be a port of the edge's target node (edge id: '"+P2(u,H6t)+Y6t));if(!c.c&&(c.c=new cj(PIe,c,5,8)),u7(c.c,d||f),0==(!c.b&&(c.b=new cj(PIe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new cj(PIe,c,5,8)),c.c).i)throw a=P2(u,H6t),Fw(new tx(K6t+a+Y6t));return TEt(u,c),cLt(u,c),Nct(t,u,c)}function _Yt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;return h=SFt(FN(t,(vKt(),fMe)),e),g=avt(FN(t,dMe),e),v=avt(FN(t,xMe),e),E=ovt(FN(t,_Me),e),f=ovt(FN(t,cMe),e),y=avt(FN(t,vMe),e),p=avt(FN(t,gMe),e),k=avt(FN(t,kMe),e),x=avt(FN(t,uMe),e),T=ovt(FN(t,hMe),e),w=avt(FN(t,yMe),e),m=avt(FN(t,wMe),e),_=avt(FN(t,lMe),e),C=ovt(FN(t,mMe),e),d=ovt(FN(t,pMe),e),b=avt(FN(t,bMe),e),n=Lct(Cst(Hx(LNe,1),HVt,25,15,[y.a,E.a,k.a,C.a])),i=Lct(Cst(Hx(LNe,1),HVt,25,15,[g.a,h.a,v.a,b.a])),r=w.a,a=Lct(Cst(Hx(LNe,1),HVt,25,15,[p.a,f.a,x.a,d.a])),u=Lct(Cst(Hx(LNe,1),HVt,25,15,[y.b,g.b,p.b,m.b])),c=Lct(Cst(Hx(LNe,1),HVt,25,15,[E.b,h.b,f.b,b.b])),l=T.b,s=Lct(Cst(Hx(LNe,1),HVt,25,15,[k.b,v.b,x.b,_.b])),f7(FN(t,fMe),n+r,u+l),f7(FN(t,bMe),n+r,u+l),f7(FN(t,dMe),n+r,0),f7(FN(t,xMe),n+r,u+l+c),f7(FN(t,_Me),0,u+l),f7(FN(t,cMe),n+r+i,u+l),f7(FN(t,gMe),n+r+i,0),f7(FN(t,kMe),0,u+l+c),f7(FN(t,uMe),n+r+i,u+l+c),f7(FN(t,hMe),0,u),f7(FN(t,yMe),n,0),f7(FN(t,lMe),0,u+l+c),f7(FN(t,pMe),n+r+i,0),(o=new Hk).a=Lct(Cst(Hx(LNe,1),HVt,25,15,[n+i+r+a,T.a,m.a,_.a])),o.b=Lct(Cst(Hx(LNe,1),HVt,25,15,[u+c+l+s,w.b,C.b,d.b])),o}function EYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b;for(p=new Lw,f=new Kd(t.d.b);f.a<f.c.c.length;)for(g=new Kd($z(Q1(f),29).a);g.a<g.c.c.length;){for(d=$z(Q1(g),10),r=$z(PY(t.f,d),57),c=new oq(ZD(hdt(d).a.Kc(),new l));gOt(c);)if(u=!0,h=null,(i=cwt((o=$z(G5(c),17)).a,0)).b!=i.d.c){for(e=$z(h3(i),8),n=null,o.c.j==(vKt(),sMe)&&((b=new Czt(e,new DA(e.a,r.d.d),r,o)).f.a=!0,b.a=o.c,p.c[p.c.length]=b),o.c.j==EMe&&((b=new Czt(e,new DA(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.c,p.c[p.c.length]=b);i.b!=i.d.c;)n=$z(h3(i),8),ant(e.b,n.b)||(h=new Czt(e,n,null,o),p.c[p.c.length]=h,u&&(u=!1,n.b<r.d.d?h.f.a=!0:n.b>r.d.d+r.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),i.b!=i.d.c&&(e=n);h&&(a=$z(PY(t.f,o.d.i),57),e.b<a.d.d?h.f.a=!0:e.b>a.d.d+a.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0));}for(s=new oq(ZD(ldt(d).a.Kc(),new l));gOt(s);)0!=(o=$z(G5(s),17)).a.b&&(e=$z(pP(o.a),8),o.d.j==(vKt(),sMe)&&((b=new Czt(e,new DA(e.a,r.d.d),r,o)).f.a=!0,b.a=o.d,p.c[p.c.length]=b),o.d.j==EMe&&((b=new Czt(e,new DA(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.d,p.c[p.c.length]=b));}return p}function TYt(t,e,n){var i,r,a,o,s,c,u;if(MEt(n,"Network simplex node placement",1),t.e=e,t.n=$z(yTt(e,(uWt(),Mfe)),304),sUt(t),B_t(t),VE(ftt(new PU(null,new f1(t.e.b,16)),new Ha),new ib(t)),VE(MX(ftt(MX(ftt(new PU(null,new f1(t.e.b,16)),new eo),new no),new io),new ro),new nb(t)),zv(kB(yTt(t.e,(zYt(),Dbe))))&&(MEt(a=yat(n,1),"Straight Edges Pre-Processing",1),xqt(t),zCt(a)),Eyt(t.f),r=$z(yTt(e,Dwe),19).a*t.f.a.c.length,Yjt(Wx(Xx($$(t.f),r),!1),yat(n,1)),0!=t.d.a.gc()){for(MEt(a=yat(n,1),"Flexible Where Space Processing",1),o=$z(IN(Aq(IX(new PU(null,new f1(t.f.a,16)),new Ua),new Ba)),19).a,s=$z(IN(Sq(IX(new PU(null,new f1(t.f.a,16)),new Ga),new Ra)),19).a-o,c=MN(new zy,t.f),u=MN(new zy,t.f),qNt(rT(iT(nT(aT(new Fy,2e4),s),c),u)),VE(MX(MX(OK(t.i),new qa),new Ka),new UX(o,c,s,u)),i=t.d.a.ec().Kc();i.Ob();)$z(i.Pb(),213).g=1;Yjt(Wx(Xx($$(t.f),r),!1),yat(a,1)),zCt(a);}zv(kB(yTt(e,Dbe)))&&(MEt(a=yat(n,1),"Straight Edges Post-Processing",1),TSt(t),zCt(a)),XGt(t),t.e=null,t.f=null,t.i=null,t.c=null,IK(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),zCt(n);}function CYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(s=new Kd(t.a.b);s.a<s.c.c.length;)for(m=new Kd($z(Q1(s),29).a);m.a<m.c.c.length;)y=$z(Q1(m),10),n.g[y.p]=y,n.a[y.p]=y,n.d[y.p]=0;for(c=t.a.b,n.c==(gQ(),Qme)&&(c=iD(c,152)?o6($z(c,152)):iD(c,131)?$z(c,131).a:iD(c,54)?new uv(c):new CE(c)),o=c.Kc();o.Ob();)for(d=-1,f=$z(o.Pb(),29).a,n.o==(oJ(),ive)&&(d=PWt,f=iD(f,152)?o6($z(f,152)):iD(f,131)?$z(f,131).a:iD(f,54)?new uv(f):new CE(f)),x=f.Kc();x.Ob();)if(v=$z(x.Pb(),10),h=null,(h=n.c==Qme?$z(DU(t.b.f,v.p),15):$z(DU(t.b.b,v.p),15)).gc()>0)if(r=h.gc(),u=CQ(e.Math.floor((r+1)/2))-1,a=CQ(e.Math.ceil((r+1)/2))-1,n.o==ive)for(l=a;l>=u;l--)n.a[v.p]==v&&(p=$z(h.Xb(l),46),g=$z(p.a,10),!jE(i,p.b)&&d>t.b.e[g.p]&&(n.a[g.p]=v,n.g[v.p]=n.g[g.p],n.a[v.p]=n.g[v.p],n.f[n.g[v.p].p]=(cN(),!!(zv(n.f[n.g[v.p].p])&v.k==(oCt(),Tse))),d=t.b.e[g.p]));else for(l=u;l<=a;l++)n.a[v.p]==v&&(w=$z(h.Xb(l),46),b=$z(w.a,10),!jE(i,w.b)&&d<t.b.e[b.p]&&(n.a[b.p]=v,n.g[v.p]=n.g[b.p],n.a[v.p]=n.g[v.p],n.f[n.g[v.p].p]=(cN(),!!(zv(n.f[n.g[v.p].p])&v.k==(oCt(),Tse))),d=t.b.e[b.p]));}function SYt(){SYt=I,t_(),TIe=gIe.a,$z(Yet(WV(gIe.a),0),18),mIe=gIe.f,$z(Yet(WV(gIe.f),0),18),$z(Yet(WV(gIe.f),1),34),EIe=gIe.n,$z(Yet(WV(gIe.n),0),34),$z(Yet(WV(gIe.n),1),34),$z(Yet(WV(gIe.n),2),34),$z(Yet(WV(gIe.n),3),34),vIe=gIe.g,$z(Yet(WV(gIe.g),0),18),$z(Yet(WV(gIe.g),1),34),bIe=gIe.c,$z(Yet(WV(gIe.c),0),18),$z(Yet(WV(gIe.c),1),18),xIe=gIe.i,$z(Yet(WV(gIe.i),0),18),$z(Yet(WV(gIe.i),1),18),$z(Yet(WV(gIe.i),2),18),$z(Yet(WV(gIe.i),3),18),$z(Yet(WV(gIe.i),4),34),kIe=gIe.j,$z(Yet(WV(gIe.j),0),18),wIe=gIe.d,$z(Yet(WV(gIe.d),0),18),$z(Yet(WV(gIe.d),1),18),$z(Yet(WV(gIe.d),2),18),$z(Yet(WV(gIe.d),3),18),$z(Yet(WV(gIe.d),4),34),$z(Yet(WV(gIe.d),5),34),$z(Yet(WV(gIe.d),6),34),$z(Yet(WV(gIe.d),7),34),pIe=gIe.b,$z(Yet(WV(gIe.b),0),34),$z(Yet(WV(gIe.b),1),34),yIe=gIe.e,$z(Yet(WV(gIe.e),0),34),$z(Yet(WV(gIe.e),1),34),$z(Yet(WV(gIe.e),2),34),$z(Yet(WV(gIe.e),3),34),$z(Yet(WV(gIe.e),4),18),$z(Yet(WV(gIe.e),5),18),$z(Yet(WV(gIe.e),6),18),$z(Yet(WV(gIe.e),7),18),$z(Yet(WV(gIe.e),8),18),$z(Yet(WV(gIe.e),9),18),$z(Yet(WV(gIe.e),10),34),_Ie=gIe.k,$z(Yet(WV(gIe.k),0),34),$z(Yet(WV(gIe.k),1),34);}function AYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(T=new XE,k=new XE,b=-1,c=new Kd(t);c.a<c.c.c.length;){for((o=$z(Q1(c),128)).s=b--,l=0,m=0,a=new Kd(o.t);a.a<a.c.c.length;)m+=(i=$z(Q1(a),268)).c;for(r=new Kd(o.i);r.a<r.c.c.length;)l+=(i=$z(Q1(r),268)).c;o.n=l,o.u=m,0==m?n5(k,o,k.c.b,k.c):0==l&&n5(T,o,T.c.b,T.c);}for(S=E4(t),p=(h=t.c.length)+1,w=h-1,d=new Lw;0!=S.a.gc();){for(;0!=k.b;)TP(0!=k.b),x=$z(Iet(k,k.a.a),128),S.a.Bc(x),x.s=w--,rDt(x,T,k);for(;0!=T.b;)TP(0!=T.b),_=$z(Iet(T,T.a.a),128),S.a.Bc(_),_.s=p++,rDt(_,T,k);for(g=jXt,u=S.a.ec().Kc();u.Ob();)(y=(o=$z(u.Pb(),128)).u-o.n)>=g&&(y>g&&(d.c=D8(Ite,zWt,1,0,5,1),g=y),d.c[d.c.length]=o);0!=d.c.length&&(f=$z(DU(d,byt(e,d.c.length)),128),S.a.Bc(f),f.s=p++,rDt(f,T,k),d.c=D8(Ite,zWt,1,0,5,1));}for(v=t.c.length+1,s=new Kd(t);s.a<s.c.c.length;)(o=$z(Q1(s),128)).s<h&&(o.s+=v);for(E=new Kd(t);E.a<E.c.c.length;)for(n=new _2((_=$z(Q1(E),128)).t,0);n.b<n.d.gc();)TP(n.b<n.d.gc()),C=(i=$z(n.d.Xb(n.c=n.b++),268)).b,_.s>C.s&&(uW(n),y9(C.i,i),i.c>0&&(i.a=C,Kz(C.t,i),i.b=_,Kz(_.i,i)));}function MYt(t){var e,n,i,r,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return XYt(t),dWt(),dWt(),oNe;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=vYt(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d<t.j){if(r=t.d,i=0,n=-1,!((e=uX(t.i,r++))>=48&&e<=57))throw Fw(new rx(vWt((aL(),K8t))));for(i=e-48;r<t.j&&(e=uX(t.i,r++))>=48&&e<=57;)if((i=10*i+e-48)<0)throw Fw(new rx(vWt((aL(),V8t))));if(n=i,44==e){if(r>=t.j)throw Fw(new rx(vWt((aL(),W8t))));if((e=uX(t.i,r++))>=48&&e<=57){for(n=e-48;r<t.j&&(e=uX(t.i,r++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw Fw(new rx(vWt((aL(),V8t))));if(i>n)throw Fw(new rx(vWt((aL(),X8t))))}else n=-1;}if(125!=e)throw Fw(new rx(vWt((aL(),Y8t))));t.sl(r)?(dWt(),dWt(),a=new c4(9,a),t.d=r+1):(dWt(),dWt(),a=new c4(3,a),t.d=r),a.dm(i),a.cm(n),XYt(t);}}return a}function IYt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(g=new V6(e.b),y=new V6(e.b),f=new V6(e.b),k=new V6(e.b),p=new V6(e.b),x=cwt(e,0);x.b!=x.d.c;)for(s=new Kd((m=$z(h3(x),11)).g);s.a<s.c.c.length;)if((a=$z(Q1(s),17)).c.i==a.d.i){if(m.j==a.d.j){k.c[k.c.length]=a;continue}if(m.j==(vKt(),sMe)&&a.d.j==EMe){p.c[p.c.length]=a;continue}}for(c=new Kd(p);c.a<c.c.c.length;)j$t(t,a=$z(Q1(c),17),n,i,(vKt(),oMe));for(o=new Kd(k);o.a<o.c.c.length;)a=$z(Q1(o),17),$f(_=new Oyt(t),(oCt(),Sse)),uct(_,(zYt(),twe),(X_t(),qAe)),uct(_,(uWt(),dfe),a),uct(E=new SCt,dfe,a.d),HAt(E,(vKt(),CMe)),CJ(E,_),uct(T=new SCt,dfe,a.c),HAt(T,oMe),CJ(T,_),uct(a.c,xfe,_),uct(a.d,xfe,_),EJ(a,null),_J(a,null),n.c[n.c.length]=_,uct(_,$he,nft(2));for(v=cwt(e,0);v.b!=v.d.c;)u=(m=$z(h3(v),11)).e.c.length>0,b=m.g.c.length>0,u&&b?f.c[f.c.length]=m:u?g.c[g.c.length]=m:b&&(y.c[y.c.length]=m);for(d=new Kd(g);d.a<d.c.c.length;)Kz(r,zzt(t,$z(Q1(d),11),null,n));for(w=new Kd(y);w.a<w.c.c.length;)Kz(r,zzt(t,null,$z(Q1(w),11),n));for(h=new Kd(f);h.a<h.c.c.length;)Kz(r,zzt(t,l=$z(Q1(h),11),l,n));}function OYt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(p=new DA(BVt,BVt),n=new DA(RVt,RVt),x=new Kd(t);x.a<x.c.c.length;)v=$z(Q1(x),8),p.a=e.Math.min(p.a,v.a),p.b=e.Math.min(p.b,v.b),n.a=e.Math.max(n.a,v.a),n.b=e.Math.max(n.b,v.b);for(u=new DA(n.a-p.a,n.b-p.b),l=new QFt(new DA(p.a-50,p.b-u.a-50),new DA(p.a-50,n.b+u.a+50),new DA(n.a+u.b/2+50,p.b+u.b/2)),m=new Py,a=new Lw,i=new Lw,m.a.zc(l,m),_=new Kd(t);_.a<_.c.c.length;){for(k=$z(Q1(_),8),a.c=D8(Ite,zWt,1,0,5,1),y=m.a.ec().Kc();y.Ob();)K8((b=$z(y.Pb(),308)).d,b.a),Adt(K8(b.d,k),K8(b.d,b.a))<0&&(a.c[a.c.length]=b);for(i.c=D8(Ite,zWt,1,0,5,1),w=new Kd(a);w.a<w.c.c.length;)for(d=new Kd((b=$z(Q1(w),308)).e);d.a<d.c.c.length;){for(h=$z(Q1(d),168),o=!0,c=new Kd(a);c.a<c.c.c.length;)(s=$z(Q1(c),308))!=b&&(iX(h,DU(s.e,0))||iX(h,DU(s.e,1))||iX(h,DU(s.e,2)))&&(o=!1);o&&(i.c[i.c.length]=h);}for(sTt(m,a),t5(m,new ft),f=new Kd(i);f.a<f.c.c.length;)kK(m,new QFt(k,(h=$z(Q1(f),168)).a,h.b));}for(t5(m,new vg(g=new Py)),r=g.a.ec().Kc();r.Ob();)(B9(l,(h=$z(r.Pb(),168)).a)||B9(l,h.b))&&r.Qb();return t5(g,new dt),g}function LYt(t){var e,n,i;switch(n=$z(yTt(t,(uWt(),Zhe)),21),e=mO(Loe),$z(yTt(t,(zYt(),sbe)),334)==(oht(),pAe)&&Zat(e,Doe),zv(kB(yTt(t,abe)))?dU(e,(mTt(),Poe),(hWt(),Fce)):dU(e,(mTt(),Roe),(hWt(),Fce)),null!=yTt(t,(C6(),kTe))&&Zat(e,Noe),(zv(kB(yTt(t,gbe)))||zv(kB(yTt(t,obe))))&&KG(e,(mTt(),$oe),(hWt(),tce)),$z(yTt(t,Gpe),103).g){case 2:case 3:case 4:KG(dU(e,(mTt(),Poe),(hWt(),nce)),$oe,ece);}switch(n.Hc((fBt(),che))&&KG(dU(dU(e,(mTt(),Poe),(hWt(),Jse)),joe,Zse),$oe,Qse),HM(yTt(t,Ebe))!==HM((cNt(),Sye))&&dU(e,(mTt(),Roe),(hWt(),Lce)),n.Hc(phe)&&(dU(e,(mTt(),Poe),(hWt(),jce)),dU(e,Boe,Bce),dU(e,Roe,Rce)),HM(yTt(t,Tpe))!==HM((ZTt(),ihe))&&HM(yTt(t,Zpe))!==HM((Edt(),XSe))&&KG(e,(mTt(),$oe),(hWt(),pce)),zv(kB(yTt(t,ube)))&&dU(e,(mTt(),Roe),(hWt(),gce)),zv(kB(yTt(t,Fpe)))&&dU(e,(mTt(),Roe),(hWt(),Kce)),RDt(t)&&(i=(HM(yTt(t,sbe))===HM(pAe)?$z(yTt(t,Ppe),292):$z(yTt(t,Bpe),292))==(Rot(),vhe)?(hWt(),Pce):(hWt(),Xce),dU(e,(mTt(),joe),i)),$z(yTt(t,Uwe),377).g){case 1:dU(e,(mTt(),joe),(hWt(),Yce));break;case 2:KG(dU(dU(e,(mTt(),Roe),(hWt(),Yse)),joe,Wse),$oe,Xse);}return HM(yTt(t,Ope))!==HM((yct(),Lye))&&dU(e,(mTt(),Roe),(hWt(),Wce)),e}function DYt(t){LT(t,new EEt(bk(fk(pk(gk(new bs,O4t),"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 ts))),a2(t,O4t,WQt,1.3),a2(t,O4t,I4t,ywt(g_e)),a2(t,O4t,XQt,S_e),a2(t,O4t,wJt,15),a2(t,O4t,o3t,ywt(h_e)),a2(t,O4t,CJt,ywt(v_e)),a2(t,O4t,FJt,ywt(x_e)),a2(t,O4t,TJt,ywt(k_e)),a2(t,O4t,SJt,ywt(m_e)),a2(t,O4t,EJt,ywt(__e)),a2(t,O4t,AJt,ywt(A_e)),a2(t,O4t,k4t,ywt(T_e)),a2(t,O4t,_4t,ywt(y_e)),a2(t,O4t,C4t,ywt(E_e)),a2(t,O4t,S4t,ywt(M_e)),a2(t,O4t,A4t,ywt(p_e)),a2(t,O4t,xJt,ywt(b_e)),a2(t,O4t,y3t,ywt(w_e)),a2(t,O4t,T4t,ywt(d_e)),a2(t,O4t,E4t,ywt(f_e)),a2(t,O4t,M4t,ywt(O_e));}function NYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(null==n)return null;if(t.a!=e.Aj())throw Fw(new Rv(g6t+e.ne()+p6t));if(iD(e,457)){if(!(p=TBt($z(e,671),n)))throw Fw(new Rv(b6t+n+"' is not a valid enumerator of '"+e.ne()+"'"));return p}switch(Sht((ASt(),VLe),e).cl()){case 2:n=$zt(n,!1);break;case 3:n=$zt(n,!0);}if(i=Sht(VLe,e).$k())return i.Aj().Nh().Kh(i,n);if(h=Sht(VLe,e).al()){for(p=new Lw,u=0,l=(c=mut(n)).length;u<l;++u)s=c[u],Kz(p,h.Aj().Nh().Kh(h,s));return p}if(!(g=Sht(VLe,e).bl()).dc()){for(d=g.Kc();d.Ob();){f=$z(d.Pb(),148);try{if(null!=(p=f.Aj().Nh().Kh(f,n)))return p}catch(t){if(!iD(t=hst(t),60))throw Fw(t)}}throw Fw(new Rv(b6t+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if($z(e,834).Fj(),!(r=Nht(e.Bj())))return null;if(r==Tee){a=0;try{a=h$t(n,jXt,PWt)&XXt;}catch(t){if(!iD(t=hst(t),127))throw Fw(t);a=Y9(n)[0];}return lst(a)}if(r==yee){for(o=0;o<SIe.length;++o)try{return $T(SIe[o],n)}catch(t){if(!iD(t=hst(t),32))throw Fw(t)}throw Fw(new Rv(b6t+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw Fw(new Rv(b6t+n+"' is invalid. "))}function PYt(t,e){var n,i,r,a,o,s,c,u;if(n=0,o=0,a=e.length,s=null,u=new Sx,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(h1(o,e.length),43==e.charCodeAt(o)||(h1(o,e.length),45==e.charCodeAt(o)))))throw Fw(new _x(PVt+e+'"'));for(;o<a&&(h1(o,e.length),46!=e.charCodeAt(o))&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;if(u.a+=""+uP(null==e?GWt:(mW(e),e),n,o),o<a&&(h1(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(h1(o,e.length),101!=e.charCodeAt(o))&&(h1(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,u.a+=""+uP(null==e?GWt:(mW(e),e),n,o);}else t.e=0;if(o<a&&(h1(o,e.length),101==e.charCodeAt(o)||(h1(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(h1(o,e.length),43==e.charCodeAt(o))&&++o<a&&(h1(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-h$t(s,jXt,PWt),t.e!=CQ(t.e)))throw Fw(new _x("Scale out of range."));if((c=u.a).length<16){if(t.f=(null==Wee&&(Wee=new RegExp("^[+-]?\\d*$","i")),Wee.test(c)?parseInt(c,10):NaN),isNaN(t.f))throw Fw(new _x(PVt+e+'"'));t.a=aMt(t.f);}else lpt(t,new IO(c));for(t.d=u.a.length,r=0;r<u.a.length&&(45==(i=uX(u.a,r))||48==i);++r)--t.d;0==t.d&&(t.d=1);}function BYt(){BYt=I,ZMt(use=new pQ,(vKt(),fMe),bMe),ZMt(use,_Me,bMe),ZMt(use,_Me,mMe),ZMt(use,cMe,pMe),ZMt(use,cMe,bMe),ZMt(use,dMe,bMe),ZMt(use,dMe,wMe),ZMt(use,xMe,lMe),ZMt(use,xMe,bMe),ZMt(use,yMe,hMe),ZMt(use,yMe,bMe),ZMt(use,yMe,wMe),ZMt(use,yMe,lMe),ZMt(use,hMe,yMe),ZMt(use,hMe,mMe),ZMt(use,hMe,pMe),ZMt(use,hMe,bMe),ZMt(use,vMe,vMe),ZMt(use,vMe,wMe),ZMt(use,vMe,mMe),ZMt(use,gMe,gMe),ZMt(use,gMe,wMe),ZMt(use,gMe,pMe),ZMt(use,kMe,kMe),ZMt(use,kMe,lMe),ZMt(use,kMe,mMe),ZMt(use,uMe,uMe),ZMt(use,uMe,lMe),ZMt(use,uMe,pMe),ZMt(use,wMe,dMe),ZMt(use,wMe,yMe),ZMt(use,wMe,vMe),ZMt(use,wMe,gMe),ZMt(use,wMe,bMe),ZMt(use,wMe,wMe),ZMt(use,wMe,mMe),ZMt(use,wMe,pMe),ZMt(use,lMe,xMe),ZMt(use,lMe,yMe),ZMt(use,lMe,kMe),ZMt(use,lMe,uMe),ZMt(use,lMe,lMe),ZMt(use,lMe,mMe),ZMt(use,lMe,pMe),ZMt(use,lMe,bMe),ZMt(use,mMe,_Me),ZMt(use,mMe,hMe),ZMt(use,mMe,vMe),ZMt(use,mMe,kMe),ZMt(use,mMe,wMe),ZMt(use,mMe,lMe),ZMt(use,mMe,mMe),ZMt(use,mMe,bMe),ZMt(use,pMe,cMe),ZMt(use,pMe,hMe),ZMt(use,pMe,gMe),ZMt(use,pMe,uMe),ZMt(use,pMe,wMe),ZMt(use,pMe,lMe),ZMt(use,pMe,pMe),ZMt(use,pMe,bMe),ZMt(use,bMe,fMe),ZMt(use,bMe,_Me),ZMt(use,bMe,cMe),ZMt(use,bMe,dMe),ZMt(use,bMe,xMe),ZMt(use,bMe,yMe),ZMt(use,bMe,hMe),ZMt(use,bMe,wMe),ZMt(use,bMe,lMe),ZMt(use,bMe,mMe),ZMt(use,bMe,pMe),ZMt(use,bMe,bMe);}function RYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(t.d=new DA(BVt,BVt),t.c=new DA(RVt,RVt),f=n.Kc();f.Ob();)for(m=new Kd($z(f.Pb(),37).a);m.a<m.c.c.length;)y=$z(Q1(m),10),t.d.a=e.Math.min(t.d.a,y.n.a-y.d.b),t.d.b=e.Math.min(t.d.b,y.n.b-y.d.d),t.c.a=e.Math.max(t.c.a,y.n.a+y.o.a+y.d.c),t.c.b=e.Math.max(t.c.b,y.n.b+y.o.b+y.d.a);for(c=new Xy,h=n.Kc();h.Ob();)r=oYt(t,$z(h.Pb(),37)),Kz(c.a,r),r.a=r.a|!$z(yTt(r.c,(uWt(),qhe)),21).dc();for(t.b=(Tlt(),(E=new ve).f=new wit(i),E.b=sGt(E.f,c),E),xGt((g=t.b,new qm,g)),t.e=new Hk,t.a=t.b.f.e,s=new Kd(c.a);s.a<s.c.c.length;)for(a=$z(Q1(s),841),v=MQ(t.b,a),JRt(a.c,v.a,v.b),b=new Kd(a.c.a);b.a<b.c.c.length;)(p=$z(Q1(b),10)).k==(oCt(),_se)&&(w=hDt(t,p.n,$z(yTt(p,(uWt(),Whe)),61)),GR(mI(p.n),w));for(o=new Kd(c.a);o.a<o.c.c.length;)for(l=new Kd(dft(a=$z(Q1(o),841)));l.a<l.c.c.length;)for(BP(_=new Bk((u=$z(Q1(l),17)).a),0,g1(u.c)),NH(_,g1(u.d)),d=null,k=cwt(_,0);k.b!=k.d.c;)x=$z(h3(k),8),d?(ont(d.a,x.a)?(t.e.a=e.Math.min(t.e.a,d.a),t.a.a=e.Math.max(t.a.a,d.a)):ont(d.b,x.b)&&(t.e.b=e.Math.min(t.e.b,d.b),t.a.b=e.Math.max(t.a.b,d.b)),d=x):d=x;zP(t.e),GR(t.a,t.e);}function jYt(t){WLt(t.b,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"ConsistentTransient"])),WLt(t.a,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"WellFormedSourceURI"])),WLt(t.o,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),WLt(t.p,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),WLt(t.v,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),WLt(t.R,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"WellFormedName"])),WLt(t.T,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),WLt(t.U,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),WLt(t.W,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),WLt(t.bb,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"ValidDefaultValueLiteral"])),WLt(t.eb,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),WLt(t.H,W7t,Cst(Hx(Xee,1),cXt,2,6,[V7t,"ConsistentType ConsistentBounds ConsistentArguments"]));}function $Yt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(!e.dc()){if(r=new mm,h=(o=n||$z(e.Xb(0),17)).c,pPt(),(u=h.i.k)!=(oCt(),Cse)&&u!=Sse&&u!=_se&&u!=kse)throw Fw(new Rv("The target node of the edge must be a normal node or a northSouthPort."));for(uI(r,Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a]))),(vKt(),yMe).Hc(h.j)&&(d=Hv(_B(yTt(h,(uWt(),Ofe)))),n5(r,new DA(Ict(Cst(Hx(TTe,1),cXt,8,0,[h.i.n,h.n,h.a])).a,d),r.c.b,r.c)),c=null,i=!1,s=e.Kc();s.Ob();)0!=(a=$z(s.Pb(),17).a).b&&(i?(n5(r,mD(GR(c,(TP(0!=a.b),$z(a.a.a.c,8))),.5),r.c.b,r.c),i=!1):i=!0,c=$L((TP(0!=a.b),$z(a.c.b.c,8))),$rt(r,a),yV(a));f=o.d,yMe.Hc(f.j)&&(d=Hv(_B(yTt(f,(uWt(),Ofe)))),n5(r,new DA(Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a])).a,d),r.c.b,r.c)),uI(r,Ict(Cst(Hx(TTe,1),cXt,8,0,[f.i.n,f.n,f.a]))),t.d==(qut(),tme)&&(TP(0!=r.b),g=$z(r.a.a.c,8),p=$z(Pwt(r,1),8),(b=new qJ(uut(h.j))).a*=5,b.b*=5,w=qR(new DA(p.a,p.b),g),GR(y=new DA(eJ(b.a,w.a),eJ(b.b,w.b)),g),QK(cwt(r,1),y),TP(0!=r.b),m=$z(r.c.b.c,8),v=$z(Pwt(r,r.b-2),8),(b=new qJ(uut(f.j))).a*=5,b.b*=5,w=qR(new DA(v.a,v.b),m),GR(x=new DA(eJ(b.a,w.a),eJ(b.b,w.b)),m),BP(r,r.b-1,x)),l=new szt(r),$rt(o.a,$yt(l));}}function FYt(t,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L,D,N,P;if(v=(y=$z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)).Dg(),x=y.Eg(),m=y.Cg()/2,g=y.Bg()/2,iD(y,186)&&(v+=KQ(w=$z(y,118)).i,v+=KQ(w).i),v+=m,x+=g,A=(C=$z(Yet((!t.b&&(t.b=new cj(PIe,t,4,7)),t.b),0),82)).Dg(),M=C.Eg(),S=C.Cg()/2,k=C.Bg()/2,iD(C,186)&&(A+=KQ(T=$z(C,118)).i,A+=KQ(T).i),A+=S,M+=k,0==(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i)Jk(),c=new oc,u7((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),c);else if((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i>1)for(d=new iP((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a));d.e!=d.i.gc();)Xkt(d);for(p=A,A>v+m?p=v+m:A<v-m&&(p=v-m),b=M,M>x+g?b=x+g:M<x-g&&(b=x-g),p>v-m&&p<v+m&&b>x-g&&b<x+g&&(p=v+m),Ant(s=$z(Yet((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),0),202),p),Int(s,b),_=v,v>A+S?_=A+S:v<A-S&&(_=A-S),E=x,x>M+k?E=M+k:x<M-k&&(E=M-k),_>A-S&&_<A+S&&E>M-k&&E<M+k&&(E=M+k),_nt(s,_),Mnt(s,E),cUt((!s.a&&(s.a=new ID(LIe,s,5)),s.a)),o=byt(n,5),y==C&&++o,O=_-p,N=E-b,l=.20000000298023224*e.Math.sqrt(O*O+N*N),L=O/(o+1),P=N/(o+1),I=p,D=b,u=0;u<o;u++)D+=P,(h=(I+=L)+zLt(n,24)*oZt*l-l/2)<0?h=1:h>i&&(h=i-1),(f=D+zLt(n,24)*oZt*l-l/2)<0?f=1:f>r&&(f=r-1),Jk(),xnt(a=new ac,h),knt(a,f),u7((!s.a&&(s.a=new ID(LIe,s,5)),s.a),a);}function zYt(){zYt=I,cWt(),pwe=vSe,bwe=xSe,wwe=kSe,ywe=_Se,vwe=ESe,xwe=TSe,Ewe=SSe,Cwe=MSe,Swe=ISe,Twe=ASe,Awe=OSe,Iwe=LSe,Lwe=PSe,_we=CSe,lWt(),gwe=Rge,mwe=jge,kwe=$ge,Mwe=Fge,cwe=new qO(pSe,nft(0)),uwe=Nge,lwe=Pge,hwe=Bge,Uwe=lpe,Pwe=Uge,Bwe=Kge,$we=tpe,Rwe=Xge,jwe=Zge,qwe=ppe,Gwe=fpe,zwe=ope,Fwe=rpe,Hwe=cpe,Pbe=Tge,Bbe=Cge,nbe=Bde,ibe=$de,Gbe=new KO(12),Ube=new qO(qCe,Gbe),Edt(),Zpe=new qO(bCe,Qpe=WSe),Jbe=new qO(rSe,0),fwe=new qO(bSe,nft(1)),xpe=new qO(iCe,gJt),Hbe=UCe,twe=aSe,awe=fSe,Upe=lCe,mpe=eCe,sbe=xCe,dwe=new qO(mSe,(cN(),!0)),fbe=ECe,dbe=TCe,jbe=BCe,zbe=zCe,$be=jCe,$ht(),Gpe=new qO(hCe,Kpe=$Se),Ibe=NCe,Mbe=LCe,iwe=uSe,nwe=cSe,rwe=hSe,rwt(),new qO(ZCe,Ybe=zAe),Xbe=tSe,Vbe=eSe,Zbe=nSe,Wbe=JCe,Nwe=Hge,Tbe=lge,Ebe=cge,Dwe=zge,mbe=tge,Hpe=kde,zpe=vde,Dpe=ade,Npe=ode,Bpe=hde,Ppe=sde,Fpe=yde,Sbe=fge,Abe=dge,pbe=Yde,Rbe=Ige,Lbe=wge,abe=Hde,Nbe=_ge,tbe=Lde,ebe=Nde,Lpe=cCe,Obe=gge,Tpe=Wfe,Epe=Kfe,_pe=qfe,ube=qde,cbe=Gde,lbe=Kde,Fbe=$Ce,bbe=ACe,rbe=yCe,Xpe=gCe,Wpe=dCe,Rpe=gde,ewe=sSe,kpe=sCe,hbe=_Ce,Qbe=iSe,qbe=YCe,Kbe=XCe,xbe=ige,kbe=age,swe=gSe,vpe=Gfe,_be=sge,Vpe=Ade,Ype=Cde,Cbe=ICe,wbe=Zde,Dbe=vge,Owe=DSe,qpe=Ede,owe=Lge,Jpe=Ide,ybe=Jde,jpe=bde,gbe=SCe,vbe=nge,$pe=wde,Ope=ide,Mpe=tde,Spe=Qfe,Ape=Jfe,Ipe=nde,Cpe=Vfe,obe=Ude;}function HYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(oHt(),y=t.e,u=t.d,r=t.a,0==y)switch(e){case 0:return "0";case 1:return YVt;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 (b=new Cx).a+="0E",b.a+=-e,b.a}if(p=D8(SNe,YXt,25,1+(g=10*u+1+7),15,1),n=g,1==u)if((a=r[0])<0){x=t0(a,qVt);do{l=x,x=Mkt(x,10),p[--n]=48+dG(ndt(l,rdt(x,10)))&XXt;}while(0!=Wlt(x,0))}else {x=a;do{l=x,x=x/10|0,p[--n]=l-10*x+48&XXt;}while(0!=x)}else {aHt(r,0,m=D8(ANe,uVt,25,u,15,1),0,v=u);t:for(;;){for(w=0,s=v-1;s>=0;s--)f=lEt(idt(yq(w,32),t0(m[s],qVt))),m[s]=dG(f),w=dG(mq(f,32));d=dG(w),h=n;do{p[--n]=48+d%10&XXt;}while(0!=(d=d/10|0)&&0!=n);for(i=9-h+n,o=0;o<i&&n>0;o++)p[--n]=48;for(c=v-1;0==m[c];c--)if(0==c)break t;v=c+1;}for(;48==p[n];)++n;}return y<0&&(p[--n]=45),Fpt(p,n,g-n)}function UYt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;switch(t.c=n,t.g=new Dw,HT(),tgt(new Tg(new Nv(t.c))),y=EB(QOt(t.c,(ETt(),dEe))),s=$z(QOt(t.c,pEe),316),v=$z(QOt(t.c,bEe),429),a=$z(QOt(t.c,cEe),482),m=$z(QOt(t.c,gEe),430),t.j=Hv(_B(QOt(t.c,wEe))),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 Fw(new Rv(D4t+(null!=s.f?s.f:""+s.g)))}if(t.d=new NQ(o,v,a),uct(t.d,(Kat(),Wre),kB(QOt(t.c,lEe))),t.d.c=zv(kB(QOt(t.c,uEe))),0==XV(t.c).i)return t.d;for(l=new MD(XV(t.c));l.e!=l.i.gc();){for(f=(u=$z(vwt(l),33)).g/2,h=u.f/2,x=new DA(u.i+f,u.j+h);cK(t.g,x);)RP(x,(e.Math.random()-.5)*hJt,(e.Math.random()-.5)*hJt);g=$z(QOt(u,(cWt(),ICe)),142),p=new MJ(x,new GX(x.a-f-t.j/2-g.b,x.b-h-t.j/2-g.d,u.g+t.j+(g.b+g.c),u.f+t.j+(g.d+g.a))),Kz(t.d.i,p),YW(t.g,x,new nM(p,u));}switch(m.g){case 0:if(null==y)t.d.d=$z(DU(t.d.i,0),65);else for(w=new Kd(t.d.i);w.a<w.c.c.length;)p=$z(Q1(w),65),null!=(d=$z($z(PY(t.g,p.a),46).b,33).zg())&&wj(d,y)&&(t.d.d=p);break;case 1:for((i=new DA(t.c.g,t.c.f)).a*=.5,i.b*=.5,RP(i,t.c.i,t.c.j),r=BVt,b=new Kd(t.d.i);b.a<b.c.c.length;)(c=K8((p=$z(Q1(b),65)).a,i))<r&&(r=c,t.d.d=p);break;default:throw Fw(new Rv(D4t+(null!=m.f?m.f:""+m.g)))}return t.d}function GYt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(k=$z(Yet((!t.a&&(t.a=new tK(RIe,t,6,6)),t.a),0),202),h=new mm,x=new Dw,_=tFt(k),xAt(x.f,k,_),d=new Dw,r=new XE,p=LK(Ynt(Cst(Hx(Nte,1),zWt,20,0,[(!n.d&&(n.d=new cj(BIe,n,8,5)),n.d),(!n.e&&(n.e=new cj(BIe,n,7,4)),n.e)])));gOt(p);){if(g=$z(G5(p),79),1!=(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i)throw Fw(new Rv(F5t+(!t.a&&(t.a=new tK(RIe,t,6,6)),t.a).i));g!=t&&(n5(r,w=$z(Yet((!g.a&&(g.a=new tK(RIe,g,6,6)),g.a),0),202),r.c.b,r.c),(b=$z(zM(MZ(x.f,w)),12))||(b=tFt(w),xAt(x.f,w,b)),f=i?qR(new fO($z(DU(_,_.c.length-1),8)),$z(DU(b,b.c.length-1),8)):qR(new fO((l1(0,_.c.length),$z(_.c[0],8))),(l1(0,b.c.length),$z(b.c[0],8))),xAt(d.f,w,f));}if(0!=r.b)for(y=$z(DU(_,i?_.c.length-1:0),8),l=1;l<_.c.length;l++){for(m=$z(DU(_,i?_.c.length-1-l:l),8),a=cwt(r,0);a.b!=a.d.c;)w=$z(h3(a),202),(b=$z(zM(MZ(x.f,w)),12)).c.length<=l?yet(a):(v=GR(new fO($z(DU(b,i?b.c.length-1-l:l),8)),$z(zM(MZ(d.f,w)),8)),m.a==v.a&&m.b==v.b||(o=m.a-y.a,c=m.b-y.b,(s=v.a-y.a)*c==(u=v.b-y.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==c||isNaN(c)?c:c<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)?(e.Math.abs(o)<e.Math.abs(s)||e.Math.abs(c)<e.Math.abs(u))&&n5(h,m,h.c.b,h.c):l>1&&n5(h,y,h.c.b,h.c),yet(a)));y=m;}return h}function qYt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O;for(MEt(n,"Greedy cycle removal",1),O=(m=e.a).c.length,t.a=D8(ANe,uVt,25,O,15,1),t.c=D8(ANe,uVt,25,O,15,1),t.b=D8(ANe,uVt,25,O,15,1),u=0,w=new Kd(m);w.a<w.c.c.length;){for((p=$z(Q1(w),10)).p=u,E=new Kd(p.j);E.a<E.c.c.length;){for(s=new Kd((x=$z(Q1(E),11)).e);s.a<s.c.c.length;)(i=$z(Q1(s),17)).c.i!=p&&(C=$z(yTt(i,(zYt(),uwe)),19).a,t.a[u]+=C>0?C+1:1);for(o=new Kd(x.g);o.a<o.c.c.length;)(i=$z(Q1(o),17)).d.i!=p&&(C=$z(yTt(i,(zYt(),uwe)),19).a,t.c[u]+=C>0?C+1:1);}0==t.c[u]?NH(t.e,p):0==t.a[u]&&NH(t.f,p),++u;}for(g=-1,d=1,h=new Lw,t.d=$z(yTt(e,(uWt(),Efe)),230);O>0;){for(;0!=t.e.b;)A=$z(dH(t.e),10),t.b[A.p]=g--,Xjt(t,A),--O;for(;0!=t.f.b;)M=$z(dH(t.f),10),t.b[M.p]=d++,Xjt(t,M),--O;if(O>0){for(f=jXt,y=new Kd(m);y.a<y.c.c.length;)p=$z(Q1(y),10),0==t.b[p.p]&&(v=t.c[p.p]-t.a[p.p])>=f&&(v>f&&(h.c=D8(Ite,zWt,1,0,5,1),f=v),h.c[h.c.length]=p);l=t.Zf(h),t.b[l.p]=d++,Xjt(t,l),--O;}}for(S=m.c.length+1,u=0;u<m.c.length;u++)t.b[u]<0&&(t.b[u]+=S);for(b=new Kd(m);b.a<b.c.c.length;)for(_=0,T=(k=S2((p=$z(Q1(b),10)).j)).length;_<T;++_)for(a=0,c=(r=Z0((x=k[_]).g)).length;a<c;++a)I=(i=r[a]).d.i.p,t.b[p.p]>t.b[I]&&(tzt(i,!0),uct(e,zhe,(cN(),!0)));t.a=null,t.c=null,t.b=null,yV(t.f),yV(t.e),zCt(n);}function KYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(i=new Lw,s=new Lw,b=e/2,d=t.gc(),r=$z(t.Xb(0),8),w=$z(t.Xb(1),8),Kz(i,(l1(0,(g=XOt(r.a,r.b,w.a,w.b,b)).c.length),$z(g.c[0],8))),Kz(s,(l1(1,g.c.length),$z(g.c[1],8))),u=2;u<d;u++)p=r,r=w,w=$z(t.Xb(u),8),Kz(i,(l1(1,(g=XOt(r.a,r.b,p.a,p.b,b)).c.length),$z(g.c[1],8))),Kz(s,(l1(0,g.c.length),$z(g.c[0],8))),Kz(i,(l1(0,(g=XOt(r.a,r.b,w.a,w.b,b)).c.length),$z(g.c[0],8))),Kz(s,(l1(1,g.c.length),$z(g.c[1],8)));for(Kz(i,(l1(1,(g=XOt(w.a,w.b,r.a,r.b,b)).c.length),$z(g.c[1],8))),Kz(s,(l1(0,g.c.length),$z(g.c[0],8))),n=new mm,o=new Lw,NH(n,(l1(0,i.c.length),$z(i.c[0],8))),l=1;l<i.c.length-2;l+=2)l1(l,i.c.length),a=$z(i.c[l],8),f=HSt((l1(l-1,i.c.length),$z(i.c[l-1],8)),a,(l1(l+1,i.c.length),$z(i.c[l+1],8)),(l1(l+2,i.c.length),$z(i.c[l+2],8))),isFinite(f.a)&&isFinite(f.b)?n5(n,f,n.c.b,n.c):n5(n,a,n.c.b,n.c);for(NH(n,$z(DU(i,i.c.length-1),8)),Kz(o,(l1(0,s.c.length),$z(s.c[0],8))),h=1;h<s.c.length-2;h+=2)l1(h,s.c.length),a=$z(s.c[h],8),f=HSt((l1(h-1,s.c.length),$z(s.c[h-1],8)),a,(l1(h+1,s.c.length),$z(s.c[h+1],8)),(l1(h+2,s.c.length),$z(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(Kz(o,$z(DU(s,s.c.length-1),8)),c=o.c.length-1;c>=0;c--)NH(n,(l1(c,o.c.length),$z(o.c[c],8)));return n}function YYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d;if(o=!0,h=null,i=null,r=null,e=!1,d=yOe,u=null,a=null,(c=Wbt(t,s=0,AOe,MOe))<t.length&&(h1(c,t.length),58==t.charCodeAt(c))&&(h=t.substr(s,c-s),s=c+1),n=null!=h&&DE(mOe,h.toLowerCase())){if(-1==(c=t.lastIndexOf("!/")))throw Fw(new Rv("no archive separator"));o=!0,i=uP(t,s,++c),s=c;}else s>=0&&wj(t.substr(s,2),"//")?(c=Wbt(t,s+=2,IOe,OOe),i=t.substr(s,c-s),s=c):null==h||s!=t.length&&(h1(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(c=yN(t,VEt(35),s))&&(c=t.length),i=t.substr(s,c-s),s=c);if(!n&&s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(c=Wbt(t,s+1,IOe,OOe),(l=t.substr(s+1,c-(s+1))).length>0&&58==uX(l,l.length-1)&&(r=l,s=c)),s<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0),s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s))){for(f=new Lw;s<t.length&&(h1(s,t.length),63!=t.charCodeAt(s))&&(h1(s,t.length),35!=t.charCodeAt(s));)c=Wbt(t,s,IOe,OOe),Kz(f,t.substr(s,c-s)),(s=c)<t.length&&(h1(s,t.length),47==t.charCodeAt(s))&&(Xlt(t,++s)||(f.c[f.c.length]=""));Xbt(f,d=D8(Xee,cXt,2,f.c.length,6,1));}return s<t.length&&(h1(s,t.length),63==t.charCodeAt(s))&&(-1==(c=lP(t,35,++s))&&(c=t.length),u=t.substr(s,c-s),s=c),s<t.length&&(a=QM(t,++s)),dGt(o,h,i,r,d,u),new iRt(o,h,i,r,e,d,u,a)}function WYt(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L;for(I=new Lw,g=new Kd(n.b);g.a<g.c.c.length;)for(x=new Kd($z(Q1(g),29).a);x.a<x.c.c.length;){for((v=$z(Q1(x),10)).p=-1,f=jXt,E=jXt,C=new Kd(v.j);C.a<C.c.c.length;){for(a=new Kd((T=$z(Q1(C),11)).e);a.a<a.c.c.length;)i=$z(Q1(a),17),S=$z(yTt(i,(zYt(),hwe)),19).a,f=e.Math.max(f,S);for(r=new Kd(T.g);r.a<r.c.c.length;)i=$z(Q1(r),17),S=$z(yTt(i,(zYt(),hwe)),19).a,E=e.Math.max(E,S);}uct(v,qme,nft(f)),uct(v,Kme,nft(E));}for(w=0,d=new Kd(n.b);d.a<d.c.c.length;)for(x=new Kd($z(Q1(d),29).a);x.a<x.c.c.length;)(v=$z(Q1(x),10)).p<0&&((M=new nm).b=w++,xRt(t,v,M),I.c[I.c.length]=M);for(_=sP(I.c.length),h=sP(I.c.length),s=0;s<I.c.length;s++)Kz(_,new Lw),Kz(h,nft(0));for(wqt(n,I,_,h),O=$z(Xbt(I,D8(Xme,M3t,257,I.c.length,0,1)),840),k=$z(Xbt(_,D8(Bte,JQt,15,_.c.length,0,1)),192),l=D8(ANe,uVt,25,h.c.length,15,1),c=0;c<l.length;c++)l[c]=(l1(c,h.c.length),$z(h.c[c],19)).a;for(y=0,m=new Lw,u=0;u<O.length;u++)0==l[u]&&Kz(m,O[u]);for(b=D8(ANe,uVt,25,O.length,15,1);0!=m.c.length;)for(b[(M=$z(s6(m,0),257)).b]=y++;!k[M.b].dc();)--l[(L=$z(k[M.b].$c(0),257)).b],0==l[L.b]&&(m.c[m.c.length]=L);for(t.a=D8(Xme,M3t,257,O.length,0,1),o=0;o<O.length;o++)for(p=O[o],A=b[o],t.a[A]=p,p.b=A,x=new Kd(p.e);x.a<x.c.c.length;)(v=$z(Q1(x),10)).p=A;return t.a}function XYt(t){var e,n,i;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=uX(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,t.d>=t.j)break;if(63!=uX(t.i,t.d))break;if(++t.d>=t.j)throw Fw(new rx(vWt((aL(),b8t))));switch(e=uX(t.i,t.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(t.d>=t.j)throw Fw(new rx(vWt((aL(),b8t))));if(61==(e=uX(t.i,t.d++)))i=16;else {if(33!=e)throw Fw(new rx(vWt((aL(),w8t))));i=17;}break;case 35:for(;t.d<t.j&&41!=(e=uX(t.i,t.d++)););if(41!=e)throw Fw(new rx(vWt((aL(),y8t))));i=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,i=22;break}if(40==e){i=23;break}throw Fw(new rx(vWt((aL(),b8t))))}break;case 92:if(i=10,t.d>=t.j)throw Fw(new rx(vWt((aL(),p8t))));t.a=uX(t.i,t.d++);break;default:i=0;}t.c=i;}else {switch(e){case 92:if(i=10,t.d>=t.j)throw Fw(new rx(vWt((aL(),p8t))));t.a=uX(t.i,t.d++);break;case 45:!(512&~t.e)&&t.d<t.j&&91==uX(t.i,t.d)?(++t.d,i=24):i=0;break;case 91:if(512&~t.e&&t.d<t.j&&58==uX(t.i,t.d)){++t.d,i=20;break}default:(64512&e)==zVt&&t.d<t.j&&56320==(64512&(n=uX(t.i,t.d)))&&(t.a=FVt+(e-zVt<<10)+n-56320,++t.d),i=0;}t.c=i;}}function VYt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;if((k=$z(yTt(t,(zYt(),twe)),98))!=(X_t(),WAe)&&k!=XAe){for(u=new V6((hit((d=(g=t.b).c.length)+2,DXt),Jtt(idt(idt(5,d+2),(d+2)/10|0)))),p=new V6((hit(d+2,DXt),Jtt(idt(idt(5,d+2),(d+2)/10|0)))),Kz(u,new Dw),Kz(u,new Dw),Kz(p,new Lw),Kz(p,new Lw),x=new Lw,e=0;e<d;e++)for(l1(e,g.c.length),n=$z(g.c[e],29),l1(e,u.c.length),_=$z(u.c[e],83),b=new Dw,u.c[u.c.length]=b,l1(e,p.c.length),T=$z(p.c[e],15),y=new Lw,p.c[p.c.length]=y,r=new Kd(n.a);r.a<r.c.c.length;)if(rft(i=$z(Q1(r),10)))x.c[x.c.length]=i;else {for(c=new oq(ZD(ldt(i).a.Kc(),new l));gOt(c);)rft(C=(o=$z(G5(c),17)).c.i)&&((E=$z(_.xc(yTt(C,(uWt(),dfe))),10))||(E=sMt(t,C),_.zc(yTt(C,dfe),E),T.Fc(E)),EJ(o,$z(DU(E.j,1),11)));for(s=new oq(ZD(hdt(i).a.Kc(),new l));gOt(s);)rft(S=(o=$z(G5(s),17)).d.i)&&((w=$z(PY(b,yTt(S,(uWt(),dfe))),10))||(w=sMt(t,S),YW(b,yTt(S,dfe),w),y.c[y.c.length]=w),_J(o,$z(DU(w.j,0),11)));}for(h=0;h<p.c.length;h++)if(l1(h,p.c.length),!(m=$z(p.c[h],15)).dc())for(f=null,0==h?(f=new FY(t),OJ(0,g.c.length),_C(g.c,0,f)):h==u.c.length-1?(f=new FY(t),g.c[g.c.length]=f):(l1(h-1,g.c.length),f=$z(g.c[h-1],29)),a=m.Kc();a.Ob();)TJ($z(a.Pb(),10),f);for(v=new Kd(x);v.a<v.c.c.length;)TJ($z(Q1(v),10),null);uct(t,(uWt(),Khe),x);}}function ZYt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;if(MEt(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(k=$z(yTt(e,(zYt(),wbe)),19).a,c=0,o=0,d=new Kd(e.a);d.a<d.c.c.length;)for((f=$z(Q1(d),10)).p=c++,a=new oq(ZD(hdt(f).a.Kc(),new l));gOt(a);)(r=$z(G5(a),17)).p=o++;for(t.d=D8(MNe,QZt,25,c,16,1),t.a=D8(MNe,QZt,25,o,16,1),t.b=D8(ANe,uVt,25,c,15,1),t.e=D8(ANe,uVt,25,c,15,1),t.f=D8(ANe,uVt,25,c,15,1),dit(t.c),i_t(t,e),p=new qq(new Np(t)),x=new Kd(e.a);x.a<x.c.c.length;){for(a=new oq(ZD(ldt(m=$z(Q1(x),10)).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||++t.b[m.p];0==t.b[m.p]&&j8(eTt(p,m));}for(s=0;0!=p.b.c.length;)for(m=$z(wtt(p),10),t.f[m.p]=s++,a=new oq(ZD(hdt(m).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||(w=r.d.i,--t.b[w.p],ZMt(t.c,w,nft(t.f[m.p])),0==t.b[w.p]&&j8(eTt(p,w)));for(g=new qq(new Pp(t)),v=new Kd(e.a);v.a<v.c.c.length;){for(a=new oq(ZD(hdt(m=$z(Q1(v),10)).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||++t.e[m.p];0==t.e[m.p]&&j8(eTt(g,m));}for(i=n1(e,h=new Lw);0!=g.b.c.length;)for(y=$z(wtt(g),10),(i.a.c.length>=k||!Dpt(y,i))&&(i=n1(e,h)),TJ(y,i),a=new oq(ZD(ldt(y).a.Kc(),new l));gOt(a);)r=$z(G5(a),17),t.a[r.p]||(b=r.c.i,--t.e[b.p],0==t.e[b.p]&&j8(eTt(g,b)));for(u=h.c.length-1;u>=0;--u)Kz(e.b,(l1(u,h.c.length),$z(h.c[u],29)));e.a.c=D8(Ite,zWt,1,0,5,1),zCt(n);}else zCt(n);}function QYt(t){var e,n,i,r,a,o,s,c;for(t.b=1,XYt(t),e=null,0==t.c&&94==t.a?(XYt(t),dWt(),dWt(),VPt(e=new _0(4),0,ote),o=new _0(4)):(dWt(),dWt(),o=new _0(4)),r=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!r){e&&(YGt(e,o),o=e);break}if(n=t.a,i=!1,10==c)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cHt(o,g$t(n)),i=!0;break;case 105:case 73:case 99:case 67:cHt(o,g$t(n)),(n=-1)<0&&(i=!0);break;case 112:case 80:if(!(s=PMt(t,n)))throw Fw(new rx(vWt((aL(),M8t))));cHt(o,s),i=!0;break;default:n=HBt(t);}else if(24==c&&!r){if(e&&(YGt(e,o),o=e),YGt(o,QYt(t)),0!=t.c||93!=t.a)throw Fw(new rx(vWt((aL(),D8t))));break}if(XYt(t),!i){if(0==c){if(91==n)throw Fw(new rx(vWt((aL(),N8t))));if(93==n)throw Fw(new rx(vWt((aL(),P8t))));if(45==n&&!r&&93!=t.a)throw Fw(new rx(vWt((aL(),B8t))))}if(0!=t.c||45!=t.a||45==n&&r)VPt(o,n,n);else {if(XYt(t),1==(c=t.c))throw Fw(new rx(vWt((aL(),O8t))));if(0==c&&93==t.a)VPt(o,n,n),VPt(o,45,45);else {if(0==c&&93==t.a||24==c)throw Fw(new rx(vWt((aL(),B8t))));if(a=t.a,0==c){if(91==a)throw Fw(new rx(vWt((aL(),N8t))));if(93==a)throw Fw(new rx(vWt((aL(),P8t))));if(45==a)throw Fw(new rx(vWt((aL(),B8t))))}else 10==c&&(a=HBt(t));if(XYt(t),n>a)throw Fw(new rx(vWt((aL(),$8t))));VPt(o,n,a);}}}r=!1;}if(1==t.c)throw Fw(new rx(vWt((aL(),O8t))));return _Lt(o),HHt(o),t.b=0,XYt(t),o}function JYt(t){WLt(t.c,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#decimal"])),WLt(t.d,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#integer"])),WLt(t.e,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#boolean"])),WLt(t.f,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EBoolean",t8t,"EBoolean:Object"])),WLt(t.i,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#byte"])),WLt(t.g,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#hexBinary"])),WLt(t.j,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EByte",t8t,"EByte:Object"])),WLt(t.n,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EChar",t8t,"EChar:Object"])),WLt(t.t,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#double"])),WLt(t.u,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EDouble",t8t,"EDouble:Object"])),WLt(t.F,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#float"])),WLt(t.G,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EFloat",t8t,"EFloat:Object"])),WLt(t.I,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#int"])),WLt(t.J,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EInt",t8t,"EInt:Object"])),WLt(t.N,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#long"])),WLt(t.O,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"ELong",t8t,"ELong:Object"])),WLt(t.Z,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#short"])),WLt(t.$,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"EShort",t8t,"EShort:Object"])),WLt(t._,j7t,Cst(Hx(Xee,1),cXt,2,6,[Z7t,"http://www.w3.org/2001/XMLSchema#string"]));}function tWt(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(1==t.c.length)return l1(0,t.c.length),$z(t.c[0],135);if(t.c.length<=0)return new T6;for(u=new Kd(t);u.a<u.c.c.length;){for(s=$z(Q1(u),135),m=0,p=PWt,b=PWt,d=jXt,g=jXt,y=cwt(s.b,0);y.b!=y.d.c;)w=$z(h3(y),86),m+=$z(yTt(w,(SOt(),Ixe)),19).a,p=e.Math.min(p,w.e.a),b=e.Math.min(b,w.e.b),d=e.Math.max(d,w.e.a+w.f.a),g=e.Math.max(g,w.e.b+w.f.b);uct(s,(SOt(),Ixe),nft(m)),uct(s,(HUt(),Qve),new DA(p,b)),uct(s,Zve,new DA(d,g));}for(EV(),wL(t,new wo),Hot(x=new T6,(l1(0,t.c.length),$z(t.c[0],94))),f=0,C=0,l=new Kd(t);l.a<l.c.c.length;)s=$z(Q1(l),135),k=qR($L($z(yTt(s,(HUt(),Zve)),8)),$z(yTt(s,Qve),8)),f=e.Math.max(f,k.a),C+=k.a*k.b;for(f=e.Math.max(f,e.Math.sqrt(C)*Hv(_B(yTt(x,(SOt(),vxe))))),S=0,A=0,h=0,n=_=Hv(_B(yTt(x,Dxe))),c=new Kd(t);c.a<c.c.c.length;)s=$z(Q1(c),135),S+(k=qR($L($z(yTt(s,(HUt(),Zve)),8)),$z(yTt(s,Qve),8))).a>f&&(S=0,A+=h+_,h=0),kDt(x,s,S,A),n=e.Math.max(n,S+k.a),h=e.Math.max(h,k.b),S+=k.a+_;for(v=new Dw,i=new Dw,T=new Kd(t);T.a<T.c.c.length;)for(r=zv(kB(yTt(E=$z(Q1(T),135),(cWt(),lCe)))),o=(E.q?E.q:une).vc().Kc();o.Ob();)cK(v,(a=$z(o.Pb(),42)).cd())?HM($z(a.cd(),146).wg())!==HM(a.dd())&&(r&&cK(i,a.cd())?(IE(),$z(a.cd(),146).tg()):(YW(v,$z(a.cd(),146),a.dd()),uct(x,$z(a.cd(),146),a.dd()),r&&YW(i,$z(a.cd(),146),a.dd()))):(YW(v,$z(a.cd(),146),a.dd()),uct(x,$z(a.cd(),146),a.dd()));return x}function eWt(){eWt=I,BYt(),ZMt(pse=new pQ,(vKt(),dMe),fMe),ZMt(pse,_Me,fMe),ZMt(pse,gMe,fMe),ZMt(pse,vMe,fMe),ZMt(pse,mMe,fMe),ZMt(pse,wMe,fMe),ZMt(pse,vMe,dMe),ZMt(pse,fMe,cMe),ZMt(pse,dMe,cMe),ZMt(pse,_Me,cMe),ZMt(pse,gMe,cMe),ZMt(pse,yMe,cMe),ZMt(pse,vMe,cMe),ZMt(pse,mMe,cMe),ZMt(pse,wMe,cMe),ZMt(pse,hMe,cMe),ZMt(pse,fMe,xMe),ZMt(pse,dMe,xMe),ZMt(pse,cMe,xMe),ZMt(pse,_Me,xMe),ZMt(pse,gMe,xMe),ZMt(pse,yMe,xMe),ZMt(pse,vMe,xMe),ZMt(pse,hMe,xMe),ZMt(pse,kMe,xMe),ZMt(pse,mMe,xMe),ZMt(pse,pMe,xMe),ZMt(pse,wMe,xMe),ZMt(pse,dMe,_Me),ZMt(pse,gMe,_Me),ZMt(pse,vMe,_Me),ZMt(pse,wMe,_Me),ZMt(pse,dMe,gMe),ZMt(pse,_Me,gMe),ZMt(pse,vMe,gMe),ZMt(pse,gMe,gMe),ZMt(pse,mMe,gMe),ZMt(pse,fMe,uMe),ZMt(pse,dMe,uMe),ZMt(pse,cMe,uMe),ZMt(pse,xMe,uMe),ZMt(pse,_Me,uMe),ZMt(pse,gMe,uMe),ZMt(pse,yMe,uMe),ZMt(pse,vMe,uMe),ZMt(pse,kMe,uMe),ZMt(pse,hMe,uMe),ZMt(pse,wMe,uMe),ZMt(pse,mMe,uMe),ZMt(pse,bMe,uMe),ZMt(pse,fMe,kMe),ZMt(pse,dMe,kMe),ZMt(pse,cMe,kMe),ZMt(pse,_Me,kMe),ZMt(pse,gMe,kMe),ZMt(pse,yMe,kMe),ZMt(pse,vMe,kMe),ZMt(pse,hMe,kMe),ZMt(pse,wMe,kMe),ZMt(pse,pMe,kMe),ZMt(pse,bMe,kMe),ZMt(pse,dMe,hMe),ZMt(pse,_Me,hMe),ZMt(pse,gMe,hMe),ZMt(pse,vMe,hMe),ZMt(pse,kMe,hMe),ZMt(pse,wMe,hMe),ZMt(pse,mMe,hMe),ZMt(pse,fMe,lMe),ZMt(pse,dMe,lMe),ZMt(pse,cMe,lMe),ZMt(pse,_Me,lMe),ZMt(pse,gMe,lMe),ZMt(pse,yMe,lMe),ZMt(pse,vMe,lMe),ZMt(pse,hMe,lMe),ZMt(pse,wMe,lMe),ZMt(pse,dMe,mMe),ZMt(pse,cMe,mMe),ZMt(pse,xMe,mMe),ZMt(pse,gMe,mMe),ZMt(pse,fMe,pMe),ZMt(pse,dMe,pMe),ZMt(pse,xMe,pMe),ZMt(pse,_Me,pMe),ZMt(pse,gMe,pMe),ZMt(pse,yMe,pMe),ZMt(pse,vMe,pMe),ZMt(pse,vMe,bMe),ZMt(pse,gMe,bMe),ZMt(pse,hMe,fMe),ZMt(pse,hMe,_Me),ZMt(pse,hMe,cMe),ZMt(pse,yMe,fMe),ZMt(pse,yMe,dMe),ZMt(pse,yMe,xMe);}function nWt(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 UV(t.b,t.a,e,t.c);case 1:return new OD(t.a,e,Igt(e.Tg(),t.c));case 43:return new DD(t.a,e,Igt(e.Tg(),t.c));case 3:return new ID(t.a,e,Igt(e.Tg(),t.c));case 45:return new LD(t.a,e,Igt(e.Tg(),t.c));case 41:return new y7($z(Axt(t.c),26),t.a,e,Igt(e.Tg(),t.c));case 50:return new mit($z(Axt(t.c),26),t.a,e,Igt(e.Tg(),t.c));case 5:return new ej(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 47:return new nj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 7:return new tK(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 49:return new tj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 9:return new jD(t.a,e,Igt(e.Tg(),t.c));case 11:return new RD(t.a,e,Igt(e.Tg(),t.c));case 13:return new BD(t.a,e,Igt(e.Tg(),t.c));case 15:return new _H(t.a,e,Igt(e.Tg(),t.c));case 17:return new $D(t.a,e,Igt(e.Tg(),t.c));case 19:return new PD(t.a,e,Igt(e.Tg(),t.c));case 21:return new ND(t.a,e,Igt(e.Tg(),t.c));case 23:return new yH(t.a,e,Igt(e.Tg(),t.c));case 25:return new uj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 27:return new cj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 29:return new oj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 31:return new ij(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 33:return new sj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 35:return new aj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 37:return new rj(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 39:return new eK(t.a,e,Igt(e.Tg(),t.c),t.d.n);case 40:return new kat(e,Igt(e.Tg(),t.c));default:throw Fw(new dv("Unknown feature style: "+t.e))}}function iWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;switch(MEt(n,"Brandes & Koepf node placement",1),t.a=e,t.c=$Ft(e),i=$z(yTt(e,(zYt(),Lbe)),274),d=zv(kB(yTt(e,Dbe))),t.d=i==(Fkt(),Wle)&&!d||i==qle,ZUt(t,e),v=null,x=null,b=null,w=null,hit(4,IXt),p=new V6(4),$z(yTt(e,Lbe),274).g){case 3:b=new Hjt(e,t.c.d,(oJ(),nve),(gQ(),Qme)),p.c[p.c.length]=b;break;case 1:w=new Hjt(e,t.c.d,(oJ(),ive),(gQ(),Qme)),p.c[p.c.length]=w;break;case 4:v=new Hjt(e,t.c.d,(oJ(),nve),(gQ(),Jme)),p.c[p.c.length]=v;break;case 2:x=new Hjt(e,t.c.d,(oJ(),ive),(gQ(),Jme)),p.c[p.c.length]=x;break;default:b=new Hjt(e,t.c.d,(oJ(),nve),(gQ(),Qme)),w=new Hjt(e,t.c.d,ive,Qme),v=new Hjt(e,t.c.d,nve,Jme),x=new Hjt(e,t.c.d,ive,Jme),p.c[p.c.length]=v,p.c[p.c.length]=x,p.c[p.c.length]=b,p.c[p.c.length]=w;}for(r=new eA(e,t.c),s=new Kd(p);s.a<s.c.c.length;)CYt(r,a=$z(Q1(s),180),t.b),Yzt(a);for(f=new Zvt(e,t.c),c=new Kd(p);c.a<c.c.c.length;)zqt(f,a=$z(Q1(c),180));if(n.n)for(u=new Kd(p);u.a<u.c.c.length;)AH(n,(a=$z(Q1(u),180))+" size is "+wLt(a));if(h=null,t.d&&Azt(e,l=$Kt(t,p,t.c.d),n)&&(h=l),!h)for(u=new Kd(p);u.a<u.c.c.length;)Azt(e,a=$z(Q1(u),180),n)&&(!h||wLt(h)>wLt(a))&&(h=a);for(!h&&(l1(0,p.c.length),h=$z(p.c[0],180)),g=new Kd(e.b);g.a<g.c.c.length;)for(m=new Kd($z(Q1(g),29).a);m.a<m.c.c.length;)(y=$z(Q1(m),10)).n.b=Hv(h.p[y.p])+Hv(h.d[y.p]);for(n.n&&(AH(n,"Chosen node placement: "+h),AH(n,"Blocks: "+NIt(h)),AH(n,"Classes: "+qOt(h,n)),AH(n,"Marked edges: "+t.b)),o=new Kd(p);o.a<o.c.c.length;)(a=$z(Q1(o),180)).g=null,a.b=null,a.a=null,a.d=null,a.j=null,a.i=null,a.p=null;Grt(t.c),t.b.a.$b(),zCt(n);}function rWt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(o=new XE,y=$z(yTt(n,(zYt(),Gpe)),103),g=0,$rt(o,(!e.a&&(e.a=new tK(UIe,e,10,11)),e.a));0!=o.b;)u=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),33),(HM(QOt(e,Ope))!==HM((yct(),Lye))||HM(QOt(e,Hpe))===HM((Wyt(),xle))||HM(QOt(e,Hpe))===HM((Wyt(),mle))||zv(kB(QOt(e,Dpe)))||HM(QOt(e,Cpe))!==HM((Fht(),fse)))&&!zv(kB(QOt(u,Ipe)))&&Vwt(u,(uWt(),ffe),nft(g++)),!zv(kB(QOt(u,Hbe)))&&(h=0!=(!u.a&&(u.a=new tK(UIe,u,10,11)),u.a).i,d=vEt(u),f=HM(QOt(u,sbe))===HM((oht(),pAe)),b=null,(E=!T8(u,(cWt(),tCe))||wj(EB(QOt(u,tCe)),d1t))&&f&&(h||d)&&(uct(b=vFt(u),Gpe,y),OP(b,gwe)&&_v(new ogt(Hv(_B(yTt(b,gwe)))),b),0!=$z(QOt(u,jbe),174).gc()&&(l=b,VE(new PU(null,(!u.c&&(u.c=new tK(GIe,u,9,9)),new f1(u.c,16))),new qg(l)),yBt(u,b))),m=n,(v=$z(PY(t.a,VQ(u)),10))&&(m=v.e),p=dqt(t,u,m),b&&(p.e=b,b.e=p,$rt(o,(!u.a&&(u.a=new tK(UIe,u,10,11)),u.a))));for(g=0,n5(o,e,o.c.b,o.c);0!=o.b;){for(c=new MD((!(a=$z(0==o.b?null:(TP(0!=o.b),Iet(o,o.a.a)),33)).b&&(a.b=new tK(BIe,a,12,3)),a.b));c.e!=c.i.gc();)tjt(s=$z(vwt(c),79)),(HM(QOt(e,Ope))!==HM((yct(),Lye))||HM(QOt(e,Hpe))===HM((Wyt(),xle))||HM(QOt(e,Hpe))===HM((Wyt(),mle))||zv(kB(QOt(e,Dpe)))||HM(QOt(e,Cpe))!==HM((Fht(),fse)))&&Vwt(s,(uWt(),ffe),nft(g++)),k=CEt($z(Yet((!s.b&&(s.b=new cj(PIe,s,4,7)),s.b),0),82)),_=CEt($z(Yet((!s.c&&(s.c=new cj(PIe,s,5,8)),s.c),0),82)),zv(kB(QOt(s,Hbe)))||zv(kB(QOt(k,Hbe)))||zv(kB(QOt(_,Hbe)))||(w=a,XMt(s)&&zv(kB(QOt(k,fbe)))&&zv(kB(QOt(s,dbe)))||Set(_,k)?w=k:Set(k,_)&&(w=_),m=n,(v=$z(PY(t.a,w),10))&&(m=v.e),uct(oWt(t,s,w,m),(uWt(),jhe),LPt(t,s,e,n)));if(f=HM(QOt(a,sbe))===HM((oht(),pAe)))for(r=new MD((!a.a&&(a.a=new tK(UIe,a,10,11)),a.a));r.e!=r.i.gc();)E=!T8(i=$z(vwt(r),33),(cWt(),tCe))||wj(EB(QOt(i,tCe)),d1t),x=HM(QOt(i,sbe))===HM(pAe),E&&x&&n5(o,i,o.c.b,o.c);}}function aWt(t,e,n,i,r,a){var o,s,c,u,l,h,f;switch(e){case 71:o=i.q.getFullYear()-cVt>=-1900?1:0,oI(t,n>=4?Cst(Hx(Xee,1),cXt,2,6,[lVt,hVt])[o]:Cst(Hx(Xee,1),cXt,2,6,["BC","AD"])[o]);break;case 121:swt(t,n,i);break;case 77:Kjt(t,n,i);break;case 107:xtt(t,0==(s=r.q.getHours())?24:s,n);break;case 83:BDt(t,n,r);break;case 69:c=i.q.getDay(),oI(t,5==n?Cst(Hx(Xee,1),cXt,2,6,["S","M","T","W","T","F","S"])[c]:4==n?Cst(Hx(Xee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt])[c]:Cst(Hx(Xee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?oI(t,Cst(Hx(Xee,1),cXt,2,6,["AM","PM"])[1]):oI(t,Cst(Hx(Xee,1),cXt,2,6,["AM","PM"])[0]);break;case 104:xtt(t,0==(u=r.q.getHours()%12)?12:u,n);break;case 75:xtt(t,r.q.getHours()%12,n);break;case 72:xtt(t,r.q.getHours(),n);break;case 99:l=i.q.getDay(),5==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,["S","M","T","W","T","F","S"])[l]):4==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,[fVt,dVt,gVt,pVt,bVt,wVt,yVt])[l]):3==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[l]):xtt(t,l,1);break;case 76:h=i.q.getMonth(),5==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,[VXt,ZXt,QXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt,oVt,sVt])[h]):3==n?oI(t,Cst(Hx(Xee,1),cXt,2,6,["Jan","Feb","Mar","Apr",tVt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):xtt(t,h+1,n);break;case 81:f=i.q.getMonth()/3|0,oI(t,n<4?Cst(Hx(Xee,1),cXt,2,6,["Q1","Q2","Q3","Q4"])[f]:Cst(Hx(Xee,1),cXt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[f]);break;case 100:xtt(t,i.q.getDate(),n);break;case 109:xtt(t,r.q.getMinutes(),n);break;case 115:xtt(t,r.q.getSeconds(),n);break;case 122:oI(t,n<4?a.c[0]:a.c[1]);break;case 118:oI(t,a.b);break;case 90:oI(t,n<3?JAt(a):3==n?dMt(a):gMt(a.a));break;default:return !1}return !0}function oWt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(tjt(e),c=$z(Yet((!e.b&&(e.b=new cj(PIe,e,4,7)),e.b),0),82),l=$z(Yet((!e.c&&(e.c=new cj(PIe,e,5,8)),e.c),0),82),s=CEt(c),u=CEt(l),o=0==(!e.a&&(e.a=new tK(RIe,e,6,6)),e.a).i?null:$z(Yet((!e.a&&(e.a=new tK(RIe,e,6,6)),e.a),0),202),k=$z(PY(t.a,s),10),C=$z(PY(t.a,u),10),_=null,S=null,iD(c,186)&&(iD(x=$z(PY(t.a,c),299),11)?_=$z(x,11):iD(x,10)&&(k=$z(x,10),_=$z(DU(k.j,0),11))),iD(l,186)&&(iD(T=$z(PY(t.a,l),299),11)?S=$z(T,11):iD(T,10)&&(C=$z(T,10),S=$z(DU(C.j,0),11))),!k||!C)throw Fw(new ix("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(Hot(p=new fZ,e),uct(p,(uWt(),dfe),e),uct(p,(zYt(),bbe),null),d=$z(yTt(i,Zhe),21),k==C&&d.Fc((fBt(),bhe)),_||(ait(),v=zye,E=null,o&&bO($z(yTt(k,twe),98))&&(X3(E=new DA(o.j,o.k),qQ(e)),J4(E,n),Set(u,s)&&(v=Fye,GR(E,k.n))),_=gHt(k,E,v,i)),S||(ait(),v=Fye,A=null,o&&bO($z(yTt(C,twe),98))&&(X3(A=new DA(o.b,o.c),qQ(e)),J4(A,n)),S=gHt(C,A,v,bW(C))),EJ(p,_),_J(p,S),(_.e.c.length>1||_.g.c.length>1||S.e.c.length>1||S.g.c.length>1)&&d.Fc((fBt(),hhe)),f=new MD((!e.n&&(e.n=new tK(HIe,e,1,7)),e.n));f.e!=f.i.gc();)if(!zv(kB(QOt(h=$z(vwt(f),137),Hbe)))&&h.a)switch(b=zlt(h),Kz(p.b,b),$z(yTt(b,Xpe),272).g){case 1:case 2:d.Fc((fBt(),uhe));break;case 0:d.Fc((fBt(),she)),uct(b,Xpe,(Bet(),USe));}if(a=$z(yTt(i,zpe),314),w=$z(yTt(i,Rbe),315),r=a==(Mit(),sle)||w==(Dyt(),pye),o&&0!=(!o.a&&(o.a=new ID(LIe,o,5)),o.a).i&&r){for(y=HCt(o),g=new mm,m=cwt(y,0);m.b!=m.d.c;)NH(g,new fO($z(h3(m),8)));uct(p,gfe,g);}return p}function sWt(t){t.gb||(t.gb=!0,t.b=vot(t,0),Brt(t.b,18),Rrt(t.b,19),t.a=vot(t,1),Brt(t.a,1),Rrt(t.a,2),Rrt(t.a,3),Rrt(t.a,4),Rrt(t.a,5),t.o=vot(t,2),Brt(t.o,8),Brt(t.o,9),Rrt(t.o,10),Rrt(t.o,11),Rrt(t.o,12),Rrt(t.o,13),Rrt(t.o,14),Rrt(t.o,15),Rrt(t.o,16),Rrt(t.o,17),Rrt(t.o,18),Rrt(t.o,19),Rrt(t.o,20),Rrt(t.o,21),Rrt(t.o,22),Rrt(t.o,23),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),oet(t.o),t.p=vot(t,3),Brt(t.p,2),Brt(t.p,3),Brt(t.p,4),Brt(t.p,5),Rrt(t.p,6),Rrt(t.p,7),oet(t.p),oet(t.p),t.q=vot(t,4),Brt(t.q,8),t.v=vot(t,5),Rrt(t.v,9),oet(t.v),oet(t.v),oet(t.v),t.w=vot(t,6),Brt(t.w,2),Brt(t.w,3),Brt(t.w,4),Rrt(t.w,5),t.B=vot(t,7),Rrt(t.B,1),oet(t.B),oet(t.B),oet(t.B),t.Q=vot(t,8),Rrt(t.Q,0),oet(t.Q),t.R=vot(t,9),Brt(t.R,1),t.S=vot(t,10),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),oet(t.S),t.T=vot(t,11),Rrt(t.T,10),Rrt(t.T,11),Rrt(t.T,12),Rrt(t.T,13),Rrt(t.T,14),oet(t.T),oet(t.T),t.U=vot(t,12),Brt(t.U,2),Brt(t.U,3),Rrt(t.U,4),Rrt(t.U,5),Rrt(t.U,6),Rrt(t.U,7),oet(t.U),t.V=vot(t,13),Rrt(t.V,10),t.W=vot(t,14),Brt(t.W,18),Brt(t.W,19),Brt(t.W,20),Rrt(t.W,21),Rrt(t.W,22),Rrt(t.W,23),t.bb=vot(t,15),Brt(t.bb,10),Brt(t.bb,11),Brt(t.bb,12),Brt(t.bb,13),Brt(t.bb,14),Brt(t.bb,15),Brt(t.bb,16),Rrt(t.bb,17),oet(t.bb),oet(t.bb),t.eb=vot(t,16),Brt(t.eb,2),Brt(t.eb,3),Brt(t.eb,4),Brt(t.eb,5),Brt(t.eb,6),Brt(t.eb,7),Rrt(t.eb,8),Rrt(t.eb,9),t.ab=vot(t,17),Brt(t.ab,0),Brt(t.ab,1),t.H=vot(t,18),Rrt(t.H,0),Rrt(t.H,1),Rrt(t.H,2),Rrt(t.H,3),Rrt(t.H,4),Rrt(t.H,5),oet(t.H),t.db=vot(t,19),Rrt(t.db,2),t.c=xot(t,20),t.d=xot(t,21),t.e=xot(t,22),t.f=xot(t,23),t.i=xot(t,24),t.g=xot(t,25),t.j=xot(t,26),t.k=xot(t,27),t.n=xot(t,28),t.r=xot(t,29),t.s=xot(t,30),t.t=xot(t,31),t.u=xot(t,32),t.fb=xot(t,33),t.A=xot(t,34),t.C=xot(t,35),t.D=xot(t,36),t.F=xot(t,37),t.G=xot(t,38),t.I=xot(t,39),t.J=xot(t,40),t.L=xot(t,41),t.M=xot(t,42),t.N=xot(t,43),t.O=xot(t,44),t.P=xot(t,45),t.X=xot(t,46),t.Y=xot(t,47),t.Z=xot(t,48),t.$=xot(t,49),t._=xot(t,50),t.cb=xot(t,51),t.K=xot(t,52));}function cWt(){var t,e;cWt=I,tCe=new aw(d5t),wSe=new aw(g5t),dyt(),eCe=new II(Y2t,nCe=CTe),iCe=new II(WQt,null),rCe=new aw(p5t),d_t(),uCe=xG(ZTe,Cst(Hx(zSe,1),OXt,291,0,[YTe])),cCe=new II(o3t,uCe),lCe=new II(K2t,(cN(),!1)),$ht(),hCe=new II(Z2t,fCe=$Se),Edt(),bCe=new II(m2t,wCe=ZSe),vCe=new II(I4t,!1),oht(),xCe=new II(g2t,kCe=bAe),KCe=new KO(12),qCe=new II(XQt,KCe),CCe=new II(xJt,!1),SCe=new II(y3t,!1),GCe=new II(EJt,!1),X_t(),aSe=new II(kJt,oSe=XAe),gSe=new aw(p3t),pSe=new aw(bJt),bSe=new aw(mJt),mSe=new aw(vJt),MCe=new mm,ACe=new II(s3t,MCe),sCe=new II(l3t,!1),_Ce=new II(h3t,!1),OCe=new lm,ICe=new II(b3t,OCe),UCe=new II(G2t,!1),ySe=new II(w5t,1),new II(y5t,!0),nft(0),new II(m5t,nft(100)),new II(v5t,!1),nft(0),new II(x5t,nft(4e3)),nft(0),new II(k5t,nft(400)),new II(_5t,!1),new II(E5t,!1),new II(T5t,!0),new II(C5t,!1),$gt(),aCe=new II(f5t,oCe=tIe),vSe=new II(L2t,10),xSe=new II(D2t,10),kSe=new II(KQt,20),_Se=new II(N2t,10),ESe=new II(yJt,2),TSe=new II(P2t,10),SSe=new II(B2t,0),ASe=new II($2t,5),MSe=new II(R2t,1),ISe=new II(j2t,1),OSe=new II(wJt,20),LSe=new II(F2t,10),PSe=new II(z2t,10),CSe=new aw(H2t),NSe=new lO,DSe=new II(w3t,NSe),XCe=new aw(g3t),YCe=new II(d3t,WCe=!1),DCe=new KO(5),LCe=new II(Q2t,DCe),JOt(),e=$z(Yk(HAe),9),PCe=new Xj(e,$z(ER(e,e.length),9),0),NCe=new II(SJt,PCe),rwt(),ZCe=new II(e3t,QCe=$Ae),tSe=new aw(n3t),eSe=new aw(i3t),nSe=new aw(r3t),JCe=new aw(a3t),t=$z(Yk(XMe),9),RCe=new Xj(t,$z(ER(t,t.length),9),0),BCe=new II(CJt,RCe),HCe=Jft((Jjt(),HMe)),zCe=new II(TJt,HCe),FCe=new DA(0,0),$Ce=new II(FJt,FCe),jCe=new II(V2t,!1),Bet(),gCe=new II(c3t,pCe=USe),dCe=new II(_Jt,!1),nft(1),new II(A5t,null),iSe=new aw(f3t),sSe=new aw(u3t),vKt(),fSe=new II(q2t,dSe=TMe),rSe=new aw(U2t),hMt(),lSe=Jft(nMe),uSe=new II(AJt,lSe),cSe=new II(J2t,!1),hSe=new II(t3t,!0),ECe=new II(W2t,!1),TCe=new II(X2t,!1),yCe=new II(YQt,1),JEt(),new II(M5t,mCe=rAe),VCe=!0;}function uWt(){var t,e;uWt=I,dfe=new aw(MJt),jhe=new aw("coordinateOrigin"),_fe=new aw("processors"),Rhe=new eR("compoundNode",(cN(),!1)),tfe=new eR("insideConnections",!1),gfe=new aw("originalBendpoints"),pfe=new aw("originalDummyNodePosition"),bfe=new aw("originalLabelEdge"),Tfe=new aw("representedLabels"),Uhe=new aw("endLabels"),Ghe=new aw("endLabel.origin"),afe=new eR("labelSide",(Kvt(),_Ae)),hfe=new eR("maxEdgeThickness",0),Cfe=new eR("reversed",!1),Efe=new aw(IJt),cfe=new eR("longEdgeSource",null),ufe=new eR("longEdgeTarget",null),sfe=new eR("longEdgeHasLabelDummies",!1),ofe=new eR("longEdgeBeforeLabelDummy",!1),Hhe=new eR("edgeConstraint",(Zst(),Mle)),nfe=new aw("inLayerLayoutUnit"),efe=new eR("inLayerConstraint",(U9(),The)),ife=new eR("inLayerSuccessorConstraint",new Lw),rfe=new eR("inLayerSuccessorConstraintBetweenNonDummies",!1),xfe=new aw("portDummy"),$he=new eR("crossingHint",nft(0)),Zhe=new eR("graphProperties",new Xj(e=$z(Yk(khe),9),$z(ER(e,e.length),9),0)),Whe=new eR("externalPortSide",(vKt(),TMe)),Xhe=new eR("externalPortSize",new Hk),Khe=new aw("externalPortReplacedDummies"),Yhe=new aw("externalPortReplacedDummy"),qhe=new eR("externalPortConnections",new Xj(t=$z(Yk(jMe),9),$z(ER(t,t.length),9),0)),kfe=new eR(gQt,0),Dhe=new aw("barycenterAssociates"),Bfe=new aw("TopSideComments"),Nhe=new aw("BottomSideComments"),Bhe=new aw("CommentConnectionPort"),Jhe=new eR("inputCollect",!1),mfe=new eR("outputCollect",!1),zhe=new eR("cyclic",!1),Fhe=new aw("crossHierarchyMap"),Pfe=new aw("targetOffset"),new eR("splineLabelSize",new Hk),Mfe=new aw("spacings"),vfe=new eR("partitionConstraint",!1),Phe=new aw("breakingPoint.info"),Dfe=new aw("splines.survivingEdge"),Lfe=new aw("splines.route.start"),Ife=new aw("splines.edgeChain"),yfe=new aw("originalPortConstraints"),Afe=new aw("selfLoopHolder"),Ofe=new aw("splines.nsPortY"),ffe=new aw("modelOrder"),lfe=new aw("longEdgeTargetNode"),Vhe=new eR(G1t,!1),Sfe=new eR(G1t,!1),Qhe=new aw("layerConstraints.hiddenNodes"),wfe=new aw("layerConstraints.opposidePort"),Nfe=new aw("targetNode.modelOrder");}function lWt(){lWt=I,Rtt(),Ede=new II(q1t,Tde=Ele),Hde=new II(K1t,(cN(),!1)),U2(),Yde=new II(Y1t,Wde=Mhe),fge=new II(W1t,!1),dge=new II(X1t,!0),Gfe=new II(V1t,!1),G9(),Lge=new II(Z1t,Dge=Bye),nft(1),zge=new II(Q1t,nft(7)),Hge=new II(J1t,!1),Ude=new II(t0t,!1),Wyt(),kde=new II(e0t,_de=yle),_Et(),lge=new II(n0t,hge=Jwe),_dt(),tge=new II(i0t,ege=zfe),nft(-1),Jde=new II(r0t,nft(-1)),nft(-1),nge=new II(a0t,nft(-1)),nft(-1),ige=new II(o0t,nft(4)),nft(-1),age=new II(s0t,nft(2)),cNt(),cge=new II(c0t,uge=Sye),nft(0),sge=new II(u0t,nft(0)),Zde=new II(l0t,nft(PWt)),Mit(),vde=new II(h0t,xde=cle),ade=new II(f0t,!1),gde=new II(d0t,.1),yde=new II(g0t,!1),nft(-1),bde=new II(p0t,nft(-1)),nft(-1),wde=new II(b0t,nft(-1)),nft(0),ode=new II(w0t,nft(40)),Rot(),hde=new II(y0t,fde=xhe),sde=new II(m0t,cde=mhe),Dyt(),Ige=new II(v0t,Oge=gye),vge=new aw(x0t),g9(),gge=new II(k0t,pge=zle),Fkt(),wge=new II(_0t,yge=Wle),_ge=new II(E0t,.3),Tge=new aw(T0t),fyt(),Cge=new II(C0t,Sge=lye),zat(),Lde=new II(S0t,Dde=Kye),M6(),Nde=new II(A0t,Pde=Zye),qut(),Bde=new II(M0t,Rde=nme),$de=new II(I0t,.2),Ide=new II(O0t,2),Rge=new II(L0t,null),$ge=new II(D0t,10),jge=new II(N0t,10),Fge=new II(P0t,20),nft(0),Nge=new II(B0t,nft(0)),nft(0),Pge=new II(R0t,nft(0)),nft(0),Bge=new II(j0t,nft(0)),qfe=new II($0t,!1),ZTt(),Wfe=new II(F0t,Xfe=ihe),Y8(),Kfe=new II(z0t,Yfe=rle),qde=new II(H0t,!1),nft(0),Gde=new II(U0t,nft(16)),nft(0),Kde=new II(G0t,nft(5)),Ost(),lpe=new II(q0t,hpe=hme),Uge=new II(K0t,10),Kge=new II(Y0t,1),oit(),tpe=new II(W0t,epe=gle),Xge=new aw(X0t),Qge=nft(1),nft(0),Zge=new II(V0t,Qge),gat(),ppe=new II(Z0t,bpe=ame),fpe=new aw(Q0t),ope=new II(J0t,!0),rpe=new II(t2t,2),cpe=new II(e2t,!0),pCt(),Ade=new II(n2t,Mde=Rle),OSt(),Cde=new II(i2t,Sde=Zue),yct(),ide=new II(r2t,rde=Lye),nde=new II(a2t,!1),Fht(),Vfe=new II(o2t,Zfe=fse),Elt(),tde=new II(s2t,ede=iye),Qfe=new II(c2t,0),Jfe=new II(u2t,0),Vde=vle,Xde=sle,rge=Qwe,oge=Qwe,Qde=Xwe,oht(),pde=pAe,mde=cle,dde=cle,ude=cle,lde=pAe,xge=wye,kge=gye,bge=gye,mge=gye,Ege=bye,Mge=wye,Age=wye,Edt(),jde=VSe,Fde=VSe,zde=nme,Ode=XSe,Gge=fme,qge=lme,Yge=fme,Wge=lme,npe=fme,ipe=lme,Vge=dle,Jge=gle,wpe=fme,ype=lme,dpe=fme,gpe=lme,spe=lme,ape=lme,upe=lme;}function hWt(){hWt=I,nce=new QC("DIRECTION_PREPROCESSOR",0),Jse=new QC("COMMENT_PREPROCESSOR",1),ice=new QC("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),mce=new QC("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),jce=new QC("PARTITION_PREPROCESSOR",4),_ce=new QC("LABEL_DUMMY_INSERTER",5),Gce=new QC("SELF_LOOP_PREPROCESSOR",6),Ace=new QC("LAYER_CONSTRAINT_PREPROCESSOR",7),Bce=new QC("PARTITION_MIDPROCESSOR",8),gce=new QC("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Lce=new QC("NODE_PROMOTION",10),Sce=new QC("LAYER_CONSTRAINT_POSTPROCESSOR",11),Rce=new QC("PARTITION_POSTPROCESSOR",12),lce=new QC("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Kce=new QC("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Yse=new QC("BREAKING_POINT_INSERTER",15),Oce=new QC("LONG_EDGE_SPLITTER",16),Fce=new QC("PORT_SIDE_PROCESSOR",17),vce=new QC("INVERTED_PORT_PROCESSOR",18),$ce=new QC("PORT_LIST_SORTER",19),Wce=new QC("SORT_BY_INPUT_ORDER_OF_MODEL",20),Nce=new QC("NORTH_SOUTH_PORT_PREPROCESSOR",21),Wse=new QC("BREAKING_POINT_PROCESSOR",22),Pce=new QC(k1t,23),Xce=new QC(_1t,24),Hce=new QC("SELF_LOOP_PORT_RESTORER",25),Yce=new QC("SINGLE_EDGE_GRAPH_WRAPPER",26),xce=new QC("IN_LAYER_CONSTRAINT_PROCESSOR",27),sce=new QC("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),kce=new QC("LABEL_AND_NODE_SIZE_PROCESSOR",29),yce=new QC("INNERMOST_NODE_MARGIN_CALCULATOR",30),qce=new QC("SELF_LOOP_ROUTER",31),Zse=new QC("COMMENT_NODE_MARGIN_CALCULATOR",32),ace=new QC("END_LABEL_PREPROCESSOR",33),Tce=new QC("LABEL_DUMMY_SWITCHER",34),Vse=new QC("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Cce=new QC("LABEL_SIDE_SELECTOR",36),bce=new QC("HYPEREDGE_DUMMY_MERGER",37),hce=new QC("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Mce=new QC("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),dce=new QC("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),tce=new QC("CONSTRAINTS_POSTPROCESSOR",41),Qse=new QC("COMMENT_POSTPROCESSOR",42),wce=new QC("HYPERNODE_PROCESSOR",43),fce=new QC("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Ice=new QC("LONG_EDGE_JOINER",45),Uce=new QC("SELF_LOOP_POSTPROCESSOR",46),Xse=new QC("BREAKING_POINT_REMOVER",47),Dce=new QC("NORTH_SOUTH_PORT_POSTPROCESSOR",48),pce=new QC("HORIZONTAL_COMPACTOR",49),Ece=new QC("LABEL_DUMMY_REMOVER",50),cce=new QC("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),oce=new QC("END_LABEL_SORTER",52),zce=new QC("REVERSED_EDGE_RESTORER",53),rce=new QC("END_LABEL_POSTPROCESSOR",54),uce=new QC("HIERARCHICAL_NODE_RESIZER",55),ece=new QC("DIRECTION_POSTPROCESSOR",56);}function fWt(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,O,L,D,N,P,B,R,j,$,F,z,H,U,G,q,K,Y,W,X,V,Z,Q,J,tt,et,nt,it,rt,at,ot,st;for(Q=0,D=0,B=(I=n).length;D<B;++D)for(G=new Kd((A=I[D]).j);G.a<G.c.c.length;){for(K=0,c=new Kd((U=$z(Q1(G),11)).g);c.a<c.c.c.length;)s=$z(Q1(c),17),A.c!=s.d.i.c&&++K;K>0&&(t.a[U.p]=Q++);}for(it=0,N=0,R=(O=i).length;N<R;++N){for(j=0,G=new Kd((A=O[N]).j);G.a<G.c.c.length&&(U=$z(Q1(G),11)).j==(vKt(),sMe);)for(c=new Kd(U.e);c.a<c.c.c.length;)if(s=$z(Q1(c),17),A.c!=s.c.i.c){++j;break}for(F=0,Y=new _2(A.j,A.j.c.length);Y.b>0;){for(TP(Y.b>0),K=0,c=new Kd((U=$z(Y.a.Xb(Y.c=--Y.b),11)).e);c.a<c.c.c.length;)s=$z(Q1(c),17),A.c!=s.c.i.c&&++K;K>0&&(U.j==(vKt(),sMe)?(t.a[U.p]=it,++it):(t.a[U.p]=it+j+F,++F));}it+=F;}for(q=new Dw,p=new uO,L=0,P=(M=n).length;L<P;++L)for(et=new Kd((A=M[L]).j);et.a<et.c.c.length;)for(c=new Kd((tt=$z(Q1(et),11)).g);c.a<c.c.c.length;)if(at=(s=$z(Q1(c),17)).d,A.c!=at.i.c)if(J=$z(zM(MZ(q.f,tt)),467),rt=$z(zM(MZ(q.f,at)),467),J||rt)if(J)if(rt)if(J==rt)Kz(J.a,s);else {for(Kz(J.a,s),H=new Kd(rt.d);H.a<H.c.c.length;)z=$z(Q1(H),11),xAt(q.f,z,J);pst(J.a,rt.a),pst(J.d,rt.d),p.a.Bc(rt);}else Kz(J.a,s),Kz(J.d,at),xAt(q.f,at,J);else Kz(rt.a,s),Kz(rt.d,tt),xAt(q.f,tt,rt);else g=new NR,p.a.zc(g,p),Kz(g.a,s),Kz(g.d,tt),xAt(q.f,tt,g),Kz(g.d,at),xAt(q.f,at,g);for(b=$z(kmt(p,D8(jme,{3:1,4:1,5:1,1946:1},467,p.a.gc(),0,1)),1946),S=n[0].c,Z=i[0].c,f=0,d=(h=b).length;f<d;++f)for((l=h[f]).e=Q,l.f=it,G=new Kd(l.d);G.a<G.c.c.length;)U=$z(Q1(G),11),W=t.a[U.p],U.i.c==S?(W<l.e&&(l.e=W),W>l.b&&(l.b=W)):U.i.c==Z&&(W<l.f&&(l.f=W),W>l.c&&(l.c=W));for(U7(b,0,b.length,null),nt=D8(ANe,uVt,25,b.length,15,1),r=D8(ANe,uVt,25,it+1,15,1),y=0;y<b.length;y++)nt[y]=b[y].f,r[nt[y]]=1;for(o=0,m=0;m<r.length;m++)1==r[m]?r[m]=o:--o;for(X=0,v=0;v<nt.length;v++)nt[v]+=r[nt[v]],X=e.Math.max(X,nt[v]+1);for(u=1;u<X;)u*=2;for(st=2*u-1,u-=1,ot=D8(ANe,uVt,25,st,15,1),a=0,T=0;T<nt.length;T++)for(++ot[E=nt[T]+u];E>0;)E%2>0&&(a+=ot[E+1]),++ot[E=(E-1)/2|0];for(C=D8(zme,zWt,362,2*b.length,0,1),x=0;x<b.length;x++)C[2*x]=new zX(b[x],b[x].e,b[x].b,(W4(),Fme)),C[2*x+1]=new zX(b[x],b[x].b,b[x].e,$me);for(U7(C,0,C.length,null),$=0,k=0;k<C.length;k++)switch(C[k].d.g){case 0:++$;break;case 1:a+=--$;}for(V=D8(zme,zWt,362,2*b.length,0,1),_=0;_<b.length;_++)V[2*_]=new zX(b[_],b[_].f,b[_].c,(W4(),Fme)),V[2*_+1]=new zX(b[_],b[_].c,b[_].f,$me);for(U7(V,0,V.length,null),$=0,w=0;w<V.length;w++)switch(V[w].d.g){case 0:++$;break;case 1:a+=--$;}return a}function dWt(){dWt=I,oNe=new Mw(7),sNe=new oG(8,94),new oG(8,64),cNe=new oG(8,36),gNe=new oG(8,65),pNe=new oG(8,122),bNe=new oG(8,90),mNe=new oG(8,98),fNe=new oG(8,66),wNe=new oG(8,60),vNe=new oG(8,62),aNe=new Mw(11),VPt(rNe=new _0(4),48,57),VPt(yNe=new _0(4),48,57),VPt(yNe,65,90),VPt(yNe,95,95),VPt(yNe,97,122),VPt(dNe=new _0(4),9,9),VPt(dNe,10,10),VPt(dNe,12,12),VPt(dNe,13,13),VPt(dNe,32,32),uNe=OFt(rNe),hNe=OFt(yNe),lNe=OFt(dNe),tNe=new Dw,eNe=new Dw,nNe=Cst(Hx(Xee,1),cXt,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"]),JDe=Cst(Hx(Xee,1),cXt,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",pte,"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"]),iNe=Cst(Hx(ANe,1),uVt,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631]);}function gWt(){gWt=I,Tre=new sat("OUT_T_L",0,(V7(),Xie),(H9(),ere),(Pet(),Hie),Hie,Cst(Hx(Pte,1),zWt,21,0,[xG((JOt(),OAe),Cst(Hx(HAe,1),OXt,93,0,[NAe,SAe]))])),Ere=new sat("OUT_T_C",1,Wie,ere,Hie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,CAe])),xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,CAe,AAe]))])),Cre=new sat("OUT_T_R",2,Vie,ere,Hie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,MAe]))])),bre=new sat("OUT_B_L",3,Xie,ire,Gie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,SAe]))])),pre=new sat("OUT_B_C",4,Wie,ire,Gie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,CAe])),xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,CAe,AAe]))])),wre=new sat("OUT_B_R",5,Vie,ire,Gie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,MAe]))])),vre=new sat("OUT_L_T",6,Vie,ire,Hie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[SAe,NAe,AAe]))])),mre=new sat("OUT_L_C",7,Vie,nre,Uie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[SAe,DAe])),xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[SAe,DAe,AAe]))])),yre=new sat("OUT_L_B",8,Vie,ere,Gie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[SAe,LAe,AAe]))])),_re=new sat("OUT_R_T",9,Xie,ire,Hie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[MAe,NAe,AAe]))])),kre=new sat("OUT_R_C",10,Xie,nre,Uie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[MAe,DAe])),xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[MAe,DAe,AAe]))])),xre=new sat("OUT_R_B",11,Xie,ere,Gie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(OAe,Cst(Hx(HAe,1),OXt,93,0,[MAe,LAe,AAe]))])),dre=new sat("IN_T_L",12,Xie,ire,Hie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,SAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,SAe,AAe]))])),fre=new sat("IN_T_C",13,Wie,ire,Hie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,CAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,CAe,AAe]))])),gre=new sat("IN_T_R",14,Vie,ire,Hie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,MAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[NAe,MAe,AAe]))])),lre=new sat("IN_C_L",15,Xie,nre,Uie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,SAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,SAe,AAe]))])),ure=new sat("IN_C_C",16,Wie,nre,Uie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,CAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,CAe,AAe]))])),hre=new sat("IN_C_R",17,Vie,nre,Uie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,MAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[DAe,MAe,AAe]))])),sre=new sat("IN_B_L",18,Xie,ere,Gie,Hie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,SAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,SAe,AAe]))])),ore=new sat("IN_B_C",19,Wie,ere,Gie,Uie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,CAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,CAe,AAe]))])),cre=new sat("IN_B_R",20,Vie,ere,Gie,Gie,Cst(Hx(Pte,1),zWt,21,0,[xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,MAe])),xG(IAe,Cst(Hx(HAe,1),OXt,93,0,[LAe,MAe,AAe]))])),Sre=new sat(uQt,21,null,null,null,null,Cst(Hx(Pte,1),zWt,21,0,[]));}function pWt(){pWt=I,tLe=(WY(),QOe).b,$z(Yet(WV(QOe.b),0),34),$z(Yet(WV(QOe.b),1),18),JOe=QOe.a,$z(Yet(WV(QOe.a),0),34),$z(Yet(WV(QOe.a),1),18),$z(Yet(WV(QOe.a),2),18),$z(Yet(WV(QOe.a),3),18),$z(Yet(WV(QOe.a),4),18),eLe=QOe.o,$z(Yet(WV(QOe.o),0),34),$z(Yet(WV(QOe.o),1),34),iLe=$z(Yet(WV(QOe.o),2),18),$z(Yet(WV(QOe.o),3),18),$z(Yet(WV(QOe.o),4),18),$z(Yet(WV(QOe.o),5),18),$z(Yet(WV(QOe.o),6),18),$z(Yet(WV(QOe.o),7),18),$z(Yet(WV(QOe.o),8),18),$z(Yet(WV(QOe.o),9),18),$z(Yet(WV(QOe.o),10),18),$z(Yet(WV(QOe.o),11),18),$z(Yet(WV(QOe.o),12),18),$z(Yet(WV(QOe.o),13),18),$z(Yet(WV(QOe.o),14),18),$z(Yet(WV(QOe.o),15),18),$z(Yet(YV(QOe.o),0),59),$z(Yet(YV(QOe.o),1),59),$z(Yet(YV(QOe.o),2),59),$z(Yet(YV(QOe.o),3),59),$z(Yet(YV(QOe.o),4),59),$z(Yet(YV(QOe.o),5),59),$z(Yet(YV(QOe.o),6),59),$z(Yet(YV(QOe.o),7),59),$z(Yet(YV(QOe.o),8),59),$z(Yet(YV(QOe.o),9),59),nLe=QOe.p,$z(Yet(WV(QOe.p),0),34),$z(Yet(WV(QOe.p),1),34),$z(Yet(WV(QOe.p),2),34),$z(Yet(WV(QOe.p),3),34),$z(Yet(WV(QOe.p),4),18),$z(Yet(WV(QOe.p),5),18),$z(Yet(YV(QOe.p),0),59),$z(Yet(YV(QOe.p),1),59),rLe=QOe.q,$z(Yet(WV(QOe.q),0),34),aLe=QOe.v,$z(Yet(WV(QOe.v),0),18),$z(Yet(YV(QOe.v),0),59),$z(Yet(YV(QOe.v),1),59),$z(Yet(YV(QOe.v),2),59),oLe=QOe.w,$z(Yet(WV(QOe.w),0),34),$z(Yet(WV(QOe.w),1),34),$z(Yet(WV(QOe.w),2),34),$z(Yet(WV(QOe.w),3),18),sLe=QOe.B,$z(Yet(WV(QOe.B),0),18),$z(Yet(YV(QOe.B),0),59),$z(Yet(YV(QOe.B),1),59),$z(Yet(YV(QOe.B),2),59),lLe=QOe.Q,$z(Yet(WV(QOe.Q),0),18),$z(Yet(YV(QOe.Q),0),59),hLe=QOe.R,$z(Yet(WV(QOe.R),0),34),fLe=QOe.S,$z(Yet(YV(QOe.S),0),59),$z(Yet(YV(QOe.S),1),59),$z(Yet(YV(QOe.S),2),59),$z(Yet(YV(QOe.S),3),59),$z(Yet(YV(QOe.S),4),59),$z(Yet(YV(QOe.S),5),59),$z(Yet(YV(QOe.S),6),59),$z(Yet(YV(QOe.S),7),59),$z(Yet(YV(QOe.S),8),59),$z(Yet(YV(QOe.S),9),59),$z(Yet(YV(QOe.S),10),59),$z(Yet(YV(QOe.S),11),59),$z(Yet(YV(QOe.S),12),59),$z(Yet(YV(QOe.S),13),59),$z(Yet(YV(QOe.S),14),59),dLe=QOe.T,$z(Yet(WV(QOe.T),0),18),$z(Yet(WV(QOe.T),2),18),gLe=$z(Yet(WV(QOe.T),3),18),$z(Yet(WV(QOe.T),4),18),$z(Yet(YV(QOe.T),0),59),$z(Yet(YV(QOe.T),1),59),$z(Yet(WV(QOe.T),1),18),pLe=QOe.U,$z(Yet(WV(QOe.U),0),34),$z(Yet(WV(QOe.U),1),34),$z(Yet(WV(QOe.U),2),18),$z(Yet(WV(QOe.U),3),18),$z(Yet(WV(QOe.U),4),18),$z(Yet(WV(QOe.U),5),18),$z(Yet(YV(QOe.U),0),59),bLe=QOe.V,$z(Yet(WV(QOe.V),0),18),wLe=QOe.W,$z(Yet(WV(QOe.W),0),34),$z(Yet(WV(QOe.W),1),34),$z(Yet(WV(QOe.W),2),34),$z(Yet(WV(QOe.W),3),18),$z(Yet(WV(QOe.W),4),18),$z(Yet(WV(QOe.W),5),18),mLe=QOe.bb,$z(Yet(WV(QOe.bb),0),34),$z(Yet(WV(QOe.bb),1),34),$z(Yet(WV(QOe.bb),2),34),$z(Yet(WV(QOe.bb),3),34),$z(Yet(WV(QOe.bb),4),34),$z(Yet(WV(QOe.bb),5),34),$z(Yet(WV(QOe.bb),6),34),$z(Yet(WV(QOe.bb),7),18),$z(Yet(YV(QOe.bb),0),59),$z(Yet(YV(QOe.bb),1),59),vLe=QOe.eb,$z(Yet(WV(QOe.eb),0),34),$z(Yet(WV(QOe.eb),1),34),$z(Yet(WV(QOe.eb),2),34),$z(Yet(WV(QOe.eb),3),34),$z(Yet(WV(QOe.eb),4),34),$z(Yet(WV(QOe.eb),5),34),$z(Yet(WV(QOe.eb),6),18),$z(Yet(WV(QOe.eb),7),18),yLe=QOe.ab,$z(Yet(WV(QOe.ab),0),34),$z(Yet(WV(QOe.ab),1),34),cLe=QOe.H,$z(Yet(WV(QOe.H),0),18),$z(Yet(WV(QOe.H),1),18),$z(Yet(WV(QOe.H),2),18),$z(Yet(WV(QOe.H),3),18),$z(Yet(WV(QOe.H),4),18),$z(Yet(WV(QOe.H),5),18),$z(Yet(YV(QOe.H),0),59),xLe=QOe.db,$z(Yet(WV(QOe.db),0),18),uLe=QOe.M;}function bWt(t){var e;t.O||(t.O=!0,Drt(t,"type"),Nrt(t,"ecore.xml.type"),Prt(t,T9t),e=$z(OLt((KT(),HOe),T9t),1945),u7(mZ(t.fb),t.b),U0(t.b,hDe,"AnyType",!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.wb.D,R7t,null,0,-1,hDe,!1,!1,!0,!1,!1,!1),oat($z(Yet(WV(t.b),1),34),t.wb.D,"any",null,0,-1,hDe,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,hDe,!1,!1,!0,!1,!1,!1),U0(t.bb,HDe,I9t,!1,!1,!0),oat($z(Yet(WV(t.bb),0),34),t.gb,"data",null,0,1,HDe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),1),34),t.gb,V6t,null,1,1,HDe,!1,!1,!0,!1,!0,!1),U0(t.fb,UDe,O9t,!1,!1,!0),oat($z(Yet(WV(t.fb),0),34),e.gb,"rawValue",null,0,1,UDe,!0,!0,!0,!1,!0,!0),oat($z(Yet(WV(t.fb),1),34),e.a,k6t,null,0,1,UDe,!0,!0,!0,!1,!0,!0),Evt($z(Yet(WV(t.fb),2),18),t.wb.q,null,"instanceType",1,1,UDe,!1,!1,!0,!1,!1,!1,!1),U0(t.qb,GDe,L9t,!1,!1,!0),oat($z(Yet(WV(t.qb),0),34),t.wb.D,R7t,null,0,-1,null,!1,!1,!0,!1,!1,!1),Evt($z(Yet(WV(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Evt($z(Yet(WV(t.qb),5),18),t.bb,null,rte,0,-2,null,!0,!0,!0,!0,!1,!1,!0),oat($z(Yet(WV(t.qb),6),34),t.gb,M6t,null,0,-2,null,!0,!0,!0,!1,!1,!0),dX(t.a,Ite,"AnySimpleType",!0),dX(t.c,Xee,"AnyURI",!0),dX(t.d,Hx(ONe,1),"Base64Binary",!0),dX(t.e,MNe,"Boolean",!0),dX(t.f,vee,"BooleanObject",!0),dX(t.g,ONe,"Byte",!0),dX(t.i,_ee,"ByteObject",!0),dX(t.j,Xee,"Date",!0),dX(t.k,Xee,"DateTime",!0),dX(t.n,nne,"Decimal",!0),dX(t.o,LNe,"Double",!0),dX(t.p,Cee,"DoubleObject",!0),dX(t.q,Xee,"Duration",!0),dX(t.s,Bte,"ENTITIES",!0),dX(t.r,Bte,"ENTITIESBase",!0),dX(t.t,Xee,j9t,!0),dX(t.u,DNe,"Float",!0),dX(t.v,See,"FloatObject",!0),dX(t.w,Xee,"GDay",!0),dX(t.B,Xee,"GMonth",!0),dX(t.A,Xee,"GMonthDay",!0),dX(t.C,Xee,"GYear",!0),dX(t.D,Xee,"GYearMonth",!0),dX(t.F,Hx(ONe,1),"HexBinary",!0),dX(t.G,Xee,"ID",!0),dX(t.H,Xee,"IDREF",!0),dX(t.J,Bte,"IDREFS",!0),dX(t.I,Bte,"IDREFSBase",!0),dX(t.K,ANe,"Int",!0),dX(t.M,sne,"Integer",!0),dX(t.L,Iee,"IntObject",!0),dX(t.P,Xee,"Language",!0),dX(t.Q,INe,"Long",!0),dX(t.R,Bee,"LongObject",!0),dX(t.S,Xee,"Name",!0),dX(t.T,Xee,$9t,!0),dX(t.U,sne,"NegativeInteger",!0),dX(t.V,Xee,X9t,!0),dX(t.X,Bte,"NMTOKENS",!0),dX(t.W,Bte,"NMTOKENSBase",!0),dX(t.Y,sne,"NonNegativeInteger",!0),dX(t.Z,sne,"NonPositiveInteger",!0),dX(t.$,Xee,"NormalizedString",!0),dX(t._,Xee,"NOTATION",!0),dX(t.ab,Xee,"PositiveInteger",!0),dX(t.cb,Xee,"QName",!0),dX(t.db,NNe,"Short",!0),dX(t.eb,jee,"ShortObject",!0),dX(t.gb,Xee,HXt,!0),dX(t.hb,Xee,"Time",!0),dX(t.ib,Xee,"Token",!0),dX(t.jb,NNe,"UnsignedByte",!0),dX(t.kb,jee,"UnsignedByteObject",!0),dX(t.lb,INe,"UnsignedInt",!0),dX(t.mb,Bee,"UnsignedIntObject",!0),dX(t.nb,sne,"UnsignedLong",!0),dX(t.ob,ANe,"UnsignedShort",!0),dX(t.pb,Iee,"UnsignedShortObject",!0),Llt(t,T9t),mWt(t));}function wWt(t){LT(t,new EEt(wk(dk(bk(fk(pk(gk(new bs,d1t),"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 Aa),d1t),xG((uOt(),tOe),Cst(Hx(iOe,1),OXt,237,0,[ZIe,QIe,VIe,JIe,WIe,YIe]))))),a2(t,d1t,L2t,ywt(pwe)),a2(t,d1t,D2t,ywt(bwe)),a2(t,d1t,KQt,ywt(wwe)),a2(t,d1t,N2t,ywt(ywe)),a2(t,d1t,yJt,ywt(vwe)),a2(t,d1t,P2t,ywt(xwe)),a2(t,d1t,B2t,ywt(Ewe)),a2(t,d1t,R2t,ywt(Cwe)),a2(t,d1t,j2t,ywt(Swe)),a2(t,d1t,$2t,ywt(Twe)),a2(t,d1t,wJt,ywt(Awe)),a2(t,d1t,F2t,ywt(Iwe)),a2(t,d1t,z2t,ywt(Lwe)),a2(t,d1t,H2t,ywt(_we)),a2(t,d1t,L0t,ywt(gwe)),a2(t,d1t,N0t,ywt(mwe)),a2(t,d1t,D0t,ywt(kwe)),a2(t,d1t,P0t,ywt(Mwe)),a2(t,d1t,bJt,nft(0)),a2(t,d1t,B0t,ywt(uwe)),a2(t,d1t,R0t,ywt(lwe)),a2(t,d1t,j0t,ywt(hwe)),a2(t,d1t,q0t,ywt(Uwe)),a2(t,d1t,K0t,ywt(Pwe)),a2(t,d1t,Y0t,ywt(Bwe)),a2(t,d1t,W0t,ywt($we)),a2(t,d1t,X0t,ywt(Rwe)),a2(t,d1t,V0t,ywt(jwe)),a2(t,d1t,Z0t,ywt(qwe)),a2(t,d1t,Q0t,ywt(Gwe)),a2(t,d1t,J0t,ywt(zwe)),a2(t,d1t,t2t,ywt(Fwe)),a2(t,d1t,e2t,ywt(Hwe)),a2(t,d1t,T0t,ywt(Pbe)),a2(t,d1t,C0t,ywt(Bbe)),a2(t,d1t,M0t,ywt(nbe)),a2(t,d1t,I0t,ywt(ibe)),a2(t,d1t,XQt,Gbe),a2(t,d1t,m2t,Qpe),a2(t,d1t,U2t,0),a2(t,d1t,mJt,nft(1)),a2(t,d1t,WQt,gJt),a2(t,d1t,G2t,ywt(Hbe)),a2(t,d1t,kJt,ywt(twe)),a2(t,d1t,q2t,ywt(awe)),a2(t,d1t,K2t,ywt(Upe)),a2(t,d1t,Y2t,ywt(mpe)),a2(t,d1t,g2t,ywt(sbe)),a2(t,d1t,vJt,(cN(),!0)),a2(t,d1t,W2t,ywt(fbe)),a2(t,d1t,X2t,ywt(dbe)),a2(t,d1t,CJt,ywt(jbe)),a2(t,d1t,TJt,ywt(zbe)),a2(t,d1t,V2t,ywt($be)),a2(t,d1t,Z2t,Kpe),a2(t,d1t,SJt,ywt(Ibe)),a2(t,d1t,Q2t,ywt(Mbe)),a2(t,d1t,AJt,ywt(iwe)),a2(t,d1t,J2t,ywt(nwe)),a2(t,d1t,t3t,ywt(rwe)),a2(t,d1t,e3t,Ybe),a2(t,d1t,n3t,ywt(Xbe)),a2(t,d1t,i3t,ywt(Vbe)),a2(t,d1t,r3t,ywt(Zbe)),a2(t,d1t,a3t,ywt(Wbe)),a2(t,d1t,J1t,ywt(Nwe)),a2(t,d1t,n0t,ywt(Tbe)),a2(t,d1t,c0t,ywt(Ebe)),a2(t,d1t,Q1t,ywt(Dwe)),a2(t,d1t,i0t,ywt(mbe)),a2(t,d1t,e0t,ywt(Hpe)),a2(t,d1t,h0t,ywt(zpe)),a2(t,d1t,f0t,ywt(Dpe)),a2(t,d1t,w0t,ywt(Npe)),a2(t,d1t,y0t,ywt(Bpe)),a2(t,d1t,m0t,ywt(Ppe)),a2(t,d1t,g0t,ywt(Fpe)),a2(t,d1t,W1t,ywt(Sbe)),a2(t,d1t,X1t,ywt(Abe)),a2(t,d1t,Y1t,ywt(pbe)),a2(t,d1t,v0t,ywt(Rbe)),a2(t,d1t,_0t,ywt(Lbe)),a2(t,d1t,K1t,ywt(abe)),a2(t,d1t,E0t,ywt(Nbe)),a2(t,d1t,S0t,ywt(tbe)),a2(t,d1t,A0t,ywt(ebe)),a2(t,d1t,o3t,ywt(Lpe)),a2(t,d1t,k0t,ywt(Obe)),a2(t,d1t,F0t,ywt(Tpe)),a2(t,d1t,z0t,ywt(Epe)),a2(t,d1t,$0t,ywt(_pe)),a2(t,d1t,H0t,ywt(ube)),a2(t,d1t,U0t,ywt(cbe)),a2(t,d1t,G0t,ywt(lbe)),a2(t,d1t,FJt,ywt(Fbe)),a2(t,d1t,s3t,ywt(bbe)),a2(t,d1t,YQt,ywt(rbe)),a2(t,d1t,c3t,ywt(Xpe)),a2(t,d1t,_Jt,ywt(Wpe)),a2(t,d1t,d0t,ywt(Rpe)),a2(t,d1t,u3t,ywt(ewe)),a2(t,d1t,l3t,ywt(kpe)),a2(t,d1t,h3t,ywt(hbe)),a2(t,d1t,f3t,ywt(Qbe)),a2(t,d1t,d3t,ywt(qbe)),a2(t,d1t,g3t,ywt(Kbe)),a2(t,d1t,o0t,ywt(xbe)),a2(t,d1t,s0t,ywt(kbe)),a2(t,d1t,p3t,ywt(swe)),a2(t,d1t,V1t,ywt(vpe)),a2(t,d1t,u0t,ywt(_be)),a2(t,d1t,n2t,ywt(Vpe)),a2(t,d1t,i2t,ywt(Ype)),a2(t,d1t,b3t,ywt(Cbe)),a2(t,d1t,l0t,ywt(wbe)),a2(t,d1t,x0t,ywt(Dbe)),a2(t,d1t,w3t,ywt(Owe)),a2(t,d1t,q1t,ywt(qpe)),a2(t,d1t,Z1t,ywt(owe)),a2(t,d1t,O0t,ywt(Jpe)),a2(t,d1t,r0t,ywt(ybe)),a2(t,d1t,p0t,ywt(jpe)),a2(t,d1t,y3t,ywt(gbe)),a2(t,d1t,a0t,ywt(vbe)),a2(t,d1t,b0t,ywt($pe)),a2(t,d1t,r2t,ywt(Ope)),a2(t,d1t,s2t,ywt(Mpe)),a2(t,d1t,c2t,ywt(Spe)),a2(t,d1t,u2t,ywt(Ape)),a2(t,d1t,a2t,ywt(Ipe)),a2(t,d1t,o2t,ywt(Cpe)),a2(t,d1t,t0t,ywt(obe));}function yWt(t,e){var n;return ZDe||(ZDe=new Dw,QDe=new Dw,dWt(),dWt(),mpt(n=new _0(4),"\t\n\r\r "),wJ(ZDe,lte,n),wJ(QDe,lte,OFt(n)),mpt(n=new _0(4),dte),wJ(ZDe,cte,n),wJ(QDe,cte,OFt(n)),mpt(n=new _0(4),dte),wJ(ZDe,cte,n),wJ(QDe,cte,OFt(n)),mpt(n=new _0(4),gte),cHt(n,$z(EQ(ZDe,cte),117)),wJ(ZDe,ute,n),wJ(QDe,ute,OFt(n)),mpt(n=new _0(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),wJ(ZDe,hte,n),wJ(QDe,hte,OFt(n)),mpt(n=new _0(4),gte),VPt(n,95,95),VPt(n,58,58),wJ(ZDe,fte,n),wJ(QDe,fte,OFt(n))),$z(EQ(e?ZDe:QDe,t),136)}function mWt(t){WLt(t.a,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"anySimpleType"])),WLt(t.b,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"anyType",$7t,R7t])),WLt($z(Yet(WV(t.b),0),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,y9t,t8t,":mixed"])),WLt($z(Yet(WV(t.b),1),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,y9t,E9t,C9t,t8t,":1",P9t,"lax"])),WLt($z(Yet(WV(t.b),2),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,b9t,E9t,C9t,t8t,":2",P9t,"lax"])),WLt(t.c,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"anyURI",_9t,m9t])),WLt(t.d,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"base64Binary",_9t,m9t])),WLt(t.e,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,OWt,_9t,m9t])),WLt(t.f,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"boolean:Object",Z7t,OWt])),WLt(t.g,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,T7t])),WLt(t.i,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"byte:Object",Z7t,T7t])),WLt(t.j,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"date",_9t,m9t])),WLt(t.k,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"dateTime",_9t,m9t])),WLt(t.n,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"decimal",_9t,m9t])),WLt(t.o,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,S7t,_9t,m9t])),WLt(t.p,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"double:Object",Z7t,S7t])),WLt(t.q,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"duration",_9t,m9t])),WLt(t.s,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"ENTITIES",Z7t,B9t,R9t,"1"])),WLt(t.r,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,B9t,v9t,j9t])),WLt(t.t,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,j9t,Z7t,$9t])),WLt(t.u,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,A7t,_9t,m9t])),WLt(t.v,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"float:Object",Z7t,A7t])),WLt(t.w,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"gDay",_9t,m9t])),WLt(t.B,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"gMonth",_9t,m9t])),WLt(t.A,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"gMonthDay",_9t,m9t])),WLt(t.C,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"gYear",_9t,m9t])),WLt(t.D,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"gYearMonth",_9t,m9t])),WLt(t.F,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"hexBinary",_9t,m9t])),WLt(t.G,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"ID",Z7t,$9t])),WLt(t.H,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"IDREF",Z7t,$9t])),WLt(t.J,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"IDREFS",Z7t,F9t,R9t,"1"])),WLt(t.I,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,F9t,v9t,"IDREF"])),WLt(t.K,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,M7t])),WLt(t.M,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,z9t])),WLt(t.L,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"int:Object",Z7t,M7t])),WLt(t.P,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"language",Z7t,H9t,U9t,G9t])),WLt(t.Q,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,I7t])),WLt(t.R,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"long:Object",Z7t,I7t])),WLt(t.S,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"Name",Z7t,H9t,U9t,q9t])),WLt(t.T,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,$9t,Z7t,"Name",U9t,K9t])),WLt(t.U,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"negativeInteger",Z7t,Y9t,W9t,"-1"])),WLt(t.V,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,X9t,Z7t,H9t,U9t,"\\c+"])),WLt(t.X,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"NMTOKENS",Z7t,V9t,R9t,"1"])),WLt(t.W,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,V9t,v9t,X9t])),WLt(t.Y,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,Z9t,Z7t,z9t,Q9t,"0"])),WLt(t.Z,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,Y9t,Z7t,z9t,W9t,"0"])),WLt(t.$,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,J9t,Z7t,DWt,_9t,"replace"])),WLt(t._,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"NOTATION",_9t,m9t])),WLt(t.ab,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"positiveInteger",Z7t,Z9t,Q9t,"1"])),WLt(t.bb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"processingInstruction_._type",$7t,"empty"])),WLt($z(Yet(WV(t.bb),0),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,p9t,t8t,"data"])),WLt($z(Yet(WV(t.bb),1),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,p9t,t8t,V6t])),WLt(t.cb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"QName",_9t,m9t])),WLt(t.db,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,O7t])),WLt(t.eb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"short:Object",Z7t,O7t])),WLt(t.fb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"simpleAnyType",$7t,g9t])),WLt($z(Yet(WV(t.fb),0),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,":3",$7t,g9t])),WLt($z(Yet(WV(t.fb),1),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,":4",$7t,g9t])),WLt($z(Yet(WV(t.fb),2),18),j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,":5",$7t,g9t])),WLt(t.gb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,DWt,_9t,"preserve"])),WLt(t.hb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"time",_9t,m9t])),WLt(t.ib,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,H9t,Z7t,J9t,_9t,m9t])),WLt(t.jb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,tte,W9t,"255",Q9t,"0"])),WLt(t.kb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"unsignedByte:Object",Z7t,tte])),WLt(t.lb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,ete,W9t,"4294967295",Q9t,"0"])),WLt(t.mb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"unsignedInt:Object",Z7t,ete])),WLt(t.nb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"unsignedLong",Z7t,Z9t,W9t,nte,Q9t,"0"])),WLt(t.ob,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,ite,W9t,"65535",Q9t,"0"])),WLt(t.pb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"unsignedShort:Object",Z7t,ite])),WLt(t.qb,j7t,Cst(Hx(Xee,1),cXt,2,6,[t8t,"",$7t,R7t])),WLt($z(Yet(WV(t.qb),0),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,y9t,t8t,":mixed"])),WLt($z(Yet(WV(t.qb),1),18),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,p9t,t8t,"xmlns:prefix"])),WLt($z(Yet(WV(t.qb),2),18),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,p9t,t8t,"xsi:schemaLocation"])),WLt($z(Yet(WV(t.qb),3),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,w9t,t8t,"cDATA",x9t,k9t])),WLt($z(Yet(WV(t.qb),4),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,w9t,t8t,"comment",x9t,k9t])),WLt($z(Yet(WV(t.qb),5),18),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,w9t,t8t,rte,x9t,k9t])),WLt($z(Yet(WV(t.qb),6),34),j7t,Cst(Hx(Xee,1),cXt,2,6,[$7t,w9t,t8t,M6t,x9t,k9t]));}function vWt(t){return wj("_UI_EMFDiagnostic_marker",t)?"EMF Problem":wj("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":wj(d8t,t)?"Wrong character.":wj(g8t,t)?"Invalid reference number.":wj(p8t,t)?"A character is required after \\.":wj(b8t,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":wj(w8t,t)?"'(?<' or '(?<!' is expected.":wj(y8t,t)?"A comment is not terminated.":wj(m8t,t)?"')' is expected.":wj(v8t,t)?"Unexpected end of the pattern in a modifier group.":wj(x8t,t)?"':' is expected.":wj(k8t,t)?"Unexpected end of the pattern in a conditional group.":wj(_8t,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":wj(E8t,t)?"There are more than three choices in a conditional group.":wj(T8t,t)?"A character in U+0040-U+005f must follow \\c.":wj(C8t,t)?"A '{' is required before a character category.":wj(S8t,t)?"A property name is not closed by '}'.":wj(A8t,t)?"Unexpected meta character.":wj(M8t,t)?"Unknown property.":wj(I8t,t)?"A POSIX character class must be closed by ':]'.":wj(O8t,t)?"Unexpected end of the pattern in a character class.":wj(L8t,t)?"Unknown name for a POSIX character class.":wj("parser.cc.4",t)?"'-' is invalid here.":wj(D8t,t)?"']' is expected.":wj(N8t,t)?"'[' is invalid in a character class. Write '\\['.":wj(P8t,t)?"']' is invalid in a character class. Write '\\]'.":wj(B8t,t)?"'-' is an invalid character range. Write '\\-'.":wj(R8t,t)?"'[' is expected.":wj(j8t,t)?"')' or '-[' or '+[' or '&[' is expected.":wj($8t,t)?"The range end code point is less than the start code point.":wj(F8t,t)?"Invalid Unicode hex notation.":wj(z8t,t)?"Overflow in a hex notation.":wj(H8t,t)?"'\\x{' must be closed by '}'.":wj(U8t,t)?"Invalid Unicode code point.":wj(G8t,t)?"An anchor must not be here.":wj(q8t,t)?"This expression is not supported in the current option setting.":wj(K8t,t)?"Invalid quantifier. A digit is expected.":wj(Y8t,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":wj(W8t,t)?"Invalid quantifier. A digit or '}' is expected.":wj(X8t,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":wj(V8t,t)?"Invalid quantifier. A quantity value overflow.":wj("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":wj("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":wj("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":wj("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":wj("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":wj("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":wj("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":wj("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":wj("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":wj("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":wj("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":wj("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":wj("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":wj("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":wj("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":wj("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":wj("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":wj("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":wj("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":wj("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":wj("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":wj("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":wj("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":wj("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":wj("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":wj("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":wj("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":wj("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":wj("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":wj("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":wj("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function xWt(t){var e,n,i,r,a,o,s;t.r||(t.r=!0,Drt(t,"graph"),Nrt(t,"graph"),Prt(t,m6t),rst(t.o,"T"),u7(mZ(t.a),t.p),u7(mZ(t.f),t.a),u7(mZ(t.n),t.f),u7(mZ(t.g),t.n),u7(mZ(t.c),t.n),u7(mZ(t.i),t.c),u7(mZ(t.j),t.c),u7(mZ(t.d),t.f),u7(mZ(t.e),t.a),U0(t.p,qre,MQt,!0,!0,!1),s=_st(o=yut(t.p,t.p,"setProperty")),e=ZX(t.o),n=new Bw,u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),v_t(n,i=QX(s)),qkt(o,e,x6t),qkt(o,e=QX(s),k6t),s=_st(o=yut(t.p,null,"getProperty")),e=ZX(t.o),n=QX(s),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),qkt(o,e,x6t),(a=zEt(o,e=QX(s),null))&&a.Fi(),o=yut(t.p,t.wb.e,"hasProperty"),e=ZX(t.o),n=new Bw,u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),qkt(o,e,x6t),Ovt(o=yut(t.p,t.p,"copyProperties"),t.p,_6t),o=yut(t.p,null,"getAllProperties"),e=ZX(t.wb.P),n=ZX(t.o),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),i=new Bw,u7((!n.d&&(n.d=new ID(KOe,n,1)),n.d),i),n=ZX(t.wb.M),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),(r=zEt(o,e,null))&&r.Fi(),U0(t.a,OIe,G5t,!0,!1,!0),Evt($z(Yet(WV(t.a),0),18),t.k,null,E6t,0,-1,OIe,!1,!1,!0,!0,!1,!1,!1),U0(t.f,DIe,K5t,!0,!1,!0),Evt($z(Yet(WV(t.f),0),18),t.g,$z(Yet(WV(t.g),0),18),"labels",0,-1,DIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.f),1),34),t.wb._,T6t,null,0,1,DIe,!1,!1,!0,!1,!0,!1),U0(t.n,NIe,"ElkShape",!0,!1,!0),oat($z(Yet(WV(t.n),0),34),t.wb.t,C6t,YVt,1,1,NIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),1),34),t.wb.t,S6t,YVt,1,1,NIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),2),34),t.wb.t,"x",YVt,1,1,NIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.n),3),34),t.wb.t,"y",YVt,1,1,NIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.n,null,"setDimensions"),t.wb.t,S6t),Ovt(o,t.wb.t,C6t),Ovt(o=yut(t.n,null,"setLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.g,HIe,Q5t,!1,!1,!0),Evt($z(Yet(WV(t.g),0),18),t.f,$z(Yet(WV(t.f),0),18),A6t,0,1,HIe,!1,!1,!0,!1,!1,!1,!1),oat($z(Yet(WV(t.g),1),34),t.wb._,M6t,"",0,1,HIe,!1,!1,!0,!1,!0,!1),U0(t.c,PIe,Y5t,!0,!1,!0),Evt($z(Yet(WV(t.c),0),18),t.d,$z(Yet(WV(t.d),1),18),"outgoingEdges",0,-1,PIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.c),1),18),t.d,$z(Yet(WV(t.d),2),18),"incomingEdges",0,-1,PIe,!1,!1,!0,!1,!0,!1,!1),U0(t.i,UIe,J5t,!1,!1,!0),Evt($z(Yet(WV(t.i),0),18),t.j,$z(Yet(WV(t.j),0),18),"ports",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.i),1),18),t.i,$z(Yet(WV(t.i),2),18),I6t,0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.i),2),18),t.i,$z(Yet(WV(t.i),1),18),A6t,0,1,UIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.i),3),18),t.d,$z(Yet(WV(t.d),0),18),"containedEdges",0,-1,UIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.i),4),34),t.wb.e,O6t,null,0,1,UIe,!0,!0,!1,!1,!0,!0),U0(t.j,GIe,t6t,!1,!1,!0),Evt($z(Yet(WV(t.j),0),18),t.i,$z(Yet(WV(t.i),0),18),A6t,0,1,GIe,!1,!1,!0,!1,!1,!1,!1),U0(t.d,BIe,W5t,!1,!1,!0),Evt($z(Yet(WV(t.d),0),18),t.i,$z(Yet(WV(t.i),3),18),"containingNode",0,1,BIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.d),1),18),t.c,$z(Yet(WV(t.c),0),18),L6t,0,-1,BIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.d),2),18),t.c,$z(Yet(WV(t.c),1),18),D6t,0,-1,BIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.d),3),18),t.e,$z(Yet(WV(t.e),5),18),N6t,0,-1,BIe,!1,!1,!0,!0,!1,!1,!1),oat($z(Yet(WV(t.d),4),34),t.wb.e,"hyperedge",null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),5),34),t.wb.e,O6t,null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),6),34),t.wb.e,"selfloop",null,0,1,BIe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.d),7),34),t.wb.e,"connected",null,0,1,BIe,!0,!0,!1,!1,!0,!0),U0(t.b,LIe,q5t,!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.wb.t,"x",YVt,1,1,LIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.b),1),34),t.wb.t,"y",YVt,1,1,LIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.b,null,"set"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.e,RIe,X5t,!1,!1,!0),oat($z(Yet(WV(t.e),0),34),t.wb.t,"startX",null,0,1,RIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),1),34),t.wb.t,"startY",null,0,1,RIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),2),34),t.wb.t,"endX",null,0,1,RIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.e),3),34),t.wb.t,"endY",null,0,1,RIe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.e),4),18),t.b,null,P6t,0,-1,RIe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.e),5),18),t.d,$z(Yet(WV(t.d),3),18),A6t,0,1,RIe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.e),6),18),t.c,null,B6t,0,1,RIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),7),18),t.c,null,R6t,0,1,RIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),8),18),t.e,$z(Yet(WV(t.e),9),18),j6t,0,-1,RIe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.e),9),18),t.e,$z(Yet(WV(t.e),8),18),$6t,0,-1,RIe,!1,!1,!0,!1,!0,!1,!1),oat($z(Yet(WV(t.e),10),34),t.wb._,T6t,null,0,1,RIe,!1,!1,!0,!1,!0,!1),Ovt(o=yut(t.e,null,"setStartLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),Ovt(o=yut(t.e,null,"setEndLocation"),t.wb.t,"x"),Ovt(o,t.wb.t,"y"),U0(t.k,zte,"ElkPropertyToValueMapEntry",!1,!1,!1),e=ZX(t.o),n=new Bw,u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),jIt($z(Yet(WV(t.k),0),34),e,"key",zte,!1,!1,!0,!1),oat($z(Yet(WV(t.k),1),34),t.s,k6t,null,0,1,zte,!1,!1,!0,!1,!0,!1),dX(t.o,lTe,"IProperty",!0),dX(t.s,Ite,"PropertyValue",!0),Llt(t,m6t));}function kWt(){kWt=I,(XDe=D8(ONe,w6t,25,FVt,15,1))[9]=35,XDe[10]=19,XDe[13]=19,XDe[32]=51,XDe[33]=49,XDe[34]=33,yK(XDe,35,38,49),XDe[38]=1,yK(XDe,39,45,49),yK(XDe,45,47,-71),XDe[47]=49,yK(XDe,48,58,-71),XDe[58]=61,XDe[59]=49,XDe[60]=1,XDe[61]=49,XDe[62]=33,yK(XDe,63,65,49),yK(XDe,65,91,-3),yK(XDe,91,93,33),XDe[93]=1,XDe[94]=33,XDe[95]=-3,XDe[96]=33,yK(XDe,97,123,-3),yK(XDe,123,183,33),XDe[183]=-87,yK(XDe,184,192,33),yK(XDe,192,215,-19),XDe[215]=33,yK(XDe,216,247,-19),XDe[247]=33,yK(XDe,248,306,-19),yK(XDe,306,308,33),yK(XDe,308,319,-19),yK(XDe,319,321,33),yK(XDe,321,329,-19),XDe[329]=33,yK(XDe,330,383,-19),XDe[383]=33,yK(XDe,384,452,-19),yK(XDe,452,461,33),yK(XDe,461,497,-19),yK(XDe,497,500,33),yK(XDe,500,502,-19),yK(XDe,502,506,33),yK(XDe,506,536,-19),yK(XDe,536,592,33),yK(XDe,592,681,-19),yK(XDe,681,699,33),yK(XDe,699,706,-19),yK(XDe,706,720,33),yK(XDe,720,722,-87),yK(XDe,722,768,33),yK(XDe,768,838,-87),yK(XDe,838,864,33),yK(XDe,864,866,-87),yK(XDe,866,902,33),XDe[902]=-19,XDe[903]=-87,yK(XDe,904,907,-19),XDe[907]=33,XDe[908]=-19,XDe[909]=33,yK(XDe,910,930,-19),XDe[930]=33,yK(XDe,931,975,-19),XDe[975]=33,yK(XDe,976,983,-19),yK(XDe,983,986,33),XDe[986]=-19,XDe[987]=33,XDe[988]=-19,XDe[989]=33,XDe[990]=-19,XDe[991]=33,XDe[992]=-19,XDe[993]=33,yK(XDe,994,1012,-19),yK(XDe,1012,1025,33),yK(XDe,1025,1037,-19),XDe[1037]=33,yK(XDe,1038,1104,-19),XDe[1104]=33,yK(XDe,1105,1117,-19),XDe[1117]=33,yK(XDe,1118,1154,-19),XDe[1154]=33,yK(XDe,1155,1159,-87),yK(XDe,1159,1168,33),yK(XDe,1168,1221,-19),yK(XDe,1221,1223,33),yK(XDe,1223,1225,-19),yK(XDe,1225,1227,33),yK(XDe,1227,1229,-19),yK(XDe,1229,1232,33),yK(XDe,1232,1260,-19),yK(XDe,1260,1262,33),yK(XDe,1262,1270,-19),yK(XDe,1270,1272,33),yK(XDe,1272,1274,-19),yK(XDe,1274,1329,33),yK(XDe,1329,1367,-19),yK(XDe,1367,1369,33),XDe[1369]=-19,yK(XDe,1370,1377,33),yK(XDe,1377,1415,-19),yK(XDe,1415,1425,33),yK(XDe,1425,1442,-87),XDe[1442]=33,yK(XDe,1443,1466,-87),XDe[1466]=33,yK(XDe,1467,1470,-87),XDe[1470]=33,XDe[1471]=-87,XDe[1472]=33,yK(XDe,1473,1475,-87),XDe[1475]=33,XDe[1476]=-87,yK(XDe,1477,1488,33),yK(XDe,1488,1515,-19),yK(XDe,1515,1520,33),yK(XDe,1520,1523,-19),yK(XDe,1523,1569,33),yK(XDe,1569,1595,-19),yK(XDe,1595,1600,33),XDe[1600]=-87,yK(XDe,1601,1611,-19),yK(XDe,1611,1619,-87),yK(XDe,1619,1632,33),yK(XDe,1632,1642,-87),yK(XDe,1642,1648,33),XDe[1648]=-87,yK(XDe,1649,1720,-19),yK(XDe,1720,1722,33),yK(XDe,1722,1727,-19),XDe[1727]=33,yK(XDe,1728,1743,-19),XDe[1743]=33,yK(XDe,1744,1748,-19),XDe[1748]=33,XDe[1749]=-19,yK(XDe,1750,1765,-87),yK(XDe,1765,1767,-19),yK(XDe,1767,1769,-87),XDe[1769]=33,yK(XDe,1770,1774,-87),yK(XDe,1774,1776,33),yK(XDe,1776,1786,-87),yK(XDe,1786,2305,33),yK(XDe,2305,2308,-87),XDe[2308]=33,yK(XDe,2309,2362,-19),yK(XDe,2362,2364,33),XDe[2364]=-87,XDe[2365]=-19,yK(XDe,2366,2382,-87),yK(XDe,2382,2385,33),yK(XDe,2385,2389,-87),yK(XDe,2389,2392,33),yK(XDe,2392,2402,-19),yK(XDe,2402,2404,-87),yK(XDe,2404,2406,33),yK(XDe,2406,2416,-87),yK(XDe,2416,2433,33),yK(XDe,2433,2436,-87),XDe[2436]=33,yK(XDe,2437,2445,-19),yK(XDe,2445,2447,33),yK(XDe,2447,2449,-19),yK(XDe,2449,2451,33),yK(XDe,2451,2473,-19),XDe[2473]=33,yK(XDe,2474,2481,-19),XDe[2481]=33,XDe[2482]=-19,yK(XDe,2483,2486,33),yK(XDe,2486,2490,-19),yK(XDe,2490,2492,33),XDe[2492]=-87,XDe[2493]=33,yK(XDe,2494,2501,-87),yK(XDe,2501,2503,33),yK(XDe,2503,2505,-87),yK(XDe,2505,2507,33),yK(XDe,2507,2510,-87),yK(XDe,2510,2519,33),XDe[2519]=-87,yK(XDe,2520,2524,33),yK(XDe,2524,2526,-19),XDe[2526]=33,yK(XDe,2527,2530,-19),yK(XDe,2530,2532,-87),yK(XDe,2532,2534,33),yK(XDe,2534,2544,-87),yK(XDe,2544,2546,-19),yK(XDe,2546,2562,33),XDe[2562]=-87,yK(XDe,2563,2565,33),yK(XDe,2565,2571,-19),yK(XDe,2571,2575,33),yK(XDe,2575,2577,-19),yK(XDe,2577,2579,33),yK(XDe,2579,2601,-19),XDe[2601]=33,yK(XDe,2602,2609,-19),XDe[2609]=33,yK(XDe,2610,2612,-19),XDe[2612]=33,yK(XDe,2613,2615,-19),XDe[2615]=33,yK(XDe,2616,2618,-19),yK(XDe,2618,2620,33),XDe[2620]=-87,XDe[2621]=33,yK(XDe,2622,2627,-87),yK(XDe,2627,2631,33),yK(XDe,2631,2633,-87),yK(XDe,2633,2635,33),yK(XDe,2635,2638,-87),yK(XDe,2638,2649,33),yK(XDe,2649,2653,-19),XDe[2653]=33,XDe[2654]=-19,yK(XDe,2655,2662,33),yK(XDe,2662,2674,-87),yK(XDe,2674,2677,-19),yK(XDe,2677,2689,33),yK(XDe,2689,2692,-87),XDe[2692]=33,yK(XDe,2693,2700,-19),XDe[2700]=33,XDe[2701]=-19,XDe[2702]=33,yK(XDe,2703,2706,-19),XDe[2706]=33,yK(XDe,2707,2729,-19),XDe[2729]=33,yK(XDe,2730,2737,-19),XDe[2737]=33,yK(XDe,2738,2740,-19),XDe[2740]=33,yK(XDe,2741,2746,-19),yK(XDe,2746,2748,33),XDe[2748]=-87,XDe[2749]=-19,yK(XDe,2750,2758,-87),XDe[2758]=33,yK(XDe,2759,2762,-87),XDe[2762]=33,yK(XDe,2763,2766,-87),yK(XDe,2766,2784,33),XDe[2784]=-19,yK(XDe,2785,2790,33),yK(XDe,2790,2800,-87),yK(XDe,2800,2817,33),yK(XDe,2817,2820,-87),XDe[2820]=33,yK(XDe,2821,2829,-19),yK(XDe,2829,2831,33),yK(XDe,2831,2833,-19),yK(XDe,2833,2835,33),yK(XDe,2835,2857,-19),XDe[2857]=33,yK(XDe,2858,2865,-19),XDe[2865]=33,yK(XDe,2866,2868,-19),yK(XDe,2868,2870,33),yK(XDe,2870,2874,-19),yK(XDe,2874,2876,33),XDe[2876]=-87,XDe[2877]=-19,yK(XDe,2878,2884,-87),yK(XDe,2884,2887,33),yK(XDe,2887,2889,-87),yK(XDe,2889,2891,33),yK(XDe,2891,2894,-87),yK(XDe,2894,2902,33),yK(XDe,2902,2904,-87),yK(XDe,2904,2908,33),yK(XDe,2908,2910,-19),XDe[2910]=33,yK(XDe,2911,2914,-19),yK(XDe,2914,2918,33),yK(XDe,2918,2928,-87),yK(XDe,2928,2946,33),yK(XDe,2946,2948,-87),XDe[2948]=33,yK(XDe,2949,2955,-19),yK(XDe,2955,2958,33),yK(XDe,2958,2961,-19),XDe[2961]=33,yK(XDe,2962,2966,-19),yK(XDe,2966,2969,33),yK(XDe,2969,2971,-19),XDe[2971]=33,XDe[2972]=-19,XDe[2973]=33,yK(XDe,2974,2976,-19),yK(XDe,2976,2979,33),yK(XDe,2979,2981,-19),yK(XDe,2981,2984,33),yK(XDe,2984,2987,-19),yK(XDe,2987,2990,33),yK(XDe,2990,2998,-19),XDe[2998]=33,yK(XDe,2999,3002,-19),yK(XDe,3002,3006,33),yK(XDe,3006,3011,-87),yK(XDe,3011,3014,33),yK(XDe,3014,3017,-87),XDe[3017]=33,yK(XDe,3018,3022,-87),yK(XDe,3022,3031,33),XDe[3031]=-87,yK(XDe,3032,3047,33),yK(XDe,3047,3056,-87),yK(XDe,3056,3073,33),yK(XDe,3073,3076,-87),XDe[3076]=33,yK(XDe,3077,3085,-19),XDe[3085]=33,yK(XDe,3086,3089,-19),XDe[3089]=33,yK(XDe,3090,3113,-19),XDe[3113]=33,yK(XDe,3114,3124,-19),XDe[3124]=33,yK(XDe,3125,3130,-19),yK(XDe,3130,3134,33),yK(XDe,3134,3141,-87),XDe[3141]=33,yK(XDe,3142,3145,-87),XDe[3145]=33,yK(XDe,3146,3150,-87),yK(XDe,3150,3157,33),yK(XDe,3157,3159,-87),yK(XDe,3159,3168,33),yK(XDe,3168,3170,-19),yK(XDe,3170,3174,33),yK(XDe,3174,3184,-87),yK(XDe,3184,3202,33),yK(XDe,3202,3204,-87),XDe[3204]=33,yK(XDe,3205,3213,-19),XDe[3213]=33,yK(XDe,3214,3217,-19),XDe[3217]=33,yK(XDe,3218,3241,-19),XDe[3241]=33,yK(XDe,3242,3252,-19),XDe[3252]=33,yK(XDe,3253,3258,-19),yK(XDe,3258,3262,33),yK(XDe,3262,3269,-87),XDe[3269]=33,yK(XDe,3270,3273,-87),XDe[3273]=33,yK(XDe,3274,3278,-87),yK(XDe,3278,3285,33),yK(XDe,3285,3287,-87),yK(XDe,3287,3294,33),XDe[3294]=-19,XDe[3295]=33,yK(XDe,3296,3298,-19),yK(XDe,3298,3302,33),yK(XDe,3302,3312,-87),yK(XDe,3312,3330,33),yK(XDe,3330,3332,-87),XDe[3332]=33,yK(XDe,3333,3341,-19),XDe[3341]=33,yK(XDe,3342,3345,-19),XDe[3345]=33,yK(XDe,3346,3369,-19),XDe[3369]=33,yK(XDe,3370,3386,-19),yK(XDe,3386,3390,33),yK(XDe,3390,3396,-87),yK(XDe,3396,3398,33),yK(XDe,3398,3401,-87),XDe[3401]=33,yK(XDe,3402,3406,-87),yK(XDe,3406,3415,33),XDe[3415]=-87,yK(XDe,3416,3424,33),yK(XDe,3424,3426,-19),yK(XDe,3426,3430,33),yK(XDe,3430,3440,-87),yK(XDe,3440,3585,33),yK(XDe,3585,3631,-19),XDe[3631]=33,XDe[3632]=-19,XDe[3633]=-87,yK(XDe,3634,3636,-19),yK(XDe,3636,3643,-87),yK(XDe,3643,3648,33),yK(XDe,3648,3654,-19),yK(XDe,3654,3663,-87),XDe[3663]=33,yK(XDe,3664,3674,-87),yK(XDe,3674,3713,33),yK(XDe,3713,3715,-19),XDe[3715]=33,XDe[3716]=-19,yK(XDe,3717,3719,33),yK(XDe,3719,3721,-19),XDe[3721]=33,XDe[3722]=-19,yK(XDe,3723,3725,33),XDe[3725]=-19,yK(XDe,3726,3732,33),yK(XDe,3732,3736,-19),XDe[3736]=33,yK(XDe,3737,3744,-19),XDe[3744]=33,yK(XDe,3745,3748,-19),XDe[3748]=33,XDe[3749]=-19,XDe[3750]=33,XDe[3751]=-19,yK(XDe,3752,3754,33),yK(XDe,3754,3756,-19),XDe[3756]=33,yK(XDe,3757,3759,-19),XDe[3759]=33,XDe[3760]=-19,XDe[3761]=-87,yK(XDe,3762,3764,-19),yK(XDe,3764,3770,-87),XDe[3770]=33,yK(XDe,3771,3773,-87),XDe[3773]=-19,yK(XDe,3774,3776,33),yK(XDe,3776,3781,-19),XDe[3781]=33,XDe[3782]=-87,XDe[3783]=33,yK(XDe,3784,3790,-87),yK(XDe,3790,3792,33),yK(XDe,3792,3802,-87),yK(XDe,3802,3864,33),yK(XDe,3864,3866,-87),yK(XDe,3866,3872,33),yK(XDe,3872,3882,-87),yK(XDe,3882,3893,33),XDe[3893]=-87,XDe[3894]=33,XDe[3895]=-87,XDe[3896]=33,XDe[3897]=-87,yK(XDe,3898,3902,33),yK(XDe,3902,3904,-87),yK(XDe,3904,3912,-19),XDe[3912]=33,yK(XDe,3913,3946,-19),yK(XDe,3946,3953,33),yK(XDe,3953,3973,-87),XDe[3973]=33,yK(XDe,3974,3980,-87),yK(XDe,3980,3984,33),yK(XDe,3984,3990,-87),XDe[3990]=33,XDe[3991]=-87,XDe[3992]=33,yK(XDe,3993,4014,-87),yK(XDe,4014,4017,33),yK(XDe,4017,4024,-87),XDe[4024]=33,XDe[4025]=-87,yK(XDe,4026,4256,33),yK(XDe,4256,4294,-19),yK(XDe,4294,4304,33),yK(XDe,4304,4343,-19),yK(XDe,4343,4352,33),XDe[4352]=-19,XDe[4353]=33,yK(XDe,4354,4356,-19),XDe[4356]=33,yK(XDe,4357,4360,-19),XDe[4360]=33,XDe[4361]=-19,XDe[4362]=33,yK(XDe,4363,4365,-19),XDe[4365]=33,yK(XDe,4366,4371,-19),yK(XDe,4371,4412,33),XDe[4412]=-19,XDe[4413]=33,XDe[4414]=-19,XDe[4415]=33,XDe[4416]=-19,yK(XDe,4417,4428,33),XDe[4428]=-19,XDe[4429]=33,XDe[4430]=-19,XDe[4431]=33,XDe[4432]=-19,yK(XDe,4433,4436,33),yK(XDe,4436,4438,-19),yK(XDe,4438,4441,33),XDe[4441]=-19,yK(XDe,4442,4447,33),yK(XDe,4447,4450,-19),XDe[4450]=33,XDe[4451]=-19,XDe[4452]=33,XDe[4453]=-19,XDe[4454]=33,XDe[4455]=-19,XDe[4456]=33,XDe[4457]=-19,yK(XDe,4458,4461,33),yK(XDe,4461,4463,-19),yK(XDe,4463,4466,33),yK(XDe,4466,4468,-19),XDe[4468]=33,XDe[4469]=-19,yK(XDe,4470,4510,33),XDe[4510]=-19,yK(XDe,4511,4520,33),XDe[4520]=-19,yK(XDe,4521,4523,33),XDe[4523]=-19,yK(XDe,4524,4526,33),yK(XDe,4526,4528,-19),yK(XDe,4528,4535,33),yK(XDe,4535,4537,-19),XDe[4537]=33,XDe[4538]=-19,XDe[4539]=33,yK(XDe,4540,4547,-19),yK(XDe,4547,4587,33),XDe[4587]=-19,yK(XDe,4588,4592,33),XDe[4592]=-19,yK(XDe,4593,4601,33),XDe[4601]=-19,yK(XDe,4602,7680,33),yK(XDe,7680,7836,-19),yK(XDe,7836,7840,33),yK(XDe,7840,7930,-19),yK(XDe,7930,7936,33),yK(XDe,7936,7958,-19),yK(XDe,7958,7960,33),yK(XDe,7960,7966,-19),yK(XDe,7966,7968,33),yK(XDe,7968,8006,-19),yK(XDe,8006,8008,33),yK(XDe,8008,8014,-19),yK(XDe,8014,8016,33),yK(XDe,8016,8024,-19),XDe[8024]=33,XDe[8025]=-19,XDe[8026]=33,XDe[8027]=-19,XDe[8028]=33,XDe[8029]=-19,XDe[8030]=33,yK(XDe,8031,8062,-19),yK(XDe,8062,8064,33),yK(XDe,8064,8117,-19),XDe[8117]=33,yK(XDe,8118,8125,-19),XDe[8125]=33,XDe[8126]=-19,yK(XDe,8127,8130,33),yK(XDe,8130,8133,-19),XDe[8133]=33,yK(XDe,8134,8141,-19),yK(XDe,8141,8144,33),yK(XDe,8144,8148,-19),yK(XDe,8148,8150,33),yK(XDe,8150,8156,-19),yK(XDe,8156,8160,33),yK(XDe,8160,8173,-19),yK(XDe,8173,8178,33),yK(XDe,8178,8181,-19),XDe[8181]=33,yK(XDe,8182,8189,-19),yK(XDe,8189,8400,33),yK(XDe,8400,8413,-87),yK(XDe,8413,8417,33),XDe[8417]=-87,yK(XDe,8418,8486,33),XDe[8486]=-19,yK(XDe,8487,8490,33),yK(XDe,8490,8492,-19),yK(XDe,8492,8494,33),XDe[8494]=-19,yK(XDe,8495,8576,33),yK(XDe,8576,8579,-19),yK(XDe,8579,12293,33),XDe[12293]=-87,XDe[12294]=33,XDe[12295]=-19,yK(XDe,12296,12321,33),yK(XDe,12321,12330,-19),yK(XDe,12330,12336,-87),XDe[12336]=33,yK(XDe,12337,12342,-87),yK(XDe,12342,12353,33),yK(XDe,12353,12437,-19),yK(XDe,12437,12441,33),yK(XDe,12441,12443,-87),yK(XDe,12443,12445,33),yK(XDe,12445,12447,-87),yK(XDe,12447,12449,33),yK(XDe,12449,12539,-19),XDe[12539]=33,yK(XDe,12540,12543,-87),yK(XDe,12543,12549,33),yK(XDe,12549,12589,-19),yK(XDe,12589,19968,33),yK(XDe,19968,40870,-19),yK(XDe,40870,44032,33),yK(XDe,44032,55204,-19),yK(XDe,55204,zVt,33),yK(XDe,57344,65534,33);}function _Wt(t){var e,n,i,r,a,o,s;t.hb||(t.hb=!0,Drt(t,"ecore"),Nrt(t,"ecore"),Prt(t,W7t),rst(t.fb,"E"),rst(t.L,"T"),rst(t.P,"K"),rst(t.P,"V"),rst(t.cb,"E"),u7(mZ(t.b),t.bb),u7(mZ(t.a),t.Q),u7(mZ(t.o),t.p),u7(mZ(t.p),t.R),u7(mZ(t.q),t.p),u7(mZ(t.v),t.q),u7(mZ(t.w),t.R),u7(mZ(t.B),t.Q),u7(mZ(t.R),t.Q),u7(mZ(t.T),t.eb),u7(mZ(t.U),t.R),u7(mZ(t.V),t.eb),u7(mZ(t.W),t.bb),u7(mZ(t.bb),t.eb),u7(mZ(t.eb),t.R),u7(mZ(t.db),t.R),U0(t.b,jOe,h7t,!1,!1,!0),oat($z(Yet(WV(t.b),0),34),t.e,"iD",null,0,1,jOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.b),1),18),t.q,null,"eAttributeType",1,1,jOe,!0,!0,!1,!1,!0,!1,!0),U0(t.a,POe,c7t,!1,!1,!0),oat($z(Yet(WV(t.a),0),34),t._,_6t,null,0,1,POe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.a),1),18),t.ab,null,"details",0,-1,POe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.a),2),18),t.Q,$z(Yet(WV(t.Q),0),18),"eModelElement",0,1,POe,!0,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.a),3),18),t.S,null,"contents",0,-1,POe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.a),4),18),t.S,null,"references",0,-1,POe,!1,!1,!0,!1,!0,!1,!1),U0(t.o,FOe,"EClass",!1,!1,!0),oat($z(Yet(WV(t.o),0),34),t.e,"abstract",null,0,1,FOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.o),1),34),t.e,"interface",null,0,1,FOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.o),2),18),t.o,null,"eSuperTypes",0,-1,FOe,!1,!1,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.o),3),18),t.T,$z(Yet(WV(t.T),0),18),"eOperations",0,-1,FOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.o),4),18),t.b,null,"eAllAttributes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),5),18),t.W,null,"eAllReferences",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),6),18),t.W,null,"eReferences",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),7),18),t.b,null,"eAttributes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),8),18),t.W,null,"eAllContainments",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),9),18),t.T,null,"eAllOperations",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.o),12),18),t.b,null,"eIDAttribute",0,1,FOe,!0,!0,!1,!1,!1,!1,!0),Evt($z(Yet(WV(t.o),13),18),t.bb,$z(Yet(WV(t.bb),7),18),"eStructuralFeatures",0,-1,FOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,FOe,!1,!1,!0,!0,!1,!0,!1),Evt($z(Yet(WV(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,FOe,!0,!0,!1,!1,!0,!1,!0),Ovt(s=lit($z(Yet(YV(t.o),0),59),t.e,"isSuperTypeOf"),t.o,"someClass"),lit($z(Yet(YV(t.o),1),59),t.I,"getFeatureCount"),Ovt(s=lit($z(Yet(YV(t.o),2),59),t.bb,Q7t),t.I,"featureID"),Ovt(s=lit($z(Yet(YV(t.o),3),59),t.I,J7t),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.o),4),59),t.bb,Q7t),t._,"featureName"),lit($z(Yet(YV(t.o),5),59),t.I,"getOperationCount"),Ovt(s=lit($z(Yet(YV(t.o),6),59),t.T,"getEOperation"),t.I,"operationID"),Ovt(s=lit($z(Yet(YV(t.o),7),59),t.I,e9t),t.T,n9t),Ovt(s=lit($z(Yet(YV(t.o),8),59),t.T,"getOverride"),t.T,n9t),Ovt(s=lit($z(Yet(YV(t.o),9),59),t.H,"getFeatureType"),t.bb,t9t),U0(t.p,$Oe,f7t,!0,!1,!0),oat($z(Yet(WV(t.p),0),34),t._,"instanceClassName",null,0,1,$Oe,!1,!0,!0,!0,!0,!1),e=ZX(t.L),n=s2(),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),jIt($z(Yet(WV(t.p),1),34),e,"instanceClass",$Oe,!0,!0,!1,!0),oat($z(Yet(WV(t.p),2),34),t.M,i9t,null,0,1,$Oe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.p),3),34),t._,"instanceTypeName",null,0,1,$Oe,!1,!0,!0,!0,!0,!1),Evt($z(Yet(WV(t.p),4),18),t.U,$z(Yet(WV(t.U),3),18),"ePackage",0,1,$Oe,!0,!1,!1,!1,!0,!1,!1),Evt($z(Yet(WV(t.p),5),18),t.db,null,r9t,0,-1,$Oe,!1,!1,!0,!0,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.p),0),59),t.e,a9t),t.M,IWt),lit($z(Yet(YV(t.p),1),59),t.I,"getClassifierID"),U0(t.q,zOe,"EDataType",!1,!1,!0),oat($z(Yet(WV(t.q),0),34),t.e,"serializable",a5t,0,1,zOe,!1,!1,!0,!1,!0,!1),U0(t.v,GOe,"EEnum",!1,!1,!0),Evt($z(Yet(WV(t.v),0),18),t.w,$z(Yet(WV(t.w),3),18),"eLiterals",0,-1,GOe,!1,!1,!0,!0,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.v),0),59),t.w,o9t),t._,t8t),Ovt(s=lit($z(Yet(YV(t.v),1),59),t.w,o9t),t.I,k6t),Ovt(s=lit($z(Yet(YV(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),U0(t.w,qOe,d7t,!1,!1,!0),oat($z(Yet(WV(t.w),0),34),t.I,k6t,null,0,1,qOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.w),1),34),t.A,"instance",null,0,1,qOe,!0,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.w),2),34),t._,"literal",null,0,1,qOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.w),3),18),t.v,$z(Yet(WV(t.v),0),18),"eEnum",0,1,qOe,!0,!1,!1,!1,!1,!1,!1),U0(t.B,$Ie,"EFactory",!1,!1,!0),Evt($z(Yet(WV(t.B),0),18),t.U,$z(Yet(WV(t.U),2),18),"ePackage",1,1,$Ie,!0,!1,!0,!1,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.B),0),59),t.S,"create"),t.o,"eClass"),Ovt(s=lit($z(Yet(YV(t.B),1),59),t.M,"createFromString"),t.q,"eDataType"),Ovt(s,t._,"literalValue"),Ovt(s=lit($z(Yet(YV(t.B),2),59),t._,"convertToString"),t.q,"eDataType"),Ovt(s,t.M,"instanceValue"),U0(t.Q,jIe,V5t,!0,!1,!0),Evt($z(Yet(WV(t.Q),0),18),t.a,$z(Yet(WV(t.a),2),18),"eAnnotations",0,-1,jIe,!1,!1,!0,!0,!1,!1,!1),Ovt(s=lit($z(Yet(YV(t.Q),0),59),t.a,"getEAnnotation"),t._,_6t),U0(t.R,FIe,Z5t,!0,!1,!0),oat($z(Yet(WV(t.R),0),34),t._,t8t,null,0,1,FIe,!1,!1,!0,!1,!0,!1),U0(t.S,IIe,"EObject",!1,!1,!0),lit($z(Yet(YV(t.S),0),59),t.o,"eClass"),lit($z(Yet(YV(t.S),1),59),t.e,"eIsProxy"),lit($z(Yet(YV(t.S),2),59),t.X,"eResource"),lit($z(Yet(YV(t.S),3),59),t.S,"eContainer"),lit($z(Yet(YV(t.S),4),59),t.bb,"eContainingFeature"),lit($z(Yet(YV(t.S),5),59),t.W,"eContainmentFeature"),s=lit($z(Yet(YV(t.S),6),59),null,"eContents"),e=ZX(t.fb),n=ZX(t.S),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),(r=zEt(s,e,null))&&r.Fi(),s=lit($z(Yet(YV(t.S),7),59),null,"eAllContents"),e=ZX(t.cb),n=ZX(t.S),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),(a=zEt(s,e,null))&&a.Fi(),s=lit($z(Yet(YV(t.S),8),59),null,"eCrossReferences"),e=ZX(t.fb),n=ZX(t.S),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),(o=zEt(s,e,null))&&o.Fi(),Ovt(s=lit($z(Yet(YV(t.S),9),59),t.M,"eGet"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),10),59),t.M,"eGet"),t.bb,t9t),Ovt(s,t.e,"resolve"),Ovt(s=lit($z(Yet(YV(t.S),11),59),null,"eSet"),t.bb,t9t),Ovt(s,t.M,"newValue"),Ovt(s=lit($z(Yet(YV(t.S),12),59),t.e,"eIsSet"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),13),59),null,"eUnset"),t.bb,t9t),Ovt(s=lit($z(Yet(YV(t.S),14),59),t.M,"eInvoke"),t.T,n9t),e=ZX(t.fb),n=s2(),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),qkt(s,e,"arguments"),RW(s,t.K),U0(t.T,YOe,p7t,!1,!1,!0),Evt($z(Yet(WV(t.T),0),18),t.o,$z(Yet(WV(t.o),3),18),s9t,0,1,YOe,!0,!1,!1,!1,!1,!1,!1),Evt($z(Yet(WV(t.T),1),18),t.db,null,r9t,0,-1,YOe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.T),2),18),t.V,$z(Yet(WV(t.V),0),18),"eParameters",0,-1,YOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.T),3),18),t.p,null,"eExceptions",0,-1,YOe,!1,!1,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,YOe,!1,!1,!0,!0,!1,!0,!1),lit($z(Yet(YV(t.T),0),59),t.I,e9t),Ovt(s=lit($z(Yet(YV(t.T),1),59),t.e,"isOverrideOf"),t.T,"someOperation"),U0(t.U,zIe,"EPackage",!1,!1,!0),oat($z(Yet(WV(t.U),0),34),t._,"nsURI",null,0,1,zIe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.U),1),34),t._,"nsPrefix",null,0,1,zIe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.U),2),18),t.B,$z(Yet(WV(t.B),0),18),"eFactoryInstance",1,1,zIe,!0,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.U),3),18),t.p,$z(Yet(WV(t.p),4),18),"eClassifiers",0,-1,zIe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.U),4),18),t.U,$z(Yet(WV(t.U),5),18),"eSubpackages",0,-1,zIe,!1,!1,!0,!0,!0,!1,!1),Evt($z(Yet(WV(t.U),5),18),t.U,$z(Yet(WV(t.U),4),18),"eSuperPackage",0,1,zIe,!0,!1,!1,!1,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.U),0),59),t.p,"getEClassifier"),t._,t8t),U0(t.V,WOe,b7t,!1,!1,!0),Evt($z(Yet(WV(t.V),0),18),t.T,$z(Yet(WV(t.T),2),18),"eOperation",0,1,WOe,!0,!1,!1,!1,!1,!1,!1),U0(t.W,XOe,w7t,!1,!1,!0),oat($z(Yet(WV(t.W),0),34),t.e,"containment",null,0,1,XOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.W),1),34),t.e,"container",null,0,1,XOe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.W),2),34),t.e,"resolveProxies",a5t,0,1,XOe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.W),3),18),t.W,null,"eOpposite",0,1,XOe,!1,!1,!0,!1,!0,!1,!1),Evt($z(Yet(WV(t.W),4),18),t.o,null,"eReferenceType",1,1,XOe,!0,!0,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.W),5),18),t.b,null,"eKeys",0,-1,XOe,!1,!1,!0,!1,!0,!1,!1),U0(t.bb,ROe,l7t,!0,!1,!0),oat($z(Yet(WV(t.bb),0),34),t.e,"changeable",a5t,0,1,ROe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),1),34),t.e,"volatile",null,0,1,ROe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),2),34),t.e,"transient",null,0,1,ROe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,ROe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),4),34),t.M,i9t,null,0,1,ROe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.bb),5),34),t.e,"unsettable",null,0,1,ROe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.bb),6),34),t.e,"derived",null,0,1,ROe,!1,!1,!0,!1,!0,!1),Evt($z(Yet(WV(t.bb),7),18),t.o,$z(Yet(WV(t.o),13),18),s9t,0,1,ROe,!0,!1,!1,!1,!1,!1,!1),lit($z(Yet(YV(t.bb),0),59),t.I,J7t),s=lit($z(Yet(YV(t.bb),1),59),null,"getContainerClass"),e=ZX(t.L),n=s2(),u7((!e.d&&(e.d=new ID(KOe,e,1)),e.d),n),(i=zEt(s,e,null))&&i.Fi(),U0(t.eb,BOe,u7t,!0,!1,!0),oat($z(Yet(WV(t.eb),0),34),t.e,"ordered",a5t,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),1),34),t.e,"unique",a5t,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),2),34),t.I,"lowerBound",null,0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),3),34),t.I,"upperBound","1",0,1,BOe,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.eb),4),34),t.e,"many",null,0,1,BOe,!0,!0,!1,!1,!0,!0),oat($z(Yet(WV(t.eb),5),34),t.e,"required",null,0,1,BOe,!0,!0,!1,!1,!0,!0),Evt($z(Yet(WV(t.eb),6),18),t.p,null,"eType",0,1,BOe,!1,!0,!0,!1,!0,!0,!1),Evt($z(Yet(WV(t.eb),7),18),t.H,null,"eGenericType",0,1,BOe,!1,!0,!0,!0,!1,!0,!1),U0(t.ab,zte,"EStringToStringMapEntry",!1,!1,!1),oat($z(Yet(WV(t.ab),0),34),t._,"key",null,0,1,zte,!1,!1,!0,!1,!0,!1),oat($z(Yet(WV(t.ab),1),34),t._,k6t,null,0,1,zte,!1,!1,!0,!1,!0,!1),U0(t.H,KOe,g7t,!1,!1,!0),Evt($z(Yet(WV(t.H),0),18),t.H,null,"eUpperBound",0,1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),1),18),t.H,null,"eTypeArguments",0,-1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),2),18),t.p,null,"eRawType",1,1,KOe,!0,!1,!1,!1,!0,!1,!0),Evt($z(Yet(WV(t.H),3),18),t.H,null,"eLowerBound",0,1,KOe,!1,!1,!0,!0,!1,!1,!1),Evt($z(Yet(WV(t.H),4),18),t.db,null,"eTypeParameter",0,1,KOe,!1,!1,!0,!1,!1,!1,!1),Evt($z(Yet(WV(t.H),5),18),t.p,null,"eClassifier",0,1,KOe,!1,!1,!0,!1,!0,!1,!1),Ovt(s=lit($z(Yet(YV(t.H),0),59),t.e,a9t),t.M,IWt),U0(t.db,SLe,y7t,!1,!1,!0),Evt($z(Yet(WV(t.db),0),18),t.H,null,"eBounds",0,-1,SLe,!1,!1,!0,!0,!1,!1,!1),dX(t.c,nne,"EBigDecimal",!0),dX(t.d,sne,"EBigInteger",!0),dX(t.e,MNe,"EBoolean",!0),dX(t.f,vee,"EBooleanObject",!0),dX(t.i,ONe,"EByte",!0),dX(t.g,Hx(ONe,1),"EByteArray",!0),dX(t.j,_ee,"EByteObject",!0),dX(t.k,SNe,"EChar",!0),dX(t.n,Tee,"ECharacterObject",!0),dX(t.r,yee,"EDate",!0),dX(t.s,BNe,"EDiagnosticChain",!1),dX(t.t,LNe,"EDouble",!0),dX(t.u,Cee,"EDoubleObject",!0),dX(t.fb,rOe,"EEList",!1),dX(t.A,wOe,"EEnumerator",!1),dX(t.C,lDe,"EFeatureMap",!1),dX(t.D,MLe,"EFeatureMapEntry",!1),dX(t.F,DNe,"EFloat",!0),dX(t.G,See,"EFloatObject",!0),dX(t.I,ANe,"EInt",!0),dX(t.J,Iee,"EIntegerObject",!0),dX(t.L,Ote,"EJavaClass",!0),dX(t.M,Ite,"EJavaObject",!0),dX(t.N,INe,"ELong",!0),dX(t.O,Bee,"ELongObject",!0),dX(t.P,Dte,"EMap",!1),dX(t.X,tDe,"EResource",!1),dX(t.Y,RNe,"EResourceSet",!1),dX(t.Z,NNe,"EShort",!0),dX(t.$,jee,"EShortObject",!0),dX(t._,Xee,"EString",!0),dX(t.cb,cOe,"ETreeIterator",!1),dX(t.K,jNe,"EInvocationTargetException",!1),Llt(t,W7t));}"undefined"!=typeof window?e=window:void 0!==t?e=t:"undefined"!=typeof self&&(e=self);var EWt,TWt,CWt,SWt,AWt,MWt,IWt="object",OWt="boolean",LWt="number",DWt="string",NWt="function",PWt=2147483647,BWt="java.lang",RWt={3:1},jWt="com.google.common.base",$Wt=", ",FWt="%s (%s) must not be negative",zWt={3:1,4:1,5:1},HWt="negative size: ",UWt="Optional.of(",GWt="null",qWt={198:1,47:1},KWt="com.google.common.collect",YWt={198:1,47:1,125:1},WWt={224:1,3:1},XWt={47:1},VWt="java.util",ZWt={83:1},QWt={20:1,28:1,14:1},JWt=1965,tXt={20:1,28:1,14:1,21:1},eXt={83:1,171:1,161:1},nXt={20:1,28:1,14:1,21:1,84:1},iXt={20:1,28:1,14:1,271:1,21:1,84:1},rXt={47:1,125:1},aXt={345:1,42:1},oXt="AbstractMapEntry",sXt="expectedValuesPerKey",cXt={3:1,6:1,4:1,5:1},uXt=16384,lXt={164:1},hXt={38:1},fXt={l:4194303,m:4194303,h:524287},dXt={196:1},gXt={245:1,3:1,35:1},pXt="range unbounded on this side",bXt={20:1},wXt={20:1,14:1},yXt={3:1,20:1,28:1,14:1},mXt={152:1,3:1,20:1,28:1,14:1,15:1,54:1},vXt={3:1,4:1,5:1,165:1},xXt={3:1,83:1},kXt={20:1,14:1,21:1},_Xt={3:1,20:1,28:1,14:1,21:1},EXt={20:1,14:1,21:1,84:1},TXt=461845907,CXt=-862048943,SXt={3:1,6:1,4:1,5:1,165:1},AXt="expectedSize",MXt=1073741824,IXt="initialArraySize",OXt={3:1,6:1,4:1,9:1,5:1},LXt={20:1,28:1,52:1,14:1,15:1},DXt="arraySize",NXt={20:1,28:1,52:1,14:1,15:1,54:1},PXt={45:1},BXt={365:1},RXt=1e-4,jXt=-2147483648,$Xt="__noinit__",FXt={3:1,102:1,60:1,78:1},zXt="com.google.gwt.core.client.impl",HXt="String",UXt="com.google.gwt.core.client",GXt="anonymous",qXt="fnStack",KXt="Unknown",YXt={195:1,3:1,4:1},WXt=1e3,XXt=65535,VXt="January",ZXt="February",QXt="March",JXt="April",tVt="May",eVt="June",nVt="July",iVt="August",rVt="September",aVt="October",oVt="November",sVt="December",cVt=1900,uVt={48:1,3:1,4:1},lVt="Before Christ",hVt="Anno Domini",fVt="Sunday",dVt="Monday",gVt="Tuesday",pVt="Wednesday",bVt="Thursday",wVt="Friday",yVt="Saturday",mVt="com.google.gwt.i18n.shared",vVt="DateTimeFormat",xVt="com.google.gwt.i18n.client",kVt="DefaultDateTimeFormatInfo",_Vt={3:1,4:1,35:1,199:1},EVt="com.google.gwt.json.client",TVt=4194303,CVt=1048575,SVt=524288,AVt=4194304,MVt=17592186044416,IVt=1e9,OVt=-17592186044416,LVt="java.io",DVt={3:1,102:1,73:1,60:1,78:1},NVt={3:1,289:1,78:1},PVt='For input string: "',BVt=1/0,RVt=-1/0,jVt=4096,$Vt={3:1,4:1,364:1},FVt=65536,zVt=55296,HVt={104:1,3:1,4:1},UVt=1e5,GVt=.3010299956639812,qVt=4294967295,KVt=4294967296,YVt="0.0",WVt={42:1},XVt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},VVt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},ZVt={20:1,14:1,15:1},QVt={3:1,62:1},JVt={182:1},tZt={3:1,4:1,83:1},eZt={3:1,4:1,20:1,28:1,14:1,53:1,21:1},nZt="delete",iZt=1.4901161193847656e-8,rZt=11102230246251565e-32,aZt=15525485,oZt=5.960464477539063e-8,sZt=16777216,cZt=16777215,uZt=", length: ",lZt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},hZt={3:1,35:1,22:1,297:1},fZt="java.util.function",dZt="java.util.logging",gZt={3:1,4:1,5:1,842:1},pZt="undefined",bZt="java.util.stream",wZt={525:1,670:1},yZt="fromIndex: ",mZt=" > toIndex: ",vZt=", toIndex: ",xZt="Index: ",kZt=", Size: ",_Zt="org.eclipse.elk.alg.common",EZt={62:1},TZt="org.eclipse.elk.alg.common.compaction",CZt="Scanline/EventHandler",SZt="org.eclipse.elk.alg.common.compaction.oned",AZt="CNode belongs to another CGroup.",MZt="ISpacingsHandler/1",IZt="The ",OZt=" instance has been finished already.",LZt="The direction ",DZt=" is not supported by the CGraph instance.",NZt="OneDimensionalCompactor",PZt="OneDimensionalCompactor/lambda$0$Type",BZt="Quadruplet",RZt="ScanlineConstraintCalculator",jZt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",$Zt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",FZt="ScanlineConstraintCalculator/Timestamp",zZt="ScanlineConstraintCalculator/lambda$0$Type",HZt={169:1,45:1},UZt="org.eclipse.elk.alg.common.compaction.options",GZt="org.eclipse.elk.core.data",qZt="org.eclipse.elk.polyomino.traversalStrategy",KZt="org.eclipse.elk.polyomino.lowLevelSort",YZt="org.eclipse.elk.polyomino.highLevelSort",WZt="org.eclipse.elk.polyomino.fill",XZt={130:1},VZt="polyomino",ZZt="org.eclipse.elk.alg.common.networksimplex",QZt={177:1,3:1,4:1},JZt="org.eclipse.elk.alg.common.nodespacing",tQt="org.eclipse.elk.alg.common.nodespacing.cellsystem",eQt="CENTER",nQt={212:1,326:1},iQt={3:1,4:1,5:1,595:1},rQt="LEFT",aQt="RIGHT",oQt="Vertical alignment cannot be null",sQt="BOTTOM",cQt="org.eclipse.elk.alg.common.nodespacing.internal",uQt="UNDEFINED",lQt=.01,hQt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",fQt="LabelPlacer/lambda$0$Type",dQt="LabelPlacer/lambda$1$Type",gQt="portRatioOrPosition",pQt="org.eclipse.elk.alg.common.overlaps",bQt="DOWN",wQt="org.eclipse.elk.alg.common.polyomino",yQt="NORTH",mQt="EAST",vQt="SOUTH",xQt="WEST",kQt="org.eclipse.elk.alg.common.polyomino.structures",_Qt="Direction",EQt="Grid is only of size ",TQt=". Requested point (",CQt=") is out of bounds.",SQt=" Given center based coordinates were (",AQt="org.eclipse.elk.graph.properties",MQt="IPropertyHolder",IQt={3:1,94:1,134:1},OQt="org.eclipse.elk.alg.common.spore",LQt="org.eclipse.elk.alg.common.utils",DQt={209:1},NQt="org.eclipse.elk.core",PQt="Connected Components Compaction",BQt="org.eclipse.elk.alg.disco",RQt="org.eclipse.elk.alg.disco.graph",jQt="org.eclipse.elk.alg.disco.options",$Qt="CompactionStrategy",FQt="org.eclipse.elk.disco.componentCompaction.strategy",zQt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",HQt="org.eclipse.elk.disco.debug.discoGraph",UQt="org.eclipse.elk.disco.debug.discoPolys",GQt="componentCompaction",qQt="org.eclipse.elk.disco",KQt="org.eclipse.elk.spacing.componentComponent",YQt="org.eclipse.elk.edge.thickness",WQt="org.eclipse.elk.aspectRatio",XQt="org.eclipse.elk.padding",VQt="org.eclipse.elk.alg.disco.transform",ZQt=1.5707963267948966,QQt=17976931348623157e292,JQt={3:1,4:1,5:1,192:1},tJt={3:1,6:1,4:1,5:1,106:1,120:1},eJt="org.eclipse.elk.alg.force",nJt="ComponentsProcessor",iJt="ComponentsProcessor/1",rJt="org.eclipse.elk.alg.force.graph",aJt="Component Layout",oJt="org.eclipse.elk.alg.force.model",sJt="org.eclipse.elk.force.model",cJt="org.eclipse.elk.force.iterations",uJt="org.eclipse.elk.force.repulsivePower",lJt="org.eclipse.elk.force.temperature",hJt=.001,fJt="org.eclipse.elk.force.repulsion",dJt="org.eclipse.elk.alg.force.options",gJt=1.600000023841858,pJt="org.eclipse.elk.force",bJt="org.eclipse.elk.priority",wJt="org.eclipse.elk.spacing.nodeNode",yJt="org.eclipse.elk.spacing.edgeLabel",mJt="org.eclipse.elk.randomSeed",vJt="org.eclipse.elk.separateConnectedComponents",xJt="org.eclipse.elk.interactive",kJt="org.eclipse.elk.portConstraints",_Jt="org.eclipse.elk.edgeLabels.inline",EJt="org.eclipse.elk.omitNodeMicroLayout",TJt="org.eclipse.elk.nodeSize.options",CJt="org.eclipse.elk.nodeSize.constraints",SJt="org.eclipse.elk.nodeLabels.placement",AJt="org.eclipse.elk.portLabels.placement",MJt="origin",IJt="random",OJt="boundingBox.upLeft",LJt="boundingBox.lowRight",DJt="org.eclipse.elk.stress.fixed",NJt="org.eclipse.elk.stress.desiredEdgeLength",PJt="org.eclipse.elk.stress.dimension",BJt="org.eclipse.elk.stress.epsilon",RJt="org.eclipse.elk.stress.iterationLimit",jJt="org.eclipse.elk.stress",$Jt="ELK Stress",FJt="org.eclipse.elk.nodeSize.minimum",zJt="org.eclipse.elk.alg.force.stress",HJt="Layered layout",UJt="org.eclipse.elk.alg.layered",GJt="org.eclipse.elk.alg.layered.compaction.components",qJt="org.eclipse.elk.alg.layered.compaction.oned",KJt="org.eclipse.elk.alg.layered.compaction.oned.algs",YJt="org.eclipse.elk.alg.layered.compaction.recthull",WJt="org.eclipse.elk.alg.layered.components",XJt="NONE",VJt={3:1,6:1,4:1,9:1,5:1,122:1},ZJt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},QJt="org.eclipse.elk.alg.layered.compound",JJt={51:1},t1t="org.eclipse.elk.alg.layered.graph",e1t=" -> ",n1t="Not supported by LGraph",i1t="Port side is undefined",r1t={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},a1t={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},o1t={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},s1t="([{\"' \t\r\n",c1t=")]}\"' \t\r\n",u1t="The given string contains parts that cannot be parsed as numbers.",l1t="org.eclipse.elk.core.math",h1t={3:1,4:1,142:1,207:1,414:1},f1t={3:1,4:1,116:1,207:1,414:1},d1t="org.eclipse.elk.layered",g1t="org.eclipse.elk.alg.layered.graph.transform",p1t="ElkGraphImporter",b1t="ElkGraphImporter/lambda$0$Type",w1t="ElkGraphImporter/lambda$1$Type",y1t="ElkGraphImporter/lambda$2$Type",m1t="ElkGraphImporter/lambda$4$Type",v1t="Node margin calculation",x1t="org.eclipse.elk.alg.layered.intermediate",k1t="ONE_SIDED_GREEDY_SWITCH",_1t="TWO_SIDED_GREEDY_SWITCH",E1t="No implementation is available for the layout processor ",T1t="IntermediateProcessorStrategy",C1t="Node '",S1t="FIRST_SEPARATE",A1t="LAST_SEPARATE",M1t="Odd port side processing",I1t="org.eclipse.elk.alg.layered.intermediate.compaction",O1t="org.eclipse.elk.alg.layered.intermediate.greedyswitch",L1t="org.eclipse.elk.alg.layered.p3order.counting",D1t={225:1},N1t="org.eclipse.elk.alg.layered.intermediate.loops",P1t="org.eclipse.elk.alg.layered.intermediate.loops.ordering",B1t="org.eclipse.elk.alg.layered.intermediate.loops.routing",R1t="org.eclipse.elk.alg.layered.intermediate.preserveorder",j1t="org.eclipse.elk.alg.layered.intermediate.wrapping",$1t="org.eclipse.elk.alg.layered.options",F1t="INTERACTIVE",z1t="DEPTH_FIRST",H1t="EDGE_LENGTH",U1t="SELF_LOOPS",G1t="firstTryWithInitialOrder",q1t="org.eclipse.elk.layered.directionCongruency",K1t="org.eclipse.elk.layered.feedbackEdges",Y1t="org.eclipse.elk.layered.interactiveReferencePoint",W1t="org.eclipse.elk.layered.mergeEdges",X1t="org.eclipse.elk.layered.mergeHierarchyEdges",V1t="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",Z1t="org.eclipse.elk.layered.portSortingStrategy",Q1t="org.eclipse.elk.layered.thoroughness",J1t="org.eclipse.elk.layered.unnecessaryBendpoints",t0t="org.eclipse.elk.layered.generatePositionAndLayerIds",e0t="org.eclipse.elk.layered.cycleBreaking.strategy",n0t="org.eclipse.elk.layered.layering.strategy",i0t="org.eclipse.elk.layered.layering.layerConstraint",r0t="org.eclipse.elk.layered.layering.layerChoiceConstraint",a0t="org.eclipse.elk.layered.layering.layerId",o0t="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",s0t="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",c0t="org.eclipse.elk.layered.layering.nodePromotion.strategy",u0t="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",l0t="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",h0t="org.eclipse.elk.layered.crossingMinimization.strategy",f0t="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",d0t="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",g0t="org.eclipse.elk.layered.crossingMinimization.semiInteractive",p0t="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",b0t="org.eclipse.elk.layered.crossingMinimization.positionId",w0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",y0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",m0t="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",v0t="org.eclipse.elk.layered.nodePlacement.strategy",x0t="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",k0t="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",_0t="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",E0t="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",T0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",C0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",S0t="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",A0t="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",M0t="org.eclipse.elk.layered.edgeRouting.splines.mode",I0t="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",O0t="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",L0t="org.eclipse.elk.layered.spacing.baseValue",D0t="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",N0t="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",P0t="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",B0t="org.eclipse.elk.layered.priority.direction",R0t="org.eclipse.elk.layered.priority.shortness",j0t="org.eclipse.elk.layered.priority.straightness",$0t="org.eclipse.elk.layered.compaction.connectedComponents",F0t="org.eclipse.elk.layered.compaction.postCompaction.strategy",z0t="org.eclipse.elk.layered.compaction.postCompaction.constraints",H0t="org.eclipse.elk.layered.highDegreeNodes.treatment",U0t="org.eclipse.elk.layered.highDegreeNodes.threshold",G0t="org.eclipse.elk.layered.highDegreeNodes.treeHeight",q0t="org.eclipse.elk.layered.wrapping.strategy",K0t="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",Y0t="org.eclipse.elk.layered.wrapping.correctionFactor",W0t="org.eclipse.elk.layered.wrapping.cutting.strategy",X0t="org.eclipse.elk.layered.wrapping.cutting.cuts",V0t="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",Z0t="org.eclipse.elk.layered.wrapping.validify.strategy",Q0t="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",J0t="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",t2t="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",e2t="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",n2t="org.eclipse.elk.layered.edgeLabels.sideSelection",i2t="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",r2t="org.eclipse.elk.layered.considerModelOrder.strategy",a2t="org.eclipse.elk.layered.considerModelOrder.noModelOrder",o2t="org.eclipse.elk.layered.considerModelOrder.components",s2t="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",c2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",u2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",l2t="layering",h2t="layering.minWidth",f2t="layering.nodePromotion",d2t="crossingMinimization",g2t="org.eclipse.elk.hierarchyHandling",p2t="crossingMinimization.greedySwitch",b2t="nodePlacement",w2t="nodePlacement.bk",y2t="edgeRouting",m2t="org.eclipse.elk.edgeRouting",v2t="spacing",x2t="priority",k2t="compaction",_2t="compaction.postCompaction",E2t="Specifies whether and how post-process compaction is applied.",T2t="highDegreeNodes",C2t="wrapping",S2t="wrapping.cutting",A2t="wrapping.validify",M2t="wrapping.multiEdge",I2t="edgeLabels",O2t="considerModelOrder",L2t="org.eclipse.elk.spacing.commentComment",D2t="org.eclipse.elk.spacing.commentNode",N2t="org.eclipse.elk.spacing.edgeEdge",P2t="org.eclipse.elk.spacing.edgeNode",B2t="org.eclipse.elk.spacing.labelLabel",R2t="org.eclipse.elk.spacing.labelPortHorizontal",j2t="org.eclipse.elk.spacing.labelPortVertical",$2t="org.eclipse.elk.spacing.labelNode",F2t="org.eclipse.elk.spacing.nodeSelfLoop",z2t="org.eclipse.elk.spacing.portPort",H2t="org.eclipse.elk.spacing.individual",U2t="org.eclipse.elk.port.borderOffset",G2t="org.eclipse.elk.noLayout",q2t="org.eclipse.elk.port.side",K2t="org.eclipse.elk.debugMode",Y2t="org.eclipse.elk.alignment",W2t="org.eclipse.elk.insideSelfLoops.activate",X2t="org.eclipse.elk.insideSelfLoops.yo",V2t="org.eclipse.elk.nodeSize.fixedGraphSize",Z2t="org.eclipse.elk.direction",Q2t="org.eclipse.elk.nodeLabels.padding",J2t="org.eclipse.elk.portLabels.nextToPortIfPossible",t3t="org.eclipse.elk.portLabels.treatAsGroup",e3t="org.eclipse.elk.portAlignment.default",n3t="org.eclipse.elk.portAlignment.north",i3t="org.eclipse.elk.portAlignment.south",r3t="org.eclipse.elk.portAlignment.west",a3t="org.eclipse.elk.portAlignment.east",o3t="org.eclipse.elk.contentAlignment",s3t="org.eclipse.elk.junctionPoints",c3t="org.eclipse.elk.edgeLabels.placement",u3t="org.eclipse.elk.port.index",l3t="org.eclipse.elk.commentBox",h3t="org.eclipse.elk.hypernode",f3t="org.eclipse.elk.port.anchor",d3t="org.eclipse.elk.partitioning.activate",g3t="org.eclipse.elk.partitioning.partition",p3t="org.eclipse.elk.position",b3t="org.eclipse.elk.margins",w3t="org.eclipse.elk.spacing.portsSurrounding",y3t="org.eclipse.elk.interactiveLayout",m3t="org.eclipse.elk.core.util",v3t={3:1,4:1,5:1,593:1},x3t="NETWORK_SIMPLEX",k3t={123:1,51:1},_3t="org.eclipse.elk.alg.layered.p1cycles",E3t="org.eclipse.elk.alg.layered.p2layers",T3t={402:1,225:1},C3t={832:1,3:1,4:1},S3t="org.eclipse.elk.alg.layered.p3order",A3t="org.eclipse.elk.alg.layered.p4nodes",M3t={3:1,4:1,5:1,840:1},I3t=1e-5,O3t="org.eclipse.elk.alg.layered.p4nodes.bk",L3t="org.eclipse.elk.alg.layered.p5edges",D3t="org.eclipse.elk.alg.layered.p5edges.orthogonal",N3t="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",P3t=1e-6,B3t="org.eclipse.elk.alg.layered.p5edges.splines",R3t=.09999999999999998,j3t=1e-8,$3t=4.71238898038469,F3t=3.141592653589793,z3t="org.eclipse.elk.alg.mrtree",H3t="org.eclipse.elk.alg.mrtree.graph",U3t="org.eclipse.elk.alg.mrtree.intermediate",G3t="Set neighbors in level",q3t="DESCENDANTS",K3t="org.eclipse.elk.mrtree.weighting",Y3t="org.eclipse.elk.mrtree.searchOrder",W3t="org.eclipse.elk.alg.mrtree.options",X3t="org.eclipse.elk.mrtree",V3t="org.eclipse.elk.tree",Z3t="org.eclipse.elk.alg.radial",Q3t=6.283185307179586,J3t=5e-324,t4t="org.eclipse.elk.alg.radial.intermediate",e4t="org.eclipse.elk.alg.radial.intermediate.compaction",n4t={3:1,4:1,5:1,106:1},i4t="org.eclipse.elk.alg.radial.intermediate.optimization",r4t="No implementation is available for the layout option ",a4t="org.eclipse.elk.alg.radial.options",o4t="org.eclipse.elk.radial.orderId",s4t="org.eclipse.elk.radial.radius",c4t="org.eclipse.elk.radial.compactor",u4t="org.eclipse.elk.radial.compactionStepSize",l4t="org.eclipse.elk.radial.sorter",h4t="org.eclipse.elk.radial.wedgeCriteria",f4t="org.eclipse.elk.radial.optimizationCriteria",d4t="org.eclipse.elk.radial",g4t="org.eclipse.elk.alg.radial.p1position.wedge",p4t="org.eclipse.elk.alg.radial.sorting",b4t=5.497787143782138,w4t=3.9269908169872414,y4t=2.356194490192345,m4t="org.eclipse.elk.alg.rectpacking",v4t="org.eclipse.elk.alg.rectpacking.firstiteration",x4t="org.eclipse.elk.alg.rectpacking.options",k4t="org.eclipse.elk.rectpacking.optimizationGoal",_4t="org.eclipse.elk.rectpacking.lastPlaceShift",E4t="org.eclipse.elk.rectpacking.currentPosition",T4t="org.eclipse.elk.rectpacking.desiredPosition",C4t="org.eclipse.elk.rectpacking.onlyFirstIteration",S4t="org.eclipse.elk.rectpacking.rowCompaction",A4t="org.eclipse.elk.rectpacking.expandToAspectRatio",M4t="org.eclipse.elk.rectpacking.targetWidth",I4t="org.eclipse.elk.expandNodes",O4t="org.eclipse.elk.rectpacking",L4t="org.eclipse.elk.alg.rectpacking.util",D4t="No implementation available for ",N4t="org.eclipse.elk.alg.spore",P4t="org.eclipse.elk.alg.spore.options",B4t="org.eclipse.elk.sporeCompaction",R4t="org.eclipse.elk.underlyingLayoutAlgorithm",j4t="org.eclipse.elk.processingOrder.treeConstruction",$4t="org.eclipse.elk.processingOrder.spanningTreeCostFunction",F4t="org.eclipse.elk.processingOrder.preferredRoot",z4t="org.eclipse.elk.processingOrder.rootSelection",H4t="org.eclipse.elk.structure.structureExtractionStrategy",U4t="org.eclipse.elk.compaction.compactionStrategy",G4t="org.eclipse.elk.compaction.orthogonal",q4t="org.eclipse.elk.overlapRemoval.maxIterations",K4t="org.eclipse.elk.overlapRemoval.runScanline",Y4t="processingOrder",W4t="overlapRemoval",X4t="org.eclipse.elk.sporeOverlap",V4t="org.eclipse.elk.alg.spore.p1structure",Z4t="org.eclipse.elk.alg.spore.p2processingorder",Q4t="org.eclipse.elk.alg.spore.p3execution",J4t="Invalid index: ",t5t="org.eclipse.elk.core.alg",e5t={331:1},n5t={288:1},i5t="Make sure its type is registered with the ",r5t=" utility class.",a5t="true",o5t="false",s5t="Couldn't clone property '",c5t=.05,u5t="org.eclipse.elk.core.options",l5t=1.2999999523162842,h5t="org.eclipse.elk.box",f5t="org.eclipse.elk.box.packingMode",d5t="org.eclipse.elk.algorithm",g5t="org.eclipse.elk.resolvedAlgorithm",p5t="org.eclipse.elk.bendPoints",b5t="org.eclipse.elk.labelManager",w5t="org.eclipse.elk.scaleFactor",y5t="org.eclipse.elk.animate",m5t="org.eclipse.elk.animTimeFactor",v5t="org.eclipse.elk.layoutAncestors",x5t="org.eclipse.elk.maxAnimTime",k5t="org.eclipse.elk.minAnimTime",_5t="org.eclipse.elk.progressBar",E5t="org.eclipse.elk.validateGraph",T5t="org.eclipse.elk.validateOptions",C5t="org.eclipse.elk.zoomToFit",S5t="org.eclipse.elk.font.name",A5t="org.eclipse.elk.font.size",M5t="org.eclipse.elk.edge.type",I5t="partitioning",O5t="nodeLabels",L5t="portAlignment",D5t="nodeSize",N5t="port",P5t="portLabels",B5t="insideSelfLoops",R5t="org.eclipse.elk.fixed",j5t="org.eclipse.elk.random",$5t="port must have a parent node to calculate the port side",F5t="The edge needs to have exactly one edge section. Found: ",z5t="org.eclipse.elk.core.util.adapters",H5t="org.eclipse.emf.ecore",U5t="org.eclipse.elk.graph",G5t="EMapPropertyHolder",q5t="ElkBendPoint",K5t="ElkGraphElement",Y5t="ElkConnectableShape",W5t="ElkEdge",X5t="ElkEdgeSection",V5t="EModelElement",Z5t="ENamedElement",Q5t="ElkLabel",J5t="ElkNode",t6t="ElkPort",e6t={92:1,90:1},n6t="org.eclipse.emf.common.notify.impl",i6t="The feature '",r6t="' is not a valid changeable feature",a6t="Expecting null",o6t="' is not a valid feature",s6t="The feature ID",c6t=" is not a valid feature ID",u6t=32768,l6t={105:1,92:1,90:1,56:1,49:1,97:1},h6t="org.eclipse.emf.ecore.impl",f6t="org.eclipse.elk.graph.impl",d6t="Recursive containment not allowed for ",g6t="The datatype '",p6t="' is not a valid classifier",b6t="The value '",w6t={190:1,3:1,4:1},y6t="The class '",m6t="http://www.eclipse.org/elk/ElkGraph",v6t=1024,x6t="property",k6t="value",_6t="source",E6t="properties",T6t="identifier",C6t="height",S6t="width",A6t="parent",M6t="text",I6t="children",O6t="hierarchical",L6t="sources",D6t="targets",N6t="sections",P6t="bendPoints",B6t="outgoingShape",R6t="incomingShape",j6t="outgoingSections",$6t="incomingSections",F6t="org.eclipse.emf.common.util",z6t="Severe implementation error in the Json to ElkGraph importer.",H6t="id",U6t="org.eclipse.elk.graph.json",G6t="Unhandled parameter types: ",q6t="startPoint",K6t="An edge must have at least one source and one target (edge id: '",Y6t="').",W6t="Referenced edge section does not exist: ",X6t=" (edge id: '",V6t="target",Z6t="sourcePoint",Q6t="targetPoint",J6t="group",t8t="name",e8t="connectableShape cannot be null",n8t="edge cannot be null",i8t="Passed edge is not 'simple'.",r8t="org.eclipse.elk.graph.util",a8t="The 'no duplicates' constraint is violated",o8t="targetIndex=",s8t=", size=",c8t="sourceIndex=",u8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},l8t={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},h8t="logging",f8t="measureExecutionTime",d8t="parser.parse.1",g8t="parser.parse.2",p8t="parser.next.1",b8t="parser.next.2",w8t="parser.next.3",y8t="parser.next.4",m8t="parser.factor.1",v8t="parser.factor.2",x8t="parser.factor.3",k8t="parser.factor.4",_8t="parser.factor.5",E8t="parser.factor.6",T8t="parser.atom.1",C8t="parser.atom.2",S8t="parser.atom.3",A8t="parser.atom.4",M8t="parser.atom.5",I8t="parser.cc.1",O8t="parser.cc.2",L8t="parser.cc.3",D8t="parser.cc.5",N8t="parser.cc.6",P8t="parser.cc.7",B8t="parser.cc.8",R8t="parser.ope.1",j8t="parser.ope.2",$8t="parser.ope.3",F8t="parser.descape.1",z8t="parser.descape.2",H8t="parser.descape.3",U8t="parser.descape.4",G8t="parser.descape.5",q8t="parser.process.1",K8t="parser.quantifier.1",Y8t="parser.quantifier.2",W8t="parser.quantifier.3",X8t="parser.quantifier.4",V8t="parser.quantifier.5",Z8t="org.eclipse.emf.common.notify",Q8t={415:1,672:1},J8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},t7t={366:1,143:1},e7t="index=",n7t={3:1,4:1,5:1,126:1},i7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},r7t={3:1,6:1,4:1,5:1,192:1},a7t={3:1,4:1,5:1,165:1,367:1},o7t=";/?:@&=+$,",s7t="invalid authority: ",c7t="EAnnotation",u7t="ETypedElement",l7t="EStructuralFeature",h7t="EAttribute",f7t="EClassifier",d7t="EEnumLiteral",g7t="EGenericType",p7t="EOperation",b7t="EParameter",w7t="EReference",y7t="ETypeParameter",m7t="org.eclipse.emf.ecore.util",v7t={76:1},x7t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},k7t="org.eclipse.emf.ecore.util.FeatureMap$Entry",_7t=8192,E7t=2048,T7t="byte",C7t="char",S7t="double",A7t="float",M7t="int",I7t="long",O7t="short",L7t="java.lang.Object",D7t={3:1,4:1,5:1,247:1},N7t={3:1,4:1,5:1,673:1},P7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},B7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},R7t="mixed",j7t="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",$7t="kind",F7t={3:1,4:1,5:1,674:1},z7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},H7t={20:1,28:1,52:1,14:1,15:1,58:1,69:1},U7t={47:1,125:1,279:1},G7t={72:1,332:1},q7t="The value of type '",K7t="' must be of type '",Y7t=1316,W7t="http://www.eclipse.org/emf/2002/Ecore",X7t=-32768,V7t="constraints",Z7t="baseType",Q7t="getEStructuralFeature",J7t="getFeatureID",t9t="feature",e9t="getOperationID",n9t="operation",i9t="defaultValue",r9t="eTypeParameters",a9t="isInstance",o9t="getEEnumLiteral",s9t="eContainingClass",c9t={55:1},u9t={3:1,4:1,5:1,119:1},l9t="org.eclipse.emf.ecore.resource",h9t={92:1,90:1,591:1,1935:1},f9t="org.eclipse.emf.ecore.resource.impl",d9t="unspecified",g9t="simple",p9t="attribute",b9t="attributeWildcard",w9t="element",y9t="elementWildcard",m9t="collapse",v9t="itemType",x9t="namespace",k9t="##targetNamespace",_9t="whiteSpace",E9t="wildcards",T9t="http://www.eclipse.org/emf/2003/XMLType",C9t="##any",S9t="uninitialized",A9t="The multiplicity constraint is violated",M9t="org.eclipse.emf.ecore.xml.type",I9t="ProcessingInstruction",O9t="SimpleAnyType",L9t="XMLTypeDocumentRoot",D9t="org.eclipse.emf.ecore.xml.type.impl",N9t="INF",P9t="processing",B9t="ENTITIES_._base",R9t="minLength",j9t="ENTITY",$9t="NCName",F9t="IDREFS_._base",z9t="integer",H9t="token",U9t="pattern",G9t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",q9t="\\i\\c*",K9t="[\\i-[:]][\\c-[:]]*",Y9t="nonPositiveInteger",W9t="maxInclusive",X9t="NMTOKEN",V9t="NMTOKENS_._base",Z9t="nonNegativeInteger",Q9t="minInclusive",J9t="normalizedString",tte="unsignedByte",ete="unsignedInt",nte="18446744073709551615",ite="unsignedShort",rte="processingInstruction",ate="org.eclipse.emf.ecore.xml.type.internal",ote=1114111,ste="Internal Error: shorthands: \\u",cte="xml:isDigit",ute="xml:isWord",lte="xml:isSpace",hte="xml:isNameChar",fte="xml:isInitialNameChar",dte="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",gte="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",pte="Private Use",bte="ASSIGNED",wte="\0ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ֏ۿ܀ݏހऀॿঀ૿ఀ౿ಀഀൿༀက႟ႠჿᄀᇿሀᎠ᐀ᙿ ᚠក᠀Ḁỿἀ ⁰₠⃐℀⅏⅐←⇿∀⋿⌀⏿␀⑀①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⼀⿰ 〿ゟ゠ヿㄯ㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒐가힣豈ffﭏﭐ﷿︠︯︰﹏﹐ﹰ\ufeff\ufeff",yte="UNASSIGNED",mte={3:1,117:1},vte="org.eclipse.emf.ecore.xml.type.util",xte={3:1,4:1,5:1,368:1},kte="org.eclipse.xtext.xbase.lib",_te="Cannot add elements to a Range",Ete="Cannot set elements in a Range",Tte="Cannot remove elements from a Range",Cte="locale",Ste="default",Ate="user.agent";e.goog=e.goog||{},e.goog.global=e.goog.global||e,YTt(),dOt(1,null,{},r),EWt.Fb=function(t){return jI(this,t)},EWt.Gb=function(){return this.gm},EWt.Hb=function(){return TN(this)},EWt.Ib=function(){return Qk(tut(this))+"@"+(Jct(this)>>>0).toString(16)},EWt.equals=function(t){return this.Fb(t)},EWt.hashCode=function(){return this.Hb()},EWt.toString=function(){return this.Ib()},dOt(290,1,{290:1,2026:1},bct),EWt.le=function(t){var e;return (e=new bct).i=4,e.c=t>1?gJ(this,t-1):this,e},EWt.me=function(){return xB(this),this.b},EWt.ne=function(){return Qk(this)},EWt.oe=function(){return xB(this),this.k},EWt.pe=function(){return !!(4&this.i)},EWt.qe=function(){return !!(1&this.i)},EWt.Ib=function(){return aet(this)},EWt.i=0;var Mte,Ite=bY(BWt,"Object",1),Ote=bY(BWt,"Class",290);dOt(1998,1,RWt),bY(jWt,"Optional",1998),dOt(1170,1998,RWt,a),EWt.Fb=function(t){return t===this},EWt.Hb=function(){return 2040732332},EWt.Ib=function(){return "Optional.absent()"},EWt.Jb=function(t){return yY(t),ev(),Mte},bY(jWt,"Absent",1170),dOt(628,1,{},wx),bY(jWt,"Joiner",628);var Lte=hU(jWt,"Predicate");dOt(582,1,{169:1,582:1,3:1,45:1},$h),EWt.Mb=function(t){return Rct(this,t)},EWt.Lb=function(t){return Rct(this,t)},EWt.Fb=function(t){var e;return !!iD(t,582)&&(e=$z(t,582),DOt(this.a,e.a))},EWt.Hb=function(){return $ct(this.a)+306654252},EWt.Ib=function(){return dSt(this.a)},bY(jWt,"Predicates/AndPredicate",582),dOt(408,1998,{408:1,3:1},Fh),EWt.Fb=function(t){var e;return !!iD(t,408)&&(e=$z(t,408),Dht(this.a,e.a))},EWt.Hb=function(){return 1502476572+Jct(this.a)},EWt.Ib=function(){return UWt+this.a+")"},EWt.Jb=function(t){return new Fh(KV(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},bY(jWt,"Present",408),dOt(198,1,qWt),EWt.Nb=function(t){uK(this,t);},EWt.Qb=function(){hx();},bY(KWt,"UnmodifiableIterator",198),dOt(1978,198,YWt),EWt.Qb=function(){hx();},EWt.Rb=function(t){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(KWt,"UnmodifiableListIterator",1978),dOt(386,1978,YWt),EWt.Ob=function(){return this.c<this.d},EWt.Sb=function(){return this.c>0},EWt.Pb=function(){if(this.c>=this.d)throw Fw(new yy);return this.Xb(this.c++)},EWt.Tb=function(){return this.c},EWt.Ub=function(){if(this.c<=0)throw Fw(new yy);return this.Xb(--this.c)},EWt.Vb=function(){return this.c-1},EWt.c=0,EWt.d=0,bY(KWt,"AbstractIndexedListIterator",386),dOt(699,198,qWt),EWt.Ob=function(){return Qit(this)},EWt.Pb=function(){return T9(this)},EWt.e=1,bY(KWt,"AbstractIterator",699),dOt(1986,1,{224:1}),EWt.Zb=function(){return this.f||(this.f=this.ac())},EWt.Fb=function(t){return xut(this,t)},EWt.Hb=function(){return Jct(this.Zb())},EWt.dc=function(){return 0==this.gc()},EWt.ec=function(){return gq(this)},EWt.Ib=function(){return Fdt(this.Zb())},bY(KWt,"AbstractMultimap",1986),dOt(726,1986,WWt),EWt.$b=function(){dit(this);},EWt._b=function(t){return Kk(this,t)},EWt.ac=function(){return new pE(this,this.c)},EWt.ic=function(t){return this.hc()},EWt.bc=function(){return new FD(this,this.c)},EWt.jc=function(){return this.mc(this.hc())},EWt.kc=function(){return new Fm(this)},EWt.lc=function(){return HEt(this.c.vc().Nc(),new s,64,this.d)},EWt.cc=function(t){return c6(this,t)},EWt.fc=function(t){return Dlt(this,t)},EWt.gc=function(){return this.d},EWt.mc=function(t){return EV(),new Fd(t)},EWt.nc=function(){return new $m(this)},EWt.oc=function(){return HEt(this.c.Cc().Nc(),new o,64,this.d)},EWt.pc=function(t,e){return new K6(this,t,e,null)},EWt.d=0,bY(KWt,"AbstractMapBasedMultimap",726),dOt(1631,726,WWt),EWt.hc=function(){return new V6(this.a)},EWt.jc=function(){return EV(),EV(),cne},EWt.cc=function(t){return $z(c6(this,t),15)},EWt.fc=function(t){return $z(Dlt(this,t),15)},EWt.Zb=function(){return AV(this)},EWt.Fb=function(t){return xut(this,t)},EWt.qc=function(t){return $z(c6(this,t),15)},EWt.rc=function(t){return $z(Dlt(this,t),15)},EWt.mc=function(t){return nZ($z(t,15))},EWt.pc=function(t,e){return e3(this,t,$z(e,15),null)},bY(KWt,"AbstractListMultimap",1631),dOt(732,1,XWt),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.c.Ob()||this.e.Ob()},EWt.Pb=function(){var t;return this.e.Ob()||(t=$z(this.c.Pb(),42),this.b=t.cd(),this.a=$z(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},EWt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d;},bY(KWt,"AbstractMapBasedMultimap/Itr",732),dOt(1099,732,XWt,$m),EWt.sc=function(t,e){return e},bY(KWt,"AbstractMapBasedMultimap/1",1099),dOt(1100,1,{},o),EWt.Kb=function(t){return $z(t,14).Nc()},bY(KWt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),dOt(1101,732,XWt,Fm),EWt.sc=function(t,e){return new bE(t,e)},bY(KWt,"AbstractMapBasedMultimap/2",1101);var Dte=hU(VWt,"Map");dOt(1967,1,ZWt),EWt.wc=function(t){Jat(this,t);},EWt.yc=function(t,e,n){return Qft(this,t,e,n)},EWt.$b=function(){this.vc().$b();},EWt.tc=function(t){return Emt(this,t)},EWt._b=function(t){return !!$_t(this,t,!1)},EWt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=$z(e.Pb(),42).dd(),HM(t)===HM(n)||null!=t&&Dht(t,n))return !0;return !1},EWt.Fb=function(t){var e,n,i;if(t===this)return !0;if(!iD(t,83))return !1;if(i=$z(t,83),this.gc()!=i.gc())return !1;for(n=i.vc().Kc();n.Ob();)if(e=$z(n.Pb(),42),!this.tc(e))return !1;return !0},EWt.xc=function(t){return zM($_t(this,t,!1))},EWt.Hb=function(){return zst(this.vc())},EWt.dc=function(){return 0==this.gc()},EWt.ec=function(){return new Cd(this)},EWt.zc=function(t,e){throw Fw(new Jv("Put not supported on this map"))},EWt.Ac=function(t){_at(this,t);},EWt.Bc=function(t){return zM($_t(this,t,!0))},EWt.gc=function(){return this.vc().gc()},EWt.Ib=function(){return J_t(this)},EWt.Cc=function(){return new Ad(this)},bY(VWt,"AbstractMap",1967),dOt(1987,1967,ZWt),EWt.bc=function(){return new EE(this)},EWt.vc=function(){return dq(this)},EWt.ec=function(){return this.g||(this.g=this.bc())},EWt.Cc=function(){return this.i||(this.i=new TE(this))},bY(KWt,"Maps/ViewCachingAbstractMap",1987),dOt(389,1987,ZWt,pE),EWt.xc=function(t){return vet(this,t)},EWt.Bc=function(t){return Qut(this,t)},EWt.$b=function(){this.d==this.e.c?this.e.$b():CU(new AU(this));},EWt._b=function(t){return pht(this.d,t)},EWt.Ec=function(){return new Gh(this)},EWt.Dc=function(){return this.Ec()},EWt.Fb=function(t){return this===t||Dht(this.d,t)},EWt.Hb=function(){return Jct(this.d)},EWt.ec=function(){return this.e.ec()},EWt.gc=function(){return this.d.gc()},EWt.Ib=function(){return Fdt(this.d)},bY(KWt,"AbstractMapBasedMultimap/AsMap",389);var Nte=hU(BWt,"Iterable");dOt(28,1,QWt),EWt.Jc=function(t){t5(this,t);},EWt.Lc=function(){return this.Oc()},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){throw Fw(new Jv("Add not supported on this collection"))},EWt.Gc=function(t){return $rt(this,t)},EWt.$b=function(){kX(this);},EWt.Hc=function(t){return mgt(this,t,!1)},EWt.Ic=function(t){return sst(this,t)},EWt.dc=function(){return 0==this.gc()},EWt.Mc=function(t){return mgt(this,t,!0)},EWt.Pc=function(){return iq(this)},EWt.Qc=function(t){return kmt(this,t)},EWt.Ib=function(){return LTt(this)},bY(VWt,"AbstractCollection",28);var Pte=hU(VWt,"Set");dOt(JWt,28,tXt),EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return nbt(this,t)},EWt.Hb=function(){return zst(this)},bY(VWt,"AbstractSet",JWt),dOt(1970,JWt,tXt),bY(KWt,"Sets/ImprovedAbstractSet",1970),dOt(1971,1970,tXt),EWt.$b=function(){this.Rc().$b();},EWt.Hc=function(t){return npt(this,t)},EWt.dc=function(){return this.Rc().dc()},EWt.Mc=function(t){var e;return !!this.Hc(t)&&(e=$z(t,42),this.Rc().ec().Mc(e.cd()))},EWt.gc=function(){return this.Rc().gc()},bY(KWt,"Maps/EntrySet",1971),dOt(1097,1971,tXt,Gh),EWt.Hc=function(t){return dht(this.a.d.vc(),t)},EWt.Kc=function(){return new AU(this.a)},EWt.Rc=function(){return this.a},EWt.Mc=function(t){var e;return !!dht(this.a.d.vc(),t)&&(e=$z(t,42),F5(this.a.e,e.cd()),!0)},EWt.Nc=function(){return Pz(this.a.d.vc().Nc(),new qh(this.a))},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),dOt(1098,1,{},qh),EWt.Kb=function(t){return e5(this.a,$z(t,42))},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),dOt(730,1,XWt,AU),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){var t;return t=$z(this.b.Pb(),42),this.a=$z(t.dd(),14),e5(this.c,t)},EWt.Ob=function(){return this.b.Ob()},EWt.Qb=function(){uot(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null;},bY(KWt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),dOt(532,1970,tXt,EE),EWt.$b=function(){this.b.$b();},EWt.Hc=function(t){return this.b._b(t)},EWt.Jc=function(t){yY(t),this.b.wc(new bf(t));},EWt.dc=function(){return this.b.dc()},EWt.Kc=function(){return new lv(this.b.vc().Kc())},EWt.Mc=function(t){return !!this.b._b(t)&&(this.b.Bc(t),!0)},EWt.gc=function(){return this.b.gc()},bY(KWt,"Maps/KeySet",532),dOt(318,532,tXt,FD),EWt.$b=function(){CU(new tE(this,this.b.vc().Kc()));},EWt.Ic=function(t){return this.b.ec().Ic(t)},EWt.Fb=function(t){return this===t||Dht(this.b.ec(),t)},EWt.Hb=function(){return Jct(this.b.ec())},EWt.Kc=function(){return new tE(this,this.b.vc().Kc())},EWt.Mc=function(t){var e,n;return n=0,(e=$z(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},EWt.Nc=function(){return this.b.ec().Nc()},bY(KWt,"AbstractMapBasedMultimap/KeySet",318),dOt(731,1,XWt,tE),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.c.Ob()},EWt.Pb=function(){return this.a=$z(this.c.Pb(),42),this.a.cd()},EWt.Qb=function(){var t;uot(!!this.a),t=$z(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null;},bY(KWt,"AbstractMapBasedMultimap/KeySet/1",731),dOt(491,389,{83:1,161:1},CB),EWt.bc=function(){return this.Sc()},EWt.ec=function(){return this.Tc()},EWt.Sc=function(){return new Q_(this.c,this.Uc())},EWt.Tc=function(){return this.b||(this.b=this.Sc())},EWt.Uc=function(){return $z(this.d,161)},bY(KWt,"AbstractMapBasedMultimap/SortedAsMap",491),dOt(542,491,eXt,SB),EWt.bc=function(){return new J_(this.a,$z($z(this.d,161),171))},EWt.Sc=function(){return new J_(this.a,$z($z(this.d,161),171))},EWt.ec=function(){return $z(this.b||(this.b=new J_(this.a,$z($z(this.d,161),171))),271)},EWt.Tc=function(){return $z(this.b||(this.b=new J_(this.a,$z($z(this.d,161),171))),271)},EWt.Uc=function(){return $z($z(this.d,161),171)},bY(KWt,"AbstractMapBasedMultimap/NavigableAsMap",542),dOt(490,318,nXt,Q_),EWt.Nc=function(){return this.b.ec().Nc()},bY(KWt,"AbstractMapBasedMultimap/SortedKeySet",490),dOt(388,490,iXt,J_),bY(KWt,"AbstractMapBasedMultimap/NavigableKeySet",388),dOt(541,28,QWt,K6),EWt.Fc=function(t){var e,n;return Gdt(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&vR(this)),e},EWt.Gc=function(t){var e,n,i;return !t.dc()&&(Gdt(this),i=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-i,0==i&&vR(this)),e)},EWt.$b=function(){var t;Gdt(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,IG(this));},EWt.Hc=function(t){return Gdt(this),this.d.Hc(t)},EWt.Ic=function(t){return Gdt(this),this.d.Ic(t)},EWt.Fb=function(t){return t===this||(Gdt(this),Dht(this.d,t))},EWt.Hb=function(){return Gdt(this),Jct(this.d)},EWt.Kc=function(){return Gdt(this),new Wz(this)},EWt.Mc=function(t){var e;return Gdt(this),(e=this.d.Mc(t))&&(--this.f.d,IG(this)),e},EWt.gc=function(){return JM(this)},EWt.Nc=function(){return Gdt(this),this.d.Nc()},EWt.Ib=function(){return Gdt(this),Fdt(this.d)},bY(KWt,"AbstractMapBasedMultimap/WrappedCollection",541);var Bte=hU(VWt,"List");dOt(728,541,{20:1,28:1,14:1,15:1},sq),EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return Gdt(this),this.d.Nc()},EWt.Vc=function(t,e){var n;Gdt(this),n=this.d.dc(),$z(this.d,15).Vc(t,e),++this.a.d,n&&vR(this);},EWt.Wc=function(t,e){var n,i,r;return !e.dc()&&(Gdt(this),r=this.d.gc(),(n=$z(this.d,15).Wc(t,e))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&vR(this)),n)},EWt.Xb=function(t){return Gdt(this),$z(this.d,15).Xb(t)},EWt.Xc=function(t){return Gdt(this),$z(this.d,15).Xc(t)},EWt.Yc=function(){return Gdt(this),new gL(this)},EWt.Zc=function(t){return Gdt(this),new gV(this,t)},EWt.$c=function(t){var e;return Gdt(this),e=$z(this.d,15).$c(t),--this.a.d,IG(this),e},EWt._c=function(t,e){return Gdt(this),$z(this.d,15)._c(t,e)},EWt.bd=function(t,e){return Gdt(this),e3(this.a,this.e,$z(this.d,15).bd(t,e),this.b?this.b:this)},bY(KWt,"AbstractMapBasedMultimap/WrappedList",728),dOt(1096,728,{20:1,28:1,14:1,15:1,54:1},AP),bY(KWt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),dOt(620,1,XWt,Wz),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return _X(this),this.b.Ob()},EWt.Pb=function(){return _X(this),this.b.Pb()},EWt.Qb=function(){tN(this);},bY(KWt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),dOt(729,620,rXt,gL,gV),EWt.Qb=function(){tN(this);},EWt.Rb=function(t){var e;e=0==JM(this.a),(_X(this),$z(this.b,125)).Rb(t),++this.a.a.d,e&&vR(this.a);},EWt.Sb=function(){return (_X(this),$z(this.b,125)).Sb()},EWt.Tb=function(){return (_X(this),$z(this.b,125)).Tb()},EWt.Ub=function(){return (_X(this),$z(this.b,125)).Ub()},EWt.Vb=function(){return (_X(this),$z(this.b,125)).Vb()},EWt.Wb=function(t){(_X(this),$z(this.b,125)).Wb(t);},bY(KWt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),dOt(727,541,nXt,LB),EWt.Nc=function(){return Gdt(this),this.d.Nc()},bY(KWt,"AbstractMapBasedMultimap/WrappedSortedSet",727),dOt(1095,727,iXt,MO),bY(KWt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),dOt(1094,541,tXt,DB),EWt.Nc=function(){return Gdt(this),this.d.Nc()},bY(KWt,"AbstractMapBasedMultimap/WrappedSet",1094),dOt(1103,1,{},s),EWt.Kb=function(t){return j6($z(t,42))},bY(KWt,"AbstractMapBasedMultimap/lambda$1$Type",1103),dOt(1102,1,{},Kh),EWt.Kb=function(t){return new bE(this.a,t)},bY(KWt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var Rte,jte,$te,Fte,zte=hU(VWt,"Map/Entry");dOt(345,1,aXt),EWt.Fb=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),fW(this.cd(),e.cd())&&fW(this.dd(),e.dd()))},EWt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:Jct(t))^(null==e?0:Jct(e))},EWt.ed=function(t){throw Fw(new py)},EWt.Ib=function(){return this.cd()+"="+this.dd()},bY(KWt,oXt,345),dOt(1988,28,QWt),EWt.$b=function(){this.fd().$b();},EWt.Hc=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),F0(this.fd(),e.cd(),e.dd()))},EWt.Mc=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),z0(this.fd(),e.cd(),e.dd()))},EWt.gc=function(){return this.fd().d},bY(KWt,"Multimaps/Entries",1988),dOt(733,1988,QWt,Yh),EWt.Kc=function(){return this.a.kc()},EWt.fd=function(){return this.a},EWt.Nc=function(){return this.a.lc()},bY(KWt,"AbstractMultimap/Entries",733),dOt(734,733,tXt,zm),EWt.Nc=function(){return this.a.lc()},EWt.Fb=function(t){return GCt(this,t)},EWt.Hb=function(){return Frt(this)},bY(KWt,"AbstractMultimap/EntrySet",734),dOt(735,28,QWt,Wh),EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return Aut(this.a,t)},EWt.Kc=function(){return this.a.nc()},EWt.gc=function(){return this.a.d},EWt.Nc=function(){return this.a.oc()},bY(KWt,"AbstractMultimap/Values",735),dOt(1989,28,{835:1,20:1,28:1,14:1}),EWt.Jc=function(t){yY(t),xX(this).Jc(new pf(t));},EWt.Nc=function(){var t;return HEt(t=xX(this).Nc(),new v,64|1296&t.qd(),this.a.d)},EWt.Fc=function(t){return fx(),!0},EWt.Gc=function(t){return yY(this),yY(t),iD(t,543)?l2($z(t,835)):!t.dc()&&utt(this,t.Kc())},EWt.Hc=function(t){var e;return ((e=$z(hht(AV(this.a),t),14))?e.gc():0)>0},EWt.Fb=function(t){return uLt(this,t)},EWt.Hb=function(){return Jct(xX(this))},EWt.dc=function(){return xX(this).dc()},EWt.Mc=function(t){return kMt(this,t,1)>0},EWt.Ib=function(){return Fdt(xX(this))},bY(KWt,"AbstractMultiset",1989),dOt(1991,1970,tXt),EWt.$b=function(){dit(this.a.a);},EWt.Hc=function(t){var e;return !(!iD(t,492)||(e=$z(t,416),$z(e.a.dd(),14).gc()<=0||i1(this.a,e.a.cd())!=$z(e.a.dd(),14).gc()))},EWt.Mc=function(t){var e,n,i;return !(!iD(t,492)||(e=(n=$z(t,416)).a.cd(),0==(i=$z(n.a.dd(),14).gc())))&&_Mt(this.a,e,i)},bY(KWt,"Multisets/EntrySet",1991),dOt(1109,1991,tXt,Xh),EWt.Kc=function(){return new fv(dq(AV(this.a.a)).Kc())},EWt.gc=function(){return AV(this.a.a).gc()},bY(KWt,"AbstractMultiset/EntrySet",1109),dOt(619,726,WWt),EWt.hc=function(){return this.gd()},EWt.jc=function(){return this.hd()},EWt.cc=function(t){return this.jd(t)},EWt.fc=function(t){return this.kd(t)},EWt.Zb=function(){return this.f||(this.f=this.ac())},EWt.hd=function(){return EV(),EV(),lne},EWt.Fb=function(t){return xut(this,t)},EWt.jd=function(t){return $z(c6(this,t),21)},EWt.kd=function(t){return $z(Dlt(this,t),21)},EWt.mc=function(t){return EV(),new Mx($z(t,21))},EWt.pc=function(t,e){return new DB(this,t,$z(e,21))},bY(KWt,"AbstractSetMultimap",619),dOt(1657,619,WWt),EWt.hc=function(){return new d_(this.b)},EWt.gd=function(){return new d_(this.b)},EWt.jc=function(){return SY(new d_(this.b))},EWt.hd=function(){return SY(new d_(this.b))},EWt.cc=function(t){return $z($z(c6(this,t),21),84)},EWt.jd=function(t){return $z($z(c6(this,t),21),84)},EWt.fc=function(t){return $z($z(Dlt(this,t),21),84)},EWt.kd=function(t){return $z($z(Dlt(this,t),21),84)},EWt.mc=function(t){return iD(t,271)?SY($z(t,271)):(EV(),new dN($z(t,84)))},EWt.Zb=function(){return this.f||(this.f=iD(this.c,171)?new SB(this,$z(this.c,171)):iD(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c))},EWt.pc=function(t,e){return iD(e,271)?new MO(this,t,$z(e,271)):new LB(this,t,$z(e,84))},bY(KWt,"AbstractSortedSetMultimap",1657),dOt(1658,1657,WWt),EWt.Zb=function(){return $z($z(this.f||(this.f=iD(this.c,171)?new SB(this,$z(this.c,171)):iD(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)),161),171)},EWt.ec=function(){return $z($z(this.i||(this.i=iD(this.c,171)?new J_(this,$z(this.c,171)):iD(this.c,161)?new Q_(this,$z(this.c,161)):new FD(this,this.c)),84),271)},EWt.bc=function(){return iD(this.c,171)?new J_(this,$z(this.c,171)):iD(this.c,161)?new Q_(this,$z(this.c,161)):new FD(this,this.c)},bY(KWt,"AbstractSortedKeySortedSetMultimap",1658),dOt(2010,1,{1947:1}),EWt.Fb=function(t){return Skt(this,t)},EWt.Hb=function(){return zst(this.g||(this.g=new Vh(this)))},EWt.Ib=function(){return J_t(this.f||(this.f=new GD(this)))},bY(KWt,"AbstractTable",2010),dOt(665,JWt,tXt,Vh),EWt.$b=function(){dx();},EWt.Hc=function(t){var e,n;return !!iD(t,468)&&(e=$z(t,682),!!(n=$z(hht(vY(this.a),KM(e.c.e,e.b)),83))&&dht(n.vc(),new bE(KM(e.c.c,e.a),G6(e.c,e.b,e.a))))},EWt.Kc=function(){return ZV(this.a)},EWt.Mc=function(t){var e,n;return !!iD(t,468)&&(e=$z(t,682),!!(n=$z(hht(vY(this.a),KM(e.c.e,e.b)),83))&&ght(n.vc(),new bE(KM(e.c.c,e.a),G6(e.c,e.b,e.a))))},EWt.gc=function(){return UU(this.a)},EWt.Nc=function(){return T2(this.a)},bY(KWt,"AbstractTable/CellSet",665),dOt(1928,28,QWt,Zh),EWt.$b=function(){dx();},EWt.Hc=function(t){return uEt(this.a,t)},EWt.Kc=function(){return QV(this.a)},EWt.gc=function(){return UU(this.a)},EWt.Nc=function(){return X0(this.a)},bY(KWt,"AbstractTable/Values",1928),dOt(1632,1631,WWt),bY(KWt,"ArrayListMultimapGwtSerializationDependencies",1632),dOt(513,1632,WWt,ox,o1),EWt.hc=function(){return new V6(this.a)},EWt.a=0,bY(KWt,"ArrayListMultimap",513),dOt(664,2010,{664:1,1947:1,3:1},wIt),bY(KWt,"ArrayTable",664),dOt(1924,386,YWt,zD),EWt.Xb=function(t){return new pct(this.a,t)},bY(KWt,"ArrayTable/1",1924),dOt(1925,1,{},zh),EWt.ld=function(t){return new pct(this.a,t)},bY(KWt,"ArrayTable/1methodref$getCell$Type",1925),dOt(2011,1,{682:1}),EWt.Fb=function(t){var e;return t===this||!!iD(t,468)&&(e=$z(t,682),fW(KM(this.c.e,this.b),KM(e.c.e,e.b))&&fW(KM(this.c.c,this.a),KM(e.c.c,e.a))&&fW(G6(this.c,this.b,this.a),G6(e.c,e.b,e.a)))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[KM(this.c.e,this.b),KM(this.c.c,this.a),G6(this.c,this.b,this.a)]))},EWt.Ib=function(){return "("+KM(this.c.e,this.b)+","+KM(this.c.c,this.a)+")="+G6(this.c,this.b,this.a)},bY(KWt,"Tables/AbstractCell",2011),dOt(468,2011,{468:1,682:1},pct),EWt.a=0,EWt.b=0,EWt.d=0,bY(KWt,"ArrayTable/2",468),dOt(1927,1,{},Hh),EWt.ld=function(t){return X7(this.a,t)},bY(KWt,"ArrayTable/2methodref$getValue$Type",1927),dOt(1926,386,YWt,HD),EWt.Xb=function(t){return X7(this.a,t)},bY(KWt,"ArrayTable/3",1926),dOt(1979,1967,ZWt),EWt.$b=function(){CU(this.kc());},EWt.vc=function(){return new wf(this)},EWt.lc=function(){return new CX(this.kc(),this.gc())},bY(KWt,"Maps/IteratorBasedAbstractMap",1979),dOt(828,1979,ZWt),EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return Xk(this.c,t)},EWt.kc=function(){return new UD(this,this.c.b.c.gc())},EWt.lc=function(){return yU(this.c.b.c.gc(),16,new Uh(this))},EWt.xc=function(t){var e;return (e=$z(Gj(this.c,t),19))?this.nd(e.a):null},EWt.dc=function(){return this.c.b.c.dc()},EWt.ec=function(){return hq(this.c)},EWt.zc=function(t,e){var n;if(!(n=$z(Gj(this.c,t),19)))throw Fw(new Rv(this.md()+" "+t+" not in "+hq(this.c)));return this.od(n.a,e)},EWt.Bc=function(t){throw Fw(new py)},EWt.gc=function(){return this.c.b.c.gc()},bY(KWt,"ArrayTable/ArrayMap",828),dOt(1923,1,{},Uh),EWt.ld=function(t){return AY(this.a,t)},bY(KWt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),dOt(1921,345,aXt,sE),EWt.cd=function(){return XD(this.a,this.b)},EWt.dd=function(){return this.a.nd(this.b)},EWt.ed=function(t){return this.a.od(this.b,t)},EWt.b=0,bY(KWt,"ArrayTable/ArrayMap/1",1921),dOt(1922,386,YWt,UD),EWt.Xb=function(t){return AY(this.a,t)},bY(KWt,"ArrayTable/ArrayMap/2",1922),dOt(1920,828,ZWt,iK),EWt.md=function(){return "Column"},EWt.nd=function(t){return G6(this.b,this.a,t)},EWt.od=function(t,e){return Tst(this.b,this.a,t,e)},EWt.a=0,bY(KWt,"ArrayTable/Row",1920),dOt(829,828,ZWt,GD),EWt.nd=function(t){return new iK(this.a,t)},EWt.zc=function(t,e){return $z(e,83),gx()},EWt.od=function(t,e){return $z(e,83),px()},EWt.md=function(){return "Row"},bY(KWt,"ArrayTable/RowMap",829),dOt(1120,1,lXt,cE),EWt.qd=function(){return -262&this.a.qd()},EWt.rd=function(){return this.a.rd()},EWt.Nb=function(t){this.a.Nb(new iE(t,this.b));},EWt.sd=function(t){return this.a.sd(new nE(t,this.b))},bY(KWt,"CollectSpliterators/1",1120),dOt(1121,1,hXt,nE),EWt.td=function(t){this.a.td(this.b.Kb(t));},bY(KWt,"CollectSpliterators/1/lambda$0$Type",1121),dOt(1122,1,hXt,iE),EWt.td=function(t){this.a.td(this.b.Kb(t));},bY(KWt,"CollectSpliterators/1/lambda$1$Type",1122),dOt(1123,1,lXt,z2),EWt.qd=function(){return this.a},EWt.rd=function(){return this.d&&(this.b=kL(this.b,this.d.rd())),kL(this.b,0)},EWt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new eE(this.e,t)),this.b=0;},EWt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return VM(this.b,fXt)&&(this.b=ndt(this.b,1)),!0;if(this.d=null,!this.c.sd(new rE(this,this.e)))return !1}},EWt.a=0,EWt.b=0,bY(KWt,"CollectSpliterators/1FlatMapSpliterator",1123),dOt(1124,1,hXt,rE),EWt.td=function(t){dj(this.a,this.b,t);},bY(KWt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),dOt(1125,1,hXt,eE),EWt.td=function(t){oD(this.b,this.a,t);},bY(KWt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),dOt(1117,1,lXt,fj),EWt.qd=function(){return 16464|this.b},EWt.rd=function(){return this.a.rd()},EWt.Nb=function(t){this.a.xe(new oE(t,this.c));},EWt.sd=function(t){return this.a.ye(new aE(t,this.c))},EWt.b=0,bY(KWt,"CollectSpliterators/1WithCharacteristics",1117),dOt(1118,1,dXt,aE),EWt.ud=function(t){this.a.td(this.b.ld(t));},bY(KWt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),dOt(1119,1,dXt,oE),EWt.ud=function(t){this.a.td(this.b.ld(t));},bY(KWt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),dOt(245,1,gXt),EWt.wd=function(t){return this.vd($z(t,245))},EWt.vd=function(t){var e;return t==(Jm(),jte)?1:t==(tv(),Rte)?-1:(QH(),0!=(e=Dat(this.a,t.a))?e:iD(this,519)==iD(t,519)?0:iD(this,519)?1:-1)},EWt.zd=function(){return this.a},EWt.Fb=function(t){return Npt(this,t)},bY(KWt,"Cut",245),dOt(1761,245,gXt,Lx),EWt.vd=function(t){return t==this?0:1},EWt.xd=function(t){throw Fw(new cy)},EWt.yd=function(t){t.a+="+∞)";},EWt.zd=function(){throw Fw(new jv(pXt))},EWt.Hb=function(){return IE(),eyt(this)},EWt.Ad=function(t){return !1},EWt.Ib=function(){return "+∞"},bY(KWt,"Cut/AboveAll",1761),dOt(519,245,{245:1,519:1,3:1,35:1},eN),EWt.xd=function(t){aI((t.a+="(",t),this.a);},EWt.yd=function(t){DY(aI(t,this.a),93);},EWt.Hb=function(){return ~Jct(this.a)},EWt.Ad=function(t){return QH(),Dat(this.a,t)<0},EWt.Ib=function(){return "/"+this.a+"\\"},bY(KWt,"Cut/AboveValue",519),dOt(1760,245,gXt,Dx),EWt.vd=function(t){return t==this?0:-1},EWt.xd=function(t){t.a+="(-∞";},EWt.yd=function(t){throw Fw(new cy)},EWt.zd=function(){throw Fw(new jv(pXt))},EWt.Hb=function(){return IE(),eyt(this)},EWt.Ad=function(t){return !0},EWt.Ib=function(){return "-∞"},bY(KWt,"Cut/BelowAll",1760),dOt(1762,245,gXt,nN),EWt.xd=function(t){aI((t.a+="[",t),this.a);},EWt.yd=function(t){DY(aI(t,this.a),41);},EWt.Hb=function(){return Jct(this.a)},EWt.Ad=function(t){return QH(),Dat(this.a,t)<=0},EWt.Ib=function(){return "\\"+this.a+"/"},bY(KWt,"Cut/BelowValue",1762),dOt(537,1,bXt),EWt.Jc=function(t){t5(this,t);},EWt.Ib=function(){return zft($z(KV(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},bY(KWt,"FluentIterable",537),dOt(433,537,bXt,AI),EWt.Kc=function(){return new oq(ZD(this.a.Kc(),new l))},bY(KWt,"FluentIterable/2",433),dOt(1046,537,bXt,MI),EWt.Kc=function(){return LK(this)},bY(KWt,"FluentIterable/3",1046),dOt(708,386,YWt,KD),EWt.Xb=function(t){return this.a[t].Kc()},bY(KWt,"FluentIterable/3/1",708),dOt(1972,1,{}),EWt.Ib=function(){return Fdt(this.Bd().b)},bY(KWt,"ForwardingObject",1972),dOt(1973,1972,wXt),EWt.Bd=function(){return this.Cd()},EWt.Jc=function(t){t5(this,t);},EWt.Lc=function(){return this.Oc()},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){return this.Cd(),o_()},EWt.Gc=function(t){return this.Cd(),s_()},EWt.$b=function(){this.Cd(),c_();},EWt.Hc=function(t){return this.Cd().Hc(t)},EWt.Ic=function(t){return this.Cd().Ic(t)},EWt.dc=function(){return this.Cd().b.dc()},EWt.Kc=function(){return this.Cd().Kc()},EWt.Mc=function(t){return this.Cd(),u_()},EWt.gc=function(){return this.Cd().b.gc()},EWt.Pc=function(){return this.Cd().Pc()},EWt.Qc=function(t){return this.Cd().Qc(t)},bY(KWt,"ForwardingCollection",1973),dOt(1980,28,yXt),EWt.Kc=function(){return this.Ed()},EWt.Fc=function(t){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.Hc=function(t){return null!=t&&mgt(this,t,!1)},EWt.Dd=function(){switch(this.gc()){case 0:return KY(),KY(),$te;case 1:return KY(),new TU(yY(this.Ed().Pb()));default:return new rK(this,this.Pc())}},EWt.Mc=function(t){throw Fw(new py)},bY(KWt,"ImmutableCollection",1980),dOt(712,1980,yXt,ny),EWt.Kc=function(){return O7(this.a.Kc())},EWt.Hc=function(t){return null!=t&&this.a.Hc(t)},EWt.Ic=function(t){return this.a.Ic(t)},EWt.dc=function(){return this.a.dc()},EWt.Ed=function(){return O7(this.a.Kc())},EWt.gc=function(){return this.a.gc()},EWt.Pc=function(){return this.a.Pc()},EWt.Qc=function(t){return this.a.Qc(t)},EWt.Ib=function(){return Fdt(this.a)},bY(KWt,"ForwardingImmutableCollection",712),dOt(152,1980,mXt),EWt.Kc=function(){return this.Ed()},EWt.Yc=function(){return this.Fd(0)},EWt.Zc=function(t){return this.Fd(t)},EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.bd=function(t,e){return this.Gd(t,e)},EWt.Vc=function(t,e){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Fb=function(t){return HOt(this,t)},EWt.Hb=function(){return Aot(this)},EWt.Xc=function(t){return null==t?-1:_mt(this,t)},EWt.Ed=function(){return this.Fd(0)},EWt.Fd=function(t){return eP(this,t)},EWt.$c=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},EWt.Gd=function(t,e){return cht(new s1(new SE(this),t,e))},bY(KWt,"ImmutableList",152),dOt(2006,152,mXt),EWt.Kc=function(){return O7(this.Hd().Kc())},EWt.bd=function(t,e){return cht(this.Hd().bd(t,e))},EWt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},EWt.Ic=function(t){return this.Hd().Ic(t)},EWt.Fb=function(t){return Dht(this.Hd(),t)},EWt.Xb=function(t){return KM(this,t)},EWt.Hb=function(){return Jct(this.Hd())},EWt.Xc=function(t){return this.Hd().Xc(t)},EWt.dc=function(){return this.Hd().dc()},EWt.Ed=function(){return O7(this.Hd().Kc())},EWt.gc=function(){return this.Hd().gc()},EWt.Gd=function(t,e){return cht(this.Hd().bd(t,e))},EWt.Pc=function(){return this.Hd().Qc(D8(Ite,zWt,1,this.Hd().gc(),5,1))},EWt.Qc=function(t){return this.Hd().Qc(t)},EWt.Ib=function(){return Fdt(this.Hd())},bY(KWt,"ForwardingImmutableList",2006),dOt(714,1,xXt),EWt.vc=function(){return lq(this)},EWt.wc=function(t){Jat(this,t);},EWt.ec=function(){return hq(this)},EWt.yc=function(t,e,n){return Qft(this,t,e,n)},EWt.Cc=function(){return this.Ld()},EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return null!=this.xc(t)},EWt.uc=function(t){return this.Ld().Hc(t)},EWt.Jd=function(){return new iy(this)},EWt.Kd=function(){return new ry(this)},EWt.Fb=function(t){return Out(this,t)},EWt.Hb=function(){return lq(this).Hb()},EWt.dc=function(){return 0==this.gc()},EWt.zc=function(t,e){return bx()},EWt.Bc=function(t){throw Fw(new py)},EWt.Ib=function(){return lCt(this)},EWt.Ld=function(){return this.e?this.e:this.e=this.Kd()},EWt.c=null,EWt.d=null,EWt.e=null,bY(KWt,"ImmutableMap",714),dOt(715,714,xXt),EWt._b=function(t){return Xk(this,t)},EWt.uc=function(t){return RE(this.b,t)},EWt.Id=function(){return uht(new Jh(this))},EWt.Jd=function(){return uht(eX(this.b))},EWt.Kd=function(){return s$(),new ny(JW(this.b))},EWt.Fb=function(t){return $E(this.b,t)},EWt.xc=function(t){return Gj(this,t)},EWt.Hb=function(){return Jct(this.b.c)},EWt.dc=function(){return this.b.c.dc()},EWt.gc=function(){return this.b.c.gc()},EWt.Ib=function(){return Fdt(this.b.c)},bY(KWt,"ForwardingImmutableMap",715),dOt(1974,1973,kXt),EWt.Bd=function(){return this.Md()},EWt.Cd=function(){return this.Md()},EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return t===this||this.Md().Fb(t)},EWt.Hb=function(){return this.Md().Hb()},bY(KWt,"ForwardingSet",1974),dOt(1069,1974,kXt,Jh),EWt.Bd=function(){return tX(this.a.b)},EWt.Cd=function(){return tX(this.a.b)},EWt.Hc=function(t){if(iD(t,42)&&null==$z(t,42).cd())return !1;try{return BE(tX(this.a.b),t)}catch(t){if(iD(t=hst(t),205))return !1;throw Fw(t)}},EWt.Md=function(){return tX(this.a.b)},EWt.Qc=function(t){var e;return e=SZ(tX(this.a.b),t),tX(this.a.b).b.gc()<e.length&&IY(e,tX(this.a.b).b.gc(),null),e},bY(KWt,"ForwardingImmutableMap/1",1069),dOt(1981,1980,_Xt),EWt.Kc=function(){return this.Ed()},EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return GCt(this,t)},EWt.Hb=function(){return Frt(this)},bY(KWt,"ImmutableSet",1981),dOt(703,1981,_Xt),EWt.Kc=function(){return O7(new zd(this.a.b.Kc()))},EWt.Hc=function(t){return null!=t&&DE(this.a,t)},EWt.Ic=function(t){return NE(this.a,t)},EWt.Hb=function(){return Jct(this.a.b)},EWt.dc=function(){return this.a.b.dc()},EWt.Ed=function(){return O7(new zd(this.a.b.Kc()))},EWt.gc=function(){return this.a.b.gc()},EWt.Pc=function(){return this.a.b.Pc()},EWt.Qc=function(t){return PE(this.a,t)},EWt.Ib=function(){return Fdt(this.a.b)},bY(KWt,"ForwardingImmutableSet",703),dOt(1975,1974,EXt),EWt.Bd=function(){return this.b},EWt.Cd=function(){return this.b},EWt.Md=function(){return this.b},EWt.Nc=function(){return new fC(this)},bY(KWt,"ForwardingSortedSet",1975),dOt(533,1979,xXt,Iyt),EWt.Ac=function(t){_at(this,t);},EWt.Cc=function(){return new pL(this.d||(this.d=new tf(this)))},EWt.$b=function(){d5(this);},EWt._b=function(t){return !!Zrt(this,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))},EWt.uc=function(t){return Let(this,t)},EWt.kc=function(){return new YD(this,this)},EWt.wc=function(t){$Q(this,t);},EWt.xc=function(t){return cnt(this,t)},EWt.ec=function(){return new bL(this)},EWt.zc=function(t,e){return djt(this,t,e)},EWt.Bc=function(t){var e;return (e=Zrt(this,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))?(LDt(this,e),e.e=null,e.c=null,e.i):null},EWt.gc=function(){return this.i},EWt.pd=function(){return new pL(this.d||(this.d=new tf(this)))},EWt.f=0,EWt.g=0,EWt.i=0,bY(KWt,"HashBiMap",533),dOt(534,1,XWt),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return l3(this)},EWt.Pb=function(){var t;if(!l3(this))throw Fw(new yy);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},EWt.Qb=function(){if(this.e.g!=this.b)throw Fw(new by);uot(!!this.f),LDt(this.e,this.f),this.b=this.e.g,this.f=null;},EWt.b=0,EWt.d=0,EWt.f=null,bY(KWt,"HashBiMap/Itr",534),dOt(1011,534,XWt,YD),EWt.Nd=function(t){return new hE(this,t)},bY(KWt,"HashBiMap/1",1011),dOt(1012,345,aXt,hE),EWt.cd=function(){return this.a.g},EWt.dd=function(){return this.a.i},EWt.ed=function(t){var e,n,i;return n=this.a.i,(i=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))==this.a.f&&(HM(t)===HM(n)||null!=t&&Dht(t,n))?t:(mst(!Qrt(this.b.a,t,i),t),LDt(this.b.a,this.a),e=new zW(this.a.g,this.a.a,t,i),VAt(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)},bY(KWt,"HashBiMap/1/MapEntry",1012),dOt(238,345,{345:1,238:1,3:1,42:1},bE),EWt.cd=function(){return this.g},EWt.dd=function(){return this.i},EWt.ed=function(t){throw Fw(new py)},bY(KWt,"ImmutableEntry",238),dOt(317,238,{345:1,317:1,238:1,3:1,42:1},zW),EWt.a=0,EWt.f=0;var Hte,Ute=bY(KWt,"HashBiMap/BiEntry",317);dOt(610,1979,xXt,tf),EWt.Ac=function(t){_at(this,t);},EWt.Cc=function(){return new bL(this.a)},EWt.$b=function(){d5(this.a);},EWt._b=function(t){return Let(this.a,t)},EWt.kc=function(){return new WD(this,this.a)},EWt.wc=function(t){yY(t),$Q(this.a,new ef(t));},EWt.xc=function(t){return qit(this,t)},EWt.ec=function(){return new pL(this)},EWt.zc=function(t,e){return S$t(this.a,t,e,!1)},EWt.Bc=function(t){var e;return (e=Qrt(this.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))?(LDt(this.a,e),e.e=null,e.c=null,e.g):null},EWt.gc=function(){return this.a.i},EWt.pd=function(){return new bL(this.a)},bY(KWt,"HashBiMap/Inverse",610),dOt(1008,534,XWt,WD),EWt.Nd=function(t){return new fE(this,t)},bY(KWt,"HashBiMap/Inverse/1",1008),dOt(1009,345,aXt,fE),EWt.cd=function(){return this.a.i},EWt.dd=function(){return this.a.g},EWt.ed=function(t){var e,n,i;return i=this.a.g,(e=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))==this.a.a&&(HM(t)===HM(i)||null!=t&&Dht(t,i))?t:(mst(!Zrt(this.b.a.a,t,e),t),LDt(this.b.a.a,this.a),n=new zW(t,e,this.a.i,this.a.f),this.a=n,VAt(this.b.a.a,n,null),this.b.b=this.b.a.a.g,i)},bY(KWt,"HashBiMap/Inverse/1/InverseEntry",1009),dOt(611,532,tXt,pL),EWt.Kc=function(){return new av(this.a.a)},EWt.Mc=function(t){var e;return !!(e=Qrt(this.a.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))&&(LDt(this.a.a,e),!0)},bY(KWt,"HashBiMap/Inverse/InverseKeySet",611),dOt(1007,534,XWt,av),EWt.Nd=function(t){return t.i},bY(KWt,"HashBiMap/Inverse/InverseKeySet/1",1007),dOt(1010,1,{},ef),EWt.Od=function(t,e){ty(this.a,t,e);},bY(KWt,"HashBiMap/Inverse/lambda$0$Type",1010),dOt(609,532,tXt,bL),EWt.Kc=function(){return new ov(this.a)},EWt.Mc=function(t){var e;return !!(e=Zrt(this.a,t,dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15)))))&&(LDt(this.a,e),e.e=null,e.c=null,!0)},bY(KWt,"HashBiMap/KeySet",609),dOt(1006,534,XWt,ov),EWt.Nd=function(t){return t.g},bY(KWt,"HashBiMap/KeySet/1",1006),dOt(1093,619,WWt),bY(KWt,"HashMultimapGwtSerializationDependencies",1093),dOt(265,1093,WWt,pQ),EWt.hc=function(){return new h_(tet(this.a))},EWt.gd=function(){return new h_(tet(this.a))},EWt.a=2,bY(KWt,"HashMultimap",265),dOt(1999,152,mXt),EWt.Hc=function(t){return this.Pd().Hc(t)},EWt.dc=function(){return this.Pd().dc()},EWt.gc=function(){return this.Pd().gc()},bY(KWt,"ImmutableAsList",1999),dOt(1931,715,xXt),EWt.Ld=function(){return s$(),new yx(this.a)},EWt.Cc=function(){return s$(),new yx(this.a)},EWt.pd=function(){return s$(),new yx(this.a)},bY(KWt,"ImmutableBiMap",1931),dOt(1977,1,{}),bY(KWt,"ImmutableCollection/Builder",1977),dOt(1022,703,_Xt,sv),bY(KWt,"ImmutableEnumSet",1022),dOt(969,386,YWt,hj),EWt.Xb=function(t){return this.a.Xb(t)},bY(KWt,"ImmutableList/1",969),dOt(968,1977,{},sR),bY(KWt,"ImmutableList/Builder",968),dOt(614,198,qWt,nf),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).cd()},bY(KWt,"ImmutableMap/1",614),dOt(1041,1,{},c),EWt.Kb=function(t){return $z(t,42).cd()},bY(KWt,"ImmutableMap/2methodref$getKey$Type",1041),dOt(1040,1,{},cR),bY(KWt,"ImmutableMap/Builder",1040),dOt(2e3,1981,_Xt),EWt.Kc=function(){return new nf(lq(this.a).Ed())},EWt.Dd=function(){return new ay(this)},EWt.Jc=function(t){var e,n;for(yY(t),n=this.gc(),e=0;e<n;e++)t.td($z(fq(lq(this.a)).Xb(e),42).cd());},EWt.Ed=function(){var t;return (t=this.c,t||(this.c=new ay(this))).Ed()},EWt.Nc=function(){return yU(this.gc(),1296,new af(this))},bY(KWt,"IndexedImmutableSet",2e3),dOt(1180,2e3,_Xt,iy),EWt.Kc=function(){return new nf(lq(this.a).Ed())},EWt.Hc=function(t){return this.a._b(t)},EWt.Jc=function(t){yY(t),Jat(this.a,new rf(t));},EWt.Ed=function(){return new nf(lq(this.a).Ed())},EWt.gc=function(){return this.a.gc()},EWt.Nc=function(){return Pz(lq(this.a).Nc(),new c)},bY(KWt,"ImmutableMapKeySet",1180),dOt(1181,1,{},rf),EWt.Od=function(t,e){s$(),this.a.td(t);},bY(KWt,"ImmutableMapKeySet/lambda$0$Type",1181),dOt(1178,1980,yXt,ry),EWt.Kc=function(){return new BH(this)},EWt.Hc=function(t){return null!=t&&Ckt(new BH(this),t)},EWt.Ed=function(){return new BH(this)},EWt.gc=function(){return this.a.gc()},EWt.Nc=function(){return Pz(lq(this.a).Nc(),new u)},bY(KWt,"ImmutableMapValues",1178),dOt(1179,1,{},u),EWt.Kb=function(t){return $z(t,42).dd()},bY(KWt,"ImmutableMapValues/0methodref$getValue$Type",1179),dOt(626,198,qWt,BH),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).dd()},bY(KWt,"ImmutableMapValues/1",626),dOt(1182,1,{},af),EWt.ld=function(t){return FK(this.a,t)},bY(KWt,"IndexedImmutableSet/0methodref$get$Type",1182),dOt(752,1999,mXt,ay),EWt.Pd=function(){return this.a},EWt.Xb=function(t){return FK(this.a,t)},EWt.gc=function(){return this.a.a.gc()},bY(KWt,"IndexedImmutableSet/1",752),dOt(44,1,{},l),EWt.Kb=function(t){return $z(t,20).Kc()},EWt.Fb=function(t){return this===t},bY(KWt,"Iterables/10",44),dOt(1042,537,bXt,RH),EWt.Jc=function(t){yY(t),this.b.Jc(new dE(this.a,t));},EWt.Kc=function(){return zO(this)},bY(KWt,"Iterables/4",1042),dOt(1043,1,hXt,dE),EWt.td=function(t){kC(this.b,this.a,t);},bY(KWt,"Iterables/4/lambda$0$Type",1043),dOt(1044,537,bXt,jH),EWt.Jc=function(t){yY(t),t5(this.a,new uE(t,this.b));},EWt.Kc=function(){return ZD(new MD(this.a),this.b)},bY(KWt,"Iterables/5",1044),dOt(1045,1,hXt,uE),EWt.td=function(t){this.a.td(yO(t));},bY(KWt,"Iterables/5/lambda$0$Type",1045),dOt(1071,198,qWt,of),EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return this.a.Pb()},bY(KWt,"Iterators/1",1071),dOt(1072,699,qWt,lE),EWt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},bY(KWt,"Iterators/5",1072),dOt(487,1,XWt),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.b.Ob()},EWt.Pb=function(){return this.Qd(this.b.Pb())},EWt.Qb=function(){this.b.Qb();},bY(KWt,"TransformedIterator",487),dOt(1073,487,XWt,QD),EWt.Qd=function(t){return this.a.Kb(t)},bY(KWt,"Iterators/6",1073),dOt(717,198,qWt,sf),EWt.Ob=function(){return !this.a},EWt.Pb=function(){if(this.a)throw Fw(new yy);return this.a=!0,this.b},EWt.a=!1,bY(KWt,"Iterators/9",717),dOt(1070,386,YWt,uG),EWt.Xb=function(t){return this.a[this.b+t]},EWt.b=0,bY(KWt,"Iterators/ArrayItr",1070),dOt(39,1,{39:1,47:1},oq),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return gOt(this)},EWt.Pb=function(){return G5(this)},EWt.Qb=function(){uot(!!this.c),this.c.Qb(),this.c=null;},bY(KWt,"Iterators/ConcatenatedIterator",39),dOt(22,1,{3:1,35:1,22:1}),EWt.wd=function(t){return Tv(this,$z(t,22))},EWt.Fb=function(t){return this===t},EWt.Hb=function(){return TN(this)},EWt.Ib=function(){return dP(this)},EWt.g=0;var Gte,qte=bY(BWt,"Enum",22);dOt(538,22,{538:1,3:1,35:1,22:1,47:1},iN),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return !1},EWt.Pb=function(){throw Fw(new yy)},EWt.Qb=function(){uot(!1);};var Kte,Yte=Fnt(KWt,"Iterators/EmptyModifiableIterator",538,qte,oY,nP);dOt(1834,619,WWt),bY(KWt,"LinkedHashMultimapGwtSerializationDependencies",1834),dOt(1835,1834,WWt,_lt),EWt.hc=function(){return new ON(tet(this.b))},EWt.$b=function(){dit(this),ey(this.a,this.a);},EWt.gd=function(){return new ON(tet(this.b))},EWt.ic=function(t){return new _ut(this,t,this.b)},EWt.kc=function(){return new JD(this)},EWt.lc=function(){return new f1($z(this.g||(this.g=new zm(this)),21),17)},EWt.ec=function(){return this.i||(this.i=new FD(this,this.c))},EWt.nc=function(){return new hv(new JD(this))},EWt.oc=function(){return Pz(new f1($z(this.g||(this.g=new zm(this)),21),17),new h)},EWt.b=2,bY(KWt,"LinkedHashMultimap",1835),dOt(1838,1,{},h),EWt.Kb=function(t){return $z(t,42).dd()},bY(KWt,"LinkedHashMultimap/0methodref$getValue$Type",1838),dOt(824,1,XWt,JD),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return wet(this)},EWt.Ob=function(){return this.a!=this.b.a},EWt.Qb=function(){uot(!!this.c),z0(this.b,this.c.g,this.c.i),this.c=null;},bY(KWt,"LinkedHashMultimap/1",824),dOt(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},FW),EWt.Rd=function(){return this.f},EWt.Sd=function(t){this.c=t;},EWt.Td=function(t){this.f=t;},EWt.d=0;var Wte,Xte=bY(KWt,"LinkedHashMultimap/ValueEntry",330);dOt(1836,1970,{2020:1,20:1,28:1,14:1,21:1},_ut),EWt.Fc=function(t){var e,n,i,r,a;for(e=(a=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))))&this.b.length-1,n=r=this.b[e];n;n=n.a)if(n.d==a&&fW(n.i,t))return !1;return i=new FW(this.c,t,a,r),mx(this.d,i),i.f=this,this.d=i,ey(this.g.a.b,i),ey(i,this.g.a),this.b[e]=i,++this.f,++this.e,mkt(this),!0},EWt.$b=function(){var t,e;for(yC(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())ey((e=$z(t,330)).b,e.e);this.a=this,this.d=this,++this.e;},EWt.Hc=function(t){var e,n;for(n=dG(rdt(TXt,nX(dG(rdt(null==t?0:Jct(t),CXt)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&fW(e.i,t))return !0;return !1},EWt.Jc=function(t){var e;for(yY(t),e=this.a;e!=this;e=e.Rd())t.td($z(e,330).i);},EWt.Rd=function(){return this.a},EWt.Kc=function(){return new sW(this)},EWt.Mc=function(t){return vOt(this,t)},EWt.Sd=function(t){this.d=t;},EWt.Td=function(t){this.a=t;},EWt.gc=function(){return this.f},EWt.e=0,EWt.f=0,bY(KWt,"LinkedHashMultimap/ValueSet",1836),dOt(1837,1,XWt,sW),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return fG(this),this.b!=this.c},EWt.Pb=function(){var t,e;if(fG(this),this.b==this.c)throw Fw(new yy);return e=(t=$z(this.b,330)).i,this.d=t,this.b=t.f,e},EWt.Qb=function(){fG(this),uot(!!this.d),vOt(this.c,this.d.i),this.a=this.c.e,this.d=null;},EWt.a=0,bY(KWt,"LinkedHashMultimap/ValueSet/1",1837),dOt(766,1986,WWt,TI),EWt.Zb=function(){return this.f||(this.f=new nC(this))},EWt.Fb=function(t){return xut(this,t)},EWt.cc=function(t){return new wE(this,t)},EWt.fc=function(t){return V3(this,t)},EWt.$b=function(){iY(this);},EWt._b=function(t){return FE(this,t)},EWt.ac=function(){return new nC(this)},EWt.bc=function(){return new yf(this)},EWt.qc=function(t){return new wE(this,t)},EWt.dc=function(){return !this.a},EWt.rc=function(t){return V3(this,t)},EWt.gc=function(){return this.d},EWt.c=0,EWt.d=0,bY(KWt,"LinkedListMultimap",766),dOt(52,28,LXt),EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.Vc=function(t,e){throw Fw(new Jv("Add not supported on this list"))},EWt.Fc=function(t){return this.Vc(this.gc(),t),!0},EWt.Wc=function(t,e){var n,i,r;for(mW(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),this.Vc(t++,i),n=!0;return n},EWt.$b=function(){this.Ud(0,this.gc());},EWt.Fb=function(t){return DOt(this,t)},EWt.Hb=function(){return $ct(this)},EWt.Xc=function(t){return fit(this,t)},EWt.Kc=function(){return new Ed(this)},EWt.Yc=function(){return this.Zc(0)},EWt.Zc=function(t){return new _2(this,t)},EWt.$c=function(t){throw Fw(new Jv("Remove not supported on this list"))},EWt.Ud=function(t,e){var n,i;for(i=this.Zc(t),n=t;n<e;++n)i.Pb(),i.Qb();},EWt._c=function(t,e){throw Fw(new Jv("Set not supported on this list"))},EWt.bd=function(t,e){return new s1(this,t,e)},EWt.j=0,bY(VWt,"AbstractList",52),dOt(1964,52,LXt),EWt.Vc=function(t,e){BP(this,t,e);},EWt.Wc=function(t,e){return Iut(this,t,e)},EWt.Xb=function(t){return Pwt(this,t)},EWt.Kc=function(){return this.Zc(0)},EWt.$c=function(t){return txt(this,t)},EWt._c=function(t,e){var n,i;n=this.Zc(t);try{return i=n.Pb(),n.Wb(e),i}catch(e){throw iD(e=hst(e),109)?Fw(new Mv("Can't set element "+t)):Fw(e)}},bY(VWt,"AbstractSequentialList",1964),dOt(636,1964,LXt,wE),EWt.Zc=function(t){return bN(this,t)},EWt.gc=function(){var t;return (t=$z(PY(this.a.b,this.b),283))?t.a:0},bY(KWt,"LinkedListMultimap/1",636),dOt(1297,1970,tXt,yf),EWt.Hc=function(t){return FE(this.a,t)},EWt.Kc=function(){return new wrt(this.a)},EWt.Mc=function(t){return !V3(this.a,t).a.dc()},EWt.gc=function(){return LE(this.a.b)},bY(KWt,"LinkedListMultimap/1KeySetImpl",1297),dOt(1296,1,XWt,wrt),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return hG(this),!!this.c},EWt.Pb=function(){hG(this),oN(this.c),this.a=this.c,kK(this.d,this.a.a);do{this.c=this.c.b;}while(this.c&&!kK(this.d,this.c.a));return this.a.a},EWt.Qb=function(){hG(this),uot(!!this.a),CU(new C9(this.e,this.a.a)),this.a=null,this.b=this.e.c;},EWt.b=0,bY(KWt,"LinkedListMultimap/DistinctKeyIterator",1296),dOt(283,1,{283:1},sZ),EWt.a=0,bY(KWt,"LinkedListMultimap/KeyList",283),dOt(1295,345,aXt,yE),EWt.cd=function(){return this.a},EWt.dd=function(){return this.f},EWt.ed=function(t){var e;return e=this.f,this.f=t,e},bY(KWt,"LinkedListMultimap/Node",1295),dOt(560,1,rXt,C9,RSt),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){this.e=mjt(this.f,this.b,t,this.c),++this.d,this.a=null;},EWt.Ob=function(){return !!this.c},EWt.Sb=function(){return !!this.e},EWt.Pb=function(){return xJ(this)},EWt.Tb=function(){return this.d},EWt.Ub=function(){return kJ(this)},EWt.Vb=function(){return this.d-1},EWt.Qb=function(){uot(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,QAt(this.f,this.a),this.a=null;},EWt.Wb=function(t){aN(!!this.a),this.a.f=t;},EWt.d=0,bY(KWt,"LinkedListMultimap/ValueForKeyIterator",560),dOt(1018,52,LXt),EWt.Vc=function(t,e){this.a.Vc(t,e);},EWt.Wc=function(t,e){return this.a.Wc(t,e)},EWt.Hc=function(t){return this.a.Hc(t)},EWt.Xb=function(t){return this.a.Xb(t)},EWt.$c=function(t){return this.a.$c(t)},EWt._c=function(t,e){return this.a._c(t,e)},EWt.gc=function(){return this.a.gc()},bY(KWt,"Lists/AbstractListWrapper",1018),dOt(1019,1018,NXt),bY(KWt,"Lists/RandomAccessListWrapper",1019),dOt(1021,1019,NXt,SE),EWt.Zc=function(t){return this.a.Zc(t)},bY(KWt,"Lists/1",1021),dOt(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},CE),EWt.Vc=function(t,e){this.a.Vc(pK(this,t),e);},EWt.$b=function(){this.a.$b();},EWt.Xb=function(t){return this.a.Xb(OY(this,t))},EWt.Kc=function(){return K1(this,0)},EWt.Zc=function(t){return K1(this,t)},EWt.$c=function(t){return this.a.$c(OY(this,t))},EWt.Ud=function(t,e){(d2(t,e,this.a.gc()),eot(this.a.bd(pK(this,e),pK(this,t)))).$b();},EWt._c=function(t,e){return this.a._c(OY(this,t),e)},EWt.gc=function(){return this.a.gc()},EWt.bd=function(t,e){return d2(t,e,this.a.gc()),eot(this.a.bd(pK(this,e),pK(this,t)))},bY(KWt,"Lists/ReverseList",131),dOt(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},uv),bY(KWt,"Lists/RandomAccessReverseList",280),dOt(1020,1,rXt,mE),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1;},EWt.Ob=function(){return this.c.Sb()},EWt.Sb=function(){return this.c.Ob()},EWt.Pb=function(){return f5(this)},EWt.Tb=function(){return pK(this.b,this.c.Tb())},EWt.Ub=function(){if(!this.c.Ob())throw Fw(new yy);return this.a=!0,this.c.Pb()},EWt.Vb=function(){return pK(this.b,this.c.Tb())-1},EWt.Qb=function(){uot(this.a),this.c.Qb(),this.a=!1;},EWt.Wb=function(t){aN(this.a),this.c.Wb(t);},EWt.a=!1,bY(KWt,"Lists/ReverseList/1",1020),dOt(432,487,XWt,lv),EWt.Qd=function(t){return iC(t)},bY(KWt,"Maps/1",432),dOt(698,487,XWt,hv),EWt.Qd=function(t){return $z(t,42).dd()},bY(KWt,"Maps/2",698),dOt(962,487,XWt,pN),EWt.Qd=function(t){return new bE(t,RI(this.a,t))},bY(KWt,"Maps/3",962),dOt(959,1971,tXt,wf),EWt.Jc=function(t){Dy(this.a,t);},EWt.Kc=function(){return this.a.kc()},EWt.Rc=function(){return this.a},EWt.Nc=function(){return this.a.lc()},bY(KWt,"Maps/IteratorBasedAbstractMap/1",959),dOt(960,1,{},bf),EWt.Od=function(t,e){this.a.td(t);},bY(KWt,"Maps/KeySet/lambda$0$Type",960),dOt(958,28,QWt,TE),EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return this.a.uc(t)},EWt.Jc=function(t){yY(t),this.a.wc(new lf(t));},EWt.dc=function(){return this.a.dc()},EWt.Kc=function(){return new hv(this.a.vc().Kc())},EWt.Mc=function(t){var e,n;try{return mgt(this,t,!0)}catch(i){if(iD(i=hst(i),41)){for(n=this.a.vc().Kc();n.Ob();)if(fW(t,(e=$z(n.Pb(),42)).dd()))return this.a.Bc(e.cd()),!0;return !1}throw Fw(i)}},EWt.gc=function(){return this.a.gc()},bY(KWt,"Maps/Values",958),dOt(961,1,{},lf),EWt.Od=function(t,e){this.a.td(e);},bY(KWt,"Maps/Values/lambda$0$Type",961),dOt(736,1987,ZWt,nC),EWt.xc=function(t){return this.a._b(t)?this.a.cc(t):null},EWt.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},EWt.$b=function(){this.a.$b();},EWt._b=function(t){return this.a._b(t)},EWt.Ec=function(){return new uf(this)},EWt.Dc=function(){return this.Ec()},EWt.dc=function(){return this.a.dc()},EWt.ec=function(){return this.a.ec()},EWt.gc=function(){return this.a.ec().gc()},bY(KWt,"Multimaps/AsMap",736),dOt(1104,1971,tXt,uf),EWt.Kc=function(){return QL(this.a.a.ec(),new hf(this))},EWt.Rc=function(){return this.a},EWt.Mc=function(t){var e;return !!npt(this,t)&&(e=$z(t,42),vx(this.a,e.cd()),!0)},bY(KWt,"Multimaps/AsMap/EntrySet",1104),dOt(1108,1,{},hf),EWt.Kb=function(t){return RI(this,t)},EWt.Fb=function(t){return this===t},bY(KWt,"Multimaps/AsMap/EntrySet/1",1108),dOt(543,1989,{543:1,835:1,20:1,28:1,14:1},ff),EWt.$b=function(){dit(this.a);},EWt.Hc=function(t){return Kk(this.a,t)},EWt.Jc=function(t){yY(t),t5(_Y(this.a),new gf(t));},EWt.Kc=function(){return new lv(_Y(this.a).a.kc())},EWt.gc=function(){return this.a.d},EWt.Nc=function(){return Pz(_Y(this.a).Nc(),new f)},bY(KWt,"Multimaps/Keys",543),dOt(1106,1,{},f),EWt.Kb=function(t){return $z(t,42).cd()},bY(KWt,"Multimaps/Keys/0methodref$getKey$Type",1106),dOt(1105,487,XWt,fv),EWt.Qd=function(t){return new df($z(t,42))},bY(KWt,"Multimaps/Keys/1",1105),dOt(1990,1,{416:1}),EWt.Fb=function(t){var e;return !!iD(t,492)&&(e=$z(t,416),$z(this.a.dd(),14).gc()==$z(e.a.dd(),14).gc()&&fW(this.a.cd(),e.a.cd()))},EWt.Hb=function(){var t;return (null==(t=this.a.cd())?0:Jct(t))^$z(this.a.dd(),14).gc()},EWt.Ib=function(){var t,e;return e=mN(this.a.cd()),1==(t=$z(this.a.dd(),14).gc())?e:e+" x "+t},bY(KWt,"Multisets/AbstractEntry",1990),dOt(492,1990,{492:1,416:1},df),bY(KWt,"Multimaps/Keys/1/1",492),dOt(1107,1,hXt,gf),EWt.td=function(t){this.a.td($z(t,42).cd());},bY(KWt,"Multimaps/Keys/lambda$1$Type",1107),dOt(1110,1,hXt,d),EWt.td=function(t){SU($z(t,416));},bY(KWt,"Multiset/lambda$0$Type",1110),dOt(737,1,hXt,pf),EWt.td=function(t){Aet(this.a,$z(t,416));},bY(KWt,"Multiset/lambda$1$Type",737),dOt(1111,1,{},m),bY(KWt,"Multisets/0methodref$add$Type",1111),dOt(738,1,{},v),EWt.Kb=function(t){return s3($z(t,416))},bY(KWt,"Multisets/lambda$3$Type",738),dOt(2008,1,RWt),bY(KWt,"RangeGwtSerializationDependencies",2008),dOt(514,2008,{169:1,514:1,3:1,45:1},cyt),EWt.Lb=function(t){return _q(this,$z(t,35))},EWt.Mb=function(t){return _q(this,$z(t,35))},EWt.Fb=function(t){var e;return !!iD(t,514)&&(e=$z(t,514),Npt(this.a,e.a)&&Npt(this.b,e.b))},EWt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},EWt.Ib=function(){return $3(this.a,this.b)},bY(KWt,"Range",514),dOt(778,1999,mXt,rK),EWt.Zc=function(t){return eP(this.b,t)},EWt.Pd=function(){return this.a},EWt.Xb=function(t){return KM(this.b,t)},EWt.Fd=function(t){return eP(this.b,t)},bY(KWt,"RegularImmutableAsList",778),dOt(646,2006,mXt,EZ),EWt.Hd=function(){return this.a},bY(KWt,"RegularImmutableList",646),dOt(616,715,xXt,cv),bY(KWt,"RegularImmutableMap",616),dOt(716,703,_Xt,bC),bY(KWt,"RegularImmutableSet",716),dOt(1976,JWt,tXt),EWt.Kc=function(){return new EX(this.a,this.b)},EWt.Fc=function(t){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.Mc=function(t){throw Fw(new py)},bY(KWt,"Sets/SetView",1976),dOt(963,1976,tXt,xE),EWt.Kc=function(){return new EX(this.a,this.b)},EWt.Hc=function(t){return CG(this.a,t)&&this.b.Hc(t)},EWt.Ic=function(t){return sst(this.a,t)&&this.b.Ic(t)},EWt.dc=function(){return Rwt(this.b,this.a)},EWt.Lc=function(){return MX(new PU(null,new f1(this.a,1)),new vf(this.b))},EWt.gc=function(){return Sot(this)},EWt.Oc=function(){return MX(new PU(null,new f1(this.a,1)),new mf(this.b))},bY(KWt,"Sets/2",963),dOt(700,699,qWt,EX),EWt.Yb=function(){for(var t;mL(this.a);)if(t=a4(this.a),this.c.Hc(t))return t;return this.e=2,null},bY(KWt,"Sets/2/1",700),dOt(964,1,PXt,mf),EWt.Mb=function(t){return this.a.Hc(t)},bY(KWt,"Sets/2/4methodref$contains$Type",964),dOt(965,1,PXt,vf),EWt.Mb=function(t){return this.a.Hc(t)},bY(KWt,"Sets/2/5methodref$contains$Type",965),dOt(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},hQ),EWt.Bd=function(){return this.b},EWt.Cd=function(){return this.b},EWt.Md=function(){return this.b},EWt.Jc=function(t){this.a.Jc(t);},EWt.Lc=function(){return this.a.Lc()},EWt.Oc=function(){return this.a.Oc()},bY(KWt,"Sets/UnmodifiableNavigableSet",607),dOt(1932,1931,xXt,HW),EWt.Ld=function(){return s$(),new yx(this.a)},EWt.Cc=function(){return s$(),new yx(this.a)},EWt.pd=function(){return s$(),new yx(this.a)},bY(KWt,"SingletonImmutableBiMap",1932),dOt(647,2006,mXt,TU),EWt.Hd=function(){return this.a},bY(KWt,"SingletonImmutableList",647),dOt(350,1981,_Xt,yx),EWt.Kc=function(){return new sf(this.a)},EWt.Hc=function(t){return Dht(this.a,t)},EWt.Ed=function(){return new sf(this.a)},EWt.gc=function(){return 1},bY(KWt,"SingletonImmutableSet",350),dOt(1115,1,{},x),EWt.Kb=function(t){return $z(t,164)},bY(KWt,"Streams/lambda$0$Type",1115),dOt(1116,1,BXt,xf),EWt.Vd=function(){$5(this.a);},bY(KWt,"Streams/lambda$1$Type",1116),dOt(1659,1658,WWt,pZ),EWt.Zb=function(){return $z($z(this.f||(this.f=iD(this.c,171)?new SB(this,$z(this.c,171)):iD(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)),161),171)},EWt.hc=function(){return new d_(this.b)},EWt.gd=function(){return new d_(this.b)},EWt.ec=function(){return $z($z(this.i||(this.i=iD(this.c,171)?new J_(this,$z(this.c,171)):iD(this.c,161)?new Q_(this,$z(this.c,161)):new FD(this,this.c)),84),271)},EWt.ac=function(){return iD(this.c,171)?new SB(this,$z(this.c,171)):iD(this.c,161)?new CB(this,$z(this.c,161)):new pE(this,this.c)},EWt.ic=function(t){return null==t&&this.a.ue(t,t),new d_(this.b)},bY(KWt,"TreeMultimap",1659),dOt(78,1,{3:1,78:1}),EWt.Wd=function(t){return new Error(t)},EWt.Xd=function(){return this.e},EWt.Yd=function(){return jgt(IX(OK((null==this.k&&(this.k=D8(Zte,cXt,78,0,0,1)),this.k)),new P))},EWt.Zd=function(){return this.f},EWt.$d=function(){return this.g},EWt._d=function(){yv(this,h2(this.Wd(CZ(this,this.g)))),oy(this);},EWt.Ib=function(){return CZ(this,this.$d())},EWt.e=$Xt,EWt.i=!1,EWt.n=!0;var Vte,Zte=bY(BWt,"Throwable",78);dOt(102,78,{3:1,102:1,78:1}),bY(BWt,"Exception",102),dOt(60,102,FXt,sy,dv),bY(BWt,"RuntimeException",60),dOt(598,60,FXt),bY(BWt,"JsException",598),dOt(863,598,FXt),bY(zXt,"JavaScriptExceptionBase",863),dOt(477,863,{477:1,3:1,102:1,60:1,78:1},xlt),EWt.$d=function(){return b_t(this),this.c},EWt.ae=function(){return HM(this.b)===HM(Vte)?null:this.b},bY(UXt,"JavaScriptException",477);var Qte,Jte=bY(UXt,"JavaScriptObject$",0);dOt(1948,1,{}),bY(UXt,"Scheduler",1948);var tee,eee,nee,iee,ree=0,aee=0,oee=-1;dOt(890,1948,{},k),bY(zXt,"SchedulerImpl",890),dOt(1960,1,{}),bY(zXt,"StackTraceCreator/Collector",1960),dOt(864,1960,{},_),EWt.be=function(t){var e={},n=[];t[qXt]=n;for(var i=arguments.callee.caller;i;){var r=(TZ(),i.name||(i.name=Wnt(i.toString())));n.push(r);var a,o,s=":"+r,c=e[s];if(c)for(a=0,o=c.length;a<o;a++)if(c[a]===i)return;(c||(e[s]=[])).push(i),i=i.caller;}},EWt.ce=function(t){var e,n,i,r;for(TZ(),n=(i=t&&t[qXt]?t[qXt]:[]).length,r=D8($ee,cXt,310,n,0,1),e=0;e<n;e++)r[e]=new TX(i[e],null,-1);return r},bY(zXt,"StackTraceCreator/CollectorLegacy",864),dOt(1961,1960,{}),EWt.be=function(t){},EWt.de=function(t,e,n,i){return new TX(e,t+"@"+i,n<0?-1:n)},EWt.ce=function(t){var e,n,i,r,a,o;if(r=hvt(t),a=D8($ee,cXt,310,0,0,1),e=0,0==(i=r.length))return a;for(wj((o=MUt(this,r[0])).d,GXt)||(a[e++]=o),n=1;n<i;n++)a[e++]=MUt(this,r[n]);return a},bY(zXt,"StackTraceCreator/CollectorModern",1961),dOt(865,1961,{},p),EWt.de=function(t,e,n,i){return new TX(e,t,-1)},bY(zXt,"StackTraceCreator/CollectorModernNoSourceMap",865),dOt(1050,1,{}),bY(mVt,vVt,1050),dOt(615,1050,{615:1},UY),bY(xVt,vVt,615),dOt(2001,1,{}),bY(mVt,kVt,2001),dOt(2002,2001,{}),bY(xVt,kVt,2002),dOt(1090,1,{},b),bY(xVt,"LocaleInfo",1090),dOt(1918,1,{},w),EWt.a=0,bY(xVt,"TimeZone",1918),dOt(1258,2002,{},g),bY("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),dOt(434,1,{434:1},Yz),EWt.a=!1,EWt.b=0,bY(mVt,"DateTimeFormat/PatternPart",434),dOt(199,1,_Vt,ME,wct,TB),EWt.wd=function(t){return V0(this,$z(t,199))},EWt.Fb=function(t){return iD(t,199)&&WM(lot(this.q.getTime()),lot($z(t,199).q.getTime()))},EWt.Hb=function(){var t;return dG(n0(t=lot(this.q.getTime()),vq(t,32)))},EWt.Ib=function(){var t,n,i;return t=((i=-this.q.getTimezoneOffset())>=0?"+":"")+(i/60|0),n=GI(e.Math.abs(i)%60),(bTt(),pne)[this.q.getDay()]+" "+bne[this.q.getMonth()]+" "+GI(this.q.getDate())+" "+GI(this.q.getHours())+":"+GI(this.q.getMinutes())+":"+GI(this.q.getSeconds())+" GMT"+t+n+" "+this.q.getFullYear()};var see,cee,uee,lee,hee,fee,dee,gee,pee,bee,wee,yee=bY(VWt,"Date",199);dOt(1915,199,_Vt,Vxt),EWt.a=!1,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=0,EWt.g=!1,EWt.i=0,EWt.j=0,EWt.k=0,EWt.n=0,EWt.o=0,EWt.p=0,bY("com.google.gwt.i18n.shared.impl","DateRecord",1915),dOt(1966,1,{}),EWt.fe=function(){return null},EWt.ge=function(){return null},EWt.he=function(){return null},EWt.ie=function(){return null},EWt.je=function(){return null},bY(EVt,"JSONValue",1966),dOt(216,1966,{216:1},Cf,kf),EWt.Fb=function(t){return !!iD(t,216)&&b0(this.a,$z(t,216).a)},EWt.ee=function(){return zw},EWt.Hb=function(){return JV(this.a)},EWt.fe=function(){return this},EWt.Ib=function(){var t,e,n;for(n=new lN("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),aI(n,dtt(this,e));return n.a+="]",n.a},bY(EVt,"JSONArray",216),dOt(483,1966,{483:1},_f),EWt.ee=function(){return Hw},EWt.ge=function(){return this},EWt.Ib=function(){return cN(),""+this.a},EWt.a=!1,bY(EVt,"JSONBoolean",483),dOt(985,60,FXt,gv),bY(EVt,"JSONException",985),dOt(1023,1966,{},y),EWt.ee=function(){return Yw},EWt.Ib=function(){return GWt},bY(EVt,"JSONNull",1023),dOt(258,1966,{258:1},Ef),EWt.Fb=function(t){return !!iD(t,258)&&this.a==$z(t,258).a},EWt.ee=function(){return Uw},EWt.Hb=function(){return YI(this.a)},EWt.he=function(){return this},EWt.Ib=function(){return this.a+""},EWt.a=0,bY(EVt,"JSONNumber",258),dOt(183,1966,{183:1},pv,Tf),EWt.Fb=function(t){return !!iD(t,183)&&b0(this.a,$z(t,183).a)},EWt.ee=function(){return Gw},EWt.Hb=function(){return JV(this.a)},EWt.ie=function(){return this},EWt.Ib=function(){var t,e,n,i,r,a;for(a=new lN("{"),t=!0,i=0,r=(n=xrt(this,D8(Xee,cXt,2,0,6,1))).length;i<r;++i)e=n[i],t?t=!1:a.a+=$Wt,oI(a,yIt(e)),a.a+=":",aI(a,UQ(this,e));return a.a+="}",a.a},bY(EVt,"JSONObject",183),dOt(596,JWt,tXt,kE),EWt.Hc=function(t){return qM(t)&&Ux(this.a,EB(t))},EWt.Kc=function(){return new Ed(new Vv(this.b))},EWt.gc=function(){return this.b.length},bY(EVt,"JSONObject/1",596),dOt(204,1966,{204:1},HY),EWt.Fb=function(t){return !!iD(t,204)&&wj(this.a,$z(t,204).a)},EWt.ee=function(){return qw},EWt.Hb=function(){return wyt(this.a)},EWt.je=function(){return this},EWt.Ib=function(){return yIt(this.a)},bY(EVt,"JSONString",204),dOt(1962,1,{525:1}),bY(LVt,"OutputStream",1962),dOt(1963,1962,{525:1}),bY(LVt,"FilterOutputStream",1963),dOt(866,1963,{525:1},O),bY(LVt,"PrintStream",866),dOt(418,1,{475:1}),EWt.Ib=function(){return this.a},bY(BWt,"AbstractStringBuilder",418),dOt(529,60,FXt,Av),bY(BWt,"ArithmeticException",529),dOt(73,60,DVt,uy,Mv),bY(BWt,"IndexOutOfBoundsException",73),dOt(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Ey,kx),bY(BWt,"ArrayIndexOutOfBoundsException",320),dOt(528,60,FXt,ly,Iv),bY(BWt,"ArrayStoreException",528),dOt(289,78,NVt,Ov),bY(BWt,"Error",289),dOt(194,289,NVt,cy,g5),bY(BWt,"AssertionError",194),SWt={3:1,476:1,35:1};var mee,vee=bY(BWt,"Boolean",476);dOt(236,1,{3:1,236:1}),bY(BWt,"Number",236),dOt(217,236,{3:1,217:1,35:1,236:1},Id),EWt.wd=function(t){return jx(this,$z(t,217))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iD(t,217)&&$z(t,217).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return ""+this.a},EWt.a=0;var xee,kee,_ee=bY(BWt,"Byte",217);dOt(172,1,{3:1,172:1,35:1},Od),EWt.wd=function(t){return $x(this,$z(t,172))},EWt.Fb=function(t){return iD(t,172)&&$z(t,172).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return String.fromCharCode(this.a)},EWt.a=0;var Eee,Tee=bY(BWt,"Character",172);dOt(205,60,{3:1,205:1,102:1,60:1,78:1},hy,Bv),bY(BWt,"ClassCastException",205),AWt={3:1,35:1,333:1,236:1};var Cee=bY(BWt,"Double",333);dOt(155,236,{3:1,35:1,155:1,236:1},Ld,Ny),EWt.wd=function(t){return $I(this,$z(t,155))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iD(t,155)&&bj(this.a,$z(t,155).a)},EWt.Hb=function(){return CQ(this.a)},EWt.Ib=function(){return ""+this.a},EWt.a=0;var See=bY(BWt,"Float",155);dOt(32,60,{3:1,102:1,32:1,60:1,78:1},fy,Rv,$ut),bY(BWt,"IllegalArgumentException",32),dOt(71,60,FXt,dy,jv),bY(BWt,"IllegalStateException",71),dOt(19,236,{3:1,35:1,19:1,236:1},Dd),EWt.wd=function(t){return FI(this,$z(t,19))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iD(t,19)&&$z(t,19).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return ""+this.a},EWt.a=0;var Aee,Mee,Iee=bY(BWt,"Integer",19);dOt(162,236,{3:1,35:1,162:1,236:1},Nd),EWt.wd=function(t){return zI(this,$z(t,162))},EWt.ke=function(){return v2(this.a)},EWt.Fb=function(t){return iD(t,162)&&WM($z(t,162).a,this.a)},EWt.Hb=function(){return dG(this.a)},EWt.Ib=function(){return ""+bq(this.a)},EWt.a=0;var Oee,Lee,Dee,Nee,Pee,Bee=bY(BWt,"Long",162);dOt(2039,1,{}),dOt(1831,60,FXt,$v),bY(BWt,"NegativeArraySizeException",1831),dOt(173,598,{3:1,102:1,173:1,60:1,78:1},gy,Fv),EWt.Wd=function(t){return new TypeError(t)},bY(BWt,"NullPointerException",173),dOt(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},_x),bY(BWt,"NumberFormatException",127),dOt(184,236,{3:1,35:1,236:1,184:1},Pd),EWt.wd=function(t){return Fx(this,$z(t,184))},EWt.ke=function(){return this.a},EWt.Fb=function(t){return iD(t,184)&&$z(t,184).a==this.a},EWt.Hb=function(){return this.a},EWt.Ib=function(){return ""+this.a},EWt.a=0;var Ree,jee=bY(BWt,"Short",184);dOt(310,1,{3:1,310:1},TX),EWt.Fb=function(t){var e;return !!iD(t,310)&&(e=$z(t,310),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[nft(this.c),this.a,this.d,this.b]))},EWt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},EWt.c=0;var $ee=bY(BWt,"StackTraceElement",310);MWt={3:1,475:1,35:1,2:1};var Fee,zee,Hee,Uee,Gee,qee,Kee,Yee,Wee,Xee=bY(BWt,HXt,2);dOt(107,418,{475:1},Ex,Tx,uN),bY(BWt,"StringBuffer",107),dOt(100,418,{475:1},Cx,Sx,lN),bY(BWt,"StringBuilder",100),dOt(687,73,DVt,Ax),bY(BWt,"StringIndexOutOfBoundsException",687),dOt(2043,1,{}),dOt(844,1,{},P),EWt.Kb=function(t){return $z(t,78).e},bY(BWt,"Throwable/lambda$0$Type",844),dOt(41,60,{3:1,102:1,60:1,78:1,41:1},py,Jv),bY(BWt,"UnsupportedOperationException",41),dOt(240,236,{3:1,35:1,236:1,240:1},mtt,f_),EWt.wd=function(t){return Z$t(this,$z(t,240))},EWt.ke=function(){return fCt(eUt(this))},EWt.Fb=function(t){var e;return this===t||!!iD(t,240)&&(e=$z(t,240),this.e==e.e&&0==Z$t(this,e))},EWt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=lot(this.f),this.b=dG(t0(t,-1)),this.b=33*this.b+dG(t0(mq(t,32),-1)),this.b=17*this.b+CQ(this.e),this.b):(this.b=17*Rlt(this.c)+CQ(this.e),this.b)},EWt.Ib=function(){return eUt(this)},EWt.a=0,EWt.b=0,EWt.d=0,EWt.e=0,EWt.f=0;var Vee,Zee,Qee,Jee,tne,ene,nne=bY("java.math","BigDecimal",240);dOt(91,236,{3:1,35:1,236:1,91:1},Bwt,q6,lK,w_t,Sbt,IO),EWt.wd=function(t){return tbt(this,$z(t,91))},EWt.ke=function(){return fCt(HYt(this,0))},EWt.Fb=function(t){return cgt(this,t)},EWt.Hb=function(){return Rlt(this)},EWt.Ib=function(){return HYt(this,0)},EWt.b=-2,EWt.c=0,EWt.d=0,EWt.e=0;var ine,rne,ane,one,sne=bY("java.math","BigInteger",91);dOt(488,1967,ZWt),EWt.$b=function(){IK(this);},EWt._b=function(t){return cK(this,t)},EWt.uc=function(t){return Lut(this,t,this.g)||Lut(this,t,this.f)},EWt.vc=function(){return new Td(this)},EWt.xc=function(t){return PY(this,t)},EWt.zc=function(t,e){return YW(this,t,e)},EWt.Bc=function(t){return b6(this,t)},EWt.gc=function(){return LE(this)},bY(VWt,"AbstractHashMap",488),dOt(261,JWt,tXt,Td),EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return w2(this,t)},EWt.Kc=function(){return new out(this.a)},EWt.Mc=function(t){var e;return !!w2(this,t)&&(e=$z(t,42).cd(),this.a.Bc(e),!0)},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractHashMap/EntrySet",261),dOt(262,1,XWt,out),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return tnt(this)},EWt.Ob=function(){return this.b},EWt.Qb=function(){o7(this);},EWt.b=!1,bY(VWt,"AbstractHashMap/EntrySetIterator",262),dOt(417,1,XWt,Ed),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return rC(this)},EWt.Pb=function(){return wV(this)},EWt.Qb=function(){uW(this);},EWt.b=0,EWt.c=-1,bY(VWt,"AbstractList/IteratorImpl",417),dOt(96,417,rXt,_2),EWt.Qb=function(){uW(this);},EWt.Rb=function(t){yR(this,t);},EWt.Sb=function(){return this.b>0},EWt.Tb=function(){return this.b},EWt.Ub=function(){return TP(this.b>0),this.a.Xb(this.c=--this.b)},EWt.Vb=function(){return this.b-1},EWt.Wb=function(t){_P(-1!=this.c),this.a._c(this.c,t);},bY(VWt,"AbstractList/ListIteratorImpl",96),dOt(219,52,LXt,s1),EWt.Vc=function(t,e){OJ(t,this.b),this.c.Vc(this.a+t,e),++this.b;},EWt.Xb=function(t){return l1(t,this.b),this.c.Xb(this.a+t)},EWt.$c=function(t){var e;return l1(t,this.b),e=this.c.$c(this.a+t),--this.b,e},EWt._c=function(t,e){return l1(t,this.b),this.c._c(this.a+t,e)},EWt.gc=function(){return this.b},EWt.a=0,EWt.b=0,bY(VWt,"AbstractList/SubList",219),dOt(384,JWt,tXt,Cd),EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return this.a._b(t)},EWt.Kc=function(){return new Sd(this.a.vc().Kc())},EWt.Mc=function(t){return !!this.a._b(t)&&(this.a.Bc(t),!0)},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractMap/1",384),dOt(691,1,XWt,Sd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).cd()},EWt.Qb=function(){this.a.Qb();},bY(VWt,"AbstractMap/1/1",691),dOt(226,28,QWt,Ad),EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return this.a.uc(t)},EWt.Kc=function(){return new Bd(this.a.vc().Kc())},EWt.gc=function(){return this.a.gc()},bY(VWt,"AbstractMap/2",226),dOt(294,1,XWt,Bd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.a.Ob()},EWt.Pb=function(){return $z(this.a.Pb(),42).dd()},EWt.Qb=function(){this.a.Qb();},bY(VWt,"AbstractMap/2/1",294),dOt(484,1,{484:1,42:1}),EWt.Fb=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),iX(this.d,e.cd())&&iX(this.e,e.dd()))},EWt.cd=function(){return this.d},EWt.dd=function(){return this.e},EWt.Hb=function(){return BO(this.d)^BO(this.e)},EWt.ed=function(t){return pR(this,t)},EWt.Ib=function(){return this.d+"="+this.e},bY(VWt,"AbstractMap/AbstractEntry",484),dOt(383,484,{484:1,383:1,42:1},TC),bY(VWt,"AbstractMap/SimpleEntry",383),dOt(1984,1,WVt),EWt.Fb=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),iX(this.cd(),e.cd())&&iX(this.dd(),e.dd()))},EWt.Hb=function(){return BO(this.cd())^BO(this.dd())},EWt.Ib=function(){return this.cd()+"="+this.dd()},bY(VWt,oXt,1984),dOt(1992,1967,eXt),EWt.tc=function(t){return z5(this,t)},EWt._b=function(t){return Nj(this,t)},EWt.vc=function(){return new $d(this)},EWt.xc=function(t){return zM(hut(this,t))},EWt.ec=function(){return new Rd(this)},bY(VWt,"AbstractNavigableMap",1992),dOt(739,JWt,tXt,$d),EWt.Hc=function(t){return iD(t,42)&&z5(this.b,$z(t,42))},EWt.Kc=function(){return new $R(this.b)},EWt.Mc=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),U8(this.b,e))},EWt.gc=function(){return this.b.c},bY(VWt,"AbstractNavigableMap/EntrySet",739),dOt(493,JWt,iXt,Rd),EWt.Nc=function(){return new fC(this)},EWt.$b=function(){wv(this.a);},EWt.Hc=function(t){return Nj(this.a,t)},EWt.Kc=function(){return new jd(new $R(new DN(this.a).b))},EWt.Mc=function(t){return !!Nj(this.a,t)&&(IQ(this.a,t),!0)},EWt.gc=function(){return this.a.c},bY(VWt,"AbstractNavigableMap/NavigableKeySet",493),dOt(494,1,XWt,jd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return rC(this.a.a)},EWt.Pb=function(){return wP(this.a).cd()},EWt.Qb=function(){t$(this.a);},bY(VWt,"AbstractNavigableMap/NavigableKeySet/1",494),dOt(2004,28,QWt),EWt.Fc=function(t){return j8(eTt(this,t)),!0},EWt.Gc=function(t){return mW(t),bH(t!=this,"Can't add a queue to itself"),$rt(this,t)},EWt.$b=function(){for(;null!=wtt(this););},bY(VWt,"AbstractQueue",2004),dOt(302,28,{4:1,20:1,28:1,14:1},Ow,d1),EWt.Fc=function(t){return f3(this,t),!0},EWt.$b=function(){o4(this);},EWt.Hc=function(t){return dst(new hX(this),t)},EWt.dc=function(){return Kv(this)},EWt.Kc=function(){return new hX(this)},EWt.Mc=function(t){return HQ(new hX(this),t)},EWt.gc=function(){return this.c-this.b&this.a.length-1},EWt.Nc=function(){return new f1(this,272)},EWt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=zx(new Array(e),t)),ort(this,t,e),t.length>e&&IY(t,e,null),t},EWt.b=0,EWt.c=0,bY(VWt,"ArrayDeque",302),dOt(446,1,XWt,hX),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.a!=this.b},EWt.Pb=function(){return jlt(this)},EWt.Qb=function(){eit(this);},EWt.a=0,EWt.b=0,EWt.c=-1,bY(VWt,"ArrayDeque/IteratorImpl",446),dOt(12,52,XVt,Lw,V6,Jj),EWt.Vc=function(t,e){mG(this,t,e);},EWt.Fc=function(t){return Kz(this,t)},EWt.Wc=function(t,e){return slt(this,t,e)},EWt.Gc=function(t){return pst(this,t)},EWt.$b=function(){this.c=D8(Ite,zWt,1,0,5,1);},EWt.Hc=function(t){return -1!=x9(this,t,0)},EWt.Jc=function(t){Met(this,t);},EWt.Xb=function(t){return DU(this,t)},EWt.Xc=function(t){return x9(this,t,0)},EWt.dc=function(){return 0==this.c.length},EWt.Kc=function(){return new Kd(this)},EWt.$c=function(t){return s6(this,t)},EWt.Mc=function(t){return y9(this,t)},EWt.Ud=function(t,e){c1(this,t,e);},EWt._c=function(t,e){return i5(this,t,e)},EWt.gc=function(){return this.c.length},EWt.ad=function(t){wL(this,t);},EWt.Pc=function(){return hP(this)},EWt.Qc=function(t){return Xbt(this,t)};var cne,une,lne,hne,fne,dne,gne,pne,bne,wne=bY(VWt,"ArrayList",12);dOt(7,1,XWt,Kd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return yL(this)},EWt.Pb=function(){return Q1(this)},EWt.Qb=function(){MK(this);},EWt.a=0,EWt.b=-1,bY(VWt,"ArrayList/1",7),dOt(2013,e.Function,{},E),EWt.te=function(t,e){return Cft(t,e)},dOt(154,52,VVt,Vv),EWt.Hc=function(t){return -1!=fit(this,t)},EWt.Jc=function(t){var e,n,i,r;for(mW(t),i=0,r=(n=this.a).length;i<r;++i)e=n[i],t.td(e);},EWt.Xb=function(t){return NU(this,t)},EWt._c=function(t,e){var n;return l1(t,this.a.length),n=this.a[t],IY(this.a,t,e),n},EWt.gc=function(){return this.a.length},EWt.ad=function(t){yG(this.a,this.a.length,t);},EWt.Pc=function(){return Vbt(this,D8(Ite,zWt,1,this.a.length,5,1))},EWt.Qc=function(t){return Vbt(this,t)},bY(VWt,"Arrays/ArrayList",154),dOt(940,52,VVt,C),EWt.Hc=function(t){return !1},EWt.Xb=function(t){return yI(t)},EWt.Kc=function(){return EV(),OE(),hne},EWt.Yc=function(){return EV(),OE(),hne},EWt.gc=function(){return 0},bY(VWt,"Collections/EmptyList",940),dOt(941,1,rXt,S),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){throw Fw(new py)},EWt.Ob=function(){return !1},EWt.Sb=function(){return !1},EWt.Pb=function(){throw Fw(new yy)},EWt.Tb=function(){return 0},EWt.Ub=function(){throw Fw(new yy)},EWt.Vb=function(){return -1},EWt.Qb=function(){throw Fw(new dy)},EWt.Wb=function(t){throw Fw(new dy)},bY(VWt,"Collections/EmptyListIterator",941),dOt(943,1967,xXt,A),EWt._b=function(t){return !1},EWt.uc=function(t){return !1},EWt.vc=function(){return EV(),lne},EWt.xc=function(t){return null},EWt.ec=function(){return EV(),lne},EWt.gc=function(){return 0},EWt.Cc=function(){return EV(),cne},bY(VWt,"Collections/EmptyMap",943),dOt(942,JWt,_Xt,T),EWt.Hc=function(t){return !1},EWt.Kc=function(){return EV(),OE(),hne},EWt.gc=function(){return 0},bY(VWt,"Collections/EmptySet",942),dOt(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},Hd),EWt.Hc=function(t){return iX(this.a,t)},EWt.Xb=function(t){return l1(t,1),this.a},EWt.gc=function(){return 1},bY(VWt,"Collections/SingletonList",599),dOt(372,1,wXt,Fd),EWt.Jc=function(t){t5(this,t);},EWt.Lc=function(){return new PU(null,this.Nc())},EWt.Nc=function(){return new f1(this,0)},EWt.Oc=function(){return new PU(null,this.Nc())},EWt.Fc=function(t){return o_()},EWt.Gc=function(t){return s_()},EWt.$b=function(){c_();},EWt.Hc=function(t){return DE(this,t)},EWt.Ic=function(t){return NE(this,t)},EWt.dc=function(){return this.b.dc()},EWt.Kc=function(){return new zd(this.b.Kc())},EWt.Mc=function(t){return u_()},EWt.gc=function(){return this.b.gc()},EWt.Pc=function(){return this.b.Pc()},EWt.Qc=function(t){return PE(this,t)},EWt.Ib=function(){return Fdt(this.b)},bY(VWt,"Collections/UnmodifiableCollection",372),dOt(371,1,XWt,zd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.b.Ob()},EWt.Pb=function(){return this.b.Pb()},EWt.Qb=function(){l_();},bY(VWt,"Collections/UnmodifiableCollectionIterator",371),dOt(531,372,ZVt,hN),EWt.Nc=function(){return new f1(this,16)},EWt.Vc=function(t,e){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Fb=function(t){return Dht(this.a,t)},EWt.Xb=function(t){return this.a.Xb(t)},EWt.Hb=function(){return Jct(this.a)},EWt.Xc=function(t){return this.a.Xc(t)},EWt.dc=function(){return this.a.dc()},EWt.Yc=function(){return new fN(this.a.Zc(0))},EWt.Zc=function(t){return new fN(this.a.Zc(t))},EWt.$c=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},EWt.ad=function(t){throw Fw(new py)},EWt.bd=function(t,e){return new hN(this.a.bd(t,e))},bY(VWt,"Collections/UnmodifiableList",531),dOt(690,371,rXt,fN),EWt.Qb=function(){l_();},EWt.Rb=function(t){throw Fw(new py)},EWt.Sb=function(){return this.a.Sb()},EWt.Tb=function(){return this.a.Tb()},EWt.Ub=function(){return this.a.Ub()},EWt.Vb=function(){return this.a.Vb()},EWt.Wb=function(t){throw Fw(new py)},bY(VWt,"Collections/UnmodifiableListIterator",690),dOt(600,1,ZWt,qd),EWt.wc=function(t){Jat(this,t);},EWt.yc=function(t,e,n){return Qft(this,t,e,n)},EWt.$b=function(){throw Fw(new py)},EWt._b=function(t){return this.c._b(t)},EWt.uc=function(t){return RE(this,t)},EWt.vc=function(){return tX(this)},EWt.Fb=function(t){return $E(this,t)},EWt.xc=function(t){return this.c.xc(t)},EWt.Hb=function(){return Jct(this.c)},EWt.dc=function(){return this.c.dc()},EWt.ec=function(){return eX(this)},EWt.zc=function(t,e){throw Fw(new py)},EWt.Bc=function(t){throw Fw(new py)},EWt.gc=function(){return this.c.gc()},EWt.Ib=function(){return Fdt(this.c)},EWt.Cc=function(){return JW(this)},bY(VWt,"Collections/UnmodifiableMap",600),dOt(382,372,kXt,Mx),EWt.Nc=function(){return new f1(this,1)},EWt.Fb=function(t){return Dht(this.b,t)},EWt.Hb=function(){return Jct(this.b)},bY(VWt,"Collections/UnmodifiableSet",382),dOt(944,382,kXt,Ox),EWt.Hc=function(t){return BE(this,t)},EWt.Ic=function(t){return this.b.Ic(t)},EWt.Kc=function(){return new Ud(this.b.Kc())},EWt.Pc=function(){var t;return v4(t=this.b.Pc(),t.length),t},EWt.Qc=function(t){return SZ(this,t)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),dOt(945,1,XWt,Ud),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return new Gd($z(this.a.Pb(),42))},EWt.Ob=function(){return this.a.Ob()},EWt.Qb=function(){throw Fw(new py)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),dOt(688,1,WVt,Gd),EWt.Fb=function(t){return this.a.Fb(t)},EWt.cd=function(){return this.a.cd()},EWt.dd=function(){return this.a.dd()},EWt.Hb=function(){return this.a.Hb()},EWt.ed=function(t){throw Fw(new py)},EWt.Ib=function(){return Fdt(this.a)},bY(VWt,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),dOt(601,531,{20:1,14:1,15:1,54:1},Ix),bY(VWt,"Collections/UnmodifiableRandomAccessList",601),dOt(689,382,EXt,dN),EWt.Nc=function(){return new fC(this)},EWt.Fb=function(t){return Dht(this.a,t)},EWt.Hb=function(){return Jct(this.a)},bY(VWt,"Collections/UnmodifiableSortedSet",689),dOt(847,1,QVt,B),EWt.ue=function(t,e){var n;return 0!=(n=k4($z(t,11),$z(e,11)))?n:J$t($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(VWt,"Comparator/lambda$0$Type",847),dOt(751,1,QVt,R),EWt.ue=function(t,e){return RU($z(t,35),$z(e,35))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return TV(),gne},bY(VWt,"Comparators/NaturalOrderComparator",751),dOt(1177,1,QVt,j),EWt.ue=function(t,e){return jU($z(t,35),$z(e,35))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return TV(),dne},bY(VWt,"Comparators/ReverseNaturalOrderComparator",1177),dOt(64,1,QVt,Qd),EWt.Fb=function(t){return this===t},EWt.ue=function(t,e){return this.a.ue(e,t)},EWt.ve=function(){return this.a},bY(VWt,"Comparators/ReversedComparator",64),dOt(166,60,FXt,by),bY(VWt,"ConcurrentModificationException",166),dOt(1904,1,JVt,$),EWt.we=function(t){upt(this,t);},EWt.Ib=function(){return "DoubleSummaryStatistics[count = "+bq(this.a)+", avg = "+(oC(this.a,0)?l6(this)/v2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+l6(this)+"]"},EWt.a=0,EWt.b=RVt,EWt.c=BVt,EWt.d=0,EWt.e=0,EWt.f=0,bY(VWt,"DoubleSummaryStatistics",1904),dOt(1805,60,FXt,wy),bY(VWt,"EmptyStackException",1805),dOt(451,1967,ZWt,zdt),EWt.zc=function(t,e){return fR(this,t,e)},EWt.$b=function(){kW(this);},EWt._b=function(t){return aC(this,t)},EWt.uc=function(t){var e,n;for(n=new WE(this.a);n.a<n.c.a.length;)if(e=a4(n),iX(t,this.b[e.g]))return !0;return !1},EWt.vc=function(){return new Jd(this)},EWt.xc=function(t){return oX(this,t)},EWt.Bc=function(t){return LJ(this,t)},EWt.gc=function(){return this.a.c},bY(VWt,"EnumMap",451),dOt(1352,JWt,tXt,Jd),EWt.$b=function(){kW(this.a);},EWt.Hc=function(t){return b2(this,t)},EWt.Kc=function(){return new MU(this.a)},EWt.Mc=function(t){var e;return !!b2(this,t)&&(e=$z(t,42).cd(),LJ(this.a,e),!0)},EWt.gc=function(){return this.a.a.c},bY(VWt,"EnumMap/EntrySet",1352),dOt(1353,1,XWt,MU),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return this.b=a4(this.a),new CC(this.c,this.b)},EWt.Ob=function(){return mL(this.a)},EWt.Qb=function(){_P(!!this.b),LJ(this.c,this.b),this.b=null;},bY(VWt,"EnumMap/EntrySetIterator",1353),dOt(1354,1984,WVt,CC),EWt.cd=function(){return this.a},EWt.dd=function(){return this.b.b[this.a.g]},EWt.ed=function(t){return xK(this.b,this.a.g,t)},bY(VWt,"EnumMap/MapEntry",1354),dOt(174,JWt,{20:1,28:1,14:1,174:1,21:1});var yne=bY(VWt,"EnumSet",174);dOt(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},Xj),EWt.Fc=function(t){return srt(this,$z(t,22))},EWt.Hc=function(t){return CG(this,t)},EWt.Kc=function(){return new WE(this)},EWt.Mc=function(t){return SG(this,t)},EWt.gc=function(){return this.c},EWt.c=0,bY(VWt,"EnumSet/EnumSetImpl",156),dOt(343,1,XWt,WE),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return a4(this)},EWt.Ob=function(){return mL(this)},EWt.Qb=function(){_P(-1!=this.b),IY(this.c.b,this.b,null),--this.c.c,this.b=-1;},EWt.a=-1,EWt.b=-1,bY(VWt,"EnumSet/EnumSetImpl/IteratorImpl",343),dOt(43,488,tZt,Dw,qE,wI),EWt.re=function(t,e){return HM(t)===HM(e)||null!=t&&Dht(t,e)},EWt.se=function(t){return 0|Jct(t)},bY(VWt,"HashMap",43),dOt(53,JWt,eZt,Py,h_,IU),EWt.Fc=function(t){return kK(this,t)},EWt.$b=function(){this.a.$b();},EWt.Hc=function(t){return jE(this,t)},EWt.dc=function(){return 0==this.a.gc()},EWt.Kc=function(){return this.a.ec().Kc()},EWt.Mc=function(t){return tD(this,t)},EWt.gc=function(){return this.a.gc()};var mne,vne=bY(VWt,"HashSet",53);dOt(1781,1,dXt,F),EWt.ud=function(t){iot(this,t);},EWt.Ib=function(){return "IntSummaryStatistics[count = "+bq(this.a)+", avg = "+(oC(this.a,0)?v2(this.d)/v2(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+bq(this.d)+"]"},EWt.a=0,EWt.b=jXt,EWt.c=PWt,EWt.d=0,bY(VWt,"IntSummaryStatistics",1781),dOt(1049,1,bXt,tO),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new E2(this)},EWt.c=0,bY(VWt,"InternalHashCodeMap",1049),dOt(711,1,XWt,E2),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return this.d=this.a[this.c++],this.d},EWt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},EWt.Qb=function(){pOt(this.e,this.d.cd()),0!=this.c&&--this.c;},EWt.c=0,EWt.d=null,bY(VWt,"InternalHashCodeMap/1",711),dOt(1047,1,bXt,eO),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new p4(this)},EWt.c=0,EWt.d=0,bY(VWt,"InternalStringMap",1047),dOt(710,1,XWt,p4),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new Vj(this.d,this.c,this.d.d)},EWt.Ob=function(){return !this.a.done},EWt.Qb=function(){Uot(this.d,this.c.value[0]);},bY(VWt,"InternalStringMap/1",710),dOt(1048,1984,WVt,Vj),EWt.cd=function(){return this.b.value[0]},EWt.dd=function(){return this.a.d!=this.c?cC(this.a,this.b.value[0]):this.b.value[1]},EWt.ed=function(t){return odt(this.a,this.b.value[0],t)},EWt.c=0,bY(VWt,"InternalStringMap/2",1048),dOt(228,43,tZt,b4,z8),EWt.$b=function(){mR(this);},EWt._b=function(t){return lC(this,t)},EWt.uc=function(t){var e;for(e=this.d.a;e!=this.d;){if(iX(e.e,t))return !0;e=e.a;}return !1},EWt.vc=function(){return new eg(this)},EWt.xc=function(t){return ltt(this,t)},EWt.zc=function(t,e){return Zbt(this,t,e)},EWt.Bc=function(t){return m9(this,t)},EWt.gc=function(){return LE(this.e)},EWt.c=!1,bY(VWt,"LinkedHashMap",228),dOt(387,383,{484:1,383:1,387:1,42:1},CP,Qz),bY(VWt,"LinkedHashMap/ChainEntry",387),dOt(701,JWt,tXt,eg),EWt.$b=function(){mR(this.a);},EWt.Hc=function(t){return y2(this,t)},EWt.Kc=function(){return new cW(this)},EWt.Mc=function(t){var e;return !!y2(this,t)&&(e=$z(t,42).cd(),m9(this.a,e),!0)},EWt.gc=function(){return LE(this.a.e)},bY(VWt,"LinkedHashMap/EntrySet",701),dOt(702,1,XWt,cW),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return s7(this)},EWt.Ob=function(){return this.b!=this.c.a.d},EWt.Qb=function(){_P(!!this.a),p2(this.c.a.e,this),PH(this.a),b6(this.c.a.e,this.a.d),hB(this.c.a.e,this),this.a=null;},bY(VWt,"LinkedHashMap/EntrySet/EntryIterator",702),dOt(178,53,eZt,uO,ON,OU);var xne=bY(VWt,"LinkedHashSet",178);dOt(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},XE,Qj),EWt.Fc=function(t){return NH(this,t)},EWt.$b=function(){yV(this);},EWt.Zc=function(t){return cwt(this,t)},EWt.gc=function(){return this.b},EWt.b=0;var kne,_ne,Ene,Tne,Cne,Sne=bY(VWt,"LinkedList",68);dOt(970,1,rXt,Zj),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){QK(this,t);},EWt.Ob=function(){return x_(this)},EWt.Sb=function(){return this.b.b!=this.d.a},EWt.Pb=function(){return h3(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){return G0(this)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){yet(this);},EWt.Wb=function(t){_P(!!this.c),this.c.c=t;},EWt.a=0,EWt.c=null,bY(VWt,"LinkedList/ListIteratorImpl",970),dOt(608,1,{},L),bY(VWt,"LinkedList/Node",608),dOt(1959,1,{}),bY(VWt,"Locale",1959),dOt(861,1959,{},D),EWt.Ib=function(){return ""},bY(VWt,"Locale/1",861),dOt(862,1959,{},N),EWt.Ib=function(){return "unknown"},bY(VWt,"Locale/4",862),dOt(109,60,{3:1,102:1,60:1,78:1,109:1},yy,lX),bY(VWt,"NoSuchElementException",109),dOt(404,1,{404:1},bv),EWt.Fb=function(t){var e;return t===this||!!iD(t,404)&&(e=$z(t,404),iX(this.a,e.a))},EWt.Hb=function(){return BO(this.a)},EWt.Ib=function(){return null!=this.a?UWt+mN(this.a)+")":"Optional.empty()"},bY(VWt,"Optional",404),dOt(463,1,{463:1},CI,yP),EWt.Fb=function(t){var e;return t===this||!!iD(t,463)&&(e=$z(t,463),this.a==e.a&&0==Cft(this.b,e.b))},EWt.Hb=function(){return this.a?CQ(this.b):0},EWt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},EWt.a=!1,EWt.b=0,bY(VWt,"OptionalDouble",463),dOt(517,1,{517:1},SI,mP),EWt.Fb=function(t){var e;return t===this||!!iD(t,517)&&(e=$z(t,517),this.a==e.a&&0==xL(this.b,e.b))},EWt.Hb=function(){return this.a?this.b:0},EWt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},EWt.a=!1,EWt.b=0,bY(VWt,"OptionalInt",517),dOt(503,2004,QWt,qq),EWt.Gc=function(t){return nxt(this,t)},EWt.$b=function(){this.b.c=D8(Ite,zWt,1,0,5,1);},EWt.Hc=function(t){return -1!=(null==t?-1:x9(this.b,t,0))},EWt.Kc=function(){return new Yd(this)},EWt.Mc=function(t){return crt(this,t)},EWt.gc=function(){return this.b.c.length},EWt.Nc=function(){return new f1(this,256)},EWt.Pc=function(){return hP(this.b)},EWt.Qc=function(t){return Xbt(this.b,t)},bY(VWt,"PriorityQueue",503),dOt(1277,1,XWt,Yd),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return this.a<this.c.b.c.length},EWt.Pb=function(){return TP(this.a<this.c.b.c.length),this.b=this.a++,DU(this.c.b,this.b)},EWt.Qb=function(){_P(-1!=this.b),urt(this.c,this.a=this.b),this.b=-1;},EWt.a=0,EWt.b=-1,bY(VWt,"PriorityQueue/1",1277),dOt(230,1,{230:1},cdt,C4),EWt.a=0,EWt.b=0;var Ane,Mne,Ine,One=0;bY(VWt,"Random",230),dOt(27,1,lXt,f1,UK,CX),EWt.qd=function(){return this.a},EWt.rd=function(){return Nq(this),this.c},EWt.Nb=function(t){Nq(this),this.d.Nb(t);},EWt.sd=function(t){return Qtt(this,t)},EWt.a=0,EWt.c=0,bY(VWt,"Spliterators/IteratorSpliterator",27),dOt(485,27,lXt,fC),bY(VWt,"SortedSet/1",485),dOt(602,1,JVt,Wd),EWt.we=function(t){this.a.td(t);},bY(VWt,"Spliterator/OfDouble/0methodref$accept$Type",602),dOt(603,1,JVt,Xd),EWt.we=function(t){this.a.td(t);},bY(VWt,"Spliterator/OfDouble/1methodref$accept$Type",603),dOt(604,1,dXt,Vd),EWt.ud=function(t){this.a.td(nft(t));},bY(VWt,"Spliterator/OfInt/2methodref$accept$Type",604),dOt(605,1,dXt,Zd),EWt.ud=function(t){this.a.td(nft(t));},bY(VWt,"Spliterator/OfInt/3methodref$accept$Type",605),dOt(617,1,lXt),EWt.Nb=function(t){p_(this,t);},EWt.qd=function(){return this.d},EWt.rd=function(){return this.e},EWt.d=0,EWt.e=0,bY(VWt,"Spliterators/BaseSpliterator",617),dOt(721,617,lXt),EWt.xe=function(t){g_(this,t);},EWt.Nb=function(t){iD(t,182)?g_(this,$z(t,182)):g_(this,new Xd(t));},EWt.sd=function(t){return iD(t,182)?this.ye($z(t,182)):this.ye(new Wd(t))},bY(VWt,"Spliterators/AbstractDoubleSpliterator",721),dOt(720,617,lXt),EWt.xe=function(t){g_(this,t);},EWt.Nb=function(t){iD(t,196)?g_(this,$z(t,196)):g_(this,new Zd(t));},EWt.sd=function(t){return iD(t,196)?this.ye($z(t,196)):this.ye(new Vd(t))},bY(VWt,"Spliterators/AbstractIntSpliterator",720),dOt(540,617,lXt),bY(VWt,"Spliterators/AbstractSpliterator",540),dOt(692,1,lXt),EWt.Nb=function(t){p_(this,t);},EWt.qd=function(){return this.b},EWt.rd=function(){return this.d-this.c},EWt.b=0,EWt.c=0,EWt.d=0,bY(VWt,"Spliterators/BaseArraySpliterator",692),dOt(947,692,lXt,$H),EWt.ze=function(t,e){ik(this,$z(t,38),e);},EWt.Nb=function(t){NY(this,t);},EWt.sd=function(t){return B6(this,t)},bY(VWt,"Spliterators/ArraySpliterator",947),dOt(693,692,lXt,Rj),EWt.ze=function(t,e){rk(this,$z(t,182),e);},EWt.xe=function(t){NY(this,t);},EWt.Nb=function(t){iD(t,182)?NY(this,$z(t,182)):NY(this,new Xd(t));},EWt.ye=function(t){return B6(this,t)},EWt.sd=function(t){return iD(t,182)?B6(this,$z(t,182)):B6(this,new Wd(t))},bY(VWt,"Spliterators/DoubleArraySpliterator",693),dOt(1968,1,lXt),EWt.Nb=function(t){p_(this,t);},EWt.qd=function(){return 16448},EWt.rd=function(){return 0},bY(VWt,"Spliterators/EmptySpliterator",1968),dOt(946,1968,lXt,q),EWt.xe=function(t){jh(t);},EWt.Nb=function(t){iD(t,196)?jh($z(t,196)):jh(new Zd(t));},EWt.ye=function(t){return hC(t)},EWt.sd=function(t){return iD(t,196)?hC($z(t,196)):hC(new Vd(t))},bY(VWt,"Spliterators/EmptySpliterator/OfInt",946),dOt(580,52,lZt,Ry),EWt.Vc=function(t,e){Bq(t,this.a.c.length+1),mG(this.a,t,e);},EWt.Fc=function(t){return Kz(this.a,t)},EWt.Wc=function(t,e){return Bq(t,this.a.c.length+1),slt(this.a,t,e)},EWt.Gc=function(t){return pst(this.a,t)},EWt.$b=function(){this.a.c=D8(Ite,zWt,1,0,5,1);},EWt.Hc=function(t){return -1!=x9(this.a,t,0)},EWt.Ic=function(t){return sst(this.a,t)},EWt.Jc=function(t){Met(this.a,t);},EWt.Xb=function(t){return Bq(t,this.a.c.length),DU(this.a,t)},EWt.Xc=function(t){return x9(this.a,t,0)},EWt.dc=function(){return 0==this.a.c.length},EWt.Kc=function(){return new Kd(this.a)},EWt.$c=function(t){return Bq(t,this.a.c.length),s6(this.a,t)},EWt.Ud=function(t,e){c1(this.a,t,e);},EWt._c=function(t,e){return Bq(t,this.a.c.length),i5(this.a,t,e)},EWt.gc=function(){return this.a.c.length},EWt.ad=function(t){wL(this.a,t);},EWt.bd=function(t,e){return new s1(this.a,t,e)},EWt.Pc=function(){return hP(this.a)},EWt.Qc=function(t){return Xbt(this.a,t)},EWt.Ib=function(){return LTt(this.a)},bY(VWt,"Vector",580),dOt(809,580,lZt,om),bY(VWt,"Stack",809),dOt(206,1,{206:1},Oot),EWt.Ib=function(){return K0(this)},bY(VWt,"StringJoiner",206),dOt(544,1992,{3:1,83:1,171:1,161:1},KE,Kq),EWt.$b=function(){wv(this);},EWt.vc=function(){return new DN(this)},EWt.zc=function(t,e){return Ect(this,t,e)},EWt.Bc=function(t){return IQ(this,t)},EWt.gc=function(){return this.c},EWt.c=0,bY(VWt,"TreeMap",544),dOt(390,1,XWt,$R),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return wP(this)},EWt.Ob=function(){return rC(this.a)},EWt.Qb=function(){t$(this);},bY(VWt,"TreeMap/EntryIterator",390),dOt(435,739,tXt,DN),EWt.$b=function(){wv(this.a);},bY(VWt,"TreeMap/EntrySet",435),dOt(436,383,{484:1,383:1,42:1,436:1},F8),EWt.b=!1;var Lne,Dne,Nne,Pne,Bne=bY(VWt,"TreeMap/Node",436);dOt(621,1,{},U),EWt.Ib=function(){return "State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},EWt.a=!1,EWt.b=!1,EWt.c=!1,bY(VWt,"TreeMap/State",621),dOt(297,22,hZt,gC),EWt.Ae=function(){return !1},EWt.Be=function(){return !1};var Rne,jne=Fnt(VWt,"TreeMap/SubMapType",297,qte,V2,c$);dOt(1112,297,hZt,OO),EWt.Be=function(){return !0},Fnt(VWt,"TreeMap/SubMapType/1",1112,jne,null,null),dOt(1113,297,hZt,ML),EWt.Ae=function(){return !0},EWt.Be=function(){return !0},Fnt(VWt,"TreeMap/SubMapType/2",1113,jne,null,null),dOt(1114,297,hZt,LO),EWt.Ae=function(){return !0},Fnt(VWt,"TreeMap/SubMapType/3",1114,jne,null,null),dOt(208,JWt,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},Uy,d_),EWt.Nc=function(){return new fC(this)},EWt.Fc=function(t){return ZK(this,t)},EWt.$b=function(){wv(this.a);},EWt.Hc=function(t){return Nj(this.a,t)},EWt.Kc=function(){return new jd(new $R(new DN(new Rd(this.a).a).b))},EWt.Mc=function(t){return _N(this,t)},EWt.gc=function(){return this.a.c};var $ne=bY(VWt,"TreeSet",208);dOt(966,1,{},ng),EWt.Ce=function(t,e){return NB(this.a,t,e)},bY(fZt,"BinaryOperator/lambda$0$Type",966),dOt(967,1,{},ig),EWt.Ce=function(t,e){return PB(this.a,t,e)},bY(fZt,"BinaryOperator/lambda$1$Type",967),dOt(846,1,{},G),EWt.Kb=function(t){return t},bY(fZt,"Function/lambda$0$Type",846),dOt(431,1,PXt,rg),EWt.Mb=function(t){return !this.a.Mb(t)},bY(fZt,"Predicate/lambda$2$Type",431),dOt(572,1,{572:1});var Fne,zne,Hne=bY(dZt,"Handler",572);dOt(2007,1,RWt),EWt.ne=function(){return "DUMMY"},EWt.Ib=function(){return this.ne()},bY(dZt,"Level",2007),dOt(1621,2007,RWt,K),EWt.ne=function(){return "INFO"},bY(dZt,"Level/LevelInfo",1621),dOt(1640,1,{},By),bY(dZt,"LogManager",1640),dOt(1780,1,RWt,e$),EWt.b=null,bY(dZt,"LogRecord",1780),dOt(512,1,{512:1},y5),EWt.e=!1;var Une,Gne,qne,Kne=!1,Yne=!1,Wne=!1,Xne=!1,Vne=!1;bY(dZt,"Logger",512),dOt(819,572,{572:1},Y),bY(dZt,"SimpleConsoleLogHandler",819),dOt(132,22,{3:1,35:1,22:1,132:1},pC);var Zne,Qne=Fnt(bZt,"Collector/Characteristics",132,qte,p1,u$);dOt(744,1,{},vK),bY(bZt,"CollectorImpl",744),dOt(1060,1,{},W),EWt.Ce=function(t,e){return Mht($z(t,206),$z(e,206))},bY(bZt,"Collectors/10methodref$merge$Type",1060),dOt(1061,1,{},X),EWt.Kb=function(t){return K0($z(t,206))},bY(bZt,"Collectors/11methodref$toString$Type",1061),dOt(1062,1,{},ag),EWt.Kb=function(t){return cN(),!!kI(t)},bY(bZt,"Collectors/12methodref$test$Type",1062),dOt(251,1,{},z),EWt.Od=function(t,e){$z(t,14).Fc(e);},bY(bZt,"Collectors/20methodref$add$Type",251),dOt(253,1,{},H),EWt.Ee=function(){return new Lw},bY(bZt,"Collectors/21methodref$ctor$Type",253),dOt(346,1,{},V),EWt.Ee=function(){return new Py},bY(bZt,"Collectors/23methodref$ctor$Type",346),dOt(347,1,{},Z),EWt.Od=function(t,e){kK($z(t,53),e);},bY(bZt,"Collectors/24methodref$add$Type",347),dOt(1055,1,{},Q),EWt.Ce=function(t,e){return ZE($z(t,15),$z(e,14))},bY(bZt,"Collectors/4methodref$addAll$Type",1055),dOt(1059,1,{},J),EWt.Od=function(t,e){h6($z(t,206),$z(e,475));},bY(bZt,"Collectors/9methodref$add$Type",1059),dOt(1058,1,{},Xz),EWt.Ee=function(){return new Oot(this.a,this.b,this.c)},bY(bZt,"Collectors/lambda$15$Type",1058),dOt(1063,1,{},tt),EWt.Ee=function(){var t;return Zbt(t=new b4,(cN(),!1),new Lw),Zbt(t,!0,new Lw),t},bY(bZt,"Collectors/lambda$22$Type",1063),dOt(1064,1,{},og),EWt.Ee=function(){return Cst(Hx(Ite,1),zWt,1,5,[this.a])},bY(bZt,"Collectors/lambda$25$Type",1064),dOt(1065,1,{},sg),EWt.Od=function(t,e){$U(this.a,ent(t));},bY(bZt,"Collectors/lambda$26$Type",1065),dOt(1066,1,{},cg),EWt.Ce=function(t,e){return Rq(this.a,ent(t),ent(e))},bY(bZt,"Collectors/lambda$27$Type",1066),dOt(1067,1,{},et),EWt.Kb=function(t){return ent(t)[0]},bY(bZt,"Collectors/lambda$28$Type",1067),dOt(713,1,{},nt),EWt.Ce=function(t,e){return FU(t,e)},bY(bZt,"Collectors/lambda$4$Type",713),dOt(252,1,{},it),EWt.Ce=function(t,e){return HE($z(t,14),$z(e,14))},bY(bZt,"Collectors/lambda$42$Type",252),dOt(348,1,{},rt),EWt.Ce=function(t,e){return UE($z(t,53),$z(e,53))},bY(bZt,"Collectors/lambda$50$Type",348),dOt(349,1,{},at),EWt.Kb=function(t){return $z(t,53)},bY(bZt,"Collectors/lambda$51$Type",349),dOt(1054,1,{},ug),EWt.Od=function(t,e){fut(this.a,$z(t,83),e);},bY(bZt,"Collectors/lambda$7$Type",1054),dOt(1056,1,{},ot),EWt.Ce=function(t,e){return bst($z(t,83),$z(e,83),new Q)},bY(bZt,"Collectors/lambda$8$Type",1056),dOt(1057,1,{},lg),EWt.Kb=function(t){return ydt(this.a,$z(t,83))},bY(bZt,"Collectors/lambda$9$Type",1057),dOt(539,1,{}),EWt.He=function(){vW(this);},EWt.d=!1,bY(bZt,"TerminatableStream",539),dOt(812,539,wZt,MB),EWt.He=function(){vW(this);},bY(bZt,"DoubleStreamImpl",812),dOt(1784,721,lXt,Zz),EWt.ye=function(t){return bmt(this,$z(t,182))},EWt.a=null,bY(bZt,"DoubleStreamImpl/2",1784),dOt(1785,1,JVt,hg),EWt.we=function(t){FO(this.a,t);},bY(bZt,"DoubleStreamImpl/2/lambda$0$Type",1785),dOt(1782,1,JVt,fg),EWt.we=function(t){$O(this.a,t);},bY(bZt,"DoubleStreamImpl/lambda$0$Type",1782),dOt(1783,1,JVt,dg),EWt.we=function(t){upt(this.a,t);},bY(bZt,"DoubleStreamImpl/lambda$2$Type",1783),dOt(1358,720,lXt,w5),EWt.ye=function(t){return m2(this,$z(t,196))},EWt.a=0,EWt.b=0,EWt.c=0,bY(bZt,"IntStream/5",1358),dOt(787,539,wZt,IB),EWt.He=function(){vW(this);},EWt.Ie=function(){return xW(this),this.a},bY(bZt,"IntStreamImpl",787),dOt(788,539,wZt,YE),EWt.He=function(){vW(this);},EWt.Ie=function(){return xW(this),SD(),Ine},bY(bZt,"IntStreamImpl/Empty",788),dOt(1463,1,dXt,gg),EWt.ud=function(t){iot(this.a,t);},bY(bZt,"IntStreamImpl/lambda$4$Type",1463);var Jne,tie=hU(bZt,"Stream");dOt(30,539,{525:1,670:1,833:1},PU),EWt.He=function(){vW(this);},bY(bZt,"StreamImpl",30),dOt(845,1,{},st),EWt.ld=function(t){return lH(t)},bY(bZt,"StreamImpl/0methodref$lambda$2$Type",845),dOt(1084,540,lXt,Bj),EWt.sd=function(t){for(;I7(this);){if(this.a.sd(t))return !0;vW(this.b),this.b=null,this.a=null;}return !1},bY(bZt,"StreamImpl/1",1084),dOt(1085,1,hXt,pg),EWt.td=function(t){eH(this.a,$z(t,833));},bY(bZt,"StreamImpl/1/lambda$0$Type",1085),dOt(1086,1,PXt,bg),EWt.Mb=function(t){return kK(this.a,t)},bY(bZt,"StreamImpl/1methodref$add$Type",1086),dOt(1087,540,lXt,bV),EWt.sd=function(t){var e;return this.a||(e=new Lw,this.b.a.Nb(new wg(e)),EV(),wL(e,this.c),this.a=new f1(e,16)),Qtt(this.a,t)},EWt.a=null,bY(bZt,"StreamImpl/5",1087),dOt(1088,1,hXt,wg),EWt.td=function(t){Kz(this.a,t);},bY(bZt,"StreamImpl/5/2methodref$add$Type",1088),dOt(722,540,lXt,W7),EWt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new MC(this,t)););return this.b},EWt.b=!1,bY(bZt,"StreamImpl/FilterSpliterator",722),dOt(1079,1,hXt,MC),EWt.td=function(t){Pq(this.a,this.b,t);},bY(bZt,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),dOt(1075,721,lXt,x6),EWt.ye=function(t){return vj(this,$z(t,182))},bY(bZt,"StreamImpl/MapToDoubleSpliterator",1075),dOt(1078,1,hXt,IC),EWt.td=function(t){vC(this.a,this.b,t);},bY(bZt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),dOt(1074,720,lXt,k6),EWt.ye=function(t){return xj(this,$z(t,196))},bY(bZt,"StreamImpl/MapToIntSpliterator",1074),dOt(1077,1,hXt,OC),EWt.td=function(t){mC(this.a,this.b,t);},bY(bZt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),dOt(719,540,lXt,_6),EWt.sd=function(t){return kj(this,t)},bY(bZt,"StreamImpl/MapToObjSpliterator",719),dOt(1076,1,hXt,LC),EWt.td=function(t){xC(this.a,this.b,t);},bY(bZt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),dOt(618,1,hXt,ct),EWt.td=function(t){Sf(this,t);},bY(bZt,"StreamImpl/ValueConsumer",618),dOt(1080,1,hXt,ut),EWt.td=function(t){dT();},bY(bZt,"StreamImpl/lambda$0$Type",1080),dOt(1081,1,hXt,lt),EWt.td=function(t){dT();},bY(bZt,"StreamImpl/lambda$1$Type",1081),dOt(1082,1,{},yg),EWt.Ce=function(t,e){return j$(this.a,t,e)},bY(bZt,"StreamImpl/lambda$4$Type",1082),dOt(1083,1,hXt,SC),EWt.td=function(t){xR(this.b,this.a,t);},bY(bZt,"StreamImpl/lambda$5$Type",1083),dOt(1089,1,hXt,mg),EWt.td=function(t){zct(this.a,$z(t,365));},bY(bZt,"TerminatableStream/lambda$0$Type",1089),dOt(2041,1,{}),dOt(1914,1,{},ht),bY("javaemul.internal","ConsoleLogger",1914),dOt(2038,1,{});var eie,nie,iie=0,rie=0;dOt(1768,1,hXt,ft),EWt.td=function(t){$z(t,308);},bY(_Zt,"BowyerWatsonTriangulation/lambda$0$Type",1768),dOt(1769,1,hXt,vg),EWt.td=function(t){$rt(this.a,$z(t,308).e);},bY(_Zt,"BowyerWatsonTriangulation/lambda$1$Type",1769),dOt(1770,1,hXt,dt),EWt.td=function(t){$z(t,168);},bY(_Zt,"BowyerWatsonTriangulation/lambda$2$Type",1770),dOt(1765,1,EZt,xg),EWt.ue=function(t,e){return z3(this.a,$z(t,168),$z(e,168))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(_Zt,"NaiveMinST/lambda$0$Type",1765),dOt(499,1,{},kg),bY(_Zt,"NodeMicroLayout",499),dOt(168,1,{168:1},DC),EWt.Fb=function(t){var e;return !!iD(t,168)&&(e=$z(t,168),iX(this.a,e.a)&&iX(this.b,e.b)||iX(this.a,e.b)&&iX(this.b,e.a))},EWt.Hb=function(){return BO(this.a)+BO(this.b)};var aie=bY(_Zt,"TEdge",168);dOt(308,1,{308:1},QFt),EWt.Fb=function(t){var e;return !!iD(t,308)&&B9(this,(e=$z(t,308)).a)&&B9(this,e.b)&&B9(this,e.c)},EWt.Hb=function(){return BO(this.a)+BO(this.b)+BO(this.c)},bY(_Zt,"TTriangle",308),dOt(221,1,{221:1},CL),bY(_Zt,"Tree",221),dOt(1254,1,{},SJ),bY(TZt,"Scanline",1254);var oie=hU(TZt,CZt);dOt(1692,1,{},het),bY(SZt,"CGraph",1692),dOt(307,1,{307:1},iJ),EWt.b=0,EWt.c=0,EWt.d=0,EWt.g=0,EWt.i=0,EWt.k=RVt,bY(SZt,"CGroup",307),dOt(815,1,{},qy),bY(SZt,"CGroup/CGroupBuilder",815),dOt(57,1,{57:1},MR),EWt.Ib=function(){return this.j?EB(this.j.Kb(this)):(xB(hie),hie.o+"@"+(TN(this)>>>0).toString(16))},EWt.f=0,EWt.i=RVt;var sie,cie,uie,lie,hie=bY(SZt,"CNode",57);dOt(814,1,{},Ky),bY(SZt,"CNode/CNodeBuilder",814),dOt(1525,1,{},gt),EWt.Oe=function(t,e){return 0},EWt.Pe=function(t,e){return 0},bY(SZt,MZt,1525),dOt(1790,1,{},pt),EWt.Le=function(t){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=BVt,r=new Kd(t.a.b);r.a<r.c.c.length;)n=$z(Q1(r),57),l=e.Math.min(l,n.a.j.d.c+n.b.a);for(g=new XE,s=new Kd(t.a.a);s.a<s.c.c.length;)(o=$z(Q1(s),307)).k=l,0==o.g&&n5(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=$z(0==g.b?null:(TP(0!=g.b),Iet(g,g.a.a)),307)).j.d.c,d=o.a.a.ec().Kc();d.Ob();)h=$z(d.Pb(),57),b=o.k+h.b.a,!Ult(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==($ht(),jSe)||t.d==BSe?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=$z(f.Pb(),57)).c.Kc();u.Ob();)c=$z(u.Pb(),57),p=dO(t.d)?t.g.Oe(h,c):t.g.Pe(h,c),c.a.k=e.Math.max(c.a.k,h.i+h.d.b+p-c.b.a),iZ(t,c,t.d)&&(c.a.k=e.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,0==c.a.g&&NH(g,c.a);}for(i=new Kd(t.a.b);i.a<i.c.c.length;)(n=$z(Q1(i),57)).d.c=n.i;},bY(SZt,"LongestPathCompaction",1790),dOt(1690,1,{},mIt),EWt.e=!1;var fie,die,gie=bY(SZt,NZt,1690);dOt(1691,1,hXt,_g),EWt.td=function(t){nst(this.a,$z(t,46));},bY(SZt,PZt,1691),dOt(1791,1,{},bt),EWt.Me=function(t){var e,n,i,r,a,o;for(e=new Kd(t.a.b);e.a<e.c.c.length;)$z(Q1(e),57).c.$b();for(i=new Kd(t.a.b);i.a<i.c.c.length;)for(n=$z(Q1(i),57),a=new Kd(t.a.b);a.a<a.c.c.length;)n!=(r=$z(Q1(a),57))&&(n.a&&n.a==r.a||(o=dO(t.d)?t.g.Pe(n,r):t.g.Oe(n,r),(r.d.c>n.d.c||n.d.c==r.d.c&&n.d.b<r.d.b)&&Bpt(r.d.d+r.d.a+o,n.d.d)&&Rpt(r.d.d,n.d.d+n.d.a+o)&&n.c.Fc(r)));},bY(SZt,"QuadraticConstraintCalculation",1791),dOt(522,1,{522:1},Nw),EWt.a=!1,EWt.b=!1,EWt.c=!1,EWt.d=!1,bY(SZt,BZt,522),dOt(803,1,{},PG),EWt.Me=function(t){this.c=t,bAt(this,new mt);},bY(SZt,RZt,803),dOt(1718,1,{679:1},uZ),EWt.Ke=function(t){jSt(this,$z(t,464));},bY(SZt,jZt,1718),dOt(1719,1,EZt,wt),EWt.ue=function(t,e){return aV($z(t,57),$z(e,57))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(SZt,$Zt,1719),dOt(464,1,{464:1},AC),EWt.a=!1,bY(SZt,FZt,464),dOt(1720,1,EZt,yt),EWt.ue=function(t,e){return Zxt($z(t,464),$z(e,464))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(SZt,zZt,1720),dOt(1721,1,HZt,mt),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(SZt,"ScanlineConstraintCalculator/lambda$1$Type",1721),dOt(428,22,{3:1,35:1,22:1,428:1},jC);var pie,bie,wie,yie=Fnt(UZt,"HighLevelSortingCriterion",428,qte,nQ,l$);dOt(427,22,{3:1,35:1,22:1,427:1},$C);var mie,vie,xie,kie,_ie,Eie,Tie,Cie,Sie,Aie,Mie,Iie,Oie,Lie,Die,Nie,Pie,Bie=Fnt(UZt,"LowLevelSortingCriterion",427,qte,iQ,h$),Rie=hU(GZt,"ILayoutMetaDataProvider");dOt(853,1,XZt,Hl),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,qZt),VZt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Cie),(CSt(),gTe)),$ie),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,KZt),VZt),"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."),Eie),gTe),Bie),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,YZt),VZt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),kie),gTe),yie),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,WZt),VZt),"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."),(cN(),!0)),fTe),vee),Jft(cTe))));},bY(UZt,"PolyominoOptions",853),dOt(250,22,{3:1,35:1,22:1,250:1},FC);var jie,$ie=Fnt(UZt,"TraversalStrategy",250,qte,_it,f$);dOt(213,1,{213:1},vt),EWt.Ib=function(){return "NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},EWt.a=1,EWt.b=0,EWt.c=0,EWt.f=!1,EWt.g=0;var Fie=bY(ZZt,"NEdge",213);dOt(176,1,{},Fy),bY(ZZt,"NEdge/NEdgeBuilder",176),dOt(653,1,{},jy),bY(ZZt,"NGraph",653),dOt(121,1,{121:1},m6),EWt.c=-1,EWt.d=0,EWt.e=0,EWt.i=-1,EWt.j=!1;var zie=bY(ZZt,"NNode",121);dOt(795,1,ZVt,$y),EWt.Jc=function(t){t5(this,t);},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.Vc=function(t,e){++this.b,mG(this.a,t,e);},EWt.Fc=function(t){return PN(this,t)},EWt.Wc=function(t,e){return ++this.b,slt(this.a,t,e)},EWt.Gc=function(t){return ++this.b,pst(this.a,t)},EWt.$b=function(){++this.b,this.a.c=D8(Ite,zWt,1,0,5,1);},EWt.Hc=function(t){return -1!=x9(this.a,t,0)},EWt.Ic=function(t){return sst(this.a,t)},EWt.Xb=function(t){return DU(this.a,t)},EWt.Xc=function(t){return x9(this.a,t,0)},EWt.dc=function(){return 0==this.a.c.length},EWt.Kc=function(){return O7(new Kd(this.a))},EWt.Yc=function(){throw Fw(new py)},EWt.Zc=function(t){throw Fw(new py)},EWt.$c=function(t){return ++this.b,s6(this.a,t)},EWt.Mc=function(t){return BN(this,t)},EWt._c=function(t,e){return ++this.b,i5(this.a,t,e)},EWt.gc=function(){return this.a.c.length},EWt.bd=function(t,e){return new s1(this.a,t,e)},EWt.Pc=function(){return hP(this.a)},EWt.Qc=function(t){return Xbt(this.a,t)},EWt.b=0,bY(ZZt,"NNode/ChangeAwareArrayList",795),dOt(269,1,{},zy),bY(ZZt,"NNode/NNodeBuilder",269),dOt(1630,1,{},xt),EWt.a=!1,EWt.f=PWt,EWt.j=0,bY(ZZt,"NetworkSimplex",1630),dOt(1294,1,hXt,Eg),EWt.td=function(t){Hqt(this.a,$z(t,680),!0,!1);},bY(JZt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),dOt(558,1,{},Tg),EWt.b=!0,EWt.c=!0,EWt.d=!0,EWt.e=!0,bY(JZt,"NodeMarginCalculator",558),dOt(212,1,{212:1}),EWt.j=!1,EWt.k=!1;var Hie,Uie,Gie,qie=bY(tQt,"Cell",212);dOt(124,212,{124:1,212:1},jR),EWt.Re=function(){return qH(this)},EWt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},bY(tQt,"AtomicCell",124),dOt(232,22,{3:1,35:1,22:1,232:1},zC);var Kie,Yie=Fnt(tQt,"ContainerArea",232,qte,b1,d$);dOt(326,212,nQt),bY(tQt,"ContainerCell",326),dOt(1473,326,nQt,zgt),EWt.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=Vdt(this,qmt(this,!0)),t>0?t+this.n.d+this.n.a:0},EWt.Se=function(){var t,n,i,r,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=Vdt(this,Mxt(this,null,!0));else for(Pet(),i=0,r=(n=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;i<r;++i)t=n[i],a=e.Math.max(a,Vdt(this,Mxt(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},EWt.Te=function(){var t,e,n,i,r;if(this.g)for(t=Mxt(this,null,!1),Pet(),i=0,r=(n=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;i<r;++i)WPt(this,e=n[i],t);else for(Pet(),i=0,r=(n=Cst(Hx(Yie,1),OXt,232,0,[Hie,Uie,Gie])).length;i<r;++i)WPt(this,e=n[i],t=Mxt(this,e,!1));},EWt.Ue=function(){var t,n,i,r;n=this.i,t=this.n,r=qmt(this,!1),W5(this,(Pet(),Hie),n.d+t.d,r),W5(this,Gie,n.d+n.a-t.a-r[2],r),i=n.a-t.d-t.a,r[0]>0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=e.Math.max(0,i),this.c.d=n.d+t.d+(this.c.a-i)/2,r[1]=e.Math.max(r[1],i),W5(this,Uie,n.d+t.d+r[0]-(r[1]-i)/2,r);},EWt.b=null,EWt.d=0,EWt.e=!1,EWt.f=!1,EWt.g=!1;var Wie,Xie,Vie,Zie=0,Qie=0;bY(tQt,"GridContainerCell",1473),dOt(461,22,{3:1,35:1,22:1,461:1},HC);var Jie,tre=Fnt(tQt,"HorizontalLabelAlignment",461,qte,w1,g$);dOt(306,212,{212:1,306:1},yQ,det,BZ),EWt.Re=function(){return KH(this)},EWt.Se=function(){return YH(this)},EWt.a=0,EWt.c=!1;var ere,nre,ire,rre=bY(tQt,"LabelCell",306);dOt(244,326,{212:1,326:1,244:1},Abt),EWt.Re=function(){return EMt(this)},EWt.Se=function(){return TMt(this)},EWt.Te=function(){jFt(this);},EWt.Ue=function(){UFt(this);},EWt.b=0,EWt.c=0,EWt.d=!1,bY(tQt,"StripContainerCell",244),dOt(1626,1,PXt,kt),EWt.Mb=function(t){return Wv($z(t,212))},bY(tQt,"StripContainerCell/lambda$0$Type",1626),dOt(1627,1,{},_t),EWt.Fe=function(t){return $z(t,212).Se()},bY(tQt,"StripContainerCell/lambda$1$Type",1627),dOt(1628,1,PXt,Et),EWt.Mb=function(t){return Xv($z(t,212))},bY(tQt,"StripContainerCell/lambda$2$Type",1628),dOt(1629,1,{},Tt),EWt.Fe=function(t){return $z(t,212).Re()},bY(tQt,"StripContainerCell/lambda$3$Type",1629),dOt(462,22,{3:1,35:1,22:1,462:1},UC);var are,ore,sre,cre,ure,lre,hre,fre,dre,gre,pre,bre,wre,yre,mre,vre,xre,kre,_re,Ere,Tre,Cre,Sre,Are=Fnt(tQt,"VerticalLabelAlignment",462,qte,y1,p$);dOt(789,1,{},eKt),EWt.c=0,EWt.d=0,EWt.k=0,EWt.s=0,EWt.t=0,EWt.v=!1,EWt.w=0,EWt.D=!1,bY(cQt,"NodeContext",789),dOt(1471,1,EZt,Ct),EWt.ue=function(t,e){return XI($z(t,61),$z(e,61))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(cQt,"NodeContext/0methodref$comparePortSides$Type",1471),dOt(1472,1,EZt,St),EWt.ue=function(t,e){return qEt($z(t,111),$z(e,111))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(cQt,"NodeContext/1methodref$comparePortContexts$Type",1472),dOt(159,22,{3:1,35:1,22:1,159:1},sat);var Mre,Ire,Ore,Lre,Dre,Nre,Pre,Bre=Fnt(cQt,"NodeLabelLocation",159,qte,twt,b$);dOt(111,1,{111:1},EIt),EWt.a=!1,bY(cQt,"PortContext",111),dOt(1476,1,hXt,At),EWt.td=function(t){C_($z(t,306));},bY(hQt,fQt,1476),dOt(1477,1,PXt,Mt),EWt.Mb=function(t){return !!$z(t,111).c},bY(hQt,dQt,1477),dOt(1478,1,hXt,It),EWt.td=function(t){C_($z(t,111).c);},bY(hQt,"LabelPlacer/lambda$2$Type",1478),dOt(1475,1,hXt,Lt),EWt.td=function(t){zB(),Xw($z(t,111));},bY(hQt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),dOt(790,1,hXt,I$),EWt.td=function(t){PT(this.b,this.c,this.a,$z(t,181));},EWt.a=!1,EWt.c=!1,bY(hQt,"NodeLabelCellCreator/lambda$0$Type",790),dOt(1474,1,hXt,Cg),EWt.td=function(t){Sy(this.a,$z(t,181));},bY(hQt,"PortContextCreator/lambda$0$Type",1474),dOt(1829,1,{},Dt),bY(pQt,"GreedyRectangleStripOverlapRemover",1829),dOt(1830,1,EZt,Ot),EWt.ue=function(t,e){return jN($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(pQt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),dOt(1786,1,{},Zy),EWt.a=5,EWt.e=0,bY(pQt,"RectangleStripOverlapRemover",1786),dOt(1787,1,EZt,Pt),EWt.ue=function(t,e){return $N($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(pQt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),dOt(1789,1,EZt,Bt),EWt.ue=function(t,e){return VK($z(t,222),$z(e,222))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(pQt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),dOt(406,22,{3:1,35:1,22:1,406:1},GC);var Rre,jre,$re,Fre,zre,Hre=Fnt(pQt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,qte,X2,w$);dOt(222,1,{222:1},DG),bY(pQt,"RectangleStripOverlapRemover/RectangleNode",222),dOt(1788,1,hXt,Sg),EWt.td=function(t){Smt(this.a,$z(t,222));},bY(pQt,"RectangleStripOverlapRemover/lambda$1$Type",1788),dOt(1304,1,EZt,Rt),EWt.ue=function(t,e){return GHt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),dOt(1307,1,{},jt),EWt.Kb=function(t){return $z(t,324).a},bY(wQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),dOt(1308,1,PXt,$t),EWt.Mb=function(t){return $z(t,323).a},bY(wQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),dOt(1309,1,PXt,Ft),EWt.Mb=function(t){return $z(t,323).a},bY(wQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),dOt(1302,1,EZt,zt),EWt.ue=function(t,e){return YRt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),dOt(1305,1,{},Nt),EWt.Kb=function(t){return $z(t,324).a},bY(wQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),dOt(767,1,EZt,Ht),EWt.ue=function(t,e){return qot($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),dOt(1300,1,EZt,Ut),EWt.ue=function(t,e){return Xit($z(t,321),$z(e,321))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/MinPerimeterComparator",1300),dOt(1301,1,EZt,Gt),EWt.ue=function(t,e){return ayt($z(t,321),$z(e,321))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),dOt(1303,1,EZt,qt),EWt.ue=function(t,e){return Fjt($z(t,167),$z(e,167))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(wQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),dOt(1306,1,{},Kt),EWt.Kb=function(t){return $z(t,324).a},bY(wQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),dOt(777,1,{},NC),EWt.Ce=function(t,e){return A2(this,$z(t,46),$z(e,167))},bY(wQt,"SuccessorCombination",777),dOt(644,1,{},Yt),EWt.Ce=function(t,e){var n;return KMt((n=$z(t,46),$z(e,167),n))},bY(wQt,"SuccessorJitter",644),dOt(643,1,{},Wt),EWt.Ce=function(t,e){var n;return fPt((n=$z(t,46),$z(e,167),n))},bY(wQt,"SuccessorLineByLine",643),dOt(568,1,{},Xt),EWt.Ce=function(t,e){var n;return lLt((n=$z(t,46),$z(e,167),n))},bY(wQt,"SuccessorManhattan",568),dOt(1356,1,{},Vt),EWt.Ce=function(t,e){var n;return xNt((n=$z(t,46),$z(e,167),n))},bY(wQt,"SuccessorMaxNormWindingInMathPosSense",1356),dOt(400,1,{},Ag),EWt.Ce=function(t,e){return $K(this,t,e)},EWt.c=!1,EWt.d=!1,EWt.e=!1,EWt.f=!1,bY(wQt,"SuccessorQuadrantsGeneric",400),dOt(1357,1,{},Zt),EWt.Kb=function(t){return $z(t,324).a},bY(wQt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),dOt(323,22,{3:1,35:1,22:1,323:1},RC),EWt.a=!1;var Ure,Gre=Fnt(kQt,_Qt,323,qte,Q2,y$);dOt(1298,1,{}),EWt.Ib=function(){var t,e,n,i,r,a;for(n=" ",t=nft(0),r=0;r<this.o;r++)n+=""+t.a,t=nft(lR(t.a));for(n+="\n",t=nft(0),a=0;a<this.p;a++){for(n+=""+t.a,t=nft(lR(t.a)),i=0;i<this.o;i++)0==Wlt(e=trt(this,i,a),0)?n+="_":0==Wlt(e,1)?n+="X":n+="0";n+="\n";}return uP(n,0,n.length-1)},EWt.o=0,EWt.p=0,bY(kQt,"TwoBitGrid",1298),dOt(321,1298,{321:1},Hgt),EWt.j=0,EWt.k=0,bY(kQt,"PlanarGrid",321),dOt(167,321,{321:1,167:1}),EWt.g=0,EWt.i=0,bY(kQt,"Polyomino",167);var qre=hU(AQt,MQt);dOt(134,1,IQt,Qt),EWt.Ye=function(t,e){return cct(this,t,e)},EWt.Ve=function(){return HU(this)},EWt.We=function(t){return yTt(this,t)},EWt.Xe=function(t){return OP(this,t)},bY(AQt,"MapPropertyHolder",134),dOt(1299,134,IQt,mPt),bY(kQt,"Polyominoes",1299);var Kre,Yre,Wre,Xre,Vre,Zre,Qre,Jre,tae=!1;dOt(1766,1,hXt,Jt),EWt.td=function(t){oUt($z(t,221));},bY(OQt,"DepthFirstCompaction/0methodref$compactTree$Type",1766),dOt(810,1,hXt,Mg),EWt.td=function(t){BW(this.a,$z(t,221));},bY(OQt,"DepthFirstCompaction/lambda$1$Type",810),dOt(1767,1,hXt,L$),EWt.td=function(t){gbt(this.a,this.b,this.c,$z(t,221));},bY(OQt,"DepthFirstCompaction/lambda$2$Type",1767),dOt(65,1,{65:1},MJ),bY(OQt,"Node",65),dOt(1250,1,{},SL),bY(OQt,"ScanlineOverlapCheck",1250),dOt(1251,1,{679:1},cZ),EWt.Ke=function(t){HB(this,$z(t,440));},bY(OQt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),dOt(1252,1,EZt,te),EWt.ue=function(t,e){return Nft($z(t,65),$z(e,65))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(OQt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),dOt(440,1,{440:1},PC),EWt.a=!1,bY(OQt,"ScanlineOverlapCheck/Timestamp",440),dOt(1253,1,EZt,ee),EWt.ue=function(t,e){return Qxt($z(t,440),$z(e,440))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(OQt,"ScanlineOverlapCheck/lambda$0$Type",1253),dOt(550,1,{},ne),bY(LQt,"SVGImage",550),dOt(324,1,{324:1},D$),EWt.Ib=function(){return "("+this.a+$Wt+this.b+$Wt+this.c+")"},bY(LQt,"UniqueTriple",324),dOt(209,1,DQt),bY(NQt,"AbstractLayoutProvider",209),dOt(1132,209,DQt,ie),EWt.Ze=function(t,e){var n,i,r;MEt(e,PQt,1),this.a=Hv(_B(QOt(t,(kwt(),xae)))),T8(t,hae)&&(i=EB(QOt(t,hae)),(n=KRt(rit(),i))&&$z(sQ(n.f),209).Ze(t,yat(e,1))),r=new s4(this.a),this.b=Bqt(r,t),0===$z(QOt(t,(Uut(),oae)),481).g?(FIt(new re,this.b),Vwt(t,gae,yTt(this.b,gae))):IE(),qqt(r),Vwt(t,dae,this.b),zCt(e);},EWt.a=0,bY(BQt,"DisCoLayoutProvider",1132),dOt(1244,1,{},re),EWt.c=!1,EWt.e=0,EWt.f=0,bY(BQt,"DisCoPolyominoCompactor",1244),dOt(561,1,{561:1},cG),EWt.b=!0,bY(RQt,"DCComponent",561),dOt(394,22,{3:1,35:1,22:1,394:1},BC),EWt.a=!1;var eae,nae,iae=Fnt(RQt,"DCDirection",394,qte,Z2,m$);dOt(266,134,{3:1,266:1,94:1,134:1},kOt),bY(RQt,"DCElement",266),dOt(395,1,{395:1},Amt),EWt.c=0,bY(RQt,"DCExtension",395),dOt(755,134,IQt,Rk),bY(RQt,"DCGraph",755),dOt(481,22,{3:1,35:1,22:1,481:1},SP);var rae,aae,oae,sae,cae,uae,lae,hae,fae,dae,gae,pae,bae,wae,yae,mae,vae,xae,kae,_ae,Eae,Tae=Fnt(jQt,$Qt,481,qte,PX,v$);dOt(854,1,XZt,Fl),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,FQt),GQt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),sae),(CSt(),gTe)),Tae),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,zQt),GQt),"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."),yTe),Xee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,HQt),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),wTe),Ite),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,UQt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),wTe),Ite),Jft(cTe)))),Fzt((new zl,t));},bY(jQt,"DisCoMetaDataProvider",854),dOt(998,1,XZt,zl),EWt.Qe=function(t){Fzt(t);},bY(jQt,"DisCoOptions",998),dOt(999,1,{},ae),EWt.$e=function(){return new ie},EWt._e=function(t){},bY(jQt,"DisCoOptions/DiscoFactory",999),dOt(562,167,{321:1,167:1,562:1},XLt),EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),dOt(1268,1,PXt,oe),EWt.Mb=function(t){return kI(t)},bY(VQt,"ElkGraphComponentsProcessor/lambda$0$Type",1268),dOt(1269,1,{},se),EWt.Kb=function(t){return _V(),CTt($z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$1$Type",1269),dOt(1270,1,PXt,ce),EWt.Mb=function(t){return zH($z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$2$Type",1270),dOt(1271,1,{},ue),EWt.Kb=function(t){return _V(),MTt($z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$3$Type",1271),dOt(1272,1,PXt,le),EWt.Mb=function(t){return HH($z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$4$Type",1272),dOt(1273,1,PXt,Ig),EWt.Mb=function(t){return _Q(this.a,$z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$5$Type",1273),dOt(1274,1,{},Og),EWt.Kb=function(t){return BY(this.a,$z(t,79))},bY(VQt,"ElkGraphComponentsProcessor/lambda$6$Type",1274),dOt(1241,1,{},s4),EWt.a=0,bY(VQt,"ElkGraphTransformer",1241),dOt(1242,1,{},he),EWt.Od=function(t,e){tIt(this,$z(t,160),$z(e,266));},bY(VQt,"ElkGraphTransformer/OffsetApplier",1242),dOt(1243,1,hXt,Lg),EWt.td=function(t){kD(this,$z(t,8));},bY(VQt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),dOt(753,1,{},fe),bY(eJt,nJt,753),dOt(1232,1,EZt,de),EWt.ue=function(t,e){return SMt($z(t,231),$z(e,231))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(eJt,iJt,1232),dOt(740,209,DQt,Hy),EWt.Ze=function(t,e){wDt(this,t,e);},bY(eJt,"ForceLayoutProvider",740),dOt(357,134,{3:1,357:1,94:1,134:1}),bY(rJt,"FParticle",357),dOt(559,357,{3:1,559:1,357:1,94:1,134:1},cY),EWt.Ib=function(){var t;return this.a?(t=x9(this.a.a,this,0))>=0?"b"+t+"["+a5(this.a)+"]":"b["+a5(this.a)+"]":"b_"+TN(this)},bY(rJt,"FBendpoint",559),dOt(282,134,{3:1,282:1,94:1,134:1},SR),EWt.Ib=function(){return a5(this)},bY(rJt,"FEdge",282),dOt(231,134,{3:1,231:1,94:1,134:1},y6);var Cae,Sae,Aae,Mae,Iae,Oae,Lae,Dae,Nae,Pae,Bae=bY(rJt,"FGraph",231);dOt(447,357,{3:1,447:1,357:1,94:1,134:1},w4),EWt.Ib=function(){return null==this.b||0==this.b.length?"l["+a5(this.a)+"]":"l_"+this.b},bY(rJt,"FLabel",447),dOt(144,357,{3:1,144:1,357:1,94:1,134:1},zY),EWt.Ib=function(){return p0(this)},EWt.b=0,bY(rJt,"FNode",144),dOt(2003,1,{}),EWt.bf=function(t){cFt(this,t);},EWt.cf=function(){Hmt(this);},EWt.d=0,bY(oJt,"AbstractForceModel",2003),dOt(631,2003,{631:1},Lot),EWt.af=function(t,n){var i,r,a,o;return tMt(this.f,t,n),a=qR($L(n.d),t.d),o=e.Math.sqrt(a.a*a.a+a.b*a.b),r=e.Math.max(0,o-lW(t.e)/2-lW(n.e)/2),mD(a,((i=Hct(this.e,t,n))>0?-RK(r,this.c)*i:DP(r,this.b)*$z(yTt(t,(lRt(),Zae)),19).a)/o),a},EWt.bf=function(t){cFt(this,t),this.a=$z(yTt(t,(lRt(),zae)),19).a,this.c=Hv(_B(yTt(t,ioe))),this.b=Hv(_B(yTt(t,Jae)));},EWt.df=function(t){return t<this.a},EWt.a=0,EWt.b=0,EWt.c=0,bY(oJt,"EadesModel",631),dOt(632,2003,{632:1},uH),EWt.af=function(t,n){var i,r,a,o,s;return tMt(this.f,t,n),a=qR($L(n.d),t.d),s=e.Math.sqrt(a.a*a.a+a.b*a.b),o=LP(r=e.Math.max(0,s-lW(t.e)/2-lW(n.e)/2),this.a)*$z(yTt(t,(lRt(),Zae)),19).a,(i=Hct(this.e,t,n))>0&&(o-=Ev(r,this.a)*i),mD(a,o*this.b/s),a},EWt.bf=function(t){var n,i,r,a,o,s,c;for(cFt(this,t),this.b=Hv(_B(yTt(t,(lRt(),roe)))),this.c=this.b/$z(yTt(t,zae),19).a,r=t.e.c.length,o=0,a=0,c=new Kd(t.e);c.a<c.c.c.length;)o+=(s=$z(Q1(c),144)).e.a,a+=s.e.b;n=o*a,i=Hv(_B(yTt(t,ioe)))*lQt,this.a=e.Math.sqrt(n/(2*r))*i;},EWt.cf=function(){Hmt(this),this.b-=this.c;},EWt.df=function(t){return this.b>0},EWt.a=0,EWt.b=0,EWt.c=0,bY(oJt,"FruchtermanReingoldModel",632),dOt(849,1,XZt,Ul),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,sJt),""),"Force Model"),"Determines the model for force calculation."),Aae),(CSt(),gTe)),Ioe),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,cJt),""),"Iterations"),"The number of iterations on the force model."),nft(300)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,uJt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),nft(0)),bTe),Iee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,lJt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),hJt),dTe),Cee),Jft(cTe)))),r2(t,lJt,sJt,Dae),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,fJt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),dTe),Cee),Jft(cTe)))),r2(t,fJt,sJt,Iae),bKt((new Gl,t));},bY(dJt,"ForceMetaDataProvider",849),dOt(424,22,{3:1,35:1,22:1,424:1},qC);var Rae,jae,$ae,Fae,zae,Hae,Uae,Gae,qae,Kae,Yae,Wae,Xae,Vae,Zae,Qae,Jae,toe,eoe,noe,ioe,roe,aoe,ooe,soe,coe,uoe,loe,hoe,foe,doe,goe,poe,boe,woe,yoe,moe,voe,xoe,koe,_oe,Eoe,Toe,Coe,Soe,Aoe,Moe,Ioe=Fnt(dJt,"ForceModelStrategy",424,qte,rQ,x$);dOt(988,1,XZt,Gl),EWt.Qe=function(t){bKt(t);},bY(dJt,"ForceOptions",988),dOt(989,1,{},ge),EWt.$e=function(){return new Hy},EWt._e=function(t){},bY(dJt,"ForceOptions/ForceFactory",989),dOt(850,1,XZt,ql),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,DJt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(cN(),!1)),(CSt(),fTe)),vee),Jft((iwt(),sTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,NJt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),dTe),Cee),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[aTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,PJt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),hoe),gTe),Foe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,BJt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),hJt),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,RJt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),nft(PWt)),bTe),Iee),Jft(cTe)))),qGt((new Kl,t));},bY(dJt,"StressMetaDataProvider",850),dOt(992,1,XZt,Kl),EWt.Qe=function(t){qGt(t);},bY(dJt,"StressOptions",992),dOt(993,1,{},pe),EWt.$e=function(){return new AR},EWt._e=function(t){},bY(dJt,"StressOptions/StressFactory",993),dOt(1128,209,DQt,AR),EWt.Ze=function(t,e){var n,i,r,a;for(MEt(e,$Jt,1),zv(kB(QOt(t,(ixt(),moe))))?zv(kB(QOt(t,Toe)))||vQ(new kg((HT(),new Nv(t)))):wDt(new Hy,t,yat(e,1)),i=lct(t),a=(n=zFt(this.a,i)).Kc();a.Ob();)(r=$z(a.Pb(),231)).e.c.length<=1||(zHt(this.b,r),nLt(this.b),Met(r.d,new be));TKt(i=UKt(n)),zCt(e);},bY(zJt,"StressLayoutProvider",1128),dOt(1129,1,hXt,be),EWt.td=function(t){jzt($z(t,447));},bY(zJt,"StressLayoutProvider/lambda$0$Type",1129),dOt(990,1,{},ky),EWt.c=0,EWt.e=0,EWt.g=0,bY(zJt,"StressMajorization",990),dOt(379,22,{3:1,35:1,22:1,379:1},KC);var Ooe,Loe,Doe,Noe,Poe,Boe,Roe,joe,$oe,Foe=Fnt(zJt,"StressMajorization/Dimension",379,qte,v1,k$);dOt(991,1,EZt,Dg),EWt.ue=function(t,e){return Ej(this.a,$z(t,144),$z(e,144))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(zJt,"StressMajorization/lambda$0$Type",991),dOt(1229,1,{},N0),bY(UJt,"ElkLayered",1229),dOt(1230,1,hXt,we),EWt.td=function(t){BMt($z(t,37));},bY(UJt,"ElkLayered/lambda$0$Type",1230),dOt(1231,1,hXt,Ng),EWt.td=function(t){Tj(this.a,$z(t,37));},bY(UJt,"ElkLayered/lambda$1$Type",1231),dOt(1263,1,{},IL),bY(UJt,"GraphConfigurator",1263),dOt(759,1,hXt,Pg),EWt.td=function(t){WTt(this.a,$z(t,10));},bY(UJt,"GraphConfigurator/lambda$0$Type",759),dOt(760,1,{},ye),EWt.Kb=function(t){return tkt(),new PU(null,new f1($z(t,29).a,16))},bY(UJt,"GraphConfigurator/lambda$1$Type",760),dOt(761,1,hXt,Bg),EWt.td=function(t){WTt(this.a,$z(t,10));},bY(UJt,"GraphConfigurator/lambda$2$Type",761),dOt(1127,209,DQt,Gy),EWt.Ze=function(t,e){var n;n=Tzt(new Jy,t),HM(QOt(t,(zYt(),sbe)))===HM((oht(),pAe))?igt(this.a,n,e):dIt(this.a,n,e),pKt(new Wl,n);},bY(UJt,"LayeredLayoutProvider",1127),dOt(356,22,{3:1,35:1,22:1,356:1},YC);var zoe,Hoe,Uoe,Goe=Fnt(UJt,"LayeredPhases",356,qte,s5,_$);dOt(1651,1,{},wit),EWt.i=0,bY(GJt,"ComponentsToCGraphTransformer",1651),dOt(1652,1,{},me),EWt.ef=function(t,n){return e.Math.min(null!=t.a?Hv(t.a):t.c.i,null!=n.a?Hv(n.a):n.c.i)},EWt.ff=function(t,n){return e.Math.min(null!=t.a?Hv(t.a):t.c.i,null!=n.a?Hv(n.a):n.c.i)},bY(GJt,"ComponentsToCGraphTransformer/1",1652),dOt(81,1,{81:1}),EWt.i=0,EWt.k=!0,EWt.o=RVt;var qoe,Koe,Yoe,Woe=bY(qJt,"CNode",81);dOt(460,81,{460:1,81:1},LN,Tbt),EWt.Ib=function(){return ""},bY(GJt,"ComponentsToCGraphTransformer/CRectNode",460),dOt(1623,1,{},ve),bY(GJt,"OneDimensionalComponentsCompaction",1623),dOt(1624,1,{},xe),EWt.Kb=function(t){return DJ($z(t,46))},EWt.Fb=function(t){return this===t},bY(GJt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),dOt(1625,1,{},ke),EWt.Kb=function(t){return kgt($z(t,46))},EWt.Fb=function(t){return this===t},bY(GJt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),dOt(1654,1,{},$Y),bY(qJt,"CGraph",1654),dOt(189,1,{189:1},Cbt),EWt.b=0,EWt.c=0,EWt.e=0,EWt.g=!0,EWt.i=RVt,bY(qJt,"CGroup",189),dOt(1653,1,{},Ce),EWt.ef=function(t,n){return e.Math.max(null!=t.a?Hv(t.a):t.c.i,null!=n.a?Hv(n.a):n.c.i)},EWt.ff=function(t,n){return e.Math.max(null!=t.a?Hv(t.a):t.c.i,null!=n.a?Hv(n.a):n.c.i)},bY(qJt,MZt,1653),dOt(1655,1,{},cIt),EWt.d=!1;var Xoe=bY(qJt,NZt,1655);dOt(1656,1,{},Se),EWt.Kb=function(t){return mT(),cN(),0!=$z($z(t,46).a,81).d.e},EWt.Fb=function(t){return this===t},bY(qJt,PZt,1656),dOt(823,1,{},EU),EWt.a=!1,EWt.b=!1,EWt.c=!1,EWt.d=!1,bY(qJt,BZt,823),dOt(1825,1,{},NG),bY(KJt,RZt,1825);var Voe=hU(YJt,CZt);dOt(1826,1,{369:1},lZ),EWt.Ke=function(t){UPt(this,$z(t,466));},bY(KJt,jZt,1826),dOt(1827,1,EZt,Ae),EWt.ue=function(t,e){return oV($z(t,81),$z(e,81))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(KJt,$Zt,1827),dOt(466,1,{466:1},uS),EWt.a=!1,bY(KJt,FZt,466),dOt(1828,1,EZt,Me),EWt.ue=function(t,e){return Jxt($z(t,466),$z(e,466))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(KJt,zZt,1828),dOt(140,1,{140:1},dS,wH),EWt.Fb=function(t){var e;return null!=t&&ese==tut(t)&&(e=$z(t,140),iX(this.c,e.c)&&iX(this.d,e.d))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.c,this.d]))},EWt.Ib=function(){return "("+this.c+$Wt+this.d+(this.a?"cx":"")+this.b+")"},EWt.a=!0,EWt.c=0,EWt.d=0;var Zoe,Qoe,Joe,tse,ese=bY(YJt,"Point",140);dOt(405,22,{3:1,35:1,22:1,405:1},WC);var nse,ise,rse,ase,ose,sse,cse,use,lse,hse,fse,dse=Fnt(YJt,"Point/Quadrant",405,qte,J2,E$);dOt(1642,1,{},Yy),EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,EWt.f=null,bY(YJt,"RectilinearConvexHull",1642),dOt(574,1,{369:1},_wt),EWt.Ke=function(t){R7(this,$z(t,140));},EWt.b=0,bY(YJt,"RectilinearConvexHull/MaximalElementsEventHandler",574),dOt(1644,1,EZt,Ee),EWt.ue=function(t,e){return NX(_B(t),_B(e))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),dOt(1643,1,{369:1},uet),EWt.Ke=function(t){CNt(this,$z(t,140));},EWt.a=0,EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,bY(YJt,"RectilinearConvexHull/RectangleEventHandler",1643),dOt(1645,1,EZt,Te),EWt.ue=function(t,e){return a0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/lambda$0$Type",1645),dOt(1646,1,EZt,_e),EWt.ue=function(t,e){return o0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/lambda$1$Type",1646),dOt(1647,1,EZt,Ie),EWt.ue=function(t,e){return c0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/lambda$2$Type",1647),dOt(1648,1,EZt,Oe),EWt.ue=function(t,e){return s0($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/lambda$3$Type",1648),dOt(1649,1,EZt,Le),EWt.ue=function(t,e){return xTt($z(t,140),$z(e,140))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(YJt,"RectilinearConvexHull/lambda$4$Type",1649),dOt(1650,1,{},AJ),bY(YJt,"Scanline",1650),dOt(2005,1,{}),bY(WJt,"AbstractGraphPlacer",2005),dOt(325,1,{325:1},qP),EWt.mf=function(t){return !!this.nf(t)&&(ZMt(this.b,$z(yTt(t,(uWt(),qhe)),21),t),!0)},EWt.nf=function(t){var e,n,i;for(e=$z(yTt(t,(uWt(),qhe)),21),i=$z(c6(use,e),21).Kc();i.Ob();)if(n=$z(i.Pb(),21),!$z(c6(this.b,n),15).dc())return !1;return !0},bY(WJt,"ComponentGroup",325),dOt(765,2005,{},Wy),EWt.of=function(t){var e;for(e=new Kd(this.a);e.a<e.c.c.length;)if($z(Q1(e),325).mf(t))return;Kz(this.a,new qP(t));},EWt.lf=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(this.a.c=D8(Ite,zWt,1,0,5,1),e.a.c=D8(Ite,zWt,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(Hot(e,o=$z(t.Xb(0),37)),r=t.Kc();r.Ob();)i=$z(r.Pb(),37),this.of(i);for(g=new Hk,a=Hv(_B(yTt(o,(zYt(),wwe)))),u=new Kd(this.a);u.a<u.c.c.length;)l=_Yt(s=$z(Q1(u),325),a),f7(kY(s.b),g.a,g.b),g.a+=l.a,g.b+=l.b;if(e.f.a=g.a-a,e.f.b=g.b-a,zv(kB(yTt(o,_pe)))&&HM(yTt(o,Zpe))===HM((Edt(),WSe))){for(d=t.Kc();d.Ob();)QRt(h=$z(d.Pb(),37),h.c.a,h.c.b);for(RYt(n=new De,t,a),f=t.Kc();f.Ob();)GR(mI((h=$z(f.Pb(),37)).c),n.e);GR(mI(e.f),n.a);}for(c=new Kd(this.a);c.a<c.c.c.length;)d7(e,kY((s=$z(Q1(c),325)).b));},bY(WJt,"ComponentGroupGraphPlacer",765),dOt(1293,765,{},cm),EWt.of=function(t){bht(this,t);},EWt.lf=function(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(this.a.c=D8(Ite,zWt,1,0,5,1),n.a.c=D8(Ite,zWt,1,0,5,1),t.dc())return n.f.a=0,void(n.f.b=0);for(Hot(n,o=$z(t.Xb(0),37)),r=t.Kc();r.Ob();)bht(this,$z(r.Pb(),37));for(y=new Hk,w=new Hk,p=new Hk,g=new Hk,a=Hv(_B(yTt(o,(zYt(),wwe)))),u=new Kd(this.a);u.a<u.c.c.length;){if(s=$z(Q1(u),325),dO($z(yTt(n,(cWt(),hCe)),103))){for(p.a=y.a,b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),sMe))){p.a=w.a;break}}else if(gO($z(yTt(n,hCe),103)))for(p.b=y.b,b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),CMe))){p.b=w.b;break}if(l=_Yt($z(s,570),a),f7(kY(s.b),p.a,p.b),dO($z(yTt(n,hCe),103))){for(w.a=p.a+l.a,g.a=e.Math.max(g.a,w.a),b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),EMe))){y.a=p.a+l.a;break}w.b=p.b+l.b,p.b=w.b,g.b=e.Math.max(g.b,p.b);}else if(gO($z(yTt(n,hCe),103))){for(w.b=p.b+l.b,g.b=e.Math.max(g.b,w.b),b=new lv(_Y(mY(s.b).a).a.kc());b.b.Ob();)if($z(iC(b.b.Pb()),21).Hc((vKt(),oMe))){y.b=p.b+l.b;break}w.a=p.a+l.a,p.a=w.a,g.a=e.Math.max(g.a,p.a);}}if(n.f.a=g.a-a,n.f.b=g.b-a,zv(kB(yTt(o,_pe)))&&HM(yTt(o,Zpe))===HM((Edt(),WSe))){for(d=t.Kc();d.Ob();)QRt(h=$z(d.Pb(),37),h.c.a,h.c.b);for(RYt(i=new De,t,a),f=t.Kc();f.Ob();)GR(mI((h=$z(f.Pb(),37)).c),i.e);GR(mI(n.f),i.a);}for(c=new Kd(this.a);c.a<c.c.c.length;)d7(n,kY((s=$z(Q1(c),325)).b));},bY(WJt,"ComponentGroupModelOrderGraphPlacer",1293),dOt(423,22,{3:1,35:1,22:1,423:1},XC);var gse,pse,bse,wse=Fnt(WJt,"ComponentOrderingStrategy",423,qte,m1,T$);dOt(650,1,{},De),bY(WJt,"ComponentsCompactor",650),dOt(1468,12,XVt,b5),EWt.Fc=function(t){return Vkt(this,$z(t,140))},bY(WJt,"ComponentsCompactor/Hullpoints",1468),dOt(1465,1,{841:1},uyt),EWt.a=!1,bY(WJt,"ComponentsCompactor/InternalComponent",1465),dOt(1464,1,bXt,Xy),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new Kd(this.a)},bY(WJt,"ComponentsCompactor/InternalConnectedComponents",1464),dOt(1467,1,{594:1},gIt),EWt.hf=function(){return null},EWt.jf=function(){return this.a},EWt.gf=function(){return owt(this.d)},EWt.kf=function(){return this.b},bY(WJt,"ComponentsCompactor/InternalExternalExtension",1467),dOt(1466,1,{594:1},Qy),EWt.jf=function(){return this.a},EWt.gf=function(){return owt(this.d)},EWt.hf=function(){return this.c},EWt.kf=function(){return this.b},bY(WJt,"ComponentsCompactor/InternalUnionExternalExtension",1466),dOt(1470,1,{},XPt),bY(WJt,"ComponentsCompactor/OuterSegments",1470),dOt(1469,1,{},Vy),bY(WJt,"ComponentsCompactor/Segments",1469),dOt(1264,1,{},hZ),bY(WJt,nJt,1264),dOt(1265,1,EZt,Ne),EWt.ue=function(t,e){return h0($z(t,37),$z(e,37))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(WJt,"ComponentsProcessor/lambda$0$Type",1265),dOt(570,325,{325:1,570:1},p5),EWt.mf=function(t){return gut(this,t)},EWt.nf=function(t){return fNt(this,t)},bY(WJt,"ModelOrderComponentGroup",570),dOt(1291,2005,{},Pe),EWt.lf=function(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;if(1!=t.gc()){if(t.dc())return n.a.c=D8(Ite,zWt,1,0,5,1),n.f.a=0,void(n.f.b=0);if(HM(yTt(n,(zYt(),Cpe)))===HM((Fht(),fse))){for(u=t.Kc();u.Ob();){for(w=0,p=new Kd((s=$z(u.Pb(),37)).a);p.a<p.c.c.length;)g=$z(Q1(p),10),w+=$z(yTt(g,cwe),19).a;s.p=w;}EV(),t.ad(new Be);}for(o=$z(t.Xb(0),37),n.a.c=D8(Ite,zWt,1,0,5,1),Hot(n,o),d=0,v=0,l=t.Kc();l.Ob();)y=(s=$z(l.Pb(),37)).f,d=e.Math.max(d,y.a),v+=y.a*y.b;for(d=e.Math.max(d,e.Math.sqrt(v)*Hv(_B(yTt(n,xpe)))),x=0,k=0,f=0,i=a=Hv(_B(yTt(n,wwe))),c=t.Kc();c.Ob();)x+(y=(s=$z(c.Pb(),37)).f).a>d&&(x=0,k+=f+a,f=0),QRt(s,x+(b=s.c).a,k+b.b),mI(b),i=e.Math.max(i,x+y.a),f=e.Math.max(f,y.b),x+=y.a+a;if(n.f.a=i,n.f.b=k+f,zv(kB(yTt(o,_pe)))){for(RYt(r=new De,t,a),h=t.Kc();h.Ob();)GR(mI($z(h.Pb(),37).c),r.e);GR(mI(n.f),r.a);}d7(n,t);}else (m=$z(t.Xb(0),37))!=n&&(n.a.c=D8(Ite,zWt,1,0,5,1),Ojt(n,m,0,0),Hot(n,m),mV(n.d,m.d),n.f.a=m.f.a,n.f.b=m.f.b);},bY(WJt,"SimpleRowGraphPlacer",1291),dOt(1292,1,EZt,Be),EWt.ue=function(t,e){return Got($z(t,37),$z(e,37))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(WJt,"SimpleRowGraphPlacer/1",1292),dOt(1262,1,HZt,Re),EWt.Lb=function(t){var e;return !!(e=$z(yTt($z(t,243).b,(zYt(),bbe)),74))&&0!=e.b},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){var e;return !!(e=$z(yTt($z(t,243).b,(zYt(),bbe)),74))&&0!=e.b},bY(QJt,"CompoundGraphPostprocessor/1",1262),dOt(1261,1,JJt,tm),EWt.pf=function(t,e){yyt(this,$z(t,37),e);},bY(QJt,"CompoundGraphPreprocessor",1261),dOt(441,1,{441:1},Ght),EWt.c=!1,bY(QJt,"CompoundGraphPreprocessor/ExternalPort",441),dOt(243,1,{243:1},O$),EWt.Ib=function(){return dP(this.c)+":"+MMt(this.b)},bY(QJt,"CrossHierarchyEdge",243),dOt(763,1,EZt,Rg),EWt.ue=function(t,e){return Wvt(this,$z(t,243),$z(e,243))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(QJt,"CrossHierarchyEdgeComparator",763),dOt(299,134,{3:1,299:1,94:1,134:1}),EWt.p=0,bY(t1t,"LGraphElement",299),dOt(17,299,{3:1,17:1,299:1,94:1,134:1},fZ),EWt.Ib=function(){return MMt(this)};var yse=bY(t1t,"LEdge",17);dOt(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},yit),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new Kd(this.b)},EWt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+LTt(this.a):0==this.a.c.length?"G-layered"+LTt(this.b):"G[layerless"+LTt(this.a)+", layers"+LTt(this.b)+"]"};var mse,vse=bY(t1t,"LGraph",37);dOt(657,1,{}),EWt.qf=function(){return this.e.n},EWt.We=function(t){return yTt(this.e,t)},EWt.rf=function(){return this.e.o},EWt.sf=function(){return this.e.p},EWt.Xe=function(t){return OP(this.e,t)},EWt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b;},EWt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b;},EWt.vf=function(t){this.e.p=t;},bY(t1t,"LGraphAdapters/AbstractLShapeAdapter",657),dOt(577,1,{839:1},jg),EWt.wf=function(){var t,e;if(!this.b)for(this.b=sP(this.a.b.c.length),e=new Kd(this.a.b);e.a<e.c.c.length;)t=$z(Q1(e),70),Kz(this.b,new $g(t));return this.b},EWt.b=null,bY(t1t,"LGraphAdapters/LEdgeAdapter",577),dOt(656,1,{},FX),EWt.xf=function(){var t,e,n,i,r;if(!this.b)for(this.b=new Lw,n=new Kd(this.a.b);n.a<n.c.c.length;)for(r=new Kd($z(Q1(n),29).a);r.a<r.c.c.length;)if(i=$z(Q1(r),10),this.c.Mb(i)&&(Kz(this.b,new R$(this,i,this.e)),this.d)){if(OP(i,(uWt(),Bfe)))for(e=$z(yTt(i,Bfe),15).Kc();e.Ob();)t=$z(e.Pb(),10),Kz(this.b,new R$(this,t,!1));if(OP(i,Nhe))for(e=$z(yTt(i,Nhe),15).Kc();e.Ob();)t=$z(e.Pb(),10),Kz(this.b,new R$(this,t,!1));}return this.b},EWt.qf=function(){throw Fw(new Jv(n1t))},EWt.We=function(t){return yTt(this.a,t)},EWt.rf=function(){return this.a.f},EWt.sf=function(){return this.a.p},EWt.Xe=function(t){return OP(this.a,t)},EWt.tf=function(t){throw Fw(new Jv(n1t))},EWt.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b;},EWt.vf=function(t){this.a.p=t;},EWt.b=null,EWt.d=!1,EWt.e=!1,bY(t1t,"LGraphAdapters/LGraphAdapter",656),dOt(576,657,{181:1},$g),bY(t1t,"LGraphAdapters/LLabelAdapter",576),dOt(575,657,{680:1},R$),EWt.yf=function(){return this.b},EWt.zf=function(){return EV(),EV(),cne},EWt.wf=function(){var t,e;if(!this.a)for(this.a=sP($z(this.e,10).b.c.length),e=new Kd($z(this.e,10).b);e.a<e.c.c.length;)t=$z(Q1(e),70),Kz(this.a,new $g(t));return this.a},EWt.Af=function(){var t;return new FR((t=$z(this.e,10).d).d,t.c,t.a,t.b)},EWt.Bf=function(){return EV(),EV(),cne},EWt.Cf=function(){var t,e;if(!this.c)for(this.c=sP($z(this.e,10).j.c.length),e=new Kd($z(this.e,10).j);e.a<e.c.c.length;)t=$z(Q1(e),11),Kz(this.c,new gS(t,this.d));return this.c},EWt.Df=function(){return zv(kB(yTt($z(this.e,10),(uWt(),Rhe))))},EWt.Ef=function(t){$z(this.e,10).d.b=t.b,$z(this.e,10).d.d=t.d,$z(this.e,10).d.c=t.c,$z(this.e,10).d.a=t.a;},EWt.Ff=function(t){$z(this.e,10).f.b=t.b,$z(this.e,10).f.d=t.d,$z(this.e,10).f.c=t.c,$z(this.e,10).f.a=t.a;},EWt.Gf=function(){Det(this,(gT(),mse));},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=!1,bY(t1t,"LGraphAdapters/LNodeAdapter",575),dOt(1722,657,{838:1},gS),EWt.zf=function(){var t,e,n,i;if(this.d&&$z(this.e,11).i.k==(oCt(),Sse))return EV(),EV(),cne;if(!this.a){for(this.a=new Lw,n=new Kd($z(this.e,11).e);n.a<n.c.c.length;)t=$z(Q1(n),17),Kz(this.a,new jg(t));if(this.d&&(i=$z(yTt($z(this.e,11),(uWt(),xfe)),10)))for(e=new oq(ZD(ldt(i).a.Kc(),new l));gOt(e);)t=$z(G5(e),17),Kz(this.a,new jg(t));}return this.a},EWt.wf=function(){var t,e;if(!this.b)for(this.b=sP($z(this.e,11).f.c.length),e=new Kd($z(this.e,11).f);e.a<e.c.c.length;)t=$z(Q1(e),70),Kz(this.b,new $g(t));return this.b},EWt.Bf=function(){var t,e,n,i;if(this.d&&$z(this.e,11).i.k==(oCt(),Sse))return EV(),EV(),cne;if(!this.c){for(this.c=new Lw,n=new Kd($z(this.e,11).g);n.a<n.c.c.length;)t=$z(Q1(n),17),Kz(this.c,new jg(t));if(this.d&&(i=$z(yTt($z(this.e,11),(uWt(),xfe)),10)))for(e=new oq(ZD(hdt(i).a.Kc(),new l));gOt(e);)t=$z(G5(e),17),Kz(this.c,new jg(t));}return this.c},EWt.Hf=function(){return $z(this.e,11).j},EWt.If=function(){return zv(kB(yTt($z(this.e,11),(uWt(),tfe))))},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=!1,bY(t1t,"LGraphAdapters/LPortAdapter",1722),dOt(1723,1,EZt,je),EWt.ue=function(t,e){return YBt($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(t1t,"LGraphAdapters/PortComparator",1723),dOt(804,1,PXt,$e),EWt.Mb=function(t){return $z(t,10),gT(),!0},bY(t1t,"LGraphAdapters/lambda$0$Type",804),dOt(392,299,{3:1,299:1,392:1,94:1,134:1}),bY(t1t,"LShape",392),dOt(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},zk,AL),EWt.Ib=function(){var t;return null==(t=XH(this))?"label":"l_"+t},bY(t1t,"LLabel",70),dOt(207,1,{3:1,4:1,207:1,414:1}),EWt.Fb=function(t){var e;return !!iD(t,207)&&(e=$z(t,207),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},EWt.Hb=function(){var t,e;return t=YI(this.b)<<16,t|=YI(this.a)&XXt,e=YI(this.c)<<16,t^(e|=YI(this.d)&XXt)},EWt.Jf=function(t){var e,n,i,r,a,o,s,c,u;for(r=0;r<t.length&&Plt((h1(r,t.length),t.charCodeAt(r)),s1t);)++r;for(e=t.length;e>0&&Plt((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(r<e){c=vjt(t.substr(r,e-r),",|;");try{for(o=0,s=(a=c).length;o<s;++o){if(2!=(i=vjt(a[o],"=")).length)throw Fw(new Rv("Expecting a list of key-value pairs."));n=BTt(i[0]),u=fCt(BTt(i[1])),wj(n,"top")?this.d=u:wj(n,"left")?this.b=u:wj(n,"bottom")?this.a=u:wj(n,"right")&&(this.c=u);}}catch(t){throw iD(t=hst(t),127)?Fw(new Rv(u1t+t)):Fw(t)}}},EWt.Ib=function(){return "[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY(l1t,"Spacing",207),dOt(142,207,h1t,lm,lO,FR,M$);var xse=bY(l1t,"ElkMargin",142);dOt(651,142,h1t,um),bY(t1t,"LMargin",651),dOt(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},Oyt),EWt.Ib=function(){return Owt(this)},EWt.i=!1;var kse,_se,Ese,Tse,Cse,Sse,Ase=bY(t1t,"LNode",10);dOt(267,22,{3:1,35:1,22:1,267:1},VC);var Mse,Ise=Fnt(t1t,"LNode/NodeType",267,qte,a7,S$);dOt(116,207,f1t,hm,KO,A$);var Ose,Lse,Dse,Nse,Pse,Bse,Rse=bY(l1t,"ElkPadding",116);dOt(764,116,f1t,fm),bY(t1t,"LPadding",764),dOt(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},SCt),EWt.Ib=function(){var t,e,n;return oI(((t=new Cx).a+="p_",t),bvt(this)),this.i&&oI(aI((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&$z(DU(this.e,0),17).c!=this&&(e=$z(DU(this.e,0),17).c,oI((t.a+=" << ",t),bvt(e)),oI(aI((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&$z(DU(this.g,0),17).d!=this&&(n=$z(DU(this.g,0),17).d,oI((t.a+=" >> ",t),bvt(n)),oI(aI((t.a+="[",t),n.i),"]")),t.a},EWt.c=!0,EWt.d=!1;var jse,$se,Fse,zse,Hse=bY(t1t,"LPort",11);dOt(397,1,bXt,Fg),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new zg(new Kd(this.a.e))},bY(t1t,"LPort/1",397),dOt(1290,1,XWt,zg),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return $z(Q1(this.a),17).c},EWt.Ob=function(){return yL(this.a)},EWt.Qb=function(){MK(this.a);},bY(t1t,"LPort/1/1",1290),dOt(359,1,bXt,Hg),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new Ug(new Kd(this.a.g))},bY(t1t,"LPort/2",359),dOt(762,1,XWt,Ug),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return $z(Q1(this.a),17).d},EWt.Ob=function(){return yL(this.a)},EWt.Qb=function(){MK(this.a);},bY(t1t,"LPort/2/1",762),dOt(1283,1,bXt,cS),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new w6(this)},bY(t1t,"LPort/CombineIter",1283),dOt(201,1,XWt,w6),EWt.Nb=function(t){uK(this,t);},EWt.Qb=function(){a_();},EWt.Ob=function(){return UN(this)},EWt.Pb=function(){return yL(this.a)?Q1(this.a):Q1(this.b)},bY(t1t,"LPort/CombineIter/1",201),dOt(1285,1,HZt,Fe),EWt.Lb=function(t){return Mq(t)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),0!=$z(t,11).e.c.length},bY(t1t,"LPort/lambda$0$Type",1285),dOt(1284,1,HZt,ze),EWt.Lb=function(t){return Iq(t)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),0!=$z(t,11).g.c.length},bY(t1t,"LPort/lambda$1$Type",1284),dOt(1286,1,HZt,He),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),sMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),sMe)},bY(t1t,"LPort/lambda$2$Type",1286),dOt(1287,1,HZt,Ue),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),oMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),oMe)},bY(t1t,"LPort/lambda$3$Type",1287),dOt(1288,1,HZt,Ge),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),EMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),EMe)},bY(t1t,"LPort/lambda$4$Type",1288),dOt(1289,1,HZt,qe),EWt.Lb=function(t){return pat(),$z(t,11).j==(vKt(),CMe)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return pat(),$z(t,11).j==(vKt(),CMe)},bY(t1t,"LPort/lambda$5$Type",1289),dOt(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},FY),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new Kd(this.a)},EWt.Ib=function(){return "L_"+x9(this.b.b,this,0)+LTt(this.a)},bY(t1t,"Layer",29),dOt(1342,1,{},Jy),bY(g1t,p1t,1342),dOt(1346,1,{},Ke),EWt.Kb=function(t){return CEt($z(t,82))},bY(g1t,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),dOt(1349,1,{},Ye),EWt.Kb=function(t){return CEt($z(t,82))},bY(g1t,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),dOt(1343,1,hXt,Gg),EWt.td=function(t){CIt(this.a,$z(t,118));},bY(g1t,b1t,1343),dOt(1344,1,hXt,qg),EWt.td=function(t){CIt(this.a,$z(t,118));},bY(g1t,w1t,1344),dOt(1345,1,{},We),EWt.Kb=function(t){return new PU(null,new f1(pX($z(t,79)),16))},bY(g1t,y1t,1345),dOt(1347,1,PXt,Kg),EWt.Mb=function(t){return RO(this.a,$z(t,33))},bY(g1t,m1t,1347),dOt(1348,1,{},Xe),EWt.Kb=function(t){return new PU(null,new f1(bX($z(t,79)),16))},bY(g1t,"ElkGraphImporter/lambda$5$Type",1348),dOt(1350,1,PXt,Yg),EWt.Mb=function(t){return jO(this.a,$z(t,33))},bY(g1t,"ElkGraphImporter/lambda$7$Type",1350),dOt(1351,1,PXt,Ve),EWt.Mb=function(t){return MV($z(t,79))},bY(g1t,"ElkGraphImporter/lambda$8$Type",1351),dOt(1278,1,{},Wl),bY(g1t,"ElkGraphLayoutTransferrer",1278),dOt(1279,1,PXt,Wg),EWt.Mb=function(t){return VR(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),dOt(1280,1,hXt,Xg),EWt.td=function(t){wT(),Kz(this.a,$z(t,17));},bY(g1t,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),dOt(1281,1,PXt,Vg),EWt.Mb=function(t){return GB(this.a,$z(t,17))},bY(g1t,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),dOt(1282,1,hXt,Zg),EWt.td=function(t){wT(),Kz(this.a,$z(t,17));},bY(g1t,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),dOt(1485,1,JJt,Ze),EWt.pf=function(t,e){Wrt($z(t,37),e);},bY(x1t,"CommentNodeMarginCalculator",1485),dOt(1486,1,{},Qe),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"CommentNodeMarginCalculator/lambda$0$Type",1486),dOt(1487,1,hXt,Je),EWt.td=function(t){tHt($z(t,10));},bY(x1t,"CommentNodeMarginCalculator/lambda$1$Type",1487),dOt(1488,1,JJt,tn),EWt.pf=function(t,e){aBt($z(t,37),e);},bY(x1t,"CommentPostprocessor",1488),dOt(1489,1,JJt,en),EWt.pf=function(t,e){oKt($z(t,37),e);},bY(x1t,"CommentPreprocessor",1489),dOt(1490,1,JJt,nn),EWt.pf=function(t,e){xDt($z(t,37),e);},bY(x1t,"ConstraintsPostprocessor",1490),dOt(1491,1,JJt,rn),EWt.pf=function(t,e){rot($z(t,37),e);},bY(x1t,"EdgeAndLayerConstraintEdgeReverser",1491),dOt(1492,1,JJt,an),EWt.pf=function(t,e){Ugt($z(t,37),e);},bY(x1t,"EndLabelPostprocessor",1492),dOt(1493,1,{},on),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelPostprocessor/lambda$0$Type",1493),dOt(1494,1,PXt,sn),EWt.Mb=function(t){return _Z($z(t,10))},bY(x1t,"EndLabelPostprocessor/lambda$1$Type",1494),dOt(1495,1,hXt,cn),EWt.td=function(t){ekt($z(t,10));},bY(x1t,"EndLabelPostprocessor/lambda$2$Type",1495),dOt(1496,1,JJt,un),EWt.pf=function(t,e){QSt($z(t,37),e);},bY(x1t,"EndLabelPreprocessor",1496),dOt(1497,1,{},ln),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelPreprocessor/lambda$0$Type",1497),dOt(1498,1,hXt,N$),EWt.td=function(t){BT(this.a,this.b,this.c,$z(t,10));},EWt.a=0,EWt.b=0,EWt.c=!1,bY(x1t,"EndLabelPreprocessor/lambda$1$Type",1498),dOt(1499,1,PXt,hn),EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),qSe))},bY(x1t,"EndLabelPreprocessor/lambda$2$Type",1499),dOt(1500,1,hXt,Qg),EWt.td=function(t){NH(this.a,$z(t,70));},bY(x1t,"EndLabelPreprocessor/lambda$3$Type",1500),dOt(1501,1,PXt,fn),EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),GSe))},bY(x1t,"EndLabelPreprocessor/lambda$4$Type",1501),dOt(1502,1,hXt,Jg),EWt.td=function(t){NH(this.a,$z(t,70));},bY(x1t,"EndLabelPreprocessor/lambda$5$Type",1502),dOt(1551,1,JJt,Yl),EWt.pf=function(t,e){Sft($z(t,37),e);},bY(x1t,"EndLabelSorter",1551),dOt(1552,1,EZt,dn),EWt.ue=function(t,e){return zbt($z(t,456),$z(e,456))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"EndLabelSorter/1",1552),dOt(456,1,{456:1},kV),bY(x1t,"EndLabelSorter/LabelGroup",456),dOt(1553,1,{},gn),EWt.Kb=function(t){return xT(),new PU(null,new f1($z(t,29).a,16))},bY(x1t,"EndLabelSorter/lambda$0$Type",1553),dOt(1554,1,PXt,pn),EWt.Mb=function(t){return xT(),$z(t,10).k==(oCt(),Cse)},bY(x1t,"EndLabelSorter/lambda$1$Type",1554),dOt(1555,1,hXt,bn),EWt.td=function(t){sCt($z(t,10));},bY(x1t,"EndLabelSorter/lambda$2$Type",1555),dOt(1556,1,PXt,wn),EWt.Mb=function(t){return xT(),HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),GSe))},bY(x1t,"EndLabelSorter/lambda$3$Type",1556),dOt(1557,1,PXt,yn),EWt.Mb=function(t){return xT(),HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),qSe))},bY(x1t,"EndLabelSorter/lambda$4$Type",1557),dOt(1503,1,JJt,mn),EWt.pf=function(t,e){AHt(this,$z(t,37));},EWt.b=0,EWt.c=0,bY(x1t,"FinalSplineBendpointsCalculator",1503),dOt(1504,1,{},vn),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),dOt(1505,1,{},xn),EWt.Kb=function(t){return new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),dOt(1506,1,PXt,kn),EWt.Mb=function(t){return !h5($z(t,17))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),dOt(1507,1,PXt,_n),EWt.Mb=function(t){return OP($z(t,17),(uWt(),Lfe))},bY(x1t,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),dOt(1508,1,hXt,tp),EWt.td=function(t){Gjt(this.a,$z(t,128));},bY(x1t,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),dOt(1509,1,hXt,En),EWt.td=function(t){ZSt($z(t,17).a);},bY(x1t,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),dOt(792,1,JJt,ep),EWt.pf=function(t,e){WUt(this,$z(t,37),e);},bY(x1t,"GraphTransformer",792),dOt(511,22,{3:1,35:1,22:1,511:1},ZC);var Use,Gse,qse,Kse=Fnt(x1t,"GraphTransformer/Mode",511,qte,aQ,JF);dOt(1510,1,JJt,Tn),EWt.pf=function(t,e){ePt($z(t,37),e);},bY(x1t,"HierarchicalNodeResizingProcessor",1510),dOt(1511,1,JJt,Cn),EWt.pf=function(t,e){hrt($z(t,37),e);},bY(x1t,"HierarchicalPortConstraintProcessor",1511),dOt(1512,1,EZt,Sn),EWt.ue=function(t,e){return Awt($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"HierarchicalPortConstraintProcessor/NodeComparator",1512),dOt(1513,1,JJt,An),EWt.pf=function(t,e){xzt($z(t,37),e);},bY(x1t,"HierarchicalPortDummySizeProcessor",1513),dOt(1514,1,JJt,Mn),EWt.pf=function(t,e){ZBt(this,$z(t,37),e);},EWt.a=0,bY(x1t,"HierarchicalPortOrthogonalEdgeRouter",1514),dOt(1515,1,EZt,In),EWt.ue=function(t,e){return RN($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"HierarchicalPortOrthogonalEdgeRouter/1",1515),dOt(1516,1,EZt,On),EWt.ue=function(t,e){return T7($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"HierarchicalPortOrthogonalEdgeRouter/2",1516),dOt(1517,1,JJt,Ln),EWt.pf=function(t,e){kTt($z(t,37),e);},bY(x1t,"HierarchicalPortPositionProcessor",1517),dOt(1518,1,JJt,Xl),EWt.pf=function(t,e){iYt(this,$z(t,37));},EWt.a=0,EWt.c=0,bY(x1t,"HighDegreeNodeLayeringProcessor",1518),dOt(571,1,{571:1},Dn),EWt.b=-1,EWt.d=-1,bY(x1t,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),dOt(1519,1,{},Nn),EWt.Kb=function(t){return z$(),ldt($z(t,10))},EWt.Fb=function(t){return this===t},bY(x1t,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),dOt(1520,1,{},Pn),EWt.Kb=function(t){return z$(),hdt($z(t,10))},EWt.Fb=function(t){return this===t},bY(x1t,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),dOt(1526,1,JJt,Bn),EWt.pf=function(t,e){gFt(this,$z(t,37),e);},bY(x1t,"HyperedgeDummyMerger",1526),dOt(793,1,{},P$),EWt.a=!1,EWt.b=!1,EWt.c=!1,bY(x1t,"HyperedgeDummyMerger/MergeState",793),dOt(1527,1,{},Rn),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"HyperedgeDummyMerger/lambda$0$Type",1527),dOt(1528,1,{},jn),EWt.Kb=function(t){return new PU(null,new f1($z(t,10).j,16))},bY(x1t,"HyperedgeDummyMerger/lambda$1$Type",1528),dOt(1529,1,hXt,$n),EWt.td=function(t){$z(t,11).p=-1;},bY(x1t,"HyperedgeDummyMerger/lambda$2$Type",1529),dOt(1530,1,JJt,Fn),EWt.pf=function(t,e){fFt($z(t,37),e);},bY(x1t,"HypernodesProcessor",1530),dOt(1531,1,JJt,zn),EWt.pf=function(t,e){dFt($z(t,37),e);},bY(x1t,"InLayerConstraintProcessor",1531),dOt(1532,1,JJt,Hn),EWt.pf=function(t,e){Lat($z(t,37),e);},bY(x1t,"InnermostNodeMarginCalculator",1532),dOt(1533,1,JJt,Un),EWt.pf=function(t,e){Wqt(this,$z(t,37));},EWt.a=RVt,EWt.b=RVt,EWt.c=BVt,EWt.d=BVt;var Yse,Wse,Xse,Vse,Zse,Qse,Jse,tce,ece,nce,ice,rce,ace,oce,sce,cce,uce,lce,hce,fce,dce,gce,pce,bce,wce,yce,mce,vce,xce,kce,_ce,Ece,Tce,Cce,Sce,Ace,Mce,Ice,Oce,Lce,Dce,Nce,Pce,Bce,Rce,jce,$ce,Fce,zce,Hce,Uce,Gce,qce,Kce,Yce,Wce,Xce,Vce=bY(x1t,"InteractiveExternalPortPositioner",1533);dOt(1534,1,{},Gn),EWt.Kb=function(t){return $z(t,17).d.i},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$0$Type",1534),dOt(1535,1,{},np),EWt.Kb=function(t){return zN(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$1$Type",1535),dOt(1536,1,{},qn),EWt.Kb=function(t){return $z(t,17).c.i},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$2$Type",1536),dOt(1537,1,{},ip),EWt.Kb=function(t){return HN(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$3$Type",1537),dOt(1538,1,{},rp),EWt.Kb=function(t){return KR(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$4$Type",1538),dOt(1539,1,{},ap),EWt.Kb=function(t){return YR(this.a,_B(t))},EWt.Fb=function(t){return this===t},bY(x1t,"InteractiveExternalPortPositioner/lambda$5$Type",1539),dOt(77,22,{3:1,35:1,22:1,77:1,234:1},QC),EWt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ba;case 47:return new ma;case 28:case 35:return new ni;case 32:return new Ze;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new ep((Trt(),zse));case 0:return new ep((Trt(),Fse));case 2:return new rn;case 54:return new an;case 33:return new un;case 51:return new mn;case 55:return new Tn;case 13:return new Cn;case 38:return new An;case 44:return new Mn;case 40:return new Ln;case 9:return new Xl;case 49:return new oP;case 37:return new Bn;case 43:return new Fn;case 27:return new zn;case 30:return new Hn;case 3:return new Un;case 18:return new Yn;case 29:return new Wn;case 5:return new Vl;case 50:return new Kn;case 34:return new Zl;case 36:return new ii;case 52:return new Yl;case 11:return new ai;case 7:return new Jl;case 39:return new oi;case 45:return new si;case 16:return new ci;case 10:return new ui;case 48:return new hi;case 21:return new fi;case 23:return new Lv((sit(),Mme));case 8:return new gi;case 12:return new bi;case 4:return new wi;case 19:return new ih;case 17:return new Si;case 53:return new Ai;case 6:return new zi;case 25:return new rm;case 46:return new Ni;case 31:return new DR;case 14:return new Xi;case 26:return new Ca;case 20:return new tr;case 24:return new Lv((sit(),Ime));default:throw Fw(new Rv(E1t+(null!=this.f?this.f:""+this.g)))}};var Zce,Qce,Jce,tue,eue,nue,iue,rue,aue=Fnt(x1t,T1t,77,qte,kNt,QF);dOt(1540,1,JJt,Yn),EWt.pf=function(t,e){Zqt($z(t,37),e);},bY(x1t,"InvertedPortProcessor",1540),dOt(1541,1,JJt,Wn),EWt.pf=function(t,e){Ljt($z(t,37),e);},bY(x1t,"LabelAndNodeSizeProcessor",1541),dOt(1542,1,PXt,Xn),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Cse)},bY(x1t,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),dOt(1543,1,PXt,Vn),EWt.Mb=function(t){return $z(t,10).k==(oCt(),_se)},bY(x1t,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),dOt(1544,1,hXt,B$),EWt.td=function(t){RT(this.b,this.a,this.c,$z(t,10));},EWt.a=!1,EWt.c=!1,bY(x1t,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),dOt(1545,1,JJt,Vl),EWt.pf=function(t,e){lqt($z(t,37),e);},bY(x1t,"LabelDummyInserter",1545),dOt(1546,1,HZt,Zn),EWt.Lb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),USe))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return HM(yTt($z(t,70),(zYt(),Xpe)))===HM((Bet(),USe))},bY(x1t,"LabelDummyInserter/1",1546),dOt(1547,1,JJt,Kn),EWt.pf=function(t,e){CUt($z(t,37),e);},bY(x1t,"LabelDummyRemover",1547),dOt(1548,1,PXt,Qn),EWt.Mb=function(t){return zv(kB(yTt($z(t,70),(zYt(),Wpe))))},bY(x1t,"LabelDummyRemover/lambda$0$Type",1548),dOt(1359,1,JJt,Zl),EWt.pf=function(t,e){_Gt(this,$z(t,37),e);},EWt.a=null,bY(x1t,"LabelDummySwitcher",1359),dOt(286,1,{286:1},rjt),EWt.c=0,EWt.d=null,EWt.f=0,bY(x1t,"LabelDummySwitcher/LabelDummyInfo",286),dOt(1360,1,{},Jn),EWt.Kb=function(t){return Art(),new PU(null,new f1($z(t,29).a,16))},bY(x1t,"LabelDummySwitcher/lambda$0$Type",1360),dOt(1361,1,PXt,ti),EWt.Mb=function(t){return Art(),$z(t,10).k==(oCt(),Ese)},bY(x1t,"LabelDummySwitcher/lambda$1$Type",1361),dOt(1362,1,{},cp),EWt.Kb=function(t){return qB(this.a,$z(t,10))},bY(x1t,"LabelDummySwitcher/lambda$2$Type",1362),dOt(1363,1,hXt,up),EWt.td=function(t){XY(this.a,$z(t,286));},bY(x1t,"LabelDummySwitcher/lambda$3$Type",1363),dOt(1364,1,EZt,ei),EWt.ue=function(t,e){return Oq($z(t,286),$z(e,286))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"LabelDummySwitcher/lambda$4$Type",1364),dOt(791,1,JJt,ni),EWt.pf=function(t,e){X6($z(t,37),e);},bY(x1t,"LabelManagementProcessor",791),dOt(1549,1,JJt,ii),EWt.pf=function(t,e){DPt($z(t,37),e);},bY(x1t,"LabelSideSelector",1549),dOt(1550,1,PXt,ri),EWt.Mb=function(t){return zv(kB(yTt($z(t,70),(zYt(),Wpe))))},bY(x1t,"LabelSideSelector/lambda$0$Type",1550),dOt(1558,1,JJt,ai),EWt.pf=function(t,e){kzt($z(t,37),e);},bY(x1t,"LayerConstraintPostprocessor",1558),dOt(1559,1,JJt,Jl),EWt.pf=function(t,e){iLt($z(t,37),e);},bY(x1t,"LayerConstraintPreprocessor",1559),dOt(360,22,{3:1,35:1,22:1,360:1},JC);var oue,sue,cue,uue,lue,hue,fue,due,gue,pue=Fnt(x1t,"LayerConstraintPreprocessor/HiddenNodeConnections",360,qte,t3,U$);dOt(1560,1,JJt,oi),EWt.pf=function(t,e){kUt($z(t,37),e);},bY(x1t,"LayerSizeAndGraphHeightCalculator",1560),dOt(1561,1,JJt,si),EWt.pf=function(t,e){IDt($z(t,37),e);},bY(x1t,"LongEdgeJoiner",1561),dOt(1562,1,JJt,ci),EWt.pf=function(t,e){YHt($z(t,37),e);},bY(x1t,"LongEdgeSplitter",1562),dOt(1563,1,JJt,ui),EWt.pf=function(t,e){CGt(this,$z(t,37),e);},EWt.d=0,EWt.e=0,EWt.i=0,EWt.j=0,EWt.k=0,EWt.n=0,bY(x1t,"NodePromotion",1563),dOt(1564,1,{},li),EWt.Kb=function(t){return $z(t,46),cN(),!0},EWt.Fb=function(t){return this===t},bY(x1t,"NodePromotion/lambda$0$Type",1564),dOt(1565,1,{},op),EWt.Kb=function(t){return rX(this.a,$z(t,46))},EWt.Fb=function(t){return this===t},EWt.a=0,bY(x1t,"NodePromotion/lambda$1$Type",1565),dOt(1566,1,{},sp),EWt.Kb=function(t){return aX(this.a,$z(t,46))},EWt.Fb=function(t){return this===t},EWt.a=0,bY(x1t,"NodePromotion/lambda$2$Type",1566),dOt(1567,1,JJt,hi),EWt.pf=function(t,e){KKt($z(t,37),e);},bY(x1t,"NorthSouthPortPostprocessor",1567),dOt(1568,1,JJt,fi),EWt.pf=function(t,e){EKt($z(t,37),e);},bY(x1t,"NorthSouthPortPreprocessor",1568),dOt(1569,1,EZt,di),EWt.ue=function(t,e){return Qot($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"NorthSouthPortPreprocessor/lambda$0$Type",1569),dOt(1570,1,JJt,gi),EWt.pf=function(t,e){O$t($z(t,37),e);},bY(x1t,"PartitionMidprocessor",1570),dOt(1571,1,PXt,pi),EWt.Mb=function(t){return OP($z(t,10),(zYt(),Kbe))},bY(x1t,"PartitionMidprocessor/lambda$0$Type",1571),dOt(1572,1,hXt,lp),EWt.td=function(t){IV(this.a,$z(t,10));},bY(x1t,"PartitionMidprocessor/lambda$1$Type",1572),dOt(1573,1,JJt,bi),EWt.pf=function(t,e){dNt($z(t,37),e);},bY(x1t,"PartitionPostprocessor",1573),dOt(1574,1,JJt,wi),EWt.pf=function(t,e){DIt($z(t,37),e);},bY(x1t,"PartitionPreprocessor",1574),dOt(1575,1,PXt,yi),EWt.Mb=function(t){return OP($z(t,10),(zYt(),Kbe))},bY(x1t,"PartitionPreprocessor/lambda$0$Type",1575),dOt(1576,1,{},mi),EWt.Kb=function(t){return new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(x1t,"PartitionPreprocessor/lambda$1$Type",1576),dOt(1577,1,PXt,vi),EWt.Mb=function(t){return Lbt($z(t,17))},bY(x1t,"PartitionPreprocessor/lambda$2$Type",1577),dOt(1578,1,hXt,xi),EWt.td=function(t){Bst($z(t,17));},bY(x1t,"PartitionPreprocessor/lambda$3$Type",1578),dOt(1579,1,JJt,ih),EWt.pf=function(t,e){o$t($z(t,37),e);},bY(x1t,"PortListSorter",1579),dOt(1580,1,{},ki),EWt.Kb=function(t){return Gut(),$z(t,11).e},bY(x1t,"PortListSorter/lambda$0$Type",1580),dOt(1581,1,{},_i),EWt.Kb=function(t){return Gut(),$z(t,11).g},bY(x1t,"PortListSorter/lambda$1$Type",1581),dOt(1582,1,EZt,Ei),EWt.ue=function(t,e){return k4($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"PortListSorter/lambda$2$Type",1582),dOt(1583,1,EZt,Ti),EWt.ue=function(t,e){return Mvt($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"PortListSorter/lambda$3$Type",1583),dOt(1584,1,EZt,Ci),EWt.ue=function(t,e){return J$t($z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"PortListSorter/lambda$4$Type",1584),dOt(1585,1,JJt,Si),EWt.pf=function(t,e){YOt($z(t,37),e);},bY(x1t,"PortSideProcessor",1585),dOt(1586,1,JJt,Ai),EWt.pf=function(t,e){ARt($z(t,37),e);},bY(x1t,"ReversedEdgeRestorer",1586),dOt(1591,1,JJt,rm),EWt.pf=function(t,e){Vmt(this,$z(t,37),e);},bY(x1t,"SelfLoopPortRestorer",1591),dOt(1592,1,{},Mi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopPortRestorer/lambda$0$Type",1592),dOt(1593,1,PXt,Ii),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Cse)},bY(x1t,"SelfLoopPortRestorer/lambda$1$Type",1593),dOt(1594,1,PXt,Oi),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopPortRestorer/lambda$2$Type",1594),dOt(1595,1,{},Li),EWt.Kb=function(t){return $z(yTt($z(t,10),(uWt(),Afe)),403)},bY(x1t,"SelfLoopPortRestorer/lambda$3$Type",1595),dOt(1596,1,hXt,hp),EWt.td=function(t){TCt(this.a,$z(t,403));},bY(x1t,"SelfLoopPortRestorer/lambda$4$Type",1596),dOt(794,1,hXt,Di),EWt.td=function(t){JCt($z(t,101));},bY(x1t,"SelfLoopPortRestorer/lambda$5$Type",794),dOt(1597,1,JJt,Ni),EWt.pf=function(t,e){Lwt($z(t,37),e);},bY(x1t,"SelfLoopPostProcessor",1597),dOt(1598,1,{},Pi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopPostProcessor/lambda$0$Type",1598),dOt(1599,1,PXt,Bi),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Cse)},bY(x1t,"SelfLoopPostProcessor/lambda$1$Type",1599),dOt(1600,1,PXt,Ri),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopPostProcessor/lambda$2$Type",1600),dOt(1601,1,hXt,ji),EWt.td=function(t){Lkt($z(t,10));},bY(x1t,"SelfLoopPostProcessor/lambda$3$Type",1601),dOt(1602,1,{},$i),EWt.Kb=function(t){return new PU(null,new f1($z(t,101).f,1))},bY(x1t,"SelfLoopPostProcessor/lambda$4$Type",1602),dOt(1603,1,hXt,fp),EWt.td=function(t){r3(this.a,$z(t,409));},bY(x1t,"SelfLoopPostProcessor/lambda$5$Type",1603),dOt(1604,1,PXt,Fi),EWt.Mb=function(t){return !!$z(t,101).i},bY(x1t,"SelfLoopPostProcessor/lambda$6$Type",1604),dOt(1605,1,hXt,dp),EWt.td=function(t){kv(this.a,$z(t,101));},bY(x1t,"SelfLoopPostProcessor/lambda$7$Type",1605),dOt(1587,1,JJt,zi),EWt.pf=function(t,e){QLt($z(t,37),e);},bY(x1t,"SelfLoopPreProcessor",1587),dOt(1588,1,{},Hi),EWt.Kb=function(t){return new PU(null,new f1($z(t,101).f,1))},bY(x1t,"SelfLoopPreProcessor/lambda$0$Type",1588),dOt(1589,1,{},Ui),EWt.Kb=function(t){return $z(t,409).a},bY(x1t,"SelfLoopPreProcessor/lambda$1$Type",1589),dOt(1590,1,hXt,Gi),EWt.td=function(t){zL($z(t,17));},bY(x1t,"SelfLoopPreProcessor/lambda$2$Type",1590),dOt(1606,1,JJt,DR),EWt.pf=function(t,e){cCt(this,$z(t,37),e);},bY(x1t,"SelfLoopRouter",1606),dOt(1607,1,{},qi),EWt.Kb=function(t){return new PU(null,new f1($z(t,29).a,16))},bY(x1t,"SelfLoopRouter/lambda$0$Type",1607),dOt(1608,1,PXt,Ki),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Cse)},bY(x1t,"SelfLoopRouter/lambda$1$Type",1608),dOt(1609,1,PXt,Yi),EWt.Mb=function(t){return OP($z(t,10),(uWt(),Afe))},bY(x1t,"SelfLoopRouter/lambda$2$Type",1609),dOt(1610,1,{},Wi),EWt.Kb=function(t){return $z(yTt($z(t,10),(uWt(),Afe)),403)},bY(x1t,"SelfLoopRouter/lambda$3$Type",1610),dOt(1611,1,hXt,tS),EWt.td=function(t){WX(this.a,this.b,$z(t,403));},bY(x1t,"SelfLoopRouter/lambda$4$Type",1611),dOt(1612,1,JJt,Xi),EWt.pf=function(t,e){lPt($z(t,37),e);},bY(x1t,"SemiInteractiveCrossMinProcessor",1612),dOt(1613,1,PXt,Vi),EWt.Mb=function(t){return $z(t,10).k==(oCt(),Cse)},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),dOt(1614,1,PXt,Zi),EWt.Mb=function(t){return HU($z(t,10))._b((zYt(),swe))},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),dOt(1615,1,EZt,Qi),EWt.ue=function(t,e){return grt($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),dOt(1616,1,{},Ji),EWt.Ce=function(t,e){return qV($z(t,10),$z(e,10))},bY(x1t,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),dOt(1618,1,JJt,tr),EWt.pf=function(t,e){Ezt($z(t,37),e);},bY(x1t,"SortByInputModelProcessor",1618),dOt(1619,1,PXt,er),EWt.Mb=function(t){return 0!=$z(t,11).g.c.length},bY(x1t,"SortByInputModelProcessor/lambda$0$Type",1619),dOt(1620,1,hXt,gp),EWt.td=function(t){lSt(this.a,$z(t,11));},bY(x1t,"SortByInputModelProcessor/lambda$1$Type",1620),dOt(1693,803,{},prt),EWt.Me=function(t){var e,n,i,r;switch(this.c=t,this.a.g){case 2:e=new Lw,VE(MX(new PU(null,new f1(this.c.a.b,16)),new pr),new aS(this,e)),bAt(this,new rr),Met(e,new ar),e.c=D8(Ite,zWt,1,0,5,1),VE(MX(new PU(null,new f1(this.c.a.b,16)),new or),new bp(e)),bAt(this,new sr),Met(e,new cr),e.c=D8(Ite,zWt,1,0,5,1),n=vL(nat(OX(new PU(null,new f1(this.c.a.b,16)),new wp(this))),new ur),VE(new PU(null,new f1(this.c.a.a,16)),new nS(n,e)),bAt(this,new hr),Met(e,new nr),e.c=D8(Ite,zWt,1,0,5,1);break;case 3:i=new Lw,bAt(this,new ir),r=vL(nat(OX(new PU(null,new f1(this.c.a.b,16)),new pp(this))),new lr),VE(MX(new PU(null,new f1(this.c.a.b,16)),new fr),new rS(r,i)),bAt(this,new dr),Met(i,new gr),i.c=D8(Ite,zWt,1,0,5,1);break;default:throw Fw(new my)}},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation",1693),dOt(1694,1,HZt,ir),EWt.Lb=function(t){return iD($z(t,57).g,145)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iD($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),dOt(1695,1,{},pp),EWt.Fe=function(t){return UAt(this.a,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),dOt(1703,1,BXt,eS),EWt.Vd=function(){$xt(this.a,this.b,-1);},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),dOt(1705,1,HZt,rr),EWt.Lb=function(t){return iD($z(t,57).g,145)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iD($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),dOt(1706,1,hXt,ar),EWt.td=function(t){$z(t,365).Vd();},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),dOt(1707,1,PXt,or),EWt.Mb=function(t){return iD($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),dOt(1709,1,hXt,bp),EWt.td=function(t){kdt(this.a,$z(t,57));},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),dOt(1708,1,BXt,lS),EWt.Vd=function(){$xt(this.b,this.a,-1);},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),dOt(1710,1,HZt,sr),EWt.Lb=function(t){return iD($z(t,57).g,10)},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return iD($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),dOt(1711,1,hXt,cr),EWt.td=function(t){$z(t,365).Vd();},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),dOt(1712,1,{},wp),EWt.Fe=function(t){return GAt(this.a,$z(t,57))},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),dOt(1713,1,{},ur),EWt.De=function(){return 0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),dOt(1696,1,{},lr),EWt.De=function(){return 0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),dOt(1715,1,hXt,nS),EWt.td=function(t){FG(this.a,this.b,$z(t,307));},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),dOt(1714,1,BXt,iS),EWt.Vd=function(){WOt(this.a,this.b,-1);},EWt.b=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),dOt(1716,1,HZt,hr),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),dOt(1717,1,hXt,nr),EWt.td=function(t){$z(t,365).Vd();},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),dOt(1697,1,PXt,fr),EWt.Mb=function(t){return iD($z(t,57).g,10)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),dOt(1699,1,hXt,rS),EWt.td=function(t){zG(this.a,this.b,$z(t,57));},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),dOt(1698,1,BXt,hS),EWt.Vd=function(){$xt(this.b,this.a,-1);},EWt.a=0,bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),dOt(1700,1,HZt,dr),EWt.Lb=function(t){return $z(t,57),!0},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return $z(t,57),!0},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),dOt(1701,1,hXt,gr),EWt.td=function(t){$z(t,365).Vd();},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),dOt(1702,1,PXt,pr),EWt.Mb=function(t){return iD($z(t,57).g,145)},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),dOt(1704,1,hXt,aS),EWt.td=function(t){_et(this.a,this.b,$z(t,57));},bY(I1t,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),dOt(1521,1,JJt,oP),EWt.pf=function(t,e){rUt(this,$z(t,37),e);},bY(I1t,"HorizontalGraphCompactor",1521),dOt(1522,1,{},yp),EWt.Oe=function(t,e){var n,i;return Z9(t,e)?0:(n=u2(t),i=u2(e),n&&n.k==(oCt(),_se)||i&&i.k==(oCt(),_se)?0:GN($z(yTt(this.a.a,(uWt(),Mfe)),304),n?n.k:(oCt(),Tse),i?i.k:(oCt(),Tse)))},EWt.Pe=function(t,e){var n,i;return Z9(t,e)?1:(n=u2(t),i=u2(e),qN($z(yTt(this.a.a,(uWt(),Mfe)),304),n?n.k:(oCt(),Tse),i?i.k:(oCt(),Tse)))},bY(I1t,"HorizontalGraphCompactor/1",1522),dOt(1523,1,{},br),EWt.Ne=function(t,e){return _T(),0==t.a.i},bY(I1t,"HorizontalGraphCompactor/lambda$0$Type",1523),dOt(1524,1,{},mp),EWt.Ne=function(t,e){return RV(this.a,t,e)},bY(I1t,"HorizontalGraphCompactor/lambda$1$Type",1524),dOt(1664,1,{},S9),bY(I1t,"LGraphToCGraphTransformer",1664),dOt(1672,1,PXt,wr),EWt.Mb=function(t){return null!=t},bY(I1t,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),dOt(1665,1,{},yr),EWt.Kb=function(t){return H$(),Fdt(yTt($z($z(t,57).g,10),(uWt(),dfe)))},bY(I1t,"LGraphToCGraphTransformer/lambda$0$Type",1665),dOt(1666,1,{},mr),EWt.Kb=function(t){return H$(),yht($z($z(t,57).g,145))},bY(I1t,"LGraphToCGraphTransformer/lambda$1$Type",1666),dOt(1675,1,PXt,vr),EWt.Mb=function(t){return H$(),iD($z(t,57).g,10)},bY(I1t,"LGraphToCGraphTransformer/lambda$10$Type",1675),dOt(1676,1,hXt,xr),EWt.td=function(t){BV($z(t,57));},bY(I1t,"LGraphToCGraphTransformer/lambda$11$Type",1676),dOt(1677,1,PXt,kr),EWt.Mb=function(t){return H$(),iD($z(t,57).g,145)},bY(I1t,"LGraphToCGraphTransformer/lambda$12$Type",1677),dOt(1681,1,hXt,_r),EWt.td=function(t){wht($z(t,57));},bY(I1t,"LGraphToCGraphTransformer/lambda$13$Type",1681),dOt(1678,1,hXt,vp),EWt.td=function(t){aO(this.a,$z(t,8));},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$14$Type",1678),dOt(1679,1,hXt,xp),EWt.td=function(t){sO(this.a,$z(t,110));},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$15$Type",1679),dOt(1680,1,hXt,kp),EWt.td=function(t){oO(this.a,$z(t,8));},EWt.a=0,bY(I1t,"LGraphToCGraphTransformer/lambda$16$Type",1680),dOt(1682,1,{},Er),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$17$Type",1682),dOt(1683,1,PXt,Tr),EWt.Mb=function(t){return H$(),h5($z(t,17))},bY(I1t,"LGraphToCGraphTransformer/lambda$18$Type",1683),dOt(1684,1,hXt,_p),EWt.td=function(t){Ett(this.a,$z(t,17));},bY(I1t,"LGraphToCGraphTransformer/lambda$19$Type",1684),dOt(1668,1,hXt,Ep),EWt.td=function(t){l0(this.a,$z(t,145));},bY(I1t,"LGraphToCGraphTransformer/lambda$2$Type",1668),dOt(1685,1,{},Cr),EWt.Kb=function(t){return H$(),new PU(null,new f1($z(t,29).a,16))},bY(I1t,"LGraphToCGraphTransformer/lambda$20$Type",1685),dOt(1686,1,{},Sr),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$21$Type",1686),dOt(1687,1,{},Ar),EWt.Kb=function(t){return H$(),$z(yTt($z(t,17),(uWt(),Lfe)),15)},bY(I1t,"LGraphToCGraphTransformer/lambda$22$Type",1687),dOt(1688,1,PXt,Mr),EWt.Mb=function(t){return JN($z(t,15))},bY(I1t,"LGraphToCGraphTransformer/lambda$23$Type",1688),dOt(1689,1,hXt,Tp),EWt.td=function(t){CAt(this.a,$z(t,15));},bY(I1t,"LGraphToCGraphTransformer/lambda$24$Type",1689),dOt(1667,1,hXt,oS),EWt.td=function(t){F3(this.a,this.b,$z(t,145));},bY(I1t,"LGraphToCGraphTransformer/lambda$3$Type",1667),dOt(1669,1,{},Ir),EWt.Kb=function(t){return H$(),new PU(null,new f1($z(t,29).a,16))},bY(I1t,"LGraphToCGraphTransformer/lambda$4$Type",1669),dOt(1670,1,{},Or),EWt.Kb=function(t){return H$(),new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(I1t,"LGraphToCGraphTransformer/lambda$5$Type",1670),dOt(1671,1,{},Lr),EWt.Kb=function(t){return H$(),$z(yTt($z(t,17),(uWt(),Lfe)),15)},bY(I1t,"LGraphToCGraphTransformer/lambda$6$Type",1671),dOt(1673,1,hXt,Cp),EWt.td=function(t){RMt(this.a,$z(t,15));},bY(I1t,"LGraphToCGraphTransformer/lambda$8$Type",1673),dOt(1674,1,hXt,sS),EWt.td=function(t){DL(this.a,this.b,$z(t,145));},bY(I1t,"LGraphToCGraphTransformer/lambda$9$Type",1674),dOt(1663,1,{},Dr),EWt.Le=function(t){var e,n,i,r,a;for(this.a=t,this.d=new jy,this.c=D8(zie,zWt,121,this.a.a.a.c.length,0,1),this.b=0,n=new Kd(this.a.a.a);n.a<n.c.c.length;)(e=$z(Q1(n),307)).d=this.b,a=MN(oT(new zy,e),this.d),this.c[this.b]=a,++this.b;for(ZGt(this),IKt(this),QDt(this),Yjt($$(this.d),new qm),r=new Kd(this.a.a.b);r.a<r.c.c.length;)(i=$z(Q1(r),57)).d.c=this.c[i.a.d].e+i.b.a;},EWt.b=0,bY(I1t,"NetworkSimplexCompaction",1663),dOt(145,1,{35:1,145:1},Czt),EWt.wd=function(t){return Ott(this,$z(t,145))},EWt.Ib=function(){return yht(this)},bY(I1t,"VerticalSegment",145),dOt(827,1,{},G_t),EWt.c=0,EWt.e=0,EWt.i=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),dOt(663,1,{663:1},vat),EWt.Ib=function(){return "AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},EWt.b=0,EWt.c=0,EWt.f=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),dOt(287,1,{35:1,287:1},HP),EWt.wd=function(t){return rU(this,$z(t,287))},EWt.Ib=function(){return "Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},EWt.a=0,EWt.b=0,EWt.c=0,bY(O1t,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),dOt(1929,1,{},QCt),EWt.b=0,EWt.e=!1,bY(O1t,"CrossingMatrixFiller",1929);var bue,wue,yue,mue,vue=hU(L1t,"IInitializable");dOt(1804,1,D1t,bS),EWt.Nf=function(t,e,n,i,r,a){},EWt.Pf=function(t,e,n){},EWt.Lf=function(){return this.c!=(sit(),Mme)},EWt.Mf=function(){this.e=D8(ANe,uVt,25,this.d,15,1);},EWt.Of=function(t,e){e[t][0].c.p=t;},EWt.Qf=function(t,e,n,i){++this.d;},EWt.Rf=function(){return !0},EWt.Sf=function(t,e,n,i){return Vlt(this,t,e,n),Z4(this,e)},EWt.Tf=function(t,e){var n;return Vlt(this,t,n=ck(e,t.length),e),fct(this,n)},EWt.d=0,bY(O1t,"GreedySwitchHeuristic",1804),dOt(1930,1,{},lG),EWt.b=0,EWt.d=0,bY(O1t,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),dOt(1917,1,{},oRt),EWt.a=!1,bY(O1t,"SwitchDecider",1917),dOt(101,1,{101:1},bSt),EWt.a=null,EWt.c=null,EWt.i=null,bY(N1t,"SelfHyperLoop",101),dOt(1916,1,{},ewt),EWt.c=0,EWt.e=0,bY(N1t,"SelfHyperLoopLabels",1916),dOt(411,22,{3:1,35:1,22:1,411:1},wS);var xue,kue,_ue,Eue,Tue,Cue,Sue=Fnt(N1t,"SelfHyperLoopLabels/Alignment",411,qte,n3,G$);dOt(409,1,{409:1},v6),bY(N1t,"SelfLoopEdge",409),dOt(403,1,{403:1},Mbt),EWt.a=!1,bY(N1t,"SelfLoopHolder",403),dOt(1724,1,PXt,Ur),EWt.Mb=function(t){return h5($z(t,17))},bY(N1t,"SelfLoopHolder/lambda$0$Type",1724),dOt(113,1,{113:1},nwt),EWt.a=!1,EWt.c=!1,bY(N1t,"SelfLoopPort",113),dOt(1792,1,PXt,Gr),EWt.Mb=function(t){return h5($z(t,17))},bY(N1t,"SelfLoopPort/lambda$0$Type",1792),dOt(363,22,{3:1,35:1,22:1,363:1},yS);var Aue,Mue,Iue,Oue,Lue,Due,Nue,Pue,Bue=Fnt(N1t,"SelfLoopType",363,qte,D5,X$);dOt(1732,1,{},rh),bY(P1t,"PortRestorer",1732),dOt(361,22,{3:1,35:1,22:1,361:1},mS);var Rue,jue,$ue,Fue,zue,Hue,Uue,Gue,que,Kue=Fnt(P1t,"PortRestorer/PortSideArea",361,qte,T1,V$);dOt(1733,1,{},Wr),EWt.Kb=function(t){return jTt(),$z(t,15).Oc()},bY(P1t,"PortRestorer/lambda$0$Type",1733),dOt(1734,1,hXt,Xr),EWt.td=function(t){jTt(),$z(t,113).c=!1;},bY(P1t,"PortRestorer/lambda$1$Type",1734),dOt(1743,1,PXt,Vr),EWt.Mb=function(t){return jTt(),$z(t,11).j==(vKt(),CMe)},bY(P1t,"PortRestorer/lambda$10$Type",1743),dOt(1744,1,{},Zr),EWt.Kb=function(t){return jTt(),$z(t,113).d},bY(P1t,"PortRestorer/lambda$11$Type",1744),dOt(1745,1,hXt,Sp),EWt.td=function(t){Lk(this.a,$z(t,11));},bY(P1t,"PortRestorer/lambda$12$Type",1745),dOt(1735,1,hXt,Ap),EWt.td=function(t){MP(this.a,$z(t,101));},bY(P1t,"PortRestorer/lambda$2$Type",1735),dOt(1736,1,EZt,Qr),EWt.ue=function(t,e){return snt($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(P1t,"PortRestorer/lambda$3$Type",1736),dOt(1737,1,PXt,Jr),EWt.Mb=function(t){return jTt(),$z(t,113).c},bY(P1t,"PortRestorer/lambda$4$Type",1737),dOt(1738,1,PXt,Pr),EWt.Mb=function(t){return Iat($z(t,11))},bY(P1t,"PortRestorer/lambda$5$Type",1738),dOt(1739,1,PXt,Nr),EWt.Mb=function(t){return jTt(),$z(t,11).j==(vKt(),sMe)},bY(P1t,"PortRestorer/lambda$6$Type",1739),dOt(1740,1,PXt,Br),EWt.Mb=function(t){return jTt(),$z(t,11).j==(vKt(),oMe)},bY(P1t,"PortRestorer/lambda$7$Type",1740),dOt(1741,1,PXt,Rr),EWt.Mb=function(t){return i3($z(t,11))},bY(P1t,"PortRestorer/lambda$8$Type",1741),dOt(1742,1,PXt,jr),EWt.Mb=function(t){return jTt(),$z(t,11).j==(vKt(),EMe)},bY(P1t,"PortRestorer/lambda$9$Type",1742),dOt(270,22,{3:1,35:1,22:1,270:1},KX);var Yue,Wue,Xue,Vue,Zue,Que,Jue,tle,ele=Fnt(P1t,"PortSideAssigner/Target",270,qte,$et,q$);dOt(1725,1,{},$r),EWt.Kb=function(t){return MX(new PU(null,new f1($z(t,101).j,16)),new Yr)},bY(P1t,"PortSideAssigner/lambda$1$Type",1725),dOt(1726,1,{},Fr),EWt.Kb=function(t){return $z(t,113).d},bY(P1t,"PortSideAssigner/lambda$2$Type",1726),dOt(1727,1,hXt,zr),EWt.td=function(t){HAt($z(t,11),(vKt(),sMe));},bY(P1t,"PortSideAssigner/lambda$3$Type",1727),dOt(1728,1,{},Hr),EWt.Kb=function(t){return $z(t,113).d},bY(P1t,"PortSideAssigner/lambda$4$Type",1728),dOt(1729,1,hXt,Mp),EWt.td=function(t){Jw(this.a,$z(t,11));},bY(P1t,"PortSideAssigner/lambda$5$Type",1729),dOt(1730,1,EZt,qr),EWt.ue=function(t,e){return _W($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(P1t,"PortSideAssigner/lambda$6$Type",1730),dOt(1731,1,EZt,Kr),EWt.ue=function(t,e){return oH($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(P1t,"PortSideAssigner/lambda$7$Type",1731),dOt(805,1,PXt,Yr),EWt.Mb=function(t){return $z(t,113).c},bY(P1t,"PortSideAssigner/lambda$8$Type",805),dOt(2009,1,{}),bY(B1t,"AbstractSelfLoopRouter",2009),dOt(1750,1,EZt,ta),EWt.ue=function(t,e){return Sj($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(B1t,fQt,1750),dOt(1751,1,EZt,ea),EWt.ue=function(t,e){return Cj($z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(B1t,dQt,1751),dOt(1793,2009,{},na),EWt.Uf=function(t,e,n){return n},bY(B1t,"OrthogonalSelfLoopRouter",1793),dOt(1795,1,hXt,fS),EWt.td=function(t){bbt(this.b,this.a,$z(t,8));},bY(B1t,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),dOt(1794,1793,{},ia),EWt.Uf=function(t,e,n){var i,r;return BP(n,0,GR($L((i=t.c.d).n),i.a)),NH(n,GR($L((r=t.d.d).n),r.a)),k$t(n)},bY(B1t,"PolylineSelfLoopRouter",1794),dOt(1746,1,{},Ql),EWt.a=null,bY(B1t,"RoutingDirector",1746),dOt(1747,1,EZt,ra),EWt.ue=function(t,e){return fH($z(t,113),$z(e,113))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(B1t,"RoutingDirector/lambda$0$Type",1747),dOt(1748,1,{},aa),EWt.Kb=function(t){return ET(),$z(t,101).j},bY(B1t,"RoutingDirector/lambda$1$Type",1748),dOt(1749,1,hXt,oa),EWt.td=function(t){ET(),$z(t,15).ad(Wue);},bY(B1t,"RoutingDirector/lambda$2$Type",1749),dOt(1752,1,{},sa),bY(B1t,"RoutingSlotAssigner",1752),dOt(1753,1,PXt,Ip),EWt.Mb=function(t){return CA(this.a,$z(t,101))},bY(B1t,"RoutingSlotAssigner/lambda$0$Type",1753),dOt(1754,1,EZt,Op),EWt.ue=function(t,e){return GU(this.a,$z(t,101),$z(e,101))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(B1t,"RoutingSlotAssigner/lambda$1$Type",1754),dOt(1796,1793,{},ca),EWt.Uf=function(t,e,n){var i,r,a,o;return i=Hv(_B(pwt(t.b.g.b,(zYt(),vwe)))),JLt(t,e,n,o=new GP(Cst(Hx(TTe,1),cXt,8,0,[(a=t.c.d,GR(new fO(a.n),a.a))])),i),NH(o,GR(new fO((r=t.d.d).n),r.a)),$yt(new szt(o))},bY(B1t,"SplineSelfLoopRouter",1796),dOt(578,1,EZt,Urt,mH),EWt.ue=function(t,e){return lYt(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(R1t,"ModelOrderNodeComparator",578),dOt(1755,1,PXt,ua),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(R1t,"ModelOrderNodeComparator/lambda$0$Type",1755),dOt(1756,1,{},la),EWt.Kb=function(t){return $z(DU($z(t,11).e,0),17).c},bY(R1t,"ModelOrderNodeComparator/lambda$1$Type",1756),dOt(1757,1,PXt,ha),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(R1t,"ModelOrderNodeComparator/lambda$2$Type",1757),dOt(1758,1,{},fa),EWt.Kb=function(t){return $z(DU($z(t,11).e,0),17).c},bY(R1t,"ModelOrderNodeComparator/lambda$3$Type",1758),dOt(1759,1,PXt,da),EWt.Mb=function(t){return 0!=$z(t,11).e.c.length},bY(R1t,"ModelOrderNodeComparator/lambda$4$Type",1759),dOt(806,1,EZt,A9,pS),EWt.ue=function(t,e){return Lq(this,t,e)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(R1t,"ModelOrderPortComparator",806),dOt(801,1,{},ga),EWt.Vf=function(t,n){var i,r,a,o;for(a=CCt(n),i=new Lw,o=n.f/a,r=1;r<a;++r)Kz(i,nft(dG(lot(e.Math.round(r*o)))));return i},EWt.Wf=function(){return !1},bY(j1t,"ARDCutIndexHeuristic",801),dOt(1479,1,JJt,pa),EWt.pf=function(t,e){sjt($z(t,37),e);},bY(j1t,"BreakingPointInserter",1479),dOt(305,1,{305:1},b3),EWt.Ib=function(){var t;return (t=new Cx).a+="BPInfo[",t.a+="\n\tstart=",aI(t,this.i),t.a+="\n\tend=",aI(t,this.a),t.a+="\n\tnodeStartEdge=",aI(t,this.e),t.a+="\n\tstartEndEdge=",aI(t,this.j),t.a+="\n\toriginalEdge=",aI(t,this.f),t.a+="\n\tstartInLayerDummy=",aI(t,this.k),t.a+="\n\tstartInLayerEdge=",aI(t,this.n),t.a+="\n\tendInLayerDummy=",aI(t,this.b),t.a+="\n\tendInLayerEdge=",aI(t,this.c),t.a},bY(j1t,"BreakingPointInserter/BPInfo",305),dOt(652,1,{652:1},Fp),EWt.a=!1,EWt.b=0,EWt.c=0,bY(j1t,"BreakingPointInserter/Cut",652),dOt(1480,1,JJt,ba),EWt.pf=function(t,e){yDt($z(t,37),e);},bY(j1t,"BreakingPointProcessor",1480),dOt(1481,1,PXt,wa),EWt.Mb=function(t){return Vtt($z(t,10))},bY(j1t,"BreakingPointProcessor/0methodref$isEnd$Type",1481),dOt(1482,1,PXt,ya),EWt.Mb=function(t){return Ztt($z(t,10))},bY(j1t,"BreakingPointProcessor/1methodref$isStart$Type",1482),dOt(1483,1,JJt,ma),EWt.pf=function(t,e){iNt(this,$z(t,37),e);},bY(j1t,"BreakingPointRemover",1483),dOt(1484,1,hXt,va),EWt.td=function(t){$z(t,128).k=!0;},bY(j1t,"BreakingPointRemover/lambda$0$Type",1484),dOt(797,1,{},EOt),EWt.b=0,EWt.e=0,EWt.f=0,EWt.j=0,bY(j1t,"GraphStats",797),dOt(798,1,{},xa),EWt.Ce=function(t,n){return e.Math.max(Hv(_B(t)),Hv(_B(n)))},bY(j1t,"GraphStats/0methodref$max$Type",798),dOt(799,1,{},ka),EWt.Ce=function(t,n){return e.Math.max(Hv(_B(t)),Hv(_B(n)))},bY(j1t,"GraphStats/2methodref$max$Type",799),dOt(1660,1,{},_a),EWt.Ce=function(t,e){return bz(_B(t),_B(e))},bY(j1t,"GraphStats/lambda$1$Type",1660),dOt(1661,1,{},Lp),EWt.Kb=function(t){return dwt(this.a,$z(t,29))},bY(j1t,"GraphStats/lambda$2$Type",1661),dOt(1662,1,{},Dp),EWt.Kb=function(t){return WDt(this.a,$z(t,29))},bY(j1t,"GraphStats/lambda$6$Type",1662),dOt(800,1,{},Ea),EWt.Vf=function(t,e){return $z(yTt(t,(zYt(),Rwe)),15)||(EV(),EV(),cne)},EWt.Wf=function(){return !1},bY(j1t,"ICutIndexCalculator/ManualCutIndexCalculator",800),dOt(802,1,{},Ta),EWt.Vf=function(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(null==n.n&&Pmt(n),x=n.n,null==n.d&&Pmt(n),u=n.d,(v=D8(LNe,HVt,25,x.length,15,1))[0]=x[0],y=x[0],l=1;l<x.length;l++)v[l]=v[l-1]+x[l],y+=x[l];for(a=CCt(n)-1,s=$z(yTt(t,(zYt(),jwe)),19).a,r=RVt,i=new Lw,d=e.Math.max(0,a-s);d<=e.Math.min(n.f-1,a+s);d++){if(b=y/(d+1),w=0,h=1,o=new Lw,m=RVt,f=0,c=0,p=u[0],0==d)m=y,null==n.g&&(n.g=Krt(n,new ka)),c=Hv(n.g);else {for(;h<n.f;)v[h-1]-w>=b&&(Kz(o,nft(h)),m=e.Math.max(m,v[h-1]-f),c+=p,w+=v[h-1]-w,f=v[h-1],p=u[h]),p=e.Math.max(p,u[h]),++h;c+=p;}(g=e.Math.min(1/m,1/n.b/c))>r&&(r=g,i=o);}return i},EWt.Wf=function(){return !1},bY(j1t,"MSDCutIndexHeuristic",802),dOt(1617,1,JJt,Ca),EWt.pf=function(t,e){fzt($z(t,37),e);},bY(j1t,"SingleEdgeGraphWrapper",1617),dOt(227,22,{3:1,35:1,22:1,227:1},vS);var nle,ile,rle,ale=Fnt($1t,"CenterEdgeLabelPlacementStrategy",227,qte,Z8,K$);dOt(422,22,{3:1,35:1,22:1,422:1},xS);var ole,sle,cle,ule,lle=Fnt($1t,"ConstraintCalculationStrategy",422,qte,HZ,Y$);dOt(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},kS),EWt.Kf=function(){return cMt(this)},EWt.Xf=function(){return cMt(this)};var hle,fle,dle,gle,ple=Fnt($1t,"CrossingMinimizationStrategy",314,qte,k1,W$);dOt(337,22,{3:1,35:1,22:1,337:1},_S);var ble,wle,yle,mle,vle,xle,kle=Fnt($1t,"CuttingStrategy",337,qte,_1,Z$);dOt(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},ES),EWt.Kf=function(){return BOt(this)},EWt.Xf=function(){return BOt(this)};var _le,Ele,Tle,Cle=Fnt($1t,"CycleBreakingStrategy",335,qte,O5,Q$);dOt(419,22,{3:1,35:1,22:1,419:1},TS);var Sle,Ale,Mle,Ile,Ole=Fnt($1t,"DirectionCongruency",419,qte,zZ,J$);dOt(450,22,{3:1,35:1,22:1,450:1},CS);var Lle,Dle,Nle,Ple,Ble,Rle,jle,$le=Fnt($1t,"EdgeConstraint",450,qte,E1,tF);dOt(276,22,{3:1,35:1,22:1,276:1},SS);var Fle,zle,Hle,Ule=Fnt($1t,"EdgeLabelSideSelection",276,qte,e7,eF);dOt(479,22,{3:1,35:1,22:1,479:1},AS);var Gle,qle,Kle,Yle,Wle,Xle,Vle,Zle=Fnt($1t,"EdgeStraighteningStrategy",479,qte,FZ,nF);dOt(274,22,{3:1,35:1,22:1,274:1},MS);var Qle,Jle,the,ehe,nhe,ihe,rhe,ahe=Fnt($1t,"FixedAlignment",274,qte,J8,iF);dOt(275,22,{3:1,35:1,22:1,275:1},IS);var ohe,she,che,uhe,lhe,hhe,fhe,dhe,ghe,phe,bhe,whe=Fnt($1t,"GraphCompactionStrategy",275,qte,Q8,rF);dOt(256,22,{3:1,35:1,22:1,256:1},OS);var yhe,mhe,vhe,xhe,khe=Fnt($1t,"GraphProperties",256,qte,fat,aF);dOt(292,22,{3:1,35:1,22:1,292:1},LS);var _he,Ehe,The,Che,She=Fnt($1t,"GreedySwitchType",292,qte,S1,oF);dOt(303,22,{3:1,35:1,22:1,303:1},DS);var Ahe,Mhe,Ihe,Ohe=Fnt($1t,"InLayerConstraint",303,qte,C1,sF);dOt(420,22,{3:1,35:1,22:1,420:1},NS);var Lhe,Dhe,Nhe,Phe,Bhe,Rhe,jhe,$he,Fhe,zhe,Hhe,Uhe,Ghe,qhe,Khe,Yhe,Whe,Xhe,Vhe,Zhe,Qhe,Jhe,tfe,efe,nfe,ife,rfe,afe,ofe,sfe,cfe,ufe,lfe,hfe,ffe,dfe,gfe,pfe,bfe,wfe,yfe,mfe,vfe,xfe,kfe,_fe,Efe,Tfe,Cfe,Sfe,Afe,Mfe,Ife,Ofe,Lfe,Dfe,Nfe,Pfe,Bfe,Rfe,jfe,$fe,Ffe,zfe,Hfe=Fnt($1t,"InteractiveReferencePoint",420,qte,UZ,cF);dOt(163,22,{3:1,35:1,22:1,163:1},$S);var Ufe,Gfe,qfe,Kfe,Yfe,Wfe,Xfe,Vfe,Zfe,Qfe,Jfe,tde,ede,nde,ide,rde,ade,ode,sde,cde,ude,lde,hde,fde,dde,gde,pde,bde,wde,yde,mde,vde,xde,kde,_de,Ede,Tde,Cde,Sde,Ade,Mde,Ide,Ode,Lde,Dde,Nde,Pde,Bde,Rde,jde,$de,Fde,zde,Hde,Ude,Gde,qde,Kde,Yde,Wde,Xde,Vde,Zde,Qde,Jde,tge,ege,nge,ige,rge,age,oge,sge,cge,uge,lge,hge,fge,dge,gge,pge,bge,wge,yge,mge,vge,xge,kge,_ge,Ege,Tge,Cge,Sge,Age,Mge,Ige,Oge,Lge,Dge,Nge,Pge,Bge,Rge,jge,$ge,Fge,zge,Hge,Uge,Gge,qge,Kge,Yge,Wge,Xge,Vge,Zge,Qge,Jge,tpe,epe,npe,ipe,rpe,ape,ope,spe,cpe,upe,lpe,hpe,fpe,dpe,gpe,ppe,bpe,wpe,ype,mpe,vpe,xpe,kpe,_pe,Epe,Tpe,Cpe,Spe,Ape,Mpe,Ipe,Ope,Lpe,Dpe,Npe,Ppe,Bpe,Rpe,jpe,$pe,Fpe,zpe,Hpe,Upe,Gpe,qpe,Kpe,Ype,Wpe,Xpe,Vpe,Zpe,Qpe,Jpe,tbe,ebe,nbe,ibe,rbe,abe,obe,sbe,cbe,ube,lbe,hbe,fbe,dbe,gbe,pbe,bbe,wbe,ybe,mbe,vbe,xbe,kbe,_be,Ebe,Tbe,Cbe,Sbe,Abe,Mbe,Ibe,Obe,Lbe,Dbe,Nbe,Pbe,Bbe,Rbe,jbe,$be,Fbe,zbe,Hbe,Ube,Gbe,qbe,Kbe,Ybe,Wbe,Xbe,Vbe,Zbe,Qbe,Jbe,twe,ewe,nwe,iwe,rwe,awe,owe,swe,cwe,uwe,lwe,hwe,fwe,dwe,gwe,pwe,bwe,wwe,ywe,mwe,vwe,xwe,kwe,_we,Ewe,Twe,Cwe,Swe,Awe,Mwe,Iwe,Owe,Lwe,Dwe,Nwe,Pwe,Bwe,Rwe,jwe,$we,Fwe,zwe,Hwe,Uwe,Gwe,qwe,Kwe,Ywe,Wwe,Xwe,Vwe,Zwe,Qwe,Jwe,tye,eye=Fnt($1t,"LayerConstraint",163,qte,N5,uF);dOt(848,1,XZt,sh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q1t),""),"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."),Tde),(CSt(),gTe)),Ole),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K1t),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(cN(),!1)),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y1t),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Wde),gTe),Hfe),Jft(cTe)))),r2(t,Y1t,e0t,Vde),r2(t,Y1t,h0t,Xde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W1t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,X1t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Tk(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V1t),""),"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),fTe),vee),Jft(uTe)),Cst(Hx(Xee,1),cXt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Z1t),""),"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."),Dge),gTe),Uye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Q1t),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),nft(7)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J1t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t0t),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e0t),"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)."),_de),gTe),Cle),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,n0t),l2t),"Node Layering Strategy"),"Strategy for node layering."),hge),gTe),oye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,i0t),l2t),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),ege),gTe),eye),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,r0t),l2t),"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. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,a0t),l2t),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o0t),h2t),"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."),nft(4)),bTe),Iee),Jft(cTe)))),r2(t,o0t,n0t,rge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s0t),h2t),"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."),nft(2)),bTe),Iee),Jft(cTe)))),r2(t,s0t,n0t,oge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c0t),f2t),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),uge),gTe),Nye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u0t),f2t),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),nft(0)),bTe),Iee),Jft(cTe)))),r2(t,u0t,c0t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l0t),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),nft(PWt)),bTe),Iee),Jft(cTe)))),r2(t,l0t,n0t,Qde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h0t),d2t),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),xde),gTe),ple),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f0t),d2t),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,d0t),d2t),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),dTe),Cee),Jft(cTe)))),r2(t,d0t,g2t,pde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,g0t),d2t),"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),fTe),vee),Jft(cTe)))),r2(t,g0t,h0t,mde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,p0t),d2t),"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. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,b0t),d2t),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w0t),p2t),"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."),nft(40)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y0t),p2t),"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."),fde),gTe),She),Jft(cTe)))),r2(t,y0t,h0t,dde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m0t),"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."),cde),gTe),She),Jft(cTe)))),r2(t,m0t,h0t,ude),r2(t,m0t,g2t,lde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,v0t),b2t),"Node Placement Strategy"),"Strategy for node placement."),Oge),gTe),Mye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,x0t),b2t),"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."),fTe),vee),Jft(cTe)))),r2(t,x0t,v0t,xge),r2(t,x0t,v0t,kge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k0t),w2t),"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."),pge),gTe),Zle),Jft(cTe)))),r2(t,k0t,v0t,bge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_0t),w2t),"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."),yge),gTe),ahe),Jft(cTe)))),r2(t,_0t,v0t,mge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E0t),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),dTe),Cee),Jft(cTe)))),r2(t,E0t,v0t,Ege),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,T0t),"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."),gTe),mye),Jft(sTe)))),r2(t,T0t,v0t,Mge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C0t),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Sge),gTe),mye),Jft(cTe)))),r2(t,C0t,v0t,Age),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,S0t),y2t),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Dde),gTe),Qye),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,A0t),y2t),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Pde),gTe),ime),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M0t),"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."),Rde),gTe),cme),Jft(cTe)))),r2(t,M0t,m2t,jde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,I0t),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),dTe),Cee),Jft(cTe)))),r2(t,I0t,m2t,Fde),r2(t,I0t,M0t,zde),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,O0t),"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),dTe),Cee),Jft(cTe)))),r2(t,O0t,m2t,Ode),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,L0t),v2t),"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."),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,D0t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,N0t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,P0t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,B0t),x2t),"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."),nft(0)),bTe),Iee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,R0t),x2t),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),nft(0)),bTe),Iee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,j0t),x2t),"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."),nft(0)),bTe),Iee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$0t),k2t),PQt),"Tries to further compact components (disconnected sub-graphs)."),!1),fTe),vee),Jft(cTe)))),r2(t,$0t,vJt,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F0t),_2t),"Post Compaction Strategy"),E2t),Xfe),gTe),whe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z0t),_2t),"Post Compaction Constraint Calculation"),E2t),Yfe),gTe),lle),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,H0t),T2t),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,U0t),T2t),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),nft(16)),bTe),Iee),Jft(cTe)))),r2(t,U0t,H0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G0t),T2t),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),nft(5)),bTe),Iee),Jft(cTe)))),r2(t,G0t,H0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q0t),C2t),"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'."),hpe),gTe),Eme),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K0t),C2t),"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),dTe),Cee),Jft(cTe)))),r2(t,K0t,q0t,Gge),r2(t,K0t,q0t,qge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y0t),C2t),"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),dTe),Cee),Jft(cTe)))),r2(t,Y0t,q0t,Yge),r2(t,Y0t,q0t,Wge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W0t),S2t),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),epe),gTe),kle),Jft(cTe)))),r2(t,W0t,q0t,npe),r2(t,W0t,q0t,ipe),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,X0t),S2t),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),wTe),Bte),Jft(cTe)))),r2(t,X0t,W0t,Vge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V0t),"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."),Qge),bTe),Iee),Jft(cTe)))),r2(t,V0t,W0t,Jge),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Z0t),A2t),"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."),bpe),gTe),dme),Jft(cTe)))),r2(t,Z0t,q0t,wpe),r2(t,Z0t,q0t,ype),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,Q0t),A2t),"Valid Indices for Wrapping"),null),wTe),Bte),Jft(cTe)))),r2(t,Q0t,q0t,dpe),r2(t,Q0t,q0t,gpe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J0t),M2t),"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),fTe),vee),Jft(cTe)))),r2(t,J0t,q0t,spe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t2t),M2t),"Distance Penalty When Improving Cuts"),null),2),dTe),Cee),Jft(cTe)))),r2(t,t2t,q0t,ape),r2(t,t2t,J0t,!0),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e2t),M2t),"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),fTe),vee),Jft(cTe)))),r2(t,e2t,q0t,upe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,n2t),I2t),"Edge Label Side Selection"),"Method to decide on edge label sides."),Mde),gTe),Ule),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,i2t),I2t),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Sde),gTe),ale),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,r2t),O2t),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),rde),gTe),jye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,a2t),O2t),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o2t),O2t),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),Zfe),gTe),wse),Jft(cTe)))),r2(t,o2t,vJt,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s2t),O2t),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),ede),gTe),fye),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c2t),O2t),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),dTe),Cee),Jft(cTe)))),r2(t,c2t,r2t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u2t),O2t),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),dTe),Cee),Jft(cTe)))),r2(t,u2t,r2t,null),wWt((new lh,t));},bY($1t,"LayeredMetaDataProvider",848),dOt(986,1,XZt,lh),EWt.Qe=function(t){wWt(t);},bY($1t,"LayeredOptions",986),dOt(987,1,{},Aa),EWt.$e=function(){return new Gy},EWt._e=function(t){},bY($1t,"LayeredOptions/LayeredFactory",987),dOt(1372,1,{}),EWt.a=0,bY(m3t,"ElkSpacings/AbstractSpacingsBuilder",1372),dOt(779,1372,{},ogt),bY($1t,"LayeredSpacings/LayeredSpacingsBuilder",779),dOt(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},PS),EWt.Kf=function(){return iDt(this)},EWt.Xf=function(){return iDt(this)};var nye,iye,rye,aye,oye=Fnt($1t,"LayeringStrategy",313,qte,t7,lF);dOt(378,22,{3:1,35:1,22:1,378:1},BS);var sye,cye,uye,lye,hye,fye=Fnt($1t,"LongEdgeOrderingStrategy",378,qte,x1,hF);dOt(197,22,{3:1,35:1,22:1,197:1},RS);var dye,gye,pye,bye,wye,yye,mye=Fnt($1t,"NodeFlexibility",197,qte,m3,fF);dOt(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},jS),EWt.Kf=function(){return POt(this)},EWt.Xf=function(){return POt(this)};var vye,xye,kye,_ye,Eye,Tye,Cye,Sye,Aye,Mye=Fnt($1t,"NodePlacementStrategy",315,qte,I5,yF);dOt(260,22,{3:1,35:1,22:1,260:1},FS);var Iye,Oye,Lye,Dye,Nye=Fnt($1t,"NodePromotionStrategy",260,qte,Fet,gF);dOt(339,22,{3:1,35:1,22:1,339:1},zS);var Pye,Bye,Rye,jye=Fnt($1t,"OrderingStrategy",339,qte,M1,pF);dOt(421,22,{3:1,35:1,22:1,421:1},HS);var $ye,Fye,zye,Hye,Uye=Fnt($1t,"PortSortingStrategy",421,qte,GZ,bF);dOt(452,22,{3:1,35:1,22:1,452:1},US);var Gye,qye,Kye,Yye,Wye=Fnt($1t,"PortType",452,qte,A1,dF);dOt(375,22,{3:1,35:1,22:1,375:1},GS);var Xye,Vye,Zye,Qye=Fnt($1t,"SelfLoopDistributionStrategy",375,qte,I1,wF);dOt(376,22,{3:1,35:1,22:1,376:1},qS);var Jye,tme,eme,nme,ime=Fnt($1t,"SelfLoopOrderingStrategy",376,qte,$Z,mF);dOt(304,1,{304:1},cGt),bY($1t,"Spacings",304),dOt(336,22,{3:1,35:1,22:1,336:1},KS);var rme,ame,ome,sme,cme=Fnt($1t,"SplineRoutingMode",336,qte,L1,vF);dOt(338,22,{3:1,35:1,22:1,338:1},YS);var ume,lme,hme,fme,dme=Fnt($1t,"ValidifyStrategy",338,qte,D1,xF);dOt(377,22,{3:1,35:1,22:1,377:1},WS);var gme,pme,bme,wme,yme,mme,vme,xme,kme,_me,Eme=Fnt($1t,"WrappingStrategy",377,qte,O1,kF);dOt(1383,1,k3t,hh),EWt.Yf=function(t){return $z(t,37),pme},EWt.pf=function(t,e){ZHt(this,$z(t,37),e);},bY(_3t,"DepthFirstCycleBreaker",1383),dOt(782,1,k3t,BG),EWt.Yf=function(t){return $z(t,37),bme},EWt.pf=function(t,e){qYt(this,$z(t,37),e);},EWt.Zf=function(t){return $z(DU(t,byt(this.d,t.c.length)),10)},bY(_3t,"GreedyCycleBreaker",782),dOt(1386,782,k3t,kM),EWt.Zf=function(t){var e,n,i,r;for(r=null,e=PWt,i=new Kd(t);i.a<i.c.c.length;)OP(n=$z(Q1(i),10),(uWt(),ffe))&&$z(yTt(n,ffe),19).a<e&&(e=$z(yTt(n,ffe),19).a,r=n);return r||$z(DU(t,byt(this.d,t.c.length)),10)},bY(_3t,"GreedyModelOrderCycleBreaker",1386),dOt(1384,1,k3t,eh),EWt.Yf=function(t){return $z(t,37),wme},EWt.pf=function(t,e){AUt(this,$z(t,37),e);},bY(_3t,"InteractiveCycleBreaker",1384),dOt(1385,1,k3t,nh),EWt.Yf=function(t){return $z(t,37),yme},EWt.pf=function(t,e){LUt(this,$z(t,37),e);},EWt.a=0,EWt.b=0,bY(_3t,"ModelOrderCycleBreaker",1385),dOt(1389,1,k3t,IT),EWt.Yf=function(t){return $z(t,37),mme},EWt.pf=function(t,e){ZYt(this,$z(t,37),e);},bY(E3t,"CoffmanGrahamLayerer",1389),dOt(1390,1,EZt,Np),EWt.ue=function(t,e){return FMt(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(E3t,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),dOt(1391,1,EZt,Pp),EWt.ue=function(t,e){return UG(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(E3t,"CoffmanGrahamLayerer/lambda$1$Type",1391),dOt(1392,1,k3t,Ma),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Poe),(hWt(),mce)),Boe,Ace),Roe,Sce)},EWt.pf=function(t,e){kKt(this,$z(t,37),e);},bY(E3t,"InteractiveLayerer",1392),dOt(569,1,{569:1},em),EWt.a=0,EWt.c=0,bY(E3t,"InteractiveLayerer/LayerSpan",569),dOt(1388,1,k3t,th),EWt.Yf=function(t){return $z(t,37),vme},EWt.pf=function(t,e){HPt(this,$z(t,37),e);},bY(E3t,"LongestPathLayerer",1388),dOt(1395,1,k3t,oh),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Poe),(hWt(),ice)),Boe,Ace),Roe,Sce)},EWt.pf=function(t,e){nYt(this,$z(t,37),e);},EWt.a=0,EWt.b=0,EWt.d=0,bY(E3t,"MinWidthLayerer",1395),dOt(1396,1,EZt,Bp),EWt.ue=function(t,e){return got(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(E3t,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),dOt(1387,1,k3t,ah),EWt.Yf=function(t){return $z(t,37),_me},EWt.pf=function(t,e){yGt(this,$z(t,37),e);},bY(E3t,"NetworkSimplexLayerer",1387),dOt(1393,1,k3t,PR),EWt.Yf=function(t){return $z(t,37),dU(dU(dU(new $2,(mTt(),Poe),(hWt(),ice)),Boe,Ace),Roe,Sce)},EWt.pf=function(t,e){Oqt(this,$z(t,37),e);},EWt.d=0,EWt.f=0,EWt.g=0,EWt.i=0,EWt.s=0,EWt.t=0,EWt.u=0,bY(E3t,"StretchWidthLayerer",1393),dOt(1394,1,EZt,Ia),EWt.ue=function(t,e){return P6($z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(E3t,"StretchWidthLayerer/1",1394),dOt(402,1,T3t),EWt.Nf=function(t,e,n,i,r,a){},EWt._f=function(t,e,n){return i$t(this,t,e,n)},EWt.Mf=function(){this.g=D8(DNe,C3t,25,this.d,15,1),this.f=D8(DNe,C3t,25,this.d,15,1);},EWt.Of=function(t,e){this.e[t]=D8(ANe,uVt,25,e[t].length,15,1);},EWt.Pf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e;},EWt.Qf=function(t,e,n,i){$z(DU(i[t][e].j,n),11).p=this.d++;},EWt.b=0,EWt.c=0,EWt.d=0,bY(S3t,"AbstractBarycenterPortDistributor",402),dOt(1633,1,EZt,Rp),EWt.ue=function(t,e){return Hbt(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(S3t,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),dOt(817,1,D1t,H2),EWt.Nf=function(t,e,n,i,r,a){},EWt.Pf=function(t,e,n){},EWt.Qf=function(t,e,n,i){},EWt.Lf=function(){return !1},EWt.Mf=function(){this.c=this.e.a,this.g=this.f.g;},EWt.Of=function(t,e){e[t][0].c.p=t;},EWt.Rf=function(){return !1},EWt.ag=function(t,e,n,i){n?ckt(this,t):(Pkt(this,t,i),QGt(this,t,e)),t.c.length>1&&(zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),(zYt(),Dpe))))?BLt(t,this.d,$z(this,660)):(EV(),wL(t,this.d)),Fot(this.e,t));},EWt.Sf=function(t,e,n,i){var r,a,o,s,c,u,l;for(e!=VU(n,t.length)&&(a=t[e-(n?1:-1)],H6(this.f,a,n?(ait(),zye):(ait(),Fye))),r=t[e][0],l=!i||r.k==(oCt(),_se),u=a6(t[e]),this.ag(u,l,!1,n),o=0,c=new Kd(u);c.a<c.c.c.length;)s=$z(Q1(c),10),t[e][o++]=s;return !1},EWt.Tf=function(t,e){var n,i,r,a,o;for(a=a6(t[o=VU(e,t.length)]),this.ag(a,!1,!0,e),n=0,r=new Kd(a);r.a<r.c.c.length;)i=$z(Q1(r),10),t[o][n++]=i;return !1},bY(S3t,"BarycenterHeuristic",817),dOt(658,1,{658:1},$p),EWt.Ib=function(){return "BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},EWt.b=0,EWt.d=0,EWt.e=!1;var Tme=bY(S3t,"BarycenterHeuristic/BarycenterState",658);dOt(1802,1,EZt,jp),EWt.ue=function(t,e){return E_t(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(S3t,"BarycenterHeuristic/lambda$0$Type",1802),dOt(816,1,D1t,q_t),EWt.Mf=function(){},EWt.Nf=function(t,e,n,i,r,a){},EWt.Qf=function(t,e,n,i){},EWt.Of=function(t,e){this.a[t]=D8(Tme,{3:1,4:1,5:1,2018:1},658,e[t].length,0,1),this.b[t]=D8(Ome,{3:1,4:1,5:1,2019:1},233,e[t].length,0,1);},EWt.Pf=function(t,e,n){Pbt(this,n[t][e],!0);},EWt.c=!1,bY(S3t,"ForsterConstraintResolver",816),dOt(233,1,{233:1},NZ,oGt),EWt.Ib=function(){var t,e;for((e=new Cx).a+="[",t=0;t<this.d.length;t++)oI(e,Owt(this.d[t])),null!=lD(this.g,this.d[0]).a&&oI(oI((e.a+="<",e),ZM(lD(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=$Wt);return (e.a+="]",e).a},EWt.a=0,EWt.c=0,EWt.f=0;var Cme,Sme,Ame,Mme,Ime,Ome=bY(S3t,"ForsterConstraintResolver/ConstraintGroup",233);dOt(1797,1,hXt,zp),EWt.td=function(t){Pbt(this.a,$z(t,10),!1);},bY(S3t,"ForsterConstraintResolver/lambda$0$Type",1797),dOt(214,1,{214:1,225:1},SGt),EWt.Nf=function(t,e,n,i,r,a){},EWt.Of=function(t,e){},EWt.Mf=function(){this.r=D8(ANe,uVt,25,this.n,15,1);},EWt.Pf=function(t,e,n){var i;(i=n[t][e].e)&&Kz(this.b,i);},EWt.Qf=function(t,e,n,i){++this.n;},EWt.Ib=function(){return nqt(this.e,new Py)},EWt.g=!1,EWt.i=!1,EWt.n=0,EWt.s=!1,bY(S3t,"GraphInfoHolder",214),dOt(1832,1,D1t,Sa),EWt.Nf=function(t,e,n,i,r,a){},EWt.Of=function(t,e){},EWt.Qf=function(t,e,n,i){},EWt._f=function(t,e,n){return n&&e>0?aJ(this.a,t[e-1],t[e]):!n&&e<t.length-1?aJ(this.a,t[e],t[e+1]):mrt(this.a,t[e],n?(vKt(),CMe):(vKt(),oMe)),fDt(this,t,e,n)},EWt.Mf=function(){this.d=D8(ANe,uVt,25,this.c,15,1),this.a=new Wj(this.d);},EWt.Pf=function(t,e,n){var i;i=n[t][e],this.c+=i.j.c.length;},EWt.c=0,bY(S3t,"GreedyPortDistributor",1832),dOt(1401,1,k3t,fh),EWt.Yf=function(t){return Klt($z(t,37))},EWt.pf=function(t,e){KGt($z(t,37),e);},bY(S3t,"InteractiveCrossingMinimizer",1401),dOt(1402,1,EZt,Hp),EWt.ue=function(t,e){return zkt(this,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(S3t,"InteractiveCrossingMinimizer/1",1402),dOt(507,1,{507:1,123:1,51:1},Lv),EWt.Yf=function(t){var e;return $z(t,37),dU(e=mO(Sme),(mTt(),Roe),(hWt(),$ce)),e},EWt.pf=function(t,e){C$t(this,$z(t,37),e);},EWt.e=0,bY(S3t,"LayerSweepCrossingMinimizer",507),dOt(1398,1,hXt,Up),EWt.td=function(t){dzt(this.a,$z(t,214));},bY(S3t,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),dOt(1399,1,hXt,Gp),EWt.td=function(t){Mlt(this.a,$z(t,214));},bY(S3t,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),dOt(1400,1,hXt,qp),EWt.td=function(t){bFt(this.a,$z(t,214));},bY(S3t,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),dOt(454,22,{3:1,35:1,22:1,454:1},XS);var Lme,Dme=Fnt(S3t,"LayerSweepCrossingMinimizer/CrossMinType",454,qte,N1,_F);dOt(1397,1,PXt,Oa),EWt.Mb=function(t){return jat(),0==$z(t,29).a.c.length},bY(S3t,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),dOt(1799,1,D1t,rJ),EWt.Mf=function(){},EWt.Nf=function(t,e,n,i,r,a){},EWt.Qf=function(t,e,n,i){},EWt.Of=function(t,e){e[t][0].c.p=t,this.b[t]=D8(Rme,{3:1,4:1,5:1,1944:1},659,e[t].length,0,1);},EWt.Pf=function(t,e,n){n[t][e].p=e,IY(this.b[t],e,new La);},bY(S3t,"LayerSweepTypeDecider",1799),dOt(659,1,{659:1},La),EWt.Ib=function(){return "NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},EWt.a=0,EWt.b=0,EWt.c=0;var Nme,Pme,Bme,Rme=bY(S3t,"LayerSweepTypeDecider/NodeInfo",659);dOt(1800,1,HZt,Da),EWt.Lb=function(t){return UN(new w6($z(t,11).b))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return UN(new w6($z(t,11).b))},bY(S3t,"LayerSweepTypeDecider/lambda$0$Type",1800),dOt(1801,1,HZt,Na),EWt.Lb=function(t){return UN(new w6($z(t,11).b))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return UN(new w6($z(t,11).b))},bY(S3t,"LayerSweepTypeDecider/lambda$1$Type",1801),dOt(1833,402,T3t,Nk),EWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h;switch(u=this.g,n.g){case 1:for(i=0,r=0,c=new Kd(t.j);c.a<c.c.c.length;)0!=(o=$z(Q1(c),11)).e.c.length&&(++i,o.j==(vKt(),sMe)&&++r);for(a=e+r,h=e+i,s=Ngt(t,(ait(),Fye)).Kc();s.Ob();)(o=$z(s.Pb(),11)).j==(vKt(),sMe)?(u[o.p]=a,--a):(u[o.p]=h,--h);return i;case 2:for(l=0,s=Ngt(t,(ait(),zye)).Kc();s.Ob();)++l,u[(o=$z(s.Pb(),11)).p]=e+l;return l;default:throw Fw(new fy)}},bY(S3t,"LayerTotalPortDistributor",1833),dOt(660,817,{660:1,225:1},brt),EWt.ag=function(t,e,n,i){n?ckt(this,t):(Pkt(this,t,i),QGt(this,t,e)),t.c.length>1&&(zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),(zYt(),Dpe))))?BLt(t,this.d,this):(EV(),wL(t,this.d)),zv(kB(yTt(bW((l1(0,t.c.length),$z(t.c[0],10))),Dpe)))||Fot(this.e,t));},bY(S3t,"ModelOrderBarycenterHeuristic",660),dOt(1803,1,EZt,Kp),EWt.ue=function(t,e){return RCt(this.a,$z(t,10),$z(e,10))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(S3t,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),dOt(1403,1,k3t,mh),EWt.Yf=function(t){var e;return $z(t,37),dU(e=mO(Nme),(mTt(),Roe),(hWt(),$ce)),e},EWt.pf=function(t,e){wZ(($z(t,37),e));},bY(S3t,"NoCrossingMinimizer",1403),dOt(796,402,T3t,Pk),EWt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;switch(h=this.g,n.g){case 1:for(r=0,a=0,l=new Kd(t.j);l.a<l.c.c.length;)0!=(c=$z(Q1(l),11)).e.c.length&&(++r,c.j==(vKt(),sMe)&&++a);for(o=e+a*(i=1/(r+1)),d=e+1-i,u=Ngt(t,(ait(),Fye)).Kc();u.Ob();)(c=$z(u.Pb(),11)).j==(vKt(),sMe)?(h[c.p]=o,o-=i):(h[c.p]=d,d-=i);break;case 2:for(s=0,l=new Kd(t.j);l.a<l.c.c.length;)0==(c=$z(Q1(l),11)).g.c.length||++s;for(f=e+(i=1/(s+1)),u=Ngt(t,(ait(),zye)).Kc();u.Ob();)h[(c=$z(u.Pb(),11)).p]=f,f+=i;break;default:throw Fw(new Rv("Port type is undefined"))}return 1},bY(S3t,"NodeRelativePortDistributor",796),dOt(807,1,{},Yq,zTt),bY(S3t,"SweepCopy",807),dOt(1798,1,D1t,dpt),EWt.Of=function(t,e){},EWt.Mf=function(){var t;t=D8(ANe,uVt,25,this.f,15,1),this.d=new tb(t),this.a=new Wj(t);},EWt.Nf=function(t,e,n,i,r,a){var o;o=$z(DU(a[t][e].j,n),11),r.c==o&&r.c.i.c==r.d.i.c&&++this.e[t];},EWt.Pf=function(t,e,n){var i;i=n[t][e],this.c[t]=this.c[t]|i.k==(oCt(),Sse);},EWt.Qf=function(t,e,n,i){var r;(r=$z(DU(i[t][e].j,n),11)).p=this.f++,r.g.c.length+r.e.c.length>1&&(r.j==(vKt(),oMe)?this.b[t]=!0:r.j==CMe&&t>0&&(this.b[t-1]=!0));},EWt.f=0,bY(L1t,"AllCrossingsCounter",1798),dOt(587,1,{},yrt),EWt.b=0,EWt.d=0,bY(L1t,"BinaryIndexedTree",587),dOt(524,1,{},Wj),bY(L1t,"CrossingsCounter",524),dOt(1906,1,EZt,Yp),EWt.ue=function(t,e){return qU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(L1t,"CrossingsCounter/lambda$0$Type",1906),dOt(1907,1,EZt,Wp),EWt.ue=function(t,e){return KU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(L1t,"CrossingsCounter/lambda$1$Type",1907),dOt(1908,1,EZt,Xp),EWt.ue=function(t,e){return YU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(L1t,"CrossingsCounter/lambda$2$Type",1908),dOt(1909,1,EZt,Vp),EWt.ue=function(t,e){return WU(this.a,$z(t,11),$z(e,11))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(L1t,"CrossingsCounter/lambda$3$Type",1909),dOt(1910,1,hXt,Zp),EWt.td=function(t){p9(this.a,$z(t,11));},bY(L1t,"CrossingsCounter/lambda$4$Type",1910),dOt(1911,1,PXt,Qp),EWt.Mb=function(t){return yM(this.a,$z(t,11))},bY(L1t,"CrossingsCounter/lambda$5$Type",1911),dOt(1912,1,hXt,Jp),EWt.td=function(t){wM(this,t);},bY(L1t,"CrossingsCounter/lambda$6$Type",1912),dOt(1913,1,hXt,ZS),EWt.td=function(t){var e;cH(),d3(this.b,(e=this.a,$z(t,11),e));},bY(L1t,"CrossingsCounter/lambda$7$Type",1913),dOt(826,1,HZt,Pa),EWt.Lb=function(t){return cH(),OP($z(t,11),(uWt(),xfe))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return cH(),OP($z(t,11),(uWt(),xfe))},bY(L1t,"CrossingsCounter/lambda$8$Type",826),dOt(1905,1,{},tb),bY(L1t,"HyperedgeCrossingsCounter",1905),dOt(467,1,{35:1,467:1},NR),EWt.wd=function(t){return wbt(this,$z(t,467))},EWt.b=0,EWt.c=0,EWt.e=0,EWt.f=0;var jme=bY(L1t,"HyperedgeCrossingsCounter/Hyperedge",467);dOt(362,1,{35:1,362:1},zX),EWt.wd=function(t){return hLt(this,$z(t,362))},EWt.b=0,EWt.c=0;var $me,Fme,zme=bY(L1t,"HyperedgeCrossingsCounter/HyperedgeCorner",362);dOt(523,22,{3:1,35:1,22:1,523:1},VS);var Hme,Ume,Gme,qme,Kme,Yme=Fnt(L1t,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,qte,qZ,EF);dOt(1405,1,k3t,uh),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Zhe)),21).Hc((fBt(),lhe))?Ume:null},EWt.pf=function(t,e){hkt(this,$z(t,37),e);},bY(A3t,"InteractiveNodePlacer",1405),dOt(1406,1,k3t,ch),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Zhe)),21).Hc((fBt(),lhe))?Gme:null},EWt.pf=function(t,e){xmt(this,$z(t,37),e);},bY(A3t,"LinearSegmentsNodePlacer",1406),dOt(257,1,{35:1,257:1},nm),EWt.wd=function(t){return ak(this,$z(t,257))},EWt.Fb=function(t){var e;return !!iD(t,257)&&(e=$z(t,257),this.b==e.b)},EWt.Hb=function(){return this.b},EWt.Ib=function(){return "ls"+LTt(this.e)},EWt.a=0,EWt.b=0,EWt.c=-1,EWt.d=-1,EWt.g=0;var Wme,Xme=bY(A3t,"LinearSegmentsNodePlacer/LinearSegment",257);dOt(1408,1,k3t,RG),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Zhe)),21).Hc((fBt(),lhe))?Wme:null},EWt.pf=function(t,e){TYt(this,$z(t,37),e);},EWt.b=0,EWt.g=0,bY(A3t,"NetworkSimplexPlacer",1408),dOt(1427,1,EZt,Ba),EWt.ue=function(t,e){return xL($z(t,19).a,$z(e,19).a)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(A3t,"NetworkSimplexPlacer/0methodref$compare$Type",1427),dOt(1429,1,EZt,Ra),EWt.ue=function(t,e){return xL($z(t,19).a,$z(e,19).a)},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(A3t,"NetworkSimplexPlacer/1methodref$compare$Type",1429),dOt(649,1,{649:1},QS);var Vme=bY(A3t,"NetworkSimplexPlacer/EdgeRep",649);dOt(401,1,{401:1},HX),EWt.b=!1;var Zme,Qme,Jme,tve=bY(A3t,"NetworkSimplexPlacer/NodeRep",401);dOt(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},am),bY(A3t,"NetworkSimplexPlacer/Path",508),dOt(1409,1,{},ja),EWt.Kb=function(t){return $z(t,17).d.i.k},bY(A3t,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),dOt(1410,1,PXt,$a),EWt.Mb=function(t){return $z(t,267)==(oCt(),Tse)},bY(A3t,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),dOt(1411,1,{},Fa),EWt.Kb=function(t){return $z(t,17).d.i},bY(A3t,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),dOt(1412,1,PXt,eb),EWt.Mb=function(t){return FB(tpt($z(t,10)))},bY(A3t,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),dOt(1413,1,PXt,za),EWt.Mb=function(t){return cU($z(t,11))},bY(A3t,"NetworkSimplexPlacer/lambda$0$Type",1413),dOt(1414,1,hXt,JS),EWt.td=function(t){NL(this.a,this.b,$z(t,11));},bY(A3t,"NetworkSimplexPlacer/lambda$1$Type",1414),dOt(1423,1,hXt,nb),EWt.td=function(t){YAt(this.a,$z(t,17));},bY(A3t,"NetworkSimplexPlacer/lambda$10$Type",1423),dOt(1424,1,{},Ha),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$11$Type",1424),dOt(1425,1,hXt,ib),EWt.td=function(t){FBt(this.a,$z(t,10));},bY(A3t,"NetworkSimplexPlacer/lambda$12$Type",1425),dOt(1426,1,{},Ua),EWt.Kb=function(t){return $J(),nft($z(t,121).e)},bY(A3t,"NetworkSimplexPlacer/lambda$13$Type",1426),dOt(1428,1,{},Ga),EWt.Kb=function(t){return $J(),nft($z(t,121).e)},bY(A3t,"NetworkSimplexPlacer/lambda$15$Type",1428),dOt(1430,1,PXt,qa),EWt.Mb=function(t){return $J(),$z(t,401).c.k==(oCt(),Cse)},bY(A3t,"NetworkSimplexPlacer/lambda$17$Type",1430),dOt(1431,1,PXt,Ka),EWt.Mb=function(t){return $J(),$z(t,401).c.j.c.length>1},bY(A3t,"NetworkSimplexPlacer/lambda$18$Type",1431),dOt(1432,1,hXt,UX),EWt.td=function(t){rgt(this.c,this.b,this.d,this.a,$z(t,401));},EWt.c=0,EWt.d=0,bY(A3t,"NetworkSimplexPlacer/lambda$19$Type",1432),dOt(1415,1,{},Ya),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$2$Type",1415),dOt(1433,1,hXt,rb),EWt.td=function(t){LL(this.a,$z(t,11));},EWt.a=0,bY(A3t,"NetworkSimplexPlacer/lambda$20$Type",1433),dOt(1434,1,{},Wa),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$21$Type",1434),dOt(1435,1,hXt,ab),EWt.td=function(t){dD(this.a,$z(t,10));},bY(A3t,"NetworkSimplexPlacer/lambda$22$Type",1435),dOt(1436,1,PXt,Xa),EWt.Mb=function(t){return FB(t)},bY(A3t,"NetworkSimplexPlacer/lambda$23$Type",1436),dOt(1437,1,{},Va),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$24$Type",1437),dOt(1438,1,PXt,ob),EWt.Mb=function(t){return xI(this.a,$z(t,10))},bY(A3t,"NetworkSimplexPlacer/lambda$25$Type",1438),dOt(1439,1,hXt,tA),EWt.td=function(t){ESt(this.a,this.b,$z(t,10));},bY(A3t,"NetworkSimplexPlacer/lambda$26$Type",1439),dOt(1440,1,PXt,Za),EWt.Mb=function(t){return $J(),!h5($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$27$Type",1440),dOt(1441,1,PXt,Qa),EWt.Mb=function(t){return $J(),!h5($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$28$Type",1441),dOt(1442,1,{},sb),EWt.Ce=function(t,e){return sD(this.a,$z(t,29),$z(e,29))},bY(A3t,"NetworkSimplexPlacer/lambda$29$Type",1442),dOt(1416,1,{},Ja),EWt.Kb=function(t){return $J(),new PU(null,new UK(new oq(ZD(hdt($z(t,10)).a.Kc(),new l))))},bY(A3t,"NetworkSimplexPlacer/lambda$3$Type",1416),dOt(1417,1,PXt,to),EWt.Mb=function(t){return $J(),J0($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$4$Type",1417),dOt(1418,1,hXt,cb),EWt.td=function(t){nzt(this.a,$z(t,17));},bY(A3t,"NetworkSimplexPlacer/lambda$5$Type",1418),dOt(1419,1,{},eo),EWt.Kb=function(t){return $J(),new PU(null,new f1($z(t,29).a,16))},bY(A3t,"NetworkSimplexPlacer/lambda$6$Type",1419),dOt(1420,1,PXt,no),EWt.Mb=function(t){return $J(),$z(t,10).k==(oCt(),Cse)},bY(A3t,"NetworkSimplexPlacer/lambda$7$Type",1420),dOt(1421,1,{},io),EWt.Kb=function(t){return $J(),new PU(null,new UK(new oq(ZD(udt($z(t,10)).a.Kc(),new l))))},bY(A3t,"NetworkSimplexPlacer/lambda$8$Type",1421),dOt(1422,1,PXt,ro),EWt.Mb=function(t){return $J(),GH($z(t,17))},bY(A3t,"NetworkSimplexPlacer/lambda$9$Type",1422),dOt(1404,1,k3t,Th),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Zhe)),21).Hc((fBt(),lhe))?Zme:null},EWt.pf=function(t,e){vHt($z(t,37),e);},bY(A3t,"SimpleNodePlacer",1404),dOt(180,1,{180:1},Hjt),EWt.Ib=function(){var t;return t="",this.c==(gQ(),Jme)?t+=aQt:this.c==Qme&&(t+=rQt),this.o==(oJ(),nve)?t+=bQt:this.o==ive?t+="UP":t+="BALANCED",t},bY(O3t,"BKAlignedLayout",180),dOt(516,22,{3:1,35:1,22:1,516:1},iA);var eve,nve,ive,rve=Fnt(O3t,"BKAlignedLayout/HDirection",516,qte,YZ,TF);dOt(515,22,{3:1,35:1,22:1,515:1},nA);var ave,ove,sve,cve,uve,lve,hve,fve,dve,gve,pve,bve,wve,yve,mve,vve,xve,kve,_ve,Eve=Fnt(O3t,"BKAlignedLayout/VDirection",515,qte,WZ,CF);dOt(1634,1,{},eA),bY(O3t,"BKAligner",1634),dOt(1637,1,{},Zvt),bY(O3t,"BKCompactor",1637),dOt(654,1,{654:1},ao),EWt.a=0,bY(O3t,"BKCompactor/ClassEdge",654),dOt(458,1,{458:1},im),EWt.a=null,EWt.b=0,bY(O3t,"BKCompactor/ClassNode",458),dOt(1407,1,k3t,vM),EWt.Yf=function(t){return $z(yTt($z(t,37),(uWt(),Zhe)),21).Hc((fBt(),lhe))?ove:null},EWt.pf=function(t,e){iWt(this,$z(t,37),e);},EWt.d=!1,bY(O3t,"BKNodePlacer",1407),dOt(1635,1,{},oo),EWt.d=0,bY(O3t,"NeighborhoodInformation",1635),dOt(1636,1,EZt,ub),EWt.ue=function(t,e){return Eet(this,$z(t,46),$z(e,46))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(O3t,"NeighborhoodInformation/NeighborComparator",1636),dOt(808,1,{}),bY(O3t,"ThresholdStrategy",808),dOt(1763,808,{},dm),EWt.bg=function(t,e,n){return this.a.o==(oJ(),ive)?BVt:RVt},EWt.cg=function(){},bY(O3t,"ThresholdStrategy/NullThresholdStrategy",1763),dOt(579,1,{579:1},rA),EWt.c=!1,EWt.d=!1,bY(O3t,"ThresholdStrategy/Postprocessable",579),dOt(1764,808,{},gm),EWt.bg=function(t,e,n){var i,r,a;return r=e==n,i=this.a.a[n.p]==e,r||i?(a=t,this.a.c,gQ(),r&&(a=_Ht(this,e,!0)),!isNaN(a)&&!isFinite(a)&&i&&(a=_Ht(this,n,!1)),a):t},EWt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=rFt(this,n=$z(TQ(this.d),579))).a&&(t=e.a,(zv(this.a.f[this.a.g[n.b.p].p])||h5(t)||t.c.i.c!=t.d.i.c)&&(fLt(this,n)||nO(this.e,n)));for(;0!=this.e.a.c.length;)fLt(this,$z(tlt(this.e),579));},bY(O3t,"ThresholdStrategy/SimpleThresholdStrategy",1764),dOt(635,1,{635:1,246:1,234:1},so),EWt.Kf=function(){return _ot(this)},EWt.Xf=function(){return _ot(this)},bY(L3t,"EdgeRouterFactory",635),dOt(1458,1,k3t,Ch),EWt.Yf=function(t){return qPt($z(t,37))},EWt.pf=function(t,e){PHt($z(t,37),e);},bY(L3t,"OrthogonalEdgeRouter",1458),dOt(1451,1,k3t,xM),EWt.Yf=function(t){return kkt($z(t,37))},EWt.pf=function(t,e){MKt(this,$z(t,37),e);},bY(L3t,"PolylineEdgeRouter",1451),dOt(1452,1,HZt,co),EWt.Lb=function(t){return Xot($z(t,10))},EWt.Fb=function(t){return this===t},EWt.Mb=function(t){return Xot($z(t,10))},bY(L3t,"PolylineEdgeRouter/1",1452),dOt(1809,1,PXt,uo),EWt.Mb=function(t){return $z(t,129).c==(A6(),kve)},bY(D3t,"HyperEdgeCycleDetector/lambda$0$Type",1809),dOt(1810,1,{},lo),EWt.Ge=function(t){return $z(t,129).d},bY(D3t,"HyperEdgeCycleDetector/lambda$1$Type",1810),dOt(1811,1,PXt,ho),EWt.Mb=function(t){return $z(t,129).c==(A6(),kve)},bY(D3t,"HyperEdgeCycleDetector/lambda$2$Type",1811),dOt(1812,1,{},fo),EWt.Ge=function(t){return $z(t,129).d},bY(D3t,"HyperEdgeCycleDetector/lambda$3$Type",1812),dOt(1813,1,{},go),EWt.Ge=function(t){return $z(t,129).d},bY(D3t,"HyperEdgeCycleDetector/lambda$4$Type",1813),dOt(1814,1,{},po),EWt.Ge=function(t){return $z(t,129).d},bY(D3t,"HyperEdgeCycleDetector/lambda$5$Type",1814),dOt(112,1,{35:1,112:1},$ot),EWt.wd=function(t){return ok(this,$z(t,112))},EWt.Fb=function(t){var e;return !!iD(t,112)&&(e=$z(t,112),this.g==e.g)},EWt.Hb=function(){return this.g},EWt.Ib=function(){var t,e,n,i;for(t=new lN("{"),i=new Kd(this.n);i.a<i.c.c.length;)null==(e=pvt((n=$z(Q1(i),11)).i))&&(e="n"+Mj(n.i)),t.a+=""+e,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},EWt.a=0,EWt.b=0,EWt.c=NaN,EWt.d=0,EWt.g=0,EWt.i=0,EWt.o=0,EWt.s=NaN,bY(D3t,"HyperEdgeSegment",112),dOt(129,1,{129:1},UJ),EWt.Ib=function(){return this.a+"->"+this.b+" ("+fP(this.c)+")"},EWt.d=0,bY(D3t,"HyperEdgeSegmentDependency",129),dOt(520,22,{3:1,35:1,22:1,520:1},aA);var Tve,Cve,Sve,Ave,Mve,Ive,Ove,Lve,Dve=Fnt(D3t,"HyperEdgeSegmentDependency/DependencyType",520,qte,KZ,SF);dOt(1815,1,{},lb),bY(D3t,"HyperEdgeSegmentSplitter",1815),dOt(1816,1,{},Uk),EWt.a=0,EWt.b=0,bY(D3t,"HyperEdgeSegmentSplitter/AreaRating",1816),dOt(329,1,{329:1},mz),EWt.a=0,EWt.b=0,EWt.c=0,bY(D3t,"HyperEdgeSegmentSplitter/FreeArea",329),dOt(1817,1,EZt,_o),EWt.ue=function(t,e){return Aj($z(t,112),$z(e,112))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(D3t,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),dOt(1818,1,hXt,qX),EWt.td=function(t){Q3(this.a,this.d,this.c,this.b,$z(t,112));},EWt.b=0,bY(D3t,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),dOt(1819,1,{},Eo),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).e,16))},bY(D3t,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),dOt(1820,1,{},To),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).j,16))},bY(D3t,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),dOt(1821,1,{},Co),EWt.Fe=function(t){return Hv(_B(t))},bY(D3t,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),dOt(655,1,{},uY),EWt.a=0,EWt.b=0,EWt.c=0,bY(D3t,"OrthogonalRoutingGenerator",655),dOt(1638,1,{},So),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).e,16))},bY(D3t,"OrthogonalRoutingGenerator/lambda$0$Type",1638),dOt(1639,1,{},Ao),EWt.Kb=function(t){return new PU(null,new f1($z(t,112).j,16))},bY(D3t,"OrthogonalRoutingGenerator/lambda$1$Type",1639),dOt(661,1,{}),bY(N3t,"BaseRoutingDirectionStrategy",661),dOt(1807,661,{},pm),EWt.dg=function(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=n+t.o*i,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Q1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).a,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Q1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).a,e.Math.abs(f-b)>hJt&&(a=t,r=new DA(f,o=h),NH(s.a,r),$$t(this,s,a,r,!1),(d=t.r)&&(r=new DA(g=Hv(_B(Pwt(d.e,0))),o),NH(s.a,r),$$t(this,s,a,r,!1),a=d,r=new DA(g,o=n+d.o*i),NH(s.a,r),$$t(this,s,a,r,!1)),r=new DA(b,o),NH(s.a,r),$$t(this,s,a,r,!1)));},EWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},EWt.fg=function(){return vKt(),EMe},EWt.gg=function(){return vKt(),sMe},bY(N3t,"NorthToSouthRoutingStrategy",1807),dOt(1808,661,{},bm),EWt.dg=function(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=n-t.o*i,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Q1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).a,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Q1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).a,e.Math.abs(f-b)>hJt&&(a=t,r=new DA(f,o=h),NH(s.a,r),$$t(this,s,a,r,!1),(d=t.r)&&(r=new DA(g=Hv(_B(Pwt(d.e,0))),o),NH(s.a,r),$$t(this,s,a,r,!1),a=d,r=new DA(g,o=n-d.o*i),NH(s.a,r),$$t(this,s,a,r,!1)),r=new DA(b,o),NH(s.a,r),$$t(this,s,a,r,!1)));},EWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},EWt.fg=function(){return vKt(),sMe},EWt.gg=function(){return vKt(),EMe},bY(N3t,"SouthToNorthRoutingStrategy",1808),dOt(1806,661,{},wm),EWt.dg=function(t,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=n+t.o*i,l=new Kd(t.n);l.a<l.c.c.length;)for(u=$z(Q1(l),11),f=Ict(Cst(Hx(TTe,1),cXt,8,0,[u.i.n,u.n,u.a])).b,c=new Kd(u.g);c.a<c.c.c.length;)h5(s=$z(Q1(c),17))||(p=s.d,b=Ict(Cst(Hx(TTe,1),cXt,8,0,[p.i.n,p.n,p.a])).b,e.Math.abs(f-b)>hJt&&(a=t,r=new DA(o=h,f),NH(s.a,r),$$t(this,s,a,r,!0),(d=t.r)&&(r=new DA(o,g=Hv(_B(Pwt(d.e,0)))),NH(s.a,r),$$t(this,s,a,r,!0),a=d,r=new DA(o=n+d.o*i,g),NH(s.a,r),$$t(this,s,a,r,!0)),r=new DA(o,b),NH(s.a,r),$$t(this,s,a,r,!0)));},EWt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},EWt.fg=function(){return vKt(),oMe},EWt.gg=function(){return vKt(),CMe},bY(N3t,"WestToEastRoutingStrategy",1806),dOt(813,1,{},szt),EWt.Ib=function(){return LTt(this.a)},EWt.b=0,EWt.c=!1,EWt.d=!1,EWt.f=0,bY(B3t,"NubSpline",813),dOt(407,1,{407:1},kPt,fQ),bY(B3t,"NubSpline/PolarCP",407),dOt(1453,1,k3t,uvt),EWt.Yf=function(t){return iEt($z(t,37))},EWt.pf=function(t,e){rYt(this,$z(t,37),e);},bY(B3t,"SplineEdgeRouter",1453),dOt(268,1,{268:1},E6),EWt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},EWt.c=0,bY(B3t,"SplineEdgeRouter/Dependency",268),dOt(455,22,{3:1,35:1,22:1,455:1},oA);var Nve,Pve,Bve,Rve,jve,$ve=Fnt(B3t,"SplineEdgeRouter/SideToProcess",455,qte,XZ,AF);dOt(1454,1,PXt,xo),EWt.Mb=function(t){return pPt(),!$z(t,128).o},bY(B3t,"SplineEdgeRouter/lambda$0$Type",1454),dOt(1455,1,{},vo),EWt.Ge=function(t){return pPt(),$z(t,128).v+1},bY(B3t,"SplineEdgeRouter/lambda$1$Type",1455),dOt(1456,1,hXt,sA),EWt.td=function(t){eU(this.a,this.b,$z(t,46));},bY(B3t,"SplineEdgeRouter/lambda$2$Type",1456),dOt(1457,1,hXt,cA),EWt.td=function(t){nU(this.a,this.b,$z(t,46));},bY(B3t,"SplineEdgeRouter/lambda$3$Type",1457),dOt(128,1,{35:1,128:1},tAt,uUt),EWt.wd=function(t){return sk(this,$z(t,128))},EWt.b=0,EWt.e=!1,EWt.f=0,EWt.g=0,EWt.j=!1,EWt.k=!1,EWt.n=0,EWt.o=!1,EWt.p=!1,EWt.q=!1,EWt.s=0,EWt.u=0,EWt.v=0,EWt.F=0,bY(B3t,"SplineSegment",128),dOt(459,1,{459:1},ko),EWt.a=0,EWt.b=!1,EWt.c=!1,EWt.d=!1,EWt.e=!1,EWt.f=0,bY(B3t,"SplineSegment/EdgeInformation",459),dOt(1234,1,{},bo),bY(z3t,nJt,1234),dOt(1235,1,EZt,wo),EWt.ue=function(t,e){return AMt($z(t,135),$z(e,135))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(z3t,iJt,1235),dOt(1233,1,{},M_),bY(z3t,"MrTree",1233),dOt(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},uA),EWt.Kf=function(){return IMt(this)},EWt.Xf=function(){return IMt(this)};var Fve,zve=Fnt(z3t,"TreeLayoutPhases",393,qte,v3,MF);dOt(1130,209,DQt,RR),EWt.Ze=function(t,e){var n,i,r,a,o,s;for(zv(kB(QOt(t,(SOt(),Cxe))))||vQ(new kg((HT(),new Nv(t)))),Hot(o=new T6,t),uct(o,(HUt(),sxe),t),w$t(t,o,s=new Dw),Y$t(t,o,s),a=o,i=new Kd(r=N$t(this.a,a));i.a<i.c.c.length;)n=$z(Q1(i),135),Y_t(this.b,n,yat(e,1/r.c.length));Aqt(a=tWt(r));},bY(z3t,"TreeLayoutProvider",1130),dOt(1847,1,bXt,yo),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return EV(),OE(),hne},bY(z3t,"TreeUtil/1",1847),dOt(1848,1,bXt,mo),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return EV(),OE(),hne},bY(z3t,"TreeUtil/2",1848),dOt(502,134,{3:1,502:1,94:1,134:1}),EWt.g=0,bY(H3t,"TGraphElement",502),dOt(188,502,{3:1,188:1,502:1,94:1,134:1},GV),EWt.Ib=function(){return this.b&&this.c?g0(this.b)+"->"+g0(this.c):"e_"+Jct(this)},bY(H3t,"TEdge",188),dOt(135,134,{3:1,135:1,94:1,134:1},T6),EWt.Ib=function(){var t,e,n,i,r;for(r=null,i=cwt(this.b,0);i.b!=i.d.c;)r+=(null==(n=$z(h3(i),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=cwt(this.a,0);e.b!=e.d.c;)r+=((t=$z(h3(e),188)).b&&t.c?g0(t.b)+"->"+g0(t.c):"e_"+Jct(t))+"\n";return r};var Hve=bY(H3t,"TGraph",135);dOt(633,502,{3:1,502:1,633:1,94:1,134:1}),bY(H3t,"TShape",633),dOt(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},rut),EWt.Ib=function(){return g0(this)};var Uve,Gve,qve,Kve,Yve,Wve,Xve=bY(H3t,"TNode",86);dOt(255,1,bXt,hb),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return new fb(cwt(this.a.d,0))},bY(H3t,"TNode/2",255),dOt(358,1,XWt,fb),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return $z(h3(this.a),188).c},EWt.Ob=function(){return x_(this.a)},EWt.Qb=function(){yet(this.a);},bY(H3t,"TNode/2/1",358),dOt(1840,1,JJt,BR),EWt.pf=function(t,e){NFt(this,$z(t,135),e);},bY(U3t,"FanProcessor",1840),dOt(327,22,{3:1,35:1,22:1,327:1,234:1},lA),EWt.Kf=function(){switch(this.g){case 0:return new Wm;case 1:return new BR;case 2:return new Oo;case 3:return new Mo;case 4:return new Do;case 5:return new No;default:throw Fw(new Rv(E1t+(null!=this.f?this.f:""+this.g)))}};var Vve,Zve,Qve,Jve,txe,exe,nxe,ixe,rxe,axe,oxe,sxe,cxe,uxe,lxe,hxe,fxe,dxe,gxe,pxe,bxe,wxe,yxe,mxe,vxe,xxe,kxe,_xe,Exe,Txe,Cxe,Sxe,Axe,Mxe,Ixe,Oxe,Lxe,Dxe,Nxe,Pxe,Bxe,Rxe=Fnt(U3t,T1t,327,qte,n7,IF);dOt(1843,1,JJt,Mo),EWt.pf=function(t,e){oLt(this,$z(t,135),e);},EWt.a=0,bY(U3t,"LevelHeightProcessor",1843),dOt(1844,1,bXt,Io),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return EV(),OE(),hne},bY(U3t,"LevelHeightProcessor/1",1844),dOt(1841,1,JJt,Oo),EWt.pf=function(t,e){XSt(this,$z(t,135),e);},EWt.a=0,bY(U3t,"NeighborsProcessor",1841),dOt(1842,1,bXt,Lo),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return EV(),OE(),hne},bY(U3t,"NeighborsProcessor/1",1842),dOt(1845,1,JJt,Do),EWt.pf=function(t,e){aLt(this,$z(t,135),e);},EWt.a=0,bY(U3t,"NodePositionProcessor",1845),dOt(1839,1,JJt,Wm),EWt.pf=function(t,e){QHt(this,$z(t,135));},bY(U3t,"RootProcessor",1839),dOt(1846,1,JJt,No),EWt.pf=function(t,e){gft($z(t,135));},bY(U3t,"Untreeifyer",1846),dOt(851,1,XZt,Eh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K3t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),mxe),(CSt(),gTe)),zxe),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y3t),""),"Search Order"),"Which search order to use when computing a spanning tree."),wxe),gTe),Vxe),Jft(cTe)))),RGt((new _h,t));},bY(W3t,"MrTreeMetaDataProvider",851),dOt(994,1,XZt,_h),EWt.Qe=function(t){RGt(t);},bY(W3t,"MrTreeOptions",994),dOt(995,1,{},Po),EWt.$e=function(){return new RR},EWt._e=function(t){},bY(W3t,"MrTreeOptions/MrtreeFactory",995),dOt(480,22,{3:1,35:1,22:1,480:1},hA);var jxe,$xe,Fxe,zxe=Fnt(W3t,"OrderWeighting",480,qte,ZZ,OF);dOt(425,22,{3:1,35:1,22:1,425:1},fA);var Hxe,Uxe,Gxe,qxe,Kxe,Yxe,Wxe,Xxe,Vxe=Fnt(W3t,"TreeifyingOrder",425,qte,VZ,DF);dOt(1459,1,k3t,gh),EWt.Yf=function(t){return $z(t,135),Uxe},EWt.pf=function(t,e){mat(this,$z(t,135),e);},bY("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),dOt(1460,1,k3t,ph),EWt.Yf=function(t){return $z(t,135),Gxe},EWt.pf=function(t,e){lAt(this,$z(t,135),e);},bY("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),dOt(1461,1,k3t,dh),EWt.Yf=function(t){return $z(t,135),qxe},EWt.pf=function(t,e){JBt(this,$z(t,135),e);},EWt.a=0,bY("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),dOt(1462,1,k3t,bh),EWt.Yf=function(t){return $z(t,135),Kxe},EWt.pf=function(t,e){Nxt($z(t,135),e);},bY("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),dOt(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},dA),EWt.Kf=function(){return fgt(this)},EWt.Xf=function(){return fgt(this)};var Zxe,Qxe,Jxe,tke,eke=Fnt(Z3t,"RadialLayoutPhases",495,qte,QZ,LF);dOt(1131,209,DQt,A_),EWt.Ze=function(t,e){var n,i,r;if(MEt(e,"Radial layout",kAt(this,t).c.length),zv(kB(QOt(t,(qvt(),Mke))))||vQ(new kg((HT(),new Nv(t)))),r=oEt(t),Vwt(t,(fB(),Yxe),r),!r)throw Fw(new Rv("The given graph is not a tree!"));for(0==(n=Hv(_B(QOt(t,Nke))))&&(n=lMt(t)),Vwt(t,Nke,n),i=new Kd(kAt(this,t));i.a<i.c.c.length;)$z(Q1(i),51).pf(t,yat(e,1));zCt(e);},bY(Z3t,"RadialLayoutProvider",1131),dOt(549,1,EZt,S_),EWt.ue=function(t,e){return PRt(this.a,this.b,$z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},EWt.a=0,EWt.b=0,bY(Z3t,"RadialUtil/lambda$0$Type",549),dOt(1375,1,JJt,Ro),EWt.pf=function(t,e){gGt($z(t,33),e);},bY(t4t,"CalculateGraphSize",1375),dOt(442,22,{3:1,35:1,22:1,442:1,234:1},gA),EWt.Kf=function(){switch(this.g){case 0:return new Ho;case 1:return new Bo;case 2:return new Ro;default:throw Fw(new Rv(E1t+(null!=this.f?this.f:""+this.g)))}};var nke,ike,rke,ake=Fnt(t4t,T1t,442,qte,P1,NF);dOt(645,1,{}),EWt.e=1,EWt.g=0,bY(e4t,"AbstractRadiusExtensionCompaction",645),dOt(1772,645,{},gB),EWt.hg=function(t){var e,n,i,r,a,o,s,c,u;for(this.c=$z(QOt(t,(fB(),Yxe)),33),td(this,this.c),this.d=kyt($z(QOt(t,(qvt(),Pke)),293)),(c=$z(QOt(t,_ke),19))&&Jf(this,c.a),ed(this,(mW(s=_B(QOt(t,(cWt(),OSe)))),s)),u=dBt(this.c),this.d&&this.d.lg(u),wjt(this,u),o=new Vv(Cst(Hx(UIe,1),n4t,33,0,[this.c])),n=0;n<2;n++)for(e=0;e<u.c.length;e++)r=new Vv(Cst(Hx(UIe,1),n4t,33,0,[(l1(e,u.c.length),$z(u.c[e],33))])),a=e<u.c.length-1?(l1(e+1,u.c.length),$z(u.c[e+1],33)):(l1(0,u.c.length),$z(u.c[0],33)),i=0==e?$z(DU(u,u.c.length-1),33):(l1(e-1,u.c.length),$z(u.c[e-1],33)),QEt(this,(l1(e,u.c.length),$z(u.c[e],33),o),i,a,r);},bY(e4t,"AnnulusWedgeCompaction",1772),dOt(1374,1,JJt,Bo),EWt.pf=function(t,e){fkt($z(t,33),e);},bY(e4t,"GeneralCompactor",1374),dOt(1771,645,{},jo),EWt.hg=function(t){var e,n,i,r;n=$z(QOt(t,(fB(),Yxe)),33),this.f=n,this.b=kyt($z(QOt(t,(qvt(),Pke)),293)),(r=$z(QOt(t,_ke),19))&&Jf(this,r.a),ed(this,(mW(i=_B(QOt(t,(cWt(),OSe)))),i)),e=dBt(n),this.b&&this.b.lg(e),wSt(this,e);},EWt.a=0,bY(e4t,"RadialCompaction",1771),dOt(1779,1,{},$o),EWt.ig=function(t){var e,n,i,r,a,o;for(this.a=t,e=0,i=0,a=new Kd(o=dBt(t));a.a<a.c.c.length;)for(r=$z(Q1(a),33),n=++i;n<o.c.length;n++)VFt(this,r,(l1(n,o.c.length),$z(o.c[n],33)))&&(e+=1);return e},bY(i4t,"CrossingMinimizationPosition",1779),dOt(1777,1,{},Fo),EWt.ig=function(t){var n,i,r,a,o,s,c,u,h,f,d,g,p;for(r=0,i=new oq(ZD(gDt(t).a.Kc(),new l));gOt(i);)n=$z(G5(i),79),h=(c=CEt($z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82))).i+c.g/2,f=c.j+c.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(d=new Hk).a=h-a,d.b=f-o,qxt(s=new DA(d.a,d.b),t.g,t.f),d.a-=s.a,d.b-=s.b,a=h-d.a,o=f-d.b,qxt(u=new DA(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,g=(h=a+d.a)-a,p=(f=o+d.b)-o,r+=e.Math.sqrt(g*g+p*p);return r},bY(i4t,"EdgeLengthOptimization",1777),dOt(1778,1,{},zo),EWt.ig=function(t){var n,i,r,a,o,s,c,u,h;for(r=0,i=new oq(ZD(gDt(t).a.Kc(),new l));gOt(i);)n=$z(G5(i),79),s=(o=CEt($z(Yet((!n.c&&(n.c=new cj(PIe,n,5,8)),n.c),0),82))).i+o.g/2,c=o.j+o.f/2,a=$z(QOt(o,(cWt(),gSe)),8),u=s-(t.i+a.a+t.g/2),h=c-(t.j+a.b+t.f),r+=e.Math.sqrt(u*u+h*h);return r},bY(i4t,"EdgeLengthPositionOptimization",1778),dOt(1373,645,JJt,Ho),EWt.pf=function(t,e){lDt(this,$z(t,33),e);},bY("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),dOt(426,22,{3:1,35:1,22:1,426:1},pA);var oke,ske,cke,uke,lke=Fnt(a4t,"AnnulusWedgeCriteria",426,qte,JZ,PF);dOt(380,22,{3:1,35:1,22:1,380:1},bA);var hke,fke,dke,gke,pke,bke,wke,yke,mke,vke,xke,kke,_ke,Eke,Tke,Cke,Ske,Ake,Mke,Ike,Oke,Lke,Dke,Nke,Pke,Bke,Rke,jke,$ke,Fke,zke,Hke=Fnt(a4t,$Qt,380,qte,B1,BF);dOt(852,1,XZt,wh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o4t),""),"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."),nft(0)),(CSt(),bTe)),Iee),Jft((iwt(),sTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s4t),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c4t),""),"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."),gke),gTe),Hke),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,u4t),""),"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."),nft(1)),bTe),Iee),Jft(cTe)))),r2(t,u4t,c4t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l4t),""),"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."),vke),gTe),Xke),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h4t),""),"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."),kke),gTe),lke),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f4t),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),bke),gTe),Yke),Jft(cTe)))),tKt((new yh,t));},bY(a4t,"RadialMetaDataProvider",852),dOt(996,1,XZt,yh),EWt.Qe=function(t){tKt(t);},bY(a4t,"RadialOptions",996),dOt(997,1,{},Uo),EWt.$e=function(){return new A_},EWt._e=function(t){},bY(a4t,"RadialOptions/RadialFactory",997),dOt(340,22,{3:1,35:1,22:1,340:1},wA);var Uke,Gke,qke,Kke,Yke=Fnt(a4t,"RadialTranslationStrategy",340,qte,x3,RF);dOt(293,22,{3:1,35:1,22:1,293:1},yA);var Wke,Xke=Fnt(a4t,"SortingStrategy",293,qte,j1,jF);dOt(1449,1,k3t,Go),EWt.Yf=function(t){return $z(t,33),null},EWt.pf=function(t,e){TDt(this,$z(t,33),e);},EWt.c=0,bY("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),dOt(1775,1,{},qo),EWt.jg=function(t){return qwt(t)},bY(g4t,"AnnulusWedgeByLeafs",1775),dOt(1776,1,{},Ko),EWt.jg=function(t){return W_t(this,t)},bY(g4t,"AnnulusWedgeByNodeSpace",1776),dOt(1450,1,k3t,Yo),EWt.Yf=function(t){return $z(t,33),null},EWt.pf=function(t,e){f_t(this,$z(t,33),e);},bY("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),dOt(811,1,{},Vm),EWt.kg=function(t){},EWt.lg=function(t){Qw(this,t);},bY(p4t,"IDSorter",811),dOt(1774,1,EZt,Wo),EWt.ue=function(t,e){return Xrt($z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(p4t,"IDSorter/lambda$0$Type",1774),dOt(1773,1,{},Irt),EWt.kg=function(t){i2(this,t);},EWt.lg=function(t){t.dc()||(this.e||i2(this,QU($z(t.Xb(0),33))),Qw(this.e,t));},bY(p4t,"PolarCoordinateSorter",1773),dOt(1136,209,DQt,Xo),EWt.Ze=function(t,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;if(MEt(n,"Rectangle Packing",1),n.n&&n.n&&t&&y0(n,o2(t),(Fut(),aIe)),i=Hv(_B(QOt(t,(YLt(),l_e)))),g=$z(QOt(t,T_e),381),w=zv(kB(QOt(t,y_e))),v=zv(kB(QOt(t,E_e))),h=zv(kB(QOt(t,g_e))),x=$z(QOt(t,C_e),116),m=Hv(_B(QOt(t,I_e))),r=zv(kB(QOt(t,M_e))),f=zv(kB(QOt(t,p_e))),b=zv(kB(QOt(t,b_e))),E=Hv(_B(QOt(t,O_e))),!t.a&&(t.a=new tK(UIe,t,10,11)),_rt(_=t.a),b){for(d=new Lw,c=new MD(_);c.e!=c.i.gc();)T8(o=$z(vwt(c),33),d_e)&&(d.c[d.c.length]=o);for(u=new Kd(d);u.a<u.c.c.length;)stt(_,o=$z(Q1(u),33));for(EV(),wL(d,new Vo),l=new Kd(d);l.a<l.c.c.length;)o=$z(Q1(l),33),k=$z(QOt(o,d_e),19).a,cft(_,k=e.Math.min(k,_.i),o);for(p=0,s=new MD(_);s.e!=s.i.gc();)Vwt(o=$z(vwt(s),33),f_e,nft(p)),++p;}(y=KSt(t)).a-=x.b+x.c,y.b-=x.d+x.a,y.a,E<0||E<y.a?(a=Mjt(new vz(i,g,w),_,m,x),n.n&&n.n&&t&&y0(n,o2(t),(Fut(),aIe))):a=new tU(i,E,0,(VDt(),R_e)),y.a+=x.b+x.c,y.b+=x.d+x.a,v||(_rt(_),a=vqt(new w3(i,h,f,r,m),_,e.Math.max(y.a,a.c),y,n,t,x)),bot(_,x),RKt(t,a.c+(x.b+x.c),a.b+(x.d+x.a),!1,!0),zv(kB(QOt(t,__e)))||vQ(new kg((HT(),new Nv(t)))),n.n&&n.n&&t&&y0(n,o2(t),(Fut(),aIe)),zCt(n);},bY(m4t,"RectPackingLayoutProvider",1136),dOt(1137,1,EZt,Vo),EWt.ue=function(t,e){return dut($z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(m4t,"RectPackingLayoutProvider/lambda$0$Type",1137),dOt(1256,1,{},vz),EWt.a=0,EWt.c=!1,bY(v4t,"AreaApproximation",1256);var Vke,Zke,Qke,Jke=hU(v4t,"BestCandidateFilter");dOt(638,1,{526:1},Zo),EWt.mg=function(t,n,i){var r,a,o,s,c,u;for(u=new Lw,o=BVt,c=new Kd(t);c.a<c.c.c.length;)s=$z(Q1(c),220),o=e.Math.min(o,(s.c+(i.b+i.c))*(s.b+(i.d+i.a)));for(a=new Kd(t);a.a<a.c.c.length;)((r=$z(Q1(a),220)).c+(i.b+i.c))*(r.b+(i.d+i.a))==o&&(u.c[u.c.length]=r);return u},bY(v4t,"AreaFilter",638),dOt(639,1,{526:1},Qo),EWt.mg=function(t,n,i){var r,a,o,s,c,u;for(c=new Lw,u=BVt,s=new Kd(t);s.a<s.c.c.length;)o=$z(Q1(s),220),u=e.Math.min(u,e.Math.abs((o.c+(i.b+i.c))/(o.b+(i.d+i.a))-n));for(a=new Kd(t);a.a<a.c.c.length;)r=$z(Q1(a),220),e.Math.abs((r.c+(i.b+i.c))/(r.b+(i.d+i.a))-n)==u&&(c.c[c.c.length]=r);return c},bY(v4t,"AspectRatioFilter",639),dOt(637,1,{526:1},Jo),EWt.mg=function(t,n,i){var r,a,o,s,c,u;for(u=new Lw,o=RVt,c=new Kd(t);c.a<c.c.c.length;)s=$z(Q1(c),220),o=e.Math.max(o,XU(s.c+(i.b+i.c),s.b+(i.d+i.a),s.a));for(a=new Kd(t);a.a<a.c.c.length;)XU((r=$z(Q1(a),220)).c+(i.b+i.c),r.b+(i.d+i.a),r.a)==o&&(u.c[u.c.length]=r);return u},bY(v4t,"ScaleMeasureFilter",637),dOt(381,22,{3:1,35:1,22:1,381:1},mA);var t_e,e_e,n_e,i_e,r_e,a_e,o_e,s_e,c_e,u_e,l_e,h_e,f_e,d_e,g_e,p_e,b_e,w_e,y_e,m_e,v_e,x_e,k_e,__e,E_e,T_e,C_e,S_e,A_e,M_e,I_e,O_e,L_e=Fnt(x4t,"OptimizationGoal",381,qte,R1,$F);dOt(856,1,XZt,Sh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k4t),""),"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."),s_e),(CSt(),gTe)),L_e),Jft((iwt(),sTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_4t),""),"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."),(cN(),!0)),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E4t),""),"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."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,T4t),""),"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."),nft(-1)),bTe),Iee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C4t),""),"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),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,S4t),""),"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),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,A4t),""),"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),fTe),vee),Jft(sTe)))),r2(t,A4t,I4t,null),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M4t),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),dTe),Cee),Jft(sTe)))),DYt((new Ah,t));},bY(x4t,"RectPackingMetaDataProvider",856),dOt(1004,1,XZt,Ah),EWt.Qe=function(t){DYt(t);},bY(x4t,"RectPackingOptions",1004),dOt(1005,1,{},ts),EWt.$e=function(){return new Xo},EWt._e=function(t){},bY(x4t,"RectPackingOptions/RectpackingFactory",1005),dOt(1257,1,{},w3),EWt.a=0,EWt.b=!1,EWt.c=0,EWt.d=0,EWt.e=!1,EWt.f=!1,EWt.g=0,bY("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),dOt(187,1,{187:1},aut),EWt.a=0,EWt.c=!1,EWt.d=0,EWt.e=0,EWt.f=0,EWt.g=0,EWt.i=0,EWt.k=!1,EWt.o=BVt,EWt.p=BVt,EWt.r=0,EWt.s=0,EWt.t=0,bY(L4t,"Block",187),dOt(211,1,{211:1},PQ),EWt.a=0,EWt.b=0,EWt.d=0,EWt.e=0,EWt.f=0,bY(L4t,"BlockRow",211),dOt(443,1,{443:1},BQ),EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=0,bY(L4t,"BlockStack",443),dOt(220,1,{220:1},tU,agt),EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0;var D_e,N_e,P_e,B_e,R_e,j_e=bY(L4t,"DrawingData",220);dOt(355,22,{3:1,35:1,22:1,355:1},vA);var $_e,F_e,z_e,H_e,U_e=Fnt(L4t,"DrawingDataDescriptor",355,qte,L5,FF);dOt(200,1,{200:1},D0),EWt.b=0,EWt.c=0,EWt.e=0,EWt.f=0,bY(L4t,"RectRow",200),dOt(756,1,{},klt),EWt.j=0,bY(N4t,p1t,756),dOt(1245,1,{},es),EWt.Je=function(t){return K8(t.a,t.b)},bY(N4t,b1t,1245),dOt(1246,1,{},db),EWt.Je=function(t){return p6(this.a,t)},bY(N4t,w1t,1246),dOt(1247,1,{},gb),EWt.Je=function(t){return Mwt(this.a,t)},bY(N4t,y1t,1247),dOt(1248,1,{},pb),EWt.Je=function(t){return oct(this.a,t)},bY(N4t,"ElkGraphImporter/lambda$3$Type",1248),dOt(1249,1,{},bb),EWt.Je=function(t){return nIt(this.a,t)},bY(N4t,m1t,1249),dOt(1133,209,DQt,I_),EWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l,h;for(T8(t,(ETt(),mEe))&&(h=EB(QOt(t,(Fyt(),zEe))),(a=KRt(rit(),h))&&$z(sQ(a.f),209).Ze(t,yat(e,1))),Vwt(t,gEe,(I6(),Z_e)),Vwt(t,pEe,(OCt(),iEe)),Vwt(t,bEe,(Lst(),KEe)),o=$z(QOt(t,(Fyt(),REe)),19).a,MEt(e,"Overlap removal",1),zv(kB(QOt(t,BEe))),c=new wb(s=new Py),n=UYt(i=new klt,t),u=!0,r=0;r<o&&u;){if(zv(kB(QOt(t,jEe)))){if(s.a.$b(),zSt(new SL(c),n.i),0==s.a.gc())break;n.e=s;}for(c2(this.b),CK(this.b,(Cdt(),F_e),(AT(),HEe)),CK(this.b,z_e,n.g),CK(this.b,H_e,(ST(),W_e)),this.a=OUt(this.b,n),l=new Kd(this.a);l.a<l.c.c.length;)$z(Q1(l),51).pf(n,yat(e,1));rkt(i,n),u=zv(kB(yTt(n,(Kat(),Xre)))),++r;}PGt(i,n),zCt(e);},bY(N4t,"OverlapRemovalLayoutProvider",1133),dOt(1134,1,{},wb),bY(N4t,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),dOt(437,22,{3:1,35:1,22:1,437:1},xA);var G_e,q_e,K_e=Fnt(N4t,"SPOrEPhases",437,qte,$1,zF);dOt(1255,1,{},O_),bY(N4t,"ShrinkTree",1255),dOt(1135,209,DQt,Zm),EWt.Ze=function(t,e){var n,i,r,a;T8(t,(ETt(),mEe))&&(a=EB(QOt(t,mEe)),(r=KRt(rit(),a))&&$z(sQ(r.f),209).Ze(t,yat(e,1))),n=UYt(i=new klt,t),ODt(this.a,n,yat(e,1)),PGt(i,n);},bY(N4t,"ShrinkTreeLayoutProvider",1135),dOt(300,134,{3:1,300:1,94:1,134:1},NQ),EWt.c=!1,bY("org.eclipse.elk.alg.spore.graph","Graph",300),dOt(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},OT),EWt.Kf=function(){return eut(this)},EWt.Xf=function(){return eut(this)};var Y_e,W_e,X_e=Fnt(P4t,$Qt,482,qte,BX,HF);dOt(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},bB),EWt.Kf=function(){return new as},EWt.Xf=function(){return new as};var V_e,Z_e,Q_e,J_e=Fnt(P4t,"OverlapRemovalStrategy",551,qte,RX,UF);dOt(430,22,{3:1,35:1,22:1,430:1},kA);var tEe,eEe,nEe,iEe,rEe,aEe,oEe=Fnt(P4t,"RootSelection",430,qte,eQ,GF);dOt(316,22,{3:1,35:1,22:1,316:1},_A);var sEe,cEe,uEe,lEe,hEe,fEe,dEe,gEe,pEe,bEe,wEe,yEe,mEe,vEe,xEe,kEe,_Ee,EEe,TEe,CEe,SEe,AEe,MEe,IEe,OEe,LEe,DEe,NEe,PEe,BEe,REe,jEe,$Ee,FEe,zEe,HEe,UEe=Fnt(P4t,"SpanningTreeCostFunction",316,qte,M5,qF);dOt(1002,1,XZt,vh),EWt.Qe=function(t){mHt(t);},bY(P4t,"SporeCompactionOptions",1002),dOt(1003,1,{},ns),EWt.$e=function(){return new Zm},EWt._e=function(t){},bY(P4t,"SporeCompactionOptions/SporeCompactionFactory",1003),dOt(855,1,XZt,xh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,R4t),""),"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."),(CSt(),yTe)),Xee),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,H4t),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),NEe),gTe),YEe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,j4t),Y4t),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),LEe),gTe),XEe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$4t),Y4t),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),IEe),gTe),UEe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F4t),Y4t),"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),yTe),Xee),Jft(cTe)))),r2(t,F4t,z4t,CEe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z4t),Y4t),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),AEe),gTe),oEe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,U4t),k2t),"Compaction Strategy"),"This option defines how the compaction is applied."),xEe),gTe),X_e),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G4t),k2t),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(cN(),!1)),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q4t),W4t),"Upper limit for iterations of overlap removal"),null),nft(64)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K4t),W4t),"Whether to run a supplementary scanline overlap check."),null),!0),fTe),vee),Jft(cTe)))),Ijt((new kh,t)),mHt((new vh,t));},bY(P4t,"SporeMetaDataProvider",855),dOt(WXt,1,XZt,kh),EWt.Qe=function(t){Ijt(t);},bY(P4t,"SporeOverlapRemovalOptions",WXt),dOt(1001,1,{},is),EWt.$e=function(){return new I_},EWt._e=function(t){},bY(P4t,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),dOt(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},qW),EWt.Kf=function(){return nut(this)},EWt.Xf=function(){return nut(this)};var GEe,qEe,KEe,YEe=Fnt(P4t,"StructureExtractionStrategy",530,qte,jX,KF);dOt(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},EA),EWt.Kf=function(){return dgt(this)},EWt.Xf=function(){return dgt(this)};var WEe,XEe=Fnt(P4t,"TreeConstructionStrategy",429,qte,tQ,YF);dOt(1443,1,k3t,rs),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){_kt($z(t,300),e);},bY(V4t,"DelaunayTriangulationPhase",1443),dOt(1444,1,hXt,yb),EWt.td=function(t){Kz(this.a,$z(t,65).a);},bY(V4t,"DelaunayTriangulationPhase/lambda$0$Type",1444),dOt(783,1,k3t,Ym),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){this.ng($z(t,300),e);},EWt.ng=function(t,e){var n;MEt(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:$z(DU(t.i,0),65).a,Rst(this,(zv(kB(yTt(t,(Kat(),Wre)))),VHt(t.e,n,t.b)),t),zCt(e);},bY(Z4t,"MinSTPhase",783),dOt(1446,783,k3t,ym),EWt.ng=function(t,e){var n,i;MEt(e,"Maximum spanning tree construction",1),n=new mb(t),i=t.d?t.d.c:$z(DU(t.i,0),65).c,Rst(this,(zv(kB(yTt(t,(Kat(),Wre)))),VHt(t.e,i,n)),t),zCt(e);},bY(Z4t,"MaxSTPhase",1446),dOt(1447,1,{},mb),EWt.Je=function(t){return SA(this.a,t)},bY(Z4t,"MaxSTPhase/lambda$0$Type",1447),dOt(1445,1,hXt,vb),EWt.td=function(t){PL(this.a,$z(t,65));},bY(Z4t,"MinSTPhase/lambda$0$Type",1445),dOt(785,1,k3t,as),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){YEt(this,$z(t,300),e);},EWt.a=!1,bY(Q4t,"GrowTreePhase",785),dOt(786,1,hXt,xz),EWt.td=function(t){est(this.a,this.b,this.c,$z(t,221));},bY(Q4t,"GrowTreePhase/lambda$0$Type",786),dOt(1448,1,k3t,os),EWt.Yf=function(t){return $z(t,300),new $2},EWt.pf=function(t,e){tmt(this,$z(t,300),e);},bY(Q4t,"ShrinkTreeCompactionPhase",1448),dOt(784,1,hXt,kz),EWt.td=function(t){hOt(this.a,this.b,this.c,$z(t,221));},bY(Q4t,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var VEe,ZEe,QEe=hU(m3t,"IGraphElementVisitor");dOt(860,1,{527:1},P0),EWt.og=function(t){var e;Hot(e=uRt(this,t),$z(PY(this.b,t),94)),mDt(this,t,e);},bY(NQt,"LayoutConfigurator",860);var JEe,tTe,eTe,nTe=hU(NQt,"LayoutConfigurator/IPropertyHolderOptionFilter");dOt(932,1,{1933:1},ss),EWt.pg=function(t,e){return Dst(),!t.Xe(e)},bY(NQt,"LayoutConfigurator/lambda$0$Type",932),dOt(933,1,{1933:1},cs),EWt.pg=function(t,e){return E_(t,e)},bY(NQt,"LayoutConfigurator/lambda$1$Type",933),dOt(931,1,{831:1},us),EWt.qg=function(t,e){return Dst(),!t.Xe(e)},bY(NQt,"LayoutConfigurator/lambda$2$Type",931),dOt(934,1,PXt,OA),EWt.Mb=function(t){return XW(this.a,this.b,$z(t,1933))},bY(NQt,"LayoutConfigurator/lambda$3$Type",934),dOt(858,1,{},ls),bY(NQt,"RecursiveGraphLayoutEngine",858),dOt(296,60,FXt,my,nx),bY(NQt,"UnsupportedConfigurationException",296),dOt(453,60,FXt,ix),bY(NQt,"UnsupportedGraphException",453),dOt(754,1,{}),bY(m3t,"AbstractRandomListAccessor",754),dOt(500,754,{},SNt),EWt.rg=function(){return null},EWt.d=!0,EWt.e=!0,EWt.f=0,bY(t5t,"AlgorithmAssembler",500),dOt(1236,1,PXt,hs),EWt.Mb=function(t){return !!$z(t,123)},bY(t5t,"AlgorithmAssembler/lambda$0$Type",1236),dOt(1237,1,{},xb),EWt.Kb=function(t){return hk(this.a,$z(t,123))},bY(t5t,"AlgorithmAssembler/lambda$1$Type",1237),dOt(1238,1,PXt,fs),EWt.Mb=function(t){return !!$z(t,80)},bY(t5t,"AlgorithmAssembler/lambda$2$Type",1238),dOt(1239,1,hXt,kb),EWt.td=function(t){Zat(this.a,$z(t,80));},bY(t5t,"AlgorithmAssembler/lambda$3$Type",1239),dOt(1240,1,hXt,LA),EWt.td=function(t){NP(this.a,this.b,$z(t,234));},bY(t5t,"AlgorithmAssembler/lambda$4$Type",1240),dOt(1355,1,EZt,ds),EWt.ue=function(t,e){return jV($z(t,234),$z(e,234))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(t5t,"EnumBasedFactoryComparator",1355),dOt(80,754,{80:1},$2),EWt.rg=function(){return new Py},EWt.a=0,bY(t5t,"LayoutProcessorConfiguration",80),dOt(1013,1,{527:1},Mh),EWt.og=function(t){Jat(tTe,new _b(t));},bY(GZt,"DeprecatedLayoutOptionReplacer",1013),dOt(1014,1,hXt,gs),EWt.td=function(t){L7($z(t,160));},bY(GZt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),dOt(1015,1,hXt,ps),EWt.td=function(t){_gt($z(t,160));},bY(GZt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),dOt(1016,1,{},_b),EWt.Od=function(t,e){PP(this.a,$z(t,146),$z(e,38));},bY(GZt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),dOt(149,1,{686:1,149:1},EEt),EWt.Fb=function(t){return v5(this,t)},EWt.sg=function(){return this.b},EWt.tg=function(){return this.c},EWt.ne=function(){return this.e},EWt.Hb=function(){return wyt(this.c)},EWt.Ib=function(){return "Layout Algorithm: "+this.c};var iTe,rTe=bY(GZt,"LayoutAlgorithmData",149);dOt(263,1,{},bs),bY(GZt,"LayoutAlgorithmData/Builder",263),dOt(1017,1,{527:1},ws),EWt.og=function(t){iD(t,239)&&!zv(kB(t.We((cWt(),UCe))))&&RFt($z(t,33));},bY(GZt,"LayoutAlgorithmResolver",1017),dOt(229,1,{686:1,229:1},GJ),EWt.Fb=function(t){return !!iD(t,229)&&wj(this.b,$z(t,229).b)},EWt.sg=function(){return this.a},EWt.tg=function(){return this.b},EWt.ne=function(){return this.d},EWt.Hb=function(){return wyt(this.b)},EWt.Ib=function(){return "Layout Type: "+this.b},bY(GZt,"LayoutCategoryData",229),dOt(344,1,{},ys),bY(GZt,"LayoutCategoryData/Builder",344),dOt(867,1,{},MRt),bY(GZt,"LayoutMetaDataService",867),dOt(868,1,{},GY),bY(GZt,"LayoutMetaDataService/Registry",868),dOt(478,1,{478:1},ms),bY(GZt,"LayoutMetaDataService/Registry/Triple",478),dOt(869,1,e5t,vs),EWt.ug=function(){return new Hk},bY(GZt,"LayoutMetaDataService/lambda$0$Type",869),dOt(870,1,n5t,xs),EWt.vg=function(t){return $L($z(t,8))},bY(GZt,"LayoutMetaDataService/lambda$1$Type",870),dOt(879,1,e5t,ks),EWt.ug=function(){return new Lw},bY(GZt,"LayoutMetaDataService/lambda$10$Type",879),dOt(880,1,n5t,_s),EWt.vg=function(t){return new Jj($z(t,12))},bY(GZt,"LayoutMetaDataService/lambda$11$Type",880),dOt(881,1,e5t,Es),EWt.ug=function(){return new XE},bY(GZt,"LayoutMetaDataService/lambda$12$Type",881),dOt(882,1,n5t,Ts),EWt.vg=function(t){return Uz($z(t,68))},bY(GZt,"LayoutMetaDataService/lambda$13$Type",882),dOt(883,1,e5t,Cs),EWt.ug=function(){return new Py},bY(GZt,"LayoutMetaDataService/lambda$14$Type",883),dOt(884,1,n5t,Ss),EWt.vg=function(t){return VV($z(t,53))},bY(GZt,"LayoutMetaDataService/lambda$15$Type",884),dOt(885,1,e5t,As),EWt.ug=function(){return new uO},bY(GZt,"LayoutMetaDataService/lambda$16$Type",885),dOt(886,1,n5t,Ms),EWt.vg=function(t){return E4($z(t,53))},bY(GZt,"LayoutMetaDataService/lambda$17$Type",886),dOt(887,1,e5t,Is),EWt.ug=function(){return new Uy},bY(GZt,"LayoutMetaDataService/lambda$18$Type",887),dOt(888,1,n5t,Os),EWt.vg=function(t){return Hz($z(t,208))},bY(GZt,"LayoutMetaDataService/lambda$19$Type",888),dOt(871,1,e5t,Ls),EWt.ug=function(){return new mm},bY(GZt,"LayoutMetaDataService/lambda$2$Type",871),dOt(872,1,n5t,Ds),EWt.vg=function(t){return new Bk($z(t,74))},bY(GZt,"LayoutMetaDataService/lambda$3$Type",872),dOt(873,1,e5t,Ns),EWt.ug=function(){return new lm},bY(GZt,"LayoutMetaDataService/lambda$4$Type",873),dOt(874,1,n5t,Ps),EWt.vg=function(t){return new M$($z(t,142))},bY(GZt,"LayoutMetaDataService/lambda$5$Type",874),dOt(875,1,e5t,Rs),EWt.ug=function(){return new hm},bY(GZt,"LayoutMetaDataService/lambda$6$Type",875),dOt(876,1,n5t,js),EWt.vg=function(t){return new A$($z(t,116))},bY(GZt,"LayoutMetaDataService/lambda$7$Type",876),dOt(877,1,e5t,$s),EWt.ug=function(){return new Qs},bY(GZt,"LayoutMetaDataService/lambda$8$Type",877),dOt(878,1,n5t,Fs),EWt.vg=function(t){return new ntt($z(t,373))},bY(GZt,"LayoutMetaDataService/lambda$9$Type",878);var aTe,oTe,sTe,cTe,uTe,lTe=hU(AQt,"IProperty");dOt(23,1,{35:1,686:1,23:1,146:1},fSt),EWt.wd=function(t){return gD(this,$z(t,146))},EWt.Fb=function(t){return iD(t,23)?wj(this.f,$z(t,23).f):iD(t,146)&&wj(this.f,$z(t,146).tg())},EWt.wg=function(){var t;if(iD(this.b,4)){if(null==(t=Zpt(this.b)))throw Fw(new jv(s5t+this.f+"'. Make sure it's type is registered with the "+(xB(lOe),lOe.k)+r5t));return t}return this.b},EWt.sg=function(){return this.d},EWt.tg=function(){return this.f},EWt.ne=function(){return this.i},EWt.Hb=function(){return wyt(this.f)},EWt.Ib=function(){return "Layout Option: "+this.f},bY(GZt,"LayoutOptionData",23),dOt(24,1,{},zs),bY(GZt,"LayoutOptionData/Builder",24),dOt(175,22,{3:1,35:1,22:1,175:1},MA);var hTe,fTe,dTe,gTe,pTe,bTe,wTe,yTe,mTe,vTe=Fnt(GZt,"LayoutOptionData/Target",175,qte,A5,WF);dOt(277,22,{3:1,35:1,22:1,277:1},IA);var xTe,kTe,_Te,ETe=Fnt(GZt,"LayoutOptionData/Type",277,qte,jet,XF);dOt(110,1,{110:1},hO,GX,gZ),EWt.Fb=function(t){var e;return !(null==t||!iD(t,110))&&(e=$z(t,110),iX(this.c,e.c)&&iX(this.d,e.d)&&iX(this.b,e.b)&&iX(this.a,e.a))},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.c,this.d,this.b,this.a]))},EWt.Ib=function(){return "Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,bY(l1t,"ElkRectangle",110),dOt(8,1,{3:1,4:1,8:1,414:1},Hk,qJ,DA,fO),EWt.Fb=function(t){return Jit(this,t)},EWt.Hb=function(){return YI(this.a)+fvt(YI(this.b))},EWt.Jf=function(t){var e,n,i;for(n=0;n<t.length&&Nlt((h1(n,t.length),t.charCodeAt(n)),s1t);)++n;for(e=t.length;e>0&&Nlt((h1(e-1,t.length),t.charCodeAt(e-1)),c1t);)--e;if(n>=e)throw Fw(new Rv("The given string does not contain any numbers."));if(2!=(i=vjt(t.substr(n,e-n),",|;|\r|\n")).length)throw Fw(new Rv("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=fCt(BTt(i[0])),this.b=fCt(BTt(i[1]));}catch(t){throw iD(t=hst(t),127)?Fw(new Rv(u1t+t)):Fw(t)}},EWt.Ib=function(){return "("+this.a+","+this.b+")"},EWt.a=0,EWt.b=0;var TTe=bY(l1t,"KVector",8);dOt(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},mm,Bk,GP),EWt.Pc=function(){return Wut(this)},EWt.Jf=function(t){var e,n,i,r,a;n=vjt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),yV(this);try{for(e=0,r=0,i=0,a=0;e<n.length;)null!=n[e]&&BTt(n[e]).length>0&&(r%2==0?i=fCt(n[e]):a=fCt(n[e]),r>0&&r%2!=0&&NH(this,new DA(i,a)),++r),++e;}catch(t){throw iD(t=hst(t),127)?Fw(new Rv("The given string does not match the expected format for vectors."+t)):Fw(t)}},EWt.Ib=function(){var t,e,n;for(t=new lN("("),e=cwt(this,0);e.b!=e.d.c;)oI(t,(n=$z(h3(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return (t.a+=")",t).a};var CTe,STe,ATe,MTe,ITe,OTe,LTe=bY(l1t,"KVectorChain",74);dOt(248,22,{3:1,35:1,22:1,248:1},NA);var DTe,NTe,PTe,BTe,RTe,jTe,$Te,FTe,zTe,HTe,UTe,GTe,qTe,KTe,YTe,WTe,XTe,VTe,ZTe,QTe=Fnt(u5t,"Alignment",248,qte,V8,VF);dOt(979,1,XZt,Ih),EWt.Qe=function(t){U$t(t);},bY(u5t,"BoxLayouterOptions",979),dOt(980,1,{},Bs),EWt.$e=function(){return new qs},EWt._e=function(t){},bY(u5t,"BoxLayouterOptions/BoxFactory",980),dOt(291,22,{3:1,35:1,22:1,291:1},PA);var JTe,tCe,eCe,nCe,iCe,rCe,aCe,oCe,sCe,cCe,uCe,lCe,hCe,fCe,dCe,gCe,pCe,bCe,wCe,yCe,mCe,vCe,xCe,kCe,_Ce,ECe,TCe,CCe,SCe,ACe,MCe,ICe,OCe,LCe,DCe,NCe,PCe,BCe,RCe,jCe,$Ce,FCe,zCe,HCe,UCe,GCe,qCe,KCe,YCe,WCe,XCe,VCe,ZCe,QCe,JCe,tSe,eSe,nSe,iSe,rSe,aSe,oSe,sSe,cSe,uSe,lSe,hSe,fSe,dSe,gSe,pSe,bSe,wSe,ySe,mSe,vSe,xSe,kSe,_Se,ESe,TSe,CSe,SSe,ASe,MSe,ISe,OSe,LSe,DSe,NSe,PSe,BSe,RSe,jSe,$Se,FSe,zSe=Fnt(u5t,"ContentAlignment",291,qte,X8,ZF);dOt(684,1,XZt,Oh),EWt.Qe=function(t){Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,d5t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(CSt(),yTe)),Xee),Jft((iwt(),cTe))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,g5t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),wTe),rTe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Y2t),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),nCe),gTe),QTe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,WQt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,p5t),""),"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."),wTe),LTe),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,o3t),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),uCe),pTe),zSe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,K2t),""),"Debug Mode"),"Whether additional debug information shall be generated."),(cN(),!1)),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Z2t),""),_Qt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),fCe),gTe),KSe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m2t),""),"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."),wCe),gTe),oAe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,I4t),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,g2t),""),"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`."),kCe),gTe),EAe),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,XQt),""),"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."),KCe),wTe),Rse),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,xJt),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y3t),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,EJt),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,kJt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),oSe),gTe),rMe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,p3t),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),wTe),TTe),xG(sTe,Cst(Hx(vTe,1),OXt,175,0,[uTe,oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,bJt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),bTe),Iee),xG(sTe,Cst(Hx(vTe,1),OXt,175,0,[aTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,mJt),""),"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)."),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,vJt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,s3t),""),"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."),MCe),wTe),LTe),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,l3t),""),"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),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,h3t),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,b5t),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),wTe),PNe),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,b3t),""),"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."),OCe),wTe),xse),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,G2t),""),"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),fTe),vee),xG(sTe,Cst(Hx(vTe,1),OXt,175,0,[aTe,uTe,oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w5t),""),"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),dTe),Cee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,y5t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,m5t),""),"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'."),nft(100)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,v5t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,x5t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),nft(4e3)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,k5t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),nft(400)),bTe),Iee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_5t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,E5t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,T5t),""),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,C5t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,f5t),"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."),oCe),gTe),iIe),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,L2t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,D2t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,KQt),v2t),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,N2t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,yJt),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,P2t),v2t),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,B2t),v2t),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,$2t),v2t),"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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,R2t),v2t),"Horizontal spacing between Label and Port"),"Horizontal 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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,j2t),v2t),"Vertical spacing between Label and Port"),"Vertical 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),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,wJt),v2t),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,F2t),v2t),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),dTe),Cee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,z2t),v2t),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),dTe),Cee),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[sTe]))))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,H2t),v2t),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),wTe),cIe),xG(sTe,Cst(Hx(vTe,1),OXt,175,0,[aTe,uTe,oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,w3t),v2t),"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."),NSe),wTe),xse),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,g3t),I5t),"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)."),bTe),Iee),xG(cTe,Cst(Hx(vTe,1),OXt,175,0,[sTe]))))),r2(t,g3t,d3t,VCe),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,d3t),I5t),"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."),WCe),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,Q2t),O5t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),DCe),wTe),Rse),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,SJt),O5t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),PCe),pTe),HAe),xG(sTe,Cst(Hx(vTe,1),OXt,175,0,[oTe]))))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,e3t),L5t),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),QCe),gTe),VAe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,n3t),L5t),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),gTe),VAe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,i3t),L5t),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),gTe),VAe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,r3t),L5t),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),gTe),VAe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,a3t),L5t),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),gTe),VAe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,CJt),D5t),"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."),RCe),pTe),XMe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,TJt),D5t),"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."),HCe),pTe),eIe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,FJt),D5t),"Node Size Minimum"),"The minimal size to which a node can be reduced."),FCe),wTe),TTe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,V2t),D5t),"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),fTe),vee),Jft(cTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,c3t),I2t),"Edge Label Placement"),"Gives a hint on where to put edge labels."),pCe),gTe),QSe),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,_Jt),I2t),"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),fTe),vee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,S5t),"font"),"Font Name"),"Font name used for a label."),yTe),Xee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,A5t),"font"),"Font Size"),"Font size used for a label."),bTe),Iee),Jft(oTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,f3t),N5t),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),wTe),TTe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,u3t),N5t),"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."),bTe),Iee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,q2t),N5t),"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."),dSe),gTe),jMe),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(xk(Ck(_k(Ek(new zs,U2t),N5t),"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."),dTe),Cee),Jft(uTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,AJt),P5t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),lSe),pTe),SMe),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,J2t),P5t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,t3t),P5t),"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),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,W2t),B5t),"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),fTe),vee),Jft(sTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,X2t),B5t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),fTe),vee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,YQt),"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),dTe),Cee),Jft(aTe)))),Idt(t,new fSt(Ak(Sk(Mk(kk(xk(Ck(_k(Ek(new zs,M5t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),mCe),gTe),yAe),Jft(aTe)))),DT(t,new GJ(yk(vk(mk(new ys,d1t),"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.'))),DT(t,new GJ(yk(vk(mk(new ys,"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.'))),DT(t,new GJ(yk(vk(mk(new ys,pJt),"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."))),DT(t,new GJ(yk(vk(mk(new ys,"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."))),DT(t,new GJ(yk(vk(mk(new ys,V3t),"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."))),DT(t,new GJ(yk(vk(mk(new ys,"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."))),DT(t,new GJ(yk(vk(mk(new ys,d4t),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),fjt((new Lh,t)),U$t((new Ih,t)),BBt((new Dh,t));},bY(u5t,"CoreOptions",684),dOt(103,22,{3:1,35:1,22:1,103:1},BA);var HSe,USe,GSe,qSe,KSe=Fnt(u5t,_Qt,103,qte,C5,tz);dOt(272,22,{3:1,35:1,22:1,272:1},RA);var YSe,WSe,XSe,VSe,ZSe,QSe=Fnt(u5t,"EdgeLabelPlacement",272,qte,z1,ez);dOt(218,22,{3:1,35:1,22:1,218:1},jA);var JSe,tAe,eAe,nAe,iAe,rAe,aAe,oAe=Fnt(u5t,"EdgeRouting",218,qte,E3,nz);dOt(312,22,{3:1,35:1,22:1,312:1},$A);var sAe,cAe,uAe,lAe,hAe,fAe,dAe,gAe,pAe,bAe,wAe,yAe=Fnt(u5t,"EdgeType",312,qte,r7,iz);dOt(977,1,XZt,Lh),EWt.Qe=function(t){fjt(t);},bY(u5t,"FixedLayouterOptions",977),dOt(978,1,{},Vs),EWt.$e=function(){return new Us},EWt._e=function(t){},bY(u5t,"FixedLayouterOptions/FixedFactory",978),dOt(334,22,{3:1,35:1,22:1,334:1},FA);var mAe,vAe,xAe,kAe,_Ae,EAe=Fnt(u5t,"HierarchyHandling",334,qte,F1,rz);dOt(285,22,{3:1,35:1,22:1,285:1},zA);var TAe,CAe,SAe,AAe,MAe,IAe,OAe,LAe,DAe,NAe,PAe=Fnt(u5t,"LabelSide",285,qte,_3,az);dOt(93,22,{3:1,35:1,22:1,93:1},HA);var BAe,RAe,jAe,$Ae,FAe,zAe,HAe=Fnt(u5t,"NodeLabelPlacement",93,qte,vnt,oz);dOt(249,22,{3:1,35:1,22:1,249:1},UA);var UAe,GAe,qAe,KAe,YAe,WAe,XAe,VAe=Fnt(u5t,"PortAlignment",249,qte,S5,sz);dOt(98,22,{3:1,35:1,22:1,98:1},GA);var ZAe,QAe,JAe,tMe,eMe,nMe,iMe,rMe=Fnt(u5t,"PortConstraints",98,qte,E8,cz);dOt(273,22,{3:1,35:1,22:1,273:1},qA);var aMe,oMe,sMe,cMe,uMe,lMe,hMe,fMe,dMe,gMe,pMe,bMe,wMe,yMe,mMe,vMe,xMe,kMe,_Me,EMe,TMe,CMe,SMe=Fnt(u5t,"PortLabelPlacement",273,qte,i7,uz);dOt(61,22,{3:1,35:1,22:1,61:1},KA);var AMe,MMe,IMe,OMe,LMe,DMe,NMe,PMe,BMe,RMe,jMe=Fnt(u5t,"PortSide",61,qte,c5,fz);dOt(981,1,XZt,Dh),EWt.Qe=function(t){BBt(t);},bY(u5t,"RandomLayouterOptions",981),dOt(982,1,{},Zs),EWt.$e=function(){return new ec},EWt._e=function(t){},bY(u5t,"RandomLayouterOptions/RandomFactory",982),dOt(374,22,{3:1,35:1,22:1,374:1},YA);var $Me,FMe,zMe,HMe,UMe,GMe,qMe,KMe,YMe,WMe,XMe=Fnt(u5t,"SizeConstraint",374,qte,k3,lz);dOt(259,22,{3:1,35:1,22:1,259:1},WA);var VMe,ZMe,QMe,JMe,tIe,eIe=Fnt(u5t,"SizeOptions",259,qte,kit,hz);dOt(370,1,{1949:1},qm),EWt.b=!1,EWt.c=0,EWt.d=-1,EWt.e=null,EWt.f=null,EWt.g=-1,EWt.j=!1,EWt.k=!1,EWt.n=!1,EWt.o=0,EWt.q=0,EWt.r=0,bY(m3t,"BasicProgressMonitor",370),dOt(972,209,DQt,qs),EWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l;MEt(e,"Box layout",2),r=Uv(_B(QOt(t,(TTt(),qTe)))),a=$z(QOt(t,HTe),116),n=zv(kB(QOt(t,RTe))),i=zv(kB(QOt(t,jTe))),0===$z(QOt(t,PTe),311).g?(s=new Jj((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a)),EV(),wL(s,new Eb(i)),o=s,c=KSt(t),(null==(u=_B(QOt(t,NTe)))||(mW(u),u<=0))&&(u=1.3),RKt(t,(l=zKt(o,r,a,c.a,c.b,n,(mW(u),u))).a,l.b,!1,!0)):vUt(t,r,a,n),zCt(e);},bY(m3t,"BoxLayoutProvider",972),dOt(973,1,EZt,Eb),EWt.ue=function(t,e){return uNt(this,$z(t,33),$z(e,33))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},EWt.a=!1,bY(m3t,"BoxLayoutProvider/1",973),dOt(157,1,{157:1},Uet,UP),EWt.Ib=function(){return this.c?GRt(this.c):LTt(this.b)},bY(m3t,"BoxLayoutProvider/Group",157),dOt(311,22,{3:1,35:1,22:1,311:1},XA);var nIe,iIe=Fnt(m3t,"BoxLayoutProvider/PackingMode",311,qte,T3,dz);dOt(974,1,EZt,Ks),EWt.ue=function(t,e){return NV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(m3t,"BoxLayoutProvider/lambda$0$Type",974),dOt(975,1,EZt,Ys),EWt.ue=function(t,e){return iV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(m3t,"BoxLayoutProvider/lambda$1$Type",975),dOt(976,1,EZt,Ws),EWt.ue=function(t,e){return rV($z(t,157),$z(e,157))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(m3t,"BoxLayoutProvider/lambda$2$Type",976),dOt(1365,1,{831:1},Xs),EWt.qg=function(t,e){return MT(),!iD(e,160)||E_((Dst(),$z(t,160)),e)},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),dOt(1366,1,hXt,Tb),EWt.td=function(t){Zut(this.a,$z(t,146));},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),dOt(1367,1,hXt,Gs),EWt.td=function(t){$z(t,94),MT();},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),dOt(1371,1,hXt,Cb),EWt.td=function(t){Mrt(this.a,$z(t,94));},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),dOt(1369,1,PXt,VA),EWt.Mb=function(t){return Wct(this.a,this.b,$z(t,146))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),dOt(1368,1,PXt,ZA),EWt.Mb=function(t){return IP(this.a,this.b,$z(t,831))},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),dOt(1370,1,hXt,QA),EWt.td=function(t){jq(this.a,this.b,$z(t,146));},bY(m3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),dOt(935,1,{},Hs),EWt.Kb=function(t){return yO(t)},EWt.Fb=function(t){return this===t},bY(m3t,"ElkUtil/lambda$0$Type",935),dOt(936,1,hXt,JA),EWt.td=function(t){iIt(this.a,this.b,$z(t,79));},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$1$Type",936),dOt(937,1,hXt,tM),EWt.td=function(t){xv(this.a,this.b,$z(t,202));},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$2$Type",937),dOt(938,1,hXt,eM),EWt.td=function(t){JO(this.a,this.b,$z(t,137));},EWt.a=0,EWt.b=0,bY(m3t,"ElkUtil/lambda$3$Type",938),dOt(939,1,hXt,Sb),EWt.td=function(t){iU(this.a,$z(t,469));},bY(m3t,"ElkUtil/lambda$4$Type",939),dOt(342,1,{35:1,342:1},Iw),EWt.wd=function(t){return bD(this,$z(t,236))},EWt.Fb=function(t){var e;return !!iD(t,342)&&(e=$z(t,342),this.a==e.a)},EWt.Hb=function(){return CQ(this.a)},EWt.Ib=function(){return this.a+" (exclusive)"},EWt.a=0,bY(m3t,"ExclusiveBounds/ExclusiveLowerBound",342),dOt(1138,209,DQt,Us),EWt.Ze=function(t,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(MEt(n,"Fixed Layout",1),o=$z(QOt(t,(cWt(),bCe)),218),d=0,g=0,y=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));y.e!=y.i.gc();){for(b=$z(vwt(y),33),(E=$z(QOt(b,(Kut(),gAe)),8))&&(EO(b,E.a,E.b),$z(QOt(b,uAe),174).Hc((ypt(),NMe))&&(p=$z(QOt(b,hAe),8)).a>0&&p.b>0&&RKt(b,p.a,p.b,!0,!0)),d=e.Math.max(d,b.i+b.g),g=e.Math.max(g,b.j+b.f),h=new MD((!b.n&&(b.n=new tK(HIe,b,1,7)),b.n));h.e!=h.i.gc();)c=$z(vwt(h),137),(E=$z(QOt(c,gAe),8))&&EO(c,E.a,E.b),d=e.Math.max(d,b.i+c.i+c.g),g=e.Math.max(g,b.j+c.j+c.f);for(x=new MD((!b.c&&(b.c=new tK(GIe,b,9,9)),b.c));x.e!=x.i.gc();)for(v=$z(vwt(x),118),(E=$z(QOt(v,gAe),8))&&EO(v,E.a,E.b),k=b.i+v.i,_=b.j+v.j,d=e.Math.max(d,k+v.g),g=e.Math.max(g,_+v.f),u=new MD((!v.n&&(v.n=new tK(HIe,v,1,7)),v.n));u.e!=u.i.gc();)c=$z(vwt(u),137),(E=$z(QOt(c,gAe),8))&&EO(c,E.a,E.b),d=e.Math.max(d,k+c.i+c.g),g=e.Math.max(g,_+c.j+c.f);for(a=new oq(ZD(gDt(b).a.Kc(),new l));gOt(a);)f=jKt(i=$z(G5(a),79)),d=e.Math.max(d,f.a),g=e.Math.max(g,f.b);for(r=new oq(ZD(dDt(b).a.Kc(),new l));gOt(r);)VQ(CTt(i=$z(G5(r),79)))!=t&&(f=jKt(i),d=e.Math.max(d,f.a),g=e.Math.max(g,f.b));}if(o==(Edt(),WSe))for(w=new MD((!t.a&&(t.a=new tK(UIe,t,10,11)),t.a));w.e!=w.i.gc();)for(r=new oq(ZD(gDt(b=$z(vwt(w),33)).a.Kc(),new l));gOt(r);)0==(s=iFt(i=$z(G5(r),79))).b?Vwt(i,ACe,null):Vwt(i,ACe,s);zv(kB(QOt(t,(Kut(),lAe))))||RKt(t,d+(m=$z(QOt(t,fAe),116)).b+m.c,g+m.d+m.a,!0,!0),zCt(n);},bY(m3t,"FixedLayoutProvider",1138),dOt(373,134,{3:1,414:1,373:1,94:1,134:1},Qs,ntt),EWt.Jf=function(t){var e,n,i,r,a,o,s;if(t)try{for(o=vjt(t,";,;"),r=0,a=(i=o).length;r<a;++r){if(e=vjt(i[r],"\\:"),!(n=bGt(rit(),e[0])))throw Fw(new Rv("Invalid option id: "+e[0]));if(null==(s=QUt(n,e[1])))throw Fw(new Rv("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new Dw),b6(this.q,n)):(!this.q&&(this.q=new Dw),YW(this.q,n,s));}}catch(t){throw iD(t=hst(t),102)?Fw(new $ut(t)):Fw(t)}},EWt.Ib=function(){return EB(T4(IX((this.q?this.q:(EV(),EV(),une)).vc().Oc(),new Js),D9(new Xz,new J,new W,new X,Cst(Hx(Qne,1),OXt,132,0,[]))))};var rIe,aIe,oIe,sIe,cIe=bY(m3t,"IndividualSpacings",373);dOt(971,1,{},Js),EWt.Kb=function(t){return PV($z(t,42))},bY(m3t,"IndividualSpacings/lambda$0$Type",971),dOt(709,1,{},sG),EWt.c=0,bY(m3t,"InstancePool",709),dOt(1275,1,{},tc),bY(m3t,"LoggedGraph",1275),dOt(396,22,{3:1,35:1,22:1,396:1},iM);var uIe,lIe,hIe,fIe=Fnt(m3t,"LoggedGraph/Type",396,qte,C3,gz);dOt(46,1,{20:1,46:1},nM),EWt.Jc=function(t){t5(this,t);},EWt.Fb=function(t){var e,n,i;return !!iD(t,46)&&(n=$z(t,46),e=null==this.a?null==n.a:Dht(this.a,n.a),i=null==this.b?null==n.b:Dht(this.b,n.b),e&&i)},EWt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:Jct(this.a)),e&XXt^(-65536&(n=null==this.b?0:Jct(this.b)))>>16&XXt|t^(n&XXt)<<16},EWt.Kc=function(){return new Ab(this)},EWt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+Fdt(this.b)+")":null==this.b?"pair("+Fdt(this.a)+",null)":"pair("+Fdt(this.a)+","+Fdt(this.b)+")"},bY(m3t,"Pair",46),dOt(983,1,XWt,Ab),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return !this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},EWt.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 Fw(new yy)},EWt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),Fw(new dy)},EWt.b=!1,EWt.c=!1,bY(m3t,"Pair/1",983),dOt(448,1,{448:1},YX),EWt.Fb=function(t){return iX(this.a,$z(t,448).a)&&iX(this.c,$z(t,448).c)&&iX(this.d,$z(t,448).d)&&iX(this.b,$z(t,448).b)},EWt.Hb=function(){return llt(Cst(Hx(Ite,1),zWt,1,5,[this.a,this.c,this.d,this.b]))},EWt.Ib=function(){return "("+this.a+$Wt+this.c+$Wt+this.d+$Wt+this.b+")"},bY(m3t,"Quadruple",448),dOt(1126,209,DQt,ec),EWt.Ze=function(t,e){var n;MEt(e,"Random Layout",1),0!=(!t.a&&(t.a=new tK(UIe,t,10,11)),t.a).i?(nKt(t,(n=$z(QOt(t,(wpt(),LMe)),19))&&0!=n.a?new C4(n.a):new cdt,Uv(_B(QOt(t,MMe))),Uv(_B(QOt(t,DMe))),$z(QOt(t,IMe),116)),zCt(e)):zCt(e);},bY(m3t,"RandomLayoutProvider",1126),dOt(553,1,{}),EWt.qf=function(){return new DA(this.f.i,this.f.j)},EWt.We=function(t){return xZ(t,(cWt(),rSe))?QOt(this.f,hIe):QOt(this.f,t)},EWt.rf=function(){return new DA(this.f.g,this.f.f)},EWt.sf=function(){return this.g},EWt.Xe=function(t){return T8(this.f,t)},EWt.tf=function(t){Cnt(this.f,t.a),Snt(this.f,t.b);},EWt.uf=function(t){Tnt(this.f,t.a),Ent(this.f,t.b);},EWt.vf=function(t){this.g=t;},EWt.g=0,bY(z5t,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),dOt(554,1,{839:1},Mb),EWt.wf=function(){var t,e;if(!this.b)for(this.b=C2(wX(this.a).i),e=new MD(wX(this.a));e.e!=e.i.gc();)t=$z(vwt(e),137),Kz(this.b,new Pv(t));return this.b},EWt.b=null,bY(z5t,"ElkGraphAdapters/ElkEdgeAdapter",554),dOt(301,553,{},Nv),EWt.xf=function(){return evt(this)},EWt.a=null,bY(z5t,"ElkGraphAdapters/ElkGraphAdapter",301),dOt(630,553,{181:1},Pv),bY(z5t,"ElkGraphAdapters/ElkLabelAdapter",630),dOt(629,553,{680:1},VN),EWt.wf=function(){return Jmt(this)},EWt.Af=function(){var t;return !(t=$z(QOt(this.f,(cWt(),ICe)),142))&&(t=new lm),t},EWt.Cf=function(){return tvt(this)},EWt.Ef=function(t){var e;e=new M$(t),Vwt(this.f,(cWt(),ICe),e);},EWt.Ff=function(t){Vwt(this.f,(cWt(),qCe),new A$(t));},EWt.yf=function(){return this.d},EWt.zf=function(){var t,e;if(!this.a)for(this.a=new Lw,e=new oq(ZD(dDt($z(this.f,33)).a.Kc(),new l));gOt(e);)t=$z(G5(e),79),Kz(this.a,new Mb(t));return this.a},EWt.Bf=function(){var t,e;if(!this.c)for(this.c=new Lw,e=new oq(ZD(gDt($z(this.f,33)).a.Kc(),new l));gOt(e);)t=$z(G5(e),79),Kz(this.c,new Mb(t));return this.c},EWt.Df=function(){return 0!=XV($z(this.f,33)).i||zv(kB($z(this.f,33).We((cWt(),ECe))))},EWt.Gf=function(){R9(this,(HT(),lIe));},EWt.a=null,EWt.b=null,EWt.c=null,EWt.d=null,EWt.e=null,bY(z5t,"ElkGraphAdapters/ElkNodeAdapter",629),dOt(1266,553,{838:1},ow),EWt.wf=function(){return vvt(this)},EWt.zf=function(){var t,e;if(!this.a)for(this.a=sP($z(this.f,118).xg().i),e=new MD($z(this.f,118).xg());e.e!=e.i.gc();)t=$z(vwt(e),79),Kz(this.a,new Mb(t));return this.a},EWt.Bf=function(){var t,e;if(!this.c)for(this.c=sP($z(this.f,118).yg().i),e=new MD($z(this.f,118).yg());e.e!=e.i.gc();)t=$z(vwt(e),79),Kz(this.c,new Mb(t));return this.c},EWt.Hf=function(){return $z($z(this.f,118).We((cWt(),fSe)),61)},EWt.If=function(){var t,e,n,i,r,a,o;for(i=KQ($z(this.f,118)),n=new MD($z(this.f,118).yg());n.e!=n.i.gc();)for(o=new MD((!(t=$z(vwt(n),79)).c&&(t.c=new cj(PIe,t,5,8)),t.c));o.e!=o.i.gc();){if(Set(CEt(a=$z(vwt(o),82)),i))return !0;if(CEt(a)==i&&zv(kB(QOt(t,(cWt(),TCe)))))return !0}for(e=new MD($z(this.f,118).xg());e.e!=e.i.gc();)for(r=new MD((!(t=$z(vwt(e),79)).b&&(t.b=new cj(PIe,t,4,7)),t.b));r.e!=r.i.gc();)if(Set(CEt($z(vwt(r),82)),i))return !0;return !1},EWt.a=null,EWt.b=null,EWt.c=null,bY(z5t,"ElkGraphAdapters/ElkPortAdapter",1266),dOt(1267,1,EZt,nc),EWt.ue=function(t,e){return URt($z(t,118),$z(e,118))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(z5t,"ElkGraphAdapters/PortComparator",1267);var dIe,gIe,pIe,bIe,wIe,yIe,mIe,vIe,xIe,kIe,_Ie,EIe,TIe,CIe,SIe,AIe,MIe,IIe=hU(H5t,"EObject"),OIe=hU(U5t,G5t),LIe=hU(U5t,q5t),DIe=hU(U5t,K5t),NIe=hU(U5t,"ElkShape"),PIe=hU(U5t,Y5t),BIe=hU(U5t,W5t),RIe=hU(U5t,X5t),jIe=hU(H5t,V5t),$Ie=hU(H5t,"EFactory"),FIe=hU(H5t,Z5t),zIe=hU(H5t,"EPackage"),HIe=hU(U5t,Q5t),UIe=hU(U5t,J5t),GIe=hU(U5t,t6t);dOt(90,1,e6t),EWt.Jg=function(){return this.Kg(),null},EWt.Kg=function(){return null},EWt.Lg=function(){return this.Kg(),!1},EWt.Mg=function(){return !1},EWt.Ng=function(t){fot(this,t);},bY(n6t,"BasicNotifierImpl",90),dOt(97,90,l6t),EWt.nh=function(){return wO(this)},EWt.Og=function(t,e){return t},EWt.Pg=function(){throw Fw(new py)},EWt.Qg=function(t){var e;return e=Syt($z(eet(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},EWt.Rg=function(t,e){throw Fw(new py)},EWt.Sg=function(t,e,n){return _$t(this,t,e,n)},EWt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},EWt.Ug=function(){return rOt(this)},EWt.Vg=function(){throw Fw(new py)},EWt.Wg=function(){var t,e;return !(e=this.ph().dk())&&this.Pg().ik((WT(),e=null==(t=lQ(HFt(this.Tg())))?OLe:new WN(this,t))),e},EWt.Xg=function(t,e){return t},EWt.Yg=function(t){return t.Gj()?t.aj():Igt(this.Tg(),t)},EWt.Zg=function(){var t;return (t=this.Pg())?t.fk():null},EWt.$g=function(){return this.Pg()?this.Pg().ck():null},EWt._g=function(t,e,n){return Qwt(this,t,e,n)},EWt.ah=function(t){return E7(this,t)},EWt.bh=function(t,e){return Y5(this,t,e)},EWt.dh=function(){var t;return !!(t=this.Pg())&&t.gk()},EWt.eh=function(){throw Fw(new py)},EWt.fh=function(){return Vpt(this)},EWt.gh=function(t,e,n,i){return Dwt(this,t,e,i)},EWt.hh=function(t,e,n){return $z(eet(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},EWt.ih=function(t,e,n,i){return oQ(this,t,e,i)},EWt.jh=function(t,e,n){return $z(eet(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},EWt.kh=function(){return !!this.Pg()&&!!this.Pg().ek()},EWt.lh=function(t){return wwt(this,t)},EWt.mh=function(t){return ZQ(this,t)},EWt.oh=function(t){return jUt(this,t)},EWt.ph=function(){throw Fw(new py)},EWt.qh=function(){return this.Pg()?this.Pg().ek():null},EWt.rh=function(){return Vpt(this)},EWt.sh=function(t,e){mAt(this,t,e);},EWt.th=function(t){this.ph().hk(t);},EWt.uh=function(t){this.ph().kk(t);},EWt.vh=function(t){this.ph().jk(t);},EWt.wh=function(t,e){var n,i,r,a;return (a=this.Zg())&&t&&(e=jwt(a.Vk(),this,e),a.Zk(this)),(i=this.eh())&&(pjt(this,this.eh(),this.Vg()).Bb&FVt?(r=i.fh())&&(t?!a&&r.Zk(this):r.Yk(this)):(e=(n=this.Vg())>=0?this.Qg(e):this.eh().ih(this,-1-n,null,e),e=this.Sg(null,-1,e))),this.uh(t),e},EWt.xh=function(t){var e,n,i,r,a,o,s;if((a=Igt(n=this.Tg(),t))>=(e=this.Ah()))return $z(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=$Ut((ASt(),VLe),n,t)))throw Fw(new Rv(i6t+t.ne()+o6t));if(ZT(),$z(o,66).Oj()||(o=Z1($9(VLe,o))),r=$z((i=this.Yg(o))>=0?this._g(i,!0,!0):rIt(this,o,!0),153),(s=o.Zj())>1||-1==s)return $z($z(r,215).hl(t,!1),76)}else if(t.$j())return $z((i=this.Yg(t))>=0?this._g(i,!1,!0):rIt(this,t,!1),76);return new SM(this,t)},EWt.yh=function(){return W9(this)},EWt.zh=function(){return (WY(),QOe).S},EWt.Ah=function(){return hY(this.zh())},EWt.Bh=function(t){ySt(this,t);},EWt.Ib=function(){return CLt(this)},bY(h6t,"BasicEObjectImpl",97),dOt(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),EWt.Ch=function(t){return X9(this)[t]},EWt.Dh=function(t,e){IY(X9(this),t,e);},EWt.Eh=function(t){IY(X9(this),t,null);},EWt.Jg=function(){return $z(mot(this,4),126)},EWt.Kg=function(){throw Fw(new py)},EWt.Lg=function(){return !!(4&this.Db)},EWt.Pg=function(){throw Fw(new py)},EWt.Fh=function(t){ubt(this,2,t);},EWt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t);},EWt.Tg=function(){return vZ(this)},EWt.Vg=function(){return this.Db>>16},EWt.Wg=function(){var t;return WT(),null==(t=lQ(HFt($z(mot(this,16),26)||this.zh())))?OLe:new WN(this,t)},EWt.Mg=function(){return !(1&this.Db)},EWt.Zg=function(){return $z(mot(this,128),1935)},EWt.$g=function(){return $z(mot(this,16),26)},EWt.dh=function(){return !!(32&this.Db)},EWt.eh=function(){return $z(mot(this,2),49)},EWt.kh=function(){return !!(64&this.Db)},EWt.ph=function(){throw Fw(new py)},EWt.qh=function(){return $z(mot(this,64),281)},EWt.th=function(t){ubt(this,16,t);},EWt.uh=function(t){ubt(this,128,t);},EWt.vh=function(t){ubt(this,64,t);},EWt.yh=function(){return lbt(this)},EWt.Db=0,bY(h6t,"MinimalEObjectImpl",114),dOt(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt.Fh=function(t){this.Cb=t;},EWt.eh=function(){return this.Cb},bY(h6t,"MinimalEObjectImpl/Container",115),dOt(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return kvt(this,t,e,n)},EWt.jh=function(t,e,n){return eCt(this,t,e,n)},EWt.lh=function(t){return w0(this,t)},EWt.sh=function(t,e){iut(this,t,e);},EWt.zh=function(){return SYt(),TIe},EWt.Bh=function(t){Gst(this,t);},EWt.Ve=function(){return hwt(this)},EWt.We=function(t){return QOt(this,t)},EWt.Xe=function(t){return T8(this,t)},EWt.Ye=function(t,e){return Vwt(this,t,e)},bY(f6t,"EMapPropertyHolderImpl",1985),dOt(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),EWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Qwt(this,t,e,n)},EWt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return wwt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return void xnt(this,Hv(_B(e)));case 1:return void knt(this,Hv(_B(e)))}mAt(this,t,e);},EWt.zh=function(){return SYt(),pIe},EWt.Bh=function(t){switch(t){case 0:return void xnt(this,0);case 1:return void knt(this,0)}ySt(this,t);},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):((t=new uN(CLt(this))).a+=" (x: ",b_(t,this.a),t.a+=", y: ",b_(t,this.b),t.a+=")",t.a)},EWt.a=0,EWt.b=0,bY(f6t,"ElkBendPointImpl",567),dOt(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return jht(this,t,e,n)},EWt.hh=function(t,e,n){return $Et(this,t,e,n)},EWt.jh=function(t,e,n){return ist(this,t,e,n)},EWt.lh=function(t){return kot(this,t)},EWt.sh=function(t,e){Ukt(this,t,e);},EWt.zh=function(){return SYt(),mIe},EWt.Bh=function(t){sht(this,t);},EWt.zg=function(){return this.k},EWt.Ag=function(){return wX(this)},EWt.Ib=function(){return Vft(this)},EWt.k=null,bY(f6t,"ElkGraphElementImpl",723),dOt(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return Bdt(this,t,e,n)},EWt.lh=function(t){return lgt(this,t)},EWt.sh=function(t,e){Gkt(this,t,e);},EWt.zh=function(){return SYt(),EIe},EWt.Bh=function(t){Pgt(this,t);},EWt.Bg=function(){return this.f},EWt.Cg=function(){return this.g},EWt.Dg=function(){return this.i},EWt.Eg=function(){return this.j},EWt.Fg=function(t,e){_O(this,t,e);},EWt.Gg=function(t,e){EO(this,t,e);},EWt.Hg=function(t){Cnt(this,t);},EWt.Ig=function(t){Snt(this,t);},EWt.Ib=function(){return yCt(this)},EWt.f=0,EWt.g=0,EWt.i=0,EWt.j=0,bY(f6t,"ElkShapeImpl",724),dOt(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),EWt._g=function(t,e,n){return zyt(this,t,e,n)},EWt.hh=function(t,e,n){return gkt(this,t,e,n)},EWt.jh=function(t,e,n){return pkt(this,t,e,n)},EWt.lh=function(t){return Uct(this,t)},EWt.sh=function(t,e){LOt(this,t,e);},EWt.zh=function(){return SYt(),bIe},EWt.Bh=function(t){Nwt(this,t);},EWt.xg=function(){return !this.d&&(this.d=new cj(BIe,this,8,5)),this.d},EWt.yg=function(){return !this.e&&(this.e=new cj(BIe,this,7,4)),this.e},bY(f6t,"ElkConnectableShapeImpl",725),dOt(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},rc),EWt.Qg=function(t){return Ext(this,t)},EWt._g=function(t,e,n){switch(t){case 3:return qQ(this);case 4:return !this.b&&(this.b=new cj(PIe,this,4,7)),this.b;case 5:return !this.c&&(this.c=new cj(PIe,this,5,8)),this.c;case 6:return !this.a&&(this.a=new tK(RIe,this,6,6)),this.a;case 7:return cN(),!this.b&&(this.b=new cj(PIe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cj(PIe,this,5,8)),this.c.i<=1));case 8:return cN(),!!JIt(this);case 9:return cN(),!!XMt(this);case 10:return cN(),!this.b&&(this.b=new cj(PIe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cj(PIe,this,5,8)),0!=this.c.i)}return jht(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?Ext(this,n):this.Cb.ih(this,-1-i,null,n)),YB(this,$z(t,33),n);case 4:return !this.b&&(this.b=new cj(PIe,this,4,7)),Vgt(this.b,t,n);case 5:return !this.c&&(this.c=new cj(PIe,this,5,8)),Vgt(this.c,t,n);case 6:return !this.a&&(this.a=new tK(RIe,this,6,6)),Vgt(this.a,t,n)}return $Et(this,t,e,n)},EWt.jh=function(t,e,n){switch(e){case 3:return YB(this,null,n);case 4:return !this.b&&(this.b=new cj(PIe,this,4,7)),jwt(this.b,t,n);case 5:return !this.c&&(this.c=new cj(PIe,this,5,8)),jwt(this.c,t,n);case 6:return !this.a&&(this.a=new tK(RIe,this,6,6)),jwt(this.a,t,n)}return ist(this,t,e,n)},EWt.lh=function(t){switch(t){case 3:return !!qQ(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 cj(PIe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new cj(PIe,this,5,8)),this.c.i<=1));case 8:return JIt(this);case 9:return XMt(this);case 10:return !this.b&&(this.b=new cj(PIe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new cj(PIe,this,5,8)),0!=this.c.i)}return kot(this,t)},EWt.sh=function(t,e){switch(t){case 3:return void zDt(this,$z(e,33));case 4:return !this.b&&(this.b=new cj(PIe,this,4,7)),cUt(this.b),!this.b&&(this.b=new cj(PIe,this,4,7)),void pY(this.b,$z(e,14));case 5:return !this.c&&(this.c=new cj(PIe,this,5,8)),cUt(this.c),!this.c&&(this.c=new cj(PIe,this,5,8)),void pY(this.c,$z(e,14));case 6:return !this.a&&(this.a=new tK(RIe,this,6,6)),cUt(this.a),!this.a&&(this.a=new tK(RIe,this,6,6)),void pY(this.a,$z(e,14))}Ukt(this,t,e);},EWt.zh=function(){return SYt(),wIe},EWt.Bh=function(t){switch(t){case 3:return void zDt(this,null);case 4:return !this.b&&(this.b=new cj(PIe,this,4,7)),void cUt(this.b);case 5:return !this.c&&(this.c=new cj(PIe,this,5,8)),void cUt(this.c);case 6:return !this.a&&(this.a=new tK(RIe,this,6,6)),void cUt(this.a)}sht(this,t);},EWt.Ib=function(){return hHt(this)},bY(f6t,"ElkEdgeImpl",352),dOt(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},oc),EWt.Qg=function(t){return cxt(this,t)},EWt._g=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 ID(LIe,this,5)),this.a;case 6:return YQ(this);case 7:return e?Cyt(this):this.i;case 8:return e?Tyt(this):this.f;case 9:return !this.g&&(this.g=new cj(RIe,this,9,10)),this.g;case 10:return !this.e&&(this.e=new cj(RIe,this,10,9)),this.e;case 11:return this.d}return kvt(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?cxt(this,n):this.Cb.ih(this,-1-i,null,n)),WB(this,$z(t,79),n);case 9:return !this.g&&(this.g=new cj(RIe,this,9,10)),Vgt(this.g,t,n);case 10:return !this.e&&(this.e=new cj(RIe,this,10,9)),Vgt(this.e,t,n)}return $z(eet($z(mot(this,16),26)||(SYt(),yIe),e),66).Nj().Qj(this,lbt(this),e-hY((SYt(),yIe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 5:return !this.a&&(this.a=new ID(LIe,this,5)),jwt(this.a,t,n);case 6:return WB(this,null,n);case 9:return !this.g&&(this.g=new cj(RIe,this,9,10)),jwt(this.g,t,n);case 10:return !this.e&&(this.e=new cj(RIe,this,10,9)),jwt(this.e,t,n)}return eCt(this,t,e,n)},EWt.lh=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 !!YQ(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 w0(this,t)},EWt.sh=function(t,e){switch(t){case 1:return void Ant(this,Hv(_B(e)));case 2:return void Int(this,Hv(_B(e)));case 3:return void _nt(this,Hv(_B(e)));case 4:return void Mnt(this,Hv(_B(e)));case 5:return !this.a&&(this.a=new ID(LIe,this,5)),cUt(this.a),!this.a&&(this.a=new ID(LIe,this,5)),void pY(this.a,$z(e,14));case 6:return void $Dt(this,$z(e,79));case 7:return void Dit(this,$z(e,82));case 8:return void Lit(this,$z(e,82));case 9:return !this.g&&(this.g=new cj(RIe,this,9,10)),cUt(this.g),!this.g&&(this.g=new cj(RIe,this,9,10)),void pY(this.g,$z(e,14));case 10:return !this.e&&(this.e=new cj(RIe,this,10,9)),cUt(this.e),!this.e&&(this.e=new cj(RIe,this,10,9)),void pY(this.e,$z(e,14));case 11:return void rrt(this,EB(e))}iut(this,t,e);},EWt.zh=function(){return SYt(),yIe},EWt.Bh=function(t){switch(t){case 1:return void Ant(this,0);case 2:return void Int(this,0);case 3:return void _nt(this,0);case 4:return void Mnt(this,0);case 5:return !this.a&&(this.a=new ID(LIe,this,5)),void cUt(this.a);case 6:return void $Dt(this,null);case 7:return void Dit(this,null);case 8:return void Lit(this,null);case 9:return !this.g&&(this.g=new cj(RIe,this,9,10)),void cUt(this.g);case 10:return !this.e&&(this.e=new cj(RIe,this,10,9)),void cUt(this.e);case 11:return void rrt(this,null)}Gst(this,t);},EWt.Ib=function(){return BIt(this)},EWt.b=0,EWt.c=0,EWt.d=null,EWt.j=0,EWt.k=0,bY(f6t,"ElkEdgeSectionImpl",439),dOt(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab):G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n)):$z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n)):$z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.oh=function(t){return uKt(this,t)},EWt.sh=function(t,e){if(0===t)return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.uh=function(t){ubt(this,128,t);},EWt.zh=function(){return pWt(),lLe},EWt.Bh=function(t){if(0===t)return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.Gh=function(){this.Bb|=1;},EWt.Hh=function(t){return D$t(this,t)},EWt.Bb=0,bY(h6t,"EModelElementImpl",150),dOt(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Nh),EWt.Ih=function(t,e){return HGt(this,t,e)},EWt.Jh=function(t){var e,n,i,r;if(this.a!=qet(t)||256&t.Bb)throw Fw(new Rv(y6t+t.zb+p6t));for(n=mZ(t);0!=r4(n.a).i;){if(nvt(e=$z(eGt(n,0,iD(r=$z(Yet(r4(n.a),0),87).c,88)?$z(r,26):(pWt(),fLe)),26)))return $z(i=qet(e).Nh().Jh(e),49).th(t),i;n=mZ(e);}return "java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new uU(t):new vH(t)},EWt.Kh=function(t,e){return NYt(this,t,e)},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.a}return G7(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t),e,n)},EWt.hh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 1:return this.a&&(n=$z(this.a,49).ih(this,4,zIe,n)),Zlt(this,$z(t,235),n)}return $z(eet($z(mot(this,16),26)||(pWt(),sLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),sLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 1:return Zlt(this,null,n)}return $z(eet($z(mot(this,16),26)||(pWt(),sLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),sLe)),t,n)},EWt.lh=function(t){switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return !!this.a}return A3(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void NTt(this,$z(e,235))}Ldt(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t),e);},EWt.zh=function(){return pWt(),sLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void NTt(this,null)}Hht(this,t-hY((pWt(),sLe)),eet($z(mot(this,16),26)||sLe,t));},bY(h6t,"EFactoryImpl",704),dOt(v6t,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sc),EWt.Ih=function(t,e){switch(t.yj()){case 12:return $z(e,146).tg();case 13:return Fdt(e);default:throw Fw(new Rv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new vm;case 7:return new xm;case 8:return new rc;case 9:return new ac;case 10:return new oc;case 11:return new lc;default:throw Fw(new Rv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw Fw(new Rv(g6t+t.ne()+p6t))}},bY(f6t,"ElkGraphFactoryImpl",v6t),dOt(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),EWt.Wg=function(){var t;return null==(t=lQ(HFt($z(mot(this,16),26)||this.zh())))?(WT(),WT(),OLe):new KP(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.ne()}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.lh=function(t){switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void this.Lh(EB(e))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.zh=function(){return pWt(),hLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void this.Lh(null)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.ne=function(){return this.zb},EWt.Lh=function(t){Drt(this,t);},EWt.Ib=function(){return vht(this)},EWt.zb=null,bY(h6t,"ENamedElementImpl",438),dOt(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},bZ),EWt.Qg=function(t){return dxt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,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 Vq(this,$Oe,this)),this.rb;case 6:return !this.vb&&(this.vb=new tj(zIe,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?$z(this.Cb,235):null:WQ(this)}return G7(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 4:return this.sb&&(n=$z(this.sb,49).ih(this,1,$Ie,n)),xht(this,$z(t,471),n);case 5:return !this.rb&&(this.rb=new Vq(this,$Oe,this)),Vgt(this.rb,t,n);case 6:return !this.vb&&(this.vb=new tj(zIe,this,6,7)),Vgt(this.vb,t,n);case 7:return this.Cb&&(n=(i=this.Db>>16)>=0?dxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,7,n)}return $z(eet($z(mot(this,16),26)||(pWt(),pLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),pLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 4:return xht(this,null,n);case 5:return !this.rb&&(this.rb=new Vq(this,$Oe,this)),jwt(this.rb,t,n);case 6:return !this.vb&&(this.vb=new tj(zIe,this,6,7)),jwt(this.vb,t,n);case 7:return _$t(this,null,7,n)}return $z(eet($z(mot(this,16),26)||(pWt(),pLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),pLe)),t,n)},EWt.lh=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 !!WQ(this)}return A3(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t))},EWt.oh=function(t){return LNt(this,t)||uKt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Drt(this,EB(e));case 2:return void Prt(this,EB(e));case 3:return void Nrt(this,EB(e));case 4:return void nCt(this,$z(e,471));case 5:return !this.rb&&(this.rb=new Vq(this,$Oe,this)),cUt(this.rb),!this.rb&&(this.rb=new Vq(this,$Oe,this)),void pY(this.rb,$z(e,14));case 6:return !this.vb&&(this.vb=new tj(zIe,this,6,7)),cUt(this.vb),!this.vb&&(this.vb=new tj(zIe,this,6,7)),void pY(this.vb,$z(e,14))}Ldt(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t),e);},EWt.vh=function(t){var e,n;if(t&&this.rb)for(n=new MD(this.rb);n.e!=n.i.gc();)iD(e=vwt(n),351)&&($z(e,351).w=null);ubt(this,64,t);},EWt.zh=function(){return pWt(),pLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Drt(this,null);case 2:return void Prt(this,null);case 3:return void Nrt(this,null);case 4:return void nCt(this,null);case 5:return !this.rb&&(this.rb=new Vq(this,$Oe,this)),void cUt(this.rb);case 6:return !this.vb&&(this.vb=new tj(zIe,this,6,7)),void cUt(this.vb)}Hht(this,t-hY((pWt(),pLe)),eet($z(mot(this,16),26)||pLe,t));},EWt.Gh=function(){_vt(this);},EWt.Mh=function(){return !this.rb&&(this.rb=new Vq(this,$Oe,this)),this.rb},EWt.Nh=function(){return this.sb},EWt.Oh=function(){return this.ub},EWt.Ph=function(){return this.xb},EWt.Qh=function(){return this.yb},EWt.Rh=function(t){this.ub=t;},EWt.Ib=function(){var t;return 64&this.Db?vht(this):((t=new uN(vht(this))).a+=" (nsURI: ",iI(t,this.yb),t.a+=", nsPrefix: ",iI(t,this.xb),t.a+=")",t.a)},EWt.xb=null,EWt.yb=null,bY(h6t,"EPackageImpl",179),dOt(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},cOt),EWt.q=!1,EWt.r=!1;var qIe=!1;bY(f6t,"ElkGraphPackageImpl",555),dOt(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},cc),EWt.Qg=function(t){return uxt(this,t)},EWt._g=function(t,e,n){switch(t){case 7:return XQ(this);case 8:return this.a}return Bdt(this,t,e,n)},EWt.hh=function(t,e,n){var i;return 7===e?(this.Cb&&(n=(i=this.Db>>16)>=0?uxt(this,n):this.Cb.ih(this,-1-i,null,n)),YG(this,$z(t,160),n)):$Et(this,t,e,n)},EWt.jh=function(t,e,n){return 7==e?YG(this,null,n):ist(this,t,e,n)},EWt.lh=function(t){switch(t){case 7:return !!XQ(this);case 8:return !wj("",this.a)}return lgt(this,t)},EWt.sh=function(t,e){switch(t){case 7:return void ANt(this,$z(e,160));case 8:return void Nit(this,EB(e))}Gkt(this,t,e);},EWt.zh=function(){return SYt(),vIe},EWt.Bh=function(t){switch(t){case 7:return void ANt(this,null);case 8:return void Nit(this,"")}Pgt(this,t);},EWt.Ib=function(){return rSt(this)},EWt.a="",bY(f6t,"ElkLabelImpl",354),dOt(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},vm),EWt.Qg=function(t){return Txt(this,t)},EWt._g=function(t,e,n){switch(t){case 9:return !this.c&&(this.c=new tK(GIe,this,9,9)),this.c;case 10:return !this.a&&(this.a=new tK(UIe,this,10,11)),this.a;case 11:return VQ(this);case 12:return !this.b&&(this.b=new tK(BIe,this,12,3)),this.b;case 13:return cN(),!this.a&&(this.a=new tK(UIe,this,10,11)),this.a.i>0}return zyt(this,t,e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 9:return !this.c&&(this.c=new tK(GIe,this,9,9)),Vgt(this.c,t,n);case 10:return !this.a&&(this.a=new tK(UIe,this,10,11)),Vgt(this.a,t,n);case 11:return this.Cb&&(n=(i=this.Db>>16)>=0?Txt(this,n):this.Cb.ih(this,-1-i,null,n)),UR(this,$z(t,33),n);case 12:return !this.b&&(this.b=new tK(BIe,this,12,3)),Vgt(this.b,t,n)}return gkt(this,t,e,n)},EWt.jh=function(t,e,n){switch(e){case 9:return !this.c&&(this.c=new tK(GIe,this,9,9)),jwt(this.c,t,n);case 10:return !this.a&&(this.a=new tK(UIe,this,10,11)),jwt(this.a,t,n);case 11:return UR(this,null,n);case 12:return !this.b&&(this.b=new tK(BIe,this,12,3)),jwt(this.b,t,n)}return pkt(this,t,e,n)},EWt.lh=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 !!VQ(this);case 12:return !!this.b&&0!=this.b.i;case 13:return !this.a&&(this.a=new tK(UIe,this,10,11)),this.a.i>0}return Uct(this,t)},EWt.sh=function(t,e){switch(t){case 9:return !this.c&&(this.c=new tK(GIe,this,9,9)),cUt(this.c),!this.c&&(this.c=new tK(GIe,this,9,9)),void pY(this.c,$z(e,14));case 10:return !this.a&&(this.a=new tK(UIe,this,10,11)),cUt(this.a),!this.a&&(this.a=new tK(UIe,this,10,11)),void pY(this.a,$z(e,14));case 11:return void JDt(this,$z(e,33));case 12:return !this.b&&(this.b=new tK(BIe,this,12,3)),cUt(this.b),!this.b&&(this.b=new tK(BIe,this,12,3)),void pY(this.b,$z(e,14))}LOt(this,t,e);},EWt.zh=function(){return SYt(),xIe},EWt.Bh=function(t){switch(t){case 9:return !this.c&&(this.c=new tK(GIe,this,9,9)),void cUt(this.c);case 10:return !this.a&&(this.a=new tK(UIe,this,10,11)),void cUt(this.a);case 11:return void JDt(this,null);case 12:return !this.b&&(this.b=new tK(BIe,this,12,3)),void cUt(this.b)}Nwt(this,t);},EWt.Ib=function(){return GRt(this)},bY(f6t,"ElkNodeImpl",239),dOt(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},xm),EWt.Qg=function(t){return lxt(this,t)},EWt._g=function(t,e,n){return 9==t?KQ(this):zyt(this,t,e,n)},EWt.hh=function(t,e,n){var i;return 9===e?(this.Cb&&(n=(i=this.Db>>16)>=0?lxt(this,n):this.Cb.ih(this,-1-i,null,n)),XB(this,$z(t,33),n)):gkt(this,t,e,n)},EWt.jh=function(t,e,n){return 9==e?XB(this,null,n):pkt(this,t,e,n)},EWt.lh=function(t){return 9==t?!!KQ(this):Uct(this,t)},EWt.sh=function(t,e){9!==t?LOt(this,t,e):FDt(this,$z(e,33));},EWt.zh=function(){return SYt(),kIe},EWt.Bh=function(t){9!==t?Nwt(this,t):FDt(this,null);},EWt.Ib=function(){return qRt(this)},bY(f6t,"ElkPortImpl",186);var KIe=hU(F6t,"BasicEMap/Entry");dOt(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},lc),EWt.Fb=function(t){return this===t},EWt.cd=function(){return this.b},EWt.Hb=function(){return TN(this)},EWt.Uh=function(t){Pit(this,$z(t,146));},EWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Qwt(this,t,e,n)},EWt.lh=function(t){switch(t){case 0:return !!this.b;case 1:return null!=this.c}return wwt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return void Pit(this,$z(e,146));case 1:return void jit(this,e)}mAt(this,t,e);},EWt.zh=function(){return SYt(),_Ie},EWt.Bh=function(t){switch(t){case 0:return void Pit(this,null);case 1:return void jit(this,null)}ySt(this,t);},EWt.Sh=function(){var t;return -1==this.a&&(t=this.b,this.a=t?Jct(t):0),this.a},EWt.dd=function(){return this.c},EWt.Th=function(t){this.a=t;},EWt.ed=function(t){var e;return e=this.c,jit(this,t),e},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):(oI(oI(oI(t=new Cx,this.b?this.b.tg():GWt),e1t),mN(this.c)),t.a)},EWt.a=-1,EWt.c=null;var YIe,WIe,XIe,VIe,ZIe,QIe,JIe,tOe,eOe=bY(f6t,"ElkPropertyToValueMapEntryImpl",1092);dOt(984,1,{},dc),bY(U6t,"JsonAdapter",984),dOt(210,60,FXt,tx),bY(U6t,"JsonImportException",210),dOt(857,1,{},gxt),bY(U6t,"JsonImporter",857),dOt(891,1,{},rM),bY(U6t,"JsonImporter/lambda$0$Type",891),dOt(892,1,{},aM),bY(U6t,"JsonImporter/lambda$1$Type",892),dOt(900,1,{},Ib),bY(U6t,"JsonImporter/lambda$10$Type",900),dOt(902,1,{},oM),bY(U6t,"JsonImporter/lambda$11$Type",902),dOt(903,1,{},sM),bY(U6t,"JsonImporter/lambda$12$Type",903),dOt(909,1,{},uV),bY(U6t,"JsonImporter/lambda$13$Type",909),dOt(908,1,{},cV),bY(U6t,"JsonImporter/lambda$14$Type",908),dOt(904,1,{},cM),bY(U6t,"JsonImporter/lambda$15$Type",904),dOt(905,1,{},uM),bY(U6t,"JsonImporter/lambda$16$Type",905),dOt(906,1,{},lM),bY(U6t,"JsonImporter/lambda$17$Type",906),dOt(907,1,{},hM),bY(U6t,"JsonImporter/lambda$18$Type",907),dOt(912,1,{},Ob),bY(U6t,"JsonImporter/lambda$19$Type",912),dOt(893,1,{},Lb),bY(U6t,"JsonImporter/lambda$2$Type",893),dOt(910,1,{},Db),bY(U6t,"JsonImporter/lambda$20$Type",910),dOt(911,1,{},Nb),bY(U6t,"JsonImporter/lambda$21$Type",911),dOt(915,1,{},Pb),bY(U6t,"JsonImporter/lambda$22$Type",915),dOt(913,1,{},Bb),bY(U6t,"JsonImporter/lambda$23$Type",913),dOt(914,1,{},Rb),bY(U6t,"JsonImporter/lambda$24$Type",914),dOt(917,1,{},jb),bY(U6t,"JsonImporter/lambda$25$Type",917),dOt(916,1,{},$b),bY(U6t,"JsonImporter/lambda$26$Type",916),dOt(918,1,hXt,fM),EWt.td=function(t){x7(this.b,this.a,EB(t));},bY(U6t,"JsonImporter/lambda$27$Type",918),dOt(919,1,hXt,dM),EWt.td=function(t){k7(this.b,this.a,EB(t));},bY(U6t,"JsonImporter/lambda$28$Type",919),dOt(920,1,{},gM),bY(U6t,"JsonImporter/lambda$29$Type",920),dOt(896,1,{},Fb),bY(U6t,"JsonImporter/lambda$3$Type",896),dOt(921,1,{},pM),bY(U6t,"JsonImporter/lambda$30$Type",921),dOt(922,1,{},zb),bY(U6t,"JsonImporter/lambda$31$Type",922),dOt(923,1,{},Hb),bY(U6t,"JsonImporter/lambda$32$Type",923),dOt(924,1,{},Ub),bY(U6t,"JsonImporter/lambda$33$Type",924),dOt(925,1,{},Gb),bY(U6t,"JsonImporter/lambda$34$Type",925),dOt(859,1,{},qb),bY(U6t,"JsonImporter/lambda$35$Type",859),dOt(929,1,{},_z),bY(U6t,"JsonImporter/lambda$36$Type",929),dOt(926,1,hXt,Kb),EWt.td=function(t){X4(this.a,$z(t,469));},bY(U6t,"JsonImporter/lambda$37$Type",926),dOt(927,1,hXt,EM),EWt.td=function(t){lI(this.a,this.b,$z(t,202));},bY(U6t,"JsonImporter/lambda$38$Type",927),dOt(928,1,hXt,TM),EWt.td=function(t){hI(this.a,this.b,$z(t,202));},bY(U6t,"JsonImporter/lambda$39$Type",928),dOt(894,1,{},Yb),bY(U6t,"JsonImporter/lambda$4$Type",894),dOt(930,1,hXt,Wb),EWt.td=function(t){V4(this.a,$z(t,8));},bY(U6t,"JsonImporter/lambda$40$Type",930),dOt(895,1,{},Xb),bY(U6t,"JsonImporter/lambda$5$Type",895),dOt(899,1,{},Vb),bY(U6t,"JsonImporter/lambda$6$Type",899),dOt(897,1,{},Zb),bY(U6t,"JsonImporter/lambda$7$Type",897),dOt(898,1,{},Qb),bY(U6t,"JsonImporter/lambda$8$Type",898),dOt(901,1,{},Jb),bY(U6t,"JsonImporter/lambda$9$Type",901),dOt(948,1,hXt,tw),EWt.td=function(t){QY(this.a,new HY(EB(t)));},bY(U6t,"JsonMetaDataConverter/lambda$0$Type",948),dOt(949,1,hXt,ew),EWt.td=function(t){RY(this.a,$z(t,237));},bY(U6t,"JsonMetaDataConverter/lambda$1$Type",949),dOt(950,1,hXt,nw),EWt.td=function(t){JJ(this.a,$z(t,149));},bY(U6t,"JsonMetaDataConverter/lambda$2$Type",950),dOt(951,1,hXt,iw),EWt.td=function(t){jY(this.a,$z(t,175));},bY(U6t,"JsonMetaDataConverter/lambda$3$Type",951),dOt(237,22,{3:1,35:1,22:1,237:1},_M);var nOe,iOe=Fnt(AQt,"GraphFeature",237,qte,Ret,pz);dOt(13,1,{35:1,146:1},aw,eR,II,qO),EWt.wd=function(t){return pD(this,$z(t,146))},EWt.Fb=function(t){return xZ(this,t)},EWt.wg=function(){return ywt(this)},EWt.tg=function(){return this.b},EWt.Hb=function(){return wyt(this.b)},EWt.Ib=function(){return this.b},bY(AQt,"Property",13),dOt(818,1,EZt,rw),EWt.ue=function(t,e){return jft(this,$z(t,94),$z(e,94))},EWt.Fb=function(t){return this===t},EWt.ve=function(){return new Qd(this)},bY(AQt,"PropertyHolderComparator",818),dOt(695,1,XWt,sw),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return M7(this)},EWt.Qb=function(){a_();},EWt.Ob=function(){return !!this.a},bY(r8t,"ElkGraphUtil/AncestorIterator",695);var rOe=hU(F6t,"EList");dOt(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),EWt.Vc=function(t,e){cft(this,t,e);},EWt.Fc=function(t){return u7(this,t)},EWt.Wc=function(t,e){return sct(this,t,e)},EWt.Gc=function(t){return pY(this,t)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},EWt.ai=function(){return !0},EWt.bi=function(t,e){},EWt.ci=function(){},EWt.di=function(t,e){O8(this,t,e);},EWt.ei=function(t,e,n){},EWt.fi=function(t,e){},EWt.gi=function(t,e,n){},EWt.Fb=function(t){return XBt(this,t)},EWt.Hb=function(){return Est(this)},EWt.hi=function(){return !1},EWt.Kc=function(){return new MD(this)},EWt.Yc=function(){return new iP(this)},EWt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw Fw(new JR(t,e));return new HK(this,t)},EWt.ji=function(t,e){this.ii(t,this.Xc(e));},EWt.Mc=function(t){return stt(this,t)},EWt.li=function(t,e){return e},EWt._c=function(t,e){return syt(this,t,e)},EWt.Ib=function(){return Zdt(this)},EWt.ni=function(){return !0},EWt.oi=function(t,e){return Nut(this,e)},bY(F6t,"AbstractEList",67),dOt(63,67,u8t,bc,pet,xat),EWt.Vh=function(t,e){return FEt(this,t,e)},EWt.Wh=function(t){return fmt(this,t)},EWt.Xh=function(t,e){Aht(this,t,e);},EWt.Yh=function(t){i6(this,t);},EWt.pi=function(t){return j7(this,t)},EWt.$b=function(){r6(this);},EWt.Hc=function(t){return Tkt(this,t)},EWt.Xb=function(t){return Yet(this,t)},EWt.qi=function(t){var e,n,i;++this.j,t>(n=null==this.g?0:this.g.length)&&(i=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.ri(e),null!=i&&aHt(i,0,this.g,0,this.i));},EWt.Xc=function(t){return Yvt(this,t)},EWt.dc=function(){return 0==this.i},EWt.ii=function(t,e){return VMt(this,t,e)},EWt.ri=function(t){return D8(Ite,zWt,1,t,5,1)},EWt.ki=function(t){return this.g[t]},EWt.$c=function(t){return Lvt(this,t)},EWt.mi=function(t,e){return ott(this,t,e)},EWt.gc=function(){return this.i},EWt.Pc=function(){return L3(this)},EWt.Qc=function(t){return Xgt(this,t)},EWt.i=0;var aOe,oOe,sOe=bY(F6t,"BasicEList",63),cOe=hU(F6t,"TreeIterator");dOt(694,63,l8t),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&$z(this.g[this.i-1],47).Ob():JQ(this)},EWt.Pb=function(){return aDt(this)},EWt.Qb=function(){if(!this.e)throw Fw(new jv("There is no valid object to remove."));this.e.Qb();},EWt.c=!1,bY(F6t,"AbstractTreeIterator",694),dOt(685,694,l8t,AO),EWt.si=function(t){var e;return iD(e=$z(t,56).Wg().Kc(),279)&&$z(e,279).Nk(new gc),e},bY(r8t,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),dOt(952,1,{},gc),bY(r8t,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var uOe,lOe=bY(r8t,"ElkReflect",null);dOt(889,1,n5t,pc),EWt.vg=function(t){return cJ(),$6($z(t,174))},bY(r8t,"ElkReflect/lambda$0$Type",889),hU(F6t,"ResourceLocator"),dOt(1051,1,{}),bY(F6t,"DelegatingResourceLocator",1051),dOt(1052,1051,{}),bY("org.eclipse.emf.common","EMFPlugin",1052);var hOe,fOe=hU(Z8t,"Adapter"),dOe=hU(Z8t,"Notification");dOt(1153,1,Q8t),EWt.ti=function(){return this.d},EWt.ui=function(t){},EWt.vi=function(t){this.d=t;},EWt.wi=function(t){this.d==t&&(this.d=null);},EWt.d=null,bY(n6t,"AdapterImpl",1153),dOt(1995,67,J8t),EWt.Vh=function(t,e){return vgt(this,t,e)},EWt.Wh=function(t){var e,n,i;if(++this.j,t.dc())return !1;for(e=this.Vi(),i=t.Kc();i.Ob();)n=i.Pb(),this.Ii(this.oi(e,n)),++e;return !0},EWt.Xh=function(t,e){ZB(this,t,e);},EWt.Yh=function(t){tW(this,t);},EWt.Gi=function(){return this.Ji()},EWt.$b=function(){VB(this,this.Vi(),this.Wi());},EWt.Hc=function(t){return this.Li(t)},EWt.Ic=function(t){return this.Mi(t)},EWt.Hi=function(t,e){this.Si().jm();},EWt.Ii=function(t){this.Si().jm();},EWt.Ji=function(){return this.Si()},EWt.Ki=function(){this.Si().jm();},EWt.Li=function(t){return this.Si().jm()},EWt.Mi=function(t){return this.Si().jm()},EWt.Ni=function(t){return this.Si().jm()},EWt.Oi=function(t){return this.Si().jm()},EWt.Pi=function(){return this.Si().jm()},EWt.Qi=function(t){return this.Si().jm()},EWt.Ri=function(){return this.Si().jm()},EWt.Ti=function(t){return this.Si().jm()},EWt.Ui=function(t,e){return this.Si().jm()},EWt.Vi=function(){return this.Si().jm()},EWt.Wi=function(){return this.Si().jm()},EWt.Xi=function(t){return this.Si().jm()},EWt.Yi=function(){return this.Si().jm()},EWt.Fb=function(t){return this.Ni(t)},EWt.Xb=function(t){return this.li(t,this.Oi(t))},EWt.Hb=function(){return this.Pi()},EWt.Xc=function(t){return this.Qi(t)},EWt.dc=function(){return this.Ri()},EWt.ii=function(t,e){return ITt(this,t,e)},EWt.ki=function(t){return this.Oi(t)},EWt.$c=function(t){return fU(this,t)},EWt.Mc=function(t){var e;return (e=this.Xc(t))>=0&&(this.$c(e),!0)},EWt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},EWt.gc=function(){return this.Vi()},EWt.Pc=function(){return this.Wi()},EWt.Qc=function(t){return this.Xi(t)},EWt.Ib=function(){return this.Yi()},bY(F6t,"DelegatingEList",1995),dOt(1996,1995,J8t),EWt.Vh=function(t,e){return oFt(this,t,e)},EWt.Wh=function(t){return this.Vh(this.Vi(),t)},EWt.Xh=function(t,e){eOt(this,t,e);},EWt.Yh=function(t){MIt(this,t);},EWt.ai=function(){return !this.bj()},EWt.$b=function(){wUt(this);},EWt.Zi=function(t,e,n,i,r){return new LZ(this,t,e,n,i,r)},EWt.$i=function(t){fot(this.Ai(),t);},EWt._i=function(){return null},EWt.aj=function(){return -1},EWt.Ai=function(){return null},EWt.bj=function(){return !1},EWt.cj=function(t,e){return e},EWt.dj=function(t,e){return e},EWt.ej=function(){return !1},EWt.fj=function(){return !this.Ri()},EWt.ii=function(t,e){var n,i;return this.ej()?(i=this.fj(),n=ITt(this,t,e),this.$i(this.Zi(7,nft(e),n,t,i)),n):ITt(this,t,e)},EWt.$c=function(t){var e,n,i,r;return this.ej()?(n=null,i=this.fj(),e=this.Zi(4,r=fU(this,t),null,t,i),this.bj()&&r?(n=this.dj(r,n))?(n.Ei(e),n.Fi()):this.$i(e):n?(n.Ei(e),n.Fi()):this.$i(e),r):(r=fU(this,t),this.bj()&&r&&(n=this.dj(r,null))&&n.Fi(),r)},EWt.mi=function(t,e){return sFt(this,t,e)},bY(n6t,"DelegatingNotifyingListImpl",1996),dOt(143,1,t7t),EWt.Ei=function(t){return R_t(this,t)},EWt.Fi=function(){I9(this);},EWt.xi=function(){return this.d},EWt._i=function(){return null},EWt.gj=function(){return null},EWt.yi=function(t){return -1},EWt.zi=function(){return BPt(this)},EWt.Ai=function(){return null},EWt.Bi=function(){return RPt(this)},EWt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},EWt.hj=function(){return !1},EWt.Di=function(t){var e,n,i,r,a,o,s,c;switch(this.d){case 1:case 2:switch(t.xi()){case 1:case 2:if(HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0}case 4:if(4===t.xi()&&HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null))return o=tGt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=t.Ci(),this.d=6,c=new pet(2),a<=i?(u7(c,this.n),u7(c,t.Bi()),this.g=Cst(Hx(ANe,1),uVt,25,15,[this.o=a,i+1])):(u7(c,t.Bi()),u7(c,this.n),this.g=Cst(Hx(ANe,1),uVt,25,15,[this.o=i,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&HM(t.Ai())===HM(this.Ai())&&this.yi(null)==t.yi(null)){for(o=tGt(this),i=t.Ci(),s=$z(this.g,48),n=D8(ANe,uVt,25,s.length+1,15,1),e=0;e<s.length&&(r=s[e])<=i;)n[e++]=r,++i;for($z(this.n,15).Vc(e,t.Bi()),n[e]=i;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return !1},EWt.Ib=function(){var t,e,n;switch((n=new uN(Qk(this.gm)+"@"+(Jct(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:w_(n,this.d);}if(hjt(this)&&(n.a+=", touch: true"),n.a+=", position: ",w_(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",nI(n,this.Ai()),n.a+=", feature: ",nI(n,this._i()),n.a+=", oldValue: ",nI(n,RPt(this)),n.a+=", newValue: ",6==this.d&&iD(this.g,48)){for(e=$z(this.g,48),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=$Wt);n.a+="]";}else nI(n,BPt(this));return n.a+=", isTouch: ",y_(n,hjt(this)),n.a+=", wasSet: ",y_(n,tGt(this)),n.a+=")",n.a},EWt.d=0,EWt.e=0,EWt.f=0,EWt.j=0,EWt.k=0,EWt.o=0,EWt.p=0,bY(n6t,"NotificationImpl",143),dOt(1167,143,t7t,LZ),EWt._i=function(){return this.a._i()},EWt.yi=function(t){return this.a.aj()},EWt.Ai=function(){return this.a.Ai()},bY(n6t,"DelegatingNotifyingListImpl/1",1167),dOt(242,63,u8t,wc,jk),EWt.Fc=function(t){return Egt(this,$z(t,366))},EWt.Ei=function(t){return Egt(this,t)},EWt.Fi=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=$z(this.g[t],366)).Ai())&&-1!=e.xi()&&$z(n,92).Ng(e);},EWt.ri=function(t){return D8(dOe,zWt,366,t,0,1)},bY(n6t,"NotificationChainImpl",242),dOt(1378,90,e6t),EWt.Kg=function(){return this.e},EWt.Mg=function(){return !!(1&this.f)},EWt.f=1,bY(n6t,"NotifierImpl",1378),dOt(1993,63,u8t),EWt.Vh=function(t,e){return LFt(this,t,e)},EWt.Wh=function(t){return this.Vh(this.i,t)},EWt.Xh=function(t,e){HIt(this,t,e);},EWt.Yh=function(t){tOt(this,t);},EWt.ai=function(){return !this.bj()},EWt.$b=function(){cUt(this);},EWt.Zi=function(t,e,n,i,r){return new DZ(this,t,e,n,i,r)},EWt.$i=function(t){fot(this.Ai(),t);},EWt._i=function(){return null},EWt.aj=function(){return -1},EWt.Ai=function(){return null},EWt.bj=function(){return !1},EWt.ij=function(){return !1},EWt.cj=function(t,e){return e},EWt.dj=function(t,e){return e},EWt.ej=function(){return !1},EWt.fj=function(){return 0!=this.i},EWt.ii=function(t,e){return Aft(this,t,e)},EWt.$c=function(t){return lBt(this,t)},EWt.mi=function(t,e){return lzt(this,t,e)},EWt.jj=function(t,e){return e},EWt.kj=function(t,e){return e},EWt.lj=function(t,e,n){return n},bY(n6t,"NotifyingListImpl",1993),dOt(1166,143,t7t,DZ),EWt._i=function(){return this.a._i()},EWt.yi=function(t){return this.a.aj()},EWt.Ai=function(){return this.a.Ai()},bY(n6t,"NotifyingListImpl/1",1166),dOt(953,63,u8t,rR),EWt.Hc=function(t){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new IU(this),this.a=this.j),jE(this.b,t)):Tkt(this,t)},EWt.ni=function(){return !0},EWt.a=0,bY(F6t,"AbstractEList/1",953),dOt(295,73,DVt,JR),bY(F6t,"AbstractEList/BasicIndexOutOfBoundsException",295),dOt(40,1,XWt,MD),EWt.Nb=function(t){uK(this,t);},EWt.mj=function(){if(this.i.j!=this.f)throw Fw(new by)},EWt.nj=function(){return vwt(this)},EWt.Ob=function(){return this.e!=this.i.gc()},EWt.Pb=function(){return this.nj()},EWt.Qb=function(){Xkt(this);},EWt.e=0,EWt.f=0,EWt.g=-1,bY(F6t,"AbstractEList/EIterator",40),dOt(278,40,rXt,iP,HK),EWt.Qb=function(){Xkt(this);},EWt.Rb=function(t){spt(this,t);},EWt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(t){throw iD(t=hst(t),73)?(this.mj(),Fw(new yy)):Fw(t)}},EWt.pj=function(t){vmt(this,t);},EWt.Sb=function(){return 0!=this.e},EWt.Tb=function(){return this.e},EWt.Ub=function(){return this.oj()},EWt.Vb=function(){return this.e-1},EWt.Wb=function(t){this.pj(t);},bY(F6t,"AbstractEList/EListIterator",278),dOt(341,40,XWt,rP),EWt.nj=function(){return xwt(this)},EWt.Qb=function(){throw Fw(new py)},bY(F6t,"AbstractEList/NonResolvingEIterator",341),dOt(385,278,rXt,aP,Pj),EWt.Rb=function(t){throw Fw(new py)},EWt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(t){throw iD(t=hst(t),73)?(this.mj(),Fw(new yy)):Fw(t)}},EWt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(t){throw iD(t=hst(t),73)?(this.mj(),Fw(new yy)):Fw(t)}},EWt.Qb=function(){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(F6t,"AbstractEList/NonResolvingEListIterator",385),dOt(1982,67,i7t),EWt.Vh=function(t,e){var n,i,r,a,o,s,c,u,l;if(0!=(i=e.gc())){for(n=Cut(this,(u=null==(c=$z(mot(this.a,4),126))?0:c.length)+i),(l=u-t)>0&&aHt(c,t,n,t+i,l),s=e.Kc(),a=0;a<i;++a)VO(n,t+a,Nut(this,o=s.Pb()));for($bt(this,n),r=0;r<i;++r)o=n[t],this.bi(t,o),++t;return !0}return ++this.j,!1},EWt.Wh=function(t){var e,n,i,r,a,o,s,c,u;if(0!=(i=t.gc())){for(e=Cut(this,u=(c=null==(n=$z(mot(this.a,4),126))?0:n.length)+i),s=t.Kc(),a=c;a<u;++a)VO(e,a,Nut(this,o=s.Pb()));for($bt(this,e),r=c;r<u;++r)o=e[r],this.bi(r,o);return !0}return ++this.j,!1},EWt.Xh=function(t,e){var n,i,r,a;n=Cut(this,(r=null==(i=$z(mot(this.a,4),126))?0:i.length)+1),a=Nut(this,e),t!=r&&aHt(i,t,n,t+1,r-t),IY(n,t,a),$bt(this,n),this.bi(t,e);},EWt.Yh=function(t){var e,n,i;VO(e=Cut(this,(i=null==(n=$z(mot(this.a,4),126))?0:n.length)+1),i,Nut(this,t)),$bt(this,e),this.bi(i,t);},EWt.Zh=function(){return new E5(this)},EWt.$h=function(){return new Xq(this)},EWt._h=function(t){var e,n;if(n=null==(e=$z(mot(this.a,4),126))?0:e.length,t<0||t>n)throw Fw(new JR(t,n));return new $W(this,t)},EWt.$b=function(){var t,e;++this.j,e=null==(t=$z(mot(this.a,4),126))?0:t.length,$bt(this,null),O8(this,e,t);},EWt.Hc=function(t){var e,n,i,r;if(null!=(e=$z(mot(this.a,4),126)))if(null!=t){for(i=0,r=(n=e).length;i<r;++i)if(Dht(t,n[i]))return !0}else for(i=0,r=(n=e).length;i<r;++i)if(HM(n[i])===HM(t))return !0;return !1},EWt.Xb=function(t){var e,n;if(t>=(n=null==(e=$z(mot(this.a,4),126))?0:e.length))throw Fw(new JR(t,n));return e[t]},EWt.Xc=function(t){var e,n,i;if(null!=(e=$z(mot(this.a,4),126)))if(null!=t){for(n=0,i=e.length;n<i;++n)if(Dht(t,e[n]))return n}else for(n=0,i=e.length;n<i;++n)if(HM(e[n])===HM(t))return n;return -1},EWt.dc=function(){return null==$z(mot(this.a,4),126)},EWt.Kc=function(){return new _5(this)},EWt.Yc=function(){return new Wq(this)},EWt.Zc=function(t){var e,n;if(n=null==(e=$z(mot(this.a,4),126))?0:e.length,t<0||t>n)throw Fw(new JR(t,n));return new jW(this,t)},EWt.ii=function(t,e){var n,i,r;if(t>=(r=null==(n=Opt(this))?0:n.length))throw Fw(new Mv(o8t+t+s8t+r));if(e>=r)throw Fw(new Mv(c8t+e+s8t+r));return i=n[e],t!=e&&(t<e?aHt(n,t,n,t+1,e-t):aHt(n,e+1,n,e,t-e),IY(n,t,i),$bt(this,n)),i},EWt.ki=function(t){return $z(mot(this.a,4),126)[t]},EWt.$c=function(t){return kIt(this,t)},EWt.mi=function(t,e){var n,i;return i=(n=Opt(this))[t],VO(n,t,Nut(this,e)),$bt(this,n),i},EWt.gc=function(){var t;return null==(t=$z(mot(this.a,4),126))?0:t.length},EWt.Pc=function(){var t,e,n;return n=null==(t=$z(mot(this.a,4),126))?0:t.length,e=D8(fOe,n7t,415,n,0,1),n>0&&aHt(t,0,e,0,n),e},EWt.Qc=function(t){var e,n;return (n=null==(e=$z(mot(this.a,4),126))?0:e.length)>0&&(t.length<n&&(t=Pnt(tut(t).c,n)),aHt(e,0,t,0,n)),t.length>n&&IY(t,n,null),t},bY(F6t,"ArrayDelegatingEList",1982),dOt(1038,40,XWt,_5),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},EWt.Qb=function(){Xkt(this),this.a=$z(mot(this.b.a,4),126);},bY(F6t,"ArrayDelegatingEList/EIterator",1038),dOt(706,278,rXt,Wq,jW),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},EWt.pj=function(t){vmt(this,t),this.a=$z(mot(this.b.a,4),126);},EWt.Qb=function(){Xkt(this),this.a=$z(mot(this.b.a,4),126);},bY(F6t,"ArrayDelegatingEList/EListIterator",706),dOt(1039,341,XWt,E5),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},bY(F6t,"ArrayDelegatingEList/NonResolvingEIterator",1039),dOt(707,385,rXt,Xq,$W),EWt.mj=function(){if(this.b.j!=this.f||HM($z(mot(this.b.a,4),126))!==HM(this.a))throw Fw(new by)},bY(F6t,"ArrayDelegatingEList/NonResolvingEListIterator",707),dOt(606,295,DVt,OI),bY(F6t,"BasicEList/BasicIndexOutOfBoundsException",606),dOt(696,63,u8t,NM),EWt.Vc=function(t,e){throw Fw(new py)},EWt.Fc=function(t){throw Fw(new py)},EWt.Wc=function(t,e){throw Fw(new py)},EWt.Gc=function(t){throw Fw(new py)},EWt.$b=function(){throw Fw(new py)},EWt.qi=function(t){throw Fw(new py)},EWt.Kc=function(){return this.Zh()},EWt.Yc=function(){return this.$h()},EWt.Zc=function(t){return this._h(t)},EWt.ii=function(t,e){throw Fw(new py)},EWt.ji=function(t,e){throw Fw(new py)},EWt.$c=function(t){throw Fw(new py)},EWt.Mc=function(t){throw Fw(new py)},EWt._c=function(t,e){throw Fw(new py)},bY(F6t,"BasicEList/UnmodifiableEList",696),dOt(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),EWt.Vc=function(t,e){WL(this,t,$z(e,42));},EWt.Fc=function(t){return rB(this,$z(t,42))},EWt.Jc=function(t){t5(this,t);},EWt.Xb=function(t){return $z(Yet(this.c,t),133)},EWt.ii=function(t,e){return $z(this.c.ii(t,e),42)},EWt.ji=function(t,e){XL(this,t,$z(e,42));},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $z(this.c.$c(t),42)},EWt._c=function(t,e){return aY(this,t,$z(e,42))},EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.Wc=function(t,e){return this.c.Wc(t,e)},EWt.Gc=function(t){return this.c.Gc(t)},EWt.$b=function(){this.c.$b();},EWt.Hc=function(t){return this.c.Hc(t)},EWt.Ic=function(t){return sst(this.c,t)},EWt.qj=function(){var t,e;if(null==this.d){for(this.d=D8(sOe,r7t,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)Ayt(this,$z(t.nj(),133));this.e=e;}},EWt.Fb=function(t){return Lj(this,t)},EWt.Hb=function(){return Est(this.c)},EWt.Xc=function(t){return this.c.Xc(t)},EWt.rj=function(){this.c=new cw(this);},EWt.dc=function(){return 0==this.f},EWt.Kc=function(){return this.c.Kc()},EWt.Yc=function(){return this.c.Yc()},EWt.Zc=function(t){return this.c.Zc(t)},EWt.sj=function(){return M8(this)},EWt.tj=function(t,e,n){return new Ez(t,e,n)},EWt.uj=function(){return new yc},EWt.Mc=function(t){return uit(this,t)},EWt.gc=function(){return this.f},EWt.bd=function(t,e){return new s1(this.c,t,e)},EWt.Pc=function(){return this.c.Pc()},EWt.Qc=function(t){return this.c.Qc(t)},EWt.Ib=function(){return Zdt(this.c)},EWt.e=0,EWt.f=0,bY(F6t,"BasicEMap",705),dOt(1033,63,u8t,cw),EWt.bi=function(t,e){My(this,$z(e,133));},EWt.ei=function(t,e,n){var i;++(i=this,$z(e,133),i).a.e;},EWt.fi=function(t,e){Iy(this,$z(e,133));},EWt.gi=function(t,e,n){YN(this,$z(e,133),$z(n,133));},EWt.di=function(t,e){aot(this.a);},bY(F6t,"BasicEMap/1",1033),dOt(1034,63,u8t,yc),EWt.ri=function(t){return D8(pOe,a7t,612,t,0,1)},bY(F6t,"BasicEMap/2",1034),dOt(1035,JWt,tXt,uw),EWt.$b=function(){this.a.c.$b();},EWt.Hc=function(t){return ipt(this.a,t)},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new $k(this.a)},EWt.Mc=function(t){var e;return e=this.a.f,Ypt(this.a,t),this.a.f!=e},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/3",1035),dOt(1036,28,QWt,lw),EWt.$b=function(){this.a.c.$b();},EWt.Hc=function(t){return VBt(this.a,t)},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new Fk(this.a)},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/4",1036),dOt(1037,JWt,tXt,hw),EWt.$b=function(){this.a.c.$b();},EWt.Hc=function(t){var e,n,i,r,a,o,s,c,u;if(this.a.f>0&&iD(t,42)&&(this.a.qj(),r=null==(s=(c=$z(t,42)).cd())?0:Jct(s),a=tR(this.a,r),e=this.a.d[a]))for(n=$z(e.g,367),u=e.i,o=0;o<u;++o)if((i=n[o]).Sh()==r&&i.Fb(c))return !0;return !1},EWt.Kc=function(){return 0==this.a.f?(dB(),gOe.a):new pV(this.a)},EWt.Mc=function(t){return AOt(this,t)},EWt.gc=function(){return this.a.f},bY(F6t,"BasicEMap/5",1037),dOt(613,1,XWt,pV),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return -1!=this.b},EWt.Pb=function(){var t;if(this.f.e!=this.c)throw Fw(new by);if(-1==this.b)throw Fw(new yy);return this.d=this.a,this.e=this.b,okt(this),t=$z(this.f.d[this.d].g[this.e],133),this.vj(t)},EWt.Qb=function(){if(this.f.e!=this.c)throw Fw(new by);if(-1==this.e)throw Fw(new dy);this.f.c.Mc(Yet(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b;},EWt.vj=function(t){return t},EWt.a=0,EWt.b=-1,EWt.c=0,EWt.d=0,EWt.e=0,bY(F6t,"BasicEMap/BasicEMapIterator",613),dOt(1031,613,XWt,$k),EWt.vj=function(t){return t.cd()},bY(F6t,"BasicEMap/BasicEMapKeyIterator",1031),dOt(1032,613,XWt,Fk),EWt.vj=function(t){return t.dd()},bY(F6t,"BasicEMap/BasicEMapValueIterator",1032),dOt(1030,1,ZWt,fw),EWt.wc=function(t){Jat(this,t);},EWt.yc=function(t,e,n){return Qft(this,t,e,n)},EWt.$b=function(){this.a.c.$b();},EWt._b=function(t){return $M(this,t)},EWt.uc=function(t){return VBt(this.a,t)},EWt.vc=function(){return S8(this.a)},EWt.Fb=function(t){return Lj(this.a,t)},EWt.xc=function(t){return rpt(this.a,t)},EWt.Hb=function(){return Est(this.a.c)},EWt.dc=function(){return 0==this.a.f},EWt.ec=function(){return A8(this.a)},EWt.zc=function(t,e){return wkt(this.a,t,e)},EWt.Bc=function(t){return Ypt(this.a,t)},EWt.gc=function(){return this.a.f},EWt.Ib=function(){return Zdt(this.a.c)},EWt.Cc=function(){return C8(this.a)},bY(F6t,"BasicEMap/DelegatingMap",1030),dOt(612,1,{42:1,133:1,612:1},Ez),EWt.Fb=function(t){var e;return !!iD(t,42)&&(e=$z(t,42),(null!=this.b?Dht(this.b,e.cd()):HM(this.b)===HM(e.cd()))&&(null!=this.c?Dht(this.c,e.dd()):HM(this.c)===HM(e.dd())))},EWt.Sh=function(){return this.a},EWt.cd=function(){return this.b},EWt.dd=function(){return this.c},EWt.Hb=function(){return this.a^(null==this.c?0:Jct(this.c))},EWt.Th=function(t){this.a=t;},EWt.Uh=function(t){throw Fw(new sy)},EWt.ed=function(t){var e;return e=this.c,this.c=t,e},EWt.Ib=function(){return this.b+"->"+this.c},EWt.a=0;var gOe,pOe=bY(F6t,"BasicEMap/EntryImpl",612);dOt(536,1,{},uc),bY(F6t,"BasicEMap/View",536),dOt(768,1,{}),EWt.Fb=function(t){return DOt((EV(),cne),t)},EWt.Hb=function(){return $ct((EV(),cne))},EWt.Ib=function(){return LTt((EV(),cne))},bY(F6t,"ECollections/BasicEmptyUnmodifiableEList",768),dOt(1312,1,rXt,mc),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){throw Fw(new py)},EWt.Ob=function(){return !1},EWt.Sb=function(){return !1},EWt.Pb=function(){throw Fw(new yy)},EWt.Tb=function(){return 0},EWt.Ub=function(){throw Fw(new yy)},EWt.Vb=function(){return -1},EWt.Qb=function(){throw Fw(new py)},EWt.Wb=function(t){throw Fw(new py)},bY(F6t,"ECollections/BasicEmptyUnmodifiableEList/1",1312),dOt(1310,768,{20:1,14:1,15:1,58:1},km),EWt.Vc=function(t,e){L_();},EWt.Fc=function(t){return D_()},EWt.Wc=function(t,e){return N_()},EWt.Gc=function(t){return P_()},EWt.$b=function(){B_();},EWt.Hc=function(t){return !1},EWt.Ic=function(t){return !1},EWt.Jc=function(t){t5(this,t);},EWt.Xb=function(t){return yI((EV(),t)),null},EWt.Xc=function(t){return -1},EWt.dc=function(){return !0},EWt.Kc=function(){return this.a},EWt.Yc=function(){return this.a},EWt.Zc=function(t){return this.a},EWt.ii=function(t,e){return R_()},EWt.ji=function(t,e){j_();},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $_()},EWt.Mc=function(t){return F_()},EWt._c=function(t,e){return z_()},EWt.gc=function(){return 0},EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.bd=function(t,e){return EV(),new s1(cne,t,e)},EWt.Pc=function(){return iq((EV(),cne))},EWt.Qc=function(t){return EV(),kmt(cne,t)},bY(F6t,"ECollections/EmptyUnmodifiableEList",1310),dOt(1311,768,{20:1,14:1,15:1,58:1,589:1},_m),EWt.Vc=function(t,e){L_();},EWt.Fc=function(t){return D_()},EWt.Wc=function(t,e){return N_()},EWt.Gc=function(t){return P_()},EWt.$b=function(){B_();},EWt.Hc=function(t){return !1},EWt.Ic=function(t){return !1},EWt.Jc=function(t){t5(this,t);},EWt.Xb=function(t){return yI((EV(),t)),null},EWt.Xc=function(t){return -1},EWt.dc=function(){return !0},EWt.Kc=function(){return this.a},EWt.Yc=function(){return this.a},EWt.Zc=function(t){return this.a},EWt.ii=function(t,e){return R_()},EWt.ji=function(t,e){j_();},EWt.Lc=function(){return new PU(null,new f1(this,16))},EWt.$c=function(t){return $_()},EWt.Mc=function(t){return F_()},EWt._c=function(t,e){return z_()},EWt.gc=function(){return 0},EWt.ad=function(t){jrt(this,t);},EWt.Nc=function(){return new f1(this,16)},EWt.Oc=function(){return new PU(null,new f1(this,16))},EWt.bd=function(t,e){return EV(),new s1(cne,t,e)},EWt.Pc=function(){return iq((EV(),cne))},EWt.Qc=function(t){return EV(),kmt(cne,t)},EWt.sj=function(){return EV(),EV(),une},bY(F6t,"ECollections/EmptyUnmodifiableEMap",1311);var bOe,wOe=hU(F6t,"Enumerator");dOt(281,1,{281:1},iRt),EWt.Fb=function(t){var e;return this===t||!!iD(t,281)&&(e=$z(t,281),this.f==e.f&&bG(this.i,e.i)&&pG(this.a,256&this.f?256&e.f?e.a:null:256&e.f?null:e.a)&&pG(this.d,e.d)&&pG(this.g,e.g)&&pG(this.e,e.e)&&Twt(this,e))},EWt.Hb=function(){return this.f},EWt.Ib=function(){return E$t(this)},EWt.f=0;var yOe,mOe,vOe,xOe=0,kOe=0,_Oe=0,EOe=0,TOe=0,COe=0,SOe=0,AOe=0,MOe=0,IOe=0,OOe=0,LOe=0,DOe=0;bY(F6t,"URI",281),dOt(1091,43,tZt,Em),EWt.zc=function(t,e){return $z(wJ(this,EB(t),$z(e,281)),281)},bY(F6t,"URI/URICache",1091),dOt(497,63,u8t,fc,nG),EWt.hi=function(){return !0},bY(F6t,"UniqueEList",497),dOt(581,60,FXt,O9),bY(F6t,"WrappedException",581);var NOe,POe=hU(H5t,c7t),BOe=hU(H5t,u7t),ROe=hU(H5t,l7t),jOe=hU(H5t,h7t),$Oe=hU(H5t,f7t),FOe=hU(H5t,"EClass"),zOe=hU(H5t,"EDataType");dOt(1183,43,tZt,Tm),EWt.xc=function(t){return qM(t)?EQ(this,t):zM(MZ(this.f,t))},bY(H5t,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var HOe,UOe,GOe=hU(H5t,"EEnum"),qOe=hU(H5t,d7t),KOe=hU(H5t,g7t),YOe=hU(H5t,p7t),WOe=hU(H5t,b7t),XOe=hU(H5t,w7t);dOt(1029,1,{},hc),EWt.Ib=function(){return "NIL"},bY(H5t,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),dOt(1028,43,tZt,Cm),EWt.xc=function(t){return qM(t)?EQ(this,t):zM(MZ(this.f,t))},bY(H5t,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var VOe,ZOe,QOe,JOe,tLe,eLe,nLe,iLe,rLe,aLe,oLe,sLe,cLe,uLe,lLe,hLe,fLe,dLe,gLe,pLe,bLe,wLe,yLe,mLe,vLe,xLe,kLe,_Le,ELe,TLe,CLe,SLe=hU(H5t,y7t),ALe=hU(H5t,"EValidator/PatternMatcher"),MLe=hU(m7t,"FeatureMap/Entry");dOt(535,1,{72:1},CM),EWt.ak=function(){return this.a},EWt.dd=function(){return this.b},bY(h6t,"BasicEObjectImpl/1",535),dOt(1027,1,v7t,SM),EWt.Wj=function(t){return Y5(this.a,this.b,t)},EWt.fj=function(){return ZQ(this.a,this.b)},EWt.Wb=function(t){LQ(this.a,this.b,t);},EWt.Xj=function(){TW(this.a,this.b);},bY(h6t,"BasicEObjectImpl/4",1027),dOt(1983,1,{108:1}),EWt.bk=function(t){this.e=0==t?kLe:D8(Ite,zWt,1,t,5,1);},EWt.Ch=function(t){return this.e[t]},EWt.Dh=function(t,e){this.e[t]=e;},EWt.Eh=function(t){this.e[t]=null;},EWt.ck=function(){return this.c},EWt.dk=function(){throw Fw(new py)},EWt.ek=function(){throw Fw(new py)},EWt.fk=function(){return this.d},EWt.gk=function(){return null!=this.e},EWt.hk=function(t){this.c=t;},EWt.ik=function(t){throw Fw(new py)},EWt.jk=function(t){throw Fw(new py)},EWt.kk=function(t){this.d=t;},bY(h6t,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),dOt(185,1983,{108:1},Ph),EWt.dk=function(){return this.a},EWt.ek=function(){return this.b},EWt.ik=function(t){this.a=t;},EWt.jk=function(t){this.b=t;},bY(h6t,"BasicEObjectImpl/EPropertiesHolderImpl",185),dOt(506,97,l6t,vc),EWt.Kg=function(){return this.f},EWt.Pg=function(){return this.k},EWt.Rg=function(t,e){this.g=t,this.i=e;},EWt.Tg=function(){return 2&this.j?this.ph().ck():this.zh()},EWt.Vg=function(){return this.i},EWt.Mg=function(){return !!(1&this.j)},EWt.eh=function(){return this.g},EWt.kh=function(){return !!(4&this.j)},EWt.ph=function(){return !this.k&&(this.k=new Ph),this.k},EWt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3;},EWt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5;},EWt.zh=function(){return (WY(),QOe).S},EWt.i=0,EWt.j=1,bY(h6t,"EObjectImpl",506),dOt(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},vH),EWt.Ch=function(t){return this.e[t]},EWt.Dh=function(t,e){this.e[t]=e;},EWt.Eh=function(t){this.e[t]=null;},EWt.Tg=function(){return this.d},EWt.Yg=function(t){return Igt(this.d,t)},EWt.$g=function(){return this.d},EWt.dh=function(){return null!=this.e},EWt.ph=function(){return !this.k&&(this.k=new xc),this.k},EWt.th=function(t){this.d=t;},EWt.yh=function(){var t;return null==this.e&&(t=hY(this.d),this.e=0==t?_Le:D8(Ite,zWt,1,t,5,1)),this},EWt.Ah=function(){return 0},bY(h6t,"DynamicEObjectImpl",780),dOt(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},uU),EWt.Fb=function(t){return this===t},EWt.Hb=function(){return TN(this)},EWt.th=function(t){this.d=t,this.b=DNt(t,"key"),this.c=DNt(t,k6t);},EWt.Sh=function(){var t;return -1==this.a&&(t=V9(this,this.b),this.a=null==t?0:Jct(t)),this.a},EWt.cd=function(){return V9(this,this.b)},EWt.dd=function(){return V9(this,this.c)},EWt.Th=function(t){this.a=t;},EWt.Uh=function(t){LQ(this,this.b,t);},EWt.ed=function(t){var e;return e=V9(this,this.c),LQ(this,this.c,t),e},EWt.a=0,bY(h6t,"DynamicEObjectImpl/BasicEMapEntry",1376),dOt(1377,1,{108:1},xc),EWt.bk=function(t){throw Fw(new py)},EWt.Ch=function(t){throw Fw(new py)},EWt.Dh=function(t,e){throw Fw(new py)},EWt.Eh=function(t){throw Fw(new py)},EWt.ck=function(){throw Fw(new py)},EWt.dk=function(){return this.a},EWt.ek=function(){return this.b},EWt.fk=function(){return this.c},EWt.gk=function(){throw Fw(new py)},EWt.hk=function(t){throw Fw(new py)},EWt.ik=function(t){this.a=t;},EWt.jk=function(t){this.b=t;},EWt.kk=function(t){this.c=t;},bY(h6t,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),dOt(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},kc),EWt.Qg=function(t){return fxt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),this.b):(!this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),M8(this.b));case 3:return hJ(this);case 4:return !this.a&&(this.a=new ID(IIe,this,4)),this.a;case 5:return !this.c&&(this.c=new PD(IIe,this,5)),this.c}return G7(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?fxt(this,n):this.Cb.ih(this,-1-i,null,n)),WG(this,$z(t,147),n)}return $z(eet($z(mot(this,16),26)||(pWt(),JOe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),JOe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 2:return !this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),$j(this.b,t,n);case 3:return WG(this,null,n);case 4:return !this.a&&(this.a=new ID(IIe,this,4)),jwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),JOe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),JOe)),t,n)},EWt.lh=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 !!hJ(this);case 4:return !!this.a&&0!=this.a.i;case 5:return !!this.c&&0!=this.c.i}return A3(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void pU(this,EB(e));case 2:return !this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),void tot(this.b,e);case 3:return void MNt(this,$z(e,147));case 4:return !this.a&&(this.a=new ID(IIe,this,4)),cUt(this.a),!this.a&&(this.a=new ID(IIe,this,4)),void pY(this.a,$z(e,14));case 5:return !this.c&&(this.c=new PD(IIe,this,5)),cUt(this.c),!this.c&&(this.c=new PD(IIe,this,5)),void pY(this.c,$z(e,14))}Ldt(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t),e);},EWt.zh=function(){return pWt(),JOe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Fit(this,null);case 2:return !this.b&&(this.b=new VP((pWt(),yLe),GLe,this)),void this.b.c.$b();case 3:return void MNt(this,null);case 4:return !this.a&&(this.a=new ID(IIe,this,4)),void cUt(this.a);case 5:return !this.c&&(this.c=new PD(IIe,this,5)),void cUt(this.c)}Hht(this,t-hY((pWt(),JOe)),eet($z(mot(this,16),26)||JOe,t));},EWt.Ib=function(){return Wht(this)},EWt.d=null,bY(h6t,"EAnnotationImpl",510),dOt(151,705,x7t,y7),EWt.Xh=function(t,e){QO(this,t,$z(e,42));},EWt.lk=function(t,e){return jj(this,$z(t,42),e)},EWt.pi=function(t){return $z($z(this.c,69).pi(t),133)},EWt.Zh=function(){return $z(this.c,69).Zh()},EWt.$h=function(){return $z(this.c,69).$h()},EWt._h=function(t){return $z(this.c,69)._h(t)},EWt.mk=function(t,e){return $j(this,t,e)},EWt.Wj=function(t){return $z(this.c,76).Wj(t)},EWt.rj=function(){},EWt.fj=function(){return $z(this.c,76).fj()},EWt.tj=function(t,e,n){var i;return (i=$z(qet(this.b).Nh().Jh(this.b),133)).Th(t),i.Uh(e),i.ed(n),i},EWt.uj=function(){return new Sw(this)},EWt.Wb=function(t){tot(this,t);},EWt.Xj=function(){$z(this.c,76).Xj();},bY(m7t,"EcoreEMap",151),dOt(158,151,x7t,VP),EWt.qj=function(){var t,e,n,i,r;if(null==this.d){for(r=D8(sOe,r7t,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=r[i=((e=$z(n.nj(),133)).Sh()&PWt)%r.length])&&(t=r[i]=new Sw(this)),t.Fc(e);this.d=r;}},bY(h6t,"EAnnotationImpl/1",158),dOt(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!this.$j();case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 9:return gY(this,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return !(256&this.Bb);case 3:return !(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return !!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){var n;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void this.Lh(EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void this.ok($z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi())}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.zh=function(){return pWt(),vLe},EWt.Bh=function(t){var e;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void this.Lh(null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void this.ok(1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi())}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.Gh=function(){Axt(this),this.Bb|=1;},EWt.Yj=function(){return Axt(this)},EWt.Zj=function(){return this.t},EWt.$j=function(){var t;return (t=this.t)>1||-1==t},EWt.hi=function(){return !!(512&this.Bb)},EWt.nk=function(t,e){return Cht(this,t,e)},EWt.ok=function(t){Dnt(this,t);},EWt.Ib=function(){return RIt(this)},EWt.s=0,EWt.t=1,bY(h6t,"ETypedElementImpl",284),dOt(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),EWt.Qg=function(t){return Dvt(this,t)},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!this.$j();case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cN(),!!(this.Bb&v6t);case 11:return cN(),!!(this.Bb&E7t);case 12:return cN(),!!(this.Bb&jVt);case 13:return this.j;case 14:return HDt(this);case 15:return cN(),!!(this.Bb&_7t);case 16:return cN(),!!(this.Bb&uXt);case 17:return dJ(this)}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 17:return this.Cb&&(n=(i=this.Db>>16)>=0?Dvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,17,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 9:return gY(this,n);case 17:return _$t(this,null,17,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return !(256&this.Bb);case 3:return !(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return !!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return !(this.Bb&v6t);case 11:return !!(this.Bb&E7t);case 12:return !!(this.Bb&jVt);case 13:return null!=this.j;case 14:return null!=HDt(this);case 15:return !!(this.Bb&_7t);case 16:return !!(this.Bb&uXt);case 17:return !!dJ(this)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){var n;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void this.ok($z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Dft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void RM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.zh=function(){return pWt(),mLe},EWt.Bh=function(t){var e;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Drt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void this.ok(1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Dft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.Gh=function(){mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1;},EWt.Gj=function(){return this.f},EWt.zj=function(){return HDt(this)},EWt.Hj=function(){return dJ(this)},EWt.Lj=function(){return null},EWt.pk=function(){return this.k},EWt.aj=function(){return this.n},EWt.Mj=function(){return s_t(this)},EWt.Nj=function(){var t,e,n,i,r,a,o,s,c;return this.p||((null==(n=dJ(this)).i&&HFt(n),n.i).length,(i=this.Lj())&&hY(dJ(i)),t=(o=(r=Axt(this)).Bj())?1&o.i?o==MNe?vee:o==ANe?Iee:o==DNe?See:o==LNe?Cee:o==INe?Bee:o==NNe?jee:o==ONe?_ee:Tee:o:null,e=HDt(this),s=r.zj(),fdt(this),this.Bb&uXt&&((a=ykt((ASt(),VLe),n))&&a!=this||(a=Z1($9(VLe,this))))?this.p=new MM(this,a):this.$j()?this.rk()?i?this.Bb&_7t?t?this.sk()?this.p=new lV(47,t,this,i):this.p=new lV(5,t,this,i):this.sk()?this.p=new f4(46,this,i):this.p=new f4(4,this,i):t?this.sk()?this.p=new lV(49,t,this,i):this.p=new lV(7,t,this,i):this.sk()?this.p=new f4(48,this,i):this.p=new f4(6,this,i):this.Bb&_7t?t?t==zte?this.p=new Tz(50,KIe,this):this.sk()?this.p=new Tz(43,t,this):this.p=new Tz(1,t,this):this.sk()?this.p=new PZ(42,this):this.p=new PZ(0,this):t?t==zte?this.p=new Tz(41,KIe,this):this.sk()?this.p=new Tz(45,t,this):this.p=new Tz(3,t,this):this.sk()?this.p=new PZ(44,this):this.p=new PZ(2,this):iD(r,148)?t==MLe?this.p=new PZ(40,this):512&this.Bb?this.Bb&_7t?this.p=t?new Tz(9,t,this):new PZ(8,this):this.p=t?new Tz(11,t,this):new PZ(10,this):this.Bb&_7t?this.p=t?new Tz(13,t,this):new PZ(12,this):this.p=t?new Tz(15,t,this):new PZ(14,this):i?(c=i.t)>1||-1==c?this.sk()?this.Bb&_7t?this.p=t?new lV(25,t,this,i):new f4(24,this,i):this.p=t?new lV(27,t,this,i):new f4(26,this,i):this.Bb&_7t?this.p=t?new lV(29,t,this,i):new f4(28,this,i):this.p=t?new lV(31,t,this,i):new f4(30,this,i):this.sk()?this.Bb&_7t?this.p=t?new lV(33,t,this,i):new f4(32,this,i):this.p=t?new lV(35,t,this,i):new f4(34,this,i):this.Bb&_7t?this.p=t?new lV(37,t,this,i):new f4(36,this,i):this.p=t?new lV(39,t,this,i):new f4(38,this,i):this.sk()?this.Bb&_7t?this.p=t?new Tz(17,t,this):new PZ(16,this):this.p=t?new Tz(19,t,this):new PZ(18,this):this.Bb&_7t?this.p=t?new Tz(21,t,this):new PZ(20,this):this.p=t?new Tz(23,t,this):new PZ(22,this):this.qk()?this.sk()?this.p=new Cz($z(r,26),this,i):this.p=new wQ($z(r,26),this,i):iD(r,148)?t==MLe?this.p=new PZ(40,this):this.Bb&_7t?this.p=t?new QG(e,s,this,(Fgt(),o==ANe?FLe:o==MNe?PLe:o==INe?zLe:o==DNe?$Le:o==LNe?jLe:o==NNe?ULe:o==ONe?BLe:o==SNe?RLe:HLe)):new dV($z(r,148),e,s,this):this.p=t?new ZG(e,s,this,(Fgt(),o==ANe?FLe:o==MNe?PLe:o==INe?zLe:o==DNe?$Le:o==LNe?jLe:o==NNe?ULe:o==ONe?BLe:o==SNe?RLe:HLe)):new fV($z(r,148),e,s,this):this.rk()?i?this.Bb&_7t?this.sk()?this.p=new Lz($z(r,26),this,i):this.p=new Oz($z(r,26),this,i):this.sk()?this.p=new Iz($z(r,26),this,i):this.p=new Sz($z(r,26),this,i):this.Bb&_7t?this.sk()?this.p=new tB($z(r,26),this):this.p=new JP($z(r,26),this):this.sk()?this.p=new QP($z(r,26),this):this.p=new ZP($z(r,26),this):this.sk()?i?this.Bb&_7t?this.p=new Dz($z(r,26),this,i):this.p=new Az($z(r,26),this,i):this.Bb&_7t?this.p=new nB($z(r,26),this):this.p=new eB($z(r,26),this):i?this.Bb&_7t?this.p=new Nz($z(r,26),this,i):this.p=new Mz($z(r,26),this,i):this.Bb&_7t?this.p=new iB($z(r,26),this):this.p=new iG($z(r,26),this)),this.p},EWt.Ij=function(){return !!(this.Bb&v6t)},EWt.qk=function(){return !1},EWt.rk=function(){return !1},EWt.Jj=function(){return !!(this.Bb&uXt)},EWt.Oj=function(){return ctt(this)},EWt.sk=function(){return !1},EWt.Kj=function(){return !!(this.Bb&_7t)},EWt.tk=function(t){this.k=t;},EWt.Lh=function(t){VJ(this,t);},EWt.Ib=function(){return kRt(this)},EWt.e=!1,EWt.n=0,bY(h6t,"EStructuralFeatureImpl",449),dOt(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Am),EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),!!DMt(this);case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cN(),!!(this.Bb&v6t);case 11:return cN(),!!(this.Bb&E7t);case 12:return cN(),!!(this.Bb&jVt);case 13:return this.j;case 14:return HDt(this);case 15:return cN(),!!(this.Bb&_7t);case 16:return cN(),!!(this.Bb&uXt);case 17:return dJ(this);case 18:return cN(),!!(this.Bb&u6t);case 19:return e?ost(this):D6(this)}return G7(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return !(256&this.Bb);case 3:return !(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return DMt(this);case 7:return this.s>=1;case 8:return !!this.r&&!this.q.e&&0==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return !(this.Bb&v6t);case 11:return !!(this.Bb&E7t);case 12:return !!(this.Bb&jVt);case 13:return null!=this.j;case 14:return null!=HDt(this);case 15:return !!(this.Bb&_7t);case 16:return !!(this.Bb&uXt);case 17:return !!dJ(this);case 18:return !!(this.Bb&u6t);case 19:return !!D6(this)}return A3(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Gk(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Dft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void RM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)));case 18:return void Uft(this,zv(kB(e)))}Ldt(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t),e);},EWt.zh=function(){return pWt(),tLe},EWt.Bh=function(t){var e;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Drt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return this.b=0,void Dnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Dft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1);case 18:return void Uft(this,!1)}Hht(this,t-hY((pWt(),tLe)),eet($z(mot(this,16),26)||tLe,t));},EWt.Gh=function(){ost(this),mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1;},EWt.$j=function(){return DMt(this)},EWt.nk=function(t,e){return this.b=0,this.a=null,Cht(this,t,e)},EWt.ok=function(t){Gk(this,t);},EWt.Ib=function(){var t;return 64&this.Db?kRt(this):((t=new uN(kRt(this))).a+=" (iD: ",y_(t,!!(this.Bb&u6t)),t.a+=")",t.a)},EWt.b=0,bY(h6t,"EAttributeImpl",322),dOt(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),EWt.uk=function(t){return t.Tg()==this},EWt.Qg=function(t){return lvt(this,t)},EWt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t;},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),this.A}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Qj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),jwt(this.A,t,n)}return $z(eet($z(mot(this,16),26)||this.zh(),e),66).Nj().Rj(this,lbt(this),e-hY(this.zh()),t,n)},EWt.lh=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 !!nvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return !!fJ(this);case 7:return !!this.A&&0!=this.A.i}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void ZJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return !this.A&&(this.A=new LD(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LD(SLe,this,7)),void pY(this.A,$z(e,14))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.zh=function(){return pWt(),nLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,179)&&($z(this.Cb,179).tb=null),void Drt(this,null);case 2:return Put(this,null),void Nnt(this,this.D);case 5:return void VUt(this,null);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),void cUt(this.A)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.yj=function(){var t;return -1==this.G&&(this.G=(t=qet(this))?oyt(t.Mh(),this):-1),this.G},EWt.zj=function(){return null},EWt.Aj=function(){return qet(this)},EWt.vk=function(){return this.v},EWt.Bj=function(){return nvt(this)},EWt.Cj=function(){return null!=this.D?this.D:this.B},EWt.Dj=function(){return this.F},EWt.wj=function(t){return TFt(this,t)},EWt.wk=function(t){this.v=t;},EWt.xk=function(t){qrt(this,t);},EWt.yk=function(t){this.C=t;},EWt.Lh=function(t){ZJ(this,t);},EWt.Ib=function(){return Sgt(this)},EWt.C=null,EWt.D=null,EWt.G=-1,bY(h6t,"EClassifierImpl",351),dOt(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Bh),EWt.uk=function(t){return WR(this,t.Tg())},EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return null;case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),this.A;case 8:return cN(),!!(256&this.Bb);case 9:return cN(),!!(512&this.Bb);case 10:return mZ(this);case 11:return !this.q&&(this.q=new tK(YOe,this,11,10)),this.q;case 12:return Vzt(this);case 13:return Bzt(this);case 14:return Bzt(this),this.r;case 15:return Vzt(this),this.k;case 16:return YSt(this);case 17:return pzt(this);case 18:return HFt(this);case 19:return SDt(this);case 20:return Vzt(this),this.o;case 21:return !this.s&&(this.s=new tK(ROe,this,21,17)),this.s;case 22:return r4(this);case 23:return zBt(this)}return G7(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n);case 11:return !this.q&&(this.q=new tK(YOe,this,11,10)),Vgt(this.q,t,n);case 21:return !this.s&&(this.s=new tK(ROe,this,21,17)),Vgt(this.s,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),eLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),eLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),jwt(this.A,t,n);case 11:return !this.q&&(this.q=new tK(YOe,this,11,10)),jwt(this.q,t,n);case 21:return !this.s&&(this.s=new tK(ROe,this,21,17)),jwt(this.s,t,n);case 22:return jwt(r4(this),t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),eLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),eLe)),t,n)},EWt.lh=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 !!nvt(this);case 4:return !1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return !!fJ(this);case 7:return !!this.A&&0!=this.A.i;case 8:return !!(256&this.Bb);case 9:return !!(512&this.Bb);case 10:return !(!this.u||0==r4(this.u.a).i||this.n&&Byt(this.n));case 11:return !!this.q&&0!=this.q.i;case 12:return 0!=Vzt(this).i;case 13:return 0!=Bzt(this).i;case 14:return Bzt(this),0!=this.r.i;case 15:return Vzt(this),0!=this.k.i;case 16:return 0!=YSt(this).i;case 17:return 0!=pzt(this).i;case 18:return 0!=HFt(this).i;case 19:return 0!=SDt(this).i;case 20:return Vzt(this),!!this.o;case 21:return !!this.s&&0!=this.s.i;case 22:return !!this.n&&Byt(this.n);case 23:return 0!=zBt(this).i}return A3(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t))},EWt.oh=function(t){return (null==this.i||this.q&&0!=this.q.i?null:DNt(this,t))||uKt(this,t)},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void ZJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return !this.A&&(this.A=new LD(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LD(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Zht(this,zv(kB(e)));case 9:return void tft(this,zv(kB(e)));case 10:return wUt(mZ(this)),void pY(mZ(this),$z(e,14));case 11:return !this.q&&(this.q=new tK(YOe,this,11,10)),cUt(this.q),!this.q&&(this.q=new tK(YOe,this,11,10)),void pY(this.q,$z(e,14));case 21:return !this.s&&(this.s=new tK(ROe,this,21,17)),cUt(this.s),!this.s&&(this.s=new tK(ROe,this,21,17)),void pY(this.s,$z(e,14));case 22:return cUt(r4(this)),void pY(r4(this),$z(e,14))}Ldt(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t),e);},EWt.zh=function(){return pWt(),eLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,179)&&($z(this.Cb,179).tb=null),void Drt(this,null);case 2:return Put(this,null),void Nnt(this,this.D);case 5:return void VUt(this,null);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),void cUt(this.A);case 8:return void Zht(this,!1);case 9:return void tft(this,!1);case 10:return void(this.u&&wUt(this.u));case 11:return !this.q&&(this.q=new tK(YOe,this,11,10)),void cUt(this.q);case 21:return !this.s&&(this.s=new tK(ROe,this,21,17)),void cUt(this.s);case 22:return void(this.n&&cUt(this.n))}Hht(this,t-hY((pWt(),eLe)),eet($z(mot(this,16),26)||eLe,t));},EWt.Gh=function(){var t,e;if(Vzt(this),Bzt(this),YSt(this),pzt(this),HFt(this),SDt(this),zBt(this),r6(qz(T5(this))),this.s)for(t=0,e=this.s.i;t<e;++t)bP(Yet(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)bP(Yet(this.q,t));Sht((ASt(),VLe),this).ne(),this.Bb|=1;},EWt.Ib=function(){return g_t(this)},EWt.k=null,EWt.r=null,bY(h6t,"EClassImpl",88),dOt(1994,1993,P7t),EWt.Vh=function(t,e){return LFt(this,t,e)},EWt.Wh=function(t){return LFt(this,this.i,t)},EWt.Xh=function(t,e){HIt(this,t,e);},EWt.Yh=function(t){tOt(this,t);},EWt.lk=function(t,e){return Vgt(this,t,e)},EWt.pi=function(t){return j7(this,t)},EWt.mk=function(t,e){return jwt(this,t,e)},EWt.mi=function(t,e){return lzt(this,t,e)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},bY(m7t,"NotifyingInternalEListImpl",1994),dOt(622,1994,B7t),EWt.Hc=function(t){return fUt(this,t)},EWt.Zi=function(t,e,n,i,r){return yJ(this,t,e,n,i,r)},EWt.$i=function(t){Oy(this,t);},EWt.Wj=function(t){return this},EWt.ak=function(){return eet(this.e.Tg(),this.aj())},EWt._i=function(){return this.ak()},EWt.aj=function(){return Igt(this.e.Tg(),this.ak())},EWt.zk=function(){return $z(this.ak().Yj(),26).Bj()},EWt.Ak=function(){return Syt($z(this.ak(),18)).n},EWt.Ai=function(){return this.e},EWt.Bk=function(){return !0},EWt.Ck=function(){return !1},EWt.Dk=function(){return !1},EWt.Ek=function(){return !1},EWt.Xc=function(t){return oyt(this,t)},EWt.cj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.gh(this.e,this.Ak(),this.zk(),e):n.gh(this.e,Igt(n.Tg(),Syt($z(this.ak(),18))),null,e):n.gh(this.e,-1-this.aj(),null,e)},EWt.dj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.ih(this.e,this.Ak(),this.zk(),e):n.ih(this.e,Igt(n.Tg(),Syt($z(this.ak(),18))),null,e):n.ih(this.e,-1-this.aj(),null,e)},EWt.rk=function(){return !1},EWt.Fk=function(){return !0},EWt.wj=function(t){return D3(this.d,t)},EWt.ej=function(){return wO(this.e)},EWt.fj=function(){return 0!=this.i},EWt.ri=function(t){return Pnt(this.d,t)},EWt.li=function(t,e){return this.Fk()&&this.Ek()?UIt(this,t,$z(e,56)):e},EWt.Gk=function(t){return t.kh()?tht(this.e,$z(t,49)):t},EWt.Wb=function(t){VL(this,t);},EWt.Pc=function(){return F7(this)},EWt.Qc=function(t){var e;if(this.Ek())for(e=this.i-1;e>=0;--e)Yet(this,e);return Xgt(this,t)},EWt.Xj=function(){cUt(this);},EWt.oi=function(t,e){return jnt(this,t,e)},bY(m7t,"EcoreEList",622),dOt(496,622,B7t,yH),EWt.ai=function(){return !1},EWt.aj=function(){return this.c},EWt.bj=function(){return !1},EWt.Fk=function(){return !0},EWt.hi=function(){return !0},EWt.li=function(t,e){return e},EWt.ni=function(){return !1},EWt.c=0,bY(m7t,"EObjectEList",496),dOt(85,496,B7t,ID),EWt.bj=function(){return !0},EWt.Dk=function(){return !1},EWt.rk=function(){return !0},bY(m7t,"EObjectContainmentEList",85),dOt(545,85,B7t,OD),EWt.ci=function(){this.b=!0;},EWt.fj=function(){return this.b},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.b,this.b=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.b=!1;},EWt.b=!1,bY(m7t,"EObjectContainmentEList/Unsettable",545),dOt(1140,545,B7t,XG),EWt.ii=function(t,e){var n,i;return n=$z(Aft(this,t,e),87),wO(this.e)&&Oy(this,new v7(this.a,7,(pWt(),iLe),nft(e),iD(i=n.c,88)?$z(i,26):fLe,t)),n},EWt.jj=function(t,e){return Qgt(this,$z(t,87),e)},EWt.kj=function(t,e){return Zgt(this,$z(t,87),e)},EWt.lj=function(t,e,n){return jkt(this,$z(t,87),$z(e,87),n)},EWt.Zi=function(t,e,n,i,r){switch(t){case 3:return yJ(this,t,e,n,i,this.i>1);case 5:return yJ(this,t,e,n,i,this.i-$z(n,15).gc()>0);default:return new L9(this.e,t,this.c,e,n,i,!0)}},EWt.ij=function(){return !0},EWt.fj=function(){return Byt(this)},EWt.Xj=function(){cUt(this);},bY(h6t,"EClassImpl/1",1140),dOt(1154,1153,Q8t),EWt.ui=function(t){var e,n,i,r,a,o,s;if(8!=(n=t.xi())){if(0==(i=awt(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=T5($z(s,473))).c&&(e.c=new zc),stt(e.c,t.Ai())),null!=(o=t.zi())&&(1&(r=$z(o,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26))));break;case 3:null!=(o=t.zi())&&(1&(r=$z(o,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26))));break;case 5:if(null!=(o=t.zi()))for(a=$z(o,14).Kc();a.Ob();)1&(r=$z(a.Pb(),473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),u7(e.c,$z(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&(1&(r=$z(s,473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),stt(e.c,t.Ai())));break;case 6:if(null!=(s=t.Bi()))for(a=$z(s,14).Kc();a.Ob();)1&(r=$z(a.Pb(),473)).Bb||(!(e=T5(r)).c&&(e.c=new zc),stt(e.c,t.Ai()));}this.Hk(i);}},EWt.Hk=function(t){gRt(this,t);},EWt.b=63,bY(h6t,"ESuperAdapter",1154),dOt(1155,1154,Q8t,dw),EWt.Hk=function(t){IAt(this,t);},bY(h6t,"EClassImpl/10",1155),dOt(1144,696,B7t),EWt.Vh=function(t,e){return FEt(this,t,e)},EWt.Wh=function(t){return fmt(this,t)},EWt.Xh=function(t,e){Aht(this,t,e);},EWt.Yh=function(t){i6(this,t);},EWt.pi=function(t){return j7(this,t)},EWt.mi=function(t,e){return ott(this,t,e)},EWt.lk=function(t,e){throw Fw(new py)},EWt.Zh=function(){return new rP(this)},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},EWt.mk=function(t,e){throw Fw(new py)},EWt.Wj=function(t){return this},EWt.fj=function(){return 0!=this.i},EWt.Wb=function(t){throw Fw(new py)},EWt.Xj=function(){throw Fw(new py)},bY(m7t,"EcoreEList/UnmodifiableEList",1144),dOt(319,1144,B7t,LI),EWt.ni=function(){return !1},bY(m7t,"EcoreEList/UnmodifiableEList/FastCompare",319),dOt(1147,319,B7t,gct),EWt.Xc=function(t){var e,n;if(iD(t,170)&&-1!=(e=$z(t,170).aj()))for(n=this.i;e<n;++e)if(HM(this.g[e])===HM(t))return e;return -1},bY(h6t,"EClassImpl/1EAllStructuralFeaturesList",1147),dOt(1141,497,u8t,_c),EWt.ri=function(t){return D8(KOe,F7t,87,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/1EGenericSuperTypeEList",1141),dOt(623,497,u8t,Ec),EWt.ri=function(t){return D8(ROe,D7t,170,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/1EStructuralFeatureUniqueEList",623),dOt(741,497,u8t,Tc),EWt.ri=function(t){return D8(XOe,D7t,18,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/1ReferenceList",741),dOt(1142,497,u8t,gw),EWt.bi=function(t,e){JG(this,$z(e,34));},EWt.ri=function(t){return D8(jOe,D7t,34,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/2",1142),dOt(1143,497,u8t,Cc),EWt.ri=function(t){return D8(jOe,D7t,34,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/3",1143),dOt(1145,319,B7t,xH),EWt.Fc=function(t){return wz(this,$z(t,34))},EWt.Yh=function(t){V_(this,$z(t,34));},bY(h6t,"EClassImpl/4",1145),dOt(1146,319,B7t,kH),EWt.Fc=function(t){return yz(this,$z(t,18))},EWt.Yh=function(t){Z_(this,$z(t,18));},bY(h6t,"EClassImpl/5",1146),dOt(1148,497,u8t,Sc),EWt.ri=function(t){return D8(YOe,N7t,59,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/6",1148),dOt(1149,497,u8t,Ac),EWt.ri=function(t){return D8(XOe,D7t,18,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/7",1149),dOt(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),EWt.Vh=function(t,e){return oFt(this,t,e)},EWt.Wh=function(t){return oFt(this,this.Vi(),t)},EWt.Xh=function(t,e){eOt(this,t,e);},EWt.Yh=function(t){MIt(this,t);},EWt.lk=function(t,e){return dmt(this,t,e)},EWt.mk=function(t,e){return $wt(this,t,e)},EWt.mi=function(t,e){return sFt(this,t,e)},EWt.pi=function(t){return this.Oi(t)},EWt.Zh=function(){return new rP(this)},EWt.Gi=function(){return this.Ji()},EWt.$h=function(){return new aP(this)},EWt._h=function(t){return cit(this,t)},bY(m7t,"DelegatingNotifyingInternalEListImpl",1997),dOt(742,1997,z7t),EWt.ai=function(){var t;return iD(t=eet(vZ(this.b),this.aj()).Yj(),148)&&!iD(t,457)&&!(1&t.Bj().i)},EWt.Hc=function(t){var e,n,i,r,a,o,s;if(this.Fk()){if((s=this.Vi())>4){if(!this.wj(t))return !1;if(this.rk()){if(o=(e=(n=$z(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),$z(eet(vZ(this.b),this.aj()).Yj(),26).Bj())==Syt($z(eet(vZ(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(i=0;i<s;++i)if(HM(Hq(this,this.Oi(i)))===HM(t))return !0;return o}if(this.Dk()&&!this.Ck()){if(HM(r=$z(t,56).ah(Syt($z(eet(vZ(this.b),this.aj()),18))))===HM(this.b))return !0;if(null==r||!$z(r,56).kh())return !1}}if(a=this.Li(t),this.Ek()&&!a)for(i=0;i<s;++i)if(HM(n=Hq(this,this.Oi(i)))===HM(t))return !0;return a}return this.Li(t)},EWt.Zi=function(t,e,n,i,r){return new L9(this.b,t,this.aj(),e,n,i,r)},EWt.$i=function(t){fot(this.b,t);},EWt.Wj=function(t){return this},EWt._i=function(){return eet(vZ(this.b),this.aj())},EWt.aj=function(){return Igt(vZ(this.b),eet(vZ(this.b),this.aj()))},EWt.Ai=function(){return this.b},EWt.Bk=function(){return !!eet(vZ(this.b),this.aj()).Yj().Bj()},EWt.bj=function(){var t;return !(!iD(t=eet(vZ(this.b),this.aj()),99)||!($z(t,18).Bb&u6t)&&!Syt($z(t,18)))},EWt.Ck=function(){var t,e,n;return !!iD(t=eet(vZ(this.b),this.aj()),99)&&!!(e=Syt($z(t,18)))&&((n=e.t)>1||-1==n)},EWt.Dk=function(){var t;return !!iD(t=eet(vZ(this.b),this.aj()),99)&&!!Syt($z(t,18))},EWt.Ek=function(){var t;return !!iD(t=eet(vZ(this.b),this.aj()),99)&&!!($z(t,18).Bb&FVt)},EWt.Xc=function(t){var e,n,i;if((n=this.Qi(t))>=0)return n;if(this.Fk())for(e=0,i=this.Vi();e<i;++e)if(HM(Hq(this,this.Oi(e)))===HM(t))return e;return -1},EWt.cj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.gh(this.b,Syt($z(eet(vZ(this.b),this.aj()),18)).n,$z(eet(vZ(this.b),this.aj()).Yj(),26).Bj(),e):n.gh(this.b,Igt(n.Tg(),Syt($z(eet(vZ(this.b),this.aj()),18))),null,e):n.gh(this.b,-1-this.aj(),null,e)},EWt.dj=function(t,e){var n;return n=$z(t,49),this.Dk()?this.Bk()?n.ih(this.b,Syt($z(eet(vZ(this.b),this.aj()),18)).n,$z(eet(vZ(this.b),this.aj()).Yj(),26).Bj(),e):n.ih(this.b,Igt(n.Tg(),Syt($z(eet(vZ(this.b),this.aj()),18))),null,e):n.ih(this.b,-1-this.aj(),null,e)},EWt.rk=function(){var t;return !!iD(t=eet(vZ(this.b),this.aj()),99)&&!!($z(t,18).Bb&u6t)},EWt.Fk=function(){return iD(eet(vZ(this.b),this.aj()).Yj(),88)},EWt.wj=function(t){return eet(vZ(this.b),this.aj()).Yj().wj(t)},EWt.ej=function(){return wO(this.b)},EWt.fj=function(){return !this.Ri()},EWt.hi=function(){return eet(vZ(this.b),this.aj()).hi()},EWt.li=function(t,e){return eGt(this,t,e)},EWt.Wb=function(t){wUt(this),pY(this,$z(t,15));},EWt.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)eGt(this,t,this.Oi(t));return this.Wi()},EWt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)eGt(this,e,this.Oi(e));return this.Xi(t)},EWt.Xj=function(){wUt(this);},EWt.oi=function(t,e){return $7(this,t,e)},bY(m7t,"DelegatingEcoreEList",742),dOt(1150,742,z7t,aR),EWt.Hi=function(t,e){lB(this,t,$z(e,26));},EWt.Ii=function(t){tL(this,$z(t,26));},EWt.Oi=function(t){var e;return iD(e=$z(Yet(r4(this.a),t),87).c,88)?$z(e,26):(pWt(),fLe)},EWt.Ti=function(t){var e;return iD(e=$z(lBt(r4(this.a),t),87).c,88)?$z(e,26):(pWt(),fLe)},EWt.Ui=function(t,e){return gmt(this,t,$z(e,26))},EWt.ai=function(){return !1},EWt.Zi=function(t,e,n,i,r){return null},EWt.Ji=function(){return new pw(this)},EWt.Ki=function(){cUt(r4(this.a));},EWt.Li=function(t){return qht(this,t)},EWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!qht(this,e.Pb()))return !1;return !0},EWt.Ni=function(t){var e,n,i;if(iD(t,15)&&(i=$z(t,15)).gc()==r4(this.a).i){for(e=i.Kc(),n=new MD(this);e.Ob();)if(HM(e.Pb())!==HM(vwt(n)))return !1;return !0}return !1},EWt.Pi=function(){var t,e,n,i;for(e=1,t=new MD(r4(this.a));t.e!=t.i.gc();)e=31*e+((n=iD(i=$z(vwt(t),87).c,88)?$z(i,26):(pWt(),fLe))?TN(n):0);return e},EWt.Qi=function(t){var e,n,i,r;for(i=0,n=new MD(r4(this.a));n.e!=n.i.gc();){if(e=$z(vwt(n),87),HM(t)===HM(iD(r=e.c,88)?$z(r,26):(pWt(),fLe)))return i;++i;}return -1},EWt.Ri=function(){return 0==r4(this.a).i},EWt.Si=function(){return null},EWt.Vi=function(){return r4(this.a).i},EWt.Wi=function(){var t,e,n,i,r,a;for(a=r4(this.a).i,r=D8(Ite,zWt,1,a,5,1),n=0,e=new MD(r4(this.a));e.e!=e.i.gc();)t=$z(vwt(e),87),r[n++]=iD(i=t.c,88)?$z(i,26):(pWt(),fLe);return r},EWt.Xi=function(t){var e,n,i,r;for(r=r4(this.a).i,t.length<r&&(t=Pnt(tut(t).c,r)),t.length>r&&IY(t,r,null),n=0,e=new MD(r4(this.a));e.e!=e.i.gc();)IY(t,n++,iD(i=$z(vwt(e),87).c,88)?$z(i,26):(pWt(),fLe));return t},EWt.Yi=function(){var t,e,n,i,r;for((r=new Ex).a+="[",t=r4(this.a),e=0,i=r4(this.a).i;e<i;)iI(r,mN(iD(n=$z(Yet(t,e),87).c,88)?$z(n,26):(pWt(),fLe))),++e<i&&(r.a+=$Wt);return r.a+="]",r.a},EWt.$i=function(t){},EWt.aj=function(){return 10},EWt.Bk=function(){return !0},EWt.bj=function(){return !1},EWt.Ck=function(){return !1},EWt.Dk=function(){return !1},EWt.Ek=function(){return !0},EWt.rk=function(){return !1},EWt.Fk=function(){return !0},EWt.wj=function(t){return iD(t,88)},EWt.fj=function(){return W0(this.a)},EWt.hi=function(){return !0},EWt.ni=function(){return !0},bY(h6t,"EClassImpl/8",1150),dOt(1151,1964,LXt,pw),EWt.Zc=function(t){return cit(this.a,t)},EWt.gc=function(){return r4(this.a.a).i},bY(h6t,"EClassImpl/8/1",1151),dOt(1152,497,u8t,Mc),EWt.ri=function(t){return D8($Oe,zWt,138,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"EClassImpl/9",1152),dOt(1139,53,eZt,Sm),bY(h6t,"EClassImpl/MyHashSet",1139),dOt(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},xy),EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),this.A;case 8:return cN(),!!(256&this.Bb)}return G7(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e,n)},EWt.lh=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 !!nvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return !!fJ(this);case 7:return !!this.A&&0!=this.A.i;case 8:return !(256&this.Bb)}return A3(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void ZJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return !this.A&&(this.A=new LD(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LD(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Qht(this,zv(kB(e)))}Ldt(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t),e);},EWt.zh=function(){return pWt(),rLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,179)&&($z(this.Cb,179).tb=null),void Drt(this,null);case 2:return Put(this,null),void Nnt(this,this.D);case 5:return void VUt(this,null);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),void cUt(this.A);case 8:return void Qht(this,!0)}Hht(this,t-hY(this.zh()),eet($z(mot(this,16),26)||this.zh(),t));},EWt.Gh=function(){Sht((ASt(),VLe),this).ne(),this.Bb|=1;},EWt.Fj=function(){var t,e;if(!this.c&&!(t=ULt(qet(this))).dc())for(e=t.Kc();e.Ob();)D$t(this,EB(e.Pb()))&&Bft(this);return this.b},EWt.zj=function(){var t;if(!this.e){t=null;try{t=nvt(this);}catch(t){if(!iD(t=hst(t),102))throw Fw(t)}this.d=null,t&&1&t.i&&(this.d=t==MNe?(cN(),bee):t==ANe?nft(0):t==DNe?new Ld(0):t==LNe?0:t==INe?xbt(0):t==NNe?ift(0):t==ONe?Ttt(0):lst(0)),this.e=!0;}return this.d},EWt.Ej=function(){return !!(256&this.Bb)},EWt.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator");},EWt.xk=function(t){qrt(this,t),this.Ik(t);},EWt.yk=function(t){this.C=t,this.e=!1;},EWt.Ib=function(){var t;return 64&this.Db?Sgt(this):((t=new uN(Sgt(this))).a+=" (serializable: ",y_(t,!!(256&this.Bb)),t.a+=")",t.a)},EWt.c=!1,EWt.d=null,EWt.e=!1,bY(h6t,"EDataTypeImpl",566),dOt(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Mm),EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return nvt(this);case 4:return Xut(this);case 5:return this.F;case 6:return e?qet(this):fJ(this);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),this.A;case 8:return cN(),!!(256&this.Bb);case 9:return !this.a&&(this.a=new tK(qOe,this,9,5)),this.a}return G7(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lvt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,6,n);case 9:return !this.a&&(this.a=new tK(qOe,this,9,5)),Vgt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),aLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),aLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 6:return _$t(this,null,6,n);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),jwt(this.A,t,n);case 9:return !this.a&&(this.a=new tK(qOe,this,9,5)),jwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),aLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),aLe)),t,n)},EWt.lh=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 !!nvt(this);case 4:return !!Xut(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return !!fJ(this);case 7:return !!this.A&&0!=this.A.i;case 8:return !(256&this.Bb);case 9:return !!this.a&&0!=this.a.i}return A3(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void ZJ(this,EB(e));case 2:return void SO(this,EB(e));case 5:return void VUt(this,EB(e));case 7:return !this.A&&(this.A=new LD(SLe,this,7)),cUt(this.A),!this.A&&(this.A=new LD(SLe,this,7)),void pY(this.A,$z(e,14));case 8:return void Qht(this,zv(kB(e)));case 9:return !this.a&&(this.a=new tK(qOe,this,9,5)),cUt(this.a),!this.a&&(this.a=new tK(qOe,this,9,5)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t),e);},EWt.zh=function(){return pWt(),aLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,179)&&($z(this.Cb,179).tb=null),void Drt(this,null);case 2:return Put(this,null),void Nnt(this,this.D);case 5:return void VUt(this,null);case 7:return !this.A&&(this.A=new LD(SLe,this,7)),void cUt(this.A);case 8:return void Qht(this,!0);case 9:return !this.a&&(this.a=new tK(qOe,this,9,5)),void cUt(this.a)}Hht(this,t-hY((pWt(),aLe)),eet($z(mot(this,16),26)||aLe,t));},EWt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)bP(Yet(this.a,t));Sht((ASt(),VLe),this).ne(),this.Bb|=1;},EWt.zj=function(){return Xut(this)},EWt.wj=function(t){return null!=t},EWt.Ik=function(t){},bY(h6t,"EEnumImpl",457),dOt(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},vy),EWt.ne=function(){return this.zb},EWt.Qg=function(t){return hxt(this,t)},EWt._g=function(t,e,n){var i;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return nft(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(i=this.c)?this.zb:i;case 5:return this.Db>>16==5?$z(this.Cb,671):null}return G7(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 5:return this.Cb&&(n=(i=this.Db>>16)>=0?hxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,5,n)}return $z(eet($z(mot(this,16),26)||(pWt(),oLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),oLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 5:return _$t(this,null,5,n)}return $z(eet($z(mot(this,16),26)||(pWt(),oLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),oLe)),t,n)},EWt.lh=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||!$z(this.Cb,671))}return A3(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Drt(this,EB(e));case 2:return void Ont(this,$z(e,19).a);case 3:return void pIt(this,$z(e,1940));case 4:return void $it(this,EB(e))}Ldt(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t),e);},EWt.zh=function(){return pWt(),oLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Drt(this,null);case 2:return void Ont(this,0);case 3:return void pIt(this,null);case 4:return void $it(this,null)}Hht(this,t-hY((pWt(),oLe)),eet($z(mot(this,16),26)||oLe,t));},EWt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},EWt.b=null,EWt.c=null,EWt.d=0,bY(h6t,"EEnumLiteralImpl",573);var ILe,OLe,LLe,DLe=hU(h6t,"EFactoryImpl/InternalEDateTimeFormat");dOt(489,1,{2015:1},bw),bY(h6t,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),dOt(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Bw),EWt.Sg=function(t,e,n){var i;return n=_$t(this,t,e,n),this.e&&iD(t,170)&&(i=vDt(this,this.e))!=this.c&&(n=aqt(this,i,n)),n},EWt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return !this.d&&(this.d=new ID(KOe,this,1)),this.d;case 2:return e?hFt(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?Hyt(this):this.a}return G7(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return Jlt(this,null,n);case 1:return !this.d&&(this.d=new ID(KOe,this,1)),jwt(this.d,t,n);case 3:return Qlt(this,null,n)}return $z(eet($z(mot(this,16),26)||(pWt(),cLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),cLe)),t,n)},EWt.lh=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 A3(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t))},EWt.sh=function(t,e){switch(t){case 0:return void x_t(this,$z(e,87));case 1:return !this.d&&(this.d=new ID(KOe,this,1)),cUt(this.d),!this.d&&(this.d=new ID(KOe,this,1)),void pY(this.d,$z(e,14));case 3:return void v_t(this,$z(e,87));case 4:return void PTt(this,$z(e,836));case 5:return void rnt(this,$z(e,138))}Ldt(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t),e);},EWt.zh=function(){return pWt(),cLe},EWt.Bh=function(t){switch(t){case 0:return void x_t(this,null);case 1:return !this.d&&(this.d=new ID(KOe,this,1)),void cUt(this.d);case 3:return void v_t(this,null);case 4:return void PTt(this,null);case 5:return void rnt(this,null)}Hht(this,t-hY((pWt(),cLe)),eet($z(mot(this,16),26)||cLe,t));},EWt.Ib=function(){var t;return (t=new lN(CLt(this))).a+=" (expression: ",fHt(this,t),t.a+=")",t.a},bY(h6t,"EGenericTypeImpl",241),dOt(1969,1964,H7t),EWt.Xh=function(t,e){QB(this,t,e);},EWt.lk=function(t,e){return QB(this,this.gc(),t),e},EWt.pi=function(t){return Pwt(this.Gi(),t)},EWt.Zh=function(){return this.$h()},EWt.Gi=function(){return new Tw(this)},EWt.$h=function(){return this._h(0)},EWt._h=function(t){return this.Gi().Zc(t)},EWt.mk=function(t,e){return mgt(this,t,!0),e},EWt.ii=function(t,e){var n;return n=txt(this,e),this.Zc(t).Rb(n),n},EWt.ji=function(t,e){mgt(this,e,!0),this.Zc(t).Rb(e);},bY(m7t,"AbstractSequentialInternalEList",1969),dOt(486,1969,H7t,WN),EWt.pi=function(t){return Pwt(this.Gi(),t)},EWt.Zh=function(){return null==this.b?(XT(),XT(),LLe):this.Jk()},EWt.Gi=function(){return new NI(this.a,this.b)},EWt.$h=function(){return null==this.b?(XT(),XT(),LLe):this.Jk()},EWt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw Fw(new Mv(e7t+t+", size=0"));return XT(),XT(),LLe}for(n=this.Jk(),e=0;e<t;++e)Eot(n);return n},EWt.dc=function(){var t,e,n,i,r,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(a=this.a.bh(t,!1),ZT(),$z(t,66).Oj()){for(i=0,r=(e=$z(a,153)).gc();i<r;++i)if(fY(e.il(i))&&null!=e.jl(i))return !1}else if(t.$j()){if(!$z(a,14).dc())return !1}else if(null!=a)return !1;return !0},EWt.Kc=function(){return krt(this)},EWt.Zc=function(t){var e,n;if(null==this.b){if(0!=t)throw Fw(new Mv(e7t+t+", size=0"));return XT(),XT(),LLe}for(n=this.Lk()?this.Kk():this.Jk(),e=0;e<t;++e)Eot(n);return n},EWt.ii=function(t,e){throw Fw(new py)},EWt.ji=function(t,e){throw Fw(new py)},EWt.Jk=function(){return new XN(this.a,this.b)},EWt.Kk=function(){return new YP(this.a,this.b)},EWt.Lk=function(){return !0},EWt.gc=function(){var t,e,n,i,r,a,o;if(r=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(o=this.a.bh(t,!1),ZT(),$z(t,66).Oj())for(i=0,a=(e=$z(o,153)).gc();i<a;++i)fY(e.il(i))&&null!=e.jl(i)&&++r;else t.$j()?r+=$z(o,14).gc():null!=o&&++r;return r},EWt.Mk=function(){return !0},bY(m7t,"EContentsEList",486),dOt(1156,486,H7t,KP),EWt.Jk=function(){return new WP(this.a,this.b)},EWt.Kk=function(){return new XP(this.a,this.b)},EWt.Mk=function(){return !1},bY(h6t,"ENamedElementImpl/1",1156),dOt(279,1,U7t,XN),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){throw Fw(new py)},EWt.Nk=function(t){if(0!=this.g||this.e)throw Fw(new jv("Iterator already in use or already filtered"));this.e=t;},EWt.Ob=function(){var t,e,n,i,r,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?vSt(this,this.p):bIt(this)))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Gj()!=OIe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(ZT(),$z(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=$z(a,15),this.k=i):(i=$z(a,69),this.k=this.j=i),iD(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?vSt(this,this.p):bIt(this))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,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}},EWt.Sb=function(){var t,e,n,i,r,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?xSt(this,this.p):dAt(this)))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=OIe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(ZT(),$z(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=$z(a,15),this.k=i):(i=$z(a,69),this.k=this.j=i),iD(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?xSt(this,this.p):dAt(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=$z(r,72)).ak(),n=t.dd(),this.i=n):(n=r,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}},EWt.Pb=function(){return Eot(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){var t;if(this.g<-1||this.Sb())return --this.a,this.g=0,t=this.i,this.Sb(),t;throw Fw(new yy)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){throw Fw(new py)},EWt.Lk=function(){return !1},EWt.Wb=function(t){throw Fw(new py)},EWt.Mk=function(){return !0},EWt.a=0,EWt.d=0,EWt.f=!1,EWt.g=0,EWt.n=0,EWt.o=0,bY(m7t,"EContentsEList/FeatureIteratorImpl",279),dOt(697,279,U7t,YP),EWt.Lk=function(){return !0},bY(m7t,"EContentsEList/ResolvingFeatureIteratorImpl",697),dOt(1157,697,U7t,XP),EWt.Mk=function(){return !1},bY(h6t,"ENamedElementImpl/1/1",1157),dOt(1158,279,U7t,WP),EWt.Mk=function(){return !1},bY(h6t,"ENamedElementImpl/1/2",1158),dOt(36,143,t7t,u4,l4,Qq,m7,L9,J5,znt,E0,Hnt,T0,V5,C0,qnt,S0,Z5,A0,Unt,M0,Jq,v7,HV,Gnt,I0,Q5,O0),EWt._i=function(){return c7(this)},EWt.gj=function(){var t;return (t=c7(this))?t.zj():null},EWt.yi=function(t){return -1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},EWt.Ai=function(){return this.c},EWt.hj=function(){var t;return !!(t=c7(this))&&t.Kj()},EWt.b=-1,bY(h6t,"ENotificationImpl",36),dOt(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Im),EWt.Qg=function(t){return Cxt(this,t)},EWt._g=function(t,e,n){var i;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(i=this.t)>1||-1==i;case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?$z(this.Cb,26):null;case 11:return !this.d&&(this.d=new LD(SLe,this,11)),this.d;case 12:return !this.c&&(this.c=new tK(WOe,this,12,10)),this.c;case 13:return !this.a&&(this.a=new oR(this,this)),this.a;case 14:return F9(this)}return G7(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Cxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,10,n);case 12:return !this.c&&(this.c=new tK(WOe,this,12,10)),Vgt(this.c,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),dLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),dLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 9:return gY(this,n);case 10:return _$t(this,null,10,n);case 11:return !this.d&&(this.d=new LD(SLe,this,11)),jwt(this.d,t,n);case 12:return !this.c&&(this.c=new tK(WOe,this,12,10)),jwt(this.c,t,n);case 14:return jwt(F9(this),t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),dLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),dLe)),t,n)},EWt.lh=function(t){var e;switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return !(256&this.Bb);case 3:return !(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==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return !(this.Db>>16!=10||!$z(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==F9(this.a.a).i||this.b&&Ryt(this.b));case 14:return !!this.b&&Ryt(this.b)}return A3(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Drt(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Dnt(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 11:return !this.d&&(this.d=new LD(SLe,this,11)),cUt(this.d),!this.d&&(this.d=new LD(SLe,this,11)),void pY(this.d,$z(e,14));case 12:return !this.c&&(this.c=new tK(WOe,this,12,10)),cUt(this.c),!this.c&&(this.c=new tK(WOe,this,12,10)),void pY(this.c,$z(e,14));case 13:return !this.a&&(this.a=new oR(this,this)),wUt(this.a),!this.a&&(this.a=new oR(this,this)),void pY(this.a,$z(e,14));case 14:return cUt(F9(this)),void pY(F9(this),$z(e,14))}Ldt(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t),e);},EWt.zh=function(){return pWt(),dLe},EWt.Bh=function(t){var e;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Drt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void Dnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 11:return !this.d&&(this.d=new LD(SLe,this,11)),void cUt(this.d);case 12:return !this.c&&(this.c=new tK(WOe,this,12,10)),void cUt(this.c);case 13:return void(this.a&&wUt(this.a));case 14:return void(this.b&&cUt(this.b))}Hht(this,t-hY((pWt(),dLe)),eet($z(mot(this,16),26)||dLe,t));},EWt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)bP(Yet(this.c,t));Axt(this),this.Bb|=1;},bY(h6t,"EOperationImpl",399),dOt(505,742,z7t,oR),EWt.Hi=function(t,e){uB(this,t,$z(e,138));},EWt.Ii=function(t){eL(this,$z(t,138));},EWt.Oi=function(t){return $z(Yet(F9(this.a),t),87).c||(pWt(),uLe)},EWt.Ti=function(t){return $z(lBt(F9(this.a),t),87).c||(pWt(),uLe)},EWt.Ui=function(t,e){return fbt(this,t,$z(e,138))},EWt.ai=function(){return !1},EWt.Zi=function(t,e,n,i,r){return null},EWt.Ji=function(){return new ww(this)},EWt.Ki=function(){cUt(F9(this.a));},EWt.Li=function(t){return sft(this,t)},EWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!sft(this,e.Pb()))return !1;return !0},EWt.Ni=function(t){var e,n,i;if(iD(t,15)&&(i=$z(t,15)).gc()==F9(this.a).i){for(e=i.Kc(),n=new MD(this);e.Ob();)if(HM(e.Pb())!==HM(vwt(n)))return !1;return !0}return !1},EWt.Pi=function(){var t,e,n;for(e=1,t=new MD(F9(this.a));t.e!=t.i.gc();)e=31*e+((n=$z(vwt(t),87).c||(pWt(),uLe))?Jct(n):0);return e},EWt.Qi=function(t){var e,n,i;for(i=0,n=new MD(F9(this.a));n.e!=n.i.gc();){if(e=$z(vwt(n),87),HM(t)===HM(e.c||(pWt(),uLe)))return i;++i;}return -1},EWt.Ri=function(){return 0==F9(this.a).i},EWt.Si=function(){return null},EWt.Vi=function(){return F9(this.a).i},EWt.Wi=function(){var t,e,n,i,r;for(r=F9(this.a).i,i=D8(Ite,zWt,1,r,5,1),n=0,e=new MD(F9(this.a));e.e!=e.i.gc();)t=$z(vwt(e),87),i[n++]=t.c||(pWt(),uLe);return i},EWt.Xi=function(t){var e,n,i;for(i=F9(this.a).i,t.length<i&&(t=Pnt(tut(t).c,i)),t.length>i&&IY(t,i,null),n=0,e=new MD(F9(this.a));e.e!=e.i.gc();)IY(t,n++,$z(vwt(e),87).c||(pWt(),uLe));return t},EWt.Yi=function(){var t,e,n,i;for((i=new Ex).a+="[",t=F9(this.a),e=0,n=F9(this.a).i;e<n;)iI(i,mN($z(Yet(t,e),87).c||(pWt(),uLe))),++e<n&&(i.a+=$Wt);return i.a+="]",i.a},EWt.$i=function(t){},EWt.aj=function(){return 13},EWt.Bk=function(){return !0},EWt.bj=function(){return !1},EWt.Ck=function(){return !1},EWt.Dk=function(){return !1},EWt.Ek=function(){return !0},EWt.rk=function(){return !1},EWt.Fk=function(){return !0},EWt.wj=function(t){return iD(t,138)},EWt.fj=function(){return Y0(this.a)},EWt.hi=function(){return !0},EWt.ni=function(){return !0},bY(h6t,"EOperationImpl/1",505),dOt(1340,1964,LXt,ww),EWt.Zc=function(t){return cit(this.a,t)},EWt.gc=function(){return F9(this.a.a).i},bY(h6t,"EOperationImpl/1/1",1340),dOt(1341,545,B7t,VG),EWt.ii=function(t,e){var n;return n=$z(Aft(this,t,e),87),wO(this.e)&&Oy(this,new v7(this.a,7,(pWt(),gLe),nft(e),n.c||uLe,t)),n},EWt.jj=function(t,e){return Eht(this,$z(t,87),e)},EWt.kj=function(t,e){return Tht(this,$z(t,87),e)},EWt.lj=function(t,e,n){return Ybt(this,$z(t,87),$z(e,87),n)},EWt.Zi=function(t,e,n,i,r){switch(t){case 3:return yJ(this,t,e,n,i,this.i>1);case 5:return yJ(this,t,e,n,i,this.i-$z(n,15).gc()>0);default:return new L9(this.e,t,this.c,e,n,i,!0)}},EWt.ij=function(){return !0},EWt.fj=function(){return Ryt(this)},EWt.Xj=function(){cUt(this);},bY(h6t,"EOperationImpl/2",1341),dOt(498,1,{1938:1,498:1},AM),bY(h6t,"EPackageImpl/1",498),dOt(16,85,B7t,tK),EWt.zk=function(){return this.d},EWt.Ak=function(){return this.b},EWt.Dk=function(){return !0},EWt.b=0,bY(m7t,"EObjectContainmentWithInverseEList",16),dOt(353,16,B7t,tj),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentWithInverseEList/Resolving",353),dOt(298,353,B7t,Vq),EWt.ci=function(){this.a.tb=null;},bY(h6t,"EPackageImpl/2",298),dOt(1228,1,{},Ic),bY(h6t,"EPackageImpl/3",1228),dOt(718,43,tZt,Lm),EWt._b=function(t){return qM(t)?tZ(this,t):!!MZ(this.f,t)},bY(h6t,"EPackageRegistryImpl",718),dOt(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Om),EWt.Qg=function(t){return Sxt(this,t)},EWt._g=function(t,e,n){var i;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(i=this.t)>1||-1==i;case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?$z(this.Cb,59):null}return G7(this,t-hY((pWt(),bLe)),eet($z(mot(this,16),26)||bLe,t),e,n)},EWt.hh=function(t,e,n){var i;switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),Vgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Sxt(this,n):this.Cb.ih(this,-1-i,null,n)),_$t(this,t,10,n)}return $z(eet($z(mot(this,16),26)||(pWt(),bLe),e),66).Nj().Qj(this,lbt(this),e-hY((pWt(),bLe)),t,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 9:return gY(this,n);case 10:return _$t(this,null,10,n)}return $z(eet($z(mot(this,16),26)||(pWt(),bLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),bLe)),t,n)},EWt.lh=function(t){var e;switch(t){case 0:return !!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return !(256&this.Bb);case 3:return !(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==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return !(this.Db>>16!=10||!$z(this.Cb,59))}return A3(this,t-hY((pWt(),bLe)),eet($z(mot(this,16),26)||bLe,t))},EWt.zh=function(){return pWt(),bLe},bY(h6t,"EParameterImpl",509),dOt(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},pB),EWt._g=function(t,e,n){var i,r;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return cN(),!!(256&this.Bb);case 3:return cN(),!!(512&this.Bb);case 4:return nft(this.s);case 5:return nft(this.t);case 6:return cN(),(r=this.t)>1||-1==r;case 7:return cN(),this.s>=1;case 8:return e?Axt(this):this.r;case 9:return this.q;case 10:return cN(),!!(this.Bb&v6t);case 11:return cN(),!!(this.Bb&E7t);case 12:return cN(),!!(this.Bb&jVt);case 13:return this.j;case 14:return HDt(this);case 15:return cN(),!!(this.Bb&_7t);case 16:return cN(),!!(this.Bb&uXt);case 17:return dJ(this);case 18:return cN(),!!(this.Bb&u6t);case 19:return cN(),!!((i=Syt(this))&&i.Bb&u6t);case 20:return cN(),!!(this.Bb&FVt);case 21:return e?Syt(this):this.b;case 22:return e?Act(this):B5(this);case 23:return !this.a&&(this.a=new PD(jOe,this,23)),this.a}return G7(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t),e,n)},EWt.lh=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 !(256&this.Bb);case 3:return !(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==yW(this.q).i;case 9:return !(!this.q||this.r&&!this.q.e&&0==yW(this.q).i);case 10:return !(this.Bb&v6t);case 11:return !!(this.Bb&E7t);case 12:return !!(this.Bb&jVt);case 13:return null!=this.j;case 14:return null!=HDt(this);case 15:return !!(this.Bb&_7t);case 16:return !!(this.Bb&uXt);case 17:return !!dJ(this);case 18:return !!(this.Bb&u6t);case 19:return !!(e=Syt(this))&&!!(e.Bb&u6t);case 20:return !(this.Bb&FVt);case 21:return !!this.b;case 22:return !!B5(this);case 23:return !!this.a&&0!=this.a.i}return A3(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t))},EWt.sh=function(t,e){var n;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void VJ(this,EB(e));case 2:return void Vht(this,zv(kB(e)));case 3:return void Jht(this,zv(kB(e)));case 4:return void Lnt(this,$z(e,19).a);case 5:return void Dnt(this,$z(e,19).a);case 8:return void Alt(this,$z(e,138));case 9:return void((n=zEt(this,$z(e,87),null))&&n.Fi());case 10:return void Ift(this,zv(kB(e)));case 11:return void Dft(this,zv(kB(e)));case 12:return void Oft(this,zv(kB(e)));case 13:return void RM(this,EB(e));case 15:return void Lft(this,zv(kB(e)));case 16:return void Hft(this,zv(kB(e)));case 18:return void XJ(this,zv(kB(e)));case 20:return void qft(this,zv(kB(e)));case 21:return void irt(this,$z(e,18));case 23:return !this.a&&(this.a=new PD(jOe,this,23)),cUt(this.a),!this.a&&(this.a=new PD(jOe,this,23)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t),e);},EWt.zh=function(){return pWt(),wLe},EWt.Bh=function(t){var e;switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return iD(this.Cb,88)&&IAt(T5($z(this.Cb,88)),4),void Drt(this,null);case 2:return void Vht(this,!0);case 3:return void Jht(this,!0);case 4:return void Lnt(this,0);case 5:return void Dnt(this,1);case 8:return void Alt(this,null);case 9:return void((e=zEt(this,null,null))&&e.Fi());case 10:return void Ift(this,!0);case 11:return void Dft(this,!1);case 12:return void Oft(this,!1);case 13:return this.i=null,void art(this,null);case 15:return void Lft(this,!1);case 16:return void Hft(this,!1);case 18:return Gft(this,!1),void(iD(this.Cb,88)&&IAt(T5($z(this.Cb,88)),2));case 20:return void qft(this,!0);case 21:return void irt(this,null);case 23:return !this.a&&(this.a=new PD(jOe,this,23)),void cUt(this.a)}Hht(this,t-hY((pWt(),wLe)),eet($z(mot(this,16),26)||wLe,t));},EWt.Gh=function(){Act(this),mX($9((ASt(),VLe),this)),Axt(this),this.Bb|=1;},EWt.Lj=function(){return Syt(this)},EWt.qk=function(){var t;return !!(t=Syt(this))&&!!(t.Bb&u6t)},EWt.rk=function(){return !!(this.Bb&u6t)},EWt.sk=function(){return !!(this.Bb&FVt)},EWt.nk=function(t,e){return this.c=null,Cht(this,t,e)},EWt.Ib=function(){var t;return 64&this.Db?kRt(this):((t=new uN(kRt(this))).a+=" (containment: ",y_(t,!!(this.Bb&u6t)),t.a+=", resolveProxies: ",y_(t,!!(this.Bb&FVt)),t.a+=")",t.a)},bY(h6t,"EReferenceImpl",99),dOt(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Oc),EWt.Fb=function(t){return this===t},EWt.cd=function(){return this.b},EWt.dd=function(){return this.c},EWt.Hb=function(){return TN(this)},EWt.Uh=function(t){bU(this,EB(t));},EWt.ed=function(t){return IH(this,EB(t))},EWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return G7(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return A3(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t))},EWt.sh=function(t,e){switch(t){case 0:return void wU(this,EB(e));case 1:return void Rit(this,EB(e))}Ldt(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t),e);},EWt.zh=function(){return pWt(),yLe},EWt.Bh=function(t){switch(t){case 0:return void Bit(this,null);case 1:return void Rit(this,null)}Hht(this,t-hY((pWt(),yLe)),eet($z(mot(this,16),26)||yLe,t));},EWt.Sh=function(){var t;return -1==this.a&&(t=this.b,this.a=null==t?0:wyt(t)),this.a},EWt.Th=function(t){this.a=t;},EWt.Ib=function(){var t;return 64&this.Db?CLt(this):((t=new uN(CLt(this))).a+=" (key: ",iI(t,this.b),t.a+=", value: ",iI(t,this.c),t.a+=")",t.a)},EWt.a=-1,EWt.b=null,EWt.c=null;var NLe,PLe,BLe,RLe,jLe,$Le,FLe,zLe,HLe,ULe,GLe=bY(h6t,"EStringToStringMapEntryImpl",548),qLe=hU(m7t,"FeatureMap/Entry/Internal");dOt(565,1,G7t),EWt.Ok=function(t){return this.Pk($z(t,49))},EWt.Pk=function(t){return this.Ok(t)},EWt.Fb=function(t){var e,n;return this===t||!!iD(t,72)&&(e=$z(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():Dht(n,e.dd()))},EWt.ak=function(){return this.c},EWt.Hb=function(){var t;return t=this.dd(),Jct(this.c)^(null==t?0:Jct(t))},EWt.Ib=function(){var t,e;return e=qet((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},bY(h6t,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),dOt(776,565,G7t,nR),EWt.Pk=function(t){return new nR(this.c,t)},EWt.dd=function(){return this.a},EWt.Qk=function(t,e,n){return Tat(this,t,this.a,e,n)},EWt.Rk=function(t,e,n){return Cat(this,t,this.a,e,n)},bY(h6t,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),dOt(1314,1,{},MM),EWt.Pj=function(t,e,n,i,r){return $z(E7(t,this.b),215).nl(this.a).Wj(i)},EWt.Qj=function(t,e,n,i,r){return $z(E7(t,this.b),215).el(this.a,i,r)},EWt.Rj=function(t,e,n,i,r){return $z(E7(t,this.b),215).fl(this.a,i,r)},EWt.Sj=function(t,e,n){return $z(E7(t,this.b),215).nl(this.a).fj()},EWt.Tj=function(t,e,n,i){$z(E7(t,this.b),215).nl(this.a).Wb(i);},EWt.Uj=function(t,e,n){return $z(E7(t,this.b),215).nl(this.a)},EWt.Vj=function(t,e,n){$z(E7(t,this.b),215).nl(this.a).Xj();},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),dOt(89,1,{},Tz,lV,PZ,f4),EWt.Pj=function(t,e,n,i,r){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=nWt(this,t)),!r)switch(this.e){case 50:case 41:return $z(a,589).sj();case 40:return $z(a,215).kl()}return a},EWt.Qj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=nWt(this,t)),$z(a,69).lk(i,r)},EWt.Rj=function(t,e,n,i,r){var a;return null!=(a=e.Ch(n))&&(r=$z(a,69).mk(i,r)),r},EWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&$z(i,76).fj()},EWt.Tj=function(t,e,n,i){var r;!(r=$z(e.Ch(n),76))&&e.Dh(n,r=nWt(this,t)),r.Wb(i);},EWt.Uj=function(t,e,n){var i;return null==(i=e.Ch(n))&&e.Dh(n,i=nWt(this,t)),iD(i,76)?$z(i,76):new xw($z(e.Ch(n),15))},EWt.Vj=function(t,e,n){var i;!(i=$z(e.Ch(n),76))&&e.Dh(n,i=nWt(this,t)),i.Xj();},EWt.b=0,EWt.e=0,bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),dOt(504,1,{}),EWt.Qj=function(t,e,n,i,r){throw Fw(new py)},EWt.Rj=function(t,e,n,i,r){throw Fw(new py)},EWt.Uj=function(t,e,n){return new hV(this,t,e,n)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),dOt(1331,1,v7t,hV),EWt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},EWt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},EWt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t);},EWt.Xj=function(){this.a.Vj(this.c,this.d,this.b);},EWt.b=0,bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),dOt(769,504,{},wQ),EWt.Pj=function(t,e,n,i,r){return pjt(t,t.eh(),t.Vg())==this.b?this.sk()&&i?rOt(t):t.eh():null},EWt.Qj=function(t,e,n,i,r){var a,o;return t.eh()&&(r=(a=t.Vg())>=0?t.Qg(r):t.eh().ih(t,-1-a,null,r)),o=Igt(t.Tg(),this.e),t.Sg(i,o,r)},EWt.Rj=function(t,e,n,i,r){var a;return a=Igt(t.Tg(),this.e),t.Sg(null,a,r)},EWt.Sj=function(t,e,n){var i;return i=Igt(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},EWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!TFt(this.a,i))throw Fw(new Bv(q7t+(iD(i,56)?g_t($z(i,56).Tg()):aet(tut(i)))+K7t+this.a+"'"));if(r=t.eh(),o=Igt(t.Tg(),this.e),HM(i)!==HM(r)||t.Vg()!=o&&null!=i){if(wxt(t,$z(i,56)))throw Fw(new Rv(d6t+t.Ib()));c=null,r&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=$z(i,49))&&(c=s.gh(t,Igt(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi();}else t.Lg()&&t.Mg()&&fot(t,new Qq(t,1,o,i,i));},EWt.Vj=function(t,e,n){var i,r,a;t.eh()?(a=(i=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-i,null,null),r=Igt(t.Tg(),this.e),(a=t.Sg(null,r,a))&&a.Fi()):t.Lg()&&t.Mg()&&fot(t,new Jq(t,1,this.e,null,null));},EWt.sk=function(){return !1},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),dOt(1315,769,{},Cz),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),dOt(563,504,{}),EWt.Pj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))?this.b:HM(a)===HM(NLe)?null:a},EWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&(HM(i)===HM(NLe)||!Dht(i,this.b))},EWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=null==(a=e.Ch(n))?this.b:HM(a)===HM(NLe)?null:a,null==i?null!=this.c?(e.Dh(n,null),i=this.b):null!=this.b?e.Dh(n,NLe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i)),fot(t,this.d.Tk(t,1,this.e,r,i))):null==i?null!=this.c?e.Dh(n,null):null!=this.b?e.Dh(n,NLe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i));},EWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=null==(r=e.Ch(n))?this.b:HM(r)===HM(NLe)?null:r,e.Eh(n),fot(t,this.d.Tk(t,1,this.e,i,this.b))):e.Eh(n);},EWt.Sk=function(t){throw Fw(new hy)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),dOt(Y7t,1,{},Lc),EWt.Tk=function(t,e,n,i,r){return new Jq(t,e,n,i,r)},EWt.Uk=function(t,e,n,i,r,a){return new HV(t,e,n,i,r,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",Y7t),dOt(1332,Y7t,{},Dc),EWt.Tk=function(t,e,n,i,r){return new Q5(t,e,n,zv(kB(i)),zv(kB(r)))},EWt.Uk=function(t,e,n,i,r,a){return new O0(t,e,n,zv(kB(i)),zv(kB(r)),a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),dOt(1333,Y7t,{},Nc),EWt.Tk=function(t,e,n,i,r){return new znt(t,e,n,$z(i,217).a,$z(r,217).a)},EWt.Uk=function(t,e,n,i,r,a){return new E0(t,e,n,$z(i,217).a,$z(r,217).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),dOt(1334,Y7t,{},Pc),EWt.Tk=function(t,e,n,i,r){return new Hnt(t,e,n,$z(i,172).a,$z(r,172).a)},EWt.Uk=function(t,e,n,i,r,a){return new T0(t,e,n,$z(i,172).a,$z(r,172).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),dOt(1335,Y7t,{},Bc),EWt.Tk=function(t,e,n,i,r){return new V5(t,e,n,Hv(_B(i)),Hv(_B(r)))},EWt.Uk=function(t,e,n,i,r,a){return new C0(t,e,n,Hv(_B(i)),Hv(_B(r)),a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),dOt(1336,Y7t,{},Rc),EWt.Tk=function(t,e,n,i,r){return new qnt(t,e,n,$z(i,155).a,$z(r,155).a)},EWt.Uk=function(t,e,n,i,r,a){return new S0(t,e,n,$z(i,155).a,$z(r,155).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),dOt(1337,Y7t,{},jc),EWt.Tk=function(t,e,n,i,r){return new Z5(t,e,n,$z(i,19).a,$z(r,19).a)},EWt.Uk=function(t,e,n,i,r,a){return new A0(t,e,n,$z(i,19).a,$z(r,19).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),dOt(1338,Y7t,{},$c),EWt.Tk=function(t,e,n,i,r){return new Unt(t,e,n,$z(i,162).a,$z(r,162).a)},EWt.Uk=function(t,e,n,i,r,a){return new M0(t,e,n,$z(i,162).a,$z(r,162).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),dOt(1339,Y7t,{},Fc),EWt.Tk=function(t,e,n,i,r){return new Gnt(t,e,n,$z(i,184).a,$z(r,184).a)},EWt.Uk=function(t,e,n,i,r,a){return new I0(t,e,n,$z(i,184).a,$z(r,184).a,a)},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),dOt(1317,563,{},fV),EWt.Sk=function(t){if(!this.a.wj(t))throw Fw(new Bv(q7t+tut(t)+K7t+this.a+"'"))},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),dOt(1318,563,{},ZG),EWt.Sk=function(t){},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),dOt(770,563,{}),EWt.Sj=function(t,e,n){return null!=e.Ch(n)},EWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=!0,null==(a=e.Ch(n))?(r=!1,a=this.b):HM(a)===HM(NLe)&&(a=null),null==i?null!=this.c?(e.Dh(n,null),i=this.b):e.Dh(n,NLe):(this.Sk(i),e.Dh(n,i)),fot(t,this.d.Uk(t,1,this.e,a,i,!r))):null==i?null!=this.c?e.Dh(n,null):e.Dh(n,NLe):(this.Sk(i),e.Dh(n,i));},EWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=!0,null==(r=e.Ch(n))?(i=!1,r=this.b):HM(r)===HM(NLe)&&(r=null),e.Eh(n),fot(t,this.d.Uk(t,2,this.e,r,this.b,i))):e.Eh(n);},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),dOt(1319,770,{},dV),EWt.Sk=function(t){if(!this.a.wj(t))throw Fw(new Bv(q7t+tut(t)+K7t+this.a+"'"))},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),dOt(1320,770,{},QG),EWt.Sk=function(t){},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),dOt(398,504,{},iG),EWt.Pj=function(t,e,n,i,r){var a,o,s,c,u;if(u=e.Ch(n),this.Kj()&&HM(u)===HM(NLe))return null;if(this.sk()&&i&&null!=u){if((s=$z(u,49)).kh()&&s!=(c=tht(t,s))){if(!TFt(this.a,c))throw Fw(new Bv(q7t+tut(c)+K7t+this.a+"'"));e.Dh(n,u=c),this.rk()&&(a=$z(c,49),o=s.ih(t,this.b?Igt(s.Tg(),this.b):-1-Igt(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?Igt(a.Tg(),this.b):-1-Igt(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&fot(t,new Jq(t,9,this.e,s,c));}return u}return u},EWt.Qj=function(t,e,n,i,r){var a,o;return HM(o=e.Ch(n))===HM(NLe)&&(o=null),e.Dh(n,i),this.bj()?HM(o)!==HM(i)&&null!=o&&(r=(a=$z(o,49)).ih(t,Igt(a.Tg(),this.b),null,r)):this.rk()&&null!=o&&(r=$z(o,49).ih(t,-1-Igt(t.Tg(),this.e),null,r)),t.Lg()&&t.Mg()&&(!r&&(r=new jk(4)),r.Ei(new Jq(t,1,this.e,o,i))),r},EWt.Rj=function(t,e,n,i,r){var a;return HM(a=e.Ch(n))===HM(NLe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!r&&(r=new jk(4)),this.Kj()?r.Ei(new Jq(t,2,this.e,a,null)):r.Ei(new Jq(t,1,this.e,a,null))),r},EWt.Sj=function(t,e,n){return null!=e.Ch(n)},EWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!TFt(this.a,i))throw Fw(new Bv(q7t+(iD(i,56)?g_t($z(i,56).Tg()):aet(tut(i)))+K7t+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&HM(c)===HM(NLe)&&(c=null),o=null,this.bj()?HM(c)!==HM(i)&&(null!=c&&(o=(r=$z(c,49)).ih(t,Igt(r.Tg(),this.b),null,o)),null!=i&&(o=(r=$z(i,49)).gh(t,Igt(r.Tg(),this.b),null,o))):this.rk()&&HM(c)!==HM(i)&&(null!=c&&(o=$z(c,49).ih(t,-1-Igt(t.Tg(),this.e),null,o)),null!=i&&(o=$z(i,49).gh(t,-1-Igt(t.Tg(),this.e),null,o))),null==i&&this.Kj()?e.Dh(n,NLe):e.Dh(n,i),t.Lg()&&t.Mg()?(a=new HV(t,1,this.e,c,i,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):fot(t,a)):o&&o.Fi();},EWt.Vj=function(t,e,n){var i,r,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&HM(s)===HM(NLe)&&(s=null),a=null,null!=s&&(this.bj()?a=(i=$z(s,49)).ih(t,Igt(i.Tg(),this.b),null,a):this.rk()&&(a=$z(s,49).ih(t,-1-Igt(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(r=new HV(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(r),a.Fi()):fot(t,r)):a&&a.Fi();},EWt.bj=function(){return !1},EWt.rk=function(){return !1},EWt.sk=function(){return !1},EWt.Kj=function(){return !1},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),dOt(564,398,{},ZP),EWt.rk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),dOt(1323,564,{},QP),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),dOt(772,564,{},JP),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),dOt(1325,772,{},tB),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),dOt(640,564,{},Sz),EWt.bj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),dOt(1324,640,{},Iz),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),dOt(773,640,{},Oz),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),dOt(1326,773,{},Lz),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),dOt(641,398,{},eB),EWt.sk=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),dOt(1327,641,{},nB),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),dOt(774,641,{},Az),EWt.bj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),dOt(1328,774,{},Dz),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),dOt(1321,398,{},iB),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),dOt(771,398,{},Mz),EWt.bj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),dOt(1322,771,{},Nz),EWt.Kj=function(){return !0},bY(h6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),dOt(775,565,G7t,rW),EWt.Pk=function(t){return new rW(this.a,this.c,t)},EWt.dd=function(){return this.b},EWt.Qk=function(t,e,n){return N8(this,t,this.b,n)},EWt.Rk=function(t,e,n){return P8(this,t,this.b,n)},bY(h6t,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),dOt(1329,1,v7t,xw),EWt.Wj=function(t){return this.a},EWt.fj=function(){return iD(this.a,95)?$z(this.a,95).fj():!this.a.dc()},EWt.Wb=function(t){this.a.$b(),this.a.Gc($z(t,15));},EWt.Xj=function(){iD(this.a,95)?$z(this.a,95).Xj():this.a.$b();},bY(h6t,"EStructuralFeatureImpl/SettingMany",1329),dOt(1330,565,G7t,g4),EWt.Ok=function(t){return new iR((qUt(),RDe),this.b.Ih(this.a,t))},EWt.dd=function(){return null},EWt.Qk=function(t,e,n){return n},EWt.Rk=function(t,e,n){return n},bY(h6t,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),dOt(642,565,G7t,iR),EWt.Ok=function(t){return new iR(this.c,t)},EWt.dd=function(){return this.a},EWt.Qk=function(t,e,n){return n},EWt.Rk=function(t,e,n){return n},bY(h6t,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),dOt(391,497,u8t,zc),EWt.ri=function(t){return D8(FOe,zWt,26,t,0,1)},EWt.ni=function(){return !1},bY(h6t,"ESuperAdapter/1",391),dOt(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},Hc),EWt._g=function(t,e,n){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return !this.a&&(this.a=new rG(this,KOe,this)),this.a}return G7(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),jwt(this.Ab,t,n);case 2:return !this.a&&(this.a=new rG(this,KOe,this)),jwt(this.a,t,n)}return $z(eet($z(mot(this,16),26)||(pWt(),xLe),e),66).Nj().Rj(this,lbt(this),e-hY((pWt(),xLe)),t,n)},EWt.lh=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 A3(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),cUt(this.Ab),!this.Ab&&(this.Ab=new tK(POe,this,0,3)),void pY(this.Ab,$z(e,14));case 1:return void Drt(this,EB(e));case 2:return !this.a&&(this.a=new rG(this,KOe,this)),cUt(this.a),!this.a&&(this.a=new rG(this,KOe,this)),void pY(this.a,$z(e,14))}Ldt(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t),e);},EWt.zh=function(){return pWt(),xLe},EWt.Bh=function(t){switch(t){case 0:return !this.Ab&&(this.Ab=new tK(POe,this,0,3)),void cUt(this.Ab);case 1:return void Drt(this,null);case 2:return !this.a&&(this.a=new rG(this,KOe,this)),void cUt(this.a)}Hht(this,t-hY((pWt(),xLe)),eet($z(mot(this,16),26)||xLe,t));},bY(h6t,"ETypeParameterImpl",444),dOt(445,85,B7t,rG),EWt.cj=function(t,e){return LEt(this,$z(t,87),e)},EWt.dj=function(t,e){return DEt(this,$z(t,87),e)},bY(h6t,"ETypeParameterImpl/1",445),dOt(634,43,tZt,Dm),EWt.ec=function(){return new kw(this)},bY(h6t,"ETypeParameterImpl/2",634),dOt(556,JWt,tXt,kw),EWt.Fc=function(t){return XR(this,$z(t,87))},EWt.Gc=function(t){var e,n,i;for(i=!1,n=t.Kc();n.Ob();)e=$z(n.Pb(),87),null==YW(this.a,e,"")&&(i=!0);return i},EWt.$b=function(){IK(this.a);},EWt.Hc=function(t){return cK(this.a,t)},EWt.Kc=function(){return new _w(new out(new Td(this.a).a))},EWt.Mc=function(t){return R6(this,t)},EWt.gc=function(){return LE(this.a)},bY(h6t,"ETypeParameterImpl/2/1",556),dOt(557,1,XWt,_w),EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return $z(tnt(this.a).cd(),87)},EWt.Ob=function(){return this.a.b},EWt.Qb=function(){o7(this.a);},bY(h6t,"ETypeParameterImpl/2/1/1",557),dOt(1276,43,tZt,Nm),EWt._b=function(t){return qM(t)?tZ(this,t):!!MZ(this.f,t)},EWt.xc=function(t){var e;return iD(e=qM(t)?EQ(this,t):zM(MZ(this.f,t)),837)?(e=$z(e,837)._j(),YW(this,$z(t,235),e),e):null!=e?e:null==t?(VT(),eDe):null},bY(h6t,"EValidatorRegistryImpl",1276),dOt(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},Uc),EWt.Ih=function(t,e){switch(t.yj()){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:Fdt(e);case 25:return Ket(e);case 27:return q7(e);case 28:return K7(e);case 29:return null==e?null:FL(SIe[0],$z(e,199));case 41:return null==e?"":Qk($z(e,290));case 42:return Fdt(e);case 50:return EB(e);default:throw Fw(new Rv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 0:return new Am;case 1:return new kc;case 2:return new Bh;case 4:return new xy;case 5:return new Mm;case 6:return new vy;case 7:return new Nh;case 10:return new vc;case 11:return new Im;case 12:return new bZ;case 13:return new Om;case 14:return new pB;case 17:return new Oc;case 18:return new Bw;case 19:return new Hc;default:throw Fw(new Rv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new f_(e);case 21:return null==e?null:new IO(e);case 23:case 22:return null==e?null:Qpt(e);case 26:case 24:return null==e?null:Ttt(h$t(e,-128,127)<<24>>24);case 25:return gLt(e);case 27:return Tvt(e);case 28:return Cvt(e);case 29:return pTt(e);case 32:case 31:return null==e?null:fCt(e);case 38:case 37:return null==e?null:new Ny(e);case 40:case 39:return null==e?null:nft(h$t(e,jXt,PWt));case 41:case 42:return null;case 44:case 43:return null==e?null:xbt(iKt(e));case 49:case 48:return null==e?null:ift(h$t(e,X7t,32767)<<16>>16);case 50:return e;default:throw Fw(new Rv(g6t+t.ne()+p6t))}},bY(h6t,"EcoreFactoryImpl",1313),dOt(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},GW),EWt.gb=!1,EWt.hb=!1;var KLe,YLe=!1;bY(h6t,"EcorePackageImpl",547),dOt(1184,1,{837:1},Gc),EWt._j=function(){return sN(),nDe},bY(h6t,"EcorePackageImpl/1",1184),dOt(1193,1,c9t,qc),EWt.wj=function(t){return iD(t,147)},EWt.xj=function(t){return D8(jIe,zWt,147,t,0,1)},bY(h6t,"EcorePackageImpl/10",1193),dOt(1194,1,c9t,Kc),EWt.wj=function(t){return iD(t,191)},EWt.xj=function(t){return D8(FIe,zWt,191,t,0,1)},bY(h6t,"EcorePackageImpl/11",1194),dOt(1195,1,c9t,Yc),EWt.wj=function(t){return iD(t,56)},EWt.xj=function(t){return D8(IIe,zWt,56,t,0,1)},bY(h6t,"EcorePackageImpl/12",1195),dOt(1196,1,c9t,Wc),EWt.wj=function(t){return iD(t,399)},EWt.xj=function(t){return D8(YOe,N7t,59,t,0,1)},bY(h6t,"EcorePackageImpl/13",1196),dOt(1197,1,c9t,Xc),EWt.wj=function(t){return iD(t,235)},EWt.xj=function(t){return D8(zIe,zWt,235,t,0,1)},bY(h6t,"EcorePackageImpl/14",1197),dOt(1198,1,c9t,Vc),EWt.wj=function(t){return iD(t,509)},EWt.xj=function(t){return D8(WOe,zWt,2017,t,0,1)},bY(h6t,"EcorePackageImpl/15",1198),dOt(1199,1,c9t,Zc),EWt.wj=function(t){return iD(t,99)},EWt.xj=function(t){return D8(XOe,D7t,18,t,0,1)},bY(h6t,"EcorePackageImpl/16",1199),dOt(1200,1,c9t,Qc),EWt.wj=function(t){return iD(t,170)},EWt.xj=function(t){return D8(ROe,D7t,170,t,0,1)},bY(h6t,"EcorePackageImpl/17",1200),dOt(1201,1,c9t,Jc),EWt.wj=function(t){return iD(t,472)},EWt.xj=function(t){return D8(BOe,zWt,472,t,0,1)},bY(h6t,"EcorePackageImpl/18",1201),dOt(1202,1,c9t,tu),EWt.wj=function(t){return iD(t,548)},EWt.xj=function(t){return D8(GLe,a7t,548,t,0,1)},bY(h6t,"EcorePackageImpl/19",1202),dOt(1185,1,c9t,eu),EWt.wj=function(t){return iD(t,322)},EWt.xj=function(t){return D8(jOe,D7t,34,t,0,1)},bY(h6t,"EcorePackageImpl/2",1185),dOt(1203,1,c9t,nu),EWt.wj=function(t){return iD(t,241)},EWt.xj=function(t){return D8(KOe,F7t,87,t,0,1)},bY(h6t,"EcorePackageImpl/20",1203),dOt(1204,1,c9t,iu),EWt.wj=function(t){return iD(t,444)},EWt.xj=function(t){return D8(SLe,zWt,836,t,0,1)},bY(h6t,"EcorePackageImpl/21",1204),dOt(1205,1,c9t,ru),EWt.wj=function(t){return UM(t)},EWt.xj=function(t){return D8(vee,cXt,476,t,8,1)},bY(h6t,"EcorePackageImpl/22",1205),dOt(1206,1,c9t,au),EWt.wj=function(t){return iD(t,190)},EWt.xj=function(t){return D8(ONe,cXt,190,t,0,2)},bY(h6t,"EcorePackageImpl/23",1206),dOt(1207,1,c9t,ou),EWt.wj=function(t){return iD(t,217)},EWt.xj=function(t){return D8(_ee,cXt,217,t,0,1)},bY(h6t,"EcorePackageImpl/24",1207),dOt(1208,1,c9t,su),EWt.wj=function(t){return iD(t,172)},EWt.xj=function(t){return D8(Tee,cXt,172,t,0,1)},bY(h6t,"EcorePackageImpl/25",1208),dOt(1209,1,c9t,cu),EWt.wj=function(t){return iD(t,199)},EWt.xj=function(t){return D8(yee,cXt,199,t,0,1)},bY(h6t,"EcorePackageImpl/26",1209),dOt(1210,1,c9t,uu),EWt.wj=function(t){return !1},EWt.xj=function(t){return D8(BNe,zWt,2110,t,0,1)},bY(h6t,"EcorePackageImpl/27",1210),dOt(1211,1,c9t,lu),EWt.wj=function(t){return GM(t)},EWt.xj=function(t){return D8(Cee,cXt,333,t,7,1)},bY(h6t,"EcorePackageImpl/28",1211),dOt(1212,1,c9t,hu),EWt.wj=function(t){return iD(t,58)},EWt.xj=function(t){return D8(rOe,JQt,58,t,0,1)},bY(h6t,"EcorePackageImpl/29",1212),dOt(1186,1,c9t,fu),EWt.wj=function(t){return iD(t,510)},EWt.xj=function(t){return D8(POe,{3:1,4:1,5:1,1934:1},590,t,0,1)},bY(h6t,"EcorePackageImpl/3",1186),dOt(1213,1,c9t,du),EWt.wj=function(t){return iD(t,573)},EWt.xj=function(t){return D8(wOe,zWt,1940,t,0,1)},bY(h6t,"EcorePackageImpl/30",1213),dOt(1214,1,c9t,gu),EWt.wj=function(t){return iD(t,153)},EWt.xj=function(t){return D8(lDe,JQt,153,t,0,1)},bY(h6t,"EcorePackageImpl/31",1214),dOt(1215,1,c9t,pu),EWt.wj=function(t){return iD(t,72)},EWt.xj=function(t){return D8(MLe,u9t,72,t,0,1)},bY(h6t,"EcorePackageImpl/32",1215),dOt(1216,1,c9t,bu),EWt.wj=function(t){return iD(t,155)},EWt.xj=function(t){return D8(See,cXt,155,t,0,1)},bY(h6t,"EcorePackageImpl/33",1216),dOt(1217,1,c9t,wu),EWt.wj=function(t){return iD(t,19)},EWt.xj=function(t){return D8(Iee,cXt,19,t,0,1)},bY(h6t,"EcorePackageImpl/34",1217),dOt(1218,1,c9t,yu),EWt.wj=function(t){return iD(t,290)},EWt.xj=function(t){return D8(Ote,zWt,290,t,0,1)},bY(h6t,"EcorePackageImpl/35",1218),dOt(1219,1,c9t,mu),EWt.wj=function(t){return iD(t,162)},EWt.xj=function(t){return D8(Bee,cXt,162,t,0,1)},bY(h6t,"EcorePackageImpl/36",1219),dOt(1220,1,c9t,vu),EWt.wj=function(t){return iD(t,83)},EWt.xj=function(t){return D8(Dte,zWt,83,t,0,1)},bY(h6t,"EcorePackageImpl/37",1220),dOt(1221,1,c9t,xu),EWt.wj=function(t){return iD(t,591)},EWt.xj=function(t){return D8(tDe,zWt,591,t,0,1)},bY(h6t,"EcorePackageImpl/38",1221),dOt(1222,1,c9t,ku),EWt.wj=function(t){return !1},EWt.xj=function(t){return D8(RNe,zWt,2111,t,0,1)},bY(h6t,"EcorePackageImpl/39",1222),dOt(1187,1,c9t,_u),EWt.wj=function(t){return iD(t,88)},EWt.xj=function(t){return D8(FOe,zWt,26,t,0,1)},bY(h6t,"EcorePackageImpl/4",1187),dOt(1223,1,c9t,Eu),EWt.wj=function(t){return iD(t,184)},EWt.xj=function(t){return D8(jee,cXt,184,t,0,1)},bY(h6t,"EcorePackageImpl/40",1223),dOt(1224,1,c9t,Tu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(h6t,"EcorePackageImpl/41",1224),dOt(1225,1,c9t,Cu),EWt.wj=function(t){return iD(t,588)},EWt.xj=function(t){return D8(cOe,zWt,588,t,0,1)},bY(h6t,"EcorePackageImpl/42",1225),dOt(1226,1,c9t,Su),EWt.wj=function(t){return !1},EWt.xj=function(t){return D8(jNe,cXt,2112,t,0,1)},bY(h6t,"EcorePackageImpl/43",1226),dOt(1227,1,c9t,Au),EWt.wj=function(t){return iD(t,42)},EWt.xj=function(t){return D8(zte,vXt,42,t,0,1)},bY(h6t,"EcorePackageImpl/44",1227),dOt(1188,1,c9t,Mu),EWt.wj=function(t){return iD(t,138)},EWt.xj=function(t){return D8($Oe,zWt,138,t,0,1)},bY(h6t,"EcorePackageImpl/5",1188),dOt(1189,1,c9t,Iu),EWt.wj=function(t){return iD(t,148)},EWt.xj=function(t){return D8(zOe,zWt,148,t,0,1)},bY(h6t,"EcorePackageImpl/6",1189),dOt(1190,1,c9t,Ou),EWt.wj=function(t){return iD(t,457)},EWt.xj=function(t){return D8(GOe,zWt,671,t,0,1)},bY(h6t,"EcorePackageImpl/7",1190),dOt(1191,1,c9t,Lu),EWt.wj=function(t){return iD(t,573)},EWt.xj=function(t){return D8(qOe,zWt,678,t,0,1)},bY(h6t,"EcorePackageImpl/8",1191),dOt(1192,1,c9t,Du),EWt.wj=function(t){return iD(t,471)},EWt.xj=function(t){return D8($Ie,zWt,471,t,0,1)},bY(h6t,"EcorePackageImpl/9",1192),dOt(1025,1982,i7t,Dv),EWt.bi=function(t,e){Iht(this,$z(e,415));},EWt.fi=function(t,e){eAt(this,t,$z(e,415));},bY(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),dOt(1026,143,t7t,aW),EWt.Ai=function(){return this.a.a},bY(h6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),dOt(1053,1052,{},oL),bY("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var WLe,XLe,VLe,ZLe,QLe,JLe,tDe=hU(l9t,"Resource");dOt(781,1378,h9t),EWt.Yk=function(t){},EWt.Zk=function(t){},EWt.Vk=function(){return !this.a&&(this.a=new Ew(this)),this.a},EWt.Wk=function(t){var e,n,i,r,a;if((i=t.length)>0){if(h1(0,t.length),47==t.charCodeAt(0)){for(a=new V6(4),r=1,e=1;e<i;++e)h1(e,t.length),47==t.charCodeAt(e)&&(Kz(a,r==e?"":t.substr(r,e-r)),r=e+1);return Kz(a,t.substr(r)),skt(this,a)}h1(i-1,t.length),63==t.charCodeAt(i-1)&&(n=_j(t,VEt(63),i-2))>0&&(t=t.substr(0,n));}return xMt(this,t)},EWt.Xk=function(){return this.c},EWt.Ib=function(){return Qk(this.gm)+"@"+(Jct(this)>>>0).toString(16)+" uri='"+this.d+"'"},EWt.b=!1,bY(f9t,"ResourceImpl",781),dOt(1379,781,h9t,Cw),bY(f9t,"BinaryResourceImpl",1379),dOt(1169,694,l8t),EWt.si=function(t){return iD(t,56)?kZ(this,$z(t,56)):iD(t,591)?new MD($z(t,591).Vk()):HM(t)===HM(this.f)?$z(t,14).Kc():(dB(),gOe.a)},EWt.Ob=function(){return fIt(this)},EWt.a=!1,bY(m7t,"EcoreUtil/ContentTreeIterator",1169),dOt(1380,1169,l8t,nK),EWt.si=function(t){return HM(t)===HM(this.f)?$z(t,15).Kc():new j2($z(t,56))},bY(f9t,"ResourceImpl/5",1380),dOt(648,1994,P7t,Ew),EWt.Hc=function(t){return this.i<=4?Tkt(this,t):iD(t,49)&&$z(t,49).Zg()==this.a},EWt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0));},EWt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):O8(this,t,e);},EWt.fi=function(t,e){},EWt.gi=function(t,e,n){},EWt.aj=function(){return 2},EWt.Ai=function(){return this.a},EWt.bj=function(){return !0},EWt.cj=function(t,e){return e=$z(t,49).wh(this.a,e)},EWt.dj=function(t,e){return $z(t,49).wh(null,e)},EWt.ej=function(){return !1},EWt.hi=function(){return !0},EWt.ri=function(t){return D8(IIe,zWt,56,t,0,1)},EWt.ni=function(){return !1},bY(f9t,"ResourceImpl/ContentsEList",648),dOt(957,1964,LXt,Tw),EWt.Zc=function(t){return this.a._h(t)},EWt.gc=function(){return this.a.gc()},bY(m7t,"AbstractSequentialInternalEList/1",957),dOt(624,1,{},EH),bY(m7t,"BasicExtendedMetaData",624),dOt(1160,1,{},IM),EWt.$k=function(){return null},EWt._k=function(){return -2==this.a&&od(this,aTt(this.d,this.b)),this.a},EWt.al=function(){return null},EWt.bl=function(){return EV(),EV(),cne},EWt.ne=function(){return this.c==S9t&&cd(this,kbt(this.d,this.b)),this.c},EWt.cl=function(){return 0},EWt.a=-2,EWt.c=S9t,bY(m7t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),dOt(1161,1,{},R0),EWt.$k=function(){return this.a==(P5(),QLe)&&sd(this,wNt(this.f,this.b)),this.a},EWt._k=function(){return 0},EWt.al=function(){return this.c==(P5(),QLe)&&ud(this,yNt(this.f,this.b)),this.c},EWt.bl=function(){return !this.d&&ld(this,Tjt(this.f,this.b)),this.d},EWt.ne=function(){return this.e==S9t&&hd(this,kbt(this.f,this.b)),this.e},EWt.cl=function(){return -2==this.g&&fd(this,V_t(this.f,this.b)),this.g},EWt.e=S9t,EWt.g=-2,bY(m7t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),dOt(1159,1,{},PM),EWt.b=!1,EWt.c=!1,bY(m7t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),dOt(1162,1,{},B0),EWt.c=-2,EWt.e=S9t,EWt.f=S9t,bY(m7t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),dOt(585,622,B7t,_H),EWt.aj=function(){return this.c},EWt.Fk=function(){return !1},EWt.li=function(t,e){return e},EWt.c=0,bY(m7t,"EDataTypeEList",585);var eDe,nDe,iDe,rDe,aDe,oDe,sDe,cDe,uDe,lDe=hU(m7t,"FeatureMap");dOt(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},kat),EWt.Vc=function(t,e){hNt(this,t,$z(e,72));},EWt.Fc=function(t){return oDt(this,$z(t,72))},EWt.Yh=function(t){dY(this,$z(t,72));},EWt.cj=function(t,e){return Fj(this,$z(t,72),e)},EWt.dj=function(t,e){return zj(this,$z(t,72),e)},EWt.ii=function(t,e){return a$t(this,t,e)},EWt.li=function(t,e){return uGt(this,t,$z(e,72))},EWt._c=function(t,e){return CPt(this,t,$z(e,72))},EWt.jj=function(t,e){return Hj(this,$z(t,72),e)},EWt.kj=function(t,e){return Uj(this,$z(t,72),e)},EWt.lj=function(t,e,n){return p_t(this,$z(t,72),$z(e,72),n)},EWt.oi=function(t,e){return cEt(this,t,$z(e,72))},EWt.dl=function(t,e){return Njt(this,t,e)},EWt.Wc=function(t,e){var n,i,r,a,o,s,c,u,l;for(u=new pet(e.gc()),r=e.Kc();r.Ob();)if(a=(i=$z(r.Pb(),72)).ak(),OPt(this.e,a))(!a.hi()||!H3(this,a,i.dd())&&!Tkt(u,i))&&u7(u,i);else {for(l=aPt(this.e.Tg(),a),n=$z(this.g,119),o=!0,s=0;s<this.i;++s)if(c=n[s],l.rl(c.ak())){$z(syt(this,s,i),72),o=!1;break}o&&u7(u,i);}return sct(this,t,u)},EWt.Gc=function(t){var e,n,i,r,a,o,s,c,u;for(c=new pet(t.gc()),i=t.Kc();i.Ob();)if(r=(n=$z(i.Pb(),72)).ak(),OPt(this.e,r))(!r.hi()||!H3(this,r,n.dd())&&!Tkt(c,n))&&u7(c,n);else {for(u=aPt(this.e.Tg(),r),e=$z(this.g,119),a=!0,o=0;o<this.i;++o)if(s=e[o],u.rl(s.ak())){$z(syt(this,o,n),72),a=!1;break}a&&u7(c,n);}return pY(this,c)},EWt.Wh=function(t){return this.j=-1,LFt(this,this.i,t)},EWt.el=function(t,e,n){return CRt(this,t,e,n)},EWt.mk=function(t,e){return _jt(this,t,e)},EWt.fl=function(t,e,n){return Qzt(this,t,e,n)},EWt.gl=function(){return this},EWt.hl=function(t,e){return iHt(this,t,e)},EWt.il=function(t){return $z(Yet(this,t),72).ak()},EWt.jl=function(t){return $z(Yet(this,t),72).dd()},EWt.kl=function(){return this.b},EWt.bj=function(){return !0},EWt.ij=function(){return !0},EWt.ll=function(t){return !apt(this,t)},EWt.ri=function(t){return D8(qLe,u9t,332,t,0,1)},EWt.Gk=function(t){return cB(this,t)},EWt.Wb=function(t){JK(this,t);},EWt.ml=function(t,e){EHt(this,t,e);},EWt.nl=function(t){return Git(this,t)},EWt.ol=function(t){Rmt(this,t);},bY(m7t,"BasicFeatureMap",75),dOt(1851,1,rXt),EWt.Nb=function(t){uK(this,t);},EWt.Rb=function(t){if(-1==this.g)throw Fw(new dy);wq(this);try{IPt(this.e,this.b,this.a,t),this.d=this.e.j,ryt(this);}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}},EWt.Ob=function(){return Rut(this)},EWt.Sb=function(){return jut(this)},EWt.Pb=function(){return ryt(this)},EWt.Tb=function(){return this.a},EWt.Ub=function(){var t;if(jut(this))return wq(this),this.g=--this.a,this.Lk()&&(t=$Mt(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw Fw(new yy)},EWt.Vb=function(){return this.a-1},EWt.Qb=function(){if(-1==this.g)throw Fw(new dy);wq(this);try{aSt(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g;}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}},EWt.Lk=function(){return !1},EWt.Wb=function(t){if(-1==this.g)throw Fw(new dy);wq(this);try{KFt(this.e,this.b,this.g,t),this.d=this.e.j;}catch(t){throw iD(t=hst(t),73)?Fw(new by):Fw(t)}},EWt.a=0,EWt.c=0,EWt.d=0,EWt.f=!1,EWt.g=0,EWt.i=0,bY(m7t,"FeatureMapUtil/BasicFeatureEIterator",1851),dOt(410,1851,rXt,Iot),EWt.pl=function(){var t,e,n;for(n=this.e.i,t=$z(this.e.g,119);this.c<n;){if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=2,!0;++this.c;}return this.i=1,this.g=-1,!1},EWt.ql=function(){var t,e;for(t=$z(this.e.g,119);--this.c>=0;)if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},bY(m7t,"BasicFeatureMap/FeatureEIterator",410),dOt(662,410,rXt,DI),EWt.Lk=function(){return !0},bY(m7t,"BasicFeatureMap/ResolvingFeatureEIterator",662),dOt(955,486,H7t,UL),EWt.Gi=function(){return this},bY(m7t,"EContentsEList/1",955),dOt(956,486,H7t,NI),EWt.Lk=function(){return !1},bY(m7t,"EContentsEList/2",956),dOt(954,279,U7t,GL),EWt.Nk=function(t){},EWt.Ob=function(){return !1},EWt.Sb=function(){return !1},bY(m7t,"EContentsEList/FeatureIteratorImpl/1",954),dOt(825,585,B7t,BD),EWt.ci=function(){this.a=!0;},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1;},EWt.a=!1,bY(m7t,"EDataTypeEList/Unsettable",825),dOt(1849,585,B7t,RD),EWt.hi=function(){return !0},bY(m7t,"EDataTypeUniqueEList",1849),dOt(1850,825,B7t,jD),EWt.hi=function(){return !0},bY(m7t,"EDataTypeUniqueEList/Unsettable",1850),dOt(139,85,B7t,LD),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentEList/Resolving",139),dOt(1163,545,B7t,DD),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentEList/Unsettable/Resolving",1163),dOt(748,16,B7t,ej),EWt.ci=function(){this.a=!0;},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1;},EWt.a=!1,bY(m7t,"EObjectContainmentWithInverseEList/Unsettable",748),dOt(1173,748,B7t,nj),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),dOt(743,496,B7t,ND),EWt.ci=function(){this.a=!0;},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1;},EWt.a=!1,bY(m7t,"EObjectEList/Unsettable",743),dOt(328,496,B7t,PD),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectResolvingEList",328),dOt(1641,743,B7t,$D),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectResolvingEList/Unsettable",1641),dOt(1381,1,{},Nu),bY(m7t,"EObjectValidator",1381),dOt(546,496,B7t,eK),EWt.zk=function(){return this.d},EWt.Ak=function(){return this.b},EWt.bj=function(){return !0},EWt.Dk=function(){return !0},EWt.b=0,bY(m7t,"EObjectWithInverseEList",546),dOt(1176,546,B7t,ij),EWt.Ck=function(){return !0},bY(m7t,"EObjectWithInverseEList/ManyInverse",1176),dOt(625,546,B7t,rj),EWt.ci=function(){this.a=!0;},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1;},EWt.a=!1,bY(m7t,"EObjectWithInverseEList/Unsettable",625),dOt(1175,625,B7t,oj),EWt.Ck=function(){return !0},bY(m7t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),dOt(749,546,B7t,aj),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectWithInverseResolvingEList",749),dOt(31,749,B7t,cj),EWt.Ck=function(){return !0},bY(m7t,"EObjectWithInverseResolvingEList/ManyInverse",31),dOt(750,625,B7t,sj),EWt.Ek=function(){return !0},EWt.li=function(t,e){return UIt(this,t,$z(e,56))},bY(m7t,"EObjectWithInverseResolvingEList/Unsettable",750),dOt(1174,750,B7t,uj),EWt.Ck=function(){return !0},bY(m7t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),dOt(1164,622,B7t),EWt.ai=function(){return !(1792&this.b)},EWt.ci=function(){this.b|=1;},EWt.Bk=function(){return !!(4&this.b)},EWt.bj=function(){return !!(40&this.b)},EWt.Ck=function(){return !!(16&this.b)},EWt.Dk=function(){return !!(8&this.b)},EWt.Ek=function(){return !!(this.b&E7t)},EWt.rk=function(){return !!(32&this.b)},EWt.Fk=function(){return !!(this.b&v6t)},EWt.wj=function(t){return this.d?D3(this.d,t):this.ak().Yj().wj(t)},EWt.fj=function(){return 2&this.b?!!(1&this.b):0!=this.i},EWt.hi=function(){return !!(128&this.b)},EWt.Xj=function(){var t;cUt(this),2&this.b&&(wO(this.e)?(t=!!(1&this.b),this.b&=-2,Oy(this,new J5(this.e,2,Igt(this.e.Tg(),this.ak()),t,!1))):this.b&=-2);},EWt.ni=function(){return !(1536&this.b)},EWt.b=0,bY(m7t,"EcoreEList/Generic",1164),dOt(1165,1164,B7t,UV),EWt.ak=function(){return this.a},bY(m7t,"EcoreEList/Dynamic",1165),dOt(747,63,u8t,Sw),EWt.ri=function(t){return Pnt(this.a.a,t)},bY(m7t,"EcoreEMap/1",747),dOt(746,85,B7t,Zq),EWt.bi=function(t,e){Ayt(this.b,$z(e,133));},EWt.di=function(t,e){aot(this.b);},EWt.ei=function(t,e,n){var i;++(i=this.b,$z(e,133),i).e;},EWt.fi=function(t,e){Mft(this.b,$z(e,133));},EWt.gi=function(t,e,n){Mft(this.b,$z(n,133)),HM(n)===HM(e)&&$z(n,133).Th(iL($z(e,133).cd())),Ayt(this.b,$z(e,133));},bY(m7t,"EcoreEMap/DelegateEObjectContainmentEList",746),dOt(1171,151,x7t,mit),bY(m7t,"EcoreEMap/Unsettable",1171),dOt(1172,746,B7t,lj),EWt.ci=function(){this.a=!0;},EWt.fj=function(){return this.a},EWt.Xj=function(){var t;cUt(this),wO(this.e)?(t=this.a,this.a=!1,fot(this.e,new J5(this.e,2,this.c,t,!1))):this.a=!1;},EWt.a=!1,bY(m7t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),dOt(1168,228,tZt,lY),EWt.a=!1,EWt.b=!1,bY(m7t,"EcoreUtil/Copier",1168),dOt(745,1,XWt,j2),EWt.Nb=function(t){uK(this,t);},EWt.Ob=function(){return opt(this)},EWt.Pb=function(){var t;return opt(this),t=this.b,this.b=null,t},EWt.Qb=function(){this.a.Qb();},bY(m7t,"EcoreUtil/ProperContentIterator",745),dOt(1382,1381,{},Rh),bY(m7t,"EcoreValidator",1382),hU(m7t,"FeatureMapUtil/Validator"),dOt(1260,1,{1942:1},Pu),EWt.rl=function(t){return !0},bY(m7t,"FeatureMapUtil/1",1260),dOt(757,1,{1942:1},rKt),EWt.rl=function(t){var e;return this.c==t||(null==(e=kB(PY(this.a,t)))?NRt(this,t)?(n6(this.a,t,(cN(),wee)),!0):(n6(this.a,t,(cN(),bee)),!1):e==(cN(),wee))},EWt.e=!1,bY(m7t,"FeatureMapUtil/BasicValidator",757),dOt(758,43,tZt,qL),bY(m7t,"FeatureMapUtil/BasicValidator/Cache",758),dOt(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},DM),EWt.Vc=function(t,e){IPt(this.c,this.b,t,e);},EWt.Fc=function(t){return Njt(this.c,this.b,t)},EWt.Wc=function(t,e){return xHt(this.c,this.b,t,e)},EWt.Gc=function(t){return ZL(this,t)},EWt.Xh=function(t,e){cet(this.c,this.b,t,e);},EWt.lk=function(t,e){return CRt(this.c,this.b,t,e)},EWt.pi=function(t){return nHt(this.c,this.b,t,!1)},EWt.Zh=function(){return vO(this.c,this.b)},EWt.$h=function(){return xO(this.c,this.b)},EWt._h=function(t){return I8(this.c,this.b,t)},EWt.mk=function(t,e){return JB(this,t,e)},EWt.$b=function(){Ly(this);},EWt.Hc=function(t){return H3(this.c,this.b,t)},EWt.Ic=function(t){return Eat(this.c,this.b,t)},EWt.Xb=function(t){return nHt(this.c,this.b,t,!0)},EWt.Wj=function(t){return this},EWt.Xc=function(t){return U3(this.c,this.b,t)},EWt.dc=function(){return FM(this)},EWt.fj=function(){return !apt(this.c,this.b)},EWt.Kc=function(){return itt(this.c,this.b)},EWt.Yc=function(){return rtt(this.c,this.b)},EWt.Zc=function(t){return hft(this.c,this.b,t)},EWt.ii=function(t,e){return yFt(this.c,this.b,t,e)},EWt.ji=function(t,e){W6(this.c,this.b,t,e);},EWt.$c=function(t){return aSt(this.c,this.b,t)},EWt.Mc=function(t){return Sjt(this.c,this.b,t)},EWt._c=function(t,e){return KFt(this.c,this.b,t,e)},EWt.Wb=function(t){IIt(this.c,this.b),ZL(this,$z(t,15));},EWt.gc=function(){return Rft(this.c,this.b)},EWt.Pc=function(){return H1(this.c,this.b)},EWt.Qc=function(t){return G3(this.c,this.b,t)},EWt.Ib=function(){var t,e;for((e=new Ex).a+="[",t=vO(this.c,this.b);Rut(t);)iI(e,mN(ryt(t))),Rut(t)&&(e.a+=$Wt);return e.a+="]",e.a},EWt.Xj=function(){IIt(this.c,this.b);},bY(m7t,"FeatureMapUtil/FeatureEList",501),dOt(627,36,t7t,h4),EWt.yi=function(t){return eft(this,t)},EWt.Di=function(t){var e,n,i,r;switch(this.d){case 1:case 2:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=5,u7(e=new pet(2),this.g),u7(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return $z(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return this.d=6,u7(r=new pet(2),this.n),u7(r,t.Bi()),this.n=r,i=Cst(Hx(ANe,1),uVt,25,15,[this.o,t.Ci()]),this.g=i,!0}break;case 6:if(4===t.xi()&&HM(t.Ai())===HM(this.c)&&eft(this,null)==t.yi(null))return $z(this.n,14).Fc(t.Bi()),aHt(i=$z(this.g,48),0,n=D8(ANe,uVt,25,i.length+1,15,1),0,i.length),n[i.length]=t.Ci(),this.g=n,!0}return !1},bY(m7t,"FeatureMapUtil/FeatureENotificationImpl",627),dOt(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},lU),EWt.dl=function(t,e){return Njt(this.c,t,e)},EWt.el=function(t,e,n){return CRt(this.c,t,e,n)},EWt.fl=function(t,e,n){return Qzt(this.c,t,e,n)},EWt.gl=function(){return this},EWt.hl=function(t,e){return iHt(this.c,t,e)},EWt.il=function(t){return $z(nHt(this.c,this.b,t,!1),72).ak()},EWt.jl=function(t){return $z(nHt(this.c,this.b,t,!1),72).dd()},EWt.kl=function(){return this.a},EWt.ll=function(t){return !apt(this.c,t)},EWt.ml=function(t,e){EHt(this.c,t,e);},EWt.nl=function(t){return Git(this.c,t)},EWt.ol=function(t){Rmt(this.c,t);},bY(m7t,"FeatureMapUtil/FeatureFeatureMap",552),dOt(1259,1,v7t,BM),EWt.Wj=function(t){return nHt(this.b,this.a,-1,t)},EWt.fj=function(){return !apt(this.b,this.a)},EWt.Wb=function(t){EHt(this.b,this.a,t);},EWt.Xj=function(){IIt(this.b,this.a);},bY(m7t,"FeatureMapUtil/FeatureValue",1259);var hDe=hU(M9t,"AnyType");dOt(666,60,FXt,ex),bY(M9t,"InvalidDatatypeValueException",666);var fDe,dDe,gDe,pDe,bDe,wDe,yDe,mDe,vDe,xDe,kDe,_De,EDe,TDe,CDe,SDe,ADe,MDe,IDe,ODe,LDe,DDe,NDe,PDe,BDe,RDe,jDe,$De,FDe,zDe,HDe=hU(M9t,I9t),UDe=hU(M9t,O9t),GDe=hU(M9t,L9t);dOt(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Pm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new kat(this,0)),this.c):(!this.c&&(this.c=new kat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)):(!this.c&&(this.c=new kat(this,0)),$z($z(QJ(this.c,(qUt(),pDe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new kat(this,2)),this.b):(!this.b&&(this.b=new kat(this,2)),this.b.b)}return G7(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.c&&(this.c=new kat(this,0)),_jt(this.c,t,n);case 1:return (!this.c&&(this.c=new kat(this,0)),$z($z(QJ(this.c,(qUt(),pDe)),153),69)).mk(t,n);case 2:return !this.b&&(this.b=new kat(this,2)),_jt(this.b,t,n)}return $z(eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),e),66).Nj().Rj(this,W9(this),e-hY(this.zh()),t,n)},EWt.lh=function(t){switch(t){case 0:return !!this.c&&0!=this.c.i;case 1:return !(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)).dc();case 2:return !!this.b&&0!=this.b.i}return A3(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t))},EWt.sh=function(t,e){switch(t){case 0:return !this.c&&(this.c=new kat(this,0)),void JK(this.c,e);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z($z(QJ(this.c,(qUt(),pDe)),153),215)).Wb(e);case 2:return !this.b&&(this.b=new kat(this,2)),void JK(this.b,e)}Ldt(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t),e);},EWt.zh=function(){return qUt(),gDe},EWt.Bh=function(t){switch(t){case 0:return !this.c&&(this.c=new kat(this,0)),void cUt(this.c);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)).$b();case 2:return !this.b&&(this.b=new kat(this,2)),void cUt(this.b)}Hht(this,t-hY(this.zh()),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():this.zh(),t));},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uN(CLt(this))).a+=" (mixed: ",nI(t,this.c),t.a+=", anyAttribute: ",nI(t,this.b),t.a+=")",t.a)},bY(D9t,"AnyTypeImpl",830),dOt(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Ru),EWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return G7(this,t-hY((qUt(),SDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SDe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return A3(this,t-hY((qUt(),SDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SDe,t))},EWt.sh=function(t,e){switch(t){case 0:return void md(this,EB(e));case 1:return void vd(this,EB(e))}Ldt(this,t-hY((qUt(),SDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SDe,t),e);},EWt.zh=function(){return qUt(),SDe},EWt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}Hht(this,t-hY((qUt(),SDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():SDe,t));},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uN(CLt(this))).a+=" (data: ",iI(t,this.a),t.a+=", target: ",iI(t,this.b),t.a+=")",t.a)},EWt.a=null,EWt.b=null,bY(D9t,"ProcessingInstructionImpl",667),dOt(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},Rm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new kat(this,0)),this.c):(!this.c&&(this.c=new kat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)):(!this.c&&(this.c=new kat(this,0)),$z($z(QJ(this.c,(qUt(),pDe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new kat(this,2)),this.b):(!this.b&&(this.b=new kat(this,2)),this.b.b);case 3:return !this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),IDe),!0));case 4:return gj(this.a,(!this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),IDe),!0))));case 5:return this.a}return G7(this,t-hY((qUt(),MDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MDe,t),e,n)},EWt.lh=function(t){switch(t){case 0:return !!this.c&&0!=this.c.i;case 1:return !(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)).dc();case 2:return !!this.b&&0!=this.b.i;case 3:return !this.c&&(this.c=new kat(this,0)),null!=EB(iHt(this.c,(qUt(),IDe),!0));case 4:return null!=gj(this.a,(!this.c&&(this.c=new kat(this,0)),EB(iHt(this.c,(qUt(),IDe),!0))));case 5:return !!this.a}return A3(this,t-hY((qUt(),MDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MDe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.c&&(this.c=new kat(this,0)),void JK(this.c,e);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z($z(QJ(this.c,(qUt(),pDe)),153),215)).Wb(e);case 2:return !this.b&&(this.b=new kat(this,2)),void JK(this.b,e);case 3:return void j0(this,EB(e));case 4:return void j0(this,pj(this.a,e));case 5:return void xd(this,$z(e,148))}Ldt(this,t-hY((qUt(),MDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MDe,t),e);},EWt.zh=function(){return qUt(),MDe},EWt.Bh=function(t){switch(t){case 0:return !this.c&&(this.c=new kat(this,0)),void cUt(this.c);case 1:return void(!this.c&&(this.c=new kat(this,0)),$z(QJ(this.c,(qUt(),pDe)),153)).$b();case 2:return !this.b&&(this.b=new kat(this,2)),void cUt(this.b);case 3:return !this.c&&(this.c=new kat(this,0)),void EHt(this.c,(qUt(),IDe),null);case 4:return void j0(this,pj(this.a,null));case 5:return void(this.a=null)}Hht(this,t-hY((qUt(),MDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():MDe,t));},bY(D9t,"SimpleAnyTypeImpl",668),dOt(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Bm),EWt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new kat(this,0)),this.a):(!this.a&&(this.a=new kat(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),this.b):(!this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),M8(this.b));case 2:return n?(!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),this.c):(!this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),M8(this.c));case 3:return !this.a&&(this.a=new kat(this,0)),QJ(this.a,(qUt(),DDe));case 4:return !this.a&&(this.a=new kat(this,0)),QJ(this.a,(qUt(),NDe));case 5:return !this.a&&(this.a=new kat(this,0)),QJ(this.a,(qUt(),BDe));case 6:return !this.a&&(this.a=new kat(this,0)),QJ(this.a,(qUt(),RDe))}return G7(this,t-hY((qUt(),LDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LDe,t),e,n)},EWt.jh=function(t,e,n){switch(e){case 0:return !this.a&&(this.a=new kat(this,0)),_jt(this.a,t,n);case 1:return !this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),$j(this.b,t,n);case 2:return !this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),$j(this.c,t,n);case 5:return !this.a&&(this.a=new kat(this,0)),JB(QJ(this.a,(qUt(),BDe)),t,n)}return $z(eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():(qUt(),LDe),e),66).Nj().Rj(this,W9(this),e-hY((qUt(),LDe)),t,n)},EWt.lh=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 kat(this,0)),!FM(QJ(this.a,(qUt(),DDe)));case 4:return !this.a&&(this.a=new kat(this,0)),!FM(QJ(this.a,(qUt(),NDe)));case 5:return !this.a&&(this.a=new kat(this,0)),!FM(QJ(this.a,(qUt(),BDe)));case 6:return !this.a&&(this.a=new kat(this,0)),!FM(QJ(this.a,(qUt(),RDe)))}return A3(this,t-hY((qUt(),LDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LDe,t))},EWt.sh=function(t,e){switch(t){case 0:return !this.a&&(this.a=new kat(this,0)),void JK(this.a,e);case 1:return !this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),void tot(this.b,e);case 2:return !this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),void tot(this.c,e);case 3:return !this.a&&(this.a=new kat(this,0)),Ly(QJ(this.a,(qUt(),DDe))),!this.a&&(this.a=new kat(this,0)),void ZL(QJ(this.a,DDe),$z(e,14));case 4:return !this.a&&(this.a=new kat(this,0)),Ly(QJ(this.a,(qUt(),NDe))),!this.a&&(this.a=new kat(this,0)),void ZL(QJ(this.a,NDe),$z(e,14));case 5:return !this.a&&(this.a=new kat(this,0)),Ly(QJ(this.a,(qUt(),BDe))),!this.a&&(this.a=new kat(this,0)),void ZL(QJ(this.a,BDe),$z(e,14));case 6:return !this.a&&(this.a=new kat(this,0)),Ly(QJ(this.a,(qUt(),RDe))),!this.a&&(this.a=new kat(this,0)),void ZL(QJ(this.a,RDe),$z(e,14))}Ldt(this,t-hY((qUt(),LDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LDe,t),e);},EWt.zh=function(){return qUt(),LDe},EWt.Bh=function(t){switch(t){case 0:return !this.a&&(this.a=new kat(this,0)),void cUt(this.a);case 1:return !this.b&&(this.b=new y7((pWt(),yLe),GLe,this,1)),void this.b.c.$b();case 2:return !this.c&&(this.c=new y7((pWt(),yLe),GLe,this,2)),void this.c.c.$b();case 3:return !this.a&&(this.a=new kat(this,0)),void Ly(QJ(this.a,(qUt(),DDe)));case 4:return !this.a&&(this.a=new kat(this,0)),void Ly(QJ(this.a,(qUt(),NDe)));case 5:return !this.a&&(this.a=new kat(this,0)),void Ly(QJ(this.a,(qUt(),BDe)));case 6:return !this.a&&(this.a=new kat(this,0)),void Ly(QJ(this.a,(qUt(),RDe)))}Hht(this,t-hY((qUt(),LDe)),eet(2&this.j?(!this.k&&(this.k=new Ph),this.k).ck():LDe,t));},EWt.Ib=function(){var t;return 4&this.j?CLt(this):((t=new uN(CLt(this))).a+=" (mixed: ",nI(t,this.a),t.a+=")",t.a)},bY(D9t,"XMLTypeDocumentRootImpl",669),dOt(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Bu),EWt.Ih=function(t,e){switch(t.yj()){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:Fdt(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return EB(e);case 6:return wB($z(e,190));case 12:case 47:case 49:case 11:return HGt(this,t,e);case 13:return null==e?null:Uzt($z(e,240));case 15:case 14:return null==e?null:PK(Hv(_B(e)));case 17:return k_t((qUt(),e));case 18:return k_t(e);case 21:case 20:return null==e?null:BK($z(e,155).a);case 27:return yB($z(e,190));case 30:return jmt((qUt(),$z(e,15)));case 31:return jmt($z(e,15));case 40:return vB((qUt(),e));case 42:return __t((qUt(),e));case 43:return __t(e);case 59:case 48:return mB((qUt(),e));default:throw Fw(new Rv(g6t+t.ne()+p6t))}},EWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=qet(t))?oyt(e.Mh(),t):-1),t.G){case 0:return new Pm;case 1:return new Ru;case 2:return new Rm;case 3:return new Bm;default:throw Fw(new Rv(y6t+t.zb+p6t))}},EWt.Kh=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;switch(t.yj()){case 5:case 52:case 4:return e;case 6:return mwt(e);case 8:case 7:return null==e?null:j_t(e);case 9:return null==e?null:Ttt(h$t((i=$zt(e,!0)).length>0&&(h1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==e?null:Ttt(h$t((r=$zt(e,!0)).length>0&&(h1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return EB(NYt(this,(qUt(),yDe),e));case 12:return EB(NYt(this,(qUt(),mDe),e));case 13:return null==e?null:new f_($zt(e,!0));case 15:case 14:return pDt(e);case 16:return EB(NYt(this,(qUt(),vDe),e));case 17:return zpt((qUt(),e));case 18:return zpt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return $zt(e,!0);case 21:case 20:return ADt(e);case 22:return EB(NYt(this,(qUt(),xDe),e));case 23:return EB(NYt(this,(qUt(),kDe),e));case 24:return EB(NYt(this,(qUt(),_De),e));case 25:return EB(NYt(this,(qUt(),EDe),e));case 26:return EB(NYt(this,(qUt(),TDe),e));case 27:return Qbt(e);case 30:return Hpt((qUt(),e));case 31:return Hpt(e);case 32:return null==e?null:nft(h$t((l=$zt(e,!0)).length>0&&(h1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,jXt,PWt));case 33:return null==e?null:new IO((h=$zt(e,!0)).length>0&&(h1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:nft(h$t((f=$zt(e,!0)).length>0&&(h1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,jXt,PWt));case 36:return null==e?null:xbt(iKt((d=$zt(e,!0)).length>0&&(h1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:xbt(iKt((g=$zt(e,!0)).length>0&&(h1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g));case 40:return Wgt((qUt(),e));case 42:return Upt((qUt(),e));case 43:return Upt(e);case 44:return null==e?null:new IO((p=$zt(e,!0)).length>0&&(h1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new IO((b=$zt(e,!0)).length>0&&(h1(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return $zt(e,!1);case 47:return EB(NYt(this,(qUt(),CDe),e));case 59:case 48:return Ygt((qUt(),e));case 49:return EB(NYt(this,(qUt(),ADe),e));case 50:return null==e?null:ift(h$t((w=$zt(e,!0)).length>0&&(h1(0,w.length),43==w.charCodeAt(0))?w.substr(1):w,X7t,32767)<<16>>16);case 51:return null==e?null:ift(h$t((a=$zt(e,!0)).length>0&&(h1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,X7t,32767)<<16>>16);case 53:return EB(NYt(this,(qUt(),ODe),e));case 55:return null==e?null:ift(h$t((o=$zt(e,!0)).length>0&&(h1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,X7t,32767)<<16>>16);case 56:return null==e?null:ift(h$t((s=$zt(e,!0)).length>0&&(h1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,X7t,32767)<<16>>16);case 57:return null==e?null:xbt(iKt((c=$zt(e,!0)).length>0&&(h1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:xbt(iKt((u=$zt(e,!0)).length>0&&(h1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==e?null:nft(h$t((n=$zt(e,!0)).length>0&&(h1(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,jXt,PWt));case 61:return null==e?null:nft(h$t($zt(e,!0),jXt,PWt));default:throw Fw(new Rv(g6t+t.ne()+p6t))}},bY(D9t,"XMLTypeFactoryImpl",1919),dOt(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},UW),EWt.N=!1,EWt.O=!1;var qDe,KDe,YDe,WDe,XDe,VDe=!1;bY(D9t,"XMLTypePackageImpl",586),dOt(1852,1,{837:1},ju),EWt._j=function(){return lFt(),xNe},bY(D9t,"XMLTypePackageImpl/1",1852),dOt(1861,1,c9t,$u),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/10",1861),dOt(1862,1,c9t,Fu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/11",1862),dOt(1863,1,c9t,zu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/12",1863),dOt(1864,1,c9t,Hu),EWt.wj=function(t){return GM(t)},EWt.xj=function(t){return D8(Cee,cXt,333,t,7,1)},bY(D9t,"XMLTypePackageImpl/13",1864),dOt(1865,1,c9t,Uu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/14",1865),dOt(1866,1,c9t,Gu),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/15",1866),dOt(1867,1,c9t,qu),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/16",1867),dOt(1868,1,c9t,Ku),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/17",1868),dOt(1869,1,c9t,Yu),EWt.wj=function(t){return iD(t,155)},EWt.xj=function(t){return D8(See,cXt,155,t,0,1)},bY(D9t,"XMLTypePackageImpl/18",1869),dOt(1870,1,c9t,Wu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/19",1870),dOt(1853,1,c9t,Xu),EWt.wj=function(t){return iD(t,843)},EWt.xj=function(t){return D8(hDe,zWt,843,t,0,1)},bY(D9t,"XMLTypePackageImpl/2",1853),dOt(1871,1,c9t,Vu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/20",1871),dOt(1872,1,c9t,Zu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/21",1872),dOt(1873,1,c9t,Qu),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/22",1873),dOt(1874,1,c9t,Ju),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/23",1874),dOt(1875,1,c9t,tl),EWt.wj=function(t){return iD(t,190)},EWt.xj=function(t){return D8(ONe,cXt,190,t,0,2)},bY(D9t,"XMLTypePackageImpl/24",1875),dOt(1876,1,c9t,el),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/25",1876),dOt(1877,1,c9t,nl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/26",1877),dOt(1878,1,c9t,il),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/27",1878),dOt(1879,1,c9t,rl),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/28",1879),dOt(1880,1,c9t,al),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/29",1880),dOt(1854,1,c9t,ol),EWt.wj=function(t){return iD(t,667)},EWt.xj=function(t){return D8(HDe,zWt,2021,t,0,1)},bY(D9t,"XMLTypePackageImpl/3",1854),dOt(1881,1,c9t,sl),EWt.wj=function(t){return iD(t,19)},EWt.xj=function(t){return D8(Iee,cXt,19,t,0,1)},bY(D9t,"XMLTypePackageImpl/30",1881),dOt(1882,1,c9t,cl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/31",1882),dOt(1883,1,c9t,ul),EWt.wj=function(t){return iD(t,162)},EWt.xj=function(t){return D8(Bee,cXt,162,t,0,1)},bY(D9t,"XMLTypePackageImpl/32",1883),dOt(1884,1,c9t,ll),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/33",1884),dOt(1885,1,c9t,hl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/34",1885),dOt(1886,1,c9t,fl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/35",1886),dOt(1887,1,c9t,dl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/36",1887),dOt(1888,1,c9t,gl),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/37",1888),dOt(1889,1,c9t,pl),EWt.wj=function(t){return iD(t,15)},EWt.xj=function(t){return D8(Bte,JQt,15,t,0,1)},bY(D9t,"XMLTypePackageImpl/38",1889),dOt(1890,1,c9t,bl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/39",1890),dOt(1855,1,c9t,wl),EWt.wj=function(t){return iD(t,668)},EWt.xj=function(t){return D8(UDe,zWt,2022,t,0,1)},bY(D9t,"XMLTypePackageImpl/4",1855),dOt(1891,1,c9t,yl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/40",1891),dOt(1892,1,c9t,ml),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/41",1892),dOt(1893,1,c9t,vl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/42",1893),dOt(1894,1,c9t,xl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/43",1894),dOt(1895,1,c9t,kl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/44",1895),dOt(1896,1,c9t,_l),EWt.wj=function(t){return iD(t,184)},EWt.xj=function(t){return D8(jee,cXt,184,t,0,1)},bY(D9t,"XMLTypePackageImpl/45",1896),dOt(1897,1,c9t,El),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/46",1897),dOt(1898,1,c9t,Tl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/47",1898),dOt(1899,1,c9t,Cl),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/48",1899),dOt(cVt,1,c9t,Sl),EWt.wj=function(t){return iD(t,184)},EWt.xj=function(t){return D8(jee,cXt,184,t,0,1)},bY(D9t,"XMLTypePackageImpl/49",cVt),dOt(1856,1,c9t,Al),EWt.wj=function(t){return iD(t,669)},EWt.xj=function(t){return D8(GDe,zWt,2023,t,0,1)},bY(D9t,"XMLTypePackageImpl/5",1856),dOt(1901,1,c9t,Ml),EWt.wj=function(t){return iD(t,162)},EWt.xj=function(t){return D8(Bee,cXt,162,t,0,1)},bY(D9t,"XMLTypePackageImpl/50",1901),dOt(1902,1,c9t,Il),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/51",1902),dOt(1903,1,c9t,Ol),EWt.wj=function(t){return iD(t,19)},EWt.xj=function(t){return D8(Iee,cXt,19,t,0,1)},bY(D9t,"XMLTypePackageImpl/52",1903),dOt(1857,1,c9t,Ll),EWt.wj=function(t){return qM(t)},EWt.xj=function(t){return D8(Xee,cXt,2,t,6,1)},bY(D9t,"XMLTypePackageImpl/6",1857),dOt(1858,1,c9t,Dl),EWt.wj=function(t){return iD(t,190)},EWt.xj=function(t){return D8(ONe,cXt,190,t,0,2)},bY(D9t,"XMLTypePackageImpl/7",1858),dOt(1859,1,c9t,Nl),EWt.wj=function(t){return UM(t)},EWt.xj=function(t){return D8(vee,cXt,476,t,8,1)},bY(D9t,"XMLTypePackageImpl/8",1859),dOt(1860,1,c9t,Pl),EWt.wj=function(t){return iD(t,217)},EWt.xj=function(t){return D8(_ee,cXt,217,t,0,1)},bY(D9t,"XMLTypePackageImpl/9",1860),dOt(50,60,FXt,rx),bY(ate,"RegEx/ParseException",50),dOt(820,1,{},Bl),EWt.sl=function(t){return t<this.j&&63==uX(this.i,t)},EWt.tl=function(){var t,e,n,i,r;if(10!=this.c)throw Fw(new rx(vWt((aL(),p8t))));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(XYt(this),0!=this.c)throw Fw(new rx(vWt((aL(),F8t))));if(123==this.a){for(r=0,n=0;;){if(XYt(this),0!=this.c)throw Fw(new rx(vWt((aL(),F8t))));if((r=Uyt(this.a))<0)break;if(n>16*n)throw Fw(new rx(vWt((aL(),z8t))));n=16*n+r;}if(125!=this.a)throw Fw(new rx(vWt((aL(),H8t))));if(n>ote)throw Fw(new rx(vWt((aL(),U8t))));t=n;}else {if(r=0,0!=this.c||(r=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(n=r,XYt(this),0!=this.c||(r=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));t=n=16*n+r;}break;case 117:if(i=0,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));t=e=16*e+i;break;case 118:if(XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if(e=16*e+i,XYt(this),0!=this.c||(i=Uyt(this.a))<0)throw Fw(new rx(vWt((aL(),F8t))));if((e=16*e+i)>ote)throw Fw(new rx(vWt((aL(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw Fw(new rx(vWt((aL(),G8t))))}return t},EWt.ul=function(t){var e;switch(t){case 100:e=32&~this.e?(dWt(),rNe):QKt("Nd",!0);break;case 68:e=32&~this.e?(dWt(),uNe):QKt("Nd",!1);break;case 119:e=32&~this.e?(dWt(),yNe):QKt("IsWord",!0);break;case 87:e=32&~this.e?(dWt(),hNe):QKt("IsWord",!1);break;case 115:e=32&~this.e?(dWt(),dNe):QKt("IsSpace",!0);break;case 83:e=32&~this.e?(dWt(),lNe):QKt("IsSpace",!1);break;default:throw Fw(new dv(ste+t.toString(16)))}return e},EWt.vl=function(t){var e,n,i,r,a,o,s,c,u,l,h;for(this.b=1,XYt(this),e=null,0==this.c&&94==this.a?(XYt(this),t?(dWt(),dWt(),u=new _0(5)):(dWt(),dWt(),VPt(e=new _0(4),0,ote),u=new _0(4))):(dWt(),dWt(),u=new _0(4)),r=!0;1!=(h=this.c)&&(0!=h||93!=this.a||r);){if(r=!1,n=this.a,i=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:cHt(u,this.ul(n)),i=!0;break;case 105:case 73:case 99:case 67:(n=this.Ll(u,n))<0&&(i=!0);break;case 112:case 80:if(!(l=PMt(this,n)))throw Fw(new rx(vWt((aL(),M8t))));cHt(u,l),i=!0;break;default:n=this.tl();}else if(20==h){if((a=lP(this.i,58,this.d))<0)throw Fw(new rx(vWt((aL(),I8t))));if(o=!0,94==uX(this.i,this.d)&&(++this.d,o=!1),!(s=h7(uP(this.i,this.d,a),o,!(512&~this.e))))throw Fw(new rx(vWt((aL(),L8t))));if(cHt(u,s),i=!0,a+1>=this.j||93!=uX(this.i,a+1))throw Fw(new rx(vWt((aL(),I8t))));this.d=a+2;}if(XYt(this),!i)if(0!=this.c||45!=this.a)VPt(u,n,n);else {if(XYt(this),1==(h=this.c))throw Fw(new rx(vWt((aL(),O8t))));0==h&&93==this.a?(VPt(u,n,n),VPt(u,45,45)):(c=this.a,10==h&&(c=this.tl()),XYt(this),VPt(u,n,c));}(this.e&v6t)==v6t&&0==this.c&&44==this.a&&XYt(this);}if(1==this.c)throw Fw(new rx(vWt((aL(),O8t))));return e&&(YGt(e,u),u=e),_Lt(u),HHt(u),this.b=0,XYt(this),u},EWt.wl=function(){var t,e,n,i;for(n=this.vl(!1);7!=(i=this.c);){if(t=this.a,(0!=i||45!=t&&38!=t)&&4!=i)throw Fw(new rx(vWt((aL(),j8t))));if(XYt(this),9!=this.c)throw Fw(new rx(vWt((aL(),R8t))));if(e=this.vl(!1),4==i)cHt(n,e);else if(45==t)YGt(n,e);else {if(38!=t)throw Fw(new dv("ASSERT"));vGt(n,e);}}return XYt(this),n},EWt.xl=function(){var t,e;return t=this.a-48,dWt(),dWt(),e=new bQ(12,null,t),!this.g&&(this.g=new Ry),Cy(this.g,new Aw(t)),XYt(this),e},EWt.yl=function(){return XYt(this),dWt(),gNe},EWt.zl=function(){return XYt(this),dWt(),fNe},EWt.Al=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Bl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Cl=function(){return XYt(this),lut()},EWt.Dl=function(){return XYt(this),dWt(),bNe},EWt.El=function(){return XYt(this),dWt(),mNe},EWt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=uX(this.i,this.d++))))throw Fw(new rx(vWt((aL(),T8t))));return XYt(this),dWt(),dWt(),new oG(0,t-64)},EWt.Gl=function(){return XYt(this),BFt()},EWt.Hl=function(){return XYt(this),dWt(),vNe},EWt.Il=function(){var t;return dWt(),dWt(),t=new oG(0,105),XYt(this),t},EWt.Jl=function(){return XYt(this),dWt(),wNe},EWt.Kl=function(){return XYt(this),dWt(),pNe},EWt.Ll=function(t,e){return this.tl()},EWt.Ml=function(){return XYt(this),dWt(),sNe},EWt.Nl=function(){var t,e,n,i,r;if(this.d+1>=this.j)throw Fw(new rx(vWt((aL(),k8t))));if(i=-1,e=null,49<=(t=uX(this.i,this.d))&&t<=57){if(i=t-48,!this.g&&(this.g=new Ry),Cy(this.g,new Aw(i)),++this.d,41!=uX(this.i,this.d))throw Fw(new rx(vWt((aL(),m8t))));++this.d;}else switch(63==t&&--this.d,XYt(this),(e=MYt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));break;default:throw Fw(new rx(vWt((aL(),_8t))))}if(XYt(this),n=null,2==(r=Wpt(this)).e){if(2!=r.em())throw Fw(new rx(vWt((aL(),E8t))));n=r.am(1),r=r.am(0);}if(7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),dWt(),dWt(),new vtt(i,e,r,n)},EWt.Ol=function(){return XYt(this),dWt(),cNe},EWt.Pl=function(){var t;if(XYt(this),t=aK(24,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Ql=function(){var t;if(XYt(this),t=aK(20,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Rl=function(){var t;if(XYt(this),t=aK(22,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Sl=function(){var t,e,n,i,r;for(t=0,n=0,e=-1;this.d<this.j&&0!=(r=XIt(e=uX(this.i,this.d)));)t|=r,++this.d;if(this.d>=this.j)throw Fw(new rx(vWt((aL(),v8t))));if(45==e){for(++this.d;this.d<this.j&&0!=(r=XIt(e=uX(this.i,this.d)));)n|=r,++this.d;if(this.d>=this.j)throw Fw(new rx(vWt((aL(),v8t))))}if(58==e){if(++this.d,XYt(this),i=MY(Wpt(this),t,n),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));XYt(this);}else {if(41!=e)throw Fw(new rx(vWt((aL(),x8t))));++this.d,XYt(this),i=MY(Wpt(this),t,n);}return i},EWt.Tl=function(){var t;if(XYt(this),t=aK(21,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Ul=function(){var t;if(XYt(this),t=aK(23,Wpt(this)),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Vl=function(){var t,e;if(XYt(this),t=this.f++,e=oK(Wpt(this),t),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),e},EWt.Wl=function(){var t;if(XYt(this),t=oK(Wpt(this),0),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Xl=function(t){return XYt(this),5==this.c?(XYt(this),gG(t,(dWt(),dWt(),new c4(9,t)))):gG(t,(dWt(),dWt(),new c4(3,t)))},EWt.Yl=function(t){var e;return XYt(this),dWt(),dWt(),e=new nL(2),5==this.c?(XYt(this),tUt(e,oNe),tUt(e,t)):(tUt(e,t),tUt(e,oNe)),e},EWt.Zl=function(t){return XYt(this),5==this.c?(XYt(this),dWt(),dWt(),new c4(9,t)):(dWt(),dWt(),new c4(3,t))},EWt.a=0,EWt.b=0,EWt.c=0,EWt.d=0,EWt.e=0,EWt.f=1,EWt.g=null,EWt.j=0,bY(ate,"RegEx/RegexParser",820),dOt(1824,820,{},jm),EWt.sl=function(t){return !1},EWt.tl=function(){return HBt(this)},EWt.ul=function(t){return g$t(t)},EWt.vl=function(t){return QYt(this)},EWt.wl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.xl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.yl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.zl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Al=function(){return XYt(this),g$t(67)},EWt.Bl=function(){return XYt(this),g$t(73)},EWt.Cl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Dl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.El=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Fl=function(){return XYt(this),g$t(99)},EWt.Gl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Hl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Il=function(){return XYt(this),g$t(105)},EWt.Jl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Kl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ll=function(t,e){return cHt(t,g$t(e)),-1},EWt.Ml=function(){return XYt(this),dWt(),dWt(),new oG(0,94)},EWt.Nl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ol=function(){return XYt(this),dWt(),dWt(),new oG(0,36)},EWt.Pl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ql=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Rl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Sl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Tl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Ul=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Vl=function(){var t;if(XYt(this),t=oK(Wpt(this),0),7!=this.c)throw Fw(new rx(vWt((aL(),m8t))));return XYt(this),t},EWt.Wl=function(){throw Fw(new rx(vWt((aL(),q8t))))},EWt.Xl=function(t){return XYt(this),gG(t,(dWt(),dWt(),new c4(3,t)))},EWt.Yl=function(t){var e;return XYt(this),dWt(),dWt(),tUt(e=new nL(2),t),tUt(e,oNe),e},EWt.Zl=function(t){return XYt(this),dWt(),dWt(),new c4(3,t)};var ZDe=null,QDe=null;bY(ate,"RegEx/ParserForXMLSchema",1824),dOt(117,1,mte,Mw),EWt.$l=function(t){throw Fw(new dv("Not supported."))},EWt._l=function(){return -1},EWt.am=function(t){return null},EWt.bm=function(){return null},EWt.cm=function(t){},EWt.dm=function(t){},EWt.em=function(){return 0},EWt.Ib=function(){return this.fm(0)},EWt.fm=function(t){return 11==this.e?".":""},EWt.e=0;var JDe,tNe,eNe,nNe,iNe,rNe,aNe,oNe,sNe,cNe,uNe,lNe,hNe,fNe,dNe,gNe,pNe,bNe,wNe,yNe,mNe,vNe,xNe,kNe,_Ne=null,ENe=null,TNe=null,CNe=bY(ate,"RegEx/Token",117);dOt(136,117,{3:1,136:1,117:1},_0),EWt.fm=function(t){var e,n,i;if(4==this.e)if(this==aNe)n=".";else if(this==rNe)n="\\d";else if(this==yNe)n="\\w";else if(this==dNe)n="\\s";else {for((i=new Ex).a+="[",e=0;e<this.b.length;e+=2)t&v6t&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?iI(i,azt(this.b[e])):(iI(i,azt(this.b[e])),i.a+="-",iI(i,azt(this.b[e+1])));i.a+="]",n=i.a;}else if(this==uNe)n="\\D";else if(this==hNe)n="\\W";else if(this==lNe)n="\\S";else {for((i=new Ex).a+="[^",e=0;e<this.b.length;e+=2)t&v6t&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?iI(i,azt(this.b[e])):(iI(i,azt(this.b[e])),i.a+="-",iI(i,azt(this.b[e+1])));i.a+="]",n=i.a;}return n},EWt.a=!1,EWt.c=!1,bY(ate,"RegEx/RangeToken",136),dOt(584,1,{584:1},Aw),EWt.a=0,bY(ate,"RegEx/RegexParser/ReferencePosition",584),dOt(583,1,{3:1,583:1},q_),EWt.Fb=function(t){var e;return null!=t&&!!iD(t,583)&&(e=$z(t,583),wj(this.b,e.b)&&this.a==e.a)},EWt.Hb=function(){return wyt(this.b+"/"+tPt(this.a))},EWt.Ib=function(){return this.c.fm(this.a)},EWt.a=0,bY(ate,"RegEx/RegularExpression",583),dOt(223,117,mte,oG),EWt._l=function(){return this.a},EWt.fm=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="\\"+TR(this.a&XXt);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>=FVt?"\\v"+uP(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+TR(this.a&XXt);}break;case 8:n=this==sNe||this==cNe?""+TR(this.a&XXt):"\\"+TR(this.a&XXt);break;default:n=null;}return n},EWt.a=0,bY(ate,"RegEx/Token/CharToken",223),dOt(309,117,mte,c4),EWt.am=function(t){return this.a},EWt.cm=function(t){this.b=t;},EWt.dm=function(t){this.c=t;},EWt.em=function(){return 1},EWt.fm=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.fm(t)+"*";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}";else {if(!(this.c>=0&&this.b<0))throw Fw(new dv("Token#toString(): CLOSURE "+this.c+$Wt+this.b));e=this.a.fm(t)+"{"+this.c+",}";}else if(this.c<0&&this.b<0)e=this.a.fm(t)+"*?";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else {if(!(this.c>=0&&this.b<0))throw Fw(new dv("Token#toString(): NONGREEDYCLOSURE "+this.c+$Wt+this.b));e=this.a.fm(t)+"{"+this.c+",}?";}return e},EWt.b=0,EWt.c=0,bY(ate,"RegEx/Token/ClosureToken",309),dOt(821,117,mte,GK),EWt.am=function(t){return 0==t?this.a:this.b},EWt.em=function(){return 2},EWt.fm=function(t){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+?":this.a.fm(t)+""+this.b.fm(t)},bY(ate,"RegEx/Token/ConcatToken",821),dOt(1822,117,mte,vtt),EWt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw Fw(new dv("Internal Error: "+t))},EWt.em=function(){return this.b?2:1},EWt.fm=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},EWt.c=0,bY(ate,"RegEx/Token/ConditionToken",1822),dOt(1823,117,mte,k0),EWt.am=function(t){return this.b},EWt.em=function(){return 1},EWt.fm=function(t){return "(?"+(0==this.a?"":tPt(this.a))+(0==this.c?"":tPt(this.c))+":"+this.b.fm(t)+")"},EWt.a=0,EWt.c=0,bY(ate,"RegEx/Token/ModifierToken",1823),dOt(822,117,mte,iW),EWt.am=function(t){return this.a},EWt.em=function(){return 1},EWt.fm=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.fm(t)+")":"("+this.a.fm(t)+")";break;case 20:e="(?="+this.a.fm(t)+")";break;case 21:e="(?!"+this.a.fm(t)+")";break;case 22:e="(?<="+this.a.fm(t)+")";break;case 23:e="(?<!"+this.a.fm(t)+")";break;case 24:e="(?>"+this.a.fm(t)+")";}return e},EWt.b=0,bY(ate,"RegEx/Token/ParenToken",822),dOt(521,117,{3:1,117:1,521:1},bQ),EWt.bm=function(){return this.b},EWt.fm=function(t){return 12==this.e?"\\"+this.a:nOt(this.b)},EWt.a=0,bY(ate,"RegEx/Token/StringToken",521),dOt(465,117,mte,nL),EWt.$l=function(t){tUt(this,t);},EWt.am=function(t){return $z(hW(this.a,t),117)},EWt.em=function(){return this.a?this.a.a.c.length:0},EWt.fm=function(t){var e,n,i,r,a;if(1==this.e){if(2==this.a.a.c.length)e=$z(hW(this.a,0),117),r=3==(n=$z(hW(this.a,1),117)).e&&n.am(0)==e?e.fm(t)+"+":9==n.e&&n.am(0)==e?e.fm(t)+"+?":e.fm(t)+""+n.fm(t);else {for(a=new Ex,i=0;i<this.a.a.c.length;i++)iI(a,$z(hW(this.a,i),117).fm(t));r=a.a;}return r}if(2==this.a.a.c.length&&7==$z(hW(this.a,1),117).e)r=$z(hW(this.a,0),117).fm(t)+"?";else if(2==this.a.a.c.length&&7==$z(hW(this.a,0),117).e)r=$z(hW(this.a,1),117).fm(t)+"??";else {for(iI(a=new Ex,$z(hW(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)a.a+="|",iI(a,$z(hW(this.a,i),117).fm(t));r=a.a;}return r},bY(ate,"RegEx/Token/UnionToken",465),dOt(518,1,{592:1},G_),EWt.Ib=function(){return this.a.b},bY(vte,"XMLTypeUtil/PatternMatcherImpl",518),dOt(1622,1381,{},Rl),bY(vte,"XMLTypeValidator",1622),dOt(264,1,bXt,cq),EWt.Jc=function(t){t5(this,t);},EWt.Kc=function(){return (this.b-this.a)*this.c<0?kNe:new qD(this)},EWt.a=0,EWt.b=0,EWt.c=0,bY(kte,"ExclusiveRange",264),dOt(1068,1,rXt,jl),EWt.Rb=function(t){$z(t,19),lL();},EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return H_()},EWt.Ub=function(){return U_()},EWt.Wb=function(t){$z(t,19),fL();},EWt.Ob=function(){return !1},EWt.Sb=function(){return !1},EWt.Tb=function(){return -1},EWt.Vb=function(){return -1},EWt.Qb=function(){throw Fw(new Jv(Tte))},bY(kte,"ExclusiveRange/1",1068),dOt(254,1,rXt,qD),EWt.Rb=function(t){$z(t,19),hL();},EWt.Nb=function(t){uK(this,t);},EWt.Pb=function(){return $lt(this)},EWt.Ub=function(){return A7(this)},EWt.Wb=function(t){$z(t,19),dL();},EWt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},EWt.Sb=function(){return this.b>0},EWt.Tb=function(){return this.b},EWt.Vb=function(){return this.b-1},EWt.Qb=function(){throw Fw(new Jv(Tte))},EWt.a=0,EWt.b=0,bY(kte,"ExclusiveRange/RangeIterator",254);var SNe=PW(C7t,"C"),ANe=PW(M7t,"I"),MNe=PW(OWt,"Z"),INe=PW(I7t,"J"),ONe=PW(T7t,"B"),LNe=PW(S7t,"D"),DNe=PW(A7t,"F"),NNe=PW(O7t,"S"),PNe=hU("org.eclipse.elk.core.labels","ILabelManager"),BNe=hU(F6t,"DiagnosticChain"),RNe=hU(l9t,"ResourceSet"),jNe=bY(F6t,"InvocationTargetException",null),$Ne=(Nx(),u5),FNe=FNe=u_t;Qnt(Ww),cat("permProps",[[[Cte,Ste],[Ate,"gecko1_8"]],[[Cte,Ste],[Ate,"ie10"]],[[Cte,Ste],[Ate,"ie8"]],[[Cte,Ste],[Ate,"ie9"]],[[Cte,Ste],[Ate,"safari"]]]),FNe(null,"elk",null);}).call(this);}).call(this,void 0!==e?e:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{});},{}],3:[function(t,e,n){function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(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}function a(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);}var o=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n);var a=Object.assign({},e),o=!1;try{t.resolve("web-worker"),o=!0;}catch(t){}if(e.workerUrl)if(o){var s=t("web-worker");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 c=t("./elk-worker.min.js").Worker;a.workerFactory=function(t){return new c(t)};}return r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return a(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o;},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker;},{}]},{},[3])(3)},t.exports=i();}({get exports(){return SU},set exports(t){SU=t;}});const AU=new(n(SU)),MU={},IU={};let OU={};const LU=function(t,e,n,i,r,a,o){const s=n.select(`[id="${e}"]`),c=s.insert("g").attr("class","nodes");return Object.keys(t).forEach((function(e){const n=t[e];let o="default";n.classes.length>0&&(o=n.classes.join(" "));const u=Jb(n.styles);let l,h=void 0!==n.text?n.text:n.id;const f={width:0,height:0};if(qh(vy().flowchart.htmlLabels)){const t={label:h.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};l=bP(s,t).node();const e=l.getBBox();f.width=e.width,f.height=e.height,f.labelNode=l,l.parentNode.removeChild(l);}else {const t=i.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",u.labelStyle.replace("color:","fill:"));const e=h.split(Yh.lineBreakRegex);for(const n of e){const e=i.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e);}l=t;const n=l.getBBox();f.width=n.width,f.height=n.height,f.labelNode=l;}const d=[{id:n.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:n.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:n.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:n.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let g=0,p="",b={};switch(n.type){case"round":g=5,p="rect";break;case"square":case"group":default:p="rect";break;case"diamond":p="question",b={portConstraints:"FIXED_SIDE"};break;case"hexagon":p="hexagon";break;case"odd":case"odd_right":p="rect_left_inv_arrow";break;case"lean_right":p="lean_right";break;case"lean_left":p="lean_left";break;case"trapezoid":p="trapezoid";break;case"inv_trapezoid":p="inv_trapezoid";break;case"circle":p="circle";break;case"ellipse":p="ellipse";break;case"stadium":p="stadium";break;case"subroutine":p="subroutine";break;case"cylinder":p="cylinder";break;case"doublecircle":p="doublecircle";}const w={labelStyle:u.labelStyle,shape:p,labelText:h,rx:g,ry:g,class:o,style:u.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:r.db.getTooltip(n.id)||"",domId:r.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:vy().flowchart.padding};let y,m;"group"!==w.type&&(m=zL(c,w,n.dir),y=m.node().getBBox());const v={id:n.id,ports:"diamond"===n.type?d:[],layoutOptions:b,labelText:h,labelData:f,domId:r.db.lookUpDomId(n.id),width:null==y?void 0:y.width,height:null==y?void 0:y.height,type:n.type,el:m,parent:a.parentById[n.id]};OU[w.id]=v;})),o},DU=(t,e,n)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,l.info("abc88",n,e,t),i[n][e][t]},NU=(t,e,n)=>{if(l.info("getNextPort abc88",{node:t,edgeDirection:e,graphDirection:n}),!MU[t])switch(n){case"TB":case"TD":MU[t]={inPosition:"north",outPosition:"south"};break;case"BT":MU[t]={inPosition:"south",outPosition:"north"};break;case"RL":MU[t]={inPosition:"east",outPosition:"west"};break;case"LR":MU[t]={inPosition:"west",outPosition:"east"};}const i="in"===e?MU[t].inPosition:MU[t].outPosition;return "in"===e?MU[t].inPosition=DU(MU[t].inPosition,e,n):MU[t].outPosition=DU(MU[t].outPosition,e,n),i},PU=(t,e)=>{let n=t.start,i=t.end;const r=OU[n],a=OU[i];return r&&a?("diamond"===r.type&&(n=`${n}-${NU(n,"out",e)}`),"diamond"===a.type&&(i=`${i}-${NU(i,"in",e)}`),{source:n,target:i}):{source:n,target:i}},BU=function(t,e,n,i){l.info("abc78 edges = ",t);const r=i.insert("g").attr("class","edgeLabels");let a,o,s={},c=e.db.getDirection();if(void 0!==t.defaultStyle){const e=Jb(t.defaultStyle);a=e.style,o=e.labelStyle;}return t.forEach((function(e){var i="L-"+e.start+"-"+e.end;void 0===s[i]?(s[i]=0,l.info("abc78 new entry",i,s[i])):(s[i]++,l.info("abc78 new entry",i,s[i]));let u=i+"-"+s[i];l.info("abc78 new link id to be used is",i,u,s[i]);var h="LS-"+e.start,f="LE-"+e.end;const d={style:"",labelStyle:""};switch(d.minlen=e.length||1,"arrow_open"===e.type?d.arrowhead="none":d.arrowhead="normal",d.arrowTypeStart="arrow_open",d.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":d.arrowTypeStart="arrow_cross";case"arrow_cross":d.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":d.arrowTypeStart="arrow_point";case"arrow_point":d.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":d.arrowTypeStart="arrow_circle";case"arrow_circle":d.arrowTypeEnd="arrow_circle";}let g="",p="";switch(e.stroke){case"normal":g="fill:none;",void 0!==a&&(g=a),void 0!==o&&(p=o),d.thickness="normal",d.pattern="solid";break;case"dotted":d.thickness="normal",d.pattern="dotted",d.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":d.thickness="thick",d.pattern="solid",d.style="stroke-width: 3.5px;fill:none;";}if(void 0!==e.style){const t=Jb(e.style);g=t.style,p=t.labelStyle;}d.style=d.style+=g,d.labelStyle=d.labelStyle+=p,void 0!==e.interpolate?d.curve=qb(e.interpolate,Ou):void 0!==t.defaultInterpolate?d.curve=qb(t.defaultInterpolate,Ou):d.curve=qb(IU.curve,Ou),void 0===e.text?void 0!==e.style&&(d.arrowheadStyle="fill: #333"):(d.arrowheadStyle="fill: #333",d.labelpos="c"),d.labelType="text",d.label=e.text.replace(Yh.lineBreakRegex,"\n"),void 0===e.style&&(d.style=d.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),d.labelStyle=d.labelStyle.replace("color:","fill:"),d.id=u,d.classes="flowchart-link "+h+" "+f;const b=QL(r,d),{source:w,target:y}=PU(e,c);l.debug("abc78 source and target",w,y),n.edges.push({id:"e"+e.start+e.end,sources:[w],targets:[y],labelEl:b,labels:[{width:d.width,height:d.height,orgWidth:d.width,orgHeight:d.height,text:d.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:d});})),n},RU=function(t,e,n,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+r+"#"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+r+"#"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+r+"#"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+r+"#"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+r+"#"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+r+"#"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+r+"#"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+r+"#"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+r+"#"+n+"-lollipopStart)");}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+r+"#"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+r+"#"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+r+"#"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+r+"#"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+r+"#"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+r+"#"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+r+"#"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+r+"#"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+r+"#"+n+"-lollipopEnd)");}},jU=function(t){const e={parentById:{},childrenById:{}},n=t.getSubGraphs();return l.info("Subgraphs - ",n),n.forEach((function(t){t.nodes.forEach((function(n){e.parentById[n]=t.id,void 0===e.childrenById[t.id]&&(e.childrenById[t.id]=[]),e.childrenById[t.id].push(n);}));})),n.forEach((function(t){t.id,void 0!==e.parentById[t.id]&&e.parentById[t.id];})),e},$U=function(t,e,n){const i=TU(t,e,n);if(void 0===i||"root"===i)return {x:0,y:0};const r=OU[i].offset;return {x:r.posX,y:r.posY}},FU=function(t,e,n,i,r){const a=$U(e.sources[0],e.targets[0],r),o=e.sections[0].startPoint,s=e.sections[0].endPoint,c=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+a.x,t.y+a.y])),u=[[o.x+a.x,o.y+a.y],...c,[s.x+a.x,s.y+a.y]],l=Nu().curve(Ou),h=t.insert("path").attr("d",l(u)).attr("class","path").attr("fill","none"),f=t.insert("g").attr("class","edgeLabel"),d=ln(f.node().appendChild(e.labelEl)),g=d.node().firstChild.getBoundingClientRect();d.attr("width",g.width),d.attr("height",g.height),f.attr("transform",`translate(${e.labels[0].x+a.x}, ${e.labels[0].y+a.y})`),RU(h,n,i.type,i.arrowMarkerAbsolute);},zU=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(OU[e]);})),zU(t.children,e);}));},HU=async function(t,e,n,i){var r;i.db.clear(),OU={},i.db.setGen("gen-2"),i.parser.parse(t);const a=ln("body").append("div").attr("style","height:400px").attr("id","cy");let o={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(l.info("Drawing flowchart using v3 renderer",AU),i.db.getDirection()){case"BT":o.layoutOptions["elk.direction"]="UP";break;case"TB":o.layoutOptions["elk.direction"]="DOWN";break;case"LR":o.layoutOptions["elk.direction"]="RIGHT";break;case"RL":o.layoutOptions["elk.direction"]="LEFT";}const{securityLevel:s,flowchart:c}=vy();let u;"sandbox"===s&&(u=ln("#i"+e));const h=ln("sandbox"===s?u.nodes()[0].contentDocument.body:"body"),f="sandbox"===s?u.nodes()[0].contentDocument:document,d=h.select(`[id="${e}"]`);sL(d,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const g=i.db.getVertices();let p;const b=i.db.getSubGraphs();l.info("Subgraphs - ",b);for(let t=b.length-1;t>=0;t--)p=b[t],i.db.addVertex(p.id,p.title,"group",void 0,p.classes,p.dir);const w=d.insert("g").attr("class","subgraphs"),y=jU(i.db);o=LU(g,e,h,f,i,y,o);const m=d.insert("g").attr("class","edges edgePath"),v=i.db.getEdges();o=BU(v,i,o,d),Object.keys(OU).forEach((t=>{const e=OU[t];e.parent||o.children.push(e),void 0!==y.childrenById[t]&&(e.labels=[{text:e.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:e.labelData.width,height:e.labelData.height}],delete e.x,delete e.y,delete e.width,delete e.height);})),zU(o.children,y),l.info("after layout",JSON.stringify(o,null,2));const x=await AU.layout(o);UU(0,0,x.children,d,w,i,0),l.info("after layout",x),null==(r=x.edges)||r.map((t=>{FU(m,t,t.edgeData,i,y);})),Oy({},d,c.diagramPadding,c.useMaxWidth),a.remove();},UU=(t,e,n,i,r,a,o)=>{n.forEach((function(n){if(n)if(OU[n.id].offset={posX:n.x+t,posY:n.y+e,x:t,y:e,depth:o,width:n.width,height:n.height},"group"===n.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+o%5+" node").attr("x",n.x+t).attr("y",n.y+e).attr("width",n.width).attr("height",n.height);const a=i.insert("g").attr("class","label");a.attr("transform",`translate(${n.labels[0].x+t+n.x}, ${n.labels[0].y+e+n.y})`),a.node().appendChild(n.labelData.labelNode),l.info("Id (UGH)= ",n.type,n.labels);}else l.info("Id (UGH)= ",n.id),n.el.attr("transform",`translate(${n.x+t+n.width/2}, ${n.y+e+n.height/2})`);})),n.forEach((function(n){n&&"group"===n.type&&UU(t+n.x,e+n.y,n.children,i,r,a,o+1);}));},GU=t=>{let e="";for(let n=0;n<5;n++)e+=`\n .subgraph-lvl-${n} {\n fill: ${t[`surface${n}`]};\n stroke: ${t[`surfacePeer${n}`]};\n }\n `;return e},qU={db:iP,renderer:{getClasses:function(t,e){l.info("Extracting classes"),e.db.clear("ver-2");try{return e.parse(t),e.db.getClasses()}catch(t){return {}}},draw:HU},parser:QD,styles:t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n ${GU(t)}\n`},KU=Object.freeze(Object.defineProperty({__proto__:null,diagram:qU},Symbol.toStringTag,{value:"Module"}));var YU=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,5],i=[6,9,11,17,18,20,22,23,26,27,28],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,23],l=[1,24],h=[1,27],f=[4,6,9,11,17,18,20,22,23,26,27,28],d={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addTask(a[s],0,""),this.$=a[s];break;case 20:i.addEvent(a[s].substr(2)),this.$=a[s];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","timeline");}},table:[{3:1,4:e,7:3,12:4,28:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:n},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},{1:[2,2]},{14:25,15:[1,26],31:h},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,29]},{21:[1,30]},t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(f,[2,9]),{14:34,31:h},{31:[2,23]},{11:[1,35]},t(f,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},g={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return "acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return "INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};function p(){this.yy={};}return d.lexer=g,p.prototype=d,d.Parser=p,new p}();YU.parser=YU;const WU=YU;let XU="",VU=0;const ZU=[],QU=[],JU=[],tG=()=>am,eG=(t,e,n)=>{sm(globalThis,t,e,n);},nG=function(){ZU.length=0,QU.length=0,XU="",JU.length=0,Zy();},iG=function(t){XU=t,ZU.push(t);},rG=function(){return ZU},aG=function(){let t=uG();const e=100;let n=0;for(;!t&&n<e;)t=uG(),n++;return QU.push(...JU),QU},oG=function(t,e,n){const i={id:VU++,section:XU,type:XU,task:t,score:e||0,events:n?[n]:[]};JU.push(i);},sG=function(t){JU.find((t=>t.id===VU-1)).events.push(t);},cG=function(t){const e={section:XU,type:XU,description:t,task:t,classes:[]};QU.push(e);},uG=function(){const t=function(t){return JU[t].processed};let e=!0;for(const[n,i]of JU.entries())t(n),e=e&&i.processed;return e},lG={clear:nG,getCommonDb:tG,addSection:iG,getSections:rG,getTasks:aG,addTask:oG,addTaskOrg:cG,addEvent:sG,parseDirective:eG},hG=Object.freeze(Object.defineProperty({__proto__:null,addEvent:sG,addSection:iG,addTask:oG,addTaskOrg:cG,clear:nG,default:lG,getCommonDb:tG,getSections:rG,getTasks:aG,parseDirective:eG},Symbol.toStringTag,{value:"Module"})),fG=12,dG=function(t,e){const n=t.append("rect");return n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),n.attr("rx",e.rx),n.attr("ry",e.ry),void 0!==e.class&&n.attr("class",e.class),n},gG=function(t,e){const n=15,i=t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",n).attr("stroke-width",2).attr("overflow","visible"),r=t.append("g");function a(t){const i=Au().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(n/2).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")");}function o(t){const i=Au().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(n/2).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")");}function s(t){t.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666");}return r.append("circle").attr("cx",e.cx-n/3).attr("cy",e.cy-n/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),r.append("circle").attr("cx",e.cx+n/3).attr("cy",e.cy-n/3).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?a(r):e.score<3?o(r):s(r),i},pG=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n},bG=function(t,e){const n=e.text.replace(/<br\s*\/?>/gi," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},wG=function(t,e){function n(t,e,n,i,r){return t+","+e+" "+(t+n)+","+e+" "+(t+n)+","+(e+i-r)+" "+(t+n-1.2*r)+","+(e+i)+" "+t+","+(e+i)}const i=t.append("polygon");i.attr("points",n(e.x,e.y,50,20,7)),i.attr("class","labelBox"),e.y=e.y+e.labelMargin,e.x=e.x+.5*e.labelMargin,bG(t,e);},yG=function(t,e,n){const i=t.append("g"),r=_G();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width,r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,dG(i,r),EG(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour);};let mG=-1;const vG=function(t,e,n){const i=e.x+n.width/2,r=t.append("g");mG++;const a=450;r.append("line").attr("id","task"+mG).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",a).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),gG(r,{cx:i,cy:300+30*(5-e.score),score:e.score});const o=_G();o.x=e.x,o.y=e.y,o.fill=e.fill,o.width=n.width,o.height=n.height,o.class="task task-type-"+e.num,o.rx=3,o.ry=3,dG(r,o),e.x,EG(n)(e.task,r,o.x,o.y,o.width,o.height,{class:"task"},n,e.colour);},xG=function(t,e){dG(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,class:"rect"}).lower();},kG=function(){return {x:0,y:0,fill:void 0,"text-anchor":"start",width:100,height:100,textMargin:0,rx:0,ry:0}},_G=function(){return {x:0,y:0,width:100,anchor:"start",height:100,rx:0,ry:0}},EG=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s);}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*l-l*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,s);}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c);}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n]);}return function(i){return "fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}();function TG(t,e){t.each((function(){var t,n=ln(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=1.1,o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let s=0;s<i.length;s++)t=i[i.length-1-s],r.push(t),c.text(r.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy",a+"em").text(t));}));}const CG=function(t,e,n,i){const r=n%fG-1,a=t.append("g");e.section=r,a.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);const o=a.append("g"),s=a.append("g"),c=s.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(TG,e.width).node().getBBox(),u=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*u*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,s.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),SG(o,e,r),e},SG=function(t,e,n){const i=5;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-i} v${-e.height+2*i} q0,-5 5,-5 h${e.width-2*i} q5,0 5,5 v${e.height-i} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height);},AG={drawRect:dG,drawCircle:pG,drawSection:yG,drawText:bG,drawLabel:wG,drawTask:vG,drawBackgroundRect:xG,getTextObj:kG,getNoteRect:_G,initGraphics:function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");},drawNode:CG,getVirtualNodeHeight:function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(TG,e.width).node().getBBox(),a=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding}},MG=function(t,e,n,i){const r=vy(),a=r.leftMargin?r.leftMargin:50;i.db.clear(),i.parser.parse(t+"\n"),l.debug("timeline",i.db);const o=r.securityLevel;let s;"sandbox"===o&&(s=ln("#i"+e));const c=ln("sandbox"===o?s.nodes()[0].contentDocument.body:"body").select("#"+e);c.append("g");const u=i.db.getTasks(),h=i.db.getCommonDb().getDiagramTitle();l.debug("task",u),AG.initGraphics(c);const f=i.db.getSections();l.debug("sections",f);let d=0,g=0,p=0,b=0,w=50+a,y=50;b=50;let m=0,v=!0;f.forEach((function(t){const e={number:m,descr:t,section:m,width:150,padding:20,maxHeight:d},n=AG.getVirtualNodeHeight(c,e,r);l.debug("sectionHeight before draw",n),d=Math.max(d,n+20);}));let x=0,k=0;l.debug("tasks.length",u.length);for(const[t,e]of u.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:g},i=AG.getVirtualNodeHeight(c,n,r);l.debug("taskHeight before draw",i),g=Math.max(g,i+20),x=Math.max(x,e.events.length);let a=0;for(let t=0;t<e.events.length;t++){const n={descr:e.events[t],section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=AG.getVirtualNodeHeight(c,n,r);}k=Math.max(k,a);}l.debug("maxSectionHeight before draw",d),l.debug("maxTaskHeight before draw",g),f&&f.length>0?f.forEach((t=>{const e={number:m,descr:t,section:m,width:150,padding:20,maxHeight:d};l.debug("sectionNode",e);const n=c.append("g"),i=AG.drawNode(n,e,m,r);l.debug("sectionNode output",i),n.attr("transform",`translate(${w}, ${b})`),y+=d+50;const a=u.filter((e=>e.section===t));a.length>0&&IG(c,a,m,w,y,g,r,x,k,d,!1),w+=200*Math.max(a.length,1),y=b,m++;})):(v=!1,IG(c,u,m,w,y,g,r,x,k,d,!0));const _=c.node().getBBox();l.debug("bounds",_),h&&c.append("text").text(h).attr("x",_.width/2-a).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),p=v?d+g+150:g+100,c.append("g").attr("class","lineWrapper").append("line").attr("x1",a).attr("y1",p).attr("x2",_.width+3*a).attr("y2",p).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),Oy(void 0,c,r.timeline.padding?r.timeline.padding:50,!!r.timeline.useMaxWidth&&r.timeline.useMaxWidth);},IG=function(t,e,n,i,r,a,o,s,c,u,h){for(const s of e){const e={descr:s.task,section:n,number:n,width:150,padding:20,maxHeight:a};l.debug("taskNode",e);const f=t.append("g").attr("class","taskWrapper"),d=AG.drawNode(f,e,n,o).height;if(l.debug("taskHeight after draw",d),f.attr("transform",`translate(${i}, ${r})`),a=Math.max(a,d),s.events){const e=t.append("g").attr("class","lineWrapper");let l=a;r+=100,l+=OG(t,s.events,n,i,r,o),r-=100,e.append("line").attr("x1",i+95).attr("y1",r+a).attr("x2",i+95).attr("y2",r+a+(h?a:u)+c+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5");}i+=200,h&&!vy().timeline.disableMulticolor&&n++;}r-=10;},OG=function(t,e,n,i,r,a){let o=0;const s=r;r+=100;for(const s of e){const e={descr:s,section:n,number:n,width:150,padding:20,maxHeight:50};l.debug("eventNode",e);const c=t.append("g").attr("class","eventWrapper"),u=AG.drawNode(c,e,n,a).height;o+=u,c.attr("transform",`translate(${i}, ${r})`),r=r+10+u;}return r=s,o},LG=t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],bf(t["lineColor"+e])?t["lineColor"+e]=yf(t["lineColor"+e],20):t["lineColor"+e]=mf(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `;}return e},DG={db:hG,renderer:{setConf:function(t){Object.keys(t).forEach((function(e){conf[e]=t[e];}));},draw:MG},parser:WU,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${LG(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`},NG=Object.freeze(Object.defineProperty({__proto__:null,diagram:DG},Symbol.toStringTag,{value:"Module"}));var PG=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,13],i=[1,12],r=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],u=[1,26],l=[1,24],h=[1,25],f=[6,7,11],d=[1,6,13,15,16,19,22],g=[1,33],p=[1,34],b=[1,6,7,11,13,15,16,19,22],w={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",a[s].id),i.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:i.getLogger().trace("Icon: ",a[s]),i.decorateNode({icon:a[s]});break;case 17:case 21:i.decorateNode({class:a[s]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",a[s].id),i.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:i.decorateNode({icon:a[s]});break;case 25:i.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:i.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:i.getType(a[s-2],a[s])};}},table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(c,[2,3]),{1:[2,2]},t(c,[2,4]),t(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:u,7:l,10:23,11:h},t(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,23]),t(f,[2,24]),t(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:l,10:32,11:h},{1:[2,7],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(d,[2,14],{7:g,11:p}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(f,[2,15]),t(f,[2,16]),t(f,[2,17]),{20:[1,35]},{21:[1,36]},t(d,[2,13],{7:g,11:p}),t(b,[2,11]),t(b,[2,12]),{21:[1,37]},t(f,[2,25]),t(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t);},parse:function(t){var e=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function y(){var t;return "number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var m,v,x,k,_,E,T,C,S={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==m&&(m=y()),x=o[v]&&o[v][m]),void 0===x||!x.length||!x[0]){var A="";for(_ in C=[],o[v])this.terminals_[_]&&_>l&&C.push("'"+this.terminals_[_]+"'");A=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+C.join(", ")+", got '"+(this.terminals_[m]||m)+"'":"Parse error on line "+(c+1)+": Unexpected "+(m==h?"end of input":"'"+(this.terminals_[m]||m)+"'"),this.parseError(A,{text:d.match,token:this.terminals_[m]||m,line:d.yylineno,loc:b,expected:C});}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+m);switch(x[0]){case 1:n.push(m),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),m=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(E=this.productions_[x[1]][1],S.$=r[r.length-E],S._$={first_line:a[a.length-(E||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(E||1)].first_column,last_column:a[a.length-1].last_column},w&&(S._$.range=[a[a.length-(E||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(S,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;E&&(n=n.slice(0,-1*E*2),r=r.slice(0,-1*E),a=a.slice(0,-1*E)),n.push(this.productions_[x[1]][0]),r.push(S.$),a.push(S._$),T=o[n[n.length-2]][n[n.length-1]],n.push(T);break;case 3:return !0}}return !0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e);},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t));},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return (t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return !1}return !1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return !1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){var t=this.next();return t||this.lex()},begin:function(t){this.conditionStack.push(t);},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return (t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t);},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:t.getLogger().trace("Found comment",e.yytext);break;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 22:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 24:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 25:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 26:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 27:case 30:case 31:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 28:case 29:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 32:case 33:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\-\)\{\}]+)/i,/^(?:$)/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR:{rules:[22,23],inclusive:!1},NODE:{rules:[21,24,25,26,27,28,29,30,31,32,33],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={};}return w.lexer=y,m.prototype=w,w.Parser=m,new m}();PG.parser=PG;const BG=PG,RG=t=>Fh(t,vy());let jG=[],$G=0,FG={};const zG=()=>{jG=[],$G=0,FG={};},HG=function(t){for(let e=jG.length-1;e>=0;e--)if(jG[e].level<t)return jG[e];return null},UG=()=>jG.length>0?jG[0]:null,GG=(t,e,n,i)=>{l.info("addNode",t,e,n,i);const r=vy(),a={id:$G++,nodeId:RG(e),level:t,descr:RG(n),type:i,children:[],width:vy().mindmap.maxNodeWidth};switch(a.type){case qG.ROUNDED_RECT:case qG.RECT:case qG.HEXAGON:a.padding=2*r.mindmap.padding;break;default:a.padding=r.mindmap.padding;}const o=HG(t);if(o)o.children.push(a),jG.push(a);else {if(0!==jG.length){let t=new Error('There can be only one root. No parent could be found for ("'+a.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}jG.push(a);}},qG={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},KG=(t,e)=>{switch(l.debug("In get type",t,e),t){case"[":return qG.RECT;case"(":return ")"===e?qG.ROUNDED_RECT:qG.CLOUD;case"((":return qG.CIRCLE;case")":return qG.CLOUD;case"))":return qG.BANG;case"{{":return qG.HEXAGON;default:return qG.DEFAULT}},YG=(t,e)=>{FG[t]=e;},WG=t=>{const e=jG[jG.length-1];t&&t.icon&&(e.icon=RG(t.icon)),t&&t.class&&(e.class=RG(t.class));},XG=t=>{switch(t){case qG.DEFAULT:return "no-border";case qG.RECT:return "rect";case qG.ROUNDED_RECT:return "rounded-rect";case qG.CIRCLE:return "circle";case qG.CLOUD:return "cloud";case qG.BANG:return "bang";case qG.HEXAGON:return "hexgon";default:return "no-border"}};let VG;const ZG=t=>{VG=t;},QG=()=>l,JG=t=>jG[t],tq=t=>FG[t],eq=Object.freeze(Object.defineProperty({__proto__:null,addNode:GG,clear:zG,decorateNode:WG,getElementById:tq,getLogger:QG,getMindmap:UG,getNodeById:JG,getType:KG,nodeType:qG,get parseError(){return VG},sanitizeText:RG,setElementForId:YG,setErrorHandler:ZG,type2Str:XG},Symbol.toStringTag,{value:"Module"})),nq=12;function iq(t,e){t.each((function(){var t,n=ln(this),i=n.text().split(/(\s+|<br>)/).reverse(),r=[],a=1.1,o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let s=0;s<i.length;s++)t=i[i.length-1-s],r.push(t),c.text(r.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(r.pop(),c.text(r.join(" ").trim()),r="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy",a+"em").text(t));}));}const rq=function(t,e,n){const i=5;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("d",`M0 ${e.height-i} v${-e.height+2*i} q0,-5 5,-5 h${e.width-2*i} q5,0 5,5 v${e.height-i} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height);},aq=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("height",e.height).attr("width",e.width);},oq=function(t,e){const n=e.width,i=e.height,r=.15*n,a=.25*n,o=.35*n,s=.2*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${r},${r} 1 0,1 ${.15*n},${1*i*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*i*.65}\n\n a${a},${r} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${r},${r} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${r},${r} 1 0,1 ${-1*n*.1},${-1*i*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*i*.65}\n\n H0 V0 Z`);},sq=function(t,e){const n=e.width,i=e.height,r=.15*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*n},${-1*i*.1}\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},${1*i*.1}\n\n a${r},${r} 1 0,0 ${.15*n},${1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${1*i*.34}\n a${r},${r} 1 0,0 ${-1*n*.15},${1*i*.33}\n\n a${r},${r} 1 0,0 ${-1*n*.25},${.15*i}\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},${-1*i*.15}\n\n a${r},${r} 1 0,0 ${-1*n*.1},${-1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${-1*i*.34}\n a${r},${r} 1 0,0 ${.1*n},${-1*i*.33}\n\n H0 V0 Z`);},cq=function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("r",e.width/2);};function uq(t,e,n,i,r){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+n+")")}const lq=function(t,e){const n=e.height,i=n/4,r=e.width-e.padding+2*i;uq(t,r,n,[{x:i,y:0},{x:r-i,y:0},{x:r,y:-n/2},{x:r-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],e);},hq=function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+XG(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width);},fq={drawNode:function(t,e,n,i){const r=n%(nq-1),a=t.append("g");e.section=r;let o="section-"+r;r<0&&(o+=" section-root"),a.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+o);const s=a.append("g"),c=a.append("g"),u=c.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(iq,e.width).node().getBBox(),l=i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=u.height+1.1*l*.5+e.padding,e.width=u.width+2*e.padding,e.icon)if(e.type===qG.CIRCLE)e.height+=50,e.width+=50,a.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+r+" "+e.icon),c.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")");else {e.width+=50;const t=e.height;e.height=Math.max(t,60);const n=Math.abs(e.height-t);a.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+r+" "+e.icon),c.attr("transform","translate("+(25+e.width/2)+", "+(n/2+e.padding/2)+")");}else c.attr("transform","translate("+e.width/2+", "+e.padding/2+")");switch(e.type){case qG.DEFAULT:rq(s,e,r);break;case qG.ROUNDED_RECT:hq(s,e);break;case qG.RECT:aq(s,e);break;case qG.CIRCLE:s.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),cq(s,e);break;case qG.CLOUD:oq(s,e);break;case qG.BANG:sq(s,e);break;case qG.HEXAGON:lq(s,e);}return YG(e.id,a),e.height},positionNode:function(t){const e=tq(t.id),n=t.x||0,i=t.y||0;e.attr("transform","translate("+n+","+i+")");},drawEdge:function(t,e,n,i,r){const a=r%(nq-1),o=n.x+n.width/2,s=n.y+n.height/2,c=e.x+e.width/2,u=e.y+e.height/2,l=c>o?o+Math.abs(o-c)/2:o-Math.abs(o-c)/2,h=u>s?s+Math.abs(s-u)/2:s-Math.abs(s-u)/2,f=c>o?Math.abs(o-l)/2+o:-Math.abs(o-l)/2+o,d=u>s?Math.abs(s-h)/2+s:-Math.abs(s-h)/2+s;t.append("path").attr("d","TB"===n.direction||"BT"===n.direction?`M${o},${s} Q${o},${d} ${l},${h} T${c},${u}`:`M${o},${s} Q${f},${s} ${l},${h} T${c},${u}`).attr("class","edge section-edge-"+a+" edge-depth-"+i);}};var dq={};!function(t,n){!function(e,n){t.exports=n();}(0,(function(){function t(e){return (t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}function r(t,e,n){return e&&i(t.prototype,e),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return s(t)||c(t,e)||u(t,e)||h()}function s(t){if(Array.isArray(t))return t}function c(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){s=!0,r=t;}finally{try{o||null==n.return||n.return();}finally{if(s)throw r}}return a}}function u(t,e){if(t){if("string"==typeof t)return l(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return "Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?l(t,e):void 0}}function l(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function h(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var f="undefined"==typeof window?null:window,d=f?f.navigator:null;f&&f.document;var g=t(""),p=t({}),b=t((function(){})),w="undefined"==typeof HTMLElement?"undefined":t(HTMLElement),y=function(t){return t&&t.instanceString&&v(t.instanceString)?t.instanceString():null},m=function(e){return null!=e&&t(e)==g},v=function(e){return null!=e&&t(e)===b},x=function(t){return !S(t)&&(Array.isArray?Array.isArray(t):null!=t&&t instanceof Array)},k=function(e){return null!=e&&t(e)===p&&!x(e)&&e.constructor===Object},_=function(e){return null!=e&&t(e)===p},E=function(e){return null!=e&&t(e)===t(1)&&!isNaN(e)},T=function(t){return E(t)&&Math.floor(t)===t},C=function(t){return "undefined"===w?void 0:null!=t&&t instanceof HTMLElement},S=function(t){return A(t)||M(t)},A=function(t){return "collection"===y(t)&&t._private.single},M=function(t){return "collection"===y(t)&&!t._private.single},I=function(t){return "core"===y(t)},O=function(t){return "stylesheet"===y(t)},L=function(t){return "event"===y(t)},D=function(t){return null==t||!(""!==t&&!t.match(/^\s+$/))},N=function(t){return "undefined"!=typeof HTMLElement&&t instanceof HTMLElement},P=function(t){return k(t)&&E(t.x1)&&E(t.x2)&&E(t.y1)&&E(t.y2)},B=function(t){return _(t)&&v(t.then)},R=function(){return d&&d.userAgent.match(/msie|trident|edge/i)},j=function(t,e){e||(e=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return "undefined";for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);return t.join("$")});var n=function n(){var i,r=this,a=arguments,o=e.apply(r,a),s=n.cache;return (i=s[o])||(i=s[o]=t.apply(r,a)),i};return n.cache={},n},$=j((function(t){return t.replace(/([A-Z])/g,(function(t){return "-"+t.toLowerCase()}))})),F=j((function(t){return t.replace(/(-\w)/g,(function(t){return t[1].toUpperCase()}))})),z=j((function(t,e){return t+e[0].toUpperCase()+e.substring(1)}),(function(t,e){return t+"$"+e})),H=function(t){return D(t)?t:t.charAt(0).toUpperCase()+t.substring(1)},U="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",G="rgb[a]?\\(("+U+"[%]?)\\s*,\\s*("+U+"[%]?)\\s*,\\s*("+U+"[%]?)(?:\\s*,\\s*("+U+"))?\\)",q="rgb[a]?\\((?:"+U+"[%]?)\\s*,\\s*(?:"+U+"[%]?)\\s*,\\s*(?:"+U+"[%]?)(?:\\s*,\\s*(?:"+U+"))?\\)",K="hsl[a]?\\(("+U+")\\s*,\\s*("+U+"[%])\\s*,\\s*("+U+"[%])(?:\\s*,\\s*("+U+"))?\\)",Y="hsl[a]?\\((?:"+U+")\\s*,\\s*(?:"+U+"[%])\\s*,\\s*(?:"+U+"[%])(?:\\s*,\\s*(?:"+U+"))?\\)",W="\\#[0-9a-fA-F]{3}",X="\\#[0-9a-fA-F]{6}",V=function(t,e){return t<e?-1:t>e?1:0},Z=function(t,e){return -1*V(t,e)},Q=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n<e.length;n++){var i=e[n];if(null!=i)for(var r=Object.keys(i),a=0;a<r.length;a++){var o=r[a];t[o]=i[o];}}return t},J=function(t){if((4===t.length||7===t.length)&&"#"===t[0]){var e,n,i,r=16;return 4===t.length?(e=parseInt(t[1]+t[1],r),n=parseInt(t[2]+t[2],r),i=parseInt(t[3]+t[3],r)):(e=parseInt(t[1]+t[2],r),n=parseInt(t[3]+t[4],r),i=parseInt(t[5]+t[6],r)),[e,n,i]}},tt=function(t){var e,n,i,r,a,o,s,c;function u(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}var l=new RegExp("^"+K+"$").exec(t);if(l){if((n=parseInt(l[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(i=parseFloat(l[2]))<0||i>100)return;if(i/=100,(r=parseFloat(l[3]))<0||r>100)return;if(r/=100,void 0!==(a=l[4])&&((a=parseFloat(a))<0||a>1))return;if(0===i)o=s=c=Math.round(255*r);else {var h=r<.5?r*(1+i):r+i-r*i,f=2*r-h;o=Math.round(255*u(f,h,n+1/3)),s=Math.round(255*u(f,h,n)),c=Math.round(255*u(f,h,n-1/3));}e=[o,s,c,a];}return e},et=function(t){var e,n=new RegExp("^"+G+"$").exec(t);if(n){e=[];for(var i=[],r=1;r<=3;r++){var a=n[r];if("%"===a[a.length-1]&&(i[r]=!0),a=parseFloat(a),i[r]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a));}var o=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c);}}return e},nt=function(t){return rt[t.toLowerCase()]},it=function(t){return (x(t)?t:null)||nt(t)||J(t)||et(t)||tt(t)},rt={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},at=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to set map with object key");r<n.length-1?(null==e[a]&&(e[a]={}),e=e[a]):e[a]=t.value;}},ot=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(k(a))throw Error("Tried to get map with object key");if(null==(e=e[a]))return e}return e};function st(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var ct=st,ut="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==e?e:"undefined"!=typeof self?self:{};function lt(t,e){return t(e={exports:{}},e.exports),e.exports}var ht="object"==typeof ut&&ut&&ut.Object===Object&&ut,ft="object"==typeof self&&self&&self.Object===Object&&self,dt=ht||ft||Function("return this")(),gt=function(){return dt.Date.now()},pt=/\s/;function bt(t){for(var e=t.length;e--&&pt.test(t.charAt(e)););return e}var wt=bt,yt=/^\s+/;function mt(t){return t?t.slice(0,wt(t)+1).replace(yt,""):t}var vt=mt,xt=dt.Symbol,kt=Object.prototype,_t=kt.hasOwnProperty,Et=kt.toString,Tt=xt?xt.toStringTag:void 0;function Ct(t){var e=_t.call(t,Tt),n=t[Tt];try{t[Tt]=void 0;var i=!0;}catch(t){}var r=Et.call(t);return i&&(e?t[Tt]=n:delete t[Tt]),r}var St=Ct,At=Object.prototype.toString;function Mt(t){return At.call(t)}var It=Mt,Ot="[object Null]",Lt="[object Undefined]",Dt=xt?xt.toStringTag:void 0;function Nt(t){return null==t?void 0===t?Lt:Ot:Dt&&Dt in Object(t)?St(t):It(t)}var Pt=Nt;function Bt(t){return null!=t&&"object"==typeof t}var Rt=Bt,jt="[object Symbol]";function $t(t){return "symbol"==typeof t||Rt(t)&&Pt(t)==jt}var Ft=$t,zt=NaN,Ht=/^[-+]0x[0-9a-f]+$/i,Ut=/^0b[01]+$/i,Gt=/^0o[0-7]+$/i,qt=parseInt;function Kt(t){if("number"==typeof t)return t;if(Ft(t))return zt;if(ct(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=ct(e)?e+"":e;}if("string"!=typeof t)return 0===t?t:+t;t=vt(t);var n=Ut.test(t);return n||Gt.test(t)?qt(t.slice(2),n?2:8):Ht.test(t)?zt:+t}var Yt=Kt,Wt="Expected a function",Xt=Math.max,Vt=Math.min;function Zt(t,e,n){var i,r,a,o,s,c,u=0,l=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError(Wt);function d(e){var n=i,a=r;return i=r=void 0,u=e,o=t.apply(a,n)}function g(t){return u=t,s=setTimeout(w,e),l?d(t):o}function p(t){var n=e-(t-c);return h?Vt(n,a-(t-u)):n}function b(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function w(){var t=gt();if(b(t))return y(t);s=setTimeout(w,p(t));}function y(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function m(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0;}function v(){return void 0===s?o:y(gt())}function x(){var t=gt(),n=b(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return g(c);if(h)return clearTimeout(s),s=setTimeout(w,e),d(c)}return void 0===s&&(s=setTimeout(w,e)),o}return e=Yt(e)||0,ct(n)&&(l=!!n.leading,a=(h="maxWait"in n)?Xt(Yt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),x.cancel=m,x.flush=v,x}var Qt=Zt,Jt=f?f.performance:null,te=Jt&&Jt.now?function(){return Jt.now()}:function(){return Date.now()},ee=function(){if(f){if(f.requestAnimationFrame)return function(t){f.requestAnimationFrame(t);};if(f.mozRequestAnimationFrame)return function(t){f.mozRequestAnimationFrame(t);};if(f.webkitRequestAnimationFrame)return function(t){f.webkitRequestAnimationFrame(t);};if(f.msRequestAnimationFrame)return function(t){f.msRequestAnimationFrame(t);}}return function(t){t&&setTimeout((function(){t(te());}),1e3/60);}}(),ne=function(t){return ee(t)},ie=te,re=9261,ae=65599,oe=5381,se=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;!(e=t.next()).done;)n=n*ae+e.value|0;return n},ce=function(t){return (arguments.length>1&&void 0!==arguments[1]?arguments[1]:re)*ae+t|0},ue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return (e<<5)+e+t|0},le=function(t,e){return 2097152*t+e},he=function(t){return 2097152*t[0]+t[1]},fe=function(t,e){return [ce(t[0],e[0]),ue(t[1],e[1])]},de=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t[i++]:n.done=!0,n}},e)},ge=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i<r?n.value=t.charCodeAt(i++):n.done=!0,n}},e)},pe=function(){return be(arguments)},be=function(t){for(var e,n=0;n<t.length;n++){var i=t[n];e=0===n?ge(i):ge(i,e);}return e},we=!0,ye=null!=console.warn,me=null!=console.trace,ve=Number.MAX_SAFE_INTEGER||9007199254740991,xe=function(){return !0},ke=function(){return !1},_e=function(){return 0},Ee=function(){},Te=function(t){throw new Error(t)},Ce=function(t){if(void 0===t)return we;we=!!t;},Se=function(t){Ce()&&(ye?console.warn(t):(console.log(t),me&&console.trace()));},Ae=function(t){return Q({},t)},Me=function(t){return null==t?t:x(t)?t.slice():k(t)?Ae(t):t},Ie=function(t){return t.slice()},Oe=function(t,e){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e},Le={},De=function(){return Le},Ne=function(t){var e=Object.keys(t);return function(n){for(var i={},r=0;r<e.length;r++){var a=e[r],o=null==n?void 0:n[a];i[a]=void 0===o?t[a]:o;}return i}},Pe=function(t,e,n){for(var i=t.length-1;i>=0;i--)t[i]===e&&t.splice(i,1);},Be=function(t){t.splice(0,t.length);},Re=function(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.push(i);}},je=function(t,e,n){return n&&(e=z(n,e)),t[e]},$e=function(t,e,n,i){n&&(e=z(n,e)),t[e]=i;},Fe="undefined"!=typeof Map?Map:function(){function t(){n(this,t),this._obj={};}return r(t,[{key:"set",value:function(t,e){return this._obj[t]=e,this}},{key:"delete",value:function(t){return this._obj[t]=void 0,this}},{key:"clear",value:function(){this._obj={};}},{key:"has",value:function(t){return void 0!==this._obj[t]}},{key:"get",value:function(t){return this._obj[t]}}]),t}(),ze="undefined",He=function(){function t(e){if(n(this,t),this._obj=Object.create(null),this.size=0,null!=e){var i;i=null!=e.instanceString&&e.instanceString()===this.instanceString()?e.toArray():e;for(var r=0;r<i.length;r++)this.add(i[r]);}}return r(t,[{key:"instanceString",value:function(){return "set"}},{key:"add",value:function(t){var e=this._obj;1!==e[t]&&(e[t]=1,this.size++);}},{key:"delete",value:function(t){var e=this._obj;1===e[t]&&(e[t]=0,this.size--);}},{key:"clear",value:function(){this._obj=Object.create(null);}},{key:"has",value:function(t){return 1===this._obj[t]}},{key:"toArray",value:function(){var t=this;return Object.keys(this._obj).filter((function(e){return t.has(e)}))}},{key:"forEach",value:function(t,e){return this.toArray().forEach(t,e)}}]),t}(),Ue=("undefined"==typeof Set?"undefined":t(Set))!==ze?Set:He,Ge=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&I(t)){var i=e.group;if(null==i&&(i=e.data&&null!=e.data.source&&null!=e.data.target?"edges":"nodes"),"nodes"===i||"edges"===i){this.length=1,this[0]=this;var r=this._private={cy:t,single:!0,data:e.data||{},position:e.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!e.selected,selectable:void 0===e.selectable||!!e.selectable,locked:!!e.locked,grabbed:!1,grabbable:void 0===e.grabbable||!!e.grabbable,pannable:void 0===e.pannable?"edges"===i:!!e.pannable,active:!1,classes:new Ue,animation:{current:[],queue:[]},rscratch:{},scratch:e.scratch||{},edges:[],children:[],parent:e.parent&&e.parent.isNode()?e.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==r.position.x&&(r.position.x=0),null==r.position.y&&(r.position.y=0),e.renderedPosition){var a=e.renderedPosition,o=t.pan(),s=t.zoom();r.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s};}var c=[];x(e.classes)?c=e.classes:m(e.classes)&&(c=e.classes.split(/\s+/));for(var u=0,l=c.length;u<l;u++){var h=c[u];h&&""!==h&&r.classes.add(h);}this.createEmitter();var f=e.style||e.css;f&&(Se("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(f)),(void 0===n||n)&&this.restore();}else Te("An element must be of type `nodes` or `edges`; you specified `"+i+"`");}else Te("An element must have a core reference and parameters set");},qe=function(t){return t={bfs:t.bfs||!t.dfs,dfs:t.dfs||!t.bfs},function(e,n,i){var r;k(e)&&!S(e)&&(e=(r=e).roots||r.root,n=r.visit,i=r.directed),i=2!==arguments.length||v(n)?i:n,n=v(n)?n:function(){};for(var a,o=this._private.cy,s=e=m(e)?this.filter(e):e,c=[],u=[],l={},h={},f={},d=0,g=this.byGroup(),p=g.nodes,b=g.edges,w=0;w<s.length;w++){var y=s[w],x=y.id();y.isNode()&&(c.unshift(y),t.bfs&&(f[x]=!0,u.push(y)),h[x]=0);}for(var _=function(){var e=t.bfs?c.shift():c.pop(),r=e.id();if(t.dfs){if(f[r])return "continue";f[r]=!0,u.push(e);}var o=h[r],s=l[r],g=null!=s?s.source():null,w=null!=s?s.target():null,y=null==s?void 0:e.same(g)?w[0]:g[0],m=void 0;if(!0===(m=n(e,s,y,d++,o)))return a=e,"break";if(!1===m)return "break";for(var v=e.connectedEdges().filter((function(t){return (!i||t.source().same(e))&&b.has(t)})),x=0;x<v.length;x++){var k=v[x],_=k.connectedNodes().filter((function(t){return !t.same(e)&&p.has(t)})),E=_.id();0===_.length||f[E]||(_=_[0],c.push(_),t.bfs&&(f[E]=!0,u.push(_)),l[E]=k,h[E]=h[r]+1);}};0!==c.length;){var E=_();if("continue"!==E&&"break"===E)break}for(var T=o.collection(),C=0;C<u.length;C++){var A=u[C],M=l[A.id()];null!=M&&T.push(M),T.push(A);}return {path:o.collection(T),found:o.collection(a)}}},Ke={breadthFirstSearch:qe({bfs:!0}),depthFirstSearch:qe({dfs:!0})};Ke.bfs=Ke.breadthFirstSearch,Ke.dfs=Ke.depthFirstSearch;var Ye=lt((function(t,e){(function(){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;i=Math.floor,l=Math.min,n=function(t,e){return t<e?-1:t>e?1:0},u=function(t,e,r,a,o){var s;if(null==r&&(r=0),null==o&&(o=n),r<0)throw new Error("lo must be non-negative");for(null==a&&(a=t.length);r<a;)o(e,t[s=i((r+a)/2)])<0?a=s:r=s+1;return [].splice.apply(t,[r,r-r].concat(e)),e},o=function(t,e,i){return null==i&&(i=n),t.push(e),g(t,0,t.length-1,i)},a=function(t,e){var i,r;return null==e&&(e=n),i=t.pop(),t.length?(r=t[0],t[0]=i,p(t,0,e)):r=i,r},c=function(t,e,i){var r;return null==i&&(i=n),r=t[0],t[0]=e,p(t,0,i),r},s=function(t,e,i){var r;return null==i&&(i=n),t.length&&i(t[0],e)<0&&(e=(r=[t[0],e])[0],t[0]=r[1],p(t,0,i)),e},r=function(t,e){var r,a,o,s,c,u;for(null==e&&(e=n),c=[],a=0,o=(s=function(){u=[];for(var e=0,n=i(t.length/2);0<=n?e<n:e>n;0<=n?e++:e--)u.push(e);return u}.apply(this).reverse()).length;a<o;a++)r=s[a],c.push(p(t,r,e));return c},d=function(t,e,i){var r;if(null==i&&(i=n),-1!==(r=t.indexOf(e)))return g(t,0,r,i),p(t,r,i)},h=function(t,e,i){var a,o,c,u,l;if(null==i&&(i=n),!(o=t.slice(0,e)).length)return o;for(r(o,i),c=0,u=(l=t.slice(e)).length;c<u;c++)a=l[c],s(o,a,i);return o.sort(i).reverse()},f=function(t,e,i){var o,s,c,h,f,d,g,p,b;if(null==i&&(i=n),10*e<=t.length){if(!(c=t.slice(0,e).sort(i)).length)return c;for(s=c[c.length-1],h=0,d=(g=t.slice(e)).length;h<d;h++)i(o=g[h],s)<0&&(u(c,o,0,null,i),c.pop(),s=c[c.length-1]);return c}for(r(t,i),b=[],f=0,p=l(e,t.length);0<=p?f<p:f>p;0<=p?++f:--f)b.push(a(t,i));return b},g=function(t,e,i,r){var a,o,s;for(null==r&&(r=n),a=t[i];i>e&&r(a,o=t[s=i-1>>1])<0;)t[i]=o,i=s;return t[i]=a},p=function(t,e,i){var r,a,o,s,c;for(null==i&&(i=n),a=t.length,c=e,o=t[e],r=2*e+1;r<a;)(s=r+1)<a&&!(i(t[r],t[s])<0)&&(r=s),t[e]=t[r],r=2*(e=r)+1;return t[e]=o,g(t,c,e,i)},e=function(){function t(t){this.cmp=null!=t?t:n,this.nodes=[];}return t.push=o,t.pop=a,t.replace=c,t.pushpop=s,t.heapify=r,t.updateItem=d,t.nlargest=h,t.nsmallest=f,t.prototype.push=function(t){return o(this.nodes,t,this.cmp)},t.prototype.pop=function(){return a(this.nodes,this.cmp)},t.prototype.peek=function(){return this.nodes[0]},t.prototype.contains=function(t){return -1!==this.nodes.indexOf(t)},t.prototype.replace=function(t){return c(this.nodes,t,this.cmp)},t.prototype.pushpop=function(t){return s(this.nodes,t,this.cmp)},t.prototype.heapify=function(){return r(this.nodes,this.cmp)},t.prototype.updateItem=function(t){return d(this.nodes,t,this.cmp)},t.prototype.clear=function(){return this.nodes=[]},t.prototype.empty=function(){return 0===this.nodes.length},t.prototype.size=function(){return this.nodes.length},t.prototype.clone=function(){var e;return (e=new t).nodes=this.nodes.slice(0),e},t.prototype.toArray=function(){return this.nodes.slice(0)},t.prototype.insert=t.prototype.push,t.prototype.top=t.prototype.peek,t.prototype.front=t.prototype.peek,t.prototype.has=t.prototype.contains,t.prototype.copy=t.prototype.clone,t}(),function(e,n){t.exports=n();}(0,(function(){return e}));}).call(ut);})),We=Ye,Xe=Ne({root:null,weight:function(t){return 1},directed:!1}),Ve={dijkstra:function(t){if(!k(t)){var e=arguments;t={root:e[0],weight:e[1],directed:e[2]};}var n=Xe(t),i=n.root,r=n.weight,a=n.directed,o=this,s=r,c=m(i)?this.filter(i)[0]:i[0],u={},l={},h={},f=this.byGroup(),d=f.nodes,g=f.edges;g.unmergeBy((function(t){return t.isLoop()}));for(var p=function(t){return u[t.id()]},b=function(t,e){u[t.id()]=e,w.updateItem(t);},w=new We((function(t,e){return p(t)-p(e)})),y=0;y<d.length;y++){var v=d[y];u[v.id()]=v.same(c)?0:1/0,w.push(v);}for(var x=function(t,e){for(var n,i=(a?t.edgesTo(e):t.edgesWith(e)).intersect(g),r=1/0,o=0;o<i.length;o++){var c=i[o],u=s(c);(u<r||!n)&&(r=u,n=c);}return {edge:n,dist:r}};w.size()>0;){var _=w.pop(),E=p(_),T=_.id();if(h[T]=E,E!==1/0)for(var C=_.neighborhood().intersect(d),S=0;S<C.length;S++){var A=C[S],M=A.id(),I=x(_,A),O=E+I.dist;O<p(A)&&(b(A,O),l[M]={node:_,edge:I.edge});}}return {distanceTo:function(t){var e=m(t)?d.filter(t)[0]:t[0];return h[e.id()]},pathTo:function(t){var e=m(t)?d.filter(t)[0]:t[0],n=[],i=e,r=i.id();if(e.length>0)for(n.unshift(e);l[r];){var a=l[r];n.unshift(a.edge),n.unshift(a.node),r=(i=a.node).id();}return o.spawn(n)}}}},Ze={kruskal:function(t){t=t||function(t){return 1};for(var e=this.byGroup(),n=e.nodes,i=e.edges,r=n.length,a=new Array(r),o=n,s=function(t){for(var e=0;e<a.length;e++)if(a[e].has(t))return e},c=0;c<r;c++)a[c]=this.spawn(n[c]);for(var u=i.sort((function(e,n){return t(e)-t(n)})),l=0;l<u.length;l++){var h=u[l],f=h.source()[0],d=h.target()[0],g=s(f),p=s(d),b=a[g],w=a[p];g!==p&&(o.merge(h),b.merge(w),a.splice(p,1));}return o}},Qe=Ne({root:null,goal:null,weight:function(t){return 1},heuristic:function(t){return 0},directed:!1}),Je={aStar:function(t){var e=this.cy(),n=Qe(t),i=n.root,r=n.goal,a=n.heuristic,o=n.directed,s=n.weight;i=e.collection(i)[0],r=e.collection(r)[0];var c,u,l=i.id(),h=r.id(),f={},d={},g={},p=new We((function(t,e){return d[t.id()]-d[e.id()]})),b=new Ue,w={},y={},m=function(t,e){p.push(t),b.add(e);},v=function(){c=p.pop(),u=c.id(),b.delete(u);},x=function(t){return b.has(t)};m(i,l),f[l]=0,d[l]=a(i);for(var k=0;p.size()>0;){if(v(),k++,u===h){for(var _=[],E=r,T=h,C=y[T];_.unshift(E),null!=C&&_.unshift(C),null!=(E=w[T]);)C=y[T=E.id()];return {found:!0,distance:f[u],path:this.spawn(_),steps:k}}g[u]=!0;for(var S=c._private.edges,A=0;A<S.length;A++){var M=S[A];if(this.hasElementWithId(M.id())&&(!o||M.data("source")===u)){var I=M.source(),O=M.target(),L=I.id()!==u?I:O,D=L.id();if(this.hasElementWithId(D)&&!g[D]){var N=f[u]+s(M);x(D)?N<f[D]&&(f[D]=N,d[D]=N+a(L),w[D]=c,y[D]=M):(f[D]=N,d[D]=N+a(L),m(L,D),w[D]=c,y[D]=M);}}}}return {found:!1,distance:void 0,path:void 0,steps:k}}},tn=Ne({weight:function(t){return 1},directed:!1}),en={floydWarshall:function(t){for(var e=this.cy(),n=tn(t),i=n.weight,r=n.directed,a=i,o=this.byGroup(),s=o.nodes,c=o.edges,u=s.length,l=u*u,h=function(t){return s.indexOf(t)},f=function(t){return s[t]},d=new Array(l),g=0;g<l;g++){var p=g%u,b=(g-p)/u;d[g]=b===p?0:1/0;}for(var w=new Array(l),y=new Array(l),v=0;v<c.length;v++){var x=c[v],k=x.source()[0],_=x.target()[0];if(k!==_){var E=h(k),T=h(_),C=E*u+T,S=a(x);if(d[C]>S&&(d[C]=S,w[C]=T,y[C]=x),!r){var A=T*u+E;!r&&d[A]>S&&(d[A]=S,w[A]=E,y[A]=x);}}}for(var M=0;M<u;M++)for(var I=0;I<u;I++)for(var O=I*u+M,L=0;L<u;L++){var D=I*u+L,N=M*u+L;d[O]+d[N]<d[D]&&(d[D]=d[O]+d[N],w[D]=w[O]);}var P=function(t){return (m(t)?e.filter(t):t)[0]},B=function(t){return h(P(t))};return {distance:function(t,e){var n=B(t),i=B(e);return d[n*u+i]},path:function(t,n){var i=B(t),r=B(n),a=f(i);if(i===r)return a.collection();if(null==w[i*u+r])return e.collection();var o,s=e.collection(),c=i;for(s.merge(a);i!==r;)c=i,i=w[i*u+r],o=y[c*u+i],s.merge(o),s.merge(f(i));return s}}}},nn=Ne({weight:function(t){return 1},directed:!1,root:null}),rn={bellmanFord:function(t){var e=this,n=nn(t),i=n.weight,r=n.directed,a=n.root,o=i,s=this,c=this.cy(),u=this.byGroup(),l=u.edges,h=u.nodes,f=h.length,d=new Fe,g=!1,p=[];a=c.collection(a)[0],l.unmergeBy((function(t){return t.isLoop()}));for(var b=l.length,w=function(t){var e=d.get(t.id());return e||(e={},d.set(t.id(),e)),e},y=function(t){return (m(t)?c.$(t):t)[0]},v=function(t){return w(y(t)).dist},x=function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,i=[],r=y(t);;){if(null==r)return e.spawn();var o=w(r),c=o.edge,u=o.pred;if(i.unshift(r[0]),r.same(n)&&i.length>0)break;null!=c&&i.unshift(c),r=u;}return s.spawn(i)},k=0;k<f;k++){var _=h[k],E=w(_);_.same(a)?E.dist=0:E.dist=1/0,E.pred=null,E.edge=null;}for(var T=!1,C=function(t,e,n,i,r,a){var o=i.dist+a;o<r.dist&&!n.same(i.edge)&&(r.dist=o,r.pred=t,r.edge=n,T=!0);},S=1;S<f;S++){T=!1;for(var A=0;A<b;A++){var M=l[A],I=M.source(),O=M.target(),L=o(M),D=w(I),N=w(O);C(I,O,M,D,N,L),r||C(O,I,M,N,D,L);}if(!T)break}if(T)for(var P=[],B=0;B<b;B++){var R=l[B],j=R.source(),$=R.target(),F=o(R),z=w(j).dist,H=w($).dist;if(z+F<H||!r&&H+F<z){if(g||(Se("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),!1===t.findNegativeWeightCycles)break;var U=[];z+F<H&&U.push(j),!r&&H+F<z&&U.push($);for(var G=U.length,q=0;q<G;q++){var K=U[q],Y=[K];Y.push(w(K).edge);for(var W=w(K).pred;-1===Y.indexOf(W);)Y.push(W),Y.push(w(W).edge),W=w(W).pred;for(var X=(Y=Y.slice(Y.indexOf(W)))[0].id(),V=0,Z=2;Z<Y.length;Z+=2)Y[Z].id()<X&&(X=Y[Z].id(),V=Z);(Y=Y.slice(V).concat(Y.slice(0,V))).push(Y[0]);var Q=Y.map((function(t){return t.id()})).join(",");-1===P.indexOf(Q)&&(p.push(s.spawn(Y)),P.push(Q));}}}return {distanceTo:v,pathTo:x,hasNegativeWeightCycle:g,negativeWeightCycles:p}}},an=Math.sqrt(2),on=function(t,e,n){0===n.length&&Te("Karger-Stein must be run on a connected (sub)graph");for(var i=n[t],r=i[1],a=i[2],o=e[r],s=e[a],c=n,u=c.length-1;u>=0;u--){var l=c[u],h=l[1],f=l[2];(e[h]===o&&e[f]===s||e[h]===s&&e[f]===o)&&c.splice(u,1);}for(var d=0;d<c.length;d++){var g=c[d];g[1]===s?(c[d]=g.slice(),c[d][1]=o):g[2]===s&&(c[d]=g.slice(),c[d][2]=o);}for(var p=0;p<e.length;p++)e[p]===s&&(e[p]=o);return c},sn=function(t,e,n,i){for(;n>i;){var r=Math.floor(Math.random()*e.length);e=on(r,t,e),n--;}return e},cn={kargerStein:function(){var t=this,e=this.byGroup(),n=e.nodes,i=e.edges;i.unmergeBy((function(t){return t.isLoop()}));var r=n.length,a=i.length,o=Math.ceil(Math.pow(Math.log(r)/Math.LN2,2)),s=Math.floor(r/an);if(!(r<2)){for(var c=[],u=0;u<a;u++){var l=i[u];c.push([u,n.indexOf(l.source()),n.indexOf(l.target())]);}for(var h=1/0,f=[],d=new Array(r),g=new Array(r),p=new Array(r),b=function(t,e){for(var n=0;n<r;n++)e[n]=t[n];},w=0;w<=o;w++){for(var y=0;y<r;y++)g[y]=y;var m=sn(g,c.slice(),r,s),v=m.slice();b(g,p);var x=sn(g,m,s,2),k=sn(p,v,s,2);x.length<=k.length&&x.length<h?(h=x.length,f=x,b(g,d)):k.length<=x.length&&k.length<h&&(h=k.length,f=k,b(p,d));}for(var _=this.spawn(f.map((function(t){return i[t[0]]}))),E=this.spawn(),T=this.spawn(),C=d[0],S=0;S<d.length;S++){var A=d[S],M=n[S];A===C?E.merge(M):T.merge(M);}var I=function(e){var n=t.spawn();return e.forEach((function(e){n.merge(e),e.connectedEdges().forEach((function(e){t.contains(e)&&!_.contains(e)&&n.merge(e);}));})),n},O=[I(E),I(T)];return {cut:_,components:O,partition1:E,partition2:T}}Te("At least 2 nodes are required for Karger-Stein algorithm");}},un=function(t){return {x:t.x,y:t.y}},ln=function(t,e,n){return {x:t.x*e+n.x,y:t.y*e+n.y}},hn=function(t,e,n){return {x:(t.x-n.x)/e,y:(t.y-n.y)/e}},fn=function(t){return {x:t[0],y:t[1]}},dn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.min(a,i));}return i},gn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=-1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.max(a,i));}return i},pn=function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=0,r=0,a=e;a<n;a++){var o=t[a];isFinite(o)&&(i+=o,r++);}return i/r},bn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<t.length&&t.splice(n,t.length-n),e>0&&t.splice(0,e)):t=t.slice(e,n);for(var a=0,o=t.length-1;o>=0;o--){var s=t[o];r?isFinite(s)||(t[o]=-1/0,a++):t.splice(o,1);}i&&t.sort((function(t,e){return t-e}));var c=t.length,u=Math.floor(c/2);return c%2!=0?t[u+1+a]:(t[u-1+a]+t[u+a])/2},wn=function(t){return Math.PI*t/180},yn=function(t,e){return Math.atan2(e,t)-Math.PI/2},mn=Math.log2||function(t){return Math.log(t)/Math.log(2)},vn=function(t){return t>0?1:t<0?-1:0},xn=function(t,e){return Math.sqrt(kn(t,e))},kn=function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},_n=function(t){for(var e=t.length,n=0,i=0;i<e;i++)n+=t[i];for(var r=0;r<e;r++)t[r]=t[r]/n;return t},En=function(t,e,n,i){return (1-i)*(1-i)*t+2*(1-i)*i*e+i*i*n},Tn=function(t,e,n,i){return {x:En(t.x,e.x,n.x,i),y:En(t.y,e.y,n.y,i)}},Cn=function(t,e,n,i){var r={x:e.x-t.x,y:e.y-t.y},a=xn(t,e),o={x:r.x/a,y:r.y/a};return n=null==n?0:n,i=null!=i?i:n*a,{x:t.x+o.x*i,y:t.y+o.y*i}},Sn=function(t,e,n){return Math.max(t,Math.min(n,e))},An=function(t){if(null==t)return {x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=t.x1&&null!=t.y1){if(null!=t.x2&&null!=t.y2&&t.x2>=t.x1&&t.y2>=t.y1)return {x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,w:t.x2-t.x1,h:t.y2-t.y1};if(null!=t.w&&null!=t.h&&t.w>=0&&t.h>=0)return {x1:t.x1,y1:t.y1,x2:t.x1+t.w,y2:t.y1+t.h,w:t.w,h:t.h}}},Mn=function(t){return {x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}},In=function(t){t.x1=1/0,t.y1=1/0,t.x2=-1/0,t.y2=-1/0,t.w=0,t.h=0;},On=function(t,e){t.x1=Math.min(t.x1,e.x1),t.x2=Math.max(t.x2,e.x2),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,e.y1),t.y2=Math.max(t.y2,e.y2),t.h=t.y2-t.y1;},Ln=function(t,e,n){t.x1=Math.min(t.x1,e),t.x2=Math.max(t.x2,e),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,n),t.y2=Math.max(t.y2,n),t.h=t.y2-t.y1;},Dn=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.x1-=e,t.x2+=e,t.y1-=e,t.y2+=e,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Nn=function(t){var e,n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)e=n=i=r=a[0];else if(2===a.length)e=i=a[0],r=n=a[1];else if(4===a.length){var s=o(a,4);e=s[0],n=s[1],i=s[2],r=s[3];}return t.x1-=r,t.x2+=n,t.y1-=e,t.y2+=i,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Pn=function(t,e){t.x1=e.x1,t.y1=e.y1,t.x2=e.x2,t.y2=e.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1;},Bn=function(t,e){return !(t.x1>e.x2||e.x1>t.x2||t.x2<e.x1||e.x2<t.x1||t.y2<e.y1||e.y2<t.y1||t.y1>e.y2||e.y1>t.y2)},Rn=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},jn=function(t,e){return Rn(t,e.x,e.y)},$n=function(t,e){return Rn(t,e.x1,e.y1)&&Rn(t,e.x2,e.y2)},Fn=function(t,e,n,i,r,a,o){var s,c=ui(r,a),u=r/2,l=a/2,h=i-l-o;if((s=ni(t,e,n,i,n-u+c-o,h,n+u-c+o,h,!1)).length>0)return s;var f=n+u+o;if((s=ni(t,e,n,i,f,i-l+c-o,f,i+l-c+o,!1)).length>0)return s;var d=i+l+o;if((s=ni(t,e,n,i,n-u+c-o,d,n+u-c+o,d,!1)).length>0)return s;var g,p=n-u-o;if((s=ni(t,e,n,i,p,i-l+c-o,p,i+l-c+o,!1)).length>0)return s;var b=n-u+c,w=i-l+c;if((g=ti(t,e,n,i,b,w,c+o)).length>0&&g[0]<=b&&g[1]<=w)return [g[0],g[1]];var y=n+u-c,m=i-l+c;if((g=ti(t,e,n,i,y,m,c+o)).length>0&&g[0]>=y&&g[1]<=m)return [g[0],g[1]];var v=n+u-c,x=i+l-c;if((g=ti(t,e,n,i,v,x,c+o)).length>0&&g[0]>=v&&g[1]>=x)return [g[0],g[1]];var k=n-u+c,_=i+l-c;return (g=ti(t,e,n,i,k,_,c+o)).length>0&&g[0]<=k&&g[1]>=_?[g[0],g[1]]:[]},zn=function(t,e,n,i,r,a,o){var s=o,c=Math.min(n,r),u=Math.max(n,r),l=Math.min(i,a),h=Math.max(i,a);return c-s<=t&&t<=u+s&&l-s<=e&&e<=h+s},Hn=function(t,e,n,i,r,a,o,s,c){var u={x1:Math.min(n,o,r)-c,x2:Math.max(n,o,r)+c,y1:Math.min(i,s,a)-c,y2:Math.max(i,s,a)+c};return !(t<u.x1||t>u.x2||e<u.y1||e>u.y2)},Un=function(t,e,n,i){var r=e*e-4*t*(n-=i);if(r<0)return [];var a=Math.sqrt(r),o=2*t;return [(-e+a)/o,(-e-a)/o]},Gn=function(t,e,n,i,r){var a,o,s,c,u,l,h,f;return 0===t&&(t=1e-5),s=-27*(i/=t)+(e/=t)*(9*(n/=t)-e*e*2),a=(o=(3*n-e*e)/9)*o*o+(s/=54)*s,r[1]=0,h=e/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),l=(l=s-Math.sqrt(a))<0?-Math.pow(-l,1/3):Math.pow(l,1/3),r[0]=-h+u+l,h+=(u+l)/2,r[4]=r[2]=-h,h=Math.sqrt(3)*(-l+u)/2,r[3]=h,void(r[5]=-h)):(r[5]=r[3]=0,0===a?(f=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),r[0]=2*f-h,void(r[4]=r[2]=-(f+h))):(c=(o=-o)*o*o,c=Math.acos(s/Math.sqrt(c)),f=2*Math.sqrt(o),r[0]=-h+f*Math.cos(c/3),r[2]=-h+f*Math.cos((c+2*Math.PI)/3),void(r[4]=-h+f*Math.cos((c+4*Math.PI)/3))))},qn=function(t,e,n,i,r,a,o,s){var c=[];Gn(1*n*n-4*n*r+2*n*o+4*r*r-4*r*o+o*o+i*i-4*i*a+2*i*s+4*a*a-4*a*s+s*s,9*n*r-3*n*n-3*n*o-6*r*r+3*r*o+9*i*a-3*i*i-3*i*s-6*a*a+3*a*s,3*n*n-6*n*r+n*o-n*t+2*r*r+2*r*t-o*t+3*i*i-6*i*a+i*s-i*e+2*a*a+2*a*e-s*e,1*n*r-n*n+n*t-r*t+i*a-i*i+i*e-a*e,c);for(var u=1e-7,l=[],h=0;h<6;h+=2)Math.abs(c[h+1])<u&&c[h]>=0&&c[h]<=1&&l.push(c[h]);l.push(1),l.push(0);for(var f,d,g,p=-1,b=0;b<l.length;b++)f=Math.pow(1-l[b],2)*n+2*(1-l[b])*l[b]*r+l[b]*l[b]*o,d=Math.pow(1-l[b],2)*i+2*(1-l[b])*l[b]*a+l[b]*l[b]*s,g=Math.pow(f-t,2)+Math.pow(d-e,2),p>=0?g<p&&(p=g):p=g;return p},Kn=function(t,e,n,i,r,a){var o=[t-n,e-i],s=[r-n,a-i],c=s[0]*s[0]+s[1]*s[1],u=o[0]*o[0]+o[1]*o[1],l=o[0]*s[0]+o[1]*s[1],h=l*l/c;return l<0?u:h>c?(t-r)*(t-r)+(e-a)*(e-a):u-h},Yn=function(t,e,n){for(var i,r,a,o,s=0,c=0;c<n.length/2;c++)if(i=n[2*c],r=n[2*c+1],c+1<n.length/2?(a=n[2*(c+1)],o=n[2*(c+1)+1]):(a=n[2*(c+1-n.length/2)],o=n[2*(c+1-n.length/2)+1]),i==t&&a==t);else {if(!(i>=t&&t>=a||i<=t&&t<=a))continue;(t-i)/(a-i)*(o-r)+r>e&&s++;}return s%2!=0},Wn=function(t,e,n,i,r,a,o,s,c){var u,l=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,f=Math.cos(-u),d=Math.sin(-u),g=0;g<l.length/2;g++)l[2*g]=a/2*(n[2*g]*f-n[2*g+1]*d),l[2*g+1]=o/2*(n[2*g+1]*f+n[2*g]*d),l[2*g]+=i,l[2*g+1]+=r;if(c>0){var p=Zn(l,-c);h=Vn(p);}else h=l;return Yn(t,e,h)},Xn=function(t,e,n,i,r,a,o){for(var s=new Array(n.length),c=a/2,u=o/2,l=li(a,o),h=l*l,f=0;f<n.length/4;f++){var d=void 0,g=void 0;d=0===f?n.length-2:4*f-2,g=4*f+2;var p=i+c*n[4*f],b=r+u*n[4*f+1],w=-n[d]*n[g]-n[d+1]*n[g+1],y=l/Math.tan(Math.acos(w)/2),m=p-y*n[d],v=b-y*n[d+1],x=p+y*n[g],k=b+y*n[g+1];s[4*f]=m,s[4*f+1]=v,s[4*f+2]=x,s[4*f+3]=k;var _=n[d+1],E=-n[d];_*n[g]+E*n[g+1]<0&&(_*=-1,E*=-1);var T=m+_*l,C=v+E*l;if(Math.pow(T-t,2)+Math.pow(C-e,2)<=h)return !0}return Yn(t,e,s)},Vn=function(t){for(var e,n,i,r,a,o,s,c,u=new Array(t.length/2),l=0;l<t.length/4;l++){e=t[4*l],n=t[4*l+1],i=t[4*l+2],r=t[4*l+3],l<t.length/4-1?(a=t[4*(l+1)],o=t[4*(l+1)+1],s=t[4*(l+1)+2],c=t[4*(l+1)+3]):(a=t[0],o=t[1],s=t[2],c=t[3]);var h=ni(e,n,i,r,a,o,s,c,!0);u[2*l]=h[0],u[2*l+1]=h[1];}return u},Zn=function(t,e){for(var n,i,r,a,o=new Array(2*t.length),s=0;s<t.length/2;s++){n=t[2*s],i=t[2*s+1],s<t.length/2-1?(r=t[2*(s+1)],a=t[2*(s+1)+1]):(r=t[0],a=t[1]);var c=a-i,u=-(r-n),l=Math.sqrt(c*c+u*u),h=c/l,f=u/l;o[4*s]=n+h*e,o[4*s+1]=i+f*e,o[4*s+2]=r+h*e,o[4*s+3]=a+f*e;}return o},Qn=function(t,e,n,i,r,a){var o=n-t,s=i-e;o/=r,s/=a;var c=Math.sqrt(o*o+s*s),u=c-1;if(u<0)return [];var l=u/c;return [(n-t)*l+t,(i-e)*l+e]},Jn=function(t,e,n,i,r,a,o){return t-=r,e-=a,(t/=n/2+o)*t+(e/=i/2+o)*e<=1},ti=function(t,e,n,i,r,a,o){var s=[n-t,i-e],c=[t-r,e-a],u=s[0]*s[0]+s[1]*s[1],l=2*(c[0]*s[0]+c[1]*s[1]),h=l*l-4*u*(c[0]*c[0]+c[1]*c[1]-o*o);if(h<0)return [];var f=(-l+Math.sqrt(h))/(2*u),d=(-l-Math.sqrt(h))/(2*u),g=Math.min(f,d),p=Math.max(f,d),b=[];if(g>=0&&g<=1&&b.push(g),p>=0&&p<=1&&b.push(p),0===b.length)return [];var w=b[0]*s[0]+t,y=b[0]*s[1]+e;return b.length>1?b[0]==b[1]?[w,y]:[w,y,b[1]*s[0]+t,b[1]*s[1]+e]:[w,y]},ei=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},ni=function(t,e,n,i,r,a,o,s,c){var u=t-r,l=n-t,h=o-r,f=e-a,d=i-e,g=s-a,p=h*f-g*u,b=l*f-d*u,w=g*l-h*d;if(0!==w){var y=p/w,m=b/w,v=.001,x=0-v,k=1+v;return x<=y&&y<=k&&x<=m&&m<=k||c?[t+y*l,e+y*d]:[]}return 0===p||0===b?ei(t,n,o)===o?[o,s]:ei(t,n,r)===r?[r,a]:ei(r,o,n)===n?[n,i]:[]:[]},ii=function(t,e,n,i,r,a,o,s){var c,u,l,h,f,d,g=[],p=new Array(n.length),b=!0;if(null==a&&(b=!1),b){for(var w=0;w<p.length/2;w++)p[2*w]=n[2*w]*a+i,p[2*w+1]=n[2*w+1]*o+r;if(s>0){var y=Zn(p,-s);u=Vn(y);}else u=p;}else u=n;for(var m=0;m<u.length/2;m++)l=u[2*m],h=u[2*m+1],m<u.length/2-1?(f=u[2*(m+1)],d=u[2*(m+1)+1]):(f=u[0],d=u[1]),0!==(c=ni(t,e,i,r,l,h,f,d)).length&&g.push(c[0],c[1]);return g},ri=function(t,e,n,i,r,a,o,s){for(var c,u=[],l=new Array(n.length),h=a/2,f=o/2,d=li(a,o),g=0;g<n.length/4;g++){var p=void 0,b=void 0;p=0===g?n.length-2:4*g-2,b=4*g+2;var w=i+h*n[4*g],y=r+f*n[4*g+1],m=-n[p]*n[b]-n[p+1]*n[b+1],v=d/Math.tan(Math.acos(m)/2),x=w-v*n[p],k=y-v*n[p+1],_=w+v*n[b],E=y+v*n[b+1];0===g?(l[n.length-2]=x,l[n.length-1]=k):(l[4*g-2]=x,l[4*g-1]=k),l[4*g]=_,l[4*g+1]=E;var T=n[p+1],C=-n[p];T*n[b]+C*n[b+1]<0&&(T*=-1,C*=-1),0!==(c=ti(t,e,i,r,x+T*d,k+C*d,d)).length&&u.push(c[0],c[1]);}for(var S=0;S<l.length/4;S++)0!==(c=ni(t,e,i,r,l[4*S],l[4*S+1],l[4*S+2],l[4*S+3],!1)).length&&u.push(c[0],c[1]);if(u.length>2){for(var A=[u[0],u[1]],M=Math.pow(A[0]-t,2)+Math.pow(A[1]-e,2),I=1;I<u.length/2;I++){var O=Math.pow(u[2*I]-t,2)+Math.pow(u[2*I+1]-e,2);O<=M&&(A[0]=u[2*I],A[1]=u[2*I+1],M=O);}return A}return u},ai=function(t,e,n){var i=[t[0]-e[0],t[1]-e[1]],r=Math.sqrt(i[0]*i[0]+i[1]*i[1]),a=(r-n)/r;return a<0&&(a=1e-5),[e[0]+a*i[0],e[1]+a*i[1]]},oi=function(t,e){var n=ci(t,e);return n=si(n)},si=function(t){for(var e,n,i=t.length/2,r=1/0,a=1/0,o=-1/0,s=-1/0,c=0;c<i;c++)e=t[2*c],n=t[2*c+1],r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);for(var u=2/(o-r),l=2/(s-a),h=0;h<i;h++)e=t[2*h]=t[2*h]*u,n=t[2*h+1]=t[2*h+1]*l,r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var f=0;f<i;f++)n=t[2*f+1]=t[2*f+1]+(-1-a);return t},ci=function(t,e){var n=1/t*2*Math.PI,i=t%2==0?Math.PI/2+n/2:Math.PI/2;i+=e;for(var r,a=new Array(2*t),o=0;o<t;o++)r=o*n+i,a[2*o]=Math.cos(r),a[2*o+1]=Math.sin(-r);return a},ui=function(t,e){return Math.min(t/4,e/4,8)},li=function(t,e){return Math.min(t/10,e/10,8)},hi=function(){return 8},fi=function(t,e,n){return [t-2*e+n,2*(e-t),t]},di=function(t,e){return {heightOffset:Math.min(15,.05*e),widthOffset:Math.min(100,.25*t),ctrlPtOffsetPct:.05}},gi=Ne({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(t){return 1}}),pi={pageRank:function(t){for(var e=gi(t),n=e.dampingFactor,i=e.precision,r=e.iterations,a=e.weight,o=this._private.cy,s=this.byGroup(),c=s.nodes,u=s.edges,l=c.length,h=l*l,f=u.length,d=new Array(h),g=new Array(l),p=(1-n)/l,b=0;b<l;b++){for(var w=0;w<l;w++)d[b*l+w]=0;g[b]=0;}for(var y=0;y<f;y++){var m=u[y],v=m.data("source"),x=m.data("target");if(v!==x){var k=c.indexOfId(v),_=c.indexOfId(x),E=a(m);d[_*l+k]+=E,g[k]+=E;}}for(var T=1/l+p,C=0;C<l;C++)if(0===g[C])for(var S=0;S<l;S++)d[S*l+C]=T;else for(var A=0;A<l;A++){var M=A*l+C;d[M]=d[M]/g[C]+p;}for(var I,O=new Array(l),L=new Array(l),D=0;D<l;D++)O[D]=1;for(var N=0;N<r;N++){for(var P=0;P<l;P++)L[P]=0;for(var B=0;B<l;B++)for(var R=0;R<l;R++){var j=B*l+R;L[B]+=d[j]*O[R];}_n(L),I=O,O=L,L=I;for(var $=0,F=0;F<l;F++){var z=I[F]-O[F];$+=z*z;}if($<i)break}return {rank:function(t){return t=o.collection(t)[0],O[c.indexOf(t)]}}}},bi=Ne({root:null,weight:function(t){return 1},directed:!1,alpha:0}),wi={degreeCentralityNormalized:function(t){t=bi(t);var e=this.cy(),n=this.nodes(),i=n.length;if(t.directed){for(var r={},a={},o=0,s=0,c=0;c<i;c++){var u=n[c],l=u.id();t.root=u;var h=this.degreeCentrality(t);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),r[l]=h.indegree,a[l]=h.outdegree;}return {indegree:function(t){return 0==o?0:(m(t)&&(t=e.filter(t)),r[t.id()]/o)},outdegree:function(t){return 0===s?0:(m(t)&&(t=e.filter(t)),a[t.id()]/s)}}}for(var f={},d=0,g=0;g<i;g++){var p=n[g];t.root=p;var b=this.degreeCentrality(t);d<b.degree&&(d=b.degree),f[p.id()]=b.degree;}return {degree:function(t){return 0===d?0:(m(t)&&(t=e.filter(t)),f[t.id()]/d)}}},degreeCentrality:function(t){t=bi(t);var e=this.cy(),n=this,i=t,r=i.root,a=i.weight,o=i.directed,s=i.alpha;if(r=e.collection(r)[0],o){for(var c=r.connectedEdges(),u=c.filter((function(t){return t.target().same(r)&&n.has(t)})),l=c.filter((function(t){return t.source().same(r)&&n.has(t)})),h=u.length,f=l.length,d=0,g=0,p=0;p<u.length;p++)d+=a(u[p]);for(var b=0;b<l.length;b++)g+=a(l[b]);return {indegree:Math.pow(h,1-s)*Math.pow(d,s),outdegree:Math.pow(f,1-s)*Math.pow(g,s)}}for(var w=r.connectedEdges().intersection(n),y=w.length,m=0,v=0;v<w.length;v++)m+=a(w[v]);return {degree:Math.pow(y,1-s)*Math.pow(m,s)}}};wi.dc=wi.degreeCentrality,wi.dcn=wi.degreeCentralityNormalised=wi.degreeCentralityNormalized;var yi=Ne({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),mi={closenessCentralityNormalized:function(t){for(var e=yi(t),n=e.harmonic,i=e.weight,r=e.directed,a=this.cy(),o={},s=0,c=this.nodes(),u=this.floydWarshall({weight:i,directed:r}),l=0;l<c.length;l++){for(var h=0,f=c[l],d=0;d<c.length;d++)if(l!==d){var g=u.distance(f,c[d]);h+=n?1/g:g;}n||(h=1/h),s<h&&(s=h),o[f.id()]=h;}return {closeness:function(t){return 0==s?0:(t=m(t)?a.filter(t)[0].id():t.id(),o[t]/s)}}},closenessCentrality:function(t){var e=yi(t),n=e.root,i=e.weight,r=e.directed,a=e.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:i,directed:r}),s=0,c=this.nodes(),u=0;u<c.length;u++){var l=c[u];if(!l.same(n)){var h=o.distanceTo(l);s+=a?1/h:h;}}return a?s:1/s}};mi.cc=mi.closenessCentrality,mi.ccn=mi.closenessCentralityNormalised=mi.closenessCentralityNormalized;var vi=Ne({weight:null,directed:!1}),xi={betweennessCentrality:function(t){for(var e=vi(t),n=e.directed,i=e.weight,r=null!=i,a=this.cy(),o=this.nodes(),s={},c={},u=0,l={set:function(t,e){c[t]=e,e>u&&(u=e);},get:function(t){return c[t]}},h=0;h<o.length;h++){var f=o[h],d=f.id();s[d]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),l.set(d,0);}for(var g=function(t){for(var e=o[t].id(),n=[],c={},u={},h={},f=new We((function(t,e){return h[t]-h[e]})),d=0;d<o.length;d++){var g=o[d].id();c[g]=[],u[g]=0,h[g]=1/0;}for(u[e]=1,h[e]=0,f.push(e);!f.empty();){var p=f.pop();if(n.push(p),r)for(var b=0;b<s[p].length;b++){var w=s[p][b],y=a.getElementById(p),m=void 0;m=y.edgesTo(w).length>0?y.edgesTo(w)[0]:w.edgesTo(y)[0];var v=i(m);w=w.id(),h[w]>h[p]+v&&(h[w]=h[p]+v,f.nodes.indexOf(w)<0?f.push(w):f.updateItem(w),u[w]=0,c[w]=[]),h[w]==h[p]+v&&(u[w]=u[w]+u[p],c[w].push(p));}else for(var x=0;x<s[p].length;x++){var k=s[p][x].id();h[k]==1/0&&(f.push(k),h[k]=h[p]+1),h[k]==h[p]+1&&(u[k]=u[k]+u[p],c[k].push(p));}}for(var _={},E=0;E<o.length;E++)_[o[E].id()]=0;for(;n.length>0;){for(var T=n.pop(),C=0;C<c[T].length;C++){var S=c[T][C];_[S]=_[S]+u[S]/u[T]*(1+_[T]);}T!=o[t].id()&&l.set(T,l.get(T)+_[T]);}},p=0;p<o.length;p++)g(p);var b={betweenness:function(t){var e=a.collection(t).id();return l.get(e)},betweennessNormalized:function(t){if(0==u)return 0;var e=a.collection(t).id();return l.get(e)/u}};return b.betweennessNormalised=b.betweennessNormalized,b}};xi.bc=xi.betweennessCentrality;var ki=Ne({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),_i=function(t){return ki(t)},Ei=function(t,e){for(var n=0,i=0;i<e.length;i++)n+=e[i](t);return n},Ti=function(t,e,n){for(var i=0;i<e;i++)t[i*e+i]=n;},Ci=function(t,e){for(var n,i=0;i<e;i++){n=0;for(var r=0;r<e;r++)n+=t[r*e+i];for(var a=0;a<e;a++)t[a*e+i]=t[a*e+i]/n;}},Si=function(t,e,n){for(var i=new Array(n*n),r=0;r<n;r++){for(var a=0;a<n;a++)i[r*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)i[r*n+s]+=t[r*n+o]*e[o*n+s];}return i},Ai=function(t,e,n){for(var i=t.slice(0),r=1;r<n;r++)t=Si(t,i,e);return t},Mi=function(t,e,n){for(var i=new Array(e*e),r=0;r<e*e;r++)i[r]=Math.pow(t[r],n);return Ci(i,e),i},Ii=function(t,e,n,i){for(var r=0;r<n;r++)if(Math.round(t[r]*Math.pow(10,i))/Math.pow(10,i)!=Math.round(e[r]*Math.pow(10,i))/Math.pow(10,i))return !1;return !0},Oi=function(t,e,n,i){for(var r=[],a=0;a<e;a++){for(var o=[],s=0;s<e;s++)Math.round(1e3*t[a*e+s])/1e3>0&&o.push(n[s]);0!==o.length&&r.push(i.collection(o));}return r},Li=function(t,e){for(var n=0;n<t.length;n++)if(!e[n]||t[n].id()!==e[n].id())return !1;return !0},Di=function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t.length;n++)e!=n&&Li(t[e],t[n])&&t.splice(n,1);return t},Ni=function(t){for(var e=this.nodes(),n=this.edges(),i=this.cy(),r=_i(t),a={},o=0;o<e.length;o++)a[e[o].id()]=o;for(var s,c=e.length,u=c*c,l=new Array(u),h=0;h<u;h++)l[h]=0;for(var f=0;f<n.length;f++){var d=n[f],g=a[d.source().id()],p=a[d.target().id()],b=Ei(d,r.attributes);l[g*c+p]+=b,l[p*c+g]+=b;}Ti(l,c,r.multFactor),Ci(l,c);for(var w=!0,y=0;w&&y<r.maxIterations;)w=!1,s=Ai(l,c,r.expandFactor),l=Mi(s,c,r.inflateFactor),Ii(l,s,u,4)||(w=!0),y++;var m=Oi(l,c,e,i);return m=Di(m)},Pi={markovClustering:Ni,mcl:Ni},Bi=function(t){return t},Ri=function(t,e){return Math.abs(e-t)},ji=function(t,e,n){return t+Ri(e,n)},$i=function(t,e,n){return t+Math.pow(n-e,2)},Fi=function(t){return Math.sqrt(t)},zi=function(t,e,n){return Math.max(t,Ri(e,n))},Hi=function(t,e,n,i,r){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:Bi,o=i,s=0;s<t;s++)o=r(o,e(s),n(s));return a(o)},Ui={euclidean:function(t,e,n){return t>=2?Hi(t,e,n,0,$i,Fi):Hi(t,e,n,0,ji)},squaredEuclidean:function(t,e,n){return Hi(t,e,n,0,$i)},manhattan:function(t,e,n){return Hi(t,e,n,0,ji)},max:function(t,e,n){return Hi(t,e,n,-1/0,zi)}};function Gi(t,e,n,i,r,a){var o;return o=v(t)?t:Ui[t]||Ui.euclidean,0===e&&v(t)?o(r,a):o(e,n,i,r,a)}Ui["squared-euclidean"]=Ui.squaredEuclidean,Ui.squaredeuclidean=Ui.squaredEuclidean;var qi=Ne({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Ki=function(t){return qi(t)},Yi=function(t,e,n,i,r){var a="kMedoids"!==r?function(t){return n[t]}:function(t){return i[t](n)},o=function(t){return i[t](e)},s=n,c=e;return Gi(t,i.length,a,o,s,c)},Wi=function(t,e,n){for(var i=n.length,r=new Array(i),a=new Array(i),o=new Array(e),s=null,c=0;c<i;c++)r[c]=t.min(n[c]).value,a[c]=t.max(n[c]).value;for(var u=0;u<e;u++){s=[];for(var l=0;l<i;l++)s[l]=Math.random()*(a[l]-r[l])+r[l];o[u]=s;}return o},Xi=function(t,e,n,i,r){for(var a=1/0,o=0,s=0;s<e.length;s++){var c=Yi(n,t,e[s],i,r);c<a&&(a=c,o=s);}return o},Vi=function(t,e,n){for(var i=[],r=null,a=0;a<e.length;a++)n[(r=e[a]).id()]===t&&i.push(r);return i},Zi=function(t,e,n){return Math.abs(e-t)<=n},Qi=function(t,e,n){for(var i=0;i<t.length;i++)for(var r=0;r<t[i].length;r++)if(Math.abs(t[i][r]-e[i][r])>n)return !1;return !0},Ji=function(t,e,n){for(var i=0;i<n;i++)if(t===e[i])return !0;return !1},tr=function(t,e){var n=new Array(e);if(t.length<50)for(var i=0;i<e;i++){for(var r=t[Math.floor(Math.random()*t.length)];Ji(r,n,i);)r=t[Math.floor(Math.random()*t.length)];n[i]=r;}else for(var a=0;a<e;a++)n[a]=t[Math.floor(Math.random()*t.length)];return n},er=function(t,e,n){for(var i=0,r=0;r<e.length;r++)i+=Yi("manhattan",e[r],t,n,"kMedoids");return i},nr=function(t,e,n,i,r){for(var a,o,s=0;s<e.length;s++)for(var c=0;c<t.length;c++)i[s][c]=Math.pow(n[s][c],r.m);for(var u=0;u<t.length;u++)for(var l=0;l<r.attributes.length;l++){a=0,o=0;for(var h=0;h<e.length;h++)a+=i[h][u]*r.attributes[l](e[h]),o+=i[h][u];t[u][l]=a/o;}},ir=function(t,e,n,i,r){for(var a=0;a<t.length;a++)e[a]=t[a].slice();for(var o,s,c,u=2/(r.m-1),l=0;l<n.length;l++)for(var h=0;h<i.length;h++){o=0;for(var f=0;f<n.length;f++)s=Yi(r.distance,i[h],n[l],r.attributes,"cmeans"),c=Yi(r.distance,i[h],n[f],r.attributes,"cmeans"),o+=Math.pow(s/c,u);t[h][l]=1/o;}},rr=function(t,e,n,i){for(var r,a,o=new Array(n.k),s=0;s<o.length;s++)o[s]=[];for(var c=0;c<e.length;c++){r=-1/0,a=-1;for(var u=0;u<e[0].length;u++)e[c][u]>r&&(r=e[c][u],a=u);o[a].push(t[c]);}for(var l=0;l<o.length;l++)o[l]=i.collection(o[l]);return o},ar=function(t){var e,n,i,r,a=this.cy(),o=this.nodes(),s=Ki(t);i=new Array(o.length);for(var c=0;c<o.length;c++)i[c]=new Array(s.k);n=new Array(o.length);for(var u=0;u<o.length;u++)n[u]=new Array(s.k);for(var l=0;l<o.length;l++){for(var h=0,f=0;f<s.k;f++)n[l][f]=Math.random(),h+=n[l][f];for(var d=0;d<s.k;d++)n[l][d]=n[l][d]/h;}e=new Array(s.k);for(var g=0;g<s.k;g++)e[g]=new Array(s.attributes.length);r=new Array(o.length);for(var p=0;p<o.length;p++)r[p]=new Array(s.k);for(var b=!0,w=0;b&&w<s.maxIterations;)b=!1,nr(e,o,n,r,s),ir(n,i,e,o,s),Qi(n,i,s.sensitivityThreshold)||(b=!0),w++;return {clusters:rr(o,n,s,a),degreeOfMembership:n}},or={kMeans:function(e){var n,i=this.cy(),r=this.nodes(),a=null,o=Ki(e),s=new Array(o.k),c={};o.testMode?"number"==typeof o.testCentroids?(o.testCentroids,n=Wi(r,o.k,o.attributes)):n="object"===t(o.testCentroids)?o.testCentroids:Wi(r,o.k,o.attributes):n=Wi(r,o.k,o.attributes);for(var u=!0,l=0;u&&l<o.maxIterations;){for(var h=0;h<r.length;h++)c[(a=r[h]).id()]=Xi(a,n,o.distance,o.attributes,"kMeans");u=!1;for(var f=0;f<o.k;f++){var d=Vi(f,r,c);if(0!==d.length){for(var g=o.attributes.length,p=n[f],b=new Array(g),w=new Array(g),y=0;y<g;y++){w[y]=0;for(var m=0;m<d.length;m++)a=d[m],w[y]+=o.attributes[y](a);b[y]=w[y]/d.length,Zi(b[y],p[y],o.sensitivityThreshold)||(u=!0);}n[f]=b,s[f]=i.collection(d);}}l++;}return s},kMedoids:function(e){var n,i,r=this.cy(),a=this.nodes(),o=null,s=Ki(e),c=new Array(s.k),u={},l=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===t(s.testCentroids)?s.testCentroids:tr(a,s.k)):n=tr(a,s.k);for(var h=!0,f=0;h&&f<s.maxIterations;){for(var d=0;d<a.length;d++)u[(o=a[d]).id()]=Xi(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var g=0;g<n.length;g++){var p=Vi(g,a,u);if(0!==p.length){l[g]=er(n[g],p,s.attributes);for(var b=0;b<p.length;b++)(i=er(p[b],p,s.attributes))<l[g]&&(l[g]=i,n[g]=p[b],h=!0);c[g]=r.collection(p);}}f++;}return c},fuzzyCMeans:ar,fcm:ar},sr=Ne({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),cr={single:"min",complete:"max"},ur=function(t){var e=sr(t),n=cr[e.linkage];return null!=n&&(e.linkage=n),e},lr=function(t,e,n,i,r){for(var a,o=0,s=1/0,c=r.attributes,u=function(t,e){return Gi(r.distance,c.length,(function(e){return c[e](t)}),(function(t){return c[t](e)}),t,e)},l=0;l<t.length;l++){var h=t[l].key,f=n[h][i[h]];f<s&&(o=h,s=f);}if("threshold"===r.mode&&s>=r.threshold||"dendrogram"===r.mode&&1===t.length)return !1;var d,g=e[o],p=e[i[o]];d="dendrogram"===r.mode?{left:g,right:p,key:g.key}:{value:g.value.concat(p.value),key:g.key},t[g.index]=d,t.splice(p.index,1),e[g.key]=d;for(var b=0;b<t.length;b++){var w=t[b];g.key===w.key?a=1/0:"min"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]>n[p.key][w.key]&&(a=n[p.key][w.key])):"max"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]<n[p.key][w.key]&&(a=n[p.key][w.key])):a="mean"===r.linkage?(n[g.key][w.key]*g.size+n[p.key][w.key]*p.size)/(g.size+p.size):"dendrogram"===r.mode?u(w.value,g.value):u(w.value[0],g.value[0]),n[g.key][w.key]=n[w.key][g.key]=a;}for(var y=0;y<t.length;y++){var m=t[y].key;if(i[m]===g.key||i[m]===p.key){for(var v=m,x=0;x<t.length;x++){var k=t[x].key;n[m][k]<n[m][v]&&(v=k);}i[m]=v;}t[y].index=y;}return g.key=p.key=g.index=p.index=null,!0},hr=function t(e,n,i){e&&(e.value?n.push(e.value):(e.left&&t(e.left,n),e.right&&t(e.right,n)));},fr=function t(e,n){if(!e)return "";if(e.left&&e.right){var i=t(e.left,n),r=t(e.right,n),a=n.add({group:"nodes",data:{id:i+","+r}});return n.add({group:"edges",data:{source:i,target:a.id()}}),n.add({group:"edges",data:{source:r,target:a.id()}}),a.id()}return e.value?e.value.id():void 0},dr=function t(e,n,i){if(!e)return [];var r=[],a=[],o=[];return 0===n?(e.left&&hr(e.left,r),e.right&&hr(e.right,a),o=r.concat(a),[i.collection(o)]):1===n?e.value?[i.collection(e.value)]:(e.left&&hr(e.left,r),e.right&&hr(e.right,a),[i.collection(r),i.collection(a)]):e.value?[i.collection(e.value)]:(e.left&&(r=t(e.left,n-1,i)),e.right&&(a=t(e.right,n-1,i)),r.concat(a))},gr=function(t){for(var e=this.cy(),n=this.nodes(),i=ur(t),r=i.attributes,a=function(t,e){return Gi(i.distance,r.length,(function(e){return r[e](t)}),(function(t){return r[t](e)}),t,e)},o=[],s=[],c=[],u=[],l=0;l<n.length;l++){var h={value:"dendrogram"===i.mode?n[l]:[n[l]],key:l,index:l};o[l]=h,u[l]=h,s[l]=[],c[l]=0;}for(var f=0;f<o.length;f++)for(var d=0;d<=f;d++){var g=void 0;g="dendrogram"===i.mode?f===d?1/0:a(o[f].value,o[d].value):f===d?1/0:a(o[f].value[0],o[d].value[0]),s[f][d]=g,s[d][f]=g,g<s[f][c[f]]&&(c[f]=d);}for(var p,b=lr(o,u,s,c,i);b;)b=lr(o,u,s,c,i);return "dendrogram"===i.mode?(p=dr(o[0],i.dendrogramDepth,e),i.addDendrogram&&fr(o[0],e)):(p=new Array(o.length),o.forEach((function(t,n){t.key=t.index=null,p[n]=e.collection(t.value);}))),p},pr={hierarchicalClustering:gr,hca:gr},br=Ne({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),wr=function(t){var e=t.damping,n=t.preference;.5<=e&&e<1||Te("Damping must range on [0.5, 1). Got: ".concat(e));var i=["median","mean","min","max"];return i.some((function(t){return t===n}))||E(n)||Te("Preference must be one of [".concat(i.map((function(t){return "'".concat(t,"'")})).join(", "),"] or a number. Got: ").concat(n)),br(t)},yr=function(t,e,n,i){var r=function(t,e){return i[e](t)};return -Gi(t,i.length,(function(t){return r(e,t)}),(function(t){return r(n,t)}),e,n)},mr=function(t,e){return "median"===e?bn(t):"mean"===e?pn(t):"min"===e?dn(t):"max"===e?gn(t):e},vr=function(t,e,n){for(var i=[],r=0;r<t;r++)e[r*t+r]+n[r*t+r]>0&&i.push(r);return i},xr=function(t,e,n){for(var i=[],r=0;r<t;r++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var c=n[s];e[r*t+c]>o&&(a=c,o=e[r*t+c]);}a>0&&i.push(a);}for(var u=0;u<n.length;u++)i[n[u]]=n[u];return i},kr=function(t,e,n){for(var i=xr(t,e,n),r=0;r<n.length;r++){for(var a=[],o=0;o<i.length;o++)i[o]===n[r]&&a.push(o);for(var s=-1,c=-1/0,u=0;u<a.length;u++){for(var l=0,h=0;h<a.length;h++)l+=e[a[h]*t+a[u]];l>c&&(s=u,c=l);}n[r]=a[s];}return i=xr(t,e,n)},_r=function(t){for(var e,n,i,r,a,o,s=this.cy(),c=this.nodes(),u=wr(t),l={},h=0;h<c.length;h++)l[c[h].id()]=h;n=(e=c.length)*e,i=new Array(n);for(var f=0;f<n;f++)i[f]=-1/0;for(var d=0;d<e;d++)for(var g=0;g<e;g++)d!==g&&(i[d*e+g]=yr(u.distance,c[d],c[g],u.attributes));r=mr(i,u.preference);for(var p=0;p<e;p++)i[p*e+p]=r;a=new Array(n);for(var b=0;b<n;b++)a[b]=0;o=new Array(n);for(var w=0;w<n;w++)o[w]=0;for(var y=new Array(e),m=new Array(e),v=new Array(e),x=0;x<e;x++)y[x]=0,m[x]=0,v[x]=0;for(var k,_=new Array(e*u.minIterations),E=0;E<_.length;E++)_[E]=0;for(k=0;k<u.maxIterations;k++){for(var T=0;T<e;T++){for(var C=-1/0,S=-1/0,A=-1,M=0,I=0;I<e;I++)y[I]=a[T*e+I],(M=o[T*e+I]+i[T*e+I])>=C?(S=C,C=M,A=I):M>S&&(S=M);for(var O=0;O<e;O++)a[T*e+O]=(1-u.damping)*(i[T*e+O]-C)+u.damping*y[O];a[T*e+A]=(1-u.damping)*(i[T*e+A]-S)+u.damping*y[A];}for(var L=0;L<e;L++){for(var D=0,N=0;N<e;N++)y[N]=o[N*e+L],m[N]=Math.max(0,a[N*e+L]),D+=m[N];D-=m[L],m[L]=a[L*e+L],D+=m[L];for(var P=0;P<e;P++)o[P*e+L]=(1-u.damping)*Math.min(0,D-m[P])+u.damping*y[P];o[L*e+L]=(1-u.damping)*(D-m[L])+u.damping*y[L];}for(var B=0,R=0;R<e;R++){var j=o[R*e+R]+a[R*e+R]>0?1:0;_[k%u.minIterations*e+R]=j,B+=j;}if(B>0&&(k>=u.minIterations-1||k==u.maxIterations-1)){for(var $=0,F=0;F<e;F++){v[F]=0;for(var z=0;z<u.minIterations;z++)v[F]+=_[z*e+F];0!==v[F]&&v[F]!==u.minIterations||$++;}if($===e)break}}for(var H=vr(e,a,o),U=kr(e,i,H),G={},q=0;q<H.length;q++)G[H[q]]=[];for(var K=0;K<c.length;K++){var Y=U[l[c[K].id()]];null!=Y&&G[Y].push(c[K]);}for(var W=new Array(H.length),X=0;X<H.length;X++)W[X]=s.collection(G[H[X]]);return W},Er={affinityPropagation:_r,ap:_r},Tr=Ne({root:void 0,directed:!1}),Cr={hierholzer:function(t){if(!k(t)){var e=arguments;t={root:e[0],directed:e[1]};}var n,i,r,a=Tr(t),o=a.root,s=a.directed,c=this,u=!1;o&&(r=m(o)?this.filter(o)[0].id():o[0].id());var l={},h={};s?c.forEach((function(t){var e=t.id();if(t.isNode()){var r=t.indegree(!0),a=t.outdegree(!0),o=r-a,s=a-r;1==o?n?u=!0:n=e:1==s?i?u=!0:i=e:(s>1||o>1)&&(u=!0),l[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&l[e].push(t.id());}));}else h[e]=[void 0,t.target().id()];})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?i?u=!0:i=e:n=e),l[e]=[],t.connectedEdges().forEach((function(t){return l[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()];}));var f={found:!1,trail:void 0};if(u)return f;if(i&&n)if(s){if(r&&i!=r)return f;r=i;}else {if(r&&i!=r&&n!=r)return f;r||(r=i);}else r||(r=c[0].id());var d=function(t){for(var e,n,i,r=t,a=[t];l[r].length;)e=l[r].shift(),n=h[e][0],r!=(i=h[e][1])?(l[i]=l[i].filter((function(t){return t!=e})),r=i):s||r==n||(l[n]=l[n].filter((function(t){return t!=e})),r=n),a.unshift(e),a.unshift(r);return a},g=[],p=[];for(p=d(r);1!=p.length;)0==l[p[0]].length?(g.unshift(c.getElementById(p.shift())),g.unshift(c.getElementById(p.shift()))):p=d(p.shift()).concat(p);for(var b in g.unshift(c.getElementById(p.shift())),l)if(l[b].length)return f;return f.found=!0,f.trail=this.spawn(g,!0),f}},Sr=function(){var t=this,e={},n=0,i=0,r=[],a=[],o={},s=function(n,i){for(var o=a.length-1,s=[],c=t.spawn();a[o].x!=n||a[o].y!=i;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var i=n.connectedNodes().intersection(t);c.merge(n),i.forEach((function(n){var i=n.id(),r=n.connectedEdges().intersection(t);c.merge(n),e[i].cutVertex?c.merge(r.filter((function(t){return t.isLoop()}))):c.merge(r);}));})),r.push(c);},c=function c(u,l,h){u===h&&(i+=1),e[l]={id:n,low:n++,cutVertex:!1};var f,d,g,p,b=t.getElementById(l).connectedEdges().intersection(t);0===b.size()?r.push(t.spawn(t.getElementById(l))):b.forEach((function(t){f=t.source().id(),d=t.target().id(),(g=f===l?d:f)!==h&&(p=t.id(),o[p]||(o[p]=!0,a.push({x:l,y:g,edge:t})),g in e?e[l].low=Math.min(e[l].low,e[g].id):(c(u,g,l),e[l].low=Math.min(e[l].low,e[g].low),e[l].id<=e[g].low&&(e[l].cutVertex=!0,s(l,g))));}));};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(i=0,c(n,n),e[n].cutVertex=i>1);}}));var u=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return {cut:t.spawn(u),components:r}},Ar=function(){var t=this,e={},n=0,i=[],r=[],a=t.spawn(t),o=function o(s){if(r.push(s),e[s]={index:n,low:n++,explored:!1},t.getElementById(s).connectedEdges().intersection(t).forEach((function(t){var n=t.target().id();n!==s&&(n in e||o(n),e[n].explored||(e[s].low=Math.min(e[s].low,e[n].low)));})),e[s].index===e[s].low){for(var c=t.spawn();;){var u=r.pop();if(c.merge(t.getElementById(u)),e[u].low=e[s].index,e[u].explored=!0,u===s)break}var l=c.edgesWith(c),h=c.merge(l);i.push(h),a=a.difference(h);}};return t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||o(n);}})),{cut:a,components:i}},Mr={};[Ke,Ve,Ze,Je,en,rn,cn,pi,wi,mi,xi,Pi,or,pr,Er,Cr,{hopcroftTarjanBiconnected:Sr,htbc:Sr,htb:Sr,hopcroftTarjanBiconnectedComponents:Sr},{tarjanStronglyConnected:Ar,tsc:Ar,tscc:Ar,tarjanStronglyConnectedComponents:Ar}].forEach((function(t){Q(Mr,t);}));var Ir=0,Or=1,Lr=2,Dr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Ir,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this));};Dr.prototype={fulfill:function(t){return Nr(this,Or,"fulfillValue",t)},reject:function(t){return Nr(this,Lr,"rejectReason",t)},then:function(t,e){var n=this,i=new Dr;return n.onFulfilled.push(Rr(t,i,"fulfill")),n.onRejected.push(Rr(e,i,"reject")),Pr(n),i.proxy}};var Nr=function(t,e,n,i){return t.state===Ir&&(t.state=e,t[n]=i,Pr(t)),t},Pr=function(t){t.state===Or?Br(t,"onFulfilled",t.fulfillValue):t.state===Lr&&Br(t,"onRejected",t.rejectReason);},Br=function(t,e,n){if(0!==t[e].length){var i=t[e];t[e]=[];var r=function(){for(var t=0;t<i.length;t++)i[t](n);};"function"==typeof setImmediate?setImmediate(r):setTimeout(r,0);}},Rr=function(t,e,n){return function(i){if("function"!=typeof t)e[n].call(e,i);else {var r;try{r=t(i);}catch(t){return void e.reject(t)}jr(e,r);}}},jr=function e(n,i){if(n!==i&&n.proxy!==i){var r;if("object"===t(i)&&null!==i||"function"==typeof i)try{r=i.then;}catch(t){return void n.reject(t)}if("function"!=typeof r)n.fulfill(i);else {var a=!1;try{r.call(i,(function(t){a||(a=!0,t===i?n.reject(new TypeError("circular thenable chain")):e(n,t));}),(function(t){a||(a=!0,n.reject(t));}));}catch(t){a||n.reject(t);}}}else n.reject(new TypeError("cannot resolve promise with itself"));};Dr.all=function(t){return new Dr((function(e,n){for(var i=new Array(t.length),r=0,a=function(n,a){i[n]=a,++r===t.length&&e(i);},o=0;o<t.length;o++)!function(e){var i=t[e];null!=i&&null!=i.then?i.then((function(t){a(e,t);}),(function(t){n(t);})):a(e,i);}(o);}))},Dr.resolve=function(t){return new Dr((function(e,n){e(t);}))},Dr.reject=function(t){return new Dr((function(e,n){n(t);}))};var $r="undefined"!=typeof Promise?Promise:Dr,Fr=function(t,e,n){var i=I(t),r=!i,a=this._private=Q({duration:1e3},e,n);if(a.target=t,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&v(a.complete)&&a.completes.push(a.complete),r){var o=t.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||t.cy().style().getAnimationStartStyle(t,a.style);}if(i){var s=t.pan();a.startPan={x:s.x,y:s.y},a.startZoom=t.zoom();}this.length=1,this[0]=this;},zr=Fr.prototype;Q(zr,{instanceString:function(){return "animation"},hook:function(){var t=this._private;if(!t.hooked){var e=t.target._private.animation;(t.queue?e.queue:e.current).push(this),S(t.target)&&t.target.cy().addToAnimationPool(t.target),t.hooked=!0;}return this},play:function(){var t=this._private;return 1===t.progress&&(t.progress=0),t.playing=!0,t.started=!1,t.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var t=this._private;return t.applying=!0,t.started=!1,t.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var t=this._private;return t.playing=!1,t.started=!1,this},stop:function(){var t=this._private;return t.playing=!1,t.started=!1,t.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(t){var e=this._private;return void 0===t?e.progress*e.duration:this.progress(t/e.duration)},progress:function(t){var e=this._private,n=e.playing;return void 0===t?e.progress:(n&&this.pause(),e.progress=t,e.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var t=this._private,e=t.playing;e&&this.pause(),t.progress=1-t.progress,t.started=!1;var n=function(e,n){var i=t[e];null!=i&&(t[e]=t[n],t[n]=i);};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),t.style)for(var i=0;i<t.style.length;i++){var r=t.style[i],a=r.name,o=t.startStyle[a];t.startStyle[a]=r,t.style[i]=o;}return e&&this.play(),this},promise:function(t){var e,n=this._private;return e="frame"===t?n.frames:n.completes,new $r((function(t,n){e.push((function(){t();}));}))}}),zr.complete=zr.completed,zr.run=zr.play,zr.running=zr.playing;var Hr={animated:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return !1;var n=e[0];return n?n._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<e.length;n++)e[n]._private.animation.queue=[];return this}},delay:function(){return function(t,e){return (this._private.cy||this).styleEnabled()?this.animate({delay:t,duration:t,complete:e}):this}},delayAnimation:function(){return function(t,e){return (this._private.cy||this).styleEnabled()?this.animation({delay:t,duration:t,complete:e}):this}},animation:function(){return function(t,e){var n=this,i=void 0!==n.length,r=i?n:[n],a=this._private.cy||this,o=!i,s=!o;if(!a.styleEnabled())return this;var c=a.style();if(t=Q({},t,e),0===Object.keys(t).length)return new Fr(r[0],t);switch(void 0===t.duration&&(t.duration=400),t.duration){case"slow":t.duration=600;break;case"fast":t.duration=200;}if(s&&(t.style=c.getPropsList(t.style||t.css),t.css=void 0),s&&null!=t.renderedPosition){var u=t.renderedPosition,l=a.pan(),h=a.zoom();t.position=hn(u,h,l);}if(o&&null!=t.panBy){var f=t.panBy,d=a.pan();t.pan={x:d.x+f.x,y:d.y+f.y};}var g=t.center||t.centre;if(o&&null!=g){var p=a.getCenterPan(g.eles,t.zoom);null!=p&&(t.pan=p);}if(o&&null!=t.fit){var b=t.fit,w=a.getFitViewport(b.eles||b.boundingBox,b.padding);null!=w&&(t.pan=w.pan,t.zoom=w.zoom);}if(o&&k(t.zoom)){var y=a.getZoomedViewport(t.zoom);null!=y?(y.zoomed&&(t.zoom=y.zoom),y.panned&&(t.pan=y.pan)):t.zoom=null;}return new Fr(r[0],t)}},animate:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;e&&(t=Q({},t,e));for(var r=0;r<i.length;r++){var a=i[r],o=a.animated()&&(void 0===t.queue||t.queue);a.animation(t,o?{queue:!0}:void 0).play();}return this}},stop:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var a=0;a<i.length;a++){for(var o=i[a]._private,s=o.animation.current,c=0;c<s.length;c++){var u=s[c]._private;e&&(u.duration=0);}t&&(o.animation.queue=[]),e||(o.animation.current=[]);}return r.notify("draw"),this}}},Ur=Array.isArray,Gr=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,qr=/^\w*$/;function Kr(t,e){if(Ur(t))return !1;var n=typeof t;return !("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!Ft(t))||qr.test(t)||!Gr.test(t)||null!=e&&t in Object(e)}var Yr=Kr,Wr="[object AsyncFunction]",Xr="[object Function]",Vr="[object GeneratorFunction]",Zr="[object Proxy]";function Qr(t){if(!ct(t))return !1;var e=Pt(t);return e==Xr||e==Vr||e==Wr||e==Zr}var Jr=Qr,ta=dt["__core-js_shared__"],ea=function(){var t=/[^.]+$/.exec(ta&&ta.keys&&ta.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}();function na(t){return !!ea&&ea in t}var ia=na,ra=Function.prototype.toString;function aa(t){if(null!=t){try{return ra.call(t)}catch(t){}try{return t+""}catch(t){}}return ""}var oa=aa,sa=/[\\^$.*+?()[\]{}|]/g,ca=/^\[object .+?Constructor\]$/,ua=Function.prototype,la=Object.prototype,ha=ua.toString,fa=la.hasOwnProperty,da=RegExp("^"+ha.call(fa).replace(sa,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function ga(t){return !(!ct(t)||ia(t))&&(Jr(t)?da:ca).test(oa(t))}var pa=ga;function ba(t,e){return null==t?void 0:t[e]}var wa=ba;function ya(t,e){var n=wa(t,e);return pa(n)?n:void 0}var ma=ya,va=ma(Object,"create");function xa(){this.__data__=va?va(null):{},this.size=0;}var ka=xa;function _a(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e}var Ea=_a,Ta="__lodash_hash_undefined__",Ca=Object.prototype.hasOwnProperty;function Sa(t){var e=this.__data__;if(va){var n=e[t];return n===Ta?void 0:n}return Ca.call(e,t)?e[t]:void 0}var Aa=Sa,Ma=Object.prototype.hasOwnProperty;function Ia(t){var e=this.__data__;return va?void 0!==e[t]:Ma.call(e,t)}var Oa=Ia,La="__lodash_hash_undefined__";function Da(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=va&&void 0===e?La:e,this}var Na=Da;function Pa(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}Pa.prototype.clear=ka,Pa.prototype.delete=Ea,Pa.prototype.get=Aa,Pa.prototype.has=Oa,Pa.prototype.set=Na;var Ba=Pa;function Ra(){this.__data__=[],this.size=0;}var ja=Ra;function $a(t,e){return t===e||t!=t&&e!=e}var Fa=$a;function za(t,e){for(var n=t.length;n--;)if(Fa(t[n][0],e))return n;return -1}var Ha=za,Ua=Array.prototype.splice;function Ga(t){var e=this.__data__,n=Ha(e,t);return !(n<0||(n==e.length-1?e.pop():Ua.call(e,n,1),--this.size,0))}var qa=Ga;function Ka(t){var e=this.__data__,n=Ha(e,t);return n<0?void 0:e[n][1]}var Ya=Ka;function Wa(t){return Ha(this.__data__,t)>-1}var Xa=Wa;function Va(t,e){var n=this.__data__,i=Ha(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var Za=Va;function Qa(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}Qa.prototype.clear=ja,Qa.prototype.delete=qa,Qa.prototype.get=Ya,Qa.prototype.has=Xa,Qa.prototype.set=Za;var Ja=Qa,to=ma(dt,"Map");function eo(){this.size=0,this.__data__={hash:new Ba,map:new(to||Ja),string:new Ba};}var no=eo;function io(t){var e=typeof t;return "string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}var ro=io;function ao(t,e){var n=t.__data__;return ro(e)?n["string"==typeof e?"string":"hash"]:n.map}var oo=ao;function so(t){var e=oo(this,t).delete(t);return this.size-=e?1:0,e}var co=so;function uo(t){return oo(this,t).get(t)}var lo=uo;function ho(t){return oo(this,t).has(t)}var fo=ho;function go(t,e){var n=oo(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this}var po=go;function bo(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1]);}}bo.prototype.clear=no,bo.prototype.delete=co,bo.prototype.get=lo,bo.prototype.has=fo,bo.prototype.set=po;var wo=bo,yo="Expected a function";function mo(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError(yo);var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(mo.Cache||wo),n}mo.Cache=wo;var vo=mo,xo=500;function ko(t){var e=vo(t,(function(t){return n.size===xo&&n.clear(),t})),n=e.cache;return e}var _o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Eo=/\\(\\)?/g,To=ko((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(_o,(function(t,n,i,r){e.push(i?r.replace(Eo,"$1"):n||t);})),e}));function Co(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}var So=Co,Ao=1/0,Mo=xt?xt.prototype:void 0,Io=Mo?Mo.toString:void 0;function Oo(t){if("string"==typeof t)return t;if(Ur(t))return So(t,Oo)+"";if(Ft(t))return Io?Io.call(t):"";var e=t+"";return "0"==e&&1/t==-Ao?"-0":e}var Lo=Oo;function Do(t){return null==t?"":Lo(t)}var No=Do;function Po(t,e){return Ur(t)?t:Yr(t,e)?[t]:To(No(t))}var Bo=Po,Ro=1/0;function jo(t){if("string"==typeof t||Ft(t))return t;var e=t+"";return "0"==e&&1/t==-Ro?"-0":e}var $o=jo;function Fo(t,e){for(var n=0,i=(e=Bo(e,t)).length;null!=t&&n<i;)t=t[$o(e[n++])];return n&&n==i?t:void 0}var zo=Fo;function Ho(t,e,n){var i=null==t?void 0:zo(t,e);return void 0===i?n:i}var Uo=Ho,Go=function(){try{var t=ma(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();function qo(t,e,n){"__proto__"==e&&Go?Go(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n;}var Ko=qo,Yo=Object.prototype.hasOwnProperty;function Wo(t,e,n){var i=t[e];Yo.call(t,e)&&Fa(i,n)&&(void 0!==n||e in t)||Ko(t,e,n);}var Xo=Wo,Vo=9007199254740991,Zo=/^(?:0|[1-9]\d*)$/;function Qo(t,e){var n=typeof t;return !!(e=null==e?Vo:e)&&("number"==n||"symbol"!=n&&Zo.test(t))&&t>-1&&t%1==0&&t<e}var Jo=Qo;function ts(t,e,n,i){if(!ct(t))return t;for(var r=-1,a=(e=Bo(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=$o(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=i?i(l,c,s):void 0)&&(u=ct(l)?l:Jo(e[r+1])?[]:{});}Xo(s,c,u),s=s[c];}return t}var es=ts;function ns(t,e,n){return null==t?t:es(t,e,n)}var is=ns;function rs(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}var as=rs;function os(t){return Ur(t)?So(t,$o):Ft(t)?[t]:as(To(No(t)))}var ss=os,cs={eventAliasesOn:function(t){var e=t;e.addListener=e.listen=e.bind=e.on,e.unlisten=e.unbind=e.off=e.removeListener,e.trigger=e.emit,e.pon=e.promiseOn=function(t,e){var n=this,i=Array.prototype.slice.call(arguments,0);return new $r((function(t,e){var r=function(e){n.off.apply(n,o),t(e);},a=i.concat([r]),o=a.concat([]);n.on.apply(n,a);}))};}},us={};[Hr,{data:function(t){return t=Q({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(t){},beforeSet:function(t,e){},onSet:function(t){},canSet:function(t){return !0}},t),function(e,n){var i=t,r=this,o=void 0!==r.length,s=o?r:[r],c=o?r[0]:r;if(m(e)){var u,l=-1!==e.indexOf(".")&&ss(e);if(i.allowGetting&&void 0===n)return c&&(i.beforeGet(c),u=l&&void 0===c._private[i.field][e]?Uo(c._private[i.field],l):c._private[i.field][e]),u;if(i.allowSetting&&void 0!==n&&!i.immutableKeys[e]){var h=a({},e,n);i.beforeSet(r,h);for(var f=0,d=s.length;f<d;f++){var g=s[f];i.canSet(g)&&(l&&void 0===c._private[i.field][e]?is(g._private[i.field],l,n):g._private[i.field][e]=n);}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent);}}else if(i.allowSetting&&k(e)){var p,b,w=e,y=Object.keys(w);i.beforeSet(r,w);for(var x=0;x<y.length;x++)if(b=w[p=y[x]],!i.immutableKeys[p])for(var _=0;_<s.length;_++){var E=s[_];i.canSet(E)&&(E._private[i.field][p]=b);}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent);}else if(i.allowBinding&&v(e)){var T=e;r.on(i.bindingEvent,T);}else if(i.allowGetting&&void 0===e){var C;return c&&(i.beforeGet(c),C=c._private[i.field]),C}return r}},removeData:function(t){return t=Q({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},t),function(e){var n=t,i=this,r=void 0!==i.length?i:[i];if(m(e)){for(var a=e.split(/\s+/),o=a.length,s=0;s<o;s++){var c=a[s];if(!D(c)&&!n.immutableKeys[c])for(var u=0,l=r.length;u<l;u++)r[u]._private[n.field][c]=void 0;}n.triggerEvent&&i[n.triggerFnName](n.event);}else if(void 0===e){for(var h=0,f=r.length;h<f;h++)for(var d=r[h]._private[n.field],g=Object.keys(d),p=0;p<g.length;p++){var b=g[p];!n.immutableKeys[b]&&(d[b]=void 0);}n.triggerEvent&&i[n.triggerFnName](n.event);}return i}}},cs].forEach((function(t){Q(us,t);}));var ls={animate:us.animate(),animation:us.animation(),animated:us.animated(),clearQueue:us.clearQueue(),delay:us.delay(),delayAnimation:us.delayAnimation(),stop:us.stop()},hs={classes:function(t){var e=this;if(void 0===t){var n=[];return e[0]._private.classes.forEach((function(t){return n.push(t)})),n}x(t)||(t=(t||"").match(/\S+/g)||[]);for(var i=[],r=new Ue(t),a=0;a<e.length;a++){for(var o=e[a],s=o._private,c=s.classes,u=!1,l=0;l<t.length;l++){var h=t[l];if(!c.has(h)){u=!0;break}}u||(u=c.size!==t.length),u&&(s.classes=r,i.push(o));}return i.length>0&&this.spawn(i).updateStyle().emit("class"),e},addClass:function(t){return this.toggleClass(t,!0)},hasClass:function(t){var e=this[0];return null!=e&&e._private.classes.has(t)},toggleClass:function(t,e){x(t)||(t=t.match(/\S+/g)||[]);for(var n=this,i=void 0===e,r=[],a=0,o=n.length;a<o;a++)for(var s=n[a],c=s._private.classes,u=!1,l=0;l<t.length;l++){var h=t[l],f=c.has(h),d=!1;e||i&&!f?(c.add(h),d=!0):(!e||i&&f)&&(c.delete(h),d=!0),!u&&d&&(r.push(s),u=!0);}return r.length>0&&this.spawn(r).updateStyle().emit("class"),n},removeClass:function(t){return this.toggleClass(t,!1)},flashClass:function(t,e){var n=this;if(null==e)e=250;else if(0===e)return n;return n.addClass(t),setTimeout((function(){n.removeClass(t);}),e),n}};hs.className=hs.classNames=hs.classes;var fs={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:U,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};fs.variable="(?:[\\w-.]|(?:\\\\"+fs.metaChar+"))+",fs.className="(?:[\\w-]|(?:\\\\"+fs.metaChar+"))+",fs.value=fs.string+"|"+fs.number,fs.id=fs.variable,function(){var t,e,n;for(t=fs.comparatorOp.split("|"),n=0;n<t.length;n++)e=t[n],fs.comparatorOp+="|@"+e;for(t=fs.comparatorOp.split("|"),n=0;n<t.length;n++)(e=t[n]).indexOf("!")>=0||"="!==e&&(fs.comparatorOp+="|\\!"+e);}();var ds=function(){return {checks:[]}},gs={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},ps=[{selector:":selected",matches:function(t){return t.selected()}},{selector:":unselected",matches:function(t){return !t.selected()}},{selector:":selectable",matches:function(t){return t.selectable()}},{selector:":unselectable",matches:function(t){return !t.selectable()}},{selector:":locked",matches:function(t){return t.locked()}},{selector:":unlocked",matches:function(t){return !t.locked()}},{selector:":visible",matches:function(t){return t.visible()}},{selector:":hidden",matches:function(t){return !t.visible()}},{selector:":transparent",matches:function(t){return t.transparent()}},{selector:":grabbed",matches:function(t){return t.grabbed()}},{selector:":free",matches:function(t){return !t.grabbed()}},{selector:":removed",matches:function(t){return t.removed()}},{selector:":inside",matches:function(t){return !t.removed()}},{selector:":grabbable",matches:function(t){return t.grabbable()}},{selector:":ungrabbable",matches:function(t){return !t.grabbable()}},{selector:":animated",matches:function(t){return t.animated()}},{selector:":unanimated",matches:function(t){return !t.animated()}},{selector:":parent",matches:function(t){return t.isParent()}},{selector:":childless",matches:function(t){return t.isChildless()}},{selector:":child",matches:function(t){return t.isChild()}},{selector:":orphan",matches:function(t){return t.isOrphan()}},{selector:":nonorphan",matches:function(t){return t.isChild()}},{selector:":compound",matches:function(t){return t.isNode()?t.isParent():t.source().isParent()||t.target().isParent()}},{selector:":loop",matches:function(t){return t.isLoop()}},{selector:":simple",matches:function(t){return t.isSimple()}},{selector:":active",matches:function(t){return t.active()}},{selector:":inactive",matches:function(t){return !t.active()}},{selector:":backgrounding",matches:function(t){return t.backgrounding()}},{selector:":nonbackgrounding",matches:function(t){return !t.backgrounding()}}].sort((function(t,e){return Z(t.selector,e.selector)})),bs=function(){for(var t,e={},n=0;n<ps.length;n++)e[(t=ps[n]).selector]=t.matches;return e}(),ws=function(t,e){return bs[t](e)},ys="("+ps.map((function(t){return t.selector})).join("|")+")",ms=function(t){return t.replace(new RegExp("\\\\("+fs.metaChar+")","g"),(function(t,e){return e}))},vs=function(t,e,n){t[t.length-1]=n;},xs=[{name:"group",query:!0,regex:"("+fs.group+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:gs.GROUP,value:"*"===i?i:i+"s"});}},{name:"state",query:!0,regex:ys,populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:gs.STATE,value:i});}},{name:"id",query:!0,regex:"\\#("+fs.id+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:gs.ID,value:ms(i)});}},{name:"className",query:!0,regex:"\\.("+fs.className+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:gs.CLASS,value:ms(i)});}},{name:"dataExists",query:!0,regex:"\\[\\s*("+fs.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:gs.DATA_EXIST,field:ms(i)});}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+fs.variable+")\\s*("+fs.comparatorOp+")\\s*("+fs.value+")\\s*\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];s=null!=new RegExp("^"+fs.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),e.checks.push({type:gs.DATA_COMPARE,field:ms(r),operator:a,value:s});}},{name:"dataBool",query:!0,regex:"\\[\\s*("+fs.boolOp+")\\s*("+fs.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,2),r=i[0],a=i[1];e.checks.push({type:gs.DATA_BOOL,field:ms(a),operator:r});}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+fs.meta+")\\s*("+fs.comparatorOp+")\\s*("+fs.number+")\\s*\\]\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];e.checks.push({type:gs.META_COMPARE,field:ms(r),operator:a,value:parseFloat(s)});}},{name:"nextQuery",separator:!0,regex:fs.separator,populate:function(t,e){var n=t.currentSubject,i=t.edgeCount,r=t.compoundCount,a=t[t.length-1];return null!=n&&(a.subject=n,t.currentSubject=null),a.edgeCount=i,a.compoundCount=r,t.edgeCount=0,t.compoundCount=0,t[t.length++]=ds()}},{name:"directedEdge",separator:!0,regex:fs.directedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ds(),i=e,r=ds();return n.checks.push({type:gs.DIRECTED_EDGE,source:i,target:r}),vs(t,e,n),t.edgeCount++,r}var a=ds(),o=e,s=ds();return a.checks.push({type:gs.NODE_SOURCE,source:o,target:s}),vs(t,e,a),t.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:fs.undirectedEdge,populate:function(t,e){if(null==t.currentSubject){var n=ds(),i=e,r=ds();return n.checks.push({type:gs.UNDIRECTED_EDGE,nodes:[i,r]}),vs(t,e,n),t.edgeCount++,r}var a=ds(),o=e,s=ds();return a.checks.push({type:gs.NODE_NEIGHBOR,node:o,neighbor:s}),vs(t,e,a),s}},{name:"child",separator:!0,regex:fs.child,populate:function(t,e){if(null==t.currentSubject){var n=ds(),i=ds(),r=t[t.length-1];return n.checks.push({type:gs.CHILD,parent:r,child:i}),vs(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ds(),o=t[t.length-1],s=ds(),c=ds(),u=ds(),l=ds();return a.checks.push({type:gs.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:gs.TRUE}],l.checks.push({type:gs.TRUE}),s.checks.push({type:gs.PARENT,parent:l,child:u}),vs(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ds(),f=ds(),d=[{type:gs.PARENT,parent:h,child:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"descendant",separator:!0,regex:fs.descendant,populate:function(t,e){if(null==t.currentSubject){var n=ds(),i=ds(),r=t[t.length-1];return n.checks.push({type:gs.DESCENDANT,ancestor:r,descendant:i}),vs(t,e,n),t.compoundCount++,i}if(t.currentSubject===e){var a=ds(),o=t[t.length-1],s=ds(),c=ds(),u=ds(),l=ds();return a.checks.push({type:gs.COMPOUND_SPLIT,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:gs.TRUE}],l.checks.push({type:gs.TRUE}),s.checks.push({type:gs.ANCESTOR,ancestor:l,descendant:u}),vs(t,o,a),t.currentSubject=c,t.compoundCount++,u}var h=ds(),f=ds(),d=[{type:gs.ANCESTOR,ancestor:h,descendant:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"subject",modifier:!0,regex:fs.subject,populate:function(t,e){if(null!=t.currentSubject&&t.currentSubject!==e)return Se("Redefinition of subject in selector `"+t.toString()+"`"),!1;t.currentSubject=e;var n=t[t.length-1].checks[0],i=null==n?null:n.type;i===gs.DIRECTED_EDGE?n.type=gs.NODE_TARGET:i===gs.UNDIRECTED_EDGE&&(n.type=gs.NODE_NEIGHBOR,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null);}}];xs.forEach((function(t){return t.regexObj=new RegExp("^"+t.regex)}));var ks=function(t){for(var e,n,i,r=0;r<xs.length;r++){var a=xs[r],o=a.name,s=t.match(a.regexObj);if(null!=s){n=s,e=a,i=o;var c=s[0];t=t.substring(c.length);break}}return {expr:e,match:n,name:i,remaining:t}},_s=function(t){var e=t.match(/^\s+/);if(e){var n=e[0];t=t.substring(n.length);}return t},Es={parse:function(t){var e=this,n=e.inputText=t,i=e[0]=ds();for(e.length=1,n=_s(n);;){var r=ks(n);if(null==r.expr)return Se("The selector `"+t+"`is invalid"),!1;var a=r.match.slice(1),o=r.expr.populate(e,i,a);if(!1===o)return !1;if(null!=o&&(i=o),(n=r.remaining).match(/^\s*$/))break}var s=e[e.length-1];null!=e.currentSubject&&(s.subject=e.currentSubject),s.edgeCount=e.edgeCount,s.compoundCount=e.compoundCount;for(var c=0;c<e.length;c++){var u=e[c];if(u.compoundCount>0&&u.edgeCount>0)return Se("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Se("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Se("The selector `"+t+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.");}return !0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return null==t?"":t},e=function(e){return m(e)?'"'+e+'"':t(e)},n=function(t){return " "+t+" "},i=function(i,a){var o=i.type,s=i.value;switch(o){case gs.GROUP:var c=t(s);return c.substring(0,c.length-1);case gs.DATA_COMPARE:var u=i.field,l=i.operator;return "["+u+n(t(l))+e(s)+"]";case gs.DATA_BOOL:var h=i.operator,f=i.field;return "["+t(h)+f+"]";case gs.DATA_EXIST:return "["+i.field+"]";case gs.META_COMPARE:var d=i.operator;return "[["+i.field+n(t(d))+e(s)+"]]";case gs.STATE:return s;case gs.ID:return "#"+s;case gs.CLASS:return "."+s;case gs.PARENT:case gs.CHILD:return r(i.parent,a)+n(">")+r(i.child,a);case gs.ANCESTOR:case gs.DESCENDANT:return r(i.ancestor,a)+" "+r(i.descendant,a);case gs.COMPOUND_SPLIT:var g=r(i.left,a),p=r(i.subject,a),b=r(i.right,a);return g+(g.length>0?" ":"")+p+b;case gs.TRUE:return ""}},r=function(t,e){return t.checks.reduce((function(n,r,a){return n+(e===t&&0===a?"$":"")+i(r,e)}),"")},a="",o=0;o<this.length;o++){var s=this[o];a+=r(s,s.subject),this.length>1&&o<this.length-1&&(a+=", ");}return this.toStringCache=a,a}},Ts=function(t,e,n){var i,r,a,o=m(t),s=E(t),c=m(n),u=!1,l=!1,h=!1;switch(e.indexOf("!")>=0&&(e=e.replace("!",""),l=!0),e.indexOf("@")>=0&&(e=e.replace("@",""),u=!0),(o||c||u)&&(r=o||s?""+t:"",a=""+n),u&&(t=r=r.toLowerCase(),n=a=a.toLowerCase()),e){case"*=":i=r.indexOf(a)>=0;break;case"$=":i=r.indexOf(a,r.length-a.length)>=0;break;case"^=":i=0===r.indexOf(a);break;case"=":i=t===n;break;case">":h=!0,i=t>n;break;case">=":h=!0,i=t>=n;break;case"<":h=!0,i=t<n;break;case"<=":h=!0,i=t<=n;break;default:i=!1;}return !l||null==t&&h||(i=!i),i},Cs=function(t,e){switch(e){case"?":return !!t;case"!":return !t;case"^":return void 0===t}},Ss=function(t){return void 0!==t},As=function(t,e){return t.data(e)},Ms=function(t,e){return t[e]()},Is=[],Os=function(t,e){return t.checks.every((function(t){return Is[t.type](t,e)}))};Is[gs.GROUP]=function(t,e){var n=t.value;return "*"===n||n===e.group()},Is[gs.STATE]=function(t,e){var n=t.value;return ws(n,e)},Is[gs.ID]=function(t,e){var n=t.value;return e.id()===n},Is[gs.CLASS]=function(t,e){var n=t.value;return e.hasClass(n)},Is[gs.META_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Ts(Ms(e,n),i,r)},Is[gs.DATA_COMPARE]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Ts(As(e,n),i,r)},Is[gs.DATA_BOOL]=function(t,e){var n=t.field,i=t.operator;return Cs(As(e,n),i)},Is[gs.DATA_EXIST]=function(t,e){var n=t.field;return t.operator,Ss(As(e,n))},Is[gs.UNDIRECTED_EDGE]=function(t,e){var n=t.nodes[0],i=t.nodes[1],r=e.source(),a=e.target();return Os(n,r)&&Os(i,a)||Os(i,r)&&Os(n,a)},Is[gs.NODE_NEIGHBOR]=function(t,e){return Os(t.node,e)&&e.neighborhood().some((function(e){return e.isNode()&&Os(t.neighbor,e)}))},Is[gs.DIRECTED_EDGE]=function(t,e){return Os(t.source,e.source())&&Os(t.target,e.target())},Is[gs.NODE_SOURCE]=function(t,e){return Os(t.source,e)&&e.outgoers().some((function(e){return e.isNode()&&Os(t.target,e)}))},Is[gs.NODE_TARGET]=function(t,e){return Os(t.target,e)&&e.incomers().some((function(e){return e.isNode()&&Os(t.source,e)}))},Is[gs.CHILD]=function(t,e){return Os(t.child,e)&&Os(t.parent,e.parent())},Is[gs.PARENT]=function(t,e){return Os(t.parent,e)&&e.children().some((function(e){return Os(t.child,e)}))},Is[gs.DESCENDANT]=function(t,e){return Os(t.descendant,e)&&e.ancestors().some((function(e){return Os(t.ancestor,e)}))},Is[gs.ANCESTOR]=function(t,e){return Os(t.ancestor,e)&&e.descendants().some((function(e){return Os(t.descendant,e)}))},Is[gs.COMPOUND_SPLIT]=function(t,e){return Os(t.subject,e)&&Os(t.left,e)&&Os(t.right,e)},Is[gs.TRUE]=function(){return !0},Is[gs.COLLECTION]=function(t,e){return t.value.has(e)},Is[gs.FILTER]=function(t,e){return (0, t.value)(e)};var Ls={matches:function(t){for(var e=this,n=0;n<e.length;n++){var i=e[n];if(Os(i,t))return !0}return !1},filter:function(t){var e=this;if(1===e.length&&1===e[0].checks.length&&e[0].checks[0].type===gs.ID)return t.getElementById(e[0].checks[0].value).collection();var n=function(t){for(var n=0;n<e.length;n++){var i=e[n];if(Os(i,t))return !0}return !1};return null==e.text()&&(n=function(){return !0}),t.filter(n)}},Ds=function(t){this.inputText=t,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==t||m(t)&&t.match(/^\s*$/)||(S(t)?this.addQuery({checks:[{type:gs.COLLECTION,value:t.collection()}]}):v(t)?this.addQuery({checks:[{type:gs.FILTER,value:t}]}):m(t)?this.parse(t)||(this.invalid=!0):Te("A selector must be created from a string; found "));},Ns=Ds.prototype;[Es,Ls].forEach((function(t){return Q(Ns,t)})),Ns.text=function(){return this.inputText},Ns.size=function(){return this.length},Ns.eq=function(t){return this[t]},Ns.sameText=function(t){return !this.invalid&&!t.invalid&&this.text()===t.text()},Ns.addQuery=function(t){this[this.length++]=t;},Ns.selector=Ns.toString;var Ps={allAre:function(t){var e=new Ds(t);return this.every((function(t){return e.matches(t)}))},is:function(t){var e=new Ds(t);return this.some((function(t){return e.matches(t)}))},some:function(t,e){for(var n=0;n<this.length;n++)if(e?t.apply(e,[this[n],n,this]):t(this[n],n,this))return !0;return !1},every:function(t,e){for(var n=0;n<this.length;n++)if(!(e?t.apply(e,[this[n],n,this]):t(this[n],n,this)))return !1;return !0},same:function(t){if(this===t)return !0;t=this.cy().collection(t);var e=this.length;return e===t.length&&(1===e?this[0]===t[0]:this.every((function(e){return t.hasElementWithId(e.id())})))},anySame:function(t){return t=this.cy().collection(t),this.some((function(e){return t.hasElementWithId(e.id())}))},allAreNeighbors:function(t){t=this.cy().collection(t);var e=this.neighborhood();return t.every((function(t){return e.hasElementWithId(t.id())}))},contains:function(t){t=this.cy().collection(t);var e=this;return t.every((function(t){return e.hasElementWithId(t.id())}))}};Ps.allAreNeighbours=Ps.allAreNeighbors,Ps.has=Ps.contains,Ps.equal=Ps.equals=Ps.same;var Bs,Rs,js=function(t,e){return function(n,i,r,a){var o,s=n,c=this;if(null==s?o="":S(s)&&1===s.length&&(o=s.id()),1===c.length&&o){var u=c[0]._private,l=u.traversalCache=u.traversalCache||{},h=l[e]=l[e]||[],f=ge(o),d=h[f];return d||(h[f]=t.call(c,n,i,r,a))}return t.call(c,n,i,r,a)}},$s={parent:function(t){var e=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var i=0;i<this.length;i++){var r=this[i]._private.parent;r&&e.push(r);}return this.spawn(e,!0).filter(t)},parents:function(t){for(var e=[],n=this.parent();n.nonempty();){for(var i=0;i<n.length;i++){var r=n[i];e.push(r);}n=n.parent();}return this.spawn(e,!0).filter(t)},commonAncestors:function(t){for(var e,n=0;n<this.length;n++){var i=this[n].parents();e=(e=e||i).intersect(i);}return e.filter(t)},orphans:function(t){return this.stdFilter((function(t){return t.isOrphan()})).filter(t)},nonorphans:function(t){return this.stdFilter((function(t){return t.isChild()})).filter(t)},children:js((function(t){for(var e=[],n=0;n<this.length;n++)for(var i=this[n]._private.children,r=0;r<i.length;r++)e.push(i[r]);return this.spawn(e,!0).filter(t)}),"children"),siblings:function(t){return this.parent().children().not(this).filter(t)},isParent:function(){var t=this[0];if(t)return t.isNode()&&0!==t._private.children.length},isChildless:function(){var t=this[0];if(t)return t.isNode()&&0===t._private.children.length},isChild:function(){var t=this[0];if(t)return t.isNode()&&null!=t._private.parent},isOrphan:function(){var t=this[0];if(t)return t.isNode()&&null==t._private.parent},descendants:function(t){var e=[];function n(t){for(var i=0;i<t.length;i++){var r=t[i];e.push(r),r.children().nonempty()&&n(r.children());}}return n(this.children()),this.spawn(e,!0).filter(t)}};function Fs(t,e,n,i){for(var r=[],a=new Ue,o=t.cy().hasCompoundNodes(),s=0;s<t.length;s++){var c=t[s];n?r.push(c):o&&i(r,a,c);}for(;r.length>0;){var u=r.shift();e(u),a.add(u.id()),o&&i(r,a,u);}return t}function zs(t,e,n){if(n.isParent())for(var i=n._private.children,r=0;r<i.length;r++){var a=i[r];e.has(a.id())||t.push(a);}}function Hs(t,e,n){if(n.isChild()){var i=n._private.parent;e.has(i.id())||t.push(i);}}function Us(t,e,n){Hs(t,e,n),zs(t,e,n);}$s.forEachDown=function(t){return Fs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],zs)},$s.forEachUp=function(t){return Fs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Hs)},$s.forEachUpAndDown=function(t){return Fs(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Us)},$s.ancestors=$s.parents,(Bs=Rs={data:us.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:us.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:us.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:us.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:us.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:us.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=Bs.data,Bs.removeAttr=Bs.removeData;var Gs,qs,Ks=Rs,Ys={};function Ws(t){return function(e){var n=this;if(void 0===e&&(e=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var i=0,r=n[0],a=r._private.edges,o=0;o<a.length;o++){var s=a[o];!e&&s.isLoop()||(i+=t(r,s));}return i}}}function Xs(t,e){return function(n){for(var i,r=this.nodes(),a=0;a<r.length;a++){var o=r[a][t](n);void 0===o||void 0!==i&&!e(o,i)||(i=o);}return i}}Q(Ys,{degree:Ws((function(t,e){return e.source().same(e.target())?2:1})),indegree:Ws((function(t,e){return e.target().same(t)?1:0})),outdegree:Ws((function(t,e){return e.source().same(t)?1:0}))}),Q(Ys,{minDegree:Xs("degree",(function(t,e){return t<e})),maxDegree:Xs("degree",(function(t,e){return t>e})),minIndegree:Xs("indegree",(function(t,e){return t<e})),maxIndegree:Xs("indegree",(function(t,e){return t>e})),minOutdegree:Xs("outdegree",(function(t,e){return t<e})),maxOutdegree:Xs("outdegree",(function(t,e){return t>e}))}),Q(Ys,{totalDegree:function(t){for(var e=0,n=this.nodes(),i=0;i<n.length;i++)e+=n[i].degree(t);return e}});var Vs=function(t,e,n){for(var i=0;i<t.length;i++){var r=t[i];if(!r.locked()){var a=r._private.position,o={x:null!=e.x?e.x-a.x:0,y:null!=e.y?e.y-a.y:0};!r.isParent()||0===o.x&&0===o.y||r.children().shift(o,n),r.dirtyBoundingBoxCache();}}},Zs={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(t){t.updateCompoundBounds();},beforeSet:function(t,e){Vs(t,e,!1);},onSet:function(t){t.dirtyCompoundBoundsCache();},canSet:function(t){return !t.locked()}};(Gs=qs={position:us.data(Zs),silentPosition:us.data(Q({},Zs,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(t,e){Vs(t,e,!0);},onSet:function(t){t.dirtyCompoundBoundsCache();}})),positions:function(t,e){if(k(t))e?this.silentPosition(t):this.position(t);else if(v(t)){var n=t,i=this.cy();i.startBatch();for(var r=0;r<this.length;r++){var a=this[r],o=void 0;(o=n(a,r))&&(e?a.silentPosition(o):a.position(o));}i.endBatch();}return this},silentPositions:function(t){return this.positions(t,!0)},shift:function(t,e,n){var i;if(k(t)?(i={x:E(t.x)?t.x:0,y:E(t.y)?t.y:0},n=e):m(t)&&E(e)&&((i={x:0,y:0})[t]=e),null!=i){var r=this.cy();r.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(r.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),c={x:s.x+i.x,y:s.y+i.y};n?o.silentPosition(c):o.position(c);}}r.endBatch();}return this},silentShift:function(t,e){return k(t)?this.shift(t,!0):m(t)&&E(e)&&this.shift(t,e,!0),this},renderedPosition:function(t,e){var n=this[0],i=this.cy(),r=i.zoom(),a=i.pan(),o=k(t)?t:void 0,s=void 0!==o||void 0!==e&&m(t);if(n&&n.isNode()){if(!s){var c=n.position();return o=ln(c,r,a),void 0===t?o:o[t]}for(var u=0;u<this.length;u++){var l=this[u];void 0!==e?l.position(t,(e-a[t])/r):void 0!==o&&l.position(hn(o,r,a));}}else if(!s)return;return this},relativePosition:function(t,e){var n=this[0],i=this.cy(),r=k(t)?t:void 0,a=void 0!==r||void 0!==e&&m(t),o=i.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),c=o?n.parent():null,u=c&&c.length>0,l=u;u&&(c=c[0]);var h=l?c.position():{x:0,y:0};return r={x:s.x-h.x,y:s.y-h.y},void 0===t?r:r[t]}for(var f=0;f<this.length;f++){var d=this[f],g=o?d.parent():null,p=g&&g.length>0,b=p;p&&(g=g[0]);var w=b?g.position():{x:0,y:0};void 0!==e?d.position(t,e+w[t]):void 0!==r&&d.position({x:r.x+w.x,y:r.y+w.y});}}else if(!a)return;return this}}).modelPosition=Gs.point=Gs.position,Gs.modelPositions=Gs.points=Gs.positions,Gs.renderedPoint=Gs.renderedPosition,Gs.relativePoint=Gs.relativePosition;var Qs,Js,tc=qs;Qs=Js={},Js.renderedBoundingBox=function(t){var e=this.boundingBox(t),n=this.cy(),i=n.zoom(),r=n.pan(),a=e.x1*i+r.x,o=e.x2*i+r.x,s=e.y1*i+r.y,c=e.y2*i+r.y;return {x1:a,x2:o,y1:s,y2:c,w:o-a,h:c-s}},Js.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){if(e.isParent()){var n=e._private;n.compoundBoundsClean=!1,n.bbCache=null,t||e.emitAndNotify("bounds");}})),this):this},Js.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function n(t){if(t.isParent()){var e=t._private,n=t.children(),i="include"===t.pstyle("compound-sizing-wrt-labels").value,r={width:{val:t.pstyle("min-width").pfValue,left:t.pstyle("min-width-bias-left"),right:t.pstyle("min-width-bias-right")},height:{val:t.pstyle("min-height").pfValue,top:t.pstyle("min-height-bias-top"),bottom:t.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),o=e.position;0!==a.w&&0!==a.h||((a={w:t.pstyle("width").pfValue,h:t.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=r.width.left.value;"px"===r.width.left.units&&r.width.val>0&&(s=100*s/r.width.val);var c=r.width.right.value;"px"===r.width.right.units&&r.width.val>0&&(c=100*c/r.width.val);var u=r.height.top.value;"px"===r.height.top.units&&r.height.val>0&&(u=100*u/r.height.val);var l=r.height.bottom.value;"px"===r.height.bottom.units&&r.height.val>0&&(l=100*l/r.height.val);var h=w(r.width.val-a.w,s,c),f=h.biasDiff,d=h.biasComplementDiff,g=w(r.height.val-a.h,u,l),p=g.biasDiff,b=g.biasComplementDiff;e.autoPadding=y(a.w,a.h,t.pstyle("padding"),t.pstyle("padding-relative-to").value),e.autoWidth=Math.max(a.w,r.width.val),o.x=(-f+a.x1+a.x2+d)/2,e.autoHeight=Math.max(a.h,r.height.val),o.y=(-p+a.y1+a.y2+b)/2;}function w(t,e,n){var i=0,r=0,a=e+n;return t>0&&a>0&&(i=e/a*t,r=n/a*t),{biasDiff:i,biasComplementDiff:r}}function y(t,e,n,i){if("%"!==n.units)return "px"===n.units?n.pfValue:0;switch(i){case"width":return t>0?n.pfValue*t:0;case"height":return e>0?n.pfValue*e:0;case"average":return t>0&&e>0?n.pfValue*(t+e)/2:0;case"min":return t>0&&e>0?t>e?n.pfValue*e:n.pfValue*t:0;case"max":return t>0&&e>0?t>e?n.pfValue*t:n.pfValue*e:0;default:return 0}}}for(var i=0;i<this.length;i++){var r=this[i],a=r._private;a.compoundBoundsClean&&!t||(n(r),e.batching()||(a.compoundBoundsClean=!0));}return this};var ec=function(t){return t===1/0||t===-1/0?0:t},nc=function(t,e,n,i,r){i-e!=0&&r-n!=0&&null!=e&&null!=n&&null!=i&&null!=r&&(t.x1=e<t.x1?e:t.x1,t.x2=i>t.x2?i:t.x2,t.y1=n<t.y1?n:t.y1,t.y2=r>t.y2?r:t.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1);},ic=function(t,e){return null==e?t:nc(t,e.x1,e.y1,e.x2,e.y2)},rc=function(t,e,n){return je(t,e,n)},ac=function(t,e,n){if(!e.cy().headless()){var i,r,a=e._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==e.pstyle(n+"-arrow-shape").value){"source"===n?(i=o.srcX,r=o.srcY):"target"===n?(i=o.tgtX,r=o.tgtY):(i=o.midX,r=o.midY);var c=a.arrowBounds=a.arrowBounds||{},u=c[n]=c[n]||{};u.x1=i-s,u.y1=r-s,u.x2=i+s,u.y2=r+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Dn(u,1),nc(t,u.x1,u.y1,u.x2,u.y2);}}},oc=function(t,e,n){if(!e.cy().headless()){var i;i=n?n+"-":"";var r=e._private,a=r.rstyle;if(e.pstyle(i+"label").strValue){var o,s,c,u,l=e.pstyle("text-halign"),h=e.pstyle("text-valign"),f=rc(a,"labelWidth",n),d=rc(a,"labelHeight",n),g=rc(a,"labelX",n),p=rc(a,"labelY",n),b=e.pstyle(i+"text-margin-x").pfValue,w=e.pstyle(i+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle(i+"text-rotation"),v=e.pstyle("text-outline-width").pfValue,x=e.pstyle("text-border-width").pfValue/2,k=e.pstyle("text-background-padding").pfValue,_=2,E=d,T=f,C=T/2,S=E/2;if(y)o=g-C,s=g+C,c=p-S,u=p+S;else {switch(l.value){case"left":o=g-T,s=g;break;case"center":o=g-C,s=g+C;break;case"right":o=g,s=g+T;}switch(h.value){case"top":c=p-E,u=p;break;case"center":c=p-S,u=p+S;break;case"bottom":c=p,u=p+E;}}o+=b-Math.max(v,x)-k-_,s+=b+Math.max(v,x)+k+_,c+=w-Math.max(v,x)-k-_,u+=w+Math.max(v,x)+k+_;var A=n||"main",M=r.labelBounds,I=M[A]=M[A]||{};I.x1=o,I.y1=c,I.x2=s,I.y2=u,I.w=s-o,I.h=u-c;var O=y&&"autorotate"===m.strValue,L=null!=m.pfValue&&0!==m.pfValue;if(O||L){var D=O?rc(r.rstyle,"labelAngle",n):m.pfValue,N=Math.cos(D),P=Math.sin(D),B=(o+s)/2,R=(c+u)/2;if(!y){switch(l.value){case"left":B=s;break;case"right":B=o;}switch(h.value){case"top":R=u;break;case"bottom":R=c;}}var j=function(t,e){return {x:(t-=B)*N-(e-=R)*P+B,y:t*P+e*N+R}},$=j(o,c),F=j(o,u),z=j(s,c),H=j(s,u);o=Math.min($.x,F.x,z.x,H.x),s=Math.max($.x,F.x,z.x,H.x),c=Math.min($.y,F.y,z.y,H.y),u=Math.max($.y,F.y,z.y,H.y);}var U=A+"Rot",G=M[U]=M[U]||{};G.x1=o,G.y1=c,G.x2=s,G.y2=u,G.w=s-o,G.h=u-c,nc(t,o,c,s,u),nc(r.labelBounds.all,o,c,s,u);}return t}},sc=function(t,e){var n,i,r,a,o,s,c=t._private.cy,u=c.styleEnabled(),l=c.headless(),h=An(),f=t._private,d=t.isNode(),g=t.isEdge(),p=f.rstyle,b=d&&u?t.pstyle("bounds-expansion").pfValue:[0],w=function(t){return "none"!==t.pstyle("display").value},y=!u||w(t)&&(!g||w(t.source())&&w(t.target()));if(y){var m=0;u&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(m=t.pstyle("overlay-padding").value);var v=0;u&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(v=t.pstyle("underlay-padding").value);var x=Math.max(m,v),k=0;if(u&&(k=t.pstyle("width").pfValue/2),d&&e.includeNodes){var _=t.position();o=_.x,s=_.y;var E=t.outerWidth()/2,T=t.outerHeight()/2;nc(h,n=o-E,r=s-T,i=o+E,a=s+T);}else if(g&&e.includeEdges)if(u&&!l){var C=t.pstyle("curve-style").strValue;if(n=Math.min(p.srcX,p.midX,p.tgtX),i=Math.max(p.srcX,p.midX,p.tgtX),r=Math.min(p.srcY,p.midY,p.tgtY),a=Math.max(p.srcY,p.midY,p.tgtY),nc(h,n-=k,r-=k,i+=k,a+=k),"haystack"===C){var S=p.haystackPts;if(S&&2===S.length){if(n=S[0].x,r=S[0].y,n>(i=S[1].x)){var A=n;n=i,i=A;}if(r>(a=S[1].y)){var M=r;r=a,a=M;}nc(h,n-k,r-k,i+k,a+k);}}else if("bezier"===C||"unbundled-bezier"===C||"segments"===C||"taxi"===C){var I;switch(C){case"bezier":case"unbundled-bezier":I=p.bezierPts;break;case"segments":case"taxi":I=p.linePts;}if(null!=I)for(var O=0;O<I.length;O++){var L=I[O];n=L.x-k,i=L.x+k,r=L.y-k,a=L.y+k,nc(h,n,r,i,a);}}}else {var D=t.source().position(),N=t.target().position();if((n=D.x)>(i=N.x)){var P=n;n=i,i=P;}if((r=D.y)>(a=N.y)){var B=r;r=a,a=B;}nc(h,n-=k,r-=k,i+=k,a+=k);}if(u&&e.includeEdges&&g&&(ac(h,t,"mid-source"),ac(h,t,"mid-target"),ac(h,t,"source"),ac(h,t,"target")),u&&"yes"===t.pstyle("ghost").value){var R=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue;nc(h,h.x1+R,h.y1+j,h.x2+R,h.y2+j);}var $=f.bodyBounds=f.bodyBounds||{};Pn($,h),Nn($,b),Dn($,1),u&&(n=h.x1,i=h.x2,r=h.y1,a=h.y2,nc(h,n-x,r-x,i+x,a+x));var F=f.overlayBounds=f.overlayBounds||{};Pn(F,h),Nn(F,b),Dn(F,1);var z=f.labelBounds=f.labelBounds||{};null!=z.all?In(z.all):z.all=An(),u&&e.includeLabels&&(e.includeMainLabels&&oc(h,t,null),g&&(e.includeSourceLabels&&oc(h,t,"source"),e.includeTargetLabels&&oc(h,t,"target")));}return h.x1=ec(h.x1),h.y1=ec(h.y1),h.x2=ec(h.x2),h.y2=ec(h.y2),h.w=ec(h.x2-h.x1),h.h=ec(h.y2-h.y1),h.w>0&&h.h>0&&y&&(Nn(h,b),Dn(h,1)),h},cc=function(t){var e=0,n=function(t){return (t?1:0)<<e++},i=0;return i+=n(t.incudeNodes),i+=n(t.includeEdges),i+=n(t.includeLabels),i+=n(t.includeMainLabels),i+=n(t.includeSourceLabels),i+=n(t.includeTargetLabels),i+=n(t.includeOverlays)},uc=function(t){if(t.isEdge()){var e=t.source().position(),n=t.target().position(),i=function(t){return Math.round(t)};return de([i(e.x),i(e.y),i(n.x),i(n.y)])}return 0},lc=function(t,e){var n,i=t._private,r=t.isEdge(),a=(null==e?fc:cc(e))===fc,o=uc(t),s=i.bbCachePosKey===o,c=e.useCache&&s,u=function(t){return null==t._private.bbCache||t._private.styleDirty};if(!c||u(t)||r&&u(t.source())||u(t.target())?(s||t.recalculateRenderedStyle(c),n=sc(t,hc),i.bbCache=n,i.bbCachePosKey=o):n=i.bbCache,!a){var l=t.isNode();n=An(),(e.includeNodes&&l||e.includeEdges&&!l)&&(e.includeOverlays?ic(n,i.overlayBounds):ic(n,i.bodyBounds)),e.includeLabels&&(e.includeMainLabels&&(!r||e.includeSourceLabels&&e.includeTargetLabels)?ic(n,i.labelBounds.all):(e.includeMainLabels&&ic(n,i.labelBounds.mainRot),e.includeSourceLabels&&ic(n,i.labelBounds.sourceRot),e.includeTargetLabels&&ic(n,i.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1;}return n},hc={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},fc=cc(hc),dc=Ne(hc);Js.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=An();var n=dc(t=t||hc),i=this;if(i.cy().styleEnabled())for(var r=0;r<i.length;r++){var a=i[r],o=a._private,s=uc(a),c=o.bbCachePosKey===s,u=n.useCache&&c&&!o.styleDirty;a.recalculateRenderedStyle(u);}this.updateCompoundBounds(!t.useCache);for(var l=0;l<i.length;l++){var h=i[l];ic(e,lc(h,n));}}else t=void 0===t?hc:dc(t),e=lc(this[0],t);return e.x1=ec(e.x1),e.y1=ec(e.y1),e.x2=ec(e.x2),e.y2=ec(e.y2),e.w=ec(e.x2-e.x1),e.h=ec(e.y2-e.y1),e},Js.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null;}return this.emitAndNotify("bounds"),this},Js.boundingBoxAt=function(t){var e=this.nodes(),n=this.cy(),i=n.hasCompoundNodes(),r=n.collection();if(i&&(r=e.filter((function(t){return t.isParent()})),e=e.not(r)),k(t)){var a=t;t=function(){return a};}var o=function(e,n){return e._private.bbAtOldPos=t(e,n)},s=function(t){return t._private.bbAtOldPos};n.startBatch(),e.forEach(o).silentPositions(t),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0));var c=Mn(this.boundingBox({useCache:!1}));return e.silentPositions(s),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0)),n.endBatch(),c},Qs.boundingbox=Qs.bb=Qs.boundingBox,Qs.renderedBoundingbox=Qs.renderedBoundingBox;var gc,pc,bc=Js;gc=pc={};var wc=function(t){t.uppercaseName=H(t.name),t.autoName="auto"+t.uppercaseName,t.labelName="label"+t.uppercaseName,t.outerName="outer"+t.uppercaseName,t.uppercaseOuterName=H(t.outerName),gc[t.name]=function(){var e=this[0],n=e._private,i=n.cy._private.styleEnabled;if(e){if(i){if(e.isParent())return e.updateCompoundBounds(),n[t.autoName]||0;var r=e.pstyle(t.name);return "label"===r.strValue?(e.recalculateRenderedStyle(),n.rstyle[t.labelName]||0):r.pfValue}return 1}},gc["outer"+t.uppercaseName]=function(){var e=this[0],n=e._private.cy._private.styleEnabled;if(e)return n?e[t.name]()+e.pstyle("border-width").pfValue+2*e.padding():1},gc["rendered"+t.uppercaseName]=function(){var e=this[0];if(e)return e[t.name]()*this.cy().zoom()},gc["rendered"+t.uppercaseOuterName]=function(){var e=this[0];if(e)return e[t.outerName]()*this.cy().zoom()};};wc({name:"width"}),wc({name:"height"}),pc.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),void 0!==e.autoPadding?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},pc.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},pc.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var yc=pc,mc=function(t,e){if(t.isEdge())return e(t)},vc=function(t,e){if(t.isEdge()){var n=t.cy();return ln(e(t),n.zoom(),n.pan())}},xc=function(t,e){if(t.isEdge()){var n=t.cy(),i=n.pan(),r=n.zoom();return e(t).map((function(t){return ln(t,r,i)}))}},kc={controlPoints:{get:function(t){return t.renderer().getControlPoints(t)},mult:!0},segmentPoints:{get:function(t){return t.renderer().getSegmentPoints(t)},mult:!0},sourceEndpoint:{get:function(t){return t.renderer().getSourceEndpoint(t)}},targetEndpoint:{get:function(t){return t.renderer().getTargetEndpoint(t)}},midpoint:{get:function(t){return t.renderer().getEdgeMidpoint(t)}}},_c=function(t){return "rendered"+t[0].toUpperCase()+t.substr(1)},Ec=Object.keys(kc).reduce((function(t,e){var n=kc[e],i=_c(e);return t[e]=function(){return mc(this,n.get)},n.mult?t[i]=function(){return xc(this,n.get)}:t[i]=function(){return vc(this,n.get)},t}),{}),Tc=Q({},tc,bc,yc,Ec),Cc=function(t,e){this.recycle(t,e);};function Sc(){return !1}function Ac(){return !0}Cc.prototype={instanceString:function(){return "event"},recycle:function(t,e){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=Sc,null!=t&&t.preventDefault?(this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?Ac:Sc):null!=t&&t.type?e=t:this.type=t,null!=e&&(this.originalEvent=e.originalEvent,this.type=null!=e.type?e.type:this.type,this.cy=e.cy,this.target=e.target,this.position=e.position,this.renderedPosition=e.renderedPosition,this.namespace=e.namespace,this.layout=e.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,i=this.cy.zoom(),r=this.cy.pan();this.renderedPosition={x:n.x*i+r.x,y:n.y*i+r.y};}this.timeStamp=t&&t.timeStamp||Date.now();},preventDefault:function(){this.isDefaultPrevented=Ac;var t=this.originalEvent;t&&t.preventDefault&&t.preventDefault();},stopPropagation:function(){this.isPropagationStopped=Ac;var t=this.originalEvent;t&&t.stopPropagation&&t.stopPropagation();},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=Ac,this.stopPropagation();},isDefaultPrevented:Sc,isPropagationStopped:Sc,isImmediatePropagationStopped:Sc};var Mc=/^([^.]+)(\.(?:[^.]+))?$/,Ic=".*",Oc={qualifierCompare:function(t,e){return t===e},eventMatches:function(){return !0},addEventFields:function(){},callbackContext:function(t){return t},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return !1},parent:function(){return null},context:null},Lc=Object.keys(Oc),Dc={};function Nc(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Dc,e=arguments.length>1?arguments[1]:void 0,n=0;n<Lc.length;n++){var i=Lc[n];this[i]=t[i]||Oc[i];}this.context=e||this.context,this.listeners=[],this.emitting=0;}var Pc=Nc.prototype,Bc=function(t,e,n,i,r,a,o){v(i)&&(r=i,i=null),o&&(a=null==a?o:Q({},a,o));for(var s=x(n)?n:n.split(/\s+/),c=0;c<s.length;c++){var u=s[c];if(!D(u)){var l=u.match(Mc);if(l&&!1===e(t,u,l[1],l[2]?l[2]:null,i,r,a))break}}},Rc=function(t,e){return t.addEventFields(t.context,e),new Cc(e.type,e)},jc=function(t,e,n){if(L(n))e(t,n);else if(k(n))e(t,Rc(t,n));else for(var i=x(n)?n:n.split(/\s+/),r=0;r<i.length;r++){var a=i[r];if(!D(a)){var o=a.match(Mc);if(o){var s=o[1],c=o[2]?o[2]:null;e(t,Rc(t,{type:s,namespace:c,target:t.context}));}}}};Pc.on=Pc.addListener=function(t,e,n,i,r){return Bc(this,(function(t,e,n,i,r,a,o){v(a)&&t.listeners.push({event:e,callback:a,type:n,namespace:i,qualifier:r,conf:o});}),t,e,n,i,r),this},Pc.one=function(t,e,n,i){return this.on(t,e,n,i,{one:!0})},Pc.removeListener=Pc.off=function(t,e,n,i){var r=this;0!==this.emitting&&(this.listeners=Ie(this.listeners));for(var a=this.listeners,o=function(o){var s=a[o];Bc(r,(function(e,n,i,r,c,u){if((s.type===i||"*"===t)&&(!r&&".*"!==s.namespace||s.namespace===r)&&(!c||e.qualifierCompare(s.qualifier,c))&&(!u||s.callback===u))return a.splice(o,1),!1}),t,e,n,i);},s=a.length-1;s>=0;s--)o(s);return this},Pc.removeAllListeners=function(){return this.removeListener("*")},Pc.emit=Pc.trigger=function(t,e,n){var i=this.listeners,r=i.length;return this.emitting++,x(e)||(e=[e]),jc(this,(function(t,a){null!=n&&(i=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],r=i.length);for(var o=function(n){var r=i[n];if(r.type===a.type&&(!r.namespace||r.namespace===a.namespace||r.namespace===Ic)&&t.eventMatches(t.context,r,a)){var o=[a];null!=e&&Re(o,e),t.beforeEmit(t.context,r,a),r.conf&&r.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==r})));var s=t.callbackContext(t.context,r,a),c=r.callback.apply(s,o);t.afterEmit(t.context,r,a),!1===c&&(a.stopPropagation(),a.preventDefault());}},s=0;s<r;s++)o(s);t.bubble(t.context)&&!a.isPropagationStopped()&&t.parent(t.context).emit(a,e);}),t),this.emitting--,this};var $c={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&A(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t.cy(),e.target=t;},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t},beforeEmit:function(t,e){e.conf&&e.conf.once&&e.conf.onceCollection.removeListener(e.event,e.qualifier,e.callback);},bubble:function(){return !0},parent:function(t){return t.isChild()?t.parent():t.cy()}},Fc=function(t){return m(t)?new Ds(t):t},zc={createEmitter:function(){for(var t=0;t<this.length;t++){var e=this[t],n=e._private;n.emitter||(n.emitter=new Nc($c,e));}return this},emitter:function(){return this._private.emitter},on:function(t,e,n){for(var i=Fc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n);return this},removeListener:function(t,e,n){for(var i=Fc(e),r=0;r<this.length;r++)this[r].emitter().removeListener(t,i,n);return this},removeAllListeners:function(){for(var t=0;t<this.length;t++)this[t].emitter().removeAllListeners();return this},one:function(t,e,n){for(var i=Fc(e),r=0;r<this.length;r++)this[r].emitter().one(t,i,n);return this},once:function(t,e,n){for(var i=Fc(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n,{once:!0,onceCollection:this});},emit:function(t,e){for(var n=0;n<this.length;n++)this[n].emitter().emit(t,e);return this},emitAndNotify:function(t,e){if(0!==this.length)return this.cy().notify(t,this),this.emit(t,e),this}};us.eventAliasesOn(zc);var Hc={nodes:function(t){return this.filter((function(t){return t.isNode()})).filter(t)},edges:function(t){return this.filter((function(t){return t.isEdge()})).filter(t)},byGroup:function(){for(var t=this.spawn(),e=this.spawn(),n=0;n<this.length;n++){var i=this[n];i.isNode()?t.push(i):e.push(i);}return {nodes:t,edges:e}},filter:function(t,e){if(void 0===t)return this;if(m(t)||S(t))return new Ds(t).filter(this);if(v(t)){for(var n=this.spawn(),i=this,r=0;r<i.length;r++){var a=i[r];(e?t.apply(e,[a,r,i]):t(a,r,i))&&n.push(a);}return n}return this.spawn()},not:function(t){if(t){m(t)&&(t=this.filter(t));for(var e=this.spawn(),n=0;n<this.length;n++){var i=this[n];t.has(i)||e.push(i);}return e}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(t){if(m(t)){var e=t;return this.filter(e)}for(var n=this.spawn(),i=this,r=t,a=this.length<t.length,o=a?i:r,s=a?r:i,c=0;c<o.length;c++){var u=o[c];s.has(u)&&n.push(u);}return n},xor:function(t){var e=this._private.cy;m(t)&&(t=e.$(t));var n=this.spawn(),i=this,r=t,a=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],a=r._private.data.id;e.hasElementWithId(a)||n.push(r);}};return a(i,r),a(r,i),n},diff:function(t){var e=this._private.cy;m(t)&&(t=e.$(t));var n=this.spawn(),i=this.spawn(),r=this.spawn(),a=this,o=t,s=function(t,e,n){for(var i=0;i<t.length;i++){var a=t[i],o=a._private.data.id;e.hasElementWithId(o)?r.merge(a):n.push(a);}};return s(a,o,n),s(o,a,i),{left:n,right:i,both:r}},add:function(t){var e=this._private.cy;if(!t)return this;if(m(t)){var n=t;t=e.mutableElements().filter(n);}for(var i=this.spawnSelf(),r=0;r<t.length;r++){var a=t[r];!this.has(a)&&i.push(a);}return i},merge:function(t){var e=this._private,n=e.cy;if(!t)return this;if(t&&m(t)){var i=t;t=n.mutableElements().filter(i);}for(var r=e.map,a=0;a<t.length;a++){var o=t[a],s=o._private.data.id;if(!r.has(s)){var c=this.length++;this[c]=o,r.set(s,{ele:o,index:c});}}return this},unmergeAt:function(t){var e=this[t].id(),n=this._private.map;this[t]=void 0,n.delete(e);var i=t===this.length-1;if(this.length>1&&!i){var r=this.length-1,a=this[r],o=a._private.data.id;this[r]=void 0,this[t]=a,n.set(o,{ele:a,index:t});}return this.length--,this},unmergeOne:function(t){t=t[0];var e=this._private,n=t._private.data.id,i=e.map.get(n);if(!i)return this;var r=i.index;return this.unmergeAt(r),this},unmerge:function(t){var e=this._private.cy;if(!t)return this;if(t&&m(t)){var n=t;t=e.mutableElements().filter(n);}for(var i=0;i<t.length;i++)this.unmergeOne(t[i]);return this},unmergeBy:function(t){for(var e=this.length-1;e>=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],i=this,r=0;r<i.length;r++){var a=i[r],o=e?t.apply(e,[a,r,i]):t(a,r,i);n.push(o);}return n},reduce:function(t,e){for(var n=e,i=this,r=0;r<i.length;r++)n=t(n,i[r],r,i);return n},max:function(t,e){for(var n,i=-1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s>i&&(i=s,n=o);}return {value:i,ele:n}},min:function(t,e){for(var n,i=1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s<i&&(i=s,n=o);}return {value:i,ele:n}}},Uc=Hc;Uc.u=Uc["|"]=Uc["+"]=Uc.union=Uc.or=Uc.add,Uc["\\"]=Uc["!"]=Uc["-"]=Uc.difference=Uc.relativeComplement=Uc.subtract=Uc.not,Uc.n=Uc["&"]=Uc["."]=Uc.and=Uc.intersection=Uc.intersect,Uc["^"]=Uc["(+)"]=Uc["(-)"]=Uc.symmetricDifference=Uc.symdiff=Uc.xor,Uc.fnFilter=Uc.filterFn=Uc.stdFilter=Uc.filter,Uc.complement=Uc.abscomp=Uc.absoluteComplement;var Gc,qc={isNode:function(){return "nodes"===this.group()},isEdge:function(){return "edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var t=this[0];if(t)return t._private.group}},Kc=function(t,e){var n=t.cy().hasCompoundNodes();function i(t){var e=t.pstyle("z-compound-depth");return "auto"===e.value?n?t.zDepth():0:"bottom"===e.value?-1:"top"===e.value?ve:0}var r=i(t)-i(e);if(0!==r)return r;function a(t){return "auto"===t.pstyle("z-index-compare").value&&t.isNode()?1:0}var o=a(t)-a(e);if(0!==o)return o;var s=t.pstyle("z-index").value-e.pstyle("z-index").value;return 0!==s?s:t.poolIndex()-e.poolIndex()},Yc={forEach:function(t,e){if(v(t))for(var n=this.length,i=0;i<n;i++){var r=this[i];if(!1===(e?t.apply(e,[r,i,this]):t(r,i,this)))break}return this},toArray:function(){for(var t=[],e=0;e<this.length;e++)t.push(this[e]);return t},slice:function(t,e){var n=[],i=this.length;null==e&&(e=i),null==t&&(t=0),t<0&&(t=i+t),e<0&&(e=i+e);for(var r=t;r>=0&&r<e&&r<i;r++)n.push(this[r]);return this.spawn(n)},size:function(){return this.length},eq:function(t){return this[t]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return !this.empty()},sort:function(t){if(!v(t))return this;var e=this.toArray().sort(t);return this.spawn(e)},sortByZIndex:function(){return this.sort(Kc)},zDepth:function(){var t=this[0];if(t){var e=t._private;if("nodes"===e.group){var n=e.data.parent?t.parents().size():0;return t.isParent()?n:ve-1}var i=e.source,r=e.target,a=i.zDepth(),o=r.zDepth();return Math.max(a,o,0)}}};Yc.each=Yc.forEach,Gc="undefined",("undefined"==typeof Symbol?"undefined":t(Symbol))!=Gc&&t(Symbol.iterator)!=Gc&&(Yc[Symbol.iterator]=function(){var t=this,e={value:void 0,done:!1},n=0,i=this.length;return a({next:function(){return n<i?e.value=t[n++]:(e.value=void 0,e.done=!0),e}},Symbol.iterator,(function(){return this}))});var Wc=Ne({nodeDimensionsIncludeLabels:!1}),Xc={layoutDimensions:function(t){var e;if(t=Wc(t),this.takesUpSpace())if(t.nodeDimensionsIncludeLabels){var n=this.boundingBox();e={w:n.w,h:n.h};}else e={w:this.outerWidth(),h:this.outerHeight()};else e={w:0,h:0};return 0!==e.w&&0!==e.h||(e.w=e.h=1),e},layoutPositions:function(t,e,n){var i=this.nodes().filter((function(t){return !t.isParent()})),r=this.cy(),a=e.eles,o=function(t){return t.id()},s=j(n,o);t.emit({type:"layoutstart",layout:t}),t.animations=[];var c=function(t,e,n){var i={x:e.x1+e.w/2,y:e.y1+e.h/2},r={x:(n.x-i.x)*t,y:(n.y-i.y)*t};return {x:i.x+r.x,y:i.y+r.y}},u=e.spacingFactor&&1!==e.spacingFactor,l=function(){if(!u)return null;for(var t=An(),e=0;e<i.length;e++){var n=i[e],r=s(n,e);Ln(t,r.x,r.y);}return t}(),h=j((function(t,n){var i=s(t,n);if(u){var r=Math.abs(e.spacingFactor);i=c(r,l,i);}return null!=e.transform&&(i=e.transform(t,i)),i}),o);if(e.animate){for(var f=0;f<i.length;f++){var d=i[f],g=h(d,f);if(null==e.animateFilter||e.animateFilter(d,f)){var p=d.animation({position:g,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(p);}else d.position(g);}if(e.fit){var b=r.animation({fit:{boundingBox:a.boundingBoxAt(h),padding:e.padding},duration:e.animationDuration,easing:e.animationEasing});t.animations.push(b);}else if(void 0!==e.zoom&&void 0!==e.pan){var w=r.animation({zoom:e.zoom,pan:e.pan,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(w);}t.animations.forEach((function(t){return t.play()})),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),$r.all(t.animations.map((function(t){return t.promise()}))).then((function(){t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});}));}else i.positions(h),e.fit&&r.fit(e.eles,e.padding),null!=e.zoom&&r.zoom(e.zoom),e.pan&&r.pan(e.pan),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});return this},layout:function(t){return this.cy().makeLayout(Q({},t,{eles:this}))}};function Vc(t,e,n){var i,r=n._private,a=r.styleCache=r.styleCache||[];return null!=(i=a[t])?i:i=a[t]=e(n)}function Zc(t,e){return t=ge(t),function(n){return Vc(t,e,n)}}function Qc(t,e){t=ge(t);var n=function(t){return e.call(t)};return function(){var e=this[0];if(e)return Vc(t,n,e)}}Xc.createLayout=Xc.makeLayout=Xc.layout;var Jc={recalculateRenderedStyle:function(t){var e=this.cy(),n=e.renderer(),i=e.styleEnabled();return n&&i&&n.recalculateRenderedStyle(this,t),this},dirtyStyleCache:function(){var t,e=this.cy(),n=function(t){return t._private.styleCache=null};return e.hasCompoundNodes()?((t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(n)):this.forEach((function(t){n(t),t.connectedEdges().forEach(n);})),this},updateStyle:function(t){var e=this._private.cy;if(!e.styleEnabled())return this;if(e.batching())return e._private.batchStyleEles.merge(this),this;var n=this;t=!(!t&&void 0!==t),e.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var i=n;return t?i.emitAndNotify("style"):i.emit("style"),n.forEach((function(t){return t._private.styleDirty=!0})),this},cleanStyle:function(){var t=this.cy();if(t.styleEnabled())for(var e=0;e<this.length;e++){var n=this[e];n._private.styleDirty&&(n._private.styleDirty=!1,t.style().apply(n));}},parsedStyle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],i=n.cy();if(i.styleEnabled()&&n){this.cleanStyle();var r=n._private.style[t];return null!=r?r:e?i.style().getDefaultProperty(t):null}},numericStyle:function(t){var e=this[0];if(e.cy().styleEnabled()&&e){var n=e.pstyle(t);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(t){var e=this[0];if(e.cy().styleEnabled())return e?e.pstyle(t).units:void 0},renderedStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=this[0];return n?e.style().getRenderedStyle(n,t):void 0},style:function(t,e){var n=this.cy();if(!n.styleEnabled())return this;var i=!1,r=n.style();if(k(t)){var a=t;r.applyBypass(this,a,i),this.emitAndNotify("style");}else if(m(t)){if(void 0===e){var o=this[0];return o?r.getStylePropertyValue(o,t):void 0}r.applyBypass(this,t,e,i),this.emitAndNotify("style");}else if(void 0===t){var s=this[0];return s?r.getRawStyle(s):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=!1,i=e.style(),r=this;if(void 0===t)for(var a=0;a<r.length;a++){var o=r[a];i.removeAllBypasses(o,n);}else {t=t.split(/\s+/);for(var s=0;s<r.length;s++){var c=r[s];i.removeBypasses(c,t,n);}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var t=this.cy();if(!t.styleEnabled())return 1;var e=t.hasCompoundNodes(),n=this[0];if(n){var i=n._private,r=n.pstyle("opacity").value;if(!e)return r;var a=i.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)r*=a[o].pstyle("opacity").value;return r}},transparent:function(){if(!this.cy().styleEnabled())return !1;var t=this[0],e=t.cy().hasCompoundNodes();return t?e?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){return !!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function tu(t,e){var n=t._private.data.parent?t.parents():null;if(n)for(var i=0;i<n.length;i++)if(!e(n[i]))return !1;return !0}function eu(t){var e=t.ok,n=t.edgeOkViaNode||t.ok,i=t.parentOk||t.ok;return function(){var t=this.cy();if(!t.styleEnabled())return !0;var r=this[0],a=t.hasCompoundNodes();if(r){var o=r._private;if(!e(r))return !1;if(r.isNode())return !a||tu(r,i);var s=o.source,c=o.target;return n(s)&&(!a||tu(s,n))&&(s===c||n(c)&&(!a||tu(c,n)))}}}var nu=Zc("eleTakesUpSpace",(function(t){return "element"===t.pstyle("display").value&&0!==t.width()&&(!t.isNode()||0!==t.height())}));Jc.takesUpSpace=Qc("takesUpSpace",eu({ok:nu}));var iu=Zc("eleInteractive",(function(t){return "yes"===t.pstyle("events").value&&"visible"===t.pstyle("visibility").value&&nu(t)})),ru=Zc("parentInteractive",(function(t){return "visible"===t.pstyle("visibility").value&&nu(t)}));Jc.interactive=Qc("interactive",eu({ok:iu,parentOk:ru,edgeOkViaNode:nu})),Jc.noninteractive=function(){var t=this[0];if(t)return !t.interactive()};var au=Zc("eleVisible",(function(t){return "visible"===t.pstyle("visibility").value&&0!==t.pstyle("opacity").pfValue&&nu(t)})),ou=nu;Jc.visible=Qc("visible",eu({ok:au,edgeOkViaNode:ou})),Jc.hidden=function(){var t=this[0];if(t)return !t.visible()},Jc.isBundledBezier=Qc("isBundledBezier",(function(){return !!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),Jc.bypass=Jc.css=Jc.style,Jc.renderedCss=Jc.renderedStyle,Jc.removeBypass=Jc.removeCss=Jc.removeStyle,Jc.pstyle=Jc.parsedStyle;var su={};function cu(t){return function(){var e=arguments,n=[];if(2===e.length){var i=e[0],r=e[1];this.on(t.event,i,r);}else if(1===e.length&&v(e[0])){var a=e[0];this.on(t.event,a);}else if(0===e.length||1===e.length&&x(e[0])){for(var o=1===e.length?e[0]:null,s=0;s<this.length;s++){var c=this[s],u=!t.ableField||c._private[t.ableField],l=c._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(c);if(void 0!==h&&(u=h,!h))return this}u&&(c._private[t.field]=t.value,l&&n.push(c));}var f=this.spawn(n);f.updateStyle(),f.emit(t.event),o&&f.emit(o);}return this}}function uu(t){su[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var n=t.overrideField(e);if(void 0!==n)return n}return e._private[t.field]}},su[t.on]=cu({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),su[t.off]=cu({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1});}uu({field:"locked",overrideField:function(t){return !!t.cy().autolock()||void 0},on:"lock",off:"unlock"}),uu({field:"grabbable",overrideField:function(t){return !t.cy().autoungrabify()&&!t.pannable()&&void 0},on:"grabify",off:"ungrabify"}),uu({field:"selected",ableField:"selectable",overrideAble:function(t){return !t.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),uu({field:"selectable",overrideField:function(t){return !t.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),su.deselect=su.unselect,su.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},uu({field:"active",on:"activate",off:"unactivate"}),uu({field:"pannable",on:"panify",off:"unpanify"}),su.inactive=function(){var t=this[0];if(t)return !t._private.active};var lu={},hu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode()){for(var o=!1,s=a.connectedEdges(),c=0;c<s.length;c++){var u=s[c],l=u.source(),h=u.target();if(t.noIncomingEdges&&h===a&&l!==a||t.noOutgoingEdges&&l===a&&h!==a){o=!0;break}}o||i.push(a);}}return this.spawn(i,!0).filter(e)}},fu=function(t){return function(e){for(var n=this,i=[],r=0;r<n.length;r++){var a=n[r];if(a.isNode())for(var o=a.connectedEdges(),s=0;s<o.length;s++){var c=o[s],u=c.source(),l=c.target();t.outgoing&&u===a?(i.push(c),i.push(l)):t.incoming&&l===a&&(i.push(c),i.push(u));}}return this.spawn(i,!0).filter(e)}},du=function(t){return function(e){for(var n=this,i=[],r={};;){var a=t.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var c=a[s],u=c.id();r[u]||(r[u]=!0,i.push(c),o=!0);}if(!o)break;n=a;}return this.spawn(i,!0).filter(e)}};function gu(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i]._private[t.attr];r&&n.push(r);}return this.spawn(n,!0).filter(e)}}function pu(t){return function(e){var n=[],i=this._private.cy,r=t||{};m(e)&&(e=i.$(e));for(var a=0;a<e.length;a++)for(var o=e[a]._private.edges,s=0;s<o.length;s++){var c=o[s],u=c._private.data,l=this.hasElementWithId(u.source)&&e.hasElementWithId(u.target),h=e.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(l||h){if(r.thisIsSrc||r.thisIsTgt){if(r.thisIsSrc&&!l)continue;if(r.thisIsTgt&&!h)continue}n.push(c);}}return this.spawn(n,!0)}}function bu(t){return t=Q({},{codirected:!1},t),function(e){for(var n=[],i=this.edges(),r=t,a=0;a<i.length;a++)for(var o=i[a]._private,s=o.source,c=s._private.data.id,u=o.data.target,l=s._private.edges,h=0;h<l.length;h++){var f=l[h],d=f._private.data,g=d.target,p=d.source,b=g===u&&p===c,w=c===g&&u===p;(r.codirected&&b||!r.codirected&&(b||w))&&n.push(f);}return this.spawn(n,!0).filter(e)}}lu.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null;},Q(lu,{roots:hu({noIncomingEdges:!0}),leaves:hu({noOutgoingEdges:!0}),outgoers:js(fu({outgoing:!0}),"outgoers"),successors:du({outgoing:!0}),incomers:js(fu({incoming:!0}),"incomers"),predecessors:du({incoming:!0})}),Q(lu,{neighborhood:js((function(t){for(var e=[],n=this.nodes(),i=0;i<n.length;i++)for(var r=n[i],a=r.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),u=s.target(),l=r===c?u:c;l.length>0&&e.push(l[0]),e.push(s[0]);}return this.spawn(e,!0).filter(t)}),"neighborhood"),closedNeighborhood:function(t){return this.neighborhood().add(this).filter(t)},openNeighborhood:function(t){return this.neighborhood(t)}}),lu.neighbourhood=lu.neighborhood,lu.closedNeighbourhood=lu.closedNeighborhood,lu.openNeighbourhood=lu.openNeighborhood,Q(lu,{source:js((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:js((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:gu({attr:"source"}),targets:gu({attr:"target"})}),Q(lu,{edgesWith:js(pu(),"edgesWith"),edgesTo:js(pu({thisIsSrc:!0}),"edgesTo")}),Q(lu,{connectedEdges:js((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];if(r.isNode())for(var a=r._private.edges,o=0;o<a.length;o++){var s=a[o];e.push(s);}}return this.spawn(e,!0).filter(t)}),"connectedEdges"),connectedNodes:js((function(t){for(var e=[],n=this,i=0;i<n.length;i++){var r=n[i];r.isEdge()&&(e.push(r.source()[0]),e.push(r.target()[0]));}return this.spawn(e,!0).filter(t)}),"connectedNodes"),parallelEdges:js(bu(),"parallelEdges"),codirectedEdges:js(bu({codirected:!0}),"codirectedEdges")}),Q(lu,{components:function(t){var e=this,n=e.cy(),i=n.collection(),r=null==t?e.nodes():t.nodes(),a=[];null!=t&&r.empty()&&(r=t.sources());var o=function(t,e){i.merge(t),r.unmerge(t),e.merge(t);};if(r.empty())return e.spawn();var s=function(){var t=n.collection();a.push(t);var i=r[0];o(i,t),e.bfs({directed:!1,roots:i,visit:function(e){return o(e,t)}}),t.forEach((function(n){n.connectedEdges().forEach((function(n){e.has(n)&&t.has(n.source())&&t.has(n.target())&&t.merge(n);}));}));};do{s();}while(r.length>0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),lu.componentsOf=lu.components;var wu=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==t){var r=new Fe,a=!1;if(e){if(e.length>0&&k(e[0])&&!A(e[0])){a=!0;for(var o=[],s=new Ue,c=0,u=e.length;c<u;c++){var l=e[c];null==l.data&&(l.data={});var h=l.data;if(null==h.id)h.id=Oe();else if(t.hasElementWithId(h.id)||s.has(h.id))continue;var f=new Ge(t,l,!1);o.push(f),s.add(h.id);}e=o;}}else e=[];this.length=0;for(var d=0,g=e.length;d<g;d++){var p=e[d][0];if(null!=p){var b=p._private.data.id;n&&r.has(b)||(n&&r.set(b,{index:this.length,ele:p}),this[this.length]=p,this.length++);}}this._private={eles:this,cy:t,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(t){this.lazyMap=t;},rebuildMap:function(){for(var t=this.lazyMap=new Fe,e=this.eles,n=0;n<e.length;n++){var i=e[n];t.set(i.id(),{index:n,ele:i});}}},n&&(this._private.map=r),a&&!i&&this.restore();}else Te("A collection must have a reference to the core");},yu=Ge.prototype=wu.prototype=Object.create(Array.prototype);yu.instanceString=function(){return "collection"},yu.spawn=function(t,e){return new wu(this.cy(),t,e)},yu.spawnSelf=function(){return this.spawn(this)},yu.cy=function(){return this._private.cy},yu.renderer=function(){return this._private.cy.renderer()},yu.element=function(){return this[0]},yu.collection=function(){return M(this)?this:new wu(this._private.cy,[this])},yu.unique=function(){return new wu(this._private.cy,this,!0)},yu.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},yu.getElementById=function(t){t=""+t;var e=this._private.cy,n=this._private.map.get(t);return n?n.ele:new wu(e)},yu.$id=yu.getElementById,yu.poolIndex=function(){var t=this._private.cy._private.elements,e=this[0]._private.data.id;return t._private.map.get(e).index},yu.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},yu.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},yu.json=function(t){var e=this.element(),n=this.cy();if(null==e&&t)return this;if(null!=e){var i=e._private;if(k(t)){if(n.startBatch(),t.data){e.data(t.data);var r=i.data;if(e.isEdge()){var a=!1,o={},s=t.data.source,c=t.data.target;null!=s&&s!=r.source&&(o.source=""+s,a=!0),null!=c&&c!=r.target&&(o.target=""+c,a=!0),a&&(e=e.move(o));}else {var u="parent"in t.data,l=t.data.parent;!u||null==l&&null==r.parent||l==r.parent||(void 0===l&&(l=null),null!=l&&(l=""+l),e=e.move({parent:l}));}}t.position&&e.position(t.position);var h=function(n,r,a){var o=t[n];null!=o&&o!==i[n]&&(o?e[r]():e[a]());};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=t.classes&&e.classes(t.classes),n.endBatch(),this}if(void 0===t){var f={data:Me(i.data),position:Me(i.position),group:i.group,removed:i.removed,selected:i.selected,selectable:i.selectable,locked:i.locked,grabbable:i.grabbable,pannable:i.pannable,classes:null};f.classes="";var d=0;return i.classes.forEach((function(t){return f.classes+=0==d++?t:" "+t})),f}}},yu.jsons=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e].json();t.push(n);}return t},yu.clone=function(){for(var t=this.cy(),e=[],n=0;n<this.length;n++){var i=this[n].json(),r=new Ge(t,i,!1);e.push(r);}return new wu(t,e)},yu.copy=yu.clone,yu.restore=function(){for(var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),o=a._private,s=[],c=[],u=0,l=r.length;u<l;u++){var h=r[u];i&&!h.removed()||(h.isNode()?s.push(h):c.push(h));}t=s.concat(c);var f=function(){t.splice(e,1),e--;};for(e=0;e<t.length;e++){var d=t[e],g=d._private,p=g.data;if(d.clearTraversalCache(),i||g.removed)if(void 0===p.id)p.id=Oe();else if(E(p.id))p.id=""+p.id;else {if(D(p.id)||!m(p.id)){Te("Can not create element with invalid string ID `"+p.id+"`"),f();continue}if(a.hasElementWithId(p.id)){Te("Can not create second element with ID `"+p.id+"`"),f();continue}}var b=p.id;if(d.isNode()){var w=g.position;null==w.x&&(w.x=0),null==w.y&&(w.y=0);}if(d.isEdge()){for(var y=d,v=["source","target"],x=v.length,k=!1,_=0;_<x;_++){var T=v[_],C=p[T];E(C)&&(C=p[T]=""+p[T]),null==C||""===C?(Te("Can not create edge `"+b+"` with unspecified "+T),k=!0):a.hasElementWithId(C)||(Te("Can not create edge `"+b+"` with nonexistant "+T+" `"+C+"`"),k=!0);}if(k){f();continue}var S=a.getElementById(p.source),A=a.getElementById(p.target);S.same(A)?S._private.edges.push(y):(S._private.edges.push(y),A._private.edges.push(y)),y._private.source=S,y._private.target=A;}g.map=new Fe,g.map.set(b,{ele:d,index:0}),g.removed=!1,i&&a.addToPool(d);}for(var M=0;M<s.length;M++){var I=s[M],O=I._private.data;E(O.parent)&&(O.parent=""+O.parent);var L=O.parent;if(null!=L||I._private.parent){var N=I._private.parent?a.collection().merge(I._private.parent):a.getElementById(L);if(N.empty())O.parent=void 0;else if(N[0].removed())Se("Node added with missing parent, reference to parent removed"),O.parent=void 0,I._private.parent=null;else {for(var P=!1,B=N;!B.empty();){if(I.same(B)){P=!0,O.parent=void 0;break}B=B.parent();}P||(N[0]._private.children.push(I),I._private.parent=N[0],o.hasCompoundNodes=!0);}}}if(t.length>0){for(var R=t.length===r.length?r:new wu(a,t),j=0;j<R.length;j++){var $=R[j];$.isNode()||($.parallelEdges().clearTraversalCache(),$.source().clearTraversalCache(),$.target().clearTraversalCache());}(o.hasCompoundNodes?a.collection().merge(R).merge(R.connectedNodes()).merge(R.parent()):R).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?R.emitAndNotify("add"):i&&R.emit("add");}return r},yu.removed=function(){var t=this[0];return t&&t._private.removed},yu.inside=function(){var t=this[0];return t&&!t._private.removed},yu.remove=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=[],r={},a=n._private.cy;function o(t){for(var e=t._private.edges,n=0;n<e.length;n++)c(e[n]);}function s(t){for(var e=t._private.children,n=0;n<e.length;n++)c(e[n]);}function c(t){var n=r[t.id()];e&&t.removed()||n||(r[t.id()]=!0,t.isNode()?(i.push(t),o(t),s(t)):i.unshift(t));}for(var u=0,l=n.length;u<l;u++)c(n[u]);function h(t,e){var n=t._private.edges;Pe(n,e),t.clearTraversalCache();}function f(t){t.clearTraversalCache();}var d=[];function g(t,e){e=e[0];var n=(t=t[0])._private.children,i=t.id();Pe(n,e),e._private.parent=null,d.ids[i]||(d.ids[i]=!0,d.push(t));}d.ids={},n.dirtyCompoundBoundsCache(),e&&a.removeFromPool(i);for(var p=0;p<i.length;p++){var b=i[p];if(b.isEdge()){var w=b.source()[0],y=b.target()[0];h(w,b),h(y,b);for(var m=b.parallelEdges(),v=0;v<m.length;v++){var x=m[v];f(x),x.isBundledBezier()&&x.dirtyBoundingBoxCache();}}else {var k=b.parent();0!==k.length&&g(k,b);}e&&(b._private.removed=!0);}var _=a._private.elements;a._private.hasCompoundNodes=!1;for(var E=0;E<_.length;E++)if(_[E].isParent()){a._private.hasCompoundNodes=!0;break}var T=new wu(this.cy(),i);T.size()>0&&(t?T.emitAndNotify("remove"):e&&T.emit("remove"));for(var C=0;C<d.length;C++){var S=d[C];e&&S.removed()||S.updateStyle();}return T},yu.move=function(t){var e=this._private.cy,n=this,i=!1,r=!1,a=function(t){return null==t?t:""+t};if(void 0!==t.source||void 0!==t.target){var o=a(t.source),s=a(t.target),c=null!=o&&e.hasElementWithId(o),u=null!=s&&e.hasElementWithId(s);(c||u)&&(e.batch((function(){n.remove(i,r),n.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var e=n[t],a=e._private.data;e.isEdge()&&(c&&(a.source=o),u&&(a.target=s));}n.restore(i,r);})),n.emitAndNotify("move"));}else if(void 0!==t.parent){var l=a(t.parent);if(null===l||e.hasElementWithId(l)){var h=null===l?void 0:l;e.batch((function(){var t=n.remove(i,r);t.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var a=n[e],o=a._private.data;a.isNode()&&(o.parent=h);}t.restore(i,r);})),n.emitAndNotify("move");}}return this},[Mr,ls,hs,Ps,$s,Ks,Ys,Tc,zc,Hc,qc,Yc,Xc,Jc,su,lu].forEach((function(t){Q(yu,t);}));var mu={add:function(t){var e,n=this;if(S(t)){var i=t;if(i._private.cy===n)e=i.restore();else {for(var r=[],a=0;a<i.length;a++){var o=i[a];r.push(o.json());}e=new wu(n,r);}}else if(x(t))e=new wu(n,t);else if(k(t)&&(x(t.nodes)||x(t.edges))){for(var s=t,c=[],u=["nodes","edges"],l=0,h=u.length;l<h;l++){var f=u[l],d=s[f];if(x(d))for(var g=0,p=d.length;g<p;g++){var b=Q({group:f},d[g]);c.push(b);}}e=new wu(n,c);}else e=new Ge(n,t).collection();return e},remove:function(t){if(S(t));else if(m(t)){var e=t;t=this.$(e);}return t.remove()}};function vu(t,e,n,i){var r=4,a=.001,o=1e-7,s=10,c=11,u=1/(c-1),l="undefined"!=typeof Float32Array;if(4!==arguments.length)return !1;for(var h=0;h<4;++h)if("number"!=typeof arguments[h]||isNaN(arguments[h])||!isFinite(arguments[h]))return !1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var f=l?new Float32Array(c):new Array(c);function d(t,e){return 1-3*e+3*t}function g(t,e){return 3*e-6*t}function p(t){return 3*t}function b(t,e,n){return ((d(e,n)*t+g(e,n))*t+p(e))*t}function w(t,e,n){return 3*d(e,n)*t*t+2*g(e,n)*t+p(e)}function y(e,i){for(var a=0;a<r;++a){var o=w(i,t,n);if(0===o)return i;i-=(b(i,t,n)-e)/o;}return i}function m(){for(var e=0;e<c;++e)f[e]=b(e*u,t,n);}function v(e,i,r){var a,c,u=0;do{(a=b(c=i+(r-i)/2,t,n)-e)>0?r=c:i=c;}while(Math.abs(a)>o&&++u<s);return c}function x(e){for(var i=0,r=1,o=c-1;r!==o&&f[r]<=e;++r)i+=u;--r;var s=i+(e-f[r])/(f[r+1]-f[r])*u,l=w(s,t,n);return l>=a?y(e,s):0===l?s:v(e,i,i+u)}var k=!1;function _(){k=!0,t===e&&n===i||m();}var E=function(r){return k||_(),t===e&&n===i?r:0===r?0:1===r?1:b(x(r),e,i)};E.getControlPoints=function(){return [{x:t,y:e},{x:n,y:i}]};var T="generateBezier("+[t,e,n,i]+")";return E.toString=function(){return T},E}var xu=function(){function t(t){return -t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return {dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},a=e(n,.5*i,r),o=e(n,.5*i,a),s=e(n,i,o),c=1/6*(r.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(r.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function t(e,i,r){var a,o,s,c={x:-1,v:0,tension:null,friction:null},u=[0],l=0,h=1e-4,f=.016;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,c.tension=e,c.friction=i,o=(a=null!==r)?(l=t(e,i))/r*f:f;s=n(s||c,o),u.push(1+s.x),l+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return u[t*(u.length-1)|0]}:l}}(),ku=function(t,e,n,i){var r=vu(t,e,n,i);return function(t,e,n){return t+(e-t)*r(n)}},_u={linear:function(t,e,n){return t+(e-t)*n},ease:ku(.25,.1,.25,1),"ease-in":ku(.42,0,1,1),"ease-out":ku(0,0,.58,1),"ease-in-out":ku(.42,0,.58,1),"ease-in-sine":ku(.47,0,.745,.715),"ease-out-sine":ku(.39,.575,.565,1),"ease-in-out-sine":ku(.445,.05,.55,.95),"ease-in-quad":ku(.55,.085,.68,.53),"ease-out-quad":ku(.25,.46,.45,.94),"ease-in-out-quad":ku(.455,.03,.515,.955),"ease-in-cubic":ku(.55,.055,.675,.19),"ease-out-cubic":ku(.215,.61,.355,1),"ease-in-out-cubic":ku(.645,.045,.355,1),"ease-in-quart":ku(.895,.03,.685,.22),"ease-out-quart":ku(.165,.84,.44,1),"ease-in-out-quart":ku(.77,0,.175,1),"ease-in-quint":ku(.755,.05,.855,.06),"ease-out-quint":ku(.23,1,.32,1),"ease-in-out-quint":ku(.86,0,.07,1),"ease-in-expo":ku(.95,.05,.795,.035),"ease-out-expo":ku(.19,1,.22,1),"ease-in-out-expo":ku(1,0,0,1),"ease-in-circ":ku(.6,.04,.98,.335),"ease-out-circ":ku(.075,.82,.165,1),"ease-in-out-circ":ku(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return _u.linear;var i=xu(t,e,n);return function(t,e,n){return t+(e-t)*i(n)}},"cubic-bezier":ku};function Eu(t,e,n,i,r){if(1===i)return n;if(e===n)return n;var a=r(e,n,i);return null==t||((t.roundValue||t.color)&&(a=Math.round(a)),void 0!==t.min&&(a=Math.max(a,t.min)),void 0!==t.max&&(a=Math.min(a,t.max))),a}function Tu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Cu(t,e,n,i,r){var a=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var o=Tu(t,r),s=Tu(e,r);if(E(o)&&E(s))return Eu(a,o,s,n,i);if(x(o)&&x(s)){for(var c=[],u=0;u<s.length;u++){var l=o[u],h=s[u];if(null!=l&&null!=h){var f=Eu(a,l,h,n,i);c.push(f);}else c.push(h);}return c}}function Su(t,e,n,i){var r=!i,a=t._private,o=e._private,s=o.easing,c=o.startTime,u=(i?t:t.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=_u.linear;else {var l,h,f;l=m(s)?u.parse("transition-timing-function",s).value:s,m(l)?(h=l,f=[]):(h=l[1],f=l.slice(2).map((function(t){return +t}))),f.length>0?("spring"===h&&f.push(o.duration),o.easingImpl=_u[h].apply(null,f)):o.easingImpl=_u[h];}var d,g=o.easingImpl;if(d=0===o.duration?1:(n-c)/o.duration,o.applying&&(d=o.progress),d<0?d=0:d>1&&(d=1),null==o.delay){var p=o.startPosition,b=o.position;if(b&&r&&!t.locked()){var w={};Au(p.x,b.x)&&(w.x=Cu(p.x,b.x,d,g)),Au(p.y,b.y)&&(w.y=Cu(p.y,b.y,d,g)),t.position(w);}var y=o.startPan,v=o.pan,x=a.pan,k=null!=v&&i;k&&(Au(y.x,v.x)&&(x.x=Cu(y.x,v.x,d,g)),Au(y.y,v.y)&&(x.y=Cu(y.y,v.y,d,g)),t.emit("pan"));var _=o.startZoom,E=o.zoom,T=null!=E&&i;T&&(Au(_,E)&&(a.zoom=Sn(a.minZoom,Cu(_,E,d,g),a.maxZoom)),t.emit("zoom")),(k||T)&&t.emit("viewport");var C=o.style;if(C&&C.length>0&&r){for(var S=0;S<C.length;S++){var A=C[S],M=A.name,I=A,O=o.startStyle[M],L=Cu(O,I,d,g,u.properties[O.name]);u.overrideBypass(t,M,L);}t.emit("style");}}return o.progress=d,d}function Au(t,e){return !(null==t||null==e||!(E(t)&&E(e)||t&&e))}function Mu(t,e,n,i){var r=e._private;r.started=!0,r.startTime=n-r.progress*r.duration;}function Iu(t,e){var n=e._private.aniEles,i=[];function r(e,n){var r=e._private,a=r.animation.current,o=r.animation.queue,s=!1;if(0===a.length){var c=o.shift();c&&a.push(c);}for(var u=function(t){for(var e=t.length-1;e>=0;e--)(0, t[e])();t.splice(0,t.length);},l=a.length-1;l>=0;l--){var h=a[l],f=h._private;f.stopped?(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.frames)):(f.playing||f.applying)&&(f.playing&&f.applying&&(f.applying=!1),f.started||Mu(e,h,t),Su(e,h,t,n),f.applying&&(f.applying=!1),u(f.frames),null!=f.step&&f.step(t),h.completed()&&(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.completes)),s=!0);}return n||0!==a.length||0!==o.length||i.push(e),s}for(var a=!1,o=0;o<n.length;o++){var s=r(n[o]);a=a||s;}var c=r(e,!0);(a||c)&&(n.length>0?e.notify("draw",n):e.notify("draw")),n.unmerge(i),e.emit("step");}var Ou={animate:us.animate(),animation:us.animation(),animated:us.animated(),clearQueue:us.clearQueue(),delay:us.delay(),delayAnimation:us.delayAnimation(),stop:us.stop(),addToAnimationPool:function(t){var e=this;e.styleEnabled()&&e._private.aniEles.merge(t);},stopAnimationLoop:function(){this._private.animationsRunning=!1;},startAnimationLoop:function(){var t=this;if(t._private.animationsRunning=!0,t.styleEnabled()){var e=t.renderer();e&&e.beforeRender?e.beforeRender((function(e,n){Iu(n,t);}),e.beforeRenderPriorities.animations):n();}function n(){t._private.animationsRunning&&ne((function(e){Iu(e,t),n();}));}}},Lu={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&A(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t,e.target=t;},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t}},Du=function(t){return m(t)?new Ds(t):t},Nu={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new Nc(Lu,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,Du(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,Du(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,Du(e),n),this},once:function(t,e,n){return this.emitter().one(t,Du(e),n),this},emit:function(t,e){return this.emitter().emit(t,e),this},emitAndNotify:function(t,e){return this.emit(t),this.notify(t,e),this}};us.eventAliasesOn(Nu);var Pu={png:function(t){return t=t||{},this._private.renderer.png(t)},jpg:function(t){var e=this._private.renderer;return (t=t||{}).bg=t.bg||"#fff",e.jpg(t)}};Pu.jpeg=Pu.jpg;var Bu={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n,i=t.name,r=e.extension("layout",i);if(null!=r)return n=m(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$(),new r(Q({},t,{cy:e,eles:n}));Te("No such layout `"+i+"` found. Did you forget to import it and `cytoscape.use()` it?");}else Te("A `name` must be specified to make a layout");else Te("Layout options must be specified to make a layout");}};Bu.createLayout=Bu.makeLayout=Bu.layout;var Ru={notify:function(t,e){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[t]=n.batchNotifications[t]||this.collection();null!=e&&i.merge(e);}else if(n.notificationsEnabled){var r=this.renderer();!this.destroyed()&&r&&r.notify(t,e);}},notifications:function(t){var e=this._private;return void 0===t?e.notificationsEnabled:(e.notificationsEnabled=!!t,this)},noNotifications:function(t){this.notifications(!1),t(),this.notifications(!0);},batching:function(){return this._private.batchCount>0},startBatch:function(){var t=this._private;return null==t.batchCount&&(t.batchCount=0),0===t.batchCount&&(t.batchStyleEles=this.collection(),t.batchNotifications={}),t.batchCount++,this},endBatch:function(){var t=this._private;if(0===t.batchCount)return this;if(t.batchCount--,0===t.batchCount){t.batchStyleEles.updateStyle();var e=this.renderer();Object.keys(t.batchNotifications).forEach((function(n){var i=t.batchNotifications[n];i.empty()?e.notify(n):e.notify(n,i);}));}return this},batch:function(t){return this.startBatch(),t(),this.endBatch(),this},batchData:function(t){var e=this;return this.batch((function(){for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i],a=t[r];e.getElementById(r).data(a);}}))}},ju=Ne({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),$u={renderTo:function(t,e,n,i){return this._private.renderer.renderTo(t,e,n,i),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(t){var e=this,n=e.extension("renderer",t.name);if(null!=n){void 0!==t.wheelSensitivity&&Se("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var i=ju(t);i.cy=e,e._private.renderer=new n(i),this.notify("init");}else Te("Can not initialise: No such renderer `".concat(t.name,"` found. Did you forget to import it and `cytoscape.use()` it?"));},destroyRenderer:function(){var t=this;t.notify("destroy");var e=t.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);t._private.renderer=null,t.mutableElements().forEach((function(t){var e=t._private;e.rscratch={},e.rstyle={},e.animation.current=[],e.animation.queue=[];}));},onRender:function(t){return this.on("render",t)},offRender:function(t){return this.off("render",t)}};$u.invalidateDimensions=$u.resize;var Fu={collection:function(t,e){return m(t)?this.$(t):S(t)?t.collection():x(t)?(e||(e={}),new wu(this,t,e.unique,e.removed)):new wu(this)},nodes:function(t){var e=this.$((function(t){return t.isNode()}));return t?e.filter(t):e},edges:function(t){var e=this.$((function(t){return t.isEdge()}));return t?e.filter(t):e},$:function(t){var e=this._private.elements;return t?e.filter(t):e.spawnSelf()},mutableElements:function(){return this._private.elements}};Fu.elements=Fu.filter=Fu.$;var zu={},Hu="t",Uu="f";zu.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i<t.length;i++){var r=t[i],a=e.getContextMeta(r);if(!a.empty){var o=e.getContextStyle(a),s=e.applyContextStyle(a,o,r);r._private.appliedInitStyle?e.updateTransitions(r,s.diffProps):r._private.appliedInitStyle=!0,e.updateStyleHints(r)&&n.push(r);}}return n},zu.getPropertiesDiff=function(t,e){var n=this,i=n._private.propDiffs=n._private.propDiffs||{},r=t+"-"+e,a=i[r];if(a)return a;for(var o=[],s={},c=0;c<n.length;c++){var u=n[c],l=t[c]===Hu,h=e[c]===Hu,f=l!==h,d=u.mappedProperties.length>0;if(f||h&&d){var g=void 0;f&&d||f?g=u.properties:d&&(g=u.mappedProperties);for(var p=0;p<g.length;p++){for(var b=g[p],w=b.name,y=!1,m=c+1;m<n.length;m++){var v=n[m];if(e[m]===Hu&&(y=null!=v.properties[b.name]))break}s[w]||y||(s[w]=!0,o.push(w));}}}return i[r]=o,o},zu.getContextMeta=function(t){for(var e,n=this,i="",r=t._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];i+=o.selector&&o.selector.matches(t)?Hu:Uu;}return e=n.getPropertiesDiff(r,i),t._private.styleCxtKey=i,{key:i,diffPropNames:e,empty:0===e.length}},zu.getContextStyle=function(t){var e=t.key,n=this,i=this._private.contextStyles=this._private.contextStyles||{};if(i[e])return i[e];for(var r={_private:{key:e}},a=0;a<n.length;a++){var o=n[a];if(e[a]===Hu)for(var s=0;s<o.properties.length;s++){var c=o.properties[s];r[c.name]=c;}}return i[e]=r,r},zu.applyContextStyle=function(t,e,n){for(var i=this,r=t.diffPropNames,a={},o=i.types,s=0;s<r.length;s++){var c=r[s],u=e[c],l=n.pstyle(c);if(!u){if(!l)continue;u=l.bypass?{name:c,deleteBypassed:!0}:{name:c,delete:!0};}if(l!==u){if(u.mapped===o.fn&&null!=l&&null!=l.mapping&&l.mapping.value===u.value){var h=l.mapping;if((h.fnValue=u.value(n))===h.prevFnValue)continue}var f=a[c]={prev:l};i.applyParsedProperty(n,u),f.next=n.pstyle(c),f.next&&f.next.bypass&&(f.next=f.next.bypassed);}}return {diffProps:a}},zu.updateStyleHints=function(t){var e=t._private,n=this,i=n.propertyGroupNames,r=n.propertyGroupKeys,a=function(t,e,i){return n.getPropertiesHash(t,e,i)},o=e.styleKey;if(t.removed())return !1;var s="nodes"===e.group,c=t._private.style;i=Object.keys(c);for(var u=0;u<r.length;u++){var l=r[u];e.styleKeys[l]=[re,oe];}for(var h=function(t,n){return e.styleKeys[n][0]=ce(t,e.styleKeys[n][0])},f=function(t,n){return e.styleKeys[n][1]=ue(t,e.styleKeys[n][1])},d=function(t,e){h(t,e),f(t,e);},g=function(t,e){for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);h(i,e),f(i,e);}},p=2e9,b=function(t){return -128<t&&t<128&&Math.floor(t)!==t?p-(1024*t|0):t},w=0;w<i.length;w++){var y=i[w],m=c[y];if(null!=m){var v=this.properties[y],x=v.type,k=v.groupKey,_=void 0;null!=v.hashOverride?_=v.hashOverride(t,m):null!=m.pfValue&&(_=m.pfValue);var E=null==v.enums?m.value:null,T=null!=_,C=T||null!=E,S=m.units;x.number&&C&&!x.multiple?(d(b(T?_:E),k),T||null==S||g(S,k)):g(m.strValue,k);}}for(var A=[re,oe],M=0;M<r.length;M++){var I=r[M],O=e.styleKeys[I];A[0]=ce(O[0],A[0]),A[1]=ue(O[1],A[1]);}e.styleKey=le(A[0],A[1]);var L=e.styleKeys;e.labelDimsKey=he(L.labelDimensions);var D=a(t,["label"],L.labelDimensions);if(e.labelKey=he(D),e.labelStyleKey=he(fe(L.commonLabel,D)),!s){var N=a(t,["source-label"],L.labelDimensions);e.sourceLabelKey=he(N),e.sourceLabelStyleKey=he(fe(L.commonLabel,N));var P=a(t,["target-label"],L.labelDimensions);e.targetLabelKey=he(P),e.targetLabelStyleKey=he(fe(L.commonLabel,P));}if(s){var B=e.styleKeys,R=B.nodeBody,j=B.nodeBorder,$=B.backgroundImage,F=B.compound,z=B.pie,H=[R,j,$,F,z].filter((function(t){return null!=t})).reduce(fe,[re,oe]);e.nodeKey=he(H),e.hasPie=null!=z&&z[0]!==re&&z[1]!==oe;}return o!==e.styleKey},zu.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null;},zu.applyParsedProperty=function(t,e){var n,i=this,r=e,a=t._private.style,o=i.types,s=i.properties[r.name].type,c=r.bypass,u=a[r.name],l=u&&u.bypass,h=t._private,f="mapping",d=function(t){return null==t?null:null!=t.pfValue?t.pfValue:t.value},g=function(){var e=d(u),n=d(r);i.checkTriggers(t,r.name,e,n);};if(r&&"pie"===r.name.substr(0,3)&&Se("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===e.name&&t.isEdge()&&("bezier"!==e.value&&t.isLoop()||"haystack"===e.value&&(t.source().isParent()||t.target().isParent()))&&(r=e=this.parse(e.name,"bezier",c)),r.delete)return a[r.name]=void 0,g(),!0;if(r.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,g(),!0):(g(),!0);if(r.deleteBypass)return u?!!u.bypass&&(a[r.name]=u.bypassed,g(),!0):(g(),!0);var p=function(){Se("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+r.name+"` with data field `"+r.field+"`); try a `["+r.field+"]` selector to limit scope to elements with `"+r.field+"` defined");};switch(r.mapped){case o.mapData:for(var b,w=r.field.split("."),y=h.data,m=0;m<w.length&&y;m++)y=y[w[m]];if(null==y)return p(),!1;if(!E(y))return Se("Do not use continuous mappers without specifying numeric data (i.e. `"+r.field+": "+y+"` for `"+t.id()+"` is non-numeric)"),!1;var v=r.fieldMax-r.fieldMin;if((b=0===v?0:(y-r.fieldMin)/v)<0?b=0:b>1&&(b=1),s.color){var x=r.valueMin[0],k=r.valueMax[0],_=r.valueMin[1],T=r.valueMax[1],C=r.valueMin[2],S=r.valueMax[2],A=null==r.valueMin[3]?1:r.valueMin[3],M=null==r.valueMax[3]?1:r.valueMax[3],I=[Math.round(x+(k-x)*b),Math.round(_+(T-_)*b),Math.round(C+(S-C)*b),Math.round(A+(M-A)*b)];n={bypass:r.bypass,name:r.name,value:I,strValue:"rgb("+I[0]+", "+I[1]+", "+I[2]+")"};}else {if(!s.number)return !1;var O=r.valueMin+(r.valueMax-r.valueMin)*b;n=this.parse(r.name,O,r.bypass,f);}if(!n)return p(),!1;n.mapping=r,r=n;break;case o.data:for(var L=r.field.split("."),D=h.data,N=0;N<L.length&&D;N++)D=D[L[N]];if(null!=D&&(n=this.parse(r.name,D,r.bypass,f)),!n)return p(),!1;n.mapping=r,r=n;break;case o.fn:var P=r.value,B=null!=r.fnValue?r.fnValue:P(t);if(r.prevFnValue=B,null==B)return Se("Custom function mappers may not return null (i.e. `"+r.name+"` for ele `"+t.id()+"` is null)"),!1;if(!(n=this.parse(r.name,B,r.bypass,f)))return Se("Custom function mappers may not return invalid values for the property type (i.e. `"+r.name+"` for ele `"+t.id()+"` is invalid)"),!1;n.mapping=Me(r),r=n;break;case void 0:break;default:return !1}return c?(r.bypassed=l?u.bypassed:u,a[r.name]=r):l?u.bypassed=r:a[r.name]=r,g(),!0},zu.cleanElements=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(this.clearStyleHints(i),i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),e)for(var r=i._private.style,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o],c=r[s];null!=c&&(c.bypass?c.bypassed=null:r[s]=null);}else i._private.style={};}},zu.update=function(){this._private.cy.mutableElements().updateStyle();},zu.updateTransitions=function(t,e){var n=this,i=t._private,r=t.pstyle("transition-property").value,a=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(r.length>0&&a>0){for(var s={},c=!1,u=0;u<r.length;u++){var l=r[u],h=t.pstyle(l),f=e[l];if(f){var d=f.prev,g=null!=f.next?f.next:h,p=!1,b=void 0,w=1e-6;d&&(E(d.pfValue)&&E(g.pfValue)?(p=g.pfValue-d.pfValue,b=d.pfValue+w*p):E(d.value)&&E(g.value)?(p=g.value-d.value,b=d.value+w*p):x(d.value)&&x(g.value)&&(p=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],b=d.strValue),p&&(s[l]=g.strValue,this.applyBypass(t,l,b),c=!0));}}if(!c)return;i.transitioning=!0,new $r((function(e){o>0?t.delayAnimation(o).play().promise().then(e):e();})).then((function(){return t.animation({style:s,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1;}));}else i.transitioning&&(this.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1);},zu.checkTrigger=function(t,e,n,i,r,a){var o=this.properties[e],s=r(o);null!=s&&s(n,i)&&a(o);},zu.checkZOrderTrigger=function(t,e,n,i){var r=this;this.checkTrigger(t,e,n,i,(function(t){return t.triggersZOrder}),(function(){r._private.cy.notify("zorder",t);}));},zu.checkBoundsTrigger=function(t,e,n,i){this.checkTrigger(t,e,n,i,(function(t){return t.triggersBounds}),(function(r){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),!r.triggersBoundsOfParallelBeziers||("curve-style"!==e||"bezier"!==n&&"bezier"!==i)&&("display"!==e||"none"!==n&&"none"!==i)||t.parallelEdges().forEach((function(t){t.isBundledBezier()&&t.dirtyBoundingBoxCache();}));}));},zu.checkTriggers=function(t,e,n,i){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,i),this.checkBoundsTrigger(t,e,n,i);};var Gu={applyBypass:function(t,e,n,i){var r=this,a=[],o=!0;if("*"===e||"**"===e){if(void 0!==n)for(var s=0;s<r.properties.length;s++){var c=r.properties[s].name,u=this.parse(c,n,!0);u&&a.push(u);}}else if(m(e)){var l=this.parse(e,n,!0);l&&a.push(l);}else {if(!k(e))return !1;var h=e;i=n;for(var f=Object.keys(h),d=0;d<f.length;d++){var g=f[d],p=h[g];if(void 0===p&&(p=h[F(g)]),void 0!==p){var b=this.parse(g,p,!0);b&&a.push(b);}}}if(0===a.length)return !1;for(var w=!1,y=0;y<t.length;y++){for(var v=t[y],x={},_=void 0,E=0;E<a.length;E++){var T=a[E];if(i){var C=v.pstyle(T.name);_=x[T.name]={prev:C};}w=this.applyParsedProperty(v,Me(T))||w,i&&(_.next=v.pstyle(T.name));}w&&this.updateStyleHints(v),i&&this.updateTransitions(v,x,o);}return w},overrideBypass:function(t,e,n){e=$(e);for(var i=0;i<t.length;i++){var r=t[i],a=r._private.style[e],o=this.properties[e].type,s=o.color,c=o.mutiple,u=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.updateStyleHints(r)):this.applyBypass(r,e,n),this.checkTriggers(r,e,u,n);}},removeAllBypasses:function(t,e){return this.removeBypasses(t,this.propertyNames,e)},removeBypasses:function(t,e,n){for(var i=!0,r=0;r<t.length;r++){for(var a=t[r],o={},s=0;s<e.length;s++){var c=e[s],u=this.properties[c],l=a.pstyle(u.name);if(l&&l.bypass){var h="",f=this.parse(c,h,!0),d=o[u.name]={prev:l};this.applyParsedProperty(a,f),d.next=a.pstyle(u.name);}}this.updateStyleHints(a),n&&this.updateTransitions(a,o,i);}}},qu={getEmSizeInPixels:function(){var t=this.containerCss("font-size");return null!=t?parseFloat(t):1},containerCss:function(t){var e=this._private.cy.container();if(f&&e&&f.getComputedStyle)return f.getComputedStyle(e).getPropertyValue(t)}},Ku={getRenderedStyle:function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},getRawStyle:function(t,e){var n=this;if(t=t[0]){for(var i={},r=0;r<n.properties.length;r++){var a=n.properties[r],o=n.getStylePropertyValue(t,a.name,e);null!=o&&(i[a.name]=o,i[F(a.name)]=o);}return i}},getIndexedStyle:function(t,e,n,i){var r=t.pstyle(e)[n][i];return null!=r?r:t.cy().style().getDefaultProperty(e)[n][0]},getStylePropertyValue:function(t,e,n){var i=this;if(t=t[0]){var r=i.properties[e];r.alias&&(r=r.pointsTo);var a=r.type,o=t.pstyle(r.name);if(o){var s=o.value,c=o.units,u=o.strValue;if(n&&a.number&&null!=s&&E(s)){var l=t.cy().zoom(),h=function(t){return t*l},f=function(t,e){return h(t)+e},d=x(s);return (d?c.every((function(t){return null!=t})):null!=c)?d?s.map((function(t,e){return f(t,c[e])})).join(" "):f(s,c):d?s.map((function(t){return m(t)?t:""+h(t)})).join(" "):""+h(s)}if(null!=u)return u}return null}},getAnimationStartStyle:function(t,e){for(var n={},i=0;i<e.length;i++){var r=e[i].name,a=t.pstyle(r);void 0!==a&&(a=k(a)?this.parse(r,a.strValue):this.parse(r,a)),a&&(n[r]=a);}return n},getPropsList:function(t){var e=[],n=t,i=this.properties;if(n)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a],s=n[o],c=i[o]||i[$(o)],u=this.parse(c.name,s);u&&e.push(u);}return e},getNonDefaultPropertiesHash:function(t,e,n){var i,r,a,o,s,c,u=n.slice();for(s=0;s<e.length;s++)if(i=e[s],null!=(r=t.pstyle(i,!1)))if(null!=r.pfValue)u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);else for(a=r.strValue,c=0;c<a.length;c++)o=a.charCodeAt(c),u[0]=ce(o,u[0]),u[1]=ue(o,u[1]);return u}};Ku.getPropertiesHash=Ku.getNonDefaultPropertiesHash;var Yu={appendFromJson:function(t){for(var e=this,n=0;n<t.length;n++){var i=t[n],r=i.selector,a=i.style||i.css,o=Object.keys(a);e.selector(r);for(var s=0;s<o.length;s++){var c=o[s],u=a[c];e.css(c,u);}}return e},fromJson:function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},json:function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var n=this[e],i=n.selector,r=n.properties,a={},o=0;o<r.length;o++){var s=r[o];a[s.name]=s.strValue;}t.push({selector:i?i.toString():"core",style:a});}return t}},Wu={appendFromString:function(t){var e,n,i,r=this,a=this,o=""+t;function s(){o=o.length>e.length?o.substr(e.length):"";}function c(){n=n.length>i.length?n.substr(i.length):"";}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var u=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!u){Se("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}e=u[0];var l=u[1];if("core"!==l&&new Ds(l).invalid)Se("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),s();else {var h=u[2],f=!1;n=h;for(var d=[];!n.match(/^\s*$/);){var g=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){Se("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),f=!0;break}i=g[0];var p=g[1],b=g[2];r.properties[p]?a.parse(p,b)?(d.push({name:p,val:b}),c()):(Se("Skipping property: Invalid property definition in: "+i),c()):(Se("Skipping property: Invalid property name in: "+i),c());}if(f){s();break}a.selector(l);for(var w=0;w<d.length;w++){var y=d[w];a.css(y.name,y.val);}s();}}return a},fromString:function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e}},Xu={};!function(){var t=U,e=q,n=Y,i=W,r=X,a=function(t){return "^"+t+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},o=function(a){var o=t+"|\\w+|"+e+"|"+n+"|"+i+"|"+r;return "^"+a+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+o+")\\s*\\,\\s*("+o+")\\)$"},s=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];Xu.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:a("data")},layoutData:{mapping:!0,regex:a("layoutData")},scratch:{mapping:!0,regex:a("scratch")},mapData:{mapping:!0,regex:o("mapData")},mapLayoutData:{mapping:!0,regex:o("mapLayoutData")},mapScratch:{mapping:!0,regex:o("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:s,singleRegexMatchValue:!0},urls:{regexes:s,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(t,e){switch(t.length){case 2:return "deg"!==e[0]&&"rad"!==e[0]&&"deg"!==e[1]&&"rad"!==e[1];case 1:return m(t[0])||"deg"===e[0]||"rad"===e[0];default:return !1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(t){var e=t.length;return 1===e||2===e||4===e}}};var c={zeroNonZero:function(t,e){return (null==t||null==e)&&t!==e||0==t&&0!=e||0!=t&&0==e},any:function(t,e){return t!=e},emptyNonEmpty:function(t,e){var n=D(t),i=D(e);return n&&!i||!n&&i}},u=Xu.types,l=[{name:"label",type:u.text,triggersBounds:c.any,triggersZOrder:c.emptyNonEmpty},{name:"text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any}],h=[{name:"source-label",type:u.text,triggersBounds:c.any},{name:"source-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"source-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"source-text-offset",type:u.size,triggersBounds:c.any}],f=[{name:"target-label",type:u.text,triggersBounds:c.any},{name:"target-text-rotation",type:u.textRotation,triggersBounds:c.any},{name:"target-text-margin-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-margin-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"target-text-offset",type:u.size,triggersBounds:c.any}],d=[{name:"font-family",type:u.fontFamily,triggersBounds:c.any},{name:"font-style",type:u.fontStyle,triggersBounds:c.any},{name:"font-weight",type:u.fontWeight,triggersBounds:c.any},{name:"font-size",type:u.size,triggersBounds:c.any},{name:"text-transform",type:u.textTransform,triggersBounds:c.any},{name:"text-wrap",type:u.textWrap,triggersBounds:c.any},{name:"text-overflow-wrap",type:u.textOverflowWrap,triggersBounds:c.any},{name:"text-max-width",type:u.size,triggersBounds:c.any},{name:"text-outline-width",type:u.size,triggersBounds:c.any},{name:"line-height",type:u.positiveNumber,triggersBounds:c.any}],g=[{name:"text-valign",type:u.valign,triggersBounds:c.any},{name:"text-halign",type:u.halign,triggersBounds:c.any},{name:"color",type:u.color},{name:"text-outline-color",type:u.color},{name:"text-outline-opacity",type:u.zeroOneNumber},{name:"text-background-color",type:u.color},{name:"text-background-opacity",type:u.zeroOneNumber},{name:"text-background-padding",type:u.size,triggersBounds:c.any},{name:"text-border-opacity",type:u.zeroOneNumber},{name:"text-border-color",type:u.color},{name:"text-border-width",type:u.size,triggersBounds:c.any},{name:"text-border-style",type:u.borderStyle,triggersBounds:c.any},{name:"text-background-shape",type:u.textBackgroundShape,triggersBounds:c.any},{name:"text-justification",type:u.justification}],p=[{name:"events",type:u.bool},{name:"text-events",type:u.bool}],b=[{name:"display",type:u.display,triggersZOrder:c.any,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:u.visibility,triggersZOrder:c.any},{name:"opacity",type:u.zeroOneNumber,triggersZOrder:c.zeroNonZero},{name:"text-opacity",type:u.zeroOneNumber},{name:"min-zoomed-font-size",type:u.size},{name:"z-compound-depth",type:u.zCompoundDepth,triggersZOrder:c.any},{name:"z-index-compare",type:u.zIndexCompare,triggersZOrder:c.any},{name:"z-index",type:u.nonNegativeInt,triggersZOrder:c.any}],w=[{name:"overlay-padding",type:u.size,triggersBounds:c.any},{name:"overlay-color",type:u.color},{name:"overlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"overlay-shape",type:u.overlayShape,triggersBounds:c.any}],y=[{name:"underlay-padding",type:u.size,triggersBounds:c.any},{name:"underlay-color",type:u.color},{name:"underlay-opacity",type:u.zeroOneNumber,triggersBounds:c.zeroNonZero},{name:"underlay-shape",type:u.overlayShape,triggersBounds:c.any}],v=[{name:"transition-property",type:u.propList},{name:"transition-duration",type:u.time},{name:"transition-delay",type:u.time},{name:"transition-timing-function",type:u.easing}],x=function(t,e){return "label"===e.value?-t.poolIndex():e.pfValue},k=[{name:"height",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"width",type:u.nodeSize,triggersBounds:c.any,hashOverride:x},{name:"shape",type:u.nodeShape,triggersBounds:c.any},{name:"shape-polygon-points",type:u.polygonPointList,triggersBounds:c.any},{name:"background-color",type:u.color},{name:"background-fill",type:u.fill},{name:"background-opacity",type:u.zeroOneNumber},{name:"background-blacken",type:u.nOneOneNumber},{name:"background-gradient-stop-colors",type:u.colors},{name:"background-gradient-stop-positions",type:u.percentages},{name:"background-gradient-direction",type:u.gradientDirection},{name:"padding",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"padding-relative-to",type:u.paddingRelativeTo,triggersBounds:c.any},{name:"bounds-expansion",type:u.boundsExpansion,triggersBounds:c.any}],_=[{name:"border-color",type:u.color},{name:"border-opacity",type:u.zeroOneNumber},{name:"border-width",type:u.size,triggersBounds:c.any},{name:"border-style",type:u.borderStyle}],E=[{name:"background-image",type:u.urls},{name:"background-image-crossorigin",type:u.bgCrossOrigin},{name:"background-image-opacity",type:u.zeroOneNumbers},{name:"background-image-containment",type:u.bgContainment},{name:"background-image-smoothing",type:u.bools},{name:"background-position-x",type:u.bgPos},{name:"background-position-y",type:u.bgPos},{name:"background-width-relative-to",type:u.bgRelativeTo},{name:"background-height-relative-to",type:u.bgRelativeTo},{name:"background-repeat",type:u.bgRepeat},{name:"background-fit",type:u.bgFit},{name:"background-clip",type:u.bgClip},{name:"background-width",type:u.bgWH},{name:"background-height",type:u.bgWH},{name:"background-offset-x",type:u.bgPos},{name:"background-offset-y",type:u.bgPos}],T=[{name:"position",type:u.position,triggersBounds:c.any},{name:"compound-sizing-wrt-labels",type:u.compoundIncludeLabels,triggersBounds:c.any},{name:"min-width",type:u.size,triggersBounds:c.any},{name:"min-width-bias-left",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-width-bias-right",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height",type:u.size,triggersBounds:c.any},{name:"min-height-bias-top",type:u.sizeMaybePercent,triggersBounds:c.any},{name:"min-height-bias-bottom",type:u.sizeMaybePercent,triggersBounds:c.any}],C=[{name:"line-style",type:u.lineStyle},{name:"line-color",type:u.color},{name:"line-fill",type:u.fill},{name:"line-cap",type:u.lineCap},{name:"line-opacity",type:u.zeroOneNumber},{name:"line-dash-pattern",type:u.numbers},{name:"line-dash-offset",type:u.number},{name:"line-gradient-stop-colors",type:u.colors},{name:"line-gradient-stop-positions",type:u.percentages},{name:"curve-style",type:u.curveStyle,triggersBounds:c.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:u.zeroOneNumber,triggersBounds:c.any},{name:"source-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"target-endpoint",type:u.edgeEndpoint,triggersBounds:c.any},{name:"control-point-step-size",type:u.size,triggersBounds:c.any},{name:"control-point-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"control-point-weights",type:u.numbers,triggersBounds:c.any},{name:"segment-distances",type:u.bidirectionalSizes,triggersBounds:c.any},{name:"segment-weights",type:u.numbers,triggersBounds:c.any},{name:"taxi-turn",type:u.bidirectionalSizeMaybePercent,triggersBounds:c.any},{name:"taxi-turn-min-distance",type:u.size,triggersBounds:c.any},{name:"taxi-direction",type:u.axisDirection,triggersBounds:c.any},{name:"edge-distances",type:u.edgeDistances,triggersBounds:c.any},{name:"arrow-scale",type:u.positiveNumber,triggersBounds:c.any},{name:"loop-direction",type:u.angle,triggersBounds:c.any},{name:"loop-sweep",type:u.angle,triggersBounds:c.any},{name:"source-distance-from-node",type:u.size,triggersBounds:c.any},{name:"target-distance-from-node",type:u.size,triggersBounds:c.any}],S=[{name:"ghost",type:u.bool,triggersBounds:c.any},{name:"ghost-offset-x",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-offset-y",type:u.bidirectionalSize,triggersBounds:c.any},{name:"ghost-opacity",type:u.zeroOneNumber}],A=[{name:"selection-box-color",type:u.color},{name:"selection-box-opacity",type:u.zeroOneNumber},{name:"selection-box-border-color",type:u.color},{name:"selection-box-border-width",type:u.size},{name:"active-bg-color",type:u.color},{name:"active-bg-opacity",type:u.zeroOneNumber},{name:"active-bg-size",type:u.size},{name:"outside-texture-bg-color",type:u.color},{name:"outside-texture-bg-opacity",type:u.zeroOneNumber}],M=[];Xu.pieBackgroundN=16,M.push({name:"pie-size",type:u.sizeMaybePercent});for(var I=1;I<=Xu.pieBackgroundN;I++)M.push({name:"pie-"+I+"-background-color",type:u.color}),M.push({name:"pie-"+I+"-background-size",type:u.percent}),M.push({name:"pie-"+I+"-background-opacity",type:u.zeroOneNumber});var O=[],L=Xu.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:u.arrowShape,triggersBounds:c.any},{name:"arrow-color",type:u.color},{name:"arrow-fill",type:u.arrowFill}].forEach((function(t){L.forEach((function(e){var n=e+"-"+t.name,i=t.type,r=t.triggersBounds;O.push({name:n,type:i,triggersBounds:r});}));}),{});var N=Xu.properties=[].concat(p,v,b,w,y,S,g,d,l,h,f,k,_,E,M,T,C,O,A),P=Xu.propertyGroups={behavior:p,transition:v,visibility:b,overlay:w,underlay:y,ghost:S,commonLabel:g,labelDimensions:d,mainLabel:l,sourceLabel:h,targetLabel:f,nodeBody:k,nodeBorder:_,backgroundImage:E,pie:M,compound:T,edgeLine:C,edgeArrow:O,core:A},B=Xu.propertyGroupNames={};(Xu.propertyGroupKeys=Object.keys(P)).forEach((function(t){B[t]=P[t].map((function(t){return t.name})),P[t].forEach((function(e){return e.groupKey=t}));}));var R=Xu.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];Xu.propertyNames=N.map((function(t){return t.name}));for(var j=0;j<N.length;j++){var $=N[j];N[$.name]=$;}for(var F=0;F<R.length;F++){var z=R[F],H=N[z.pointsTo],G={name:z.name,alias:!0,pointsTo:H};N.push(G),N[z.name]=G;}}(),Xu.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},Xu.getDefaultProperties=function(){var t=this._private;if(null!=t.defaultProperties)return t.defaultProperties;for(var e=Q({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(t,e){for(var n=1;n<=Xu.pieBackgroundN;n++){var i=e.name.replace("{{i}}",n),r=e.value;t[i]=r;}return t}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(t,e){return Xu.arrowPrefixes.forEach((function(n){var i=n+"-"+e.name,r=e.value;t[i]=r;})),t}),{})),n={},i=0;i<this.properties.length;i++){var r=this.properties[i];if(!r.pointsTo){var a=r.name,o=e[a],s=this.parse(a,o);n[a]=s;}}return t.defaultProperties=n,t.defaultProperties},Xu.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length;};var Vu={parse:function(t,e,n,i){var r=this;if(v(e))return r.parseImplWarn(t,e,n,i);var a,o=pe(t,""+e,n?"t":"f","mapping"===i||!0===i||!1===i||null==i?"dontcare":i),s=r.propCache=r.propCache||[];return (a=s[o])||(a=s[o]=r.parseImplWarn(t,e,n,i)),(n||"mapping"===i)&&(a=Me(a))&&(a.value=Me(a.value)),a},parseImplWarn:function(t,e,n,i){var r=this.parseImpl(t,e,n,i);return r||null==e||Se("The style property `".concat(t,": ").concat(e,"` is invalid")),!r||"width"!==r.name&&"height"!==r.name||"label"!==e||Se("The style value of `label` is deprecated for `"+r.name+"`"),r},parseImpl:function(t,e,n,i){var r=this;t=$(t);var a=r.properties[t],o=e,s=r.types;if(!a)return null;if(void 0===e)return null;a.alias&&(a=a.pointsTo,t=a.name);var c=m(e);c&&(e=e.trim());var u,l,h=a.type;if(!h)return null;if(n&&(""===e||null===e))return {name:t,value:e,bypass:!0,deleteBypass:!0};if(v(e))return {name:t,value:e,strValue:"fn",mapped:s.fn,bypass:n};if(!c||i||e.length<7||"a"!==e[1]);else {if(e.length>=7&&"d"===e[0]&&(u=new RegExp(s.data.regex).exec(e))){if(n)return !1;var f=s.data;return {name:t,value:u,strValue:""+e,mapped:f,field:u[1],bypass:n}}if(e.length>=10&&"m"===e[0]&&(l=new RegExp(s.mapData.regex).exec(e))){if(n)return !1;if(h.multiple)return !1;var d=s.mapData;if(!h.color&&!h.number)return !1;var g=this.parse(t,l[4]);if(!g||g.mapped)return !1;var p=this.parse(t,l[5]);if(!p||p.mapped)return !1;if(g.pfValue===p.pfValue||g.strValue===p.strValue)return Se("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var b=g.value,w=p.value;if(!(b[0]!==w[0]||b[1]!==w[1]||b[2]!==w[2]||b[3]!==w[3]&&(null!=b[3]&&1!==b[3]||null!=w[3]&&1!==w[3])))return !1}return {name:t,value:l,strValue:""+e,mapped:d,field:l[1],fieldMin:parseFloat(l[2]),fieldMax:parseFloat(l[3]),valueMin:g.value,valueMax:p.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var y;if(y=c?e.split(/\s+/):x(e)?e:[e],h.evenMultiple&&y.length%2!=0)return null;for(var k=[],_=[],E=[],C="",S=!1,A=0;A<y.length;A++){var M=r.parse(t,y[A],n,"multiple");S=S||m(M.value),k.push(M.value),E.push(null!=M.pfValue?M.pfValue:M.value),_.push(M.units),C+=(A>0?" ":"")+M.strValue;}return h.validate&&!h.validate(k,_)?null:h.singleEnum&&S?1===k.length&&m(k[0])?{name:t,value:k[0],strValue:k[0],bypass:n}:null:{name:t,value:k,pfValue:E,strValue:C,bypass:n,units:_}}var I=function(){for(var i=0;i<h.enums.length;i++)if(h.enums[i]===e)return {name:t,value:e,strValue:""+e,bypass:n};return null};if(h.number){var O,L="px";if(h.units&&(O=h.units),h.implicitUnits&&(L=h.implicitUnits),!h.unitless)if(c){var D="px|em"+(h.allowPercent?"|\\%":"");O&&(D=O);var N=e.match("^("+U+")("+D+")?$");N&&(e=N[1],O=N[2]||L);}else O&&!h.implicitUnits||(O=L);if(e=parseFloat(e),isNaN(e)&&void 0===h.enums)return null;if(isNaN(e)&&void 0!==h.enums)return e=o,I();if(h.integer&&!T(e))return null;if(void 0!==h.min&&(e<h.min||h.strictMin&&e===h.min)||void 0!==h.max&&(e>h.max||h.strictMax&&e===h.max))return null;var P={name:t,value:e,strValue:""+e+(O||""),units:O,bypass:n};return h.unitless||"px"!==O&&"em"!==O?P.pfValue=e:P.pfValue="px"!==O&&O?this.getEmSizeInPixels()*e:e,"ms"!==O&&"s"!==O||(P.pfValue="ms"===O?e:1e3*e),"deg"!==O&&"rad"!==O||(P.pfValue="rad"===O?e:wn(e)),"%"===O&&(P.pfValue=e/100),P}if(h.propList){var B=[],R=""+e;if("none"===R);else {for(var j=R.split(/\s*,\s*|\s+/),F=0;F<j.length;F++){var z=j[F].trim();r.properties[z]?B.push(z):Se("`"+z+"` is not a valid property name");}if(0===B.length)return null}return {name:t,value:B,strValue:0===B.length?"none":B.join(" "),bypass:n}}if(h.color){var H=it(e);return H?{name:t,value:H,pfValue:H,strValue:"rgb("+H[0]+","+H[1]+","+H[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var G=I();if(G)return G}for(var q=h.regexes?h.regexes:[h.regex],K=0;K<q.length;K++){var Y=new RegExp(q[K]).exec(e);if(Y)return {name:t,value:h.singleRegexMatchValue?Y[1]:Y,strValue:""+e,bypass:n}}return null}return h.string?{name:t,value:""+e,strValue:""+e,bypass:n}:h.enums?I():null}},Zu=function t(e){if(!(this instanceof t))return new t(e);I(e)?(this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()):Te("A style must have a core reference");},Qu=Zu.prototype;Qu.instanceString=function(){return "style"},Qu.clear=function(){for(var t=this._private,e=t.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0),e.forEach((function(t){var e=t[0]._private;e.styleDirty=!0,e.appliedInitStyle=!1;})),this},Qu.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},Qu.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},Qu.selector=function(t){var e="core"===t?null:new Ds(t),n=this.length++;return this[n]={selector:e,properties:[],mappedProperties:[],index:n},this},Qu.css=function(){var t=this,e=arguments;if(1===e.length)for(var n=e[0],i=0;i<t.properties.length;i++){var r=t.properties[i],a=n[r.name];void 0===a&&(a=n[F(r.name)]),void 0!==a&&this.cssRule(r.name,a);}else 2===e.length&&this.cssRule(e[0],e[1]);return this},Qu.style=Qu.css,Qu.cssRule=function(t,e){var n=this.parse(t,e);if(n){var i=this.length-1;this[i].properties.push(n),this[i].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[i].mappedProperties.push(n),!this[i].selector&&(this._private.coreStyle[n.name]=n);}return this},Qu.append=function(t){return O(t)?t.appendToStyle(this):x(t)?this.appendFromJson(t):m(t)&&this.appendFromString(t),this},Zu.fromJson=function(t,e){var n=new Zu(t);return n.fromJson(e),n},Zu.fromString=function(t,e){return new Zu(t).fromString(e)},[zu,Gu,qu,Ku,Yu,Wu,Xu,Vu].forEach((function(t){Q(Qu,t);})),Zu.types=Qu.types,Zu.properties=Qu.properties,Zu.propertyGroups=Qu.propertyGroups,Zu.propertyGroupNames=Qu.propertyGroupNames,Zu.propertyGroupKeys=Qu.propertyGroupKeys;var Ju={style:function(t){return t&&this.setStyle(t).update(),this._private.style},setStyle:function(t){var e=this._private;return O(t)?e.style=t.generateStyle(this):x(t)?e.style=Zu.fromJson(this,t):m(t)?e.style=Zu.fromString(this,t):e.style=Zu(this),e.style},updateStyle:function(){this.mutableElements().updateStyle();}},tl="single",el={autolock:function(t){return void 0===t?this._private.autolock:(this._private.autolock=!!t,this)},autoungrabify:function(t){return void 0===t?this._private.autoungrabify:(this._private.autoungrabify=!!t,this)},autounselectify:function(t){return void 0===t?this._private.autounselectify:(this._private.autounselectify=!!t,this)},selectionType:function(t){var e=this._private;return null==e.selectionType&&(e.selectionType=tl),void 0===t?e.selectionType:("additive"!==t&&"single"!==t||(e.selectionType=t),this)},panningEnabled:function(t){return void 0===t?this._private.panningEnabled:(this._private.panningEnabled=!!t,this)},userPanningEnabled:function(t){return void 0===t?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!t,this)},zoomingEnabled:function(t){return void 0===t?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!t,this)},userZoomingEnabled:function(t){return void 0===t?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!t,this)},boxSelectionEnabled:function(t){return void 0===t?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!t,this)},pan:function(){var t,e,n,i,r,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(m(a[0]))return o[t=a[0]];if(k(a[0])){if(!this._private.panningEnabled)return this;i=(n=a[0]).x,r=n.y,E(i)&&(o.x=i),E(r)&&(o.y=r),this.emit("pan viewport");}break;case 2:if(!this._private.panningEnabled)return this;t=a[0],e=a[1],"x"!==t&&"y"!==t||!E(e)||(o[t]=e),this.emit("pan viewport");}return this.notify("viewport"),this},panBy:function(t,e){var n,i,r,a,o,s=arguments,c=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:k(t)&&(a=(r=s[0]).x,o=r.y,E(a)&&(c.x+=a),E(o)&&(c.y+=o),this.emit("pan viewport"));break;case 2:i=e,"x"!==(n=t)&&"y"!==n||!E(i)||(c[n]+=i),this.emit("pan viewport");}return this.notify("viewport"),this},fit:function(t,e){var n=this.getFitViewport(t,e);if(n){var i=this._private;i.zoom=n.zoom,i.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport");}return this},getFitViewport:function(t,e){if(E(t)&&void 0===e&&(e=t,t=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(m(t)){var i=t;t=this.$(i);}else if(P(t)){var r=t;(n={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1;}else S(t)||(t=this.mutableElements());if(!S(t)||!t.empty()){n=n||t.boundingBox();var a,o=this.width(),s=this.height();if(e=E(e)?e:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return {zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}},zoomRange:function(t,e){var n=this._private;if(null==e){var i=t;t=i.min,e=i.max;}return E(t)&&E(e)&&t<=e?(n.minZoom=t,n.maxZoom=e):E(t)&&void 0===e&&t<=n.maxZoom?n.minZoom=t:E(e)&&void 0===t&&e>=n.minZoom&&(n.maxZoom=e),this},minZoom:function(t){return void 0===t?this._private.minZoom:this.zoomRange({min:t})},maxZoom:function(t){return void 0===t?this._private.maxZoom:this.zoomRange({max:t})},getZoomedViewport:function(t){var e,n,i=this._private,r=i.pan,a=i.zoom,o=!1;if(i.zoomingEnabled||(o=!0),E(t)?n=t:k(t)&&(n=t.level,null!=t.position?e=ln(t.position,a,r):null!=t.renderedPosition&&(e=t.renderedPosition),null==e||i.panningEnabled||(o=!0)),n=(n=n>i.maxZoom?i.maxZoom:n)<i.minZoom?i.minZoom:n,o||!E(n)||n===a||null!=e&&(!E(e.x)||!E(e.y)))return null;if(null!=e){var s=r,c=a,u=n;return {zoomed:!0,panned:!0,zoom:u,pan:{x:-u/c*(e.x-s.x)+e.x,y:-u/c*(e.y-s.y)+e.y}}}return {zoomed:!0,panned:!1,zoom:n,pan:r}},zoom:function(t){if(void 0===t)return this._private.zoom;var e=this.getZoomedViewport(t),n=this._private;return null!=e&&e.zoomed?(n.zoom=e.zoom,e.panned&&(n.pan.x=e.pan.x,n.pan.y=e.pan.y),this.emit("zoom"+(e.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(t){var e=this._private,n=!0,i=!0,r=[],a=!1,o=!1;if(!t)return this;if(E(t.zoom)||(n=!1),k(t.pan)||(i=!1),!n&&!i)return this;if(n){var s=t.zoom;s<e.minZoom||s>e.maxZoom||!e.zoomingEnabled?a=!0:(e.zoom=s,r.push("zoom"));}if(i&&(!a||!t.cancelOnFailedZoom)&&e.panningEnabled){var c=t.pan;E(c.x)&&(e.pan.x=c.x,o=!1),E(c.y)&&(e.pan.y=c.y,o=!1),o||r.push("pan");}return r.length>0&&(r.push("viewport"),this.emit(r.join(" ")),this.notify("viewport")),this},center:function(t){var e=this.getCenterPan(t);return e&&(this._private.pan=e,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(t,e){if(this._private.panningEnabled){if(m(t)){var n=t;t=this.mutableElements().filter(n);}else S(t)||(t=this.mutableElements());if(0!==t.length){var i=t.boundingBox(),r=this.width(),a=this.height();return {x:(r-(e=void 0===e?this._private.zoom:e)*(i.x1+i.x2))/2,y:(a-e*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null;},size:function(){var t,e,n=this._private,i=n.container;return n.sizeCache=n.sizeCache||(i?(t=f.getComputedStyle(i),e=function(e){return parseFloat(t.getPropertyValue(e))},{width:i.clientWidth-e("padding-left")-e("padding-right"),height:i.clientHeight-e("padding-top")-e("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var t=this._private.pan,e=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-t.x)/e,x2:(n.x2-t.x)/e,y1:(n.y1-t.y)/e,y2:(n.y2-t.y)/e};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},renderedExtent:function(){var t=this.width(),e=this.height();return {x1:0,y1:0,x2:t,y2:e,w:t,h:e}},multiClickDebounceTime:function(t){return t?(this._private.multiClickDebounceTime=t,this):this._private.multiClickDebounceTime}};el.centre=el.center,el.autolockNodes=el.autolock,el.autoungrabifyNodes=el.autoungrabify;var nl={data:us.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:us.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:us.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:us.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};nl.attr=nl.data,nl.removeAttr=nl.removeData;var il=function(t){var e=this,n=(t=Q({},t)).container;n&&!C(n)&&C(n[0])&&(n=n[0]);var i=n?n._cyreg:null;(i=i||{})&&i.cy&&(i.cy.destroy(),i={});var r=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=e;var a=void 0!==f&&void 0!==n&&!t.headless,o=t;o.layout=Q({name:a?"grid":"null"},o.layout),o.renderer=Q({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},c=this._private={container:n,ready:!1,options:o,elements:new wu(this),listeners:[],aniEles:new wu(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:E(o.zoom)?o.zoom:1,pan:{x:k(o.pan)&&E(o.pan.x)?o.pan.x:0,y:k(o.pan)&&E(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});var u=function(t,e){if(t.some(B))return $r.all(t).then(e);e(t);};c.styleEnabled&&e.setStyle([]);var l=Q({},o,o.renderer);e.initRenderer(l);var h=function(t,n,i){e.notifications(!1);var r=e.mutableElements();r.length>0&&r.remove(),null!=t&&(k(t)||x(t))&&e.add(t),e.one("layoutready",(function(t){e.notifications(!0),e.emit(t),e.one("load",n),e.emitAndNotify("load");})).one("layoutstop",(function(){e.one("done",i),e.emit("done");}));var a=Q({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run();};u([o.style,o.elements],(function(t){var n=t[0],a=t[1];c.styleEnabled&&e.style().append(n),h(a,(function(){e.startAnimationLoop(),c.ready=!0,v(o.ready)&&e.on("ready",o.ready);for(var t=0;t<r.length;t++){var n=r[t];e.on("ready",n);}i&&(i.readies=[]),e.emit("ready");}),o.done);}));},rl=il.prototype;Q(rl,{instanceString:function(){return "core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(t){return this.isReady()?this.emitter().emit("ready",[],t):this.on("ready",t),this},destroy:function(){var t=this;if(!t.destroyed())return t.stopAnimationLoop(),t.destroyRenderer(),this.emit("destroy"),t._private.destroyed=!0,t},hasElementWithId:function(t){return this._private.elements.hasElementWithId(t)},getElementById:function(t){return this._private.elements.getElementById(t)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(t){return this._private.elements.merge(t),this},removeFromPool:function(t){return this._private.elements.unmerge(t),this},container:function(){return this._private.container||null},mount:function(t){if(null!=t){var e=this,n=e._private,i=n.options;return !C(t)&&C(t[0])&&(t=t[0]),e.stopAnimationLoop(),e.destroyRenderer(),n.container=t,n.styleEnabled=!0,e.invalidateSize(),e.initRenderer(Q({},i,i.renderer,{name:"null"===i.renderer.name?"canvas":i.renderer.name})),e.startAnimationLoop(),e.style(i.style),e.emit("mount"),e}},unmount:function(){var t=this;return t.stopAnimationLoop(),t.destroyRenderer(),t.initRenderer({name:"null"}),t.emit("unmount"),t},options:function(){return Me(this._private.options)},json:function(t){var e=this,n=e._private,i=e.mutableElements(),r=function(t){return e.getElementById(t.id())};if(k(t)){if(e.startBatch(),t.elements){var a={},o=function(t,n){for(var i=[],r=[],o=0;o<t.length;o++){var s=t[o];if(s.data.id){var c=""+s.data.id,u=e.getElementById(c);a[c]=!0,0!==u.length?r.push({ele:u,json:s}):n?(s.group=n,i.push(s)):i.push(s);}else Se("cy.json() cannot handle elements without an ID attribute");}e.add(i);for(var l=0;l<r.length;l++){var h=r[l],f=h.ele,d=h.json;f.json(d);}};if(x(t.elements))o(t.elements);else for(var s=["nodes","edges"],c=0;c<s.length;c++){var u=s[c],l=t.elements[u];x(l)&&o(l,u);}var h=e.collection();i.filter((function(t){return !a[t.id()]})).forEach((function(t){t.isParent()?h.merge(t):t.remove();})),h.forEach((function(t){return t.children().move({parent:null})})),h.forEach((function(t){return r(t).remove()}));}t.style&&e.style(t.style),null!=t.zoom&&t.zoom!==n.zoom&&e.zoom(t.zoom),t.pan&&(t.pan.x===n.pan.x&&t.pan.y===n.pan.y||e.pan(t.pan)),t.data&&e.data(t.data);for(var f=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],d=0;d<f.length;d++){var g=f[d];null!=t[g]&&e[g](t[g]);}return e.endBatch(),this}var p={};t?p.elements=this.elements().map((function(t){return t.json()})):(p.elements={},i.forEach((function(t){var e=t.group();p.elements[e]||(p.elements[e]=[]),p.elements[e].push(t.json());}))),this._private.styleEnabled&&(p.style=e.style().json()),p.data=Me(e.data());var b=n.options;return p.zoomingEnabled=n.zoomingEnabled,p.userZoomingEnabled=n.userZoomingEnabled,p.zoom=n.zoom,p.minZoom=n.minZoom,p.maxZoom=n.maxZoom,p.panningEnabled=n.panningEnabled,p.userPanningEnabled=n.userPanningEnabled,p.pan=Me(n.pan),p.boxSelectionEnabled=n.boxSelectionEnabled,p.renderer=Me(b.renderer),p.hideEdgesOnViewport=b.hideEdgesOnViewport,p.textureOnViewport=b.textureOnViewport,p.wheelSensitivity=b.wheelSensitivity,p.motionBlur=b.motionBlur,p.multiClickDebounceTime=b.multiClickDebounceTime,p}}),rl.$id=rl.getElementById,[mu,Ou,Nu,Pu,Bu,Ru,$u,Fu,Ju,el,nl].forEach((function(t){Q(rl,t);}));var al={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,maximal:!1,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}},ol=function(t){return t.scratch("breadthfirst")},sl=function(t,e){return t.scratch("breadthfirst",e)};function cl(t){this.options=Q({},al,t);}cl.prototype.run=function(){var t,e=this.options,n=e,i=e.cy,r=n.eles,a=r.nodes().filter((function(t){return !t.isParent()})),o=r,s=n.directed,c=n.maximal||n.maximalAdjustments>0,u=An(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(S(n.roots))t=n.roots;else if(x(n.roots)){for(var l=[],h=0;h<n.roots.length;h++){var f=n.roots[h],d=i.getElementById(f);l.push(d);}t=i.collection(l);}else if(m(n.roots))t=i.$(n.roots);else if(s)t=a.roots();else {var g=r.components();t=i.collection();for(var p=function(e){var n=g[e],i=n.maxDegree(!1),r=n.filter((function(t){return t.degree(!1)===i}));t=t.add(r);},b=0;b<g.length;b++)p(b);}var w=[],y={},v=function(t,e){null==w[e]&&(w[e]=[]);var n=w[e].length;w[e].push(t),sl(t,{index:n,depth:e});},k=function(t,e){var n=ol(t),i=n.depth,r=n.index;w[i][r]=null,v(t,e);};o.bfs({roots:t,directed:n.directed,visit:function(t,e,n,i,r){var a=t[0],o=a.id();v(a,r),y[o]=!0;}});for(var _=[],E=0;E<a.length;E++){var T=a[E];y[T.id()]||_.push(T);}var C=function(t){for(var e=w[t],n=0;n<e.length;n++){var i=e[n];null!=i?sl(i,{depth:t,index:n}):(e.splice(n,1),n--);}},A=function(){for(var t=0;t<w.length;t++)C(t);},M=function(t,e){for(var n=ol(t),i=t.incomers().filter((function(t){return t.isNode()&&r.has(t)})),a=-1,o=t.id(),s=0;s<i.length;s++){var c=i[s],u=ol(c);a=Math.max(a,u.depth);}return n.depth<=a&&(e[o]?null:(k(t,a+1),e[o]=!0,!0))};if(s&&c){var I=[],O={},L=function(t){return I.push(t)},D=function(){return I.shift()};for(a.forEach((function(t){return I.push(t)}));I.length>0;){var N=D(),P=M(N,O);if(P)N.outgoers().filter((function(t){return t.isNode()&&r.has(t)})).forEach(L);else if(null===P){Se("Detected double maximal shift for node `"+N.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}A();var B=0;if(n.avoidOverlap)for(var R=0;R<a.length;R++){var j=a[R].layoutDimensions(n),$=j.w,F=j.h;B=Math.max(B,$,F);}var z={},H=function(t){if(z[t.id()])return z[t.id()];for(var e=ol(t).depth,n=t.neighborhood(),i=0,r=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&a.has(s)){var c=ol(s);if(null!=c){var u=c.index,l=c.depth;if(null!=u&&null!=l){var h=w[l].length;l<e&&(i+=u/h,r++);}}}}return i/=r=Math.max(1,r),0===r&&(i=0),z[t.id()]=i,i},U=function(t,e){var n=H(t)-H(e);return 0===n?V(t.id(),e.id()):n};void 0!==n.depthSort&&(U=n.depthSort);for(var G=0;G<w.length;G++)w[G].sort(U),C(G);for(var q=[],K=0;K<_.length;K++)q.push(_[K]);w.unshift(q),A();for(var Y=0,W=0;W<w.length;W++)Y=Math.max(w[W].length,Y);var X={x:u.x1+u.w/2,y:u.x1+u.h/2},Z=w.reduce((function(t,e){return Math.max(t,e.length)}),0),Q=function(t){var e=ol(t),i=e.depth,r=e.index,a=w[i].length,o=Math.max(u.w/((n.grid?Z:a)+1),B),s=Math.max(u.h/(w.length+1),B),c=Math.min(u.w/2/w.length,u.h/2/w.length);if(c=Math.max(c,B),n.circle){var l=c*i+c-(w.length>0&&w[0].length<=3?c/2:0),h=2*Math.PI/w[i].length*r;return 0===i&&1===w[0].length&&(l=1),{x:X.x+l*Math.cos(h),y:X.y+l*Math.sin(h)}}return {x:X.x+(r+1-(a+1)/2)*o,y:(i+1)*s}};return r.nodes().layoutPositions(this,n,Q),this};var ul={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function ll(t){this.options=Q({},ul,t);}ll.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=i.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var o,s=An(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/a.length:e.sweep)/Math.max(1,a.length-1),l=0,h=0;h<a.length;h++){var f=a[h].layoutDimensions(e),d=f.w,g=f.h;l=Math.max(l,d,g);}if(o=E(e.radius)?e.radius:a.length<=1?0:Math.min(s.h,s.w)/2-l,a.length>1&&e.avoidOverlap){l*=1.75;var p=Math.cos(u)-Math.cos(0),b=Math.sin(u)-Math.sin(0),w=Math.sqrt(l*l/(p*p+b*b));o=Math.max(w,o);}var y=function(t,n){var i=e.startAngle+n*u*(r?1:-1),a=o*Math.cos(i),s=o*Math.sin(i);return {x:c.x+a,y:c.y+s}};return i.nodes().layoutPositions(this,e,y),this};var hl,fl={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(t){return t.degree()},levelWidth:function(t){return t.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function dl(t){this.options=Q({},fl,t);}dl.prototype.run=function(){for(var t=this.options,e=t,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=t.cy,r=e.eles,a=r.nodes().not(":parent"),o=An(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},c=[],u=0,l=0;l<a.length;l++){var h=a[l],f=void 0;f=e.concentric(h),c.push({value:f,node:h}),h._private.scratch.concentric=f;}a.updateStyle();for(var d=0;d<a.length;d++){var g=a[d].layoutDimensions(e);u=Math.max(u,g.w,g.h);}c.sort((function(t,e){return e.value-t.value}));for(var p=e.levelWidth(a),b=[[]],w=b[0],y=0;y<c.length;y++){var m=c[y];w.length>0&&Math.abs(w[0].value-m.value)>=p&&(w=[],b.push(w)),w.push(m);}var v=u+e.minNodeSpacing;if(!e.avoidOverlap){var x=b.length>0&&b[0].length>1,k=(Math.min(o.w,o.h)/2-v)/(b.length+x?1:0);v=Math.min(v,k);}for(var _=0,E=0;E<b.length;E++){var T=b[E],C=void 0===e.sweep?2*Math.PI-2*Math.PI/T.length:e.sweep,S=T.dTheta=C/Math.max(1,T.length-1);if(T.length>1&&e.avoidOverlap){var A=Math.cos(S)-Math.cos(0),M=Math.sin(S)-Math.sin(0),I=Math.sqrt(v*v/(A*A+M*M));_=Math.max(I,_);}T.r=_,_+=v;}if(e.equidistant){for(var O=0,L=0,D=0;D<b.length;D++){var N=b[D].r-L;O=Math.max(O,N);}L=0;for(var P=0;P<b.length;P++){var B=b[P];0===P&&(L=B.r),B.r=L,L+=O;}}for(var R={},j=0;j<b.length;j++)for(var $=b[j],F=$.dTheta,z=$.r,H=0;H<$.length;H++){var U=$[H],G=e.startAngle+(n?1:-1)*F*H,q={x:s.x+z*Math.cos(G),y:s.y+z*Math.sin(G)};R[U.node.id()]=q;}return r.nodes().layoutPositions(this,e,(function(t){var e=t.id();return R[e]})),this};var gl={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(t,e){return !0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(t){return 2048},nodeOverlap:4,idealEdgeLength:function(t){return 32},edgeElasticity:function(t){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function pl(t){this.options=Q({},gl,t),this.options.layout=this;}pl.prototype.run=function(){var t=this.options,e=t.cy,n=this;n.stopped=!1,!0!==t.animate&&!1!==t.animate||n.emit({type:"layoutstart",layout:n}),hl=!0===t.debug;var i=wl(e,n,t);hl&&bl(i),t.randomize&&vl(i);var r=ie(),a=function(){kl(i,e,t),!0===t.fit&&e.fit(t.padding);},o=function(e){return !(n.stopped||e>=t.numIter||(_l(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature<t.minTemp))},s=function(){if(!0===t.animate||!1===t.animate)a(),n.one("layoutstop",t.stop),n.emit({type:"layoutstop",layout:n});else {var e=t.eles.nodes(),r=xl(i,t,e);e.layoutPositions(n,t,r);}},c=0,u=!0;if(!0===t.animate)!function e(){for(var n=0;u&&n<t.refresh;)u=o(c),c++,n++;u?(ie()-r>=t.animationThreshold&&a(),ne(e)):(Pl(i,t),s());}();else {for(;u;)u=o(c),c++;Pl(i,t),s();}return this},pl.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},pl.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var bl,wl=function(t,e,n){for(var i=n.eles.edges(),r=n.eles.nodes(),a={isCompound:t.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:r.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:t.width(),clientHeight:t.width(),boundingBox:An(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()})},o=n.eles.components(),s={},c=0;c<o.length;c++)for(var u=o[c],l=0;l<u.length;l++)s[u[l].id()]=c;for(c=0;c<a.nodeSize;c++){var h=(b=r[c]).layoutDimensions(n);(D={}).isLocked=b.locked(),D.id=b.data("id"),D.parentId=b.data("parent"),D.cmptId=s[b.id()],D.children=[],D.positionX=b.position("x"),D.positionY=b.position("y"),D.offsetX=0,D.offsetY=0,D.height=h.w,D.width=h.h,D.maxX=D.positionX+D.width/2,D.minX=D.positionX-D.width/2,D.maxY=D.positionY+D.height/2,D.minY=D.positionY-D.height/2,D.padLeft=parseFloat(b.style("padding")),D.padRight=parseFloat(b.style("padding")),D.padTop=parseFloat(b.style("padding")),D.padBottom=parseFloat(b.style("padding")),D.nodeRepulsion=v(n.nodeRepulsion)?n.nodeRepulsion(b):n.nodeRepulsion,a.layoutNodes.push(D),a.idToIndex[D.id]=c;}var f=[],d=0,g=-1,p=[];for(c=0;c<a.nodeSize;c++){var b,w=(b=a.layoutNodes[c]).parentId;null!=w?a.layoutNodes[a.idToIndex[w]].children.push(b.id):(f[++g]=b.id,p.push(b.id));}for(a.graphSet.push(p);d<=g;){var y=f[d++],m=a.idToIndex[y],x=a.layoutNodes[m].children;if(x.length>0)for(a.graphSet.push(x),c=0;c<x.length;c++)f[++g]=x[c];}for(c=0;c<a.graphSet.length;c++){var k=a.graphSet[c];for(l=0;l<k.length;l++){var _=a.idToIndex[k[l]];a.indexToGraph[_]=c;}}for(c=0;c<a.edgeSize;c++){var E=i[c],T={};T.id=E.data("id"),T.sourceId=E.data("source"),T.targetId=E.data("target");var C=v(n.idealEdgeLength)?n.idealEdgeLength(E):n.idealEdgeLength,S=v(n.edgeElasticity)?n.edgeElasticity(E):n.edgeElasticity,A=a.idToIndex[T.sourceId],M=a.idToIndex[T.targetId];if(a.indexToGraph[A]!=a.indexToGraph[M]){for(var I=yl(T.sourceId,T.targetId,a),O=a.graphSet[I],L=0,D=a.layoutNodes[A];-1===O.indexOf(D.id);)D=a.layoutNodes[a.idToIndex[D.parentId]],L++;for(D=a.layoutNodes[M];-1===O.indexOf(D.id);)D=a.layoutNodes[a.idToIndex[D.parentId]],L++;C*=L*n.nestingFactor;}T.idealLength=C,T.elasticity=S,a.layoutEdges.push(T);}return a},yl=function(t,e,n){var i=ml(t,e,0,n);return 2>i.count?0:i.graph},ml=function t(e,n,i,r){var a=r.graphSet[i];if(-1<a.indexOf(e)&&-1<a.indexOf(n))return {count:2,graph:i};for(var o=0,s=0;s<a.length;s++){var c=a[s],u=r.idToIndex[c],l=r.layoutNodes[u].children;if(0!==l.length){var h=t(e,n,r.indexToGraph[r.idToIndex[l[0]]],r);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return {count:o,graph:i}},vl=function(t,e){for(var n=t.clientWidth,i=t.clientHeight,r=0;r<t.nodeSize;r++){var a=t.layoutNodes[r];0!==a.children.length||a.isLocked||(a.positionX=Math.random()*n,a.positionY=Math.random()*i);}},xl=function(t,e,n){var i=t.boundingBox,r={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return e.boundingBox&&(n.forEach((function(e){var n=t.layoutNodes[t.idToIndex[e.data("id")]];r.x1=Math.min(r.x1,n.positionX),r.x2=Math.max(r.x2,n.positionX),r.y1=Math.min(r.y1,n.positionY),r.y2=Math.max(r.y2,n.positionY);})),r.w=r.x2-r.x1,r.h=r.y2-r.y1),function(n,a){var o=t.layoutNodes[t.idToIndex[n.data("id")]];if(e.boundingBox){var s=(o.positionX-r.x1)/r.w,c=(o.positionY-r.y1)/r.h;return {x:i.x1+s*i.w,y:i.y1+c*i.h}}return {x:o.positionX,y:o.positionY}}},kl=function(t,e,n){var i=n.layout,r=n.eles.nodes(),a=xl(t,n,r);r.positions(a),!0!==t.ready&&(t.ready=!0,i.one("layoutready",n.ready),i.emit({type:"layoutready",layout:this}));},_l=function(t,e,n){El(t,e),Ml(t),Il(t,e),Ol(t),Ll(t);},El=function(t,e){for(var n=0;n<t.graphSet.length;n++)for(var i=t.graphSet[n],r=i.length,a=0;a<r;a++)for(var o=t.layoutNodes[t.idToIndex[i[a]]],s=a+1;s<r;s++){var c=t.layoutNodes[t.idToIndex[i[s]]];Cl(o,c,t,e);}},Tl=function(t){return -t+2*t*Math.random()},Cl=function(t,e,n,i){if(t.cmptId===e.cmptId||n.isCompound){var r=e.positionX-t.positionX,a=e.positionY-t.positionY,o=1;0===r&&0===a&&(r=Tl(o),a=Tl(o));var s=Sl(t,e,r,a);if(s>0)var c=(l=i.nodeOverlap*s)*r/(b=Math.sqrt(r*r+a*a)),u=l*a/b;else {var l,h=Al(t,r,a),f=Al(e,-1*r,-1*a),d=f.x-h.x,g=f.y-h.y,p=d*d+g*g,b=Math.sqrt(p);c=(l=(t.nodeRepulsion+e.nodeRepulsion)/p)*d/b,u=l*g/b;}t.isLocked||(t.offsetX-=c,t.offsetY-=u),e.isLocked||(e.offsetX+=c,e.offsetY+=u);}},Sl=function(t,e,n,i){if(n>0)var r=t.maxX-e.minX;else r=e.maxX-t.minX;if(i>0)var a=t.maxY-e.minY;else a=e.maxY-t.minY;return r>=0&&a>=0?Math.sqrt(r*r+a*a):0},Al=function(t,e,n){var i=t.positionX,r=t.positionY,a=t.height||1,o=t.width||1,s=n/e,c=a/o,u={};return 0===e&&0<n||0===e&&0>n?(u.x=i,u.y=r+a/2,u):0<e&&-1*c<=s&&s<=c?(u.x=i+o/2,u.y=r+o*n/2/e,u):0>e&&-1*c<=s&&s<=c?(u.x=i-o/2,u.y=r-o*n/2/e,u):0<n&&(s<=-1*c||s>=c)?(u.x=i+a*e/2/n,u.y=r+a/2,u):0>n&&(s<=-1*c||s>=c)?(u.x=i-a*e/2/n,u.y=r-a/2,u):u},Ml=function(t,e){for(var n=0;n<t.edgeSize;n++){var i=t.layoutEdges[n],r=t.idToIndex[i.sourceId],a=t.layoutNodes[r],o=t.idToIndex[i.targetId],s=t.layoutNodes[o],c=s.positionX-a.positionX,u=s.positionY-a.positionY;if(0!==c||0!==u){var l=Al(a,c,u),h=Al(s,-1*c,-1*u),f=h.x-l.x,d=h.y-l.y,g=Math.sqrt(f*f+d*d),p=Math.pow(i.idealLength-g,2)/i.elasticity;if(0!==g)var b=p*f/g,w=p*d/g;else b=0,w=0;a.isLocked||(a.offsetX+=b,a.offsetY+=w),s.isLocked||(s.offsetX-=b,s.offsetY-=w);}}},Il=function(t,e){if(0!==e.gravity)for(var n=1,i=0;i<t.graphSet.length;i++){var r=t.graphSet[i],a=r.length;if(0===i)var o=t.clientHeight/2,s=t.clientWidth/2;else {var c=t.layoutNodes[t.idToIndex[r[0]]],u=t.layoutNodes[t.idToIndex[c.parentId]];o=u.positionX,s=u.positionY;}for(var l=0;l<a;l++){var h=t.layoutNodes[t.idToIndex[r[l]]];if(!h.isLocked){var f=o-h.positionX,d=s-h.positionY,g=Math.sqrt(f*f+d*d);if(g>n){var p=e.gravity*f/g,b=e.gravity*d/g;h.offsetX+=p,h.offsetY+=b;}}}}},Ol=function(t,e){var n=[],i=0,r=-1;for(n.push.apply(n,t.graphSet[0]),r+=t.graphSet[0].length;i<=r;){var a=n[i++],o=t.idToIndex[a],s=t.layoutNodes[o],c=s.children;if(0<c.length&&!s.isLocked){for(var u=s.offsetX,l=s.offsetY,h=0;h<c.length;h++){var f=t.layoutNodes[t.idToIndex[c[h]]];f.offsetX+=u,f.offsetY+=l,n[++r]=c[h];}s.offsetX=0,s.offsetY=0;}}},Ll=function(t,e){for(var n=0;n<t.nodeSize;n++)0<(r=t.layoutNodes[n]).children.length&&(r.maxX=void 0,r.minX=void 0,r.maxY=void 0,r.minY=void 0);for(n=0;n<t.nodeSize;n++)if(!(0<(r=t.layoutNodes[n]).children.length||r.isLocked)){var i=Dl(r.offsetX,r.offsetY,t.temperature);r.positionX+=i.x,r.positionY+=i.y,r.offsetX=0,r.offsetY=0,r.minX=r.positionX-r.width,r.maxX=r.positionX+r.width,r.minY=r.positionY-r.height,r.maxY=r.positionY+r.height,Nl(r,t);}for(n=0;n<t.nodeSize;n++){var r;0<(r=t.layoutNodes[n]).children.length&&!r.isLocked&&(r.positionX=(r.maxX+r.minX)/2,r.positionY=(r.maxY+r.minY)/2,r.width=r.maxX-r.minX,r.height=r.maxY-r.minY);}},Dl=function(t,e,n){var i=Math.sqrt(t*t+e*e);if(i>n)var r={x:n*t/i,y:n*e/i};else r={x:t,y:e};return r},Nl=function t(e,n){var i=e.parentId;if(null!=i){var r=n.layoutNodes[n.idToIndex[i]],a=!1;return (null==r.maxX||e.maxX+r.padRight>r.maxX)&&(r.maxX=e.maxX+r.padRight,a=!0),(null==r.minX||e.minX-r.padLeft<r.minX)&&(r.minX=e.minX-r.padLeft,a=!0),(null==r.maxY||e.maxY+r.padBottom>r.maxY)&&(r.maxY=e.maxY+r.padBottom,a=!0),(null==r.minY||e.minY-r.padTop<r.minY)&&(r.minY=e.minY-r.padTop,a=!0),a?t(r,n):void 0}},Pl=function(t,e){for(var n=t.layoutNodes,i=[],r=0;r<n.length;r++){var a=n[r],o=a.cmptId;(i[o]=i[o]||[]).push(a);}var s=0;for(r=0;r<i.length;r++)if(p=i[r]){p.x1=1/0,p.x2=-1/0,p.y1=1/0,p.y2=-1/0;for(var c=0;c<p.length;c++){var u=p[c];p.x1=Math.min(p.x1,u.positionX-u.width/2),p.x2=Math.max(p.x2,u.positionX+u.width/2),p.y1=Math.min(p.y1,u.positionY-u.height/2),p.y2=Math.max(p.y2,u.positionY+u.height/2);}p.w=p.x2-p.x1,p.h=p.y2-p.y1,s+=p.w*p.h;}i.sort((function(t,e){return e.w*e.h-t.w*t.h}));var l=0,h=0,f=0,d=0,g=Math.sqrt(s)*t.clientWidth/t.clientHeight;for(r=0;r<i.length;r++){var p;if(p=i[r]){for(c=0;c<p.length;c++)(u=p[c]).isLocked||(u.positionX+=l-p.x1,u.positionY+=h-p.y1);l+=p.w+e.componentSpacing,f+=p.w+e.componentSpacing,d=Math.max(d,p.h),f>g&&(h+=d+e.componentSpacing,l=0,f=0,d=0);}}},Bl={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(t){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Rl(t){this.options=Q({},Bl,t);}Rl.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=i.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var a=An(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)i.nodes().layoutPositions(this,e,(function(t){return {x:a.x1,y:a.y1}}));else {var o=r.size(),s=Math.sqrt(o*a.h/a.w),c=Math.round(s),u=Math.round(a.w/a.h*s),l=function(t){if(null==t)return Math.min(c,u);Math.min(c,u)==c?c=t:u=t;},h=function(t){if(null==t)return Math.max(c,u);Math.max(c,u)==c?c=t:u=t;},f=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=f&&null!=d)c=f,u=d;else if(null!=f&&null==d)c=f,u=Math.ceil(o/c);else if(null==f&&null!=d)u=d,c=Math.ceil(o/u);else if(u*c>o){var g=l(),p=h();(g-1)*p>=o?l(g-1):(p-1)*g>=o&&h(p-1);}else for(;u*c<o;){var b=l(),w=h();(w+1)*b>=o?h(w+1):l(b+1);}var y=a.w/u,m=a.h/c;if(e.condense&&(y=0,m=0),e.avoidOverlap)for(var v=0;v<r.length;v++){var x=r[v],k=x._private.position;null!=k.x&&null!=k.y||(k.x=0,k.y=0);var _=x.layoutDimensions(e),E=e.avoidOverlapPadding,T=_.w+E,C=_.h+E;y=Math.max(y,T),m=Math.max(m,C);}for(var S={},A=function(t,e){return !!S["c-"+t+"-"+e]},M=function(t,e){S["c-"+t+"-"+e]=!0;},I=0,O=0,L=function(){++O>=u&&(O=0,I++);},D={},N=0;N<r.length;N++){var P=r[N],B=e.position(P);if(B&&(void 0!==B.row||void 0!==B.col)){var R={row:B.row,col:B.col};if(void 0===R.col)for(R.col=0;A(R.row,R.col);)R.col++;else if(void 0===R.row)for(R.row=0;A(R.row,R.col);)R.row++;D[P.id()]=R,M(R.row,R.col);}}var j=function(t,e){var n,i;if(t.locked()||t.isParent())return !1;var r=D[t.id()];if(r)n=r.col*y+y/2+a.x1,i=r.row*m+m/2+a.y1;else {for(;A(I,O);)L();n=O*y+y/2+a.x1,i=I*m+m/2+a.y1,M(I,O),L();}return {x:n,y:i}};r.layoutPositions(this,e,j);}return this};var jl={ready:function(){},stop:function(){}};function $l(t){this.options=Q({},jl,t);}$l.prototype.run=function(){var t=this.options,e=t.eles,n=this;return t.cy,n.emit("layoutstart"),e.nodes().positions((function(){return {x:0,y:0}})),n.one("layoutready",t.ready),n.emit("layoutready"),n.one("layoutstop",t.stop),n.emit("layoutstop"),this},$l.prototype.stop=function(){return this};var Fl={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function zl(t){this.options=Q({},Fl,t);}zl.prototype.run=function(){var t=this.options,e=t.eles.nodes(),n=v(t.positions);function i(e){if(null==t.positions)return un(e.position());if(n)return t.positions(e);var i=t.positions[e._private.data.id];return null==i?null:i}return e.layoutPositions(this,t,(function(t,e){var n=i(t);return !t.locked()&&null!=n&&n})),this};var Hl={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return !0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Ul(t){this.options=Q({},Hl,t);}Ul.prototype.run=function(){var t=this.options,e=t.cy,n=t.eles,i=An(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()}),r=function(t,e){return {x:i.x1+Math.round(Math.random()*i.w),y:i.y1+Math.round(Math.random()*i.h)}};return n.nodes().layoutPositions(this,t,r),this};var Gl=[{name:"breadthfirst",impl:cl},{name:"circle",impl:ll},{name:"concentric",impl:dl},{name:"cose",impl:pl},{name:"grid",impl:Rl},{name:"null",impl:$l},{name:"preset",impl:zl},{name:"random",impl:Ul}];function ql(t){this.options=t,this.notifications=0;}var Kl=function(){},Yl=function(){throw new Error("A headless instance can not render images")};ql.prototype={recalculateRenderedStyle:Kl,notify:function(){this.notifications++;},init:Kl,isHeadless:function(){return !0},png:Yl,jpg:Yl};var Wl={arrowShapeWidth:.3,registerArrowShapes:function(){var t=this.arrowShapes={},e=this,n=function(t,e,n,i,r,a,o){var s=r.x-n/2-o,c=r.x+n/2+o,u=r.y-n/2-o,l=r.y+n/2+o;return s<=t&&t<=c&&u<=e&&e<=l},i=function(t,e,n,i,r){var a=t*Math.cos(i)-e*Math.sin(i),o=(t*Math.sin(i)+e*Math.cos(i))*n;return {x:a*n+r.x,y:o+r.y}},r=function(t,e,n,r){for(var a=[],o=0;o<t.length;o+=2){var s=t[o],c=t[o+1];a.push(i(s,c,e,n,r));}return a},a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];e.push(i.x,i.y);}return e},o=function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").pfValue*2},s=function(i,s){m(s)&&(s=t[s]),t[i]=Q({name:i,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(t,e,n,i,o,s){var c=a(r(this.points,n+2*s,i,o));return Yn(t,e,c)},roughCollide:n,draw:function(t,n,i,a){var o=r(this.points,n,i,a);e.arrowShapeImpl("polygon")(t,o);},spacing:function(t){return 0},gap:o},s);};s("none",{collide:ke,roughCollide:ke,draw:Ee,spacing:_e,gap:_e}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(t,n,a,o,s){var c=r(this.points,n,a,o),u=this.controlPoint,l=i(u[0],u[1],n,a,o);e.arrowShapeImpl(this.name)(t,c,l);},gap:function(t){return .8*o(t)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.pointsTee,n+2*c,i,o));return Yn(t,e,u)||Yn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.pointsTee,n,i,a);e.arrowShapeImpl(this.name)(t,s,c);}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(t,e,n,i,o,s,c){var u=o,l=Math.pow(u.x-t,2)+Math.pow(u.y-e,2)<=Math.pow((n+2*c)*this.radius,2),h=a(r(this.points,n+2*c,i,o));return Yn(t,e,h)||l},draw:function(t,n,i,a,o){var s=r(this.pointsTr,n,i,a);e.arrowShapeImpl(this.name)(t,s,a.x,a.y,this.radius*n);},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(t,e){var n=this.baseCrossLinePts.slice(),i=e/t,r=3,a=5;return n[r]=n[r]-i,n[a]=n[a]-i,n},collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.crossLinePts(n,s),n+2*c,i,o));return Yn(t,e,u)||Yn(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.crossLinePts(n,o),n,i,a);e.arrowShapeImpl(this.name)(t,s,c);}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(t){return .525*o(t)}}),s("circle",{radius:.15,collide:function(t,e,n,i,r,a,o){var s=r;return Math.pow(s.x-t,2)+Math.pow(s.y-e,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(t,n,i,r,a){e.arrowShapeImpl(this.name)(t,r.x,r.y,this.radius*n);},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(t){return 1},gap:function(t){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(t){return .95*t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}});}},Xl={projectIntoViewport:function(t,e){var n=this.cy,i=this.findContainerClientCoords(),r=i[0],a=i[1],o=i[4],s=n.pan(),c=n.zoom();return [((t-r)/o-s.x)/c,((e-a)/o-s.y)/c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),n=f.getComputedStyle(t),i=function(t){return parseFloat(n.getPropertyValue(t))},r={left:i("padding-left"),right:i("padding-right"),top:i("padding-top"),bottom:i("padding-bottom")},a={left:i("border-left-width"),right:i("border-right-width"),top:i("border-top-width"),bottom:i("border-bottom-width")},o=t.clientWidth,s=t.clientHeight,c=r.left+r.right,u=r.top+r.bottom,l=a.left+a.right,h=e.width/(o+l),d=o-c,g=s-u,p=e.left+r.left+a.left,b=e.top+r.top+a.top;return this.containerBB=[p,b,d,g,h]},invalidateContainerClientCoordsCache:function(){this.containerBB=null;},findNearestElement:function(t,e,n,i){return this.findNearestElements(t,e,n,i)[0]},findNearestElements:function(t,e,n,i){var r,a,o=this,s=this,c=s.getCachedZSortedEles(),u=[],l=s.cy.zoom(),h=s.cy.hasCompoundNodes(),f=(i?24:8)/l,d=(i?8:2)/l,g=(i?8:2)/l,p=1/0;function b(t,e){if(t.isNode()){if(a)return;a=t,u.push(t);}if(t.isEdge()&&(null==e||e<p))if(r){if(r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value&&r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=t,r=t,p=null!=e?e:p;break}}else u.push(t),r=t,p=null!=e?e:p;}function w(n){var i=n.outerWidth()+2*d,r=n.outerHeight()+2*d,a=i/2,c=r/2,u=n.position();if(u.x-a<=t&&t<=u.x+a&&u.y-c<=e&&e<=u.y+c&&s.nodeShapes[o.getNodeShape(n)].checkPoint(t,e,0,i,r,u.x,u.y))return b(n,0),!0}function y(n){var i,r=n._private,a=r.rscratch,c=n.pstyle("width").pfValue,l=n.pstyle("arrow-scale").value,d=c/2+f,g=d*d,p=2*d,y=r.source,m=r.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var v=a.allpts,x=0;x+3<v.length;x+=2)if(zn(t,e,v[x],v[x+1],v[x+2],v[x+3],p)&&g>(i=Kn(t,e,v[x],v[x+1],v[x+2],v[x+3])))return b(n,i),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(v=a.allpts,x=0;x+5<a.allpts.length;x+=4)if(Hn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5],p)&&g>(i=qn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5])))return b(n,i),!0;y=y||r.source,m=m||r.target;var k=o.getArrowWidth(c,l),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(x=0;x<_.length;x++){var E=_[x],T=s.arrowShapes[n.pstyle(E.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(T.roughCollide(t,e,k,E.angle,{x:E.x,y:E.y},C,f)&&T.collide(t,e,k,E.angle,{x:E.x,y:E.y},C,f))return b(n),!0}h&&u.length>0&&(w(y),w(m));}function m(t,e,n){return je(t,e,n)}function v(n,i){var r,a=n._private,o=g;r=i?i+"-":"",n.boundingBox();var s=a.labelBounds[i||"main"],c=n.pstyle(r+"label").value;if("yes"===n.pstyle("text-events").strValue&&c){var u=m(a.rscratch,"labelX",i),l=m(a.rscratch,"labelY",i),h=m(a.rscratch,"labelAngle",i),f=n.pstyle(r+"text-margin-x").pfValue,d=n.pstyle(r+"text-margin-y").pfValue,p=s.x1-o-f,w=s.x2+o-f,y=s.y1-o-d,v=s.y2+o-d;if(h){var x=Math.cos(h),k=Math.sin(h),_=function(t,e){return {x:(t-=u)*x-(e-=l)*k+u,y:t*k+e*x+l}},E=_(p,y),T=_(p,v),C=_(w,y),S=_(w,v),A=[E.x+f,E.y+d,C.x+f,C.y+d,S.x+f,S.y+d,T.x+f,T.y+d];if(Yn(t,e,A))return b(n),!0}else if(Rn(s,t,e))return b(n),!0}}n&&(c=c.interactive);for(var x=c.length-1;x>=0;x--){var k=c[x];k.isNode()?w(k)||v(k):y(k)||v(k)||v(k,"source")||v(k,"target");}return u},getAllInBox:function(t,e,n,i){for(var r=this.getCachedZSortedEles().interactive,a=[],o=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i),l=An({x1:t=o,y1:e=c,x2:n=s,y2:i=u}),h=0;h<r.length;h++){var f=r[h];if(f.isNode()){var d=f,g=d.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});Bn(l,g)&&!$n(g,l)&&a.push(d);}else {var p=f,b=p._private,w=b.rscratch;if(null!=w.startX&&null!=w.startY&&!Rn(l,w.startX,w.startY))continue;if(null!=w.endX&&null!=w.endY&&!Rn(l,w.endX,w.endY))continue;if("bezier"===w.edgeType||"multibezier"===w.edgeType||"self"===w.edgeType||"compound"===w.edgeType||"segments"===w.edgeType||"haystack"===w.edgeType){for(var y=b.rstyle.bezierPts||b.rstyle.linePts||b.rstyle.haystackPts,m=!0,v=0;v<y.length;v++)if(!jn(l,y[v])){m=!1;break}m&&a.push(p);}else "haystack"!==w.edgeType&&"straight"!==w.edgeType||a.push(p);}}return a}},Vl={calculateArrowAngles:function(t){var e,n,i,r,a,o,s=t._private.rscratch,c="haystack"===s.edgeType,u="bezier"===s.edgeType,l="multibezier"===s.edgeType,h="segments"===s.edgeType,f="compound"===s.edgeType,d="self"===s.edgeType;if(c?(i=s.haystackPts[0],r=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(i=s.arrowStartX,r=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),p=s.midX,b=s.midY,h)e=i-s.segpts[0],n=r-s.segpts[1];else if(l||f||d||u){var g=s.allpts;e=i-En(g[0],g[2],g[4],.1),n=r-En(g[1],g[3],g[5],.1);}else e=i-p,n=r-b;s.srcArrowAngle=yn(e,n);var p=s.midX,b=s.midY;if(c&&(p=(i+a)/2,b=(r+o)/2),e=a-i,n=o-r,h)if((g=s.allpts).length/2%2==0){var w=(y=g.length/2)-2;e=g[y]-g[w],n=g[y+1]-g[w+1];}else {w=(y=g.length/2-1)-2;var y,m=y+2;e=g[y]-g[w],n=g[y+1]-g[w+1];}else if(l||f||d){var v,x,k,_,g=s.allpts;if(s.ctrlpts.length/2%2==0){var E=2+(T=2+(C=g.length/2-1));v=En(g[C],g[T],g[E],0),x=En(g[C+1],g[T+1],g[E+1],0),k=En(g[C],g[T],g[E],1e-4),_=En(g[C+1],g[T+1],g[E+1],1e-4);}else {var T,C;E=2+(T=g.length/2-1),v=En(g[C=T-2],g[T],g[E],.4999),x=En(g[C+1],g[T+1],g[E+1],.4999),k=En(g[C],g[T],g[E],.5),_=En(g[C+1],g[T+1],g[E+1],.5);}e=k-v,n=_-x;}if(s.midtgtArrowAngle=yn(e,n),s.midDispX=e,s.midDispY=n,e*=-1,n*=-1,h&&((g=s.allpts).length/2%2==0||(e=-(g[m=2+(y=g.length/2-1)]-g[y]),n=-(g[m+1]-g[y+1]))),s.midsrcArrowAngle=yn(e,n),h)e=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(l||f||d||u){var S=(g=s.allpts).length;e=a-En(g[S-6],g[S-4],g[S-2],.9),n=o-En(g[S-5],g[S-3],g[S-1],.9);}else e=a-p,n=o-b;s.tgtArrowAngle=yn(e,n);}};Vl.getArrowWidth=Vl.getArrowHeight=function(t,e){var n=this.arrowWidthCache=this.arrowWidthCache||{},i=n[t+", "+e];return i||(i=Math.max(Math.pow(13.37*t,.9),29)*e,n[t+", "+e]=i,i)};var Zl={};function Ql(t){var e=[];if(null!=t){for(var n=0;n<t.length;n+=2){var i=t[n],r=t[n+1];e.push({x:i,y:r});}return e}}Zl.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n._private,r=i.rscratch;if(!r.haystack){var a=2*Math.random()*Math.PI;r.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,r.target={x:Math.cos(a),y:Math.sin(a)};}var o=i.source,s=i.target,c=o.position(),u=s.position(),l=o.width(),h=s.width(),f=o.height(),d=s.height(),g=n.pstyle("haystack-radius").value/2;r.haystackPts=r.allpts=[r.source.x*l*g+c.x,r.source.y*f*g+c.y,r.target.x*h*g+u.x,r.target.y*d*g+u.y],r.midX=(r.allpts[0]+r.allpts[2])/2,r.midY=(r.allpts[1]+r.allpts[3])/2,r.edgeType="haystack",r.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n);}},Zl.findSegmentsPoints=function(t,e){var n=t._private.rscratch,i=e.posPts,r=e.intersectionPts,a=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),c=t.pstyle("segment-distances"),u=Math.min(s.pfValue.length,c.pfValue.length);n.edgeType="segments",n.segpts=[];for(var l=0;l<u;l++){var h=s.pfValue[l],f=c.pfValue[l],d=1-h,g=h,p="node-position"===o?i:r,b={x:p.x1*d+p.x2*g,y:p.y1*d+p.y2*g};n.segpts.push(b.x+a.x*f,b.y+a.y*f);}},Zl.findLoopPoints=function(t,e,n,i){var r=t._private.rscratch,a=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),c=s?s.pfValue[0]:void 0,u=t.pstyle("loop-direction").pfValue,l=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;r.edgeType="self";var f=n,d=h;i&&(f=0,d=c);var g=u-Math.PI/2,p=g-l/2,b=g+l/2,w=String(u+"_"+l);f=void 0===a[w]?a[w]=0:++a[w],r.ctrlpts=[o.x+1.4*Math.cos(p)*d*(f/3+1),o.y+1.4*Math.sin(p)*d*(f/3+1),o.x+1.4*Math.cos(b)*d*(f/3+1),o.y+1.4*Math.sin(b)*d*(f/3+1)];},Zl.findCompoundLoopPoints=function(t,e,n,i){var r=t._private.rscratch;r.edgeType="compound";var a=e.srcPos,o=e.tgtPos,s=e.srcW,c=e.srcH,u=e.tgtW,l=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),d=f?f.pfValue[0]:void 0,g=n,p=h;i&&(g=0,p=d);var b=50,w={x:a.x-s/2,y:a.y-c/2},y={x:o.x-u/2,y:o.y-l/2},m={x:Math.min(w.x,y.x),y:Math.min(w.y,y.y)},v=.5,x=Math.max(v,Math.log(.01*s)),k=Math.max(v,Math.log(.01*u));r.ctrlpts=[m.x,m.y-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*x,m.x-(1+Math.pow(b,1.12)/100)*p*(g/3+1)*k,m.y];},Zl.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight";},Zl.findBezierPoints=function(t,e,n,i,r){var a=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,c=e.intersectionPts,u=t.pstyle("edge-distances").value,l=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),f=t.pstyle("control-point-weights"),d=h&&f?Math.min(h.value.length,f.value.length):1,g=h?h.pfValue[0]:void 0,p=f.value[0],b=i;a.edgeType=b?"multibezier":"bezier",a.ctrlpts=[];for(var w=0;w<d;w++){var y=(.5-e.eles.length/2+n)*l*(r?-1:1),m=void 0,v=vn(y);b&&(g=h?h.pfValue[w]:l,p=f.value[w]);var x=void 0!==(m=i?g:void 0!==g?v*g:void 0)?m:y,k=1-p,_=p,E="node-position"===u?s:c,T={x:E.x1*k+E.x2*_,y:E.y1*k+E.y2*_};a.ctrlpts.push(T.x+o.x*x,T.y+o.y*x);}},Zl.findTaxiPoints=function(t,e){var n=t._private.rscratch;n.edgeType="segments";var i="vertical",r="horizontal",a="leftward",o="rightward",s="downward",c="upward",u="auto",l=e.posPts,h=e.srcW,f=e.srcH,d=e.tgtW,g=e.tgtH,p="node-position"!==t.pstyle("edge-distances").value,b=t.pstyle("taxi-direction").value,w=b,y=t.pstyle("taxi-turn"),m="%"===y.units,v=y.pfValue,x=v<0,k=t.pstyle("taxi-turn-min-distance").pfValue,_=p?(h+d)/2:0,E=p?(f+g)/2:0,T=l.x2-l.x1,C=l.y2-l.y1,S=function(t,e){return t>0?Math.max(t-e,0):Math.min(t+e,0)},A=S(T,_),M=S(C,E),I=!1;w===u?b=Math.abs(A)>Math.abs(M)?r:i:w===c||w===s?(b=i,I=!0):w!==a&&w!==o||(b=r,I=!0);var O,L=b===i,D=L?M:A,N=L?C:T,P=vn(N),B=!1;I&&(m||x)||!(w===s&&N<0||w===c&&N>0||w===a&&N>0||w===o&&N<0)||(D=(P*=-1)*Math.abs(D),B=!0);var R=function(t){return Math.abs(t)<k||Math.abs(t)>=Math.abs(D)},j=R(O=m?(v<0?1+v:v)*D:(v<0?D:0)+v*P),$=R(Math.abs(D)-Math.abs(O));if(!j&&!$||B)if(L){var F=l.y1+O+(p?f/2*P:0),z=l.x1,H=l.x2;n.segpts=[z,F,H,F];}else {var U=l.x1+O+(p?h/2*P:0),G=l.y1,q=l.y2;n.segpts=[U,G,U,q];}else if(L){var K=Math.abs(N)<=f/2,Y=Math.abs(T)<=d/2;if(K){var W=(l.x1+l.x2)/2,X=l.y1,V=l.y2;n.segpts=[W,X,W,V];}else if(Y){var Z=(l.y1+l.y2)/2,Q=l.x1,J=l.x2;n.segpts=[Q,Z,J,Z];}else n.segpts=[l.x1,l.y2];}else {var tt=Math.abs(N)<=h/2,et=Math.abs(C)<=g/2;if(tt){var nt=(l.y1+l.y2)/2,it=l.x1,rt=l.x2;n.segpts=[it,nt,rt,nt];}else if(et){var at=(l.x1+l.x2)/2,ot=l.y1,st=l.y2;n.segpts=[at,ot,at,st];}else n.segpts=[l.x2,l.y1];}},Zl.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var i=e.srcPos,r=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,u=e.srcShape,l=e.tgtShape,h=!E(n.startX)||!E(n.startY),f=!E(n.arrowStartX)||!E(n.arrowStartY),d=!E(n.endX)||!E(n.endY),g=!E(n.arrowEndX)||!E(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=xn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=b<p,y=xn({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),m=y<p,v=!1;if(h||f||w){v=!0;var x={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},k=Math.sqrt(x.x*x.x+x.y*x.y),_={x:x.x/k,y:x.y/k},T=Math.max(a,o),C={x:n.ctrlpts[0]+2*_.x*T,y:n.ctrlpts[1]+2*_.y*T},S=u.intersectLine(i.x,i.y,a,o,C.x,C.y,0);w?(n.ctrlpts[0]=n.ctrlpts[0]+_.x*(p-b),n.ctrlpts[1]=n.ctrlpts[1]+_.y*(p-b)):(n.ctrlpts[0]=S[0]+_.x*p,n.ctrlpts[1]=S[1]+_.y*p);}if(d||g||m){v=!0;var A={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},M=Math.sqrt(A.x*A.x+A.y*A.y),I={x:A.x/M,y:A.y/M},O=Math.max(a,o),L={x:n.ctrlpts[0]+2*I.x*O,y:n.ctrlpts[1]+2*I.y*O},D=l.intersectLine(r.x,r.y,s,c,L.x,L.y,0);m?(n.ctrlpts[0]=n.ctrlpts[0]+I.x*(p-y),n.ctrlpts[1]=n.ctrlpts[1]+I.y*(p-y)):(n.ctrlpts[0]=D[0]+I.x*p,n.ctrlpts[1]=D[1]+I.y*p);}v&&this.findEndpoints(t);}},Zl.storeAllpts=function(t){var e=t._private.rscratch;if("multibezier"===e.edgeType||"bezier"===e.edgeType||"self"===e.edgeType||"compound"===e.edgeType){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var n=0;n+1<e.ctrlpts.length;n+=2)e.allpts.push(e.ctrlpts[n],e.ctrlpts[n+1]),n+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[n]+e.ctrlpts[n+2])/2,(e.ctrlpts[n+1]+e.ctrlpts[n+3])/2);var i,r;e.allpts.push(e.endX,e.endY),e.ctrlpts.length/2%2==0?(i=e.allpts.length/2-1,e.midX=e.allpts[i],e.midY=e.allpts[i+1]):(i=e.allpts.length/2-3,r=.5,e.midX=En(e.allpts[i],e.allpts[i+2],e.allpts[i+4],r),e.midY=En(e.allpts[i+1],e.allpts[i+3],e.allpts[i+5],r));}else if("straight"===e.edgeType)e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if("segments"===e.edgeType)if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4==0){var a=e.segpts.length/2,o=a-2;e.midX=(e.segpts[o]+e.segpts[a])/2,e.midY=(e.segpts[o+1]+e.segpts[a+1])/2;}else {var s=e.segpts.length/2-1;e.midX=e.segpts[s],e.midY=e.segpts[s+1];}},Zl.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||E(e.startX)&&E(e.startY)&&E(e.endX)&&E(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Se("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."));},Zl.findEdgeControlPoints=function(t){var e=this;if(t&&0!==t.length){for(var n=this,i=n.cy.hasCompoundNodes(),r={map:new Fe,get:function(t){var e=this.map.get(t[0]);return null!=e?e.get(t[1]):null},set:function(t,e){var n=this.map.get(t[0]);null==n&&(n=new Fe,this.map.set(t[0],n)),n.set(t[1],e);}},a=[],o=[],s=0;s<t.length;s++){var c=t[s],u=c._private,l=c.pstyle("curve-style").value;if(!c.removed()&&c.takesUpSpace())if("haystack"!==l){var h="unbundled-bezier"===l||"segments"===l||"straight"===l||"straight-triangle"===l||"taxi"===l,f="unbundled-bezier"===l||"bezier"===l,d=u.source,g=u.target,p=[d.poolIndex(),g.poolIndex()].sort(),b=r.get(p);null==b&&(b={eles:[]},r.set(p,b),a.push(p)),b.eles.push(c),h&&(b.hasUnbundled=!0),f&&(b.hasBezier=!0);}else o.push(c);}for(var w=function(t){var o=a[t],s=r.get(o),c=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(t){return t.isBundledBezier()}));Be(s.eles),u.forEach((function(t){return s.eles.push(t)})),s.eles.sort((function(t,e){return t.poolIndex()-e.poolIndex()}));}var l=s.eles[0],h=l.source(),f=l.target();if(h.poolIndex()>f.poolIndex()){var d=h;h=f,f=d;}var g=s.srcPos=h.position(),p=s.tgtPos=f.position(),b=s.srcW=h.outerWidth(),w=s.srcH=h.outerHeight(),y=s.tgtW=f.outerWidth(),m=s.tgtH=f.outerHeight(),v=s.srcShape=n.nodeShapes[e.getNodeShape(h)],x=s.tgtShape=n.nodeShapes[e.getNodeShape(f)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var k=0;k<s.eles.length;k++){var _=s.eles[k],T=_[0]._private.rscratch,C=_.pstyle("curve-style").value,S="unbundled-bezier"===C||"segments"===C||"taxi"===C,A=!h.same(_.source());if(!s.calculatedIntersection&&h!==f&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var M=v.intersectLine(g.x,g.y,b,w,p.x,p.y,0),I=s.srcIntn=M,O=x.intersectLine(p.x,p.y,y,m,g.x,g.y,0),L=s.tgtIntn=O,D=s.intersectionPts={x1:M[0],x2:O[0],y1:M[1],y2:O[1]},N=s.posPts={x1:g.x,x2:p.x,y1:g.y,y2:p.y},P=O[1]-M[1],B=O[0]-M[0],R=Math.sqrt(B*B+P*P),j=s.vector={x:B,y:P},$=s.vectorNorm={x:j.x/R,y:j.y/R},F={x:-$.y,y:$.x};s.nodesOverlap=!E(R)||x.checkPoint(M[0],M[1],0,y,m,p.x,p.y)||v.checkPoint(O[0],O[1],0,b,w,g.x,g.y),s.vectorNormInverse=F,c={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:p,tgtPos:g,srcW:y,srcH:m,tgtW:b,tgtH:w,srcIntn:L,tgtIntn:I,srcShape:x,tgtShape:v,posPts:{x1:N.x2,y1:N.y2,x2:N.x1,y2:N.y1},intersectionPts:{x1:D.x2,y1:D.y2,x2:D.x1,y2:D.y1},vector:{x:-j.x,y:-j.y},vectorNorm:{x:-$.x,y:-$.y},vectorNormInverse:{x:-F.x,y:-F.y}};}var z=A?c:s;T.nodesOverlap=z.nodesOverlap,T.srcIntn=z.srcIntn,T.tgtIntn=z.tgtIntn,i&&(h.isParent()||h.isChild()||f.isParent()||f.isChild())&&(h.parents().anySame(f)||f.parents().anySame(h)||h.same(f)&&h.isParent())?e.findCompoundLoopPoints(_,z,k,S):h===f?e.findLoopPoints(_,z,k,S):"segments"===C?e.findSegmentsPoints(_,z):"taxi"===C?e.findTaxiPoints(_,z):"straight"===C||!S&&s.eles.length%2==1&&k===Math.floor(s.eles.length/2)?e.findStraightEdgePoints(_):e.findBezierPoints(_,z,k,S,A),e.findEndpoints(_),e.tryToCorrectInvalidPoints(_,z),e.checkForInvalidEdgeWarning(_),e.storeAllpts(_),e.storeEdgeProjections(_),e.calculateArrowAngles(_),e.recalculateEdgeLabelProjections(_),e.calculateLabelAngles(_);}},y=0;y<a.length;y++)w(y);this.findHaystackPoints(o);}},Zl.getSegmentPoints=function(t){var e=t[0]._private.rscratch;if("segments"===e.edgeType)return this.recalculateRenderedStyle(t),Ql(e.segpts)},Zl.getControlPoints=function(t){var e=t[0]._private.rscratch,n=e.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(t),Ql(e.ctrlpts)},Zl.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var Jl={manualEndptToPx:function(t,e){var n=this,i=t.position(),r=t.outerWidth(),a=t.outerHeight();if(2===e.value.length){var o=[e.pfValue[0],e.pfValue[1]];return "%"===e.units[0]&&(o[0]=o[0]*r),"%"===e.units[1]&&(o[1]=o[1]*a),o[0]+=i.x,o[1]+=i.y,o}var s=e.pfValue[0];s=-Math.PI/2+s;var c=2*Math.max(r,a),u=[i.x+Math.cos(s)*c,i.y+Math.sin(s)*c];return n.nodeShapes[this.getNodeShape(t)].intersectLine(i.x,i.y,r,a,u[0],u[1],0)},findEndpoints:function(t){var e,n,i,r,a,o=this,s=t.source()[0],c=t.target()[0],u=s.position(),l=c.position(),h=t.pstyle("target-arrow-shape").value,f=t.pstyle("source-arrow-shape").value,d=t.pstyle("target-distance-from-node").pfValue,g=t.pstyle("source-distance-from-node").pfValue,p=t.pstyle("curve-style").value,b=t._private.rscratch,w=b.edgeType,y="self"===w||"compound"===w,m="bezier"===w||"multibezier"===w||y,v="bezier"!==w,x="straight"===w||"segments"===w,k="segments"===w,_=m||v||x,T=y||"taxi"===p,C=t.pstyle("source-endpoint"),S=T?"outside-to-node":C.value,A=t.pstyle("target-endpoint"),M=T?"outside-to-node":A.value;if(b.srcManEndpt=C,b.tgtManEndpt=A,m){var I=[b.ctrlpts[0],b.ctrlpts[1]];n=v?[b.ctrlpts[b.ctrlpts.length-2],b.ctrlpts[b.ctrlpts.length-1]]:I,i=I;}else if(x){var O=k?b.segpts.slice(0,2):[l.x,l.y];n=k?b.segpts.slice(b.segpts.length-2):[u.x,u.y],i=O;}if("inside-to-node"===M)e=[l.x,l.y];else if(A.units)e=this.manualEndptToPx(c,A);else if("outside-to-line"===M)e=b.tgtIntn;else if("outside-to-node"===M||"outside-to-node-or-label"===M?r=n:"outside-to-line"!==M&&"outside-to-line-or-label"!==M||(r=[u.x,u.y]),e=o.nodeShapes[this.getNodeShape(c)].intersectLine(l.x,l.y,c.outerWidth(),c.outerHeight(),r[0],r[1],0),"outside-to-node-or-label"===M||"outside-to-line-or-label"===M){var L=c._private.rscratch,D=L.labelWidth,N=L.labelHeight,P=L.labelX,B=L.labelY,R=D/2,j=N/2,$=c.pstyle("text-valign").value;"top"===$?B-=j:"bottom"===$&&(B+=j);var F=c.pstyle("text-halign").value;"left"===F?P-=R:"right"===F&&(P+=R);var z=ii(r[0],r[1],[P-R,B-j,P+R,B-j,P+R,B+j,P-R,B+j],l.x,l.y);if(z.length>0){var H=u,U=kn(H,fn(e)),G=kn(H,fn(z)),q=U;G<U&&(e=z,q=G),z.length>2&&kn(H,{x:z[2],y:z[3]})<q&&(e=[z[2],z[3]]);}}var K=ai(e,n,o.arrowShapes[h].spacing(t)+d),Y=ai(e,n,o.arrowShapes[h].gap(t)+d);if(b.endX=Y[0],b.endY=Y[1],b.arrowEndX=K[0],b.arrowEndY=K[1],"inside-to-node"===S)e=[u.x,u.y];else if(C.units)e=this.manualEndptToPx(s,C);else if("outside-to-line"===S)e=b.srcIntn;else if("outside-to-node"===S||"outside-to-node-or-label"===S?a=i:"outside-to-line"!==S&&"outside-to-line-or-label"!==S||(a=[l.x,l.y]),e=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0),"outside-to-node-or-label"===S||"outside-to-line-or-label"===S){var W=s._private.rscratch,X=W.labelWidth,V=W.labelHeight,Z=W.labelX,Q=W.labelY,J=X/2,tt=V/2,et=s.pstyle("text-valign").value;"top"===et?Q-=tt:"bottom"===et&&(Q+=tt);var nt=s.pstyle("text-halign").value;"left"===nt?Z-=J:"right"===nt&&(Z+=J);var it=ii(a[0],a[1],[Z-J,Q-tt,Z+J,Q-tt,Z+J,Q+tt,Z-J,Q+tt],u.x,u.y);if(it.length>0){var rt=l,at=kn(rt,fn(e)),ot=kn(rt,fn(it)),st=at;ot<at&&(e=[it[0],it[1]],st=ot),it.length>2&&kn(rt,{x:it[2],y:it[3]})<st&&(e=[it[2],it[3]]);}}var ct=ai(e,i,o.arrowShapes[f].spacing(t)+g),ut=ai(e,i,o.arrowShapes[f].gap(t)+g);b.startX=ut[0],b.startY=ut[1],b.arrowStartX=ct[0],b.arrowStartY=ct[1],_&&(E(b.startX)&&E(b.startY)&&E(b.endX)&&E(b.endY)?b.badLine=!1:b.badLine=!0);},getSourceEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[0],y:e.haystackPts[1]}:{x:e.arrowStartX,y:e.arrowStartY}},getTargetEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[2],y:e.haystackPts[3]}:{x:e.arrowEndX,y:e.arrowEndY}}},th={};function eh(t,e,n){for(var i=function(t,e,n,i){return En(t,e,n,i)},r=e._private.rstyle.bezierPts,a=0;a<t.bezierProjPcts.length;a++){var o=t.bezierProjPcts[a];r.push({x:i(n[0],n[2],n[4],o),y:i(n[1],n[3],n[5],o)});}}th.storeEdgeProjections=function(t){var e=t._private,n=e.rscratch,i=n.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,"multibezier"===i||"bezier"===i||"self"===i||"compound"===i){e.rstyle.bezierPts=[];for(var r=0;r+5<n.allpts.length;r+=4)eh(this,t,n.allpts.slice(r,r+6));}else if("segments"===i){var a=e.rstyle.linePts=[];for(r=0;r+1<n.allpts.length;r+=2)a.push({x:n.allpts[r],y:n.allpts[r+1]});}else if("haystack"===i){var o=n.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}];}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth;},th.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t);};var nh={recalculateNodeLabelProjection:function(t){var e=t.pstyle("label").strValue;if(!D(e)){var n,i,r=t._private,a=t.width(),o=t.height(),s=t.padding(),c=t.position(),u=t.pstyle("text-halign").strValue,l=t.pstyle("text-valign").strValue,h=r.rscratch,f=r.rstyle;switch(u){case"left":n=c.x-a/2-s;break;case"right":n=c.x+a/2+s;break;default:n=c.x;}switch(l){case"top":i=c.y-o/2-s;break;case"bottom":i=c.y+o/2+s;break;default:i=c.y;}h.labelX=n,h.labelY=i,f.labelX=n,f.labelY=i,this.calculateLabelAngles(t),this.applyLabelDimensions(t);}}},ih=function(t,e){var n=Math.atan(e/t);return 0===t&&n<0&&(n*=-1),n},rh=function(t,e){var n=e.x-t.x,i=e.y-t.y;return ih(n,i)},ah=function(t,e,n,i){var r=Sn(0,i-.001,1),a=Sn(0,i+.001,1),o=Tn(t,e,n,r),s=Tn(t,e,n,a);return rh(o,s)};nh.recalculateEdgeLabelProjections=function(t){var e,n=t._private,i=n.rscratch,r=this,a={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(a.mid||a.source||a.target){e={x:i.midX,y:i.midY};var o=function(t,e,i){$e(n.rscratch,t,e,i),$e(n.rstyle,t,e,i);};o("labelX",null,e.x),o("labelY",null,e.y);var s=ih(i.midDispX,i.midDispY);o("labelAutoAngle",null,s);var c=function t(){if(t.cache)return t.cache;for(var e=[],a=0;a+5<i.allpts.length;a+=4){var o={x:i.allpts[a],y:i.allpts[a+1]},s={x:i.allpts[a+2],y:i.allpts[a+3]},c={x:i.allpts[a+4],y:i.allpts[a+5]};e.push({p0:o,p1:s,p2:c,startDist:0,length:0,segments:[]});}var u=n.rstyle.bezierPts,l=r.bezierProjPcts.length;function h(t,e,n,i,r){var a=xn(e,n),o=t.segments[t.segments.length-1],s={p0:e,p1:n,t0:i,t1:r,startDist:o?o.startDist+o.length:0,length:a};t.segments.push(s),t.length+=a;}for(var f=0;f<e.length;f++){var d=e[f],g=e[f-1];g&&(d.startDist=g.startDist+g.length),h(d,d.p0,u[f*l],0,r.bezierProjPcts[0]);for(var p=0;p<l-1;p++)h(d,u[f*l+p],u[f*l+p+1],r.bezierProjPcts[p],r.bezierProjPcts[p+1]);h(d,u[f*l+l-1],d.p2,r.bezierProjPcts[l-1],1);}return t.cache=e},u=function(n){var r,s="source"===n;if(a[n]){var u=t.pstyle(n+"-text-offset").pfValue;switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var l,h=c(),f=0,d=0,g=0;g<h.length;g++){for(var p=h[s?g:h.length-1-g],b=0;b<p.segments.length;b++){var w=p.segments[s?b:p.segments.length-1-b],y=g===h.length-1&&b===p.segments.length-1;if(f=d,(d+=w.length)>=u||y){l={cp:p,segment:w};break}}if(l)break}var m=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=Sn(0,_,1),e=Tn(m.p0,m.p1,m.p2,_),r=ah(m.p0,m.p1,m.p2,_);break;case"straight":case"segments":case"haystack":for(var E,T,C,S,A=0,M=i.allpts.length,I=0;I+3<M&&(s?(C={x:i.allpts[I],y:i.allpts[I+1]},S={x:i.allpts[I+2],y:i.allpts[I+3]}):(C={x:i.allpts[M-2-I],y:i.allpts[M-1-I]},S={x:i.allpts[M-4-I],y:i.allpts[M-3-I]}),T=A,!((A+=E=xn(C,S))>=u));I+=2);var O=(u-T)/E;O=Sn(0,O,1),e=Cn(C,S,O),r=rh(C,S);}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r);}};u("source"),u("target"),this.applyLabelDimensions(t);}},nh.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"));},nh.applyPrefixedLabelDimensions=function(t,e){var n=t._private,i=this.getLabelText(t,e),r=this.calculateLabelDimensions(t,i),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=je(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),u=r.height/c,l=u*a,h=r.width,f=r.height+(c-1)*(a-1)*u;$e(n.rstyle,"labelWidth",e,h),$e(n.rscratch,"labelWidth",e,h),$e(n.rstyle,"labelHeight",e,f),$e(n.rscratch,"labelHeight",e,f),$e(n.rscratch,"labelLineHeight",e,l);},nh.getLabelText=function(t,e){var n=t._private,i=e?e+"-":"",r=t.pstyle(i+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,i){return i?($e(n.rscratch,t,e,i),i):je(n.rscratch,t,e)};if(!r)return "";"none"==a||("uppercase"==a?r=r.toUpperCase():"lowercase"==a&&(r=r.toLowerCase()));var s=t.pstyle("text-wrap").value;if("wrap"===s){var c=o("labelKey");if(null!=c&&o("labelWrapKey")===c)return o("labelWrapCachedText");for(var u="",l=r.split("\n"),h=t.pstyle("text-max-width").pfValue,f="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,p=f?"":" ",b=0;b<l.length;b++){var w=l[b],y=this.calculateLabelDimensions(t,w).width;if(f){var m=w.split("").join(u);w=m;}if(y>h){for(var v=w.split(g),x="",k=0;k<v.length;k++){var _=v[k],E=0===x.length?_:x+p+_;this.calculateLabelDimensions(t,E).width<=h?x+=_+p:(x&&d.push(x),x=_+p);}x.match(/^[\s\u200b]+$/)||d.push(x);}else d.push(w);}o("labelWrapCachedLines",d),r=o("labelWrapCachedText",d.join("\n")),o("labelWrapKey",c);}else if("ellipsis"===s){var T=t.pstyle("text-max-width").pfValue,C="",S="…",A=!1;if(this.calculateLabelDimensions(t,r).width<T)return r;for(var M=0;M<r.length&&!(this.calculateLabelDimensions(t,C+r[M]+S).width>T);M++)C+=r[M],M===r.length-1&&(A=!0);return A||(C+=S),C}return r},nh.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,n=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return "center";switch(n){case"left":return "right";case"right":return "left";default:return "center"}},nh.calculateLabelDimensions=function(t,e){var n=this,i=ge(e,t._private.labelDimsKey),r=n.labelDimCache||(n.labelDimCache=[]),a=r[i];if(null!=a)return a;var o=0,s=t.pstyle("font-style").strValue,c=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,l=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,f=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),f=this.labelCalcCanvasContext=h.getContext("2d");var d=h.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none";}f.font="".concat(s," ").concat(l," ").concat(c,"px ").concat(u);for(var g=0,p=0,b=e.split("\n"),w=0;w<b.length;w++){var y=b[w],m=f.measureText(y),v=Math.ceil(m.width),x=c;g=Math.max(v,g),p+=x;}return g+=o,p+=o,r[i]={width:g,height:p}},nh.calculateLabelAngle=function(t,e){var n=t._private.rscratch,i=t.isEdge(),r=e?e+"-":"",a=t.pstyle(r+"text-rotation"),o=a.strValue;return "none"===o?0:i&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},nh.calculateLabelAngles=function(t){var e=this,n=t.isEdge(),i=t._private.rscratch;i.labelAngle=e.calculateLabelAngle(t),n&&(i.sourceLabelAngle=e.calculateLabelAngle(t,"source"),i.targetLabelAngle=e.calculateLabelAngle(t,"target"));};var oh={},sh=28,ch=!1;oh.getNodeShape=function(t){var e=this,n=t.pstyle("shape").value;if("cutrectangle"===n&&(t.width()<sh||t.height()<sh))return ch||(Se("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),ch=!0),"rectangle";if(t.isParent())return "rectangle"===n||"roundrectangle"===n||"round-rectangle"===n||"cutrectangle"===n||"cut-rectangle"===n||"barrel"===n?n:"rectangle";if("polygon"===n){var i=t.pstyle("shape-polygon-points").value;return e.nodeShapes.makePolygon(i).name}return n};var uh={registerCalculationListeners:function(){var t=this.cy,e=t.collection(),n=this,i=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i<t.length;i++){var r=t[i]._private.rstyle;r.clean=!1,r.cleanConnected=!1;}};n.binder(t).on("bounds.* dirty.*",(function(t){var e=t.target;i(e);})).on("style.* background.*",(function(t){var e=t.target;i(e,!1);}));var r=function(r){if(r){var a=n.onUpdateEleCalcsFns;e.cleanStyle();for(var o=0;o<e.length;o++){var s=e[o],c=s._private.rstyle;s.isNode()&&!c.cleanConnected&&(i(s.connectedEdges()),c.cleanConnected=!0);}if(a)for(var u=0;u<a.length;u++)(0, a[u])(r,e);n.recalculateRenderedStyle(e),e=t.collection();}};n.flushRenderedStyleQueue=function(){r(!0);},n.beforeRender(r,n.beforeRenderPriorities.eleCalcs);},onUpdateEleCalcs:function(t){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(t);},recalculateRenderedStyle:function(t,e){var n=function(t){return t._private.rstyle.cleanConnected},i=[],r=[];if(!this.destroyed){void 0===e&&(e=!0);for(var a=0;a<t.length;a++){var o=t[a],s=o._private,c=s.rstyle;!o.isEdge()||n(o.source())&&n(o.target())||(c.clean=!1),e&&c.clean||o.removed()||"none"!==o.pstyle("display").value&&("nodes"===s.group?r.push(o):i.push(o),c.clean=!0);}for(var u=0;u<r.length;u++){var l=r[u],h=l._private.rstyle,f=l.position();this.recalculateNodeLabelProjection(l),h.nodeX=f.x,h.nodeY=f.y,h.nodeW=l.pstyle("width").pfValue,h.nodeH=l.pstyle("height").pfValue;}this.recalculateEdgeProjections(i);for(var d=0;d<i.length;d++){var g=i[d]._private,p=g.rstyle,b=g.rscratch;p.srcX=b.arrowStartX,p.srcY=b.arrowStartY,p.tgtX=b.arrowEndX,p.tgtY=b.arrowEndY,p.midX=b.midX,p.midY=b.midY,p.labelAngle=b.labelAngle,p.sourceLabelAngle=b.sourceLabelAngle,p.targetLabelAngle=b.targetLabelAngle;}}}},lh={updateCachedGrabbedEles:function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],n=0;n<t.length;n++){var i=(r=t[n])._private.rscratch;r.grabbed()&&!r.isParent()?e.push(r):i.inDragLayer?t.drag.push(r):t.nondrag.push(r);}for(n=0;n<e.length;n++){var r=e[n];t.drag.push(r);}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null;},getCachedZSortedEles:function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(Kc),e.interactive=e.filter((function(t){return t.interactive()})),this.cachedZSortedEles=e,this.updateCachedGrabbedEles();}else e=this.cachedZSortedEles;return e}},hh={};[Xl,Vl,Zl,Jl,th,nh,oh,uh,lh].forEach((function(t){Q(hh,t);}));var fh={getCachedImage:function(t,e,n){var i=this,r=i.imageCache=i.imageCache||{},a=r[t];if(a)return a.image.complete||a.image.addEventListener("load",n),a.image;var o=(a=r[t]=r[t]||{}).image=new Image;o.addEventListener("load",n),o.addEventListener("error",(function(){o.error=!0;}));var s="data:";return t.substring(0,s.length).toLowerCase()===s||(o.crossOrigin=e),o.src=t,o}},dh={registerBinding:function(t,e,n,i){var r=Array.prototype.slice.apply(arguments,[1]),a=this.binder(t);return a.on.apply(a,r)},binder:function(t){var e=this,n=t===window||t===document||t===document.body||N(t);if(null==e.supportsPassiveEvents){var i=!1;try{var r=Object.defineProperty({},"passive",{get:function(){return i=!0,!0}});window.addEventListener("test",null,r);}catch(t){}e.supportsPassiveEvents=i;}var a=function(i,r,a){var o=Array.prototype.slice.call(arguments);return n&&e.supportsPassiveEvents&&(o[2]={capture:null!=a&&a,passive:!1,once:!1}),e.bindings.push({target:t,args:o}),(t.addEventListener||t.on).apply(t,o),this};return {on:a,addEventListener:a,addListener:a,bind:a}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=function(t){return t.selected()},n=function(e,n,i,r){null==e&&(e=t.cy);for(var a=0;a<n.length;a++){var o=n[a];e.emit({originalEvent:i,type:o,position:r});}},i=function(t){return t.shiftKey||t.metaKey||t.ctrlKey},r=function(e,n){var i=!0;if(t.cy.hasCompoundNodes()&&e&&e.pannable()){for(var r=0;n&&r<n.length;r++)if((e=n[r]).isNode()&&e.isParent()&&!e.pannable()){i=!1;break}}else i=!0;return i},a=function(t){t[0]._private.grabbed=!0;},o=function(t){t[0]._private.grabbed=!1;},s=function(t){t[0]._private.rscratch.inDragLayer=!0;},c=function(t){t[0]._private.rscratch.inDragLayer=!1;},u=function(t){t[0]._private.rscratch.isGrabTarget=!0;},l=function(t){t[0]._private.rscratch.isGrabTarget=!1;},h=function(t,e){var n=e.addToList;n.has(t)||!t.grabbable()||t.locked()||(n.merge(t),a(t));},f=function(t,e){if(t.cy().hasCompoundNodes()&&(null!=e.inDragLayer||null!=e.addToList)){var n=t.descendants();e.inDragLayer&&(n.forEach(s),n.connectedEdges().forEach(s)),e.addToList&&h(n,e);}},d=function(e,n){n=n||{};var i=e.cy().hasCompoundNodes();n.inDragLayer&&(e.forEach(s),e.neighborhood().stdFilter((function(t){return !i||t.isEdge()})).forEach(s)),n.addToList&&e.forEach((function(t){h(t,n);})),f(e,n),b(e,{inDragLayer:n.inDragLayer}),t.updateCachedGrabbedEles();},g=d,p=function(e){e&&(t.getCachedZSortedEles().forEach((function(t){o(t),c(t),l(t);})),t.updateCachedGrabbedEles());},b=function(t,e){if((null!=e.inDragLayer||null!=e.addToList)&&t.cy().hasCompoundNodes()){var n=t.ancestors().orphans();if(!n.same(t)){var i=n.descendants().spawnSelf().merge(n).unmerge(t).unmerge(t.descendants()),r=i.connectedEdges();e.inDragLayer&&(r.forEach(s),i.forEach(s)),e.addToList&&i.forEach((function(t){h(t,e);}));}}},w=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur();},y="undefined"!=typeof MutationObserver,m="undefined"!=typeof ResizeObserver;y?(t.removeObserver=new MutationObserver((function(e){for(var n=0;n<e.length;n++){var i=e[n].removedNodes;if(i)for(var r=0;r<i.length;r++)if(i[r]===t.container){t.destroy();break}}})),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",(function(e){t.destroy();}));var v=Qt((function(){t.cy.resize();}),100);y&&(t.styleObserver=new MutationObserver(v),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(window,"resize",v),m&&(t.resizeObserver=new ResizeObserver(v),t.resizeObserver.observe(t.container));var x=function(){t.invalidateContainerClientCoordsCache();};((function(t,e){for(;null!=t;)e(t),t=t.parentNode;}))(t.container,(function(e){t.registerBinding(e,"transitionend",x),t.registerBinding(e,"animationend",x),t.registerBinding(e,"scroll",x);})),t.registerBinding(t.container,"contextmenu",(function(t){t.preventDefault();}));var k,_,T,C=function(){return 0!==t.selection[4]},S=function(e){for(var n=t.findContainerClientCoords(),i=n[0],r=n[1],a=n[2],o=n[3],s=e.touches?e.touches:[e],c=!1,u=0;u<s.length;u++){var l=s[u];if(i<=l.clientX&&l.clientX<=i+a&&r<=l.clientY&&l.clientY<=r+o){c=!0;break}}if(!c)return !1;for(var h=t.container,f=e.target.parentNode,d=!1;f;){if(f===h){d=!0;break}f=f.parentNode;}return !!d};t.registerBinding(t.container,"mousedown",(function(e){if(S(e)){e.preventDefault(),w(),t.hoverData.capture=!0,t.hoverData.which=e.which;var i=t.cy,r=[e.clientX,e.clientY],a=t.projectIntoViewport(r[0],r[1]),o=t.selection,s=t.findNearestElements(a[0],a[1],!0,!1),c=s[0],l=t.dragData.possibleDragElements;t.hoverData.mdownPos=a,t.hoverData.mdownGPos=r;var h=function(){t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout((function(){if(!t.hoverData.tapholdCancelled){var n=t.hoverData.down;n?n.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}}):i.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}});}}),t.tapholdDuration);};if(3==e.which){t.hoverData.cxtStarted=!0;var f={originalEvent:e,type:"cxttapstart",position:{x:a[0],y:a[1]}};c?(c.activate(),c.emit(f),t.hoverData.down=c):i.emit(f),t.hoverData.downTime=(new Date).getTime(),t.hoverData.cxtDragged=!1;}else if(1==e.which){if(c&&c.activate(),null!=c&&t.nodeIsGrabbable(c)){var p=function(t){return {originalEvent:e,type:t,position:{x:a[0],y:a[1]}}},b=function(t){t.emit(p("grab"));};if(u(c),c.selected()){l=t.dragData.possibleDragElements=i.collection();var y=i.$((function(e){return e.isNode()&&e.selected()&&t.nodeIsGrabbable(e)}));d(y,{addToList:l}),c.emit(p("grabon")),y.forEach(b);}else l=t.dragData.possibleDragElements=i.collection(),g(c,{addToList:l}),c.emit(p("grabon")).emit(p("grab"));t.redrawHint("eles",!0),t.redrawHint("drag",!0);}t.hoverData.down=c,t.hoverData.downs=s,t.hoverData.downTime=(new Date).getTime(),n(c,["mousedown","tapstart","vmousedown"],e,{x:a[0],y:a[1]}),null==c?(o[4]=1,t.data.bgActivePosistion={x:a[0],y:a[1]},t.redrawHint("select",!0),t.redraw()):c.pannable()&&(o[4]=1),h();}o[0]=o[2]=a[0],o[1]=o[3]=a[1];}}),!1),t.registerBinding(window,"mousemove",(function(e){if(t.hoverData.capture||S(e)){var a=!1,o=t.cy,s=o.zoom(),c=[e.clientX,e.clientY],u=t.projectIntoViewport(c[0],c[1]),l=t.hoverData.mdownPos,h=t.hoverData.mdownGPos,f=t.selection,g=null;t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.selecting||(g=t.findNearestElement(u[0],u[1],!0,!1));var b,w=t.hoverData.last,y=t.hoverData.down,m=[u[0]-f[2],u[1]-f[3]],v=t.dragData.possibleDragElements;if(h){var x=c[0]-h[0],k=x*x,_=c[1]-h[1],T=k+_*_;t.hoverData.isOverThresholdDrag=b=T>=t.desktopTapThreshold2;}var C=i(e);b&&(t.hoverData.tapholdCancelled=!0);var A=function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(m[0]),e.push(m[1])):(e[0]+=m[0],e[1]+=m[1]);};a=!0,n(g,["mousemove","vmousemove","tapdrag"],e,{x:u[0],y:u[1]});var M=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:u[0],y:u[1]}}),f[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw();};if(3===t.hoverData.which){if(b){var I={originalEvent:e,type:"cxtdrag",position:{x:u[0],y:u[1]}};y?y.emit(I):o.emit(I),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&g===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:u[0],y:u[1]}}),t.hoverData.cxtOver=g,g&&g.emit({originalEvent:e,type:"cxtdragover",position:{x:u[0],y:u[1]}}));}}else if(t.hoverData.dragging){if(a=!0,o.panningEnabled()&&o.userPanningEnabled()){var O;if(t.hoverData.justStartedPan){var L=t.hoverData.mdownPos;O={x:(u[0]-L[0])*s,y:(u[1]-L[1])*s},t.hoverData.justStartedPan=!1;}else O={x:m[0]*s,y:m[1]*s};o.panBy(O),o.emit("dragpan"),t.hoverData.dragged=!0;}u=t.projectIntoViewport(e.clientX,e.clientY);}else if(1!=f[4]||null!=y&&!y.pannable()){if(y&&y.pannable()&&y.active()&&y.unactivate(),y&&y.grabbed()||g==w||(w&&n(w,["mouseout","tapdragout"],e,{x:u[0],y:u[1]}),g&&n(g,["mouseover","tapdragover"],e,{x:u[0],y:u[1]}),t.hoverData.last=g),y)if(b){if(o.boxSelectionEnabled()&&C)y&&y.grabbed()&&(p(v),y.emit("freeon"),v.emit("free"),t.dragData.didDrag&&(y.emit("dragfreeon"),v.emit("dragfree"))),M();else if(y&&y.grabbed()&&t.nodeIsDraggable(y)){var D=!t.dragData.didDrag;D&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||d(v,{inDragLayer:!0});var N={x:0,y:0};if(E(m[0])&&E(m[1])&&(N.x+=m[0],N.y+=m[1],D)){var P=t.hoverData.dragDelta;P&&E(P[0])&&E(P[1])&&(N.x+=P[0],N.y+=P[1]);}t.hoverData.draggingEles=!0,v.silentShift(N).emit("position drag"),t.redrawHint("drag",!0),t.redraw();}}else A();a=!0;}else b&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!C&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&r(y,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,f[4]=0,t.data.bgActivePosistion=fn(l),t.redrawHint("select",!0),t.redraw()):M(),y&&y.pannable()&&y.active()&&y.unactivate());return f[2]=u[0],f[3]=u[1],a?(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1):void 0}}),!1),t.registerBinding(window,"mouseup",(function(r){if(t.hoverData.capture){t.hoverData.capture=!1;var a=t.cy,o=t.projectIntoViewport(r.clientX,r.clientY),s=t.selection,c=t.findNearestElement(o[0],o[1],!0,!1),u=t.dragData.possibleDragElements,l=t.hoverData.down,h=i(r);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,l&&l.unactivate(),3===t.hoverData.which){var f={originalEvent:r,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(f):a.emit(f),!t.hoverData.cxtDragged){var d={originalEvent:r,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(d):a.emit(d);}t.hoverData.cxtDragged=!1,t.hoverData.which=null;}else if(1===t.hoverData.which){if(n(c,["mouseup","tapend","vmouseup"],r,{x:o[0],y:o[1]}),t.dragData.didDrag||t.hoverData.dragged||t.hoverData.selecting||t.hoverData.isOverThresholdDrag||(n(l,["click","tap","vclick"],r,{x:o[0],y:o[1]}),_=!1,r.timeStamp-T<=a.multiClickDebounceTime()?(k&&clearTimeout(k),_=!0,T=null,n(l,["dblclick","dbltap","vdblclick"],r,{x:o[0],y:o[1]})):(k=setTimeout((function(){_||n(l,["oneclick","onetap","voneclick"],r,{x:o[0],y:o[1]});}),a.multiClickDebounceTime()),T=r.timeStamp)),null!=l||t.dragData.didDrag||t.hoverData.selecting||t.hoverData.dragged||i(r)||(a.$(e).unselect(["tapunselect"]),u.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=u=a.collection()),c!=l||t.dragData.didDrag||t.hoverData.selecting||null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||h?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):h||(a.$(e).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var g=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),g.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:r,position:{x:o[0],y:o[1]}});var b=function(t){return t.selectable()&&!t.selected()};"additive"===a.selectionType()||h||a.$(e).unmerge(g).unselect(),g.emit("box").stdFilter(b).select().emit("boxselect"),t.redraw();}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!s[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var w=l&&l.grabbed();p(u),w&&(l.emit("freeon"),u.emit("free"),t.dragData.didDrag&&(l.emit("dragfreeon"),u.emit("dragfree")));}}s[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null;}}),!1);var A,M,I,O,L,D,N,P,B,R,j,$,F,z=function(e){if(!t.scrollingPage){var n=t.cy,i=n.zoom(),r=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*i+r.x,a[1]*i+r.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||C())e.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;e.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout((function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw();}),150),s=null!=e.deltaY?e.deltaY/-250:null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3,s*=t.wheelSensitivity,1===e.deltaMode&&(s*=33);var c=n.zoom()*Math.pow(10,s);"gesturechange"===e.type&&(c=t.gestureStartZoom*e.scale),n.zoom({level:c,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom");}}};t.registerBinding(t.container,"wheel",z,!0),t.registerBinding(window,"scroll",(function(e){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout((function(){t.scrollingPage=!1;}),250);}),!0),t.registerBinding(t.container,"gesturestart",(function(e){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||e.preventDefault();}),!0),t.registerBinding(t.container,"gesturechange",(function(e){t.hasTouchStarted||z(e);}),!0),t.registerBinding(t.container,"mouseout",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseout",position:{x:n[0],y:n[1]}});}),!1),t.registerBinding(t.container,"mouseover",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseover",position:{x:n[0],y:n[1]}});}),!1);var H,U,G,q,K,Y,W,X=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},V=function(t,e,n,i){return (n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",H=function(e){if(t.hasTouchStarted=!0,S(e)){w(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var i=t.cy,r=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);r[0]=o[0],r[1]=o[1];}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),r[2]=o[0],r[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),r[4]=o[0],r[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,p(t.dragData.touchDragEles);var s=t.findContainerClientCoords();B=s[0],R=s[1],j=s[2],$=s[3],A=e.touches[0].clientX-B,M=e.touches[0].clientY-R,I=e.touches[1].clientX-B,O=e.touches[1].clientY-R,F=0<=A&&A<=j&&0<=I&&I<=j&&0<=M&&M<=$&&0<=O&&O<=$;var c=i.pan(),l=i.zoom();L=X(A,M,I,O),D=V(A,M,I,O),P=[((N=[(A+I)/2,(M+O)/2])[0]-c.x)/l,(N[1]-c.y)/l];var h=200;if(D<h*h&&!e.touches[2]){var f=t.findNearestElement(r[0],r[1],!0,!0),b=t.findNearestElement(r[2],r[3],!0,!0);return f&&f.isNode()?(f.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=f):b&&b.isNode()?(b.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=b):i.emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(e.touches[2])i.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var y=t.findNearestElements(r[0],r[1],!0,!0),m=y[0];if(null!=m&&(m.activate(),t.touchData.start=m,t.touchData.starts=y,t.nodeIsGrabbable(m))){var v=t.dragData.touchDragEles=i.collection(),x=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),m.selected()?(x=i.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),d(x,{addToList:v})):g(m,{addToList:v}),u(m);var k=function(t){return {originalEvent:e,type:t,position:{x:r[0],y:r[1]}}};m.emit(k("grabon")),x?x.forEach((function(t){t.emit(k("grab"));})):m.emit(k("grab"));}n(m,["touchstart","tapstart","vmousedown"],e,{x:r[0],y:r[1]}),null==m&&(t.data.bgActivePosistion={x:o[0],y:o[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout((function(){!1!==t.touchData.singleTouchMoved||t.pinching||t.touchData.selecting||n(t.touchData.start,["taphold"],e,{x:r[0],y:r[1]});}),t.tapholdDuration);}if(e.touches.length>=1){for(var _=t.touchData.startPosition=[],E=0;E<r.length;E++)_[E]=a[E]=r[E];var T=e.touches[0];t.touchData.startGPosition=[T.clientX,T.clientY];}}},!1),t.registerBinding(window,"touchmove",U=function(e){var i=t.touchData.capture;if(i||S(e)){var a=t.selection,o=t.cy,s=t.touchData.now,c=t.touchData.earlier,u=o.zoom();if(e.touches[0]){var l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);s[0]=l[0],s[1]=l[1];}e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1]);var h,f=t.touchData.startGPosition;if(i&&e.touches[0]&&f){for(var g=[],b=0;b<s.length;b++)g[b]=s[b]-c[b];var w=e.touches[0].clientX-f[0],y=w*w,m=e.touches[0].clientY-f[1];h=y+m*m>=t.touchTapThreshold2;}if(i&&t.touchData.cxt){e.preventDefault();var v=e.touches[0].clientX-B,x=e.touches[0].clientY-R,k=e.touches[1].clientX-B,_=e.touches[1].clientY-R,T=V(v,x,k,_),C=150,N=1.5;if(T/D>=N*N||T>=C*C){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var j={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(j),t.touchData.start=null):o.emit(j);}}if(i&&t.touchData.cxt){j={originalEvent:e,type:"cxtdrag",position:{x:s[0],y:s[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(j):o.emit(j),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var $=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&$===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=$,$&&$.emit({originalEvent:e,type:"cxtdragover",position:{x:s[0],y:s[1]}}));}else if(i&&e.touches[2]&&o.boxSelectionEnabled())e.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:s[0],y:s[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,a[4]=1,a&&0!==a.length&&void 0!==a[0]?(a[2]=(s[0]+s[2]+s[4])/3,a[3]=(s[1]+s[3]+s[5])/3):(a[0]=(s[0]+s[2]+s[4])/3,a[1]=(s[1]+s[3]+s[5])/3,a[2]=(s[0]+s[2]+s[4])/3+1,a[3]=(s[1]+s[3]+s[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(i&&e.touches[1]&&!t.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(e.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),nt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var z=0;z<nt.length;z++){var H=nt[z]._private;H.grabbed=!1,H.rscratch.inDragLayer=!1;}}var U=t.touchData.start,G=(v=e.touches[0].clientX-B,x=e.touches[0].clientY-R,k=e.touches[1].clientX-B,_=e.touches[1].clientY-R,X(v,x,k,_)),q=G/L;if(F){var K=(v-A+(k-I))/2,Y=(x-M+(_-O))/2,W=o.zoom(),Z=W*q,Q=o.pan(),J=P[0]*W+Q.x,tt=P[1]*W+Q.y,et={x:-Z/W*(J-Q.x-K)+J,y:-Z/W*(tt-Q.y-Y)+tt};if(U&&U.active()){var nt=t.dragData.touchDragEles;p(nt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),U.unactivate().emit("freeon"),nt.emit("free"),t.dragData.didDrag&&(U.emit("dragfreeon"),nt.emit("dragfree"));}o.viewport({zoom:Z,pan:et,cancelOnFailedZoom:!0}),o.emit("pinchzoom"),L=G,A=v,M=x,I=k,O=_,t.pinching=!0;}e.touches[0]&&(l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1]),e.touches[1]&&(l=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=l[0],s[3]=l[1]),e.touches[2]&&(l=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=l[0],s[5]=l[1]);}else if(e.touches[0]&&!t.touchData.didSelect){var it=t.touchData.start,rt=t.touchData.last;if(t.hoverData.draggingEles||t.swipePanning||($=t.findNearestElement(s[0],s[1],!0,!0)),i&&null!=it&&e.preventDefault(),i&&null!=it&&t.nodeIsDraggable(it))if(h){nt=t.dragData.touchDragEles;var at=!t.dragData.didDrag;at&&d(nt,{inDragLayer:!0}),t.dragData.didDrag=!0;var ot={x:0,y:0};E(g[0])&&E(g[1])&&(ot.x+=g[0],ot.y+=g[1],at&&(t.redrawHint("eles",!0),(st=t.touchData.dragDelta)&&E(st[0])&&E(st[1])&&(ot.x+=st[0],ot.y+=st[1]))),t.hoverData.draggingEles=!0,nt.silentShift(ot).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==c[0]&&t.touchData.startPosition[1]==c[1]&&t.redrawHint("eles",!0),t.redraw();}else {var st;0===(st=t.touchData.dragDelta=t.touchData.dragDelta||[]).length?(st.push(g[0]),st.push(g[1])):(st[0]+=g[0],st[1]+=g[1]);}if(n(it||$,["touchmove","tapdrag","vmousemove"],e,{x:s[0],y:s[1]}),it&&it.grabbed()||$==rt||(rt&&rt.emit({originalEvent:e,type:"tapdragout",position:{x:s[0],y:s[1]}}),$&&$.emit({originalEvent:e,type:"tapdragover",position:{x:s[0],y:s[1]}})),t.touchData.last=$,i)for(z=0;z<s.length;z++)s[z]&&t.touchData.startPosition[z]&&h&&(t.touchData.singleTouchMoved=!0);i&&(null==it||it.pannable())&&o.panningEnabled()&&o.userPanningEnabled()&&(r(it,t.touchData.starts)&&(e.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=fn(t.touchData.startPosition)),t.swipePanning?(o.panBy({x:g[0]*u,y:g[1]*u}),o.emit("dragpan")):h&&(t.swipePanning=!0,o.panBy({x:w*u,y:m*u}),o.emit("dragpan"),it&&(it.unactivate(),t.redrawHint("select",!0),t.touchData.start=null))),l=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=l[0],s[1]=l[1]);}for(b=0;b<s.length;b++)c[b]=s[b];i&&e.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw());}},!1),t.registerBinding(window,"touchcancel",G=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate();}),t.registerBinding(window,"touchend",q=function(i){var r=t.touchData.start;if(t.touchData.capture){0===i.touches.length&&(t.touchData.capture=!1),i.preventDefault();var a=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var o,s=t.cy,c=s.zoom(),u=t.touchData.now,l=t.touchData.earlier;if(i.touches[0]){var h=t.projectIntoViewport(i.touches[0].clientX,i.touches[0].clientY);u[0]=h[0],u[1]=h[1];}if(i.touches[1]&&(h=t.projectIntoViewport(i.touches[1].clientX,i.touches[1].clientY),u[2]=h[0],u[3]=h[1]),i.touches[2]&&(h=t.projectIntoViewport(i.touches[2].clientX,i.touches[2].clientY),u[4]=h[0],u[5]=h[1]),r&&r.unactivate(),t.touchData.cxt){if(o={originalEvent:i,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!t.touchData.cxtDragged){var f={originalEvent:i,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(f):s.emit(f);}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!i.touches[2]&&s.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var d=s.collection(t.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,t.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:i,position:{x:u[0],y:u[1]}});var g=function(t){return t.selectable()&&!t.selected()};d.emit("box").stdFilter(g).select().emit("boxselect"),d.nonempty()&&t.redrawHint("eles",!0),t.redraw();}if(null!=r&&r.unactivate(),i.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(i.touches[1]);else if(i.touches[0]);else if(!i.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var b=t.dragData.touchDragEles;if(null!=r){var w=r._private.grabbed;p(b),t.redrawHint("drag",!0),t.redrawHint("eles",!0),w&&(r.emit("freeon"),b.emit("free"),t.dragData.didDrag&&(r.emit("dragfreeon"),b.emit("dragfree"))),n(r,["touchend","tapend","vmouseup","tapdragout"],i,{x:u[0],y:u[1]}),r.unactivate(),t.touchData.start=null;}else {var y=t.findNearestElement(u[0],u[1],!0,!0);n(y,["touchend","tapend","vmouseup","tapdragout"],i,{x:u[0],y:u[1]});}var m=t.touchData.startPosition[0]-u[0],v=m*m,x=t.touchData.startPosition[1]-u[1],k=(v+x*x)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),n(r,["tap","vclick"],i,{x:u[0],y:u[1]}),K=!1,i.timeStamp-W<=s.multiClickDebounceTime()?(Y&&clearTimeout(Y),K=!0,W=null,n(r,["dbltap","vdblclick"],i,{x:u[0],y:u[1]})):(Y=setTimeout((function(){K||n(r,["onetap","voneclick"],i,{x:u[0],y:u[1]});}),s.multiClickDebounceTime()),W=i.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&k<t.touchTapThreshold2&&!t.pinching&&("single"===s.selectionType()?(s.$(e).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0;}for(var _=0;_<u.length;_++)l[_]=u[_];t.dragData.didDrag=!1,0===i.touches.length&&(t.touchData.dragDelta=[],t.touchData.startPosition=null,t.touchData.startGPosition=null,t.touchData.didSelect=!1),i.touches.length<2&&(1===i.touches.length&&(t.touchData.startGPosition=[i.touches[0].clientX,i.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw());}},!1),"undefined"==typeof TouchEvent){var Z=[],Q=function(t){return {clientX:t.clientX,clientY:t.clientY,force:1,identifier:t.pointerId,pageX:t.pageX,pageY:t.pageY,radiusX:t.width/2,radiusY:t.height/2,screenX:t.screenX,screenY:t.screenY,target:t.target}},J=function(t){return {event:t,touch:Q(t)}},tt=function(t){Z.push(J(t));},et=function(t){for(var e=0;e<Z.length;e++)if(Z[e].event.pointerId===t.pointerId)return void Z.splice(e,1)},nt=function(t){var e=Z.filter((function(e){return e.event.pointerId===t.pointerId}))[0];e.event=t,e.touch=Q(t);},it=function(t){t.touches=Z.map((function(t){return t.touch}));},rt=function(t){return "mouse"===t.pointerType||4===t.pointerType};t.registerBinding(t.container,"pointerdown",(function(t){rt(t)||(t.preventDefault(),tt(t),it(t),H(t));})),t.registerBinding(t.container,"pointerup",(function(t){rt(t)||(et(t),it(t),q(t));})),t.registerBinding(t.container,"pointercancel",(function(t){rt(t)||(et(t),it(t),G(t));})),t.registerBinding(t.container,"pointermove",(function(t){rt(t)||(t.preventDefault(),nt(t),it(t),U(t));}));}}},gh={generatePolygon:function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("polygon",t,e,n,i,r,this.points);},intersectLine:function(t,e,n,i,r,a,o){return ii(r,a,this.points,t,e,n/2,i/2,o)},checkPoint:function(t,e,n,i,r,a,o){return Wn(t,e,this.points,a,o,i,r,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r);},intersectLine:function(t,e,n,i,r,a,o){return Qn(r,a,t,e,n/2+o,i/2+o)},checkPoint:function(t,e,n,i,r,a,o){return Jn(t,e,i,r,a,o,n)}}},generateRoundPolygon:function(t,e){for(var n=new Array(2*e.length),i=0;i<e.length/2;i++){var r=2*i,a=void 0;a=i<e.length/2-1?2*(i+1):0,n[4*i]=e[r],n[4*i+1]=e[r+1];var o=e[a]-e[r],s=e[a+1]-e[r+1],c=Math.sqrt(o*o+s*s);n[4*i+2]=o/c,n[4*i+3]=s/c;}return this.nodeShapes[t]={renderer:this,name:t,points:n,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("round-polygon",t,e,n,i,r,this.points);},intersectLine:function(t,e,n,i,r,a,o){return ri(r,a,this.points,t,e,n,i)},checkPoint:function(t,e,n,i,r,a,o){return Xn(t,e,this.points,a,o,i,r)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:oi(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r);},intersectLine:function(t,e,n,i,r,a,o){return Fn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=ui(i,r),c=2*s;return !!(Wn(t,e,this.points,a,o,i,r-c,[0,-1],n)||Wn(t,e,this.points,a,o,i-c,r,[0,-1],n)||Jn(t,e,c,c,a-i/2+s,o-r/2+s,n)||Jn(t,e,c,c,a+i/2-s,o-r/2+s,n)||Jn(t,e,c,c,a+i/2-s,o+r/2-s,n)||Jn(t,e,c,c,a-i/2+s,o+r/2-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:hi(),points:oi(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r);},generateCutTrianglePts:function(t,e,n,i){var r=this.cornerLength,a=e/2,o=t/2,s=n-o,c=n+o,u=i-a,l=i+a;return {topLeft:[s,u+r,s+r,u,s+r,u+r],topRight:[c-r,u,c,u+r,c-r,u+r],bottomRight:[c,l-r,c-r,l,c-r,l-r],bottomLeft:[s+r,l,s,l-r,s+r,l-r]}},intersectLine:function(t,e,n,i,r,a,o){var s=this.generateCutTrianglePts(n+2*o,i+2*o,t,e),c=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return ii(r,a,c,t,e)},checkPoint:function(t,e,n,i,r,a,o){if(Wn(t,e,this.points,a,o,i,r-2*this.cornerLength,[0,-1],n))return !0;if(Wn(t,e,this.points,a,o,i-2*this.cornerLength,r,[0,-1],n))return !0;var s=this.generateCutTrianglePts(i,r,a,o);return Yn(t,e,s.topLeft)||Yn(t,e,s.topRight)||Yn(t,e,s.bottomRight)||Yn(t,e,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:oi(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r);},intersectLine:function(t,e,n,i,r,a,o){var s=.15,c=.5,u=.85,l=this.generateBarrelBezierPts(n+2*o,i+2*o,t,e),h=function(t){var e=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},s),n=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},c),i=Tn({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},u);return [t[0],t[1],e.x,e.y,n.x,n.y,i.x,i.y,t[4],t[5]]},f=[].concat(h(l.topLeft),h(l.topRight),h(l.bottomRight),h(l.bottomLeft));return ii(r,a,f,t,e)},generateBarrelBezierPts:function(t,e,n,i){var r=e/2,a=t/2,o=n-a,s=n+a,c=i-r,u=i+r,l=di(t,e),h=l.heightOffset,f=l.widthOffset,d=l.ctrlPtOffsetPct*t,g={topLeft:[o,c+h,o+d,c,o+f,c],topRight:[s-f,c,s-d,c,s,c+h],bottomRight:[s,u-h,s-d,u,s-f,u],bottomLeft:[o+f,u,o+d,u,o,u-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(t,e,n,i,r,a,o){var s=di(i,r),c=s.heightOffset,u=s.widthOffset;if(Wn(t,e,this.points,a,o,i,r-2*c,[0,-1],n))return !0;if(Wn(t,e,this.points,a,o,i-2*u,r,[0,-1],n))return !0;for(var l=this.generateBarrelBezierPts(i,r,a,o),h=function(t,e,n){var i=n[4],r=n[2],a=n[0],o=n[5],s=n[1],c=Math.min(i,a),u=Math.max(i,a),l=Math.min(o,s),h=Math.max(o,s);if(c<=t&&t<=u&&l<=e&&e<=h){var f=fi(i,r,a),d=Un(f[0],f[1],f[2],t).filter((function(t){return 0<=t&&t<=1}));if(d.length>0)return d[0]}return null},f=Object.keys(l),d=0;d<f.length;d++){var g=l[f[d]],p=h(t,e,g);if(null!=p){var b=g[5],w=g[3],y=g[1],m=En(b,w,y,p);if(g.isTop&&m<=e)return !0;if(g.isBottom&&e<=m)return !0}}return !1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:oi(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r);},intersectLine:function(t,e,n,i,r,a,o){var s=e-(i/2+o),c=ni(r,a,t,e,t-(n/2+o),s,t+(n/2+o),s,!1);return c.length>0?c:Fn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=ui(i,r),c=2*s;if(Wn(t,e,this.points,a,o,i,r-c,[0,-1],n))return !0;if(Wn(t,e,this.points,a,o,i-c,r,[0,-1],n))return !0;var u=i/2+2*n,l=r/2+2*n;return !!Yn(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||!!Jn(t,e,c,c,a+i/2-s,o+r/2-s,n)||!!Jn(t,e,c,c,a-i/2+s,o+r/2-s,n)}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",oi(3,0)),this.generateRoundPolygon("round-triangle",oi(3,0)),this.generatePolygon("rectangle",oi(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",oi(5,0)),this.generateRoundPolygon("round-pentagon",oi(5,0)),this.generatePolygon("hexagon",oi(6,0)),this.generateRoundPolygon("round-hexagon",oi(6,0)),this.generatePolygon("heptagon",oi(7,0)),this.generateRoundPolygon("round-heptagon",oi(7,0)),this.generatePolygon("octagon",oi(8,0)),this.generateRoundPolygon("round-octagon",oi(8,0));var i=new Array(20),r=ci(5,0),a=ci(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)i[4*s]=r[2*s],i[4*s+1]=r[2*s+1],i[4*s+2]=a[2*s],i[4*s+3]=a[2*s+1];i=si(i),this.generatePolygon("star",i),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var c=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",c),this.generateRoundPolygon("round-tag",c),t.makePolygon=function(t){var n,i="polygon-"+t.join("$");return (n=this[i])?n:e.generatePolygon(i,t)};}},ph={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(t){t=t||De();var e=this;void 0===e.averageRedrawTime&&(e.averageRedrawTime=0),void 0===e.lastRedrawTime&&(e.lastRedrawTime=0),void 0===e.lastDrawTime&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t;},beforeRender:function(t,e){if(!this.destroyed){null==e&&Te("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:t,priority:e}),n.sort((function(t,e){return e.priority-t.priority}));}}},bh=function(t,e,n){for(var i=t.beforeRenderCallbacks,r=0;r<i.length;r++)i[r].fn(e,n);};ph.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;var n=function n(i){if(!t.destroyed){if(e.batching());else if(t.requestedFrame&&!t.skipFrame){bh(t,!0,i);var r=ie();t.render(t.renderOptions);var a=t.lastDrawTime=ie();void 0===t.averageRedrawTime&&(t.averageRedrawTime=a-r),void 0===t.redrawCount&&(t.redrawCount=0),t.redrawCount++,void 0===t.redrawTotalTime&&(t.redrawTotalTime=0);var o=a-r;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1;}else bh(t,!1,i);t.skipFrame=!1,ne(n);}};ne(n);}};var wh=function(t){this.init(t);},yh=wh.prototype;yh.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],yh.init=function(t){var e=this;e.options=t,e.cy=t.cy;var n=e.container=t.cy.container();if(f){var i=f.document,r=i.head,a="__________cytoscape_stylesheet",o="__________cytoscape_container",s=null!=i.getElementById(a);if(n.className.indexOf(o)<0&&(n.className=(n.className||"")+" "+o),!s){var c=i.createElement("style");c.id=a,c.innerHTML="."+o+" { position: relative; }",r.insertBefore(c,r.children[0]);}"static"===f.getComputedStyle(n).getPropertyValue("position")&&Se("A Cytoscape container has style position:static and so can not use UI extensions properly");}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=E(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners();},yh.notify=function(t,e){var n=this,i=n.cy;this.destroyed||("init"!==t?"destroy"!==t?(("add"===t||"remove"===t||"move"===t&&i.hasCompoundNodes()||"load"===t||"zorder"===t||"mount"===t)&&n.invalidateCachedZSortedEles(),"viewport"===t&&n.redrawHint("select",!0),"load"!==t&&"resize"!==t&&"mount"!==t||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load());},yh.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var n=t.bindings[e],i=n.target;(i.off||i.removeEventListener).apply(i,n.args);}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv);}catch(t){}},yh.isHeadless=function(){return !1},[Wl,hh,fh,dh,gh,ph].forEach((function(t){Q(yh,t);}));var mh=1e3/60,vh={setupDequeueing:function(t){return function(){var e=this,n=this.renderer;if(!e.dequeueingSetup){e.dequeueingSetup=!0;var i=Qt((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw();}),t.deqRedrawThreshold),r=function(r,a){var o=ie(),s=n.averageRedrawTime,c=n.lastRedrawTime,u=[],l=n.cy.extent(),h=n.getPixelRatio();for(r||n.flushRenderedStyleQueue();;){var f=ie(),d=f-o,g=f-a;if(c<mh){var p=mh-(r?s:0);if(g>=t.deqFastCost*p)break}else if(r){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(g>=t.deqNoDrawCost*mh)break;var b=t.deq(e,h,l);if(!(b.length>0))break;for(var w=0;w<b.length;w++)u.push(b[w]);}u.length>0&&(t.onDeqd(e,u),!r&&t.shouldRedraw(e,u,h,l)&&i());},a=t.priority||Ee;n.beforeRender(r,a(e));}}}},xh=function(){function t(e){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke;n(this,t),this.idsByKey=new Fe,this.keyForId=new Fe,this.cachesByLvl=new Fe,this.lvls=[],this.getKey=e,this.doesEleInvalidateKey=i;}return r(t,[{key:"getIdsFor",value:function(t){null==t&&Te("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new Ue,e.set(t,n)),n}},{key:"addIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).add(e);}},{key:"deleteIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).delete(e);}},{key:"getNumberOfIdsForKey",value:function(t){return null==t?0:this.getIdsFor(t).size}},{key:"updateKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e),i=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(i,e),this.keyForId.set(e,i);}},{key:"deleteKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteIdForKey(n,e),this.keyForId.delete(e);}},{key:"keyHasChangedFor",value:function(t){var e=t.id();return this.keyForId.get(e)!==this.getKey(t)}},{key:"isInvalid",value:function(t){return this.keyHasChangedFor(t)||this.doesEleInvalidateKey(t)}},{key:"getCachesAt",value:function(t){var e=this.cachesByLvl,n=this.lvls,i=e.get(t);return i||(i=new Fe,e.set(t,i),n.push(t)),i}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),i=this.getCache(n,e);return null!=i&&this.updateKeyMappingFor(t),i}},{key:"getForCachedKey",value:function(t,e){var n=this.keyForId.get(t.id());return this.getCache(n,e)}},{key:"hasCache",value:function(t,e){return this.getCachesAt(e).has(t)}},{key:"has",value:function(t,e){var n=this.getKey(t);return this.hasCache(n,e)}},{key:"setCache",value:function(t,e,n){n.key=t,this.getCachesAt(e).set(t,n);}},{key:"set",value:function(t,e,n){var i=this.getKey(t);this.setCache(i,e,n),this.updateKeyMappingFor(t);}},{key:"deleteCache",value:function(t,e){this.getCachesAt(e).delete(t);}},{key:"delete",value:function(t,e){var n=this.getKey(t);this.deleteCache(n,e);}},{key:"invalidateKey",value:function(t){var e=this;this.lvls.forEach((function(n){return e.deleteCache(t,n)}));}},{key:"invalidate",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteKeyMappingFor(t);var i=this.doesEleInvalidateKey(t);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),kh=25,_h=50,Eh=-4,Th=3,Ch=7.99,Sh=8,Ah=1024,Mh=1024,Ih=1024,Oh=.2,Lh=.8,Dh=10,Nh=.15,Ph=.1,Bh=.9,Rh=.9,jh=100,$h=1,Fh={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},zh=Ne({getKey:null,doesEleInvalidateKey:ke,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Hh=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=zh(e);Q(n,i),n.lookup=new xh(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing();},Uh=Hh.prototype;Uh.reasons=Fh,Uh.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Uh.getRetiredTextureQueue=function(t){var e=this,n=e.eleImgCaches.retired=e.eleImgCaches.retired||{};return n[t]=n[t]||[]},Uh.getElementQueue=function(){var t=this;return t.eleCacheQueue=t.eleCacheQueue||new We((function(t,e){return e.reqs-t.reqs}))},Uh.getElementKeyToQueue=function(){var t=this;return t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{}},Uh.getElement=function(t,e,n,i,r){var a=this,o=this.renderer,s=o.cy.zoom(),c=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed())return null;if(!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(null==i&&(i=Math.ceil(mn(s*n))),i<Eh)i=Eh;else if(s>=Ch||i>Th)return null;var u=Math.pow(2,i),l=e.h*u,h=e.w*u,f=o.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,f))return null;var d,g=c.get(t,i);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(d=l<=kh?kh:l<=_h?_h:Math.ceil(l/_h)*_h,l>Ih||h>Mh)return null;var p=a.getTextureQueue(d),b=p[p.length-2],w=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=p[p.length-1]),b||(b=w()),b.width-b.usedWidth<h&&(b=w());for(var y,m=function(t){return t&&t.scaledLabelShown===f},v=r&&r===Fh.dequeue,x=r&&r===Fh.highQuality,k=r&&r===Fh.downscale,_=i+1;_<=Th;_++){var E=c.get(t,_);if(E){y=E;break}}var T=y&&y.level===i+1?y:null,C=function(){b.context.drawImage(T.texture.canvas,T.x,0,T.width,T.height,b.usedWidth,0,h,l);};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),m(T))C();else if(m(y)){if(!x)return a.queueElement(t,y.level-1),y;for(var S=y.level;S>i;S--)T=a.getElement(t,e,n,S,Fh.downscale);C();}else {var A;if(!v&&!x&&!k)for(var M=i-1;M>=Eh;M--){var I=c.get(t,M);if(I){A=I;break}}if(m(A))return a.queueElement(t,i),A;b.context.translate(b.usedWidth,0),b.context.scale(u,u),this.drawElement(b.context,t,e,f,!1),b.context.scale(1/u,1/u),b.context.translate(-b.usedWidth,0);}return g={x:b.usedWidth,texture:b,level:i,scale:u,width:h,height:l,scaledLabelShown:f},b.usedWidth+=Math.ceil(h+Sh),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},Uh.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e]);},Uh.invalidateElement=function(t){var e=this,n=e.lookup,i=[];if(n.isInvalid(t)){for(var r=Eh;r<=Th;r++){var a=n.getForCachedKey(t,r);a&&i.push(a);}if(n.invalidate(t))for(var o=0;o<i.length;o++){var s=i[o],c=s.texture;c.invalidatedWidth+=s.width,s.invalidated=!0,e.checkTextureUtility(c);}e.removeFromQueue(t);}},Uh.checkTextureUtility=function(t){t.invalidatedWidth>=Oh*t.width&&this.retireTexture(t);},Uh.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>Lh&&t.fullnessChecks>=Dh?Pe(e,t):t.fullnessChecks++;},Uh.retireTexture=function(t){var e=this,n=t.height,i=e.getTextureQueue(n),r=this.lookup;Pe(i,t),t.retired=!0;for(var a=t.eleCaches,o=0;o<a.length;o++){var s=a[o];r.deleteCache(s.key,s.level);}Be(a),e.getRetiredTextureQueue(n).push(t);},Uh.addTexture=function(t,e){var n=this,i={};return n.getTextureQueue(t).push(i),i.eleCaches=[],i.height=t,i.width=Math.max(Ah,e),i.usedWidth=0,i.invalidatedWidth=0,i.fullnessChecks=0,i.canvas=n.renderer.makeOffscreenCanvas(i.width,i.height),i.context=i.canvas.getContext("2d"),i},Uh.recycleTexture=function(t,e){for(var n=this,i=n.getTextureQueue(t),r=n.getRetiredTextureQueue(t),a=0;a<r.length;a++){var o=r[a];if(o.width>=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,Be(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Pe(r,o),i.push(o),o}},Uh.queueElement=function(t,e){var n=this,i=n.getElementQueue(),r=n.getElementKeyToQueue(),a=this.getKey(t),o=r[a];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,i.updateItem(o);else {var s={eles:t.spawn().merge(t),level:e,reqs:1,key:a};i.push(s),r[a]=s;}},Uh.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o<$h&&n.size()>0;o++){var s=n.pop(),c=s.key,u=s.eles[0],l=a.hasCache(u,s.level);if(i[c]=null,!l){r.push(s);var h=e.getBoundingBox(u);e.getElement(u,h,t,s.level,Fh.dequeue);}}return r},Uh.removeFromQueue=function(t){var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=this.getKey(t),a=i[r];null!=a&&(1===a.eles.length?(a.reqs=ve,n.updateItem(a),n.pop(),i[r]=null):a.eles.unmerge(t));},Uh.onDequeue=function(t){this.onDequeues.push(t);},Uh.offDequeue=function(t){Pe(this.onDequeues,t);},Uh.setupDequeueing=vh.setupDequeueing({deqRedrawThreshold:jh,deqCost:Nh,deqAvgCost:Ph,deqNoDrawCost:Bh,deqFastCost:Rh,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n<t.onDequeues.length;n++)(0, t.onDequeues[n])(e);},shouldRedraw:function(t,e,n,i){for(var r=0;r<e.length;r++)for(var a=e[r].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(Bn(s,i))return !0}return !1},priority:function(t){return t.renderer.beforeRenderPriorities.eleTxrDeq}});var Gh=1,qh=-4,Kh=2,Yh=3.99,Wh=50,Xh=50,Vh=.15,Zh=.1,Qh=.9,Jh=.9,tf=1,ef=250,nf=16e6,rf=!0,af=function(t){var e=this,n=e.renderer=t,i=n.cy;e.layersByLevel={},e.firstGet=!0,e.lastInvalidationTime=ie()-2*ef,e.skipping=!1,e.eleTxrDeqs=i.collection(),e.scheduleElementRefinement=Qt((function(){e.refineElementTextures(e.eleTxrDeqs),e.eleTxrDeqs.unmerge(e.eleTxrDeqs);}),Xh),n.beforeRender((function(t,n){n-e.lastInvalidationTime<=ef?e.skipping=!0:e.skipping=!1;}),n.beforeRenderPriorities.lyrTxrSkip);var r=function(t,e){return e.reqs-t.reqs};e.layersQueue=new We(r),e.setupDequeueing();},of=af.prototype,sf=0,cf=Math.pow(2,53)-1;of.makeLayer=function(t,e){var n=Math.pow(2,e),i=Math.ceil(t.w*n),r=Math.ceil(t.h*n),a=this.renderer.makeOffscreenCanvas(i,r),o={id:sf=++sf%cf,bb:t,level:e,width:i,height:r,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,c=-o.bb.x1,u=-o.bb.y1;return s.scale(n,n),s.translate(c,u),o},of.getLayers=function(t,e,n){var i=this,r=i.renderer.cy.zoom(),a=i.firstGet;if(i.firstGet=!1,null==n)if((n=Math.ceil(mn(r*e)))<qh)n=qh;else if(r>=Yh||n>Kh)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[];if(i.levelIsComplete(n,t))return l;!function(){var e=function(e){if(i.validateLayersElesOrdering(e,t),i.levelIsComplete(e,t))return s=c[e],!0},r=function(t){if(!s)for(var i=n+t;qh<=i&&i<=Kh&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Pe(l,o);}}();var h=function(){if(!o){o=An();for(var e=0;e<t.length;e++)On(o,t[e].boundingBox());}return o},f=function(t){var e=(t=t||{}).after;if(h(),o.w*u*(o.h*u)>nf)return null;var r=i.makeLayer(o,n);if(null!=e){var a=l.indexOf(e)+1;l.splice(a,0,r);}else (void 0===t.insert||t.insert)&&l.unshift(r);return r};if(i.skipping&&!a)return null;for(var d=null,g=t.length/Gh,p=!a,b=0;b<t.length;b++){var w=t[b],y=w._private.rscratch,m=y.imgLayerCaches=y.imgLayerCaches||{},v=m[n];if(v)d=v;else {if((!d||d.eles.length>=g||!$n(d.bb,w.boundingBox()))&&!(d=f({insert:!0,after:d})))return null;s||p?i.queueLayer(d,w):i.drawEleInLayer(d,w,n,e),d.eles.push(w),m[n]=d;}}return s||(p?null:l)},of.getEleLevelForLayerLevel=function(t,e){return t},of.drawEleInLayer=function(t,e,n,i){var r=this,a=this.renderer,o=t.context,s=e.boundingBox();0!==s.w&&0!==s.h&&e.visible()&&(n=r.getEleLevelForLayerLevel(n,i),a.setImgSmoothing(o,!1),a.drawCachedElement(o,e,null,null,n,rf),a.setImgSmoothing(o,!0));},of.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return !1;for(var i=0,r=0;r<n.length;r++){var a=n[r];if(a.reqs>0)return !1;if(a.invalid)return !1;i+=a.eles.length;}return i===e.length},of.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=-1,o=0;o<e.length;o++)if(r.eles[0]===e[o]){a=o;break}if(a<0)this.invalidateLayer(r);else {var s=a;for(o=0;o<r.eles.length;o++)if(r.eles[o]!==e[s+o]){this.invalidateLayer(r);break}}}},of.updateElementsInLayers=function(t,e){for(var n=this,i=A(t[0]),r=0;r<t.length;r++)for(var a=i?null:t[r],o=i?t[r]:t[r].ele,s=o._private.rscratch,c=s.imgLayerCaches=s.imgLayerCaches||{},u=qh;u<=Kh;u++){var l=c[u];l&&(a&&n.getEleLevelForLayerLevel(l.level)!==a.level||e(l,o,a));}},of.haveLayers=function(){for(var t=this,e=!1,n=qh;n<=Kh;n++){var i=t.layersByLevel[n];if(i&&i.length>0){e=!0;break}}return e},of.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=ie(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t);})));},of.invalidateLayer=function(t){if(this.lastInvalidationTime=ie(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Pe(i,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var r=0;r<n.length;r++){var a=n[r]._private.rscratch.imgLayerCaches;a&&(a[e]=null);}}},of.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,(function(t,n,i){var r=t.replacement;if(r||((r=t.replacement=e.makeLayer(t.bb,t.level)).replaces=t,r.eles=t.eles),!r.reqs)for(var a=0;a<r.eles.length;a++)e.queueLayer(r,r.eles[a]);}));},of.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement();},of.queueLayer=function(t,e){var n=this.layersQueue,i=t.elesQueue,r=i.hasId=i.hasId||{};if(!t.replacement){if(e){if(r[e.id()])return;i.push(e),r[e.id()]=!0;}t.reqs?(t.reqs++,n.updateItem(t)):(t.reqs=1,n.push(t));}},of.dequeue=function(t){for(var e=this,n=e.layersQueue,i=[],r=0;r<tf&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else {var o=a.elesQueue.shift();o&&(e.drawEleInLayer(a,o,a.level,t),r++),0===i.length&&i.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&e.applyLayerReplacement(a),e.requestRedraw());}}return i},of.applyLayerReplacement=function(t){var e=this,n=e.layersByLevel[t.level],i=t.replaces,r=n.indexOf(i);if(!(r<0||i.invalid)){n[r]=t;for(var a=0;a<t.eles.length;a++){var o=t.eles[a]._private,s=o.imgLayerCaches=o.imgLayerCaches||{};s&&(s[t.level]=t);}e.requestRedraw();}},of.requestRedraw=Qt((function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw();}),100),of.setupDequeueing=vh.setupDequeueing({deqRedrawThreshold:Wh,deqCost:Vh,deqAvgCost:Zh,deqNoDrawCost:Qh,deqFastCost:Jh,deq:function(t,e){return t.dequeue(e)},onDeqd:Ee,shouldRedraw:xe,priority:function(t){return t.renderer.beforeRenderPriorities.lyrTxrDeq}});var uf,lf={};function hf(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.lineTo(i.x,i.y);}}function ff(t,e,n){for(var i,r=0;r<e.length;r++){var a=e[r];0===r&&(i=a),t.lineTo(a.x,a.y);}t.quadraticCurveTo(n.x,n.y,i.x,i.y);}function df(t,e,n){t.beginPath&&t.beginPath();for(var i=e,r=0;r<i.length;r++){var a=i[r];t.lineTo(a.x,a.y);}var o=n,s=n[0];for(t.moveTo(s.x,s.y),r=1;r<o.length;r++)a=o[r],t.lineTo(a.x,a.y);t.closePath&&t.closePath();}function gf(t,e,n,i,r){t.beginPath&&t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1);var a=e,o=a[0];t.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var c=a[s];t.lineTo(c.x,c.y);}t.closePath&&t.closePath();}function pf(t,e,n,i){t.arc(e,n,i,0,2*Math.PI,!1);}lf.arrowShapeImpl=function(t){return (uf||(uf={polygon:hf,"triangle-backcurve":ff,"triangle-tee":df,"circle-triangle":gf,"triangle-cross":df,circle:pf}))[t]};var bf={drawElement:function(t,e,n,i,r,a){var o=this;e.isNode()?o.drawNode(t,e,n,i,r,a):o.drawEdge(t,e,n,i,r,a);},drawElementOverlay:function(t,e){var n=this;e.isNode()?n.drawNodeOverlay(t,e):n.drawEdgeOverlay(t,e);},drawElementUnderlay:function(t,e){var n=this;e.isNode()?n.drawNodeUnderlay(t,e):n.drawEdgeUnderlay(t,e);},drawCachedElementPortion:function(t,e,n,i,r,a,o,s){var c=this,u=n.getBoundingBox(e);if(0!==u.w&&0!==u.h){var l=n.getElement(e,u,i,r,a);if(null!=l){var h=s(c,e);if(0===h)return;var f,d,g,p,b,w,y=o(c,e),m=u.x1,v=u.y1,x=u.w,k=u.h;if(0!==y){var _=n.getRotationPoint(e);g=_.x,p=_.y,t.translate(g,p),t.rotate(y),(b=c.getImgSmoothing(t))||c.setImgSmoothing(t,!0);var E=n.getRotationOffset(e);f=E.x,d=E.y;}else f=m,d=v;1!==h&&(w=t.globalAlpha,t.globalAlpha=w*h),t.drawImage(l.texture.canvas,l.x,0,l.width,l.height,f,d,x,k),1!==h&&(t.globalAlpha=w),0!==y&&(t.rotate(-y),t.translate(-g,-p),b||c.setImgSmoothing(t,!1));}else n.drawElement(t,e);}}},wf=function(){return 0},yf=function(t,e){return t.getTextAngle(e,null)},mf=function(t,e){return t.getTextAngle(e,"source")},vf=function(t,e){return t.getTextAngle(e,"target")},xf=function(t,e){return e.effectiveOpacity()},kf=function(t,e){return e.pstyle("text-opacity").pfValue*e.effectiveOpacity()};bf.drawCachedElement=function(t,e,n,i,r,a){var o=this,s=o.data,c=s.eleTxrCache,u=s.lblTxrCache,l=s.slbTxrCache,h=s.tlbTxrCache,f=e.boundingBox(),d=!0===a?c.reasons.highQuality:null;if(0!==f.w&&0!==f.h&&e.visible()&&(!i||Bn(f,i))){var g=e.isEdge(),p=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,c,n,r,d,wf,xf),g&&p||o.drawCachedElementPortion(t,e,u,n,r,d,yf,kf),g&&!p&&(o.drawCachedElementPortion(t,e,l,n,r,d,mf,kf),o.drawCachedElementPortion(t,e,h,n,r,d,vf,kf)),o.drawElementOverlay(t,e);}},bf.drawElements=function(t,e){for(var n=this,i=0;i<e.length;i++){var r=e[i];n.drawElement(t,r);}},bf.drawCachedElements=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];r.drawCachedElement(t,o,n,i);}},bf.drawCachedNodes=function(t,e,n,i){for(var r=this,a=0;a<e.length;a++){var o=e[a];o.isNode()&&r.drawCachedElement(t,o,n,i);}},bf.drawLayeredElements=function(t,e,n,i){var r=this,a=r.data.lyrTxrCache.getLayers(e,n);if(a)for(var o=0;o<a.length;o++){var s=a[o],c=s.bb;0!==c.w&&0!==c.h&&t.drawImage(s.canvas,c.x1,c.y1,c.w,c.h);}else r.drawCachedElements(t,e,n,i);};var _f={drawEdge:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=e._private.rscratch;if((!a||e.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var c;n&&(c=n,t.translate(-c.x1,-c.y1));var u=a?e.pstyle("opacity").value:1,l=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,p=u*l,b=u*l,w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;"straight-triangle"===h?(o.eleStrokeStyle(t,e,n),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=d,t.lineCap=g,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt");},y=function(){r&&o.drawEdgeOverlay(t,e);},m=function(){r&&o.drawEdgeUnderlay(t,e);},v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n);},x=function(){o.drawElementText(t,e,null,i);};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var k=e.pstyle("ghost-offset-x").pfValue,_=e.pstyle("ghost-offset-y").pfValue,E=e.pstyle("ghost-opacity").value,T=p*E;t.translate(k,_),w(T),v(T),t.translate(-k,-_);}m(),w(),v(),y(),x(),n&&t.translate(c.x1,c.y1);}}},Ef=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var i=n.pstyle("".concat(t,"-opacity")).value;if(0!==i){var r=this,a=r.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-color")).value;e.lineWidth=s,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,c[0],c[1],c[2],i),r.drawEdgePath(n,e,o.allpts,"solid");}}}};_f.drawEdgeOverlay=Ef("overlay"),_f.drawEdgeUnderlay=Ef("underlay"),_f.drawEdgePath=function(t,e,n,i){var r,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,l=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(r=e=a.pathCache,s=!0):(r=e=new Path2D,a.pathCacheKey=h,a.pathCache=r);}if(o.setLineDash)switch(i){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=l;break;case"solid":o.setLineDash([]);}if(!s&&!a.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)e.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<n.length;d+=2)e.lineTo(n[d],n[d+1]);}e=o,c?e.stroke(r):e.stroke(),e.setLineDash&&e.setLineDash([]);},_f.drawEdgeTrianglePath=function(t,e,n){e.fillStyle=e.strokeStyle;for(var i=t.pstyle("width").pfValue,r=0;r+1<n.length;r+=2){var a=[n[r+2]-n[r],n[r+3]-n[r+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],c=[s[0]*i/2,s[1]*i/2];e.beginPath(),e.moveTo(n[r]-c[0],n[r+1]-c[1]),e.lineTo(n[r]+c[0],n[r+1]+c[1]),e.lineTo(n[r+2],n[r+3]),e.closePath(),e.fill();}},_f.drawArrowheads=function(t,e,n){var i=e._private.rscratch,r="haystack"===i.edgeType;r||this.drawArrowhead(t,e,"source",i.arrowStartX,i.arrowStartY,i.srcArrowAngle,n),this.drawArrowhead(t,e,"mid-target",i.midX,i.midY,i.midtgtArrowAngle,n),this.drawArrowhead(t,e,"mid-source",i.midX,i.midY,i.midsrcArrowAngle,n),r||this.drawArrowhead(t,e,"target",i.arrowEndX,i.arrowEndY,i.tgtArrowAngle,n);},_f.drawArrowhead=function(t,e,n,i,r,a,o){if(!(isNaN(i)||null==i||isNaN(r)||null==r||isNaN(a)||null==a)){var s=this,c=e.pstyle(n+"-arrow-shape").value;if("none"!==c){var u="hollow"===e.pstyle(n+"-arrow-fill").value?"both":"filled",l=e.pstyle(n+"-arrow-fill").value,h=e.pstyle("width").pfValue,f=e.pstyle("opacity").value;void 0===o&&(o=f);var d=t.globalCompositeOperation;1===o&&"hollow"!==l||(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,u,h,c,i,r,a),t.globalCompositeOperation=d);var g=e.pstyle(n+"-arrow-color").value;s.colorFillStyle(t,g[0],g[1],g[2],o),s.colorStrokeStyle(t,g[0],g[1],g[2],o),s.drawArrowShape(e,t,l,h,c,i,r,a);}}},_f.drawArrowShape=function(t,e,n,i,r,a,o,s){var c,u=this,l=this.usePaths()&&"triangle-cross"!==r,h=!1,f=e,d={x:a,y:o},g=t.pstyle("arrow-scale").value,p=this.getArrowWidth(i,g),b=u.arrowShapes[r];if(l){var w=u.arrowPathCache=u.arrowPathCache||[],y=ge(r),m=w[y];null!=m?(c=e=m,h=!0):(c=e=new Path2D,w[y]=c);}h||(e.beginPath&&e.beginPath(),l?b.draw(e,1,0,{x:0,y:0},1):b.draw(e,p,s,d,i),e.closePath&&e.closePath()),e=f,l&&(e.translate(a,o),e.rotate(s),e.scale(p,p)),"filled"!==n&&"both"!==n||(l?e.fill(c):e.fill()),"hollow"!==n&&"both"!==n||(e.lineWidth=(b.matchEdgeWidth?i:1)/(l?p:1),e.lineJoin="miter",l?e.stroke(c):e.stroke()),l&&(e.scale(1/p,1/p),e.rotate(-s),e.translate(-a,-o));};var Tf={safeDrawImage:function(t,e,n,i,r,a,o,s,c,u){if(!(r<=0||a<=0||c<=0||u<=0))try{t.drawImage(e,n,i,r,a,o,s,c,u);}catch(t){Se(t);}},drawInscribedImage:function(t,e,n,i,r){var a=this,o=n.position(),s=o.x,c=o.y,u=n.cy().style(),l=u.getIndexedStyle.bind(u),h=l(n,"background-fit","value",i),f=l(n,"background-repeat","value",i),d=n.width(),g=n.height(),p=2*n.padding(),b=d+("inner"===l(n,"background-width-relative-to","value",i)?0:p),w=g+("inner"===l(n,"background-height-relative-to","value",i)?0:p),y=n._private.rscratch,m="node"===l(n,"background-clip","value",i),v=l(n,"background-image-opacity","value",i)*r,x=l(n,"background-image-smoothing","value",i),k=e.width||e.cachedW,_=e.height||e.cachedH;null!=k&&null!=_||(document.body.appendChild(e),k=e.cachedW=e.width||e.offsetWidth,_=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var E=k,T=_;if("auto"!==l(n,"background-width","value",i)&&(E="%"===l(n,"background-width","units",i)?l(n,"background-width","pfValue",i)*b:l(n,"background-width","pfValue",i)),"auto"!==l(n,"background-height","value",i)&&(T="%"===l(n,"background-height","units",i)?l(n,"background-height","pfValue",i)*w:l(n,"background-height","pfValue",i)),0!==E&&0!==T){if("contain"===h)E*=C=Math.min(b/E,w/T),T*=C;else if("cover"===h){var C;E*=C=Math.max(b/E,w/T),T*=C;}var S=s-b/2,A=l(n,"background-position-x","units",i),M=l(n,"background-position-x","pfValue",i);S+="%"===A?(b-E)*M:M;var I=l(n,"background-offset-x","units",i),O=l(n,"background-offset-x","pfValue",i);S+="%"===I?(b-E)*O:O;var L=c-w/2,D=l(n,"background-position-y","units",i),N=l(n,"background-position-y","pfValue",i);L+="%"===D?(w-T)*N:N;var P=l(n,"background-offset-y","units",i),B=l(n,"background-offset-y","pfValue",i);L+="%"===P?(w-T)*B:B,y.pathCache&&(S-=s,L-=c,s=0,c=0);var R=t.globalAlpha;t.globalAlpha=v;var j=a.getImgSmoothing(t),$=!1;if("no"===x&&j?(a.setImgSmoothing(t,!1),$=!0):"yes"!==x||j||(a.setImgSmoothing(t,!0),$=!0),"no-repeat"===f)m&&(t.save(),y.pathCache?t.clip(y.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.clip())),a.safeDrawImage(t,e,0,0,k,_,S,L,E,T),m&&t.restore();else {var F=t.createPattern(e,f);t.fillStyle=F,a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.translate(S,L),t.fill(),t.translate(-S,-L);}t.globalAlpha=R,$&&a.setImgSmoothing(t,j);}}},Cf={};function Sf(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill();}Cf.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil(mn(n*i));e=Math.pow(2,r);}return !(t.pstyle("font-size").pfValue*e<t.pstyle("min-zoomed-font-size").pfValue)},Cf.drawElementText=function(t,e,n,i,r){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==i){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===i)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var c=o.getLabelJustification(e);t.textAlign=c,t.textBaseline="bottom";}else {var u=e.element()._private.rscratch.badLine,l=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(u||(!l||!l.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom";}var d,g=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==r?(o.drawText(t,e,null,g,a),e.isEdge()&&(o.drawText(t,e,"source",g,a),o.drawText(t,e,"target",g,a))):o.drawText(t,e,r,g,a),n&&t.translate(d.x1,d.y1);},Cf.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((e=this.fontCaches[n]).context===t)return e;return e={context:t},this.fontCaches.push(e),e},Cf.setupTextStyle=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e.pstyle("font-style").strValue,r=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=n?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,c=e.pstyle("text-outline-opacity").value*s,u=e.pstyle("color").value,l=e.pstyle("text-outline-color").value;t.font=i+" "+o+" "+r+" "+a,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],s),this.colorStrokeStyle(t,l[0],l[1],l[2],c);},Cf.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=je(n,"labelAngle",e);return "autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},Cf.drawText=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=r?e.effectiveOpacity():1;if(!r||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,u=je(a,"labelX",n),l=je(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,r);var f,d=n?n+"-":"",g=je(a,"labelWidth",n),p=je(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(y&&(m="center",v="center"),u+=b,l+=w,0!==(f=i?this.getTextAngle(e,n):0)&&(s=u,c=l,t.translate(s,c),t.rotate(f),u=0,l=0),v){case"top":break;case"center":l+=p/2;break;case"bottom":l+=p;}var x=e.pstyle("text-background-opacity").value,k=e.pstyle("text-border-opacity").value,_=e.pstyle("text-border-width").pfValue,E=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var T=u-E;switch(m){case"left":T-=g;break;case"center":T-=g/2;}var C=l-p-E,S=g+2*E,A=p+2*E;if(x>0){var M=t.fillStyle,I=e.pstyle("text-background-color").value;t.fillStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?Sf(t,T,C,S,A,2):t.fillRect(T,C,S,A),t.fillStyle=M;}if(_>0&&k>0){var O=t.strokeStyle,L=t.lineWidth,D=e.pstyle("text-border-color").value,N=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+D[0]+","+D[1]+","+D[2]+","+k*o+")",t.lineWidth=_,t.setLineDash)switch(N){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=_/4,t.setLineDash([]);break;case"solid":t.setLineDash([]);}if(t.strokeRect(T,C,S,A),"double"===N){var P=_/2;t.strokeRect(T+P,C+P,S-2*P,A-2*P);}t.setLineDash&&t.setLineDash([]),t.lineWidth=L,t.strokeStyle=O;}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var R=je(a,"labelWrapCachedLines",n),j=je(a,"labelLineHeight",n),$=g/2,F=this.getLabelJustification(e);switch("auto"===F||("left"===m?"left"===F?u+=-g:"center"===F&&(u+=-$):"center"===m?"left"===F?u+=-$:"right"===F&&(u+=$):"right"===m&&("center"===F?u+=$:"right"===F&&(u+=g))),v){case"top":case"center":case"bottom":l-=(R.length-1)*j;}for(var z=0;z<R.length;z++)B>0&&t.strokeText(R[z],u,l),t.fillText(R[z],u,l),l+=j;}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c));}}};var Af={drawNode:function(t,e,n){var i,r,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=this,u=e._private,l=u.rscratch,h=e.position();if(E(h.x)&&E(h.y)&&(!s||e.visible())){var f,d,g=s?e.effectiveOpacity():1,p=c.usePaths(),b=!1,w=e.padding();i=e.width()+2*w,r=e.height()+2*w,n&&(d=n,t.translate(-d.x1,-d.y1));for(var y=e.pstyle("background-image").value,m=new Array(y.length),v=new Array(y.length),x=0,k=0;k<y.length;k++){var _=y[k];if(m[k]=null!=_&&"none"!==_){var T=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",k);x++,v[k]=c.getCachedImage(_,T,(function(){u.backgroundTimestamp=Date.now(),e.emitAndNotify("background");}));}}var C=e.pstyle("background-blacken").value,S=e.pstyle("border-width").pfValue,A=e.pstyle("background-opacity").value*g,M=e.pstyle("border-color").value,I=e.pstyle("border-style").value,O=e.pstyle("border-opacity").value*g;t.lineJoin="miter";var L=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A;c.eleFillStyle(t,e,n);},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:O;c.colorStrokeStyle(t,M[0],M[1],M[2],e);},N=e.pstyle("shape").strValue,P=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var B=c.nodePathCache=c.nodePathCache||[],R=pe("polygon"===N?N+","+P.join(","):N,""+r,""+i),j=B[R];null!=j?(f=j,b=!0,l.pathCache=f):(f=new Path2D,B[R]=l.pathCache=f);}var $=function(){if(!b){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,i,r);}p?t.fill(f):t.fill();},F=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,a=0,o=0;o<v.length;o++){var s=e.cy().style().getIndexedStyle(e,"background-image-containment","value",o);i&&"over"===s||!i&&"inside"===s?a++:m[o]&&v[o].complete&&!v[o].error&&(a++,c.drawInscribedImage(t,v[o],e,o,n));}u.backgrounding=!(a===x),r!==u.backgrounding&&e.updateStyle(!1);},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,i,r)));},H=function(){var e=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill());},U=function(){if(S>0){if(t.lineWidth=S,t.lineCap="butt",t.setLineDash)switch(I){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([]);}if(p?t.stroke(f):t.stroke(),"double"===I){t.lineWidth=S/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e;}t.setLineDash&&t.setLineDash([]);}},G=function(){o&&c.drawNodeOverlay(t,e,h,i,r);},q=function(){o&&c.drawNodeUnderlay(t,e,h,i,r);},K=function(){c.drawElementText(t,e,null,a);};if("yes"===e.pstyle("ghost").value){var Y=e.pstyle("ghost-offset-x").pfValue,W=e.pstyle("ghost-offset-y").pfValue,X=e.pstyle("ghost-opacity").value,V=X*g;t.translate(Y,W),L(X*A),$(),F(V,!0),D(X*O),U(),z(0!==C||0!==S),F(V,!1),H(V),t.translate(-Y,-W);}p&&t.translate(-h.x,-h.y),q(),p&&t.translate(h.x,h.y),L(),$(),F(g,!0),D(),U(),z(0!==C||0!==S),F(g,!1),H(),p&&t.translate(-h.x,-h.y),K(),G(),n&&t.translate(d.x1,d.y1);}}},Mf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-opacity")).value,u=n.pstyle("".concat(t,"-color")).value,l=n.pstyle("".concat(t,"-shape")).value;if(c>0){if(i=i||n.position(),null==r||null==a){var h=n.padding();r=n.width()+2*h,a=n.height()+2*h;}o.colorFillStyle(e,u[0],u[1],u[2],c),o.nodeShapes[l].draw(e,i.x,i.y,r+2*s,a+2*s),e.fill();}}}};Af.drawNodeOverlay=Mf("overlay"),Af.drawNodeUnderlay=Mf("underlay"),Af.hasPie=function(t){return (t=t[0])._private.hasPie},Af.drawPie=function(t,e,n,i){e=e[0],i=i||e.position();var r=e.cy().style(),a=e.pstyle("pie-size"),o=i.x,s=i.y,c=e.width(),u=e.height(),l=Math.min(c,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,g=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,b=d/100;b+h>1&&(b=1-h);var w=1.5*Math.PI+2*Math.PI*h,y=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,y),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b);}};var If={},Of=100;If.getPixelRatio=function(){var t=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return (window.devicePixelRatio||1)/e},If.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;r<n.length;r++)if((e=n[r]).context===t){i=!1;break}return i&&(e={context:t},n.push(e)),e},If.createGradientStyleFor=function(t,e,n,i,r){var a,o=this.usePaths(),s=n.pstyle(e+"-gradient-stop-colors").value,c=n.pstyle(e+"-gradient-stop-positions").pfValue;if("radial-gradient"===i)if(n.isEdge()){var u=n.sourceEndpoint(),l=n.targetEndpoint(),h=n.midpoint(),f=xn(u,h),d=xn(l,h);a=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(f,d));}else {var g=o?{x:0,y:0}:n.position(),p=n.paddedWidth(),b=n.paddedHeight();a=t.createRadialGradient(g.x,g.y,0,g.x,g.y,Math.max(p,b));}else if(n.isEdge()){var w=n.sourceEndpoint(),y=n.targetEndpoint();a=t.createLinearGradient(w.x,w.y,y.x,y.y);}else {var m=o?{x:0,y:0}:n.position(),v=n.paddedWidth()/2,x=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=t.createLinearGradient(m.x,m.y-x,m.x,m.y+x);break;case"to-top":a=t.createLinearGradient(m.x,m.y+x,m.x,m.y-x);break;case"to-left":a=t.createLinearGradient(m.x+v,m.y,m.x-v,m.y);break;case"to-right":a=t.createLinearGradient(m.x-v,m.y,m.x+v,m.y);break;case"to-bottom-right":case"to-right-bottom":a=t.createLinearGradient(m.x-v,m.y-x,m.x+v,m.y+x);break;case"to-top-right":case"to-right-top":a=t.createLinearGradient(m.x-v,m.y+x,m.x+v,m.y-x);break;case"to-bottom-left":case"to-left-bottom":a=t.createLinearGradient(m.x+v,m.y-x,m.x-v,m.y+x);break;case"to-top-left":case"to-left-top":a=t.createLinearGradient(m.x+v,m.y+x,m.x-v,m.y-x);}}if(!a)return null;for(var k=c.length===s.length,_=s.length,E=0;E<_;E++)a.addColorStop(k?c[E]:E/(_-1),"rgba("+s[E][0]+","+s[E][1]+","+s[E][2]+","+r+")");return a},If.gradientFillStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"background",e,n,i);if(!r)return null;t.fillStyle=r;},If.colorFillStyle=function(t,e,n,i,r){t.fillStyle="rgba("+e+","+n+","+i+","+r+")";},If.eleFillStyle=function(t,e,n){var i=e.pstyle("background-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientFillStyle(t,e,i,n);else {var r=e.pstyle("background-color").value;this.colorFillStyle(t,r[0],r[1],r[2],n);}},If.gradientStrokeStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"line",e,n,i);if(!r)return null;t.strokeStyle=r;},If.colorStrokeStyle=function(t,e,n,i,r){t.strokeStyle="rgba("+e+","+n+","+i+","+r+")";},If.eleStrokeStyle=function(t,e,n){var i=e.pstyle("line-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientStrokeStyle(t,e,i,n);else {var r=e.pstyle("line-color").value;this.colorStrokeStyle(t,r[0],r[1],r[2],n);}},If.matchCanvasSize=function(t){var e=this,n=e.data,i=e.findContainerClientCoords(),r=i[2],a=i[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]&&t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG]||(o=s);var c,u=r*o,l=a*o;if(u!==e.canvasWidth||l!==e.canvasHeight){e.fontCaches=null;var h=n.canvasContainer;h.style.width=r+"px",h.style.height=a+"px";for(var f=0;f<e.CANVAS_LAYERS;f++)(c=n.canvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";for(f=0;f<e.BUFFER_COUNT;f++)(c=n.bufferCanvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";e.textureMult=1,o<=1&&(c=n.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,c.width=u*e.textureMult,c.height=l*e.textureMult),e.canvasWidth=u,e.canvasHeight=l;}},If.renderTo=function(t,e,n,i){this.render({forcedContext:t,forcedZoom:e,forcedPan:n,drawAllLayers:!0,forcedPxRatio:i});},If.render=function(t){var e=(t=t||De()).forcedContext,n=t.drawAllLayers,i=t.drawOnlyNodeLayer,r=t.forcedZoom,a=t.forcedPan,o=this,s=void 0===t.forcedPxRatio?this.getPixelRatio():t.forcedPxRatio,c=o.cy,u=o.data,l=u.canvasNeedsRedraw,h=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),f=void 0!==t.motionBlur?t.motionBlur:o.motionBlur,d=o.motionBlurPxRatio,g=c.hasCompoundNodes(),p=o.hoverData.draggingEles,b=!(!o.hoverData.selecting&&!o.touchData.selecting),w=f=f&&!e&&o.motionBlurEnabled&&!b;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),f&&(null==o.mbFrames&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(w=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var y=c.style(),m=c.zoom(),v=void 0!==r?r:m,x=c.pan(),k={x:x.x,y:x.y},_={zoom:m,pan:{x:x.x,y:x.y}},E=o.prevViewport;void 0===E||_.zoom!==E.zoom||_.pan.x!==E.pan.x||_.pan.y!==E.pan.y||p&&!g||(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var T=o.getCachedZSortedEles();function C(t,e,n,i,r){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,i,r),t.globalCompositeOperation=a;}function S(t,i){var s,c,l,h;o.clearingMotionBlur||t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,c=v,l=o.canvasWidth,h=o.canvasHeight):(s={x:x.x*d,y:x.y*d},c=m*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?C(t,0,0,l,h):e||void 0!==i&&!i||t.clearRect(0,0,l,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),r&&t.scale(r,r);}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=c.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom};}l[o.DRAG]=!1,l[o.NODE]=!1;var M=u.contexts[o.NODE],I=o.textureCache.texture;_=o.textureCache.viewport,M.setTransform(1,0,0,1,0,0),f?C(M,0,0,_.width,_.height):M.clearRect(0,0,_.width,_.height);var O=y.core("outside-texture-bg-color").value,L=y.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,O[0],O[1],O[2],L),M.fillRect(0,0,_.width,_.height),m=c.zoom(),S(M,!1),M.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),M.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s);}else o.textureOnViewport&&!e&&(o.textureCache=null);var D=c.extent(),N=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&N,B=[];if(B[o.NODE]=!l[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,B[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),B[o.DRAG]=!l[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,B[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||i||B[o.NODE]){var R=f&&!B[o.NODE]&&1!==d;S(M=e||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!R?"motionBlur":void 0),P?o.drawCachedNodes(M,T.nondrag,s,D):o.drawLayeredElements(M,T.nondrag,s,D),o.debug&&o.drawDebugPoints(M,T.nondrag),n||f||(l[o.NODE]=!1);}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(R=f&&!B[o.DRAG]&&1!==d,S(M=e||(R?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!R?"motionBlur":void 0),P?o.drawCachedNodes(M,T.drag,s,D):o.drawCachedElements(M,T.drag,s,D),o.debug&&o.drawDebugPoints(M,T.drag),n||f||(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(S(M=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){m=o.cy.zoom();var j=y.core("selection-box-border-width").value/m;M.lineWidth=j,M.fillStyle="rgba("+y.core("selection-box-color").value[0]+","+y.core("selection-box-color").value[1]+","+y.core("selection-box-color").value[2]+","+y.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),j>0&&(M.strokeStyle="rgba("+y.core("selection-box-border-color").value[0]+","+y.core("selection-box-border-color").value[1]+","+y.core("selection-box-border-color").value[2]+","+y.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]));}if(u.bgActivePosistion&&!o.hoverData.selecting){m=o.cy.zoom();var $=u.bgActivePosistion;M.fillStyle="rgba("+y.core("active-bg-color").value[0]+","+y.core("active-bg-color").value[1]+","+y.core("active-bg-color").value[2]+","+y.core("active-bg-opacity").value+")",M.beginPath(),M.arc($.x,$.y,y.core("active-bg-size").pfValue/m,0,2*Math.PI),M.fill();}var F=o.lastRedrawTime;if(o.showFps&&F){F=Math.round(F);var z=Math.round(1e3/F);M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+F+" ms = "+z+" fps",0,20);var H=60;M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(z/H,1),20);}n||(l[o.SELECT_BOX]=!1);}if(f&&1!==d){var U=u.contexts[o.NODE],G=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],q=u.contexts[o.DRAG],K=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Y=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(t,0,0,o.canvasWidth,o.canvasHeight);var i=d;t.drawImage(e,0,0,o.canvasWidth*i,o.canvasHeight*i,0,0,o.canvasWidth,o.canvasHeight);};(l[o.NODE]||B[o.NODE])&&(Y(U,G,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Y(q,K,B[o.DRAG]),l[o.DRAG]=!1);}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),f&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw();}),Of)),e||c.emit("render");};for(var Lf={drawPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c<a.length/2;c++)t.lineTo(e+o*a[2*c],n+s*a[2*c+1]);t.closePath();},drawRoundPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2,c=li(i,r);t.beginPath&&t.beginPath();for(var u=0;u<a.length/4;u++){var l=void 0,h=void 0;l=0===u?a.length-2:4*u-2,h=4*u+2;var f=e+o*a[4*u],d=n+s*a[4*u+1],g=-a[l]*a[h]-a[l+1]*a[h+1],p=c/Math.tan(Math.acos(g)/2),b=f-p*a[l],w=d-p*a[l+1],y=f+p*a[h],m=d+p*a[h+1];0===u?t.moveTo(b,w):t.lineTo(b,w),t.arcTo(f,d,y,m,c);}t.closePath();},drawRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=ui(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.arcTo(e+a,n-o,e+a,n,s),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.arcTo(e-a,n-o,e,n-o,s),t.lineTo(e,n-o),t.closePath();},drawBottomRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=ui(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.lineTo(e+a,n-o),t.lineTo(e+a,n),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.lineTo(e-a,n-o),t.lineTo(e,n-o),t.closePath();},drawCutRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=hi();t.beginPath&&t.beginPath(),t.moveTo(e-a+s,n-o),t.lineTo(e+a-s,n-o),t.lineTo(e+a,n-o+s),t.lineTo(e+a,n+o-s),t.lineTo(e+a-s,n+o),t.lineTo(e-a+s,n+o),t.lineTo(e-a,n+o-s),t.lineTo(e-a,n-o+s),t.closePath();},drawBarrelPath:function(t,e,n,i,r){var a=i/2,o=r/2,s=e-a,c=e+a,u=n-o,l=n+o,h=di(i,r),f=h.widthOffset,d=h.heightOffset,g=h.ctrlPtOffsetPct*f;t.beginPath&&t.beginPath(),t.moveTo(s,u+d),t.lineTo(s,l-d),t.quadraticCurveTo(s+g,l,s+f,l),t.lineTo(c-f,l),t.quadraticCurveTo(c-g,l,c,l-d),t.lineTo(c,u+d),t.quadraticCurveTo(c-g,u,c-f,u),t.lineTo(s+f,u),t.quadraticCurveTo(s+g,u,s,u+d),t.closePath();}},Df=Math.sin(0),Nf=Math.cos(0),Pf={},Bf={},Rf=Math.PI/40,jf=0*Math.PI;jf<2*Math.PI;jf+=Rf)Pf[jf]=Math.sin(jf),Bf[jf]=Math.cos(jf);Lf.drawEllipsePath=function(t,e,n,i,r){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,n,i/2,r/2,0,0,2*Math.PI);else for(var a,o,s=i/2,c=r/2,u=0*Math.PI;u<2*Math.PI;u+=Rf)a=e-s*Pf[u]*Df+s*Bf[u]*Nf,o=n+c*Bf[u]*Df+c*Pf[u]*Nf,0===u?t.moveTo(a,o):t.lineTo(a,o);t.closePath();};var $f={};function Ff(t,e){for(var n=atob(t),i=new ArrayBuffer(n.length),r=new Uint8Array(i),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);return new Blob([i],{type:e})}function zf(t){var e=t.indexOf(",");return t.substr(e+1)}function Hf(t,e,n){var i=function(){return e.toDataURL(n,t.quality)};switch(t.output){case"blob-promise":return new $r((function(i,r){try{e.toBlob((function(t){null!=t?i(t):r(new Error("`canvas.toBlob()` sent a null value in its callback"));}),n,t.quality);}catch(t){r(t);}}));case"blob":return Ff(zf(i()),n);case"base64":return zf(i());default:return i()}}$f.createBuffer=function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,[n,n.getContext("2d")]},$f.bufferCanvasImage=function(t){var e=this.cy,n=e.mutableElements().boundingBox(),i=this.findContainerClientCoords(),r=t.full?Math.ceil(n.w):i[2],a=t.full?Math.ceil(n.h):i[3],o=E(t.maxWidth)||E(t.maxHeight),s=this.getPixelRatio(),c=1;if(void 0!==t.scale)r*=t.scale,a*=t.scale,c=t.scale;else if(o){var u=1/0,l=1/0;E(t.maxWidth)&&(u=c*t.maxWidth/r),E(t.maxHeight)&&(l=c*t.maxHeight/a),r*=c=Math.min(u,l),a*=c;}o||(r*=s,a*=s,c*=s);var h=document.createElement("canvas");h.width=r,h.height=a,h.style.width=r+"px",h.style.height=a+"px";var f=h.getContext("2d");if(r>0&&a>0){f.clearRect(0,0,r,a),f.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else {var g=e.pan(),p={x:g.x*c,y:g.y*c};c*=e.zoom(),f.translate(p.x,p.y),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(-p.x,-p.y);}t.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=t.bg,f.rect(0,0,r,a),f.fill());}return h},$f.png=function(t){return Hf(t,this.bufferCanvasImage(t),"image/png")},$f.jpg=function(t){return Hf(t,this.bufferCanvasImage(t),"image/jpeg")};var Uf={nodeShapeImpl:function(t,e,n,i,r,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,i,r,a);case"polygon":return this.drawPolygonPath(e,n,i,r,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,i,r,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,i,r,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,i,r,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,i,r,a);case"barrel":return this.drawBarrelPath(e,n,i,r,a)}}},Gf=Kf,qf=Kf.prototype;function Kf(t){var e=this;e.data={canvases:new Array(qf.CANVAS_LAYERS),contexts:new Array(qf.CANVAS_LAYERS),canvasNeedsRedraw:new Array(qf.CANVAS_LAYERS),bufferCanvases:new Array(qf.BUFFER_COUNT),bufferContexts:new Array(qf.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var r=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=i;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};R()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<qf.CANVAS_LAYERS;s++){var c=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=c.getContext("2d"),Object.keys(o).forEach((function(t){c.style[t]=o[t];})),c.style.position="absolute",c.setAttribute("data-id","layer"+s),c.style.zIndex=String(qf.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(c),e.data.canvasNeedsRedraw[s]=!1;}for(e.data.topCanvas=e.data.canvases[0],e.data.canvases[qf.NODE].setAttribute("data-id","layer"+qf.NODE+"-node"),e.data.canvases[qf.SELECT_BOX].setAttribute("data-id","layer"+qf.SELECT_BOX+"-selectbox"),e.data.canvases[qf.DRAG].setAttribute("data-id","layer"+qf.DRAG+"-drag"),s=0;s<qf.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var u=An(),l=function(t){return {x:(t.x1+t.x2)/2,y:(t.y1+t.y2)/2}},h=function(t){return {x:-t.w/2,y:-t.h/2}},f=function(t){var e=t[0]._private;return !(e.oldBackgroundTimestamp===e.backgroundTimestamp)},d=function(t){return t[0]._private.nodeKey},g=function(t){return t[0]._private.labelStyleKey},p=function(t){return t[0]._private.sourceLabelStyleKey},b=function(t){return t[0]._private.targetLabelStyleKey},w=function(t,n,i,r,a){return e.drawElement(t,n,i,!1,!1,a)},y=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"main",a)},m=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"source",a)},v=function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"target",a)},x=function(t){return t.boundingBox(),t[0]._private.bodyBounds},k=function(t){return t.boundingBox(),t[0]._private.labelBounds.main||u},_=function(t){return t.boundingBox(),t[0]._private.labelBounds.source||u},E=function(t){return t.boundingBox(),t[0]._private.labelBounds.target||u},T=function(t,e){return e},C=function(t){return l(x(t))},S=function(t,e,n){var i=t?t+"-":"";return {x:e.x+n.pstyle(i+"text-margin-x").pfValue,y:e.y+n.pstyle(i+"text-margin-y").pfValue}},A=function(t,e,n){var i=t[0]._private.rscratch;return {x:i[e],y:i[n]}},M=function(t){return S("",A(t,"labelX","labelY"),t)},I=function(t){return S("source",A(t,"sourceLabelX","sourceLabelY"),t)},O=function(t){return S("target",A(t,"targetLabelX","targetLabelY"),t)},L=function(t){return h(x(t))},D=function(t){return h(_(t))},N=function(t){return h(E(t))},P=function(t){var e=k(t),n=h(k(t));if(t.isNode()){switch(t.pstyle("text-halign").value){case"left":n.x=-e.w;break;case"right":n.x=0;}switch(t.pstyle("text-valign").value){case"top":n.y=-e.h;break;case"bottom":n.y=0;}}return n},B=e.data.eleTxrCache=new Hh(e,{getKey:d,doesEleInvalidateKey:f,drawElement:w,getBoundingBox:x,getRotationPoint:C,getRotationOffset:L,allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),j=e.data.lblTxrCache=new Hh(e,{getKey:g,drawElement:y,getBoundingBox:k,getRotationPoint:M,getRotationOffset:P,isVisible:T}),$=e.data.slbTxrCache=new Hh(e,{getKey:p,drawElement:m,getBoundingBox:_,getRotationPoint:I,getRotationOffset:D,isVisible:T}),F=e.data.tlbTxrCache=new Hh(e,{getKey:b,drawElement:v,getBoundingBox:E,getRotationPoint:O,getRotationOffset:N,isVisible:T}),z=e.data.lyrTxrCache=new af(e);e.onUpdateEleCalcs((function(t,e){B.invalidateElements(e),j.invalidateElements(e),$.invalidateElements(e),F.invalidateElements(e),z.invalidateElements(e);for(var n=0;n<e.length;n++){var i=e[n]._private;i.oldBackgroundTimestamp=i.backgroundTimestamp;}}));var H=function(t){for(var e=0;e<t.length;e++)z.enqueueElementRefinement(t[e].ele);};B.onDequeue(H),j.onDequeue(H),$.onDequeue(H),F.onDequeue(H);}qf.CANVAS_LAYERS=3,qf.SELECT_BOX=0,qf.DRAG=1,qf.NODE=2,qf.BUFFER_COUNT=3,qf.TEXTURE_BUFFER=0,qf.MOTIONBLUR_BUFFER_NODE=1,qf.MOTIONBLUR_BUFFER_DRAG=2,qf.redrawHint=function(t,e){var n=this;switch(t){case"eles":n.data.canvasNeedsRedraw[qf.NODE]=e;break;case"drag":n.data.canvasNeedsRedraw[qf.DRAG]=e;break;case"select":n.data.canvasNeedsRedraw[qf.SELECT_BOX]=e;}};var Yf="undefined"!=typeof Path2D;qf.path2dEnabled=function(t){if(void 0===t)return this.pathsEnabled;this.pathsEnabled=!!t;},qf.usePaths=function(){return Yf&&this.pathsEnabled},qf.setImgSmoothing=function(t,e){null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e);},qf.getImgSmoothing=function(t){return null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},qf.makeOffscreenCanvas=function(e,n){var i;return "undefined"!==("undefined"==typeof OffscreenCanvas?"undefined":t(OffscreenCanvas))?i=new OffscreenCanvas(e,n):((i=document.createElement("canvas")).width=e,i.height=n),i},[lf,bf,_f,Tf,Cf,Af,If,Lf,$f,Uf].forEach((function(t){Q(qf,t);}));var Wf=[{type:"layout",extensions:Gl},{type:"renderer",extensions:[{name:"null",impl:ql},{name:"base",impl:wh},{name:"canvas",impl:Gf}]}],Xf={},Vf={};function Zf(t,e,n){var i=n,r=function(n){Se("Can not register `"+e+"` for `"+t+"` since `"+n+"` already exists in the prototype and can not be overridden");};if("core"===t){if(il.prototype[e])return r(e);il.prototype[e]=n;}else if("collection"===t){if(wu.prototype[e])return r(e);wu.prototype[e]=n;}else if("layout"===t){for(var a=function(t){this.options=t,n.call(this,t),k(this._private)||(this._private={}),this._private.cy=t.cy,this._private.listeners=[],this.createEmitter();},o=a.prototype=Object.create(n.prototype),s=[],c=0;c<s.length;c++){var u=s[c];o[u]=o[u]||function(){return this};}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var l=n.prototype.stop;o.stop=function(){var t=this.options;if(t&&t.animate){var e=this.animations;if(e)for(var n=0;n<e.length;n++)e[n].stop();}return l?l.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(t){return t._private.cy},f={addEventFields:function(t,e){e.layout=t,e.cy=h(t),e.target=t;},bubble:function(){return !0},parent:function(t){return h(t)}};Q(o,{createEmitter:function(){return this._private.emitter=new Nc(f,this),this},emitter:function(){return this._private.emitter},on:function(t,e){return this.emitter().on(t,e),this},one:function(t,e){return this.emitter().one(t,e),this},once:function(t,e){return this.emitter().one(t,e),this},removeListener:function(t,e){return this.emitter().removeListener(t,e),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(t,e){return this.emitter().emit(t,e),this}}),us.eventAliasesOn(o),i=a;}else if("renderer"===t&&"null"!==e&&"base"!==e){var d=Qf("renderer","base"),g=d.prototype,p=n,b=n.prototype,w=function(){d.apply(this,arguments),p.apply(this,arguments);},y=w.prototype;for(var m in g){var v=g[m];if(null!=b[m])return r(m);y[m]=v;}for(var x in b)y[x]=b[x];g.clientFunctions.forEach((function(t){y[t]=y[t]||function(){Te("Renderer does not implement `renderer."+t+"()` on its prototype");};})),i=w;}else if("__proto__"===t||"constructor"===t||"prototype"===t)return Te(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return at({map:Xf,keys:[t,e],value:i})}function Qf(t,e){return ot({map:Xf,keys:[t,e]})}function Jf(t,e,n,i,r){return at({map:Vf,keys:[t,e,n,i],value:r})}function td(t,e,n,i){return ot({map:Vf,keys:[t,e,n,i]})}var ed=function(){return 2===arguments.length?Qf.apply(null,arguments):3===arguments.length?Zf.apply(null,arguments):4===arguments.length?td.apply(null,arguments):5===arguments.length?Jf.apply(null,arguments):void Te("Invalid extension access syntax")};il.prototype.extension=ed,Wf.forEach((function(t){t.extensions.forEach((function(e){Zf(t.type,e.name,e.impl);}));}));var nd=function t(){if(!(this instanceof t))return new t;this.length=0;},id=nd.prototype;id.instanceString=function(){return "stylesheet"},id.selector=function(t){return this[this.length++]={selector:t,properties:[]},this},id.css=function(t,e){var n=this.length-1;if(m(t))this[n].properties.push({name:t,value:e});else if(k(t))for(var i=t,r=Object.keys(i),a=0;a<r.length;a++){var o=r[a],s=i[o];if(null!=s){var c=Zu.properties[o]||Zu.properties[F(o)];if(null!=c){var u=c.name,l=s;this[n].properties.push({name:u,value:l});}}}return this},id.style=id.css,id.generateStyle=function(t){var e=new Zu(t);return this.appendToStyle(e)},id.appendToStyle=function(t){for(var e=0;e<this.length;e++){var n=this[e],i=n.selector,r=n.properties;t.selector(i);for(var a=0;a<r.length;a++){var o=r[a];t.css(o.name,o.value);}}return t};var rd="3.23.0",ad=function(t){return void 0===t&&(t={}),k(t)?new il(t):m(t)?ed.apply(ed,arguments):void 0};return ad.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(ad),t.apply(null,e),this},ad.warnings=function(t){return Ce(t)},ad.version=rd,ad.stylesheet=ad.Stylesheet=nd,ad}));}({get exports(){return dq},set exports(t){dq=t;}});const gq=dq;var pq,bq,wq={},yq={get exports(){return wq},set exports(t){wq=t;}},mq={},vq={get exports(){return mq},set exports(t){mq=t;}},xq={},kq={get exports(){return xq},set exports(t){xq=t;}};function _q(){return pq||(pq=1,function(t,e){!function(e,n){t.exports=n();}(0,(function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i});},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(t,e,n){function i(){}i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,t.exports=i;},function(t,e,n){var i=n(2),r=n(8),a=n(9);function o(t,e,n){i.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=t,this.target=e;}for(var s in o.prototype=Object.create(i.prototype),i)o[s]=i[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw "Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(t,e){for(var n=this.getOtherEnd(t),i=e.getGraphManager().getRoot();;){if(n.getOwner()==e)return n;if(n.getOwner()==i)break;n=n.getOwner().getParent();}return null},o.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=r.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY));},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY);},t.exports=o;},function(t,e,n){function i(t){this.vGraphObject=t;}t.exports=i;},function(t,e,n){var i=n(2),r=n(10),a=n(13),o=n(0),s=n(16),c=n(4);function u(t,e,n,o){null==n&&null==o&&(o=e),i.call(this,o),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=t,this.rect=null!=n&&null!=e?new a(e.x,e.y,n.width,n.height):new a;}for(var l in u.prototype=Object.create(i.prototype),i)u[l]=i[l];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(t){this.rect.width=t;},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(t){this.rect.height=t;},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height;},u.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2;},u.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e;},u.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e;},u.prototype.getEdgeListToNode=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.target==t){if(i.source!=n)throw "Incorrect edge source!";e.push(i);}})),e},u.prototype.getEdgesBetween=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.source!=n&&i.target!=n)throw "Incorrect edge source and/or target";i.target!=t&&i.source!=t||e.push(i);})),e},u.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(n){if(n.source==e)t.add(n.target);else {if(n.target!=e)throw "Incorrect incidency!";t.add(n.source);}})),t},u.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),n=0;n<e.length;n++)e[n].withChildren().forEach((function(e){t.add(e);}));return t},u.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),n=0;n<e.length;n++)t+=e[n].getNoOfChildren();return 0==t&&(t=1),t},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw "assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},u.prototype.scatter=function(){var t,e,n=-o.INITIAL_WORLD_BOUNDARY,i=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_X+s.nextDouble()*(i-n)+n;var r=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_Y+s.nextDouble()*(a-r)+r,this.rect.x=t,this.rect.y=e;},u.prototype.updateBounds=function(){if(null==this.getChild())throw "assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),n=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight));}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw "assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(t){var e=this.rect.x;e>o.WORLD_BOUNDARY?e=o.WORLD_BOUNDARY:e<-o.WORLD_BOUNDARY&&(e=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var i=new c(e,n),r=t.inverseTransformPoint(i);this.setLocation(r.x,r.y);},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=u;},function(t,e,n){function i(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e);}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t;},i.prototype.setY=function(t){this.y=t;},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=i;},function(t,e,n){var i=n(2),r=n(10),a=n(0),o=n(6),s=n(3),c=n(1),u=n(13),l=n(12),h=n(11);function f(t,e,n){i.call(this,n),this.estimatedSize=r.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof o?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager);}for(var d in f.prototype=Object.create(i.prototype),i)f[d]=i[d];f.prototype.getNodes=function(){return this.nodes},f.prototype.getEdges=function(){return this.edges},f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getParent=function(){return this.parent},f.prototype.getLeft=function(){return this.left},f.prototype.getRight=function(){return this.right},f.prototype.getTop=function(){return this.top},f.prototype.getBottom=function(){return this.bottom},f.prototype.isConnected=function(){return this.isConnected},f.prototype.add=function(t,e,n){if(null==e&&null==n){var i=t;if(null==this.graphManager)throw "Graph has no graph mgr!";if(this.getNodes().indexOf(i)>-1)throw "Node already in graph!";return i.owner=this,this.getNodes().push(i),i}var r=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(n)>-1))throw "Source or target not in graph!";if(e.owner!=n.owner||e.owner!=this)throw "Both owners must be this graph!";return e.owner!=n.owner?null:(r.source=e,r.target=n,r.isInterGraph=!1,this.getEdges().push(r),e.edges.push(r),n!=e&&n.edges.push(r),r)},f.prototype.remove=function(t){var e=t;if(t instanceof s){if(null==e)throw "Node is null!";if(null==e.owner||e.owner!=this)throw "Owner graph is invalid!";if(null==this.graphManager)throw "Owner graph manager is invalid!";for(var n=e.edges.slice(),i=n.length,r=0;r<i;r++)(a=n[r]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(e)))throw "Node not in owner node list!";this.nodes.splice(o,1);}else if(t instanceof c){var a;if(null==(a=t))throw "Edge is null!";if(null==a.source||null==a.target)throw "Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw "Source and/or target owner is invalid!";var o,u=a.source.edges.indexOf(a),l=a.target.edges.indexOf(a);if(!(u>-1&&l>-1))throw "Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(l,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw "Not in owner's edge list!";a.source.owner.getEdges().splice(o,1);}},f.prototype.updateLeftTop=function(){for(var t,e,n,i=r.MAX_VALUE,a=r.MAX_VALUE,o=this.getNodes(),s=o.length,c=0;c<s;c++){var u=o[c];i>(t=u.getTop())&&(i=t),a>(e=u.getLeft())&&(a=e);}return i==r.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=i-n,new l(this.left,this.top))},f.prototype.updateBounds=function(t){for(var e,n,i,a,o,s=r.MAX_VALUE,c=-r.MAX_VALUE,l=r.MAX_VALUE,h=-r.MAX_VALUE,f=this.nodes,d=f.length,g=0;g<d;g++){var p=f[g];t&&null!=p.child&&p.updateBounds(),s>(e=p.getLeft())&&(s=e),c<(n=p.getRight())&&(c=n),l>(i=p.getTop())&&(l=i),h<(a=p.getBottom())&&(h=a);}var b=new u(s,l,c-s,h-l);s==r.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=f[0].getParent().paddingLeft?f[0].getParent().paddingLeft:this.margin,this.left=b.x-o,this.right=b.x+b.width+o,this.top=b.y-o,this.bottom=b.y+b.height+o;},f.calculateBounds=function(t){for(var e,n,i,a,o=r.MAX_VALUE,s=-r.MAX_VALUE,c=r.MAX_VALUE,l=-r.MAX_VALUE,h=t.length,f=0;f<h;f++){var d=t[f];o>(e=d.getLeft())&&(o=e),s<(n=d.getRight())&&(s=n),c>(i=d.getTop())&&(c=i),l<(a=d.getBottom())&&(l=a);}return new u(o,c,s-o,l-c)},f.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},f.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw "assert failed";return this.estimatedSize},f.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,n=e.length,i=0;i<n;i++)t+=e[i].calcEstimatedSize();return this.estimatedSize=0==t?a.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},f.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,n,i=new h,r=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(t){i.push(t),r.add(t);}));0!==i.length;)for(var o=(e=(a=i.shift()).getEdges()).length,s=0;s<o;s++)null==(n=e[s].getOtherEndInGraph(a,this))||r.has(n)||n.withChildren().forEach((function(t){i.push(t),r.add(t);}));if(this.isConnected=!1,r.size>=this.nodes.length){var c=0;r.forEach((function(e){e.owner==t&&c++;})),c==this.nodes.length&&(this.isConnected=!0);}}else this.isConnected=!0;},t.exports=f;},function(t,e,n){var i,r=n(1);function a(t){i=n(5),this.layout=t,this.graphs=[],this.edges=[];}a.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),n=this.add(t,e);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(t,e,n,i,r){if(null==n&&null==i&&null==r){if(null==t)throw "Graph is null!";if(null==e)throw "Parent node is null!";if(this.graphs.indexOf(t)>-1)throw "Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw "Already has a parent!";if(null!=e.child)throw "Already has a child!";return t.parent=e,e.child=t,t}r=n,n=t;var a=(i=e).getOwner(),o=r.getOwner();if(null==a||a.getGraphManager()!=this)throw "Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw "Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,i,r);if(n.isInterGraph=!0,n.source=i,n.target=r,this.edges.indexOf(n)>-1)throw "Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw "Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw "Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(t){if(t instanceof i){var e=t;if(e.getGraphManager()!=this)throw "Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw "Invalid parent node!";for(var n,a=[],o=(a=a.concat(e.getEdges())).length,s=0;s<o;s++)n=a[s],e.remove(n);var c,u=[];for(o=(u=u.concat(e.getNodes())).length,s=0;s<o;s++)c=u[s],e.remove(c);e==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(e);this.graphs.splice(l,1),e.parent=null;}else if(t instanceof r){if(null==(n=t))throw "Edge is null!";if(!n.isInterGraph)throw "Not an inter-graph edge!";if(null==n.source||null==n.target)throw "Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw "Source and/or target doesn't know this edge!";if(l=n.source.edges.indexOf(n),n.source.edges.splice(l,1),l=n.target.edges.indexOf(n),n.target.edges.splice(l,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw "Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw "Not in owner graph manager's edge list!";l=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(l,1);}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0);},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),n=e.length,i=0;i<n;i++)t=t.concat(e[i].getNodes());this.allNodes=t;}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null;},a.prototype.resetAllEdges=function(){this.allEdges=null;},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null;},a.prototype.getAllEdges=function(){if(null==this.allEdges){var t=[],e=this.getGraphs();e.length;for(var n=0;n<e.length;n++)t=t.concat(e[n].getEdges());t=t.concat(this.edges),this.allEdges=t;}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw "assert failed";this.allNodesToApplyGravitation=t;},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw "Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"));},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw "assert failed";if(t==e)return !0;for(var n,i=t.getOwner();null!=(n=i.getParent());){if(n==e)return !0;if(null==(i=n.getOwner()))break}for(i=e.getOwner();null!=(n=i.getParent());){if(n==t)return !0;if(null==(i=n.getOwner()))break}return !1},a.prototype.calcLowestCommonAncestors=function(){for(var t,e,n,i,r,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(e=(t=a[s]).source,n=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=n,e!=n){for(i=e.getOwner();null==t.lca;){for(t.targetInLca=n,r=n.getOwner();null==t.lca;){if(r==i){t.lca=r;break}if(r==this.rootGraph)break;if(null!=t.lca)throw "assert failed";t.targetInLca=r.getParent(),r=t.targetInLca.getOwner();}if(i==this.rootGraph)break;null==t.lca&&(t.sourceInLca=i.getParent(),i=t.sourceInLca.getOwner());}if(null==t.lca)throw "assert failed"}else t.lca=e.getOwner();},a.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var n=t.getOwner();null!=n;){for(var i=e.getOwner();null!=i;){if(i==n)return i;i=i.getParent().getOwner();}n=n.getParent().getOwner();}return n},a.prototype.calcInclusionTreeDepths=function(t,e){var n;null==t&&null==e&&(t=this.rootGraph,e=1);for(var i=t.getNodes(),r=i.length,a=0;a<r;a++)(n=i[a]).inclusionTreeDepth=e,null!=n.child&&this.calcInclusionTreeDepths(n.child,e+1);},a.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,n=0;n<e;n++)if(t=this.edges[n],this.isOneAncestorOfOther(t.source,t.target))return !0;return !1},t.exports=a;},function(t,e,n){var i=n(0);function r(){}for(var a in i)r[a]=i[a];r.MAX_ITERATIONS=2500,r.DEFAULT_EDGE_LENGTH=50,r.DEFAULT_SPRING_STRENGTH=.45,r.DEFAULT_REPULSION_STRENGTH=4500,r.DEFAULT_GRAVITY_STRENGTH=.4,r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,r.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,r.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,r.COOLING_ADAPTATION_FACTOR=.33,r.ADAPTATION_LOWER_NODE_LIMIT=1e3,r.ADAPTATION_UPPER_NODE_LIMIT=5e3,r.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,r.MAX_NODE_DISPLACEMENT=3*r.MAX_NODE_DISPLACEMENT_INCREMENTAL,r.MIN_REPULSION_DIST=r.DEFAULT_EDGE_LENGTH/10,r.CONVERGENCE_CHECK_PERIOD=100,r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,r.MIN_EDGE_LENGTH=1,r.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=r;},function(t,e,n){var i=n(12);function r(){}r.calcSeparationAmount=function(t,e,n,i){if(!t.intersects(e))throw "assert failed";var r=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,r),n[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),n[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var a=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*r[0]*(s/2+i),n[1]=-1*r[1]*(o/2+i);},r.decideDirectionsForOverlappingNodes=function(t,e,n){t.getCenterX()<e.getCenterX()?n[0]=-1:n[0]=1,t.getCenterY()<e.getCenterY()?n[1]=-1:n[1]=1;},r.getIntersection2=function(t,e,n){var i=t.getCenterX(),r=t.getCenterY(),a=e.getCenterX(),o=e.getCenterY();if(t.intersects(e))return n[0]=i,n[1]=r,n[2]=a,n[3]=o,!0;var s=t.getX(),c=t.getY(),u=t.getRight(),l=t.getX(),h=t.getBottom(),f=t.getRight(),d=t.getWidthHalf(),g=t.getHeightHalf(),p=e.getX(),b=e.getY(),w=e.getRight(),y=e.getX(),m=e.getBottom(),v=e.getRight(),x=e.getWidthHalf(),k=e.getHeightHalf(),_=!1,E=!1;if(i===a){if(r>o)return n[0]=i,n[1]=c,n[2]=a,n[3]=m,!1;if(r<o)return n[0]=i,n[1]=h,n[2]=a,n[3]=b,!1}else if(r===o){if(i>a)return n[0]=s,n[1]=r,n[2]=w,n[3]=o,!1;if(i<a)return n[0]=u,n[1]=r,n[2]=p,n[3]=o,!1}else {var T=t.height/t.width,C=e.height/e.width,S=(o-r)/(a-i),A=void 0,M=void 0,I=void 0,O=void 0,L=void 0,D=void 0;if(-T===S?i>a?(n[0]=l,n[1]=h,_=!0):(n[0]=u,n[1]=c,_=!0):T===S&&(i>a?(n[0]=s,n[1]=c,_=!0):(n[0]=f,n[1]=h,_=!0)),-C===S?a>i?(n[2]=y,n[3]=m,E=!0):(n[2]=w,n[3]=b,E=!0):C===S&&(a>i?(n[2]=p,n[3]=b,E=!0):(n[2]=v,n[3]=m,E=!0)),_&&E)return !1;if(i>a?r>o?(A=this.getCardinalDirection(T,S,4),M=this.getCardinalDirection(C,S,2)):(A=this.getCardinalDirection(-T,S,3),M=this.getCardinalDirection(-C,S,1)):r>o?(A=this.getCardinalDirection(-T,S,1),M=this.getCardinalDirection(-C,S,3)):(A=this.getCardinalDirection(T,S,2),M=this.getCardinalDirection(C,S,4)),!_)switch(A){case 1:O=c,I=i+-g/S,n[0]=I,n[1]=O;break;case 2:I=f,O=r+d*S,n[0]=I,n[1]=O;break;case 3:O=h,I=i+g/S,n[0]=I,n[1]=O;break;case 4:I=l,O=r+-d*S,n[0]=I,n[1]=O;}if(!E)switch(M){case 1:D=b,L=a+-k/S,n[2]=L,n[3]=D;break;case 2:L=v,D=o+x*S,n[2]=L,n[3]=D;break;case 3:D=m,L=a+k/S,n[2]=L,n[3]=D;break;case 4:L=y,D=o+-x*S,n[2]=L,n[3]=D;}}return !1},r.getCardinalDirection=function(t,e,n){return t>e?n:1+n%4},r.getIntersection=function(t,e,n,r){if(null==r)return this.getIntersection2(t,e,n);var a=t.x,o=t.y,s=e.x,c=e.y,u=n.x,l=n.y,h=r.x,f=r.y,d=void 0,g=void 0,p=void 0,b=void 0,w=void 0,y=void 0,m=void 0;return 0==(m=(d=c-o)*(b=u-h)-(g=f-l)*(p=a-s))?null:new i((p*(y=h*l-u*f)-b*(w=s*o-a*c))/m,(g*w-d*y)/m)},r.angleOfVector=function(t,e,n,i){var r=void 0;return t!==n?(r=Math.atan((i-e)/(n-t)),n<t?r+=Math.PI:i<e&&(r+=this.TWO_PI)):r=i<e?this.ONE_AND_HALF_PI:this.HALF_PI,r},r.doIntersect=function(t,e,n,i){var r=t.x,a=t.y,o=e.x,s=e.y,c=n.x,u=n.y,l=i.x,h=i.y,f=(o-r)*(h-u)-(l-c)*(s-a);if(0===f)return !1;var d=((h-u)*(l-r)+(c-l)*(h-a))/f,g=((a-s)*(l-r)+(o-r)*(h-a))/f;return 0<d&&d<1&&0<g&&g<1},r.HALF_PI=.5*Math.PI,r.ONE_AND_HALF_PI=1.5*Math.PI,r.TWO_PI=2*Math.PI,r.THREE_PI=3*Math.PI,t.exports=r;},function(t,e,n){function i(){}i.sign=function(t){return t>0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=i;},function(t,e,n){function i(){}i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,t.exports=i;},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(t){return {value:t,next:null,prev:null}},o=function(t,e,n,i){return null!==t?t.next=e:i.head=e,null!==n?n.prev=e:i.tail=e,e.prev=t,e.next=n,i.length++,e},s=function(t,e){var n=t.prev,i=t.next;return null!==n?n.next=i:e.head=i,null!==i?i.prev=n:e.tail=n,t.prev=t.next=null,e.length--,t},c=function(){function t(e){var n=this;r(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach((function(t){return n.push(t)}));}return i(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return o(e.prev,a(t),e,this)}},{key:"insertAfter",value:function(t,e){return o(e,a(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return o(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return o(e,t,e.next,this)}},{key:"push",value:function(t){return o(this.tail,a(t),null,this)}},{key:"unshift",value:function(t){return o(null,a(t),this.head,this)}},{key:"remove",value:function(t){return s(t,this)}},{key:"pop",value:function(){return s(this.tail,this).value}},{key:"popNode",value:function(){return s(this.tail,this)}},{key:"shift",value:function(){return s(this.head,this).value}},{key:"shiftNode",value:function(){return s(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,n=this.head;e<t;)n=n.next,e++;return n.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var n=1,i=this.head;n<t;)i=i.next,n++;i.value=e;}}}]),t}();t.exports=c;},function(t,e,n){function i(t,e,n){this.x=null,this.y=null,null==t&&null==e&&null==n?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==n?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==n&&(n=t,this.x=n.x,this.y=n.y);}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.getLocation=function(){return new i(this.x,this.y)},i.prototype.setLocation=function(t,e,n){"Point"==t.constructor.name&&null==e&&null==n?(n=t,this.setLocation(n.x,n.y)):"number"==typeof t&&"number"==typeof e&&null==n&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)));},i.prototype.move=function(t,e){this.x=t,this.y=e;},i.prototype.translate=function(t,e){this.x+=t,this.y+=e;},i.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},i.prototype.toString=function(){return (new i).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=i;},function(t,e,n){function i(t,e,n,i){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=n&&null!=i&&(this.x=t,this.y=e,this.width=n,this.height=i);}i.prototype.getX=function(){return this.x},i.prototype.setX=function(t){this.x=t;},i.prototype.getY=function(){return this.y},i.prototype.setY=function(t){this.y=t;},i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t;},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t;},i.prototype.getRight=function(){return this.x+this.width},i.prototype.getBottom=function(){return this.y+this.height},i.prototype.intersects=function(t){return !(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},i.prototype.getCenterX=function(){return this.x+this.width/2},i.prototype.getMinX=function(){return this.getX()},i.prototype.getMaxX=function(){return this.getX()+this.width},i.prototype.getCenterY=function(){return this.y+this.height/2},i.prototype.getMinY=function(){return this.getY()},i.prototype.getMaxY=function(){return this.getY()+this.height},i.prototype.getWidthHalf=function(){return this.width/2},i.prototype.getHeightHalf=function(){return this.height/2},t.exports=i;},function(t,e,n){var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(){}r.lastID=0,r.createID=function(t){return r.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=r.getString(),r.lastID++),t.uniqueID)},r.getString=function(t){return null==t&&(t=r.lastID),"Object#"+t},r.isPrimitive=function(t){var e=void 0===t?"undefined":i(t);return null==t||"object"!=e&&"function"!=e},t.exports=r;},function(t,e,n){function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(0),a=n(6),o=n(3),s=n(1),c=n(5),u=n(4),l=n(17),h=n(27);function f(t){h.call(this),this.layoutQuality=r.QUALITY,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=r.DEFAULT_INCREMENTAL,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t);}f.RANDOM_SEED=1,f.prototype=Object.create(h.prototype),f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},f.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},f.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},f.prototype.newGraphManager=function(){var t=new a(this);return this.graphManager=t,t},f.prototype.newGraph=function(t){return new c(null,this.graphManager,t)},f.prototype.newNode=function(t){return new o(this.graphManager,t)},f.prototype.newEdge=function(t){return new s(null,null,t)},f.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},f.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==r.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},f.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update();},f.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var n=this.graphManager.getRoot().getNodes();for(e=0;e<n.length;e++)n[e];this.update(this.graphManager.getRoot());}},f.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof o){var e=t;if(null!=e.getChild())for(var n=e.getChild().getNodes(),i=0;i<n.length;i++)update(n[i]);null!=e.vGraphObject&&e.vGraphObject.update(e);}else if(t instanceof s){var r=t;null!=r.vGraphObject&&r.vGraphObject.update(r);}else if(t instanceof c){var a=t;null!=a.vGraphObject&&a.vGraphObject.update(a);}},f.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=r.QUALITY,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=r.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1);},f.prototype.transform=function(t){if(null==t)this.transform(new u(0,0));else {var e=new l,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(n.x),e.setDeviceOrgY(n.y);for(var i=this.getAllNodes(),r=0;r<i.length;r++)i[r].transform(e);}}},f.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,n,i=t.getNodes(),r=0;r<i.length;r++)null==(n=(e=i[r]).getChild())||0==n.getNodes().length?e.scatter():(this.positionNodesRandomly(n),e.updateBounds());},f.prototype.getFlatForest=function(){for(var t=[],e=!0,n=this.graphManager.getRoot().getNodes(),r=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(r=!1);if(!r)return t;var o=new Set,s=[],c=new Map,u=[];for(u=u.concat(n);u.length>0&&e;){for(s.push(u[0]);s.length>0&&e;){var l=s[0];s.splice(0,1),o.add(l);var h=l.getEdges();for(a=0;a<h.length;a++){var f=h[a].getOtherEnd(l);if(c.get(l)!=f){if(o.has(f)){e=!1;break}s.push(f),c.set(f,l);}}}if(e){var d=[].concat(i(o));for(t.push(d),a=0;a<d.length;a++){var g=d[a],p=u.indexOf(g);p>-1&&u.splice(p,1);}o=new Set,c=new Map;}else t=[];}return t},f.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],n=t.source,i=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r<t.bendpoints.length;r++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),i.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),e.add(a),n=a;}return o=this.newEdge(null),this.graphManager.add(o,n,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):i.remove(t),e},f.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(i(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var n=t[e];if(n.bendpoints.length>0){for(var r=this.edgeToDummyNodes.get(n),a=0;a<r.length;a++){var o=r[a],s=new u(o.getCenterX(),o.getCenterY()),c=n.bendpoints.get(a);c.x=s.x,c.y=s.y,o.getOwner().remove(o);}this.graphManager.add(n,n.source,n.target);}}},f.transform=function(t,e,n,i){if(null!=n&&null!=i){var r=e;return t<=50?r-=(e-e/n)/50*(50-t):r+=(e*i-e)/50*(t-50),r}var a,o;return t<=50?(a=9*e/500,o=e/10):(a=9*e/50,o=-8*e),a*t+o},f.findCenterOfTree=function(t){var e=[];e=e.concat(t);var n=[],i=new Map,r=!1,a=null;1!=e.length&&2!=e.length||(r=!0,a=e[0]);for(var o=0;o<e.length;o++){var s=(l=e[o]).getNeighborsList().size;i.set(l,l.getNeighborsList().size),1==s&&n.push(l);}var c=[];for(c=c.concat(n);!r;){var u=[];for(u=u.concat(c),c=[],o=0;o<e.length;o++){var l=e[o],h=e.indexOf(l);h>=0&&e.splice(h,1),l.getNeighborsList().forEach((function(t){if(n.indexOf(t)<0){var e=i.get(t)-1;1==e&&c.push(t),i.set(t,e);}}));}n=n.concat(c),1!=e.length&&2!=e.length||(r=!0,a=e[0]);}return a},f.prototype.setGraphManager=function(t){this.graphManager=t;},t.exports=f;},function(t,e,n){function i(){}i.seed=1,i.x=0,i.nextDouble=function(){return i.x=1e4*Math.sin(i.seed++),i.x-Math.floor(i.x)},t.exports=i;},function(t,e,n){var i=n(4);function r(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1;}r.prototype.getWorldOrgX=function(){return this.lworldOrgX},r.prototype.setWorldOrgX=function(t){this.lworldOrgX=t;},r.prototype.getWorldOrgY=function(){return this.lworldOrgY},r.prototype.setWorldOrgY=function(t){this.lworldOrgY=t;},r.prototype.getWorldExtX=function(){return this.lworldExtX},r.prototype.setWorldExtX=function(t){this.lworldExtX=t;},r.prototype.getWorldExtY=function(){return this.lworldExtY},r.prototype.setWorldExtY=function(t){this.lworldExtY=t;},r.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},r.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t;},r.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},r.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t;},r.prototype.getDeviceExtX=function(){return this.ldeviceExtX},r.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t;},r.prototype.getDeviceExtY=function(){return this.ldeviceExtY},r.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t;},r.prototype.transformX=function(t){var e=0,n=this.lworldExtX;return 0!=n&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/n),e},r.prototype.transformY=function(t){var e=0,n=this.lworldExtY;return 0!=n&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/n),e},r.prototype.inverseTransformX=function(t){var e=0,n=this.ldeviceExtX;return 0!=n&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/n),e},r.prototype.inverseTransformY=function(t){var e=0,n=this.ldeviceExtY;return 0!=n&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/n),e},r.prototype.inverseTransformPoint=function(t){return new i(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r;},function(t,e,n){function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(15),a=n(7),o=n(0),s=n(8),c=n(9);function u(){r.call(this),this.useSmartIdealEdgeLengthCalculation=a.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=a.DEFAULT_EDGE_LENGTH,this.springConstant=a.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=a.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=a.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=a.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=a.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*a.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=a.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=a.MAX_ITERATIONS;}for(var l in u.prototype=Object.create(r.prototype),r)u[l]=r[l];u.prototype.initParameters=function(){r.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=a.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[];},u.prototype.calcIdealEdgeLengths=function(){for(var t,e,n,i,r,s,c=this.getGraphManager().getAllEdges(),u=0;u<c.length;u++)(t=c[u]).idealLength=this.idealEdgeLength,t.isInterGraph&&(n=t.getSource(),i=t.getTarget(),r=t.getSourceInLca().getEstimatedSize(),s=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=r+s-2*o.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=a.DEFAULT_EDGE_LENGTH*a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+i.getInclusionTreeDepth()-2*e));},u.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>a.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*a.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-a.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>a.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(a.COOLING_ADAPTATION_FACTOR,1-(t-a.ADAPTATION_LOWER_NODE_LIMIT)/(a.ADAPTATION_UPPER_NODE_LIMIT-a.ADAPTATION_LOWER_NODE_LIMIT)*(1-a.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=a.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange();},u.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),n=0;n<e.length;n++)t=e[n],this.calcSpringForce(t,t.idealLength);},u.prototype.calcRepulsionForces=function(){var t,e,n,i,r,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),r=new Set,t=0;t<c.length;t++)n=c[t],this.calculateRepulsionForceOfANode(n,r,o,s),r.add(n);else for(t=0;t<c.length;t++)for(n=c[t],e=t+1;e<c.length;e++)i=c[e],n.getOwner()==i.getOwner()&&this.calcRepulsionForce(n,i);},u.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),n=0;n<e.length;n++)t=e[n],this.calcGravitationalForce(t);},u.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move();},u.prototype.calcSpringForce=function(t,e){var n,i,r,a,o=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(n=t.getLength())&&(r=(i=this.springConstant*(n-e))*(t.lengthX/n),a=i*(t.lengthY/n),o.springForceX+=r,o.springForceY+=a,s.springForceX-=r,s.springForceY-=a);},u.prototype.calcRepulsionForce=function(t,e){var n,i,r,o,u,l,h,f=t.getRect(),d=e.getRect(),g=new Array(2),p=new Array(4);if(f.intersects(d)){s.calcSeparationAmount(f,d,g,a.DEFAULT_EDGE_LENGTH/2),l=2*g[0],h=2*g[1];var b=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=b*l,t.repulsionForceY-=b*h,e.repulsionForceX+=b*l,e.repulsionForceY+=b*h;}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(n=d.getCenterX()-f.getCenterX(),i=d.getCenterY()-f.getCenterY()):(s.getIntersection(f,d,p),n=p[2]-p[0],i=p[3]-p[1]),Math.abs(n)<a.MIN_REPULSION_DIST&&(n=c.sign(n)*a.MIN_REPULSION_DIST),Math.abs(i)<a.MIN_REPULSION_DIST&&(i=c.sign(i)*a.MIN_REPULSION_DIST),r=n*n+i*i,o=Math.sqrt(r),l=(u=this.repulsionConstant*t.noOfChildren*e.noOfChildren/r)*n/o,h=u*i/o,t.repulsionForceX-=l,t.repulsionForceY-=h,e.repulsionForceX+=l,e.repulsionForceY+=h;},u.prototype.calcGravitationalForce=function(t){var e,n,i,r,a,o,s,c;n=((e=t.getOwner()).getRight()+e.getLeft())/2,i=(e.getTop()+e.getBottom())/2,r=t.getCenterX()-n,a=t.getCenterY()-i,o=Math.abs(r)+t.getWidth()/2,s=Math.abs(a)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(o>(c=e.getEstimatedSize()*this.gravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*a):(o>(c=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant);},u.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},u.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++);},u.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),n=0;n<e.length;n++)(t=e[n]).noOfChildren=t.getNoOfChildren();},u.prototype.calcGrid=function(t){var e=0,n=0;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var i=new Array(e),r=0;r<e;r++)i[r]=new Array(n);for(r=0;r<e;r++)for(var a=0;a<n;a++)i[r][a]=new Array;return i},u.prototype.addNodeToGrid=function(t,e,n){var i=0,r=0,a=0,o=0;i=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),r=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().height+t.getRect().y-n)/this.repulsionRange));for(var s=i;s<=r;s++)for(var c=a;c<=o;c++)this.grid[s][c].push(t),t.setGridCoordinates(i,r,a,o);},u.prototype.updateGrid=function(){var t,e,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<n.length;t++)e=n[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop());},u.prototype.calculateRepulsionForceOfANode=function(t,e,n,r){if(this.totalIterations%a.GRID_CALCULATION_CHECK_PERIOD==1&&n||r){var o,s=new Set;t.surrounding=new Array;for(var c=this.grid,u=t.startX-1;u<t.finishX+2;u++)for(var l=t.startY-1;l<t.finishY+2;l++)if(!(u<0||l<0||u>=c.length||l>=c[0].length))for(var h=0;h<c[u][l].length;h++)if(o=c[u][l][h],t.getOwner()==o.getOwner()&&t!=o&&!e.has(o)&&!s.has(o)){var f=Math.abs(t.getCenterX()-o.getCenterX())-(t.getWidth()/2+o.getWidth()/2),d=Math.abs(t.getCenterY()-o.getCenterY())-(t.getHeight()/2+o.getHeight()/2);f<=this.repulsionRange&&d<=this.repulsionRange&&s.add(o);}t.surrounding=[].concat(i(s));}for(u=0;u<t.surrounding.length;u++)this.calcRepulsionForce(t,t.surrounding[u]);},u.prototype.calcRepulsionRange=function(){return 0},t.exports=u;},function(t,e,n){var i=n(1),r=n(7);function a(t,e,n){i.call(this,t,e,n),this.idealLength=r.DEFAULT_EDGE_LENGTH;}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];t.exports=a;},function(t,e,n){var i=n(3);function r(t,e,n,r){i.call(this,t,e,n,r),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[];}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];r.prototype.setGridCoordinates=function(t,e,n,i){this.startX=t,this.finishX=e,this.startY=n,this.finishY=i;},t.exports=r;},function(t,e,n){function i(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t);}i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t;},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t;},t.exports=i;},function(t,e,n){var i=n(14);function r(){this.map={},this.keys=[];}r.prototype.put=function(t,e){var n=i.createID(t);this.contains(n)||(this.map[n]=e,this.keys.push(t));},r.prototype.contains=function(t){return i.createID(t),null!=this.map[t]},r.prototype.get=function(t){var e=i.createID(t);return this.map[e]},r.prototype.keySet=function(){return this.keys},t.exports=r;},function(t,e,n){var i=n(14);function r(){this.set={};}r.prototype.add=function(t){var e=i.createID(t);this.contains(e)||(this.set[e]=t);},r.prototype.remove=function(t){delete this.set[i.createID(t)];},r.prototype.clear=function(){this.set={};},r.prototype.contains=function(t){return this.set[i.createID(t)]==t},r.prototype.isEmpty=function(){return 0===this.size()},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),n=e.length,i=0;i<n;i++)t.push(this.set[e[i]]);},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAll=function(t){for(var e=t.length,n=0;n<e;n++){var i=t[n];this.add(i);}},t.exports=r;},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=n(11),o=function(){function t(e,n){r(this,t),null===n&&void 0===n||(this.compareFunction=this._defaultCompareFunction);var i=void 0;i=e instanceof a?e.size():e.length,this._quicksort(e,0,i-1);}return i(t,[{key:"_quicksort",value:function(t,e,n){if(e<n){var i=this._partition(t,e,n);this._quicksort(t,e,i),this._quicksort(t,i+1,n);}}},{key:"_partition",value:function(t,e,n){for(var i=this._get(t,e),r=e,a=n;;){for(;this.compareFunction(i,this._get(t,a));)a--;for(;this.compareFunction(this._get(t,r),i);)r++;if(!(r<a))return a;this._swap(t,r,a),r++,a--;}}},{key:"_get",value:function(t,e){return t instanceof a?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,n){t instanceof a?t.set_object_at(e,n):t[e]=n;}},{key:"_swap",value:function(t,e,n){var i=this._get(t,e);this._set(t,e,this._get(t,n)),this._set(t,n,i);}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=o;},function(t,e,n){var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i);}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r(this,t),this.sequence1=e,this.sequence2=n,this.match_score=i,this.mismatch_penalty=a,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var s=0;s<this.iMax;s++){this.grid[s]=new Array(this.jMax);for(var c=0;c<this.jMax;c++)this.grid[s][c]=0;}this.tracebackGrid=new Array(this.iMax);for(var u=0;u<this.iMax;u++){this.tracebackGrid[u]=new Array(this.jMax);for(var l=0;l<this.jMax;l++)this.tracebackGrid[u][l]=[null,null,null];}this.alignments=[],this.score=-1,this.computeGrids();}return i(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var i=1;i<this.jMax;i++){var r=[this.sequence1[n-1]===this.sequence2[i-1]?this.grid[n-1][i-1]+this.match_score:this.grid[n-1][i-1]+this.mismatch_penalty,this.grid[n-1][i]+this.gap_penalty,this.grid[n][i-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(r);this.grid[n][i]=r[a[0]],this.tracebackGrid[n][i]=[a.includes(0),a.includes(1),a.includes(2)];}this.score=this.grid[this.iMax-1][this.jMax-1];}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],n=this.tracebackGrid[e.pos[0]][e.pos[1]];n[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),n[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),n[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift();}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var n=[],i=-1;-1!==(i=t.indexOf(e,i+1));)n.push(i);return n}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=a;},function(t,e,n){var i=function(){};i.FDLayout=n(18),i.FDLayoutConstants=n(7),i.FDLayoutEdge=n(19),i.FDLayoutNode=n(20),i.DimensionD=n(21),i.HashMap=n(22),i.HashSet=n(23),i.IGeometry=n(8),i.IMath=n(9),i.Integer=n(10),i.Point=n(12),i.PointD=n(4),i.RandomSeed=n(16),i.RectangleD=n(13),i.Transform=n(17),i.UniqueIDGeneretor=n(14),i.Quicksort=n(24),i.LinkedList=n(11),i.LGraphObject=n(2),i.LGraph=n(5),i.LEdge=n(1),i.LGraphManager=n(6),i.LNode=n(3),i.Layout=n(15),i.LayoutConstants=n(0),i.NeedlemanWunsch=n(25),t.exports=i;},function(t,e,n){function i(){this.listeners=[];}var r=i.prototype;r.addListener=function(t,e){this.listeners.push({event:t,callback:e});},r.removeListener=function(t,e){for(var n=this.listeners.length;n>=0;n--){var i=this.listeners[n];i.event===t&&i.callback===e&&this.listeners.splice(n,1);}},r.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];t===i.event&&i.callback(e);}},t.exports=i;}])}));}(kq)),xq}function Eq(){return bq||(bq=1,function(t,e){!function(e,n){t.exports=n(_q());}(0,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i});},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(e,n){e.exports=t;},function(t,e,n){var i=n(0).FDLayoutConstants;function r(){}for(var a in i)r[a]=i[a];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=i.DEFAULT_EDGE_LENGTH,r.DEFAULT_COMPONENT_SEPERATION=60,r.TILE=!0,r.TILING_PADDING_VERTICAL=10,r.TILING_PADDING_HORIZONTAL=10,r.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=r;},function(t,e,n){var i=n(0).FDLayoutEdge;function r(t,e,n){i.call(this,t,e,n);}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r;},function(t,e,n){var i=n(0).LGraph;function r(t,e,n){i.call(this,t,e,n);}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r;},function(t,e,n){var i=n(0).LGraphManager;function r(t){i.call(this,t);}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r;},function(t,e,n){var i=n(0).FDLayoutNode,r=n(0).IMath;function a(t,e,n,r){i.call(this,t,e,n,r);}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];a.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0;},a.prototype.propogateDisplacementToChildren=function(t,e){for(var n,i=this.getChild().getNodes(),r=0;r<i.length;r++)null==(n=i[r]).getChild()?(n.moveBy(t,e),n.displacementX+=t,n.displacementY+=e):n.propogateDisplacementToChildren(t,e);},a.prototype.setPred1=function(t){this.pred1=t;},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(t){this.next=t;},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(t){this.processed=t;},a.prototype.isProcessed=function(){return processed},t.exports=a;},function(t,e,n){var i=n(0).FDLayout,r=n(4),a=n(3),o=n(5),s=n(2),c=n(1),u=n(0).FDLayoutConstants,l=n(0).LayoutConstants,h=n(0).Point,f=n(0).PointD,d=n(0).Layout,g=n(0).Integer,p=n(0).IGeometry,b=n(0).LGraph,w=n(0).Transform;function y(){i.call(this),this.toBeTiled={};}for(var m in y.prototype=Object.create(i.prototype),i)y[m]=i[m];y.prototype.newGraphManager=function(){var t=new r(this);return this.graphManager=t,t},y.prototype.newGraph=function(t){return new a(null,this.graphManager,t)},y.prototype.newNode=function(t){return new o(this.graphManager,t)},y.prototype.newEdge=function(t){return new s(null,null,t)},y.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.isSubLayout||(c.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=c.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=u.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=u.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=u.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=u.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=u.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/u.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=u.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1);},y.prototype.layout=function(){return l.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},y.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)c.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)})),this.graphManager.setAllNodesToApplyGravitation(n));else {var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else {this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly();}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},y.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return !0;this.isTreeGrowing=!0;}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return !0;this.isTreeGrowing=!0;}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor));}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL;}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++;}if(this.isGrowthFinished){if(this.isConverged())return !0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++;}var n=!this.isTreeGrowing&&!this.isGrowthFinished,i=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,i),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},y.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},n=0;n<t.length;n++){var i=t[n].rect,r=t[n].id;e[r]={id:r,x:i.getCenterX(),y:i.getCenterY(),w:i.width,h:i.height};}return e},y.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===u.ANIMATE)this.emit("layoutstarted");else {for(;!t;)t=this.tick();this.graphManager.updateBounds();}},y.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,n=[],i=this.graphManager.getGraphs(),r=i.length;for(e=0;e<r;e++)(t=i[e]).updateConnected(),t.isConnected||(n=n.concat(t.getNodes()));return n},y.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,n=new Set;for(e=0;e<t.length;e++){var i=t[e];if(!n.has(i)){var r=i.getSource(),a=i.getTarget();if(r==a)i.getBendpoints().push(new f),i.getBendpoints().push(new f),this.createDummyNodesForBendpoints(i),n.add(i);else {var o=[];if(o=(o=o.concat(r.getEdgeListToNode(a))).concat(a.getEdgeListToNode(r)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var c=o[s];c.getBendpoints().push(new f),this.createDummyNodesForBendpoints(c);}o.forEach((function(t){n.add(t);}));}}}if(n.size==t.length)break}},y.prototype.positionNodesRadially=function(t){for(var e=new h(0,0),n=Math.ceil(Math.sqrt(t.length)),i=0,r=0,a=0,o=new f(0,0),s=0;s<t.length;s++){s%n==0&&(a=0,r=i,0!=s&&(r+=c.DEFAULT_COMPONENT_SEPERATION),i=0);var u=t[s],g=d.findCenterOfTree(u);e.x=a,e.y=r,(o=y.radialLayout(u,g,e)).y>i&&(i=Math.floor(o.y)),a=Math.floor(o.x+c.DEFAULT_COMPONENT_SEPERATION);}this.transform(new f(l.WORLD_CENTER_X-o.x/2,l.WORLD_CENTER_Y-o.y/2));},y.radialLayout=function(t,e,n){var i=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);y.branchRadialLayout(e,null,0,359,0,i);var r=b.calculateBounds(t),a=new w;a.setDeviceOrgX(r.getMinX()),a.setDeviceOrgY(r.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<t.length;o++)t[o].transform(a);var s=new f(r.getMaxX(),r.getMaxY());return a.inverseTransformPoint(s)},y.branchRadialLayout=function(t,e,n,i,r,a){var o=(i-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*p.TWO_PI/360,c=r*Math.cos(s),u=r*Math.sin(s);t.setCenter(c,u);var l=[],h=(l=l.concat(t.getEdges())).length;null!=e&&h--;for(var f,d=0,g=l.length,b=t.getEdgesBetween(e);b.length>1;){var w=b[0];b.splice(0,1);var m=l.indexOf(w);m>=0&&l.splice(m,1),g--,h--;}f=null!=e?(l.indexOf(b[0])+1)%g:0;for(var v=Math.abs(i-n)/h,x=f;d!=h;x=++x%g){var k=l[x].getOtherEnd(t);if(k!=e){var _=(n+d*v)%360,E=(_+v)%360;y.branchRadialLayout(k,t,_,E,r+a,a),d++;}}},y.maxDiagonalInTree=function(t){for(var e=g.MIN_VALUE,n=0;n<t.length;n++){var i=t[n].getDiagonal();i>e&&(e=i);}return e},y.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},y.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var n=[],i=this.graphManager.getAllNodes(),r=0;r<i.length;r++){var a=(s=i[r]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=a.id&&this.getToBeTiled(a)||n.push(s);}for(r=0;r<n.length;r++){var s,c=(s=n[r]).getParent().id;void 0===e[c]&&(e[c]=[]),e[c]=e[c].concat(s);}Object.keys(e).forEach((function(n){if(e[n].length>1){var i="DummyCompound_"+n;t.memberGroups[i]=e[n];var r=e[n][0].getParent(),a=new o(t.graphManager);a.id=i,a.paddingLeft=r.paddingLeft||0,a.paddingRight=r.paddingRight||0,a.paddingBottom=r.paddingBottom||0,a.paddingTop=r.paddingTop||0,t.idToDummyNode[i]=a;var s=t.getGraphManager().add(t.newGraph(),a),c=r.getChild();c.add(a);for(var u=0;u<e[n].length;u++){var l=e[n][u];c.remove(l),s.add(l);}}}));},y.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)e[this.compoundOrder[n].id]=this.compoundOrder[n],t[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e);},y.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var i=t.idToDummyNode[n];e[n]=t.tileNodes(t.memberGroups[n],i.paddingLeft+i.paddingRight),i.rect.width=e[n].width,i.rect.height=e[n].height;}));},y.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],n=e.id,i=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[n],e.rect.x,e.rect.y,i,r);}},y.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(n){var i=t.idToDummyNode[n],r=i.paddingLeft,a=i.paddingTop;t.adjustLocations(e[n],i.rect.x,i.rect.y,r,a);}));},y.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var n=t.getChild();if(null==n)return this.toBeTiled[e]=!1,!1;for(var i=n.getNodes(),r=0;r<i.length;r++){var a=i[r];if(this.getNodeDegree(a)>0)return this.toBeTiled[e]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[a.id]=!1;}return this.toBeTiled[e]=!0,!0},y.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,i=0;i<e.length;i++){var r=e[i];r.getSource().id!==r.getTarget().id&&(n+=1);}return n},y.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var n=t.getChild().getNodes(),i=0;i<n.length;i++){var r=n[i];e+=this.getNodeDegreeWithChildren(r);}return e},y.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes());},y.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var n=t[e];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n);}},y.prototype.adjustLocations=function(t,e,n,i,r){n+=r;for(var a=e+=i,o=0;o<t.rows.length;o++){var s=t.rows[o];e=a;for(var c=0,u=0;u<s.length;u++){var l=s[u];l.rect.x=e,l.rect.y=n,e+=l.rect.width+t.horizontalPadding,l.rect.height>c&&(c=l.rect.height);}n+=c+t.verticalPadding;}},y.prototype.tileCompoundMembers=function(t,e){var n=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(i){var r=e[i];n.tiledMemberPack[i]=n.tileNodes(t[i],r.paddingLeft+r.paddingRight),r.rect.width=n.tiledMemberPack[i].width,r.rect.height=n.tiledMemberPack[i].height;}));},y.prototype.tileNodes=function(t,e){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:c.TILING_PADDING_VERTICAL,horizontalPadding:c.TILING_PADDING_HORIZONTAL};t.sort((function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0}));for(var i=0;i<t.length;i++){var r=t[i];0==n.rows.length?this.insertNodeToRow(n,r,0,e):this.canAddHorizontal(n,r.rect.width,r.rect.height)?this.insertNodeToRow(n,r,this.getShortestRowIndex(n),e):this.insertNodeToRow(n,r,n.rows.length,e),this.shiftToLastRow(n);}return n},y.prototype.insertNodeToRow=function(t,e,n,i){var r=i;if(n==t.rows.length){var a=[];t.rows.push(a),t.rowWidth.push(r),t.rowHeight.push(0);}var o=t.rowWidth[n]+e.rect.width;t.rows[n].length>0&&(o+=t.horizontalPadding),t.rowWidth[n]=o,t.width<o&&(t.width=o);var s=e.rect.height;n>0&&(s+=t.verticalPadding);var c=0;s>t.rowHeight[n]&&(c=t.rowHeight[n],t.rowHeight[n]=s,c=t.rowHeight[n]-c),t.height+=c,t.rows[n].push(e);},y.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]<n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.getLongestRowIndex=function(t){for(var e=-1,n=Number.MIN_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]>n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.canAddHorizontal=function(t,e,n){var i=this.getShortestRowIndex(t);if(i<0)return !0;var r=t.rowWidth[i];if(r+t.horizontalPadding+e<=t.width)return !0;var a,o,s=0;return t.rowHeight[i]<n&&i>0&&(s=n+t.verticalPadding-t.rowHeight[i]),a=t.width-r>=e+t.horizontalPadding?(t.height+s)/(r+e+t.horizontalPadding):(t.height+s)/t.width,s=n+t.verticalPadding,(o=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},y.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),n=t.rowWidth.length-1,i=t.rows[e],r=i[i.length-1],a=r.width+t.horizontalPadding;if(t.width-t.rowWidth[n]>a&&e!=n){i.splice(-1,1),t.rows[n].push(r),t.rowWidth[e]=t.rowWidth[e]-a,t.rowWidth[n]=t.rowWidth[n]+a,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var o=Number.MIN_VALUE,s=0;s<i.length;s++)i[s].height>o&&(o=i[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]<r.height+t.verticalPadding&&(t.rowHeight[n]=r.height+t.verticalPadding);var u=t.rowHeight[e]+t.rowHeight[n];t.height+=u-c,this.shiftToLastRow(t);}},y.prototype.tilingPreLayout=function(){c.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers());},y.prototype.tilingPostLayout=function(){c.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds());},y.prototype.reduceTrees=function(){for(var t,e=[],n=!0;n;){var i=this.graphManager.getAllNodes(),r=[];n=!1;for(var a=0;a<i.length;a++)1!=(t=i[a]).getEdges().length||t.getEdges()[0].isInterGraph||null!=t.getChild()||(r.push([t,t.getEdges()[0],t.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<r.length;s++)1==r[s][0].getEdges().length&&(o.push(r[s]),r[s][0].getOwner().remove(r[s][0]));e.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges();}}this.prunedNodesAll=e;},y.prototype.growTree=function(t){for(var e,n=t[t.length-1],i=0;i<n.length;i++)e=n[i],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges();},y.prototype.findPlaceforPrunedNode=function(t){var e,n,i=t[0],r=(n=i==t[1].source?t[1].target:t[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,c=[0,0,0,0];if(o>0)for(var l=r;l<=a;l++)c[0]+=this.grid[l][o-1].length+this.grid[l][o].length-1;if(a<this.grid.length-1)for(l=o;l<=s;l++)c[1]+=this.grid[a+1][l].length+this.grid[a][l].length-1;if(s<this.grid[0].length-1)for(l=r;l<=a;l++)c[2]+=this.grid[l][s+1].length+this.grid[l][s].length-1;if(r>0)for(l=o;l<=s;l++)c[3]+=this.grid[r-1][l].length+this.grid[r][l].length-1;for(var h,f,d=g.MAX_VALUE,p=0;p<c.length;p++)c[p]<d?(d=c[p],h=1,f=p):c[p]==d&&h++;if(3==h&&0==d)0==c[0]&&0==c[1]&&0==c[2]?e=1:0==c[0]&&0==c[1]&&0==c[3]?e=0:0==c[0]&&0==c[2]&&0==c[3]?e=3:0==c[1]&&0==c[2]&&0==c[3]&&(e=2);else if(2==h&&0==d){var b=Math.floor(2*Math.random());e=0==c[0]&&0==c[1]?0==b?0:1:0==c[0]&&0==c[2]?0==b?0:2:0==c[0]&&0==c[3]?0==b?0:3:0==c[1]&&0==c[2]?0==b?1:2:0==c[1]&&0==c[3]?0==b?1:3:0==b?2:3;}else e=4==h&&0==d?b=Math.floor(4*Math.random()):f;0==e?i.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-u.DEFAULT_EDGE_LENGTH-i.getHeight()/2):1==e?i.setCenter(n.getCenterX()+n.getWidth()/2+u.DEFAULT_EDGE_LENGTH+i.getWidth()/2,n.getCenterY()):2==e?i.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+u.DEFAULT_EDGE_LENGTH+i.getHeight()/2):i.setCenter(n.getCenterX()-n.getWidth()/2-u.DEFAULT_EDGE_LENGTH-i.getWidth()/2,n.getCenterY());},t.exports=y;},function(t,e,n){var i={};i.layoutBase=n(0),i.CoSEConstants=n(1),i.CoSEEdge=n(2),i.CoSEGraph=n(3),i.CoSEGraphManager=n(4),i.CoSELayout=n(6),i.CoSENode=n(5),t.exports=i;}])}));}(vq)),mq}!function(t,e){!function(e,n){t.exports=n(Eq());}(0,(function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i});},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t;},function(t,e,n){var i=n(0).layoutBase.LayoutConstants,r=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,c=n(0).layoutBase.PointD,u=n(0).layoutBase.DimensionD,l={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function h(t,e){var n={};for(var i in t)n[i]=t[i];for(var i in e)n[i]=e[i];return n}function f(t){this.options=h(l,t),d(this.options);}var d=function(t){null!=t.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=r.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=r.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=r.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=r.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(a.MAX_ITERATIONS=r.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=r.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?i.QUALITY=0:"proof"==t.quality?i.QUALITY=2:i.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!t.randomize,a.ANIMATE=r.ANIMATE=i.ANIMATE=t.animate,a.TILE=t.tile,a.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal;};f.prototype.run=function(){var t,e,n=this.options;this.idToLNode={};var i=this.layout=new o,r=this;r.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=i.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),c=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),i);for(var u=0;u<c.length;u++){var l=c[u],h=this.idToLNode[l.data("source")],f=this.idToLNode[l.data("target")];h!==f&&0==h.getEdgesBetween(f).length&&(a.add(i.newEdge(),h,f).id=l.id());}var d=function(t,e){"number"==typeof t&&(t=e);var n=t.data("id"),i=r.idToLNode[n];return {x:i.getRect().getCenterX(),y:i.getRect().getCenterY()}},g=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),t||(t=!0,r.cy.one("layoutready",n.ready),r.cy.trigger({type:"layoutready",layout:r}));},c=r.options.refresh,u=0;u<c&&!o;u++)o=r.stopped||r.layout.tick();if(o)return i.checkLayoutSuccess()&&!i.isSubLayout&&i.doPostLayout(),i.tilingPostLayout&&i.tilingPostLayout(),i.isLayoutFinished=!0,r.options.eles.nodes().positions(d),s(),r.cy.one("layoutstop",r.options.stop),r.cy.trigger({type:"layoutstop",layout:r}),e&&cancelAnimationFrame(e),void(t=!1);var l=r.layout.getPositionsData();n.eles.nodes().positions((function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var n=t.id(),i=l[n],r=t;null==i&&(i=l[r.data("parent")]||l["DummyCompound_"+r.data("parent")],l[n]=i,null!=(r=r.parent()[0])););return null!=i?{x:i.x,y:i.y}:{x:t.position("x"),y:t.position("y")}}})),s(),e=requestAnimationFrame(a);};return i.addListener("layoutstarted",(function(){"during"===r.options.animate&&(e=requestAnimationFrame(g));})),i.runLayout(),"during"!==this.options.animate&&(r.options.eles.nodes().not(":parent").layoutPositions(r,r.options,d),t=!1),this},f.prototype.getTopMostNodes=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].id()]=!0;return t.filter((function(t,n){"number"==typeof t&&(t=n);for(var i=t.parent()[0];null!=i;){if(e[i.id()])return !1;i=i.parent()[0];}return !0}))},f.prototype.processChildrenList=function(t,e,n){for(var i=e.length,r=0;r<i;r++){var a,o,l=e[r],h=l.children(),f=l.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=l.outerWidth()&&null!=l.outerHeight()?t.add(new s(n.graphManager,new c(l.position("x")-f.w/2,l.position("y")-f.h/2),new u(parseFloat(f.w),parseFloat(f.h)))):t.add(new s(this.graphManager))).id=l.data("id"),a.paddingLeft=parseInt(l.css("padding")),a.paddingTop=parseInt(l.css("padding")),a.paddingRight=parseInt(l.css("padding")),a.paddingBottom=parseInt(l.css("padding")),this.options.nodeDimensionsIncludeLabels&&l.isParent()){var d=l.boundingBox({includeLabels:!0,includeNodes:!1}).w,g=l.boundingBox({includeLabels:!0,includeNodes:!1}).h,p=l.css("text-halign");a.labelWidth=d,a.labelHeight=g,a.labelPos=p;}this.idToLNode[l.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n));}},f.prototype.stop=function(){return this.stopped=!0,this};var g=function(t){t("layout","cose-bilkent",f);};"undefined"!=typeof cytoscape&&g(cytoscape),t.exports=g;}])}));}(yq);const Tq=n(wq);function Cq(t,e,n,i){fq.drawNode(t,e,n,i),e.children&&e.children.forEach(((e,r)=>{Cq(t,e,n<0?r:n,i);}));}function Sq(t,e){e.edges().map(((e,n)=>{const i=e.data();if(e[0]._private.bodyBounds){const r=e[0]._private.rscratch;l.trace("Edge: ",n,i),t.insert("path").attr("d",`M ${r.startX},${r.startY} L ${r.midX},${r.midY} L${r.endX},${r.endY} `).attr("class","edge section-edge-"+i.section+" edge-depth-"+i.depth);}}));}function Aq(t,e,n,i){e.add({group:"nodes",data:{id:t.id,labelText:t.descr,height:t.height,width:t.width,level:i,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((r=>{Aq(r,e,n,i+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:i,section:r.section}});}));}function Mq(t,e){return new Promise((n=>{const i=ln("body").append("div").attr("id","cy").attr("style","display:none"),r=gq({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});i.remove(),Aq(t,r,e,0),r.nodes().forEach((function(t){t.layoutDimensions=()=>{const e=t.data();return {w:e.width,h:e.height}};})),r.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),r.ready((t=>{l.info("Ready",t),n(r);}));}))}function Iq(t){t.nodes().map(((t,e)=>{const n=t.data();n.x=t.position().x,n.y=t.position().y,fq.positionNode(n);const i=tq(n.nodeId);l.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",n),i.attr("transform",`translate(${t.position().x-n.width/2}, ${t.position().y-n.height/2})`),i.attr("attr",`apa-${e})`);}));}gq.use(Tq);const Oq=t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],bf(t["lineColor"+e])?t["lineColor"+e]=yf(t["lineColor"+e],20):t["lineColor"+e]=mf(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `;}return e},Lq={db:eq,renderer:{draw:async(t,e,n,i)=>{const r=vy();i.db.clear(),i.parser.parse(t),l.debug("Renering info diagram\n"+t);const a=vy().securityLevel;let o;"sandbox"===a&&(o=ln("#i"+e));const s=ln("sandbox"===a?o.nodes()[0].contentDocument.body:"body").select("#"+e);s.append("g");const c=i.db.getMindmap(),u=s.append("g");u.attr("class","mindmap-edges");const h=s.append("g");h.attr("class","mindmap-nodes"),Cq(h,c,-1,r);const f=await Mq(c,r);Sq(u,f),Iq(f),Oy(void 0,s,r.mindmap.padding,r.mindmap.useMaxWidth);}},parser:BG,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${Oq(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n`},Dq=Object.freeze(Object.defineProperty({__proto__:null,diagram:Lq},Symbol.toStringTag,{value:"Module"}));return EU}();var p=g.exports,b="object"==typeof global&&global&&global.Object===Object&&global,w="object"==typeof self&&self&&self.Object===Object&&self,y=b||w||Function("return this")(),m=y.Symbol,v=Object.prototype,x=v.hasOwnProperty,k=v.toString,_=m?m.toStringTag:void 0;var E=Object.prototype.toString;var T="[object Null]",C="[object Undefined]",S=m?m.toStringTag:void 0;function A(t){return null==t?void 0===t?C:T:S&&S in Object(t)?function(t){var e=x.call(t,_),n=t[_];try{t[_]=void 0;var i=!0;}catch(t){}var r=k.call(t);return i&&(e?t[_]=n:delete t[_]),r}(t):function(t){return E.call(t)}(t)}var M="[object Symbol]";var I=/\s/;var O=/^\s+/;function L(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&I.test(t.charAt(e)););return e}(t)+1).replace(O,""):t}function D(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}var N=NaN,P=/^[-+]0x[0-9a-f]+$/i,B=/^0b[01]+$/i,R=/^0o[0-7]+$/i,j=parseInt;function $(t){if("number"==typeof t)return t;if(function(t){return "symbol"==typeof t||function(t){return null!=t&&"object"==typeof t}(t)&&A(t)==M}(t))return N;if(D(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=D(e)?e+"":e;}if("string"!=typeof t)return 0===t?t:+t;t=L(t);var n=B.test(t);return n||R.test(t)?j(t.slice(2),n?2:8):P.test(t)?N:+t}var F=function(){return y.Date.now()},z=Math.max,H=Math.min;function U(t,e,n){var i,r,a,o,s,c,u=0,l=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var n=i,a=r;return i=r=void 0,u=e,o=t.apply(a,n)}function g(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function p(){var t=F();if(g(t))return b(t);s=setTimeout(p,function(t){var n=e-(t-c);return h?H(n,a-(t-u)):n}(t));}function b(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function w(){var t=F(),n=g(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return function(t){return u=t,s=setTimeout(p,e),l?d(t):o}(c);if(h)return clearTimeout(s),s=setTimeout(p,e),d(c)}return void 0===s&&(s=setTimeout(p,e)),o}return e=$(e)||0,D(n)&&(l=!!n.leading,a=(h="maxWait"in n)?z($(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),w.cancel=function(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0;},w.flush=function(){return void 0===s?o:b(F())},w}function G(t,e){const n=t.model.document.selection,i=n.getSelectedElement()||n.getLastPosition().parent;return !(!i||!i.is("element","mermaid")||i.getAttribute("displayMode")!==e)}class q extends ckeditor5.Command{refresh(){const t=this.editor,e=t.model.document.selection,n=e.getSelectedElement();n&&"mermaid"===n.name||e.getLastPosition().findAncestor("mermaid")?this.isEnabled=!!n:this.isEnabled=!1,this.value=G(t,"preview");}execute(){const t=this.editor.model,e=this.editor.model.document.selection,n=e.getSelectedElement()||e.getLastPosition().parent;t.change((t=>{"preview"!==n.getAttribute("displayMode")&&t.setAttribute("displayMode","preview",n);}));}}class K extends ckeditor5.Command{refresh(){const t=this.editor,e=t.model.document.selection,n=e.getSelectedElement();n&&"mermaid"===n.name||e.getLastPosition().findAncestor("mermaid")?this.isEnabled=!!n:this.isEnabled=!1,this.value=G(t,"source");}execute(){const t=this.editor.model,e=this.editor.model.document.selection,n=e.getSelectedElement()||e.getLastPosition().parent;t.change((t=>{"source"!==n.getAttribute("displayMode")&&t.setAttribute("displayMode","source",n);}));}}class Y extends ckeditor5.Command{refresh(){const t=this.editor,e=t.model.document.selection,n=e.getSelectedElement();n&&"mermaid"===n.name||e.getLastPosition().findAncestor("mermaid")?this.isEnabled=!!n:this.isEnabled=!1,this.value=G(t,"split");}execute(){const t=this.editor.model,e=this.editor.model.document.selection,n=e.getSelectedElement()||e.getLastPosition().parent;t.change((t=>{"split"!==n.getAttribute("displayMode")&&t.setAttribute("displayMode","split",n);}));}}class W extends ckeditor5.Command{refresh(){const t=this.editor.model.document.selection.getSelectedElement();t&&"mermaid"===t.name?this.isEnabled=!1:this.isEnabled=!0;}execute(){const t=this.editor.model;let e;return t.change((n=>{e=n.createElement("mermaid",{displayMode:"split",source:"flowchart TB\nA --\x3e B\nB --\x3e C"}),t.insertContent(e);})),e}}class X extends ckeditor5.Plugin{static get pluginName(){return "MermaidEditing"}init(){this._registerCommands(),this._defineConverters();}afterInit(){this.editor.model.schema.register("mermaid",{allowAttributes:["displayMode","source"],allowWhere:"$block",isObject:!0});}_registerCommands(){const t=this.editor;t.commands.add("mermaidPreviewCommand",new q(t)),t.commands.add("mermaidSplitViewCommand",new Y(t)),t.commands.add("mermaidSourceViewCommand",new K(t)),t.commands.add("insertMermaidCommand",new W(t));}_defineConverters(){const t=this.editor;t.data.downcastDispatcher.on("insert:mermaid",this._mermaidDataDowncast.bind(this)),t.editing.downcastDispatcher.on("insert:mermaid",this._mermaidDowncast.bind(this)),t.editing.downcastDispatcher.on("attribute:source:mermaid",this._sourceAttributeDowncast.bind(this)),t.data.upcastDispatcher.on("element:code",this._mermaidUpcast.bind(this),{priority:"high"}),t.conversion.for("editingDowncast").attributeToAttribute({model:{name:"mermaid",key:"displayMode"},view:t=>({key:"class",value:"ck-mermaid__"+t+"-mode"})});}_mermaidDataDowncast(t,e,n){const i=this.editor.model,{writer:r,mapper:a}=n;if(!n.consumable.consume(e.item,"insert"))return;const o=a.toViewPosition(i.createPositionBefore(e.item)),s=r.createContainerElement("code",{class:"language-mermaid"}),c=r.createContainerElement("pre",{spellcheck:"false"}),u=r.createText(e.item.getAttribute("source"));r.insert(i.createPositionAt(s,"end"),u),r.insert(i.createPositionAt(c,"end"),s),r.insert(o,c),a.bindElements(e.item,s);}_mermaidDowncast(t,e,i){const{writer:r,mapper:a,consumable:o}=i,{editor:s}=this,{model:c,t:u}=s,l=this;if(!o.consume(e.item,"insert"))return;const h=a.toViewPosition(c.createPositionBefore(e.item)),f={class:["ck-mermaid__editing-view"],placeholder:u("Insert mermaid source code"),"data-cke-ignore-events":!0},d=r.createContainerElement("div",{class:["ck-mermaid__wrapper"]}),g=r.createUIElement("textarea",f,(function(t){const n=this.toDomElement(t);n.value=e.item.getAttribute("source");const i=U((t=>{s.model.change((n=>{n.setAttribute("source",t.target.value,e.item);}));}),300);return n.addEventListener("input",i),n.addEventListener("focus",(()=>{const t=s.model;t.document.selection.getSelectedElement()!==e.item&&t.change((t=>t.setSelection(e.item,"on")));}),!0),n})),p=r.createUIElement("div",{class:["ck-mermaid__preview"]},(function(t){const n=e.item.getAttribute("source"),i=this.toDomElement(t);return i.innerHTML=n,window.setTimeout((()=>{l._renderMermaid(i);}),100),i}));return r.insert(r.createPositionAt(d,"start"),p),r.insert(r.createPositionAt(d,"start"),g),r.insert(h,d),a.bindElements(e.item,d),ckeditor5.toWidget(d,r,{widgetLabel:u("Mermaid widget"),hasSelectionHandle:!0})}_sourceAttributeDowncast(t,e,n){const i=e.attributeNewValue,r=this.editor.editing.view.domConverter;if(i){const t=n.mapper.toViewElement(e.item);for(const e of t.getChildren())if("textarea"===e.name&&e.hasClass("ck-mermaid__editing-view")){const t=r.viewToDom(e,window.document);t.value!=i&&(t.value=i);}else if("div"===e.name&&e.hasClass("ck-mermaid__preview")){const t=r.viewToDom(e,window.document);t&&(t.innerHTML=i,t.removeAttribute("data-processed"),this._renderMermaid(t));}}}_mermaidUpcast(t,e,n){const i=e.viewItem,r=!i.parent||!i.parent.is("element","pre"),a=e.modelCursor.findAncestor("code"),{consumable:o,writer:s}=n;if(!i.hasClass("language-mermaid")||r||a)return;if(!o.test(i,{name:!0}))return;const c=Array.from(i.getChildren()).filter((t=>t.is("$text"))).map((t=>t.data)).join(""),u=s.createElement("mermaid",{source:c,displayMode:"split"});n.safeInsert(u,e.modelCursor)&&(o.consume(i,{name:!0}),n.updateConversionResult(u,e));}_renderMermaid(t){p.init(void 0,t);}}class V extends ckeditor5.Plugin{static get requires(){return [ckeditor5.WidgetToolbarRepository]}static get pluginName(){return "MermaidToolbar"}afterInit(){const t=this.editor,e=t.t,n=t.plugins.get(ckeditor5.WidgetToolbarRepository),r=["mermaidSourceView","mermaidSplitView","mermaidPreview","|","mermaidInfo"];r&&n.register("mermaidToolbar",{ariaLabel:e("Mermaid toolbar"),items:r,getRelatedElement:t=>function(t){const e=t.getSelectedElement();if(e&&e.hasClass("ck-mermaid__wrapper"))return e;return null}(t)});}}class Z extends ckeditor5.Plugin{static get pluginName(){return "MermaidUI"}init(){this._addButtons();}_addButtons(){const t=this.editor;this._addInsertMermaidButton(),this._addMermaidInfoButton(),this._createToolbarButton(t,"mermaidPreview","Preview",l),this._createToolbarButton(t,"mermaidSourceView","Source view",f),this._createToolbarButton(t,"mermaidSplitView","Split view",h);}_addInsertMermaidButton(){const t=this.editor,e=t.t,n=t.editing.view;t.ui.componentFactory.add("mermaid",(i=>{const a=new ckeditor5.ButtonView(i),o=t.commands.get("insertMermaidCommand");return a.set({label:e("Insert Mermaid diagram"),icon:u,tooltip:!0}),a.bind("isOn","isEnabled").to(o,"value","isEnabled"),o.listenTo(a,"execute",(()=>{const e=t.execute("insertMermaidCommand"),i=t.editing.mapper.toViewElement(e);if(n.scrollToTheSelection(),n.focus(),i){const t=n.domConverter.viewToDom(i,document);t&&t.querySelector(".ck-mermaid__editing-view").focus();}})),a}));}_addMermaidInfoButton(){const t=this.editor,e=t.t;t.ui.componentFactory.add("mermaidInfo",(t=>{const n=new ckeditor5.ButtonView(t);return n.set({label:e("Read more about Mermaid diagram syntax"),icon:s,tooltip:!0}),n.on("execute",(()=>{window.open("https://ckeditor.com/blog/basic-overview-of-creating-flowcharts-using-mermaid/","_blank","noopener");})),n}));}_createToolbarButton(t,e,n,i){const a=t.t;t.ui.componentFactory.add(e,(o=>{const s=new ckeditor5.ButtonView(o),c=t.commands.get(`${e}Command`);return s.set({label:a(n),icon:i,tooltip:!0}),s.bind("isOn","isEnabled").to(c,"value","isEnabled"),c.listenTo(s,"execute",(()=>{t.execute(`${e}Command`),t.editing.view.scrollToTheSelection(),t.editing.view.focus();})),s}));}}class Q extends ckeditor5.Plugin{static get requires(){return [X,V,Z]}static get pluginName(){return "Mermaid"}}const J={infoIcon:s,insertMermaidIcon:u,previewModeIcon:l,splitModeIcon:h,sourceModeIcon:f};
|
||
|
||
exports.Mermaid = Q;
|
||
exports.icons = J;
|
||
|
||
}));
|
||
//# sourceMappingURL=index.umd.js.map
|